@windstream/react-shared-components 0.1.79 → 0.1.80
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/README.md +635 -635
- package/dist/contentful/index.esm.js +3 -3
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +3 -3
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +13 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +2 -2
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +2 -2
- package/dist/next/index.js.map +1 -1
- package/dist/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 +185 -185
- package/src/components/accordion/Accordion.stories.tsx +230 -230
- package/src/components/accordion/index.tsx +70 -70
- package/src/components/accordion/types.ts +12 -12
- package/src/components/alert-card/AlertCard.stories.tsx +171 -171
- package/src/components/alert-card/index.tsx +41 -41
- package/src/components/alert-card/types.ts +13 -13
- package/src/components/brand-button/BrandButton.stories.tsx +223 -223
- package/src/components/brand-button/helpers.ts +35 -35
- package/src/components/brand-button/index.tsx +120 -120
- package/src/components/brand-button/types.ts +38 -38
- package/src/components/button/Button.stories.tsx +108 -108
- package/src/components/button/index.tsx +27 -27
- package/src/components/button/types.ts +14 -14
- package/src/components/call-button/CallButton.stories.tsx +324 -324
- package/src/components/call-button/index.tsx +106 -106
- package/src/components/call-button/types.ts +16 -16
- package/src/components/checkbox/Checkbox.stories.tsx +247 -247
- package/src/components/checkbox/index.tsx +197 -197
- package/src/components/checkbox/types.ts +27 -27
- package/src/components/checklist/Checklist.stories.tsx +150 -150
- package/src/components/checklist/index.tsx +61 -61
- package/src/components/checklist/types.ts +17 -17
- package/src/components/collapse/Collapse.stories.tsx +255 -255
- package/src/components/collapse/index.tsx +46 -46
- package/src/components/collapse/types.ts +6 -6
- package/src/components/divider/Divider.stories.tsx +205 -205
- package/src/components/divider/index.tsx +22 -22
- package/src/components/divider/type.ts +3 -3
- package/src/components/image/Image.stories.tsx +113 -113
- package/src/components/image/index.tsx +25 -25
- package/src/components/image/types.ts +40 -40
- package/src/components/input/Input.stories.tsx +325 -325
- package/src/components/input/index.tsx +177 -177
- package/src/components/input/types.ts +37 -37
- package/src/components/link/Link.stories.tsx +163 -163
- package/src/components/link/index.tsx +116 -116
- package/src/components/link/types.ts +25 -25
- package/src/components/list/List.stories.tsx +272 -272
- package/src/components/list/index.tsx +88 -88
- package/src/components/list/list-item/index.tsx +38 -38
- package/src/components/list/list-item/types.ts +13 -13
- package/src/components/list/types.ts +29 -29
- package/src/components/material-icon/MaterialIcon.stories.tsx +322 -322
- package/src/components/material-icon/constants.ts +99 -99
- package/src/components/material-icon/index.tsx +47 -47
- package/src/components/material-icon/types.ts +31 -31
- package/src/components/modal/Modal.stories.tsx +171 -171
- package/src/components/modal/index.tsx +164 -164
- package/src/components/modal/types.ts +24 -24
- package/src/components/next-image/index.tsx +74 -74
- package/src/components/next-image/types.ts +1 -1
- package/src/components/pagination/index.tsx +91 -91
- package/src/components/pagination/types.ts +6 -6
- package/src/components/radio-button/RadioButton.stories.tsx +307 -307
- package/src/components/radio-button/index.tsx +75 -75
- package/src/components/radio-button/types.ts +21 -21
- package/src/components/see-more/SeeMore.stories.tsx +181 -181
- package/src/components/see-more/index.tsx +44 -44
- package/src/components/see-more/types.ts +4 -4
- package/src/components/select/Select.stories.tsx +411 -411
- package/src/components/select/index.tsx +155 -155
- package/src/components/select/types.ts +36 -36
- package/src/components/select-plan-button/SelectPlanButton.stories.tsx +184 -184
- package/src/components/select-plan-button/index.tsx +63 -63
- package/src/components/select-plan-button/types.ts +17 -17
- package/src/components/skeleton/Skeleton.stories.tsx +179 -179
- package/src/components/skeleton/index.tsx +61 -61
- package/src/components/skeleton/types.ts +4 -4
- package/src/components/spinner/Spinner.stories.tsx +335 -335
- package/src/components/spinner/index.tsx +44 -44
- package/src/components/spinner/types.ts +5 -5
- package/src/components/text/Text.stories.tsx +321 -321
- package/src/components/text/index.tsx +25 -25
- package/src/components/text/types.ts +45 -45
- package/src/components/tooltip/Tooltip.stories.tsx +219 -219
- package/src/components/tooltip/index.tsx +74 -74
- package/src/components/tooltip/types.ts +7 -7
- package/src/components/view-cart-button/ViewCartButton.stories.tsx +252 -252
- package/src/components/view-cart-button/index.tsx +42 -42
- package/src/components/view-cart-button/types.ts +5 -5
- package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +128 -128
- package/src/contentful/blocks/accordion/Accordion.stories.tsx +98 -98
- package/src/contentful/blocks/accordion/index.tsx +112 -112
- package/src/contentful/blocks/accordion/types.ts +34 -34
- package/src/contentful/blocks/address-input-banner/index.tsx +52 -52
- package/src/contentful/blocks/address-input-banner/types.ts +14 -14
- package/src/contentful/blocks/anchored-bottom-banner/index.tsx +181 -181
- package/src/contentful/blocks/anchored-bottom-banner/types.ts +13 -13
- package/src/contentful/blocks/blogs-grid/BlogGrid.stories.mocks.tsx +144 -144
- package/src/contentful/blocks/blogs-grid/BlogGrid.stories.tsx +156 -156
- package/src/contentful/blocks/blogs-grid/index.tsx +134 -134
- package/src/contentful/blocks/blogs-grid/types.ts +26 -26
- package/src/contentful/blocks/blogs-grid-base/index.tsx +119 -119
- package/src/contentful/blocks/blogs-grid-base/types.ts +36 -36
- package/src/contentful/blocks/breadcrumbs/BreadcrumbNavigation.stories.tsx +147 -147
- package/src/contentful/blocks/breadcrumbs/index.tsx +95 -95
- package/src/contentful/blocks/breadcrumbs/types.ts +8 -8
- package/src/contentful/blocks/button/Button.stories.tsx +40 -40
- package/src/contentful/blocks/button/index.tsx +131 -131
- package/src/contentful/blocks/button/types.ts +39 -39
- package/src/contentful/blocks/callout/Callout.stories.tsx +23 -23
- package/src/contentful/blocks/callout/index.tsx +265 -265
- package/src/contentful/blocks/callout/types.ts +72 -72
- package/src/contentful/blocks/cards/Cards.stories.tsx +23 -23
- package/src/contentful/blocks/cards/blog-card/index.tsx +129 -129
- package/src/contentful/blocks/cards/blog-card/types.ts +34 -34
- package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -119
- package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -30
- package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -130
- package/src/contentful/blocks/cards/full-image-card/types.ts +29 -29
- package/src/contentful/blocks/cards/index.tsx +13 -13
- package/src/contentful/blocks/cards/product-card/index.tsx +251 -251
- package/src/contentful/blocks/cards/product-card/types.ts +28 -28
- package/src/contentful/blocks/cards/simple-card/index.tsx +325 -325
- package/src/contentful/blocks/cards/simple-card/types.ts +71 -71
- package/src/contentful/blocks/cards/testimonial-card/index.tsx +90 -90
- package/src/contentful/blocks/cards/testimonial-card/types.tsx +12 -12
- package/src/contentful/blocks/cards/types.ts +1 -1
- package/src/contentful/blocks/carousel/Carousel.stories.tsx +23 -23
- package/src/contentful/blocks/carousel/helper.tsx +440 -440
- package/src/contentful/blocks/carousel/index.tsx +85 -85
- package/src/contentful/blocks/carousel/types.ts +144 -144
- package/src/contentful/blocks/cart-retention-banner/index.tsx +105 -105
- package/src/contentful/blocks/cart-retention-banner/types.ts +11 -11
- package/src/contentful/blocks/comparison-table/index.tsx +29 -29
- package/src/contentful/blocks/comparison-table/types.ts +6 -6
- package/src/contentful/blocks/cookiebanner/index.tsx +146 -146
- package/src/contentful/blocks/cookiebanner/type.ts +7 -7
- package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +46 -46
- package/src/contentful/blocks/cta-callout/index.tsx +71 -71
- package/src/contentful/blocks/cta-callout/types.ts +26 -26
- package/src/contentful/blocks/dynamic-tabs/index.tsx +204 -204
- package/src/contentful/blocks/dynamic-tabs/types.ts +21 -21
- package/src/contentful/blocks/email-input-block/index.tsx +116 -116
- package/src/contentful/blocks/email-input-block/types.ts +16 -16
- package/src/contentful/blocks/find-kinetic/FindKinetic.stories.tsx +23 -23
- package/src/contentful/blocks/find-kinetic/index.tsx +130 -130
- package/src/contentful/blocks/find-kinetic/types.ts +19 -19
- package/src/contentful/blocks/floating-banner/FloatingBanner.stories.tsx +34 -34
- package/src/contentful/blocks/floating-banner/index.tsx +97 -97
- package/src/contentful/blocks/floating-banner/types.ts +22 -22
- package/src/contentful/blocks/footer/Footer.stories.tsx +317 -317
- package/src/contentful/blocks/footer/index.tsx +91 -91
- package/src/contentful/blocks/footer/types.ts +13 -13
- package/src/contentful/blocks/image-promo-bar/ImagePromoBar.stories.tsx +23 -23
- package/src/contentful/blocks/image-promo-bar/helper.tsx +28 -28
- package/src/contentful/blocks/image-promo-bar/index.tsx +246 -246
- package/src/contentful/blocks/image-promo-bar/types.ts +44 -44
- package/src/contentful/blocks/image-promo-bar/vimeo-embed.tsx +93 -93
- package/src/contentful/blocks/image-promo-bar/youtube-embed.tsx +46 -46
- package/src/contentful/blocks/modal/constants.ts +53 -53
- package/src/contentful/blocks/modal/index.tsx +107 -107
- package/src/contentful/blocks/modal/types.ts +12 -12
- package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.tsx +139 -139
- package/src/contentful/blocks/navigation/index.tsx +568 -568
- package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.tsx +82 -82
- package/src/contentful/blocks/navigation/types.ts +71 -71
- package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +23 -23
- package/src/contentful/blocks/primary-hero/index.tsx +236 -236
- package/src/contentful/blocks/primary-hero/types.ts +37 -37
- package/src/contentful/blocks/search-block/index.tsx +90 -90
- package/src/contentful/blocks/search-block/types.ts +15 -15
- package/src/contentful/blocks/shape-background-wrapper/ShapeBackgroundWrapper.stories.tsx +26 -26
- package/src/contentful/blocks/shape-background-wrapper/index.tsx +124 -124
- package/src/contentful/blocks/shape-background-wrapper/types.ts +36 -36
- package/src/contentful/blocks/text/Text.stories.tsx +23 -23
- package/src/contentful/blocks/text/index.tsx +12 -12
- package/src/contentful/blocks/text/types.ts +1 -1
- package/src/contentful/index.ts +105 -105
- package/src/hooks/contentful/use-contentful-rich-text.tsx +309 -309
- package/src/hooks/contentful/use-processed-check-list.ts +63 -63
- package/src/hooks/use-body-scroll-lock.ts +34 -34
- package/src/hooks/use-carousel-swipe.ts +264 -264
- package/src/hooks/use-outside-click.ts +17 -17
- package/src/index.ts +101 -101
- package/src/next/index.ts +5 -5
- package/src/setupTests.ts +46 -46
- package/src/stories/DocsTemplate.tsx +24 -24
- package/src/styles/globals.css +343 -343
- package/src/types/global.d.ts +9 -9
- package/src/types/micro-components.ts +99 -99
- package/src/types/utm.ts +49 -49
- package/src/utils/contentful/to-document.ts +24 -24
- package/src/utils/cookie.ts +84 -84
- package/src/utils/cx.ts +49 -49
- package/src/utils/index.ts +41 -41
- package/src/utils/speed-card-bg.ts +24 -24
- package/src/utils/utm.ts +221 -221
package/dist/contentful/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),r=require("next/image"),i=require("react-dom"),o=require("next/navigation");function s(e){return e&&e.__esModule?e:{default:e}}function a(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 l=a(t),c=a(n),u=s(r),d=s(i);function p(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=p(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function h(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=p(e))&&(r&&(r+=" "),r+=t);return r}const m=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),f(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},f=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?f(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},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)x(n[e],r,e,t);return r},x=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:y(t,e)).classGroupId=n)}if("function"==typeof e)return I(e)?void x(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{x(i,y(t,e),n,r)})})},y=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},I=e=>e.isThemeGetter,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const 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)}}},w=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=A(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},A=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,N=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 j(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=k(e))&&(r&&(r+=" "),r+=t);return r}const k=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=k(e[r]))&&(n&&(n+=" "),n+=t);return n};function T(e,...t){let n,r,i,o=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:C(e.cacheSize),parseClassName:w(e),sortModifiers:N(e),...m(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:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=i(f,m);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(j.apply(null,arguments))}}const P=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},R=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,G=/^\((?:(\w[\w-]*):)?(.+)\)$/i,S=/^\d+\/\d+$/,B=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V=/\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$/,L=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>S.test(e),W=e=>!!e&&!Number.isNaN(Number(e)),X=e=>!!e&&Number.isInteger(Number(e)),F=e=>e.endsWith("%")&&W(e.slice(0,-1)),H=e=>B.test(e),z=()=>!0,Z=e=>V.test(e)&&!L.test(e),Y=()=>!1,J=e=>M.test(e),U=e=>D.test(e),_=e=>!Q(e)&&!re(e),$=e=>ue(e,me,Y),Q=e=>R.test(e),K=e=>ue(e,fe,Z),q=e=>ue(e,ge,W),ee=e=>ue(e,pe,Y),te=e=>ue(e,he,U),ne=e=>ue(e,ve,J),re=e=>G.test(e),ie=e=>de(e,fe),oe=e=>de(e,be),se=e=>de(e,pe),ae=e=>de(e,me),le=e=>de(e,he),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const r=R.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=G.exec(e);return!!r&&(r[1]?t(r[1]):n)},pe=e=>"position"===e||"percentage"===e,he=e=>"image"===e||"url"===e,me=e=>"length"===e||"size"===e||"bg-size"===e,fe=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,xe=()=>{const e=P("color"),t=P("font"),n=P("text"),r=P("font-weight"),i=P("tracking"),o=P("leading"),s=P("breakpoint"),a=P("container"),l=P("spacing"),c=P("radius"),u=P("shadow"),d=P("inset-shadow"),p=P("text-shadow"),h=P("drop-shadow"),m=P("blur"),f=P("perspective"),g=P("aspect"),b=P("ease"),v=P("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,Q],y=()=>[re,Q,l],I=()=>[O,"full","auto",...y()],C=()=>[X,"none","subgrid",re,Q],w=()=>["auto",{span:["full",X,re,Q]},X,re,Q],A=()=>[X,"auto",re,Q],N=()=>["auto","min","max","fr",re,Q],E=()=>["auto",...y()],j=()=>[O,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],k=()=>[e,re,Q],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",se,ee,{position:[re,Q]}],R=()=>["auto","cover","contain",ae,$,{size:[re,Q]}],G=()=>[F,ie,K],S=()=>["","none","full",c,re,Q],B=()=>["",W,ie,K],V=()=>[W,F,se,ee],L=()=>["","none",m,re,Q],M=()=>["none",W,re,Q],D=()=>["none",W,re,Q],Z=()=>[W,re,Q],Y=()=>[O,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[H],breakpoint:[H],color:[z],container:[H],"drop-shadow":[H],ease:["in","out","in-out"],font:[_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[H],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[H],shadow:[H],spacing:["px",W],text:[H],"text-shadow":[H],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",O,Q,re,g]}],container:["container"],columns:[{columns:[W,Q,re,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[X,"auto",re,Q]}],basis:[{basis:[O,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[W,O,"auto","initial","none",Q]}],grow:[{grow:["",W,re,Q]}],shrink:[{shrink:["",W,re,Q]}],order:[{order:[X,"first","last","none",re,Q]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap: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:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[a,"screen",...j()]}],"min-w":[{"min-w":[a,"screen","none",...j()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,ie,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,re,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",F,Q]}],"font-family":[{font:[oe,Q,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,re,Q]}],"line-clamp":[{"line-clamp":[W,"none",re,q]}],leading:[{leading:[o,...y()]}],"list-image":[{"list-image":["none",re,Q]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,Q]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[W,"from-font","auto",re,K]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[W,"auto",re,Q]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,Q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re,Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},X,re,Q],radial:["",re,Q],conic:[X,re,Q]},le,te]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[W,re,Q]}],"outline-w":[{outline:["",W,ie,K]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[W,K]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[W,re,Q]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[W]}],"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":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"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":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"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":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"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":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"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":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"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":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"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":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[re,Q]}],"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":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"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":[W]}],"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":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,Q]}],filter:[{filter:["","none",re,Q]}],blur:[{blur:L()}],brightness:[{brightness:[W,re,Q]}],contrast:[{contrast:[W,re,Q]}],"drop-shadow":[{"drop-shadow":["","none",h,ce,ne]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",W,re,Q]}],"hue-rotate":[{"hue-rotate":[W,re,Q]}],invert:[{invert:["",W,re,Q]}],saturate:[{saturate:[W,re,Q]}],sepia:[{sepia:["",W,re,Q]}],"backdrop-filter":[{"backdrop-filter":["","none",re,Q]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[W,re,Q]}],"backdrop-contrast":[{"backdrop-contrast":[W,re,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":["",W,re,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[W,re,Q]}],"backdrop-invert":[{"backdrop-invert":["",W,re,Q]}],"backdrop-opacity":[{"backdrop-opacity":[W,re,Q]}],"backdrop-saturate":[{"backdrop-saturate":[W,re,Q]}],"backdrop-sepia":[{"backdrop-sepia":["",W,re,Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,Q]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[W,"initial",re,Q]}],ease:[{ease:["linear","initial",b,re,Q]}],delay:[{delay:[W,re,Q]}],animate:[{animate:["none",v,re,Q]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,re,Q]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:Z()}],"skew-x":[{"skew-x":Z()}],"skew-y":[{"skew-y":Z()}],transform:[{transform:[re,Q,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,Q]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re,Q]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[W,ie,K,q]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ie=(e,t)=>{if(t)for(const n in t)ye(e,n,t[n])},Ce=(e,t)=>{if(t)for(const n in t)we(e,t,n)},we=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ae=((e,...t)=>"function"==typeof e?T(xe,e,...t):T(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(ye(e,"cacheSize",t),ye(e,"prefix",n),ye(e,"experimentalParseClassName",r),Ie(e.theme,o.theme),Ie(e.classGroups,o.classGroups),Ie(e.conflictingClassGroups,o.conflictingClassGroups),Ie(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),ye(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Ce(e.theme,i.theme),Ce(e.classGroups,i.classGroups),Ce(e.conflictingClassGroups,i.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),we(e,i,"orderSensitiveModifiers"),e))(xe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ne=(...e)=>Ae(h(...e)),Ee=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,je="function"==typeof Buffer,ke="function"==typeof TextDecoder?new TextDecoder:void 0,Te="function"==typeof TextEncoder?new TextEncoder:void 0,Pe=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Re=(()=>{let e={};return Pe.forEach((t,n)=>e[t]=n),e})(),Ge=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Se=String.fromCharCode.bind(String),Be="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Ve=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),Le=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Me=e=>{let t,n,r,i,o="";const s=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=Pe[t>>18&63]+Pe[t>>12&63]+Pe[t>>6&63]+Pe[63&t]}return s?o.slice(0,s-3)+"===".substring(s):o},De="function"==typeof btoa?e=>btoa(e):je?e=>Buffer.from(e,"binary").toString("base64"):Me,Oe=je?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Se.apply(null,e.subarray(n,n+4096)));return De(t.join(""))},We=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Se(192|t>>>6)+Se(128|63&t):Se(224|t>>>12&15)+Se(128|t>>>6&63)+Se(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Se(240|t>>>18&7)+Se(128|t>>>12&63)+Se(128|t>>>6&63)+Se(128|63&t)},Xe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Fe=e=>e.replace(Xe,We),He=je?e=>Buffer.from(e,"utf8").toString("base64"):Te?e=>Oe(Te.encode(e)):e=>De(Fe(e)),ze=(e,t=!1)=>t?Ve(He(e)):He(e),Ze=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ye=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Se((t>>>10)+55296)+Se(56320+(1023&t));case 3:return Se((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Se((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Je=e=>e.replace(Ze,Ye),Ue=e=>{if(e=e.replace(/\s+/g,""),!Ge.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Re[e.charAt(o++)]<<18|Re[e.charAt(o++)]<<12|(n=Re[e.charAt(o++)])<<6|(r=Re[e.charAt(o++)]),64===n?i.push(Se(t>>16&255)):64===r?i.push(Se(t>>16&255,t>>8&255)):i.push(Se(t>>16&255,t>>8&255,255&t));return i.join("")},_e="function"==typeof atob?e=>atob(Le(e)):je?e=>Buffer.from(e,"base64").toString("binary"):Ue,$e=je?e=>Be(Buffer.from(e,"base64")):e=>Be(_e(e).split("").map(e=>e.charCodeAt(0))),Qe=je?e=>Buffer.from(e,"base64").toString("utf8"):ke?e=>ke.decode($e(e)):e=>Je(_e(e)),Ke=e=>Le(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),qe=e=>Qe(Ke(e)),et=ze,tt=qe;
|
|
3
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),r=require("next/image"),i=require("react-dom"),o=require("next/navigation");function s(e){return e&&e.__esModule?e:{default:e}}function a(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 l=a(t),c=a(n),u=s(r),d=s(i);function h(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=h(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function p(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=h(e))&&(r&&(r+=" "),r+=t);return r}const m=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),f(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},f=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?f(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},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)y(n[e],r,e,t);return r},y=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:x(t,e)).classGroupId=n)}if("function"==typeof e)return C(e)?void y(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{y(i,x(t,e),n,r)})})},x=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},C=e=>e.isThemeGetter,I=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)}}},w=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=A(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},A=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,E=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}},N=/\s+/;function S(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=j(e))&&(r&&(r+=" "),r+=t);return r}const j=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=j(e[r]))&&(n&&(n+=" "),n+=t);return n};function T(e,...t){let n,r,i,o=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:I(e.cacheSize),parseClassName:w(e),sortModifiers:E(e),...m(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(N);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:p}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?h.substring(0,p):h);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(h),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const y=i(f,m);for(let e=0;e<y.length;++e){const t=y[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(S.apply(null,arguments))}}const k=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},B=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R=/^\((?:(\w[\w-]*):)?(.+)\)$/i,P=/^\d+\/\d+$/,L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G=/\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)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>P.test(e),W=e=>!!e&&!Number.isNaN(Number(e)),H=e=>!!e&&Number.isInteger(Number(e)),X=e=>e.endsWith("%")&&W(e.slice(0,-1)),F=e=>L.test(e),z=()=>!0,Z=e=>G.test(e)&&!O.test(e),Y=()=>!1,_=e=>M.test(e),J=e=>D.test(e),U=e=>!K(e)&&!re(e),$=e=>ue(e,me,Y),K=e=>B.test(e),Q=e=>ue(e,fe,Z),q=e=>ue(e,ge,W),ee=e=>ue(e,he,Y),te=e=>ue(e,pe,J),ne=e=>ue(e,ve,_),re=e=>R.test(e),ie=e=>de(e,fe),oe=e=>de(e,be),se=e=>de(e,he),ae=e=>de(e,me),le=e=>de(e,pe),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const r=B.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=R.exec(e);return!!r&&(r[1]?t(r[1]):n)},he=e=>"position"===e||"percentage"===e,pe=e=>"image"===e||"url"===e,me=e=>"length"===e||"size"===e||"bg-size"===e,fe=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,ye=()=>{const e=k("color"),t=k("font"),n=k("text"),r=k("font-weight"),i=k("tracking"),o=k("leading"),s=k("breakpoint"),a=k("container"),l=k("spacing"),c=k("radius"),u=k("shadow"),d=k("inset-shadow"),h=k("text-shadow"),p=k("drop-shadow"),m=k("blur"),f=k("perspective"),g=k("aspect"),b=k("ease"),v=k("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,K],x=()=>[re,K,l],C=()=>[V,"full","auto",...x()],I=()=>[H,"none","subgrid",re,K],w=()=>["auto",{span:["full",H,re,K]},H,re,K],A=()=>[H,"auto",re,K],E=()=>["auto","min","max","fr",re,K],N=()=>["auto",...x()],S=()=>[V,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],j=()=>[e,re,K],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",se,ee,{position:[re,K]}],B=()=>["auto","cover","contain",ae,$,{size:[re,K]}],R=()=>[X,ie,Q],P=()=>["","none","full",c,re,K],L=()=>["",W,ie,Q],G=()=>[W,X,se,ee],O=()=>["","none",m,re,K],M=()=>["none",W,re,K],D=()=>["none",W,re,K],Z=()=>[W,re,K],Y=()=>[V,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[F],breakpoint:[F],color:[z],container:[F],"drop-shadow":[F],ease:["in","out","in-out"],font:[U],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[F],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[F],shadow:[F],spacing:["px",W],text:[F],"text-shadow":[F],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",V,K,re,g]}],container:["container"],columns:[{columns:[W,K,re,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset: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:[H,"auto",re,K]}],basis:[{basis:[V,"full","auto",a,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[W,V,"auto","initial","none",K]}],grow:[{grow:["",W,re,K]}],shrink:[{shrink:["",W,re,K]}],order:[{order:[H,"first","last","none",re,K]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[a,"screen",...S()]}],"min-w":[{"min-w":[a,"screen","none",...S()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,ie,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,re,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",X,K]}],"font-family":[{font:[oe,K,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,re,K]}],"line-clamp":[{"line-clamp":[W,"none",re,q]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",re,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[W,"from-font","auto",re,Q]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[W,"auto",re,K]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H,re,K],radial:["",re,K],conic:[H,re,K]},le,te]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[W,re,K]}],"outline-w":[{outline:["",W,ie,Q]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[W,Q]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",h,ce,ne]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[W,re,K]}],"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":[W]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[re,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"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":[W]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,K]}],filter:[{filter:["","none",re,K]}],blur:[{blur:O()}],brightness:[{brightness:[W,re,K]}],contrast:[{contrast:[W,re,K]}],"drop-shadow":[{"drop-shadow":["","none",p,ce,ne]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",W,re,K]}],"hue-rotate":[{"hue-rotate":[W,re,K]}],invert:[{invert:["",W,re,K]}],saturate:[{saturate:[W,re,K]}],sepia:[{sepia:["",W,re,K]}],"backdrop-filter":[{"backdrop-filter":["","none",re,K]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[W,re,K]}],"backdrop-contrast":[{"backdrop-contrast":[W,re,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",W,re,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[W,re,K]}],"backdrop-invert":[{"backdrop-invert":["",W,re,K]}],"backdrop-opacity":[{"backdrop-opacity":[W,re,K]}],"backdrop-saturate":[{"backdrop-saturate":[W,re,K]}],"backdrop-sepia":[{"backdrop-sepia":["",W,re,K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[W,"initial",re,K]}],ease:[{ease:["linear","initial",b,re,K]}],delay:[{delay:[W,re,K]}],animate:[{animate:["none",v,re,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,re,K]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:Z()}],"skew-x":[{"skew-x":Z()}],"skew-y":[{"skew-y":Z()}],transform:[{transform:[re,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,K]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re,K]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[W,ie,Q,q]}],stroke:[{stroke:["none",...j()]}],"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"]}},xe=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ce=(e,t)=>{if(t)for(const n in t)xe(e,n,t[n])},Ie=(e,t)=>{if(t)for(const n in t)we(e,t,n)},we=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ae=((e,...t)=>"function"==typeof e?T(ye,e,...t):T(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(xe(e,"cacheSize",t),xe(e,"prefix",n),xe(e,"experimentalParseClassName",r),Ce(e.theme,o.theme),Ce(e.classGroups,o.classGroups),Ce(e.conflictingClassGroups,o.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),xe(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Ie(e.theme,i.theme),Ie(e.classGroups,i.classGroups),Ie(e.conflictingClassGroups,i.conflictingClassGroups),Ie(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),we(e,i,"orderSensitiveModifiers"),e))(ye(),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"]}}}),Ee=(...e)=>Ae(p(...e)),Ne=(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>`,Se="function"==typeof Buffer,je="function"==typeof TextDecoder?new TextDecoder:void 0,Te="function"==typeof TextEncoder?new TextEncoder:void 0,ke=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Be=(()=>{let e={};return ke.forEach((t,n)=>e[t]=n),e})(),Re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Pe=String.fromCharCode.bind(String),Le="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Ge=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),Oe=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Me=e=>{let t,n,r,i,o="";const s=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=ke[t>>18&63]+ke[t>>12&63]+ke[t>>6&63]+ke[63&t]}return s?o.slice(0,s-3)+"===".substring(s):o},De="function"==typeof btoa?e=>btoa(e):Se?e=>Buffer.from(e,"binary").toString("base64"):Me,Ve=Se?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Pe.apply(null,e.subarray(n,n+4096)));return De(t.join(""))},We=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Pe(192|t>>>6)+Pe(128|63&t):Pe(224|t>>>12&15)+Pe(128|t>>>6&63)+Pe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Pe(240|t>>>18&7)+Pe(128|t>>>12&63)+Pe(128|t>>>6&63)+Pe(128|63&t)},He=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Xe=e=>e.replace(He,We),Fe=Se?e=>Buffer.from(e,"utf8").toString("base64"):Te?e=>Ve(Te.encode(e)):e=>De(Xe(e)),ze=(e,t=!1)=>t?Ge(Fe(e)):Fe(e),Ze=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ye=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Pe((t>>>10)+55296)+Pe(56320+(1023&t));case 3:return Pe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Pe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},_e=e=>e.replace(Ze,Ye),Je=e=>{if(e=e.replace(/\s+/g,""),!Re.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Be[e.charAt(o++)]<<18|Be[e.charAt(o++)]<<12|(n=Be[e.charAt(o++)])<<6|(r=Be[e.charAt(o++)]),64===n?i.push(Pe(t>>16&255)):64===r?i.push(Pe(t>>16&255,t>>8&255)):i.push(Pe(t>>16&255,t>>8&255,255&t));return i.join("")},Ue="function"==typeof atob?e=>atob(Oe(e)):Se?e=>Buffer.from(e,"base64").toString("binary"):Je,$e=Se?e=>Le(Buffer.from(e,"base64")):e=>Le(Ue(e).split("").map(e=>e.charCodeAt(0))),Ke=Se?e=>Buffer.from(e,"base64").toString("utf8"):je?e=>je.decode($e(e)):e=>_e(Ue(e)),Qe=e=>Oe(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),qe=e=>Ke(Qe(e)),et=ze,tt=qe;
|
|
4
4
|
/*! js-cookie v3.0.5 | MIT */
|
|
5
|
-
function nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var rt=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=nt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in i)i[s]&&(o+="; "+s,!0!==i[s]&&(o+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(r[a]=t.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",nt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,nt({},this.attributes,t))},withConverter:function(t){return e(nt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const it=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const ot=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,st=e=>{if(!e)return null;if(ot(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return ot(t)?t:null}return null};var at=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),lt=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),ct=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});const ut=[at.PARAGRAPH,at.HEADING_1,at.HEADING_2,at.HEADING_3,at.HEADING_4,at.HEADING_5,at.HEADING_6,at.OL_LIST,at.UL_LIST,at.HR,at.QUOTE,at.EMBEDDED_ENTRY,at.EMBEDDED_ASSET,at.EMBEDDED_RESOURCE,at.TABLE],dt=[at.PARAGRAPH,at.HEADING_1,at.HEADING_2,at.HEADING_3,at.HEADING_4,at.HEADING_5,at.HEADING_6,at.OL_LIST,at.UL_LIST,at.HR,at.QUOTE,at.EMBEDDED_ENTRY,at.EMBEDDED_ASSET,at.EMBEDDED_RESOURCE];at.TABLE,at.TABLE_ROW,at.TABLE_CELL,at.TABLE_HEADER_CELL,at.HR,at.EMBEDDED_ENTRY,at.EMBEDDED_ASSET,at.EMBEDDED_RESOURCE;const pt={[at.OL_LIST]:[at.LIST_ITEM],[at.UL_LIST]:[at.LIST_ITEM],[at.LIST_ITEM]:dt,[at.QUOTE]:[at.PARAGRAPH],[at.TABLE]:[at.TABLE_ROW],[at.TABLE_ROW]:[at.TABLE_CELL,at.TABLE_HEADER_CELL],[at.TABLE_CELL]:[at.PARAGRAPH,at.UL_LIST,at.OL_LIST],[at.TABLE_HEADER_CELL]:[at.PARAGRAPH]};at.HEADING_1,at.HEADING_2,at.HEADING_3,at.HEADING_4,at.HEADING_5,at.HEADING_6;at.PARAGRAPH,at.DOCUMENT,at.PARAGRAPH,at.HEADING_1,at.HEADING_2,at.HEADING_3,at.HEADING_4,at.HEADING_5,at.HEADING_6,at.OL_LIST,at.UL_LIST,at.LIST_ITEM,at.HR,at.QUOTE,at.EMBEDDED_ENTRY,at.EMBEDDED_ASSET,lt.HYPERLINK,lt.ENTRY_HYPERLINK,lt.ASSET_HYPERLINK,lt.EMBEDDED_ENTRY,ct.BOLD,ct.CODE,ct.ITALIC,ct.UNDERLINE,at.DOCUMENT,at.PARAGRAPH;function ht(e){if(!function(e){return null!=e&&"object"==typeof e&&"content"in e&&Array.isArray(e.content)}(e)||e.content.length<2)return e;return function(e){if(e.nodeType!==at.PARAGRAPH)return!1;if(1!==e.content.length)return!1;const t=e.content[0];return"text"===t.nodeType&&""===t.value}(e.content[e.content.length-1])?{...e,content:e.content.slice(0,-1)}:e}const mt=({path:e,property:t,typeName:n,value:r})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:r});class ft{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,r=e??this.path.last()??"value";return this.catch(mt({typeName:"Object",property:r,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(mt({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(mt({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(mt({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let r=!1;n.forEach((n,i)=>{if(r)return;const o=t(n,this.path.of(e).of(i));o.length>0&&(r=!0),this.catch(...o)})}}const gt=[];class bt{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new ft(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:r,min:i=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===r.length&&i>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${i} with no nodeTypes`);if(n.minLength("content",i),0===r.length?n.empty("content"):n.each("content",(e,t)=>{const n=new ft(e,t);return n.object()?(n.enum("nodeType",r),n.errors):n.errors}),n.object("data")){const r=this.validateData?.(e.data,t.of("data"))??[];n.catch(...r)}return n.errors}}class vt extends bt{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new ft(e,t);if(n.object("target")){const r=new ft(e.target.sys,t.of("target").of("sys"));r.object()&&(r.enum("type",[this.type]),r.enum("linkType",[this.linkType]),"Link"===this.type?(r.string("id"),r.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(r.string("urn"),r.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...r.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const xt=(e,t)=>new bt(e,t),yt=(e,t)=>new vt(e,t);xt([...Object.values(lt),"text"].sort()),xt([at.LIST_ITEM]),yt("Entry",gt),xt(()=>({nodeTypes:[at.PARAGRAPH],min:1}),(e,t)=>{const n=new ft(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});function It(e,n){return e.map((e,r)=>{return i=Ct(e,n),o=r,t.isValidElement(i)&&null===i.key?t.cloneElement(i,{key:o}):i;var i,o})}function Ct(e,t){const{renderNode:n,renderMark:r,renderText:i,preserveWhitespace:o}=t;if(function(e){return"text"===e.nodeType}(e)){let t=i?i(e.value):e.value;if(o&&!i){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const e=t.split("\n"),n=[];e.forEach((t,r)=>{n.push(t),r!==e.length-1&&n.push(l.default.createElement("br",null))}),t=n}return e.marks.reduce((e,t)=>r[t.type]?r[t.type](e):e,t)}{const r=It(e.content,t);return e.nodeType&&n[e.nodeType]?n[e.nodeType](e,r):l.default.createElement(l.default.Fragment,null,r)}}at.DOCUMENT,xt(ut),at.PARAGRAPH,at.HEADING_1,at.HEADING_2,at.HEADING_3,at.HEADING_4,at.HEADING_5,at.HEADING_6,at.QUOTE,xt(pt[at.QUOTE]),at.EMBEDDED_ENTRY,at.EMBEDDED_ASSET,yt("Asset",gt),at.EMBEDDED_RESOURCE,yt("Contentful:Entry",gt),at.HR,xt(gt),at.OL_LIST,at.UL_LIST,at.LIST_ITEM,xt([...dt].sort()),at.TABLE,xt(()=>({nodeTypes:[at.TABLE_ROW],min:1})),at.TABLE_ROW,xt(()=>({nodeTypes:[at.TABLE_CELL,at.TABLE_HEADER_CELL],min:1})),at.TABLE_CELL,at.TABLE_HEADER_CELL,lt.HYPERLINK,new class extends bt{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new ft(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},lt.EMBEDDED_ENTRY,lt.EMBEDDED_RESOURCE,yt("Contentful:Entry",gt),lt.ENTRY_HYPERLINK,yt("Entry",["text"]),lt.ASSET_HYPERLINK,yt("Asset",["text"]),lt.RESOURCE_HYPERLINK,yt("Contentful:Entry",["text"]);const wt={[at.DOCUMENT]:(e,t)=>t,[at.PARAGRAPH]:(e,t)=>l.default.createElement("p",null,t),[at.HEADING_1]:(e,t)=>l.default.createElement("h1",null,t),[at.HEADING_2]:(e,t)=>l.default.createElement("h2",null,t),[at.HEADING_3]:(e,t)=>l.default.createElement("h3",null,t),[at.HEADING_4]:(e,t)=>l.default.createElement("h4",null,t),[at.HEADING_5]:(e,t)=>l.default.createElement("h5",null,t),[at.HEADING_6]:(e,t)=>l.default.createElement("h6",null,t),[at.EMBEDDED_ENTRY]:(e,t)=>l.default.createElement("div",null,t),[at.EMBEDDED_RESOURCE]:(e,t)=>l.default.createElement("div",null,t),[at.UL_LIST]:(e,t)=>l.default.createElement("ul",null,t),[at.OL_LIST]:(e,t)=>l.default.createElement("ol",null,t),[at.LIST_ITEM]:(e,t)=>l.default.createElement("li",null,t),[at.QUOTE]:(e,t)=>l.default.createElement("blockquote",null,t),[at.HR]:()=>l.default.createElement("hr",null),[at.TABLE]:(e,t)=>l.default.createElement("table",null,l.default.createElement("tbody",null,t)),[at.TABLE_ROW]:(e,t)=>l.default.createElement("tr",null,t),[at.TABLE_HEADER_CELL]:(e,t)=>l.default.createElement("th",null,t),[at.TABLE_CELL]:(e,t)=>l.default.createElement("td",null,t),[lt.ASSET_HYPERLINK]:e=>Nt(lt.ASSET_HYPERLINK,e),[lt.ENTRY_HYPERLINK]:e=>Nt(lt.ENTRY_HYPERLINK,e),[lt.RESOURCE_HYPERLINK]:e=>Et(lt.RESOURCE_HYPERLINK,e),[lt.EMBEDDED_ENTRY]:e=>Nt(lt.EMBEDDED_ENTRY,e),[lt.EMBEDDED_RESOURCE]:(e,t)=>Et(lt.EMBEDDED_RESOURCE,e),[lt.HYPERLINK]:(e,t)=>l.default.createElement("a",{href:e.data.uri},t)},At={[ct.BOLD]:e=>l.default.createElement("b",null,e),[ct.ITALIC]:e=>l.default.createElement("i",null,e),[ct.UNDERLINE]:e=>l.default.createElement("u",null,e),[ct.CODE]:e=>l.default.createElement("code",null,e),[ct.SUPERSCRIPT]:e=>l.default.createElement("sup",null,e),[ct.SUBSCRIPT]:e=>l.default.createElement("sub",null,e),[ct.STRIKETHROUGH]:e=>l.default.createElement("s",null,e)};function Nt(e,t){return l.default.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function Et(e,t){return l.default.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}function jt(e,t={}){if(!e)return null;let n=e;return t.stripEmptyTrailingParagraph&&(n=ht(e)),Ct(n,{renderNode:{...wt,...t.renderNode},renderMark:{...At,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}const kt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Tt=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:i,...o},s)=>{const a=Ne("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})});Tt.displayName="ListItem";const Pt=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=Ne(u,`list--${t}`,`list--${s}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e.jsx(Tt,{className:t.className,variant:s,children:t.content},t.id||n)):null),h={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...h,ref:c}):e.jsx("ul",{...h,ref:c})});Pt.displayName="List";const Rt=({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:Ne("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Rt.displayName="MaterialIcon";const Gt=t.forwardRef(({children:e,as:t,className:n="",style:r,...i},o)=>{const s=t||"p";return l.default.createElement(s,{ref:o,className:n,style:r,...i},e)});Gt.displayName="Text";const St=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(Pt,{className:Ne("mt-2 space-y-1",o),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Tt,{variant:u?"unstyled":"default",className:Ne(`${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(Rt,{name:r,size:s,color:kt[l],weight:"600",className:Ne("block","top"===a?"mt-1":"",c)})}),e.jsx(Gt,{as:"div",children:t})]},n))}):null};var Bt;St.displayName="Checklist";const Vt="function"==typeof c.default?c.default:null!==(Bt=c.default.default)&&void 0!==Bt?Bt:c.default,Lt=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)},h=Ne(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:h,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",{...m,children:t}):e.jsx(Vt,{href:n||"#",className:h,onClick:p,...c,children:t})});Lt.displayName="Link";const Mt={renderMark:{[ct.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[ct.ITALIC]:t=>e.jsx("em",{children:t}),[ct.UNDERLINE]:t=>e.jsx("u",{children:t}),[ct.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[at.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[at.HEADING_1]:(t,n)=>e.jsx(Gt,{as:"h1",className:"heading2 md:heading1",children:n}),[at.HEADING_2]:(t,n)=>e.jsx(Gt,{as:"h2",className:"heading6 md:heading5",children:n}),[at.HEADING_3]:(t,n)=>e.jsx(Gt,{as:"h3",className:"heading6 md:heading5",children:n}),[at.HEADING_4]:(t,n)=>e.jsx(Gt,{as:"h3",className:"headingClass",children:n}),[at.HEADING_5]:(t,n)=>e.jsx(Gt,{as:"h3",className:"heading6 md:heading5",children:n}),[at.HEADING_6]:(t,n)=>e.jsx(Gt,{as:"h3",className:"heading6",children:n}),[at.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[at.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[at.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[at.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[lt.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})},[at.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%"}})},[at.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},[lt.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 Dt(t,n,r="body1",i="body1 font-bold",o){if(!t||!Array.isArray(t.content))return null;const s={...Mt,...o,renderNode:{...Mt.renderNode,...null==o?void 0:o.renderNode,[at.PARAGRAPH]:(t,n)=>e.jsx("div",{className:r,children:n}),[lt.HYPERLINK]:(t,r)=>{var o;const s=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,a=/^https?:\/\//.test(s),l=null!=n?n:a;return e.jsx(Lt,{href:s,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:i,children:r})}}};return jt(t,s)}const Ot={renderMark:{[ct.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const Wt=t.forwardRef(({children:t,className:n="",style:r,disabled:i,...o},s)=>e.jsx("button",{ref:s,className:Ne(n),style:r,disabled:i,...o,children:t}));Wt.displayName="Button";const Xt=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})})};Xt.displayName="Collapse";const Ft=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[h,m]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;m(e)}else m(Boolean(i))},[d,i]),e.jsxs("div",{className:Ne(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(Wt,{type:"button",className:Ne(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>m(e=>!e),children:[e.jsx("span",{className:Ne("label5 flex-1",a),children:r}),e.jsx(Rt,{className:Ne("flex-shrink-0",u),name:h?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Xt,{open:h,children:e.jsx("div",{className:Ne("px-4 py-4",l),children:o})})]})};Ft.displayName="Accordion";const Ht=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ne("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};Ht.displayName="Divider";const zt=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()},Zt=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=Ne((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=Ne((o||n)&&"cursor-not-allowed",n&&"pl-7");return Ne(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 h=`button--${t}`;n&&(h+=" button--loading"),o&&(h+=" button--disabled");const m=`${h} ${p}`,f=e.jsxs(e.Fragment,{children:[n?e.jsx(Rt,{name:"progress_activity",className:"animate-spin"}):null,i?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ne(zt(l)),children:i}),r]}):r]});return"a"===c?e.jsx("a",{ref:d,className:Ne(m),...u,children:f}):e.jsx("button",{ref:d,className:Ne(m),disabled:o||n,...u,children:f})});Zt.displayName="BrandButton";const Yt=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:h,buttonClassName:m,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,iconFill:y=0,size:I,iconSize:C=24,preserveQueryParameters:w,...A}=t;if("check availability"===p){return null==h?void 0:h({ctaText:i,buttonVariant:r,showButtonAs:n,cta:{...t}})}function N(){"modal"===f&&(null==b||b(g))}function E(e){N(),null==v||v(e)}function j(e){N(),null==v||v(e)}const k="undefined"!=typeof window?window.location.search:"",T=s&&w&&k?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(it),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,k):s;let P=e.jsx(Wt,{onClick:j,className:m,...A});switch(n){case"solid":P=T?e.jsx(Zt,{as:"a",href:T,id:l,variant:r,text:i,label:o,fullWidth:d,buttonClassName:m,size:I,onClick:E}):e.jsx(Zt,{id:l,variant:r,text:i,label:o,fullWidth:d,size:I,onClick:j,buttonClassName:m});break;case"text":P=e.jsxs(Lt,{title:i,href:T,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:E,children:[i," ",x&&e.jsx(Rt,{name:x,size:C,fill:y})]})}return P};var Jt;const Ut=null!==(Jt=c.default)&&void 0!==Jt?Jt:c,_t=({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 h=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:h,"data-section-type":"blog-card","data-section-index":p,children:[e.jsx(Ut,{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(Ut,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),r&&e.jsx(Gt,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),e.jsxs(Ut,{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(Gt,{"aria-label":`${l} about ${n||"this article"}`,className:"label1 text-nowrap",children:l}),e.jsx(Rt,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},$t=(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})(u.default),Qt=({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()},Kt=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:Qt,unoptimized:!1}:{unoptimized:a};return e.jsx($t,{ref:r,className:Ne(t),...n,...l})});Kt.displayName="NextImage";const qt={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},en=({card:t,lgWidth:n,mdWidth:r})=>{var i,o,s,a;const{image:l,title:c,header:u,body:d,cta:p,ctaAlignment:h,imageLink:m,imageClassName:f,className:g,isPromoBarImg:b=!1,shadow:v=!1}=t,x=h?qt[h]:qt.left,y=m?"cursor-pointer":"",I=m?()=>{"undefined"!=typeof window&&window.open(m,"_blank")}:void 0;return b?(null==l?void 0:l.href)?e.jsx(Kt,{src:l.href,alt:null!==(o=null!==(i=l.title)&&void 0!==i?i:c)&&void 0!==o?o:"promo-bar-image",width:148,height:40,onClick:I,className:y}):null:e.jsxs("section",{"aria-labelledby":"Image Card",className:Ne("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",r,n,g),children:[(null==l?void 0:l.href)?e.jsx("div",{className:Ne("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",f),children:e.jsx(Kt,{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:I,className:Ne("h-full max-h-[285px] w-full object-cover",y)})}):null,u?e.jsx(Gt,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:u}):null,d?e.jsx(Gt,{as:"div",className:"body2 mb-0 flex-1 text-text",children:d}):null,e.jsx("div",{className:Ne(x,"mt-auto"),children:p?e.jsx(Yt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...p,iconName:"expand_circle_right",iconFill:1}):null})]})},tn=({card:t,lgWidth:n,mdWidth:r})=>{const{anchorId:i="FullImageCard",title:o,description:s,caption:a,image:l,cta:c,link:u,className:d,contentClassName:p,imageClassName:h,shadow:m=!0}=t,f=c||u,g=null==f?void 0:f.href,b=o?e.jsx(Gt,{as:"h3",className:"body1 text-text xl:heading6",children:o}):null;return e.jsxs("section",{id:i,className:Ne("callout-card relative flex flex-col rounded-3xl bg-white p-0",m&&"shadow-card",r,n,"w-full",d),"aria-labelledby":`card-title-${i}`,children:[(null==l?void 0:l.href)?e.jsx("div",{className:Ne("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",h),children:(()=>{var t,n;if(!(null==l?void 0:l.href))return null;const r=e.jsx(Kt,{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(Lt,{href:g,tabIndex:-1,target:null==f?void 0:f.target,children:r}):r})()}):null,e.jsxs("div",{className:Ne("flex h-full flex-col gap-4 p-6 md:p-8",p),children:[e.jsxs("div",{className:"flex flex-1 flex-col justify-between",children:[e.jsxs("div",{children:[g&&b?e.jsx(Lt,{href:g,target:null==f?void 0:f.target,className:"no-underline hover:underline",children:b}):b,s?e.jsx(Gt,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),a?e.jsx(Gt,{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(Yt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...c,iconName:"expand_circle_right",iconFill:1})}):null]})]})},nn={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},rn={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},on={left:"justify-start",right:"justify-end",center:"justify-center"},sn=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},an=({card:t,lgWidth:n,mdWidth:r,className:i,contentClassName:o,style:s})=>{var a,l,c,u,d,p,h,m,f,g,b,v,x,y,I,C,w;const A=null===(a=t.imageView)||void 0===a?void 0:a.toLowerCase(),N="full"===A,E="margin"===A,j="standard"===A,k="icon"===A||"inset"===A||!A&&!!t.image,T=j||k,P=(null===(l=t.iconAlignment)||void 0===l?void 0:l.toLowerCase())||(null===(c=t.imageAlignment)||void 0===c?void 0:c.toLowerCase())||"left",R=t.ctaAlignment&&rn[t.ctaAlignment]||rn.left,G=t.ctaAlignmentBottom&&on[t.ctaAlignmentBottom]||on.left,S=null===(u=t.pinwheelColor)||void 0===u?void 0:u.split("-")[1],B=T&&t.applyCardBackgroundColor,V={...s,...B&&t.backgroundColor?{"--scc-bg":t.backgroundColor}:{},...B&&t.textColor?{"--scc-fg":t.textColor}:{},...B&&t.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...B&&t.showBackgroundImage&&S?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ee(S))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},L=n=>{var r,i;return t.image?e.jsx("div",{className:Ne("relative aspect-video overflow-hidden",n?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e.jsx(Kt,{src:t.image,alt:null!==(i=null!==(r=t.imageAlt)&&void 0!==r?r:t.title)&&void 0!==i?i:"card-image",width:t.imageWidth||400,height:t.imageHeight||280,className:Ne("w-full",!n&&"rounded-t-3xl")})}):null},M=B&&t.textColor?{color:t.textColor}:void 0,D=t.title?e.jsx(Gt,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:M,children:t.title}):null,O=(null===(d=t.cta)||void 0===d?void 0:d.href)&&D?e.jsx(Lt,{href:t.cta.href,target:t.cta.target,className:"no-underline hover:underline",style:M,children:D}):D,W=(null!==(h=null===(p=t.workingHours)||void 0===p?void 0:p.length)&&void 0!==h?h:0)>0||(null!==(f=null===(m=t.phoneNumber)||void 0===m?void 0:m.length)&&void 0!==f?f:0)>0;return e.jsxs("section",{className:Ne("callout-card relative flex w-full flex-col rounded-3xl p-0",t.shadow&&"shadow-card",t.image&&!N&&!t.showBackgroundImage&&"pt-1",!t.applyCardBackgroundColor&&(null!==(b=nn[null!==(g=t.backgroundColor)&&void 0!==g?g:""])&&void 0!==b?b:""),r,n,i),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:Ne("top-link m-6 flex items-center lg:m-8",G),children:e.jsxs(Lt,{href:t.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e.jsx(Rt,{name:"location_on",fill:1,size:24}),e.jsx("span",{children:t.ctaBottom.title})]})}):null,t.image&&N?L(!1):null,t.image&&E?L(!0):null,e.jsxs("div",{className:Ne("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:Ne("flex flex-col",t.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e.jsx("div",{className:Ne(t.imageToRichTextAlignment&&"flex-shrink-0"),children:!t.image||N||E?null:(()=>{var n,r;if(!t.image)return null;const i=j&&t.imageWidth||60,o=j&&t.imageHeight||60;return e.jsx("div",{className:Ne("relative mb-8 flex",t.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:P},children:e.jsx(Kt,{src:t.image,alt:null!==(r=null!==(n=t.imageAlt)&&void 0!==n?n:t.title)&&void 0!==r?r:"card-icon",width:i,height:o,className:Ne("object-contain",t.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),e.jsxs("div",{className:"flex flex-col gap-3 md:gap-4",children:[O,t.titleLocation?e.jsx("div",{className:"mb-1 lg:mb-2",children:e.jsx(Gt,{as:"h4",className:"label1 font-bold text-text",children:t.titleLocation})}):null,W?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[r,i]=(null!=t?t:"").split("|");return e.jsxs("tr",{children:[e.jsx("td",{className:"py-2 pr-3",children:e.jsx(Gt,{className:"label2 text-text",children:r})}),e.jsx("td",{className:"py-2 pl-3",children:e.jsx(Gt,{className:"body2 font-bold text-text",children:i})})]},`wh-${n}`)}),null===(I=t.phoneNumber)||void 0===I?void 0:I.map((t,n)=>e.jsxs("tr",{children:[e.jsx("td",{className:"py-1 pr-3 align-middle",children:e.jsx(Rt,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e.jsx("td",{className:"py-1 pl-3",children:e.jsx(Lt,{href:sn(t),className:"text-inherit no-underline",children:e.jsx(Gt,{className:"body2 font-bold text-text",children:t})})})]},`ph-${n}`))]})})}):null,t.body?e.jsx(Gt,{as:"div",className:"body1 text-text",style:M,children:t.body}):null,t.richText?e.jsx(Gt,{as:"div",className:"body1 text-text",style:M,children:t.richText}):null]})]})}),t.cta?e.jsx("div",{className:Ne("mt-2",R),children:e.jsx(Yt,{linkVariant:"unstyled",linkClassName:Ne("label1 flex items-center gap-2 text-text",B&&t.textColor&&"decoration-current"),...t.cta,iconName:null!==(C=t.cta.iconName)&&void 0!==C?C:"expand_circle_right",iconFill:null!==(w=t.cta.iconFill)&&void 0!==w?w:1})}):null]})]})},ln={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]"},cn={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},un={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},dn=e=>Math.max(1,Math.min(6,e)),pn=t.forwardRef(({as:t,className:n="",...r},i)=>{const o=Ne(n);if(t){const n=t;return e.jsx(n,{ref:i,className:o,...r})}return e.jsx("img",{ref:i,className:o,...r})});pn.displayName="Image";const hn=({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),h=`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"} `,m=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(Wt,{onClick:()=>{p(!0),n()},className:Ne(h,"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(Rt,{className:Ne(a,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),m]})},mn=({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:h=[],isExpanded:m,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[I,C]=t.useState(!1),w=void 0!==m?m:I,A="dark"===d;return e.jsxs("article",{className:Ne("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:Ne("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",A?"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(Gt,{as:"h3",className:Ne("subheading2",A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(Gt,{as:"p",className:"label3 text-wrap "+(A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(Gt,{as:"span",className:Ne("label2 mr-1 mt-[2px]",A?"text-text-inverse":"text-text"),children:"$"}),e.jsx(Gt,{as:"span",className:Ne("subheading6",A?"text-text-inverse":"text-text"),children:o.split(".")[0]}),e.jsxs(Gt,{as:"span",className:Ne("label2",A?"text-text-inverse":"text-text"),children:[o.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(Gt,{className:Ne("body2",A?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Ne("flex-col items-center rounded-surface-sm p-2",A?"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(pn,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(Gt,{as:"div",className:Ne("body3",A?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(hn,{onSelect:g,speed:i,isSelected:A,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),h.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(Wt,{onClick:()=>{f?f():C(!I)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(Gt,{as:"h4",className:Ne("label3",A?"text-text-inverse":"text-text"),children:p}),e.jsx(Rt,{name:"keyboard_arrow_down",fill:1,size:24,className:Ne("transition-transform duration-300",w&&"rotate-180",A?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ne("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(St,{items:h,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:A?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(A?"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(pn,{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(Gt,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},fn=({title:t,quote:n,rating:r,author:i,role:o,avatarUrl:s,isActive:a=!1,className:l})=>e.jsxs("figure",{className:h("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(Gt,{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(Rt,{size:24,name:"star",fill:1,className:h("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(u.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(Gt,{as:"p",className:"body3 text-text",children:o})]})]})]});function gn({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({}),[h,m]=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&&m(e=>(e-1+f.length)%f.length)},[g,f.length]),x=t.useCallback(()=>{g&&m(e=>(e+1)%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,h,m,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)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(m=null===(h=null==t?void 0:t.giftRewards)||void 0===h?void 0:h.list)||void 0===m?void 0:m.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},j=i?d[n]||!1:c;return e.jsx("div",{ref:i?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Ne(i?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e.jsx(mn,{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:N,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:j,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(Wt,{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(Rt,{name:"arrow_back",size:24})}),e.jsx(Wt,{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(Rt,{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+h} * (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 bn=l.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),h=u*c+o/l*100,m=!a||(s?d||p:d);return e.jsx("div",{className:Ne("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e.jsx(fn,{...t,isActive:d,className:"h-full"})})});bn.displayName="TestimonialCarouselSlide";const vn=({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,h]=t.useState(!1),[m,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]),A=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),N=t.useCallback(e=>{x.current=e.touches[0].clientX,h(!0),v.current&&clearInterval(v.current)},[]),E=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),j=t.useCallback(()=>{h(!1);const e=m*i;u>e?w():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,m,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:m,containerRef:y,nextSlide:C,prevSlide:w,goToSlide:A,handleTouchStart:N,handleTouchMove:E,handleTouchEnd:j,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(Wt,{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(Rt,{name:"arrow_back",size:24})}),e.jsx(Wt,{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(Rt,{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(bn,{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:Ne("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))})]})},xn=({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:Ne("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:Ne("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))]})})},yn=({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(Rt,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),In=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:Ne("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 Cn=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:Ne("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"})})},wn=({link:n,anchorName:r,linkColorClassName:i})=>{const[o,s]=l.default.useState(!1),a=l.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)}))})(a,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Yt,{...n,linkClassName:Ne("body3 flex items-center h-full",i||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:u,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],h=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:h},ref:a,children:[e.jsxs(Yt,{onClick:()=>s(e=>!e),"aria-expanded":o,buttonClassName:Ne("group body3 flex h-full items-center",i||"text-text"),showButtonAs:"unstyled",children:[e.jsx(Gt,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e.jsx(Rt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e.jsx("div",{className:Ne("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:h,top:"anchor(bottom)",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"))&&s(!1)},children:p.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Yt,{...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}`))})})]})},An=({link:t})=>{const[n,r]=l.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(Yt,{...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(Yt,{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(Rt,{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(Nn,{items:a})]})},Nn=({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(Yt,{...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}`),En=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:i="md",children:o,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(Lt,{...c,className:Ne("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:Ne("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(Rt,{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:Ne("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]})};En.displayName="CallButton";const jn=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:h=!1,prefixIconSize:m=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:I,...C}=n,w=y?"error":c,[A,N]=t.useState(!1),[E,j]=t.useState(!1),[k,T]=t.useState(I||"text"),P=t.useCallback(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ne("inline-block pb-1"),children:e.jsxs(Gt,{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:Ne("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,(A||"hover"===w)&&!E&&"error"!==w&&"border-input-border-hover",(E||"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:m,height:m,overflow:"hidden"},children:e.jsx(Rt,{name:d,fill:p?1:0,size:m,className:Ne(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:x||C.disabled,className:Ne("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:k,...C,onMouseOver:()=>N(!0),onMouseOut:()=>N(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),j(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),j(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:P,children:e.jsx(Rt,{name:"text"===k?"visibility":"visibility_off",size:g,fill:h?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(Gt,{className:Ne("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Rt,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});jn.displayName="Input";const kn=t=>{var n;const{primaryNavigationLinks:r,utilityNavigationLinks:i,supportNavigationLinks:o,accountNavigationLinks:s,showCallButton:a,displayCallNowCta:c,displaySearchBar:u}=t,[d,p]=l.default.useState(!1);l.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=d?"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)}},[d]);const h=()=>{p(!1)};return e.jsxs("div",{children:[e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>p(!0),children:e.jsx(Rt,{name:"menu"})}),d?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:Ne("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",d?"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:Ne("flex items-center px-4",!1!==a||!1!==c?"justify-between":"justify-end"),children:[!1!==a||!1!==c?e.jsx("div",{children:e.jsx(En,{className:"border-none",href:t.invocaPhoneNumberLink,onClick:t.onCallClickMobile,children:t.invocaPhoneNumberDisplayText})}):null,e.jsx("div",{children:e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:h,children:e.jsx(Rt,{name:"close"})})})]}),!1!==u?e.jsx(Tn,{closeMenu:h,isMenuOpen:d,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}):null,e.jsxs("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&h()},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(An,{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(Yt,{...Object.fromEntries(Object.entries(n).filter(([e,t])=>null!==t)),linkClassName:Ne("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}`))})]})]})})]})},Tn=t=>{const{closeMenu:n,onSearch:r,isMenuOpen:i,searchBarIconURL:o}=t,[s,a]=l.default.useState(""),c=l.default.useRef(null),u=e=>{n(),e.preventDefault(),r(s)};return l.default.useEffect(()=>{i||a("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx(Kt,{src:o,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(jn,{ref:c,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"})})]})},Pn=t=>{const{searchBarIconURL:n,onSearch:r}=t,[i,o]=l.default.useState(""),s=l.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(Kt,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:a}),e.jsx(jn,{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"})]})},Rn={closed:{opacity:0},open:{opacity:1}},Gn={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Sn={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Bn=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Vn=t.createContext({}),Ln=t.createContext(null),Mn="undefined"!=typeof document,Dn=Mn?t.useLayoutEffect:t.useEffect,On=t.createContext({strict:!1});function Wn(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Xn(e){return"string"==typeof e||Array.isArray(e)}function Fn(e){return"object"==typeof e&&"function"==typeof e.start}const Hn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],zn=["initial",...Hn];function Zn(e){return Fn(e.animate)||zn.some(t=>Xn(e[t]))}function Yn(e){return Boolean(Zn(e)||e.variants)}function Jn(e){const{initial:n,animate:r}=function(e,t){if(Zn(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Xn(t)?t:void 0,animate:Xn(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(Vn));return t.useMemo(()=>({initial:n,animate:r}),[Un(n),Un(r)])}function Un(e){return Array.isArray(e)?e.join(" "):e}const _n={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"]},$n={};for(const e in _n)$n[e]={isEnabled:t=>_n[e].some(e=>!!t[e])};const Qn=t.createContext({}),Kn=t.createContext({}),qn=Symbol.for("motionComponentSymbol");function er({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(const t in e)$n[t]={...$n[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let c;const u={...t.useContext(Bn),...s,layoutId:tr(s)},{isStatic:d}=u,p=Jn(s),h=i(s,d);if(!d&&Mn){p.visualElement=function(e,n,r,i){const{visualElement:o}=t.useContext(Vn),s=t.useContext(On),a=t.useContext(Ln),l=t.useContext(Bn).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)}),Dn(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Dn:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(o,h,u,n);const r=t.useContext(Kn),i=t.useContext(On).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,i,e,r))}return l.createElement(Vn.Provider,{value:p},c&&p.visualElement?l.createElement(c,{visualElement:p.visualElement,...u}):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):Wn(r)&&(r.current=t))},[n])}(h,p.visualElement,a),h,d,p.visualElement))});return s[qn]=o,s}function tr({layoutId:e}){const n=t.useContext(Qn).id;return n&&void 0!==e?n+"-"+e:e}function nr(e){function t(t,n={}){return er(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 rr=["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 ir(e){return"string"==typeof e&&!e.includes("-")&&!!(rr.indexOf(e)>-1||/[A-Z]/.test(e))}const or={};const sr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ar=new Set(sr);function lr(e,{layout:t,layoutId:n}){return ar.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!or[e]||"opacity"===e)}const cr=e=>Boolean(e&&e.getVelocity),ur={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},dr=sr.length;const pr=e=>t=>"string"==typeof t&&t.startsWith(e),hr=pr("--"),mr=pr("var(--"),fr=(e,t)=>t&&"number"==typeof e?t.transform(e):e,gr=(e,t,n)=>Math.min(Math.max(n,e),t),br={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},vr={...br,transform:e=>gr(0,1,e)},xr={...br,default:1},yr=e=>Math.round(1e5*e)/1e5,Ir=/(-)?([\d]*\.?[\d])+/g,Cr=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,wr=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ar(e){return"string"==typeof e}const Nr=e=>({test:t=>Ar(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Er=Nr("deg"),jr=Nr("%"),kr=Nr("px"),Tr=Nr("vh"),Pr=Nr("vw"),Rr={...jr,parse:e=>jr.parse(e)/100,transform:e=>jr.transform(100*e)},Gr={...br,transform:Math.round},Sr={borderWidth:kr,borderTopWidth:kr,borderRightWidth:kr,borderBottomWidth:kr,borderLeftWidth:kr,borderRadius:kr,radius:kr,borderTopLeftRadius:kr,borderTopRightRadius:kr,borderBottomRightRadius:kr,borderBottomLeftRadius:kr,width:kr,maxWidth:kr,height:kr,maxHeight:kr,size:kr,top:kr,right:kr,bottom:kr,left:kr,padding:kr,paddingTop:kr,paddingRight:kr,paddingBottom:kr,paddingLeft:kr,margin:kr,marginTop:kr,marginRight:kr,marginBottom:kr,marginLeft:kr,rotate:Er,rotateX:Er,rotateY:Er,rotateZ:Er,scale:xr,scaleX:xr,scaleY:xr,scaleZ:xr,skew:Er,skewX:Er,skewY:Er,distance:kr,translateX:kr,translateY:kr,translateZ:kr,x:kr,y:kr,z:kr,perspective:kr,transformPerspective:kr,opacity:vr,originX:Rr,originY:Rr,originZ:kr,zIndex:Gr,fillOpacity:vr,strokeOpacity:vr,numOctaves:Gr};function Br(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(hr(e)){o[e]=n;continue}const r=Sr[e],d=fr(n,r);if(ar.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<dr;t++){const n=sr[t];void 0!==e[n]&&(o+=`${ur[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 Vr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Lr(e,t,n){for(const r in t)cr(t[r])||lr(r,n)||(e[r]=t[r])}function Mr(e,n,r){const i={};return Lr(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},n,r){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return Br(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(i):i}function Dr(e,t,n){const r={},i=Mr(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 Or=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 Wr(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Or.has(e)}let Xr=e=>!Wr(e);try{(Fr=require("@emotion/is-prop-valid").default)&&(Xr=e=>e.startsWith("on")?!Wr(e):Fr(e))}catch(Jt){}var Fr;function Hr(e,t,n){return"string"==typeof e?e:kr.transform(t+n*e)}const zr={offset:"stroke-dashoffset",array:"stroke-dasharray"},Zr={offset:"strokeDashoffset",array:"strokeDasharray"};function Yr(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(Br(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:f}=e;h.transform&&(f&&(m.transform=h.transform),delete h.transform),f&&(void 0!==i||void 0!==o||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Hr(t,e.x,e.width)} ${Hr(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==s&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?zr:Zr;e[o.offset]=kr.transform(-r);const s=kr.transform(t),a=kr.transform(n);e[o.array]=`${s} ${a}`}(h,s,a,l,!1)}const Jr=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Ur=e=>"string"==typeof e&&"svg"===e.toLowerCase();function _r(e,n,r,i){const o=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Yr(t,n,{enableHardwareAcceleration:!1},Ur(i),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};Lr(t,e.style,e),o.style={...t,...o.style}}return o}function $r(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(ir(n)?_r:Dr)(r,o,s,n),l=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(Xr(i)||!0===n&&Wr(i)||!t&&!Wr(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(()=>cr(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Qr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Kr(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 qr=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 ei(e,t,n,r){Kr(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(qr.has(n)?n:Qr(n),t.attrs[n])}function ti(e,t){const{style:n}=e,r={};for(const i in n)(cr(n[i])||t.style&&cr(t.style[i])||lr(i,e))&&(r[i]=n[i]);return r}function ni(e,t){const n=ti(e,t);for(const r in e)if(cr(e[r])||cr(t[r])){n[-1!==sr.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function ri(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 ii(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const oi=e=>Array.isArray(e),si=e=>oi(e)?e[e.length-1]||0:e;function ai(e){const t=cr(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const li=e=>(n,r)=>{const i=t.useContext(Vn),o=t.useContext(Ln),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:ci(r,i,o,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,n,i,o);return r?s():ii(s)};function ci(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=ai(o[e]);let{initial:s,animate:a}=e;const l=Zn(e),c=Yn(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&&!Fn(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=ri(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 ui={useVisualState:li({scrapeMotionValuesFromProps:ni,createRenderState:Jr,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}}Yr(n,r,{enableHardwareAcceleration:!1},Ur(t.tagName),e.transformTemplate),ei(t,n)}})},di={useVisualState:li({scrapeMotionValuesFromProps:ti,createRenderState:Vr})};function pi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const hi=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function mi(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function fi(e,t,n,r){return pi(e,t,(e=>t=>hi(t)&&e(t,mi(t)))(n),r)}const gi=(e,t)=>n=>t(e(n)),bi=(...e)=>e.reduce(gi);function vi(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const xi=vi("dragHorizontal"),yi=vi("dragVertical");function Ii(e){let t=!1;if("y"===e)t=yi();else if("x"===e)t=xi();else{const e=xi(),n=yi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ci(){const e=Ii(!0);return!e||(e(),!1)}class wi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Ai={delta:0,timestamp:0,isProcessing:!1};let Ni=!0,Ei=!1;const ji=["read","update","preRender","render","postRender"],ki=ji.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}(()=>Ei=!0),e),{}),Ti=e=>ki[e].process(Ai),Pi=e=>{Ei=!1,Ai.delta=Ni?1e3/60:Math.max(Math.min(e-Ai.timestamp,40),1),Ai.timestamp=e,Ai.isProcessing=!0,ji.forEach(Ti),Ai.isProcessing=!1,Ei&&(Ni=!1,requestAnimationFrame(Pi))},Ri=ji.reduce((e,t)=>{const n=ki[t];return e[t]=(e,t=!1,r=!1)=>(Ei||(Ei=!0,Ni=!0,Ai.isProcessing||requestAnimationFrame(Pi)),n.schedule(e,t,r)),e},{});function Gi(e){ji.forEach(t=>ki[t].cancel(e))}function Si(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return fi(e.current,n,(n,i)=>{if("touch"===n.type||Ci())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&Ri.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const Bi=(e,t)=>!!t&&(e===t||Bi(e,t.parentElement)),Vi=e=>e;function Li(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,mi(n))}const Mi=new WeakMap,Di=new WeakMap,Oi=e=>{const t=Mi.get(e.target);t&&t(e)},Wi=e=>{e.forEach(Oi)};function Xi(e,t,n){const r=function({root:e,...t}){const n=e||document;Di.has(n)||Di.set(n,{});const r=Di.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Wi,{root:e,...t})),r[i]}(t);return Mi.set(e,n),r.observe(e),()=>{Mi.delete(e),r.unobserve(e)}}const Fi={some:0,all:1};const Hi={inView:{Feature:class extends wi{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:Fi[r]};return Xi(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 wi{constructor(){super(...arguments),this.removeStartListeners=Vi,this.removeEndListeners=Vi,this.removeAccessibleListeners=Vi,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=fi(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Ri.update(()=>{Bi(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=fi(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=bi(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=pi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=pi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Li("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Ri.update(()=>n(e,t))})}),Li("down",(e,t)=>{this.startPress(e,t)})}),t=pi(this.node.current,"blur",()=>{this.isPressing&&Li("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=bi(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&&Ri.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ci()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ri.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=fi(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=pi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=bi(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends wi{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=bi(pi(this.node.current,"focus",()=>this.onFocus()),pi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends wi{mount(){this.unmount=bi(Si(this.node,!0),Si(this.node,!1))}unmount(){}}}};function zi(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 Zi(e,t,n){const r=e.getProps();return ri(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 Yi="data-"+Qr("framerAppearId");let Ji=Vi,Ui=Vi;"production"!==process.env.NODE_ENV&&(Ji=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Ui=(e,t)=>{if(!e)throw new Error(t)});const _i=e=>1e3*e,$i=e=>e/1e3,Qi=!1,Ki=e=>Array.isArray(e)&&"number"==typeof e[0];function qi(e){return Boolean(!e||"string"==typeof e&&to[e]||Ki(e)||Array.isArray(e)&&e.every(qi))}const eo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,to={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:eo([0,.65,.55,1]),circOut:eo([.55,0,1,.45]),backIn:eo([.31,.01,.66,-.59]),backOut:eo([.33,1.53,.69,.99])};function no(e){if(e)return Ki(e)?eo(e):Array.isArray(e)?e.map(no):to[e]}const ro={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},io={},oo={};for(const e in ro)oo[e]=()=>(void 0===io[e]&&(io[e]=ro[e]()),io[e]);const so=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function ao(e,t,n,r){if(e===t&&n===r)return Vi;const i=t=>function(e,t,n,r,i){let o,s,a=0;do{s=t+(n-t)/2,o=so(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:so(i(e),t,r)}const lo=ao(.42,0,1,1),co=ao(0,0,.58,1),uo=ao(.42,0,.58,1),po=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ho=e=>t=>1-e(1-t),mo=e=>1-Math.sin(Math.acos(e)),fo=ho(mo),go=po(fo),bo=ao(.33,1.53,.69,.99),vo=ho(bo),xo=po(vo),yo={linear:Vi,easeIn:lo,easeInOut:uo,easeOut:co,circIn:mo,circInOut:go,circOut:fo,backIn:vo,backInOut:xo,backOut:bo,anticipate:e=>(e*=2)<1?.5*vo(e):.5*(2-Math.pow(2,-10*(e-1)))},Io=e=>{if(Array.isArray(e)){Ui(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return ao(t,n,r,i)}return"string"==typeof e?(Ui(void 0!==yo[e],`Invalid easing type '${e}'`),yo[e]):e},Co=(e,t)=>n=>Boolean(Ar(n)&&wr.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),wo=(e,t,n)=>r=>{if(!Ar(r))return r;const[i,o,s,a]=r.match(Ir);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},Ao={...br,transform:e=>Math.round((e=>gr(0,255,e))(e))},No={test:Co("rgb","red"),parse:wo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ao.transform(e)+", "+Ao.transform(t)+", "+Ao.transform(n)+", "+yr(vr.transform(r))+")"};const Eo={test:Co("#"),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:No.transform},jo={test:Co("hsl","hue"),parse:wo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+jr.transform(yr(t))+", "+jr.transform(yr(n))+", "+yr(vr.transform(r))+")"},ko={test:e=>No.test(e)||Eo.test(e)||jo.test(e),parse:e=>No.test(e)?No.parse(e):jo.test(e)?jo.parse(e):Eo.parse(e),transform:e=>Ar(e)?e:e.hasOwnProperty("red")?No.transform(e):jo.transform(e)},To=(e,t,n)=>-n*e+n*t+e;function Po(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 Ro=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Go=[Eo,No,jo];function So(e){const t=(n=e,Go.find(e=>e.test(n)));var n;Ui(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===jo&&(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=Po(a,r,e+1/3),o=Po(a,r,e),s=Po(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 Bo=(e,t)=>{const n=So(e),r=So(t),i={...n};return e=>(i.red=Ro(n.red,r.red,e),i.green=Ro(n.green,r.green,e),i.blue=Ro(n.blue,r.blue,e),i.alpha=To(n.alpha,r.alpha,e),No.transform(i))};const Vo={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Vi},Lo={regex:Cr,countKey:"Colors",token:"${c}",parse:ko.parse},Mo={regex:Ir,countKey:"Numbers",token:"${n}",parse:br.parse};function Do(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 Oo(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Do(n,Vo),Do(n,Lo),Do(n,Mo),n}function Wo(e){return Oo(e).values}function Xo(e){const{values:t,numColors:n,numVars:r,tokenised:i}=Oo(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(Vo.token,e[i]):i<r+n?t.replace(Lo.token,ko.transform(e[i])):t.replace(Mo.token,yr(e[i]));return t}}const Fo=e=>"number"==typeof e?0:e;const Ho={test:function(e){var t,n;return isNaN(e)&&Ar(e)&&((null===(t=e.match(Ir))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Cr))||void 0===n?void 0:n.length)||0)>0},parse:Wo,createTransformer:Xo,getAnimatableNone:function(e){const t=Wo(e);return Xo(e)(t.map(Fo))}},zo=(e,t)=>n=>`${n>0?t:e}`;function Zo(e,t){return"number"==typeof e?n=>To(e,t,n):ko.test(e)?Bo(e,t):e.startsWith("var(")?zo(e,t):Uo(e,t)}const Yo=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>Zo(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Jo=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Zo(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Uo=(e,t)=>{const n=Ho.createTransformer(t),r=Oo(e),i=Oo(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?bi(Yo(r.values,i.values),n):(Ji(!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.`),zo(e,t))},_o=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},$o=(e,t)=>n=>To(e,t,n);function Qo(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?$o:"string"==typeof o?ko.test(o)?Bo:Uo:Array.isArray(o)?Yo:"object"==typeof o?Jo:$o);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]||Vi:t;o=bi(e,o)}r.push(o)}return r}function Ko(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Ui(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=Qo(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=_o(e[n],e[n+1],t);return s[n](r)};return n?t=>l(gr(e[0],e[o-1],t)):l}function qo(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=_o(0,t,r);e.push(To(n,1,i))}}(t,e.length-1),t}function es({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Io):Io(r),o={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:qo(t),e),a=Ko(s,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||uo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}function ts(e,t){return t?e*(1e3/t):0}function ns(e,t,n){const r=Math.max(t-5,0);return ts(n-e(r),t-r)}const rs=.001;function is({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;Ji(e<=_i(10),"Spring duration must be 10 seconds or less");let s=1-t;s=gr(.05,1,s),e=gr(.01,10,$i(e)),s<1?(i=t=>{const r=t*s,i=r*e,o=r-n,a=ss(t,s),l=Math.exp(-i);return rs-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=ss(Math.pow(t,2),s);return(-i(t)+rs>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<os;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=_i(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 os=12;function ss(e,t){return e*Math.sqrt(1-t*t)}const as=["duration","bounce"],ls=["stiffness","damping","mass"];function cs(e,t){return t.some(t=>void 0!==e[t])}function us({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(!cs(e,ls)&&cs(e,as)){const n=is(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-$i(u):0,m=l/(2*Math.sqrt(a*c)),f=o-i,g=$i(Math.sqrt(a/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=ss(g,m);v=t=>{const n=Math.exp(-m*g*t);return o-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>o-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return o-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)s.done=e>=d;else{let i=h;0!==e&&(i=m<1?ns(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 ds({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},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const b=e=>-m*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=us({keyframes:[p.value,h(p.value)],velocity:ns(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 ps=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ri.update(t,!0),stop:()=>Gi(t),now:()=>Ai.isProcessing?Ai.timestamp:performance.now()}};function hs(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 ms={decay:ds,inertia:ds,tween:es,keyframes:es,spring:us};function fs({autoplay:e=!0,delay:t=0,driver:n=ps,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const x=ms[i]||es;let y;x!==es&&"number"!=typeof r[0]&&(y=Ko([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",A=null,N=null,E=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=hs(I));const{calculatedDuration:j}=I;let k=1/0,T=1/0;null!==j&&(k=j+s,T=k*(o+1)-s);let P=0;const R=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),P=null!==A?A:(e-N)*f;const n=P-t,i=n<0;P=Math.max(n,0),"finished"===w&&null===A&&(P=T);let l=P,c=I;if(o){const e=P/k;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/k)):"mirror"===a&&(c=C));let i=gr(0,1,n);P>T&&(i="reverse"===a&&r?1:0),l=i*k}const u=i?{done:!1,value:r[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;i||null===j||(p=P>=T);const h=null===A&&("finished"===w||"running"===w&&p||f<0&&P<=0);return d&&d(u.value),h&&B(),u},G=()=>{v&&v.stop(),v=void 0},S=()=>{w="idle",G(),b(),N=E=null},B=()=>{w="finished",u&&u(),G(),b()},V=()=>{if(g)return;v||(v=n(R));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),E=N,A=null,w="running",v.start()};e&&V();const L={then:(e,t)=>m.then(e,t),get time(){return $i(P)},set time(e){e=_i(e),P=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?hs(I):I.calculatedDuration;return $i(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,L.time=$i(P))},get state(){return w},play:V,pause:()=>{w="paused",A=P},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),S())},cancel:()=>{null!==E&&R(E),S()},complete:()=>{w="finished"},sample:e=>(N=0,R(e))};return L}const gs=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function bs(e,t,{onUpdate:n,onComplete:r,...i}){if(!(oo.waapi()&&gs.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||!qi(t.ease))(t,i)){const e=fs({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=no(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}),m=()=>h.cancel(),f=()=>{Ri.update(m),o(),l()};return h.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),f()},{then:(e,t)=>s.then(e,t),get time(){return $i(h.currentTime||0)},set time(e){h.currentTime=_i(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return $i(u)},play:()=>{a||(h.play(),Gi(m))},pause:()=>h.pause(),stop:()=>{if(a=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=fs({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const vs={type:"spring",stiffness:500,damping:25,restSpeed:10},xs={type:"keyframes",duration:.8},ys={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Is=(e,{keyframes:t})=>t.length>2?xs:ar.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:vs:ys,Cs=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Ho.test(t)&&"0"!==t||t.startsWith("url("))),ws=new Set(["brightness","contrast","saturate","opacity"]);function As(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Ir)||[];if(!r)return e;const i=n.replace(r,"");let o=ws.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Ns=/([a-z-]*)\(.*?\)/g,Es={...Ho,getAnimatableNone:e=>{const t=e.match(Ns);return t?t.map(As).join(" "):e}},js={...Sr,color:ko,backgroundColor:ko,outlineColor:ko,fill:ko,stroke:ko,borderColor:ko,borderTopColor:ko,borderRightColor:ko,borderBottomColor:ko,borderLeftColor:ko,filter:Es,WebkitFilter:Es},ks=e=>js[e];function Ts(e,t){let n=ks(e);return n!==Es&&(n=Ho),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ps=e=>/^0[^.\s]+$/.test(e);function Rs(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Ps(e):void 0}function Gs(e,t){return e[t]||e.default||e}const Ss=(e,t,n,r={})=>i=>{const o=Gs(r,e)||{},s=o.delay||r.delay||0;let{elapsed:a=0}=r;a-=_i(s);const l=function(e,t,n,r){const i=Cs(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]),Rs(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]]=Ts(t,a);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=Cs(e,c),p=Cs(e,u);Ji(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-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)||(h={...h,...Is(e,h)}),h.duration&&(h.duration=_i(h.duration)),h.repeatDelay&&(h.repeatDelay=_i(h.repeatDelay)),!d||!p||Qi||!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:Vi,pause:Vi,stop:Vi,then:e=>(e(),Promise.resolve()),cancel:Vi,complete:Vi});return t?fs({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=bs(t,e,h);if(n)return n}return fs(h)};function Bs(e){return Boolean(cr(e)&&e.add)}const Vs=e=>/^\-?\d*\.?\d+$/.test(e);function Ls(e,t){-1===e.indexOf(t)&&e.push(t)}function Ms(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ds{constructor(){this.subscriptions=[]}add(e){return Ls(this.subscriptions,e),()=>Ms(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 Os=new Set;function Ws(e,t,n){e||Os.has(t)||(console.warn(t),Os.add(t))}class Xs{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}=Ai;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Ri.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=()=>Ri.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&&Ws(!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 Ds);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ri.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?ts(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 Fs(e,t){return new Xs(e,t)}const Hs=e=>t=>t.test(e),zs=[br,kr,jr,Er,Pr,Tr,{test:e=>"auto"===e,parse:e=>e}],Zs=e=>zs.find(Hs(e)),Ys=[...zs,ko,Ho],Js=e=>Ys.find(Hs(e));function Us(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Fs(n))}function _s(e,t){if(!t)return;return(t[e]||t.default||t).from}function $s({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Qs(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&&$s(u,t))continue;const s={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Yi];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,Ri))}r.start(Ss(t,r,i,e.shouldReduceMotion&&ar.has(t)?{type:!1}:s));const d=r.animation;Bs(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Zi(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)Us(e,t,si(o[t]))}(e,s)}),c}function Ks(e,t,n={}){const r=Zi(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Qs(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(qs).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(Ks(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 qs(e,t){return e.sortNodePosition(t)}const ea=[...Hn].reverse(),ta=Hn.length;function na(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=>Ks(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=Ks(e,t,n);else{const i="function"==typeof t?Zi(e,t,n.custom):t;r=Promise.all(Qs(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ra(e){let t=na(e);const n={animate:oa(!0),whileInView:oa(),whileHover:oa(),whileTap:oa(),whileDrag:oa(),whileFocus:oa(),exit:oa()};let r=!0;const i=(t,n)=>{const r=Zi(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<ta;t++){const h=ea[t],m=n[h],f=void 0!==a[h]?a[h]:l[h],g=Xn(f),b=h===s?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==a[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||Fn(f)||"boolean"==typeof f)continue;const x=ia(m.prevProp,f);let y=x||h===s&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{y=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?oi(t)&&oi(n)?!zi(t,n)||x?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===a.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?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 ia(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!zi(t,e)}function oa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let sa=0;const aa={animation:{Feature:class extends wi{constructor(e){super(e),e.animationState||(e.animationState=ra(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Fn(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 wi{constructor(){super(...arguments),this.id=sa++}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(){}}}},la=(e,t)=>Math.abs(e-t);class ca{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=pa(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=la(e.x,t.x),r=la(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}=Ai;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=ua(t,this.transformPagePoint),Ri.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=pa("pointercancel"===e.type?this.lastMoveEventInfo:ua(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!hi(e))return;this.handlers=t,this.transformPagePoint=n;const r=ua(mi(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=Ai;this.history=[{...i,timestamp:o}];const{onSessionStart:s}=t;s&&s(e,pa(r,this.history)),this.removeListeners=bi(fi(window,"pointermove",this.handlePointerMove),fi(window,"pointerup",this.handlePointerUp),fi(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Gi(this.updatePoint)}}function ua(e,t){return t?{point:t(e.point)}:e}function da(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pa({point:e},t){return{point:e,delta:da(e,ma(t)),offset:da(e,ha(t)),velocity:fa(t,.1)}}function ha(e){return e[0]}function ma(e){return e[e.length-1]}function fa(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=ma(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>_i(t)));)n--;if(!r)return{x:0,y:0};const o=$i(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 ga(e){return e.max-e.min}function ba(e,t=0,n=.01){return Math.abs(e-t)<=n}function va(e,t,n,r=.5){e.origin=r,e.originPoint=To(t.min,t.max,e.origin),e.scale=ga(n)/ga(t),(ba(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=To(n.min,n.max,e.origin)-e.originPoint,(ba(e.translate)||isNaN(e.translate))&&(e.translate=0)}function xa(e,t,n,r){va(e.x,t.x,n.x,r?r.originX:void 0),va(e.y,t.y,n.y,r?r.originY:void 0)}function ya(e,t,n){e.min=n.min+t.min,e.max=e.min+ga(t)}function Ia(e,t,n){e.min=t.min-n.min,e.max=e.min+ga(t)}function Ca(e,t,n){Ia(e.x,t.x,n.x),Ia(e.y,t.y,n.y)}function wa(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 Aa(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 Na=.35;function Ea(e,t,n){return{min:ja(e,t),max:ja(e,n)}}function ja(e,t){return"number"==typeof e?e:e[t]||0}const ka=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ta(e){return[e("x"),e("y")]}function Pa({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ra(e){return void 0===e||1===e}function Ga({scale:e,scaleX:t,scaleY:n}){return!Ra(e)||!Ra(t)||!Ra(n)}function Sa(e){return Ga(e)||Ba(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ba(e){return Va(e.x)||Va(e.y)}function Va(e){return e&&"0%"!==e}function La(e,t,n){return n+t*(e-n)}function Ma(e,t,n,r,i){return void 0!==i&&(e=La(e,i,r)),La(e,n,r)+t}function Da(e,t=0,n=1,r,i){e.min=Ma(e.min,t,n,r,i),e.max=Ma(e.max,t,n,r,i)}function Oa(e,{x:t,y:n}){Da(e.x,t.translate,t.scale,t.originPoint),Da(e.y,n.translate,n.scale,n.originPoint)}function Wa(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Xa(e,t){e.min=e.min+t,e.max=e.max+t}function Fa(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,s=To(e.min,e.max,o);Da(e,t[n],t[r],s,t.scale)}const Ha=["x","scaleX","originX"],za=["y","scaleY","originY"];function Za(e,t){Fa(e.x,t,Ha),Fa(e.y,t,za)}function Ya(e,t){return Pa(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 Ja=new WeakMap;class Ua{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 ca(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(mi(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ii(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),Ta(e=>{let t=this.getAxisMotionValue(e).get()||0;if(jr.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=ga(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&Ri.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&&Ri.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||!_a(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?To(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?To(n,e,r.max):Math.min(e,n)),e}(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&&Wn(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:wa(e.x,n,i),y:wa(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Na){return!1===e?e=0:!0===e&&(e=Na),{x:Ea(e,"left","right"),y:Ea(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ta(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||!Wn(e))return!1;const n=e.current;Ui(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=Ya(e,n),{scroll:i}=t;return i&&(Xa(r.x,i.offset.x),Xa(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Aa(e.x,t.x),y:Aa(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=Pa(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Ta(s=>{if(!_a(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(Ss(e,n,0,t))}stopAnimation(){Ta(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){Ta(t=>{const{drag:n}=this.getProps();if(!_a(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]-To(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Wn(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ta(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=ga(e),i=ga(t);return i>r?n=_o(t.min,t.max-r,e.min):r>i&&(n=_o(e.min,e.max-i,t.min)),gr(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(),Ta(t=>{if(!_a(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(To(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;Ja.set(this.visualElement,this);const e=fi(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Wn(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=pi(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ta(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=Na,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function _a(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const $a=e=>(t,n)=>{e&&Ri.update(()=>e(t,n))};const Qa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ka(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const qa={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!kr.test(e))return e;e=parseFloat(e)}return`${Ka(e,t.target.x)}% ${Ka(e,t.target.y)}%`}},el={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ho.parse(e);if(i.length>5)return r;const o=Ho.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=To(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 tl extends l.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=rl,Object.assign(or,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()})),Qa.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()||Ri.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 nl(e){const[n,r]=function(){const e=t.useContext(Ln);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(Qn);return l.default.createElement(tl,{...e,layoutGroup:i,switchLayoutGroup:t.useContext(Kn),isPresent:n,safeToRemove:r})}const rl={borderRadius:{...qa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:qa,borderTopRightRadius:qa,borderBottomLeftRadius:qa,borderBottomRightRadius:qa,boxShadow:el},il=["TopLeft","TopRight","BottomLeft","BottomRight"],ol=il.length,sl=e=>"string"==typeof e?parseFloat(e):e,al=e=>"number"==typeof e||kr.test(e);function ll(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const cl=dl(0,.5,fo),ul=dl(.5,.95,Vi);function dl(e,t,n){return r=>r<e?0:r>t?1:n(_o(e,t,r))}function pl(e,t){e.min=t.min,e.max=t.max}function hl(e,t){pl(e.x,t.x),pl(e.y,t.y)}function ml(e,t,n,r,i){return e=La(e-=t,1/n,r),void 0!==i&&(e=La(e,1/i,r)),e}function fl(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){jr.test(t)&&(t=parseFloat(t),t=To(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=To(o.min,o.max,r);e===o&&(a-=t),e.min=ml(e.min,t,n,a,i),e.max=ml(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}const gl=["x","scaleX","originX"],bl=["y","scaleY","originY"];function vl(e,t,n,r){fl(e.x,t,gl,n?n.x:void 0,r?r.x:void 0),fl(e.y,t,bl,n?n.y:void 0,r?r.y:void 0)}function xl(e){return 0===e.translate&&1===e.scale}function yl(e){return xl(e.x)&&xl(e.y)}function Il(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 Cl(e){return ga(e.x)/ga(e.y)}class wl{constructor(){this.members=[]}add(e){Ls(this.members,e),e.scheduleRender()}remove(e){if(Ms(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 Al(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 Nl=(e,t)=>e.depth-t.depth;class El{constructor(){this.children=[],this.isDirty=!1}add(e){Ls(this.children,e),this.isDirty=!0}remove(e){Ms(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Nl),this.isDirty=!1,this.children.forEach(e)}}const jl=["","X","Y","Z"];let kl=0;const Tl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Pl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=kl++,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;Tl.totalNodes=Tl.resolvedTargetDeltas=Tl.recalculatedProjection=0,this.nodes.forEach(Sl),this.nodes.forEach(Wl),this.nodes.forEach(Xl),this.nodes.forEach(Bl),e=Tl,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 El)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ds),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&&(Gi(r),e(o-t))};return Ri.read(r,!0),()=>Gi(r)}(r,250),Qa.hasAnimatedSinceResize&&(Qa.hasAnimatedSinceResize=!1,this.nodes.forEach(Ol))})}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()||Jl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Il(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={...Gs(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Ol(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,Gi(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(Fl),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(Ll);this.isUpdating||this.nodes.forEach(Ml),this.isUpdating=!1,this.nodes.forEach(Dl),this.nodes.forEach(Rl),this.nodes.forEach(Gl),this.clearAllSnapshots();const e=performance.now();Ai.delta=gr(0,1e3/60,e-Ai.timestamp),Ai.timestamp=e,Ai.isProcessing=!0,ki.update.process(Ai),ki.preRender.process(Ai),ki.render.process(Ai),Ai.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Vl),this.sharedNodes.forEach(Hl)}scheduleUpdateProjection(){Ri.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Ri.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&&!yl(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||Sa(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)),Ul((r=n).x),Ul(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&&(Xa(t.x,n.offset.x),Xa(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};hl(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){hl(t,e);const{scroll:n}=this.root;n&&(Xa(t.x,-n.offset.x),Xa(t.y,-n.offset.y))}Xa(t.x,i.offset.x),Xa(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};hl(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&&Za(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Sa(r.latestValues)&&Za(n,r.latestValues)}return Sa(this.latestValues)&&Za(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};hl(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Sa(n.latestValues))continue;Ga(n.latestValues)&&n.updateSnapshot();const r=ka();hl(r,n.measurePageBox()),vl(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Sa(this.latestValues)&&vl(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!==Ai.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=Ai.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}},Ca(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),hl(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,ya(s.x,a.x,l.x),ya(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):hl(this.target,this.layout.layoutBox),Oa(this.target,this.targetDelta)):hl(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}},Ca(this.relativeTargetOrigin,this.target,e.target),hl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Tl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ga(this.parent.latestValues)&&!Ba(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===Ai.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;hl(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&&Za(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Oa(e,s)),r&&Sa(o.latestValues)&&Za(e,o.latestValues))}t.x=Wa(t.x),t.y=Wa(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;xa(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Al(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Tl.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(Yl));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;zl(o.x,e.x,n),zl(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ca(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Zl(e.x,t.x,n.x,r),Zl(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&Il(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),hl(d,this.relativeTarget)),a&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=To(0,void 0!==n.opacity?n.opacity:1,cl(r)),e.opacityExit=To(void 0!==t.opacity?t.opacity:1,0,ul(r))):o&&(e.opacity=To(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<ol;i++){const o=`border${il[i]}Radius`;let s=ll(t,o),a=ll(n,o);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||al(s)===al(a)?(e[o]=Math.max(To(sl(s),sl(a),r),0),(jr.test(a)||jr.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=To(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&&(Gi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ri.update(()=>{Qa.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=cr(e)?e:Fs(e);return r.start(Ss("",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&&_l(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=ga(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=ga(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}hl(t,n),Za(t,i),xa(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new wl);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<jl.length;t++){const i="rotate"+jl[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=ai(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=ai(e.pointerEvents)||""),this.hasProjected&&!Sa(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=Al(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 or){if(void 0===s[e])continue;const{correct:t,applyTo:n}=or[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?ai(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(Ll),this.root.sharedNodes.clear()}}}function Rl(e){e.updateLayout()}function Gl(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?Ta(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=ga(r);r.min=t[e].min,r.max=r.min+i}):_l(i,n.layoutBox,t)&&Ta(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],s=ga(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}};xa(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?xa(a,e.applyTransform(r,!0),n.measuredBox):xa(a,t,n.layoutBox);const l=!yl(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}};Ca(s,n.layoutBox,i.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Ca(a,t,o.layoutBox),Il(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 Sl(e){Tl.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 Bl(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Vl(e){e.clearSnapshot()}function Ll(e){e.clearMeasurements()}function Ml(e){e.isLayoutDirty=!1}function Dl(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ol(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Wl(e){e.resolveTargetDelta()}function Xl(e){e.calcProjection()}function Fl(e){e.resetRotation()}function Hl(e){e.removeLeadSnapshot()}function zl(e,t,n){e.translate=To(t.translate,0,n),e.scale=To(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Zl(e,t,n,r){e.min=To(t.min,n.min,r),e.max=To(t.max,n.max,r)}function Yl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Jl={duration:.45,ease:[.4,0,.1,1]};function Ul(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function _l(e,t,n){return"position"===e||"preserve-aspect"===e&&!ba(Cl(t),Cl(n),.2)}const $l=Pl({attachResizeListener:(e,t)=>pi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ql={current:void 0},Kl=Pl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ql.current){const e=new $l({});e.mount(window),e.setOptions({layoutScroll:!0}),Ql.current=e}return Ql.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ql={pan:{Feature:class extends wi{constructor(){super(...arguments),this.removePointerDownListener=Vi}onPointerDown(e){this.session=new ca(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:$a(e),onStart:$a(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Ri.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=fi(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 wi{constructor(e){super(e),this.removeGroupControls=Vi,this.removeListeners=Vi,this.controls=new Ua(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Vi}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Kl,MeasureLayout:nl}},ec=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function tc(e,t,n=1){Ui(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=ec.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():mr(i)?tc(i,t,n+1):i}const nc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rc=e=>nc.has(e),ic=e=>e===br||e===kr,oc=(e,t)=>parseFloat(e.split(", ")[t]),sc=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return oc(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?oc(t[1],e):0}},ac=new Set(["x","y","z"]),lc=sr.filter(e=>!ac.has(e));const cc={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:sc(4,13),y:sc(5,14)},uc=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(rc);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=Zs(c);const d=t[i];let p;if(oi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Zs(c);for(let n=t;n<e&&null!==d[n];n++)p?Ui(Zs(d[n])===p,"All keyframes must be of the same type"):(p=Zs(d[n]),Ui(p===u||ic(u)&&ic(p),"Keyframes must be of the same dimension as the current value"))}else p=Zs(d);if(u!==p)if(ic(u)&&ic(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===kr&&(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 lc.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]=cc[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]=cc[n](l,o)}),e})(t,e,a);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Mn&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function dc(e,t,n,r){return(e=>Object.keys(e).some(rc))(t)?uc(e,t,n,r):{target:t,transitionEnd:r}}const pc=(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(!mr(t))return;const n=tc(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!mr(i))continue;const o=tc(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return dc(e,t=i.target,n,r=i.transitionEnd)},hc={current:null},mc={current:!1};const fc=new WeakMap,gc=Object.keys($n),bc=gc.length,vc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],xc=zn.length;class yc{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=()=>Ri.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=Zn(t),this.isVariantNode=Yn(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]&&cr(t)&&(t.set(s[e],!1),Bs(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,fc.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)),mc.current||function(){if(mc.current=!0,Mn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>hc.current=e.matches;e.addListener(t),t()}else hc.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||hc.current),"production"!==process.env.NODE_ENV&&Ws(!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(){fc.delete(this.current),this.projection&&this.projection.unmount(),Gi(this.notifyUpdate),Gi(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=ar.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ri.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?Ji(!1,e):Ui(!1,e)}for(let e=0;e<bc;e++){const n=gc[e],{isEnabled:r,Feature:i,ProjectionNode:a,MeasureLayout:l}=$n[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&&Wn(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<vc.length;t++){const n=vc[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(cr(o))e.addValue(i,o),Bs(r)&&r.add(i),"development"===process.env.NODE_ENV&&Ws("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(cr(s))e.addValue(i,Fs(o,{owner:e})),Bs(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,Fs(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<xc;e++){const n=zn[e],r=this.props[n];(Xn(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=Fs(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=ri(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||cr(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 Ds),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Ic extends yc{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=_s(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&&(Vs(c)||Ps(c))?c=parseFloat(c):!Js(c)&&Ho.test(l)&&(c=Ts(s,l)),e.addValue(s,Fs(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,o);const e=pc(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Cc extends Ic{readValueFromInstance(e,t){if(ar.has(t)){const e=ks(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(hr(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ya(e,t)}build(e,t,n,r){Br(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ti(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;cr(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Kr(e,t,n,r)}}class wc extends Ic{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(ar.has(t)){const e=ks(t);return e&&e.default||0}return t=qr.has(t)?t:Qr(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ni(e,t)}build(e,t,n,r){Yr(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){ei(e,t,0,r)}mount(e){this.isSVGTag=Ur(e.tagName),super.mount(e)}}const Ac=(e,t)=>ir(e)?new wc(t,{enableHardwareAcceleration:!1}):new Cc(t,{enableHardwareAcceleration:!0}),Nc={...aa,...Hi,...ql,...{layout:{ProjectionNode:Kl,MeasureLayout:nl}}},Ec=nr((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...ir(e)?ui:di,preloadedFeatures:n,useRender:$r(t),createVisualElement:r,Component:e}}(e,t,Nc,Ac));function jc(){const e=t.useRef(!1);return Dn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class kc extends l.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 Tc({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]),l.createElement(kc,{isPresent:n,childRef:i,sizeRef:o},l.cloneElement(e,{ref:i}))}const Pc=({children:e,initial:n,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:s,mode:a})=>{const c=ii(Rc),u=t.useId(),d=t.useMemo(()=>({id:u,initial:n,isPresent:r,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[r]);return t.useMemo(()=>{c.forEach((e,t)=>c.set(t,!1))},[r]),l.useEffect(()=>{!r&&!c.size&&i&&i()},[r]),"popLayout"===a&&(e=l.createElement(Tc,{isPresent:r},e)),l.createElement(Ln.Provider,{value:d},e)};function Rc(){return new Map}const Gc=e=>e.key||"";const Sc=({children:e,custom:n,initial:r=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{Ui(!o,"Replace exitBeforeEnter with mode='wait'");const c=t.useContext(Qn).forceRender||function(){const e=jc(),[n,r]=t.useState(0),i=t.useCallback(()=>{e.current&&r(n+1)},[n]);return[t.useCallback(()=>Ri.postRender(i),[i]),n]}()[0],u=jc(),d=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let p=d;const h=t.useRef(new Map).current,m=t.useRef(p),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(Dn(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=Gc(e);t.set(n,e)})}(d,f),m.current=p}),b=()=>{g.current=!0,f.clear(),h.clear()},t.useEffect(()=>()=>b(),[]),g.current)return l.createElement(l.Fragment,null,p.map(e=>l.createElement(Pc,{key:Gc(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a},e)));p=[...p];const v=m.current.map(Gc),x=d.map(Gc),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||h.has(t)||h.set(t,void 0)}return"wait"===a&&h.size&&(p=[]),h.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),h.delete(t);const e=m.current.findIndex(e=>e.key===t);if(m.current.splice(e,1),!h.size){if(m.current=d,!1===u.current)return;c(),i&&i()}};g=l.createElement(Pc,{key:Gc(r),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},r),h.set(t,g)}p.splice(o,0,g)}),p=p.map(e=>{const t=e.key;return h.has(t)?e:l.createElement(Pc,{key:Gc(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&p.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),l.createElement(l.Fragment,null,h.size?p:p.map(e=>t.cloneElement(e)))};function Bc(){return Bc=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},Bc.apply(null,arguments)}function Vc(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 Lc(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Mc(...e){return t.useCallback(Lc(...e),e)}function Dc(...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 Oc=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},Wc=l["useId".toString()]||(()=>{});let Xc=0;function Fc(e){const[t,n]=l.useState(Wc());return Oc(()=>{n(e=>null!=e?e:String(Xc++))},[e]),e||(t?`radix-${t}`:"")}function Hc(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 zc({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=Hc(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=Hc(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 Zc=t.forwardRef((e,n)=>{const{children:r,...i}=e,o=t.Children.toArray(r),s=o.find(Uc);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(Yc,Bc({},i,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement(Yc,Bc({},i,{ref:n}),r)});Zc.displayName="Slot";const Yc=t.forwardRef((e,n)=>{const{children:r,...i}=e;return t.isValidElement(r)?t.cloneElement(r,{..._c(i,r.props),ref:n?Lc(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});Yc.displayName="SlotClone";const Jc=({children:e})=>t.createElement(t.Fragment,null,e);function Uc(e){return t.isValidElement(e)&&e.type===Jc}function _c(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 $c=["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?Zc:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,Bc({},o,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const Qc="dismissableLayer.update",Kc="dismissableLayer.pointerDownOutside",qc="dismissableLayer.focusOutside";let eu;const tu=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nu=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(tu),[p,h]=t.useState(null),m=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=Mc(n,e=>h(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=Hc(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(){iu(Kc,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())},m),A=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Hc(e),i=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){iu(qc,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())},m);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Hc(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()))},m),t.useEffect(()=>{if(p)return i&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(eu=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),ru(),()=>{i&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=eu)}},[p,m,i,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),ru())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(Qc,e),()=>document.removeEventListener(Qc,e)},[]),t.createElement($c.div,Bc({},u,{ref:g,style:{pointerEvents:I?C?"auto":"none":void 0,...e.style},onFocusCapture:Vc(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Vc(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Vc(e.onPointerDownCapture,w.onPointerDownCapture)}))});function ru(){const e=new CustomEvent(Qc);document.dispatchEvent(e)}function iu(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}(o,s):o.dispatchEvent(s)}const ou="focusScope.autoFocusOnMount",su="focusScope.autoFocusOnUnmount",au={bubbles:!1,cancelable:!0},lu=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=Hc(o),d=Hc(s),p=t.useRef(null),h=Mc(n,e=>c(e)),m=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(i){function e(e){if(m.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:pu(p.current,{select:!0})}function t(e){if(m.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||pu(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&pu(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,m.paused]),t.useEffect(()=>{if(l){hu.add(m);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(ou,au);l.addEventListener(ou,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(pu(r,{select:t}),document.activeElement!==n)return}((e=cu(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&pu(l))}return()=>{l.removeEventListener(ou,u),setTimeout(()=>{const e=new CustomEvent(su,au);l.addEventListener(su,d),l.dispatchEvent(e),e.defaultPrevented||pu(null!=t?t:document.body,{select:!0}),l.removeEventListener(su,d),hu.remove(m)},0)}}var e},[l,u,d,m]);const f=t.useCallback(e=>{if(!r&&!i)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[i,o]=function(e){const t=cu(e),n=uu(t,e),r=uu(t.reverse(),e);return[n,r]}(t);i&&o?e.shiftKey||n!==o?e.shiftKey&&n===i&&(e.preventDefault(),r&&pu(o,{select:!0})):(e.preventDefault(),r&&pu(i,{select:!0})):n===t&&e.preventDefault()}},[r,i,m.paused]);return t.createElement($c.div,Bc({tabIndex:-1},a,{ref:h,onKeyDown:f}))});function cu(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 uu(e,t){for(const n of e)if(!du(n,{upTo:t}))return n}function du(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 pu(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 hu=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=mu(e,t),e.unshift(t)},remove(t){var n;e=mu(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function mu(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const fu=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?d.default.createPortal(t.createElement($c.div,Bc({},o,{ref:n})),i):null});const gu=e=>{const{present:n,children:r}=e,o=function(e){const[n,r]=t.useState(),o=t.useRef({}),s=t.useRef(e),a=t.useRef("none"),l=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=bu(o.current);a.current="mounted"===c?e:"none"},[c]),Oc(()=>{const t=o.current,n=s.current;if(n!==e){const r=a.current,i=bu(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")}s.current=e}},[e,u]),Oc(()=>{if(n){const e=e=>{const t=bu(o.current).includes(e.animationName);e.target===n&&t&&i.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=bu(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}(n),s="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=Mc(o.ref,s.ref);return"function"==typeof r||o.isPresent?t.cloneElement(s,{ref:a}):null};function bu(e){return(null==e?void 0:e.animationName)||"none"}gu.displayName="Presence";let vu=0;function xu(){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 yu=function(){return yu=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},yu.apply(this,arguments)};function Iu(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 Cu="right-scroll-bar-position",wu="width-before-scroll-bar";function Au(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Nu="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,Eu=new WeakMap;function ju(e,n){var r,i,o,s=(r=null,i=function(t){return e.forEach(function(e){return Au(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 Nu(function(){var t=Eu.get(s);if(t){var n=new Set(t),r=new Set(e),i=s.current;n.forEach(function(e){r.has(e)||Au(e,null)}),r.forEach(function(e){n.has(e)||Au(e,i)})}Eu.set(s,e)},[e]),s}function ku(e){return e}var Tu=function(e){var t=e.sideCar,n=Iu(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 l.createElement(r,yu({},n))};Tu.isSideCarExport=!0;var Pu=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=ku);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=yu({async:!0,ssr:!1},e),t}(),Ru=function(){},Gu=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Ru,onWheelCapture:Ru,onTouchMoveCapture:Ru}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=Iu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=h,I=ju([n,t]),C=yu(yu({},x),i);return l.createElement(l.Fragment,null,d&&l.createElement(y,{sideCar:Pu,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:o,allowPinchZoom:!!g,lockRef:n}),s?l.cloneElement(l.Children.only(a),yu(yu({},C),{ref:I})):l.createElement(v,yu({},C,{className:c,ref:I}),a))});Gu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Gu.classNames={fullWidth:wu,zeroRight:Cu};function Su(){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 Bu=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=Su())&&(!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)}}},Vu=function(){var e,t=(e=Bu(),function(t,n){l.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}},Lu={left:0,top:0,right:0,gap:0},Mu=function(e){return parseInt(e||"",10)||0},Du=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Lu;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[Mu(n),Mu(r),Mu(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])}},Ou=Vu(),Wu="data-scroll-locked",Xu=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(Wu,"] {\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(Cu," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(wu," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(Cu," .").concat(Cu," {\n right: 0 ").concat(r,";\n }\n \n .").concat(wu," .").concat(wu," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Wu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Fu=function(){var e=parseInt(document.body.getAttribute(Wu)||"0",10);return isFinite(e)?e:0},Hu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;l.useEffect(function(){return document.body.setAttribute(Wu,(Fu()+1).toString()),function(){var e=Fu()-1;e<=0?document.body.removeAttribute(Wu):document.body.setAttribute(Wu,e.toString())}},[]);var o=l.useMemo(function(){return Du(i)},[i]);return l.createElement(Ou,{styles:Xu(o,!t,i,n?"":"!important")})},zu=!1;if("undefined"!=typeof window)try{var Zu=Object.defineProperty({},"passive",{get:function(){return zu=!0,!0}});window.addEventListener("test",Zu,Zu),window.removeEventListener("test",Zu,Zu)}catch(e){zu=!1}var Yu=!!zu&&{passive:!1},Ju=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])},Uu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),_u(e,n)){var r=$u(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},_u=function(e,t){return"v"===e?function(e){return Ju(e,"overflowY")}(t):function(e){return Ju(e,"overflowX")}(t)},$u=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)},Qu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ku=function(e){return[e.deltaX,e.deltaY]},qu=function(e){return e&&"current"in e?e.current:e},ed=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},td=0,nd=[];var rd,id=(rd=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(td++)[0],o=l.useState(function(){return Vu()})[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.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(qu),!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=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,o=Qu(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=Uu(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=Uu(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var h=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=$u(e,s),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&_u(e,s)&&(u+=m,d+=h),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=l.useCallback(function(e){var n=e;if(nd.length&&nd[nd.length-1]===o){var r="deltaY"in n?Ku(n):Qu(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(qu).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=l.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=l.useCallback(function(e){n.current=Qu(e),r.current=void 0},[]),p=l.useCallback(function(t){u(t.type,Ku(t),t.target,a(t,e.lockRef.current))},[]),h=l.useCallback(function(t){u(t.type,Qu(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return nd.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Yu),document.addEventListener("touchmove",c,Yu),document.addEventListener("touchstart",d,Yu),function(){nd=nd.filter(function(e){return e!==o}),document.removeEventListener("wheel",c,Yu),document.removeEventListener("touchmove",c,Yu),document.removeEventListener("touchstart",d,Yu)}},[]);var m=e.removeScrollBar,f=e.inert;return l.createElement(l.Fragment,null,f?l.createElement(o,{styles:ed(i)}):null,m?l.createElement(Hu,{gapMode:"margin"}):null)},Pu.useMedium(rd),Tu),od=l.forwardRef(function(e,t){return l.createElement(Gu,yu({},e,{ref:t,sideCar:id}))});od.classNames=Gu.classNames;var sd=new WeakMap,ad=new WeakMap,ld={},cd=0,ud=function(e){return e&&(e.host||ud(e.parentNode))},dd=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=ud(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]);ld[n]||(ld[n]=new WeakMap);var o=ld[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=(sd.get(e)||0)+1,c=(o.get(e)||0)+1;sd.set(e,l),o.set(e,c),s.push(e),1===l&&i&&ad.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(),cd++,function(){s.forEach(function(e){var t=sd.get(e)-1,i=o.get(e)-1;sd.set(e,t),o.set(e,i),t||(ad.has(e)||e.removeAttribute(r),ad.delete(e)),i||e.removeAttribute(n)}),--cd||(sd=new WeakMap,sd=new WeakMap,ad=new WeakMap,ld={})}},pd=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"))),dd(r,i,n,"aria-hidden")):function(){return null}};const hd="Dialog",[md,fd]=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}\``)}]},Dc(i,...n)]}(hd),[gd,bd]=md(hd),vd="DialogPortal",[xd,yd]=md(vd,{forceMount:void 0}),Id="DialogOverlay",Cd=t.forwardRef((e,n)=>{const r=yd(Id,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=bd(Id,e.__scopeDialog);return s.modal?t.createElement(gu,{present:i||s.open},t.createElement(wd,Bc({},o,{ref:n}))):null}),wd=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=bd(Id,r);return t.createElement(od,{as:Zc,allowPinchZoom:!0,shards:[o.contentRef]},t.createElement($c.div,Bc({"data-state":Gd(o.open)},i,{ref:n,style:{pointerEvents:"auto",...i.style}})))}),Ad="DialogContent",Nd=t.forwardRef((e,n)=>{const r=yd(Ad,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=bd(Ad,e.__scopeDialog);return t.createElement(gu,{present:i||s.open},s.modal?t.createElement(Ed,Bc({},o,{ref:n})):t.createElement(jd,Bc({},o,{ref:n})))}),Ed=t.forwardRef((e,n)=>{const r=bd(Ad,e.__scopeDialog),i=t.useRef(null),o=Mc(n,r.contentRef,i);return t.useEffect(()=>{const e=i.current;if(e)return pd(e)},[]),t.createElement(kd,Bc({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Vc(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Vc(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Vc(e.onFocusOutside,e=>e.preventDefault())}))}),jd=t.forwardRef((e,n)=>{const r=bd(Ad,e.__scopeDialog),i=t.useRef(!1),o=t.useRef(!1);return t.createElement(kd,Bc({},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()}}))}),kd=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,...a}=e,l=bd(Ad,r),c=Mc(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:xu()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:xu()),vu++,()=>{1===vu&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),vu--}},[]),t.createElement(t.Fragment,null,t.createElement(lu,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:s},t.createElement(nu,Bc({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Gd(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),Td="DialogTitle",Pd="DialogClose",Rd=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=bd(Pd,r);return t.createElement($c.button,Bc({type:"button"},i,{ref:n,onClick:Vc(e.onClick,()=>o.onOpenChange(!1))}))});function Gd(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:Ad,titleName:Td,docsSlug:"dialog"});const Sd=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]=zc({prop:i,defaultProp:o,onChange:s});return t.createElement(gd,{scope:n,triggerRef:l,contentRef:c,contentId:Fc(),titleId:Fc(),descriptionId:Fc(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},r)},Bd=e=>{const{__scopeDialog:n,forceMount:r,children:i,container:o}=e,s=bd(vd,n);return t.createElement(xd,{scope:n,forceMount:r},t.Children.map(i,e=>t.createElement(gu,{present:r||s.open},t.createElement(fu,{asChild:!0,container:o},e))))},Vd=Cd,Ld=Nd,Md=Rd,Dd=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(Sd,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(Bd,{children:[e.jsx(Ec.div,{initial:"closed",animate:n?"open":"closed",variants:Rn,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Vd,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(Ec.div,{initial:"closed",animate:n?"open":"closed",variants:Gn,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(Ld,{className:Ne("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:Sn[i||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(Md,{asChild:!0,children:e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Rt,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[o?e.jsx(Gt,{className:Ne("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(Gt,{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]})]})]})})})})]})})},Od=({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(Wt,{className:s,onClick:()=>r(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Rt,{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(Wt,{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(Wt,{className:s,onClick:()=>r(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Rt,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Wd(e){return Wd="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},Wd(e)}function Xd(e){var t=function(e,t){if("object"!=Wd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Wd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Wd(t)?t:t+""}function Fd(e,t,n){return(t=Xd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hd(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 zd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hd(Object(n),!0).forEach(function(t){Fd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zd(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 Yd(e,t){if(e){if("string"==typeof e)return Zd(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)?Zd(e,t):void 0}}function Jd(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)||Yd(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 Ud(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 _d=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function $d(){return $d=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},$d.apply(null,arguments)}function Qd(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,Xd(r.key),r)}}function Kd(e,t){return Kd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kd(e,t)}function qd(e){return qd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qd(e)}function ep(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ep=function(){return!!e})()}function tp(e,t){if(t&&("object"==Wd(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 np(e){return function(e){if(Array.isArray(e))return Zd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Yd(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 rp=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}(),ip="-ms-",op="-moz-",sp="-webkit-",ap="comm",lp="rule",cp="decl",up="@keyframes",dp=Math.abs,pp=String.fromCharCode,hp=Object.assign;function mp(e){return e.trim()}function fp(e,t,n){return e.replace(t,n)}function gp(e,t){return e.indexOf(t)}function bp(e,t){return 0|e.charCodeAt(t)}function vp(e,t,n){return e.slice(t,n)}function xp(e){return e.length}function yp(e){return e.length}function Ip(e,t){return t.push(e),e}var Cp=1,wp=1,Ap=0,Np=0,Ep=0,jp="";function kp(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Cp,column:wp,length:s,return:""}}function Tp(e,t){return hp(kp("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pp(){return Ep=Np>0?bp(jp,--Np):0,wp--,10===Ep&&(wp=1,Cp--),Ep}function Rp(){return Ep=Np<Ap?bp(jp,Np++):0,wp++,10===Ep&&(wp=1,Cp++),Ep}function Gp(){return bp(jp,Np)}function Sp(){return Np}function Bp(e,t){return vp(jp,e,t)}function Vp(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 Lp(e){return Cp=wp=1,Ap=xp(jp=e),Np=0,[]}function Mp(e){return jp="",e}function Dp(e){return mp(Bp(Np-1,Xp(91===e?e+2:40===e?e+1:e)))}function Op(e){for(;(Ep=Gp())&&Ep<33;)Rp();return Vp(e)>2||Vp(Ep)>3?"":" "}function Wp(e,t){for(;--t&&Rp()&&!(Ep<48||Ep>102||Ep>57&&Ep<65||Ep>70&&Ep<97););return Bp(e,Sp()+(t<6&&32==Gp()&&32==Rp()))}function Xp(e){for(;Rp();)switch(Ep){case e:return Np;case 34:case 39:34!==e&&39!==e&&Xp(Ep);break;case 40:41===e&&Xp(e);break;case 92:Rp()}return Np}function Fp(e,t){for(;Rp()&&e+Ep!==57&&(e+Ep!==84||47!==Gp()););return"/*"+Bp(t,Np-1)+"*"+pp(47===e?e:Rp())}function Hp(e){for(;!Vp(Gp());)Rp();return Bp(e,Np)}function zp(e){return Mp(Zp("",null,null,null,[""],e=Lp(e),0,[0],e))}function Zp(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,p=0,h=0,m=0,f=1,g=1,b=1,v=0,x="",y=i,I=o,C=r,w=x;g;)switch(m=v,v=Rp()){case 40:if(108!=m&&58==bp(w,d-1)){-1!=gp(w+=fp(Dp(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Dp(v);break;case 9:case 10:case 13:case 32:w+=Op(m);break;case 92:w+=Wp(Sp()-1,7);continue;case 47:switch(Gp()){case 42:case 47:Ip(Jp(Fp(Rp(),Sp()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=xp(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=fp(w,/\f/g,"")),h>0&&xp(w)-d&&Ip(h>32?Up(w+";",r,n,d-1):Up(fp(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(Ip(C=Yp(w,t,n,c,u,i,a,x,y=[],I=[],d),o),123===v)if(0===u)Zp(w,t,C,C,y,o,d,a,I);else switch(99===p&&110===bp(w,3)?100:p){case 100:case 108:case 109:case 115:Zp(e,C,C,r&&Ip(Yp(e,C,C,0,0,i,a,x,i,y=[],d),I),i,I,d,a,r?y:I);break;default:Zp(w,C,C,C,[""],I,0,a,I)}}c=u=h=0,f=b=1,x=w="",d=s;break;case 58:d=1+xp(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Pp())continue;switch(w+=pp(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(xp(w)-1)*b,b=1;break;case 64:45===Gp()&&(w+=Dp(Rp())),p=Gp(),u=d=xp(x=w+=Hp(Sp())),v++;break;case 45:45===m&&2==xp(w)&&(f=0)}}return o}function Yp(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,p=0===i?o:[""],h=yp(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=vp(e,d+1,d=dp(f=s[m])),x=e;b<h;++b)(x=mp(f>0?p[b]+" "+v:fp(v,/&\f/g,p[b])))&&(l[g++]=x);return kp(e,t,n,0===i?lp:a,l,c,u)}function Jp(e,t,n){return kp(e,t,n,ap,pp(Ep),vp(e,2,-2),0)}function Up(e,t,n,r){return kp(e,t,n,cp,vp(e,0,r),vp(e,r+1,-1),r)}function _p(e,t){for(var n="",r=yp(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function $p(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case cp:return e.return=e.return||e.value;case ap:return"";case up:return e.return=e.value+"{"+_p(e.children,r)+"}";case lp:e.value=e.props.join(",")}return xp(n=_p(e.children,r))?e.return=e.value+"{"+n+"}":""}function Qp(e){var t=yp(e);return function(n,r,i,o){for(var s="",a=0;a<t;a++)s+=e[a](n,r,i,o)||"";return s}}function Kp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var qp="undefined"!=typeof document,eh=function(e,t,n){for(var r=0,i=0;r=i,i=Gp(),38===r&&12===i&&(t[n]=1),!Vp(i);)Rp();return Bp(e,Np)},th=function(e,t){return Mp(function(e,t){var n=-1,r=44;do{switch(Vp(r)){case 0:38===r&&12===Gp()&&(t[n]=1),e[n]+=eh(Np-1,t,n);break;case 2:e[n]+=Dp(r);break;case 4:if(44===r){e[++n]=58===Gp()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=pp(r)}}while(r=Rp());return e}(Lp(e),t))},nh=new WeakMap,rh=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)||nh.get(n))&&!r){nh.set(e,!0);for(var i=[],o=th(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]}}},ih=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function oh(e,t){switch(function(e,t){return 45^bp(e,0)?(((t<<2^bp(e,0))<<2^bp(e,1))<<2^bp(e,2))<<2^bp(e,3):0}(e,t)){case 5103:return sp+"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 sp+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return sp+e+op+e+ip+e+e;case 6828:case 4268:return sp+e+ip+e+e;case 6165:return sp+e+ip+"flex-"+e+e;case 5187:return sp+e+fp(e,/(\w+).+(:[^]+)/,sp+"box-$1$2"+ip+"flex-$1$2")+e;case 5443:return sp+e+ip+"flex-item-"+fp(e,/flex-|-self/,"")+e;case 4675:return sp+e+ip+"flex-line-pack"+fp(e,/align-content|flex-|-self/,"")+e;case 5548:return sp+e+ip+fp(e,"shrink","negative")+e;case 5292:return sp+e+ip+fp(e,"basis","preferred-size")+e;case 6060:return sp+"box-"+fp(e,"-grow","")+sp+e+ip+fp(e,"grow","positive")+e;case 4554:return sp+fp(e,/([^-])(transform)/g,"$1"+sp+"$2")+e;case 6187:return fp(fp(fp(e,/(zoom-|grab)/,sp+"$1"),/(image-set)/,sp+"$1"),e,"")+e;case 5495:case 3959:return fp(e,/(image-set\([^]*)/,sp+"$1$`$1");case 4968:return fp(fp(e,/(.+:)(flex-)?(.*)/,sp+"box-pack:$3"+ip+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+sp+e+e;case 4095:case 3583:case 4068:case 2532:return fp(e,/(.+)-inline(.+)/,sp+"$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(xp(e)-1-t>6)switch(bp(e,t+1)){case 109:if(45!==bp(e,t+4))break;case 102:return fp(e,/(.+:)(.+)-([^]+)/,"$1"+sp+"$2-$3$1"+op+(108==bp(e,t+3)?"$3":"$2-$3"))+e;case 115:return~gp(e,"stretch")?oh(fp(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==bp(e,t+1))break;case 6444:switch(bp(e,xp(e)-3-(~gp(e,"!important")&&10))){case 107:return fp(e,":",":"+sp)+e;case 101:return fp(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+sp+(45===bp(e,14)?"inline-":"")+"box$3$1"+sp+"$2$3$1"+ip+"$2box$3")+e}break;case 5936:switch(bp(e,t+11)){case 114:return sp+e+ip+fp(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return sp+e+ip+fp(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return sp+e+ip+fp(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return sp+e+ip+e+e}return e}var sh,ah,lh,ch=qp?void 0:(sh=function(){return Kp(function(){return{}})},ah=new WeakMap,function(e){if(ah.has(e))return ah.get(e);var t=sh(e);return ah.set(e,t),t}),uh=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case cp:e.return=oh(e.value,e.length);break;case up:return _p([Tp(e,{value:fp(e.value,"@","@"+sp)})],r);case lp: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 _p([Tp(e,{props:[fp(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return _p([Tp(e,{props:[fp(t,/:(plac\w+)/,":"+sp+"input-$1")]}),Tp(e,{props:[fp(t,/:(plac\w+)/,":-moz-$1")]}),Tp(e,{props:[fp(t,/:(plac\w+)/,ip+"input-$1")]})],r)}return""})}}],dh=function(e){var t=e.key;if(qp&&"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||uh,s={},a=[];qp&&(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=[rh,ih];if(ch){var u=[$p],d=Qp(c.concat(o,u)),p=ch(o)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=_p(zp(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=h(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var m,f=[$p,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Qp(c.concat(o,f));i=function(e,t,n,r){m=n,_p(zp(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new rp({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},ph={exports:{}},hh={};var mh,fh,gh,bh,vh={};
|
|
5
|
+
function nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var rt=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=nt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in i)i[s]&&(o+="; "+s,!0!==i[s]&&(o+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(r[a]=t.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",nt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,nt({},this.attributes,t))},withConverter:function(t){return e(nt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const it=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const ot=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,st=e=>{if(!e)return null;if(ot(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return ot(t)?t:null}return null};function at(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lt,ct={},ut={},dt={};function ht(){return lt||(lt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(dt)),dt}var pt,mt={};function ft(){return pt||(pt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(mt)),mt}var gt,bt={};function vt(){return gt||(gt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(bt)),bt}var yt,xt={};function Ct(){return yt||(yt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return h},get HEADINGS(){return p},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=ht(),n=ft(),r=vt();function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,a,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],h=(o(s={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),o(s,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),o(s,t.BLOCKS.LIST_ITEM,c),o(s,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),o(s,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),o(s,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),o(s,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),o(s,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),s),p=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return i(e)}(a=p)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(xt)),xt}var It,wt={};var At,Et={};var Nt,St={};var jt,Tt={};function kt(){return jt||(jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return a},get isEmptyParagraph(){return c},get isInline(){return s},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return h}});var t=ht(),n=ft();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o(e,t){var n=!0,r=!1,i=void 0;try{for(var o,s=Object.keys(e)[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){if(t===e[o.value])return!0}}catch(e){r=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return!1}function s(e){return o(n.INLINES,e.nodeType)}function a(e){return o(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function h(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?i(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(Tt)),Tt}var Bt,Rt,Pt={},Lt={};function Gt(){return Rt?Bt:(Rt=1,Bt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var Ot,Mt,Dt={};function Vt(){return Ot||(Ot=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return s},get maxSizeError(){return o},get minSizeError(){return i},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return a}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},i=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},o=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},s=function(e){var t=e.expected,r=e.value,i=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:i.toArray(),value:r}},a=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(Dt)),Dt}function Wt(){return Mt||(Mt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=s(Gt()),n=Vt();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(){function e(r,i){var s=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"obj",void 0),o(this,"path",void 0),o(this,"_errors",void 0),o(this,"catch",void 0),o(this,"exists",void 0),o(this,"object",void 0),o(this,"string",void 0),o(this,"number",void 0),o(this,"array",void 0),o(this,"enum",void 0),o(this,"empty",void 0),o(this,"minLength",void 0),o(this,"noAdditionalProperties",void 0),o(this,"each",void 0),this.obj=r,this.path=i,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,a(t))},this.exists=function(e){return e in s.obj||(s.catch((0,n.requiredPropertyError)({property:e,path:s.path.of(e)})),!1)},this.object=function(e){var r=e?s.obj[e]:s.obj;if(e&&!s.exists(e))return!1;if((0,t.default)(r))return!0;var i,o=e?s.path.of(e):s.path,a=null!==(i=null!=e?e:s.path.last())&&void 0!==i?i:"value";return s.catch((0,n.typeMismatchError)({typeName:"Object",property:a,path:o,value:r})),!1},this.string=function(e){var t=s.obj[e];return!(e&&!s.exists(e))&&("string"==typeof t||(s.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:s.path.of(e),value:t})),!1))},this.number=function(e,t){var r=s.obj[e];return!(!t||e in s.obj)||!!s.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(s.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:s.path.of(e),value:r})),!1))},this.array=function(e){var t=s.obj[e];return!(e&&!s.exists(e))&&(!!Array.isArray(t)||(s.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:s.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=s.obj[e];return!("string"!=typeof r||!t.includes(r))||(s.catch((0,n.enumError)({expected:t,value:r,path:s.path.of(e)})),!1)},this.empty=function(e){if(!s.array(e))return!1;var t=s.obj[e];return 0===t.length||(s.catch((0,n.maxSizeError)({max:0,value:t,path:s.path.of(e)})),!1)},this.minLength=function(e,t){if(!s.array(e))return!1;var r=s.obj[e];return r.length>=t||(s.catch((0,n.minSizeError)({min:t,value:r,path:s.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(s.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return s.catch((0,n.unknownPropertyError)({property:e,path:s.path.of(e)}))}),0===t.length},this.each=function(e,t){if(s.array(e)){var n=s.obj[e],r=!1;n.forEach(function(n,i){if(!r){var o=t(n,s.path.of(e).of(i));o.length>0&&(r=!0),s.catch.apply(s,a(o))}})}}}return i(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(Lt)),Lt}var Ht,Xt={};function Ft(){return Ht||(Ht=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return f},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return p},get assert(){return b},get assertLink(){return v}});var t=Wt();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,h()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}var p=[],m=function(){function e(t,n){o(this,e),a(this,"contentRule",void 0),a(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return s(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var i=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),o=i.nodeTypes,s=i.min,a=void 0===s?0:s;if(0===o.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(r.minLength("content",a),0===o.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var l,c,u,h=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(h))}return r.errors}}]),e}(),f=function(e){function n(e,s){var l;return o(this,n),l=i(this,n,[s,function(e,t){return r(l).assertLink(e,t)}]),a(l,"linkType",void 0),a(l,"type",void 0),a(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var i,o=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));o.object()&&(o.enum("type",[l.type]),o.enum("linkType",[l.linkType]),"Link"===l.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=r).catch.apply(i,d(o.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(m),g=function(e){function n(){var e;return o(this,n),e=i(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),a(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(m),b=function(e,t){return new m(e,t)},v=function(e,t){return new f(e,t)}}(Xt)),Xt}var zt,Zt={};function Yt(){return zt||(zt=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(Zt)),Zt}var _t,Jt,Ut,$t,Kt={};function Qt(){return Jt||(Jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=ht(),n=ft(),r=Ct(),i=Wt(),o=Ft(),s=Yt(),a=(_t||(_t=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=Wt();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(Kt)),Kt);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d,h=(0,o.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),p=(0,o.assert)([t.BLOCKS.LIST_ITEM]),m=(0,o.assertLink)("Entry",o.VOID_CONTENT),f=(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new i.ObjectAssertion(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),g=(c(d={},t.BLOCKS.DOCUMENT,(0,o.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,h),c(d,t.BLOCKS.HEADING_1,h),c(d,t.BLOCKS.HEADING_2,h),c(d,t.BLOCKS.HEADING_3,h),c(d,t.BLOCKS.HEADING_4,h),c(d,t.BLOCKS.HEADING_5,h),c(d,t.BLOCKS.HEADING_6,h),c(d,t.BLOCKS.QUOTE,(0,o.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,m),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,o.assertLink)("Asset",o.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,o.assert)(o.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,p),c(d,t.BLOCKS.UL_LIST,p),c(d,t.BLOCKS.LIST_ITEM,(0,o.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,f),c(d,t.BLOCKS.TABLE_HEADER_CELL,f),c(d,n.INLINES.HYPERLINK,new o.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,m),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,o.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,o.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,o.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,a.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new i.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var v=function(e){var n=new s.Path,r=new i.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(Pt)),Pt}function qt(){return Ut||(Ut=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return i.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return o},get validateRichTextDocument(){return s.validateRichTextDocument}});var t=ht(),n=ft(),r=vt();a(Ct(),e),a((It||(It=1,Object.defineProperty(wt,"__esModule",{value:!0})),wt),e),a((At||(At=1,Object.defineProperty(Et,"__esModule",{value:!0})),Et),e);var i=(Nt||(Nt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=ht(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(St)),St),o=c(kt()),s=Qt();function a(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}}(ut)),ut}var en=function(){if($t)return ct;$t=1;var e=l.default,t=qt();function n(t,n){return t.map((t,i)=>{return o=r(t,n),s=i,e.isValidElement(o)&&null===o.key?e.cloneElement(o,{key:s}):o;var o,s})}function r(r,i){const{renderNode:o,renderMark:s,renderText:a,preserveWhitespace:l}=i;if(t.helpers.isText(r)){let t=a?a(r.value):r.value;if(l&&!a){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,i)=>{r.push(t),i!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>s[t.type]?s[t.type](e):e,t)}{const t=n(r.content,i);return r.nodeType&&o[r.nodeType]?o[r.nodeType](r,t):e.createElement(e.Fragment,null,t)}}const i={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[t.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[t.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[t.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[t.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[t.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[t.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[t.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[t.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[t.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[t.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[t.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[t.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[t.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[t.INLINES.ASSET_HYPERLINK]:e=>s(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>s(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>a(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>s(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>a(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},o={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function a(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}return ct.documentToReactComponents=function(e,n={}){if(!e)return null;let s=e;return n.stripEmptyTrailingParagraph&&(s=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(s,{renderNode:{...i,...n.renderNode},renderMark:{...o,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})},ct}(),tn=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),nn=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),rn=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function on(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var an,ln=[tn.PARAGRAPH,tn.HEADING_1,tn.HEADING_2,tn.HEADING_3,tn.HEADING_4,tn.HEADING_5,tn.HEADING_6,tn.OL_LIST,tn.UL_LIST,tn.HR,tn.QUOTE,tn.EMBEDDED_ENTRY,tn.EMBEDDED_ASSET,tn.EMBEDDED_RESOURCE,tn.TABLE],cn=[tn.PARAGRAPH,tn.HEADING_1,tn.HEADING_2,tn.HEADING_3,tn.HEADING_4,tn.HEADING_5,tn.HEADING_6,tn.OL_LIST,tn.UL_LIST,tn.HR,tn.QUOTE,tn.EMBEDDED_ENTRY,tn.EMBEDDED_ASSET,tn.EMBEDDED_RESOURCE];tn.TABLE,tn.TABLE_ROW,tn.TABLE_CELL,tn.TABLE_HEADER_CELL,tn.HR,tn.EMBEDDED_ENTRY,tn.EMBEDDED_ASSET,tn.EMBEDDED_RESOURCE;var un,dn=(sn(an={},tn.OL_LIST,[tn.LIST_ITEM]),sn(an,tn.UL_LIST,[tn.LIST_ITEM]),sn(an,tn.LIST_ITEM,cn),sn(an,tn.QUOTE,[tn.PARAGRAPH]),sn(an,tn.TABLE,[tn.TABLE_ROW]),sn(an,tn.TABLE_ROW,[tn.TABLE_CELL,tn.TABLE_HEADER_CELL]),sn(an,tn.TABLE_CELL,[tn.PARAGRAPH,tn.UL_LIST,tn.OL_LIST]),sn(an,tn.TABLE_HEADER_CELL,[tn.PARAGRAPH]),an),hn=[tn.HEADING_1,tn.HEADING_2,tn.HEADING_3,tn.HEADING_4,tn.HEADING_5,tn.HEADING_6];[tn.PARAGRAPH].concat(function(e){if(Array.isArray(e))return on(e)}(un=hn)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(un)||function(e,t){if(e){if("string"==typeof e)return on(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?on(e,t):void 0}}(un)||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.")}()),tn.DOCUMENT,tn.PARAGRAPH,tn.HEADING_1,tn.HEADING_2,tn.HEADING_3,tn.HEADING_4,tn.HEADING_5,tn.HEADING_6,tn.OL_LIST,tn.UL_LIST,tn.LIST_ITEM,tn.HR,tn.QUOTE,tn.EMBEDDED_ENTRY,tn.EMBEDDED_ASSET,nn.HYPERLINK,nn.ENTRY_HYPERLINK,nn.ASSET_HYPERLINK,nn.EMBEDDED_ENTRY,tn.DOCUMENT,tn.PARAGRAPH;var pn=at(Gt());function mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fn(e){return function(e){if(Array.isArray(e))return mn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var gn=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}};function bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xn(e){return function(e){if(Array.isArray(e))return bn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return bn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Cn=function(){function e(t,n){var r=this,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),yn(this,"obj",void 0),yn(this,"path",void 0),yn(this,"_errors",void 0),yn(this,"catch",void 0),yn(this,"exists",void 0),yn(this,"object",void 0),yn(this,"string",void 0),yn(this,"number",void 0),yn(this,"array",void 0),yn(this,"enum",void 0),yn(this,"empty",void 0),yn(this,"minLength",void 0),yn(this,"noAdditionalProperties",void 0),yn(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=i._errors).push.apply(r,xn(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(pn(t))return!0;var n,i=e?r.path.of(e):r.path,o=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(gn({typeName:"Object",property:o,path:i,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(gn({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))},this.number=function(e,t){var n=r.obj[e];return!(!t||e in r.obj)||!!r.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(r.catch(gn({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))},this.array=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&(!!Array.isArray(t)||(r.catch(gn({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=r.obj[e];return!("string"!=typeof n||!t.includes(n))||(r.catch(function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:fn(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],i=!1;n.forEach(function(n,o){if(!i){var s=t(n,r.path.of(e).of(o));s.length>0&&(i=!0),r.catch.apply(r,xn(s))}})}}}return vn(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function In(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(e,t,n){return t=jn(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return wn(e)}(e,Rn()?Reflect.construct(t,n||[],jn(e).constructor):t.apply(e,n))}function En(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},jn(e)}function Tn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kn(e,t)}function kn(e,t){return kn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kn(e,t)}function Bn(e){return function(e){if(Array.isArray(e))return In(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return In(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return In(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rn=function(){return!!e})()}var Pn=[],Ln=function(){function e(t,n){En(this,e),Sn(this,"contentRule",void 0),Sn(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return Nn(e,[{key:"assert",value:function(e,t){var n=new Cn(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=r.nodeTypes,o=r.min,s=void 0===o?0:o;if(0===i.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(n.minLength("content",s),0===i.length?n.empty("content"):n.each("content",function(e,t){var n=new Cn(e,t);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var a,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(a=n).catch.apply(a,Bn(u))}return n.errors}}]),e}(),Gn=function(e){function t(e,n){var r;return En(this,t),r=An(this,t,[n,function(e,t){return wn(r).assertLink(e,t)}]),Sn(r,"linkType",void 0),Sn(r,"type",void 0),Sn(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new Cn(e,t);if(n.object("target")){var i,o=new Cn(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[r.type]),o.enum("linkType",[r.linkType]),"Link"===r.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=n).catch.apply(i,Bn(o.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Tn(t,e),t}(Ln),On=function(e){function t(){var e;return En(this,t),e=An(this,t,[["text"],function(t,n){return wn(e).assertLink(t,n)}]),Sn(e,"assertLink",function(e,t){var n=new Cn(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Tn(t,e),t}(Ln),Mn=function(e,t){return new Ln(e,t)},Dn=function(e,t){return new Gn(e,t)};function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e){return function(e){if(Array.isArray(e))return Vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Xn,Fn=Mn(Hn(Object.values(nn)).concat(["text"]).sort()),zn=Mn([tn.LIST_ITEM]),Zn=Dn("Entry",Pn),Yn=Mn(function(){return{nodeTypes:[tn.PARAGRAPH],min:1}},function(e,t){var n=new Cn(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Wn(Xn={},tn.DOCUMENT,Mn(ln)),Wn(Xn,tn.PARAGRAPH,Fn),Wn(Xn,tn.HEADING_1,Fn),Wn(Xn,tn.HEADING_2,Fn),Wn(Xn,tn.HEADING_3,Fn),Wn(Xn,tn.HEADING_4,Fn),Wn(Xn,tn.HEADING_5,Fn),Wn(Xn,tn.HEADING_6,Fn),Wn(Xn,tn.QUOTE,Mn(dn[tn.QUOTE])),Wn(Xn,tn.EMBEDDED_ENTRY,Zn),Wn(Xn,tn.EMBEDDED_ASSET,Dn("Asset",Pn)),Wn(Xn,tn.EMBEDDED_RESOURCE,Dn("Contentful:Entry",Pn)),Wn(Xn,tn.HR,Mn(Pn)),Wn(Xn,tn.OL_LIST,zn),Wn(Xn,tn.UL_LIST,zn),Wn(Xn,tn.LIST_ITEM,Mn(Hn(cn).sort())),Wn(Xn,tn.TABLE,Mn(function(){return{nodeTypes:[tn.TABLE_ROW],min:1}})),Wn(Xn,tn.TABLE_ROW,Mn(function(){return{nodeTypes:[tn.TABLE_CELL,tn.TABLE_HEADER_CELL],min:1}})),Wn(Xn,tn.TABLE_CELL,Yn),Wn(Xn,tn.TABLE_HEADER_CELL,Yn),Wn(Xn,nn.HYPERLINK,new On),Wn(Xn,nn.EMBEDDED_ENTRY,Zn),Wn(Xn,nn.EMBEDDED_RESOURCE,Dn("Contentful:Entry",Pn)),Wn(Xn,nn.ENTRY_HYPERLINK,Dn("Entry",["text"])),Wn(Xn,nn.ASSET_HYPERLINK,Dn("Asset",["text"])),Wn(Xn,nn.RESOURCE_HYPERLINK,Dn("Contentful:Entry",["text"]));const _n={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Jn=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:i,...o},s)=>{const a=Ee("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})});Jn.displayName="ListItem";const Un=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=Ee(u,`list--${t}`,`list--${s}`,r),h=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e.jsx(Jn,{className:t.className,variant:s,children:t.content},t.id||n)):null),p={className:d,style:a,...l,children:h};return"ol"===t?e.jsx("ol",{...p,ref:c}):e.jsx("ul",{...p,ref:c})});Un.displayName="List";const $n=({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 h={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:h,className:Ee("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};$n.displayName="MaterialIcon";const Kn=t.forwardRef(({children:e,as:t,className:n="",style:r,...i},o)=>{const s=t||"p";return l.default.createElement(s,{ref:o,className:n,style:r,...i},e)});Kn.displayName="Text";const Qn=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(Un,{className:Ee("mt-2 space-y-1",o),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Jn,{variant:u?"unstyled":"default",className:Ee(`${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($n,{name:r,size:s,color:_n[l],weight:"600",className:Ee("block","top"===a?"mt-1":"",c)})}),e.jsx(Kn,{as:"div",children:t})]},n))}):null};var qn;Qn.displayName="Checklist";const er="function"==typeof c.default?c.default:null!==(qn=c.default.default)&&void 0!==qn?qn:c.default,tr=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(" ")})(),h=e=>{l?e.preventDefault():null==i||i(e)},p=Ee(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:p,style:s,href:l?void 0:n,onClick:h,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...m,children:t}):e.jsx(er,{href:n||"#",className:p,onClick:h,...c,children:t})});tr.displayName="Link";const nr={renderMark:{[rn.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[rn.ITALIC]:t=>e.jsx("em",{children:t}),[rn.UNDERLINE]:t=>e.jsx("u",{children:t}),[rn.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[tn.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[tn.HEADING_1]:(t,n)=>e.jsx(Kn,{as:"h1",className:"heading2 md:heading1",children:n}),[tn.HEADING_2]:(t,n)=>e.jsx(Kn,{as:"h2",className:"heading6 md:heading5",children:n}),[tn.HEADING_3]:(t,n)=>e.jsx(Kn,{as:"h3",className:"heading6 md:heading5",children:n}),[tn.HEADING_4]:(t,n)=>e.jsx(Kn,{as:"h3",className:"headingClass",children:n}),[tn.HEADING_5]:(t,n)=>e.jsx(Kn,{as:"h3",className:"heading6 md:heading5",children:n}),[tn.HEADING_6]:(t,n)=>e.jsx(Kn,{as:"h3",className:"heading6",children:n}),[tn.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[tn.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[tn.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[tn.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[nn.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})},[tn.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%"}})},[tn.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},[nn.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 rr(t,n,r="body1",i="body1 font-bold",o){if(!t||!Array.isArray(t.content))return null;const s={...nr,...o,renderNode:{...nr.renderNode,...null==o?void 0:o.renderNode,[tn.PARAGRAPH]:(t,n)=>e.jsx("div",{className:r,children:n}),[nn.HYPERLINK]:(t,r)=>{var o;const s=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,a=/^https?:\/\//.test(s),l=null!=n?n:a;return e.jsx(tr,{href:s,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:i,children:r})}}};return en.documentToReactComponents(t,s)}const ir={renderMark:{[rn.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const or=t.forwardRef(({children:t,className:n="",style:r,disabled:i,...o},s)=>e.jsx("button",{ref:s,className:Ee(n),style:r,disabled:i,...o,children:t}));or.displayName="Button";const sr=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})})};sr.displayName="Collapse";const ar=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:h=!1}=n,[p,m]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;m(e)}else m(Boolean(i))},[d,i]),e.jsxs("div",{className:Ee(h?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(or,{type:"button",className:Ee(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>m(e=>!e),children:[e.jsx("span",{className:Ee("label5 flex-1",a),children:r}),e.jsx($n,{className:Ee("flex-shrink-0",u),name:p?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(sr,{open:p,children:e.jsx("div",{className:Ee("px-4 py-4",l),children:o})})]})};ar.displayName="Accordion";const lr=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ee("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};lr.displayName="Divider";const cr=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()},ur=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 h=(()=>{const e=Ee((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=Ee((o||n)&&"cursor-not-allowed",n&&"pl-7");return Ee(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 p=`button--${t}`;n&&(p+=" button--loading"),o&&(p+=" button--disabled");const m=`${p} ${h}`,f=e.jsxs(e.Fragment,{children:[n?e.jsx($n,{name:"progress_activity",className:"animate-spin"}):null,i?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ee(cr(l)),children:i}),r]}):r]});return"a"===c?e.jsx("a",{ref:d,className:Ee(m),...u,children:f}):e.jsx("button",{ref:d,className:Ee(m),disabled:o||n,...u,children:f})});ur.displayName="BrandButton";const dr=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:h,renderCheckPlans:p,buttonClassName:m,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:y,iconFill:x=0,size:C,iconSize:I=24,preserveQueryParameters:w,...A}=t;if("check availability"===h){return null==p?void 0:p({ctaText:i,buttonVariant:r,showButtonAs:n,cta:{...t}})}function E(){"modal"===f&&(null==b||b(g))}function N(e){E(),null==v||v(e)}function S(e){E(),null==v||v(e)}const j="undefined"!=typeof window?window.location.search:"",T=s&&w&&j?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(it),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,j):s;let k=e.jsx(or,{onClick:S,className:m,...A});switch(n){case"solid":k=T?e.jsx(ur,{as:"a",href:T,id:l,variant:r,text:i,label:o,fullWidth:d,buttonClassName:m,size:C,onClick:N}):e.jsx(ur,{id:l,variant:r,text:i,label:o,fullWidth:d,size:C,onClick:S,buttonClassName:m});break;case"text":k=e.jsxs(tr,{title:i,href:T,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:N,children:[i," ",y&&e.jsx($n,{name:y,size:I,fill:x})]})}return k};var hr;const pr=null!==(hr=c.default)&&void 0!==hr?hr:c,mr=({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:h})=>{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":h,children:[e.jsx(pr,{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(pr,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),r&&e.jsx(Kn,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),e.jsxs(pr,{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(Kn,{"aria-label":`${l} about ${n||"this article"}`,className:"label1 text-nowrap",children:l}),e.jsx($n,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},fr=(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})(u.default),gr=({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()},br=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:gr,unoptimized:!1}:{unoptimized:a};return e.jsx(fr,{ref:r,className:Ee(t),...n,...l})});br.displayName="NextImage";const vr={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},yr=({card:t,lgWidth:n,mdWidth:r})=>{var i,o,s,a;const{image:l,title:c,header:u,body:d,cta:h,ctaAlignment:p,imageLink:m,imageClassName:f,className:g,isPromoBarImg:b=!1,shadow:v=!1}=t,y=p?vr[p]:vr.left,x=m?"cursor-pointer":"",C=m?()=>{"undefined"!=typeof window&&window.open(m,"_blank")}:void 0;return b?(null==l?void 0:l.href)?e.jsx(br,{src:l.href,alt:null!==(o=null!==(i=l.title)&&void 0!==i?i:c)&&void 0!==o?o:"promo-bar-image",width:148,height:40,onClick:C,className:x}):null:e.jsxs("section",{"aria-labelledby":"Image Card",className:Ee("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",r,n,g),children:[(null==l?void 0:l.href)?e.jsx("div",{className:Ee("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",f),children:e.jsx(br,{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:Ee("h-full max-h-[285px] w-full object-cover",x)})}):null,u?e.jsx(Kn,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:u}):null,d?e.jsx(Kn,{as:"div",className:"body2 mb-0 flex-1 text-text",children:d}):null,e.jsx("div",{className:Ee(y,"mt-auto"),children:h?e.jsx(dr,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...h,iconName:"expand_circle_right",iconFill:1}):null})]})},xr=({card:t,lgWidth:n,mdWidth:r})=>{const{anchorId:i="FullImageCard",title:o,description:s,caption:a,image:l,cta:c,link:u,className:d,contentClassName:h,imageClassName:p,shadow:m=!0}=t,f=c||u,g=null==f?void 0:f.href,b=o?e.jsx(Kn,{as:"h3",className:"body1 text-text xl:heading6",children:o}):null;return e.jsxs("section",{id:i,className:Ee("callout-card relative flex flex-col rounded-3xl bg-white p-0",m&&"shadow-card",r,n,"w-full",d),"aria-labelledby":`card-title-${i}`,children:[(null==l?void 0:l.href)?e.jsx("div",{className:Ee("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 r=e.jsx(br,{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(tr,{href:g,tabIndex:-1,target:null==f?void 0:f.target,children:r}):r})()}):null,e.jsxs("div",{className:Ee("flex h-full flex-col gap-4 p-6 md:p-8",h),children:[e.jsxs("div",{className:"flex flex-1 flex-col justify-between",children:[e.jsxs("div",{children:[g&&b?e.jsx(tr,{href:g,target:null==f?void 0:f.target,className:"no-underline hover:underline",children:b}):b,s?e.jsx(Kn,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),a?e.jsx(Kn,{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(dr,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...c,iconName:"expand_circle_right",iconFill:1})}):null]})]})},Cr={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ir={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},wr={left:"justify-start",right:"justify-end",center:"justify-center"},Ar=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Er=({card:t,lgWidth:n,mdWidth:r,className:i,contentClassName:o,style:s})=>{var a,l,c,u,d,h,p,m,f,g,b,v,y,x,C,I,w;const A=null===(a=t.imageView)||void 0===a?void 0:a.toLowerCase(),E="full"===A,N="margin"===A,S="standard"===A,j="icon"===A||"inset"===A||!A&&!!t.image,T=S||j,k=(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&&Ir[t.ctaAlignment]||Ir.left,R=t.ctaAlignmentBottom&&wr[t.ctaAlignmentBottom]||wr.left,P=null===(u=t.pinwheelColor)||void 0===u?void 0:u.split("-")[1],L=T&&t.applyCardBackgroundColor,G={...s,...L&&t.backgroundColor?{"--scc-bg":t.backgroundColor}:{},...L&&t.textColor?{"--scc-fg":t.textColor}:{},...L&&t.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...L&&t.showBackgroundImage&&P?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ne(P))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},O=n=>{var r,i;return t.image?e.jsx("div",{className:Ee("relative aspect-video overflow-hidden",n?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e.jsx(br,{src:t.image,alt:null!==(i=null!==(r=t.imageAlt)&&void 0!==r?r:t.title)&&void 0!==i?i:"card-image",width:t.imageWidth||400,height:t.imageHeight||280,className:Ee("w-full",!n&&"rounded-t-3xl")})}):null},M=L&&t.textColor?{color:t.textColor}:void 0,D=t.title?e.jsx(Kn,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:M,children:t.title}):null,V=(null===(d=t.cta)||void 0===d?void 0:d.href)&&D?e.jsx(tr,{href:t.cta.href,target:t.cta.target,className:"no-underline hover:underline",style:M,children:D}):D,W=(null!==(p=null===(h=t.workingHours)||void 0===h?void 0:h.length)&&void 0!==p?p:0)>0||(null!==(f=null===(m=t.phoneNumber)||void 0===m?void 0:m.length)&&void 0!==f?f:0)>0;return e.jsxs("section",{className:Ee("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",t.shadow&&"shadow-card",t.image&&!E&&!t.showBackgroundImage&&"pt-1",!t.applyCardBackgroundColor&&(null!==(b=Cr[null!==(g=t.backgroundColor)&&void 0!==g?g:""])&&void 0!==b?b:""),r,n,i),style:G,"aria-labelledby":t.title?`callout-${t.title}`:void 0,children:[(null===(v=t.ctaBottom)||void 0===v?void 0:v.title)&&(null===(y=t.ctaBottom)||void 0===y?void 0:y.href)?e.jsx("div",{className:Ee("top-link m-6 flex items-center lg:m-8",R),children:e.jsxs(tr,{href:t.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e.jsx($n,{name:"location_on",fill:1,size:24}),e.jsx("span",{children:t.ctaBottom.title})]})}):null,t.image&&E?O(!1):null,t.image&&N?O(!0):null,e.jsxs("div",{className:Ee("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:Ee("flex flex-col",t.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e.jsx("div",{className:Ee(t.imageToRichTextAlignment&&"flex-shrink-0"),children:!t.image||E||N?null:(()=>{var n,r;if(!t.image)return null;const i=S&&t.imageWidth||60,o=S&&t.imageHeight||60;return e.jsx("div",{className:Ee("relative mb-8 flex",t.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:k},children:e.jsx(br,{src:t.image,alt:null!==(r=null!==(n=t.imageAlt)&&void 0!==n?n:t.title)&&void 0!==r?r:"card-icon",width:i,height:o,className:Ee("object-contain",t.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),e.jsxs("div",{className:"flex flex-col gap-3 md:gap-4",children:[V,t.titleLocation?e.jsx("div",{className:"mb-1 lg:mb-2",children:e.jsx(Kn,{as:"h4",className:"label1 font-bold text-text",children:t.titleLocation})}):null,W?e.jsx("div",{className:"mb-2",children:e.jsx("table",{children:e.jsxs("tbody",{children:[null===(x=t.workingHours)||void 0===x?void 0:x.map((t,n)=>{const[r,i]=(null!=t?t:"").split("|");return e.jsxs("tr",{children:[e.jsx("td",{className:"py-2 pr-3",children:e.jsx(Kn,{className:"label2 text-text",children:r})}),e.jsx("td",{className:"py-2 pl-3",children:e.jsx(Kn,{className:"body2 font-bold text-text",children:i})})]},`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($n,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e.jsx("td",{className:"py-1 pl-3",children:e.jsx(tr,{href:Ar(t),className:"text-inherit no-underline",children:e.jsx(Kn,{className:"body2 font-bold text-text",children:t})})})]},`ph-${n}`))]})})}):null,t.body?e.jsx(Kn,{as:"div",className:"body1 text-text",style:M,children:t.body}):null,t.richText?e.jsx(Kn,{as:"div",className:"body1 text-text",style:M,children:t.richText}):null]})]})}),t.cta?e.jsx("div",{className:Ee("mt-2",B),children:e.jsx(dr,{linkVariant:"unstyled",linkClassName:Ee("label1 flex items-center gap-2 text-text",L&&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]})]})},Nr={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]"},Sr={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},jr={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},Tr=e=>Math.max(1,Math.min(6,e)),kr=t.forwardRef(({as:t,className:n="",...r},i)=>{const o=Ee(n);if(t){const n=t;return e.jsx(n,{ref:i,className:o,...r})}return e.jsx("img",{ref:i,className:o,...r})});kr.displayName="Image";const Br=({onSelect:n,speed:r,isSelected:i=!1,renderCheckPlans:o,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,h]=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 ${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"} `,m=null==o?void 0:o({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{h(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(or,{onClick:()=>{h(!0),n()},className:Ee(p,"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($n,{className:Ee(a,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),m]})},Rr=({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:h="Business Ready Internet features",features:p=[],isExpanded:m,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:y,ismaxSpeed:x})=>{const[C,I]=t.useState(!1),w=void 0!==m?m:C,A="dark"===d;return e.jsxs("article",{className:Ee("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:Ee("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",A?"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(Kn,{as:"h3",className:Ee("subheading2",A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(Kn,{as:"p",className:"label3 text-wrap "+(A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(Kn,{as:"span",className:Ee("label2 mr-1 mt-[2px]",A?"text-text-inverse":"text-text"),children:"$"}),e.jsx(Kn,{as:"span",className:Ee("subheading6",A?"text-text-inverse":"text-text"),children:o.split(".")[0]}),e.jsxs(Kn,{as:"span",className:Ee("label2",A?"text-text-inverse":"text-text"),children:[o.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(Kn,{className:Ee("body2",A?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Ee("flex-col items-center rounded-surface-sm p-2",A?"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(kr,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(Kn,{as:"div",className:Ee("body3",A?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(Br,{onSelect:g,speed:i,isSelected:A,renderCheckPlans:b,cta:v,iconSize:40,techType:y,isMax:x}),p.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(or,{onClick:()=>{f?f():I(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(Kn,{as:"h4",className:Ee("label3",A?"text-text-inverse":"text-text"),children:h}),e.jsx($n,{name:"keyboard_arrow_down",fill:1,size:24,className:Ee("transition-transform duration-300",w&&"rotate-180",A?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ee("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(Qn,{items:p,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:A?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(A?"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(kr,{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(Kn,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},Pr=({title:t,quote:n,rating:r,author:i,role:o,avatarUrl:s,isActive:a=!1,className:l})=>e.jsxs("figure",{className:p("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(Kn,{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($n,{size:24,name:"star",fill:1,className:p("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(u.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(Kn,{as:"p",className:"body3 text-text",children:o})]})]})]});function Lr({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,h]=t.useState({}),[p,m]=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&&m(e=>(e-1+f.length)%f.length)},[g,f.length]),y=t.useCallback(()=>{g&&m(e=>(e+1)%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 x=(t,n,i=!1)=>{var o,s,a,l,p,m,f,g;const v=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),y=(null==v?void 0:v[0])||"",x=(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)||[],A=(null==t?void 0:t.highlighted)||!1,E=(null===(m=null===(p=null==t?void 0:t.giftRewards)||void 0===p?void 0:p.list)||void 0===m?void 0:m.items)||[],N={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},S=i?d[n]||!1:c;return e.jsx("div",{ref:i?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Ee(i?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e.jsx(Rr,{planName:y,planSubtext:x,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:E,innerBadge:N,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:S,onToggleExpand:()=>{i?h(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)},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)=>x(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(or,{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($n,{name:"arrow_back",size:24})}),e.jsx(or,{onClick:y,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($n,{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)=>x(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:f.map((e,t)=>x(e,t))})}const Gr=l.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,h=1===Math.abs(u),p=u*c+o/l*100,m=!a||(s?d||h:d);return e.jsx("div",{className:Ee("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${p}%)`},children:e.jsx(Pr,{...t,isActive:d,className:"h-full"})})});Gr.displayName="TestimonialCarouselSlide";const Or=({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),[h,p]=t.useState(!1),[m,f]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),y=t.useRef(0),x=t.useRef(null),C={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;f((null===(e=x.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]),A=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),E=t.useCallback(e=>{y.current=e.touches[0].clientX,p(!0),v.current&&clearInterval(v.current)},[]),N=t.useCallback(e=>{if(!h)return;const t=e.touches[0].clientX-y.current;d(t)},[h]),S=t.useCallback(()=>{p(!1);const e=m*i;u>e?w():u<-e&&I(),d(0),a&&s>0&&(v.current=setInterval(()=>{I()},s))},[u,m,i,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:h,isMobile:g,containerWidth:m,containerRef:x,nextSlide:I,prevSlide:w,goToSlide:A,handleTouchStart:E,handleTouchMove:N,handleTouchEnd:S,constants:C}}({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(or,{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($n,{name:"arrow_back",size:24})}),e.jsx(or,{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($n,{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(Gr,{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:Ee("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))})]})},Mr=({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:Ee("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:Ee("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))]})})},Dr=({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($n,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Vr=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:Ee("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 Wr=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:Ee("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"})})},Hr=({link:n,anchorName:r,linkColorClassName:i})=>{const[o,s]=l.default.useState(!1),a=l.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)}))})(a,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(dr,{...n,linkClassName:Ee("body3 flex items-center h-full",i||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:u,items:d}=n,h=Array.isArray(null==d?void 0:d.items)?d.items:[],p=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:p},ref:a,children:[e.jsxs(dr,{onClick:()=>s(e=>!e),"aria-expanded":o,buttonClassName:Ee("group body3 flex h-full items-center",i||"text-text"),showButtonAs:"unstyled",children:[e.jsx(Kn,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e.jsx($n,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e.jsx("div",{className:Ee("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&h.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:p,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"))&&s(!1)},children:h.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(dr,{...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}`))})})]})},Xr=({link:t})=>{const[n,r]=l.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(dr,{...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(dr,{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($n,{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(Fr,{items:a})]})},Fr=({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(dr,{...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}`),zr=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:i="md",children:o,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(tr,{...c,className:Ee("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:Ee("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($n,{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:Ee("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]})};zr.displayName="CallButton";const Zr=t.forwardRef((n,r)=>{const{className:i,size:o,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:h=!0,suffixIconFill:p=!1,prefixIconSize:m=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:y,hasError:x,type:C,...I}=n,w=x?"error":c,[A,E]=t.useState(!1),[N,S]=t.useState(!1),[j,T]=t.useState(C||"text"),k=t.useCallback(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ee("inline-block pb-1"),children:e.jsxs(Kn,{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:Ee("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,(A||"hover"===w)&&!N&&"error"!==w&&"border-input-border-hover",(N||"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:m,height:m,overflow:"hidden"},children:e.jsx($n,{name:d,fill:h?1:0,size:m,className:Ee(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:y||I.disabled,className:Ee("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:j,...I,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=I.onFocus)||void 0===t||t.call(I,e),S(!0)},onBlur:e=>{var t;null===(t=I.onBlur)||void 0===t||t.call(I,e),S(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:k,children:e.jsx($n,{name:"text"===j?"visibility":"visibility_off",size:g,fill:p?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(Kn,{className:Ee("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx($n,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Zr.displayName="Input";const Yr=t=>{var n;const{primaryNavigationLinks:r,utilityNavigationLinks:i,supportNavigationLinks:o,accountNavigationLinks:s,showCallButton:a,displayCallNowCta:c,displaySearchBar:u}=t,[d,h]=l.default.useState(!1);l.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=d?"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)}},[d]);const p=()=>{h(!1)};return e.jsxs("div",{children:[e.jsx(dr,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>h(!0),children:e.jsx($n,{name:"menu"})}),d?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:Ee("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",d?"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:Ee("flex items-center px-4",!1!==a||!1!==c?"justify-between":"justify-end"),children:[!1!==a||!1!==c?e.jsx("div",{children:e.jsx(zr,{className:"border-none",href:t.invocaPhoneNumberLink,onClick:t.onCallClickMobile,children:t.invocaPhoneNumberDisplayText})}):null,e.jsx("div",{children:e.jsx(dr,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:p,children:e.jsx($n,{name:"close"})})})]}),!1!==u?e.jsx(_r,{closeMenu:p,isMenuOpen:d,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}):null,e.jsxs("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&p()},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(Xr,{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(dr,{...Object.fromEntries(Object.entries(n).filter(([e,t])=>null!==t)),linkClassName:Ee("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}`))})]})]})})]})},_r=t=>{const{closeMenu:n,onSearch:r,isMenuOpen:i,searchBarIconURL:o}=t,[s,a]=l.default.useState(""),c=l.default.useRef(null),u=e=>{n(),e.preventDefault(),r(s)};return l.default.useEffect(()=>{i||a("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx(br,{src:o,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(Zr,{ref:c,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"})})]})},Jr=t=>{const{searchBarIconURL:n,onSearch:r}=t,[i,o]=l.default.useState(""),s=l.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(br,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:a}),e.jsx(Zr,{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"})]})},Ur={closed:{opacity:0},open:{opacity:1}},$r={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Kr={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Qr=t.createContext({});function qr(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const ei="undefined"!=typeof window?t.useLayoutEffect:t.useEffect,ti=t.createContext(null);function ni(e,t){-1===e.indexOf(t)&&e.push(t)}function ri(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ii=(e,t,n)=>n>t?t:n<e?e:n;function oi(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let si=()=>{},ai=()=>{};"undefined"!=typeof process&&"production"!==process.env?.NODE_ENV&&(si=(e,t,n)=>{e||"undefined"==typeof console||console.warn(oi(t,n))},ai=(e,t,n)=>{if(!e)throw new Error(oi(t,n))});const li={},ci=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ui(e){return"object"==typeof e&&null!==e}const di=e=>/^0[^.\s]+$/u.test(e);function hi(e){let t;return()=>(void 0===t&&(t=e()),t)}const pi=e=>e,mi=(e,t)=>n=>t(e(n)),fi=(...e)=>e.reduce(mi),gi=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r};class bi{constructor(){this.subscriptions=[]}add(e){return ni(this.subscriptions,e),()=>ri(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 vi=e=>1e3*e,yi=e=>e/1e3;function xi(e,t){return t?e*(1e3/t):0}const Ci=new Set;function Ii(e,t,n){e||Ci.has(t)||(console.warn(oi(t,n)),Ci.add(t))}const wi=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Ai(e,t,n,r){if(e===t&&n===r)return pi;const i=t=>function(e,t,n,r,i){let o,s,a=0;do{s=t+(n-t)/2,o=wi(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:wi(i(e),t,r)}const Ei=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ni=e=>t=>1-e(1-t),Si=Ai(.33,1.53,.69,.99),ji=Ni(Si),Ti=Ei(ji),ki=e=>e>=1?1:(e*=2)<1?.5*ji(e):.5*(2-Math.pow(2,-10*(e-1))),Bi=e=>1-Math.sin(Math.acos(e)),Ri=Ni(Bi),Pi=Ei(Bi),Li=Ai(.42,0,1,1),Gi=Ai(0,0,.58,1),Oi=Ai(.42,0,.58,1),Mi=e=>Array.isArray(e)&&"number"==typeof e[0],Di={linear:pi,easeIn:Li,easeInOut:Oi,easeOut:Gi,circIn:Bi,circInOut:Pi,circOut:Ri,backIn:ji,backInOut:Ti,backOut:Si,anticipate:ki},Vi=e=>{if(Mi(e)){ai(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return Ai(t,n,r,i)}return"string"==typeof e?(ai(void 0!==Di[e],`Invalid easing type '${e}'`,"invalid-easing-type"),Di[e]):e},Wi=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Hi(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Wi.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){o.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,i=!1,s=!1)=>{const a=s&&r?t:n;return i&&o.add(e),a.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(s=e,r)return void(i=!0);r=!0;const o=t;t=n,n=o,t.forEach(a),t.clear(),r=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:p,postRender:m}=s,f=()=>{const o=li.useManualTiming,s=o?i.timestamp:performance.now();n=!1,o||(i.delta=r?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),d.process(i),h.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(f))};return{schedule:Wi.reduce((t,o)=>{const a=s[o];return t[o]=(t,o=!1,s=!1)=>(n||(n=!0,r=!0,i.isProcessing||e(f)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<Wi.length;t++)s[Wi[t]].cancel(e)},state:i,steps:s}}const{schedule:Xi,cancel:Fi,state:zi,steps:Zi}=Hi("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:pi,!0);let Yi;function _i(){Yi=void 0}const Ji={now:()=>(void 0===Yi&&Ji.set(zi.isProcessing||li.useManualTiming?zi.timestamp:performance.now()),Yi),set:e=>{Yi=e,queueMicrotask(_i)}},Ui=e=>t=>"string"==typeof t&&t.startsWith(e),$i=Ui("--"),Ki=Ui("var(--"),Qi=e=>!!Ki(e)&&qi.test(e.split("/*")[0].trim()),qi=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function eo(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const to={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},no={...to,transform:e=>ii(0,1,e)},ro={...to,default:1},io=e=>Math.round(1e5*e)/1e5,oo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const so=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ao=(e,t)=>n=>Boolean("string"==typeof n&&so.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),lo=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[i,o,s,a]=r.match(oo);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},co={...to,transform:e=>Math.round((e=>ii(0,255,e))(e))},uo={test:ao("rgb","red"),parse:lo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+co.transform(e)+", "+co.transform(t)+", "+co.transform(n)+", "+io(no.transform(r))+")"};const ho={test:ao("#"),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:uo.transform},po=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),mo=po("deg"),fo=po("%"),go=po("px"),bo=po("vh"),vo=po("vw"),yo=(()=>({...fo,parse:e=>fo.parse(e)/100,transform:e=>fo.transform(100*e)}))(),xo={test:ao("hsl","hue"),parse:lo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+fo.transform(io(t))+", "+fo.transform(io(n))+", "+io(no.transform(r))+")"},Co={test:e=>uo.test(e)||ho.test(e)||xo.test(e),parse:e=>uo.test(e)?uo.parse(e):xo.test(e)?xo.parse(e):ho.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?uo.transform(e):xo.transform(e),getAnimatableNone:e=>{const t=Co.parse(e);return t.alpha=0,Co.transform(t)}},Io=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const wo="number",Ao="color",Eo=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function No(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const s=t.replace(Eo,e=>(Co.test(e)?(r.color.push(o),i.push(Ao),n.push(Co.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(wo),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:s,indexes:r,types:i}}function So({split:e,types:t}){const n=e.length;return r=>{let i="";for(let o=0;o<n;o++)if(i+=e[o],void 0!==r[o]){const e=t[o];i+=e===wo?io(r[o]):e===Ao?Co.transform(r[o]):r[o]}return i}}const jo=(e,t)=>{return"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof(n=e)?0:Co.test(n)?Co.getAnimatableNone(n):n;var n};const To={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(oo)?.length||0)+(e.match(Io)?.length||0)>0},parse:function(e){return No(e).values},createTransformer:function(e){return So(No(e))},getAnimatableNone:function(e){const t=No(e);return So(t)(t.values.map((e,n)=>jo(e,t.split[n])))}};function ko(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}function Bo(e,t){return n=>n>0?t:e}const Ro=(e,t,n)=>e+(t-e)*n,Po=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Lo=[ho,uo,xo];function Go(e){const t=(n=e,Lo.find(e=>e.test(n)));var n;if(si(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(t))return!1;let r=t.parse(e);return t===xo&&(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=ko(a,r,e+1/3),o=ko(a,r,e),s=ko(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 Oo=(e,t)=>{const n=Go(e),r=Go(t);if(!n||!r)return Bo(e,t);const i={...n};return e=>(i.red=Po(n.red,r.red,e),i.green=Po(n.green,r.green,e),i.blue=Po(n.blue,r.blue,e),i.alpha=Ro(n.alpha,r.alpha,e),uo.transform(i))},Mo=new Set(["none","hidden"]);function Do(e,t){return n=>Ro(e,t,n)}function Vo(e){return"number"==typeof e?Do:"string"==typeof e?Qi(e)?Bo:Co.test(e)?Oo:Xo:Array.isArray(e)?Wo:"object"==typeof e?Co.test(e)?Oo:Ho:Bo}function Wo(e,t){const n=[...e],r=n.length,i=e.map((e,n)=>Vo(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Ho(e,t){const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Vo(e[i])(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const Xo=(e,t)=>{const n=To.createTransformer(t),r=No(e),i=No(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Mo.has(e)&&!i.values.length||Mo.has(t)&&!r.values.length?function(e,t){return Mo.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):fi(Wo(function(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}(r,i),i.values),n):(si(!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.`,"complex-values-different"),Bo(e,t))};function Fo(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return Ro(e,t,n);return Vo(e)(e,t)}const zo=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>Xi.update(t,e),stop:()=>Fi(t),now:()=>zi.isProcessing?zi.timestamp:Ji.now()}},Zo=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Yo=2e4;function _o(e){let t=0;let n=e.next(t);for(;!n.done&&t<Yo;)t+=50,n=e.next(t);return t>=Yo?1/0:t}const Jo=100,Uo=10,$o=1,Ko=0,Qo=800,qo=.3,es=.3,ts={granular:.01,default:2},ns={granular:.005,default:.5},rs=.01,is=10,os=.05,ss=1;function as(e,t){return e*Math.sqrt(1-t*t)}const ls=.001;const cs=["duration","bounce"],us=["stiffness","damping","mass"];function ds(e,t){return t.some(t=>void 0!==e[t])}function hs(e){let t={velocity:Ko,stiffness:Jo,damping:Uo,mass:$o,isResolvedFromDuration:!1,...e};if(!ds(e,us)&&ds(e,cs))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),i=r*r,o=2*ii(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:$o,stiffness:i,damping:o}}else{const n=function({duration:e=Qo,bounce:t=qo,velocity:n=Ko,mass:r=$o}){let i,o;si(e<=vi(is),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ii(os,ss,s),e=ii(rs,is,yi(e)),s<1?(i=t=>{const r=t*s,i=r*e,o=r-n,a=as(t,s),l=Math.exp(-i);return ls-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=as(Math.pow(t,2),s);return(-i(t)+ls>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<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=vi(e),isNaN(a))return{stiffness:Jo,damping:Uo,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});t={...t,...n,mass:$o},t.isResolvedFromDuration=!0}return t}function ps(e=es,t=qo){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:p}=hs({...n,velocity:-yi(n.velocity||0)}),m=h||0,f=c/(2*Math.sqrt(l*u)),g=s-o,b=yi(Math.sqrt(l/u)),v=Math.abs(g)<5;let y,x,C,I,w,A;if(r||(r=v?ts.granular:ts.default),i||(i=v?ns.granular:ns.default),f<1)C=as(b,f),I=(m+f*b*g)/C,y=e=>{const t=Math.exp(-f*b*e);return s-t*(I*Math.sin(C*e)+g*Math.cos(C*e))},w=f*b*I+g*C,A=f*b*g-I*C,x=e=>Math.exp(-f*b*e)*(w*Math.sin(C*e)+A*Math.cos(C*e));else if(1===f){y=e=>s-Math.exp(-b*e)*(g+(m+b*g)*e);const e=m+b*g;x=t=>Math.exp(-b*t)*(b*e*t-m)}else{const e=b*Math.sqrt(f*f-1);y=t=>{const n=Math.exp(-f*b*t),r=Math.min(e*t,300);return s-n*((m+f*b*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};const t=(m+f*b*g)/e,n=f*b*t-g*e,r=f*b*g-t*e;x=t=>{const i=Math.exp(-f*b*t),o=Math.min(e*t,300);return i*(n*Math.sinh(o)+r*Math.cosh(o))}}const E={calculatedDuration:p&&d||null,velocity:e=>vi(x(e)),next:e=>{if(!p&&f<1){const t=Math.exp(-f*b*e),n=Math.sin(C*e),o=Math.cos(C*e),l=s-t*(I*n+g*o),c=vi(t*(w*n+A*o));return a.done=Math.abs(c)<=r&&Math.abs(s-l)<=i,a.value=a.done?s:l,a}const t=y(e);if(p)a.done=e>=d;else{const n=vi(x(e));a.done=Math.abs(n)<=r&&Math.abs(s-t)<=i}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(_o(E),Yo),t=Zo(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}ps.applyToOptions=e=>{const t=function(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(_o(r),Yo);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:yi(i)}}(e,100,ps);return e.ease=t.ease,e.duration=vi(t.duration),e.type="keyframes",e};function ms(e,t,n){const r=Math.max(t-5,0);return xi(n-e(r),t-r)}function fs({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],h={done:!1,value:d},p=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);h.done=Math.abs(t)<=c,h.value=h.done?g:n};let x,C;const I=e=>{var t;(t=h.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(x=e,C=ps({keyframes:[h.value,p(h.value)],velocity:ms(v,e,h.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return I(0),{calculatedDuration:null,next:e=>{let t=!1;return C||void 0!==x||(t=!0,y(e),I(e)),void 0!==x&&e>=x?C.next(e-x):(!t&&y(e),h)}}}function gs(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(ai(o===t.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const r=[],i=n||li.mix||Fo,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||pi:t;o=fi(e,o)}r.push(o)}return r}(t,r,i),l=a.length,c=n=>{if(s&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const i=gi(e[r],e[r+1],n);return a[r](i)};return n?t=>c(ii(e[0],e[o-1],t)):c}function bs(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=gi(0,t,r);e.push(Ro(n,1,i))}}(t,e.length-1),t}function vs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Vi):Vi(r),o={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:bs(t),e),a=gs(s,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||Oi).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}const ys=e=>null!==e;function xs(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(ys),s=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return s&&void 0!==r?r:o[s]}const Cs={decay:fs,inertia:fs,tween:vs,keyframes:vs,spring:ps};function Is(e){"string"==typeof e.type&&(e.type=Cs[e.type])}class ws{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const As=e=>e/100;class Es extends ws{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==Ji.now()&&this.tick(Ji.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;Is(e);const{type:t=vs,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e;let{keyframes:s}=e;const a=t||vs;"production"!==process.env.NODE_ENV&&a!==vs&&ai(s.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`,"spring-two-frames"),a!==vs&&"number"!=typeof s[0]&&(this.mixKeyframes=fi(As,Fo(s[0],s[1])),s=[0,100]);const l=a({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=_o(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:a}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:c,repeat:u,repeatType:d,repeatDelay:h,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v,y=this.currentTime,x=n;if(u){const e=Math.min(this.currentTime,r)/s;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,u+1);Boolean(t%2)&&("reverse"===d?(n=1-n,h&&(n-=h/s)):"mirror"===d&&(x=o)),y=ii(0,1,n)*s}b?(this.delayState.value=c[0],v=this.delayState):v=x.next(y),i&&!b&&(v.value=i(v.value));let{done:C}=v;b||null===a||(C=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const I=null===this.holdTime&&("finished"===this.state||"running"===this.state&&C);return I&&p!==fs&&(v.value=xs(c,this.options,f,this.speed)),m&&m(v.value),I&&this.finish(),v}then(e,t){return this.finished.then(e,t)}get duration(){return yi(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+yi(e)}get time(){return yi(this.currentTime)}set time(e){e=vi(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);return ms(e=>this.generator.next(e).value,e,this.generator.next(e).value)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Ji.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=yi(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=zo,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ji.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}const Ns=e=>180*e/Math.PI,Ss=e=>{const t=Ns(Math.atan2(e[1],e[0]));return Ts(t)},js={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ss,rotateZ:Ss,skewX:e=>Ns(Math.atan(e[1])),skewY:e=>Ns(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ts=e=>((e%=360)<0&&(e+=360),e),ks=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Bs=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Rs={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ks,scaleY:Bs,scale:e=>(ks(e)+Bs(e))/2,rotateX:e=>Ts(Ns(Math.atan2(e[6],e[5]))),rotateY:e=>Ts(Ns(Math.atan2(-e[2],e[0]))),rotateZ:Ss,rotate:Ss,skewX:e=>Ns(Math.atan(e[4])),skewY:e=>Ns(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ps(e){return e.includes("scale")?1:0}function Ls(e,t){if(!e||"none"===e)return Ps(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=Rs,i=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=js,i=t}if(!i)return Ps(t);const o=r[t],s=i[1].split(",").map(Gs);return"function"==typeof o?o(s):s[o]}function Gs(e){return parseFloat(e.trim())}const Os=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ms=(()=>new Set(Os))(),Ds=e=>e===to||e===go,Vs=new Set(["x","y","z"]),Ws=Os.filter(e=>!Vs.has(e));const Hs={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return"border-box"===r?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return"border-box"===r?i:i-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:(e,{transform:t})=>Ls(t,"x"),y:(e,{transform:t})=>Ls(t,"y")};Hs.translateX=Hs.x,Hs.translateY=Hs.y;const Xs=new Set;let Fs=!1,zs=!1,Zs=!1;function Ys(){if(zs){const e=Array.from(Xs).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=function(e){const t=[];return Ws.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}zs=!1,Fs=!1,Xs.forEach(e=>e.complete(Zs)),Xs.clear()}function _s(){Xs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(zs=!0)})}class Js{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Xs.add(this),Fs||(Fs=!0,Xi.read(_s),Xi.resolveKeyframes(Ys))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){const i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){const r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Xs.delete(this)}cancel(){"scheduled"===this.state&&(Xs.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function Us(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}const $s={};function Ks(e,t){const n=hi(e);return()=>$s[t]??n()}const Qs=Ks(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),qs=Ks(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),ea=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ta={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ea([0,.65,.55,1]),circOut:ea([.55,0,1,.45]),backIn:ea([.31,.01,.66,-.59]),backOut:ea([.33,1.53,.69,.99])};function na(e,t){return e?"function"==typeof e?qs()?Zo(e,t):"ease-out":Mi(e)?ea(e):Array.isArray(e)?e.map(e=>na(e,t)||ta.easeOut):ta[e]:void 0}function ra(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=na(a,i);Array.isArray(d)&&(u.easing=d);const h={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};c&&(h.pseudoElement=c);return e.animate(u,h)}function ia(e){return"function"==typeof e&&"applyToOptions"in e}class oa extends ws{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=e;this.isPseudoElement=Boolean(i),this.allowFlatten=o,this.options=e,ai("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return ia(e)&&qs()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=ra(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const e=xs(r,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Us(t,n,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return yi(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+yi(e)}get time(){return yi(Number(this.animation.currentTime)||0)}set time(e){const t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=vi(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Qs()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),pi):r(this)}}const sa={anticipate:ki,backInOut:Ti,circInOut:Pi};function aa(e){"string"==typeof e.ease&&e.ease in sa&&(e.ease=sa[e.ease])}class la extends oa{constructor(e){aa(e),Is(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const s=new Es({...o,autoplay:!1}),a=Math.max(10,Ji.now()-this.startTime),l=ii(0,10,a-10),c=s.sample(a).value,{name:u}=this.options;i&&u&&Us(i,u,c),t.setWithVelocity(s.sample(Math.max(0,a-l)).value,c,l),s.stop()}}const ca=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!To.test(e)&&"0"!==e||e.startsWith("url(")));function ua(e){e.duration=0,e.type="keyframes"}const da=new Set(["opacity","clipPath","filter","transform"]),ha=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const pa=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),ma=hi(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function fa(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s,keyframes:a}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return ma()&&n&&(da.has(n)||pa.has(n)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&ha.test(e[t]))return!0;return!1}(a))&&("transform"!==n||!u)&&!c&&!r&&"mirror"!==i&&0!==o&&"inertia"!==s}class ga extends ws{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ji.now();const d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:a,motionValue:l,element:c,...u},h=c?.KeyframeResolver||Js;this.keyframeResolver=new h(s,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;const{name:i,type:o,velocity:s,delay:a,isHandoff:l,onUpdate:c}=n;this.resolvedAt=Ji.now();let u=!0;(function(e,t,n,r){const i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;const o=e[e.length-1],s=ca(i,t),a=ca(o,t);return si(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||ia(n))&&r)})(e,i,o,s)||(u=!1,!li.instantAnimations&&a||c?.(xs(e,n,t)),e[0]=e[e.length-1],ua(n),n.repeat=0);const d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},h=u&&!l&&fa(d),p=d.motionValue?.owner?.current;let m;if(h)try{m=new la({...d,element:p})}catch{m=new Es(d)}else m=new Es(d);m.finished.then(()=>{this.notifyFinished()}).catch(pi),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Zs=!0,_s(),Ys(),Zs=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function ba(e,t,n,r=0,i=1){const o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*r;return"function"==typeof n?n(o,s):1===i?o*r:a-o*r}const va=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ya(e,t,n=1){ai(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=function(e){const t=va.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const e=o.trim();return ci(e)?parseFloat(e):e}return Qi(i)?ya(i,t,n+1):i}const xa={type:"spring",stiffness:500,damping:25,restSpeed:10},Ca={type:"keyframes",duration:.8},Ia={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},wa=(e,{keyframes:t})=>t.length>2?Ca:Ms.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:xa:Ia;function Aa(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Ea(e,t){const n=e?.[t]??e?.default??e;return n!==e?Aa(n,e):n}const Na=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);const Sa=(e,t,n,r={},i,o)=>s=>{const a=Ea(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c-=vi(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};(function(e){for(const t in e)if(!Na.has(t))return!0;return!1})(a)||Object.assign(u,wa(e,u)),u.duration&&(u.duration=vi(u.duration)),u.repeatDelay&&(u.repeatDelay=vi(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(ua(u),0===u.delay&&(d=!0)),(li.instantAnimations||li.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,ua(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!o&&void 0!==t.get()){const e=xs(u.keyframes,a);if(void 0!==e)return void Xi.update(()=>{u.onUpdate(e),u.onComplete()})}return a.isSync?new Es(u):new ga(u)};function ja(e){const t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Ta(e,t,n,r){if("function"==typeof t){const[i,o]=ja(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[i,o]=ja(r);t=t(void 0!==n?n:e.custom,i,o)}return t}function ka(e,t,n){const r=e.getProps();return Ta(r,t,void 0!==n?n:r.custom,e)}const Ba=new Set(["width","height","top","left","right","bottom",...Os]);class Ra{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=Ji.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Ji.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&Ii(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new bi);const n=this.events[e].add(t);return"change"===e?()=>{n(),Xi.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){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Ji.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return xi(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Pa(e,t){return new Ra(e,t)}const La=e=>Array.isArray(e);function Ga(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pa(n))}function Oa(e){return La(e)?e[e.length-1]||0:e}const Ma=e=>Boolean(e&&e.getVelocity);function Da(e,t){const n=e.getValue("willChange");if(r=n,Boolean(Ma(r)&&r.add))return n.add(t);if(!n&&li.WillChange){const n=new li.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}function Va(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const Wa="data-"+Va("framerAppearId");function Ha(e){return e.props[Wa]}function Xa({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Fa(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();o=o?Aa(o,l):l;const c=o?.reduceMotion;r&&(o=r);const u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const t in a){const r=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||d&&Xa(d,t))continue;const s={delay:n,...Ea(o||{},t)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(i)&&i===l&&!s.velocity){Xi.update(()=>r.set(i));continue}let h=!1;if(window.MotionHandoffAnimation){const n=Ha(e);if(n){const e=window.MotionHandoffAnimation(n,t,Xi);null!==e&&(s.startTime=e,h=!0)}}Da(e,t);const p=c??e.shouldReduceMotion;r.start(Sa(t,r,i,p&&Ba.has(t)?{type:!1}:s,e,h));const m=r.animation;m&&u.push(m)}if(s){const t=()=>Xi.update(()=>{s&&function(e,t){const n=ka(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const t in o)Ga(e,t,Oa(o[t]))}(e,s)});u.length?Promise.all(u).then(t):t()}return u}function za(e,t,n={}){const r=ka(e,t,"exit"===n.type?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Fa(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=0,o=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(za(l,t,{...s,delay:n+("function"==typeof r?0:r)+ba(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,r,o,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)])}const Za=e=>t=>t.test(e),Ya=[to,go,fo,mo,vo,bo,{test:e=>"auto"===e,parse:e=>e}],_a=e=>Ya.find(Za(e));function Ja(e){return"number"==typeof e?0===e:null===e||("none"===e||"0"===e||di(e))}const Ua=new Set(["brightness","contrast","saturate","opacity"]);function $a(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(oo)||[];if(!r)return e;const i=n.replace(r,"");let o=Ua.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Ka=/\b([a-z-]*)\(.*?\)/gu,Qa={...To,getAnimatableNone:e=>{const t=e.match(Ka);return t?t.map($a).join(" "):e}},qa={...To,getAnimatableNone:e=>{const t=To.parse(e);return To.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},el={...to,transform:Math.round},tl={borderWidth:go,borderTopWidth:go,borderRightWidth:go,borderBottomWidth:go,borderLeftWidth:go,borderRadius:go,borderTopLeftRadius:go,borderTopRightRadius:go,borderBottomRightRadius:go,borderBottomLeftRadius:go,width:go,maxWidth:go,height:go,maxHeight:go,top:go,right:go,bottom:go,left:go,inset:go,insetBlock:go,insetBlockStart:go,insetBlockEnd:go,insetInline:go,insetInlineStart:go,insetInlineEnd:go,padding:go,paddingTop:go,paddingRight:go,paddingBottom:go,paddingLeft:go,paddingBlock:go,paddingBlockStart:go,paddingBlockEnd:go,paddingInline:go,paddingInlineStart:go,paddingInlineEnd:go,margin:go,marginTop:go,marginRight:go,marginBottom:go,marginLeft:go,marginBlock:go,marginBlockStart:go,marginBlockEnd:go,marginInline:go,marginInlineStart:go,marginInlineEnd:go,fontSize:go,backgroundPositionX:go,backgroundPositionY:go,...{rotate:mo,rotateX:mo,rotateY:mo,rotateZ:mo,scale:ro,scaleX:ro,scaleY:ro,scaleZ:ro,skew:mo,skewX:mo,skewY:mo,distance:go,translateX:go,translateY:go,translateZ:go,x:go,y:go,z:go,perspective:go,transformPerspective:go,opacity:no,originX:yo,originY:yo,originZ:go},zIndex:el,fillOpacity:no,strokeOpacity:no,numOctaves:el},nl={...tl,color:Co,backgroundColor:Co,outlineColor:Co,fill:Co,stroke:Co,borderColor:Co,borderTopColor:Co,borderRightColor:Co,borderBottomColor:Co,borderLeftColor:Co,filter:Qa,WebkitFilter:Qa,mask:qa,WebkitMask:qa},rl=e=>nl[e],il=new Set([Qa,qa]);function ol(e,t){let n=rl(e);return il.has(n)||(n=To),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const sl=new Set(["auto","none","0"]);class al extends Js{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),Qi(r))){const i=ya(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Ba.has(n)||2!==e.length)return;const[r,i]=e,o=_a(r),s=_a(i);if(eo(r)!==eo(i)&&Hs[n])this.needsMeasurement=!0;else if(o!==s)if(Ds(o)&&Ds(s))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else Hs[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||Ja(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){const t=e[i];"string"==typeof t&&!sl.has(t)&&No(t).values.length&&(r=e[i]),i++}if(r&&n)for(const i of t)e[i]=ol(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Hs[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);const i=n.length-1,o=n[i];n[i]=Hs[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}function ll(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document;const r=n?.[e]??t.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}const cl=(e,t)=>t&&"number"==typeof e?t.transform(e):e;function ul(e){return ui(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:dl}=Hi(queueMicrotask,!1),hl={x:!1,y:!1};function pl(){return hl.x||hl.y}function ml(e,t){const n=ll(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function fl(e,t,n={}){const[r,i,o]=ml(e,n);return r.forEach(e=>{let n,r=!1,o=!1;const s=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},a=e=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,s(e))},l=e=>{"touch"!==e.pointerType&&(r?o=!0:s(e))};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||pl())return;o=!1;const s=t(e,r);"function"==typeof s&&(n=s,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),o}const gl=(e,t)=>!!t&&(e===t||gl(e,t.parentElement)),bl=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,vl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const yl=new Set(["INPUT","SELECT","TEXTAREA"]);const xl=new WeakSet;function Cl(e){return t=>{"Enter"===t.key&&e(t)}}function Il(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function wl(e){return bl(e)&&!pl()}const Al=new WeakSet;function El(e,t,n={}){const[r,i,o]=ml(e,n),s=e=>{const r=e.currentTarget;if(!wl(e))return;if(Al.has(e))return;xl.add(r),n.stopPropagation&&Al.add(e);const o=t(r,e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),xl.has(r)&&xl.delete(r),wl(e)&&"function"==typeof o&&o(e,{success:t})},a=e=>{s(e,r===window||r===document||n.useGlobalTarget||gl(r,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),ul(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=Cl(()=>{if(xl.has(n))return;Il(n,"down");const e=Cl(()=>{Il(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>Il(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),t=e,vl.has(t.tagName)||!0===t.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}function Nl(e){return ui(e)&&"ownerSVGElement"in e}const Sl=new WeakMap;let jl;const Tl=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Nl(r)&&"getBBox"in r?r.getBBox()[t]:r[n],kl=Tl("inline","width","offsetWidth"),Bl=Tl("block","height","offsetHeight");function Rl({target:e,borderBoxSize:t}){Sl.get(e)?.forEach(n=>{n(e,{get width(){return kl(e,t)},get height(){return Bl(e,t)}})})}function Pl(e){e.forEach(Rl)}function Ll(e,t){jl||"undefined"!=typeof ResizeObserver&&(jl=new ResizeObserver(Pl));const n=ll(e);return n.forEach(e=>{let n=Sl.get(e);n||(n=new Set,Sl.set(e,n)),n.add(t),jl?.observe(e)}),()=>{n.forEach(e=>{const n=Sl.get(e);n?.delete(t),n?.size||jl?.unobserve(e)})}}const Gl=new Set;let Ol;function Ml(e){return Gl.add(e),Ol||(Ol=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Gl.forEach(t=>t(e))},window.addEventListener("resize",Ol)),()=>{Gl.delete(e),Gl.size||"function"!=typeof Ol||(window.removeEventListener("resize",Ol),Ol=void 0)}}function Dl(e,t){return"function"==typeof e?Ml(e):Ll(e,t)}const Vl=[...Ya,Co,To],Wl=()=>({x:{min:0,max:0},y:{min:0,max:0}}),Hl=new WeakMap;function Xl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function Fl(e){return"string"==typeof e||Array.isArray(e)}const zl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Zl=["initial",...zl];function Yl(e){return Xl(e.animate)||Zl.some(t=>Fl(e[t]))}function _l(e){return Boolean(Yl(e)||e.variants)}const Jl={current:null},Ul={current:!1},$l="undefined"!=typeof window;const Kl=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ql={};function ql(e){Ql=e}class ec{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Js,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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.renderScheduledAt=0,this.scheduleRender=()=>{const e=Ji.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Xi.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Yl(t),this.isVariantNode=_l(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in d){const t=d[e];void 0!==l[e]&&Ma(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(const e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Hl.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(Ul.current||function(){if(Ul.current=!0,$l)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jl.current=e.matches;e.addEventListener("change",t),t()}else Jl.current=!1}(),this.shouldReduceMotion=Jl.current),"production"!==process.env.NODE_ENV&&Ii(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Fi(this.notifyUpdate),Fi(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&da.has(e)&&this.current instanceof HTMLElement){const{factory:n,keyframes:r,times:i,ease:o,duration:s}=t.accelerate,a=new oa({element:this.current,name:e,keyframes:r,times:i,ease:o,duration:vi(s)}),l=n(a);return void this.valueSubscriptions.set(e,()=>{l(),a.cancel()})}const n=Ms.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Xi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in Ql){const t=Ql[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,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}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<Kl.length;t++){const n=Kl[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){for(const r in t){const i=t[r],o=n[r];if(Ma(i))e.addValue(r,i);else if(Ma(o))e.addValue(r,Pa(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,Pa(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),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}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&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=Pa(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=n&&("string"==typeof n&&(ci(n)||di(n))?n=parseFloat(n):(r=n,!Vl.find(Za(r))&&To.test(t)&&(n=ol(e,t))),this.setBaseTarget(e,Ma(n)?n.get():n)),Ma(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let n;if("string"==typeof t||"object"==typeof t){const r=Ta(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Ma(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new bi),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){dl.render(this.render)}}class tc extends ec{constructor(){super(...arguments),this.KeyframeResolver=al}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){const n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ma(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class nc{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ic(e){return void 0===e||1===e}function oc({scale:e,scaleX:t,scaleY:n}){return!ic(e)||!ic(t)||!ic(n)}function sc(e){return oc(e)||ac(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ac(e){return lc(e.x)||lc(e.y)}function lc(e){return e&&"0%"!==e}function cc(e,t,n){return n+t*(e-n)}function uc(e,t,n,r,i){return void 0!==i&&(e=cc(e,i,r)),cc(e,n,r)+t}function dc(e,t=0,n=1,r,i){e.min=uc(e.min,t,n,r,i),e.max=uc(e.max,t,n,r,i)}function hc(e,{x:t,y:n}){dc(e.x,t.translate,t.scale,t.originPoint),dc(e.y,n.translate,n.scale,n.originPoint)}const pc=.999999999999,mc=1.0000000000001;function fc(e,t){e.min+=t,e.max+=t}function gc(e,t,n,r,i=.5){dc(e,t,n,Ro(e.min,e.max,i),r)}function bc(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function vc(e,t,n){const r=n??e;gc(e.x,bc(t.x,r.x),t.scaleX,t.scale,t.originX),gc(e.y,bc(t.y,r.y),t.scaleY,t.scale,t.originY)}function yc(e,t){return rc(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 xc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Cc=Os.length;function Ic(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(Ms.has(e))s=!0;else if($i(e))i[e]=n;else{const t=cl(n,tl[e]);e.startsWith("origin")?(a=!0,o[e]=t):r[e]=t}}if(t.transform||(s||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<Cc;o++){const s=Os[o],a=e[s];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===(s.startsWith("scale")?1:0);else{const e=parseFloat(a);l=s.startsWith("scale")?1===e:0===e}if(!l||n){const e=cl(a,tl[s]);l||(i=!1,r+=`${xc[s]||s}(${e}) `),n&&(t[s]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}function wc(e,{style:t,vars:n},r,i){const o=e.style;let s;for(s in t)o[s]=t[s];for(s in i?.applyProjectionStyles(o,r),n)o.setProperty(s,n[s])}function Ac(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ec={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!go.test(e))return e;e=parseFloat(e)}return`${Ac(e,t.target.x)}% ${Ac(e,t.target.y)}%`}},Nc={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=To.parse(e);if(i.length>5)return r;const o=To.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=Ro(a,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=c),"number"==typeof i[3+s]&&(i[3+s]/=c),o(i)}},Sc={borderRadius:{...Ec,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ec,borderTopRightRadius:Ec,borderBottomLeftRadius:Ec,borderBottomRightRadius:Ec,boxShadow:Nc};function jc(e,{layout:t,layoutId:n}){return Ms.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Sc[e]||"opacity"===e)}function Tc(e,t,n){const r=e.style,i=t?.style,o={};if(!r)return o;for(const t in r)(Ma(r[t])||i&&Ma(i[t])||jc(t,e)||void 0!==n?.getValue(t)?.liveStyle)&&(o[t]=r[t]);return o}class kc extends tc{constructor(){super(...arguments),this.type="html",this.renderInstance=wc}readValueFromInstance(e,t){if(Ms.has(t))return this.projection?.isProjecting?Ps(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ls(n,t)})(e,t);{const r=(n=e,window.getComputedStyle(n)),i=($i(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return yc(e,t)}build(e,t,n){Ic(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Tc(e,t,n)}}const Bc={offset:"stroke-dashoffset",array:"stroke-dasharray"},Rc={offset:"strokeDashoffset",array:"strokeDasharray"};const Pc=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Lc(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,c,u){if(Ic(e,a,c),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete d.transformBox);for(const e of Pc)void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?Bc:Rc;e[o.offset]=""+-r,e[o.array]=`${t} ${n}`}(d,i,o,s,!1)}const Gc=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"]),Oc=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Mc(e,t,n){const r=Tc(e,t,n);for(const n in e)if(Ma(e[n])||Ma(t[n])){r[-1!==Os.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}class Dc extends tc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Wl}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Ms.has(t)){const e=rl(t);return e&&e.default||0}return t=Gc.has(t)?t:Va(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Mc(e,t,n)}build(e,t,n){Lc(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){wc(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Gc.has(n)?n:Va(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=Oc(e.tagName),super.mount(e)}}const Vc=Zl.length;function Wc(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Wc(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Vc;n++){const r=Zl[n],i=e.props[r];(Fl(i)||!1===i)&&(t[r]=i)}return t}function Hc(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}const Xc=[...zl].reverse(),Fc=zl.length;function zc(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=>za(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=za(e,t,n);else{const i="function"==typeof t?ka(e,t,n.custom):t;r=Promise.all(Fa(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}function Zc(e){let t=zc(e),n=Jc(),r=!0,i=!1;const o=t=>(n,r)=>{const i=ka(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function s(s){const{props:a}=e,l=Wc(e.parent)||{},c=[],u=new Set;let d={},h=1/0;for(let t=0;t<Fc;t++){const p=Xc[t],m=n[p],f=void 0!==a[p]?a[p]:l[p],g=Fl(f),b=p===s?m.isActive:null;!1===b&&(h=t);let v=f===l[p]&&f!==a[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||Xl(f)||"boolean"==typeof f)continue;if("exit"===p&&m.isActive&&!0!==b){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}const y=Yc(m.prevProp,f);let x=y||p===s&&m.isActive&&!v&&g||t>h&&g,C=!1;const I=Array.isArray(f)?f:[f];let w=I.reduce(o(p),{});!1===b&&(w={});const{prevResolvedValues:A={}}=m,E={...A,...w},N=t=>{x=!0,u.has(t)&&(C=!0,u.delete(t)),m.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in E){const t=w[e],n=A[e];if(d.hasOwnProperty(e))continue;let r=!1;r=La(t)&&La(n)?!Hc(t,n):t!==n,r?null!=t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0}m.prevProp=f,m.prevResolvedValues=w,m.isActive&&(d={...d,...w}),(r||i)&&e.blockInitialAnimation&&(x=!1);const S=v&&y;x&&(!S||C)&&c.push(...I.map(t=>{const n={type:p};if("string"==typeof t&&(r||i)&&!S&&e.manuallyAnimateOnMount&&e.parent){const{parent:r}=e,i=ka(r,t);if(r.enteringChildren&&i){const{delayChildren:t}=i.transition||{};n.delay=ba(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){const t={};if("boolean"!=typeof a.initial){const n=ka(e,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{const r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),c.push({animation:t})}let p=Boolean(c.length);return!r||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(p=!1),r=!1,i=!1,p?t(c):Promise.resolve()}return{animateChanges:s,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;const i=s(t);for(const e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Jc(),i=!0}}}function Yc(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Hc(t,e)}function _c(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Jc(){return{animate:_c(!0),whileInView:_c(),whileHover:_c(),whileTap:_c(),whileDrag:_c(),whileFocus:_c(),exit:_c()}}function Uc(e,t){e.min=t.min,e.max=t.max}function $c(e,t){Uc(e.x,t.x),Uc(e.y,t.y)}function Kc(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Qc(e){return e.max-e.min}function qc(e,t,n,r=.5){e.origin=r,e.originPoint=Ro(t.min,t.max,e.origin),e.scale=Qc(n)/Qc(t),e.translate=Ro(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function eu(e,t,n,r){qc(e.x,t.x,n.x,r?r.originX:void 0),qc(e.y,t.y,n.y,r?r.originY:void 0)}function tu(e,t,n,r=0){const i=r?Ro(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Qc(t)}function nu(e,t,n,r=0){const i=r?Ro(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Qc(t)}function ru(e,t,n,r){nu(e.x,t.x,n.x,r?.x),nu(e.y,t.y,n.y,r?.y)}function iu(e,t,n,r,i){return e=cc(e-=t,1/n,r),void 0!==i&&(e=cc(e,1/i,r)),e}function ou(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){fo.test(t)&&(t=parseFloat(t),t=Ro(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Ro(o.min,o.max,r);e===o&&(a-=t),e.min=iu(e.min,t,n,a,i),e.max=iu(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}const su=["x","scaleX","originX"],au=["y","scaleY","originY"];function lu(e,t,n,r){ou(e.x,t,su,n?n.x:void 0,r?r.x:void 0),ou(e.y,t,au,n?n.y:void 0,r?r.y:void 0)}function cu(e){return 0===e.translate&&1===e.scale}function uu(e){return cu(e.x)&&cu(e.y)}function du(e,t){return e.min===t.min&&e.max===t.max}function hu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function pu(e,t){return hu(e.x,t.x)&&hu(e.y,t.y)}function mu(e){return Qc(e.x)/Qc(e.y)}function fu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function gu(e){return[e("x"),e("y")]}const bu=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],vu=bu.length,yu=e=>"string"==typeof e?parseFloat(e):e,xu=e=>"number"==typeof e||go.test(e);function Cu(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Iu=Au(0,.5,Ri),wu=Au(.5,.95,pi);function Au(e,t,n){return r=>r<e?0:r>t?1:n(gi(e,t,r))}function Eu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Nu=(e,t)=>e.depth-t.depth;class Su{constructor(){this.children=[],this.isDirty=!1}add(e){ni(this.children,e),this.isDirty=!0}remove(e){ri(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Nu),this.isDirty=!1,this.children.forEach(e)}}function ju(e){return Ma(e)?e.get():e}class Tu{constructor(){this.members=[]}add(e){ni(this.members,e);for(let t=this.members.length-1;t>=0;t--){const n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;const r=n.instance;r&&!1!==r.isConnected||n.snapshot||(ri(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(ri(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){for(let t=this.members.indexOf(e)-1;t>=0;t--){const e=this.members[t];if(!1!==e.isPresent&&!1!==e.instance?.isConnected)return this.promote(e),!0}return!1}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;void 0!==r&&r===i||(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const ku={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Bu=["","X","Y","Z"];let Ru=0;function Pu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Lu(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Ha(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Xi,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Lu(r)}function Gu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Ru++,this.animationId=0,this.animationCommitId=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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Du),this.nodes.forEach(_u),this.nodes.forEach(Ju),this.nodes.forEach(Vu)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,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 Su)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new bi),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){if(this.instance)return;var n;this.isSVG=Nl(t)&&!(Nl(n=t)&&"svg"===n.tagName),this.instance=t;const{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||r)&&(this.isLayoutDirty=!0),e){let n,r=0;const i=()=>this.root.updateBlockedByResize=!1;Xi.read(()=>{r=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=Ji.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Fi(r),e(o-t))};return Xi.setup(r,!0),()=>Fi(r)}(i,250),ku.hasAnimatedSinceResize&&(ku.hasAnimatedSinceResize=!1,this.nodes.forEach(Yu)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||o.getDefaultTransition()||ed,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!pu(this.targetLayout,r),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...Ea(i,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||Yu(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,this.eventHandlers.clear(),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(Uu),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Lu(this),!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,"string"!=typeof t.latestValues.x&&"string"!=typeof t.latestValues.y||(t.isLayoutDirty=!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()){const e=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Xu),void this.nodes.forEach(Hu)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(Fu);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(zu),this.nodes.forEach(Zu),this.nodes.forEach(Ou),this.nodes.forEach(Mu)):this.nodes.forEach(Fu),this.clearAllSnapshots();const e=Ji.now();zi.delta=ii(0,1e3/60,e-zi.timestamp),zi.timestamp=e,zi.isProcessing=!0,Zi.update.process(zi),Zi.preRender.process(zi),Zi.render.process(zi),zi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,dl.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Wu),this.sharedNodes.forEach($u)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Xi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Xi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Qc(this.snapshot.measuredBox.x)||Qc(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}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.layoutVersion++,this.layoutCorrected||(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);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!uu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||sc(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)),rd((r=n).x),rd(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();if(!(this.scroll?.wasRoot||this.path.some(od))){const{scroll:e}=this.root;e&&(fc(t.x,e.offset.x),fc(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if($c(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&$c(t,e),fc(t.x,i.offset.x),fc(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){const r=n||{x:{min:0,max:0},y:{min:0,max:0}};$c(r,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(fc(r.x,-n.scroll.offset.x),fc(r.y,-n.scroll.offset.y)),sc(n.latestValues)&&vc(r,n.latestValues,n.layout?.layoutBox)}return sc(this.latestValues)&&vc(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};$c(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!sc(n.latestValues))continue;let r;n.instance&&(oc(n.latestValues)&&n.updateSnapshot(),r=Wl(),$c(r,n.measurePageBox())),lu(t,n.latestValues,n.snapshot?.layoutBox,r)}return sc(this.latestValues)&&lu(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!==zi.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:i}=this.options;if(!this.layout||!r&&!i)return;this.resolvedRelativeTargetAt=zi.timestamp;const o=this.getClosestProjectingParent();var s,a,l,c;(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta)&&(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,c=this.options.layoutAnchor||void 0,tu(s.x,a.x,l.x,c?.x),tu(s.y,a.y,l.y,c?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):$c(this.target,this.layout.layoutBox),hc(this.target,this.targetDelta)):$c(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&Boolean(o.resumingFrom)===Boolean(this.resumingFrom)&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(this.parent&&!oc(this.parent.latestValues)&&!ac(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,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}},ru(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),$c(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===zi.timestamp&&(n=!1),n)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;$c(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,s=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{visualElement:i}=o.options;i&&i.props.style&&"contents"===i.props.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(fc(e.x,-o.scroll.offset.x),fc(e.y,-o.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,hc(e,s)),r&&sc(o.latestValues)&&vc(e,o.latestValues,o.layout?.layoutBox))}t.x<mc&&t.x>pc&&(t.x=1),t.y<mc&&t.y>pc&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:a}=e;a?(this.projectionDelta&&this.prevProjectionDelta?(Kc(this.prevProjectionDelta.x,this.projectionDelta.x),Kc(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),eu(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&fu(this.projectionDelta.x,this.prevProjectionDelta.x)&&fu(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},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}}}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(qu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h;Ku(o.x,e.x,n),Ku(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ru(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),function(e,t,n,r){Qu(e.x,t.x,n.x,r),Qu(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&(l=this.relativeTarget,h=d,du(l.x,h.x)&&du(l.y,h.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),$c(d,this.relativeTarget)),a&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=Ro(0,n.opacity??1,Iu(r)),e.opacityExit=Ro(t.opacity??1,0,wu(r))):o&&(e.opacity=Ro(t.opacity??1,n.opacity??1,r));for(let i=0;i<vu;i++){const o=bu[i];let s=Cu(t,o),a=Cu(n,o);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||xu(s)===xu(a)?(e[o]=Math.max(Ro(yu(s),yu(a),r),0),(fo.test(a)||fo.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=Ro(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?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Fi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Xi.update(()=>{ku.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Pa(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(e,t,n){const r=Ma(e)?e:Pa(e);return r.start(Sa("",r,t,n)),r.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{},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&&id(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Qc(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Qc(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}$c(t,n),vc(t,i),eu(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Tu);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(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.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)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Pu("z",e,r,this.animationValues);for(let t=0;t<Bu.length;t++)Pu(`rotate${Bu[t]}`,e,r,this.animationValues),Pu(`skew${Bu[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=ju(t?.pointerEvents)||"",void(e.transform=n?n(this.latestValues,""):"none");const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=ju(t?.pointerEvents)||""),void(this.hasProjected&&!sc(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1));e.visibility="";const i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let o=function(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=n?.z||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:s,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),a&&(r+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),e.transform=o;const{x:s,y:a}=this.projectionDelta;e.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const t in Sc){if(void 0===i[t])continue;const{correct:n,applyTo:s,isCSSVariable:a}=Sc[t],l="none"===o?i[t]:n(i[t],r);if(s){const t=s.length;for(let n=0;n<t;n++)e[s[n]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?ju(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Hu),this.root.sharedNodes.clear()}}}function Ou(e){e.updateLayout()}function Mu(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if("size"===i)gu(e=>{const r=o?t.measuredBox[e]:t.layoutBox[e],i=Qc(r);r.min=n[e].min,r.max=r.min+i});else if("x"===i||"y"===i){const e="x"===i?"y":"x";Uc(o?t.measuredBox[e]:t.layoutBox[e],n[e])}else id(i,t.layoutBox,n)&&gu(r=>{const i=o?t.measuredBox[r]:t.layoutBox[r],s=Qc(n[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}};eu(s,n,t.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?eu(a,e.applyTransform(r,!0),t.measuredBox):eu(a,n,t.layoutBox);const l=!uu(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=e.options.layoutAnchor||void 0,a={x:{min:0,max:0},y:{min:0,max:0}};ru(a,t.layoutBox,i.layoutBox,s);const l={x:{min:0,max:0},y:{min:0,max:0}};ru(l,n,o.layoutBox,s),pu(a,l)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Du(e){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 Vu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Wu(e){e.clearSnapshot()}function Hu(e){e.clearMeasurements()}function Xu(e){e.isLayoutDirty=!0,e.updateLayout()}function Fu(e){e.isLayoutDirty=!1}function zu(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Zu(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Yu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function _u(e){e.resolveTargetDelta()}function Ju(e){e.calcProjection()}function Uu(e){e.resetSkewAndRotation()}function $u(e){e.removeLeadSnapshot()}function Ku(e,t,n){e.translate=Ro(t.translate,0,n),e.scale=Ro(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Qu(e,t,n,r){e.min=Ro(t.min,n.min,r),e.max=Ro(t.max,n.max,r)}function qu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ed={duration:.45,ease:[.4,0,.1,1]},td=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),nd=td("applewebkit/")&&!td("chrome/")?Math.round:pi;function rd(e){e.min=nd(e.min),e.max=nd(e.max)}function id(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=mu(t),i=mu(n),o=.2,!(Math.abs(r-i)<=o));var r,i,o}function od(e){return e!==e.root&&e.scroll?.wasRoot}const sd=Gu({attachResizeListener:(e,t)=>Eu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ad={current:void 0},ld=Gu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ad.current){const e=new sd({});e.mount(window),e.setOptions({layoutScroll:!0}),ad.current=e}return ad.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),cd=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ud(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function dd(...e){return l.useCallback(function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=ud(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():ud(e[t],null)}}}}(...e),e)}class hd extends l.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(ul(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const e=t.offsetParent,n=ul(e)&&e.offsetWidth||0,r=ul(e)&&e.offsetHeight||0,i=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(i.height),o.width=parseFloat(i.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=r-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function pd({children:n,isPresent:r,anchorX:i,anchorY:o,root:s,pop:a}){const c=t.useId(),u=t.useRef(null),d=t.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:h}=t.useContext(cd),p=n.props?.ref??n?.ref,m=dd(u,p);return t.useInsertionEffect(()=>{const{width:e,height:t,top:n,left:l,right:p,bottom:m}=d.current;if(r||!1===a||!u.current||!e||!t)return;const f="left"===i?`left: ${l}`:`right: ${p}`,g="bottom"===o?`bottom: ${m}`:`top: ${n}`;u.current.dataset.motionPopId=c;const b=document.createElement("style");h&&(b.nonce=h);const v=s??document.head;return v.appendChild(b),b.sheet&&b.sheet.insertRule(`\n [data-motion-pop-id="${c}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n ${f}px !important;\n ${g}px !important;\n }\n `),()=>{u.current?.removeAttribute("data-motion-pop-id"),v.contains(b)&&v.removeChild(b)}},[r]),e.jsx(hd,{isPresent:r,childRef:u,sizeRef:d,pop:a,children:!1===a?n:l.cloneElement(n,{ref:m})})}const md=({children:n,initial:r,isPresent:i,onExitComplete:o,custom:s,presenceAffectsLayout:a,mode:c,anchorX:u,anchorY:d,root:h})=>{const p=qr(fd),m=t.useId();let f=!0,g=t.useMemo(()=>(f=!1,{id:m,initial:r,isPresent:i,custom:s,onExitComplete:e=>{p.set(e,!0);for(const e of p.values())if(!e)return;o&&o()},register:e=>(p.set(e,!1),()=>p.delete(e))}),[i,p,o]);return a&&f&&(g={...g}),t.useMemo(()=>{p.forEach((e,t)=>p.set(t,!1))},[i]),l.useEffect(()=>{!i&&!p.size&&o&&o()},[i]),n=e.jsx(pd,{pop:"popLayout"===c,isPresent:i,anchorX:u,anchorY:d,root:h,children:n}),e.jsx(ti.Provider,{value:g,children:n})};function fd(){return new Map}function gd(e=!0){const n=t.useContext(ti);if(null===n)return[!0,null];const{isPresent:r,onExitComplete:i,register:o}=n,s=t.useId();t.useEffect(()=>{if(e)return o(s)},[e]);const a=t.useCallback(()=>e&&i&&i(s),[s,i,e]);return!r&&i?[!1,a]:[!0]}const bd=e=>e.key||"";function vd(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}const yd=({children:n,custom:r,initial:i=!0,onExitComplete:o,presenceAffectsLayout:s=!0,mode:a="sync",propagate:l=!1,anchorX:c="left",anchorY:u="top",root:d})=>{const[h,p]=gd(l),m=t.useMemo(()=>vd(n),[n]),f=l&&!h?[]:m.map(bd),g=t.useRef(!0),b=t.useRef(m),v=qr(()=>new Map),y=t.useRef(new Set),[x,C]=t.useState(m),[I,w]=t.useState(m);ei(()=>{g.current=!1,b.current=m;for(let e=0;e<I.length;e++){const t=bd(I[e]);f.includes(t)?(v.delete(t),y.current.delete(t)):!0!==v.get(t)&&v.set(t,!1)}},[I,f.length,f.join("-")]);const A=[];if(m!==x){let e=[...m];for(let t=0;t<I.length;t++){const n=I[t],r=bd(n);f.includes(r)||(e.splice(t,0,n),A.push(n))}return"wait"===a&&A.length&&(e=A),w(vd(e)),C(m),null}"production"!==process.env.NODE_ENV&&"wait"===a&&I.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.');const{forceRender:E}=t.useContext(Qr);return e.jsx(e.Fragment,{children:I.map(t=>{const n=bd(t),x=!(l&&!h)&&(m===I||f.includes(n));return e.jsx(md,{isPresent:x,initial:!(g.current&&!i)&&void 0,custom:r,presenceAffectsLayout:s,mode:a,root:d,onExitComplete:x?void 0:()=>{if(y.current.has(n))return;if(!v.has(n))return;y.current.add(n),v.set(n,!0);let e=!0;v.forEach(t=>{t||(e=!1)}),e&&(E?.(),w(b.current),l&&p?.(),o&&o())},anchorX:c,anchorY:u,children:t},n)})})},xd=t.createContext({strict:!1}),Cd={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"]};let Id=!1;function wd(){return function(){if(Id)return;const e={};for(const t in Cd)e[t]={isEnabled:e=>Cd[t].some(t=>!!e[t])};ql(e),Id=!0}(),Ql}const Ad=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Ed(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Ad.has(e)}let Nd=e=>!Ed(e);try{"function"==typeof(Sd=require("@emotion/is-prop-valid").default)&&(Nd=e=>e.startsWith("on")?!Ed(e):Sd(e))}catch{}var Sd;const jd=t.createContext({});function Td(e){const{initial:n,animate:r}=function(e,t){if(Yl(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Fl(t)?t:void 0,animate:Fl(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(jd));return t.useMemo(()=>({initial:n,animate:r}),[kd(n),kd(r)])}function kd(e){return Array.isArray(e)?e.join(" "):e}const Bd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Rd(e,t,n){for(const r in t)Ma(t[r])||jc(r,n)||(e[r]=t[r])}function Pd(e,n){const r={};return Rd(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},n){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return Ic(t,n,e),Object.assign({},t.vars,t.style)},[n])}(e,n)),r}function Ld(e,t){const n={},r=Pd(e,t);return e.drag&&!1!==e.dragListener&&(n.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)&&(n.tabIndex=0),n.style=r,n}const Gd=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function Od(e,n,r,i){const o=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Lc(t,n,Oc(i),e.transformTemplate,e.style),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};Rd(t,e.style,e),o.style={...t,...o.style}}return o}const Md=["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 Dd(e){return"string"==typeof e&&!e.includes("-")&&!!(Md.indexOf(e)>-1||/[A-Z]/u.test(e))}function Vd(e,n,r,{latestValues:i},o,s=!1,a){const l=(a??Dd(e)?Od:Ld)(n,i,o,e),c=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||Ma(e[i])||(Nd(i)||!0===n&&Ed(i)||!t&&!Ed(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof e,s),u=e!==t.Fragment?{...c,...l,ref:r}:{},{children:d}=n,h=t.useMemo(()=>Ma(d)?d.get():d,[d]);return t.createElement(e,{...u,children:h})}function Wd(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=ju(o[e]);let{initial:s,animate:a}=e;const l=Yl(e),c=_l(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&&!Xl(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=Ta(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const t in e)i[t]=e[t]}}}return i}const Hd=e=>(n,r)=>{const i=t.useContext(jd),o=t.useContext(ti),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Wd(n,r,i,e),renderState:t()}}(e,n,i,o);return r?s():qr(s)},Xd=Hd({scrapeMotionValuesFromProps:Tc,createRenderState:Bd}),Fd=Hd({scrapeMotionValuesFromProps:Mc,createRenderState:Gd}),zd=Symbol.for("motionComponentSymbol");function Zd(e,n,r){const i=t.useRef(r);t.useInsertionEffect(()=>{i.current=r});const o=t.useRef(null);return t.useCallback(t=>{t&&e.onMount?.(t);const r=i.current;if("function"==typeof r)if(t){const e=r(t);"function"==typeof e&&(o.current=e)}else o.current?(o.current(),o.current=null):r(t);else r&&(r.current=t);n&&(t?n.mount(t):n.unmount())},[n])}const Yd=t.createContext({});function _d(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Jd(e,n,r,i,o,s){const{visualElement:a}=t.useContext(jd),l=t.useContext(xd),c=t.useContext(ti),u=t.useContext(cd),d=u.reducedMotion,h=u.skipAnimations,p=t.useRef(null),m=t.useRef(!1);i=i||l.renderer,!p.current&&i&&(p.current=i(e,{visualState:n,parent:a,props:r,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:d,skipAnimations:h,isSVG:s}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const f=p.current,g=t.useContext(Yd);!f||f.projection||!o||"html"!==f.type&&"svg"!==f.type||function(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Ud(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:Boolean(s)||a&&_d(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(p.current,r,o,g);const b=t.useRef(!1);t.useInsertionEffect(()=>{f&&b.current&&f.update(r,c)});const v=r[Wa],y=t.useRef(Boolean(v)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return ei(()=>{m.current=!0,f&&(b.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),y.current&&f.animationState&&f.animationState.animateChanges())}),t.useEffect(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),f.enteringChildren=void 0)}),f}function Ud(e){if(e)return!1!==e.options.allowProjection?e.projection:Ud(e.parent)}function $d(n,{forwardMotionProps:r=!1,type:i}={},o,s){o&&function(e){const t=wd();for(const n in e)t[n]={...t[n],...e[n]};ql(t)}(o);const a=i?"svg"===i:Dd(n),l=a?Fd:Xd;function c(i,c){let u;const d={...t.useContext(cd),...i,layoutId:Kd(i)},{isStatic:h}=d,p=Td(i),m=l(i,h);if(!h&&"undefined"!=typeof window){!function(e,n){const r=t.useContext(xd).strict;if("production"!==process.env.NODE_ENV&&n&&r){const t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?si(!1,t,"lazy-strict-mode"):ai(!1,t,"lazy-strict-mode")}}(d,o);const e=function(e){const t=wd(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(d);u=e.MeasureLayout,p.visualElement=Jd(n,m,d,s,e.ProjectionNode,a)}return e.jsxs(jd.Provider,{value:p,children:[u&&p.visualElement?e.jsx(u,{visualElement:p.visualElement,...d}):null,Vd(n,i,Zd(m,p.visualElement,c),m,h,r,a)]})}c.displayName=`motion.${"string"==typeof n?n:`create(${n.displayName??n.name??""})`}`;const u=t.forwardRef(c);return u[zd]=n,u}function Kd({layoutId:e}){const n=t.useContext(Qr).id;return n&&void 0!==e?n+"-"+e:e}function Qd(e,t){if("undefined"==typeof Proxy)return $d;const n=new Map,r=(n,r)=>$d(n,r,e,t);return new Proxy((e,t)=>("production"!==process.env.NODE_ENV&&Ii(!1,"motion() is deprecated. Use motion.create() instead."),r(e,t)),{get:(i,o)=>"create"===o?r:(n.has(o)||n.set(o,$d(o,void 0,e,t)),n.get(o))})}const qd=(e,n)=>n.isSVG??Dd(e)?new Dc(n):new kc(n,{allowProjection:e!==t.Fragment});let eh=0;const th={animation:{Feature:class extends nc{constructor(e){super(e),e.animationState||(e.animationState=Zc(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Xl(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends nc{constructor(){super(...arguments),this.id=eh++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){const{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){const n=ka(this.node,e,t);if(n){const{transition:e,transitionEnd:t,...r}=n;for(const e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function nh(e){return{point:{x:e.pageX,y:e.pageY}}}function rh(e,t,n,r){return Eu(e,t,(e=>t=>bl(t)&&e(t,nh(t)))(n),r)}const ih=({current:e})=>e?e.ownerDocument.defaultView:null,oh=(e,t)=>Math.abs(e-t);const sh=new Set(["auto","scroll"]);class ah{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=lh(this.lastRawMoveEventInfo,this.transformPagePoint));const e=uh(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=oh(e.x,t.x),r=oh(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=zi;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.lastRawMoveEventInfo=t,this.lastMoveEventInfo=lh(t,this.transformPagePoint),Xi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||i&&i(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=uh("pointercancel"===e.type?this.lastMoveEventInfo:lh(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!bl(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;const a=lh(nh(e),this.transformPagePoint),{point:l}=a,{timestamp:c}=zi;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=t;u&&u(e,uh(a,this.history)),this.removeListeners=fi(rh(this.contextWindow,"pointermove",this.handlePointerMove),rh(this.contextWindow,"pointerup",this.handlePointerUp),rh(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(sh.has(e.overflowX)||sh.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i=r.x-t.x,o=r.y-t.y;0===i&&0===o||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i,this.lastMoveEventInfo.point.y+=o):this.history.length>0&&(this.history[0].x-=i,this.history[0].y-=o),this.scrollPositions.set(e,r),Xi.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Fi(this.updatePoint)}}function lh(e,t){return t?{point:t(e.point)}:e}function ch(e,t){return{x:e.x-t.x,y:e.y-t.y}}function uh({point:e},t){return{point:e,delta:ch(e,hh(t)),offset:ch(e,dh(t)),velocity:ph(t,.1)}}function dh(e){return e[0]}function hh(e){return e[e.length-1]}function ph(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=hh(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>vi(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>2*vi(t)&&(r=e[1]);const o=yi(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 mh(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 fh(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 gh=.35;function bh(e,t,n){return{min:vh(e,t),max:vh(e,n)}}function vh(e,t){return"number"==typeof e?e:e[t]||0}const yh=new WeakMap;class xh{constructor(e){this.openDragLock=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.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new ah(e,{onSessionStart:e=>{t&&this.snapToCursor(nh(e).point),this.stopAnimation()},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?hl[o]?null:(hl[o]=!0,()=>{hl[o]=!1}):hl.x||hl.y?null:(hl.x=hl.y=!0,()=>{hl.x=hl.y=!1}),!this.openDragLock))return;var o;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),gu(e=>{let t=this.getAxisMotionValue(e).get()||0;if(fo.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Qc(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&Xi.update(()=>i(e,t),!1,!0),Da(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)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&&Xi.update(()=>o(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:n,contextWindow:ih(this.visualElement),element:this.visualElement.current})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&Xi.postRender(()=>s(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Ih(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?Ro(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Ro(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(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&_d(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:mh(e.x,n,i),y:mh(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=gh){return!1===e?e=0:!0===e&&(e=gh),{x:bh(e,"left","right"),y:bh(e,"top","bottom")}}(t),r!==this.constraints&&!_d(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&gu(e=>{!1!==this.constraints&&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||!_d(e))return!1;const n=e.current;ai(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=yc(e,n),{scroll:i}=t;return i&&(fc(r.x,i.offset.x),fc(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:fh(e.x,t.x),y:fh(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=rc(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=gu(s=>{if(!Ih(s,t,this.currentDirection))return;let l=a&&a[s]||{};!0!==o&&o!==s||(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 Da(this.visualElement,e),n.start(Sa(e,n,0,t,this.visualElement,!1))}stopAnimation(){gu(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){gu(t=>{const{drag:n}=this.getProps();if(!Ih(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],s=i.get()||0;i.set(e[t]-Ro(n,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!_d(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};gu(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=Qc(e),i=Qc(t);return i>r?n=gi(t.min,t.max-r,e.min):r>i&&(n=gi(e.min,e.max-i,t.min)),ii(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.constraints=!1,this.resolveConstraints(),gu(t=>{if(!Ih(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(Ro(i,o,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;yh.set(this.visualElement,this);const e=this.visualElement.current,t=rh(e,"pointerdown",t=>{const{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,o=i!==e&&function(e){return yl.has(e.tagName)||!0===e.isContentEditable}(i);n&&r&&!o&&this.start(t)});let n;const r=()=>{const{dragConstraints:t}=this.getProps();_d(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(e,t,n){const r=Dl(e,Ch(n)),i=Dl(t,Ch(n));return()=>{r(),i()}}(e,t.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Xi.read(r);const s=Eu(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(gu(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),t(),o(),a&&a(),n&&n()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=gh,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function Ch(e){let t=!0;return()=>{t?t=!1:e()}}function Ih(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const wh=e=>(t,n)=>{e&&Xi.update(()=>e(t,n),!1,!0)};let Ah=!1;class Eh extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),Ah&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ku.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o?(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),Ah=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||Xi.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),dl.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Ah=!0,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 Nh(n){const[r,i]=gd(),o=t.useContext(Qr);return e.jsx(Eh,{...n,layoutGroup:o,switchLayoutGroup:t.useContext(Yd),isPresent:r,safeToRemove:i})}const Sh={pan:{Feature:class extends nc{constructor(){super(...arguments),this.removePointerDownListener=pi}onPointerDown(e){this.session=new ah(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ih(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:wh(e),onStart:wh(t),onMove:wh(n),onEnd:(e,t)=>{delete this.session,r&&Xi.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=rh(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 nc{constructor(e){super(e),this.removeGroupControls=pi,this.removeListeners=pi,this.controls=new xh(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||pi}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:ld,MeasureLayout:Nh}};function jh(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const i=r["onHover"+n];i&&Xi.postRender(()=>i(t,nh(t)))}function Th(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const i=r["onTap"+("End"===n?"":n)];i&&Xi.postRender(()=>i(t,nh(t)))}const kh=new WeakMap,Bh=new WeakMap,Rh=e=>{const t=kh.get(e.target);t&&t(e)},Ph=e=>{e.forEach(Rh)};function Lh(e,t,n){const r=function({root:e,...t}){const n=e||document;Bh.has(n)||Bh.set(n,{});const r=Bh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Ph,{root:e,...t})),r[i]}(t);return kh.set(e,n),r.observe(e),()=>{kh.delete(e),r.unobserve(e)}}const Gh={some:0,all:1};const Oh={inView:{Feature:class extends nc{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();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:Gh[r]};this.stopObserver=Lh(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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends nc{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=El(e,(e,t)=>(Th(this.node,t,"Start"),(e,{success:t})=>Th(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends nc{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=fi(Eu(this.node.current,"focus",()=>this.onFocus()),Eu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends nc{mount(){const{current:e}=this.node;e&&(this.unmount=fl(e,(e,t)=>(jh(this.node,t,"Start"),e=>jh(this.node,e,"End"))))}unmount(){}}}},Mh=Qd({...th,...Oh,...Sh,...{layout:{ProjectionNode:ld,MeasureLayout:Nh}}},qd);function Dh(){return Dh=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},Dh.apply(null,arguments)}function Vh(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 Wh(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Hh(...e){return t.useCallback(Wh(...e),e)}function Xh(...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 Fh=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},zh=l["useId".toString()]||(()=>{});let Zh=0;function Yh(e){const[t,n]=l.useState(zh());return Fh(()=>{n(e=>null!=e?e:String(Zh++))},[e]),e||(t?`radix-${t}`:"")}function _h(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 Jh({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=_h(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=_h(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 Uh=t.forwardRef((e,n)=>{const{children:r,...i}=e,o=t.Children.toArray(r),s=o.find(Qh);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($h,Dh({},i,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement($h,Dh({},i,{ref:n}),r)});Uh.displayName="Slot";const $h=t.forwardRef((e,n)=>{const{children:r,...i}=e;return t.isValidElement(r)?t.cloneElement(r,{...qh(i,r.props),ref:n?Wh(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});$h.displayName="SlotClone";const Kh=({children:e})=>t.createElement(t.Fragment,null,e);function Qh(e){return t.isValidElement(e)&&e.type===Kh}function qh(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 ep=["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?Uh:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,Dh({},o,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const tp="dismissableLayer.update",np="dismissableLayer.pointerDownOutside",rp="dismissableLayer.focusOutside";let ip;const op=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),sp=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(op),[h,p]=t.useState(null),m=null!==(r=null==h?void 0:h.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=Hh(n,e=>p(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=b.indexOf(v),x=h?b.indexOf(h):-1,C=d.layersWithOutsidePointerEventsDisabled.size>0,I=x>=y,w=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=_h(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(){lp(np,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));I&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},m),A=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=_h(e),i=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){lp(rp,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())},m);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=_h(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[r,n])}(e=>{x===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},m),t.useEffect(()=>{if(h)return i&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(ip=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(h)),d.layers.add(h),ap(),()=>{i&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=ip)}},[h,m,i,d]),t.useEffect(()=>()=>{h&&(d.layers.delete(h),d.layersWithOutsidePointerEventsDisabled.delete(h),ap())},[h,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(tp,e),()=>document.removeEventListener(tp,e)},[]),t.createElement(ep.div,Dh({},u,{ref:g,style:{pointerEvents:C?I?"auto":"none":void 0,...e.style},onFocusCapture:Vh(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Vh(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Vh(e.onPointerDownCapture,w.onPointerDownCapture)}))});function ap(){const e=new CustomEvent(tp);document.dispatchEvent(e)}function lp(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}(o,s):o.dispatchEvent(s)}const cp="focusScope.autoFocusOnMount",up="focusScope.autoFocusOnUnmount",dp={bubbles:!1,cancelable:!0},hp=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=_h(o),d=_h(s),h=t.useRef(null),p=Hh(n,e=>c(e)),m=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(i){function e(e){if(m.paused||!l)return;const t=e.target;l.contains(t)?h.current=t:gp(h.current,{select:!0})}function t(e){if(m.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||gp(h.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&gp(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,m.paused]),t.useEffect(()=>{if(l){bp.add(m);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(cp,dp);l.addEventListener(cp,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(gp(r,{select:t}),document.activeElement!==n)return}((e=pp(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&gp(l))}return()=>{l.removeEventListener(cp,u),setTimeout(()=>{const e=new CustomEvent(up,dp);l.addEventListener(up,d),l.dispatchEvent(e),e.defaultPrevented||gp(null!=t?t:document.body,{select:!0}),l.removeEventListener(up,d),bp.remove(m)},0)}}var e},[l,u,d,m]);const f=t.useCallback(e=>{if(!r&&!i)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[i,o]=function(e){const t=pp(e),n=mp(t,e),r=mp(t.reverse(),e);return[n,r]}(t);i&&o?e.shiftKey||n!==o?e.shiftKey&&n===i&&(e.preventDefault(),r&&gp(o,{select:!0})):(e.preventDefault(),r&&gp(i,{select:!0})):n===t&&e.preventDefault()}},[r,i,m.paused]);return t.createElement(ep.div,Dh({tabIndex:-1},a,{ref:p,onKeyDown:f}))});function pp(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 mp(e,t){for(const n of e)if(!fp(n,{upTo:t}))return n}function fp(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 gp(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 bp=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=vp(e,t),e.unshift(t)},remove(t){var n;e=vp(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function vp(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const yp=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?d.default.createPortal(t.createElement(ep.div,Dh({},o,{ref:n})),i):null});const xp=e=>{const{present:n,children:r}=e,o=function(e){const[n,r]=t.useState(),o=t.useRef({}),s=t.useRef(e),a=t.useRef("none"),l=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=Cp(o.current);a.current="mounted"===c?e:"none"},[c]),Fh(()=>{const t=o.current,n=s.current;if(n!==e){const r=a.current,i=Cp(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")}s.current=e}},[e,u]),Fh(()=>{if(n){const e=e=>{const t=Cp(o.current).includes(e.animationName);e.target===n&&t&&i.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=Cp(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}(n),s="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=Hh(o.ref,s.ref);return"function"==typeof r||o.isPresent?t.cloneElement(s,{ref:a}):null};function Cp(e){return(null==e?void 0:e.animationName)||"none"}xp.displayName="Presence";let Ip=0;function wp(){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 Ap=function(){return Ap=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},Ap.apply(this,arguments)};function Ep(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 Np="right-scroll-bar-position",Sp="width-before-scroll-bar";function jp(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Tp="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,kp=new WeakMap;function Bp(e,n){var r,i,o,s=(r=null,i=function(t){return e.forEach(function(e){return jp(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 Tp(function(){var t=kp.get(s);if(t){var n=new Set(t),r=new Set(e),i=s.current;n.forEach(function(e){r.has(e)||jp(e,null)}),r.forEach(function(e){n.has(e)||jp(e,i)})}kp.set(s,e)},[e]),s}function Rp(e){return e}var Pp=function(e){var t=e.sideCar,n=Ep(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 l.createElement(r,Ap({},n))};Pp.isSideCarExport=!0;var Lp=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Rp);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=Ap({async:!0,ssr:!1},e),t}(),Gp=function(){},Op=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Gp,onWheelCapture:Gp,onTouchMoveCapture:Gp}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,p=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=Ep(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,C=Bp([n,t]),I=Ap(Ap({},y),i);return l.createElement(l.Fragment,null,d&&l.createElement(x,{sideCar:Lp,removeScrollBar:u,shards:h,noIsolation:m,inert:f,setCallbacks:o,allowPinchZoom:!!g,lockRef:n}),s?l.cloneElement(l.Children.only(a),Ap(Ap({},I),{ref:C})):l.createElement(v,Ap({},I,{className:c,ref:C}),a))});Op.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Op.classNames={fullWidth:Sp,zeroRight:Np};function Mp(){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 Dp=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=Mp())&&(!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)}}},Vp=function(){var e,t=(e=Dp(),function(t,n){l.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}},Wp={left:0,top:0,right:0,gap:0},Hp=function(e){return parseInt(e||"",10)||0},Xp=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Wp;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[Hp(n),Hp(r),Hp(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])}},Fp=Vp(),zp="data-scroll-locked",Zp=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(zp,"] {\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(Np," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(Sp," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(Np," .").concat(Np," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Sp," .").concat(Sp," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(zp,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Yp=function(){var e=parseInt(document.body.getAttribute(zp)||"0",10);return isFinite(e)?e:0},_p=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;l.useEffect(function(){return document.body.setAttribute(zp,(Yp()+1).toString()),function(){var e=Yp()-1;e<=0?document.body.removeAttribute(zp):document.body.setAttribute(zp,e.toString())}},[]);var o=l.useMemo(function(){return Xp(i)},[i]);return l.createElement(Fp,{styles:Zp(o,!t,i,n?"":"!important")})},Jp=!1;if("undefined"!=typeof window)try{var Up=Object.defineProperty({},"passive",{get:function(){return Jp=!0,!0}});window.addEventListener("test",Up,Up),window.removeEventListener("test",Up,Up)}catch(e){Jp=!1}var $p=!!Jp&&{passive:!1},Kp=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])},Qp=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),qp(e,n)){var r=em(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},qp=function(e,t){return"v"===e?function(e){return Kp(e,"overflowY")}(t):function(e){return Kp(e,"overflowX")}(t)},em=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)},tm=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nm=function(e){return[e.deltaX,e.deltaY]},rm=function(e){return e&&"current"in e?e.current:e},im=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},om=0,sm=[];var am,lm=(am=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(om++)[0],o=l.useState(function(){return Vp()})[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.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(rm),!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=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,o=tm(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 h=Qp(d,u);if(!h)return!0;if(h?i=d:(i="v"===d?"h":"v",h=Qp(d,u)),!h)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var p=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 h=em(e,s),p=h[0],m=h[1]-h[2]-i*p;(p||m)&&qp(e,s)&&(u+=m,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)},[]),c=l.useCallback(function(e){var n=e;if(sm.length&&sm[sm.length-1]===o){var r="deltaY"in n?nm(n):tm(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(rm).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=l.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=l.useCallback(function(e){n.current=tm(e),r.current=void 0},[]),h=l.useCallback(function(t){u(t.type,nm(t),t.target,a(t,e.lockRef.current))},[]),p=l.useCallback(function(t){u(t.type,tm(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return sm.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",c,$p),document.addEventListener("touchmove",c,$p),document.addEventListener("touchstart",d,$p),function(){sm=sm.filter(function(e){return e!==o}),document.removeEventListener("wheel",c,$p),document.removeEventListener("touchmove",c,$p),document.removeEventListener("touchstart",d,$p)}},[]);var m=e.removeScrollBar,f=e.inert;return l.createElement(l.Fragment,null,f?l.createElement(o,{styles:im(i)}):null,m?l.createElement(_p,{gapMode:"margin"}):null)},Lp.useMedium(am),Pp),cm=l.forwardRef(function(e,t){return l.createElement(Op,Ap({},e,{ref:t,sideCar:lm}))});cm.classNames=Op.classNames;var um=new WeakMap,dm=new WeakMap,hm={},pm=0,mm=function(e){return e&&(e.host||mm(e.parentNode))},fm=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=mm(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]);hm[n]||(hm[n]=new WeakMap);var o=hm[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=(um.get(e)||0)+1,c=(o.get(e)||0)+1;um.set(e,l),o.set(e,c),s.push(e),1===l&&i&&dm.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(),pm++,function(){s.forEach(function(e){var t=um.get(e)-1,i=o.get(e)-1;um.set(e,t),o.set(e,i),t||(dm.has(e)||e.removeAttribute(r),dm.delete(e)),i||e.removeAttribute(n)}),--pm||(um=new WeakMap,um=new WeakMap,dm=new WeakMap,hm={})}},gm=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"))),fm(r,i,n,"aria-hidden")):function(){return null}};const bm="Dialog",[vm,ym]=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}\``)}]},Xh(i,...n)]}(bm),[xm,Cm]=vm(bm),Im="DialogPortal",[wm,Am]=vm(Im,{forceMount:void 0}),Em="DialogOverlay",Nm=t.forwardRef((e,n)=>{const r=Am(Em,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=Cm(Em,e.__scopeDialog);return s.modal?t.createElement(xp,{present:i||s.open},t.createElement(Sm,Dh({},o,{ref:n}))):null}),Sm=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=Cm(Em,r);return t.createElement(cm,{as:Uh,allowPinchZoom:!0,shards:[o.contentRef]},t.createElement(ep.div,Dh({"data-state":Om(o.open)},i,{ref:n,style:{pointerEvents:"auto",...i.style}})))}),jm="DialogContent",Tm=t.forwardRef((e,n)=>{const r=Am(jm,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=Cm(jm,e.__scopeDialog);return t.createElement(xp,{present:i||s.open},s.modal?t.createElement(km,Dh({},o,{ref:n})):t.createElement(Bm,Dh({},o,{ref:n})))}),km=t.forwardRef((e,n)=>{const r=Cm(jm,e.__scopeDialog),i=t.useRef(null),o=Hh(n,r.contentRef,i);return t.useEffect(()=>{const e=i.current;if(e)return gm(e)},[]),t.createElement(Rm,Dh({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Vh(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Vh(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Vh(e.onFocusOutside,e=>e.preventDefault())}))}),Bm=t.forwardRef((e,n)=>{const r=Cm(jm,e.__scopeDialog),i=t.useRef(!1),o=t.useRef(!1);return t.createElement(Rm,Dh({},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()}}))}),Rm=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,...a}=e,l=Cm(jm,r),c=Hh(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:wp()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:wp()),Ip++,()=>{1===Ip&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Ip--}},[]),t.createElement(t.Fragment,null,t.createElement(hp,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:s},t.createElement(sp,Dh({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Om(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),Pm="DialogTitle",Lm="DialogClose",Gm=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=Cm(Lm,r);return t.createElement(ep.button,Dh({type:"button"},i,{ref:n,onClick:Vh(e.onClick,()=>o.onOpenChange(!1))}))});function Om(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:jm,titleName:Pm,docsSlug:"dialog"});const Mm=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]=Jh({prop:i,defaultProp:o,onChange:s});return t.createElement(xm,{scope:n,triggerRef:l,contentRef:c,contentId:Yh(),titleId:Yh(),descriptionId:Yh(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},r)},Dm=e=>{const{__scopeDialog:n,forceMount:r,children:i,container:o}=e,s=Cm(Im,n);return t.createElement(wm,{scope:n,forceMount:r},t.Children.map(i,e=>t.createElement(xp,{present:r||s.open},t.createElement(yp,{asChild:!0,container:o},e))))},Vm=Nm,Wm=Tm,Hm=Gm,Xm=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(Mm,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(Dm,{children:[e.jsx(Mh.div,{initial:"closed",animate:n?"open":"closed",variants:Ur,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Vm,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(Mh.div,{initial:"closed",animate:n?"open":"closed",variants:$r,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(Wm,{className:Ee("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:Kr[i||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(Hm,{asChild:!0,children:e.jsx(dr,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx($n,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[o?e.jsx(Kn,{className:Ee("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(Kn,{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]})]})]})})})})]})})},Fm=({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(or,{className:s,onClick:()=>r(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx($n,{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(or,{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(or,{className:s,onClick:()=>r(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx($n,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function zm(e){return zm="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},zm(e)}function Zm(e){var t=function(e,t){if("object"!=zm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=zm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zm(t)?t:t+""}function Ym(e,t,n){return(t=Zm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _m(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 Jm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_m(Object(n),!0).forEach(function(t){Ym(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Um(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 $m(e,t){if(e){if("string"==typeof e)return Um(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)?Um(e,t):void 0}}function Km(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)||$m(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 Qm(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 qm=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ef(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,Zm(r.key),r)}}function tf(e,t){return tf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tf(e,t)}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nf(e)}function rf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rf=function(){return!!e})()}function of(e,t){if(t&&("object"==zm(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 sf(e){return function(e){if(Array.isArray(e))return Um(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$m(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 af=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}(),lf="-ms-",cf="-moz-",uf="-webkit-",df="comm",hf="rule",pf="decl",mf="@keyframes",ff=Math.abs,gf=String.fromCharCode,bf=Object.assign;function vf(e){return e.trim()}function yf(e,t,n){return e.replace(t,n)}function xf(e,t){return e.indexOf(t)}function Cf(e,t){return 0|e.charCodeAt(t)}function If(e,t,n){return e.slice(t,n)}function wf(e){return e.length}function Af(e){return e.length}function Ef(e,t){return t.push(e),e}var Nf=1,Sf=1,jf=0,Tf=0,kf=0,Bf="";function Rf(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Nf,column:Sf,length:s,return:""}}function Pf(e,t){return bf(Rf("",null,null,"",null,null,0),e,{length:-e.length},t)}function Lf(){return kf=Tf>0?Cf(Bf,--Tf):0,Sf--,10===kf&&(Sf=1,Nf--),kf}function Gf(){return kf=Tf<jf?Cf(Bf,Tf++):0,Sf++,10===kf&&(Sf=1,Nf++),kf}function Of(){return Cf(Bf,Tf)}function Mf(){return Tf}function Df(e,t){return If(Bf,e,t)}function Vf(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 Wf(e){return Nf=Sf=1,jf=wf(Bf=e),Tf=0,[]}function Hf(e){return Bf="",e}function Xf(e){return vf(Df(Tf-1,Zf(91===e?e+2:40===e?e+1:e)))}function Ff(e){for(;(kf=Of())&&kf<33;)Gf();return Vf(e)>2||Vf(kf)>3?"":" "}function zf(e,t){for(;--t&&Gf()&&!(kf<48||kf>102||kf>57&&kf<65||kf>70&&kf<97););return Df(e,Mf()+(t<6&&32==Of()&&32==Gf()))}function Zf(e){for(;Gf();)switch(kf){case e:return Tf;case 34:case 39:34!==e&&39!==e&&Zf(kf);break;case 40:41===e&&Zf(e);break;case 92:Gf()}return Tf}function Yf(e,t){for(;Gf()&&e+kf!==57&&(e+kf!==84||47!==Of()););return"/*"+Df(t,Tf-1)+"*"+gf(47===e?e:Gf())}function _f(e){for(;!Vf(Of());)Gf();return Df(e,Tf)}function Jf(e){return Hf(Uf("",null,null,null,[""],e=Wf(e),0,[0],e))}function Uf(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,h=0,p=0,m=0,f=1,g=1,b=1,v=0,y="",x=i,C=o,I=r,w=y;g;)switch(m=v,v=Gf()){case 40:if(108!=m&&58==Cf(w,d-1)){-1!=xf(w+=yf(Xf(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Xf(v);break;case 9:case 10:case 13:case 32:w+=Ff(m);break;case 92:w+=zf(Mf()-1,7);continue;case 47:switch(Of()){case 42:case 47:Ef(Kf(Yf(Gf(),Mf()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=wf(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=yf(w,/\f/g,"")),p>0&&wf(w)-d&&Ef(p>32?Qf(w+";",r,n,d-1):Qf(yf(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(Ef(I=$f(w,t,n,c,u,i,a,y,x=[],C=[],d),o),123===v)if(0===u)Uf(w,t,I,I,x,o,d,a,C);else switch(99===h&&110===Cf(w,3)?100:h){case 100:case 108:case 109:case 115:Uf(e,I,I,r&&Ef($f(e,I,I,0,0,i,a,y,i,x=[],d),C),i,C,d,a,r?x:C);break;default:Uf(w,I,I,I,[""],C,0,a,C)}}c=u=p=0,f=b=1,y=w="",d=s;break;case 58:d=1+wf(w),p=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Lf())continue;switch(w+=gf(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(wf(w)-1)*b,b=1;break;case 64:45===Of()&&(w+=Xf(Gf())),h=Of(),u=d=wf(y=w+=_f(Mf())),v++;break;case 45:45===m&&2==wf(w)&&(f=0)}}return o}function $f(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,h=0===i?o:[""],p=Af(h),m=0,f=0,g=0;m<r;++m)for(var b=0,v=If(e,d+1,d=ff(f=s[m])),y=e;b<p;++b)(y=vf(f>0?h[b]+" "+v:yf(v,/&\f/g,h[b])))&&(l[g++]=y);return Rf(e,t,n,0===i?hf:a,l,c,u)}function Kf(e,t,n){return Rf(e,t,n,df,gf(kf),If(e,2,-2),0)}function Qf(e,t,n,r){return Rf(e,t,n,pf,If(e,0,r),If(e,r+1,-1),r)}function qf(e,t){for(var n="",r=Af(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function eg(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case pf:return e.return=e.return||e.value;case df:return"";case mf:return e.return=e.value+"{"+qf(e.children,r)+"}";case hf:e.value=e.props.join(",")}return wf(n=qf(e.children,r))?e.return=e.value+"{"+n+"}":""}function tg(e){var t=Af(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 ng="undefined"!=typeof document,rg=function(e,t,n){for(var r=0,i=0;r=i,i=Of(),38===r&&12===i&&(t[n]=1),!Vf(i);)Gf();return Df(e,Tf)},ig=function(e,t){return Hf(function(e,t){var n=-1,r=44;do{switch(Vf(r)){case 0:38===r&&12===Of()&&(t[n]=1),e[n]+=rg(Tf-1,t,n);break;case 2:e[n]+=Xf(r);break;case 4:if(44===r){e[++n]=58===Of()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=gf(r)}}while(r=Gf());return e}(Wf(e),t))},og=new WeakMap,sg=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)||og.get(n))&&!r){og.set(e,!0);for(var i=[],o=ig(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]}}},ag=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function lg(e,t){switch(function(e,t){return 45^Cf(e,0)?(((t<<2^Cf(e,0))<<2^Cf(e,1))<<2^Cf(e,2))<<2^Cf(e,3):0}(e,t)){case 5103:return uf+"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 uf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return uf+e+cf+e+lf+e+e;case 6828:case 4268:return uf+e+lf+e+e;case 6165:return uf+e+lf+"flex-"+e+e;case 5187:return uf+e+yf(e,/(\w+).+(:[^]+)/,uf+"box-$1$2"+lf+"flex-$1$2")+e;case 5443:return uf+e+lf+"flex-item-"+yf(e,/flex-|-self/,"")+e;case 4675:return uf+e+lf+"flex-line-pack"+yf(e,/align-content|flex-|-self/,"")+e;case 5548:return uf+e+lf+yf(e,"shrink","negative")+e;case 5292:return uf+e+lf+yf(e,"basis","preferred-size")+e;case 6060:return uf+"box-"+yf(e,"-grow","")+uf+e+lf+yf(e,"grow","positive")+e;case 4554:return uf+yf(e,/([^-])(transform)/g,"$1"+uf+"$2")+e;case 6187:return yf(yf(yf(e,/(zoom-|grab)/,uf+"$1"),/(image-set)/,uf+"$1"),e,"")+e;case 5495:case 3959:return yf(e,/(image-set\([^]*)/,uf+"$1$`$1");case 4968:return yf(yf(e,/(.+:)(flex-)?(.*)/,uf+"box-pack:$3"+lf+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+uf+e+e;case 4095:case 3583:case 4068:case 2532:return yf(e,/(.+)-inline(.+)/,uf+"$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(wf(e)-1-t>6)switch(Cf(e,t+1)){case 109:if(45!==Cf(e,t+4))break;case 102:return yf(e,/(.+:)(.+)-([^]+)/,"$1"+uf+"$2-$3$1"+cf+(108==Cf(e,t+3)?"$3":"$2-$3"))+e;case 115:return~xf(e,"stretch")?lg(yf(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Cf(e,t+1))break;case 6444:switch(Cf(e,wf(e)-3-(~xf(e,"!important")&&10))){case 107:return yf(e,":",":"+uf)+e;case 101:return yf(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+uf+(45===Cf(e,14)?"inline-":"")+"box$3$1"+uf+"$2$3$1"+lf+"$2box$3")+e}break;case 5936:switch(Cf(e,t+11)){case 114:return uf+e+lf+yf(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return uf+e+lf+yf(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return uf+e+lf+yf(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return uf+e+lf+e+e}return e}var cg,ug,dg,hg=ng?void 0:(cg=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},ug=new WeakMap,function(e){if(ug.has(e))return ug.get(e);var t=cg(e);return ug.set(e,t),t}),pg=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case pf:e.return=lg(e.value,e.length);break;case mf:return qf([Pf(e,{value:yf(e.value,"@","@"+uf)})],r);case hf: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 qf([Pf(e,{props:[yf(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return qf([Pf(e,{props:[yf(t,/:(plac\w+)/,":"+uf+"input-$1")]}),Pf(e,{props:[yf(t,/:(plac\w+)/,":-moz-$1")]}),Pf(e,{props:[yf(t,/:(plac\w+)/,lf+"input-$1")]})],r)}return""})}}],mg=function(e){var t=e.key;if(ng&&"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||pg,s={},a=[];ng&&(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=[sg,ag];if(hg){var u=[eg],d=tg(c.concat(o,u)),h=hg(o)(t),p=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=qf(Jf(e?e+"{"+t.styles+"}":t.styles),d)),h[n]};i=function(e,t,n,r){var i=t.name,o=p(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var m,f=[eg,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=tg(c.concat(o,f));i=function(e,t,n,r){m=n,qf(Jf(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new af({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},fg={exports:{}},gg={};var bg,vg,yg,xg,Cg={};
|
|
6
6
|
/** @license React v16.13.1
|
|
7
7
|
* react-is.development.js
|
|
8
8
|
*
|
|
@@ -10,5 +10,5 @@ function nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r
|
|
|
10
10
|
*
|
|
11
11
|
* This source code is licensed under the MIT license found in the
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/function xh(){return fh||(fh=1,"production"===process.env.NODE_ENV?ph.exports=function(){if(lh)return hh;lh=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function 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 m:case h:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return hh.AsyncMode=l,hh.ConcurrentMode=c,hh.ContextConsumer=a,hh.ContextProvider=s,hh.Element=t,hh.ForwardRef=u,hh.Fragment=r,hh.Lazy=m,hh.Memo=h,hh.Portal=n,hh.Profiler=o,hh.StrictMode=i,hh.Suspense=d,hh.isAsyncMode=function(e){return y(e)||x(e)===l},hh.isConcurrentMode=y,hh.isContextConsumer=function(e){return x(e)===a},hh.isContextProvider=function(e){return x(e)===s},hh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},hh.isForwardRef=function(e){return x(e)===u},hh.isFragment=function(e){return x(e)===r},hh.isLazy=function(e){return x(e)===m},hh.isMemo=function(e){return x(e)===h},hh.isPortal=function(e){return x(e)===n},hh.isProfiler=function(e){return x(e)===o},hh.isStrictMode=function(e){return x(e)===i},hh.isSuspense=function(e){return x(e)===d},hh.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},hh.typeOf=x,hh}():ph.exports=(mh||(mh=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,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function 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 m:case h:case s:return g;default:return p}}case n:return p}}}var y=l,I=c,C=a,w=s,A=t,N=u,E=r,j=m,k=h,T=n,P=o,R=i,G=d,S=!1;function B(e){return x(e)===c}vh.AsyncMode=y,vh.ConcurrentMode=I,vh.ContextConsumer=C,vh.ContextProvider=w,vh.Element=A,vh.ForwardRef=N,vh.Fragment=E,vh.Lazy=j,vh.Memo=k,vh.Portal=T,vh.Profiler=P,vh.StrictMode=R,vh.Suspense=G,vh.isAsyncMode=function(e){return S||(S=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),B(e)||x(e)===l},vh.isConcurrentMode=B,vh.isContextConsumer=function(e){return x(e)===a},vh.isContextProvider=function(e){return x(e)===s},vh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},vh.isForwardRef=function(e){return x(e)===u},vh.isFragment=function(e){return x(e)===r},vh.isLazy=function(e){return x(e)===m},vh.isMemo=function(e){return x(e)===h},vh.isPortal=function(e){return x(e)===n},vh.isProfiler=function(e){return x(e)===o},vh.isStrictMode=function(e){return x(e)===i},vh.isSuspense=function(e){return x(e)===d},vh.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},vh.typeOf=x}()),vh)),ph.exports}!function(){if(bh)return gh;bh=1;var e=xh(),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;gh=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=a(r);l&&(h=h.concat(l(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||i&&i[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{s(t,b,v)}catch(e){}}}}return t}}();var yh="undefined"!=typeof document;var Ih=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===yh&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Ch={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},wh=/[A-Z]|^ms/g,Ah=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nh=function(e){return 45===e.charCodeAt(1)},Eh=function(e){return null!=e&&"boolean"!=typeof e},jh=Kp(function(e){return Nh(e)?e:e.replace(wh,"-$&").toLowerCase()}),kh=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ah,function(e,t,n){return Ph={name:t,styles:n,next:Ph},t})}return 1===Ch[e]||Nh(e)||"number"!=typeof t||0===t?t:t+"px"};function Th(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 Ph={name:i.name,styles:i.styles,next:Ph},i.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)Ph={name:s.name,styles:s.styles,next:Ph},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+=Th(e,t,n[i])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;Eh(a)&&(r+=jh(o)+":"+kh(o,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)Eh(s[l])&&(r+=jh(o)+":"+kh(o,s[l])+";");else{var c=Th(e,t,s);switch(o){case"animation":case"animationName":r+=jh(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=Ph,l=n(e);return Ph=a,Th(e,t,l)}}return n}var Ph,Rh=/label:\s*([^\s;{]+)\s*(;|$)/g;function Gh(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="";Ph=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Th(n,t,o)):i+=o[0];for(var s=1;s<e.length;s++){if(i+=Th(n,t,e[s]),r)i+=o[s]}Rh.lastIndex=0;for(var a,l="";null!==(a=Rh.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:Ph}}var Sh="undefined"!=typeof document,Bh=function(e){return e()},Vh=!!l.useInsertionEffect&&l.useInsertionEffect,Lh=Sh&&Vh||Bh,Mh="undefined"!=typeof document,Dh=l.createContext("undefined"!=typeof HTMLElement?dh({key:"css"}):null);Dh.Provider;var Oh=function(e){return t.forwardRef(function(n,r){var i=t.useContext(Dh);return e(n,i,r)})};Mh||(Oh=function(e){return function(n){var r=t.useContext(Dh);return null===r?(r=dh({key:"css"}),l.createElement(Dh.Provider,{value:r},e(n,r))):e(n,r)}});var Wh,Xh,Fh=l.createContext({}),Hh={}.hasOwnProperty,zh="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Zh=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ih(t,n,r);var i=Lh(function(){return function(e,t,n){Ih(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);yh||void 0===s||(i+=s),o=o.next}while(void 0!==o);if(!yh&&0!==i.length)return i}}(t,n,r)});if(!Mh&&void 0!==i){for(var o,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return l.createElement("style",((o={})["data-emotion"]=t.key+" "+s,o.dangerouslySetInnerHTML={__html:i},o.nonce=t.sheet.nonce,o))}return null},Yh=Oh(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[zh],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=Gh(o,void 0,l.useContext(Fh));s+=t.key+"-"+a.name;var c={};for(var u in e)Hh.call(e,u)&&"css"!==u&&u!==zh&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),l.createElement(l.Fragment,null,l.createElement(Zh,{cache:t,serialized:a,isStringTag:"string"==typeof i}),l.createElement(i,c))}),Jh=Yh,Uh=function(e,t){var n=arguments;if(null==t||!Hh.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Jh,i[1]=function(e,t){var n={};for(var r in t)Hh.call(t,r)&&(n[r]=t[r]);return n[zh]=e,n}(e,t);for(var o=2;o<r;o++)i[o]=n[o];return l.createElement.apply(null,i)};function _h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Gh(t)}Wh=Uh||(Uh={}),Xh||(Xh=Wh.JSX||(Wh.JSX={}));const $h=Math.min,Qh=Math.max,Kh=Math.round,qh=Math.floor,em=e=>({x:e,y:e});function tm(){return"undefined"!=typeof window}function nm(e){return om(e)?(e.nodeName||"").toLowerCase():"#document"}function rm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function im(e){var t;return null==(t=(om(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function om(e){return!!tm()&&(e instanceof Node||e instanceof rm(e).Node)}function sm(e){return!!tm()&&(e instanceof HTMLElement||e instanceof rm(e).HTMLElement)}function am(e){return!(!tm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof rm(e).ShadowRoot)}function lm(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=cm(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function cm(e){return rm(e).getComputedStyle(e)}function um(e){const t=function(e){if("html"===nm(e))return e;const t=e.assignedSlot||e.parentNode||am(e)&&e.host||im(e);return am(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(nm(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:sm(t)&&lm(t)?t:um(t)}function dm(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=um(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=rm(i);if(o){const e=pm(s);return t.concat(s,s.visualViewport||[],lm(i)?i:[],e&&n?dm(e):[])}return t.concat(i,dm(i,[],n))}function pm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function hm(e){return t=e,tm()&&(t instanceof Element||t instanceof rm(t).Element)?e:e.contextElement;var t}function mm(e){const t=hm(e);if(!sm(t))return em(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=cm(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=sm(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=Kh(n)!==o||Kh(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}(t);let s=(o?Kh(n.width):n.width)/r,a=(o?Kh(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function fm(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=hm(e);let s=em(1);t&&(s=mm(e));const a=em(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=rm(o),n=pm(t);for(;n&&r&&e!==t;){const e=mm(n),r=n.getBoundingClientRect(),i=cm(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=rm(n),n=pm(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 gm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function bm(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=hm(e),u=i||o?[...c?dm(c):[],...t?dm(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=im(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:h}=c;if(a||t(),!p||!h)return;const m={rootMargin:-qh(d)+"px "+-qh(i.clientWidth-(u+p))+"px "+-qh(i.clientHeight-(d+h))+"px "+-qh(u)+"px",threshold:Qh(0,$h(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||gm(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),t&&m.observe(t));let f=l?fm(e):null;return l&&function t(){const r=fm(e);f&&!gm(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var vm="undefined"!=typeof document?t.useLayoutEffect:function(){},xm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ym=function(){};function Im(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Cm(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(Im(e,s)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var wm=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Wd(e)&&null!==e?[e]:[];var t},Am=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,zd({},Ud(e,xm))},Nm=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 Em(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function jm(e){return Em(e)?window.pageYOffset:e.scrollTop}function km(e,t){Em(e)?window.scrollTo(0,t):e.scrollTop=t}function Tm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ym,i=jm(e),o=t-i,s=0;!function t(){var a,l=o*((a=(a=s+=10)/n-1)*a*a+1)+i;km(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function Pm(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?km(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&km(e,Math.max(t.offsetTop-i,0))}function Rm(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Gm=!1,Sm={get passive(){return Gm=!0}},Bm="undefined"!=typeof window?window:{};Bm.addEventListener&&Bm.removeEventListener&&(Bm.addEventListener("p",ym,Sm),Bm.removeEventListener("p",ym,!1));var Vm=Gm;function Lm(e){return null!=e}function Mm(e,t,n){return e?t:n}var Dm=["children","innerProps"],Om=["children","innerProps"];function Wm(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(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:Em(u=l)?window.innerHeight:u.clientHeight,v=jm(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),I=g-y,C=b-f,w=I+v,A=d-v-f,N=h-b+v+x,E=v+f-y,j=160;switch(i){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!s)return o&&Tm(l,N,j),{placement:"bottom",maxHeight:t};if(!s&&A>=r||s&&C>=r)return o&&Tm(l,N,j),{placement:"bottom",maxHeight:s?C-x:A-x};if("auto"===i||s){var k=t,T=s?I:w;return T>=r&&(k=Math.min(T-x-a,t)),{placement:"top",maxHeight:k}}if("bottom"===i)return o&&km(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!s)return o&&Tm(l,E,j),{placement:"top",maxHeight:t};if(!s&&w>=r||s&&I>=r){var P=t;return(!s&&w>=r||s&&I>=r)&&(P=s?I-y:w-y),o&&Tm(l,E,j),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Xm,Fm=function(e){return"auto"===e?"bottom":e},Hm=t.createContext(null),zm=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(Hm)||{}).setPortalPlacement,u=t.useRef(null),d=Jd(t.useState(i),2),p=d[0],h=d[1],m=Jd(t.useState(null),2),f=m[0],g=m[1],b=l.spacing.controlHeight;return vm(function(){var e=u.current;if(e){var t="fixed"===s,n=Wm({maxHeight:i,menuEl:e,minHeight:r,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});h(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[i,o,s,a,r,c,b]),n({ref:u,placerProps:zd(zd({},e),{},{placement:f||Fm(o),maxHeight:p})})},Zm=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Uh("div",$d({},Nm(e,"menu",{menu:!0}),{ref:n},r),t)},Ym=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return zd({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Jm=Ym,Um=Ym,_m=["size"],$m=["innerProps","isRtl","size"];var Qm,Km,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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},ef=function(e){var t=e.size,n=Ud(e,_m);return Uh("svg",$d({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:qm},n))},tf=function(e){return Uh(ef,$d({size:20},e),Uh("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"}))},nf=function(e){return Uh(ef,$d({size:20},e),Uh("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"}))},rf=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return zd({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},of=rf,sf=rf,af=function(){var e=_h.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||(Qm=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Km||(Km=Qm.slice(0)),Xm=Object.freeze(Object.defineProperties(Qm,{raw:{value:Object.freeze(Km)}})))),lf=function(e){var t=e.delay,n=e.offset;return Uh("span",{css:_h({animation:"".concat(af," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},cf=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,s=e.menuIsOpen;return Uh("div",$d({ref:i},Nm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),o,{"aria-disabled":n||void 0}),t)},uf=["data"],df=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 Uh("div",$d({},Nm(e,"group",{group:!0}),a),Uh(o,$d({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Uh("div",null,t))},pf=["innerRef","isDisabled","isHidden","inputClassName"],hf={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},mf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":zd({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},hf)},ff=function(e){return zd({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},hf)},gf=function(e){var t=e.cx,n=e.value,r=Am(e),i=r.innerRef,o=r.isDisabled,s=r.isHidden,a=r.inputClassName,l=Ud(r,pf);return Uh("div",$d({},Nm(e,"input",{"input-container":!0}),{"data-value":n||""}),Uh("input",$d({className:t({input:!0},a),ref:i,style:ff(s),disabled:o},l)))},bf=function(e){var t=e.children,n=e.innerProps;return Uh("div",n,t)};var vf=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 Uh(l,{data:r,innerProps:zd(zd({},Nm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:a},Uh(c,{data:r,innerProps:zd({},Nm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Uh(u,{data:r,innerProps:zd(zd({},Nm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},xf={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Uh("div",$d({},Nm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Uh(tf,null))},Control:cf,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Uh("div",$d({},Nm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Uh(nf,null))},DownChevron:nf,CrossIcon:tf,Group:df,GroupHeading:function(e){var t=Am(e);t.data;var n=Ud(t,uf);return Uh("div",$d({},Nm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Uh("div",$d({},Nm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Uh("span",$d({},t,Nm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:gf,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Ud(e,$m);return Uh("div",$d({},Nm(zd(zd({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Uh(lf,{delay:0,offset:n}),Uh(lf,{delay:160,offset:!0}),Uh(lf,{delay:320,offset:!n}))},Menu:Zm,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Uh("div",$d({},Nm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,o=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Jd(t.useState(Fm(a)),2),p=d[0],h=d[1],m=t.useMemo(function(){return{setPortalPlacement:h}},[]),f=Jd(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[o,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);vm(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),o&&c.current&&(u.current=bm(o,c.current,v,{elementResize:"ResizeObserver"in window}))},[o,v]);vm(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==l||!g)return null;var I=Uh("div",$d({ref:y},Nm(zd(zd({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),r);return Uh(Hm.Provider,{value:m},n?i.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Ud(e,Om);return Uh("div",$d({},Nm(zd(zd({},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=Ud(e,Dm);return Uh("div",$d({},Nm(zd(zd({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:vf,MultiValueContainer:bf,MultiValueLabel:bf,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Uh("div",$d({role:"button"},n),t||Uh(tf,{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 Uh("div",$d({},Nm(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 Uh("div",$d({},Nm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Uh("div",$d({},Nm(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Uh("div",$d({},Nm(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 Uh("div",$d({},Nm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},yf=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function If(e,t){return e===t||!(!yf(e)||!yf(t))}function Cf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!If(e[n],t[n]))return!1;return!0}for(var wf="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)."}},Af=function(e){return Uh("span",$d({css:wf},e))},Nf={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:"",".")}},Ef=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,h=l.inputValue,m=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"],A=t.useMemo(function(){return zd(zd({},Nf),d||{})},[d]),N=t.useMemo(function(){var e,t="";if(n&&A.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,h=d?d.map(p):[],m=zd({isDisabled:c&&f(c,a),label:u,labels:h},n);t=A.onChange(m)}return t},[n,A,f,a,p]),E=t.useMemo(function(){var e="",t=r||i,n=!!(r&&a&&a.includes(r));if(t&&A.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=A.onFocus(s)}return e},[r,i,p,f,A,o,a,u]),j=t.useMemo(function(){var e="";if(b&&v.length&&!I&&A.onFilter){var t=x({count:o.length});e=A.onFilter({inputValue:h,resultsMessage:t})}return e},[o,h,b,A,v,x,I]),k="initial-input-focus"===(null==n?void 0:n.action),T=t.useMemo(function(){var e="";if(A.guidance){var t=i?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:r&&f(r,a),isMulti:m,isSearchable:g,tabSelectsValue:y,isInitialFocus:k})}return e},[C,r,i,m,f,g,b,A,a,y,k]),P=Uh(t.Fragment,null,Uh("span",{id:"aria-selection"},N),Uh("span",{id:"aria-focused"},E),Uh("span",{id:"aria-results"},j),Uh("span",{id:"aria-guidance"},T));return Uh(t.Fragment,null,Uh(Af,{id:c},k&&P),Uh(Af,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!k&&P))},jf=[{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źẑżžẓẕƶȥɀⱬꝣ"}],kf=new RegExp("["+jf.map(function(e){return e.letters}).join("")+"]","g"),Tf={},Pf=0;Pf<jf.length;Pf++)for(var Rf=jf[Pf],Gf=0;Gf<Rf.letters.length;Gf++)Tf[Rf.letters[Gf]]=Rf.base;var Sf=function(e){return e.replace(kf,function(e){return Tf[e]})},Bf=function(e,t){void 0===t&&(t=Cf);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}(Sf),Vf=function(e){return e.replace(/^\s+|\s+$/g,"")},Lf=function(e){return"".concat(e.label," ").concat(e.value)},Mf=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=zd({ignoreCase:!0,ignoreAccents:!0,stringify:Lf,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?Vf(n):n,u=a?Vf(s(t)):s(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=Bf(c),u=Sf(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Df=["innerRef"];function Of(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=Jd(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Jd(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Ud(e,Df),"onExited","in","enter","exit","appear");return Uh("input",$d({ref:t},n,{css:_h({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Wf=["boxSizing","height","overflow","paddingRight","position"],Xf={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ff(e){e.cancelable&&e.preventDefault()}function Hf(e){e.stopPropagation()}function zf(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Zf(){return"ontouchstart"in window||navigator.maxTouchPoints}var Yf=!("undefined"==typeof window||!window.document||!window.document.createElement),Jf=0,Uf={capture:!1,passive:!1};var _f=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},$f="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Qf(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,h=u.current,m=t>0,f=d-p-c,g=!1;f>t&&a.current&&(i&&i(e),a.current=!1),m&&l.current&&(s&&s(e),l.current=!1),m&&t>f?(r&&!a.current&&r(e),h.scrollTop=d,g=!0,a.current=!0):!m&&-t>c&&(o&&!l.current&&o(e),h.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]),h=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),m=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!Vm&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}},[m,h,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))},[m,h,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(Yf){var t=document.body,n=t&&t.style;if(i&&Wf.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&Jf<1){var r=parseInt(o.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(Xf).forEach(function(e){var t=Xf[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Zf()&&(t.addEventListener("touchmove",Ff,Uf),e&&(e.addEventListener("touchstart",zf,Uf),e.addEventListener("touchmove",Hf,Uf))),Jf+=1}},[i]),l=t.useCallback(function(e){if(Yf){var t=document.body,n=t&&t.style;Jf=Math.max(Jf-1,0),i&&Jf<1&&Wf.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Zf()&&(t.removeEventListener("touchmove",Ff,Uf),e&&(e.removeEventListener("touchstart",zf,Uf),e.removeEventListener("touchmove",Hf,Uf)))}},[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 Uh(t.Fragment,null,r&&Uh("div",{onClick:_f,css:$f}),n(function(e){o(e),s(e)}))}var Kf="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)."}},qf=function(e){var t=e.name,n=e.onFocus;return Uh("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Kf,value:"",onChange:function(){}})};function eg(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 tg(){return eg(/^Mac/i)}function ng(){return eg(/^iPhone/i)||eg(/^iPad/i)||tg()&&navigator.maxTouchPoints>1}var rg={clearIndicator:sf,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 zd({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:of,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 zd({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 zd({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 zd(zd({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},mf),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 zd({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:Um,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,s=i.spacing,a=i.colors;return zd((Fd(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Fd(n,"position","absolute"),Fd(n,"width","100%"),Fd(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 zd({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 zd({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 zd({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 zd({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:Jm,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,s=o.spacing,a=o.colors;return zd({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 zd({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 zd({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 zd({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")})}},ig={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}},og={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Rm(),captureMenuScroll:!Rm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Mf(),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 sg(e,t,n,r){return{type:"option",data:t,isDisabled:mg(e,t,n),isSelected:fg(e,t,n),label:pg(e,t),value:hg(e,t),index:r}}function ag(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return sg(e,n,t,r)}).filter(function(t){return ug(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=sg(e,n,t,r);return ug(e,o)?o:void 0}).filter(Lm)}function lg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,np(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function cg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,np(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 ug(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,s=t.label,a=t.value;return(!bg(e)||!o)&&gg(e,{label:s,value:a,data:i},r)}var dg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},pg=function(e,t){return e.getOptionLabel(t)},hg=function(e,t){return e.getOptionValue(t)};function mg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function fg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=hg(e,t);return n.some(function(t){return hg(e,t)===r})}function gg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var bg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},vg=1,xg=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&&Kd(e,t)}(n,t.Component);var e=function(e){var t=ep();return function(){var n,r=qd(e);if(t){var i=qd(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return tp(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(np(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=Mm(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(Mm(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=Mm(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return dg(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return cg(ag(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 Cm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return pg(r.props,e)},r.getOptionValue=function(e){return hg(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=rg[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,zd(zd({},xf),e.components);var e},r.buildCategorizedOptions=function(){return ag(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return lg(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:zd({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&&Em(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 bg(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,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||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||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:s}),r.onMenuClose()):a&&o&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++vg),r.state.selectValue=wm(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=dg(i,o[s])}return r}return function(e,t,n){t&&Qd(e.prototype,t),n&&Qd(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&&Pm(this.menuListRef,this.focusedOptionRef),(tg()||ng())&&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&&(Pm(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(ig):zd(zd({},ig),this.props.theme):ig}},{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 mg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return fg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return gg(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,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=r||this.getElementId("input"),g=zd(zd(zd({"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":c,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==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?l.createElement(u,$d({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:s,type:"text",value:i},g)):l.createElement(Of,$d({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ym,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,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!d)return m?null:l.createElement(a,$d({},c,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var a=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,$d({},c,{components:{Container:r,Label:i,Remove:o},isFocused:a,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var y=b[0];return l.createElement(s,$d({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,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 l.createElement(e,$d({},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 l.createElement(e,$d({},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 l.createElement(n,$d({},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 l.createElement(e,$d({},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,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,x=h.maxMenuHeight,y=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,j=h.onMenuScrollToTop,k=h.onMenuScrollToBottom;if(!y)return null;var T,P=function(t,n){var r=t.type,i=t.data,o=t.isDisabled,s=t.isSelected,a=t.label,c=t.value,h=p===i,m=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:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return l.createElement(u,$d({},d,{innerProps:b,data:i,isDisabled:o,isSelected:s,key:g,label:a,type:r,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=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),c="".concat(a,"-heading");return l.createElement(n,$d({},d,{key:a,data:i,options:o,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var R=b({inputValue:f});if(null===R)return null;T=l.createElement(a,d,R)}else{var G=E({inputValue:f});if(null===G)return null;T=l.createElement(c,d,G)}var S={minMenuHeight:v,maxMenuHeight:x,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},B=l.createElement(zm,$d({},d,S),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return l.createElement(i,$d({},d,S,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),l.createElement(Qf,{captureEnabled:m,onTopArrive:j,onBottomArrive:k,lockEnabled:A},function(t){return l.createElement(o,$d({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:p}),T)}))});return w||"fixed"===C?l.createElement(s,$d({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),B):B}},{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 l.createElement(qf,{name:o,onFocus:this.onValueInputFocus});if(o&&!r){if(i){if(n){var c=a.map(function(t){return e.getOptionValue(t)}).join(n);return l.createElement("input",{name:o,type:"hidden",value:c})}var u=a.length>0?a.map(function(t,n){return l.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):l.createElement("input",{name:o,type:"hidden",value:""});return l.createElement("div",null,u)}var d=a[0]?this.getOptionValue(a[0]):"";return l.createElement("input",{name:o,type:"hidden",value:d})}}},{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 l.createElement(Ef,$d({},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,c=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return l.createElement(r,$d({},p,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),l.createElement(t,$d({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),l.createElement(i,$d({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,$d({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=wm(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return lg(ag(e,t))}(e,m):[],b=d?cg(ag(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:x,focusedOptionId:dg(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:Mm(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),zd(zd(zd({},f),y),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();xg.defaultProps=og;var yg=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,h=e.onMenuOpen,m=e.value,f=Ud(e,_d),g=Jd(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],x=Jd(t.useState(void 0!==c?c:o),2),y=x[0],I=x[1],C=Jd(t.useState(void 0!==m?m:a),2),w=C[0],A=C[1],N=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),E=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),j=t.useCallback(function(){"function"==typeof h&&h(),I(!0)},[h]),k=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),T=void 0!==l?l:b,P=void 0!==c?c:y,R=void 0!==m?m:w;return zd(zd({},f),{},{inputValue:T,menuIsOpen:P,onChange:N,onInputChange:E,onMenuClose:k,onMenuOpen:j,value:R})}(e);return l.createElement(xg,$d({ref:n},r))}),Ig=yg;const Cg=l.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:h,helperText:m,label:f,labelClassName:g,size:b="md",variant:v="default","data-cy":x,"data-testid":y,...I})=>{const C=t.useMemo(()=>Mf(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>Ne("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:()=>Ne(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ne("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ne("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,h,n,d,b]);return"unstyled"===v?e.jsx(Ig,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ne("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Ne("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(Ig,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ne("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}),p&&e.jsx(Gt,{className:"footnote mt-1 text-text-critical",children:p}),!p&&m&&e.jsx(Gt,{className:"footnote mt-1 text-text-info",children:m})]})});Cg.displayName="Select";const wg={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 Ag(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Ng(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}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,h]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);h(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(Gt,{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(Ft,{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 h(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(Gt,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx(Ht,{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=wg[null==r?void 0:r.toLowerCase()]||wg.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:Ne(`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(Gt,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:s,ctaButtonLink:a,ctaButtonTarget:l,anchorId:u="anchored-banner",enableCountdownTimer:d,countdownStartDateTime:p,countdownEndDateTime:h})=>{const m=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",f="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",g=t.useMemo(()=>Ag(h),[h]),b=t.useMemo(()=>Ag(p),[p]),v=t.useMemo(()=>!(!d||void 0===g)&&((!p||void 0!==b)&&(!(void 0!==b&&b>=g)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:p,countdownEndDateTime:h}),!1))),[d,g,b,p,h]),[x,y]=t.useState(()=>Date.now()),I=t.useRef(null),C=t.useCallback(()=>{null!==I.current&&(window.clearInterval(I.current),I.current=null)},[]);t.useEffect(()=>{if(v)return I.current=window.setInterval(()=>{const e=Date.now();void 0!==g&&e>=g&&C(),y(e)},1e3),C;C()},[v,g,C]);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:Ng(e)}},[v,g,b,x]);return e.jsx("section",{id:u,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 ${m} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(c.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:[i&&e.jsx(Rt,{name:i,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=_t,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:r,totalPages:i,selectedCategory:s,categoryOptions:a}){const l=o.useRouter(),c=o.usePathname(),u=o.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return 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(Gt,{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(Gt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Gt,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Gt,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(Cg,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),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(_t,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(Gt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e.jsx(Od,{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(Gt,{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(Gt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Gt,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Gt,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e.jsx(Cg,{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(_t,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:u,index:n},t.slug)})}):e.jsx(Gt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e.jsx(Od,{currentPage:i,totalPages:o,onPageChange:function(e){null==c||c(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",mobileTextColor:i,desktopTextColor:o,maxWidth:s=!0,float:a="desktop"}=t,l=`${"dark"===(null!=i?i:"desktop"===a?"dark":r)?"text-text":"text-white"} ${"dark"===(null!=o?o:"mobile"===a?"dark":r)?"xl:text-text":"xl:text-white"}`,c="always"===a?"absolute":"mobile"===a?"absolute xl:relative":"desktop"===a?"relative xl:absolute":"relative";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===a&&"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 ${c} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,r)=>{const{image:i,...o}=t,s=(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:[s&&e.jsx("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(Gt,{as:"span",className:`body3 mr-2 break-words ${l}`,children:t.buttonLabel})]},r):e.jsxs("li",{className:"flex flex-none items-center",children:[s&&e.jsx("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx("a",{href:o.href,className:`label3 mr-2 whitespace-nowrap ${l} hover:underline`,children:o.buttonLabel}),e.jsx(Rt,{name:"chevron_right",className:`${l} `})]},r)})})}):null},exports.Button=Yt,exports.Callout=({anchorId:t,title:n,items:r,enableHeading:i=!1,subtitle:o,description:s,finePrint:a,cta:l,color:c="dark",maxWidth:u=!0,maxCardsPerRow:d,cardType:p="simple",backgroundColor:h,background:m,textColor:f,containerClassName:g,innerClassName:b,applyBoxShadow:v=!1,cardStackingMobile:x=!0,cardsWidth:y=!0,noGutter:I=!1})=>{var C,w,A;const N=null!==(C=null==r?void 0:r.length)&&void 0!==C?C:0,E=dn(null!=d?d:(j=N)<=4?j||1:j%3==0?3:j%4==0||j>6?4:3);var j;const k=dn(Math.min(E,N||E)),T=!1===y,P=T?Ne("flex flex-col items-stretch self-stretch",I?"gap-0":"gap-6"):Ne("flex flex-wrap items-stretch justify-center self-stretch",I?"gap-0":"gap-6",I?"md:gap-0":"md:gap-6"),R=T?"":Ne("w-full",cn[dn(x?1:Math.min(2,E))],un[k]),G=(t,n)=>{var r,i,o,s;const a=null!==(r=t.cardType)&&void 0!==r?r:p,l=T?{lgWidth:void 0,mdWidth:void 0}:{};switch(a){case"blog":{const r=t;return e.jsx(_t,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,asGrid:!1,...l},n)}case"fullImage":return e.jsx(tn,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:v},...l},n);case"floatingImage":return e.jsx(en,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:v},...l},n);default:return e.jsx(an,{card:{...t,shadow:null!==(s=t.shadow)&&void 0!==s?s:v},...l},n)}},S=m?{background:m}:void 0,B=f?{color:f}:void 0,V=m?"":h&&null!==(w=ln[h])&&void 0!==w?w:"";return e.jsx("section",{id:t,className:Ne("component-container",V,g),style:S,children:e.jsx("div",{className:Ne(I?"p-0":"mx-5 my-12 md:my-20",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:B,children:[n&&e.jsx(Gt,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e.jsx(Gt,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o}),s&&e.jsx(Gt,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e.jsx("div",{className:Ne("card-holder",P),children:r.map((t,n)=>T?G(t,n):e.jsx("div",{className:Ne("callout-card",R),children:G(t,n)},`callout-card-${n}`))}),(l||a)&&e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[l?e.jsx(Yt,{linkClassName:"label1",buttonClassName:"label1",...l,children:null!==(A=l.label)&&void 0!==A?A:l.buttonLabel}):null,a?e.jsx(Gt,{as:"div",className:"footnote text-center text-text",children:a}):null]})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(Gt,{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 h=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} ${h} 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(Gt,{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(Gt,{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(xn,{tabs:l,activeTab:s,onChange:a}),r&&e.jsx(gn,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(vn,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),i&&e.jsx(Gt,{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:h}=n,[m,f]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!m&&(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(Gt,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let’s finish your order"}),p&&Dt(st(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(Yt,{onClick:g,buttonLabel:null!==(l=null==h?void 0:h.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e.jsx("section",{id:u,"data-testid":"cart-retention-banner",children:e.jsx(Dd,{size:"sm",isOpen:m,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(Gt,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let's finish your order"}),p&&Dt(st(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(Yt,{onClick:g,buttonLabel:null!==(c=null==h?void 0:h.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(Gt,{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:r}),e.jsx(Gt,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:n}){let r=3;const[i,o]=t.useState(!1),[s,a]=t.useState(!1),l=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=rt.get(e);return t?tt(t):null}("cookieBannerClosed");o("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");a(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),t.useEffect(()=>{if(!i)return;const e=()=>{if(l.current){const e=l.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,s]),s&&(r=14);const c=4*r;return i?e.jsxs("div",{id:"cookie-banner",ref:l,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:`${c}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=et(r);rt.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Rt,{name:"close"})}),n.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.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(Gt,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${o}`,children:t}),c&&e.jsx(Gt,{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(Yt,{...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:h,navigationType:m=!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(Yt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ne("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==h?void 0:h.map((t,n)=>e.jsx("div",{children:e.jsx(Sc,{children:e.jsx(Ec.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(Yt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ne("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(Rt,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(Xt,{open:n===s,children:e.jsx("div",{className:Ne("px-4 py-4"),children:null==h?void 0:h[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(Yt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ne("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==h?void 0:h.map((t,n)=>e.jsx("div",{children:e.jsx(Sc,{children:e.jsx(Ec.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(Gt,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(Gt,{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:m?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||{},h={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},m=h[u]||h.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] ${m} 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(Yt,{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(Gt,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(Gt,{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(Gt,{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(Lt,{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(Lt,{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(Kt,{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(Kt,{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(Gt,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(Gt,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx(Gt,{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(Yt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e.jsx("div",{children:e.jsx(Gt,{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 c(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(Ht,{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(l.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(Gt,{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(Yt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx(Ht,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(Ht,{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(Yt,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`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:h,cta:m,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,onModalButtonClick:y,renderCheckPlans:I})=>{var C,w;const[A,N]=t.useState(""),[E,j]=t.useState(!1),k=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",T=null==f?void 0:f.image,P=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,R=Boolean(A&&A===k),G=f&&T?k.includes("vimeo")?e.jsx(In,{link:k,autoplay:R}):e.jsx(Cn,{link:k,autoplay:R}):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(Gt,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e.jsx(Gt,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e.jsx(Gt,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e.jsx(Gt,{as:"div",className:"body1",children:l}),p.length>0&&e.jsx(St,{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(Lt,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(pn,{src:t.image,alt:"icon-link"})})},n))}),(m||h)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[m&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Yt,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})}),h&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Yt,{...h,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(Kt,{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:Ne("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!R&&"hover:shadow-2xl"),onClick:()=>{var e;N(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:[e.jsxs("div",{className:Ne(R&&!P&&"hidden",R&&!P?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(Kt,{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(yn,{isHovered:E})})]}),!P&&R&&e.jsx("div",{className:Ne("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",R?"opacity-100":"opacity-0"),children:G})]})]})]})}),P&&R&&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(),N("")},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:G})})]})},exports.Modal=Dd,exports.Navigation=t=>{var n,r,i;const{primaryNavigationLinks:o,utilityNavigationLinks:s,checkPlansJSX:a,primaryNavigationLogo:l,accountNavigationLinks:c,supportNavigationLinks:u,searchBarIcon:d,invocaPhoneNumberLink:p,invocaPhoneNumberDisplayText:h,callNowCtaText:m,displayCartIcon:f,cartHref:g,cartHasRetention:b,cartIconAriaLabel:v="Cart",onCallClickDesktop:x,onCallClickMobile:y,onCartClick:I,onSearch:C=()=>{},utilityNavActiveIndex:w,primaryNavigationLogoWidth:A=76.5,primaryNavigationLogoHeight:N=24,hideMobileCallButton:E=!1,displayUtilityNavigation:j=!0,displaySearchBar:k=!0,displayCallNowCta:T=!0,showCallButton:P=!0,showCallNowCtaInMainNav:R=!1,showMobileSliderMenu:G=!0,callNowCtaIcon:S,navigationBackgroundColor:B,navigationLinkColor:V}=t,L="string"==typeof l?l:(null==l?void 0:l.url)||"",M=B?B.includes("-")||B.startsWith("bg-")?B:`bg-secondary-${B}`:"bg-secondary-navy500",D="string"==typeof S?S:(null==S?void 0:S.url)||"",O=t=>e.jsxs(Lt,{href:p||"#",onClick:t,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":h?`Call ${h}`:"Call now",children:[D?e.jsx(Kt,{src:D,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e.jsx(Gt,{as:"span",className:"text-secondary-navy500 footnote",children:h})]}),W=(null!==(n=null==o?void 0:o.length)&&void 0!==n?n:0)>0||(null!==(r=null==u?void 0:u.length)&&void 0!==r?r:0)>0||(null!==(i=null==c?void 0:c.length)&&void 0!==i?i:0)>0;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[j?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==s?void 0:s.map((t,n)=>e.jsx("li",{children:e.jsx(Yt,{linkClassName:Ne("footnote flex items-center w-full h-11 text-text","number"!=typeof w?1===n&&"label4":w===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:[T?e.jsx(En,{className:"border-none",href:p,prefix:m,onClick:x,children:e.jsx(Gt,{className:"body3 text-text",children:h})}):null,f?e.jsxs(Lt,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:I,children:[e.jsx(Rt,{name:"shopping_cart"}),b?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==c?void 0:c.map((t,n)=>e.jsx(wn,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,e.jsxs("div",{className:Ne("main-nav-container",M,V),"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:L?e.jsx(Lt,{href:"/",className:"flex",children:e.jsx(Kt,{src:L,alt:"Kinetic business logo",width:A,height:N})}):null}),e.jsx("div",{className:"flex items-center gap-6",children:G?e.jsxs(e.Fragment,{children:[P&&!E?e.jsx(En,{href:p,onClick:y,children:e.jsx(Gt,{as:"span",className:"footnote",children:h})}):null,f?e.jsxs(Lt,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:I,children:[e.jsx(Rt,{name:"shopping_cart"}),b?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,W?e.jsx(kn,{...t}):null]}):P?O(y):null})]}),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:[L?e.jsx(Lt,{href:"/",className:"flex",children:e.jsx(Kt,{src:L,alt:"Kinetic business logo",width:A,height:N,className:"mr-[64px]"})}):null,e.jsx("div",{className:"flex h-full items-center gap-5",children:null==o?void 0:o.map((t,n)=>e.jsx(wn,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:V},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[!R||j&&T?null:O(x),k?e.jsx(Pn,{searchBarIconURL:"string"==typeof d?d:(null==d?void 0:d.url)||"",onSearch:C}):null,null==u?void 0:u.map((t,n)=>e.jsx(wn,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:V},`support-menu-${n}`))]})]})})]})]}),a&&e.jsx("div",{className:"md:hidden",children:a})]})},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:h,badgeImage:m,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:Ne("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:Ne("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(Gt,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:r}),o&&e.jsx(Gt,{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(Gt,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(Gt,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(Gt,{as:"p",className:"subheading5",children:c}),d?e.jsx(Gt,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,p&&e.jsx(St,{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:Ne("md:block",x&&"hidden"),children:e.jsx(Yt,{...s,renderCheckPlans:h,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx(Gt,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Yt,{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(Yt,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx(Gt,{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:[m?e.jsx(Kt,{src:m,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(Kt,{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(Yt,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx(Gt,{as:"p",className:"body3 md:hidden",children:f}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx(Gt,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Yt,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Ne("relative hidden lg:block"),children:[m?e.jsx(Kt,{src:m,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(Kt,{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=mn,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:h}=n,[m,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(Gt,{as:s?"h1":"h2",className:Ne("heading2 md:heading1"),children:i}),o&&e.jsx(Gt,{as:"div",className:Ne("subheading2 mt-2 md:subheading1"),children:o})]}),a?e.jsx(Gt,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:m})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(Wt,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Rt,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(jn,{value:m,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,h=n&&!d?{background:n}:void 0,m=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:h?"":"bg-white"}`,style:h,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:r,style:h,children:t})},exports.SimpleCard=an,exports.TestimonialCard=fn,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(Gt,{children:"Text Block"})}),exports.label1BoldOptions=Ot,exports.renderContentfulRichText=Dt,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r={...Mt,renderMark:{...Mt.renderMark,[ct.BOLD]:t=>e.jsx("strong",{className:"label4 md:label2",children:t})},renderNode:{...Mt.renderNode,[at.PARAGRAPH]:(t,n)=>e.jsx(e.Fragment,{children:n}),[at.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})})})},[at.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[at.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 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[at.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 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(Rt,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Rt,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[lt.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 Dt(st(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e.jsx(St,{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 jt(t,r)},exports.toDocument=st,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...Mt,renderMark:{...Mt.renderMark,...null==n?void 0:n.renderMark},renderNode:{...Mt.renderNode,...null==n?void 0:n.renderNode}};return jt(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=Dt(st(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=Dt(st(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])};
|
|
13
|
+
*/function Ig(){return vg||(vg=1,"production"===process.env.NODE_ENV?fg.exports=function(){if(dg)return gg;dg=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,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){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 m:case p:case s:return e;default:return h}}case n:return h}}}function x(e){return y(e)===c}return gg.AsyncMode=l,gg.ConcurrentMode=c,gg.ContextConsumer=a,gg.ContextProvider=s,gg.Element=t,gg.ForwardRef=u,gg.Fragment=r,gg.Lazy=m,gg.Memo=p,gg.Portal=n,gg.Profiler=o,gg.StrictMode=i,gg.Suspense=d,gg.isAsyncMode=function(e){return x(e)||y(e)===l},gg.isConcurrentMode=x,gg.isContextConsumer=function(e){return y(e)===a},gg.isContextProvider=function(e){return y(e)===s},gg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},gg.isForwardRef=function(e){return y(e)===u},gg.isFragment=function(e){return y(e)===r},gg.isLazy=function(e){return y(e)===m},gg.isMemo=function(e){return y(e)===p},gg.isPortal=function(e){return y(e)===n},gg.isProfiler=function(e){return y(e)===o},gg.isStrictMode=function(e){return y(e)===i},gg.isSuspense=function(e){return y(e)===d},gg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},gg.typeOf=y,gg}():fg.exports=(bg||(bg=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,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){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 m:case p:case s:return g;default:return h}}case n:return h}}}var x=l,C=c,I=a,w=s,A=t,E=u,N=r,S=m,j=p,T=n,k=o,B=i,R=d,P=!1;function L(e){return y(e)===c}Cg.AsyncMode=x,Cg.ConcurrentMode=C,Cg.ContextConsumer=I,Cg.ContextProvider=w,Cg.Element=A,Cg.ForwardRef=E,Cg.Fragment=N,Cg.Lazy=S,Cg.Memo=j,Cg.Portal=T,Cg.Profiler=k,Cg.StrictMode=B,Cg.Suspense=R,Cg.isAsyncMode=function(e){return P||(P=!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.")),L(e)||y(e)===l},Cg.isConcurrentMode=L,Cg.isContextConsumer=function(e){return y(e)===a},Cg.isContextProvider=function(e){return y(e)===s},Cg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Cg.isForwardRef=function(e){return y(e)===u},Cg.isFragment=function(e){return y(e)===r},Cg.isLazy=function(e){return y(e)===m},Cg.isMemo=function(e){return y(e)===p},Cg.isPortal=function(e){return y(e)===n},Cg.isProfiler=function(e){return y(e)===o},Cg.isStrictMode=function(e){return y(e)===i},Cg.isSuspense=function(e){return y(e)===d},Cg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Cg.typeOf=y}()),Cg)),fg.exports}!function(){if(xg)return yg;xg=1;var e=Ig(),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;yg=function e(t,r,i){if("string"!=typeof r){if(d){var h=u(r);h&&h!==d&&e(t,h,i)}var p=a(r);l&&(p=p.concat(l(r)));for(var m=o(t),f=o(r),g=0;g<p.length;++g){var b=p[g];if(!(n[b]||i&&i[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{s(t,b,v)}catch(e){}}}}return t}}();var wg="undefined"!=typeof document;var Ag=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===wg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Eg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Ng(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Sg=/[A-Z]|^ms/g,jg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Tg=function(e){return 45===e.charCodeAt(1)},kg=function(e){return null!=e&&"boolean"!=typeof e},Bg=Ng(function(e){return Tg(e)?e:e.replace(Sg,"-$&").toLowerCase()}),Rg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(jg,function(e,t,n){return Lg={name:t,styles:n,next:Lg},t})}return 1===Eg[e]||Tg(e)||"number"!=typeof t||0===t?t:t+"px"};function Pg(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 Lg={name:i.name,styles:i.styles,next:Lg},i.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)Lg={name:s.name,styles:s.styles,next:Lg},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+=Pg(e,t,n[i])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;kg(a)&&(r+=Bg(o)+":"+Rg(o,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)kg(s[l])&&(r+=Bg(o)+":"+Rg(o,s[l])+";");else{var c=Pg(e,t,s);switch(o){case"animation":case"animationName":r+=Bg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=Lg,l=n(e);return Lg=a,Pg(e,t,l)}}return n}var Lg,Gg=/label:\s*([^\s;{]+)\s*(;|$)/g;function Og(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="";Lg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Pg(n,t,o)):i+=o[0];for(var s=1;s<e.length;s++){if(i+=Pg(n,t,e[s]),r)i+=o[s]}Gg.lastIndex=0;for(var a,l="";null!==(a=Gg.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:Lg}}var Mg="undefined"!=typeof document,Dg=function(e){return e()},Vg=!!l.useInsertionEffect&&l.useInsertionEffect,Wg=Mg&&Vg||Dg,Hg="undefined"!=typeof document,Xg=l.createContext("undefined"!=typeof HTMLElement?mg({key:"css"}):null);Xg.Provider;var Fg=function(e){return t.forwardRef(function(n,r){var i=t.useContext(Xg);return e(n,i,r)})};Hg||(Fg=function(e){return function(n){var r=t.useContext(Xg);return null===r?(r=mg({key:"css"}),l.createElement(Xg.Provider,{value:r},e(n,r))):e(n,r)}});var zg,Zg,Yg=l.createContext({}),_g={}.hasOwnProperty,Jg="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ug=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ag(t,n,r);var i=Wg(function(){return function(e,t,n){Ag(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);wg||void 0===s||(i+=s),o=o.next}while(void 0!==o);if(!wg&&0!==i.length)return i}}(t,n,r)});if(!Hg&&void 0!==i){for(var o,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return l.createElement("style",((o={})["data-emotion"]=t.key+" "+s,o.dangerouslySetInnerHTML={__html:i},o.nonce=t.sheet.nonce,o))}return null},$g=Fg(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Jg],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=Og(o,void 0,l.useContext(Yg));s+=t.key+"-"+a.name;var c={};for(var u in e)_g.call(e,u)&&"css"!==u&&u!==Jg&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),l.createElement(l.Fragment,null,l.createElement(Ug,{cache:t,serialized:a,isStringTag:"string"==typeof i}),l.createElement(i,c))}),Kg=$g,Qg=function(e,t){var n=arguments;if(null==t||!_g.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Kg,i[1]=function(e,t){var n={};for(var r in t)_g.call(t,r)&&(n[r]=t[r]);return n[Jg]=e,n}(e,t);for(var o=2;o<r;o++)i[o]=n[o];return l.createElement.apply(null,i)};function qg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Og(t)}zg=Qg||(Qg={}),Zg||(Zg=zg.JSX||(zg.JSX={}));const eb=Math.min,tb=Math.max,nb=Math.round,rb=Math.floor,ib=e=>({x:e,y:e});function ob(){return"undefined"!=typeof window}function sb(e){return cb(e)?(e.nodeName||"").toLowerCase():"#document"}function ab(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function lb(e){var t;return null==(t=(cb(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function cb(e){return!!ob()&&(e instanceof Node||e instanceof ab(e).Node)}function ub(e){return!!ob()&&(e instanceof HTMLElement||e instanceof ab(e).HTMLElement)}function db(e){return!(!ob()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ab(e).ShadowRoot)}const hb=new Set(["inline","contents"]);function pb(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=fb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!hb.has(i)}const mb=new Set(["html","body","#document"]);function fb(e){return ab(e).getComputedStyle(e)}function gb(e){const t=function(e){if("html"===sb(e))return e;const t=e.assignedSlot||e.parentNode||db(e)&&e.host||lb(e);return db(t)?t.host:t}(e);return function(e){return mb.has(sb(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ub(t)&&pb(t)?t:gb(t)}function bb(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=gb(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=ab(i);if(o){const e=vb(s);return t.concat(s,s.visualViewport||[],pb(i)?i:[],e&&n?bb(e):[])}return t.concat(i,bb(i,[],n))}function vb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yb(e){return t=e,ob()&&(t instanceof Element||t instanceof ab(t).Element)?e:e.contextElement;var t}function xb(e){const t=yb(e);if(!ub(t))return ib(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=fb(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ub(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=nb(n)!==o||nb(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}(t);let s=(o?nb(n.width):n.width)/r,a=(o?nb(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Cb(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=yb(e);let s=ib(1);t&&(s=xb(e));const a=ib(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=ab(o),n=vb(t);for(;n&&r&&e!==t;){const e=xb(n),r=n.getBoundingClientRect(),i=fb(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=ab(n),n=vb(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 Ib(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function wb(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=yb(e),u=i||o?[...c?bb(c):[],...bb(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=lb(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:h,height:p}=c;if(a||t(),!h||!p)return;const m={rootMargin:-rb(d)+"px "+-rb(i.clientWidth-(u+h))+"px "+-rb(i.clientHeight-(d+p))+"px "+-rb(u)+"px",threshold:tb(0,eb(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||Ib(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let h,p=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let f=l?Cb(e):null;return l&&function t(){const r=Cb(e);f&&!Ib(f,r)&&n();f=r,h=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(h)}}var Ab="undefined"!=typeof document?t.useLayoutEffect:function(){},Eb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Nb=function(){};function Sb(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function jb(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(Sb(e,s)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Tb=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===zm(e)&&null!==e?[e]:[];var t},kb=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,Jm({},Qm(e,Eb))},Bb=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 Rb(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Pb(e){return Rb(e)?window.pageYOffset:e.scrollTop}function Lb(e,t){Rb(e)?window.scrollTo(0,t):e.scrollTop=t}function Gb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Nb,i=Pb(e),o=t-i,s=0;!function t(){var a,l=o*((a=(a=s+=10)/n-1)*a*a+1)+i;Lb(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function Ob(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Lb(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Lb(e,Math.max(t.offsetTop-i,0))}function Mb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Db=!1,Vb={get passive(){return Db=!0}},Wb="undefined"!=typeof window?window:{};Wb.addEventListener&&Wb.removeEventListener&&(Wb.addEventListener("p",Nb,Vb),Wb.removeEventListener("p",Nb,!1));var Hb=Db;function Xb(e){return null!=e}function Fb(e,t,n){return e?t:n}var zb=["children","innerProps"],Zb=["children","innerProps"];function Yb(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,h=n.getBoundingClientRect(),p=h.bottom,m=h.height,f=h.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:Rb(u=l)?window.innerHeight:u.clientHeight,v=Pb(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),C=g-x,I=b-f,w=C+v,A=d-v-f,E=p-b+v+y,N=v+f-x,S=160;switch(i){case"auto":case"bottom":if(I>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!s)return o&&Gb(l,E,S),{placement:"bottom",maxHeight:t};if(!s&&A>=r||s&&I>=r)return o&&Gb(l,E,S),{placement:"bottom",maxHeight:s?I-y:A-y};if("auto"===i||s){var j=t,T=s?C:w;return T>=r&&(j=Math.min(T-y-a,t)),{placement:"top",maxHeight:j}}if("bottom"===i)return o&&Lb(l,E),{placement:"bottom",maxHeight:t};break;case"top":if(C>=m)return{placement:"top",maxHeight:t};if(w>=m&&!s)return o&&Gb(l,N,S),{placement:"top",maxHeight:t};if(!s&&w>=r||s&&C>=r){var k=t;return(!s&&w>=r||s&&C>=r)&&(k=s?C-x:w-x),o&&Gb(l,N,S),{placement:"top",maxHeight:k}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var _b,Jb=function(e){return"auto"===e?"bottom":e},Ub=t.createContext(null),$b=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(Ub)||{}).setPortalPlacement,u=t.useRef(null),d=Km(t.useState(i),2),h=d[0],p=d[1],m=Km(t.useState(null),2),f=m[0],g=m[1],b=l.spacing.controlHeight;return Ab(function(){var e=u.current;if(e){var t="fixed"===s,n=Yb({maxHeight:i,menuEl:e,minHeight:r,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});p(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[i,o,s,a,r,c,b]),n({ref:u,placerProps:Jm(Jm({},e),{},{placement:f||Jb(o),maxHeight:h})})},Kb=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Qg("div",Dh({},Bb(e,"menu",{menu:!0}),{ref:n},r),t)},Qb=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Jm({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},qb=Qb,ev=Qb,tv=["size"],nv=["innerProps","isRtl","size"];var rv,iv,ov="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},sv=function(e){var t=e.size,n=Qm(e,tv);return Qg("svg",Dh({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ov},n))},av=function(e){return Qg(sv,Dh({size:20},e),Qg("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"}))},lv=function(e){return Qg(sv,Dh({size:20},e),Qg("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"}))},cv=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Jm({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},uv=cv,dv=cv,hv=function(){var e=qg.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_"}}}(_b||(rv=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],iv||(iv=rv.slice(0)),_b=Object.freeze(Object.defineProperties(rv,{raw:{value:Object.freeze(iv)}})))),pv=function(e){var t=e.delay,n=e.offset;return Qg("span",{css:qg({animation:"".concat(hv," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},mv=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,s=e.menuIsOpen;return Qg("div",Dh({ref:i},Bb(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),o,{"aria-disabled":n||void 0}),t)},fv=["data"],gv=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 Qg("div",Dh({},Bb(e,"group",{group:!0}),a),Qg(o,Dh({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Qg("div",null,t))},bv=["innerRef","isDisabled","isHidden","inputClassName"],vv={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},yv={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Jm({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},vv)},xv=function(e){return Jm({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},vv)},Cv=function(e){var t=e.cx,n=e.value,r=kb(e),i=r.innerRef,o=r.isDisabled,s=r.isHidden,a=r.inputClassName,l=Qm(r,bv);return Qg("div",Dh({},Bb(e,"input",{"input-container":!0}),{"data-value":n||""}),Qg("input",Dh({className:t({input:!0},a),ref:i,style:xv(s),disabled:o},l)))},Iv=function(e){var t=e.children,n=e.innerProps;return Qg("div",n,t)};var wv=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 Qg(l,{data:r,innerProps:Jm(Jm({},Bb(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:a},Qg(c,{data:r,innerProps:Jm({},Bb(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Qg(u,{data:r,innerProps:Jm(Jm({},Bb(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},Av={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Qg("div",Dh({},Bb(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Qg(av,null))},Control:mv,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Qg("div",Dh({},Bb(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Qg(lv,null))},DownChevron:lv,CrossIcon:av,Group:gv,GroupHeading:function(e){var t=kb(e);t.data;var n=Qm(t,fv);return Qg("div",Dh({},Bb(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Qg("div",Dh({},Bb(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Qg("span",Dh({},t,Bb(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Cv,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Qm(e,nv);return Qg("div",Dh({},Bb(Jm(Jm({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Qg(pv,{delay:0,offset:n}),Qg(pv,{delay:160,offset:!0}),Qg(pv,{delay:320,offset:!n}))},Menu:Kb,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Qg("div",Dh({},Bb(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,o=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Km(t.useState(Jb(a)),2),h=d[0],p=d[1],m=t.useMemo(function(){return{setPortalPlacement:p}},[]),f=Km(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[h]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[o,l,h,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);Ab(function(){v()},[v]);var y=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),o&&c.current&&(u.current=wb(o,c.current,v,{elementResize:"ResizeObserver"in window}))},[o,v]);Ab(function(){y()},[y]);var x=t.useCallback(function(e){c.current=e,y()},[y]);if(!n&&"fixed"!==l||!g)return null;var C=Qg("div",Dh({ref:x},Bb(Jm(Jm({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),r);return Qg(Ub.Provider,{value:m},n?i.createPortal(C,n):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Qm(e,Zb);return Qg("div",Dh({},Bb(Jm(Jm({},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=Qm(e,zb);return Qg("div",Dh({},Bb(Jm(Jm({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:wv,MultiValueContainer:Iv,MultiValueLabel:Iv,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Qg("div",Dh({role:"button"},n),t||Qg(av,{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 Qg("div",Dh({},Bb(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 Qg("div",Dh({},Bb(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Qg("div",Dh({},Bb(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Qg("div",Dh({},Bb(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 Qg("div",Dh({},Bb(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Ev=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Nv(e,t){return e===t||!(!Ev(e)||!Ev(t))}function Sv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Nv(e[n],t[n]))return!1;return!0}for(var jv="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)."}},Tv=function(e){return Qg("span",Dh({css:jv},e))},kv={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":"",h="".concat(l?" selected":"").concat(d);return"".concat(o).concat(h,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Bv=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,h=l.getOptionLabel,p=l.inputValue,m=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,x=l.tabSelectsValue,C=l.isLoading,I=l["aria-label"],w=l["aria-live"],A=t.useMemo(function(){return Jm(Jm({},kv),d||{})},[d]),E=t.useMemo(function(){var e,t="";if(n&&A.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?h(c):"",d=i||s||void 0,p=d?d.map(h):[],m=Jm({isDisabled:c&&f(c,a),label:u,labels:p},n);t=A.onChange(m)}return t},[n,A,f,a,h]),N=t.useMemo(function(){var e="",t=r||i,n=!!(r&&a&&a.includes(r));if(t&&A.onFocus){var s={focused:t,label:h(t),isDisabled:f(t,a),isSelected:n,options:o,context:t===r?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(s)}return e},[r,i,h,f,A,o,a,u]),S=t.useMemo(function(){var e="";if(b&&v.length&&!C&&A.onFilter){var t=y({count:o.length});e=A.onFilter({inputValue:p,resultsMessage:t})}return e},[o,p,b,A,v,y,C]),j="initial-input-focus"===(null==n?void 0:n.action),T=t.useMemo(function(){var e="";if(A.guidance){var t=i?"value":b?"menu":"input";e=A.guidance({"aria-label":I,context:t,isDisabled:r&&f(r,a),isMulti:m,isSearchable:g,tabSelectsValue:x,isInitialFocus:j})}return e},[I,r,i,m,f,g,b,A,a,x,j]),k=Qg(t.Fragment,null,Qg("span",{id:"aria-selection"},E),Qg("span",{id:"aria-focused"},N),Qg("span",{id:"aria-results"},S),Qg("span",{id:"aria-guidance"},T));return Qg(t.Fragment,null,Qg(Tv,{id:c},j&&k),Qg(Tv,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!j&&k))},Rv=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Pv=new RegExp("["+Rv.map(function(e){return e.letters}).join("")+"]","g"),Lv={},Gv=0;Gv<Rv.length;Gv++)for(var Ov=Rv[Gv],Mv=0;Mv<Ov.letters.length;Mv++)Lv[Ov.letters[Mv]]=Ov.base;var Dv=function(e){return e.replace(Pv,function(e){return Lv[e]})},Vv=function(e,t){void 0===t&&(t=Sv);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}(Dv),Wv=function(e){return e.replace(/^\s+|\s+$/g,"")},Hv=function(e){return"".concat(e.label," ").concat(e.value)},Xv=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Jm({ignoreCase:!0,ignoreAccents:!0,stringify:Hv,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?Wv(n):n,u=a?Wv(s(t)):s(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=Vv(c),u=Dv(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Fv=["innerRef"];function zv(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=Km(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Km(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Qm(e,Fv),"onExited","in","enter","exit","appear");return Qg("input",Dh({ref:t},n,{css:qg({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Zv=["boxSizing","height","overflow","paddingRight","position"],Yv={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function _v(e){e.cancelable&&e.preventDefault()}function Jv(e){e.stopPropagation()}function Uv(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function $v(){return"ontouchstart"in window||navigator.maxTouchPoints}var Kv=!("undefined"==typeof window||!window.document||!window.document.createElement),Qv=0,qv={capture:!1,passive:!1};var ey=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},ty="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function ny(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,h=n.clientHeight,p=u.current,m=t>0,f=d-h-c,g=!1;f>t&&a.current&&(i&&i(e),a.current=!1),m&&l.current&&(s&&s(e),l.current=!1),m&&t>f?(r&&!a.current&&r(e),p.scrollTop=d,g=!0,a.current=!0):!m&&-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)}},[r,i,o,s]),h=t.useCallback(function(e){d(e,e.deltaY)},[d]),p=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),m=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!Hb&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",p,t),e.addEventListener("touchmove",m,t)}},[m,p,h]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",p,!1),e.removeEventListener("touchmove",m,!1))},[m,p,h]);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(Kv){var t=document.body,n=t&&t.style;if(i&&Zv.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&Qv<1){var r=parseInt(o.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(Yv).forEach(function(e){var t=Yv[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&$v()&&(t.addEventListener("touchmove",_v,qv),e&&(e.addEventListener("touchstart",Uv,qv),e.addEventListener("touchmove",Jv,qv))),Qv+=1}},[i]),l=t.useCallback(function(e){if(Kv){var t=document.body,n=t&&t.style;Qv=Math.max(Qv-1,0),i&&Qv<1&&Zv.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&$v()&&(t.removeEventListener("touchmove",_v,qv),e&&(e.removeEventListener("touchstart",Uv,qv),e.removeEventListener("touchmove",Jv,qv)))}},[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 Qg(t.Fragment,null,r&&Qg("div",{onClick:ey,css:ty}),n(function(e){o(e),s(e)}))}var ry="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)."}},iy=function(e){var t=e.name,n=e.onFocus;return Qg("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:ry,value:"",onChange:function(){}})};function oy(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 sy(){return oy(/^Mac/i)}function ay(){return oy(/^iPhone/i)||oy(/^iPad/i)||sy()&&navigator.maxTouchPoints>1}var ly={clearIndicator:dv,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 Jm({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:uv,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 Jm({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 Jm({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 Jm(Jm({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},yv),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 Jm({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:ev,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,s=i.spacing,a=i.colors;return Jm((Ym(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Ym(n,"position","absolute"),Ym(n,"width","100%"),Ym(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 Jm({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 Jm({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 Jm({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 Jm({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:qb,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,s=o.spacing,a=o.colors;return Jm({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 Jm({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 Jm({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 Jm({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")})}},cy={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}},uy={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Mb(),captureMenuScroll:!Mb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xv(),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 dy(e,t,n,r){return{type:"option",data:t,isDisabled:yy(e,t,n),isSelected:xy(e,t,n),label:by(e,t),value:vy(e,t),index:r}}function hy(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return dy(e,n,t,r)}).filter(function(t){return fy(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=dy(e,n,t,r);return fy(e,o)?o:void 0}).filter(Xb)}function py(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,sf(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function my(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,sf(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 fy(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,s=t.label,a=t.value;return(!Iy(e)||!o)&&Cy(e,{label:s,value:a,data:i},r)}var gy=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},by=function(e,t){return e.getOptionLabel(t)},vy=function(e,t){return e.getOptionValue(t)};function yy(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function xy(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=vy(e,t);return n.some(function(t){return vy(e,t)===r})}function Cy(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Iy=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},wy=1,Ay=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&&tf(e,t)}(n,t.Component);var e=function(e){var t=rf();return function(){var n,r=nf(e);if(t){var i=nf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return of(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(sf(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=Fb(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(Fb(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=Fb(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return gy(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return my(hy(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 jb.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return by(r.props,e)},r.getOptionValue=function(e){return vy(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=ly[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,Jm(Jm({},Av),e.components);var e},r.buildCategorizedOptions=function(){return hy(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return py(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Jm({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&&Rb(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 Iy(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,h=t.openMenuOnFocus,p=r.state,m=p.focusedOption,f=p.focusedValue,g=p.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||!m||h&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:s}),r.onMenuClose()):a&&o&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++wy),r.state.selectValue=Tb(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=gy(i,o[s])}return r}return function(e,t,n){t&&ef(e.prototype,t),n&&ef(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&&Ob(this.menuListRef,this.focusedOptionRef),(sy()||ay())&&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&&(Ob(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(cy):Jm(Jm({},cy),this.props.theme):cy}},{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 yy(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return xy(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Cy(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,c=e.required,u=this.getComponents().Input,d=this.state,h=d.inputIsHidden,p=d.ariaSelection,m=this.commonProps,f=r||this.getElementId("input"),g=Jm(Jm(Jm({"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":c,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?l.createElement(u,Dh({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:s,type:"text",value:i},g)):l.createElement(zv,Dh({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Nb,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,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,h=u.isDisabled,p=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:l.createElement(a,Dh({},c,{key:"placeholder",isDisabled:h,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(p)return b.map(function(t,s){var a=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,Dh({},c,{components:{Container:r,Label:i,Remove:o},isFocused:a,isDisabled:h,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=b[0];return l.createElement(s,Dh({},c,{data:x,isDisabled:h}),this.formatOptionLabel(x,"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 l.createElement(e,Dh({},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 l.createElement(e,Dh({},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 l.createElement(n,Dh({},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 l.createElement(e,Dh({},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,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,h=this.state.focusedOption,p=this.props,m=p.captureMenuScroll,f=p.inputValue,g=p.isLoading,b=p.loadingMessage,v=p.minMenuHeight,y=p.maxMenuHeight,x=p.menuIsOpen,C=p.menuPlacement,I=p.menuPosition,w=p.menuPortalTarget,A=p.menuShouldBlockScroll,E=p.menuShouldScrollIntoView,N=p.noOptionsMessage,S=p.onMenuScrollToTop,j=p.onMenuScrollToBottom;if(!x)return null;var T,k=function(t,n){var r=t.type,i=t.data,o=t.isDisabled,s=t.isSelected,a=t.label,c=t.value,p=h===i,m=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:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return l.createElement(u,Dh({},d,{innerProps:b,data:i,isDisabled:o,isSelected:s,key:g,label:a,type:r,value:c,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=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),c="".concat(a,"-heading");return l.createElement(n,Dh({},d,{key:a,data:i,options:o,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return k(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return k(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;T=l.createElement(a,d,B)}else{var R=N({inputValue:f});if(null===R)return null;T=l.createElement(c,d,R)}var P={minMenuHeight:v,maxMenuHeight:y,menuPlacement:C,menuPosition:I,menuShouldScrollIntoView:E},L=l.createElement($b,Dh({},d,P),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return l.createElement(i,Dh({},d,P,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),l.createElement(ny,{captureEnabled:m,onTopArrive:S,onBottomArrive:j,lockEnabled:A},function(t){return l.createElement(o,Dh({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:h}),T)}))});return w||"fixed"===I?l.createElement(s,Dh({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:C,menuPosition:I}),L):L}},{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 l.createElement(iy,{name:o,onFocus:this.onValueInputFocus});if(o&&!r){if(i){if(n){var c=a.map(function(t){return e.getOptionValue(t)}).join(n);return l.createElement("input",{name:o,type:"hidden",value:c})}var u=a.length>0?a.map(function(t,n){return l.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):l.createElement("input",{name:o,type:"hidden",value:""});return l.createElement("div",null,u)}var d=a[0]?this.getOptionValue(a[0]):"";return l.createElement("input",{name:o,type:"hidden",value:d})}}},{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 l.createElement(Bv,Dh({},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,c=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,h=this.commonProps=this.getCommonProps();return l.createElement(r,Dh({},h,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),l.createElement(t,Dh({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),l.createElement(i,Dh({},h,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,Dh({},h,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,h=e.inputValue,p=e.isMulti,m=Tb(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||h!==n.inputValue)){var g=d?function(e,t){return py(hy(e,t))}(e,m):[],b=d?my(hy(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:gy(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},C=o,I=s&&a;return s&&!I&&(C={value:Fb(p,m,m[0]||null),options:m,action:"initial-input-focus"},I=!a),"initial-input-focus"===(null==o?void 0:o.action)&&(C=null),Jm(Jm(Jm({},f),x),{},{prevProps:e,ariaSelection:C,prevWasFocused:I})}}]),n}();Ay.defaultProps=uy;var Ey=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,h=e.onMenuClose,p=e.onMenuOpen,m=e.value,f=Qm(e,qm),g=Km(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],y=Km(t.useState(void 0!==c?c:o),2),x=y[0],C=y[1],I=Km(t.useState(void 0!==m?m:a),2),w=I[0],A=I[1],E=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),N=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),S=t.useCallback(function(){"function"==typeof p&&p(),C(!0)},[p]),j=t.useCallback(function(){"function"==typeof h&&h(),C(!1)},[h]),T=void 0!==l?l:b,k=void 0!==c?c:x,B=void 0!==m?m:w;return Jm(Jm({},f),{},{inputValue:T,menuIsOpen:k,onChange:E,onInputChange:N,onMenuClose:j,onMenuOpen:S,value:B})}(e);return l.createElement(Ay,Dh({ref:n},r))}),Ny=Ey;const Sy=l.default.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:h,menuClassName:p,helperText:m,label:f,labelClassName:g,size:b="md",variant:v="default","data-cy":y,"data-testid":x,...C})=>{const I=t.useMemo(()=>Xv(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>Ee("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:()=>Ee(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ee("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",p),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ee("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,p,n,d,b]);return"unstyled"===v?e.jsx(Ny,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Ee("rounded-xl",r),classNames:w,"data-cy":y,"data-testid":x,...C}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Ee("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(Ny,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Ee("rounded-xl",r),classNames:w,"data-cy":y,"data-testid":x,...C}),h&&e.jsx(Kn,{className:"footnote mt-1 text-text-critical",children:h}),!h&&m&&e.jsx(Kn,{className:"footnote mt-1 text-text-info",children:m})]})});Sy.displayName="Select";const jy={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 Ty(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function ky(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}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[h,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: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(Kn,{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?h.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(ar,{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(Kn,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx(lr,{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=jy[null==r?void 0:r.toLowerCase()]||jy.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:Ee(`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(Kn,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:s,ctaButtonLink:a,ctaButtonTarget:l,anchorId:u="anchored-banner",enableCountdownTimer:d,countdownStartDateTime:h,countdownEndDateTime:p})=>{const m=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",f="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",g=t.useMemo(()=>Ty(p),[p]),b=t.useMemo(()=>Ty(h),[h]),v=t.useMemo(()=>!(!d||void 0===g)&&((!h||void 0!==b)&&(!(void 0!==b&&b>=g)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:h,countdownEndDateTime:p}),!1))),[d,g,b,h,p]),[y,x]=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(),x(e)},1e3),I;I()},[v,g,I]);const w=t.useMemo(()=>{if(!v||void 0===g)return{shouldShow:!1,text:""};if(void 0!==b&&y<b||y>=g)return{shouldShow:!1,text:""};const e=(g-y)/1e3;return{shouldShow:e>0,text:ky(e)}},[v,g,b,y]);return e.jsx("section",{id:u,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 ${m} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(c.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:[i&&e.jsx($n,{name:i,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=mr,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:r,totalPages:i,selectedCategory:s,categoryOptions:a}){const l=o.useRouter(),c=o.usePathname(),u=o.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return 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(Kn,{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(Kn,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Kn,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Kn,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(Sy,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),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(mr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(Kn,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e.jsx(Fm,{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(Kn,{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(Kn,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Kn,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Kn,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e.jsx(Sy,{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(mr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:u,index:n},t.slug)})}):e.jsx(Kn,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e.jsx(Fm,{currentPage:i,totalPages:o,onPageChange:function(e){null==c||c(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",mobileTextColor:i,desktopTextColor:o,maxWidth:s=!0,float:a="desktop"}=t,l=`${"dark"===(null!=i?i:"desktop"===a?"dark":r)?"text-text":"text-white"} ${"dark"===(null!=o?o:"mobile"===a?"dark":r)?"xl:text-text":"xl:text-white"}`,c="always"===a?"absolute":"mobile"===a?"absolute xl:relative":"desktop"===a?"relative xl:absolute":"relative";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===a&&"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 ${c} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,r)=>{const{image:i,...o}=t,s=(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:[s&&e.jsx("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(Kn,{as:"span",className:`body3 mr-2 break-words ${l}`,children:t.buttonLabel})]},r):e.jsxs("li",{className:"flex flex-none items-center",children:[s&&e.jsx("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx("a",{href:o.href,className:`label3 mr-2 whitespace-nowrap ${l} hover:underline`,children:o.buttonLabel}),e.jsx($n,{name:"chevron_right",className:`${l} `})]},r)})})}):null},exports.Button=dr,exports.Callout=({anchorId:t,title:n,items:r,enableHeading:i=!1,subtitle:o,description:s,finePrint:a,cta:l,color:c="dark",maxWidth:u=!0,maxCardsPerRow:d,cardType:h="simple",backgroundColor:p,background:m,textColor:f,containerClassName:g,innerClassName:b,applyBoxShadow:v=!1,cardStackingMobile:y=!0,cardsWidth:x=!0,noGutter:C=!1})=>{var I,w,A;const E=null!==(I=null==r?void 0:r.length)&&void 0!==I?I:0,N=Tr(null!=d?d:(S=E)<=4?S||1:S%3==0?3:S%4==0||S>6?4:3);var S;const j=Tr(Math.min(N,E||N)),T=!1===x,k=T?Ee("flex flex-col items-stretch self-stretch",C?"gap-0":"gap-6"):Ee("flex flex-wrap items-stretch justify-center self-stretch",C?"gap-0":"gap-6",C?"md:gap-0":"md:gap-6"),B=T?"":Ee("w-full",Sr[Tr(y?1:Math.min(2,N))],jr[j]),R=(t,n)=>{var r,i,o,s;const a=null!==(r=t.cardType)&&void 0!==r?r:h,l=T?{lgWidth:void 0,mdWidth:void 0}:{};switch(a){case"blog":{const r=t;return e.jsx(mr,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,asGrid:!1,...l},n)}case"fullImage":return e.jsx(xr,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:v},...l},n);case"floatingImage":return e.jsx(yr,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:v},...l},n);default:return e.jsx(Er,{card:{...t,shadow:null!==(s=t.shadow)&&void 0!==s?s:v},...l},n)}},P=m?{background:m}:void 0,L=f?{color:f}:void 0,G=m?"":p&&null!==(w=Nr[p])&&void 0!==w?w:"";return e.jsx("section",{id:t,className:Ee("component-container",G,g),style:P,children:e.jsx("div",{className:Ee(C?"p-0":"mx-5 my-12 md:my-20",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:L,children:[n&&e.jsx(Kn,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e.jsx(Kn,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o}),s&&e.jsx(Kn,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e.jsx("div",{className:Ee("card-holder",k),children:r.map((t,n)=>T?R(t,n):e.jsx("div",{className:Ee("callout-card",B),children:R(t,n)},`callout-card-${n}`))}),(l||a)&&e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[l?e.jsx(dr,{linkClassName:"label1",buttonClassName:"label1",...l,children:null!==(A=l.label)&&void 0!==A?A:l.buttonLabel}):null,a?e.jsx(Kn,{as:"div",className:"footnote text-center text-text",children:a}):null]})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(Kn,{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:h=!1})=>{const p=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} ${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(Kn,{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(Kn,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),h&&r&&e.jsxs("div",{className:"flex flex-col gap-8",children:[h&&r&&l.length>1&&e.jsx(Mr,{tabs:l,activeTab:s,onChange:a}),r&&e.jsx(Lr,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(Or,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),i&&e.jsx(Kn,{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:h,cta:p}=n,[m,f]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!m&&(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(Kn,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let’s finish your order"}),h&&rr(st(null==h?void 0:h.json),!1,"body1 my-4"),e.jsx(dr,{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(Xm,{size:"sm",isOpen:m,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(Kn,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let's finish your order"}),h&&rr(st(null==h?void 0:h.json),!1,"body1 my-4"),e.jsx(dr,{onClick:g,buttonLabel:null!==(c=null==p?void 0:p.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(Kn,{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:r}),e.jsx(Kn,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:n}){let r=3;const[i,o]=t.useState(!1),[s,a]=t.useState(!1),l=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=rt.get(e);return t?tt(t):null}("cookieBannerClosed");o("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");a(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),t.useEffect(()=>{if(!i)return;const e=()=>{if(l.current){const e=l.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,s]),s&&(r=14);const c=4*r;return i?e.jsxs("div",{id:"cookie-banner",ref:l,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:`${c}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(dr,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=et(r);rt.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx($n,{name:"close"})}),n.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.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:h})=>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(Kn,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${o}`,children:t}),c&&e.jsx(Kn,{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(dr,{...r,renderCheckPlans:h,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:h,tabsContent:p,navigationType:m=!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==h?void 0:h.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return a(t),!0})},[h,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==h?void 0:h.items)||void 0===r?void 0:r.map((t,n)=>e.jsx(dr,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ee("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(yd,{children:e.jsx(Mh.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==h?void 0:h.items)||void 0===i?void 0:i.map((t,n)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(dr,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ee("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($n,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(sr,{open:n===s,children:e.jsx("div",{className:Ee("px-4 py-4"),children:null==p?void 0:p[n]})})]},n))}),y=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==h?void 0:h.items)||void 0===o?void 0:o.map((t,n)=>e.jsx(dr,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ee("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(yd,{children:e.jsx(Mh.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(Kn,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(Kn,{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:m?b:y})]})},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:h}=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"},m=p[u]||p.green,f=["green","blue","navy"].includes(u)?"text-white":"text-text",[g,b]=t.useState(""),[v,y]=t.useState(!1),[x,C]=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] ${m} 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),x&&C(""),v&&y(!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(dr,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(g)?(h({email:g}),b(""),y(!0),C("")):C("Please enter a valid email address.")}})]}),x&&e.jsx("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:x}),d&&v&&!x&&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(Kn,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(Kn,{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(Kn,{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(tr,{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(tr,{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(br,{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(br,{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(Kn,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(Kn,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx(Kn,{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(dr,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e.jsx("div",{children:e.jsx(Kn,{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 c(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(lr,{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(l.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(Kn,{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(dr,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx(lr,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(lr,{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(dr,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`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:h,secondaryCta:p,cta:m,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:y=660,onModalButtonClick:x,renderCheckPlans:C})=>{var I,w;const[A,E]=t.useState(""),[N,S]=t.useState(!1),j=null!==(I=null==f?void 0:f.link)&&void 0!==I?I:"",T=null==f?void 0:f.image,k=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,B=Boolean(A&&A===j),R=f&&T?j.includes("vimeo")?e.jsx(Vr,{link:j,autoplay:B}):e.jsx(Wr,{link:j,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(Kn,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e.jsx(Kn,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e.jsx(Kn,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e.jsx(Kn,{as:"div",className:"body1",children:l}),h.length>0&&e.jsx(Qn,{items:h,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(tr,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(kr,{src:t.image,alt:"icon-link"})})},n))}),(m||p)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[m&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(dr,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:x})}),p&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(dr,{...p,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:x})})]}),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(br,{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:Ee("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;E(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),children:[e.jsxs("div",{className:Ee(B&&!k&&"hidden",B&&!k?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(br,{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(Dr,{isHovered:N})})]}),!k&&B&&e.jsx("div",{className:Ee("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",B?"opacity-100":"opacity-0"),children:R})]})]})]})}),k&&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(),E("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:R})})]})},exports.Modal=Xm,exports.Navigation=t=>{var n,r,i;const{primaryNavigationLinks:o,utilityNavigationLinks:s,checkPlansJSX:a,primaryNavigationLogo:l,accountNavigationLinks:c,supportNavigationLinks:u,searchBarIcon:d,invocaPhoneNumberLink:h,invocaPhoneNumberDisplayText:p,callNowCtaText:m,displayCartIcon:f,cartHref:g,cartHasRetention:b,cartIconAriaLabel:v="Cart",onCallClickDesktop:y,onCallClickMobile:x,onCartClick:C,onSearch:I=()=>{},utilityNavActiveIndex:w,primaryNavigationLogoWidth:A=76.5,primaryNavigationLogoHeight:E=24,hideMobileCallButton:N=!1,displayUtilityNavigation:S=!0,displaySearchBar:j=!0,displayCallNowCta:T=!0,showCallButton:k=!0,showCallNowCtaInMainNav:B=!1,showMobileSliderMenu:R=!0,callNowCtaIcon:P,navigationBackgroundColor:L,navigationLinkColor:G}=t,O="string"==typeof l?l:(null==l?void 0:l.url)||"",M=L?L.includes("-")||L.startsWith("bg-")?L:`bg-secondary-${L}`:"bg-secondary-navy500",D="string"==typeof P?P:(null==P?void 0:P.url)||"",V=t=>e.jsxs(tr,{href:h||"#",onClick:t,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":p?`Call ${p}`:"Call now",children:[D?e.jsx(br,{src:D,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e.jsx(Kn,{as:"span",className:"text-secondary-navy500 footnote",children:p})]}),W=(null!==(n=null==o?void 0:o.length)&&void 0!==n?n:0)>0||(null!==(r=null==u?void 0:u.length)&&void 0!==r?r:0)>0||(null!==(i=null==c?void 0:c.length)&&void 0!==i?i:0)>0;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[S?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==s?void 0:s.map((t,n)=>e.jsx("li",{children:e.jsx(dr,{linkClassName:Ee("footnote flex items-center w-full h-11 text-text","number"!=typeof w?1===n&&"label4":w===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:[T?e.jsx(zr,{className:"border-none",href:h,prefix:m,onClick:y,children:e.jsx(Kn,{className:"body3 text-text",children:p})}):null,f?e.jsxs(tr,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:C,children:[e.jsx($n,{name:"shopping_cart"}),b?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==c?void 0:c.map((t,n)=>e.jsx(Hr,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,e.jsxs("div",{className:Ee("main-nav-container",M,G),"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:O?e.jsx(tr,{href:"/",className:"flex",children:e.jsx(br,{src:O,alt:"Kinetic business logo",width:A,height:E})}):null}),e.jsx("div",{className:"flex items-center gap-6",children:R?e.jsxs(e.Fragment,{children:[k&&!N?e.jsx(zr,{href:h,onClick:x,children:e.jsx(Kn,{as:"span",className:"footnote",children:p})}):null,f?e.jsxs(tr,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:C,children:[e.jsx($n,{name:"shopping_cart"}),b?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,W?e.jsx(Yr,{...t}):null]}):k?V(x):null})]}),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:[O?e.jsx(tr,{href:"/",className:"flex",children:e.jsx(br,{src:O,alt:"Kinetic business logo",width:A,height:E,className:"mr-[64px]"})}):null,e.jsx("div",{className:"flex h-full items-center gap-5",children:null==o?void 0:o.map((t,n)=>e.jsx(Hr,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:G},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[!B||S&&T?null:V(y),j?e.jsx(Jr,{searchBarIconURL:"string"==typeof d?d:(null==d?void 0:d.url)||"",onSearch:I}):null,null==u?void 0:u.map((t,n)=>e.jsx(Hr,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:G},`support-menu-${n}`))]})]})})]})]}),a&&e.jsx("div",{className:"md:hidden",children:a})]})},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:h,renderCheckPlans:p,badgeImage:m,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v,hideOnMobileCta1:y}=t,x=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:Ee("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:Ee("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(Kn,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:r}),o&&e.jsx(Kn,{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(Kn,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(Kn,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(Kn,{as:"p",className:"subheading5",children:c}),d?e.jsx(Kn,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,h&&e.jsx(Qn,{listItemClassName:"text-white text-left",items:h.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Ee("md:block",y&&"hidden"),children:e.jsx(dr,{...s,renderCheckPlans:p,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx(Kn,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(dr,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(x||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden md:block",children:e.jsx(dr,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx(Kn,{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:[m?e.jsx(br,{src:m,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(br,{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&&(x||(null==l?void 0:l.href))&&e.jsx("div",{className:"md:hidden",children:e.jsx(dr,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx(Kn,{as:"p",className:"body3 md:hidden",children:f}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx(Kn,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(dr,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Ee("relative hidden lg:block"),children:[m?e.jsx(br,{src:m,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(br,{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=Rr,exports.SearchBlock=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:h,onSubmit:p}=n,[m,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"==h?"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(Kn,{as:s?"h1":"h2",className:Ee("heading2 md:heading1"),children:i}),o&&e.jsx(Kn,{as:"div",className:Ee("subheading2 mt-2 md:subheading1"),children:o})]}),a?e.jsx(Kn,{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:m})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(or,{type:"submit",className:"ml-2 inline-flex",children:e.jsx($n,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(Zr,{value:m,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,h=d?u[n]:void 0,p=n&&!d?{background:n}:void 0,m=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!=h?h: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 ${m}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:r,style:p,children:t})},exports.SimpleCard=Er,exports.TestimonialCard=Pr,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(Kn,{children:"Text Block"})}),exports.label1BoldOptions=ir,exports.renderContentfulRichText=rr,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r={...nr,renderMark:{...nr.renderMark,[rn.BOLD]:t=>e.jsx("strong",{className:"label4 md:label2",children:t})},renderNode:{...nr.renderNode,[tn.PARAGRAPH]:(t,n)=>e.jsx(e.Fragment,{children:n}),[tn.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})})})},[tn.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[tn.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 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[tn.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 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($n,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx($n,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[nn.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 rr(st(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e.jsx(Qn,{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 en.documentToReactComponents(t,r)},exports.toDocument=st,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...nr,renderMark:{...nr.renderMark,...null==n?void 0:n.renderMark},renderNode:{...nr.renderNode,...null==n?void 0:n.renderNode}};return en.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=rr(st(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=rr(st(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])};
|
|
14
14
|
//# sourceMappingURL=index.js.map
|