@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.
Files changed (208) hide show
  1. package/README.md +635 -635
  2. package/dist/contentful/index.esm.js +3 -3
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +3 -3
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/core.d.ts +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.esm.js +13 -5
  9. package/dist/index.esm.js.map +1 -1
  10. package/dist/index.js +13 -5
  11. package/dist/index.js.map +1 -1
  12. package/dist/next/index.esm.js +2 -2
  13. package/dist/next/index.esm.js.map +1 -1
  14. package/dist/next/index.js +2 -2
  15. package/dist/next/index.js.map +1 -1
  16. package/dist/utils/index.esm.js +1 -1
  17. package/dist/utils/index.esm.js.map +1 -1
  18. package/dist/utils/index.js +1 -1
  19. package/dist/utils/index.js.map +1 -1
  20. package/package.json +185 -185
  21. package/src/components/accordion/Accordion.stories.tsx +230 -230
  22. package/src/components/accordion/index.tsx +70 -70
  23. package/src/components/accordion/types.ts +12 -12
  24. package/src/components/alert-card/AlertCard.stories.tsx +171 -171
  25. package/src/components/alert-card/index.tsx +41 -41
  26. package/src/components/alert-card/types.ts +13 -13
  27. package/src/components/brand-button/BrandButton.stories.tsx +223 -223
  28. package/src/components/brand-button/helpers.ts +35 -35
  29. package/src/components/brand-button/index.tsx +120 -120
  30. package/src/components/brand-button/types.ts +38 -38
  31. package/src/components/button/Button.stories.tsx +108 -108
  32. package/src/components/button/index.tsx +27 -27
  33. package/src/components/button/types.ts +14 -14
  34. package/src/components/call-button/CallButton.stories.tsx +324 -324
  35. package/src/components/call-button/index.tsx +106 -106
  36. package/src/components/call-button/types.ts +16 -16
  37. package/src/components/checkbox/Checkbox.stories.tsx +247 -247
  38. package/src/components/checkbox/index.tsx +197 -197
  39. package/src/components/checkbox/types.ts +27 -27
  40. package/src/components/checklist/Checklist.stories.tsx +150 -150
  41. package/src/components/checklist/index.tsx +61 -61
  42. package/src/components/checklist/types.ts +17 -17
  43. package/src/components/collapse/Collapse.stories.tsx +255 -255
  44. package/src/components/collapse/index.tsx +46 -46
  45. package/src/components/collapse/types.ts +6 -6
  46. package/src/components/divider/Divider.stories.tsx +205 -205
  47. package/src/components/divider/index.tsx +22 -22
  48. package/src/components/divider/type.ts +3 -3
  49. package/src/components/image/Image.stories.tsx +113 -113
  50. package/src/components/image/index.tsx +25 -25
  51. package/src/components/image/types.ts +40 -40
  52. package/src/components/input/Input.stories.tsx +325 -325
  53. package/src/components/input/index.tsx +177 -177
  54. package/src/components/input/types.ts +37 -37
  55. package/src/components/link/Link.stories.tsx +163 -163
  56. package/src/components/link/index.tsx +116 -116
  57. package/src/components/link/types.ts +25 -25
  58. package/src/components/list/List.stories.tsx +272 -272
  59. package/src/components/list/index.tsx +88 -88
  60. package/src/components/list/list-item/index.tsx +38 -38
  61. package/src/components/list/list-item/types.ts +13 -13
  62. package/src/components/list/types.ts +29 -29
  63. package/src/components/material-icon/MaterialIcon.stories.tsx +322 -322
  64. package/src/components/material-icon/constants.ts +99 -99
  65. package/src/components/material-icon/index.tsx +47 -47
  66. package/src/components/material-icon/types.ts +31 -31
  67. package/src/components/modal/Modal.stories.tsx +171 -171
  68. package/src/components/modal/index.tsx +164 -164
  69. package/src/components/modal/types.ts +24 -24
  70. package/src/components/next-image/index.tsx +74 -74
  71. package/src/components/next-image/types.ts +1 -1
  72. package/src/components/pagination/index.tsx +91 -91
  73. package/src/components/pagination/types.ts +6 -6
  74. package/src/components/radio-button/RadioButton.stories.tsx +307 -307
  75. package/src/components/radio-button/index.tsx +75 -75
  76. package/src/components/radio-button/types.ts +21 -21
  77. package/src/components/see-more/SeeMore.stories.tsx +181 -181
  78. package/src/components/see-more/index.tsx +44 -44
  79. package/src/components/see-more/types.ts +4 -4
  80. package/src/components/select/Select.stories.tsx +411 -411
  81. package/src/components/select/index.tsx +155 -155
  82. package/src/components/select/types.ts +36 -36
  83. package/src/components/select-plan-button/SelectPlanButton.stories.tsx +184 -184
  84. package/src/components/select-plan-button/index.tsx +63 -63
  85. package/src/components/select-plan-button/types.ts +17 -17
  86. package/src/components/skeleton/Skeleton.stories.tsx +179 -179
  87. package/src/components/skeleton/index.tsx +61 -61
  88. package/src/components/skeleton/types.ts +4 -4
  89. package/src/components/spinner/Spinner.stories.tsx +335 -335
  90. package/src/components/spinner/index.tsx +44 -44
  91. package/src/components/spinner/types.ts +5 -5
  92. package/src/components/text/Text.stories.tsx +321 -321
  93. package/src/components/text/index.tsx +25 -25
  94. package/src/components/text/types.ts +45 -45
  95. package/src/components/tooltip/Tooltip.stories.tsx +219 -219
  96. package/src/components/tooltip/index.tsx +74 -74
  97. package/src/components/tooltip/types.ts +7 -7
  98. package/src/components/view-cart-button/ViewCartButton.stories.tsx +252 -252
  99. package/src/components/view-cart-button/index.tsx +42 -42
  100. package/src/components/view-cart-button/types.ts +5 -5
  101. package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +128 -128
  102. package/src/contentful/blocks/accordion/Accordion.stories.tsx +98 -98
  103. package/src/contentful/blocks/accordion/index.tsx +112 -112
  104. package/src/contentful/blocks/accordion/types.ts +34 -34
  105. package/src/contentful/blocks/address-input-banner/index.tsx +52 -52
  106. package/src/contentful/blocks/address-input-banner/types.ts +14 -14
  107. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +181 -181
  108. package/src/contentful/blocks/anchored-bottom-banner/types.ts +13 -13
  109. package/src/contentful/blocks/blogs-grid/BlogGrid.stories.mocks.tsx +144 -144
  110. package/src/contentful/blocks/blogs-grid/BlogGrid.stories.tsx +156 -156
  111. package/src/contentful/blocks/blogs-grid/index.tsx +134 -134
  112. package/src/contentful/blocks/blogs-grid/types.ts +26 -26
  113. package/src/contentful/blocks/blogs-grid-base/index.tsx +119 -119
  114. package/src/contentful/blocks/blogs-grid-base/types.ts +36 -36
  115. package/src/contentful/blocks/breadcrumbs/BreadcrumbNavigation.stories.tsx +147 -147
  116. package/src/contentful/blocks/breadcrumbs/index.tsx +95 -95
  117. package/src/contentful/blocks/breadcrumbs/types.ts +8 -8
  118. package/src/contentful/blocks/button/Button.stories.tsx +40 -40
  119. package/src/contentful/blocks/button/index.tsx +131 -131
  120. package/src/contentful/blocks/button/types.ts +39 -39
  121. package/src/contentful/blocks/callout/Callout.stories.tsx +23 -23
  122. package/src/contentful/blocks/callout/index.tsx +265 -265
  123. package/src/contentful/blocks/callout/types.ts +72 -72
  124. package/src/contentful/blocks/cards/Cards.stories.tsx +23 -23
  125. package/src/contentful/blocks/cards/blog-card/index.tsx +129 -129
  126. package/src/contentful/blocks/cards/blog-card/types.ts +34 -34
  127. package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -119
  128. package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -30
  129. package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -130
  130. package/src/contentful/blocks/cards/full-image-card/types.ts +29 -29
  131. package/src/contentful/blocks/cards/index.tsx +13 -13
  132. package/src/contentful/blocks/cards/product-card/index.tsx +251 -251
  133. package/src/contentful/blocks/cards/product-card/types.ts +28 -28
  134. package/src/contentful/blocks/cards/simple-card/index.tsx +325 -325
  135. package/src/contentful/blocks/cards/simple-card/types.ts +71 -71
  136. package/src/contentful/blocks/cards/testimonial-card/index.tsx +90 -90
  137. package/src/contentful/blocks/cards/testimonial-card/types.tsx +12 -12
  138. package/src/contentful/blocks/cards/types.ts +1 -1
  139. package/src/contentful/blocks/carousel/Carousel.stories.tsx +23 -23
  140. package/src/contentful/blocks/carousel/helper.tsx +440 -440
  141. package/src/contentful/blocks/carousel/index.tsx +85 -85
  142. package/src/contentful/blocks/carousel/types.ts +144 -144
  143. package/src/contentful/blocks/cart-retention-banner/index.tsx +105 -105
  144. package/src/contentful/blocks/cart-retention-banner/types.ts +11 -11
  145. package/src/contentful/blocks/comparison-table/index.tsx +29 -29
  146. package/src/contentful/blocks/comparison-table/types.ts +6 -6
  147. package/src/contentful/blocks/cookiebanner/index.tsx +146 -146
  148. package/src/contentful/blocks/cookiebanner/type.ts +7 -7
  149. package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +46 -46
  150. package/src/contentful/blocks/cta-callout/index.tsx +71 -71
  151. package/src/contentful/blocks/cta-callout/types.ts +26 -26
  152. package/src/contentful/blocks/dynamic-tabs/index.tsx +204 -204
  153. package/src/contentful/blocks/dynamic-tabs/types.ts +21 -21
  154. package/src/contentful/blocks/email-input-block/index.tsx +116 -116
  155. package/src/contentful/blocks/email-input-block/types.ts +16 -16
  156. package/src/contentful/blocks/find-kinetic/FindKinetic.stories.tsx +23 -23
  157. package/src/contentful/blocks/find-kinetic/index.tsx +130 -130
  158. package/src/contentful/blocks/find-kinetic/types.ts +19 -19
  159. package/src/contentful/blocks/floating-banner/FloatingBanner.stories.tsx +34 -34
  160. package/src/contentful/blocks/floating-banner/index.tsx +97 -97
  161. package/src/contentful/blocks/floating-banner/types.ts +22 -22
  162. package/src/contentful/blocks/footer/Footer.stories.tsx +317 -317
  163. package/src/contentful/blocks/footer/index.tsx +91 -91
  164. package/src/contentful/blocks/footer/types.ts +13 -13
  165. package/src/contentful/blocks/image-promo-bar/ImagePromoBar.stories.tsx +23 -23
  166. package/src/contentful/blocks/image-promo-bar/helper.tsx +28 -28
  167. package/src/contentful/blocks/image-promo-bar/index.tsx +246 -246
  168. package/src/contentful/blocks/image-promo-bar/types.ts +44 -44
  169. package/src/contentful/blocks/image-promo-bar/vimeo-embed.tsx +93 -93
  170. package/src/contentful/blocks/image-promo-bar/youtube-embed.tsx +46 -46
  171. package/src/contentful/blocks/modal/constants.ts +53 -53
  172. package/src/contentful/blocks/modal/index.tsx +107 -107
  173. package/src/contentful/blocks/modal/types.ts +12 -12
  174. package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.tsx +139 -139
  175. package/src/contentful/blocks/navigation/index.tsx +568 -568
  176. package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.tsx +82 -82
  177. package/src/contentful/blocks/navigation/types.ts +71 -71
  178. package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +23 -23
  179. package/src/contentful/blocks/primary-hero/index.tsx +236 -236
  180. package/src/contentful/blocks/primary-hero/types.ts +37 -37
  181. package/src/contentful/blocks/search-block/index.tsx +90 -90
  182. package/src/contentful/blocks/search-block/types.ts +15 -15
  183. package/src/contentful/blocks/shape-background-wrapper/ShapeBackgroundWrapper.stories.tsx +26 -26
  184. package/src/contentful/blocks/shape-background-wrapper/index.tsx +124 -124
  185. package/src/contentful/blocks/shape-background-wrapper/types.ts +36 -36
  186. package/src/contentful/blocks/text/Text.stories.tsx +23 -23
  187. package/src/contentful/blocks/text/index.tsx +12 -12
  188. package/src/contentful/blocks/text/types.ts +1 -1
  189. package/src/contentful/index.ts +105 -105
  190. package/src/hooks/contentful/use-contentful-rich-text.tsx +309 -309
  191. package/src/hooks/contentful/use-processed-check-list.ts +63 -63
  192. package/src/hooks/use-body-scroll-lock.ts +34 -34
  193. package/src/hooks/use-carousel-swipe.ts +264 -264
  194. package/src/hooks/use-outside-click.ts +17 -17
  195. package/src/index.ts +101 -101
  196. package/src/next/index.ts +5 -5
  197. package/src/setupTests.ts +46 -46
  198. package/src/stories/DocsTemplate.tsx +24 -24
  199. package/src/styles/globals.css +343 -343
  200. package/src/types/global.d.ts +9 -9
  201. package/src/types/micro-components.ts +99 -99
  202. package/src/types/utm.ts +49 -49
  203. package/src/utils/contentful/to-document.ts +24 -24
  204. package/src/utils/cookie.ts +84 -84
  205. package/src/utils/cx.ts +49 -49
  206. package/src/utils/index.ts +41 -41
  207. package/src/utils/speed-card-bg.ts +24 -24
  208. package/src/utils/utm.ts +221 -221
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
- import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import i,{isValidElement as o,cloneElement as a,forwardRef as s,useMemo as l,createElement as c,useRef as u,useState as d,useEffect as p,useCallback as h,createContext as m,useLayoutEffect as f,useContext as g,useInsertionEffect as b,useId as v,Children as y,Fragment as x,useReducer as I,Component as C}from"react";import*as w from"next/link";import N from"next/link";import A from"next/image";import E,{flushSync as k,createPortal as T}from"react-dom";import{useRouter as P,usePathname as G,useSearchParams as B}from"next/navigation";function S(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=S(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function R(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=S(e))&&(r&&(r+=" "),r+=t);return r}const V=e=>{const t=W(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),L(n,t)||D(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},L=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?L(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},M=/^\[(.+)\]$/,D=e=>{if(M.test(e)){const t=M.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},W=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)O(n[e],r,e,t);return r},O=(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 F(e)?void O(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{O(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},F=e=>e.isThemeGetter,H=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},z=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=j(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},j=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Z=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},Y=/\s+/;function J(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=U(e))&&(r&&(r+=" "),r+=t);return r}const U=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=U(e[r]))&&(n&&(n+=" "),n+=t);return n};function _(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:H(e.cacheSize),parseClassName:z(e),sortModifiers:Z(e),...V(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(Y);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(a.includes(v))continue;a.push(v);const y=i(f,m);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(J.apply(null,arguments))}}const $=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Q=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,K=/^\((?:(\w[\w-]*):)?(.+)\)$/i,q=/^\d+\/\d+$/,ee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,te=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ne=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,re=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ie=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>q.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),se=e=>!!e&&Number.isInteger(Number(e)),le=e=>e.endsWith("%")&&ae(e.slice(0,-1)),ce=e=>ee.test(e),ue=()=>!0,de=e=>te.test(e)&&!ne.test(e),pe=()=>!1,he=e=>re.test(e),me=e=>ie.test(e),fe=e=>!be(e)&&!we(e),ge=e=>Ge(e,Ve,pe),be=e=>Q.test(e),ve=e=>Ge(e,Le,de),ye=e=>Ge(e,Me,ae),xe=e=>Ge(e,Se,pe),Ie=e=>Ge(e,Re,me),Ce=e=>Ge(e,We,he),we=e=>K.test(e),Ne=e=>Be(e,Le),Ae=e=>Be(e,De),Ee=e=>Be(e,Se),ke=e=>Be(e,Ve),Te=e=>Be(e,Re),Pe=e=>Be(e,We,!0),Ge=(e,t,n)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Be=(e,t,n=!1)=>{const r=K.exec(e);return!!r&&(r[1]?t(r[1]):n)},Se=e=>"position"===e||"percentage"===e,Re=e=>"image"===e||"url"===e,Ve=e=>"length"===e||"size"===e||"bg-size"===e,Le=e=>"length"===e,Me=e=>"number"===e,De=e=>"family-name"===e,We=e=>"shadow"===e,Oe=()=>{const e=$("color"),t=$("font"),n=$("text"),r=$("font-weight"),i=$("tracking"),o=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),p=$("text-shadow"),h=$("drop-shadow"),m=$("blur"),f=$("perspective"),g=$("aspect"),b=$("ease"),v=$("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",we,be],x=()=>[we,be,l],I=()=>[oe,"full","auto",...x()],C=()=>[se,"none","subgrid",we,be],w=()=>["auto",{span:["full",se,we,be]},se,we,be],N=()=>[se,"auto",we,be],A=()=>["auto","min","max","fr",we,be],E=()=>["auto",...x()],k=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[e,we,be],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ee,xe,{position:[we,be]}],G=()=>["auto","cover","contain",ke,ge,{size:[we,be]}],B=()=>[le,Ne,ve],S=()=>["","none","full",c,we,be],R=()=>["",ae,Ne,ve],V=()=>[ae,le,Ee,xe],L=()=>["","none",m,we,be],M=()=>["none",ae,we,be],D=()=>["none",ae,we,be],W=()=>[ae,we,be],O=()=>[oe,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ce],breakpoint:[ce],color:[ue],container:[ce],"drop-shadow":[ce],ease:["in","out","in-out"],font:[fe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ce],shadow:[ce],spacing:["px",ae],text:[ce],"text-shadow":[ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,be,we,g]}],container:["container"],columns:[{columns:[ae,be,we,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[se,"auto",we,be]}],basis:[{basis:[oe,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,oe,"auto","initial","none",be]}],grow:[{grow:["",ae,we,be]}],shrink:[{shrink:["",ae,we,be]}],order:[{order:[se,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[s,"screen",...k()]}],"min-w":[{"min-w":[s,"screen","none",...k()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...k()]}],h:[{h:["screen","lh",...k()]}],"min-h":[{"min-h":["screen","lh","none",...k()]}],"max-h":[{"max-h":["screen","lh",...k()]}],"font-size":[{text:["base",n,Ne,ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,we,ye]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",le,be]}],"font-family":[{font:[Ae,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,we,be]}],"line-clamp":[{"line-clamp":[ae,"none",we,ye]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[ae,"from-font","auto",we,ve]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ae,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},se,we,be],radial:["",we,be],conic:[se,we,be]},Te,Ie]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[ae,we,be]}],"outline-w":[{outline:["",ae,Ne,ve]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,Pe,Ce]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Pe,Ce]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ae,ve]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,Pe,Ce]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ae,we,be]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"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":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"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":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"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":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"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":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"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":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"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":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[we,be]}],"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":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:L()}],brightness:[{brightness:[ae,we,be]}],contrast:[{contrast:[ae,we,be]}],"drop-shadow":[{"drop-shadow":["","none",h,Pe,Ce]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",ae,we,be]}],"hue-rotate":[{"hue-rotate":[ae,we,be]}],invert:[{invert:["",ae,we,be]}],saturate:[{saturate:[ae,we,be]}],sepia:[{sepia:["",ae,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[ae,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[ae,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,we,be]}],"backdrop-invert":[{"backdrop-invert":["",ae,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[ae,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[ae,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",we,be]}],ease:[{ease:["linear","initial",b,we,be]}],delay:[{delay:[ae,we,be]}],animate:[{animate:["none",v,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,we,be]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"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",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[ae,Ne,ve,ye]}],stroke:[{stroke:["none",...T()]}],"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)},Fe=(e,t)=>{if(t)for(const n in t)Xe(e,n,t[n])},He=(e,t)=>{if(t)for(const n in t)ze(e,t,n)},ze=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},je=((e,...t)=>"function"==typeof e?_(Oe,e,...t):_(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(Xe(e,"cacheSize",t),Xe(e,"prefix",n),Xe(e,"experimentalParseClassName",r),Fe(e.theme,o.theme),Fe(e.classGroups,o.classGroups),Fe(e.conflictingClassGroups,o.conflictingClassGroups),Fe(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Xe(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),He(e.theme,i.theme),He(e.classGroups,i.classGroups),He(e.conflictingClassGroups,i.conflictingClassGroups),He(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ze(e,i,"orderSensitiveModifiers"),e))(Oe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ze=(...e)=>je(R(...e)),Ye=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`,Je="function"==typeof Buffer,Ue="function"==typeof TextDecoder?new TextDecoder:void 0,_e="function"==typeof TextEncoder?new TextEncoder:void 0,$e=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Qe=(()=>{let e={};return $e.forEach((t,n)=>e[t]=n),e})(),Ke=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,qe=String.fromCharCode.bind(String),et="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),tt=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),nt=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),rt=e=>{let t,n,r,i,o="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=$e[t>>18&63]+$e[t>>12&63]+$e[t>>6&63]+$e[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},it="function"==typeof btoa?e=>btoa(e):Je?e=>Buffer.from(e,"binary").toString("base64"):rt,ot=Je?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(qe.apply(null,e.subarray(n,n+4096)));return it(t.join(""))},at=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?qe(192|t>>>6)+qe(128|63&t):qe(224|t>>>12&15)+qe(128|t>>>6&63)+qe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return qe(240|t>>>18&7)+qe(128|t>>>12&63)+qe(128|t>>>6&63)+qe(128|63&t)},st=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,lt=e=>e.replace(st,at),ct=Je?e=>Buffer.from(e,"utf8").toString("base64"):_e?e=>ot(_e.encode(e)):e=>it(lt(e)),ut=(e,t=!1)=>t?tt(ct(e)):ct(e),dt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,pt=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return qe((t>>>10)+55296)+qe(56320+(1023&t));case 3:return qe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return qe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},ht=e=>e.replace(dt,pt),mt=e=>{if(e=e.replace(/\s+/g,""),!Ke.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Qe[e.charAt(o++)]<<18|Qe[e.charAt(o++)]<<12|(n=Qe[e.charAt(o++)])<<6|(r=Qe[e.charAt(o++)]),64===n?i.push(qe(t>>16&255)):64===r?i.push(qe(t>>16&255,t>>8&255)):i.push(qe(t>>16&255,t>>8&255,255&t));return i.join("")},ft="function"==typeof atob?e=>atob(nt(e)):Je?e=>Buffer.from(e,"base64").toString("binary"):mt,gt=Je?e=>et(Buffer.from(e,"base64")):e=>et(ft(e).split("").map(e=>e.charCodeAt(0))),bt=Je?e=>Buffer.from(e,"base64").toString("utf8"):Ue?e=>Ue.decode(gt(e)):e=>ht(ft(e)),vt=e=>nt(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),yt=e=>bt(vt(e)),xt=ut,It=yt;
3
+ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import i,{forwardRef as o,useMemo as a,createElement as s,useRef as l,useState as c,useEffect as u,useCallback as d,createContext as h,useLayoutEffect as p,useId as m,useContext as f,useInsertionEffect as g,Children as b,isValidElement as v,Fragment as y,Component as x,cloneElement as I,useReducer as w}from"react";import*as C from"next/link";import A from"next/link";import N from"next/image";import E,{flushSync as S,createPortal as T}from"react-dom";import{useRouter as k,usePathname as B,useSearchParams as P}from"next/navigation";function L(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=L(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function R(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=L(e))&&(r&&(r+=" "),r+=t);return r}const G=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(),O(n,t)||M(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},O=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?O(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},D=/^\[(.+)\]$/,M=e=>{if(D.test(e)){const t=D.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},V=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)j(n[e],r,e,t);return r},j=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:W(t,e)).classGroupId=n)}if("function"==typeof e)return H(e)?void j(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{j(i,W(t,e),n,r)})})},W=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},H=e=>e.isThemeGetter,X=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},F=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=z(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Z=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},Y=/\s+/;function _(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=J(e))&&(r&&(r+=" "),r+=t);return r}const J=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=J(e[r]))&&(n&&(n+=" "),n+=t);return n};function U(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:X(e.cacheSize),parseClassName:F(e),sortModifiers:Z(e),...G(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(Y);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[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(a.includes(v))continue;a.push(v);const y=i(f,m);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(_.apply(null,arguments))}}const $=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},K=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,q=/^\d+\/\d+$/,ee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,te=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ne=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,re=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ie=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>q.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),se=e=>!!e&&Number.isInteger(Number(e)),le=e=>e.endsWith("%")&&ae(e.slice(0,-1)),ce=e=>ee.test(e),ue=()=>!0,de=e=>te.test(e)&&!ne.test(e),he=()=>!1,pe=e=>re.test(e),me=e=>ie.test(e),fe=e=>!be(e)&&!Ce(e),ge=e=>Be(e,Ge,he),be=e=>K.test(e),ve=e=>Be(e,Oe,de),ye=e=>Be(e,De,ae),xe=e=>Be(e,Le,he),Ie=e=>Be(e,Re,me),we=e=>Be(e,Ve,pe),Ce=e=>Q.test(e),Ae=e=>Pe(e,Oe),Ne=e=>Pe(e,Me),Ee=e=>Pe(e,Le),Se=e=>Pe(e,Ge),Te=e=>Pe(e,Re),ke=e=>Pe(e,Ve,!0),Be=(e,t,n)=>{const r=K.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Pe=(e,t,n=!1)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n)},Le=e=>"position"===e||"percentage"===e,Re=e=>"image"===e||"url"===e,Ge=e=>"length"===e||"size"===e||"bg-size"===e,Oe=e=>"length"===e,De=e=>"number"===e,Me=e=>"family-name"===e,Ve=e=>"shadow"===e,je=()=>{const e=$("color"),t=$("font"),n=$("text"),r=$("font-weight"),i=$("tracking"),o=$("leading"),a=$("breakpoint"),s=$("container"),l=$("spacing"),c=$("radius"),u=$("shadow"),d=$("inset-shadow"),h=$("text-shadow"),p=$("drop-shadow"),m=$("blur"),f=$("perspective"),g=$("aspect"),b=$("ease"),v=$("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ce,be],x=()=>[Ce,be,l],I=()=>[oe,"full","auto",...x()],w=()=>[se,"none","subgrid",Ce,be],C=()=>["auto",{span:["full",se,Ce,be]},se,Ce,be],A=()=>[se,"auto",Ce,be],N=()=>["auto","min","max","fr",Ce,be],E=()=>["auto",...x()],S=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[e,Ce,be],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ee,xe,{position:[Ce,be]}],B=()=>["auto","cover","contain",Se,ge,{size:[Ce,be]}],P=()=>[le,Ae,ve],L=()=>["","none","full",c,Ce,be],R=()=>["",ae,Ae,ve],G=()=>[ae,le,Ee,xe],O=()=>["","none",m,Ce,be],D=()=>["none",ae,Ce,be],M=()=>["none",ae,Ce,be],V=()=>[ae,Ce,be],j=()=>[oe,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ce],breakpoint:[ce],color:[ue],container:[ce],"drop-shadow":[ce],ease:["in","out","in-out"],font:[fe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ce],shadow:[ce],spacing:["px",ae],text:[ce],"text-shadow":[ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,be,Ce,g]}],container:["container"],columns:[{columns:[ae,be,Ce,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[se,"auto",Ce,be]}],basis:[{basis:[oe,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,oe,"auto","initial","none",be]}],grow:[{grow:["",ae,Ce,be]}],shrink:[{shrink:["",ae,Ce,be]}],order:[{order:[se,"first","last","none",Ce,be]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[s,"screen",...S()]}],"min-w":[{"min-w":[s,"screen","none",...S()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...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,Ae,ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ce,ye]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",le,be]}],"font-family":[{font:[Ne,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Ce,be]}],"line-clamp":[{"line-clamp":[ae,"none",Ce,ye]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",Ce,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[ae,"from-font","auto",Ce,ve]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ae,"auto",Ce,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ce,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:k()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},se,Ce,be],radial:["",Ce,be],conic:[se,Ce,be]},Te,Ie]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[ae,Ce,be]}],"outline-w":[{outline:["",ae,Ae,ve]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,ke,we]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,ke,we]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ae,ve]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",h,ke,we]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ae,Ce,be]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"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":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"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":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"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":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"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":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"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":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"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":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[Ce,be]}],"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":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:k()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,be]}],filter:[{filter:["","none",Ce,be]}],blur:[{blur:O()}],brightness:[{brightness:[ae,Ce,be]}],contrast:[{contrast:[ae,Ce,be]}],"drop-shadow":[{"drop-shadow":["","none",p,ke,we]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",ae,Ce,be]}],"hue-rotate":[{"hue-rotate":[ae,Ce,be]}],invert:[{invert:["",ae,Ce,be]}],saturate:[{saturate:[ae,Ce,be]}],sepia:[{sepia:["",ae,Ce,be]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,be]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[ae,Ce,be]}],"backdrop-contrast":[{"backdrop-contrast":[ae,Ce,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,Ce,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,Ce,be]}],"backdrop-invert":[{"backdrop-invert":["",ae,Ce,be]}],"backdrop-opacity":[{"backdrop-opacity":[ae,Ce,be]}],"backdrop-saturate":[{"backdrop-saturate":[ae,Ce,be]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,Ce,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",Ce,be]}],ease:[{ease:["linear","initial",b,Ce,be]}],delay:[{delay:[ae,Ce,be]}],animate:[{animate:["none",v,Ce,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Ce,be]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:M()}],"scale-x":[{"scale-x":M()}],"scale-y":[{"scale-y":M()}],"scale-z":[{"scale-z":M()}],"scale-3d":["scale-3d"],skew:[{skew:V()}],"skew-x":[{"skew-x":V()}],"skew-y":[{"skew-y":V()}],transform:[{transform:[Ce,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ce,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ce,be]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[ae,Ae,ve,ye]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},We=(e,t,n)=>{void 0!==n&&(e[t]=n)},He=(e,t)=>{if(t)for(const n in t)We(e,n,t[n])},Xe=(e,t)=>{if(t)for(const n in t)Fe(e,t,n)},Fe=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ze=((e,...t)=>"function"==typeof e?U(je,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(We(e,"cacheSize",t),We(e,"prefix",n),We(e,"experimentalParseClassName",r),He(e.theme,o.theme),He(e.classGroups,o.classGroups),He(e.conflictingClassGroups,o.conflictingClassGroups),He(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),We(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Xe(e.theme,i.theme),Xe(e.classGroups,i.classGroups),Xe(e.conflictingClassGroups,i.conflictingClassGroups),Xe(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Fe(e,i,"orderSensitiveModifiers"),e))(je(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ze=(...e)=>ze(R(...e)),Ye=(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>`,_e="function"==typeof Buffer,Je="function"==typeof TextDecoder?new TextDecoder:void 0,Ue="function"==typeof TextEncoder?new TextEncoder:void 0,$e=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Ke=(()=>{let e={};return $e.forEach((t,n)=>e[t]=n),e})(),Qe=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,qe=String.fromCharCode.bind(String),et="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),tt=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),nt=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),rt=e=>{let t,n,r,i,o="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=$e[t>>18&63]+$e[t>>12&63]+$e[t>>6&63]+$e[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},it="function"==typeof btoa?e=>btoa(e):_e?e=>Buffer.from(e,"binary").toString("base64"):rt,ot=_e?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(qe.apply(null,e.subarray(n,n+4096)));return it(t.join(""))},at=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?qe(192|t>>>6)+qe(128|63&t):qe(224|t>>>12&15)+qe(128|t>>>6&63)+qe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return qe(240|t>>>18&7)+qe(128|t>>>12&63)+qe(128|t>>>6&63)+qe(128|63&t)},st=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,lt=e=>e.replace(st,at),ct=_e?e=>Buffer.from(e,"utf8").toString("base64"):Ue?e=>ot(Ue.encode(e)):e=>it(lt(e)),ut=(e,t=!1)=>t?tt(ct(e)):ct(e),dt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ht=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return qe((t>>>10)+55296)+qe(56320+(1023&t));case 3:return qe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return qe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},pt=e=>e.replace(dt,ht),mt=e=>{if(e=e.replace(/\s+/g,""),!Qe.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Ke[e.charAt(o++)]<<18|Ke[e.charAt(o++)]<<12|(n=Ke[e.charAt(o++)])<<6|(r=Ke[e.charAt(o++)]),64===n?i.push(qe(t>>16&255)):64===r?i.push(qe(t>>16&255,t>>8&255)):i.push(qe(t>>16&255,t>>8&255,255&t));return i.join("")},ft="function"==typeof atob?e=>atob(nt(e)):_e?e=>Buffer.from(e,"base64").toString("binary"):mt,gt=_e?e=>et(Buffer.from(e,"base64")):e=>et(ft(e).split("").map(e=>e.charCodeAt(0))),bt=_e?e=>Buffer.from(e,"base64").toString("utf8"):Je?e=>Je.decode(gt(e)):e=>pt(ft(e)),vt=e=>nt(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),yt=e=>bt(vt(e)),xt=ut,It=yt;
4
4
  /*! js-cookie v3.0.5 | MIT */
5
- function Ct(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var wt=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=Ct({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",Ct({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Ct({},this.attributes,t))},withConverter:function(t){return e(Ct({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const Nt=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const At=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Et=e=>{if(!e)return null;if(At(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return At(t)?t:null}return null};var kt=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}({}),Tt=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}({}),Pt=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 Gt=[kt.PARAGRAPH,kt.HEADING_1,kt.HEADING_2,kt.HEADING_3,kt.HEADING_4,kt.HEADING_5,kt.HEADING_6,kt.OL_LIST,kt.UL_LIST,kt.HR,kt.QUOTE,kt.EMBEDDED_ENTRY,kt.EMBEDDED_ASSET,kt.EMBEDDED_RESOURCE,kt.TABLE],Bt=[kt.PARAGRAPH,kt.HEADING_1,kt.HEADING_2,kt.HEADING_3,kt.HEADING_4,kt.HEADING_5,kt.HEADING_6,kt.OL_LIST,kt.UL_LIST,kt.HR,kt.QUOTE,kt.EMBEDDED_ENTRY,kt.EMBEDDED_ASSET,kt.EMBEDDED_RESOURCE];kt.TABLE,kt.TABLE_ROW,kt.TABLE_CELL,kt.TABLE_HEADER_CELL,kt.HR,kt.EMBEDDED_ENTRY,kt.EMBEDDED_ASSET,kt.EMBEDDED_RESOURCE;const St={[kt.OL_LIST]:[kt.LIST_ITEM],[kt.UL_LIST]:[kt.LIST_ITEM],[kt.LIST_ITEM]:Bt,[kt.QUOTE]:[kt.PARAGRAPH],[kt.TABLE]:[kt.TABLE_ROW],[kt.TABLE_ROW]:[kt.TABLE_CELL,kt.TABLE_HEADER_CELL],[kt.TABLE_CELL]:[kt.PARAGRAPH,kt.UL_LIST,kt.OL_LIST],[kt.TABLE_HEADER_CELL]:[kt.PARAGRAPH]};kt.HEADING_1,kt.HEADING_2,kt.HEADING_3,kt.HEADING_4,kt.HEADING_5,kt.HEADING_6;kt.PARAGRAPH,kt.DOCUMENT,kt.PARAGRAPH,kt.HEADING_1,kt.HEADING_2,kt.HEADING_3,kt.HEADING_4,kt.HEADING_5,kt.HEADING_6,kt.OL_LIST,kt.UL_LIST,kt.LIST_ITEM,kt.HR,kt.QUOTE,kt.EMBEDDED_ENTRY,kt.EMBEDDED_ASSET,Tt.HYPERLINK,Tt.ENTRY_HYPERLINK,Tt.ASSET_HYPERLINK,Tt.EMBEDDED_ENTRY,Pt.BOLD,Pt.CODE,Pt.ITALIC,Pt.UNDERLINE,kt.DOCUMENT,kt.PARAGRAPH;function Rt(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!==kt.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 Vt=({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 Lt{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(Vt({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(Vt({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(Vt({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(Vt({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 Mt=[];class Dt{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Lt(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 Lt(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 Wt extends Dt{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 Lt(e,t);if(n.object("target")){const r=new Lt(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 Ot=(e,t)=>new Dt(e,t),Xt=(e,t)=>new Wt(e,t);Ot([...Object.values(Tt),"text"].sort()),Ot([kt.LIST_ITEM]),Xt("Entry",Mt),Ot(()=>({nodeTypes:[kt.PARAGRAPH],min:1}),(e,t)=>{const n=new Lt(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});function Ft(e,t){return e.map((e,n)=>{return r=Ht(e,t),i=n,o(r)&&null===r.key?a(r,{key:i}):r;var r,i})}function Ht(e,t){const{renderNode:n,renderMark:r,renderText:o,preserveWhitespace:a}=t;if(function(e){return"text"===e.nodeType}(e)){let t=o?o(e.value):e.value;if(a&&!o){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(i.createElement("br",null))}),t=n}return e.marks.reduce((e,t)=>r[t.type]?r[t.type](e):e,t)}{const r=Ft(e.content,t);return e.nodeType&&n[e.nodeType]?n[e.nodeType](e,r):i.createElement(i.Fragment,null,r)}}kt.DOCUMENT,Ot(Gt),kt.PARAGRAPH,kt.HEADING_1,kt.HEADING_2,kt.HEADING_3,kt.HEADING_4,kt.HEADING_5,kt.HEADING_6,kt.QUOTE,Ot(St[kt.QUOTE]),kt.EMBEDDED_ENTRY,kt.EMBEDDED_ASSET,Xt("Asset",Mt),kt.EMBEDDED_RESOURCE,Xt("Contentful:Entry",Mt),kt.HR,Ot(Mt),kt.OL_LIST,kt.UL_LIST,kt.LIST_ITEM,Ot([...Bt].sort()),kt.TABLE,Ot(()=>({nodeTypes:[kt.TABLE_ROW],min:1})),kt.TABLE_ROW,Ot(()=>({nodeTypes:[kt.TABLE_CELL,kt.TABLE_HEADER_CELL],min:1})),kt.TABLE_CELL,kt.TABLE_HEADER_CELL,Tt.HYPERLINK,new class extends Dt{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Lt(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Tt.EMBEDDED_ENTRY,Tt.EMBEDDED_RESOURCE,Xt("Contentful:Entry",Mt),Tt.ENTRY_HYPERLINK,Xt("Entry",["text"]),Tt.ASSET_HYPERLINK,Xt("Asset",["text"]),Tt.RESOURCE_HYPERLINK,Xt("Contentful:Entry",["text"]);const zt={[kt.DOCUMENT]:(e,t)=>t,[kt.PARAGRAPH]:(e,t)=>i.createElement("p",null,t),[kt.HEADING_1]:(e,t)=>i.createElement("h1",null,t),[kt.HEADING_2]:(e,t)=>i.createElement("h2",null,t),[kt.HEADING_3]:(e,t)=>i.createElement("h3",null,t),[kt.HEADING_4]:(e,t)=>i.createElement("h4",null,t),[kt.HEADING_5]:(e,t)=>i.createElement("h5",null,t),[kt.HEADING_6]:(e,t)=>i.createElement("h6",null,t),[kt.EMBEDDED_ENTRY]:(e,t)=>i.createElement("div",null,t),[kt.EMBEDDED_RESOURCE]:(e,t)=>i.createElement("div",null,t),[kt.UL_LIST]:(e,t)=>i.createElement("ul",null,t),[kt.OL_LIST]:(e,t)=>i.createElement("ol",null,t),[kt.LIST_ITEM]:(e,t)=>i.createElement("li",null,t),[kt.QUOTE]:(e,t)=>i.createElement("blockquote",null,t),[kt.HR]:()=>i.createElement("hr",null),[kt.TABLE]:(e,t)=>i.createElement("table",null,i.createElement("tbody",null,t)),[kt.TABLE_ROW]:(e,t)=>i.createElement("tr",null,t),[kt.TABLE_HEADER_CELL]:(e,t)=>i.createElement("th",null,t),[kt.TABLE_CELL]:(e,t)=>i.createElement("td",null,t),[Tt.ASSET_HYPERLINK]:e=>Zt(Tt.ASSET_HYPERLINK,e),[Tt.ENTRY_HYPERLINK]:e=>Zt(Tt.ENTRY_HYPERLINK,e),[Tt.RESOURCE_HYPERLINK]:e=>Yt(Tt.RESOURCE_HYPERLINK,e),[Tt.EMBEDDED_ENTRY]:e=>Zt(Tt.EMBEDDED_ENTRY,e),[Tt.EMBEDDED_RESOURCE]:(e,t)=>Yt(Tt.EMBEDDED_RESOURCE,e),[Tt.HYPERLINK]:(e,t)=>i.createElement("a",{href:e.data.uri},t)},jt={[Pt.BOLD]:e=>i.createElement("b",null,e),[Pt.ITALIC]:e=>i.createElement("i",null,e),[Pt.UNDERLINE]:e=>i.createElement("u",null,e),[Pt.CODE]:e=>i.createElement("code",null,e),[Pt.SUPERSCRIPT]:e=>i.createElement("sup",null,e),[Pt.SUBSCRIPT]:e=>i.createElement("sub",null,e),[Pt.STRIKETHROUGH]:e=>i.createElement("s",null,e)};function Zt(e,t){return i.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function Yt(e,t){return i.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=Rt(e)),Ht(n,{renderNode:{...zt,...t.renderNode},renderMark:{...jt,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}const Ut={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},_t=s(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ze("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:i,...o,children:t})});_t.displayName="ListItem";const $t=s(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ze(u,`list--${t}`,`list--${a}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(_t,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});$t.displayName="List";const Qt=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Ze("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Qt.displayName="MaterialIcon";const Kt=s(({children:e,as:t,className:n="",style:r,...o},a)=>{const s=t||"p";return i.createElement(s,{ref:a,className:n,style:r,...o},e)});Kt.displayName="Text";const qt=n=>{const{items:r,listIconName:i="check",listItemClassName:o,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==i;return(null==r?void 0:r.length)?e($t,{className:Ze("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:r.map((n,r)=>t(_t,{variant:d?"unstyled":"default",className:Ze(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[d&&e("div",{className:"flex leading-none",children:e(Qt,{name:i,size:s,color:Ut[c],weight:"600",className:Ze("block","top"===l?"mt-1":"",u)})}),e(Kt,{as:"div",children:n})]},r))}):null};var en;qt.displayName="Checklist";const tn="function"==typeof N?N:null!==(en=N.default)&&void 0!==en?en:N,nn=s(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},h=Ze(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:h,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...m,children:t}):e(tn,{href:n||"#",className:h,onClick:p,...c,children:t})});nn.displayName="Link";const rn={renderMark:{[Pt.BOLD]:t=>e("strong",{className:"label3",children:t}),[Pt.ITALIC]:t=>e("em",{children:t}),[Pt.UNDERLINE]:t=>e("u",{children:t}),[Pt.CODE]:t=>e("code",{children:t})},renderNode:{[kt.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[kt.HEADING_1]:(t,n)=>e(Kt,{as:"h1",className:"heading2 md:heading1",children:n}),[kt.HEADING_2]:(t,n)=>e(Kt,{as:"h2",className:"heading6 md:heading5",children:n}),[kt.HEADING_3]:(t,n)=>e(Kt,{as:"h3",className:"heading6 md:heading5",children:n}),[kt.HEADING_4]:(t,n)=>e(Kt,{as:"h3",className:"headingClass",children:n}),[kt.HEADING_5]:(t,n)=>e(Kt,{as:"h3",className:"heading6 md:heading5",children:n}),[kt.HEADING_6]:(t,n)=>e(Kt,{as:"h3",className:"heading6",children:n}),[kt.QUOTE]:(t,n)=>e("blockquote",{children:n}),[kt.UL_LIST]:(t,n)=>e("ul",{children:n}),[kt.OL_LIST]:(t,n)=>e("ol",{children:n}),[kt.LIST_ITEM]:(t,n)=>e("li",{children:n}),[Tt.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("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,children:n})},[kt.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,a=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.url),s=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[kt.EMBEDDED_ENTRY]:n=>{var r,i,o,a;const s=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"callout"===(null===(a=null===(o=null===(i=null==s?void 0:s.sys)||void 0===i?void 0:i.contentType)||void 0===o?void 0:o.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[Tt.EMBEDDED_ENTRY]:n=>{var r,i,o,a,s,l;const c=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"componentCheckList"===(null===(a=null===(o=null===(i=null==c?void 0:c.sys)||void 0===i?void 0:i.contentType)||void 0===o?void 0:o.sys)||void 0===a?void 0:a.id)?t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",c.fields.title]}):e("span",{children:null!==(l=null===(s=null==c?void 0:c.fields)||void 0===s?void 0:s.title)&&void 0!==l?l:""})}}};function on(t,n,r="body1",i="body1 font-bold",o){if(!t||!Array.isArray(t.content))return null;const a={...rn,...o,renderNode:{...rn.renderNode,...null==o?void 0:o.renderNode,[kt.PARAGRAPH]:(t,n)=>e("div",{className:r,children:n}),[Tt.HYPERLINK]:(t,r)=>{var o;const a=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(nn,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:i,children:r})}}};return Jt(t,a)}function an(e,t){return l(()=>{if(!e||!Array.isArray(e.content))return null;const n={...rn,renderMark:{...rn.renderMark,...null==t?void 0:t.renderMark},renderNode:{...rn.renderNode,...null==t?void 0:t.renderNode}};return Jt(e,n)},[e,t])}function sn(r,i){if(!r||!Array.isArray(r.content))return null;const o={...rn,renderMark:{...rn.renderMark,[Pt.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...rn.renderNode,[kt.PARAGRAPH]:(t,r)=>e(n,{children:r}),[kt.TABLE]:(t,n)=>{var r,i;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[kt.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[kt.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[kt.TABLE_CELL]:(r,i)=>{var o,a,s,l;const c=(null===(o=r.parent)||void 0===o?void 0:o.content.length)>2,u=null===(l=null===(s=null===(a=r.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote break-words bg-white py-2 md:py-4 text-center align-top leading-5 text-text md:body2 first:text-left md:leading-7 ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(Qt,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(Qt,{name:"cancel",color:"#CECECE",fill:1}):i]})})},[Tt.EMBEDDED_ENTRY]:t=>{var n,r,o,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==i?void 0:i.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map(e=>{var t;return on(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(qt,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return Jt(r,o)}const ln={renderMark:{[Pt.BOLD]:e=>c("span",{className:"label1"},e)}};function cn(e,t,n,r){return l(()=>{var i,o;const a=null!==(o=null===(i=null==e?void 0:e.list)||void 0===i?void 0:i.items)&&void 0!==o?o:[];return t?a.map(e=>{var t,i;return null!==(i=on(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:""}):a.map(e=>{var t,i,o,a,s;return{title:null!==(i=on(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:"",iconUrl:null!==(a=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,r])}const un=s(({children:t,className:n="",style:r,disabled:i,...o},a)=>e("button",{ref:a,className:Ze(n),style:r,disabled:i,...o,children:t}));un.displayName="Button";const dn=t=>{const{open:n,children:r}=t,i=u(null),[o,a]=d(0);return p(()=>{const e=i.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:r})})};dn.displayName="Collapse";const pn=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[f,g]=d(Boolean(!1));return p(()=>{if(h){const e=window.innerWidth>=1024;g(e)}else g(Boolean(i))},[h,i]),t("div",{className:Ze(m?"rounded-none border":"rounded-surface-xs border",a),children:[t(un,{type:"button",className:Ze(m?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>g(e=>!e),children:[e("span",{className:Ze("label5 flex-1",s),children:r}),e(Qt,{className:Ze("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(dn,{open:f,children:e("div",{className:Ze("px-4 py-4",l),children:o})})]})};pn.displayName="Accordion";const hn=t=>{const{className:n,...r}=t;return e("div",{className:Ze("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};hn.displayName="Divider";const mn=({items:n,title:r,anchorId:i,background:o="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:h})=>{const[m,f]=d(l);p(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[c]);return e("section",{id:i,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(Kt,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=h?h:""}`,children:null==n?void 0:n.map((r,i)=>{const o=r.anchorId||`item-${i}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(pn,{title:r.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:u,children:e(Kt,{as:"div",children:r.description})})}),i<n.length-1&&e(hn,{className:"my-6 md:my-10"},`divider-${i}`)]},o)})})]})})},fn=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()},gn=s(({variant:r="primary_brand",isLoading:i=!1,text:o,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},h)=>{const m=(()=>{const e=Ze((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button 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",l?"w-full":"w-auto"),t=Ze((s||i)&&"cursor-not-allowed",i&&"pl-7");return Ze(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus: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"}[r]||"",t,c)})();let f=`button--${r}`;i&&(f+=" button--loading"),s&&(f+=" button--disabled");const g=`${f} ${m}`,b=t(n,{children:[i?e(Qt,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ze(fn(u)),children:a}),o]}):o]});return"a"===d?e("a",{ref:h,className:Ze(g),...p,children:b}):e("button",{ref:h,className:Ze(g),disabled:s||i,...p,children:b})});gn.displayName="BrandButton";const bn=n=>{const{showButtonAs:r="solid",buttonVariant:i="primary_brand",buttonLabel:o,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:h,renderCheckPlans:m,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:C,iconSize:w=24,preserveQueryParameters:N,...A}=n;if("check availability"===h){return null==m?void 0:m({ctaText:o,buttonVariant:i,showButtonAs:r,cta:{...n}})}function E(){"modal"===g&&(null==v||v(b))}function k(e){E(),null==y||y(e)}function T(e){E(),null==y||y(e)}const P="undefined"!=typeof window?window.location.search:"",G=s&&N&&P?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(Nt),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(s,P):s;let B=e(un,{onClick:T,className:f,...A});switch(r){case"solid":B=e(gn,G?{as:"a",href:G,id:c,variant:i,text:o,label:a,fullWidth:p,buttonClassName:f,size:C,onClick:k}:{id:c,variant:i,text:o,label:a,fullWidth:p,size:C,onClick:T,buttonClassName:f});break;case"text":B=t(nn,{title:o,href:G,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:k,children:[o," ",x&&e(Qt,{name:x,size:w,fill:I})]})}return B};var vn;const yn=null!==(vn=w.default)&&void 0!==vn?vn:w,xn=({href:r,title:i,description:o,date:a,category:s,image:l,imageComponent:c,readMoreText:u="Read more",asGrid:d=!0,lgWidth:p,mdWidth:h,index:m})=>t("article",{className:d?"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)] ${p} ${h} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(yn,{href:r,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?c?e(c,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("img",{src:l.src,alt:l.alt,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),i&&e(yn,{href:r,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:i}),o&&e(Kt,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o}),t(yn,{href:r,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${u} about ${i||"this article"}`,children:[e(Kt,{"aria-label":`${u} about ${i||"this article"}`,className:"label1 text-nowrap",children:u}),e(Qt,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),In=(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})(A),Cn=({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()},wn=s(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:Cn,unoptimized:!1}:{unoptimized:s};return e(In,{ref:r,className:Ze(t),...n,...l})});wn.displayName="NextImage";const Nn={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},An=({card:n,lgWidth:r,mdWidth:i})=>{var o,a,s,l;const{image:c,title:u,header:d,body:p,cta:h,ctaAlignment:m,imageLink:f,imageClassName:g,className:b,isPromoBarImg:v=!1,shadow:y=!1}=n,x=m?Nn[m]:Nn.left,I=f?"cursor-pointer":"",C=f?()=>{"undefined"!=typeof window&&window.open(f,"_blank")}:void 0;return v?(null==c?void 0:c.href)?e(wn,{src:c.href,alt:null!==(a=null!==(o=c.title)&&void 0!==o?o:u)&&void 0!==a?a:"promo-bar-image",width:148,height:40,onClick:C,className:I}):null:t("section",{"aria-labelledby":"Image Card",className:Ze("callout-card relative flex h-full w-full flex-col gap-4 p-0 md:items-start lg:gap-6",y&&"rounded-3xl shadow-card",i,r,b),children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",g),children:e(wn,{src:c.href,alt:null!==(l=null!==(s=c.title)&&void 0!==s?s:u)&&void 0!==l?l:"card-image",width:c.width||400,height:c.height||285,onClick:C,className:Ze("h-full max-h-[285px] w-full object-cover",I)})}):null,d?e(Kt,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:d}):null,p?e(Kt,{as:"div",className:"body2 mb-0 flex-1 text-text",children:p}):null,e("div",{className:Ze(x,"mt-auto"),children:h?e(bn,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...h,iconName:"expand_circle_right",iconFill:1}):null})]})},En=({card:n,lgWidth:r,mdWidth:i})=>{const{anchorId:o="FullImageCard",title:a,description:s,caption:l,image:c,cta:u,link:d,className:p,contentClassName:h,imageClassName:m,shadow:f=!0}=n,g=u||d,b=null==g?void 0:g.href,v=a?e(Kt,{as:"h3",className:"body1 text-text xl:heading6",children:a}):null;return t("section",{id:o,className:Ze("callout-card relative flex flex-col rounded-3xl bg-white p-0",f&&"shadow-card",i,r,"w-full",p),"aria-labelledby":`card-title-${o}`,children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",m),children:(()=>{var t,n;if(!(null==c?void 0:c.href))return null;const r=e(wn,{src:c.href,alt:null!==(n=null!==(t=c.title)&&void 0!==t?t:a)&&void 0!==n?n:"card-image",width:c.width||400,height:c.height||280,className:"w-full"});return b?e(nn,{href:b,tabIndex:-1,target:null==g?void 0:g.target,children:r}):r})()}):null,t("div",{className:Ze("flex h-full flex-col gap-4 p-6 md:p-8",h),children:[t("div",{className:"flex flex-1 flex-col justify-between",children:[t("div",{children:[b&&v?e(nn,{href:b,target:null==g?void 0:g.target,className:"no-underline hover:underline",children:v}):v,s?e(Kt,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),l?e(Kt,{as:"p",className:"footnote mt-5 text-text-secondary",children:l}):null]}),u?e("div",{className:"mt-2 flex items-end",children:e(bn,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...u,iconName:"expand_circle_right",iconFill:1})}):null]})]})},kn={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Tn={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Pn={left:"justify-start",right:"justify-end",center:"justify-center"},Gn=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Bn=({card:n,lgWidth:r,mdWidth:i,className:o,contentClassName:a,style:s})=>{var l,c,u,d,p,h,m,f,g,b,v,y,x,I,C,w,N;const A=null===(l=n.imageView)||void 0===l?void 0:l.toLowerCase(),E="full"===A,k="margin"===A,T="standard"===A,P="icon"===A||"inset"===A||!A&&!!n.image,G=T||P,B=(null===(c=n.iconAlignment)||void 0===c?void 0:c.toLowerCase())||(null===(u=n.imageAlignment)||void 0===u?void 0:u.toLowerCase())||"left",S=n.ctaAlignment&&Tn[n.ctaAlignment]||Tn.left,R=n.ctaAlignmentBottom&&Pn[n.ctaAlignmentBottom]||Pn.left,V=null===(d=n.pinwheelColor)||void 0===d?void 0:d.split("-")[1],L=G&&n.applyCardBackgroundColor,M={...s,...L&&n.backgroundColor?{"--scc-bg":n.backgroundColor}:{},...L&&n.textColor?{"--scc-fg":n.textColor}:{},...L&&n.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...L&&n.showBackgroundImage&&V?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ye(V))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},D=t=>{var r,i;return n.image?e("div",{className:Ze("relative aspect-video overflow-hidden",t?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e(wn,{src:n.image,alt:null!==(i=null!==(r=n.imageAlt)&&void 0!==r?r:n.title)&&void 0!==i?i:"card-image",width:n.imageWidth||400,height:n.imageHeight||280,className:Ze("w-full",!t&&"rounded-t-3xl")})}):null},W=L&&n.textColor?{color:n.textColor}:void 0,O=n.title?e(Kt,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:W,children:n.title}):null,X=(null===(p=n.cta)||void 0===p?void 0:p.href)&&O?e(nn,{href:n.cta.href,target:n.cta.target,className:"no-underline hover:underline",style:W,children:O}):O,F=(null!==(m=null===(h=n.workingHours)||void 0===h?void 0:h.length)&&void 0!==m?m:0)>0||(null!==(g=null===(f=n.phoneNumber)||void 0===f?void 0:f.length)&&void 0!==g?g:0)>0;return t("section",{className:Ze("callout-card relative flex w-full flex-col rounded-3xl p-0",n.shadow&&"shadow-card",n.image&&!E&&!n.showBackgroundImage&&"pt-1",!n.applyCardBackgroundColor&&(null!==(v=kn[null!==(b=n.backgroundColor)&&void 0!==b?b:""])&&void 0!==v?v:""),i,r,o),style:M,"aria-labelledby":n.title?`callout-${n.title}`:void 0,children:[(null===(y=n.ctaBottom)||void 0===y?void 0:y.title)&&(null===(x=n.ctaBottom)||void 0===x?void 0:x.href)?e("div",{className:Ze("top-link m-6 flex items-center lg:m-8",R),children:t(nn,{href:n.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e(Qt,{name:"location_on",fill:1,size:24}),e("span",{children:n.ctaBottom.title})]})}):null,n.image&&E?D(!1):null,n.image&&k?D(!0):null,t("div",{className:Ze("relative flex flex-1 flex-col justify-between px-6 pb-8 pt-7 lg:px-8 lg:py-8",a),children:[e("div",{className:"flex flex-1 flex-col justify-between",children:t("div",{className:Ze("flex flex-col",n.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e("div",{className:Ze(n.imageToRichTextAlignment&&"flex-shrink-0"),children:!n.image||E||k?null:(()=>{var t,r;if(!n.image)return null;const i=T&&n.imageWidth||60,o=T&&n.imageHeight||60;return e("div",{className:Ze("relative mb-8 flex",n.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:B},children:e(wn,{src:n.image,alt:null!==(r=null!==(t=n.imageAlt)&&void 0!==t?t:n.title)&&void 0!==r?r:"card-icon",width:i,height:o,className:Ze("object-contain",n.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),t("div",{className:"flex flex-col gap-3 md:gap-4",children:[X,n.titleLocation?e("div",{className:"mb-1 lg:mb-2",children:e(Kt,{as:"h4",className:"label1 font-bold text-text",children:n.titleLocation})}):null,F?e("div",{className:"mb-2",children:e("table",{children:t("tbody",{children:[null===(I=n.workingHours)||void 0===I?void 0:I.map((n,r)=>{const[i,o]=(null!=n?n:"").split("|");return t("tr",{children:[e("td",{className:"py-2 pr-3",children:e(Kt,{className:"label2 text-text",children:i})}),e("td",{className:"py-2 pl-3",children:e(Kt,{className:"body2 font-bold text-text",children:o})})]},`wh-${r}`)}),null===(C=n.phoneNumber)||void 0===C?void 0:C.map((n,r)=>t("tr",{children:[e("td",{className:"py-1 pr-3 align-middle",children:e(Qt,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e("td",{className:"py-1 pl-3",children:e(nn,{href:Gn(n),className:"text-inherit no-underline",children:e(Kt,{className:"body2 font-bold text-text",children:n})})})]},`ph-${r}`))]})})}):null,n.body?e(Kt,{as:"div",className:"body1 text-text",style:W,children:n.body}):null,n.richText?e(Kt,{as:"div",className:"body1 text-text",style:W,children:n.richText}):null]})]})}),n.cta?e("div",{className:Ze("mt-2",S),children:e(bn,{linkVariant:"unstyled",linkClassName:Ze("label1 flex items-center gap-2 text-text",L&&n.textColor&&"decoration-current"),...n.cta,iconName:null!==(w=n.cta.iconName)&&void 0!==w?w:"expand_circle_right",iconFill:null!==(N=n.cta.iconFill)&&void 0!==N?N:1})}):null]})]})},Sn={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]"},Rn={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},Vn={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)]"},Ln=e=>Math.max(1,Math.min(6,e)),Mn=({anchorId:n,title:r,items:i,enableHeading:o=!1,subtitle:a,description:s,finePrint:l,cta:c,color:u="dark",maxWidth:d=!0,maxCardsPerRow:p,cardType:h="simple",backgroundColor:m,background:f,textColor:g,containerClassName:b,innerClassName:v,applyBoxShadow:y=!1,cardStackingMobile:x=!0,cardsWidth:I=!0,noGutter:C=!1})=>{var w,N,A;const E=null!==(w=null==i?void 0:i.length)&&void 0!==w?w:0,k=Ln(null!=p?p:(T=E)<=4?T||1:T%3==0?3:T%4==0||T>6?4:3);var T;const P=Ln(Math.min(k,E||k)),G=!1===I,B=G?Ze("flex flex-col items-stretch self-stretch",C?"gap-0":"gap-6"):Ze("flex flex-wrap items-stretch justify-center self-stretch",C?"gap-0":"gap-6",C?"md:gap-0":"md:gap-6"),S=G?"":Ze("w-full",Rn[Ln(x?1:Math.min(2,k))],Vn[P]),R=(t,n)=>{var r,i,o,a;const s=null!==(r=t.cardType)&&void 0!==r?r:h,l=G?{lgWidth:void 0,mdWidth:void 0}:{};switch(s){case"blog":{const r=t;return e(xn,{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(En,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:y},...l},n);case"floatingImage":return e(An,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:y},...l},n);default:return e(Bn,{card:{...t,shadow:null!==(a=t.shadow)&&void 0!==a?a:y},...l},n)}},V=f?{background:f}:void 0,L=g?{color:g}:void 0,M=f?"":m&&null!==(N=Sn[m])&&void 0!==N?N:"";return e("section",{id:n,className:Ze("component-container",M,b),style:V,children:e("div",{className:Ze(C?"p-0":"mx-5 my-12 md:my-20",d&&"max-w-120 xl:mx-auto","dark"===u?"text-text":"text-white",v),children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",style:L,children:[r&&e(Kt,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:r}),a&&e(Kt,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:a}),s&&e(Kt,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e("div",{className:Ze("card-holder",B),children:i.map((t,n)=>G?R(t,n):e("div",{className:Ze("callout-card",S),children:R(t,n)},`callout-card-${n}`))}),(c||l)&&t("div",{className:"flex flex-col items-center gap-4",children:[c?e(bn,{linkClassName:"label1",buttonClassName:"label1",...c,children:null!==(A=c.label)&&void 0!==A?A:c.buttonLabel}):null,l?e(Kt,{as:"div",className:"footnote text-center text-text",children:l}):null]})]})})})},Dn=({fields:t})=>e("div",{children:e(Kt,{children:"Cards"})}),Wn=s(({as:t,className:n="",...r},i)=>{const o=Ze(n);if(t){return e(t,{ref:i,className:o,...r})}return e("img",{ref:i,className:o,...r})});Wn.displayName="Image";const On=({onSelect:r,speed:i,isSelected:o=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:c,techType:u,isMax:p})=>{const[h,m]=d(!1),f=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${o?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:h,setModalOpen:()=>{m(!1)},speed:i,techType:u,isMax:p},cta:c});return t(n,{children:[t(un,{onClick:()=>{m(!0),r()},className:Ze(f,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${i}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(Qt,{className:Ze(l,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},Xn=({planName:r,planSubtext:i,speed:o,price:a,description:s,bestValue:l=!1,bestValueText:c="best value",giftBadge:u,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,N]=d(!1),A=void 0!==g?g:w,E="dark"===h;return t("article",{className:Ze("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:c}),t("div",{className:Ze("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(Kt,{as:"h3",className:Ze("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e(Kt,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),t("div",{className:"flex items-start",children:[e(Kt,{as:"span",className:Ze("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e(Kt,{as:"span",className:Ze("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(Kt,{as:"span",className:Ze("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(Kt,{className:Ze("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==u?void 0:u.length)?e("div",{className:Ze("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==u?void 0:u.map(n=>t("div",{className:"flex items-center gap-2",children:[e(Wn,{src:n.icon,alt:n.title,width:24,height:24}),e(Kt,{as:"div",className:Ze("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(On,{onSelect:v,speed:o,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:C}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(un,{onClick:()=>{b?b():N(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e(Kt,{as:"h4",className:Ze("label3",E?"text-text-inverse":"text-text"),children:m}),e(Qt,{name:"keyboard_arrow_down",fill:1,size:24,className:Ze("transition-transform duration-300",A&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ze("overflow-hidden transition-all duration-200 ease-in-out",A?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(qt,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(Wn,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(Kt,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},Fn=({title:n,quote:r,rating:i,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:R("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(Kt,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),i?e("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e(Qt,{size:24,name:"star",fill:1,className:R("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(A,{src:s,alt:o,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:o.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:o}),e(Kt,{as:"p",className:"body3 text-text",children:a})]})]})]});function Hn({fields:r,renderCheckPlans:i}){var o,a,s,l;const c=(null===(s=null===(a=null===(o=null==r?void 0:r.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[m,f]=d(c),[g,b]=d({}),[v,y]=d(0),x=(null===(l=null==r?void 0:r.items)||void 0===l?void 0:l.items)||[],I=x.length>2,C=u([]),w=h(()=>{I&&y(e=>(e-1+x.length)%x.length)},[I,x.length]),N=h(()=>{I&&y(e=>(e+1)%x.length)},[I,x.length]);if(p(()=>{if(!I)return;const e=()=>{const e=C.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,m,x.length]),!x.length&&!(null==r?void 0:r.title))return null;const A=(t,n,r=!1)=>{var o,a,s,l,c,u,d,p;const h=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},k=r?g[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:Ze(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(Xn,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{r?b(e=>({...e,[n]:!e[n]})):f(!m)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:i,cta:t.cta,hostType:"smb"})},n)},E=[...x,...x,...x,...x,...x],k=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>A(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(un,{onClick:w,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(Qt,{name:"arrow_back",size:24})}),e(un,{onClick:N,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(Qt,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${k+v} * (392px + 12px)))`},children:E.map((e,t)=>A(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>A(e,t))})}const zn=i.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),h=u*c+o/l*100,m=!s||(a?d||p:d);return e("div",{className:Ze("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e(Fn,{...t,isActive:d,className:"h-full"})})});zn.displayName="TestimonialCarouselSlide";const jn=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const a=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:o=8e3,enableAutoScroll:a=!0}=e,[s,l]=d(0),[c,m]=d(0),[f,g]=d(!1),[b,v]=d(window.innerWidth),[y,x]=d(!1),I=u(null),C=u(0),w=u(null),N={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:o};p(()=>{const e=()=>{var e;v((null===(e=w.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const A=h(()=>{0!==t&&l(e=>(e+1)%t)},[t]),E=h(()=>{0!==t&&l(e=>0===e?t-1:e-1)},[t]),k=h(e=>{e<0||e>=t||l(e)},[t]),T=h(e=>{C.current=e.touches[0].clientX,g(!0),I.current&&clearInterval(I.current)},[]),P=h(e=>{if(!f)return;const t=e.touches[0].clientX-C.current;m(t)},[f]),G=h(()=>{g(!1);const e=b*r;c>e?E():c<-e&&A(),m(0),a&&o>0&&(I.current=setInterval(()=>{A()},o))},[c,b,r,E,A,a,o]);return p(()=>{const e=()=>{x(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),p(()=>{if(a&&0!==t&&0!==o)return I.current=setInterval(()=>{A()},o),()=>{I.current&&clearInterval(I.current)}},[A,t,a,o]),{currentIndex:s,swipeOffset:c,isSwiping:f,isMobile:y,containerWidth:b,containerRef:w,nextSlide:A,prevSlide:E,goToSlide:k,handleTouchStart:T,handleTouchMove:P,handleTouchEnd:G,constants:N}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(un,{onClick:s.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(Qt,{name:"arrow_back",size:24})}),e(un,{onClick:s.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(Qt,{name:"arrow_forward",size:24})}),e("div",{ref:s.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:s.handleTouchStart,onTouchMove:s.handleTouchMove,onTouchEnd:s.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e(zn,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:Ze("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Zn=({tabs:n,activeTab:r,onChange:i,className:o})=>{const a=n.indexOf(r),s=u([]),[l,c]=d({width:0,left:0});return p(()=>{const e=s.current[a];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ze("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>i(t),className:Ze("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Yn=({fields:n,hasTestimonialCards:r,hasProductCards:i,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:h=!1})=>t("div",{className:`${a} ${i?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(Kt,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(Kt,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),h&&i&&t("div",{className:"flex flex-col gap-8",children:[h&&i&&c.length>1&&e(Zn,{tabs:c,activeTab:s,onChange:l}),i&&e(Hn,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),r&&e(jn,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),o&&e(Kt,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),Jn=({title:n,subtitle:r,description:i,disclaimer:o,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(wn,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(Kt,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(Kt,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),i&&e(Kt,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(bn,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e(Kt,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),Un=({body:n,links:r,bottomLinks:o,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(hn,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,a;return t(i.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(Kt,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(bn,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(hn,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(hn,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==o?void 0:o.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(bn,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},_n=({isHovered:t,containerClassName:n})=>e("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e(Qt,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),$n=t=>{const{link:n,containerClassName:r,autoplay:i=!1,debug:o=!1}=t,{href:a,embedId:s}=l(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),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}},[n]);if(o&&console.log("[VimeoEmbed] href:",a,"id:",s),!s)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/${s}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Qn=t=>{const{link:n,containerClassName:r,autoplay:i=!1}=t,o=l(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),a=i?"?autoplay=1":"";return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${o}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Kn=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:a,disclaimer:s,description:l,image:c,imageLinks:u,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,N;const[A,E]=d(""),[k,T]=d(!1),P=null!==(w=null==g?void 0:g.link)&&void 0!==w?w:"",G=null==g?void 0:g.image,B=null!==(N=null==g?void 0:g.videoPopup)&&void 0!==N&&N,S=Boolean(A&&A===P),R=g&&G?P.includes("vimeo")?e($n,{link:P,autoplay:S}):e(Qn,{link:P,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(Kt,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e(Kt,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e(Kt,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e(Kt,{as:"div",className:"body1",children:l}),h.length>0&&e(qt,{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("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(nn,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(Wn,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(bn,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(bn,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[c&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(wn,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:Ze("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!S&&"hover:shadow-2xl"),onClick:()=>{var e;E(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[t("div",{className:Ze(S&&!B&&"hidden",S&&!B?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(wn,{src:g.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(_n,{isHovered:k})})]}),!B&&S&&e("div",{className:Ze("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:R})]})]})]})}),B&&S&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),E("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:R})})]})},qn=({link:n,anchorName:r,linkColorClassName:o})=>{const[a,s]=i.useState(!1),l=i.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};p(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(l,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(bn,{...n,linkClassName:Ze("body3 flex items-center h-full",o||"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:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:l,children:[t(bn,{onClick:()=>s(e=>!e),"aria-expanded":a,buttonClassName:Ze("group body3 flex h-full items-center",o||"text-text"),showButtonAs:"unstyled",children:[e(Kt,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e(Qt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:a?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Ze("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",a&&h.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&s(!1)},children:h.map((t,n)=>e("li",{className:"submenu-link",children:e(bn,{...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}`))})})]})},er=({link:r})=>{const[o,a]=i.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(bn,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(bn,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(Qt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),o&&u.length>0&&e(tr,{items:u})]})},tr=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(bn,{...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}`),nr=n=>{const{showBlinkDot:r=!1,buttonStyle:i="primary",size:o="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(nn,{...u,className:Ze("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:Ze("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]),children:e(Qt,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]});return null==l||!1===l||""===l?d:t("span",{className:Ze("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};nr.displayName="CallButton";const rr=s((n,r)=>{const{className:i,size:o,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:p,prefixIconFill:m=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...N}=n,A=C?"error":c,[E,k]=d(!1),[T,P]=d(!1),[G,B]=d(w||"text"),S=h(e=>{e.stopPropagation(),B(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ze("inline-block pb-1"),children:t(Kt,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ze("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],y,(E||"hover"===A)&&!T&&"error"!==A&&"border-input-border-hover",(T||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[p?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(Qt,{name:p,fill:m?1:0,size:g,className:Ze(x)})}):null,e("input",{ref:r,id:l,disabled:I||N.disabled,className:Ze("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:s,type:G,...N,onMouseOver:()=>k(!0),onMouseOut:()=>k(!1),onFocus:e=>{var t;null===(t=N.onFocus)||void 0===t||t.call(N,e),P(!0)},onBlur:e=>{var t;null===(t=N.onBlur)||void 0===t||t.call(N,e),P(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(Qt,{name:"text"===G?"visibility":"visibility_off",size:v,fill:f?1:0})}):null]}),"error"===A&&u&&""!=u?t(Kt,{className:Ze("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(Qt,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});rr.displayName="Input";const ir=r=>{var i,o,a;const{primaryNavigationLinks:s,utilityNavigationLinks:l,checkPlansJSX:c,primaryNavigationLogo:u,accountNavigationLinks:d,supportNavigationLinks:p,searchBarIcon:h,invocaPhoneNumberLink:m,invocaPhoneNumberDisplayText:f,callNowCtaText:g,displayCartIcon:b,cartHref:v,cartHasRetention:y,cartIconAriaLabel:x="Cart",onCallClickDesktop:I,onCallClickMobile:C,onCartClick:w,onSearch:N=()=>{},utilityNavActiveIndex:A,primaryNavigationLogoWidth:E=76.5,primaryNavigationLogoHeight:k=24,hideMobileCallButton:T=!1,displayUtilityNavigation:P=!0,displaySearchBar:G=!0,displayCallNowCta:B=!0,showCallButton:S=!0,showCallNowCtaInMainNav:R=!1,showMobileSliderMenu:V=!0,callNowCtaIcon:L,navigationBackgroundColor:M,navigationLinkColor:D}=r,W="string"==typeof u?u:(null==u?void 0:u.url)||"",O=M?M.includes("-")||M.startsWith("bg-")?M:`bg-secondary-${M}`:"bg-secondary-navy500",X="string"==typeof L?L:(null==L?void 0:L.url)||"",F=n=>t(nn,{href:m||"#",onClick:n,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":f?`Call ${f}`:"Call now",children:[X?e(wn,{src:X,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e(Kt,{as:"span",className:"text-secondary-navy500 footnote",children:f})]}),H=(null!==(i=null==s?void 0:s.length)&&void 0!==i?i:0)>0||(null!==(o=null==p?void 0:p.length)&&void 0!==o?o:0)>0||(null!==(a=null==d?void 0:d.length)&&void 0!==a?a:0)>0;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[P?e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==l?void 0:l.map((t,n)=>e("li",{children:e(bn,{linkClassName:Ze("footnote flex items-center w-full h-11 text-text","number"!=typeof A?1===n&&"label4":A===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[B?e(nr,{className:"border-none",href:m,prefix:g,onClick:I,children:e(Kt,{className:"body3 text-text",children:f})}):null,b?t(nn,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:w,children:[e(Qt,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==d?void 0:d.map((t,n)=>e(qn,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,t("div",{className:Ze("main-nav-container",O,D),"aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e("div",{children:W?e(nn,{href:"/",className:"flex",children:e(wn,{src:W,alt:"Kinetic business logo",width:E,height:k})}):null}),e("div",{className:"flex items-center gap-6",children:V?t(n,{children:[S&&!T?e(nr,{href:m,onClick:C,children:e(Kt,{as:"span",className:"footnote",children:f})}):null,b?t(nn,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:w,children:[e(Qt,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,H?e(or,{...r}):null]}):S?F(C):null})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[W?e(nn,{href:"/",className:"flex",children:e(wn,{src:W,alt:"Kinetic business logo",width:E,height:k,className:"mr-[64px]"})}):null,e("div",{className:"flex h-full items-center gap-5",children:null==s?void 0:s.map((t,n)=>e(qn,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:D},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[!R||P&&B?null:F(I),G?e(sr,{searchBarIconURL:"string"==typeof h?h:(null==h?void 0:h.url)||"",onSearch:N}):null,null==p?void 0:p.map((t,n)=>e(qn,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:D},`support-menu-${n}`))]})]})})]})]}),c&&e("div",{className:"md:hidden",children:c})]})},or=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l,showCallButton:c,displayCallNowCta:u,displaySearchBar:d}=n,[p,h]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=p?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[p]);const m=()=>{h(!1)};return t("div",{children:[e(bn,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>h(!0),children:e(Qt,{name:"menu"})}),p?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:Ze("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",p?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:Ze("flex items-center px-4",!1!==c||!1!==u?"justify-between":"justify-end"),children:[!1!==c||!1!==u?e("div",{children:e(nr,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}):null,e("div",{children:e(bn,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e(Qt,{name:"close"})})})]}),!1!==d?e(ar,{closeMenu:m,isMenuOpen:p,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}):null,t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(er,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,r)=>e("li",{children:e(bn,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ze("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===r&&"label4":n.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},ar=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{r(),e.preventDefault(),o(l)};return i.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(wn,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(rr,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},sr=n=>{const{searchBarIconURL:r,onSearch:o}=n,[a,s]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(wn,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(rr,{ref:l,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},lr=n=>{var r;const{title:i,showAsHeading:o,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Ze("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:Ze("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[i&&e(Kt,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:i}),a&&e(Kt,{as:"p",className:"subheading3 lg:subheading1",children:a}),u?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e(Kt,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(Kt,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(Kt,{as:"p",className:"subheading5",children:u}),p?e(Kt,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(qt,{listItemClassName:"text-white text-left",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Ze("md:block",x&&"hidden"),children:e(bn,{...s,renderCheckPlans:m,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(Kt,{as:"span",className:"body2 mr-1",children:v}),b&&e(bn,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(I||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(bn,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),g?e(Kt,{as:"p",className:"body3 hidden md:block",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(wn,{src:f,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,l&&l[0]?e(wn,{src:l[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]}),c&&(I||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(bn,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),g?e(Kt,{as:"p",className:"body3 md:hidden",children:g}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(Kt,{as:"span",className:"body2 mr-1",children:v}),b&&e(bn,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Ze("relative hidden lg:block"),children:[f?e(wn,{src:f,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,l&&l[0]?e(wn,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},cr=({fields:t})=>e("div",{children:e(Kt,{children:"Text Block"})}),ur={closed:{opacity:0},open:{opacity:1}},dr={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},pr={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},hr=m({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),mr=m({}),fr=m(null),gr="undefined"!=typeof document,br=gr?f:p,vr=m({strict:!1});function yr(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function xr(e){return"string"==typeof e||Array.isArray(e)}function Ir(e){return"object"==typeof e&&"function"==typeof e.start}const Cr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wr=["initial",...Cr];function Nr(e){return Ir(e.animate)||wr.some(t=>xr(e[t]))}function Ar(e){return Boolean(Nr(e)||e.variants)}function Er(e){const{initial:t,animate:n}=function(e,t){if(Nr(e)){const{initial:t,animate:n}=e;return{initial:!1===t||xr(t)?t:void 0,animate:xr(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,g(mr));return l(()=>({initial:t,animate:n}),[kr(t),kr(n)])}function kr(e){return Array.isArray(e)?e.join(" "):e}const Tr={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"]},Pr={};for(const e in Tr)Pr[e]={isEnabled:t=>Tr[e].some(e=>!!t[e])};const Gr=m({}),Br=m({}),Sr=Symbol.for("motionComponentSymbol");function Rr({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:o}){e&&function(e){for(const t in e)Pr[t]={...Pr[t],...e[t]}}(e);const a=s(function(a,s){let l;const c={...g(hr),...a,layoutId:Vr(a)},{isStatic:d}=c,m=Er(a),f=i(a,d);if(!d&&gr){m.visualElement=function(e,t,n,r){const{visualElement:i}=g(mr),o=g(vr),a=g(fr),s=g(hr).reducedMotion,l=u();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const c=l.current;return b(()=>{c&&c.update(n,a)}),br(()=>{c&&c.render()}),p(()=>{c&&c.updateFeatures()}),(window.HandoffAppearAnimations?br:p)(()=>{c&&c.animationState&&c.animationState.animateChanges()}),c}(o,f,c,t);const n=g(Br),r=g(vr).strict;m.visualElement&&(l=m.visualElement.loadFeatures(c,r,e,n))}return r.createElement(mr.Provider,{value:m},l&&m.visualElement?r.createElement(l,{visualElement:m.visualElement,...c}):null,n(o,a,function(e,t,n){return h(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):yr(n)&&(n.current=r))},[t])}(f,m.visualElement,s),f,d,m.visualElement))});return a[Sr]=o,a}function Vr({layoutId:e}){const t=g(Gr).id;return t&&void 0!==e?t+"-"+e:e}function Lr(e){function t(t,n={}){return Rr(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 Mr=["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 Dr(e){return"string"==typeof e&&!e.includes("-")&&!!(Mr.indexOf(e)>-1||/[A-Z]/.test(e))}const Wr={};const Or=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xr=new Set(Or);function Fr(e,{layout:t,layoutId:n}){return Xr.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Wr[e]||"opacity"===e)}const Hr=e=>Boolean(e&&e.getVelocity),zr={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},jr=Or.length;const Zr=e=>t=>"string"==typeof t&&t.startsWith(e),Yr=Zr("--"),Jr=Zr("var(--"),Ur=(e,t)=>t&&"number"==typeof e?t.transform(e):e,_r=(e,t,n)=>Math.min(Math.max(n,e),t),$r={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Qr={...$r,transform:e=>_r(0,1,e)},Kr={...$r,default:1},qr=e=>Math.round(1e5*e)/1e5,ei=/(-)?([\d]*\.?[\d])+/g,ti=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,ni=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ri(e){return"string"==typeof e}const ii=e=>({test:t=>ri(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),oi=ii("deg"),ai=ii("%"),si=ii("px"),li=ii("vh"),ci=ii("vw"),ui={...ai,parse:e=>ai.parse(e)/100,transform:e=>ai.transform(100*e)},di={...$r,transform:Math.round},pi={borderWidth:si,borderTopWidth:si,borderRightWidth:si,borderBottomWidth:si,borderLeftWidth:si,borderRadius:si,radius:si,borderTopLeftRadius:si,borderTopRightRadius:si,borderBottomRightRadius:si,borderBottomLeftRadius:si,width:si,maxWidth:si,height:si,maxHeight:si,size:si,top:si,right:si,bottom:si,left:si,padding:si,paddingTop:si,paddingRight:si,paddingBottom:si,paddingLeft:si,margin:si,marginTop:si,marginRight:si,marginBottom:si,marginLeft:si,rotate:oi,rotateX:oi,rotateY:oi,rotateZ:oi,scale:Kr,scaleX:Kr,scaleY:Kr,scaleZ:Kr,skew:oi,skewX:oi,skewY:oi,distance:si,translateX:si,translateY:si,translateZ:si,x:si,y:si,z:si,perspective:si,transformPerspective:si,opacity:Qr,originX:ui,originY:ui,originZ:si,zIndex:di,fillOpacity:Qr,strokeOpacity:Qr,numOctaves:di};function hi(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Yr(e)){o[e]=n;continue}const r=pi[e],d=Ur(n,r);if(Xr.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<jr;t++){const n=Or[t];void 0!==e[n]&&(o+=`${zr[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const mi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function fi(e,t,n){for(const r in t)Hr(t[r])||Fr(r,n)||(e[r]=t[r])}function gi(e,t,n){const r={};return fi(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return l(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return hi(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function bi(e,t,n){const r={},i=gi(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 vi=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 yi(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||vi.has(e)}let xi=e=>!yi(e);try{(Ii=require("@emotion/is-prop-valid").default)&&(xi=e=>e.startsWith("on")?!yi(e):Ii(e))}catch(vn){}var Ii;function Ci(e,t,n){return"string"==typeof e?e:si.transform(t+n*e)}const wi={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ni={offset:"strokeDashoffset",array:"strokeDasharray"};function Ai(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(hi(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`${Ci(t,e.x,e.width)} ${Ci(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?wi:Ni;e[o.offset]=si.transform(-r);const a=si.transform(t),s=si.transform(n);e[o.array]=`${a} ${s}`}(h,a,s,l,!1)}const Ei=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ki=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ti(e,t,n,r){const i=l(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ai(n,t,{enableHardwareAcceleration:!1},ki(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};fi(t,e.style,e),i.style={...t,...i.style}}return i}function Pi(e=!1){return(t,n,r,{latestValues:i},o)=>{const a=(Dr(t)?Ti:bi)(n,i,o,t),s=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(xi(i)||!0===n&&yi(i)||!t&&!yi(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),u={...s,...a,ref:r},{children:d}=n,p=l(()=>Hr(d)?d.get():d,[d]);return c(t,{...u,children:p})}}const Gi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Bi(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 Si=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 Ri(e,t,n,r){Bi(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Si.has(n)?n:Gi(n),t.attrs[n])}function Vi(e,t){const{style:n}=e,r={};for(const i in n)(Hr(n[i])||t.style&&Hr(t.style[i])||Fr(i,e))&&(r[i]=n[i]);return r}function Li(e,t){const n=Vi(e,t);for(const r in e)if(Hr(e[r])||Hr(t[r])){n[-1!==Or.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Mi(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 Di(e){const t=u(null);return null===t.current&&(t.current=e()),t.current}const Wi=e=>Array.isArray(e),Oi=e=>Wi(e)?e[e.length-1]||0:e;function Xi(e){const t=Hr(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Fi=e=>(t,n)=>{const r=g(mr),i=g(fr),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:Hi(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,i);return n?o():Di(o)};function Hi(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=Xi(o[e]);let{initial:a,animate:s}=e;const l=Nr(e),c=Ar(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!Ir(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Mi(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const zi={useVisualState:Fi({scrapeMotionValuesFromProps:Li,createRenderState:Ei,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}}Ai(n,r,{enableHardwareAcceleration:!1},ki(t.tagName),e.transformTemplate),Ri(t,n)}})},ji={useVisualState:Fi({scrapeMotionValuesFromProps:Vi,createRenderState:mi})};function Zi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Yi=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ji(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Ui(e,t,n,r){return Zi(e,t,(e=>t=>Yi(t)&&e(t,Ji(t)))(n),r)}const _i=(e,t)=>n=>t(e(n)),$i=(...e)=>e.reduce(_i);function Qi(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Ki=Qi("dragHorizontal"),qi=Qi("dragVertical");function eo(e){let t=!1;if("y"===e)t=qi();else if("x"===e)t=Ki();else{const e=Ki(),n=qi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function to(){const e=eo(!0);return!e||(e(),!1)}class no{constructor(e){this.isMounted=!1,this.node=e}update(){}}const ro={delta:0,timestamp:0,isProcessing:!1};let io=!0,oo=!1;const ao=["read","update","preRender","render","postRender"],so=ao.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}(()=>oo=!0),e),{}),lo=e=>so[e].process(ro),co=e=>{oo=!1,ro.delta=io?1e3/60:Math.max(Math.min(e-ro.timestamp,40),1),ro.timestamp=e,ro.isProcessing=!0,ao.forEach(lo),ro.isProcessing=!1,oo&&(io=!1,requestAnimationFrame(co))},uo=ao.reduce((e,t)=>{const n=so[t];return e[t]=(e,t=!1,r=!1)=>(oo||(oo=!0,io=!0,ro.isProcessing||requestAnimationFrame(co)),n.schedule(e,t,r)),e},{});function po(e){ao.forEach(t=>so[t].cancel(e))}function ho(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Ui(e.current,n,(n,i)=>{if("touch"===n.type||to())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&uo.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const mo=(e,t)=>!!t&&(e===t||mo(e,t.parentElement)),fo=e=>e;function go(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ji(n))}const bo=new WeakMap,vo=new WeakMap,yo=e=>{const t=bo.get(e.target);t&&t(e)},xo=e=>{e.forEach(yo)};function Io(e,t,n){const r=function({root:e,...t}){const n=e||document;vo.has(n)||vo.set(n,{});const r=vo.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(xo,{root:e,...t})),r[i]}(t);return bo.set(e,n),r.observe(e),()=>{bo.delete(e),r.unobserve(e)}}const Co={some:0,all:1};const wo={inView:{Feature:class extends no{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:Co[r]};return Io(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 no{constructor(){super(...arguments),this.removeStartListeners=fo,this.removeEndListeners=fo,this.removeAccessibleListeners=fo,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Ui(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();uo.update(()=>{mo(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=Ui(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=$i(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Zi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Zi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&go("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&uo.update(()=>n(e,t))})}),go("down",(e,t)=>{this.startPress(e,t)})}),t=Zi(this.node.current,"blur",()=>{this.isPressing&&go("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=$i(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&&uo.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!to()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&uo.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Ui(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Zi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=$i(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends no{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=$i(Zi(this.node.current,"focus",()=>this.onFocus()),Zi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends no{mount(){this.unmount=$i(ho(this.node,!0),ho(this.node,!1))}unmount(){}}}};function No(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 Ao(e,t,n){const r=e.getProps();return Mi(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 Eo="data-"+Gi("framerAppearId");let ko=fo,To=fo;"production"!==process.env.NODE_ENV&&(ko=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},To=(e,t)=>{if(!e)throw new Error(t)});const Po=e=>1e3*e,Go=e=>e/1e3,Bo=!1,So=e=>Array.isArray(e)&&"number"==typeof e[0];function Ro(e){return Boolean(!e||"string"==typeof e&&Lo[e]||So(e)||Array.isArray(e)&&e.every(Ro))}const Vo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Lo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vo([0,.65,.55,1]),circOut:Vo([.55,0,1,.45]),backIn:Vo([.31,.01,.66,-.59]),backOut:Vo([.33,1.53,.69,.99])};function Mo(e){if(e)return So(e)?Vo(e):Array.isArray(e)?e.map(Mo):Lo[e]}const Do={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Wo={},Oo={};for(const e in Do)Oo[e]=()=>(void 0===Wo[e]&&(Wo[e]=Do[e]()),Wo[e]);const Xo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Fo(e,t,n,r){if(e===t&&n===r)return fo;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=Xo(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Xo(i(e),t,r)}const Ho=Fo(.42,0,1,1),zo=Fo(0,0,.58,1),jo=Fo(.42,0,.58,1),Zo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yo=e=>t=>1-e(1-t),Jo=e=>1-Math.sin(Math.acos(e)),Uo=Yo(Jo),_o=Zo(Uo),$o=Fo(.33,1.53,.69,.99),Qo=Yo($o),Ko=Zo(Qo),qo={linear:fo,easeIn:Ho,easeInOut:jo,easeOut:zo,circIn:Jo,circInOut:_o,circOut:Uo,backIn:Qo,backInOut:Ko,backOut:$o,anticipate:e=>(e*=2)<1?.5*Qo(e):.5*(2-Math.pow(2,-10*(e-1)))},ea=e=>{if(Array.isArray(e)){To(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Fo(t,n,r,i)}return"string"==typeof e?(To(void 0!==qo[e],`Invalid easing type '${e}'`),qo[e]):e},ta=(e,t)=>n=>Boolean(ri(n)&&ni.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),na=(e,t,n)=>r=>{if(!ri(r))return r;const[i,o,a,s]=r.match(ei);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ra={...$r,transform:e=>Math.round((e=>_r(0,255,e))(e))},ia={test:ta("rgb","red"),parse:na("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ra.transform(e)+", "+ra.transform(t)+", "+ra.transform(n)+", "+qr(Qr.transform(r))+")"};const oa={test:ta("#"),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:ia.transform},aa={test:ta("hsl","hue"),parse:na("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ai.transform(qr(t))+", "+ai.transform(qr(n))+", "+qr(Qr.transform(r))+")"},sa={test:e=>ia.test(e)||oa.test(e)||aa.test(e),parse:e=>ia.test(e)?ia.parse(e):aa.test(e)?aa.parse(e):oa.parse(e),transform:e=>ri(e)?e:e.hasOwnProperty("red")?ia.transform(e):aa.transform(e)},la=(e,t,n)=>-n*e+n*t+e;function ca(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 ua=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},da=[oa,ia,aa];function pa(e){const t=(n=e,da.find(e=>e.test(n)));var n;To(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===aa&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=ca(s,r,e+1/3),o=ca(s,r,e),a=ca(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const ha=(e,t)=>{const n=pa(e),r=pa(t),i={...n};return e=>(i.red=ua(n.red,r.red,e),i.green=ua(n.green,r.green,e),i.blue=ua(n.blue,r.blue,e),i.alpha=la(n.alpha,r.alpha,e),ia.transform(i))};const ma={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:fo},fa={regex:ti,countKey:"Colors",token:"${c}",parse:sa.parse},ga={regex:ei,countKey:"Numbers",token:"${n}",parse:$r.parse};function ba(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 va(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&ba(n,ma),ba(n,fa),ba(n,ga),n}function ya(e){return va(e).values}function xa(e){const{values:t,numColors:n,numVars:r,tokenised:i}=va(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(ma.token,e[i]):i<r+n?t.replace(fa.token,sa.transform(e[i])):t.replace(ga.token,qr(e[i]));return t}}const Ia=e=>"number"==typeof e?0:e;const Ca={test:function(e){var t,n;return isNaN(e)&&ri(e)&&((null===(t=e.match(ei))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(ti))||void 0===n?void 0:n.length)||0)>0},parse:ya,createTransformer:xa,getAnimatableNone:function(e){const t=ya(e);return xa(e)(t.map(Ia))}},wa=(e,t)=>n=>`${n>0?t:e}`;function Na(e,t){return"number"==typeof e?n=>la(e,t,n):sa.test(e)?ha(e,t):e.startsWith("var(")?wa(e,t):ka(e,t)}const Aa=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>Na(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Ea=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=Na(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},ka=(e,t)=>{const n=Ca.createTransformer(t),r=va(e),i=va(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?$i(Aa(r.values,i.values),n):(ko(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),wa(e,t))},Ta=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Pa=(e,t)=>n=>la(e,t,n);function Ga(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Pa:"string"==typeof o?sa.test(o)?ha:ka:Array.isArray(o)?Aa:"object"==typeof o?Ea:Pa);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||fo:t;o=$i(e,o)}r.push(o)}return r}function Ba(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(To(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Ga(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Ta(e[n],e[n+1],t);return a[n](r)};return n?t=>l(_r(e[0],e[o-1],t)):l}function Sa(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ta(0,t,r);e.push(la(n,1,i))}}(t,e.length-1),t}function Ra({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ea):ea(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Sa(t),e),s=Ba(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||jo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function Va(e,t){return t?e*(1e3/t):0}function La(e,t,n){const r=Math.max(t-5,0);return Va(n-e(r),t-r)}const Ma=.001;function Da({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;ko(e<=Po(10),"Spring duration must be 10 seconds or less");let a=1-t;a=_r(.05,1,a),e=_r(.01,10,Go(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=Oa(t,a),l=Math.exp(-i);return Ma-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Oa(Math.pow(t,2),a);return(-i(t)+Ma>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Wa;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Po(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Wa=12;function Oa(e,t){return e*Math.sqrt(1-t*t)}const Xa=["duration","bounce"],Fa=["stiffness","damping","mass"];function Ha(e,t){return t.some(t=>void 0!==e[t])}function za({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Ha(e,Fa)&&Ha(e,Xa)){const n=Da(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-Go(u):0,m=l/(2*Math.sqrt(s*c)),f=o-i,g=Go(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=Oa(g,m);v=t=>{const n=Math.exp(-m*g*t);return o-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>o-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return o-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let i=h;0!==e&&(i=m<1?La(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function ja({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let x,I;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=za({keyframes:[p.value,h(p.value)],velocity:La(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!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Za=e=>{const t=({timestamp:t})=>e(t);return{start:()=>uo.update(t,!0),stop:()=>po(t),now:()=>ro.isProcessing?ro.timestamp:performance.now()}};function Ya(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 Ja={decay:ja,inertia:ja,tween:Ra,keyframes:Ra,spring:za};function Ua({autoplay:e=!0,delay:t=0,driver:n=Za,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=Ja[i]||Ra;let x;y!==Ra&&"number"!=typeof r[0]&&(x=Ba([0,100],r,{clamp:!1}),r=[0,100]);const I=y({...p,keyframes:r});let C;"mirror"===s&&(C=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",N=null,A=null,E=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=Ya(I));const{calculatedDuration:k}=I;let T=1/0,P=1/0;null!==k&&(T=k+a,P=T*(o+1)-a);let G=0;const B=e=>{if(null===A)return;f>0&&(A=Math.min(A,e)),G=null!==N?N:(e-A)*f;const n=G-t,i=n<0;G=Math.max(n,0),"finished"===w&&null===N&&(G=P);let l=G,c=I;if(o){const e=G/T;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/T)):"mirror"===s&&(c=C));let i=_r(0,1,n);G>P&&(i="reverse"===s&&r?1:0),l=i*T}const u=i?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;i||null===k||(p=G>=P);const h=null===N&&("finished"===w||"running"===w&&p||f<0&&G<=0);return d&&d(u.value),h&&V(),u},S=()=>{v&&v.stop(),v=void 0},R=()=>{w="idle",S(),b(),A=E=null},V=()=>{w="finished",u&&u(),S(),b()},L=()=>{if(g)return;v||(v=n(B));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==w||(A=e),E=A,N=null,w="running",v.start()};e&&L();const M={then:(e,t)=>m.then(e,t),get time(){return Go(G)},set time(e){e=Po(e),G=e,null===N&&v&&0!==f?A=v.now()-e/f:N=e},get duration(){const e=null===I.calculatedDuration?Ya(I):I.calculatedDuration;return Go(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=Go(G))},get state(){return w},play:L,pause:()=>{w="paused",N=G},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),R())},cancel:()=>{null!==E&&B(E),R()},complete:()=>{w="finished"},sample:e=>(A=0,B(e))};return M}const _a=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function $a(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Oo.waapi()&&_a.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Ro(t.ease))(t,i)){const e=Ua({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Mo(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),m=()=>h.cancel(),f=()=>{uo.update(m),o(),l()};return h.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),f()},{then:(e,t)=>a.then(e,t),get time(){return Go(h.currentTime||0)},set time(e){h.currentTime=Po(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return Go(u)},play:()=>{s||(h.play(),po(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Ua({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const Qa={type:"spring",stiffness:500,damping:25,restSpeed:10},Ka={type:"keyframes",duration:.8},qa={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},es=(e,{keyframes:t})=>t.length>2?Ka:Xr.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Qa:qa,ts=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Ca.test(t)&&"0"!==t||t.startsWith("url("))),ns=new Set(["brightness","contrast","saturate","opacity"]);function rs(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(ei)||[];if(!r)return e;const i=n.replace(r,"");let o=ns.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const is=/([a-z-]*)\(.*?\)/g,os={...Ca,getAnimatableNone:e=>{const t=e.match(is);return t?t.map(rs).join(" "):e}},as={...pi,color:sa,backgroundColor:sa,outlineColor:sa,fill:sa,stroke:sa,borderColor:sa,borderTopColor:sa,borderRightColor:sa,borderBottomColor:sa,borderLeftColor:sa,filter:os,WebkitFilter:os},ss=e=>as[e];function ls(e,t){let n=ss(e);return n!==os&&(n=Ca),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const cs=e=>/^0[^.\s]+$/.test(e);function us(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||cs(e):void 0}function ds(e,t){return e[t]||e.default||e}const ps=(e,t,n,r={})=>i=>{const o=ds(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=Po(a);const l=function(e,t,n,r){const i=ts(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),us(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=ls(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=ts(e,c),p=ts(e,u);ko(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(h={...h,...es(e,h)}),h.duration&&(h.duration=Po(h.duration)),h.repeatDelay&&(h.repeatDelay=Po(h.repeatDelay)),!d||!p||Bo||!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:fo,pause:fo,stop:fo,then:e=>(e(),Promise.resolve()),cancel:fo,complete:fo});return t?Ua({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=$a(t,e,h);if(n)return n}return Ua(h)};function hs(e){return Boolean(Hr(e)&&e.add)}const ms=e=>/^\-?\d*\.?\d+$/.test(e);function fs(e,t){-1===e.indexOf(t)&&e.push(t)}function gs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class bs{constructor(){this.subscriptions=[]}add(e){return fs(this.subscriptions,e),()=>gs(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 vs=new Set;function ys(e,t,n){e||vs.has(t)||(console.warn(t),vs.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}=ro;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,uo.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=()=>uo.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&&ys(!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 bs);const n=this.events[e].add(t);return"change"===e?()=>{n(),uo.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?Va(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 Is(e,t){return new xs(e,t)}const Cs=e=>t=>t.test(e),ws=[$r,si,ai,oi,ci,li,{test:e=>"auto"===e,parse:e=>e}],Ns=e=>ws.find(Cs(e)),As=[...ws,sa,Ca],Es=e=>As.find(Cs(e));function ks(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Is(n))}function Ts(e,t){if(!t)return;return(t[e]||t.default||t).from}function Ps({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Gs(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&Ps(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Eo];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,uo))}r.start(ps(t,r,i,e.shouldReduceMotion&&Xr.has(t)?{type:!1}:a));const d=r.animation;hs(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=Ao(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)ks(e,t,Oi(o[t]))}(e,a)}),c}function Bs(e,t,n={}){const r=Ao(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Gs(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Ss).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(Bs(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function Ss(e,t){return e.sortNodePosition(t)}const Rs=[...Cr].reverse(),Vs=Cr.length;function Ls(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=>Bs(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=Bs(e,t,n);else{const i="function"==typeof t?Ao(e,t,n.custom):t;r=Promise.all(Gs(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Ms(e){let t=Ls(e);const n={animate:Ws(!0),whileInView:Ws(),whileHover:Ws(),whileTap:Ws(),whileDrag:Ws(),whileFocus:Ws(),exit:Ws()};let r=!0;const i=(t,n)=>{const r=Ao(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Vs;t++){const h=Rs[t],m=n[h],f=void 0!==s[h]?s[h]:l[h],g=xr(f),b=h===a?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||Ir(f)||"boolean"==typeof f)continue;const y=Ds(m.prevProp,f);let x=y||h===a&&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,N={...w,...C},A=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in N){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Wi(t)&&Wi(n)?!No(t,n)||y?A(e):m.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):m.protectedKeys[e]=!0)}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Ds(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!No(t,e)}function Ws(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Os=0;const Xs={animation:{Feature:class extends no{constructor(e){super(e),e.animationState||(e.animationState=Ms(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ir(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 no{constructor(){super(...arguments),this.id=Os++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const 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(){}}}},Fs=(e,t)=>Math.abs(e-t);class Hs{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Zs(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Fs(e.x,t.x),r=Fs(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}=ro;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=zs(t,this.transformPagePoint),uo.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=Zs("pointercancel"===e.type?this.lastMoveEventInfo:zs(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Yi(e))return;this.handlers=t,this.transformPagePoint=n;const r=zs(Ji(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=ro;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,Zs(r,this.history)),this.removeListeners=$i(Ui(window,"pointermove",this.handlePointerMove),Ui(window,"pointerup",this.handlePointerUp),Ui(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),po(this.updatePoint)}}function zs(e,t){return t?{point:t(e.point)}:e}function js(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zs({point:e},t){return{point:e,delta:js(e,Js(t)),offset:js(e,Ys(t)),velocity:Us(t,.1)}}function Ys(e){return e[0]}function Js(e){return e[e.length-1]}function Us(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Js(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Po(t)));)n--;if(!r)return{x:0,y:0};const o=Go(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function _s(e){return e.max-e.min}function $s(e,t=0,n=.01){return Math.abs(e-t)<=n}function Qs(e,t,n,r=.5){e.origin=r,e.originPoint=la(t.min,t.max,e.origin),e.scale=_s(n)/_s(t),($s(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=la(n.min,n.max,e.origin)-e.originPoint,($s(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ks(e,t,n,r){Qs(e.x,t.x,n.x,r?r.originX:void 0),Qs(e.y,t.y,n.y,r?r.originY:void 0)}function qs(e,t,n){e.min=n.min+t.min,e.max=e.min+_s(t)}function el(e,t,n){e.min=t.min-n.min,e.max=e.min+_s(t)}function tl(e,t,n){el(e.x,t.x,n.x),el(e.y,t.y,n.y)}function nl(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 rl(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 il=.35;function ol(e,t,n){return{min:al(e,t),max:al(e,n)}}function al(e,t){return"number"==typeof e?e:e[t]||0}const sl=()=>({x:{min:0,max:0},y:{min:0,max:0}});function ll(e){return[e("x"),e("y")]}function cl({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ul(e){return void 0===e||1===e}function dl({scale:e,scaleX:t,scaleY:n}){return!ul(e)||!ul(t)||!ul(n)}function pl(e){return dl(e)||hl(e)||e.z||e.rotate||e.rotateX||e.rotateY}function hl(e){return ml(e.x)||ml(e.y)}function ml(e){return e&&"0%"!==e}function fl(e,t,n){return n+t*(e-n)}function gl(e,t,n,r,i){return void 0!==i&&(e=fl(e,i,r)),fl(e,n,r)+t}function bl(e,t=0,n=1,r,i){e.min=gl(e.min,t,n,r,i),e.max=gl(e.max,t,n,r,i)}function vl(e,{x:t,y:n}){bl(e.x,t.translate,t.scale,t.originPoint),bl(e.y,n.translate,n.scale,n.originPoint)}function yl(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function xl(e,t){e.min=e.min+t,e.max=e.max+t}function Il(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=la(e.min,e.max,o);bl(e,t[n],t[r],a,t.scale)}const Cl=["x","scaleX","originX"],wl=["y","scaleY","originY"];function Nl(e,t){Il(e.x,t,Cl),Il(e.y,t,wl)}function Al(e,t){return cl(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 El=new WeakMap;class kl{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new Hs(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ji(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eo(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),ll(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ai.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=_s(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&uo.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&uo.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||!Tl(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?la(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?la(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&&yr(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:nl(e.x,n,i),y:nl(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=il){return!1===e?e=0:!0===e&&(e=il),{x:ol(e,"left","right"),y:ol(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ll(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||!yr(e))return!1;const n=e.current;To(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=Al(e,n),{scroll:i}=t;return i&&(xl(r.x,i.offset.x),xl(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:rl(e.x,t.x),y:rl(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=cl(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=ll(a=>{if(!Tl(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(ps(e,n,0,t))}stopAnimation(){ll(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){ll(t=>{const{drag:n}=this.getProps();if(!Tl(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]-la(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!yr(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};ll(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=_s(e),i=_s(t);return i>r?n=Ta(t.min,t.max-r,e.min):r>i&&(n=Ta(e.min,e.max-i,t.min)),_r(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(),ll(t=>{if(!Tl(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(la(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;El.set(this.visualElement,this);const e=Ui(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();yr(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=Zi(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ll(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=il,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Tl(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Pl=e=>(t,n)=>{e&&uo.update(()=>e(t,n))};const Gl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Bl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Sl={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!si.test(e))return e;e=parseFloat(e)}return`${Bl(e,t.target.x)}% ${Bl(e,t.target.y)}%`}},Rl={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ca.parse(e);if(i.length>5)return r;const o=Ca.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=la(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class Vl extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=Ml,Object.assign(Wr,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()})),Gl.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()||uo.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 Ll(e){const[t,n]=function(){const e=g(fr);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=v();return p(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),r=g(Gr);return i.createElement(Vl,{...e,layoutGroup:r,switchLayoutGroup:g(Br),isPresent:t,safeToRemove:n})}const Ml={borderRadius:{...Sl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Sl,borderTopRightRadius:Sl,borderBottomLeftRadius:Sl,borderBottomRightRadius:Sl,boxShadow:Rl},Dl=["TopLeft","TopRight","BottomLeft","BottomRight"],Wl=Dl.length,Ol=e=>"string"==typeof e?parseFloat(e):e,Xl=e=>"number"==typeof e||si.test(e);function Fl(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Hl=jl(0,.5,Uo),zl=jl(.5,.95,fo);function jl(e,t,n){return r=>r<e?0:r>t?1:n(Ta(e,t,r))}function Zl(e,t){e.min=t.min,e.max=t.max}function Yl(e,t){Zl(e.x,t.x),Zl(e.y,t.y)}function Jl(e,t,n,r,i){return e=fl(e-=t,1/n,r),void 0!==i&&(e=fl(e,1/i,r)),e}function Ul(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){ai.test(t)&&(t=parseFloat(t),t=la(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=la(o.min,o.max,r);e===o&&(s-=t),e.min=Jl(e.min,t,n,s,i),e.max=Jl(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const _l=["x","scaleX","originX"],$l=["y","scaleY","originY"];function Ql(e,t,n,r){Ul(e.x,t,_l,n?n.x:void 0,r?r.x:void 0),Ul(e.y,t,$l,n?n.y:void 0,r?r.y:void 0)}function Kl(e){return 0===e.translate&&1===e.scale}function ql(e){return Kl(e.x)&&Kl(e.y)}function ec(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 tc(e){return _s(e.x)/_s(e.y)}class nc{constructor(){this.members=[]}add(e){fs(this.members,e),e.scheduleRender()}remove(e){if(gs(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 rc(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const ic=(e,t)=>e.depth-t.depth;class oc{constructor(){this.children=[],this.isDirty=!1}add(e){fs(this.children,e),this.isDirty=!0}remove(e){gs(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ic),this.isDirty=!1,this.children.forEach(e)}}const ac=["","X","Y","Z"];let sc=0;const lc={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function cc({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=sc++,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;lc.totalNodes=lc.resolvedTargetDeltas=lc.recalculatedProjection=0,this.nodes.forEach(pc),this.nodes.forEach(yc),this.nodes.forEach(xc),this.nodes.forEach(hc),e=lc,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 oc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new bs),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(po(r),e(o-t))};return uo.read(r,!0),()=>po(r)}(r,250),Gl.hasAnimatedSinceResize&&(Gl.hasAnimatedSinceResize=!1,this.nodes.forEach(vc))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||Ec,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!ec(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={...ds(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||vc(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,po(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(Ic),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(fc);this.isUpdating||this.nodes.forEach(gc),this.isUpdating=!1,this.nodes.forEach(bc),this.nodes.forEach(uc),this.nodes.forEach(dc),this.clearAllSnapshots();const e=performance.now();ro.delta=_r(0,1e3/60,e-ro.timestamp),ro.timestamp=e,ro.isProcessing=!0,so.update.process(ro),so.preRender.process(ro),so.render.process(ro),ro.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(mc),this.sharedNodes.forEach(Cc)}scheduleUpdateProjection(){uo.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){uo.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&&!ql(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||pl(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)),kc((r=n).x),kc(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&&(xl(t.x,n.offset.x),xl(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Yl(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){Yl(t,e);const{scroll:n}=this.root;n&&(xl(t.x,-n.offset.x),xl(t.y,-n.offset.y))}xl(t.x,i.offset.x),xl(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Yl(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&&Nl(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),pl(r.latestValues)&&Nl(n,r.latestValues)}return pl(this.latestValues)&&Nl(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Yl(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!pl(n.latestValues))continue;dl(n.latestValues)&&n.updateSnapshot();const r=sl();Yl(r,n.measurePageBox()),Ql(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return pl(this.latestValues)&&Ql(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!==ro.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=ro.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}},tl(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Yl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,qs(a.x,s.x,l.x),qs(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Yl(this.target,this.layout.layoutBox),vl(this.target,this.targetDelta)):Yl(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}},tl(this.relativeTargetOrigin,this.target,e.target),Yl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}lc.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!dl(this.parent.latestValues)&&!hl(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===ro.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;Yl(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Nl(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,vl(e,a)),r&&pl(o.latestValues)&&Nl(e,o.latestValues))}t.x=yl(t.x),t.y=yl(t.y)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;Ks(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=rc(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),lc.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Ac));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;wc(o.x,e.x,n),wc(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(tl(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Nc(e.x,t.x,n.x,r),Nc(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&ec(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Yl(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=la(0,void 0!==n.opacity?n.opacity:1,Hl(r)),e.opacityExit=la(void 0!==t.opacity?t.opacity:1,0,zl(r))):o&&(e.opacity=la(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Wl;i++){const o=`border${Dl[i]}Radius`;let a=Fl(t,o),s=Fl(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Xl(a)===Xl(s)?(e[o]=Math.max(la(Ol(a),Ol(s),r),0),(ai.test(s)||ai.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=la(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&&(po(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=uo.update(()=>{Gl.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Hr(e)?e:Is(e);return r.start(ps("",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&&Tc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=_s(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=_s(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Yl(t,n),Nl(t,i),Ks(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nc);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<ac.length;t++){const i="rotate"+ac[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=Xi(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=Xi(e.pointerEvents)||""),this.hasProjected&&!pl(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=rc(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Wr){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Wr[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?Xi(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(fc),this.root.sharedNodes.clear()}}}function uc(e){e.updateLayout()}function dc(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?ll(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=_s(r);r.min=t[e].min,r.max=r.min+i}):Tc(i,n.layoutBox,t)&&ll(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=_s(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ks(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Ks(s,e.applyTransform(r,!0),n.measuredBox):Ks(s,t,n.layoutBox);const l=!ql(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};tl(a,n.layoutBox,i.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};tl(s,t,o.layoutBox),ec(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function pc(e){lc.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 hc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mc(e){e.clearSnapshot()}function fc(e){e.clearMeasurements()}function gc(e){e.isLayoutDirty=!1}function bc(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function vc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function yc(e){e.resolveTargetDelta()}function xc(e){e.calcProjection()}function Ic(e){e.resetRotation()}function Cc(e){e.removeLeadSnapshot()}function wc(e,t,n){e.translate=la(t.translate,0,n),e.scale=la(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Nc(e,t,n,r){e.min=la(t.min,n.min,r),e.max=la(t.max,n.max,r)}function Ac(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ec={duration:.45,ease:[.4,0,.1,1]};function kc(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Tc(e,t,n){return"position"===e||"preserve-aspect"===e&&!$s(tc(t),tc(n),.2)}const Pc=cc({attachResizeListener:(e,t)=>Zi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Gc={current:void 0},Bc=cc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gc.current){const e=new Pc({});e.mount(window),e.setOptions({layoutScroll:!0}),Gc.current=e}return Gc.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Sc={pan:{Feature:class extends no{constructor(){super(...arguments),this.removePointerDownListener=fo}onPointerDown(e){this.session=new Hs(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Pl(e),onStart:Pl(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&uo.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Ui(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 no{constructor(e){super(e),this.removeGroupControls=fo,this.removeListeners=fo,this.controls=new kl(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||fo}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Bc,MeasureLayout:Ll}},Rc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Vc(e,t,n=1){To(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=Rc.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():Jr(i)?Vc(i,t,n+1):i}const Lc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Mc=e=>Lc.has(e),Dc=e=>e===$r||e===si,Wc=(e,t)=>parseFloat(e.split(", ")[t]),Oc=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Wc(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Wc(t[1],e):0}},Xc=new Set(["x","y","z"]),Fc=Or.filter(e=>!Xc.has(e));const Hc={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:Oc(4,13),y:Oc(5,14)},zc=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Mc);let o=[],a=!1;const s=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=Ns(c);const d=t[i];let p;if(Wi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Ns(c);for(let n=t;n<e&&null!==d[n];n++)p?To(Ns(d[n])===p,"All keyframes must be of the same type"):(p=Ns(d[n]),To(p===u||Dc(u)&&Dc(p),"Keyframes must be of the same dimension as the current value"))}else p=Ns(d);if(u!==p)if(Dc(u)&&Dc(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===si&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[i]=u.transform(d):(a||(o=function(e){const t=[];return Fc.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Hc[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Hc[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),gr&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function jc(e,t,n,r){return(e=>Object.keys(e).some(Mc))(t)?zc(e,t,n,r):{target:t,transitionEnd:r}}const Zc=(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(!Jr(t))return;const n=Vc(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!Jr(i))continue;const o=Vc(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return jc(e,t=i.target,n,r=i.transitionEnd)},Yc={current:null},Jc={current:!1};const Uc=new WeakMap,_c=Object.keys(Pr),$c=_c.length,Qc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Kc=wr.length;class qc{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=()=>uo.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=Nr(t),this.isVariantNode=Ar(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==a[e]&&Hr(t)&&(t.set(a[e],!1),hs(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Uc.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)),Jc.current||function(){if(Jc.current=!0,gr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Yc.current=e.matches;e.addListener(t),t()}else Yc.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Yc.current),"production"!==process.env.NODE_ENV&&ys(!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(){Uc.delete(this.current),this.projection&&this.projection.unmount(),po(this.notifyUpdate),po(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=Xr.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&uo.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?ko(!1,e):To(!1,e)}for(let e=0;e<$c;e++){const n=_c[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=Pr[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&yr(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Qc.length;t++){const n=Qc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(Hr(o))e.addValue(i,o),hs(r)&&r.add(i),"development"===process.env.NODE_ENV&&ys("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(Hr(a))e.addValue(i,Is(o,{owner:e})),hs(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Is(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<Kc;e++){const n=wr[e],r=this.props[n];(xr(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=Is(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=Mi(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||Hr(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 bs),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class eu extends qc{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=Ts(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=c&&("string"==typeof c&&(ms(c)||cs(c))?c=parseFloat(c):!Es(c)&&Ca.test(l)&&(c=ls(a,l)),e.addValue(a,Is(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=Zc(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class tu extends eu{readValueFromInstance(e,t){if(Xr.has(t)){const e=ss(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(Yr(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Al(e,t)}build(e,t,n,r){hi(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Vi(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Hr(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Bi(e,t,n,r)}}class nu extends eu{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Xr.has(t)){const e=ss(t);return e&&e.default||0}return t=Si.has(t)?t:Gi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Li(e,t)}build(e,t,n,r){Ai(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Ri(e,t,0,r)}mount(e){this.isSVGTag=ki(e.tagName),super.mount(e)}}const ru=(e,t)=>Dr(e)?new nu(t,{enableHardwareAcceleration:!1}):new tu(t,{enableHardwareAcceleration:!0}),iu={...Xs,...wo,...Sc,...{layout:{ProjectionNode:Bc,MeasureLayout:Ll}}},ou=Lr((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Dr(e)?zi:ji,preloadedFeatures:n,useRender:Pi(t),createVisualElement:r,Component:e}}(e,t,iu,ru));function au(){const e=u(!1);return br(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class su extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function lu({children:e,isPresent:t}){const n=v(),i=u(null),o=u({width:0,height:0,top:0,left:0});return b(()=>{const{width:e,height:r,top:a,left:s}=o.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(su,{isPresent:t,childRef:i,sizeRef:o},r.cloneElement(e,{ref:i}))}const cu=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const c=Di(uu),u=v(),d=l(()=>({id:u,initial:t,isPresent:n,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),a?void 0:[n]);return l(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),r.useEffect(()=>{!n&&!c.size&&i&&i()},[n]),"popLayout"===s&&(e=r.createElement(lu,{isPresent:n},e)),r.createElement(fr.Provider,{value:d},e)};function uu(){return new Map}const du=e=>e.key||"";const pu=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:s,presenceAffectsLayout:l=!0,mode:c="sync"})=>{To(!s,"Replace exitBeforeEnter with mode='wait'");const m=g(Gr).forceRender||function(){const e=au(),[t,n]=d(0),r=h(()=>{e.current&&n(t+1)},[t]);return[h(()=>uo.postRender(r),[r]),t]}()[0],f=au(),b=function(e){const t=[];return y.forEach(e,e=>{o(e)&&t.push(e)}),t}(e);let v=b;const x=u(new Map).current,I=u(v),C=u(new Map).current,w=u(!0);var N;if(br(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=du(e);t.set(n,e)})}(b,C),I.current=v}),N=()=>{w.current=!0,C.clear(),x.clear()},p(()=>()=>N(),[]),w.current)return r.createElement(r.Fragment,null,v.map(e=>r.createElement(cu,{key:du(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:l,mode:c},e)));v=[...v];const A=I.current.map(du),E=b.map(du),k=A.length;for(let e=0;e<k;e++){const t=A[e];-1!==E.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===c&&x.size&&(v=[]),x.forEach((e,n)=>{if(-1!==E.indexOf(n))return;const o=C.get(n);if(!o)return;const a=A.indexOf(n);let s=e;if(!s){const e=()=>{C.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=b,!1===f.current)return;m(),i&&i()}};s=r.createElement(cu,{key:du(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:l,mode:c},o),x.set(n,s)}v.splice(a,0,s)}),v=v.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(cu,{key:du(e),isPresent:!0,presenceAffectsLayout:l,mode:c},e)}),"production"!==process.env.NODE_ENV&&"wait"===c&&v.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),r.createElement(r.Fragment,null,x.size?v:v.map(e=>a(e)))};function hu(){return hu=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},hu.apply(null,arguments)}function mu(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 fu(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function gu(...e){return h(fu(...e),e)}function bu(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return l(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const vu=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?f:()=>{},yu=r["useId".toString()]||(()=>{});let xu=0;function Iu(e){const[t,n]=r.useState(yu());return vu(()=>{n(e=>null!=e?e:String(xu++))},[e]),e||(t?`radix-${t}`:"")}function Cu(e){const t=u(e);return p(()=>{t.current=e}),l(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function wu({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=d(e),[r]=n,i=u(r),o=Cu(t);return p(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,a=o?e:r,s=Cu(n);return[a,h(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[o,e,i,s])]}const Nu=s((e,t)=>{const{children:n,...r}=e,i=y.toArray(n),s=i.find(ku);if(s){const e=s.props.children,n=i.map(t=>t===s?y.count(e)>1?y.only(null):o(e)?e.props.children:null:t);return c(Au,hu({},r,{ref:t}),o(e)?a(e,void 0,n):null)}return c(Au,hu({},r,{ref:t}),n)});Nu.displayName="Slot";const Au=s((e,t)=>{const{children:n,...r}=e;return o(n)?a(n,{...Tu(r,n.props),ref:t?fu(t,n.ref):n.ref}):y.count(n)>1?y.only(null):null});Au.displayName="SlotClone";const Eu=({children:e})=>c(x,null,e);function ku(e){return o(e)&&e.type===Eu}function Tu(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 Pu=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=s((e,n)=>{const{asChild:r,...i}=e,o=r?Nu:t;return p(()=>{window[Symbol.for("radix-ui")]=!0},[]),c(o,hu({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Gu="dismissableLayer.update",Bu="dismissableLayer.pointerDownOutside",Su="dismissableLayer.focusOutside";let Ru;const Vu=m({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Lu=s((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...h}=e,m=g(Vu),[f,b]=d(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=d({}),x=gu(t,e=>b(e)),I=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),N=f?I.indexOf(f):-1,A=m.layersWithOutsidePointerEventsDisabled.size>0,E=N>=w,k=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Cu(e),r=u(!1),i=u(()=>{});return p(()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){Du(Bu,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...m.branches].some(e=>e.contains(t));E&&!n&&(null==o||o(e),null==s||s(e),e.defaultPrevented||null==l||l())},v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Cu(e),r=u(!1);return p(()=>{const e=e=>{if(e.target&&!r.current){Du(Su,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...m.branches].some(e=>e.contains(t))||(null==a||a(e),null==s||s(e),e.defaultPrevented||null==l||l())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Cu(e);p(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{N===m.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},v),p(()=>{if(f)return r&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(Ru=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(f)),m.layers.add(f),Mu(),()=>{r&&1===m.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Ru)}},[f,v,r,m]),p(()=>()=>{f&&(m.layers.delete(f),m.layersWithOutsidePointerEventsDisabled.delete(f),Mu())},[f,m]),p(()=>{const e=()=>y({});return document.addEventListener(Gu,e),()=>document.removeEventListener(Gu,e)},[]),c(Pu.div,hu({},h,{ref:x,style:{pointerEvents:A?E?"auto":"none":void 0,...e.style},onFocusCapture:mu(e.onFocusCapture,T.onFocusCapture),onBlurCapture:mu(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:mu(e.onPointerDownCapture,k.onPointerDownCapture)}))});function Mu(){const e=new CustomEvent(Gu);document.dispatchEvent(e)}function Du(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&k(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const Wu="focusScope.autoFocusOnMount",Ou="focusScope.autoFocusOnUnmount",Xu={bubbles:!1,cancelable:!0},Fu=s((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=d(null),m=Cu(i),f=Cu(o),g=u(null),b=gu(t,e=>l(e)),v=u({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p(()=>{if(r){function e(e){if(v.paused||!s)return;const t=e.target;s.contains(t)?g.current=t:Zu(g.current,{select:!0})}function t(e){if(v.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||Zu(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Zu(s)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const i=new MutationObserver(n);return s&&i.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[r,s,v.paused]),p(()=>{if(s){Yu.add(v);const t=document.activeElement;if(!s.contains(t)){const n=new CustomEvent(Wu,Xu);s.addEventListener(Wu,m),s.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Zu(r,{select:t}),document.activeElement!==n)return}((e=Hu(s),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Zu(s))}return()=>{s.removeEventListener(Wu,m),setTimeout(()=>{const e=new CustomEvent(Ou,Xu);s.addEventListener(Ou,f),s.dispatchEvent(e),e.defaultPrevented||Zu(null!=t?t:document.body,{select:!0}),s.removeEventListener(Ou,f),Yu.remove(v)},0)}}var e},[s,m,f,v]);const y=h(e=>{if(!n&&!r)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[r,o]=function(e){const t=Hu(e),n=zu(t,e),r=zu(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&Zu(o,{select:!0})):(e.preventDefault(),n&&Zu(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return c(Pu.div,hu({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function Hu(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 zu(e,t){for(const n of e)if(!ju(n,{upTo:t}))return n}function ju(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 Zu(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 Yu=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Ju(e,t),e.unshift(t)},remove(t){var n;e=Ju(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Ju(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Uu=s((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?E.createPortal(c(Pu.div,hu({},i,{ref:t})),r):null});const _u=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=d(),r=u({}),i=u(e),o=u("none"),a=e?"mounted":"unmounted",[s,l]=function(e,t){return I((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p(()=>{const e=$u(r.current);o.current="mounted"===s?e:"none"},[s]),vu(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=$u(t);if(e)l("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))l("UNMOUNT");else{l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,l]),vu(()=>{if(t){const e=e=>{const n=$u(r.current).includes(e.animationName);e.target===t&&n&&k(()=>l("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=$u(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):y.only(n),o=gu(r.ref,i.ref);return"function"==typeof n||r.isPresent?a(i,{ref:o}):null};function $u(e){return(null==e?void 0:e.animationName)||"none"}_u.displayName="Presence";let Qu=0;function Ku(){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 qu=function(){return qu=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},qu.apply(this,arguments)};function ed(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 td="right-scroll-bar-position",nd="width-before-scroll-bar";function rd(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var id="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,od=new WeakMap;function ad(e,t){var n,r,i,o=(n=null,r=function(t){return e.forEach(function(e){return rd(e,t)})},(i=d(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return id(function(){var t=od.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||rd(e,null)}),r.forEach(function(e){n.has(e)||rd(e,i)})}od.set(o,e)},[e]),o}function sd(e){return e}var ld=function(e){var t=e.sideCar,n=ed(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return r.createElement(i,qu({},n))};ld.isSideCarExport=!0;var cd=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=sd);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=qu({async:!0,ssr:!1},e),t}(),ud=function(){},dd=r.forwardRef(function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:ud,onWheelCapture:ud,onTouchMoveCapture:ud}),o=i[0],a=i[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=ed(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=ad([n,t]),C=qu(qu({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:cd,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),qu(qu({},C),{ref:I})):r.createElement(v,qu({},C,{className:c,ref:I}),l))});dd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},dd.classNames={fullWidth:nd,zeroRight:td};function pd(){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 hd=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=pd())&&(!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)}}},md=function(){var e,t=(e=hd(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},fd={left:0,top:0,right:0,gap:0},gd=function(e){return parseInt(e||"",10)||0},bd=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return fd;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[gd(n),gd(r),gd(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])}},vd=md(),yd="data-scroll-locked",xd=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(yd,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(td," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(nd," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(td," .").concat(td," {\n right: 0 ").concat(r,";\n }\n \n .").concat(nd," .").concat(nd," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(yd,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Id=function(){var e=parseInt(document.body.getAttribute(yd)||"0",10);return isFinite(e)?e:0},Cd=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(yd,(Id()+1).toString()),function(){var e=Id()-1;e<=0?document.body.removeAttribute(yd):document.body.setAttribute(yd,e.toString())}},[]);var a=r.useMemo(function(){return bd(o)},[o]);return r.createElement(vd,{styles:xd(a,!t,o,n?"":"!important")})},wd=!1;if("undefined"!=typeof window)try{var Nd=Object.defineProperty({},"passive",{get:function(){return wd=!0,!0}});window.addEventListener("test",Nd,Nd),window.removeEventListener("test",Nd,Nd)}catch(e){wd=!1}var Ad=!!wd&&{passive:!1},Ed=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])},kd=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Td(e,n)){var r=Pd(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Td=function(e,t){return"v"===e?function(e){return Ed(e,"overflowY")}(t):function(e){return Ed(e,"overflowX")}(t)},Pd=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)},Gd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Bd=function(e){return[e.deltaX,e.deltaY]},Sd=function(e){return e&&"current"in e?e.current:e},Rd=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Vd=0,Ld=[];var Md,Dd=(Md=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(Vd++)[0],a=r.useState(function(){return md()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Sd),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=Gd(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=kd(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=kd(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var h=i.current||r;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=Pd(e,a),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&Td(e,a)&&(u+=m,d+=h),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=r.useCallback(function(e){var n=e;if(Ld.length&&Ld[Ld.length-1]===a){var r="deltaY"in n?Bd(n):Gd(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(Sd).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=r.useCallback(function(e){n.current=Gd(e),i.current=void 0},[]),p=r.useCallback(function(t){u(t.type,Bd(t),t.target,l(t,e.lockRef.current))},[]),h=r.useCallback(function(t){u(t.type,Gd(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return Ld.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Ad),document.addEventListener("touchmove",c,Ad),document.addEventListener("touchstart",d,Ad),function(){Ld=Ld.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,Ad),document.removeEventListener("touchmove",c,Ad),document.removeEventListener("touchstart",d,Ad)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:Rd(o)}):null,m?r.createElement(Cd,{gapMode:"margin"}):null)},cd.useMedium(Md),ld),Wd=r.forwardRef(function(e,t){return r.createElement(dd,qu({},e,{ref:t,sideCar:Dd}))});Wd.classNames=dd.classNames;var Od=new WeakMap,Xd=new WeakMap,Fd={},Hd=0,zd=function(e){return e&&(e.host||zd(e.parentNode))},jd=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=zd(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]);Fd[n]||(Fd[n]=new WeakMap);var o=Fd[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Od.get(e)||0)+1,c=(o.get(e)||0)+1;Od.set(e,l),o.set(e,c),a.push(e),1===l&&i&&Xd.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Hd++,function(){a.forEach(function(e){var t=Od.get(e)-1,i=o.get(e)-1;Od.set(e,t),o.set(e,i),t||(Xd.has(e)||e.removeAttribute(r),Xd.delete(e)),i||e.removeAttribute(n)}),--Hd||(Od=new WeakMap,Od=new WeakMap,Xd=new WeakMap,Fd={})}},Zd=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"))),jd(r,i,n,"aria-hidden")):function(){return null}};const Yd="Dialog",[Jd,Ud]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>m(e));return function(n){const r=(null==n?void 0:n[e])||t;return l(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=m(r),o=n.length;function a(t){const{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][o])||i,u=l(()=>a,Object.values(a));return c(s.Provider,{value:u},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][o])||i,l=g(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},bu(r,...t)]}(Yd),[_d,$d]=Jd(Yd),Qd="DialogPortal",[Kd,qd]=Jd(Qd,{forceMount:void 0}),ep="DialogOverlay",tp=s((e,t)=>{const n=qd(ep,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=$d(ep,e.__scopeDialog);return o.modal?c(_u,{present:r||o.open},c(np,hu({},i,{ref:t}))):null}),np=s((e,t)=>{const{__scopeDialog:n,...r}=e,i=$d(ep,n);return c(Wd,{as:Nu,allowPinchZoom:!0,shards:[i.contentRef]},c(Pu.div,hu({"data-state":dp(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),rp="DialogContent",ip=s((e,t)=>{const n=qd(rp,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=$d(rp,e.__scopeDialog);return c(_u,{present:r||o.open},o.modal?c(op,hu({},i,{ref:t})):c(ap,hu({},i,{ref:t})))}),op=s((e,t)=>{const n=$d(rp,e.__scopeDialog),r=u(null),i=gu(t,n.contentRef,r);return p(()=>{const e=r.current;if(e)return Zd(e)},[]),c(sp,hu({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:mu(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:mu(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:mu(e.onFocusOutside,e=>e.preventDefault())}))}),ap=s((e,t)=>{const n=$d(rp,e.__scopeDialog),r=u(!1),i=u(!1);return c(sp,hu({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),sp=s((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=$d(rp,n),l=gu(t,u(null));return p(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Ku()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Ku()),Qu++,()=>{1===Qu&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Qu--}},[]),c(x,null,c(Fu,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},c(Lu,hu({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":dp(s.open)},a,{ref:l,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),lp="DialogTitle",cp="DialogClose",up=s((e,t)=>{const{__scopeDialog:n,...r}=e,i=$d(cp,n);return c(Pu.button,hu({type:"button"},r,{ref:t,onClick:mu(e.onClick,()=>i.onOpenChange(!1))}))});function dp(e){return e?"open":"closed"}!function(e,t){const n=m(t);function r(e){const{children:t,...r}=e,i=l(()=>r,Object.values(r));return c(n.Provider,{value:i},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:rp,titleName:lp,docsSlug:"dialog"});const pp=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=u(null),l=u(null),[d=!1,p]=wu({prop:r,defaultProp:i,onChange:o});return c(_d,{scope:t,triggerRef:s,contentRef:l,contentId:Iu(),titleId:Iu(),descriptionId:Iu(),open:d,onOpenChange:p,onOpenToggle:h(()=>p(e=>!e),[p]),modal:a},n)},hp=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=$d(Qd,t);return c(Kd,{scope:t,forceMount:n},y.map(r,e=>c(_u,{present:n||o.open},c(Uu,{asChild:!0,container:i},e))))},mp=tp,fp=ip,gp=up,bp=n=>{const{isOpen:r,onRequestClose:i,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(pp,{open:r,onOpenChange:()=>r&&(null==i?void 0:i()),children:t(hp,{children:[e(ou.div,{initial:"closed",animate:r?"open":"closed",variants:ur,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(mp,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(ou.div,{initial:"closed",animate:r?"open":"closed",variants:dr,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(fp,{className:Ze("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:pr[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(gp,{asChild:!0,children:e(bn,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(Qt,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(Kt,{className:Ze("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(Kt,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},vp=({children:n,background:r,className:i,fill:o="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof r&&r in d,h=p?d[r]:void 0,m=r&&!p?{background:r}:void 0,f=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=i?i:""} ${a?"max-content":""} ${null!=h?h:m?"":"bg-white"}`,style:m,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:i,style:m,children:n})},yp=({title:n,background:r="white",button:i,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[r]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[n&&e(Kt,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(Kt,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(bn,{...i,renderCheckPlans:h,onModalButtonClick:p,size:{base:"large"}})})]})}),xp=({background:r="white",description:i,enableHeading:o,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(Kt,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(Kt,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[i&&e(Kt,{as:"p",className:"body1",children:i}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(nn,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].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("li",{children:e(nn,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(wn,{width:472,height:100,src:a,alt:"image"})})]})]})}),Ip=({title:n,disclaimer:r,table:i,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(o?"max-w-120 xl:mx-auto":""),children:[e(Kt,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:i}),e(Kt,{as:"div",className:"micro mt-8 text-center",children:r})]})}),Cp=({currentPage:n,totalPages:r,onPageChange:i,ariaLabel:o="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,r),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 t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e(un,{className:s,onClick:()=>i(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(Qt,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,r)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e(un,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>i(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(un,{className:s,onClick:()=>i(n+1),disabled:n===r,"aria-label":"Go to next page",children:e(Qt,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function wp(e){return wp="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},wp(e)}function Np(e){var t=function(e,t){if("object"!=wp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=wp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wp(t)?t:t+""}function Ap(e,t,n){return(t=Np(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ep(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 kp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ep(Object(n),!0).forEach(function(t){Ap(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ep(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Tp(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 Pp(e,t){if(e){if("string"==typeof e)return Tp(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)?Tp(e,t):void 0}}function Gp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Pp(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 Bp(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 Sp=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Rp(){return Rp=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},Rp.apply(null,arguments)}function Vp(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,Np(r.key),r)}}function Lp(e,t){return Lp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lp(e,t)}function Mp(e){return Mp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Mp(e)}function Dp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dp=function(){return!!e})()}function Wp(e,t){if(t&&("object"==wp(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 Op(e){return function(e){if(Array.isArray(e))return Tp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Pp(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 Xp=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}(),Fp="-ms-",Hp="-moz-",zp="-webkit-",jp="comm",Zp="rule",Yp="decl",Jp="@keyframes",Up=Math.abs,_p=String.fromCharCode,$p=Object.assign;function Qp(e){return e.trim()}function Kp(e,t,n){return e.replace(t,n)}function qp(e,t){return e.indexOf(t)}function eh(e,t){return 0|e.charCodeAt(t)}function th(e,t,n){return e.slice(t,n)}function nh(e){return e.length}function rh(e){return e.length}function ih(e,t){return t.push(e),e}var oh=1,ah=1,sh=0,lh=0,ch=0,uh="";function dh(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:oh,column:ah,length:a,return:""}}function ph(e,t){return $p(dh("",null,null,"",null,null,0),e,{length:-e.length},t)}function hh(){return ch=lh>0?eh(uh,--lh):0,ah--,10===ch&&(ah=1,oh--),ch}function mh(){return ch=lh<sh?eh(uh,lh++):0,ah++,10===ch&&(ah=1,oh++),ch}function fh(){return eh(uh,lh)}function gh(){return lh}function bh(e,t){return th(uh,e,t)}function vh(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 yh(e){return oh=ah=1,sh=nh(uh=e),lh=0,[]}function xh(e){return uh="",e}function Ih(e){return Qp(bh(lh-1,Nh(91===e?e+2:40===e?e+1:e)))}function Ch(e){for(;(ch=fh())&&ch<33;)mh();return vh(e)>2||vh(ch)>3?"":" "}function wh(e,t){for(;--t&&mh()&&!(ch<48||ch>102||ch>57&&ch<65||ch>70&&ch<97););return bh(e,gh()+(t<6&&32==fh()&&32==mh()))}function Nh(e){for(;mh();)switch(ch){case e:return lh;case 34:case 39:34!==e&&39!==e&&Nh(ch);break;case 40:41===e&&Nh(e);break;case 92:mh()}return lh}function Ah(e,t){for(;mh()&&e+ch!==57&&(e+ch!==84||47!==fh()););return"/*"+bh(t,lh-1)+"*"+_p(47===e?e:mh())}function Eh(e){for(;!vh(fh());)mh();return bh(e,lh)}function kh(e){return xh(Th("",null,null,null,[""],e=yh(e),0,[0],e))}function Th(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,f=1,g=1,b=1,v=0,y="",x=i,I=o,C=r,w=y;g;)switch(m=v,v=mh()){case 40:if(108!=m&&58==eh(w,d-1)){-1!=qp(w+=Kp(Ih(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ih(v);break;case 9:case 10:case 13:case 32:w+=Ch(m);break;case 92:w+=wh(gh()-1,7);continue;case 47:switch(fh()){case 42:case 47:ih(Gh(Ah(mh(),gh()),t,n),l);break;default:w+="/"}break;case 123*f:s[c++]=nh(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=Kp(w,/\f/g,"")),h>0&&nh(w)-d&&ih(h>32?Bh(w+";",r,n,d-1):Bh(Kp(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(ih(C=Ph(w,t,n,c,u,i,s,y,x=[],I=[],d),o),123===v)if(0===u)Th(w,t,C,C,x,o,d,s,I);else switch(99===p&&110===eh(w,3)?100:p){case 100:case 108:case 109:case 115:Th(e,C,C,r&&ih(Ph(e,C,C,0,0,i,s,y,i,x=[],d),I),i,I,d,s,r?x:I);break;default:Th(w,C,C,C,[""],I,0,s,I)}}c=u=h=0,f=b=1,y=w="",d=a;break;case 58:d=1+nh(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==hh())continue;switch(w+=_p(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(nh(w)-1)*b,b=1;break;case 64:45===fh()&&(w+=Ih(mh())),p=fh(),u=d=nh(y=w+=Eh(gh())),v++;break;case 45:45===m&&2==nh(w)&&(f=0)}}return o}function Ph(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=rh(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=th(e,d+1,d=Up(f=a[m])),y=e;b<h;++b)(y=Qp(f>0?p[b]+" "+v:Kp(v,/&\f/g,p[b])))&&(l[g++]=y);return dh(e,t,n,0===i?Zp:s,l,c,u)}function Gh(e,t,n){return dh(e,t,n,jp,_p(ch),th(e,2,-2),0)}function Bh(e,t,n,r){return dh(e,t,n,Yp,th(e,0,r),th(e,r+1,-1),r)}function Sh(e,t){for(var n="",r=rh(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Rh(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Yp:return e.return=e.return||e.value;case jp:return"";case Jp:return e.return=e.value+"{"+Sh(e.children,r)+"}";case Zp:e.value=e.props.join(",")}return nh(n=Sh(e.children,r))?e.return=e.value+"{"+n+"}":""}function Vh(e){var t=rh(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function Lh(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Mh="undefined"!=typeof document,Dh=function(e,t,n){for(var r=0,i=0;r=i,i=fh(),38===r&&12===i&&(t[n]=1),!vh(i);)mh();return bh(e,lh)},Wh=function(e,t){return xh(function(e,t){var n=-1,r=44;do{switch(vh(r)){case 0:38===r&&12===fh()&&(t[n]=1),e[n]+=Dh(lh-1,t,n);break;case 2:e[n]+=Ih(r);break;case 4:if(44===r){e[++n]=58===fh()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=_p(r)}}while(r=mh());return e}(yh(e),t))},Oh=new WeakMap,Xh=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)||Oh.get(n))&&!r){Oh.set(e,!0);for(var i=[],o=Wh(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Fh=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Hh(e,t){switch(function(e,t){return 45^eh(e,0)?(((t<<2^eh(e,0))<<2^eh(e,1))<<2^eh(e,2))<<2^eh(e,3):0}(e,t)){case 5103:return zp+"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 zp+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return zp+e+Hp+e+Fp+e+e;case 6828:case 4268:return zp+e+Fp+e+e;case 6165:return zp+e+Fp+"flex-"+e+e;case 5187:return zp+e+Kp(e,/(\w+).+(:[^]+)/,zp+"box-$1$2"+Fp+"flex-$1$2")+e;case 5443:return zp+e+Fp+"flex-item-"+Kp(e,/flex-|-self/,"")+e;case 4675:return zp+e+Fp+"flex-line-pack"+Kp(e,/align-content|flex-|-self/,"")+e;case 5548:return zp+e+Fp+Kp(e,"shrink","negative")+e;case 5292:return zp+e+Fp+Kp(e,"basis","preferred-size")+e;case 6060:return zp+"box-"+Kp(e,"-grow","")+zp+e+Fp+Kp(e,"grow","positive")+e;case 4554:return zp+Kp(e,/([^-])(transform)/g,"$1"+zp+"$2")+e;case 6187:return Kp(Kp(Kp(e,/(zoom-|grab)/,zp+"$1"),/(image-set)/,zp+"$1"),e,"")+e;case 5495:case 3959:return Kp(e,/(image-set\([^]*)/,zp+"$1$`$1");case 4968:return Kp(Kp(e,/(.+:)(flex-)?(.*)/,zp+"box-pack:$3"+Fp+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+zp+e+e;case 4095:case 3583:case 4068:case 2532:return Kp(e,/(.+)-inline(.+)/,zp+"$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(nh(e)-1-t>6)switch(eh(e,t+1)){case 109:if(45!==eh(e,t+4))break;case 102:return Kp(e,/(.+:)(.+)-([^]+)/,"$1"+zp+"$2-$3$1"+Hp+(108==eh(e,t+3)?"$3":"$2-$3"))+e;case 115:return~qp(e,"stretch")?Hh(Kp(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==eh(e,t+1))break;case 6444:switch(eh(e,nh(e)-3-(~qp(e,"!important")&&10))){case 107:return Kp(e,":",":"+zp)+e;case 101:return Kp(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+zp+(45===eh(e,14)?"inline-":"")+"box$3$1"+zp+"$2$3$1"+Fp+"$2box$3")+e}break;case 5936:switch(eh(e,t+11)){case 114:return zp+e+Fp+Kp(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return zp+e+Fp+Kp(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return zp+e+Fp+Kp(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return zp+e+Fp+e+e}return e}var zh,jh,Zh,Yh=Mh?void 0:(zh=function(){return Lh(function(){return{}})},jh=new WeakMap,function(e){if(jh.has(e))return jh.get(e);var t=zh(e);return jh.set(e,t),t}),Jh=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Yp:e.return=Hh(e.value,e.length);break;case Jp:return Sh([ph(e,{value:Kp(e.value,"@","@"+zp)})],r);case Zp: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 Sh([ph(e,{props:[Kp(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Sh([ph(e,{props:[Kp(t,/:(plac\w+)/,":"+zp+"input-$1")]}),ph(e,{props:[Kp(t,/:(plac\w+)/,":-moz-$1")]}),ph(e,{props:[Kp(t,/:(plac\w+)/,Fp+"input-$1")]})],r)}return""})}}],Uh=function(e){var t=e.key;if(Mh&&"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||Jh,a={},s=[];Mh&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Xh,Fh];if(Yh){var u=[Rh],d=Vh(c.concat(o,u)),p=Yh(o)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Sh(kh(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=[Rh,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Vh(c.concat(o,f));i=function(e,t,n,r){m=n,Sh(kh(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Xp({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},_h={exports:{}},$h={};var Qh,Kh,qh,em,tm={};
5
+ function wt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var Ct=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=wt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",wt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,wt({},this.attributes,t))},withConverter:function(t){return e(wt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const At=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const Nt=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,Et=e=>{if(!e)return null;if(Nt(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return Nt(t)?t:null}return null};function St(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tt,kt={},Bt={},Pt={};function Lt(){return Tt||(Tt=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}({})}(Pt)),Pt}var Rt,Gt={};function Ot(){return Rt||(Rt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(Gt)),Gt}var Dt,Mt={};function Vt(){return Dt||(Dt=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}({})}(Mt)),Mt}var jt,Wt={};function Ht(){return jt||(jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return 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=Lt(),n=Ot(),r=Vt();function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,s,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],h=(o(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.LIST_ITEM,c),o(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),o(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),o(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),o(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),o(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),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)}(s=p)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(Wt)),Wt}var Xt,Ft={};var zt,Zt={};var Yt,_t={};var Jt,Ut={};function $t(){return Jt||(Jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return s},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return h}});var t=Lt(),n=Ot();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o(e,t){var n=!0,r=!1,i=void 0;try{for(var o,a=Object.keys(e)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){if(t===e[o.value])return!0}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return!1}function a(e){return o(n.INLINES,e.nodeType)}function s(e){return o(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function 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}}(Ut)),Ut}var Kt,Qt,qt={},en={};function tn(){return Qt?Kt:(Qt=1,Kt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var nn,rn,on={};function an(){return nn||(nn=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return a},get maxSizeError(){return o},get minSizeError(){return i},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return s}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},i=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},o=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},a=function(e){var t=e.expected,r=e.value,i=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:i.toArray(),value:r}},s=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(on)),on}function sn(){return rn||(rn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(tn()),n=an();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(){function e(r,i){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"obj",void 0),o(this,"path",void 0),o(this,"_errors",void 0),o(this,"catch",void 0),o(this,"exists",void 0),o(this,"object",void 0),o(this,"string",void 0),o(this,"number",void 0),o(this,"array",void 0),o(this,"enum",void 0),o(this,"empty",void 0),o(this,"minLength",void 0),o(this,"noAdditionalProperties",void 0),o(this,"each",void 0),this.obj=r,this.path=i,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,s(t))},this.exists=function(e){return e in a.obj||(a.catch((0,n.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var r=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(r))return!0;var i,o=e?a.path.of(e):a.path,s=null!==(i=null!=e?e:a.path.last())&&void 0!==i?i:"value";return a.catch((0,n.typeMismatchError)({typeName:"Object",property:s,path:o,value:r})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var r=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(a.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:r})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=a.obj[e];return!("string"!=typeof r||!t.includes(r))||(a.catch((0,n.enumError)({expected:t,value:r,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,n.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var r=a.obj[e];return r.length>=t||(a.catch((0,n.minSizeError)({min:t,value:r,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,n.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var n=a.obj[e],r=!1;n.forEach(function(n,i){if(!r){var o=t(n,a.path.of(e).of(i));o.length>0&&(r=!0),a.catch.apply(a,s(o))}})}}}return i(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(en)),en}var ln,cn={};function un(){return ln||(ln=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return f},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return p},get assert(){return b},get assertLink(){return v}});var t=sn();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,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 a(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function 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),s(this,"contentRule",void 0),s(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return a(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var i=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),o=i.nodeTypes,a=i.min,s=void 0===a?0:a;if(0===o.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(r.minLength("content",s),0===o.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var l,c,u,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,a){var l;return o(this,n),l=i(this,n,[a,function(e,t){return r(l).assertLink(e,t)}]),s(l,"linkType",void 0),s(l,"type",void 0),s(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var i,o=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));o.object()&&(o.enum("type",[l.type]),o.enum("linkType",[l.linkType]),"Link"===l.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=r).catch.apply(i,d(o.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(m),g=function(e){function n(){var e;return o(this,n),e=i(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),s(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(m),b=function(e,t){return new m(e,t)},v=function(e,t){return new f(e,t)}}(cn)),cn}var dn,hn={};function pn(){return dn||(dn=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(hn)),hn}var mn,fn,gn,bn,vn={};function yn(){return fn||(fn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=Lt(),n=Ot(),r=Ht(),i=sn(),o=un(),a=pn(),s=(mn||(mn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=sn();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(vn)),vn);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d,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,s.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new i.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var v=function(e){var n=new a.Path,r=new i.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(qt)),qt}function xn(){return gn||(gn=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return i.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return o},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=Lt(),n=Ot(),r=Vt();s(Ht(),e),s((Xt||(Xt=1,Object.defineProperty(Ft,"__esModule",{value:!0})),Ft),e),s((zt||(zt=1,Object.defineProperty(Zt,"__esModule",{value:!0})),Zt),e);var i=(Yt||(Yt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=Lt(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(_t)),_t),o=c($t()),a=yn();function s(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}}(Bt)),Bt}var In=function(){if(bn)return kt;bn=1;var e=i,t=xn();function n(t,n){return t.map((t,i)=>{return o=r(t,n),a=i,e.isValidElement(o)&&null===o.key?e.cloneElement(o,{key:a}):o;var o,a})}function r(r,i){const{renderNode:o,renderMark:a,renderText:s,preserveWhitespace:l}=i;if(t.helpers.isText(r)){let t=s?s(r.value):r.value;if(l&&!s){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,i)=>{r.push(t),i!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,t)}{const t=n(r.content,i);return r.nodeType&&o[r.nodeType]?o[r.nodeType](r,t):e.createElement(e.Fragment,null,t)}}const o={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[t.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[t.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[t.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[t.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[t.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[t.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[t.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[t.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[t.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[t.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[t.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[t.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[t.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[t.INLINES.ASSET_HYPERLINK]:e=>s(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>s(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>l(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>s(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>l(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},a={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function l(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}return kt.documentToReactComponents=function(e,n={}){if(!e)return null;let i=e;return n.stripEmptyTrailingParagraph&&(i=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(i,{renderNode:{...o,...n.renderNode},renderMark:{...a,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})},kt}(),wn=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),Cn=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),An=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function Nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function En(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sn,Tn=[wn.PARAGRAPH,wn.HEADING_1,wn.HEADING_2,wn.HEADING_3,wn.HEADING_4,wn.HEADING_5,wn.HEADING_6,wn.OL_LIST,wn.UL_LIST,wn.HR,wn.QUOTE,wn.EMBEDDED_ENTRY,wn.EMBEDDED_ASSET,wn.EMBEDDED_RESOURCE,wn.TABLE],kn=[wn.PARAGRAPH,wn.HEADING_1,wn.HEADING_2,wn.HEADING_3,wn.HEADING_4,wn.HEADING_5,wn.HEADING_6,wn.OL_LIST,wn.UL_LIST,wn.HR,wn.QUOTE,wn.EMBEDDED_ENTRY,wn.EMBEDDED_ASSET,wn.EMBEDDED_RESOURCE];wn.TABLE,wn.TABLE_ROW,wn.TABLE_CELL,wn.TABLE_HEADER_CELL,wn.HR,wn.EMBEDDED_ENTRY,wn.EMBEDDED_ASSET,wn.EMBEDDED_RESOURCE;var Bn,Pn=(En(Sn={},wn.OL_LIST,[wn.LIST_ITEM]),En(Sn,wn.UL_LIST,[wn.LIST_ITEM]),En(Sn,wn.LIST_ITEM,kn),En(Sn,wn.QUOTE,[wn.PARAGRAPH]),En(Sn,wn.TABLE,[wn.TABLE_ROW]),En(Sn,wn.TABLE_ROW,[wn.TABLE_CELL,wn.TABLE_HEADER_CELL]),En(Sn,wn.TABLE_CELL,[wn.PARAGRAPH,wn.UL_LIST,wn.OL_LIST]),En(Sn,wn.TABLE_HEADER_CELL,[wn.PARAGRAPH]),Sn),Ln=[wn.HEADING_1,wn.HEADING_2,wn.HEADING_3,wn.HEADING_4,wn.HEADING_5,wn.HEADING_6];[wn.PARAGRAPH].concat(function(e){if(Array.isArray(e))return Nn(e)}(Bn=Ln)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(Bn)||function(e,t){if(e){if("string"==typeof e)return Nn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nn(e,t):void 0}}(Bn)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),wn.DOCUMENT,wn.PARAGRAPH,wn.HEADING_1,wn.HEADING_2,wn.HEADING_3,wn.HEADING_4,wn.HEADING_5,wn.HEADING_6,wn.OL_LIST,wn.UL_LIST,wn.LIST_ITEM,wn.HR,wn.QUOTE,wn.EMBEDDED_ENTRY,wn.EMBEDDED_ASSET,Cn.HYPERLINK,Cn.ENTRY_HYPERLINK,Cn.ASSET_HYPERLINK,Cn.EMBEDDED_ENTRY,wn.DOCUMENT,wn.PARAGRAPH;var Rn=St(tn());function Gn(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 On(e){return function(e){if(Array.isArray(e))return Gn(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 Gn(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 Gn(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 Dn=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 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 Vn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(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 Hn=function(){function e(t,n){var r=this,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),jn(this,"obj",void 0),jn(this,"path",void 0),jn(this,"_errors",void 0),jn(this,"catch",void 0),jn(this,"exists",void 0),jn(this,"object",void 0),jn(this,"string",void 0),jn(this,"number",void 0),jn(this,"array",void 0),jn(this,"enum",void 0),jn(this,"empty",void 0),jn(this,"minLength",void 0),jn(this,"noAdditionalProperties",void 0),jn(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=i._errors).push.apply(r,Wn(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(Rn(t))return!0;var n,i=e?r.path.of(e):r.path,o=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(Dn({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(Dn({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(Dn({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(Dn({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:On(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],i=!1;n.forEach(function(n,o){if(!i){var a=t(n,r.path.of(e).of(o));a.length>0&&(i=!0),r.catch.apply(r,Wn(a))}})}}}return 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 Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zn(e,t,n){return t=Jn(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return Fn(e)}(e,Qn()?Reflect.construct(t,n||[],Jn(e).constructor):t.apply(e,n))}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(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 _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 Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jn(e)}function Un(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}function $n(e,t){return $n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$n(e,t)}function Kn(e){return function(e){if(Array.isArray(e))return Xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qn=function(){return!!e})()}var qn=[],er=function(){function e(t,n){Zn(this,e),_n(this,"contentRule",void 0),_n(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return Yn(e,[{key:"assert",value:function(e,t){var n=new Hn(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=r.nodeTypes,o=r.min,a=void 0===o?0:o;if(0===i.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(n.minLength("content",a),0===i.length?n.empty("content"):n.each("content",function(e,t){var n=new Hn(e,t);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var s,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(s=n).catch.apply(s,Kn(u))}return n.errors}}]),e}(),tr=function(e){function t(e,n){var r;return Zn(this,t),r=zn(this,t,[n,function(e,t){return Fn(r).assertLink(e,t)}]),_n(r,"linkType",void 0),_n(r,"type",void 0),_n(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new Hn(e,t);if(n.object("target")){var i,o=new Hn(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[r.type]),o.enum("linkType",[r.linkType]),"Link"===r.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=n).catch.apply(i,Kn(o.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Un(t,e),t}(er),nr=function(e){function t(){var e;return Zn(this,t),e=zn(this,t,[["text"],function(t,n){return Fn(e).assertLink(t,n)}]),_n(e,"assertLink",function(e,t){var n=new Hn(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Un(t,e),t}(er),rr=function(e,t){return new er(e,t)},ir=function(e,t){return new tr(e,t)};function or(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sr(e){return function(e){if(Array.isArray(e))return or(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return or(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var lr,cr=rr(sr(Object.values(Cn)).concat(["text"]).sort()),ur=rr([wn.LIST_ITEM]),dr=ir("Entry",qn),hr=rr(function(){return{nodeTypes:[wn.PARAGRAPH],min:1}},function(e,t){var n=new Hn(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});ar(lr={},wn.DOCUMENT,rr(Tn)),ar(lr,wn.PARAGRAPH,cr),ar(lr,wn.HEADING_1,cr),ar(lr,wn.HEADING_2,cr),ar(lr,wn.HEADING_3,cr),ar(lr,wn.HEADING_4,cr),ar(lr,wn.HEADING_5,cr),ar(lr,wn.HEADING_6,cr),ar(lr,wn.QUOTE,rr(Pn[wn.QUOTE])),ar(lr,wn.EMBEDDED_ENTRY,dr),ar(lr,wn.EMBEDDED_ASSET,ir("Asset",qn)),ar(lr,wn.EMBEDDED_RESOURCE,ir("Contentful:Entry",qn)),ar(lr,wn.HR,rr(qn)),ar(lr,wn.OL_LIST,ur),ar(lr,wn.UL_LIST,ur),ar(lr,wn.LIST_ITEM,rr(sr(kn).sort())),ar(lr,wn.TABLE,rr(function(){return{nodeTypes:[wn.TABLE_ROW],min:1}})),ar(lr,wn.TABLE_ROW,rr(function(){return{nodeTypes:[wn.TABLE_CELL,wn.TABLE_HEADER_CELL],min:1}})),ar(lr,wn.TABLE_CELL,hr),ar(lr,wn.TABLE_HEADER_CELL,hr),ar(lr,Cn.HYPERLINK,new nr),ar(lr,Cn.EMBEDDED_ENTRY,dr),ar(lr,Cn.EMBEDDED_RESOURCE,ir("Contentful:Entry",qn)),ar(lr,Cn.ENTRY_HYPERLINK,ir("Entry",["text"])),ar(lr,Cn.ASSET_HYPERLINK,ir("Asset",["text"])),ar(lr,Cn.RESOURCE_HYPERLINK,ir("Contentful:Entry",["text"]));const pr={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},mr=o(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ze("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:i,...o,children:t})});mr.displayName="ListItem";const fr=o(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ze(u,`list--${t}`,`list--${a}`,r),h=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(mr,{className:t.className,variant:a,children:t.content},t.id||n)):null),p={className:d,style:s,...l,children:h};return e("ol"===t?"ol":"ul",{...p,ref:c})});fr.displayName="List";const gr=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const h={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:h,className:Ze("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};gr.displayName="MaterialIcon";const br=o(({children:e,as:t,className:n="",style:r,...o},a)=>{const s=t||"p";return i.createElement(s,{ref:a,className:n,style:r,...o},e)});br.displayName="Text";const vr=n=>{const{items:r,listIconName:i="check",listItemClassName:o,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==i;return(null==r?void 0:r.length)?e(fr,{className:Ze("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:r.map((n,r)=>t(mr,{variant:d?"unstyled":"default",className:Ze(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[d&&e("div",{className:"flex leading-none",children:e(gr,{name:i,size:s,color:pr[c],weight:"600",className:Ze("block","top"===l?"mt-1":"",u)})}),e(br,{as:"div",children:n})]},r))}):null};var yr;vr.displayName="Checklist";const xr="function"==typeof A?A:null!==(yr=A.default)&&void 0!==yr?yr:A,Ir=o(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),h=e=>{l?e.preventDefault():null==i||i(e)},p=Ze(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:p,style:a,href:l?void 0:n,onClick:h,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...m,children:t}):e(xr,{href:n||"#",className:p,onClick:h,...c,children:t})});Ir.displayName="Link";const wr={renderMark:{[An.BOLD]:t=>e("strong",{className:"label3",children:t}),[An.ITALIC]:t=>e("em",{children:t}),[An.UNDERLINE]:t=>e("u",{children:t}),[An.CODE]:t=>e("code",{children:t})},renderNode:{[wn.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[wn.HEADING_1]:(t,n)=>e(br,{as:"h1",className:"heading2 md:heading1",children:n}),[wn.HEADING_2]:(t,n)=>e(br,{as:"h2",className:"heading6 md:heading5",children:n}),[wn.HEADING_3]:(t,n)=>e(br,{as:"h3",className:"heading6 md:heading5",children:n}),[wn.HEADING_4]:(t,n)=>e(br,{as:"h3",className:"headingClass",children:n}),[wn.HEADING_5]:(t,n)=>e(br,{as:"h3",className:"heading6 md:heading5",children:n}),[wn.HEADING_6]:(t,n)=>e(br,{as:"h3",className:"heading6",children:n}),[wn.QUOTE]:(t,n)=>e("blockquote",{children:n}),[wn.UL_LIST]:(t,n)=>e("ul",{children:n}),[wn.OL_LIST]:(t,n)=>e("ol",{children:n}),[wn.LIST_ITEM]:(t,n)=>e("li",{children:n}),[Cn.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=/^https?:\/\//.test(i);return e("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,children:n})},[wn.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,a=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.url),s=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[wn.EMBEDDED_ENTRY]:n=>{var r,i,o,a;const s=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"callout"===(null===(a=null===(o=null===(i=null==s?void 0:s.sys)||void 0===i?void 0:i.contentType)||void 0===o?void 0:o.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[Cn.EMBEDDED_ENTRY]:n=>{var r,i,o,a,s,l;const c=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"componentCheckList"===(null===(a=null===(o=null===(i=null==c?void 0:c.sys)||void 0===i?void 0:i.contentType)||void 0===o?void 0:o.sys)||void 0===a?void 0:a.id)?t("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",c.fields.title]}):e("span",{children:null!==(l=null===(s=null==c?void 0:c.fields)||void 0===s?void 0:s.title)&&void 0!==l?l:""})}}};function Cr(t,n,r="body1",i="body1 font-bold",o){if(!t||!Array.isArray(t.content))return null;const a={...wr,...o,renderNode:{...wr.renderNode,...null==o?void 0:o.renderNode,[wn.PARAGRAPH]:(t,n)=>e("div",{className:r,children:n}),[Cn.HYPERLINK]:(t,r)=>{var o;const a=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(Ir,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:i,children:r})}}};return In.documentToReactComponents(t,a)}function Ar(e,t){return a(()=>{if(!e||!Array.isArray(e.content))return null;const n={...wr,renderMark:{...wr.renderMark,...null==t?void 0:t.renderMark},renderNode:{...wr.renderNode,...null==t?void 0:t.renderNode}};return In.documentToReactComponents(e,n)},[e,t])}function Nr(r,i){if(!r||!Array.isArray(r.content))return null;const o={...wr,renderMark:{...wr.renderMark,[An.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...wr.renderNode,[wn.PARAGRAPH]:(t,r)=>e(n,{children:r}),[wn.TABLE]:(t,n)=>{var r,i;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[wn.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[wn.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[wn.TABLE_CELL]:(r,i)=>{var o,a,s,l;const c=(null===(o=r.parent)||void 0===o?void 0:o.content.length)>2,u=null===(l=null===(s=null===(a=r.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote break-words bg-white py-2 md:py-4 text-center align-top leading-5 text-text md:body2 first:text-left md:leading-7 ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(gr,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(gr,{name:"cancel",color:"#CECECE",fill:1}):i]})})},[Cn.EMBEDDED_ENTRY]:t=>{var n,r,o,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==i?void 0:i.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map(e=>{var t;return Cr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(vr,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return In.documentToReactComponents(r,o)}const Er={renderMark:{[An.BOLD]:e=>s("span",{className:"label1"},e)}};function Sr(e,t,n,r){return a(()=>{var i,o;const a=null!==(o=null===(i=null==e?void 0:e.list)||void 0===i?void 0:i.items)&&void 0!==o?o:[];return t?a.map(e=>{var t,i;return null!==(i=Cr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:""}):a.map(e=>{var t,i,o,a,s;return{title:null!==(i=Cr(Et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:"",iconUrl:null!==(a=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,r])}const Tr=o(({children:t,className:n="",style:r,disabled:i,...o},a)=>e("button",{ref:a,className:Ze(n),style:r,disabled:i,...o,children:t}));Tr.displayName="Button";const kr=t=>{const{open:n,children:r}=t,i=l(null),[o,a]=c(0);return u(()=>{const e=i.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:r})})};kr.displayName="Collapse";const Br=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:a,titleClassName:s,className:l,buttonClassName:d,iconClassName:h,openOnlyOnDesktop:p,borderRadiusNone:m=!1}=n,[f,g]=c(Boolean(!1));return u(()=>{if(p){const e=window.innerWidth>=1024;g(e)}else g(Boolean(i))},[p,i]),t("div",{className:Ze(m?"rounded-none border":"rounded-surface-xs border",a),children:[t(Tr,{type:"button",className:Ze(m?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>g(e=>!e),children:[e("span",{className:Ze("label5 flex-1",s),children:r}),e(gr,{className:Ze("flex-shrink-0",h),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(kr,{open:f,children:e("div",{className:Ze("px-4 py-4",l),children:o})})]})};Br.displayName="Accordion";const Pr=t=>{const{className:n,...r}=t;return e("div",{className:Ze("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};Pr.displayName="Divider";const Lr=({items:n,title:r,anchorId:i,background:o="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:d=!1,descriptionMaxWidth:h="max-w-[980px]",itemContainerClassName:p})=>{const[m,f]=c(l);u(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:i,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(br,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=p?p:""}`,children:null==n?void 0:n.map((r,i)=>{const o=r.anchorId||`item-${i}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(Br,{title:r.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:h,children:e(br,{as:"div",children:r.description})})}),i<n.length-1&&e(Pr,{className:"my-6 md:my-10"},`divider-${i}`)]},o)})})]})})},Rr=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()},Gr=o(({variant:r="primary_brand",isLoading:i=!1,text:o,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...h},p)=>{const m=(()=>{const e=Ze((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button 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",l?"w-full":"w-auto"),t=Ze((s||i)&&"cursor-not-allowed",i&&"pl-7");return Ze(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus: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"}[r]||"",t,c)})();let f=`button--${r}`;i&&(f+=" button--loading"),s&&(f+=" button--disabled");const g=`${f} ${m}`,b=t(n,{children:[i?e(gr,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ze(Rr(u)),children:a}),o]}):o]});return"a"===d?e("a",{ref:p,className:Ze(g),...h,children:b}):e("button",{ref:p,className:Ze(g),disabled:s||i,...h,children:b})});Gr.displayName="BrandButton";const Or=n=>{const{showButtonAs:r="solid",buttonVariant:i="primary_brand",buttonLabel:o,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:h,preDefinedFunctionExecution:p,renderCheckPlans:m,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:w,iconSize:C=24,preserveQueryParameters:A,...N}=n;if("check availability"===p){return null==m?void 0:m({ctaText:o,buttonVariant:i,showButtonAs:r,cta:{...n}})}function E(){"modal"===g&&(null==v||v(b))}function S(e){E(),null==y||y(e)}function T(e){E(),null==y||y(e)}const k="undefined"!=typeof window?window.location.search:"",B=s&&A&&k?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(At),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(s,k):s;let P=e(Tr,{onClick:T,className:f,...N});switch(r){case"solid":P=e(Gr,B?{as:"a",href:B,id:c,variant:i,text:o,label:a,fullWidth:h,buttonClassName:f,size:w,onClick:S}:{id:c,variant:i,text:o,label:a,fullWidth:h,size:w,onClick:T,buttonClassName:f});break;case"text":P=t(Ir,{title:o,href:B,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:S,children:[o," ",x&&e(gr,{name:x,size:C,fill:I})]})}return P};var Dr;const Mr=null!==(Dr=C.default)&&void 0!==Dr?Dr:C,Vr=({href:r,title:i,description:o,date:a,category:s,image:l,imageComponent:c,readMoreText:u="Read more",asGrid:d=!0,lgWidth:h,mdWidth:p,index:m})=>t("article",{className:d?"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)] ${h} ${p} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`,"data-section-type":"blog-card","data-section-index":m,children:[e(Mr,{href:r,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?c?e(c,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("img",{src:l.src,alt:l.alt,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),i&&e(Mr,{href:r,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:i}),o&&e(br,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o}),t(Mr,{href:r,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${u} about ${i||"this article"}`,children:[e(br,{"aria-label":`${u} about ${i||"this article"}`,className:"label1 text-nowrap",children:u}),e(gr,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),jr=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(N),Wr=({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()},Hr=o(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:Wr,unoptimized:!1}:{unoptimized:s};return e(jr,{ref:r,className:Ze(t),...n,...l})});Hr.displayName="NextImage";const Xr={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Fr=({card:n,lgWidth:r,mdWidth:i})=>{var o,a,s,l;const{image:c,title:u,header:d,body:h,cta:p,ctaAlignment:m,imageLink:f,imageClassName:g,className:b,isPromoBarImg:v=!1,shadow:y=!1}=n,x=m?Xr[m]:Xr.left,I=f?"cursor-pointer":"",w=f?()=>{"undefined"!=typeof window&&window.open(f,"_blank")}:void 0;return v?(null==c?void 0:c.href)?e(Hr,{src:c.href,alt:null!==(a=null!==(o=c.title)&&void 0!==o?o:u)&&void 0!==a?a:"promo-bar-image",width:148,height:40,onClick:w,className:I}):null:t("section",{"aria-labelledby":"Image Card",className:Ze("callout-card relative flex h-full w-full flex-col gap-4 p-0 md:items-start lg:gap-6",y&&"rounded-3xl shadow-card",i,r,b),children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",g),children:e(Hr,{src:c.href,alt:null!==(l=null!==(s=c.title)&&void 0!==s?s:u)&&void 0!==l?l:"card-image",width:c.width||400,height:c.height||285,onClick:w,className:Ze("h-full max-h-[285px] w-full object-cover",I)})}):null,d?e(br,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:d}):null,h?e(br,{as:"div",className:"body2 mb-0 flex-1 text-text",children:h}):null,e("div",{className:Ze(x,"mt-auto"),children:p?e(Or,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...p,iconName:"expand_circle_right",iconFill:1}):null})]})},zr=({card:n,lgWidth:r,mdWidth:i})=>{const{anchorId:o="FullImageCard",title:a,description:s,caption:l,image:c,cta:u,link:d,className:h,contentClassName:p,imageClassName:m,shadow:f=!0}=n,g=u||d,b=null==g?void 0:g.href,v=a?e(br,{as:"h3",className:"body1 text-text xl:heading6",children:a}):null;return t("section",{id:o,className:Ze("callout-card relative flex flex-col rounded-3xl bg-white p-0",f&&"shadow-card",i,r,"w-full",h),"aria-labelledby":`card-title-${o}`,children:[(null==c?void 0:c.href)?e("div",{className:Ze("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",m),children:(()=>{var t,n;if(!(null==c?void 0:c.href))return null;const r=e(Hr,{src:c.href,alt:null!==(n=null!==(t=c.title)&&void 0!==t?t:a)&&void 0!==n?n:"card-image",width:c.width||400,height:c.height||280,className:"w-full"});return b?e(Ir,{href:b,tabIndex:-1,target:null==g?void 0:g.target,children:r}):r})()}):null,t("div",{className:Ze("flex h-full flex-col gap-4 p-6 md:p-8",p),children:[t("div",{className:"flex flex-1 flex-col justify-between",children:[t("div",{children:[b&&v?e(Ir,{href:b,target:null==g?void 0:g.target,className:"no-underline hover:underline",children:v}):v,s?e(br,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),l?e(br,{as:"p",className:"footnote mt-5 text-text-secondary",children:l}):null]}),u?e("div",{className:"mt-2 flex items-end",children:e(Or,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...u,iconName:"expand_circle_right",iconFill:1})}):null]})]})},Zr={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Yr={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},_r={left:"justify-start",right:"justify-end",center:"justify-center"},Jr=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Ur=({card:n,lgWidth:r,mdWidth:i,className:o,contentClassName:a,style:s})=>{var l,c,u,d,h,p,m,f,g,b,v,y,x,I,w,C,A;const N=null===(l=n.imageView)||void 0===l?void 0:l.toLowerCase(),E="full"===N,S="margin"===N,T="standard"===N,k="icon"===N||"inset"===N||!N&&!!n.image,B=T||k,P=(null===(c=n.iconAlignment)||void 0===c?void 0:c.toLowerCase())||(null===(u=n.imageAlignment)||void 0===u?void 0:u.toLowerCase())||"left",L=n.ctaAlignment&&Yr[n.ctaAlignment]||Yr.left,R=n.ctaAlignmentBottom&&_r[n.ctaAlignmentBottom]||_r.left,G=null===(d=n.pinwheelColor)||void 0===d?void 0:d.split("-")[1],O=B&&n.applyCardBackgroundColor,D={...s,...O&&n.backgroundColor?{"--scc-bg":n.backgroundColor}:{},...O&&n.textColor?{"--scc-fg":n.textColor}:{},...O&&n.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...O&&n.showBackgroundImage&&G?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ye(G))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},M=t=>{var r,i;return n.image?e("div",{className:Ze("relative aspect-video overflow-hidden",t?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e(Hr,{src:n.image,alt:null!==(i=null!==(r=n.imageAlt)&&void 0!==r?r:n.title)&&void 0!==i?i:"card-image",width:n.imageWidth||400,height:n.imageHeight||280,className:Ze("w-full",!t&&"rounded-t-3xl")})}):null},V=O&&n.textColor?{color:n.textColor}:void 0,j=n.title?e(br,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:V,children:n.title}):null,W=(null===(h=n.cta)||void 0===h?void 0:h.href)&&j?e(Ir,{href:n.cta.href,target:n.cta.target,className:"no-underline hover:underline",style:V,children:j}):j,H=(null!==(m=null===(p=n.workingHours)||void 0===p?void 0:p.length)&&void 0!==m?m:0)>0||(null!==(g=null===(f=n.phoneNumber)||void 0===f?void 0:f.length)&&void 0!==g?g:0)>0;return t("section",{className:Ze("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",n.shadow&&"shadow-card",n.image&&!E&&!n.showBackgroundImage&&"pt-1",!n.applyCardBackgroundColor&&(null!==(v=Zr[null!==(b=n.backgroundColor)&&void 0!==b?b:""])&&void 0!==v?v:""),i,r,o),style:D,"aria-labelledby":n.title?`callout-${n.title}`:void 0,children:[(null===(y=n.ctaBottom)||void 0===y?void 0:y.title)&&(null===(x=n.ctaBottom)||void 0===x?void 0:x.href)?e("div",{className:Ze("top-link m-6 flex items-center lg:m-8",R),children:t(Ir,{href:n.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e(gr,{name:"location_on",fill:1,size:24}),e("span",{children:n.ctaBottom.title})]})}):null,n.image&&E?M(!1):null,n.image&&S?M(!0):null,t("div",{className:Ze("relative flex flex-1 flex-col justify-between px-6 pb-8 pt-7 lg:px-8 lg:py-8",a),children:[e("div",{className:"flex flex-1 flex-col justify-between",children:t("div",{className:Ze("flex flex-col",n.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e("div",{className:Ze(n.imageToRichTextAlignment&&"flex-shrink-0"),children:!n.image||E||S?null:(()=>{var t,r;if(!n.image)return null;const i=T&&n.imageWidth||60,o=T&&n.imageHeight||60;return e("div",{className:Ze("relative mb-8 flex",n.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:P},children:e(Hr,{src:n.image,alt:null!==(r=null!==(t=n.imageAlt)&&void 0!==t?t:n.title)&&void 0!==r?r:"card-icon",width:i,height:o,className:Ze("object-contain",n.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),t("div",{className:"flex flex-col gap-3 md:gap-4",children:[W,n.titleLocation?e("div",{className:"mb-1 lg:mb-2",children:e(br,{as:"h4",className:"label1 font-bold text-text",children:n.titleLocation})}):null,H?e("div",{className:"mb-2",children:e("table",{children:t("tbody",{children:[null===(I=n.workingHours)||void 0===I?void 0:I.map((n,r)=>{const[i,o]=(null!=n?n:"").split("|");return t("tr",{children:[e("td",{className:"py-2 pr-3",children:e(br,{className:"label2 text-text",children:i})}),e("td",{className:"py-2 pl-3",children:e(br,{className:"body2 font-bold text-text",children:o})})]},`wh-${r}`)}),null===(w=n.phoneNumber)||void 0===w?void 0:w.map((n,r)=>t("tr",{children:[e("td",{className:"py-1 pr-3 align-middle",children:e(gr,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e("td",{className:"py-1 pl-3",children:e(Ir,{href:Jr(n),className:"text-inherit no-underline",children:e(br,{className:"body2 font-bold text-text",children:n})})})]},`ph-${r}`))]})})}):null,n.body?e(br,{as:"div",className:"body1 text-text",style:V,children:n.body}):null,n.richText?e(br,{as:"div",className:"body1 text-text",style:V,children:n.richText}):null]})]})}),n.cta?e("div",{className:Ze("mt-2",L),children:e(Or,{linkVariant:"unstyled",linkClassName:Ze("label1 flex items-center gap-2 text-text",O&&n.textColor&&"decoration-current"),...n.cta,iconName:null!==(C=n.cta.iconName)&&void 0!==C?C:"expand_circle_right",iconFill:null!==(A=n.cta.iconFill)&&void 0!==A?A:1})}):null]})]})},$r={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]"},Kr={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},Qr={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)]"},qr=e=>Math.max(1,Math.min(6,e)),ei=({anchorId:n,title:r,items:i,enableHeading:o=!1,subtitle:a,description:s,finePrint:l,cta:c,color:u="dark",maxWidth:d=!0,maxCardsPerRow:h,cardType:p="simple",backgroundColor:m,background:f,textColor:g,containerClassName:b,innerClassName:v,applyBoxShadow:y=!1,cardStackingMobile:x=!0,cardsWidth:I=!0,noGutter:w=!1})=>{var C,A,N;const E=null!==(C=null==i?void 0:i.length)&&void 0!==C?C:0,S=qr(null!=h?h:(T=E)<=4?T||1:T%3==0?3:T%4==0||T>6?4:3);var T;const k=qr(Math.min(S,E||S)),B=!1===I,P=B?Ze("flex flex-col items-stretch self-stretch",w?"gap-0":"gap-6"):Ze("flex flex-wrap items-stretch justify-center self-stretch",w?"gap-0":"gap-6",w?"md:gap-0":"md:gap-6"),L=B?"":Ze("w-full",Kr[qr(x?1:Math.min(2,S))],Qr[k]),R=(t,n)=>{var r,i,o,a;const s=null!==(r=t.cardType)&&void 0!==r?r:p,l=B?{lgWidth:void 0,mdWidth:void 0}:{};switch(s){case"blog":{const r=t;return e(Vr,{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(zr,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:y},...l},n);case"floatingImage":return e(Fr,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:y},...l},n);default:return e(Ur,{card:{...t,shadow:null!==(a=t.shadow)&&void 0!==a?a:y},...l},n)}},G=f?{background:f}:void 0,O=g?{color:g}:void 0,D=f?"":m&&null!==(A=$r[m])&&void 0!==A?A:"";return e("section",{id:n,className:Ze("component-container",D,b),style:G,children:e("div",{className:Ze(w?"p-0":"mx-5 my-12 md:my-20",d&&"max-w-120 xl:mx-auto","dark"===u?"text-text":"text-white",v),children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",style:O,children:[r&&e(br,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:r}),a&&e(br,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:a}),s&&e(br,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e("div",{className:Ze("card-holder",P),children:i.map((t,n)=>B?R(t,n):e("div",{className:Ze("callout-card",L),children:R(t,n)},`callout-card-${n}`))}),(c||l)&&t("div",{className:"flex flex-col items-center gap-4",children:[c?e(Or,{linkClassName:"label1",buttonClassName:"label1",...c,children:null!==(N=c.label)&&void 0!==N?N:c.buttonLabel}):null,l?e(br,{as:"div",className:"footnote text-center text-text",children:l}):null]})]})})})},ti=({fields:t})=>e("div",{children:e(br,{children:"Cards"})}),ni=o(({as:t,className:n="",...r},i)=>{const o=Ze(n);if(t){return e(t,{ref:i,className:o,...r})}return e("img",{ref:i,className:o,...r})});ni.displayName="Image";const ri=({onSelect:r,speed:i,isSelected:o=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:h})=>{const[p,m]=c(!1),f=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${o?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:p,setModalOpen:()=>{m(!1)},speed:i,techType:d,isMax:h},cta:u});return t(n,{children:[t(Tr,{onClick:()=>{m(!0),r()},className:Ze(f,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${i}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(gr,{className:Ze(l,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},ii=({planName:r,planSubtext:i,speed:o,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:h,theme:p="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:w})=>{const[C,A]=c(!1),N=void 0!==g?g:C,E="dark"===p;return t("article",{className:Ze("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:Ze("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(br,{as:"h3",className:Ze("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e(br,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),t("div",{className:"flex items-start",children:[e(br,{as:"span",className:Ze("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e(br,{as:"span",className:Ze("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(br,{as:"span",className:Ze("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(br,{className:Ze("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:Ze("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(ni,{src:n.icon,alt:n.title,width:24,height:24}),e(br,{as:"div",className:Ze("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(ri,{onSelect:v,speed:o,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:w}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(Tr,{onClick:()=>{b?b():A(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e(br,{as:"h4",className:Ze("label3",E?"text-text-inverse":"text-text"),children:m}),e(gr,{name:"keyboard_arrow_down",fill:1,size:24,className:Ze("transition-transform duration-300",N&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ze("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(vr,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==h?void 0:h.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(ni,{src:h.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:h.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:h.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:h.badgeText.split("|")[1]})]}):e(br,{className:"font-bold",children:h.badgeText})})]}):null]})]})]})]})},oi=({title:n,quote:r,rating:i,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:R("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(br,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),i?e("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e(gr,{size:24,name:"star",fill:1,className:R("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(N,{src:s,alt:o,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:o.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:o}),e(br,{as:"p",className:"body3 text-text",children:a})]})]})]});function ai({fields:r,renderCheckPlans:i}){var o,a,s,h;const p=(null===(s=null===(a=null===(o=null==r?void 0:r.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[m,f]=c(p),[g,b]=c({}),[v,y]=c(0),x=(null===(h=null==r?void 0:r.items)||void 0===h?void 0:h.items)||[],I=x.length>2,w=l([]),C=d(()=>{I&&y(e=>(e-1+x.length)%x.length)},[I,x.length]),A=d(()=>{I&&y(e=>(e+1)%x.length)},[I,x.length]);if(u(()=>{if(!I)return;const e=()=>{const e=w.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,m,x.length]),!x.length&&!(null==r?void 0:r.title))return null;const N=(t,n,r=!1)=>{var o,a,s,l,c,u,d,h;const p=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==p?void 0:p[0])||"",y=(null==p?void 0:p[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},S=r?g[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!w.current.includes(e)&&(w.current[n]=e)},className:Ze(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(ii,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge: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:C,isExpanded:S,onToggleExpand:()=>{r?b(e=>({...e,[n]:!e[n]})):f(!m)},ctaText:(null===(h=null==t?void 0:t.cta)||void 0===h?void 0:h.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:i,cta:t.cta,hostType:"smb"})},n)},E=[...x,...x,...x,...x,...x],S=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>N(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(Tr,{onClick:C,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(gr,{name:"arrow_back",size:24})}),e(Tr,{onClick:A,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(gr,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${S+v} * (392px + 12px)))`},children:E.map((e,t)=>N(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>N(e,t))})}const si=i.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,h=1===Math.abs(u),p=u*c+o/l*100,m=!s||(a?d||h:d);return e("div",{className:Ze("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${p}%)`},children:e(oi,{...t,isActive:d,className:"h-full"})})});si.displayName="TestimonialCarouselSlide";const li=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const a=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:r=.15,mobileBreakpoint:i=768,autoScrollInterval:o=8e3,enableAutoScroll:a=!0}=e,[s,h]=c(0),[p,m]=c(0),[f,g]=c(!1),[b,v]=c(window.innerWidth),[y,x]=c(!1),I=l(null),w=l(0),C=l(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:o};u(()=>{const e=()=>{var e;v((null===(e=C.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=d(()=>{0!==t&&h(e=>(e+1)%t)},[t]),E=d(()=>{0!==t&&h(e=>0===e?t-1:e-1)},[t]),S=d(e=>{e<0||e>=t||h(e)},[t]),T=d(e=>{w.current=e.touches[0].clientX,g(!0),I.current&&clearInterval(I.current)},[]),k=d(e=>{if(!f)return;const t=e.touches[0].clientX-w.current;m(t)},[f]),B=d(()=>{g(!1);const e=b*r;p>e?E():p<-e&&N(),m(0),a&&o>0&&(I.current=setInterval(()=>{N()},o))},[p,b,r,E,N,a,o]);return u(()=>{const e=()=>{x(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),u(()=>{if(a&&0!==t&&0!==o)return I.current=setInterval(()=>{N()},o),()=>{I.current&&clearInterval(I.current)}},[N,t,a,o]),{currentIndex:s,swipeOffset:p,isSwiping:f,isMobile:y,containerWidth:b,containerRef:C,nextSlide:N,prevSlide:E,goToSlide:S,handleTouchStart:T,handleTouchMove:k,handleTouchEnd:B,constants:A}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(Tr,{onClick:s.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(gr,{name:"arrow_back",size:24})}),e(Tr,{onClick:s.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(gr,{name:"arrow_forward",size:24})}),e("div",{ref:s.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:s.handleTouchStart,onTouchMove:s.handleTouchMove,onTouchEnd:s.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e(si,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:Ze("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},ci=({tabs:n,activeTab:r,onChange:i,className:o})=>{const a=n.indexOf(r),s=l([]),[d,h]=c({width:0,left:0});return u(()=>{const e=s.current[a];e&&h({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ze("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>i(t),className:Ze("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},ui=({fields:n,hasTestimonialCards:r,hasProductCards:i,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:h=!0,showSwitch:p=!1})=>t("div",{className:`${a} ${i?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(br,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(br,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),p&&i&&t("div",{className:"flex flex-col gap-8",children:[p&&i&&c.length>1&&e(ci,{tabs:c,activeTab:s,onChange:l}),i&&e(ai,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),r&&e(li,{fields:n,autoScroll:h,autoScrollInterval:8e3})]}),o&&e(br,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),di=({title:n,subtitle:r,description:i,disclaimer:o,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Hr,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(br,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(br,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),i&&e(br,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(Or,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e(br,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),hi=({body:n,links:r,bottomLinks:o,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(Pr,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,a;return t(i.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(br,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(Or,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(Pr,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(Pr,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),e("p",{className:"copy-rights whitespace-pre-line",children:a}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==o?void 0:o.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(Or,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},pi=({isHovered:t,containerClassName:n})=>e("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e(gr,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),mi=t=>{const{link:n,containerClassName:r,autoplay:i=!1,debug:o=!1}=t,{href:s,embedId:l}=a(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),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}},[n]);if(o&&console.log("[VimeoEmbed] href:",s,"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:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const fi=t=>{const{link:n,containerClassName:r,autoplay:i=!1}=t,o=a(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),s=i?"?autoplay=1":"";return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${o}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},gi=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:a,disclaimer:s,description:l,image:u,imageLinks:d,mediaPosition:h=!0,checklist:p,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:w})=>{var C,A;const[N,E]=c(""),[S,T]=c(!1),k=null!==(C=null==g?void 0:g.link)&&void 0!==C?C:"",B=null==g?void 0:g.image,P=null!==(A=null==g?void 0:g.videoPopup)&&void 0!==A&&A,L=Boolean(N&&N===k),R=g&&B?k.includes("vimeo")?e(mi,{link:k,autoplay:L}):e(fi,{link:k,autoplay:L}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(h?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(br,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e(br,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e(br,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e(br,{as:"div",className:"body1",children:l}),p.length>0&&e(vr,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(Ir,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(ni,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(Or,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(Or,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(Hr,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:Ze("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!L&&"hover:shadow-2xl"),onClick:()=>{var e;E(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[t("div",{className:Ze(L&&!P&&"hidden",L&&!P?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(Hr,{src:g.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(pi,{isHovered:S})})]}),!P&&L&&e("div",{className:Ze("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",L?"opacity-100":"opacity-0"),children:R})]})]})]})}),P&&L&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),E("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:R})})]})},bi=({link:n,anchorName:r,linkColorClassName:o})=>{const[a,s]=i.useState(!1),l=i.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};u(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(l,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(Or,{...n,linkClassName:Ze("body3 flex items-center h-full",o||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:d,items:h}=n,p=Array.isArray(null==h?void 0:h.items)?h.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:l,children:[t(Or,{onClick:()=>s(e=>!e),"aria-expanded":a,buttonClassName:Ze("group body3 flex h-full items-center",o||"text-text"),showButtonAs:"unstyled",children:[e(br,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(gr,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:a?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Ze("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",a&&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:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&s(!1)},children:p.map((t,n)=>e("li",{className:"submenu-link",children:e(Or,{...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}`))})})]})},vi=({link:r})=>{const[o,a]=i.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(Or,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(Or,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(gr,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),o&&u.length>0&&e(yi,{items:u})]})},yi=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(Or,{...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}`),xi=n=>{const{showBlinkDot:r=!1,buttonStyle:i="primary",size:o="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(Ir,{...u,className:Ze("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:Ze("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]),children:e(gr,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]});return null==l||!1===l||""===l?d:t("span",{className:Ze("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};xi.displayName="CallButton";const Ii=o((n,r)=>{const{className:i,size:o,required:a,placeholder:s,label:l,state:u,errorText:h,prefixIconName:p,prefixIconFill:m=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:w,type:C,...A}=n,N=w?"error":u,[E,S]=c(!1),[T,k]=c(!1),[B,P]=c(C||"text"),L=d(e=>{e.stopPropagation(),P(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ze("inline-block pb-1"),children:t(br,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ze("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],y,(E||"hover"===N)&&!T&&"error"!==N&&"border-input-border-hover",(T||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[p?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(gr,{name:p,fill:m?1:0,size:g,className:Ze(x)})}):null,e("input",{ref:r,id:l,disabled:I||A.disabled,className:Ze("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:s,type:B,...A,onMouseOver:()=>S(!0),onMouseOut:()=>S(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),k(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),k(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:L,children:e(gr,{name:"text"===B?"visibility":"visibility_off",size:v,fill:f?1:0})}):null]}),"error"===N&&h&&""!=h?t(br,{className:Ze("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(gr,{name:"info",size:20,className:"mr-1"}),h||"Error"]}):null]})});Ii.displayName="Input";const wi=r=>{var i,o,a;const{primaryNavigationLinks:s,utilityNavigationLinks:l,checkPlansJSX:c,primaryNavigationLogo:u,accountNavigationLinks:d,supportNavigationLinks:h,searchBarIcon:p,invocaPhoneNumberLink:m,invocaPhoneNumberDisplayText:f,callNowCtaText:g,displayCartIcon:b,cartHref:v,cartHasRetention:y,cartIconAriaLabel:x="Cart",onCallClickDesktop:I,onCallClickMobile:w,onCartClick:C,onSearch:A=()=>{},utilityNavActiveIndex:N,primaryNavigationLogoWidth:E=76.5,primaryNavigationLogoHeight:S=24,hideMobileCallButton:T=!1,displayUtilityNavigation:k=!0,displaySearchBar:B=!0,displayCallNowCta:P=!0,showCallButton:L=!0,showCallNowCtaInMainNav:R=!1,showMobileSliderMenu:G=!0,callNowCtaIcon:O,navigationBackgroundColor:D,navigationLinkColor:M}=r,V="string"==typeof u?u:(null==u?void 0:u.url)||"",j=D?D.includes("-")||D.startsWith("bg-")?D:`bg-secondary-${D}`:"bg-secondary-navy500",W="string"==typeof O?O:(null==O?void 0:O.url)||"",H=n=>t(Ir,{href:m||"#",onClick:n,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":f?`Call ${f}`:"Call now",children:[W?e(Hr,{src:W,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e(br,{as:"span",className:"text-secondary-navy500 footnote",children:f})]}),X=(null!==(i=null==s?void 0:s.length)&&void 0!==i?i:0)>0||(null!==(o=null==h?void 0:h.length)&&void 0!==o?o:0)>0||(null!==(a=null==d?void 0:d.length)&&void 0!==a?a:0)>0;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[k?e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==l?void 0:l.map((t,n)=>e("li",{children:e(Or,{linkClassName:Ze("footnote flex items-center w-full h-11 text-text","number"!=typeof N?1===n&&"label4":N===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),t("div",{className:"flex items-center gap-10",children:[P?e(xi,{className:"border-none",href:m,prefix:g,onClick:I,children:e(br,{className:"body3 text-text",children:f})}):null,b?t(Ir,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:C,children:[e(gr,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==d?void 0:d.map((t,n)=>e(bi,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,t("div",{className:Ze("main-nav-container",j,M),"aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e("div",{children:V?e(Ir,{href:"/",className:"flex",children:e(Hr,{src:V,alt:"Kinetic business logo",width:E,height:S})}):null}),e("div",{className:"flex items-center gap-6",children:G?t(n,{children:[L&&!T?e(xi,{href:m,onClick:w,children:e(br,{as:"span",className:"footnote",children:f})}):null,b?t(Ir,{href:v||"#",className:"relative inline-flex cursor-pointer","aria-label":x,onClick:C,children:[e(gr,{name:"shopping_cart"}),y?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,X?e(Ci,{...r}):null]}):L?H(w):null})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[V?e(Ir,{href:"/",className:"flex",children:e(Hr,{src:V,alt:"Kinetic business logo",width:E,height:S,className:"mr-[64px]"})}):null,e("div",{className:"flex h-full items-center gap-5",children:null==s?void 0:s.map((t,n)=>e(bi,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:M},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[!R||k&&P?null:H(I),B?e(Ni,{searchBarIconURL:"string"==typeof p?p:(null==p?void 0:p.url)||"",onSearch:A}):null,null==h?void 0:h.map((t,n)=>e(bi,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:M},`support-menu-${n}`))]})]})})]})]}),c&&e("div",{className:"md:hidden",children:c})]})},Ci=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l,showCallButton:c,displayCallNowCta:u,displaySearchBar:d}=n,[h,p]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=h?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[h]);const m=()=>{p(!1)};return t("div",{children:[e(Or,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>p(!0),children:e(gr,{name:"menu"})}),h?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:Ze("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",h?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:Ze("flex items-center px-4",!1!==c||!1!==u?"justify-between":"justify-end"),children:[!1!==c||!1!==u?e("div",{children:e(xi,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}):null,e("div",{children:e(Or,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e(gr,{name:"close"})})})]}),!1!==d?e(Ai,{closeMenu:m,isMenuOpen:h,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}):null,t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(vi,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==a?void 0:a.map((t,r)=>e("li",{children:e(Or,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ze("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===r&&"label4":n.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},Ai=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{r(),e.preventDefault(),o(l)};return i.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(Hr,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Ii,{ref:u,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},Ni=n=>{const{searchBarIconURL:r,onSearch:o}=n,[a,s]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Hr,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Ii,{ref:l,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},Ei=n=>{var r;const{title:i,showAsHeading:o,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:h,checklist:p,renderCheckPlans:m,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:Ze("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:Ze("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[i&&e(br,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:i}),a&&e(br,{as:"p",className:"subheading3 lg:subheading1",children:a}),u?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e(br,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(br,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(br,{as:"p",className:"subheading5",children:u}),h?e(br,{as:"p",className:"subheading1 mt-0.5",children:h}):null]})]}):null,p&&e(vr,{listItemClassName:"text-white text-left",items:p.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Ze("md:block",x&&"hidden"),children:e(Or,{...s,renderCheckPlans:m,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(br,{as:"span",className:"body2 mr-1",children:v}),b&&e(Or,{linkClassName:"body2 text-text-inverse",onModalButtonClick:y,...b})]}):null,c&&(I||(null==c?void 0:c.href))&&e("div",{className:"hidden md:block",children:e(Or,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),g?e(br,{as:"p",className:"body3 hidden md:block",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(Hr,{src:f,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,l&&l[0]?e(Hr,{src:l[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]}),c&&(I||(null==c?void 0:c.href))&&e("div",{className:"md:hidden",children:e(Or,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),g?e(br,{as:"p",className:"body3 md:hidden",children:g}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(br,{as:"span",className:"body2 mr-1",children:v}),b&&e(Or,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Ze("relative hidden lg:block"),children:[f?e(Hr,{src:f,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,l&&l[0]?e(Hr,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Si=({fields:t})=>e("div",{children:e(br,{children:"Text Block"})}),Ti={closed:{opacity:0},open:{opacity:1}},ki={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Bi={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Pi=h({});function Li(e){const t=l(null);return null===t.current&&(t.current=e()),t.current}const Ri="undefined"!=typeof window?p:u,Gi=h(null);function Oi(e,t){-1===e.indexOf(t)&&e.push(t)}function Di(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Mi=(e,t,n)=>n>t?t:n<e?e:n;function Vi(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let ji=()=>{},Wi=()=>{};"undefined"!=typeof process&&"production"!==process.env?.NODE_ENV&&(ji=(e,t,n)=>{e||"undefined"==typeof console||console.warn(Vi(t,n))},Wi=(e,t,n)=>{if(!e)throw new Error(Vi(t,n))});const Hi={},Xi=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Fi(e){return"object"==typeof e&&null!==e}const zi=e=>/^0[^.\s]+$/u.test(e);function Zi(e){let t;return()=>(void 0===t&&(t=e()),t)}const Yi=e=>e,_i=(e,t)=>n=>t(e(n)),Ji=(...e)=>e.reduce(_i),Ui=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r};class $i{constructor(){this.subscriptions=[]}add(e){return Oi(this.subscriptions,e),()=>Di(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 Ki=e=>1e3*e,Qi=e=>e/1e3;function qi(e,t){return t?e*(1e3/t):0}const eo=new Set;function to(e,t,n){e||eo.has(t)||(console.warn(Vi(t,n)),eo.add(t))}const no=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function ro(e,t,n,r){if(e===t&&n===r)return Yi;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=no(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:no(i(e),t,r)}const io=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,oo=e=>t=>1-e(1-t),ao=ro(.33,1.53,.69,.99),so=oo(ao),lo=io(so),co=e=>e>=1?1:(e*=2)<1?.5*so(e):.5*(2-Math.pow(2,-10*(e-1))),uo=e=>1-Math.sin(Math.acos(e)),ho=oo(uo),po=io(uo),mo=ro(.42,0,1,1),fo=ro(0,0,.58,1),go=ro(.42,0,.58,1),bo=e=>Array.isArray(e)&&"number"==typeof e[0],vo={linear:Yi,easeIn:mo,easeInOut:go,easeOut:fo,circIn:uo,circInOut:po,circOut:ho,backIn:so,backInOut:lo,backOut:ao,anticipate:co},yo=e=>{if(bo(e)){Wi(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return ro(t,n,r,i)}return"string"==typeof e?(Wi(void 0!==vo[e],`Invalid easing type '${e}'`,"invalid-easing-type"),vo[e]):e},xo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Io(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=xo.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(t){o.has(t)&&(l.schedule(t),e()),t(a)}const l={schedule:(e,i=!1,a=!1)=>{const s=a&&r?t:n;return i&&o.add(e),s.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,r)return void(i=!0);r=!0;const o=t;t=n,n=o,t.forEach(s),t.clear(),r=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:p,postRender:m}=a,f=()=>{const o=Hi.useManualTiming,a=o?i.timestamp:performance.now();n=!1,o||(i.delta=r?1e3/60:Math.max(Math.min(a-i.timestamp,40),1)),i.timestamp=a,i.isProcessing=!0,s.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:xo.reduce((t,o)=>{const s=a[o];return t[o]=(t,o=!1,a=!1)=>(n||(n=!0,r=!0,i.isProcessing||e(f)),s.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t<xo.length;t++)a[xo[t]].cancel(e)},state:i,steps:a}}const{schedule:wo,cancel:Co,state:Ao,steps:No}=Io("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Yi,!0);let Eo;function So(){Eo=void 0}const To={now:()=>(void 0===Eo&&To.set(Ao.isProcessing||Hi.useManualTiming?Ao.timestamp:performance.now()),Eo),set:e=>{Eo=e,queueMicrotask(So)}},ko=e=>t=>"string"==typeof t&&t.startsWith(e),Bo=ko("--"),Po=ko("var(--"),Lo=e=>!!Po(e)&&Ro.test(e.split("/*")[0].trim()),Ro=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Go(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const Oo={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Do={...Oo,transform:e=>Mi(0,1,e)},Mo={...Oo,default:1},Vo=e=>Math.round(1e5*e)/1e5,jo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const Wo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ho=(e,t)=>n=>Boolean("string"==typeof n&&Wo.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),Xo=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[i,o,a,s]=r.match(jo);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Fo={...Oo,transform:e=>Math.round((e=>Mi(0,255,e))(e))},zo={test:Ho("rgb","red"),parse:Xo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Fo.transform(e)+", "+Fo.transform(t)+", "+Fo.transform(n)+", "+Vo(Do.transform(r))+")"};const Zo={test:Ho("#"),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:zo.transform},Yo=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),_o=Yo("deg"),Jo=Yo("%"),Uo=Yo("px"),$o=Yo("vh"),Ko=Yo("vw"),Qo=(()=>({...Jo,parse:e=>Jo.parse(e)/100,transform:e=>Jo.transform(100*e)}))(),qo={test:Ho("hsl","hue"),parse:Xo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Jo.transform(Vo(t))+", "+Jo.transform(Vo(n))+", "+Vo(Do.transform(r))+")"},ea={test:e=>zo.test(e)||Zo.test(e)||qo.test(e),parse:e=>zo.test(e)?zo.parse(e):qo.test(e)?qo.parse(e):Zo.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?zo.transform(e):qo.transform(e),getAnimatableNone:e=>{const t=ea.parse(e);return t.alpha=0,ea.transform(t)}},ta=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const na="number",ra="color",ia=/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 oa(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(ia,e=>(ea.test(e)?(r.color.push(o),i.push(ra),n.push(ea.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(na),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:a,indexes:r,types:i}}function aa({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===na?Vo(r[o]):e===ra?ea.transform(r[o]):r[o]}return i}}const sa=(e,t)=>{return"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof(n=e)?0:ea.test(n)?ea.getAnimatableNone(n):n;var n};const la={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(jo)?.length||0)+(e.match(ta)?.length||0)>0},parse:function(e){return oa(e).values},createTransformer:function(e){return aa(oa(e))},getAnimatableNone:function(e){const t=oa(e);return aa(t)(t.values.map((e,n)=>sa(e,t.split[n])))}};function ca(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 ua(e,t){return n=>n>0?t:e}const da=(e,t,n)=>e+(t-e)*n,ha=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},pa=[Zo,zo,qo];function ma(e){const t=(n=e,pa.find(e=>e.test(n)));var n;if(ji(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===qo&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=ca(s,r,e+1/3),o=ca(s,r,e),a=ca(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const fa=(e,t)=>{const n=ma(e),r=ma(t);if(!n||!r)return ua(e,t);const i={...n};return e=>(i.red=ha(n.red,r.red,e),i.green=ha(n.green,r.green,e),i.blue=ha(n.blue,r.blue,e),i.alpha=da(n.alpha,r.alpha,e),zo.transform(i))},ga=new Set(["none","hidden"]);function ba(e,t){return n=>da(e,t,n)}function va(e){return"number"==typeof e?ba:"string"==typeof e?Lo(e)?ua:ea.test(e)?fa:Ia:Array.isArray(e)?ya:"object"==typeof e?ea.test(e)?fa:xa:ua}function ya(e,t){const n=[...e],r=n.length,i=e.map((e,n)=>va(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function xa(e,t){const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=va(e[i])(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const Ia=(e,t)=>{const n=la.createTransformer(t),r=oa(e),i=oa(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?ga.has(e)&&!i.values.length||ga.has(t)&&!r.values.length?function(e,t){return ga.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Ji(ya(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],a=e.indexes[o][r[o]],s=e.values[a]??0;n[i]=s,r[o]++}return n}(r,i),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.`,"complex-values-different"),ua(e,t))};function wa(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return da(e,t,n);return va(e)(e,t)}const Ca=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>wo.update(t,e),stop:()=>Co(t),now:()=>Ao.isProcessing?Ao.timestamp:To.now()}},Aa=(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)})`},Na=2e4;function Ea(e){let t=0;let n=e.next(t);for(;!n.done&&t<Na;)t+=50,n=e.next(t);return t>=Na?1/0:t}const Sa=100,Ta=10,ka=1,Ba=0,Pa=800,La=.3,Ra=.3,Ga={granular:.01,default:2},Oa={granular:.005,default:.5},Da=.01,Ma=10,Va=.05,ja=1;function Wa(e,t){return e*Math.sqrt(1-t*t)}const Ha=.001;const Xa=["duration","bounce"],Fa=["stiffness","damping","mass"];function za(e,t){return t.some(t=>void 0!==e[t])}function Za(e){let t={velocity:Ba,stiffness:Sa,damping:Ta,mass:ka,isResolvedFromDuration:!1,...e};if(!za(e,Fa)&&za(e,Xa))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),i=r*r,o=2*Mi(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ka,stiffness:i,damping:o}}else{const n=function({duration:e=Pa,bounce:t=La,velocity:n=Ba,mass:r=ka}){let i,o;ji(e<=Ki(Ma),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=Mi(Va,ja,a),e=Mi(Da,Ma,Qi(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=Wa(t,a),l=Math.exp(-i);return Ha-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Wa(Math.pow(t,2),a);return(-i(t)+Ha>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Ki(e),isNaN(s))return{stiffness:Sa,damping:Ta,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});t={...t,...n,mass:ka},t.isResolvedFromDuration=!0}return t}function Ya(e=Ra,t=La){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:p}=Za({...n,velocity:-Qi(n.velocity||0)}),m=h||0,f=c/(2*Math.sqrt(l*u)),g=a-o,b=Qi(Math.sqrt(l/u)),v=Math.abs(g)<5;let y,x,I,w,C,A;if(r||(r=v?Ga.granular:Ga.default),i||(i=v?Oa.granular:Oa.default),f<1)I=Wa(b,f),w=(m+f*b*g)/I,y=e=>{const t=Math.exp(-f*b*e);return a-t*(w*Math.sin(I*e)+g*Math.cos(I*e))},C=f*b*w+g*I,A=f*b*g-w*I,x=e=>Math.exp(-f*b*e)*(C*Math.sin(I*e)+A*Math.cos(I*e));else if(1===f){y=e=>a-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 a-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 N={calculatedDuration:p&&d||null,velocity:e=>Ki(x(e)),next:e=>{if(!p&&f<1){const t=Math.exp(-f*b*e),n=Math.sin(I*e),o=Math.cos(I*e),l=a-t*(w*n+g*o),c=Ki(t*(C*n+A*o));return s.done=Math.abs(c)<=r&&Math.abs(a-l)<=i,s.value=s.done?a:l,s}const t=y(e);if(p)s.done=e>=d;else{const n=Ki(x(e));s.done=Math.abs(n)<=r&&Math.abs(a-t)<=i}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(Ea(N),Na),t=Aa(t=>N.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return N}Ya.applyToOptions=e=>{const t=function(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Ea(r),Na);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:Qi(i)}}(e,100,Ya);return e.ease=t.ease,e.duration=Ki(t.duration),e.type="keyframes",e};function _a(e,t,n){const r=Math.max(t-5,0);return qi(n-e(r),t-r)}function Ja({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},p=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),v=e=>g+b(e),y=e=>{const t=b(e),n=v(e);h.done=Math.abs(t)<=c,h.value=h.done?g:n};let x,I;const w=e=>{var t;(t=h.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Ya({keyframes:[h.value,p(h.value)],velocity:_a(v,e,h.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),w(e)),void 0!==x&&e>=x?I.next(e-x):(!t&&y(e),h)}}}function Ua(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Wi(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 a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,n){const r=[],i=n||Hi.mix||wa,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]||Yi:t;o=Ji(e,o)}r.push(o)}return r}(t,r,i),l=s.length,c=n=>{if(a&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const i=Ui(e[r],e[r+1],n);return s[r](i)};return n?t=>c(Mi(e[0],e[o-1],t)):c}function $a(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ui(0,t,r);e.push(da(n,1,i))}}(t,e.length-1),t}function Ka({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(yo):yo(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:$a(t),e),s=Ua(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||go).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}const Qa=e=>null!==e;function qa(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(Qa),a=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}const es={decay:Ja,inertia:Ja,tween:Ka,keyframes:Ka,spring:Ya};function ts(e){"string"==typeof e.type&&(e.type=es[e.type])}class ns{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 rs=e=>e/100;class is extends ns{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!==To.now()&&this.tick(To.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;ts(e);const{type:t=Ka,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e;let{keyframes:a}=e;const s=t||Ka;"production"!==process.env.NODE_ENV&&s!==Ka&&Wi(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),s!==Ka&&"number"!=typeof a[0]&&(this.mixKeyframes=Ji(rs,wa(a[0],a[1])),a=[0,100]);const l=s({...e,keyframes:a});"mirror"===i&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=Ea(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:a,calculatedDuration:s}=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)/a;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/a)):"mirror"===d&&(x=o)),y=Mi(0,1,n)*a}b?(this.delayState.value=c[0],v=this.delayState):v=x.next(y),i&&!b&&(v.value=i(v.value));let{done:I}=v;b||null===s||(I=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&I);return w&&p!==Ja&&(v.value=qa(c,this.options,f,this.speed)),m&&m(v.value),w&&this.finish(),v}then(e,t){return this.finished.then(e,t)}get duration(){return Qi(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Qi(e)}get time(){return Qi(this.currentTime)}set time(e){e=Ki(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 _a(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(To.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Qi(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Ca,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(To.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 os=e=>180*e/Math.PI,as=e=>{const t=os(Math.atan2(e[1],e[0]));return ls(t)},ss={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:as,rotateZ:as,skewX:e=>os(Math.atan(e[1])),skewY:e=>os(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ls=e=>((e%=360)<0&&(e+=360),e),cs=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),us=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ds={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:cs,scaleY:us,scale:e=>(cs(e)+us(e))/2,rotateX:e=>ls(os(Math.atan2(e[6],e[5]))),rotateY:e=>ls(os(Math.atan2(-e[2],e[0]))),rotateZ:as,rotate:as,skewX:e=>os(Math.atan(e[4])),skewY:e=>os(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function hs(e){return e.includes("scale")?1:0}function ps(e,t){if(!e||"none"===e)return hs(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=ds,i=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ss,i=t}if(!i)return hs(t);const o=r[t],a=i[1].split(",").map(ms);return"function"==typeof o?o(a):a[o]}function ms(e){return parseFloat(e.trim())}const fs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],gs=(()=>new Set(fs))(),bs=e=>e===Oo||e===Uo,vs=new Set(["x","y","z"]),ys=fs.filter(e=>!vs.has(e));const xs={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})=>ps(t,"x"),y:(e,{transform:t})=>ps(t,"y")};xs.translateX=xs.x,xs.translateY=xs.y;const Is=new Set;let ws=!1,Cs=!1,As=!1;function Ns(){if(Cs){const e=Array.from(Is).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 ys.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)})}Cs=!1,ws=!1,Is.forEach(e=>e.complete(As)),Is.clear()}function Es(){Is.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Cs=!0)})}class Ss{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?(Is.add(this),ws||(ws=!0,wo.read(Es),wo.resolveKeyframes(Ns))):(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),Is.delete(this)}cancel(){"scheduled"===this.state&&(Is.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function Ts(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}const ks={};function Bs(e,t){const n=Zi(e);return()=>ks[t]??n()}const Ps=Bs(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),Ls=Bs(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),Rs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Gs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Rs([0,.65,.55,1]),circOut:Rs([.55,0,1,.45]),backIn:Rs([.31,.01,.66,-.59]),backOut:Rs([.33,1.53,.69,.99])};function Os(e,t){return e?"function"==typeof e?Ls()?Aa(e,t):"ease-out":bo(e)?Rs(e):Array.isArray(e)?e.map(e=>Os(e,t)||Gs.easeOut):Gs[e]:void 0}function Ds(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=Os(s,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"===a?"alternate":"normal"};c&&(h.pseudoElement=c);return e.animate(u,h)}function Ms(e){return"function"==typeof e&&"applyToOptions"in e}class Vs extends ns{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:a,onComplete:s}=e;this.isPseudoElement=Boolean(i),this.allowFlatten=o,this.options=e,Wi("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return Ms(e)&&Ls()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=Ds(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const e=qa(r,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Ts(t,n,e),this.animation.cancel()}s?.(),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 Qi(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Qi(e)}get time(){return Qi(Number(this.animation.currentTime)||0)}set time(e){const t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ki(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&&Ps()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Yi):r(this)}}const js={anticipate:co,backInOut:lo,circInOut:po};function Ws(e){"string"==typeof e.ease&&e.ease in js&&(e.ease=js[e.ease])}class Hs extends Vs{constructor(e){Ws(e),ts(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 a=new is({...o,autoplay:!1}),s=Math.max(10,To.now()-this.startTime),l=Mi(0,10,s-10),c=a.sample(s).value,{name:u}=this.options;i&&u&&Ts(i,u,c),t.setWithVelocity(a.sample(Math.max(0,s-l)).value,c,l),a.stop()}}const Xs=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!la.test(e)&&"0"!==e||e.startsWith("url(")));function Fs(e){e.duration=0,e.type="keyframes"}const zs=new Set(["opacity","clipPath","filter","transform"]),Zs=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const Ys=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),_s=Zi(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Js(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a,keyframes:s}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return _s()&&n&&(zs.has(n)||Ys.has(n)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&Zs.test(e[t]))return!0;return!1}(s))&&("transform"!==n||!u)&&!c&&!r&&"mirror"!==i&&0!==o&&"inertia"!==a}class Us extends ns{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",keyframes:a,name:s,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=To.now();const d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:s,motionValue:l,element:c,...u},h=c?.KeyframeResolver||Ss;this.keyframeResolver=new h(a,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;const{name:i,type:o,velocity:a,delay:s,isHandoff:l,onUpdate:c}=n;this.resolvedAt=To.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],a=Xs(i,t),s=Xs(o,t);return ji(a===s,`You are trying to animate ${t} from "${i}" to "${o}". "${a?o:i}" is not an animatable value.`,"value-not-animatable"),!(!a||!s)&&(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||Ms(n))&&r)})(e,i,o,a)||(u=!1,!Hi.instantAnimations&&s||c?.(qa(e,n,t)),e[0]=e[e.length-1],Fs(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&&Js(d),p=d.motionValue?.owner?.current;let m;if(h)try{m=new Hs({...d,element:p})}catch{m=new is(d)}else m=new is(d);m.finished.then(()=>{this.notifyFinished()}).catch(Yi),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(),As=!0,Es(),Ns(),As=!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 $s(e,t,n,r=0,i=1){const o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*r;return"function"==typeof n?n(o,a):1===i?o*r:s-o*r}const Ks=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Qs(e,t,n=1){Wi(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=Ks.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 Xi(e)?parseFloat(e):e}return Lo(i)?Qs(i,t,n+1):i}const qs={type:"spring",stiffness:500,damping:25,restSpeed:10},el={type:"keyframes",duration:.8},tl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nl=(e,{keyframes:t})=>t.length>2?el:gs.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:qs:tl;function rl(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function il(e,t){const n=e?.[t]??e?.default??e;return n!==e?rl(n,e):n}const ol=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);const al=(e,t,n,r={},i,o)=>a=>{const s=il(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c-=Ki(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};(function(e){for(const t in e)if(!ol.has(t))return!0;return!1})(s)||Object.assign(u,nl(e,u)),u.duration&&(u.duration=Ki(u.duration)),u.repeatDelay&&(u.repeatDelay=Ki(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(Fs(u),0===u.delay&&(d=!0)),(Hi.instantAnimations||Hi.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,Fs(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!o&&void 0!==t.get()){const e=qa(u.keyframes,s);if(void 0!==e)return void wo.update(()=>{u.onUpdate(e),u.onComplete()})}return s.isSync?new is(u):new Us(u)};function sl(e){const t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function ll(e,t,n,r){if("function"==typeof t){const[i,o]=sl(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]=sl(r);t=t(void 0!==n?n:e.custom,i,o)}return t}function cl(e,t,n){const r=e.getProps();return ll(r,t,void 0!==n?n:r.custom,e)}const ul=new Set(["width","height","top","left","right","bottom",...fs]);class dl{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=To.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=To.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&&to(!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 $i);const n=this.events[e].add(t);return"change"===e?()=>{n(),wo.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=To.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return qi(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 hl(e,t){return new dl(e,t)}const pl=e=>Array.isArray(e);function ml(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,hl(n))}function fl(e){return pl(e)?e[e.length-1]||0:e}const gl=e=>Boolean(e&&e.getVelocity);function bl(e,t){const n=e.getValue("willChange");if(r=n,Boolean(gl(r)&&r.add))return n.add(t);if(!n&&Hi.WillChange){const n=new Hi.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}function vl(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const yl="data-"+vl("framerAppearId");function xl(e){return e.props[yl]}function Il({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function wl(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:a,...s}=t;const l=e.getDefaultTransition();o=o?rl(o,l):l;const c=o?.reduceMotion;r&&(o=r);const u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(void 0===i||d&&Il(d,t))continue;const a={delay:n,...il(o||{},t)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(i)&&i===l&&!a.velocity){wo.update(()=>r.set(i));continue}let h=!1;if(window.MotionHandoffAnimation){const n=xl(e);if(n){const e=window.MotionHandoffAnimation(n,t,wo);null!==e&&(a.startTime=e,h=!0)}}bl(e,t);const p=c??e.shouldReduceMotion;r.start(al(t,r,i,p&&ul.has(t)?{type:!1}:a,e,h));const m=r.animation;m&&u.push(m)}if(a){const t=()=>wo.update(()=>{a&&function(e,t){const n=cl(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const t in o)ml(e,t,fl(o[t]))}(e,a)});u.length?Promise.all(u).then(t):t()}return u}function Cl(e,t,n={}){const r=cl(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(wl(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=0,o=1,a){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(Cl(l,t,{...a,delay:n+("function"==typeof r?0:r)+$s(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,r,o,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}const Al=e=>t=>t.test(e),Nl=[Oo,Uo,Jo,_o,Ko,$o,{test:e=>"auto"===e,parse:e=>e}],El=e=>Nl.find(Al(e));function Sl(e){return"number"==typeof e?0===e:null===e||("none"===e||"0"===e||zi(e))}const Tl=new Set(["brightness","contrast","saturate","opacity"]);function kl(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(jo)||[];if(!r)return e;const i=n.replace(r,"");let o=Tl.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Bl=/\b([a-z-]*)\(.*?\)/gu,Pl={...la,getAnimatableNone:e=>{const t=e.match(Bl);return t?t.map(kl).join(" "):e}},Ll={...la,getAnimatableNone:e=>{const t=la.parse(e);return la.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},Rl={...Oo,transform:Math.round},Gl={borderWidth:Uo,borderTopWidth:Uo,borderRightWidth:Uo,borderBottomWidth:Uo,borderLeftWidth:Uo,borderRadius:Uo,borderTopLeftRadius:Uo,borderTopRightRadius:Uo,borderBottomRightRadius:Uo,borderBottomLeftRadius:Uo,width:Uo,maxWidth:Uo,height:Uo,maxHeight:Uo,top:Uo,right:Uo,bottom:Uo,left:Uo,inset:Uo,insetBlock:Uo,insetBlockStart:Uo,insetBlockEnd:Uo,insetInline:Uo,insetInlineStart:Uo,insetInlineEnd:Uo,padding:Uo,paddingTop:Uo,paddingRight:Uo,paddingBottom:Uo,paddingLeft:Uo,paddingBlock:Uo,paddingBlockStart:Uo,paddingBlockEnd:Uo,paddingInline:Uo,paddingInlineStart:Uo,paddingInlineEnd:Uo,margin:Uo,marginTop:Uo,marginRight:Uo,marginBottom:Uo,marginLeft:Uo,marginBlock:Uo,marginBlockStart:Uo,marginBlockEnd:Uo,marginInline:Uo,marginInlineStart:Uo,marginInlineEnd:Uo,fontSize:Uo,backgroundPositionX:Uo,backgroundPositionY:Uo,...{rotate:_o,rotateX:_o,rotateY:_o,rotateZ:_o,scale:Mo,scaleX:Mo,scaleY:Mo,scaleZ:Mo,skew:_o,skewX:_o,skewY:_o,distance:Uo,translateX:Uo,translateY:Uo,translateZ:Uo,x:Uo,y:Uo,z:Uo,perspective:Uo,transformPerspective:Uo,opacity:Do,originX:Qo,originY:Qo,originZ:Uo},zIndex:Rl,fillOpacity:Do,strokeOpacity:Do,numOctaves:Rl},Ol={...Gl,color:ea,backgroundColor:ea,outlineColor:ea,fill:ea,stroke:ea,borderColor:ea,borderTopColor:ea,borderRightColor:ea,borderBottomColor:ea,borderLeftColor:ea,filter:Pl,WebkitFilter:Pl,mask:Ll,WebkitMask:Ll},Dl=e=>Ol[e],Ml=new Set([Pl,Ll]);function Vl(e,t){let n=Dl(e);return Ml.has(n)||(n=la),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const jl=new Set(["auto","none","0"]);class Wl extends Ss{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(),Lo(r))){const i=Qs(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!ul.has(n)||2!==e.length)return;const[r,i]=e,o=El(r),a=El(i);if(Go(r)!==Go(i)&&xs[n])this.needsMeasurement=!0;else if(o!==a)if(bs(o)&&bs(a))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else xs[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||Sl(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&&!jl.has(t)&&oa(t).values.length&&(r=e[i]),i++}if(r&&n)for(const i of t)e[i]=Vl(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=xs[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]=xs[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 Hl(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 Xl=(e,t)=>t&&"number"==typeof e?t.transform(e):e;function Fl(e){return Fi(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:zl}=Io(queueMicrotask,!1),Zl={x:!1,y:!1};function Yl(){return Zl.x||Zl.y}function _l(e,t){const n=Hl(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Jl(e,t,n={}){const[r,i,o]=_l(e,n);return r.forEach(e=>{let n,r=!1,o=!1;const a=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},s=e=>{r=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),o&&(o=!1,a(e))},l=e=>{"touch"!==e.pointerType&&(r?o=!0:a(e))};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||Yl())return;o=!1;const a=t(e,r);"function"==typeof a&&(n=a,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",s,i)},i)}),o}const Ul=(e,t)=>!!t&&(e===t||Ul(e,t.parentElement)),$l=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,Kl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const Ql=new Set(["INPUT","SELECT","TEXTAREA"]);const ql=new WeakSet;function ec(e){return t=>{"Enter"===t.key&&e(t)}}function tc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function nc(e){return $l(e)&&!Yl()}const rc=new WeakSet;function ic(e,t,n={}){const[r,i,o]=_l(e,n),a=e=>{const r=e.currentTarget;if(!nc(e))return;if(rc.has(e))return;ql.add(r),n.stopPropagation&&rc.add(e);const o=t(r,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),ql.has(r)&&ql.delete(r),nc(e)&&"function"==typeof o&&o(e,{success:t})},s=e=>{a(e,r===window||r===document||n.useGlobalTarget||Ul(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,i),Fl(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=ec(()=>{if(ql.has(n))return;tc(n,"down");const e=ec(()=>{tc(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>tc(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),t=e,Kl.has(t.tagName)||!0===t.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}function oc(e){return Fi(e)&&"ownerSVGElement"in e}const ac=new WeakMap;let sc;const lc=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:oc(r)&&"getBBox"in r?r.getBBox()[t]:r[n],cc=lc("inline","width","offsetWidth"),uc=lc("block","height","offsetHeight");function dc({target:e,borderBoxSize:t}){ac.get(e)?.forEach(n=>{n(e,{get width(){return cc(e,t)},get height(){return uc(e,t)}})})}function hc(e){e.forEach(dc)}function pc(e,t){sc||"undefined"!=typeof ResizeObserver&&(sc=new ResizeObserver(hc));const n=Hl(e);return n.forEach(e=>{let n=ac.get(e);n||(n=new Set,ac.set(e,n)),n.add(t),sc?.observe(e)}),()=>{n.forEach(e=>{const n=ac.get(e);n?.delete(t),n?.size||sc?.unobserve(e)})}}const mc=new Set;let fc;function gc(e){return mc.add(e),fc||(fc=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};mc.forEach(t=>t(e))},window.addEventListener("resize",fc)),()=>{mc.delete(e),mc.size||"function"!=typeof fc||(window.removeEventListener("resize",fc),fc=void 0)}}function bc(e,t){return"function"==typeof e?gc(e):pc(e,t)}const vc=[...Nl,ea,la],yc=()=>({x:{min:0,max:0},y:{min:0,max:0}}),xc=new WeakMap;function Ic(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function wc(e){return"string"==typeof e||Array.isArray(e)}const Cc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ac=["initial",...Cc];function Nc(e){return Ic(e.animate)||Ac.some(t=>wc(e[t]))}function Ec(e){return Boolean(Nc(e)||e.variants)}const Sc={current:null},Tc={current:!1},kc="undefined"!=typeof window;const Bc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Pc={};function Lc(e){Pc=e}class Rc{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:o,visualState:a},s={}){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=Ss,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=To.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,wo.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=a;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=s,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Nc(t),this.isVariantNode=Ec(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]&&gl(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,xc.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:(Tc.current||function(){if(Tc.current=!0,kc)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Sc.current=e.matches;e.addEventListener("change",t),t()}else Sc.current=!1}(),this.shouldReduceMotion=Sc.current),"production"!==process.env.NODE_ENV&&to(!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(),Co(this.notifyUpdate),Co(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&&zs.has(e)&&this.current instanceof HTMLElement){const{factory:n,keyframes:r,times:i,ease:o,duration:a}=t.accelerate,s=new Vs({element:this.current,name:e,keyframes:r,times:i,ease:o,duration:Ki(a)}),l=n(s);return void this.valueSubscriptions.set(e,()=>{l(),s.cancel()})}const n=gs.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&wo.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 Pc){const t=Pc[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<Bc.length;t++){const n=Bc[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(gl(i))e.addValue(r,i);else if(gl(o))e.addValue(r,hl(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,hl(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=hl(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&&(Xi(n)||zi(n))?n=parseFloat(n):(r=n,!vc.find(Al(r))&&la.test(t)&&(n=Vl(e,t))),this.setBaseTarget(e,gl(n)?n.get():n)),gl(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=ll(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||gl(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 $i),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){zl.render(this.render)}}class Gc extends Rc{constructor(){super(...arguments),this.KeyframeResolver=Wl}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;gl(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class Oc{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Dc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Mc(e){return void 0===e||1===e}function Vc({scale:e,scaleX:t,scaleY:n}){return!Mc(e)||!Mc(t)||!Mc(n)}function jc(e){return Vc(e)||Wc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Wc(e){return Hc(e.x)||Hc(e.y)}function Hc(e){return e&&"0%"!==e}function Xc(e,t,n){return n+t*(e-n)}function Fc(e,t,n,r,i){return void 0!==i&&(e=Xc(e,i,r)),Xc(e,n,r)+t}function zc(e,t=0,n=1,r,i){e.min=Fc(e.min,t,n,r,i),e.max=Fc(e.max,t,n,r,i)}function Zc(e,{x:t,y:n}){zc(e.x,t.translate,t.scale,t.originPoint),zc(e.y,n.translate,n.scale,n.originPoint)}const Yc=.999999999999,_c=1.0000000000001;function Jc(e,t){e.min+=t,e.max+=t}function Uc(e,t,n,r,i=.5){zc(e,t,n,da(e.min,e.max,i),r)}function $c(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function Kc(e,t,n){const r=n??e;Uc(e.x,$c(t.x,r.x),t.scaleX,t.scale,t.originX),Uc(e.y,$c(t.y,r.y),t.scaleY,t.scale,t.originY)}function Qc(e,t){return Dc(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 qc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eu=fs.length;function tu(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let a=!1,s=!1;for(const e in t){const n=t[e];if(gs.has(e))a=!0;else if(Bo(e))i[e]=n;else{const t=Xl(n,Gl[e]);e.startsWith("origin")?(s=!0,o[e]=t):r[e]=t}}if(t.transform||(a||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<eu;o++){const a=fs[o],s=e[a];if(void 0===s)continue;let l=!0;if("number"==typeof s)l=s===(a.startsWith("scale")?1:0);else{const e=parseFloat(s);l=a.startsWith("scale")?1===e:0===e}if(!l||n){const e=Xl(s,Gl[a]);l||(i=!1,r+=`${qc[a]||a}(${e}) `),n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}function nu(e,{style:t,vars:n},r,i){const o=e.style;let a;for(a in t)o[a]=t[a];for(a in i?.applyProjectionStyles(o,r),n)o.setProperty(a,n[a])}function ru(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const iu={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Uo.test(e))return e;e=parseFloat(e)}return`${ru(e,t.target.x)}% ${ru(e,t.target.y)}%`}},ou={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=la.parse(e);if(i.length>5)return r;const o=la.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=da(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}},au={borderRadius:{...iu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iu,borderTopRightRadius:iu,borderBottomLeftRadius:iu,borderBottomRightRadius:iu,boxShadow:ou};function su(e,{layout:t,layoutId:n}){return gs.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!au[e]||"opacity"===e)}function lu(e,t,n){const r=e.style,i=t?.style,o={};if(!r)return o;for(const t in r)(gl(r[t])||i&&gl(i[t])||su(t,e)||void 0!==n?.getValue(t)?.liveStyle)&&(o[t]=r[t]);return o}class cu extends Gc{constructor(){super(...arguments),this.type="html",this.renderInstance=nu}readValueFromInstance(e,t){if(gs.has(t))return this.projection?.isProjecting?hs(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return ps(n,t)})(e,t);{const r=(n=e,window.getComputedStyle(n)),i=(Bo(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Qc(e,t)}build(e,t,n){tu(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return lu(e,t,n)}}const uu={offset:"stroke-dashoffset",array:"stroke-dasharray"},du={offset:"strokeDashoffset",array:"strokeDasharray"};const hu=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function pu(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s},l,c,u){if(tu(e,s,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 hu)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?uu:du;e[o.offset]=""+-r,e[o.array]=`${t} ${n}`}(d,i,o,a,!1)}const mu=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"]),fu=e=>"string"==typeof e&&"svg"===e.toLowerCase();function gu(e,t,n){const r=lu(e,t,n);for(const n in e)if(gl(e[n])||gl(t[n])){r[-1!==fs.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}class bu extends Gc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=yc}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(gs.has(t)){const e=Dl(t);return e&&e.default||0}return t=mu.has(t)?t:vl(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return gu(e,t,n)}build(e,t,n){pu(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){nu(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(mu.has(n)?n:vl(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=fu(e.tagName),super.mount(e)}}const vu=Ac.length;function yu(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&yu(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<vu;n++){const r=Ac[n],i=e.props[r];(wc(i)||!1===i)&&(t[r]=i)}return t}function xu(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 Iu=[...Cc].reverse(),wu=Cc.length;function Cu(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=>Cl(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=Cl(e,t,n);else{const i="function"==typeof t?cl(e,t,n.custom):t;r=Promise.all(wl(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}function Au(e){let t=Cu(e),n=Su(),r=!0,i=!1;const o=t=>(n,r)=>{const i=cl(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 a(a){const{props:s}=e,l=yu(e.parent)||{},c=[],u=new Set;let d={},h=1/0;for(let t=0;t<wu;t++){const p=Iu[t],m=n[p],f=void 0!==s[p]?s[p]:l[p],g=wc(f),b=p===a?m.isActive:null;!1===b&&(h=t);let v=f===l[p]&&f!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||Ic(f)||"boolean"==typeof f)continue;if("exit"===p&&m.isActive&&!0!==b){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}const y=Nu(m.prevProp,f);let x=y||p===a&&m.isActive&&!v&&g||t>h&&g,I=!1;const w=Array.isArray(f)?f:[f];let C=w.reduce(o(p),{});!1===b&&(C={});const{prevResolvedValues:A={}}=m,N={...A,...C},E=t=>{x=!0,u.has(t)&&(I=!0,u.delete(t)),m.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in N){const t=C[e],n=A[e];if(d.hasOwnProperty(e))continue;let r=!1;r=pl(t)&&pl(n)?!xu(t,n):t!==n,r?null!=t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(x=!1);const S=v&&y;x&&(!S||I)&&c.push(...w.map(t=>{const n={type:p};if("string"==typeof t&&(r||i)&&!S&&e.manuallyAnimateOnMount&&e.parent){const{parent:r}=e,i=cl(r,t);if(r.enteringChildren&&i){const{delayChildren:t}=i.transition||{};n.delay=$s(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){const t={};if("boolean"!=typeof s.initial){const n=cl(e,Array.isArray(s.initial)?s.initial[0]:s.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!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),r=!1,i=!1,p?t(c):Promise.resolve()}return{animateChanges:a,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=a(t);for(const e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Su(),i=!0}}}function Nu(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!xu(t,e)}function Eu(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Su(){return{animate:Eu(!0),whileInView:Eu(),whileHover:Eu(),whileTap:Eu(),whileDrag:Eu(),whileFocus:Eu(),exit:Eu()}}function Tu(e,t){e.min=t.min,e.max=t.max}function ku(e,t){Tu(e.x,t.x),Tu(e.y,t.y)}function Bu(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Pu(e){return e.max-e.min}function Lu(e,t,n,r=.5){e.origin=r,e.originPoint=da(t.min,t.max,e.origin),e.scale=Pu(n)/Pu(t),e.translate=da(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 Ru(e,t,n,r){Lu(e.x,t.x,n.x,r?r.originX:void 0),Lu(e.y,t.y,n.y,r?r.originY:void 0)}function Gu(e,t,n,r=0){const i=r?da(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Pu(t)}function Ou(e,t,n,r=0){const i=r?da(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Pu(t)}function Du(e,t,n,r){Ou(e.x,t.x,n.x,r?.x),Ou(e.y,t.y,n.y,r?.y)}function Mu(e,t,n,r,i){return e=Xc(e-=t,1/n,r),void 0!==i&&(e=Xc(e,1/i,r)),e}function Vu(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){Jo.test(t)&&(t=parseFloat(t),t=da(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=da(o.min,o.max,r);e===o&&(s-=t),e.min=Mu(e.min,t,n,s,i),e.max=Mu(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const ju=["x","scaleX","originX"],Wu=["y","scaleY","originY"];function Hu(e,t,n,r){Vu(e.x,t,ju,n?n.x:void 0,r?r.x:void 0),Vu(e.y,t,Wu,n?n.y:void 0,r?r.y:void 0)}function Xu(e){return 0===e.translate&&1===e.scale}function Fu(e){return Xu(e.x)&&Xu(e.y)}function zu(e,t){return e.min===t.min&&e.max===t.max}function Zu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Yu(e,t){return Zu(e.x,t.x)&&Zu(e.y,t.y)}function _u(e){return Pu(e.x)/Pu(e.y)}function Ju(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Uu(e){return[e("x"),e("y")]}const $u=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],Ku=$u.length,Qu=e=>"string"==typeof e?parseFloat(e):e,qu=e=>"number"==typeof e||Uo.test(e);function ed(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const td=rd(0,.5,ho),nd=rd(.5,.95,Yi);function rd(e,t,n){return r=>r<e?0:r>t?1:n(Ui(e,t,r))}function id(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const od=(e,t)=>e.depth-t.depth;class ad{constructor(){this.children=[],this.isDirty=!1}add(e){Oi(this.children,e),this.isDirty=!0}remove(e){Di(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(od),this.isDirty=!1,this.children.forEach(e)}}function sd(e){return gl(e)?e.get():e}class ld{constructor(){this.members=[]}add(e){Oi(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||(Di(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Di(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 cd={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ud=["","X","Y","Z"];let dd=0;function hd(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function pd(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=xl(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",wo,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&pd(r)}function md({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=dd++,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(bd),this.nodes.forEach(Ed),this.nodes.forEach(Sd),this.nodes.forEach(vd)},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 ad)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new $i),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=oc(t)&&!(oc(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;wo.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=To.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Co(r),e(o-t))};return wo.setup(r,!0),()=>Co(r)}(i,250),cd.hasAnimatedSinceResize&&(cd.hasAnimatedSinceResize=!1,this.nodes.forEach(Nd)))})}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()||Rd,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!Yu(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={...il(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||Nd(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(),Co(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(Td),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&&pd(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(Id),void this.nodes.forEach(xd)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(wd);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Cd),this.nodes.forEach(Ad),this.nodes.forEach(fd),this.nodes.forEach(gd)):this.nodes.forEach(wd),this.clearAllSnapshots();const e=To.now();Ao.delta=Mi(0,1e3/60,e-Ao.timestamp),Ao.timestamp=e,Ao.isProcessing=!0,No.update.process(Ao),No.preRender.process(Ao),No.render.process(Ao),Ao.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zl.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(yd),this.sharedNodes.forEach(kd)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,wo.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){wo.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Pu(this.snapshot.measuredBox.x)||Pu(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&&!Fu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||jc(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)),Dd((r=n).x),Dd(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(Vd))){const{scroll:e}=this.root;e&&(Jc(t.x,e.offset.x),Jc(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(ku(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&&ku(t,e),Jc(t.x,i.offset.x),Jc(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}};ku(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&&(Jc(r.x,-n.scroll.offset.x),Jc(r.y,-n.scroll.offset.y)),jc(n.latestValues)&&Kc(r,n.latestValues,n.layout?.layoutBox)}return jc(this.latestValues)&&Kc(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ku(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!jc(n.latestValues))continue;let r;n.instance&&(Vc(n.latestValues)&&n.updateSnapshot(),r=yc(),ku(r,n.measurePageBox())),Hu(t,n.latestValues,n.snapshot?.layoutBox,r)}return jc(this.latestValues)&&Hu(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!==Ao.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=Ao.timestamp;const o=this.getClosestProjectingParent();var a,s,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(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,Gu(a.x,s.x,l.x,c?.x),Gu(a.y,s.y,l.y,c?.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):ku(this.target,this.layout.layoutBox),Zc(this.target,this.targetDelta)):ku(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&&!Vc(this.parent.latestValues)&&!Wc(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}},Du(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),ku(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===Ao.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;ku(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const{visualElement:i}=o.options;i&&i.props.style&&"contents"===i.props.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(Jc(e.x,-o.scroll.offset.x),Jc(e.y,-o.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Zc(e,a)),r&&jc(o.latestValues)&&Kc(e,o.latestValues,o.layout?.layoutBox))}t.x<_c&&t.x>Yc&&(t.x=1),t.y<_c&&t.y>Yc&&(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:s}=e;s?(this.projectionDelta&&this.prevProjectionDelta?(Bu(this.prevProjectionDelta.x,this.projectionDelta.x),Bu(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ru(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&Ju(this.projectionDelta.x,this.prevProjectionDelta.x)&&Ju(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))):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 a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Ld));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h;Bd(o.x,e.x,n),Bd(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Du(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),function(e,t,n,r){Pd(e.x,t.x,n.x,r),Pd(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&(l=this.relativeTarget,h=d,zu(l.x,h.x)&&zu(l.y,h.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),ku(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=da(0,n.opacity??1,td(r)),e.opacityExit=da(t.opacity??1,0,nd(r))):o&&(e.opacity=da(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ku;i++){const o=$u[i];let a=ed(t,o),s=ed(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||qu(a)===qu(s)?(e[o]=Math.max(da(Qu(a),Qu(s),r),0),(Jo.test(s)||Jo.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=da(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&&(Co(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=wo.update(()=>{cd.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=hl(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(e,t,n){const r=gl(e)?e:hl(e);return r.start(al("",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&&Md(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Pu(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Pu(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}ku(t,n),Kc(t,i),Ru(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ld);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&&hd("z",e,r,this.animationValues);for(let t=0;t<ud.length;t++)hd(`rotate${ud[t]}`,e,r,this.animationValues),hd(`skew${ud[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=sd(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=sd(t?.pointerEvents)||""),void(this.hasProjected&&!jc(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,a=n?.z||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}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:a,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),a&&(r+=`skewX(${a}deg) `),s&&(r+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),e.transform=o;const{x:a,y:s}=this.projectionDelta;e.transformOrigin=`${100*a.origin}% ${100*s.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 au){if(void 0===i[t])continue;const{correct:n,applyTo:a,isCSSVariable:s}=au[t],l="none"===o?i[t]:n(i[t],r);if(a){const t=a.length;for(let n=0;n<t;n++)e[a[n]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?sd(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(xd),this.root.sharedNodes.clear()}}}function fd(e){e.updateLayout()}function gd(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)Uu(e=>{const r=o?t.measuredBox[e]:t.layoutBox[e],i=Pu(r);r.min=n[e].min,r.max=r.min+i});else if("x"===i||"y"===i){const e="x"===i?"y":"x";Tu(o?t.measuredBox[e]:t.layoutBox[e],n[e])}else Md(i,t.layoutBox,n)&&Uu(r=>{const i=o?t.measuredBox[r]:t.layoutBox[r],a=Pu(n[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ru(a,n,t.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Ru(s,e.applyTransform(r,!0),t.measuredBox):Ru(s,n,t.layoutBox);const l=!Fu(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a=e.options.layoutAnchor||void 0,s={x:{min:0,max:0},y:{min:0,max:0}};Du(s,t.layoutBox,i.layoutBox,a);const l={x:{min:0,max:0},y:{min:0,max:0}};Du(l,n,o.layoutBox,a),Yu(s,l)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function bd(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 vd(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function yd(e){e.clearSnapshot()}function xd(e){e.clearMeasurements()}function Id(e){e.isLayoutDirty=!0,e.updateLayout()}function wd(e){e.isLayoutDirty=!1}function Cd(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Ad(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Nd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ed(e){e.resolveTargetDelta()}function Sd(e){e.calcProjection()}function Td(e){e.resetSkewAndRotation()}function kd(e){e.removeLeadSnapshot()}function Bd(e,t,n){e.translate=da(t.translate,0,n),e.scale=da(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Pd(e,t,n,r){e.min=da(t.min,n.min,r),e.max=da(t.max,n.max,r)}function Ld(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Rd={duration:.45,ease:[.4,0,.1,1]},Gd=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Od=Gd("applewebkit/")&&!Gd("chrome/")?Math.round:Yi;function Dd(e){e.min=Od(e.min),e.max=Od(e.max)}function Md(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=_u(t),i=_u(n),o=.2,!(Math.abs(r-i)<=o));var r,i,o}function Vd(e){return e!==e.root&&e.scroll?.wasRoot}const jd=md({attachResizeListener:(e,t)=>id(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Wd={current:void 0},Hd=md({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wd.current){const e=new jd({});e.mount(window),e.setOptions({layoutScroll:!0}),Wd.current=e}return Wd.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Xd=h({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Fd(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function zd(...e){return r.useCallback(function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=Fd(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():Fd(e[t],null)}}}}(...e),e)}class Zd extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(Fl(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const e=t.offsetParent,n=Fl(e)&&e.offsetWidth||0,r=Fl(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 Yd({children:t,isPresent:n,anchorX:i,anchorY:o,root:a,pop:s}){const c=m(),u=l(null),d=l({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:h}=f(Xd),p=t.props?.ref??t?.ref,b=zd(u,p);return g(()=>{const{width:e,height:t,top:r,left:l,right:p,bottom:m}=d.current;if(n||!1===s||!u.current||!e||!t)return;const f="left"===i?`left: ${l}`:`right: ${p}`,g="bottom"===o?`bottom: ${m}`:`top: ${r}`;u.current.dataset.motionPopId=c;const b=document.createElement("style");h&&(b.nonce=h);const v=a??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)}},[n]),e(Zd,{isPresent:n,childRef:u,sizeRef:d,pop:s,children:!1===s?t:r.cloneElement(t,{ref:b})})}const _d=({children:t,initial:n,isPresent:i,onExitComplete:o,custom:s,presenceAffectsLayout:l,mode:c,anchorX:u,anchorY:d,root:h})=>{const p=Li(Jd),f=m();let g=!0,b=a(()=>(g=!1,{id:f,initial:n,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 l&&g&&(b={...b}),a(()=>{p.forEach((e,t)=>p.set(t,!1))},[i]),r.useEffect(()=>{!i&&!p.size&&o&&o()},[i]),t=e(Yd,{pop:"popLayout"===c,isPresent:i,anchorX:u,anchorY:d,root:h,children:t}),e(Gi.Provider,{value:b,children:t})};function Jd(){return new Map}function Ud(e=!0){const t=f(Gi);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=m();u(()=>{if(e)return i(o)},[e]);const a=d(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}const $d=e=>e.key||"";function Kd(e){const t=[];return b.forEach(e,e=>{v(e)&&t.push(e)}),t}const Qd=({children:t,custom:r,initial:i=!0,onExitComplete:o,presenceAffectsLayout:s=!0,mode:u="sync",propagate:d=!1,anchorX:h="left",anchorY:p="top",root:m})=>{const[g,b]=Ud(d),v=a(()=>Kd(t),[t]),y=d&&!g?[]:v.map($d),x=l(!0),I=l(v),w=Li(()=>new Map),C=l(new Set),[A,N]=c(v),[E,S]=c(v);Ri(()=>{x.current=!1,I.current=v;for(let e=0;e<E.length;e++){const t=$d(E[e]);y.includes(t)?(w.delete(t),C.current.delete(t)):!0!==w.get(t)&&w.set(t,!1)}},[E,y.length,y.join("-")]);const T=[];if(v!==A){let e=[...v];for(let t=0;t<E.length;t++){const n=E[t],r=$d(n);y.includes(r)||(e.splice(t,0,n),T.push(n))}return"wait"===u&&T.length&&(e=T),S(Kd(e)),N(v),null}"production"!==process.env.NODE_ENV&&"wait"===u&&E.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:k}=f(Pi);return e(n,{children:E.map(t=>{const n=$d(t),a=!(d&&!g)&&(v===E||y.includes(n));return e(_d,{isPresent:a,initial:!(x.current&&!i)&&void 0,custom:r,presenceAffectsLayout:s,mode:u,root:m,onExitComplete:a?void 0:()=>{if(C.current.has(n))return;if(!w.has(n))return;C.current.add(n),w.set(n,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(k?.(),S(I.current),d&&b?.(),o&&o())},anchorX:h,anchorY:p,children:t},n)})})},qd=h({strict:!1}),eh={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 th=!1;function nh(){return function(){if(th)return;const e={};for(const t in eh)e[t]={isEnabled:e=>eh[t].some(t=>!!e[t])};Lc(e),th=!0}(),Pc}const rh=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 ih(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||rh.has(e)}let oh=e=>!ih(e);try{"function"==typeof(ah=require("@emotion/is-prop-valid").default)&&(oh=e=>e.startsWith("on")?!ih(e):ah(e))}catch{}var ah;const sh=h({});function lh(e){const{initial:t,animate:n}=function(e,t){if(Nc(e)){const{initial:t,animate:n}=e;return{initial:!1===t||wc(t)?t:void 0,animate:wc(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,f(sh));return a(()=>({initial:t,animate:n}),[ch(t),ch(n)])}function ch(e){return Array.isArray(e)?e.join(" "):e}const uh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function dh(e,t,n){for(const r in t)gl(t[r])||su(r,n)||(e[r]=t[r])}function hh(e,t){const n={};return dh(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return tu(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function ph(e,t){const n={},r=hh(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 mh=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function fh(e,t,n,r){const i=a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return pu(n,t,fu(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};dh(t,e.style,e),i.style={...t,...i.style}}return i}const gh=["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 bh(e){return"string"==typeof e&&!e.includes("-")&&!!(gh.indexOf(e)>-1||/[A-Z]/u.test(e))}function vh(e,t,n,{latestValues:r},i,o=!1,l){const c=(l??bh(e)?fh:ph)(t,r,i,e),u=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||gl(e[i])||(oh(i)||!0===n&&ih(i)||!t&&!ih(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(t,"string"==typeof e,o),d=e!==y?{...u,...c,ref:n}:{},{children:h}=t,p=a(()=>gl(h)?h.get():h,[h]);return s(e,{...d,children:p})}function yh(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=sd(o[e]);let{initial:a,animate:s}=e;const l=Nc(e),c=Ec(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!Ic(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=ll(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 xh=e=>(t,n)=>{const r=f(sh),i=f(Gi),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:yh(n,r,i,e),renderState:t()}}(e,t,r,i);return n?o():Li(o)},Ih=xh({scrapeMotionValuesFromProps:lu,createRenderState:uh}),wh=xh({scrapeMotionValuesFromProps:gu,createRenderState:mh}),Ch=Symbol.for("motionComponentSymbol");function Ah(e,t,n){const r=l(n);g(()=>{r.current=n});const i=l(null);return d(n=>{n&&e.onMount?.(n);const o=r.current;if("function"==typeof o)if(n){const e=o(n);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):o(n);else o&&(o.current=n);t&&(n?t.mount(n):t.unmount())},[t])}const Nh=h({});function Eh(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Sh(e,t,n,r,i,o){const{visualElement:a}=f(sh),s=f(qd),c=f(Gi),d=f(Xd),h=d.reducedMotion,p=d.skipAnimations,m=l(null),b=l(!1);r=r||s.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:h,skipAnimations:p,isSVG:o}),b.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));const v=m.current,y=f(Nh);!v||v.projection||!i||"html"!==v.type&&"svg"!==v.type||function(e,t,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Th(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:Boolean(a)||s&&Eh(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(m.current,n,i,y);const x=l(!1);g(()=>{v&&x.current&&v.update(n,c)});const I=n[yl],w=l(Boolean(I)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(I)&&window.MotionHasOptimisedAnimation?.(I));return Ri(()=>{b.current=!0,v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),w.current&&v.animationState&&v.animationState.animateChanges())}),u(()=>{v&&(!w.current&&v.animationState&&v.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(I)}),w.current=!1),v.enteringChildren=void 0)}),v}function Th(e){if(e)return!1!==e.options.allowProjection?e.projection:Th(e.parent)}function kh(n,{forwardMotionProps:r=!1,type:i}={},a,s){a&&function(e){const t=nh();for(const n in e)t[n]={...t[n],...e[n]};Lc(t)}(a);const l=i?"svg"===i:bh(n),c=l?wh:Ih;function u(i,o){let u;const d={...f(Xd),...i,layoutId:Bh(i)},{isStatic:h}=d,p=lh(i),m=c(i,h);if(!h&&"undefined"!=typeof window){!function(e,t){const n=f(qd).strict;if("production"!==process.env.NODE_ENV&&t&&n){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?ji(!1,t,"lazy-strict-mode"):Wi(!1,t,"lazy-strict-mode")}}(d,a);const e=function(e){const t=nh(),{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=Sh(n,m,d,s,e.ProjectionNode,l)}return t(sh.Provider,{value:p,children:[u&&p.visualElement?e(u,{visualElement:p.visualElement,...d}):null,vh(n,i,Ah(m,p.visualElement,o),m,h,r,l)]})}u.displayName=`motion.${"string"==typeof n?n:`create(${n.displayName??n.name??""})`}`;const d=o(u);return d[Ch]=n,d}function Bh({layoutId:e}){const t=f(Pi).id;return t&&void 0!==e?t+"-"+e:e}function Ph(e,t){if("undefined"==typeof Proxy)return kh;const n=new Map,r=(n,r)=>kh(n,r,e,t);return new Proxy((e,t)=>("production"!==process.env.NODE_ENV&&to(!1,"motion() is deprecated. Use motion.create() instead."),r(e,t)),{get:(i,o)=>"create"===o?r:(n.has(o)||n.set(o,kh(o,void 0,e,t)),n.get(o))})}const Lh=(e,t)=>t.isSVG??bh(e)?new bu(t):new cu(t,{allowProjection:e!==y});let Rh=0;const Gh={animation:{Feature:class extends Oc{constructor(e){super(e),e.animationState||(e.animationState=Au(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Ic(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 Oc{constructor(){super(...arguments),this.id=Rh++,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=cl(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 Oh(e){return{point:{x:e.pageX,y:e.pageY}}}function Dh(e,t,n,r){return id(e,t,(e=>t=>$l(t)&&e(t,Oh(t)))(n),r)}const Mh=({current:e})=>e?e.ownerDocument.defaultView:null,Vh=(e,t)=>Math.abs(e-t);const jh=new Set(["auto","scroll"]);class Wh{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:a}={}){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=Hh(this.lastRawMoveEventInfo,this.transformPagePoint));const e=Fh(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Vh(e.x,t.x),r=Vh(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}=Ao;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Hh(t,this.transformPagePoint),wo.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=Fh("pointercancel"===e.type?this.lastMoveEventInfo:Hh(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!$l(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;const s=Hh(Oh(e),this.transformPagePoint),{point:l}=s,{timestamp:c}=Ao;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=t;u&&u(e,Fh(s,this.history)),this.removeListeners=Ji(Dh(this.contextWindow,"pointermove",this.handlePointerMove),Dh(this.contextWindow,"pointerup",this.handlePointerUp),Dh(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(jh.has(e.overflowX)||jh.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),wo.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Co(this.updatePoint)}}function Hh(e,t){return t?{point:t(e.point)}:e}function Xh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fh({point:e},t){return{point:e,delta:Xh(e,Zh(t)),offset:Xh(e,zh(t)),velocity:Yh(t,.1)}}function zh(e){return e[0]}function Zh(e){return e[e.length-1]}function Yh(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Zh(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ki(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>2*Ki(t)&&(r=e[1]);const o=Qi(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function _h(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 Jh(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 Uh=.35;function $h(e,t,n){return{min:Kh(e,t),max:Kh(e,n)}}function Kh(e,t){return"number"==typeof e?e:e[t]||0}const Qh=new WeakMap;class qh{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 Wh(e,{onSessionStart:e=>{t&&this.snapToCursor(Oh(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?Zl[o]?null:(Zl[o]=!0,()=>{Zl[o]=!1}):Zl.x||Zl.y?null:(Zl.x=Zl.y=!0,()=>{Zl.x=Zl.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),Uu(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Jo.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Pu(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&wo.update(()=>i(e,t),!1,!0),bl(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.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:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&wo.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:Mh(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:a}=this.getProps();a&&wo.postRender(()=>a(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||!tp(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?da(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?da(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&&Eh(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:_h(e.x,n,i),y:_h(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Uh){return!1===e?e=0:!0===e&&(e=Uh),{x:$h(e,"left","right"),y:$h(e,"top","bottom")}}(t),r!==this.constraints&&!Eh(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Uu(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||!Eh(e))return!1;const n=e.current;Wi(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=Qc(e,n),{scroll:i}=t;return i&&(Jc(r.x,i.offset.x),Jc(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Jh(e.x,t.x),y:Jh(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=Dc(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Uu(a=>{if(!tp(a,t,this.currentDirection))return;let l=s&&s[a]||{};!0!==o&&o!==a||(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return bl(this.visualElement,e),n.start(al(e,n,0,t,this.visualElement,!1))}stopAnimation(){Uu(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){Uu(t=>{const{drag:n}=this.getProps();if(!tp(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],a=i.get()||0;i.set(e[t]-da(n,o,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Eh(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Uu(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=Pu(e),i=Pu(t);return i>r?n=Ui(t.min,t.max-r,e.min):r>i&&(n=Ui(e.min,e.max-i,t.min)),Mi(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(),Uu(t=>{if(!tp(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(da(i,o,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Qh.set(this.visualElement,this);const e=this.visualElement.current,t=Dh(e,"pointerdown",t=>{const{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,o=i!==e&&function(e){return Ql.has(e.tagName)||!0===e.isContentEditable}(i);n&&r&&!o&&this.start(t)});let n;const r=()=>{const{dragConstraints:t}=this.getProps();Eh(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(e,t,n){const r=bc(e,ep(n)),i=bc(t,ep(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()),wo.read(r);const a=id(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Uu(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),t(),o(),s&&s(),n&&n()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Uh,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function ep(e){let t=!0;return()=>{t?t=!1:e()}}function tp(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const np=e=>(t,n)=>{e&&wo.update(()=>e(t,n),!1,!0)};let rp=!1;class ip extends x{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),rp&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),cd.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}),rp=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||wo.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(),zl.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;rp=!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 op(t){const[n,r]=Ud(),i=f(Pi);return e(ip,{...t,layoutGroup:i,switchLayoutGroup:f(Nh),isPresent:n,safeToRemove:r})}const ap={pan:{Feature:class extends Oc{constructor(){super(...arguments),this.removePointerDownListener=Yi}onPointerDown(e){this.session=new Wh(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Mh(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:np(e),onStart:np(t),onMove:np(n),onEnd:(e,t)=>{delete this.session,r&&wo.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Dh(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 Oc{constructor(e){super(e),this.removeGroupControls=Yi,this.removeListeners=Yi,this.controls=new qh(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yi}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:Hd,MeasureLayout:op}};function sp(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const i=r["onHover"+n];i&&wo.postRender(()=>i(t,Oh(t)))}function lp(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&&wo.postRender(()=>i(t,Oh(t)))}const cp=new WeakMap,up=new WeakMap,dp=e=>{const t=cp.get(e.target);t&&t(e)},hp=e=>{e.forEach(dp)};function pp(e,t,n){const r=function({root:e,...t}){const n=e||document;up.has(n)||up.set(n,{});const r=up.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(hp,{root:e,...t})),r[i]}(t);return cp.set(e,n),r.observe(e),()=>{cp.delete(e),r.unobserve(e)}}const mp={some:0,all:1};const fp={inView:{Feature:class extends Oc{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:mp[r]};this.stopObserver=pp(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 Oc{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=ic(e,(e,t)=>(lp(this.node,t,"Start"),(e,{success:t})=>lp(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends Oc{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=Ji(id(this.node.current,"focus",()=>this.onFocus()),id(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Oc{mount(){const{current:e}=this.node;e&&(this.unmount=Jl(e,(e,t)=>(sp(this.node,t,"Start"),e=>sp(this.node,e,"End"))))}unmount(){}}}},gp=Ph({...Gh,...fp,...ap,...{layout:{ProjectionNode:Hd,MeasureLayout:op}}},Lh);function bp(){return bp=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},bp.apply(null,arguments)}function vp(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 yp(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function xp(...e){return d(yp(...e),e)}function Ip(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return a(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const wp=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Cp=r["useId".toString()]||(()=>{});let Ap=0;function Np(e){const[t,n]=r.useState(Cp());return wp(()=>{n(e=>null!=e?e:String(Ap++))},[e]),e||(t?`radix-${t}`:"")}function Ep(e){const t=l(e);return u(()=>{t.current=e}),a(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Sp({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=c(e),[r]=n,i=l(r),o=Ep(t);return u(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,a=o?e:r,s=Ep(n);return[a,d(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[o,e,i,s])]}const Tp=o((e,t)=>{const{children:n,...r}=e,i=b.toArray(n),o=i.find(Pp);if(o){const e=o.props.children,n=i.map(t=>t===o?b.count(e)>1?b.only(null):v(e)?e.props.children:null:t);return s(kp,bp({},r,{ref:t}),v(e)?I(e,void 0,n):null)}return s(kp,bp({},r,{ref:t}),n)});Tp.displayName="Slot";const kp=o((e,t)=>{const{children:n,...r}=e;return v(n)?I(n,{...Lp(r,n.props),ref:t?yp(t,n.ref):n.ref}):b.count(n)>1?b.only(null):null});kp.displayName="SlotClone";const Bp=({children:e})=>s(y,null,e);function Pp(e){return v(e)&&e.type===Bp}function Lp(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 Rp=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=o((e,n)=>{const{asChild:r,...i}=e,o=r?Tp:t;return u(()=>{window[Symbol.for("radix-ui")]=!0},[]),s(o,bp({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Gp="dismissableLayer.update",Op="dismissableLayer.pointerDownOutside",Dp="dismissableLayer.focusOutside";let Mp;const Vp=h({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jp=o((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:d,onDismiss:h,...p}=e,m=f(Vp),[g,b]=c(null),v=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=xp(t,e=>b(e)),I=Array.from(m.layers),[w]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),C=I.indexOf(w),A=g?I.indexOf(g):-1,N=m.layersWithOutsidePointerEventsDisabled.size>0,E=A>=C,S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Ep(e),r=l(!1),i=l(()=>{});return u(()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){Hp(Op,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...m.branches].some(e=>e.contains(t));E&&!n&&(null==o||o(e),null==d||d(e),e.defaultPrevented||null==h||h())},v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Ep(e),r=l(!1);return u(()=>{const e=e=>{if(e.target&&!r.current){Hp(Dp,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...m.branches].some(e=>e.contains(t))||(null==a||a(e),null==d||d(e),e.defaultPrevented||null==h||h())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Ep(e);u(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===m.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&h&&(e.preventDefault(),h()))},v),u(()=>{if(g)return r&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(Mp=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(g)),m.layers.add(g),Wp(),()=>{r&&1===m.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Mp)}},[g,v,r,m]),u(()=>()=>{g&&(m.layers.delete(g),m.layersWithOutsidePointerEventsDisabled.delete(g),Wp())},[g,m]),u(()=>{const e=()=>y({});return document.addEventListener(Gp,e),()=>document.removeEventListener(Gp,e)},[]),s(Rp.div,bp({},p,{ref:x,style:{pointerEvents:N?E?"auto":"none":void 0,...e.style},onFocusCapture:vp(e.onFocusCapture,T.onFocusCapture),onBlurCapture:vp(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:vp(e.onPointerDownCapture,S.onPointerDownCapture)}))});function Wp(){const e=new CustomEvent(Gp);document.dispatchEvent(e)}function Hp(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&S(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const Xp="focusScope.autoFocusOnMount",Fp="focusScope.autoFocusOnUnmount",zp={bubbles:!1,cancelable:!0},Zp=o((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[h,p]=c(null),m=Ep(i),f=Ep(o),g=l(null),b=xp(t,e=>p(e)),v=l({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u(()=>{if(r){function e(e){if(v.paused||!h)return;const t=e.target;h.contains(t)?g.current=t:Up(g.current,{select:!0})}function t(e){if(v.paused||!h)return;const t=e.relatedTarget;null!==t&&(h.contains(t)||Up(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Up(h)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const i=new MutationObserver(n);return h&&i.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[r,h,v.paused]),u(()=>{if(h){$p.add(v);const t=document.activeElement;if(!h.contains(t)){const n=new CustomEvent(Xp,zp);h.addEventListener(Xp,m),h.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Up(r,{select:t}),document.activeElement!==n)return}((e=Yp(h),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Up(h))}return()=>{h.removeEventListener(Xp,m),setTimeout(()=>{const e=new CustomEvent(Fp,zp);h.addEventListener(Fp,f),h.dispatchEvent(e),e.defaultPrevented||Up(null!=t?t:document.body,{select:!0}),h.removeEventListener(Fp,f),$p.remove(v)},0)}}var e},[h,m,f,v]);const y=d(e=>{if(!n&&!r)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[r,o]=function(e){const t=Yp(e),n=_p(t,e),r=_p(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&Up(o,{select:!0})):(e.preventDefault(),n&&Up(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return s(Rp.div,bp({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function Yp(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 _p(e,t){for(const n of e)if(!Jp(n,{upTo:t}))return n}function Jp(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 Up(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 $p=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Kp(e,t),e.unshift(t)},remove(t){var n;e=Kp(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Kp(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Qp=o((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?E.createPortal(s(Rp.div,bp({},i,{ref:t})),r):null});const qp=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=c(),r=l({}),i=l(e),o=l("none"),a=e?"mounted":"unmounted",[s,h]=function(e,t){return w((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u(()=>{const e=em(r.current);o.current="mounted"===s?e:"none"},[s]),wp(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=em(t);if(e)h("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))h("UNMOUNT");else{h(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,h]),wp(()=>{if(t){const e=e=>{const n=em(r.current).includes(e.animationName);e.target===t&&n&&S(()=>h("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=em(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:d(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):b.only(n),o=xp(r.ref,i.ref);return"function"==typeof n||r.isPresent?I(i,{ref:o}):null};function em(e){return(null==e?void 0:e.animationName)||"none"}qp.displayName="Presence";let tm=0;function nm(){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 rm=function(){return rm=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},rm.apply(this,arguments)};function im(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 om="right-scroll-bar-position",am="width-before-scroll-bar";function sm(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var lm="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,cm=new WeakMap;function um(e,t){var n,r,i,o=(n=null,r=function(t){return e.forEach(function(e){return sm(e,t)})},(i=c(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return lm(function(){var t=cm.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||sm(e,null)}),r.forEach(function(e){n.has(e)||sm(e,i)})}cm.set(o,e)},[e]),o}function dm(e){return e}var hm=function(e){var t=e.sideCar,n=im(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return r.createElement(i,rm({},n))};hm.isSideCarExport=!0;var pm=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=dm);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=rm({async:!0,ssr:!1},e),t}(),mm=function(){},fm=r.forwardRef(function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:mm,onWheelCapture:mm,onTouchMoveCapture:mm}),o=i[0],a=i[1],s=e.forwardProps,l=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=im(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,I=um([n,t]),w=rm(rm({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:pm,removeScrollBar:u,shards:h,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),rm(rm({},w),{ref:I})):r.createElement(v,rm({},w,{className:c,ref:I}),l))});fm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},fm.classNames={fullWidth:am,zeroRight:om};function gm(){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 bm=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=gm())&&(!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)}}},vm=function(){var e,t=(e=bm(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},ym={left:0,top:0,right:0,gap:0},xm=function(e){return parseInt(e||"",10)||0},Im=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ym;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[xm(n),xm(r),xm(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])}},wm=vm(),Cm="data-scroll-locked",Am=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(Cm,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(om," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(am," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(om," .").concat(om," {\n right: 0 ").concat(r,";\n }\n \n .").concat(am," .").concat(am," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Cm,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Nm=function(){var e=parseInt(document.body.getAttribute(Cm)||"0",10);return isFinite(e)?e:0},Em=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(Cm,(Nm()+1).toString()),function(){var e=Nm()-1;e<=0?document.body.removeAttribute(Cm):document.body.setAttribute(Cm,e.toString())}},[]);var a=r.useMemo(function(){return Im(o)},[o]);return r.createElement(wm,{styles:Am(a,!t,o,n?"":"!important")})},Sm=!1;if("undefined"!=typeof window)try{var Tm=Object.defineProperty({},"passive",{get:function(){return Sm=!0,!0}});window.addEventListener("test",Tm,Tm),window.removeEventListener("test",Tm,Tm)}catch(e){Sm=!1}var km=!!Sm&&{passive:!1},Bm=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])},Pm=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Lm(e,n)){var r=Rm(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Lm=function(e,t){return"v"===e?function(e){return Bm(e,"overflowY")}(t):function(e){return Bm(e,"overflowX")}(t)},Rm=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)},Gm=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Om=function(e){return[e.deltaX,e.deltaY]},Dm=function(e){return e&&"current"in e?e.current:e},Mm=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Vm=0,jm=[];var Wm,Hm=(Wm=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(Vm++)[0],a=r.useState(function(){return vm()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Dm),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=Gm(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=Pm(d,u);if(!h)return!0;if(h?r=d:(r="v"===d?"h":"v",h=Pm(d,u)),!h)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var p=i.current||r;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var h=Rm(e,a),p=h[0],m=h[1]-h[2]-i*p;(p||m)&&Lm(e,a)&&(u+=m,d+=p),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(p,t,e,"h"===p?l:c)},[]),c=r.useCallback(function(e){var n=e;if(jm.length&&jm[jm.length-1]===a){var r="deltaY"in n?Om(n):Gm(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(Dm).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=r.useCallback(function(e){n.current=Gm(e),i.current=void 0},[]),h=r.useCallback(function(t){u(t.type,Om(t),t.target,l(t,e.lockRef.current))},[]),p=r.useCallback(function(t){u(t.type,Gm(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return jm.push(a),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",c,km),document.addEventListener("touchmove",c,km),document.addEventListener("touchstart",d,km),function(){jm=jm.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,km),document.removeEventListener("touchmove",c,km),document.removeEventListener("touchstart",d,km)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:Mm(o)}):null,m?r.createElement(Em,{gapMode:"margin"}):null)},pm.useMedium(Wm),hm),Xm=r.forwardRef(function(e,t){return r.createElement(fm,rm({},e,{ref:t,sideCar:Hm}))});Xm.classNames=fm.classNames;var Fm=new WeakMap,zm=new WeakMap,Zm={},Ym=0,_m=function(e){return e&&(e.host||_m(e.parentNode))},Jm=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=_m(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]);Zm[n]||(Zm[n]=new WeakMap);var o=Zm[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Fm.get(e)||0)+1,c=(o.get(e)||0)+1;Fm.set(e,l),o.set(e,c),a.push(e),1===l&&i&&zm.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Ym++,function(){a.forEach(function(e){var t=Fm.get(e)-1,i=o.get(e)-1;Fm.set(e,t),o.set(e,i),t||(zm.has(e)||e.removeAttribute(r),zm.delete(e)),i||e.removeAttribute(n)}),--Ym||(Fm=new WeakMap,Fm=new WeakMap,zm=new WeakMap,Zm={})}},Um=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"))),Jm(r,i,n,"aria-hidden")):function(){return null}};const $m="Dialog",[Km,Qm]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>h(e));return function(n){const r=(null==n?void 0:n[e])||t;return a(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=h(r),o=n.length;function l(t){const{scope:n,children:r,...l}=t,c=(null==n?void 0:n[e][o])||i,u=a(()=>l,Object.values(l));return s(c.Provider,{value:u},r)}return n=[...n,r],l.displayName=t+"Provider",[l,function(n,a){const s=(null==a?void 0:a[e][o])||i,l=f(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Ip(r,...t)]}($m),[qm,ef]=Km($m),tf="DialogPortal",[nf,rf]=Km(tf,{forceMount:void 0}),of="DialogOverlay",af=o((e,t)=>{const n=rf(of,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=ef(of,e.__scopeDialog);return o.modal?s(qp,{present:r||o.open},s(sf,bp({},i,{ref:t}))):null}),sf=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=ef(of,n);return s(Xm,{as:Tp,allowPinchZoom:!0,shards:[i.contentRef]},s(Rp.div,bp({"data-state":gf(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),lf="DialogContent",cf=o((e,t)=>{const n=rf(lf,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=ef(lf,e.__scopeDialog);return s(qp,{present:r||o.open},o.modal?s(uf,bp({},i,{ref:t})):s(df,bp({},i,{ref:t})))}),uf=o((e,t)=>{const n=ef(lf,e.__scopeDialog),r=l(null),i=xp(t,n.contentRef,r);return u(()=>{const e=r.current;if(e)return Um(e)},[]),s(hf,bp({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:vp(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:vp(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:vp(e.onFocusOutside,e=>e.preventDefault())}))}),df=o((e,t)=>{const n=ef(lf,e.__scopeDialog),r=l(!1),i=l(!1);return s(hf,bp({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),hf=o((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,c=ef(lf,n),d=xp(t,l(null));return u(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:nm()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:nm()),tm++,()=>{1===tm&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),tm--}},[]),s(y,null,s(Zp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},s(jp,bp({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":gf(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),pf="DialogTitle",mf="DialogClose",ff=o((e,t)=>{const{__scopeDialog:n,...r}=e,i=ef(mf,n);return s(Rp.button,bp({type:"button"},r,{ref:t,onClick:vp(e.onClick,()=>i.onOpenChange(!1))}))});function gf(e){return e?"open":"closed"}!function(e,t){const n=h(t);function r(e){const{children:t,...r}=e,i=a(()=>r,Object.values(r));return s(n.Provider,{value:i},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:lf,titleName:pf,docsSlug:"dialog"});const bf=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,c=l(null),u=l(null),[h=!1,p]=Sp({prop:r,defaultProp:i,onChange:o});return s(qm,{scope:t,triggerRef:c,contentRef:u,contentId:Np(),titleId:Np(),descriptionId:Np(),open:h,onOpenChange:p,onOpenToggle:d(()=>p(e=>!e),[p]),modal:a},n)},vf=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=ef(tf,t);return s(nf,{scope:t,forceMount:n},b.map(r,e=>s(qp,{present:n||o.open},s(Qp,{asChild:!0,container:i},e))))},yf=af,xf=cf,If=ff,wf=n=>{const{isOpen:r,onRequestClose:i,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:h=0}=n;return e(bf,{open:r,onOpenChange:()=>r&&(null==i?void 0:i()),children:t(vf,{children:[e(gp.div,{initial:"closed",animate:r?"open":"closed",variants:Ti,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(yf,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(gp.div,{initial:"closed",animate:r?"open":"closed",variants:ki,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(xf,{className:Ze("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:Bi[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":h,children:[e(If,{asChild:!0,children:e(Or,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(gr,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(br,{className:Ze("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(br,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},Cf=({children:n,background:r,className:i,fill:o="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},h="string"==typeof r&&r in d,p=h?d[r]:void 0,m=r&&!h?{background:r}:void 0,f=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=i?i:""} ${a?"max-content":""} ${null!=p?p:m?"":"bg-white"}`,style:m,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:i,style:m,children:n})},Af=({title:n,background:r="white",button:i,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:h,renderCheckPlans:p})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[r]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[n&&e(br,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(br,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(Or,{...i,renderCheckPlans:p,onModalButtonClick:h,size:{base:"large"}})})]})}),Nf=({background:r="white",description:i,enableHeading:o,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(br,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(br,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[i&&e(br,{as:"p",className:"body1",children:i}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(Ir,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].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("li",{children:e(Ir,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Hr,{width:472,height:100,src:a,alt:"image"})})]})]})}),Ef=({title:n,disclaimer:r,table:i,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(o?"max-w-120 xl:mx-auto":""),children:[e(br,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:i}),e(br,{as:"div",className:"micro mt-8 text-center",children:r})]})}),Sf=({currentPage:n,totalPages:r,onPageChange:i,ariaLabel:o="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,r),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 t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e(Tr,{className:s,onClick:()=>i(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(gr,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,r)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e(Tr,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>i(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(Tr,{className:s,onClick:()=>i(n+1),disabled:n===r,"aria-label":"Go to next page",children:e(gr,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Tf(e){return Tf="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},Tf(e)}function kf(e){var t=function(e,t){if("object"!=Tf(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Tf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tf(t)?t:t+""}function Bf(e,t,n){return(t=kf(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pf(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 Lf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pf(Object(n),!0).forEach(function(t){Bf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Rf(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 Gf(e,t){if(e){if("string"==typeof e)return Rf(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)?Rf(e,t):void 0}}function Of(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||Gf(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 Df(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 Mf=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Vf(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,kf(r.key),r)}}function jf(e,t){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jf(e,t)}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wf(e)}function Hf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hf=function(){return!!e})()}function Xf(e,t){if(t&&("object"==Tf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ff(e){return function(e){if(Array.isArray(e))return Rf(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gf(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 zf=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}(),Zf="-ms-",Yf="-moz-",_f="-webkit-",Jf="comm",Uf="rule",$f="decl",Kf="@keyframes",Qf=Math.abs,qf=String.fromCharCode,eg=Object.assign;function tg(e){return e.trim()}function ng(e,t,n){return e.replace(t,n)}function rg(e,t){return e.indexOf(t)}function ig(e,t){return 0|e.charCodeAt(t)}function og(e,t,n){return e.slice(t,n)}function ag(e){return e.length}function sg(e){return e.length}function lg(e,t){return t.push(e),e}var cg=1,ug=1,dg=0,hg=0,pg=0,mg="";function fg(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:cg,column:ug,length:a,return:""}}function gg(e,t){return eg(fg("",null,null,"",null,null,0),e,{length:-e.length},t)}function bg(){return pg=hg>0?ig(mg,--hg):0,ug--,10===pg&&(ug=1,cg--),pg}function vg(){return pg=hg<dg?ig(mg,hg++):0,ug++,10===pg&&(ug=1,cg++),pg}function yg(){return ig(mg,hg)}function xg(){return hg}function Ig(e,t){return og(mg,e,t)}function wg(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 Cg(e){return cg=ug=1,dg=ag(mg=e),hg=0,[]}function Ag(e){return mg="",e}function Ng(e){return tg(Ig(hg-1,Tg(91===e?e+2:40===e?e+1:e)))}function Eg(e){for(;(pg=yg())&&pg<33;)vg();return wg(e)>2||wg(pg)>3?"":" "}function Sg(e,t){for(;--t&&vg()&&!(pg<48||pg>102||pg>57&&pg<65||pg>70&&pg<97););return Ig(e,xg()+(t<6&&32==yg()&&32==vg()))}function Tg(e){for(;vg();)switch(pg){case e:return hg;case 34:case 39:34!==e&&39!==e&&Tg(pg);break;case 40:41===e&&Tg(e);break;case 92:vg()}return hg}function kg(e,t){for(;vg()&&e+pg!==57&&(e+pg!==84||47!==yg()););return"/*"+Ig(t,hg-1)+"*"+qf(47===e?e:vg())}function Bg(e){for(;!wg(yg());)vg();return Ig(e,hg)}function Pg(e){return Ag(Lg("",null,null,null,[""],e=Cg(e),0,[0],e))}function Lg(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,h=0,p=0,m=0,f=1,g=1,b=1,v=0,y="",x=i,I=o,w=r,C=y;g;)switch(m=v,v=vg()){case 40:if(108!=m&&58==ig(C,d-1)){-1!=rg(C+=ng(Ng(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=Ng(v);break;case 9:case 10:case 13:case 32:C+=Eg(m);break;case 92:C+=Sg(xg()-1,7);continue;case 47:switch(yg()){case 42:case 47:lg(Gg(kg(vg(),xg()),t,n),l);break;default:C+="/"}break;case 123*f:s[c++]=ag(C)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(C=ng(C,/\f/g,"")),p>0&&ag(C)-d&&lg(p>32?Og(C+";",r,n,d-1):Og(ng(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(lg(w=Rg(C,t,n,c,u,i,s,y,x=[],I=[],d),o),123===v)if(0===u)Lg(C,t,w,w,x,o,d,s,I);else switch(99===h&&110===ig(C,3)?100:h){case 100:case 108:case 109:case 115:Lg(e,w,w,r&&lg(Rg(e,w,w,0,0,i,s,y,i,x=[],d),I),i,I,d,s,r?x:I);break;default:Lg(C,w,w,w,[""],I,0,s,I)}}c=u=p=0,f=b=1,y=C="",d=a;break;case 58:d=1+ag(C),p=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==bg())continue;switch(C+=qf(v),v*f){case 38:b=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(ag(C)-1)*b,b=1;break;case 64:45===yg()&&(C+=Ng(vg())),h=yg(),u=d=ag(y=C+=Bg(xg())),v++;break;case 45:45===m&&2==ag(C)&&(f=0)}}return o}function Rg(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,h=0===i?o:[""],p=sg(h),m=0,f=0,g=0;m<r;++m)for(var b=0,v=og(e,d+1,d=Qf(f=a[m])),y=e;b<p;++b)(y=tg(f>0?h[b]+" "+v:ng(v,/&\f/g,h[b])))&&(l[g++]=y);return fg(e,t,n,0===i?Uf:s,l,c,u)}function Gg(e,t,n){return fg(e,t,n,Jf,qf(pg),og(e,2,-2),0)}function Og(e,t,n,r){return fg(e,t,n,$f,og(e,0,r),og(e,r+1,-1),r)}function Dg(e,t){for(var n="",r=sg(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Mg(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case $f:return e.return=e.return||e.value;case Jf:return"";case Kf:return e.return=e.value+"{"+Dg(e.children,r)+"}";case Uf:e.value=e.props.join(",")}return ag(n=Dg(e.children,r))?e.return=e.value+"{"+n+"}":""}function Vg(e){var t=sg(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}var jg="undefined"!=typeof document,Wg=function(e,t,n){for(var r=0,i=0;r=i,i=yg(),38===r&&12===i&&(t[n]=1),!wg(i);)vg();return Ig(e,hg)},Hg=function(e,t){return Ag(function(e,t){var n=-1,r=44;do{switch(wg(r)){case 0:38===r&&12===yg()&&(t[n]=1),e[n]+=Wg(hg-1,t,n);break;case 2:e[n]+=Ng(r);break;case 4:if(44===r){e[++n]=58===yg()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=qf(r)}}while(r=vg());return e}(Cg(e),t))},Xg=new WeakMap,Fg=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Xg.get(n))&&!r){Xg.set(e,!0);for(var i=[],o=Hg(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},zg=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Zg(e,t){switch(function(e,t){return 45^ig(e,0)?(((t<<2^ig(e,0))<<2^ig(e,1))<<2^ig(e,2))<<2^ig(e,3):0}(e,t)){case 5103:return _f+"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 _f+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _f+e+Yf+e+Zf+e+e;case 6828:case 4268:return _f+e+Zf+e+e;case 6165:return _f+e+Zf+"flex-"+e+e;case 5187:return _f+e+ng(e,/(\w+).+(:[^]+)/,_f+"box-$1$2"+Zf+"flex-$1$2")+e;case 5443:return _f+e+Zf+"flex-item-"+ng(e,/flex-|-self/,"")+e;case 4675:return _f+e+Zf+"flex-line-pack"+ng(e,/align-content|flex-|-self/,"")+e;case 5548:return _f+e+Zf+ng(e,"shrink","negative")+e;case 5292:return _f+e+Zf+ng(e,"basis","preferred-size")+e;case 6060:return _f+"box-"+ng(e,"-grow","")+_f+e+Zf+ng(e,"grow","positive")+e;case 4554:return _f+ng(e,/([^-])(transform)/g,"$1"+_f+"$2")+e;case 6187:return ng(ng(ng(e,/(zoom-|grab)/,_f+"$1"),/(image-set)/,_f+"$1"),e,"")+e;case 5495:case 3959:return ng(e,/(image-set\([^]*)/,_f+"$1$`$1");case 4968:return ng(ng(e,/(.+:)(flex-)?(.*)/,_f+"box-pack:$3"+Zf+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_f+e+e;case 4095:case 3583:case 4068:case 2532:return ng(e,/(.+)-inline(.+)/,_f+"$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(ag(e)-1-t>6)switch(ig(e,t+1)){case 109:if(45!==ig(e,t+4))break;case 102:return ng(e,/(.+:)(.+)-([^]+)/,"$1"+_f+"$2-$3$1"+Yf+(108==ig(e,t+3)?"$3":"$2-$3"))+e;case 115:return~rg(e,"stretch")?Zg(ng(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ig(e,t+1))break;case 6444:switch(ig(e,ag(e)-3-(~rg(e,"!important")&&10))){case 107:return ng(e,":",":"+_f)+e;case 101:return ng(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_f+(45===ig(e,14)?"inline-":"")+"box$3$1"+_f+"$2$3$1"+Zf+"$2box$3")+e}break;case 5936:switch(ig(e,t+11)){case 114:return _f+e+Zf+ng(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _f+e+Zf+ng(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _f+e+Zf+ng(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _f+e+Zf+e+e}return e}var Yg,_g,Jg,Ug=jg?void 0:(Yg=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},_g=new WeakMap,function(e){if(_g.has(e))return _g.get(e);var t=Yg(e);return _g.set(e,t),t}),$g=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case $f:e.return=Zg(e.value,e.length);break;case Kf:return Dg([gg(e,{value:ng(e.value,"@","@"+_f)})],r);case Uf: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 Dg([gg(e,{props:[ng(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Dg([gg(e,{props:[ng(t,/:(plac\w+)/,":"+_f+"input-$1")]}),gg(e,{props:[ng(t,/:(plac\w+)/,":-moz-$1")]}),gg(e,{props:[ng(t,/:(plac\w+)/,Zf+"input-$1")]})],r)}return""})}}],Kg=function(e){var t=e.key;if(jg&&"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||$g,a={},s=[];jg&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Fg,zg];if(Ug){var u=[Mg],d=Vg(c.concat(o,u)),h=Ug(o)(t),p=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=Dg(Pg(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=[Mg,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Vg(c.concat(o,f));i=function(e,t,n,r){m=n,Dg(Pg(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new zf({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},Qg={exports:{}},qg={};var eb,tb,nb,rb,ib={};
6
6
  /** @license React v16.13.1
7
7
  * react-is.development.js
8
8
  *
@@ -10,5 +10,5 @@ function Ct(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 nm(){return Kh||(Kh=1,"production"===process.env.NODE_ENV?_h.exports=function(){if(Zh)return $h;Zh=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return $h.AsyncMode=l,$h.ConcurrentMode=c,$h.ContextConsumer=s,$h.ContextProvider=a,$h.Element=t,$h.ForwardRef=u,$h.Fragment=r,$h.Lazy=m,$h.Memo=h,$h.Portal=n,$h.Profiler=o,$h.StrictMode=i,$h.Suspense=d,$h.isAsyncMode=function(e){return x(e)||y(e)===l},$h.isConcurrentMode=x,$h.isContextConsumer=function(e){return y(e)===s},$h.isContextProvider=function(e){return y(e)===a},$h.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},$h.isForwardRef=function(e){return y(e)===u},$h.isFragment=function(e){return y(e)===r},$h.isLazy=function(e){return y(e)===m},$h.isMemo=function(e){return y(e)===h},$h.isPortal=function(e){return y(e)===n},$h.isProfiler=function(e){return y(e)===o},$h.isStrictMode=function(e){return y(e)===i},$h.isSuspense=function(e){return y(e)===d},$h.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},$h.typeOf=y,$h}():_h.exports=(Qh||(Qh=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=l,I=c,C=s,w=a,N=t,A=u,E=r,k=m,T=h,P=n,G=o,B=i,S=d,R=!1;function V(e){return y(e)===c}tm.AsyncMode=x,tm.ConcurrentMode=I,tm.ContextConsumer=C,tm.ContextProvider=w,tm.Element=N,tm.ForwardRef=A,tm.Fragment=E,tm.Lazy=k,tm.Memo=T,tm.Portal=P,tm.Profiler=G,tm.StrictMode=B,tm.Suspense=S,tm.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),V(e)||y(e)===l},tm.isConcurrentMode=V,tm.isContextConsumer=function(e){return y(e)===s},tm.isContextProvider=function(e){return y(e)===a},tm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},tm.isForwardRef=function(e){return y(e)===u},tm.isFragment=function(e){return y(e)===r},tm.isLazy=function(e){return y(e)===m},tm.isMemo=function(e){return y(e)===h},tm.isPortal=function(e){return y(e)===n},tm.isProfiler=function(e){return y(e)===o},tm.isStrictMode=function(e){return y(e)===i},tm.isSuspense=function(e){return y(e)===d},tm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},tm.typeOf=y}()),tm)),_h.exports}!function(){if(em)return qh;em=1;var e=nm(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;qh=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=s(r);l&&(h=h.concat(l(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||i&&i[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var rm="undefined"!=typeof document;var im=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===rm&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var om={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},am=/[A-Z]|^ms/g,sm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,lm=function(e){return 45===e.charCodeAt(1)},cm=function(e){return null!=e&&"boolean"!=typeof e},um=Lh(function(e){return lm(e)?e:e.replace(am,"-$&").toLowerCase()}),dm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(sm,function(e,t,n){return hm={name:t,styles:n,next:hm},t})}return 1===om[e]||lm(e)||"number"!=typeof t||0===t?t:t+"px"};function pm(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 hm={name:i.name,styles:i.styles,next:hm},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)hm={name:a.name,styles:a.styles,next:hm},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=pm(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;cm(s)&&(r+=um(o)+":"+dm(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)cm(a[l])&&(r+=um(o)+":"+dm(o,a[l])+";");else{var c=pm(e,t,a);switch(o){case"animation":case"animationName":r+=um(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=hm,l=n(e);return hm=s,pm(e,t,l)}}return n}var hm,mm=/label:\s*([^\s;{]+)\s*(;|$)/g;function fm(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="";hm=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=pm(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=pm(n,t,e[a]),r)i+=o[a]}mm.lastIndex=0;for(var s,l="";null!==(s=mm.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:hm}}var gm="undefined"!=typeof document,bm=function(e){return e()},vm=!!r.useInsertionEffect&&r.useInsertionEffect,ym=gm&&vm||bm,xm="undefined"!=typeof document,Im=r.createContext("undefined"!=typeof HTMLElement?Uh({key:"css"}):null);Im.Provider;var Cm=function(e){return s(function(t,n){var r=g(Im);return e(t,r,n)})};xm||(Cm=function(e){return function(t){var n=g(Im);return null===n?(n=Uh({key:"css"}),r.createElement(Im.Provider,{value:n},e(t,n))):e(t,n)}});var wm,Nm,Am=r.createContext({}),Em={}.hasOwnProperty,km="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Tm=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;im(t,n,i);var o=ym(function(){return function(e,t,n){im(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);rm||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!rm&&0!==i.length)return i}}(t,n,i)});if(!xm&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Pm=Cm(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[km],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=fm(a,void 0,r.useContext(Am));s+=t.key+"-"+l.name;var c={};for(var u in e)Em.call(e,u)&&"css"!==u&&u!==km&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Tm,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),Gm=Pm,Bm=function(e,t){var n=arguments;if(null==t||!Em.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=Gm,o[1]=function(e,t){var n={};for(var r in t)Em.call(t,r)&&(n[r]=t[r]);return n[km]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function Sm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fm(t)}wm=Bm||(Bm={}),Nm||(Nm=wm.JSX||(wm.JSX={}));const Rm=Math.min,Vm=Math.max,Lm=Math.round,Mm=Math.floor,Dm=e=>({x:e,y:e});function Wm(){return"undefined"!=typeof window}function Om(e){return Hm(e)?(e.nodeName||"").toLowerCase():"#document"}function Xm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Fm(e){var t;return null==(t=(Hm(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Hm(e){return!!Wm()&&(e instanceof Node||e instanceof Xm(e).Node)}function zm(e){return!!Wm()&&(e instanceof HTMLElement||e instanceof Xm(e).HTMLElement)}function jm(e){return!(!Wm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Xm(e).ShadowRoot)}function Zm(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ym(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function Ym(e){return Xm(e).getComputedStyle(e)}function Jm(e){const t=function(e){if("html"===Om(e))return e;const t=e.assignedSlot||e.parentNode||jm(e)&&e.host||Fm(e);return jm(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(Om(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:zm(t)&&Zm(t)?t:Jm(t)}function Um(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Jm(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Xm(i);if(o){const e=_m(a);return t.concat(a,a.visualViewport||[],Zm(i)?i:[],e&&n?Um(e):[])}return t.concat(i,Um(i,[],n))}function _m(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $m(e){return t=e,Wm()&&(t instanceof Element||t instanceof Xm(t).Element)?e:e.contextElement;var t}function Qm(e){const t=$m(e);if(!zm(t))return Dm(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Ym(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=zm(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Lm(n)!==o||Lm(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?Lm(n.width):n.width)/r,s=(o?Lm(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Km(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=$m(e);let a=Dm(1);t&&(a=Qm(e));const s=Dm(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Xm(o),n=_m(t);for(;n&&r&&e!==t;){const e=Qm(n),r=n.getBoundingClientRect(),i=Ym(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Xm(n),n=_m(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 qm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ef(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=$m(e),u=i||o?[...c?Um(c):[],...t?Um(t):[]]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Fm(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-Mm(d)+"px "+-Mm(i.clientWidth-(u+p))+"px "+-Mm(i.clientHeight-(d+h))+"px "+-Mm(u)+"px",threshold:Vm(0,Rm(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||qm(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&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?Km(e):null;return l&&function t(){const r=Km(e);f&&!qm(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 tf="undefined"!=typeof document?f:function(){},nf=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],rf=function(){};function of(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function af(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(of(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var sf=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===wp(e)&&null!==e?[e]:[];var t},lf=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,kp({},Bp(e,nf))},cf=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function uf(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function df(e){return uf(e)?window.pageYOffset:e.scrollTop}function pf(e,t){uf(e)?window.scrollTo(0,t):e.scrollTop=t}function hf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rf,i=df(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;pf(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function mf(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?pf(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&pf(e,Math.max(t.offsetTop-i,0))}function ff(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var gf=!1,bf={get passive(){return gf=!0}},vf="undefined"!=typeof window?window:{};vf.addEventListener&&vf.removeEventListener&&(vf.addEventListener("p",rf,bf),vf.removeEventListener("p",rf,!1));var yf=gf;function xf(e){return null!=e}function If(e,t,n){return e?t:n}var Cf=["children","innerProps"],wf=["children","innerProps"];function Nf(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:uf(u=l)?window.innerHeight:u.clientHeight,v=df(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,C=b-f,w=I+v,N=d-v-f,A=h-b+v+y,E=v+f-x,k=160;switch(i){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(N>=m&&!a)return o&&hf(l,A,k),{placement:"bottom",maxHeight:t};if(!a&&N>=r||a&&C>=r)return o&&hf(l,A,k),{placement:"bottom",maxHeight:a?C-y:N-y};if("auto"===i||a){var T=t,P=a?I:w;return P>=r&&(T=Math.min(P-y-s,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return o&&pf(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!a)return o&&hf(l,E,k),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&I>=r){var G=t;return(!a&&w>=r||a&&I>=r)&&(G=a?I-x:w-x),o&&hf(l,E,k),{placement:"top",maxHeight:G}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Af,Ef=function(e){return"auto"===e?"bottom":e},kf=m(null),Tf=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,l=(g(kf)||{}).setPortalPlacement,c=u(null),p=Gp(d(r),2),h=p[0],m=p[1],f=Gp(d(null),2),b=f[0],v=f[1],y=s.spacing.controlHeight;return tf(function(){var e=c.current;if(e){var t="fixed"===o,s=Nf({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});m(s.maxHeight),v(s.placement),null==l||l(s.placement)}},[r,i,o,a,n,l,y]),t({ref:c,placerProps:kp(kp({},e),{},{placement:b||Ef(i),maxHeight:h})})},Pf=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Bm("div",Rp({},cf(e,"menu",{menu:!0}),{ref:n},r),t)},Gf=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return kp({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Bf=Gf,Sf=Gf,Rf=["size"],Vf=["innerProps","isRtl","size"];var Lf,Mf,Df="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)."}},Wf=function(e){var t=e.size,n=Bp(e,Rf);return Bm("svg",Rp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Df},n))},Of=function(e){return Bm(Wf,Rp({size:20},e),Bm("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"}))},Xf=function(e){return Bm(Wf,Rp({size:20},e),Bm("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"}))},Ff=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return kp({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Hf=Ff,zf=Ff,jf=function(){var e=Sm.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_"}}}(Af||(Lf=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Mf||(Mf=Lf.slice(0)),Af=Object.freeze(Object.defineProperties(Lf,{raw:{value:Object.freeze(Mf)}})))),Zf=function(e){var t=e.delay,n=e.offset;return Bm("span",{css:Sm({animation:"".concat(jf," 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= */")})},Yf=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return Bm("div",Rp({ref:i},cf(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Jf=["data"],Uf=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Bm("div",Rp({},cf(e,"group",{group:!0}),s),Bm(o,Rp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Bm("div",null,t))},_f=["innerRef","isDisabled","isHidden","inputClassName"],$f={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Qf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":kp({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},$f)},Kf=function(e){return kp({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},$f)},qf=function(e){var t=e.cx,n=e.value,r=lf(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Bp(r,_f);return Bm("div",Rp({},cf(e,"input",{"input-container":!0}),{"data-value":n||""}),Bm("input",Rp({className:t({input:!0},s),ref:i,style:Kf(a),disabled:o},l)))},eg=function(e){var t=e.children,n=e.innerProps;return Bm("div",n,t)};var tg=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Bm(l,{data:r,innerProps:kp(kp({},cf(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},Bm(c,{data:r,innerProps:kp({},cf(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Bm(u,{data:r,innerProps:kp(kp({},cf(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},ng={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Bm("div",Rp({},cf(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Bm(Of,null))},Control:Yf,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Bm("div",Rp({},cf(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Bm(Xf,null))},DownChevron:Xf,CrossIcon:Of,Group:Uf,GroupHeading:function(e){var t=lf(e);t.data;var n=Bp(t,Jf);return Bm("div",Rp({},cf(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Bm("div",Rp({},cf(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Bm("span",Rp({},t,cf(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:qf,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Bp(e,Vf);return Bm("div",Rp({},cf(kp(kp({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Bm(Zf,{delay:0,offset:n}),Bm(Zf,{delay:160,offset:!0}),Bm(Zf,{delay:320,offset:!n}))},Menu:Pf,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Bm("div",Rp({},cf(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,s=u(null),c=u(null),p=Gp(d(Ef(o)),2),m=p[0],f=p[1],g=l(function(){return{setPortalPlacement:f}},[]),b=Gp(d(null),2),v=b[0],y=b[1],x=h(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[m]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[r,a,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);tf(function(){x()},[x]);var I=h(function(){"function"==typeof c.current&&(c.current(),c.current=null),r&&s.current&&(c.current=ef(r,s.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);tf(function(){I()},[I]);var C=h(function(e){s.current=e,I()},[I]);if(!t&&"fixed"!==a||!v)return null;var w=Bm("div",Rp({ref:C},cf(kp(kp({},e),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return Bm(kf.Provider,{value:g},t?T(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Bp(e,wf);return Bm("div",Rp({},cf(kp(kp({},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=Bp(e,Cf);return Bm("div",Rp({},cf(kp(kp({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:tg,MultiValueContainer:eg,MultiValueLabel:eg,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Bm("div",Rp({role:"button"},n),t||Bm(Of,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return Bm("div",Rp({},cf(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Bm("div",Rp({},cf(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Bm("div",Rp({},cf(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Bm("div",Rp({},cf(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 Bm("div",Rp({},cf(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},rg=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function ig(e,t){return e===t||!(!rg(e)||!rg(t))}function og(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!ig(e[n],t[n]))return!1;return!0}for(var ag="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)."}},sg=function(e){return Bm("span",Rp({css:ag},e))},lg={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},cg=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,m=s.isMulti,f=s.isOptionDisabled,g=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,I=s.tabSelectsValue,C=s.isLoading,w=s["aria-label"],N=s["aria-live"],A=l(function(){return kp(kp({},lg),d||{})},[d]),E=l(function(){var e,n="";if(t&&A.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,h=d?d.map(p):[],m=kp({isDisabled:c&&f(c,a),label:u,labels:h},t);n=A.onChange(m)}return n},[t,A,f,a,p]),k=l(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&A.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(s)}return e},[n,r,p,f,A,i,a,u]),T=l(function(){var e="";if(b&&v.length&&!C&&A.onFilter){var t=y({count:i.length});e=A.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,A,v,y,C]),P="initial-input-focus"===(null==t?void 0:t.action),G=l(function(){var e="";if(A.guidance){var t=r?"value":b?"menu":"input";e=A.guidance({"aria-label":w,context:t,isDisabled:n&&f(n,a),isMulti:m,isSearchable:g,tabSelectsValue:I,isInitialFocus:P})}return e},[w,n,r,m,f,g,b,A,a,I,P]),B=Bm(x,null,Bm("span",{id:"aria-selection"},E),Bm("span",{id:"aria-focused"},k),Bm("span",{id:"aria-results"},T),Bm("span",{id:"aria-guidance"},G));return Bm(x,null,Bm(sg,{id:c},P&&B),Bm(sg,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!P&&B))},ug=[{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źẑżžẓẕƶȥɀⱬꝣ"}],dg=new RegExp("["+ug.map(function(e){return e.letters}).join("")+"]","g"),pg={},hg=0;hg<ug.length;hg++)for(var mg=ug[hg],fg=0;fg<mg.letters.length;fg++)pg[mg.letters[fg]]=mg.base;var gg=function(e){return e.replace(dg,function(e){return pg[e]})},bg=function(e,t){void 0===t&&(t=og);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}(gg),vg=function(e){return e.replace(/^\s+|\s+$/g,"")},yg=function(e){return"".concat(e.label," ").concat(e.value)},xg=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=kp({ignoreCase:!0,ignoreAccents:!0,stringify:yg,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?vg(n):n,u=s?vg(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=bg(c),u=gg(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Ig=["innerRef"];function Cg(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=Gp(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Gp(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Bp(e,Ig),"onExited","in","enter","exit","appear");return Bm("input",Rp({ref:t},n,{css:Sm({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 wg=["boxSizing","height","overflow","paddingRight","position"],Ng={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ag(e){e.cancelable&&e.preventDefault()}function Eg(e){e.stopPropagation()}function kg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Tg(){return"ontouchstart"in window||navigator.maxTouchPoints}var Pg=!("undefined"==typeof window||!window.document||!window.document.createElement),Gg=0,Bg={capture:!1,passive:!1};var Sg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Rg="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 Vg(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,a=u(!1),s=u(!1),l=u(0),c=u(null),d=h(function(e,t){if(null!==c.current){var l=c.current,u=l.scrollTop,d=l.scrollHeight,p=l.clientHeight,h=c.current,m=t>0,f=d-p-u,g=!1;f>t&&a.current&&(r&&r(e),a.current=!1),m&&s.current&&(o&&o(e),s.current=!1),m&&t>f?(n&&!a.current&&n(e),h.scrollTop=d,g=!0,a.current=!0):!m&&-t>u&&(i&&!s.current&&i(e),h.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),m=h(function(e){d(e,e.deltaY)},[d]),f=h(function(e){l.current=e.changedTouches[0].clientY},[]),g=h(function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)},[d]),b=h(function(e){if(e){var t=!!yf&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",g,t)}},[g,f,m]),v=h(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",g,!1))},[g,f,m]);return p(function(){if(t){var e=c.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=u({}),o=u(null),a=h(function(e){if(Pg){var t=document.body,n=t&&t.style;if(r&&wg.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&Gg<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(Ng).forEach(function(e){var t=Ng[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Tg()&&(t.addEventListener("touchmove",Ag,Bg),e&&(e.addEventListener("touchstart",kg,Bg),e.addEventListener("touchmove",Eg,Bg))),Gg+=1}},[r]),s=h(function(e){if(Pg){var t=document.body,n=t&&t.style;Gg=Math.max(Gg-1,0),r&&Gg<1&&wg.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Tg()&&(t.removeEventListener("touchmove",Ag,Bg),e&&(e.removeEventListener("touchstart",kg,Bg),e.removeEventListener("touchmove",Eg,Bg)))}},[r]);return p(function(){if(t){var e=o.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){o.current=e}}({isEnabled:n});return Bm(x,null,n&&Bm("div",{onClick:Sg,css:Rg}),t(function(e){i(e),o(e)}))}var Lg="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)."}},Mg=function(e){var t=e.name,n=e.onFocus;return Bm("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Lg,value:"",onChange:function(){}})};function Dg(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 Wg(){return Dg(/^Mac/i)}function Og(){return Dg(/^iPhone/i)||Dg(/^iPad/i)||Wg()&&navigator.maxTouchPoints>1}var Xg={clearIndicator:zf,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return kp({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Hf,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 kp({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 kp({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return kp(kp({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Qf),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return kp({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:Sf,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return kp((Ap(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Ap(n,"position","absolute"),Ap(n,"width","100%"),Ap(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return kp({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 kp({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 kp({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return kp({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:Bf,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return kp({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return kp({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 kp({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 kp({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")})}},Fg={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}},Hg={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ff(),captureMenuScroll:!ff(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:xg(),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 zg(e,t,n,r){return{type:"option",data:t,isDisabled:Qg(e,t,n),isSelected:Kg(e,t,n),label:_g(e,t),value:$g(e,t),index:r}}function jg(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return zg(e,n,t,r)}).filter(function(t){return Jg(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=zg(e,n,t,r);return Jg(e,o)?o:void 0}).filter(xf)}function Zg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Op(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Yg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Op(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 Jg(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!eb(e)||!o)&&qg(e,{label:a,value:s,data:i},r)}var Ug=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},_g=function(e,t){return e.getOptionLabel(t)},$g=function(e,t){return e.getOptionValue(t)};function Qg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Kg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=$g(e,t);return n.some(function(t){return $g(e,t)===r})}function qg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var eb=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},tb=1,nb=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&&Lp(e,t)}(t,C);var e=function(e){var t=Dp();return function(){var n,r=Mp(e);if(t){var i=Mp(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Wp(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Op(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=If(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(If(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=If(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Ug(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Yg(jg(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 af.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return _g(r.props,e)},r.getOptionValue=function(e){return $g(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Xg[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,kp(kp({},ng),e.components);var e},r.buildCategorizedOptions=function(){return jg(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Zg(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:kp({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&&uf(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 eb(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++tb),r.state.selectValue=sf(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Ug(i,o[a])}return r}return function(e,t,n){t&&Vp(e.prototype,t),n&&Vp(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&mf(this.menuListRef,this.focusedOptionRef),(Wg()||Og())&&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&&(mf(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Fg):kp(kp({},Fg),this.props.theme):Fg}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Qg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Kg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return qg(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=kp(kp(kp({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,Rp({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},g)):r.createElement(Cg,Rp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:rf,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(l,Rp({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Rp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=b[0];return r.createElement(s,Rp({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Rp({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,Rp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,Rp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Rp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,N=h.menuShouldBlockScroll,A=h.menuShouldScrollIntoView,E=h.noOptionsMessage,k=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!x)return null;var P,G=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,Rp({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,Rp({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return G(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return G(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;P=r.createElement(l,d,B)}else{var S=E({inputValue:f});if(null===S)return null;P=r.createElement(c,d,S)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:A},V=r.createElement(Tf,Rp({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,Rp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(Vg,{captureEnabled:m,onTopArrive:k,onBottomArrive:T,lockEnabled:N},function(t){return r.createElement(a,Rp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),P)}))});return w||"fixed"===C?r.createElement(s,Rp({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(Mg,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(cg,Rp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,Rp({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Rp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,Rp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Rp({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=sf(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Zg(jg(e,t))}(e,m):[],b=d?Yg(jg(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:Ug(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=o,C=a&&s;return a&&!C&&(I={value:If(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),kp(kp(kp({},f),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();nb.defaultProps=Hg;var rb=s(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,c=e.onChange,u=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,f=e.value,g=Bp(e,Sp),b=Gp(d(void 0!==s?s:n),2),v=b[0],y=b[1],x=Gp(d(void 0!==l?l:i),2),I=x[0],C=x[1],w=Gp(d(void 0!==f?f:a),2),N=w[0],A=w[1],E=h(function(e,t){"function"==typeof c&&c(e,t),A(e)},[c]),k=h(function(e,t){var n;"function"==typeof u&&(n=u(e,t)),y(void 0!==n?n:e)},[u]),T=h(function(){"function"==typeof m&&m(),C(!0)},[m]),P=h(function(){"function"==typeof p&&p(),C(!1)},[p]),G=void 0!==s?s:v,B=void 0!==l?l:I,S=void 0!==f?f:N;return kp(kp({},g),{},{inputValue:G,menuIsOpen:B,onChange:E,onInputChange:k,onMenuClose:P,onMenuOpen:T,value:S})}(e);return r.createElement(nb,Rp({ref:t},n))}),ib=rb;const ob=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=l(()=>xg(d),[d]),N=l(()=>({control:({isFocused:e})=>Ze("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ze(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ze("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ze("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,p,v]);return"unstyled"===y?e(ib,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:N,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ze("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(ib,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:N,"data-cy":x,"data-testid":I,...C}),h&&e(Kt,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e(Kt,{className:"footnote mt-1 text-text-info",children:f})]})});function ab({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:a,categoryOptions:s}){const l=P(),c=G(),u=B();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(Kt,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(Kt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(Kt,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(Kt,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(ob,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(xn,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(Kt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(Cp,{currentPage:i,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}function sb({title:n="recent articles",paginatedArticles:r,totalArticles:i,currentPage:o,totalPages:a,selectedCategory:s,categoryOptions:l,onCategoryChange:c,onPageChange:u,imageComponent:d}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(Kt,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),l.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(Kt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(Kt,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(Kt,{as:"span",className:"md:hidden",children:["showing"," "]}),r.length," of ",i," articles"]})]}),e(ob,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),r.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:r.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(xn,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:d,index:n},t.slug)})}):e(Kt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e(Cp,{currentPage:o,totalPages:a,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})}ob.displayName="Select";const lb=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===l?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,s=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",l=i===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(Kt,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e("a",{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(Qt,{name:"chevron_right",className:`${c} `})]},i)})})}):null},cb=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:p,color:h,onSubmit:m}=n,[f,g]=d("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(Kt,{as:a?"h1":"h2",className:Ze("heading2 md:heading1"),children:i}),o&&e(Kt,{as:"div",className:Ze("subheading2 mt-2 md:subheading1"),children:o})]}),s?e(Kt,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(un,{type:"submit",className:"ml-2 inline-flex",children:e(Qt,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(rr,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),u||null,c]})})})},ub={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"}},db=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=ub[null==i?void 0:i.toLowerCase()]||ub.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:Ze(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(Kt,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d]})};function pb(r){var i,o,a;const[s,l]=d(0),[c,u]=d(""),{title:h,subTitle:m,tabs:f,tabsContent:g,navigationType:b=!0,mobileSidebarTabType:v=!0}=r;p(()=>{if("undefined"!=typeof window){u(window.location.hash);const e=()=>{u(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),p(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===c)return l(t),!0})},[f,c]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&c&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(i=null==f?void 0:f.items)||void 0===i?void 0:i.map((t,n)=>e(bn,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==g?void 0:g.map((t,n)=>e("div",{children:e(pu,{children:e(ou.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))]}),I=e(n,{children:null===(o=null==f?void 0:f.items)||void 0===o?void 0:o.map((n,r)=>t("div",{className:"py-5",children:[t(bn,{showButtonAs:"unstyled",onClick:()=>y(r,null==n?void 0:n.anchorId),buttonClassName:Ze("w-full flex justify-between items-center px-4 py-5",r===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(Qt,{name:r===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(dn,{open:r===s,children:e("div",{className:Ze("px-4 py-4"),children:null==g?void 0:g[r]})})]},r))}),C=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==f?void 0:f.items)||void 0===a?void 0:a.map((t,n)=>e(bn,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("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("div",{className:"grow",children:null==g?void 0:g.map((t,n)=>e("div",{children:e(pu,{children:e(ou.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 t("div",{children:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e(Kt,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e(Kt,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}function hb(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function mb(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const fb=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:c,anchorId:m="anchored-banner",enableCountdownTimer:f,countdownStartDateTime:g,countdownEndDateTime:b})=>{const v=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",y="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",x=l(()=>hb(b),[b]),I=l(()=>hb(g),[g]),C=l(()=>!(!f||void 0===x)&&((!g||void 0!==I)&&(!(void 0!==I&&I>=x)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:g,countdownEndDateTime:b}),!1))),[f,x,I,g,b]),[w,A]=d(()=>Date.now()),E=u(null),k=h(()=>{null!==E.current&&(window.clearInterval(E.current),E.current=null)},[]);p(()=>{if(C)return E.current=window.setInterval(()=>{const e=Date.now();void 0!==x&&e>=x&&k(),A(e)},1e3),k;k()},[C,x,k]);const T=l(()=>{if(!C||void 0===x)return{shouldShow:!1,text:""};if(void 0!==I&&w<I||w>=x)return{shouldShow:!1,text:""};const e=(x-w)/1e3;return{shouldShow:e>0,text:mb(e)}},[C,x,I,w]);return e("section",{id:m,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${v} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(N,{href:s||"#",target:c||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${y} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e(Qt,{name:i,size:24,fill:1,className:`${y} align-text-bottom`}),T.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:T.text}),T.shouldShow?" ":null,a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function gb({content:n}){let r=3;const[i,o]=d(!1),[a,s]=d(!1),l=u(null);p(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=wt.get(e);return t?It(t):null}("cookieBannerClosed");o("true"!==e)},[]),p(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),p(()=>{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]),p(()=>{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,a]);a&&(r=14);return i?t("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:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(bn,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=xt(r);wt.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(Qt,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const bb=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:p,onSubmit:h}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},f=m[u]||m.green,g=["green","blue","navy"].includes(u)?"text-white":"text-text",[b,v]=d(""),[y,x]=d(!1),[I,C]=d("");return t("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${f} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[i&&e("h1",{className:`text-heading1 font-black ${g}`,children:i}),o&&e("h2",{className:`text-heading1 font-black ${g}`,children:o}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${g}`,children:a}),t("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("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),I&&C(""),y&&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(bn,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(h({email:b}),v(""),x(!0),C("")):C("Please enter a valid email address.")}})]}),I&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:I}),p&&y&&!I&&e("p",{className:`mt-2 text-label4 font-semibold ${g}`,children:p})]})}),c&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},vb=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:a,onBannerShown:s})=>{var l,c;const{anchorId:u,mainHeading:h,description:m,cta:f}=n,[g,b]=d(!1);p(()=>{const e=()=>{(null==a?void 0:a())&&!g&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==o||o()};return r?t("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(Kt,{className:"heading5 text-center lg:heading3",children:h||"Welcome back. Let’s finish your order"}),m&&on(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(bn,{onClick:v,buttonLabel:null!==(l=null==f?void 0:f.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:u,"data-testid":"cart-retention-banner",children:e(bp,{size:"sm",isOpen:g,onRequestClose:()=>{null==i||i(),b(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(Kt,{className:"heading5 text-center lg:heading3",children:h||"Welcome back. Let&apos;s finish your order"}),m&&on(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(bn,{onClick:v,buttonLabel:null!==(c=null==f?void 0:f.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})};export{mn as Accordion,db as AddressInputBanner,fb as AnchoredBottomBanner,xn as BlogCard,ab as BlogGrid,sb as BlogGridBase,lb as BreadcrumbNavigation,bn as Button,Mn as Callout,Dn as Cards,Yn as Carousel,vb as CartRetentionBanner,Ip as ComparisonTable,gb as CookieBanner,yp as CtaCallout,pb as DynamicTabs,bb as EmailInputBlock,xp as FindKinetic,Jn as FloatingBanner,Un as Footer,Kn as ImagePromoBar,bp as Modal,ir as Navigation,lr as PrimaryHero,Xn as ProductCard,cb as SearchBlock,vp as ShapeBackgroundWrapper,Bn as SimpleCard,Fn as TestimonialCard,cr as Text,ln as label1BoldOptions,on as renderContentfulRichText,sn as renderContentfulRichTextTable,Et as toDocument,an as useContentfulRichText,cn as useProcessedChecklist};
13
+ */function ob(){return tb||(tb=1,"production"===process.env.NODE_ENV?Qg.exports=function(){if(Jg)return qg;Jg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,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 s:case u:case m:case p:case a:return e;default:return h}}case n:return h}}}function x(e){return y(e)===c}return qg.AsyncMode=l,qg.ConcurrentMode=c,qg.ContextConsumer=s,qg.ContextProvider=a,qg.Element=t,qg.ForwardRef=u,qg.Fragment=r,qg.Lazy=m,qg.Memo=p,qg.Portal=n,qg.Profiler=o,qg.StrictMode=i,qg.Suspense=d,qg.isAsyncMode=function(e){return x(e)||y(e)===l},qg.isConcurrentMode=x,qg.isContextConsumer=function(e){return y(e)===s},qg.isContextProvider=function(e){return y(e)===a},qg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qg.isForwardRef=function(e){return y(e)===u},qg.isFragment=function(e){return y(e)===r},qg.isLazy=function(e){return y(e)===m},qg.isMemo=function(e){return y(e)===p},qg.isPortal=function(e){return y(e)===n},qg.isProfiler=function(e){return y(e)===o},qg.isStrictMode=function(e){return y(e)===i},qg.isSuspense=function(e){return y(e)===d},qg.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===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},qg.typeOf=y,qg}():Qg.exports=(eb||(eb=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,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 s:case u:case m:case p:case a:return g;default:return h}}case n:return h}}}var x=l,I=c,w=s,C=a,A=t,N=u,E=r,S=m,T=p,k=n,B=o,P=i,L=d,R=!1;function G(e){return y(e)===c}ib.AsyncMode=x,ib.ConcurrentMode=I,ib.ContextConsumer=w,ib.ContextProvider=C,ib.Element=A,ib.ForwardRef=N,ib.Fragment=E,ib.Lazy=S,ib.Memo=T,ib.Portal=k,ib.Profiler=B,ib.StrictMode=P,ib.Suspense=L,ib.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),G(e)||y(e)===l},ib.isConcurrentMode=G,ib.isContextConsumer=function(e){return y(e)===s},ib.isContextProvider=function(e){return y(e)===a},ib.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ib.isForwardRef=function(e){return y(e)===u},ib.isFragment=function(e){return y(e)===r},ib.isLazy=function(e){return y(e)===m},ib.isMemo=function(e){return y(e)===p},ib.isPortal=function(e){return y(e)===n},ib.isProfiler=function(e){return y(e)===o},ib.isStrictMode=function(e){return y(e)===i},ib.isSuspense=function(e){return y(e)===d},ib.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===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},ib.typeOf=y}()),ib)),Qg.exports}!function(){if(rb)return nb;rb=1;var e=ob(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;nb=function e(t,r,i){if("string"!=typeof r){if(d){var h=u(r);h&&h!==d&&e(t,h,i)}var p=s(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{a(t,b,v)}catch(e){}}}}return t}}();var ab="undefined"!=typeof document;var sb=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===ab&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var lb={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 cb(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ub=/[A-Z]|^ms/g,db=/_EMO_([^_]+?)_([^]*?)_EMO_/g,hb=function(e){return 45===e.charCodeAt(1)},pb=function(e){return null!=e&&"boolean"!=typeof e},mb=cb(function(e){return hb(e)?e:e.replace(ub,"-$&").toLowerCase()}),fb=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(db,function(e,t,n){return bb={name:t,styles:n,next:bb},t})}return 1===lb[e]||hb(e)||"number"!=typeof t||0===t?t:t+"px"};function gb(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 bb={name:i.name,styles:i.styles,next:bb},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)bb={name:a.name,styles:a.styles,next:bb},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=gb(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;pb(s)&&(r+=mb(o)+":"+fb(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)pb(a[l])&&(r+=mb(o)+":"+fb(o,a[l])+";");else{var c=gb(e,t,a);switch(o){case"animation":case"animationName":r+=mb(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=bb,l=n(e);return bb=s,gb(e,t,l)}}return n}var bb,vb=/label:\s*([^\s;{]+)\s*(;|$)/g;function yb(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="";bb=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=gb(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=gb(n,t,e[a]),r)i+=o[a]}vb.lastIndex=0;for(var s,l="";null!==(s=vb.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:bb}}var xb="undefined"!=typeof document,Ib=function(e){return e()},wb=!!r.useInsertionEffect&&r.useInsertionEffect,Cb=xb&&wb||Ib,Ab="undefined"!=typeof document,Nb=r.createContext("undefined"!=typeof HTMLElement?Kg({key:"css"}):null);Nb.Provider;var Eb=function(e){return o(function(t,n){var r=f(Nb);return e(t,r,n)})};Ab||(Eb=function(e){return function(t){var n=f(Nb);return null===n?(n=Kg({key:"css"}),r.createElement(Nb.Provider,{value:n},e(t,n))):e(t,n)}});var Sb,Tb,kb=r.createContext({}),Bb={}.hasOwnProperty,Pb="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Lb=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;sb(t,n,i);var o=Cb(function(){return function(e,t,n){sb(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);ab||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!ab&&0!==i.length)return i}}(t,n,i)});if(!Ab&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Rb=Eb(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[Pb],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=yb(a,void 0,r.useContext(kb));s+=t.key+"-"+l.name;var c={};for(var u in e)Bb.call(e,u)&&"css"!==u&&u!==Pb&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(Lb,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),Gb=Rb,Ob=function(e,t){var n=arguments;if(null==t||!Bb.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=Gb,o[1]=function(e,t){var n={};for(var r in t)Bb.call(t,r)&&(n[r]=t[r]);return n[Pb]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function Db(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return yb(t)}Sb=Ob||(Ob={}),Tb||(Tb=Sb.JSX||(Sb.JSX={}));const Mb=Math.min,Vb=Math.max,jb=Math.round,Wb=Math.floor,Hb=e=>({x:e,y:e});function Xb(){return"undefined"!=typeof window}function Fb(e){return Yb(e)?(e.nodeName||"").toLowerCase():"#document"}function zb(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Zb(e){var t;return null==(t=(Yb(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Yb(e){return!!Xb()&&(e instanceof Node||e instanceof zb(e).Node)}function _b(e){return!!Xb()&&(e instanceof HTMLElement||e instanceof zb(e).HTMLElement)}function Jb(e){return!(!Xb()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof zb(e).ShadowRoot)}const Ub=new Set(["inline","contents"]);function $b(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Qb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ub.has(i)}const Kb=new Set(["html","body","#document"]);function Qb(e){return zb(e).getComputedStyle(e)}function qb(e){const t=function(e){if("html"===Fb(e))return e;const t=e.assignedSlot||e.parentNode||Jb(e)&&e.host||Zb(e);return Jb(t)?t.host:t}(e);return function(e){return Kb.has(Fb(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:_b(t)&&$b(t)?t:qb(t)}function ev(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=qb(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=zb(i);if(o){const e=tv(a);return t.concat(a,a.visualViewport||[],$b(i)?i:[],e&&n?ev(e):[])}return t.concat(i,ev(i,[],n))}function tv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nv(e){return t=e,Xb()&&(t instanceof Element||t instanceof zb(t).Element)?e:e.contextElement;var t}function rv(e){const t=nv(e);if(!_b(t))return Hb(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Qb(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=_b(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=jb(n)!==o||jb(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?jb(n.width):n.width)/r,s=(o?jb(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function iv(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=nv(e);let a=Hb(1);t&&(a=rv(e));const s=Hb(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=zb(o),n=tv(t);for(;n&&r&&e!==t;){const e=rv(n),r=n.getBoundingClientRect(),i=Qb(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=zb(n),n=tv(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 ov(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function av(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=nv(e),u=i||o?[...c?ev(c):[],...ev(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Zb(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:p}=c;if(s||t(),!h||!p)return;const m={rootMargin:-Wb(d)+"px "+-Wb(i.clientWidth-(u+h))+"px "+-Wb(i.clientHeight-(d+p))+"px "+-Wb(u)+"px",threshold:Vb(0,Mb(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||ov(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let h,p=-1,m=null;a&&(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?iv(e):null;return l&&function t(){const r=iv(e);f&&!ov(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 sv="undefined"!=typeof document?p:function(){},lv=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],cv=function(){};function uv(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function dv(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(uv(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var hv=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Tf(e)&&null!==e?[e]:[];var t},pv=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,Lf({},Df(e,lv))},mv=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function fv(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function gv(e){return fv(e)?window.pageYOffset:e.scrollTop}function bv(e,t){fv(e)?window.scrollTo(0,t):e.scrollTop=t}function vv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:cv,i=gv(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;bv(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function yv(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?bv(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&bv(e,Math.max(t.offsetTop-i,0))}function xv(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Iv=!1,wv={get passive(){return Iv=!0}},Cv="undefined"!=typeof window?window:{};Cv.addEventListener&&Cv.removeEventListener&&(Cv.addEventListener("p",cv,wv),Cv.removeEventListener("p",cv,!1));var Av=Iv;function Nv(e){return null!=e}function Ev(e,t,n){return e?t:n}var Sv=["children","innerProps"],Tv=["children","innerProps"];function kv(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,h=n.getBoundingClientRect(),p=h.bottom,m=h.height,f=h.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:fv(u=l)?window.innerHeight:u.clientHeight,v=gv(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,w=b-f,C=I+v,A=d-v-f,N=p-b+v+y,E=v+f-x,S=160;switch(i){case"auto":case"bottom":if(w>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return o&&vv(l,N,S),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&w>=r)return o&&vv(l,N,S),{placement:"bottom",maxHeight:a?w-y:A-y};if("auto"===i||a){var T=t,k=a?I:C;return k>=r&&(T=Math.min(k-y-s,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return o&&bv(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(C>=m&&!a)return o&&vv(l,E,S),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&I>=r){var B=t;return(!a&&C>=r||a&&I>=r)&&(B=a?I-x:C-x),o&&vv(l,E,S),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Bv,Pv=function(e){return"auto"===e?"bottom":e},Lv=h(null),Rv=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(f(Lv)||{}).setPortalPlacement,d=l(null),h=Of(c(r),2),p=h[0],m=h[1],g=Of(c(null),2),b=g[0],v=g[1],y=s.spacing.controlHeight;return sv(function(){var e=d.current;if(e){var t="fixed"===o,s=kv({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});m(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[r,i,o,a,n,u,y]),t({ref:d,placerProps:Lf(Lf({},e),{},{placement:b||Pv(i),maxHeight:p})})},Gv=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Ob("div",bp({},mv(e,"menu",{menu:!0}),{ref:n},r),t)},Ov=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Lf({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Dv=Ov,Mv=Ov,Vv=["size"],jv=["innerProps","isRtl","size"];var Wv,Hv,Xv="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Fv=function(e){var t=e.size,n=Df(e,Vv);return Ob("svg",bp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Xv},n))},zv=function(e){return Ob(Fv,bp({size:20},e),Ob("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"}))},Zv=function(e){return Ob(Fv,bp({size:20},e),Ob("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"}))},Yv=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Lf({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},_v=Yv,Jv=Yv,Uv=function(){var e=Db.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_"}}}(Bv||(Wv=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Hv||(Hv=Wv.slice(0)),Bv=Object.freeze(Object.defineProperties(Wv,{raw:{value:Object.freeze(Hv)}})))),$v=function(e){var t=e.delay,n=e.offset;return Ob("span",{css:Db({animation:"".concat(Uv," 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= */")})},Kv=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return Ob("div",bp({ref:i},mv(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Qv=["data"],qv=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Ob("div",bp({},mv(e,"group",{group:!0}),s),Ob(o,bp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Ob("div",null,t))},ey=["innerRef","isDisabled","isHidden","inputClassName"],ty={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ny={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Lf({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ty)},ry=function(e){return Lf({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},ty)},iy=function(e){var t=e.cx,n=e.value,r=pv(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Df(r,ey);return Ob("div",bp({},mv(e,"input",{"input-container":!0}),{"data-value":n||""}),Ob("input",bp({className:t({input:!0},s),ref:i,style:ry(a),disabled:o},l)))},oy=function(e){var t=e.children,n=e.innerProps;return Ob("div",n,t)};var ay=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Ob(l,{data:r,innerProps:Lf(Lf({},mv(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},Ob(c,{data:r,innerProps:Lf({},mv(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Ob(u,{data:r,innerProps:Lf(Lf({},mv(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},sy={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Ob("div",bp({},mv(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Ob(zv,null))},Control:Kv,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Ob("div",bp({},mv(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Ob(Zv,null))},DownChevron:Zv,CrossIcon:zv,Group:qv,GroupHeading:function(e){var t=pv(e);t.data;var n=Df(t,Qv);return Ob("div",bp({},mv(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Ob("div",bp({},mv(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Ob("span",bp({},t,mv(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:iy,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Df(e,jv);return Ob("div",bp({},mv(Lf(Lf({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Ob($v,{delay:0,offset:n}),Ob($v,{delay:160,offset:!0}),Ob($v,{delay:320,offset:!n}))},Menu:Gv,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Ob("div",bp({},mv(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,s=e.menuPosition,u=l(null),h=l(null),p=Of(c(Pv(o)),2),m=p[0],f=p[1],g=a(function(){return{setPortalPlacement:f}},[]),b=Of(c(null),2),v=b[0],y=b[1],x=d(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===s?0:window.pageYOffset,n=e[m]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[r,s,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);sv(function(){x()},[x]);var I=d(function(){"function"==typeof h.current&&(h.current(),h.current=null),r&&u.current&&(h.current=av(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);sv(function(){I()},[I]);var w=d(function(e){u.current=e,I()},[I]);if(!t&&"fixed"!==s||!v)return null;var C=Ob("div",bp({ref:w},mv(Lf(Lf({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return Ob(Lv.Provider,{value:g},t?T(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Df(e,Tv);return Ob("div",bp({},mv(Lf(Lf({},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=Df(e,Sv);return Ob("div",bp({},mv(Lf(Lf({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:ay,MultiValueContainer:oy,MultiValueLabel:oy,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ob("div",bp({role:"button"},n),t||Ob(zv,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return Ob("div",bp({},mv(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Ob("div",bp({},mv(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Ob("div",bp({},mv(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Ob("div",bp({},mv(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 Ob("div",bp({},mv(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},ly=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function cy(e,t){return e===t||!(!ly(e)||!ly(t))}function uy(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!cy(e[n],t[n]))return!1;return!0}for(var dy="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)."}},hy=function(e){return Ob("span",bp({css:dy},e))},py={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",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:"",".")}},my=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,s=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,x=l.screenReaderStatus,I=l.tabSelectsValue,w=l.isLoading,C=l["aria-label"],A=l["aria-live"],N=a(function(){return Lf(Lf({},py),d||{})},[d]),E=a(function(){var e,n="";if(t&&N.onChange){var r=t.option,i=t.options,o=t.removedValue,a=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?h(c):"",d=i||a||void 0,p=d?d.map(h):[],m=Lf({isDisabled:c&&f(c,s),label:u,labels:p},t);n=N.onChange(m)}return n},[t,N,f,s,h]),S=a(function(){var e="",t=n||r,o=!!(n&&s&&s.includes(n));if(t&&N.onFocus){var a={focused:t,label:h(t),isDisabled:f(t,s),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=N.onFocus(a)}return e},[n,r,h,f,N,i,s,u]),T=a(function(){var e="";if(b&&v.length&&!w&&N.onFilter){var t=x({count:i.length});e=N.onFilter({inputValue:p,resultsMessage:t})}return e},[i,p,b,N,v,x,w]),k="initial-input-focus"===(null==t?void 0:t.action),B=a(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":C,context:t,isDisabled:n&&f(n,s),isMulti:m,isSearchable:g,tabSelectsValue:I,isInitialFocus:k})}return e},[C,n,r,m,f,g,b,N,s,I,k]),P=Ob(y,null,Ob("span",{id:"aria-selection"},E),Ob("span",{id:"aria-focused"},S),Ob("span",{id:"aria-results"},T),Ob("span",{id:"aria-guidance"},B));return Ob(y,null,Ob(hy,{id:c},k&&P),Ob(hy,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!k&&P))},fy=[{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źẑżžẓẕƶȥɀⱬꝣ"}],gy=new RegExp("["+fy.map(function(e){return e.letters}).join("")+"]","g"),by={},vy=0;vy<fy.length;vy++)for(var yy=fy[vy],xy=0;xy<yy.letters.length;xy++)by[yy.letters[xy]]=yy.base;var Iy=function(e){return e.replace(gy,function(e){return by[e]})},wy=function(e,t){void 0===t&&(t=uy);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}(Iy),Cy=function(e){return e.replace(/^\s+|\s+$/g,"")},Ay=function(e){return"".concat(e.label," ").concat(e.value)},Ny=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Lf({ignoreCase:!0,ignoreAccents:!0,stringify:Ay,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?Cy(n):n,u=s?Cy(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=wy(c),u=Iy(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Ey=["innerRef"];function Sy(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=Of(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Of(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Df(e,Ey),"onExited","in","enter","exit","appear");return Ob("input",bp({ref:t},n,{css:Db({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 Ty=["boxSizing","height","overflow","paddingRight","position"],ky={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function By(e){e.cancelable&&e.preventDefault()}function Py(e){e.stopPropagation()}function Ly(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ry(){return"ontouchstart"in window||navigator.maxTouchPoints}var Gy=!("undefined"==typeof window||!window.document||!window.document.createElement),Oy=0,Dy={capture:!1,passive:!1};var My=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Vy="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 jy(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,a=l(!1),s=l(!1),c=l(0),h=l(null),p=d(function(e,t){if(null!==h.current){var l=h.current,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,p=h.current,m=t>0,f=u-d-c,g=!1;f>t&&a.current&&(r&&r(e),a.current=!1),m&&s.current&&(o&&o(e),s.current=!1),m&&t>f?(n&&!a.current&&n(e),p.scrollTop=u,g=!0,a.current=!0):!m&&-t>c&&(i&&!s.current&&i(e),p.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),m=d(function(e){p(e,e.deltaY)},[p]),f=d(function(e){c.current=e.changedTouches[0].clientY},[]),g=d(function(e){var t=c.current-e.changedTouches[0].clientY;p(e,t)},[p]),b=d(function(e){if(e){var t=!!Av&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",g,t)}},[g,f,m]),v=d(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",g,!1))},[g,f,m]);return u(function(){if(t){var e=h.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){h.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=l({}),o=l(null),a=d(function(e){if(Gy){var t=document.body,n=t&&t.style;if(r&&Ty.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&Oy<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(ky).forEach(function(e){var t=ky[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ry()&&(t.addEventListener("touchmove",By,Dy),e&&(e.addEventListener("touchstart",Ly,Dy),e.addEventListener("touchmove",Py,Dy))),Oy+=1}},[r]),s=d(function(e){if(Gy){var t=document.body,n=t&&t.style;Oy=Math.max(Oy-1,0),r&&Oy<1&&Ty.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Ry()&&(t.removeEventListener("touchmove",By,Dy),e&&(e.removeEventListener("touchstart",Ly,Dy),e.removeEventListener("touchmove",Py,Dy)))}},[r]);return u(function(){if(t){var e=o.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){o.current=e}}({isEnabled:n});return Ob(y,null,n&&Ob("div",{onClick:My,css:Vy}),t(function(e){i(e),o(e)}))}var Wy="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Hy=function(e){var t=e.name,n=e.onFocus;return Ob("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Wy,value:"",onChange:function(){}})};function Xy(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Fy(){return Xy(/^Mac/i)}function zy(){return Xy(/^iPhone/i)||Xy(/^iPad/i)||Fy()&&navigator.maxTouchPoints>1}var Zy={clearIndicator:Jv,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return Lf({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:_v,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 Lf({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 Lf({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return Lf(Lf({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},ny),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return Lf({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:Mv,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return Lf((Bf(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Bf(n,"position","absolute"),Bf(n,"width","100%"),Bf(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Lf({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 Lf({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 Lf({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return Lf({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:Dv,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return Lf({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Lf({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 Lf({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 Lf({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")})}},Yy={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}},_y={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:xv(),captureMenuScroll:!xv(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Ny(),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 Jy(e,t,n,r){return{type:"option",data:t,isDisabled:nx(e,t,n),isSelected:rx(e,t,n),label:ex(e,t),value:tx(e,t),index:r}}function Uy(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Jy(e,n,t,r)}).filter(function(t){return Qy(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Jy(e,n,t,r);return Qy(e,o)?o:void 0}).filter(Nv)}function $y(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Ff(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Ky(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Ff(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function Qy(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!ox(e)||!o)&&ix(e,{label:a,value:s,data:i},r)}var qy=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},ex=function(e,t){return e.getOptionLabel(t)},tx=function(e,t){return e.getOptionValue(t)};function nx(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function rx(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=tx(e,t);return n.some(function(t){return tx(e,t)===r})}function ix(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ox=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ax=1,sx=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&&jf(e,t)}(t,x);var e=function(e){var t=Hf();return function(){var n,r=Wf(e);if(t){var i=Wf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Xf(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Ff(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=Ev(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Ev(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=Ev(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return qy(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Ky(Uy(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 dv.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return ex(r.props,e)},r.getOptionValue=function(e){return tx(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Zy[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,Lf(Lf({},sy),e.components);var e},r.buildCategorizedOptions=function(){return Uy(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return $y(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Lf({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&&fv(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 ox(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,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||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||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:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ax),r.state.selectValue=hv(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=qy(i,o[a])}return r}return function(e,t,n){t&&Vf(e.prototype,t),n&&Vf(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&yv(this.menuListRef,this.focusedOptionRef),(Fy()||zy())&&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&&(yv(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Yy):Lf(Lf({},Yy),this.props.theme):Yy}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return nx(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return rx(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ix(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,h=d.inputIsHidden,p=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=Lf(Lf(Lf({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,bp({},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:a,form:s,type:"text",value:o},g)):r.createElement(Sy,bp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:cv,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,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:r.createElement(l,bp({},c,{key:"placeholder",isDisabled:h,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(p)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,bp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,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 r.createElement(s,bp({},c,{data:x,isDisabled:h}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,bp({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,bp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,bp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,bp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,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,I=p.menuPlacement,w=p.menuPosition,C=p.menuPortalTarget,A=p.menuShouldBlockScroll,N=p.menuShouldScrollIntoView,E=p.noOptionsMessage,S=p.onMenuScrollToTop,T=p.onMenuScrollToBottom;if(!x)return null;var k,B=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,p=h===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,bp({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,bp({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return B(t,"".concat(t.index))});else if(g){var P=b({inputValue:f});if(null===P)return null;k=r.createElement(l,d,P)}else{var L=E({inputValue:f});if(null===L)return null;k=r.createElement(c,d,L)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:w,menuShouldScrollIntoView:N},G=r.createElement(Rv,bp({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,bp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(jy,{captureEnabled:m,onTopArrive:S,onBottomArrive:T,lockEnabled:A},function(t){return r.createElement(a,bp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:h}),k)}))});return C||"fixed"===w?r.createElement(s,bp({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:I,menuPosition:w}),G):G}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(Hy,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(my,bp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,h=this.commonProps=this.getCommonProps();return r.createElement(i,bp({},h,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,bp({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,bp({},h,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,bp({},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,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,h=e.inputValue,p=e.isMulti,m=hv(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||h!==n.inputValue)){var g=d?function(e,t){return $y(Uy(e,t))}(e,m):[],b=d?Ky(Uy(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:qy(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=o,w=a&&s;return a&&!w&&(I={value:Ev(p,m,m[0]||null),options:m,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),Lf(Lf(Lf({},f),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:w})}}]),t}();sx.defaultProps=_y;var lx=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,h=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,f=e.value,g=Df(e,Mf),b=Of(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=Of(c(void 0!==l?l:i),2),I=x[0],w=x[1],C=Of(c(void 0!==f?f:a),2),A=C[0],N=C[1],E=d(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),S=d(function(e,t){var n;"function"==typeof h&&(n=h(e,t)),y(void 0!==n?n:e)},[h]),T=d(function(){"function"==typeof m&&m(),w(!0)},[m]),k=d(function(){"function"==typeof p&&p(),w(!1)},[p]),B=void 0!==s?s:v,P=void 0!==l?l:I,L=void 0!==f?f:A;return Lf(Lf({},g),{},{inputValue:B,menuIsOpen:P,onChange:E,onInputChange:S,onMenuClose:k,onMenuOpen:T,value:L})}(e);return r.createElement(sx,bp({ref:t},n))}),cx=lx;const ux=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:s=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:h,error:p,menuClassName:m,helperText:f,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...w})=>{const C=a(()=>Ny(d),[d]),A=a(()=>({control:({isFocused:e})=>Ze("sm"===v?"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&&!h,"border-input-border-critical shadow-none":h},i),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(h?"text-icon-critical":""),singleValue:()=>Ze(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ze("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ze("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,i,m,n,h,v]);return"unstyled"===y?e(cx,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...w}):t("div",{className:"w-full",children:[g&&e("label",{className:Ze("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(cx,{options:n,value:o,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...w}),p&&e(br,{className:"footnote mt-1 text-text-critical",children:p}),!p&&f&&e(br,{className:"footnote mt-1 text-text-info",children:f})]})});function dx({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:a,categoryOptions:s}){const l=k(),c=B(),u=P();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(br,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(ux,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Vr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(Sf,{currentPage:i,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}function hx({title:n="recent articles",paginatedArticles:r,totalArticles:i,currentPage:o,totalPages:a,selectedCategory:s,categoryOptions:l,onCategoryChange:c,onPageChange:u,imageComponent:d}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(br,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),l.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(br,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(br,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(br,{as:"span",className:"md:hidden",children:["showing"," "]}),r.length," of ",i," articles"]})]}),e(ux,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),r.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:r.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Vr,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:d,index:n},t.slug)})}):e(br,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e(Sf,{currentPage:o,totalPages:a,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})}ux.displayName="Select";const px=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===l?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,s=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",l=i===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(br,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e("a",{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(gr,{name:"chevron_right",className:`${c} `})]},i)})})}):null},mx=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:h,color:p,onSubmit:m}=n,[f,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[h]} ${"dark"==p?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(br,{as:a?"h1":"h2",className:Ze("heading2 md:heading1"),children:i}),o&&e(br,{as:"div",className:Ze("subheading2 mt-2 md:subheading1"),children:o})]}),s?e(br,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Tr,{type:"submit",className:"ml-2 inline-flex",children:e(gr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Ii,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},fx={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"}},gx=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=fx[null==i?void 0:i.toLowerCase()]||fx.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:Ze(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(br,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d]})};function bx(r){var i,o,a;const[s,l]=c(0),[d,h]=c(""),{title:p,subTitle:m,tabs:f,tabsContent:g,navigationType:b=!0,mobileSidebarTabType:v=!0}=r;u(()=>{if("undefined"!=typeof window){h(window.location.hash);const e=()=>{h(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),u(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return l(t),!0})},[f,d]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&d&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(i=null==f?void 0:f.items)||void 0===i?void 0:i.map((t,n)=>e(Or,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==g?void 0:g.map((t,n)=>e("div",{children:e(Qd,{children:e(gp.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))]}),I=e(n,{children:null===(o=null==f?void 0:f.items)||void 0===o?void 0:o.map((n,r)=>t("div",{className:"py-5",children:[t(Or,{showButtonAs:"unstyled",onClick:()=>y(r,null==n?void 0:n.anchorId),buttonClassName:Ze("w-full flex justify-between items-center px-4 py-5",r===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(gr,{name:r===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(kr,{open:r===s,children:e("div",{className:Ze("px-4 py-4"),children:null==g?void 0:g[r]})})]},r))}),w=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==f?void 0:f.items)||void 0===a?void 0:a.map((t,n)=>e(Or,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("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("div",{className:"grow",children:null==g?void 0:g.map((t,n)=>e("div",{children:e(Qd,{children:e(gp.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 t("div",{children:[p||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[p?e(br,{className:"heading2 px-5 md:heading1 md:text-center",children:p}):null,m?e(br,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:w})]})}function vx(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function yx(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const xx=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:s,ctaButtonLink:h,ctaButtonTarget:p,anchorId:m="anchored-banner",enableCountdownTimer:f,countdownStartDateTime:g,countdownEndDateTime:b})=>{const v=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",y="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",x=a(()=>vx(b),[b]),I=a(()=>vx(g),[g]),w=a(()=>!(!f||void 0===x)&&((!g||void 0!==I)&&(!(void 0!==I&&I>=x)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:g,countdownEndDateTime:b}),!1))),[f,x,I,g,b]),[C,N]=c(()=>Date.now()),E=l(null),S=d(()=>{null!==E.current&&(window.clearInterval(E.current),E.current=null)},[]);u(()=>{if(w)return E.current=window.setInterval(()=>{const e=Date.now();void 0!==x&&e>=x&&S(),N(e)},1e3),S;S()},[w,x,S]);const T=a(()=>{if(!w||void 0===x)return{shouldShow:!1,text:""};if(void 0!==I&&C<I||C>=x)return{shouldShow:!1,text:""};const e=(x-C)/1e3;return{shouldShow:e>0,text:yx(e)}},[w,x,I,C]);return e("section",{id:m,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${v} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(A,{href:h||"#",target:p||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${y} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e(gr,{name:i,size:24,fill:1,className:`${y} align-text-bottom`}),T.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:T.text}),T.shouldShow?" ":null,s&&s," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function Ix({content:n}){let r=3;const[i,o]=c(!1),[a,s]=c(!1),d=l(null);u(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=Ct.get(e);return t?It(t):null}("cookieBannerClosed");o("true"!==e)},[]),u(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),u(()=>{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]),u(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,a]);a&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Or,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=xt(r);Ct.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(gr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const wx=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:u,backgroundColor:d="green",successFeedback:h,onSubmit:p}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},f=m[d]||m.green,g=["green","blue","navy"].includes(d)?"text-white":"text-text",[b,v]=c(""),[y,x]=c(!1),[I,w]=c("");return t("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${f} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[i&&e("h1",{className:`text-heading1 font-black ${g}`,children:i}),o&&e("h2",{className:`text-heading1 font-black ${g}`,children:o}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${g}`,children:a}),t("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("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),I&&w(""),y&&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(Or,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(p({email:b}),v(""),x(!0),w("")):w("Please enter a valid email address.")}})]}),I&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:I}),h&&y&&!I&&e("p",{className:`mt-2 text-label4 font-semibold ${g}`,children:h})]})}),u&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:u})]})},Cx=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:a,onBannerShown:s})=>{var l,d;const{anchorId:h,mainHeading:p,description:m,cta:f}=n,[g,b]=c(!1);u(()=>{const e=()=>{(null==a?void 0:a())&&!g&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==o||o()};return r?t("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(br,{className:"heading5 text-center lg:heading3",children:p||"Welcome back. Let’s finish your order"}),m&&Cr(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(Or,{onClick:v,buttonLabel:null!==(l=null==f?void 0:f.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:h,"data-testid":"cart-retention-banner",children:e(wf,{size:"sm",isOpen:g,onRequestClose:()=>{null==i||i(),b(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(br,{className:"heading5 text-center lg:heading3",children:p||"Welcome back. Let&apos;s finish your order"}),m&&Cr(Et(null==m?void 0:m.json),!1,"body1 my-4"),e(Or,{onClick:v,buttonLabel:null!==(d=null==f?void 0:f.buttonLabel)&&void 0!==d?d:"Continue checkout"})]})})})};export{Lr as Accordion,gx as AddressInputBanner,xx as AnchoredBottomBanner,Vr as BlogCard,dx as BlogGrid,hx as BlogGridBase,px as BreadcrumbNavigation,Or as Button,ei as Callout,ti as Cards,ui as Carousel,Cx as CartRetentionBanner,Ef as ComparisonTable,Ix as CookieBanner,Af as CtaCallout,bx as DynamicTabs,wx as EmailInputBlock,Nf as FindKinetic,di as FloatingBanner,hi as Footer,gi as ImagePromoBar,wf as Modal,wi as Navigation,Ei as PrimaryHero,ii as ProductCard,mx as SearchBlock,Cf as ShapeBackgroundWrapper,Ur as SimpleCard,oi as TestimonialCard,Si as Text,Er as label1BoldOptions,Cr as renderContentfulRichText,Nr as renderContentfulRichTextTable,Et as toDocument,Ar as useContentfulRichText,Sr as useProcessedChecklist};
14
14
  //# sourceMappingURL=index.esm.js.map