@windstream/react-shared-components 0.1.67 → 0.1.69

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 (201) hide show
  1. package/README.md +635 -635
  2. package/dist/contentful/index.d.ts +23 -0
  3. package/dist/contentful/index.esm.js +3 -3
  4. package/dist/contentful/index.esm.js.map +1 -1
  5. package/dist/contentful/index.js +3 -3
  6. package/dist/contentful/index.js.map +1 -1
  7. package/dist/core.d.ts +2 -2
  8. package/dist/index.d.ts +3 -3
  9. package/dist/index.esm.js +13 -5
  10. package/dist/index.esm.js.map +1 -1
  11. package/dist/index.js +13 -5
  12. package/dist/index.js.map +1 -1
  13. package/dist/next/index.esm.js +2 -2
  14. package/dist/next/index.esm.js.map +1 -1
  15. package/dist/next/index.js +2 -2
  16. package/dist/next/index.js.map +1 -1
  17. package/dist/styles.css +1 -1
  18. package/dist/utils/index.esm.js +1 -1
  19. package/dist/utils/index.esm.js.map +1 -1
  20. package/dist/utils/index.js +1 -1
  21. package/dist/utils/index.js.map +1 -1
  22. package/package.json +185 -185
  23. package/src/components/accordion/Accordion.stories.tsx +230 -230
  24. package/src/components/accordion/index.tsx +70 -70
  25. package/src/components/accordion/types.ts +12 -12
  26. package/src/components/alert-card/AlertCard.stories.tsx +171 -171
  27. package/src/components/alert-card/index.tsx +41 -41
  28. package/src/components/alert-card/types.ts +13 -13
  29. package/src/components/brand-button/BrandButton.stories.tsx +223 -223
  30. package/src/components/brand-button/helpers.ts +35 -35
  31. package/src/components/brand-button/index.tsx +120 -120
  32. package/src/components/brand-button/types.ts +38 -38
  33. package/src/components/button/Button.stories.tsx +108 -108
  34. package/src/components/button/index.tsx +27 -27
  35. package/src/components/button/types.ts +14 -14
  36. package/src/components/call-button/CallButton.stories.tsx +324 -324
  37. package/src/components/call-button/index.tsx +106 -86
  38. package/src/components/call-button/types.ts +16 -11
  39. package/src/components/checkbox/Checkbox.stories.tsx +247 -247
  40. package/src/components/checkbox/index.tsx +197 -197
  41. package/src/components/checkbox/types.ts +27 -27
  42. package/src/components/checklist/Checklist.stories.tsx +150 -150
  43. package/src/components/checklist/index.tsx +61 -61
  44. package/src/components/checklist/types.ts +17 -17
  45. package/src/components/collapse/Collapse.stories.tsx +255 -255
  46. package/src/components/collapse/index.tsx +46 -46
  47. package/src/components/collapse/types.ts +6 -6
  48. package/src/components/divider/Divider.stories.tsx +205 -205
  49. package/src/components/divider/index.tsx +22 -22
  50. package/src/components/divider/type.ts +3 -3
  51. package/src/components/image/Image.stories.tsx +113 -113
  52. package/src/components/image/index.tsx +25 -25
  53. package/src/components/image/types.ts +40 -40
  54. package/src/components/input/Input.stories.tsx +325 -325
  55. package/src/components/input/index.tsx +177 -177
  56. package/src/components/input/types.ts +37 -37
  57. package/src/components/link/Link.stories.tsx +163 -163
  58. package/src/components/link/index.tsx +116 -109
  59. package/src/components/link/types.ts +25 -25
  60. package/src/components/list/List.stories.tsx +272 -272
  61. package/src/components/list/index.tsx +88 -88
  62. package/src/components/list/list-item/index.tsx +38 -38
  63. package/src/components/list/list-item/types.ts +13 -13
  64. package/src/components/list/types.ts +29 -29
  65. package/src/components/material-icon/MaterialIcon.stories.tsx +322 -322
  66. package/src/components/material-icon/constants.ts +99 -98
  67. package/src/components/material-icon/index.tsx +47 -47
  68. package/src/components/material-icon/types.ts +31 -31
  69. package/src/components/modal/Modal.stories.tsx +171 -171
  70. package/src/components/modal/index.tsx +164 -164
  71. package/src/components/modal/types.ts +24 -24
  72. package/src/components/next-image/index.tsx +72 -54
  73. package/src/components/next-image/types.ts +1 -1
  74. package/src/components/pagination/index.tsx +91 -91
  75. package/src/components/pagination/types.ts +6 -6
  76. package/src/components/radio-button/RadioButton.stories.tsx +307 -307
  77. package/src/components/radio-button/index.tsx +75 -75
  78. package/src/components/radio-button/types.ts +21 -21
  79. package/src/components/see-more/SeeMore.stories.tsx +181 -181
  80. package/src/components/see-more/index.tsx +44 -44
  81. package/src/components/see-more/types.ts +4 -4
  82. package/src/components/select/Select.stories.tsx +411 -411
  83. package/src/components/select/index.tsx +155 -155
  84. package/src/components/select/types.ts +36 -36
  85. package/src/components/select-plan-button/SelectPlanButton.stories.tsx +184 -184
  86. package/src/components/select-plan-button/index.tsx +63 -63
  87. package/src/components/select-plan-button/types.ts +17 -17
  88. package/src/components/skeleton/Skeleton.stories.tsx +179 -179
  89. package/src/components/skeleton/index.tsx +61 -61
  90. package/src/components/skeleton/types.ts +4 -4
  91. package/src/components/spinner/Spinner.stories.tsx +335 -335
  92. package/src/components/spinner/index.tsx +44 -44
  93. package/src/components/spinner/types.ts +5 -5
  94. package/src/components/text/Text.stories.tsx +321 -321
  95. package/src/components/text/index.tsx +25 -25
  96. package/src/components/text/types.ts +45 -45
  97. package/src/components/tooltip/Tooltip.stories.tsx +219 -219
  98. package/src/components/tooltip/index.tsx +74 -74
  99. package/src/components/tooltip/types.ts +7 -7
  100. package/src/components/view-cart-button/ViewCartButton.stories.tsx +252 -252
  101. package/src/components/view-cart-button/index.tsx +42 -42
  102. package/src/components/view-cart-button/types.ts +5 -5
  103. package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +127 -127
  104. package/src/contentful/blocks/accordion/Accordion.stories.tsx +105 -105
  105. package/src/contentful/blocks/accordion/index.tsx +112 -112
  106. package/src/contentful/blocks/accordion/types.ts +34 -34
  107. package/src/contentful/blocks/address-input-banner/index.tsx +52 -52
  108. package/src/contentful/blocks/address-input-banner/types.ts +14 -14
  109. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +70 -70
  110. package/src/contentful/blocks/anchored-bottom-banner/types.ts +10 -10
  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 +35 -35
  115. package/src/contentful/blocks/breadcrumbs/types.ts +6 -6
  116. package/src/contentful/blocks/button/Button.stories.tsx +40 -40
  117. package/src/contentful/blocks/button/index.tsx +131 -131
  118. package/src/contentful/blocks/button/types.ts +39 -39
  119. package/src/contentful/blocks/callout/Callout.stories.tsx +23 -23
  120. package/src/contentful/blocks/callout/index.tsx +88 -88
  121. package/src/contentful/blocks/callout/types.ts +15 -15
  122. package/src/contentful/blocks/cards/Cards.stories.tsx +23 -23
  123. package/src/contentful/blocks/cards/blog-card/index.tsx +129 -129
  124. package/src/contentful/blocks/cards/blog-card/types.ts +34 -34
  125. package/src/contentful/blocks/cards/index.tsx +13 -13
  126. package/src/contentful/blocks/cards/product-card/index.tsx +251 -251
  127. package/src/contentful/blocks/cards/product-card/types.ts +28 -28
  128. package/src/contentful/blocks/cards/simple-card/index.tsx +89 -89
  129. package/src/contentful/blocks/cards/simple-card/types.ts +28 -28
  130. package/src/contentful/blocks/cards/testimonial-card/index.tsx +90 -90
  131. package/src/contentful/blocks/cards/testimonial-card/types.tsx +12 -12
  132. package/src/contentful/blocks/cards/types.ts +1 -1
  133. package/src/contentful/blocks/carousel/Carousel.stories.tsx +23 -23
  134. package/src/contentful/blocks/carousel/helper.tsx +440 -440
  135. package/src/contentful/blocks/carousel/index.tsx +85 -85
  136. package/src/contentful/blocks/carousel/types.ts +144 -144
  137. package/src/contentful/blocks/cart-retention-banner/index.tsx +105 -105
  138. package/src/contentful/blocks/cart-retention-banner/types.ts +11 -11
  139. package/src/contentful/blocks/comparison-table/index.tsx +27 -27
  140. package/src/contentful/blocks/comparison-table/types.ts +6 -6
  141. package/src/contentful/blocks/cookiebanner/index.tsx +146 -146
  142. package/src/contentful/blocks/cookiebanner/type.ts +7 -7
  143. package/src/contentful/blocks/cta-callout/CtaCallout.stories.tsx +46 -46
  144. package/src/contentful/blocks/cta-callout/index.tsx +71 -71
  145. package/src/contentful/blocks/cta-callout/types.ts +26 -26
  146. package/src/contentful/blocks/dynamic-tabs/index.tsx +204 -204
  147. package/src/contentful/blocks/dynamic-tabs/types.ts +21 -21
  148. package/src/contentful/blocks/email-input-block/index.tsx +117 -117
  149. package/src/contentful/blocks/email-input-block/types.ts +16 -16
  150. package/src/contentful/blocks/find-kinetic/FindKinetic.stories.tsx +23 -23
  151. package/src/contentful/blocks/find-kinetic/index.tsx +130 -130
  152. package/src/contentful/blocks/find-kinetic/types.ts +19 -19
  153. package/src/contentful/blocks/floating-banner/FloatingBanner.stories.tsx +34 -34
  154. package/src/contentful/blocks/floating-banner/index.tsx +97 -97
  155. package/src/contentful/blocks/floating-banner/types.ts +22 -22
  156. package/src/contentful/blocks/footer/Footer.stories.tsx +203 -203
  157. package/src/contentful/blocks/footer/index.tsx +91 -91
  158. package/src/contentful/blocks/footer/types.ts +13 -13
  159. package/src/contentful/blocks/image-promo-bar/ImagePromoBar.stories.tsx +23 -23
  160. package/src/contentful/blocks/image-promo-bar/helper.tsx +28 -28
  161. package/src/contentful/blocks/image-promo-bar/index.tsx +246 -246
  162. package/src/contentful/blocks/image-promo-bar/types.ts +44 -44
  163. package/src/contentful/blocks/image-promo-bar/vimeo-embed.tsx +93 -93
  164. package/src/contentful/blocks/image-promo-bar/youtube-embed.tsx +46 -46
  165. package/src/contentful/blocks/modal/constants.ts +53 -53
  166. package/src/contentful/blocks/modal/index.tsx +107 -107
  167. package/src/contentful/blocks/modal/types.ts +12 -12
  168. package/src/contentful/blocks/navigation/desktop-link-groups.tsx/index.tsx +124 -113
  169. package/src/contentful/blocks/navigation/index.tsx +462 -394
  170. package/src/contentful/blocks/navigation/mobile-link-groups.tsx/index.tsx +82 -82
  171. package/src/contentful/blocks/navigation/types.ts +64 -41
  172. package/src/contentful/blocks/primary-hero/PrimaryHero.stories.tsx +23 -23
  173. package/src/contentful/blocks/primary-hero/index.tsx +236 -236
  174. package/src/contentful/blocks/primary-hero/types.ts +37 -37
  175. package/src/contentful/blocks/search-block/index.tsx +90 -90
  176. package/src/contentful/blocks/search-block/types.ts +15 -15
  177. package/src/contentful/blocks/shape-background-wrapper/ShapeBackgroundWrapper.stories.tsx +26 -26
  178. package/src/contentful/blocks/shape-background-wrapper/index.tsx +124 -124
  179. package/src/contentful/blocks/shape-background-wrapper/types.ts +36 -36
  180. package/src/contentful/blocks/text/Text.stories.tsx +23 -23
  181. package/src/contentful/blocks/text/index.tsx +12 -12
  182. package/src/contentful/blocks/text/types.ts +1 -1
  183. package/src/contentful/index.ts +106 -106
  184. package/src/hooks/contentful/use-contentful-rich-text.tsx +310 -310
  185. package/src/hooks/contentful/use-processed-check-list.ts +63 -63
  186. package/src/hooks/use-body-scroll-lock.ts +34 -34
  187. package/src/hooks/use-carousel-swipe.ts +264 -264
  188. package/src/hooks/use-outside-click.ts +17 -17
  189. package/src/index.ts +101 -101
  190. package/src/next/index.ts +5 -5
  191. package/src/setupTests.ts +46 -46
  192. package/src/stories/DocsTemplate.tsx +24 -24
  193. package/src/styles/globals.css +343 -343
  194. package/src/types/global.d.ts +9 -9
  195. package/src/types/micro-components.ts +99 -99
  196. package/src/types/utm.ts +49 -49
  197. package/src/utils/contentful/to-document.ts +24 -24
  198. package/src/utils/cookie.ts +84 -84
  199. package/src/utils/cx.ts +49 -49
  200. package/src/utils/index.ts +38 -38
  201. package/src/utils/utm.ts +221 -221
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),r=require("next/image"),o=require("react-dom"),i=require("next/navigation");function s(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var l=a(t),c=a(n),u=s(r),d=s(o);function p(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=p(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function h(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=p(e))&&(r&&(r+=" "),r+=t);return r}const m=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),f(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},f=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?f(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)x(n[e],r,e,t);return r},x=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:y(t,e)).classGroupId=n)}if("function"==typeof e)return I(e)?void x(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{x(o,y(t,e),n,r)})})},y=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},I=e=>e.isThemeGetter,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},w=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===r&&0===o){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?r++:"]"===a?r--:"("===a?o++:")"===a&&o--}const s=0===t.length?e:e.substring(i),a=A(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},A=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,N=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},E=/\s+/;function j(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=k(e))&&(r&&(r+=" "),r+=t);return r}const k=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=k(e[r]))&&(n&&(n+=" "),n+=t);return n};function T(e,...t){let n,r,o,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:C(e.cacheSize),parseClassName:w(e),sortModifiers:N(e),...m(e)}))(l),r=n.cache.get,o=n.cache.set,i=s,s(a)};function s(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(E);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=o(f,m);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(j.apply(null,arguments))}}const P=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},G=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R=/^\((?:(\w[\w-]*):)?(.+)\)$/i,S=/^\d+\/\d+$/,B=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,L=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>S.test(e),X=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),F=e=>e.endsWith("%")&&X(e.slice(0,-1)),H=e=>B.test(e),z=()=>!0,Z=e=>V.test(e)&&!L.test(e),Y=()=>!1,J=e=>M.test(e),U=e=>D.test(e),_=e=>!Q(e)&&!re(e),$=e=>ue(e,me,Y),Q=e=>G.test(e),K=e=>ue(e,fe,Z),q=e=>ue(e,ge,X),ee=e=>ue(e,pe,Y),te=e=>ue(e,he,U),ne=e=>ue(e,ve,J),re=e=>R.test(e),oe=e=>de(e,fe),ie=e=>de(e,be),se=e=>de(e,pe),ae=e=>de(e,me),le=e=>de(e,he),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const r=G.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=R.exec(e);return!!r&&(r[1]?t(r[1]):n)},pe=e=>"position"===e||"percentage"===e,he=e=>"image"===e||"url"===e,me=e=>"length"===e||"size"===e||"bg-size"===e,fe=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,xe=()=>{const e=P("color"),t=P("font"),n=P("text"),r=P("font-weight"),o=P("tracking"),i=P("leading"),s=P("breakpoint"),a=P("container"),l=P("spacing"),c=P("radius"),u=P("shadow"),d=P("inset-shadow"),p=P("text-shadow"),h=P("drop-shadow"),m=P("blur"),f=P("perspective"),g=P("aspect"),b=P("ease"),v=P("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,Q],y=()=>[re,Q,l],I=()=>[O,"full","auto",...y()],C=()=>[W,"none","subgrid",re,Q],w=()=>["auto",{span:["full",W,re,Q]},W,re,Q],A=()=>[W,"auto",re,Q],N=()=>["auto","min","max","fr",re,Q],E=()=>["auto",...y()],j=()=>[O,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],k=()=>[e,re,Q],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",se,ee,{position:[re,Q]}],G=()=>["auto","cover","contain",ae,$,{size:[re,Q]}],R=()=>[F,oe,K],S=()=>["","none","full",c,re,Q],B=()=>["",X,oe,K],V=()=>[X,F,se,ee],L=()=>["","none",m,re,Q],M=()=>["none",X,re,Q],D=()=>["none",X,re,Q],Z=()=>[X,re,Q],Y=()=>[O,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[H],breakpoint:[H],color:[z],container:[H],"drop-shadow":[H],ease:["in","out","in-out"],font:[_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[H],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[H],shadow:[H],spacing:["px",X],text:[H],"text-shadow":[H],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",O,Q,re,g]}],container:["container"],columns:[{columns:[X,Q,re,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",re,Q]}],basis:[{basis:[O,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[X,O,"auto","initial","none",Q]}],grow:[{grow:["",X,re,Q]}],shrink:[{shrink:["",X,re,Q]}],order:[{order:[W,"first","last","none",re,Q]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[a,"screen",...j()]}],"min-w":[{"min-w":[a,"screen","none",...j()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,oe,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,re,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",F,Q]}],"font-family":[{font:[ie,Q,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,re,Q]}],"line-clamp":[{"line-clamp":[X,"none",re,q]}],leading:[{leading:[i,...y()]}],"list-image":[{"list-image":["none",re,Q]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,Q]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[X,"from-font","auto",re,K]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[X,"auto",re,Q]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,Q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re,Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,re,Q],radial:["",re,Q],conic:[W,re,Q]},le,te]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[X,re,Q]}],"outline-w":[{outline:["",X,oe,K]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[X,K]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[X,re,Q]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":V()}],"mask-image-t-to-pos":[{"mask-t-to":V()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":V()}],"mask-image-r-to-pos":[{"mask-r-to":V()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":V()}],"mask-image-b-to-pos":[{"mask-b-to":V()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":V()}],"mask-image-l-to-pos":[{"mask-l-to":V()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":V()}],"mask-image-x-to-pos":[{"mask-x-to":V()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":V()}],"mask-image-y-to-pos":[{"mask-y-to":V()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[re,Q]}],"mask-image-radial-from-pos":[{"mask-radial-from":V()}],"mask-image-radial-to-pos":[{"mask-radial-to":V()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,Q]}],filter:[{filter:["","none",re,Q]}],blur:[{blur:L()}],brightness:[{brightness:[X,re,Q]}],contrast:[{contrast:[X,re,Q]}],"drop-shadow":[{"drop-shadow":["","none",h,ce,ne]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",X,re,Q]}],"hue-rotate":[{"hue-rotate":[X,re,Q]}],invert:[{invert:["",X,re,Q]}],saturate:[{saturate:[X,re,Q]}],sepia:[{sepia:["",X,re,Q]}],"backdrop-filter":[{"backdrop-filter":["","none",re,Q]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[X,re,Q]}],"backdrop-contrast":[{"backdrop-contrast":[X,re,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":["",X,re,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,re,Q]}],"backdrop-invert":[{"backdrop-invert":["",X,re,Q]}],"backdrop-opacity":[{"backdrop-opacity":[X,re,Q]}],"backdrop-saturate":[{"backdrop-saturate":[X,re,Q]}],"backdrop-sepia":[{"backdrop-sepia":["",X,re,Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,Q]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[X,"initial",re,Q]}],ease:[{ease:["linear","initial",b,re,Q]}],delay:[{delay:[X,re,Q]}],animate:[{animate:["none",v,re,Q]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,re,Q]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:Z()}],"skew-x":[{"skew-x":Z()}],"skew-y":[{"skew-y":Z()}],transform:[{transform:[re,Q,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,Q]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re,Q]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[X,oe,K,q]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ie=(e,t)=>{if(t)for(const n in t)ye(e,n,t[n])},Ce=(e,t)=>{if(t)for(const n in t)we(e,t,n)},we=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ae=((e,...t)=>"function"==typeof e?T(xe,e,...t):T(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(ye(e,"cacheSize",t),ye(e,"prefix",n),ye(e,"experimentalParseClassName",r),Ie(e.theme,i.theme),Ie(e.classGroups,i.classGroups),Ie(e.conflictingClassGroups,i.conflictingClassGroups),Ie(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ye(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Ce(e.theme,o.theme),Ce(e.classGroups,o.classGroups),Ce(e.conflictingClassGroups,o.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),we(e,o,"orderSensitiveModifiers"),e))(xe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ne=(...e)=>Ae(h(...e)),Ee="function"==typeof Buffer,je="function"==typeof TextDecoder?new TextDecoder:void 0,ke="function"==typeof TextEncoder?new TextEncoder:void 0,Te=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Pe=(()=>{let e={};return Te.forEach((t,n)=>e[t]=n),e})(),Ge=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Re=String.fromCharCode.bind(String),Se="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Be=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),Ve=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Le=e=>{let t,n,r,o,i="";const s=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(o=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=Te[t>>18&63]+Te[t>>12&63]+Te[t>>6&63]+Te[63&t]}return s?i.slice(0,s-3)+"===".substring(s):i},Me="function"==typeof btoa?e=>btoa(e):Ee?e=>Buffer.from(e,"binary").toString("base64"):Le,De=Ee?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Re.apply(null,e.subarray(n,n+4096)));return Me(t.join(""))},Oe=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Re(192|t>>>6)+Re(128|63&t):Re(224|t>>>12&15)+Re(128|t>>>6&63)+Re(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Re(240|t>>>18&7)+Re(128|t>>>12&63)+Re(128|t>>>6&63)+Re(128|63&t)},Xe=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,We=e=>e.replace(Xe,Oe),Fe=Ee?e=>Buffer.from(e,"utf8").toString("base64"):ke?e=>De(ke.encode(e)):e=>Me(We(e)),He=(e,t=!1)=>t?Be(Fe(e)):Fe(e),ze=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ze=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 Re((t>>>10)+55296)+Re(56320+(1023&t));case 3:return Re((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Re((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Ye=e=>e.replace(ze,Ze),Je=e=>{if(e=e.replace(/\s+/g,""),!Ge.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let o=[];for(let i=0;i<e.length;)t=Pe[e.charAt(i++)]<<18|Pe[e.charAt(i++)]<<12|(n=Pe[e.charAt(i++)])<<6|(r=Pe[e.charAt(i++)]),64===n?o.push(Re(t>>16&255)):64===r?o.push(Re(t>>16&255,t>>8&255)):o.push(Re(t>>16&255,t>>8&255,255&t));return o.join("")},Ue="function"==typeof atob?e=>atob(Ve(e)):Ee?e=>Buffer.from(e,"base64").toString("binary"):Je,_e=Ee?e=>Se(Buffer.from(e,"base64")):e=>Se(Ue(e).split("").map(e=>e.charCodeAt(0))),$e=Ee?e=>Buffer.from(e,"base64").toString("utf8"):je?e=>je.decode(_e(e)):e=>Ye(Ue(e)),Qe=e=>Ve(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),Ke=e=>$e(Qe(e)),qe=He,et=Ke;
3
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),r=require("next/image"),o=require("react-dom"),i=require("next/navigation");function s(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var l=a(t),c=a(n),u=s(r),d=s(o);function p(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=p(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function h(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=p(e))&&(r&&(r+=" "),r+=t);return r}const m=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),f(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},f=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?f(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)x(n[e],r,e,t);return r},x=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:y(t,e)).classGroupId=n)}if("function"==typeof e)return I(e)?void x(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{x(o,y(t,e),n,r)})})},y=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},I=e=>e.isThemeGetter,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},w=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===r&&0===o){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?r++:"]"===a?r--:"("===a?o++:")"===a&&o--}const s=0===t.length?e:e.substring(i),a=A(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},A=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,E=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},N=/\s+/;function j(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=S(e))&&(r&&(r+=" "),r+=t);return r}const S=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=S(e[r]))&&(n&&(n+=" "),n+=t);return n};function T(e,...t){let n,r,o,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:C(e.cacheSize),parseClassName:w(e),sortModifiers:E(e),...m(e)}))(l),r=n.cache.get,o=n.cache.set,i=s,s(a)};function s(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(N);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=o(f,m);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(j.apply(null,arguments))}}const B=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},k=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P=/^\((?:(\w[\w-]*):)?(.+)\)$/i,R=/^\d+\/\d+$/,L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,O=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,D=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,V=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>R.test(e),H=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),X=e=>e.endsWith("%")&&H(e.slice(0,-1)),F=e=>L.test(e),z=()=>!0,Z=e=>G.test(e)&&!O.test(e),Y=()=>!1,_=e=>D.test(e),J=e=>V.test(e),U=e=>!K(e)&&!re(e),$=e=>ue(e,me,Y),K=e=>k.test(e),Q=e=>ue(e,fe,Z),q=e=>ue(e,ge,H),ee=e=>ue(e,pe,Y),te=e=>ue(e,he,J),ne=e=>ue(e,ve,_),re=e=>P.test(e),oe=e=>de(e,fe),ie=e=>de(e,be),se=e=>de(e,pe),ae=e=>de(e,me),le=e=>de(e,he),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const r=k.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=P.exec(e);return!!r&&(r[1]?t(r[1]):n)},pe=e=>"position"===e||"percentage"===e,he=e=>"image"===e||"url"===e,me=e=>"length"===e||"size"===e||"bg-size"===e,fe=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,xe=()=>{const e=B("color"),t=B("font"),n=B("text"),r=B("font-weight"),o=B("tracking"),i=B("leading"),s=B("breakpoint"),a=B("container"),l=B("spacing"),c=B("radius"),u=B("shadow"),d=B("inset-shadow"),p=B("text-shadow"),h=B("drop-shadow"),m=B("blur"),f=B("perspective"),g=B("aspect"),b=B("ease"),v=B("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,K],y=()=>[re,K,l],I=()=>[M,"full","auto",...y()],C=()=>[W,"none","subgrid",re,K],w=()=>["auto",{span:["full",W,re,K]},W,re,K],A=()=>[W,"auto",re,K],E=()=>["auto","min","max","fr",re,K],N=()=>["auto",...y()],j=()=>[M,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],S=()=>[e,re,K],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",se,ee,{position:[re,K]}],k=()=>["auto","cover","contain",ae,$,{size:[re,K]}],P=()=>[X,oe,Q],R=()=>["","none","full",c,re,K],L=()=>["",H,oe,Q],G=()=>[H,X,se,ee],O=()=>["","none",m,re,K],D=()=>["none",H,re,K],V=()=>["none",H,re,K],Z=()=>[H,re,K],Y=()=>[M,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[F],breakpoint:[F],color:[z],container:[F],"drop-shadow":[F],ease:["in","out","in-out"],font:[U],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[F],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[F],shadow:[F],spacing:["px",H],text:[F],"text-shadow":[F],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",M,K,re,g]}],container:["container"],columns:[{columns:[H,K,re,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",re,K]}],basis:[{basis:[M,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[H,M,"auto","initial","none",K]}],grow:[{grow:["",H,re,K]}],shrink:[{shrink:["",H,re,K]}],order:[{order:[W,"first","last","none",re,K]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[a,"screen",...j()]}],"min-w":[{"min-w":[a,"screen","none",...j()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,oe,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,re,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",X,K]}],"font-family":[{font:[ie,K,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,re,K]}],"line-clamp":[{"line-clamp":[H,"none",re,q]}],leading:[{leading:[i,...y()]}],"list-image":[{"list-image":["none",re,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[H,"from-font","auto",re,Q]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[H,"auto",re,K]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:k()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,re,K],radial:["",re,K],conic:[W,re,K]},le,te]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:R()}],"rounded-s":[{"rounded-s":R()}],"rounded-e":[{"rounded-e":R()}],"rounded-t":[{"rounded-t":R()}],"rounded-r":[{"rounded-r":R()}],"rounded-b":[{"rounded-b":R()}],"rounded-l":[{"rounded-l":R()}],"rounded-ss":[{"rounded-ss":R()}],"rounded-se":[{"rounded-se":R()}],"rounded-ee":[{"rounded-ee":R()}],"rounded-es":[{"rounded-es":R()}],"rounded-tl":[{"rounded-tl":R()}],"rounded-tr":[{"rounded-tr":R()}],"rounded-br":[{"rounded-br":R()}],"rounded-bl":[{"rounded-bl":R()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[H,re,K]}],"outline-w":[{outline:["",H,oe,Q]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[H,Q]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[H,re,K]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[H]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[re,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[H]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:k()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,K]}],filter:[{filter:["","none",re,K]}],blur:[{blur:O()}],brightness:[{brightness:[H,re,K]}],contrast:[{contrast:[H,re,K]}],"drop-shadow":[{"drop-shadow":["","none",h,ce,ne]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",H,re,K]}],"hue-rotate":[{"hue-rotate":[H,re,K]}],invert:[{invert:["",H,re,K]}],saturate:[{saturate:[H,re,K]}],sepia:[{sepia:["",H,re,K]}],"backdrop-filter":[{"backdrop-filter":["","none",re,K]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[H,re,K]}],"backdrop-contrast":[{"backdrop-contrast":[H,re,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",H,re,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[H,re,K]}],"backdrop-invert":[{"backdrop-invert":["",H,re,K]}],"backdrop-opacity":[{"backdrop-opacity":[H,re,K]}],"backdrop-saturate":[{"backdrop-saturate":[H,re,K]}],"backdrop-sepia":[{"backdrop-sepia":["",H,re,K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[H,"initial",re,K]}],ease:[{ease:["linear","initial",b,re,K]}],delay:[{delay:[H,re,K]}],animate:[{animate:["none",v,re,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,re,K]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:V()}],"scale-x":[{"scale-x":V()}],"scale-y":[{"scale-y":V()}],"scale-z":[{"scale-z":V()}],"scale-3d":["scale-3d"],skew:[{skew:Z()}],"skew-x":[{"skew-x":Z()}],"skew-y":[{"skew-y":Z()}],transform:[{transform:[re,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,K]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",re,K]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[H,oe,Q,q]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ie=(e,t)=>{if(t)for(const n in t)ye(e,n,t[n])},Ce=(e,t)=>{if(t)for(const n in t)we(e,t,n)},we=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ae=((e,...t)=>"function"==typeof e?T(xe,e,...t):T(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(ye(e,"cacheSize",t),ye(e,"prefix",n),ye(e,"experimentalParseClassName",r),Ie(e.theme,i.theme),Ie(e.classGroups,i.classGroups),Ie(e.conflictingClassGroups,i.conflictingClassGroups),Ie(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ye(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Ce(e.theme,o.theme),Ce(e.classGroups,o.classGroups),Ce(e.conflictingClassGroups,o.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),we(e,o,"orderSensitiveModifiers"),e))(xe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ee=(...e)=>Ae(h(...e)),Ne="function"==typeof Buffer,je="function"==typeof TextDecoder?new TextDecoder:void 0,Se="function"==typeof TextEncoder?new TextEncoder:void 0,Te=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Be=(()=>{let e={};return Te.forEach((t,n)=>e[t]=n),e})(),ke=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Pe=String.fromCharCode.bind(String),Re="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Le=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),Ge=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Oe=e=>{let t,n,r,o,i="";const s=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(o=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=Te[t>>18&63]+Te[t>>12&63]+Te[t>>6&63]+Te[63&t]}return s?i.slice(0,s-3)+"===".substring(s):i},De="function"==typeof btoa?e=>btoa(e):Ne?e=>Buffer.from(e,"binary").toString("base64"):Oe,Ve=Ne?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Pe.apply(null,e.subarray(n,n+4096)));return De(t.join(""))},Me=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Pe(192|t>>>6)+Pe(128|63&t):Pe(224|t>>>12&15)+Pe(128|t>>>6&63)+Pe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Pe(240|t>>>18&7)+Pe(128|t>>>12&63)+Pe(128|t>>>6&63)+Pe(128|63&t)},He=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,We=e=>e.replace(He,Me),Xe=Ne?e=>Buffer.from(e,"utf8").toString("base64"):Se?e=>Ve(Se.encode(e)):e=>De(We(e)),Fe=(e,t=!1)=>t?Le(Xe(e)):Xe(e),ze=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ze=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Pe((t>>>10)+55296)+Pe(56320+(1023&t));case 3:return Pe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Pe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Ye=e=>e.replace(ze,Ze),_e=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 o=[];for(let i=0;i<e.length;)t=Be[e.charAt(i++)]<<18|Be[e.charAt(i++)]<<12|(n=Be[e.charAt(i++)])<<6|(r=Be[e.charAt(i++)]),64===n?o.push(Pe(t>>16&255)):64===r?o.push(Pe(t>>16&255,t>>8&255)):o.push(Pe(t>>16&255,t>>8&255,255&t));return o.join("")},Je="function"==typeof atob?e=>atob(Ge(e)):Ne?e=>Buffer.from(e,"base64").toString("binary"):_e,Ue=Ne?e=>Re(Buffer.from(e,"base64")):e=>Re(Je(e).split("").map(e=>e.charCodeAt(0))),$e=Ne?e=>Buffer.from(e,"base64").toString("utf8"):je?e=>je.decode(Ue(e)):e=>Ye(Je(e)),Ke=e=>Ge(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),Qe=e=>$e(Ke(e)),qe=Fe,et=Qe;
4
4
  /*! js-cookie v3.0.5 | MIT */
5
- function tt(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 nt=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=tt({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=t.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",tt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,tt({},this.attributes,t))},withConverter:function(t){return e(tt({},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 rt=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const ot=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,it=e=>{if(!e)return null;if(ot(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return ot(t)?t:null}return null};var st=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}({}),at=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}({}),lt=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 ct=[st.PARAGRAPH,st.HEADING_1,st.HEADING_2,st.HEADING_3,st.HEADING_4,st.HEADING_5,st.HEADING_6,st.OL_LIST,st.UL_LIST,st.HR,st.QUOTE,st.EMBEDDED_ENTRY,st.EMBEDDED_ASSET,st.EMBEDDED_RESOURCE,st.TABLE],ut=[st.PARAGRAPH,st.HEADING_1,st.HEADING_2,st.HEADING_3,st.HEADING_4,st.HEADING_5,st.HEADING_6,st.OL_LIST,st.UL_LIST,st.HR,st.QUOTE,st.EMBEDDED_ENTRY,st.EMBEDDED_ASSET,st.EMBEDDED_RESOURCE];st.TABLE,st.TABLE_ROW,st.TABLE_CELL,st.TABLE_HEADER_CELL,st.HR,st.EMBEDDED_ENTRY,st.EMBEDDED_ASSET,st.EMBEDDED_RESOURCE;const dt={[st.OL_LIST]:[st.LIST_ITEM],[st.UL_LIST]:[st.LIST_ITEM],[st.LIST_ITEM]:ut,[st.QUOTE]:[st.PARAGRAPH],[st.TABLE]:[st.TABLE_ROW],[st.TABLE_ROW]:[st.TABLE_CELL,st.TABLE_HEADER_CELL],[st.TABLE_CELL]:[st.PARAGRAPH,st.UL_LIST,st.OL_LIST],[st.TABLE_HEADER_CELL]:[st.PARAGRAPH]};st.HEADING_1,st.HEADING_2,st.HEADING_3,st.HEADING_4,st.HEADING_5,st.HEADING_6;st.PARAGRAPH,st.DOCUMENT,st.PARAGRAPH,st.HEADING_1,st.HEADING_2,st.HEADING_3,st.HEADING_4,st.HEADING_5,st.HEADING_6,st.OL_LIST,st.UL_LIST,st.LIST_ITEM,st.HR,st.QUOTE,st.EMBEDDED_ENTRY,st.EMBEDDED_ASSET,at.HYPERLINK,at.ENTRY_HYPERLINK,at.ASSET_HYPERLINK,at.EMBEDDED_ENTRY,lt.BOLD,lt.CODE,lt.ITALIC,lt.UNDERLINE,st.DOCUMENT,st.PARAGRAPH;function pt(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!==st.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 ht=({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 mt{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(ht({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(ht({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(ht({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(ht({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,o)=>{if(r)return;const i=t(n,this.path.of(e).of(o));i.length>0&&(r=!0),this.catch(...i)})}}const ft=[];class gt{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new mt(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:r,min:o=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===r.length&&o>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${o} with no nodeTypes`);if(n.minLength("content",o),0===r.length?n.empty("content"):n.each("content",(e,t)=>{const n=new mt(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 bt extends gt{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 mt(e,t);if(n.object("target")){const r=new mt(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 vt=(e,t)=>new gt(e,t),xt=(e,t)=>new bt(e,t);vt([...Object.values(at),"text"].sort()),vt([st.LIST_ITEM]),xt("Entry",ft),vt(()=>({nodeTypes:[st.PARAGRAPH],min:1}),(e,t)=>{const n=new mt(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});function yt(e,n){return e.map((e,r)=>{return o=It(e,n),i=r,t.isValidElement(o)&&null===o.key?t.cloneElement(o,{key:i}):o;var o,i})}function It(e,t){const{renderNode:n,renderMark:r,renderText:o,preserveWhitespace:i}=t;if(function(e){return"text"===e.nodeType}(e)){let t=o?o(e.value):e.value;if(i&&!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(l.default.createElement("br",null))}),t=n}return e.marks.reduce((e,t)=>r[t.type]?r[t.type](e):e,t)}{const r=yt(e.content,t);return e.nodeType&&n[e.nodeType]?n[e.nodeType](e,r):l.default.createElement(l.default.Fragment,null,r)}}st.DOCUMENT,vt(ct),st.PARAGRAPH,st.HEADING_1,st.HEADING_2,st.HEADING_3,st.HEADING_4,st.HEADING_5,st.HEADING_6,st.QUOTE,vt(dt[st.QUOTE]),st.EMBEDDED_ENTRY,st.EMBEDDED_ASSET,xt("Asset",ft),st.EMBEDDED_RESOURCE,xt("Contentful:Entry",ft),st.HR,vt(ft),st.OL_LIST,st.UL_LIST,st.LIST_ITEM,vt([...ut].sort()),st.TABLE,vt(()=>({nodeTypes:[st.TABLE_ROW],min:1})),st.TABLE_ROW,vt(()=>({nodeTypes:[st.TABLE_CELL,st.TABLE_HEADER_CELL],min:1})),st.TABLE_CELL,st.TABLE_HEADER_CELL,at.HYPERLINK,new class extends gt{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new mt(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},at.EMBEDDED_ENTRY,at.EMBEDDED_RESOURCE,xt("Contentful:Entry",ft),at.ENTRY_HYPERLINK,xt("Entry",["text"]),at.ASSET_HYPERLINK,xt("Asset",["text"]),at.RESOURCE_HYPERLINK,xt("Contentful:Entry",["text"]);const Ct={[st.DOCUMENT]:(e,t)=>t,[st.PARAGRAPH]:(e,t)=>l.default.createElement("p",null,t),[st.HEADING_1]:(e,t)=>l.default.createElement("h1",null,t),[st.HEADING_2]:(e,t)=>l.default.createElement("h2",null,t),[st.HEADING_3]:(e,t)=>l.default.createElement("h3",null,t),[st.HEADING_4]:(e,t)=>l.default.createElement("h4",null,t),[st.HEADING_5]:(e,t)=>l.default.createElement("h5",null,t),[st.HEADING_6]:(e,t)=>l.default.createElement("h6",null,t),[st.EMBEDDED_ENTRY]:(e,t)=>l.default.createElement("div",null,t),[st.EMBEDDED_RESOURCE]:(e,t)=>l.default.createElement("div",null,t),[st.UL_LIST]:(e,t)=>l.default.createElement("ul",null,t),[st.OL_LIST]:(e,t)=>l.default.createElement("ol",null,t),[st.LIST_ITEM]:(e,t)=>l.default.createElement("li",null,t),[st.QUOTE]:(e,t)=>l.default.createElement("blockquote",null,t),[st.HR]:()=>l.default.createElement("hr",null),[st.TABLE]:(e,t)=>l.default.createElement("table",null,l.default.createElement("tbody",null,t)),[st.TABLE_ROW]:(e,t)=>l.default.createElement("tr",null,t),[st.TABLE_HEADER_CELL]:(e,t)=>l.default.createElement("th",null,t),[st.TABLE_CELL]:(e,t)=>l.default.createElement("td",null,t),[at.ASSET_HYPERLINK]:e=>At(at.ASSET_HYPERLINK,e),[at.ENTRY_HYPERLINK]:e=>At(at.ENTRY_HYPERLINK,e),[at.RESOURCE_HYPERLINK]:e=>Nt(at.RESOURCE_HYPERLINK,e),[at.EMBEDDED_ENTRY]:e=>At(at.EMBEDDED_ENTRY,e),[at.EMBEDDED_RESOURCE]:(e,t)=>Nt(at.EMBEDDED_RESOURCE,e),[at.HYPERLINK]:(e,t)=>l.default.createElement("a",{href:e.data.uri},t)},wt={[lt.BOLD]:e=>l.default.createElement("b",null,e),[lt.ITALIC]:e=>l.default.createElement("i",null,e),[lt.UNDERLINE]:e=>l.default.createElement("u",null,e),[lt.CODE]:e=>l.default.createElement("code",null,e),[lt.SUPERSCRIPT]:e=>l.default.createElement("sup",null,e),[lt.SUBSCRIPT]:e=>l.default.createElement("sub",null,e),[lt.STRIKETHROUGH]:e=>l.default.createElement("s",null,e)};function At(e,t){return l.default.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function Nt(e,t){return l.default.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}function Et(e,t={}){if(!e)return null;let n=e;return t.stripEmptyTrailingParagraph&&(n=pt(e)),It(n,{renderNode:{...Ct,...t.renderNode},renderMark:{...wt,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}const jt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},kt=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:o,...i},s)=>{const a=Ne("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e.jsx("li",{ref:s,className:a,style:o,...i,children:t})});kt.displayName="ListItem";const Tt=t.forwardRef(({type:t="ul",items:n,className:r="",renderItem:o,children:i,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ne(u,`list--${t}`,`list--${s}`,r),p=i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e.jsx(kt,{className:t.className,variant:s,children:t.content},t.id||n)):null),h={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...h,ref:c}):e.jsx("ul",{...h,ref:c})});Tt.displayName="List";const Pt=({name:t,fill:n=0,opticalSize:r="48dp",weight:o="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${i}, 'opsz' ${r.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:Ne("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Pt.displayName="MaterialIcon";const Gt=t.forwardRef(({children:e,as:t,className:n="",style:r,...o},i)=>{const s=t||"p";return l.default.createElement(s,{ref:i,className:n,style:r,...o},e)});Gt.displayName="Text";const Rt=t=>{const{items:n,listIconName:r="check",listItemClassName:o,listContainerClassName:i,iconSize:s=20,iconPosition:a="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==r;return(null==n?void 0:n.length)?e.jsx(Tt,{className:Ne("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(kt,{variant:u?"unstyled":"default",className:Ne(`${u?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Pt,{name:r,size:s,color:jt[l],weight:"600",className:Ne("block","top"===a?"mt-1":"",c)})}),e.jsx(Gt,{as:"div",children:t})]},n))}):null};Rt.displayName="Checklist";const St=t.forwardRef(({children:t,href:n,className:r="",onClick:o,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...u},d)=>{const p=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),h=e=>{l?e.preventDefault():null==o||o(e)},m=Ne(p,`link--${i}`,l&&"link--disabled",r),f={...u,ref:d,className:m,style:s,href:l?void 0:n,onClick:h,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...f,children:t}):e.jsx(c.default,{href:n||"#",className:m,onClick:h,...u,children:t})});St.displayName="Link";const Bt={renderMark:{[lt.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[lt.ITALIC]:t=>e.jsx("em",{children:t}),[lt.UNDERLINE]:t=>e.jsx("u",{children:t}),[lt.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[st.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[st.HEADING_1]:(t,n)=>e.jsx(Gt,{as:"h1",className:"heading2 md:heading1",children:n}),[st.HEADING_2]:(t,n)=>e.jsx(Gt,{as:"h2",className:"heading6 md:heading5",children:n}),[st.HEADING_3]:(t,n)=>e.jsx(Gt,{as:"h3",className:"heading6 md:heading5",children:n}),[st.HEADING_4]:(t,n)=>e.jsx(Gt,{as:"h3",className:"headingClass",children:n}),[st.HEADING_5]:(t,n)=>e.jsx(Gt,{as:"h3",className:"heading6 md:heading5",children:n}),[st.HEADING_6]:(t,n)=>e.jsx(Gt,{as:"h3",className:"heading6",children:n}),[st.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[st.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[st.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[st.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[at.HYPERLINK]:(t,n)=>{var r;const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,i=/^https?:\/\//.test(o);return e.jsx("a",{href:o,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:n})},[st.EMBEDDED_ASSET]:t=>{var n,r;const o=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,i=null==o?void 0:o.fields,s=(null==o?void 0:o.url)||(null===(r=null==i?void 0:i.file)||void 0===r?void 0:r.url),a=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!s)return null;const l=s.startsWith("//")?`https:${s}`:s;return e.jsx("img",{src:l,alt:a,style:{maxWidth:"100%"}})},[st.EMBEDDED_ENTRY]:t=>{var n,r,o,i;const s=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"callout"===(null===(i=null===(o=null===(r=null==s?void 0:s.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===i?void 0:i.id)?e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:s.fields.title}),e.jsx("div",{children:s.fields.body})]}):null},[at.EMBEDDED_ENTRY]:t=>{var n,r,o,i,s,a;const l=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"componentCheckList"===(null===(i=null===(o=null===(r=null==l?void 0:l.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===i?void 0:i.id)?e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",l.fields.title]}):e.jsx("span",{children:null!==(a=null===(s=null==l?void 0:l.fields)||void 0===s?void 0:s.title)&&void 0!==a?a:""})}}};function Vt(t,n,r="body1",o="body1 font-bold",i){if(!t||!Array.isArray(t.content))return null;const s={...Bt,...i,renderNode:{...Bt.renderNode,...null==i?void 0:i.renderNode,[st.PARAGRAPH]:(t,n)=>e.jsx("div",{className:r,children:n}),[at.HYPERLINK]:(t,r)=>{var i;const s=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,a=/^https?:\/\//.test(s),l=null!=n?n:a;return e.jsx(St,{href:s,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:o,children:r})}}};return Et(t,s)}const Lt={renderMark:{[lt.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const Mt=t.forwardRef(({children:t,className:n="",style:r,disabled:o,...i},s)=>e.jsx("button",{ref:s,className:Ne(n),style:r,disabled:o,...i,children:t}));Mt.displayName="Button";const Dt=n=>{const{open:r,children:o}=n,i=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a(r?e.scrollHeight:0)};let n;return t(),r&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[r,o]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:r?1:0},"aria-hidden":!r,children:e.jsx("div",{ref:i,children:o})})};Dt.displayName="Collapse";const Ot=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[h,m]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;m(e)}else m(Boolean(o))},[d,o]),e.jsxs("div",{className:Ne(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(Mt,{type:"button",className:Ne(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>m(e=>!e),children:[e.jsx("span",{className:Ne("label5 flex-1",a),children:r}),e.jsx(Pt,{className:Ne("flex-shrink-0",u),name:h?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(Dt,{open:h,children:e.jsx("div",{className:Ne("px-4 py-4",l),children:i})})]})};Ot.displayName="Accordion";const Xt=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ne("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};Xt.displayName="Divider";var Wt;const Ft=null!==(Wt=c.default)&&void 0!==Wt?Wt:c,Ht=({href:t,title:n,description:r,date:o,category:i,image:s,imageComponent:a,readMoreText:l="Read more",asGrid:c=!0,lgWidth:u,mdWidth:d,index:p})=>{const h=c?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${u} ${d} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`;return e.jsxs("article",{className:h,"data-section-type":"blog-card","data-section-index":p,children:[e.jsx(Ft,{href:t,tabIndex:-1,"aria-hidden":"true",className:"block",children:e.jsx("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:s?a?e.jsx(a,{src:s.src,alt:s.alt,width:s.width,height:s.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("img",{src:s.src,alt:s.alt,width:s.width,height:s.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),e.jsxs("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[e.jsx("span",{className:"body2 text-text-brand",children:i}),o&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:o})]})]}),n&&e.jsx(Ft,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),r&&e.jsx(Gt,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),e.jsxs(Ft,{href:t,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${l} about ${n||"this article"}`,children:[e.jsx(Gt,{"aria-label":`${l} about ${n||"this article"}`,className:"label1 text-nowrap",children:l}),e.jsx(Pt,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},zt=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},Zt=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:r,label:o,disabled:i,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Ne((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(l),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",s?"w-full":"w-auto"),r=Ne((i||n)&&"cursor-not-allowed",n&&"pl-7");return Ne(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[t]||"",r,a)})();let h=`button--${t}`;n&&(h+=" button--loading"),i&&(h+=" button--disabled");const m=`${h} ${p}`,f=e.jsxs(e.Fragment,{children:[n?e.jsx(Pt,{name:"progress_activity",className:"animate-spin"}):null,o?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ne(zt(l)),children:o}),r]}):r]});return"a"===c?e.jsx("a",{ref:d,className:Ne(m),...u,children:f}):e.jsx("button",{ref:d,className:Ne(m),disabled:i||n,...u,children:f})});Zt.displayName="BrandButton";const Yt=t=>{const{showButtonAs:n="solid",buttonVariant:r="primary_brand",buttonLabel:o,buttonPrefix:i,href:s,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:u,fullWidth:d,preDefinedFunctionExecution:p,renderCheckPlans:h,buttonClassName:m,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,iconFill:y=0,size:I,iconSize:C=24,preserveQueryParameters:w,...A}=t;if("check availability"===p){return null==h?void 0:h({ctaText:o,buttonVariant:r,showButtonAs:n,cta:{...t}})}function N(){"modal"===f&&(null==b||b(g))}function E(e){N(),null==v||v(e)}function j(e){N(),null==v||v(e)}const k="undefined"!=typeof window?window.location.search:"",T=s&&w&&k?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(rt),o=new Set([...r,"searchtext","page"]);let i,s;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,s=t.searchParams}else{const[t,n]=e.split("?");i=t,s=new URLSearchParams(n||"")}}catch(t){return e}const a=new URLSearchParams(s);n.forEach((e,t)=>{o.has(t.toLowerCase())||a.has(t)||a.set(t,e)});const l=a.toString();return l?`${i}?${l}`:i}(s,k):s;let P=e.jsx(Mt,{onClick:j,className:m,...A});switch(n){case"solid":P=T?e.jsx(Zt,{as:"a",href:T,id:l,variant:r,text:o,label:i,fullWidth:d,buttonClassName:m,size:I,onClick:E}):e.jsx(Zt,{id:l,variant:r,text:o,label:i,fullWidth:d,size:I,onClick:j,buttonClassName:m});break;case"text":P=e.jsxs(St,{title:o,href:T,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:E,children:[o," ",x&&e.jsx(Pt,{name:x,size:C,fill:y})]})}return P},Jt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ut=({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()},_t=t.forwardRef(({className:t,...n},r)=>{const o="string"==typeof n.src?n.src:"",i=o.toLowerCase().split("?")[0]||"",s=o.includes("images.ctfassets.net"),a=s&&i.endsWith(".svg"),l=s&&!a?{loader:Ut,unoptimized:!1}:{unoptimized:a};return e.jsx(u.default,{ref:r,className:Ne(t),...n,...l})});_t.displayName="NextImage";const $t=({card:t,lgWidth:n,mdWidth:r})=>{var o,i,s;const a=(null===(o=t.imageAlignment)||void 0===o?void 0:o.toLowerCase())||"left",l="left"===a?"lg:items-start":"right"===a?"lg:items-end":"lg:items-center";return e.jsx("div",{className:`callout-card ${r} ${n} w-full ${null!==(s=Jt[null!==(i=t.backgroundColor)&&void 0!==i?i:""])&&void 0!==s?s:""}`,children:e.jsxs("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${l}`,children:[e.jsx("div",{className:"card-header",children:(t=>{var n,r,o;if(!t.image)return null;return"full"===(null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase())?e.jsx(_t,{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}):e.jsx(_t,{width:88,height:88,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon"})})(t)}),e.jsxs("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[t.title&&e.jsx(Gt,{as:"h5",className:"heading6 text-text md:heading5",children:t.title}),t.body&&e.jsx(Gt,{as:"div",className:"body1 text-text",children:t.body})]}),t.cta&&e.jsx("div",{className:"card-footer",children:e.jsx(Yt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...t.cta,iconName:"expand_circle_right",iconFill:1})})]})})},Qt=t.forwardRef(({as:t,className:n="",...r},o)=>{const i=Ne(n);if(t){const n=t;return e.jsx(n,{ref:o,className:i,...r})}return e.jsx("img",{ref:o,className:i,...r})});Qt.displayName="Image";const Kt=({onSelect:n,speed:r,isSelected:o=!1,renderCheckPlans:i,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),h=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${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"} `,m=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(Mt,{onClick:()=>{p(!0),n()},className:Ne(h,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Pt,{className:Ne(a,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),m]})},qt=({planName:n,planSubtext:r,speed:o,price:i,description:s,bestValue:a=!1,bestValueText:l="best value",giftBadge:c,innerBadge:u,theme:d="light",featuresTitle:p="Business Ready Internet features",features:h=[],isExpanded:m,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[I,C]=t.useState(!1),w=void 0!==m?m:I,A="dark"===d;return e.jsxs("article",{className:Ne("relative flex h-full w-full max-w-[392px] flex-col",!a&&"md:pt-[38px]"),children:[a&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:l}),e.jsxs("div",{className:Ne("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",A?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",a?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(Gt,{as:"h3",className:Ne("subheading2",A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(Gt,{as:"p",className:"label3 text-wrap "+(A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(Gt,{as:"span",className:Ne("label2 mr-1 mt-[2px]",A?"text-text-inverse":"text-text"),children:"$"}),e.jsx(Gt,{as:"span",className:Ne("subheading6",A?"text-text-inverse":"text-text"),children:i.split(".")[0]}),e.jsxs(Gt,{as:"span",className:Ne("label2",A?"text-text-inverse":"text-text"),children:[i.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(Gt,{className:Ne("body2",A?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Ne("flex-col items-center rounded-surface-sm p-2",A?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Qt,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(Gt,{as:"div",className:Ne("body3",A?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(Kt,{onSelect:g,speed:o,isSelected:A,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),h.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(Mt,{onClick:()=>{f?f():C(!I)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(Gt,{as:"h4",className:Ne("label3",A?"text-text-inverse":"text-text"),children:p}),e.jsx(Pt,{name:"keyboard_arrow_down",fill:1,size:24,className:Ne("transition-transform duration-300",w&&"rotate-180",A?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ne("overflow-hidden transition-all duration-200 ease-in-out",w?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(Rt,{items:h,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:A?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(A?"text-text-inverse":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(Qt,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:u.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e.jsx(Gt,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},en=({title:t,quote:n,rating:r,author:o,role:i,avatarUrl:s,isActive:a=!1,className:l})=>e.jsxs("figure",{className:h("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",a?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",l),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx(Gt,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),r?e.jsx("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Pt,{size:24,name:"star",fill:1,className:h("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e.jsx(u.default,{src:s,alt:o,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:o.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:o}),e.jsx(Gt,{as:"p",className:"body3 text-text",children:i})]})]})]});function tn({fields:n,renderCheckPlans:r}){var o,i,s,a;const l=(null===(s=null===(i=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===i?void 0:i[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[c,u]=t.useState(l),[d,p]=t.useState({}),[h,m]=t.useState(0),f=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=f.length>2,b=t.useRef([]),v=t.useCallback(()=>{g&&m(e=>(e+3)%f.length)},[g,f.length]),x=t.useCallback(()=>{g&&m(e=>(e-3+f.length)%f.length)},[g,f.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=b.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[g,c,f.length]),!f.length&&!(null==n?void 0:n.title))return null;const y=(t,n,o=!1)=>{var i,s,a,l,h,m,f,g;const v=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),x=(null==v?void 0:v[0])||"",y=(null==v?void 0:v[1])||"",I=(null===(a=null===(s=null==t?void 0:t.priceSuffix)||void 0===s?void 0:s.split("/"))||void 0===a?void 0:a[0])||"00",C=`${(null==t?void 0:t.price)||"0"}.${I}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(m=null===(h=null==t?void 0:t.giftRewards)||void 0===h?void 0:h.list)||void 0===m?void 0:m.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},j=o?d[n]||!1:c;return e.jsx("div",{ref:o?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Ne(o?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e.jsx(qt,{planName:x,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:C,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:j,onToggleExpand:()=>{o?p(e=>({...e,[n]:!e[n]})):u(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,cta:t.cta,hostType:"smb"})},n)},I=[...f,...f,...f,...f,...f],C=2*f.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:f.map((e,t)=>y(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[e.jsxs("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e.jsx(Mt,{onClick:v,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e.jsx(Pt,{name:"arrow_back",size:24})}),e.jsx(Mt,{onClick:x,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e.jsx(Pt,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${C+h} * (392px + 12px)))`},children:I.map((e,t)=>y(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:f.map((e,t)=>y(e,t))})}const nn=l.default.memo(({item:t,index:n,currentIndex:r,totalItems:o,swipeOffset:i,isSwiping:s,isMobile:a,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,p=1===Math.abs(u),h=u*c+i/l*100,m=!a||(s?d||p:d);return e.jsx("div",{className:Ne("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e.jsx(en,{...t,isActive:d,className:"h-full"})})});nn.displayName="TestimonialCarouselSlide";const rn=({fields:n,autoScroll:r=!0,autoScrollInterval:o=8e3})=>{var i;const s=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[];if(!s||0===s.length)return null;const a=function(e){const{itemCount:n,cardOffsetPercentage:r=105,swipeThreshold:o=.15,mobileBreakpoint:i=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,h]=t.useState(!1),[m,f]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),I={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;f((null===(e=y.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),w=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),A=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),N=t.useCallback(e=>{x.current=e.touches[0].clientX,h(!0),v.current&&clearInterval(v.current)},[]),E=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),j=t.useCallback(()=>{h(!1);const e=m*o;u>e?w():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,m,o,w,C,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{C()},s),()=>{v.current&&clearInterval(v.current)}},[C,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:m,containerRef:y,nextSlide:C,prevSlide:w,goToSlide:A,handleTouchStart:N,handleTouchMove:E,handleTouchEnd:j,constants:I}}({itemCount:s.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:r});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(Mt,{onClick:a.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(Pt,{name:"arrow_back",size:24})}),e.jsx(Mt,{onClick:a.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(Pt,{name:"arrow_forward",size:24})}),e.jsx("div",{ref:a.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:a.handleTouchStart,onTouchMove:a.handleTouchMove,onTouchEnd:a.handleTouchEnd,children:e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:s.map((t,n)=>e.jsx(nn,{item:t,index:n,currentIndex:a.currentIndex,totalItems:s.length,swipeOffset:a.swipeOffset,isSwiping:a.isSwiping,isMobile:a.isMobile,containerWidth:a.containerWidth,cardOffsetPercentage:a.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:s.map((t,n)=>e.jsx("button",{onClick:()=>a.goToSlide(n),className:Ne("h-2 w-2 rounded-full transition-all duration-300",a.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},on=({tabs:n,activeTab:r,onChange:o,className:i})=>{const s=n.indexOf(r),a=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=a.current[s];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[s,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Ne("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",i),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{a.current[n]=e},onClick:()=>o(t),className:Ne("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},sn=({isHovered:t,containerClassName:n})=>e.jsx("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e.jsx(Pt,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),an=n=>{const{link:r,containerClassName:o,autoplay:i=!1,debug:s=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!r)return{href:"",embedId:""};const e=r.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),o=r[r.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[r]);if(s&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],o=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:Ne("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const ln=n=>{const{link:r,containerClassName:o,autoplay:i=!1}=n,s=t.useMemo(()=>{if(!r)return"";const e=r.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[r]),a=i?"?autoplay=1":"";return e.jsx("div",{className:Ne("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${s}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},cn=({link:n,anchorName:r})=>{const[o,i]=l.default.useState(!1),s=l.default.useRef(null);if(((e,n)=>{const r=t=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))})(s,()=>i(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Yt,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:c,items:u}=n,d=Array.isArray(null==u?void 0:u.items)?u.items:[],p=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:p},ref:s,children:[e.jsxs(Yt,{onClick:()=>i(e=>!e),"aria-expanded":o,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e.jsx(Gt,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e.jsx(Pt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:Ne("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&d.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:p,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",children:d.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Yt,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))})})]})},un=({link:t})=>{const[n,r]=l.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(Yt,{...t,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`);const{anchorId:o,title:i,items:s}=t,a=Array.isArray(null==s?void 0:s.items)?s.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(Yt,{onClick:()=>r(e=>!e),"aria-expanded":n,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=i?i:null,e.jsx(Pt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},o),n&&a.length>0&&e.jsx(dn,{items:a})]})},dn=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Yt,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${n}`))},`submenu-${t.length}`),pn=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:o="md",children:i,className:s,...a}=t;return e.jsxs(St,{...a,className:Ne("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[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.jsx("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]} items-center justify-center rounded-full bg-icon-brand`,children:e.jsx(Pt,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]})};pn.displayName="CallButton";const hn=t.forwardRef((n,r)=>{const{className:o,size:i,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:h=!1,prefixIconSize:m=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:I,...C}=n,w=y?"error":c,[A,N]=t.useState(!1),[E,j]=t.useState(!1),[k,T]=t.useState(I||"text"),P=t.useCallback(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ne("inline-block pb-1"),children:e.jsxs(Gt,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ne("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],b,(A||"hover"===w)&&!E&&"error"!==w&&"border-input-border-hover",(E||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:m,height:m,overflow:"hidden"},children:e.jsx(Pt,{name:d,fill:p?1:0,size:m,className:Ne(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:x||C.disabled,className:Ne("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",o),placeholder:a,type:k,...C,onMouseOver:()=>N(!0),onMouseOut:()=>N(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),j(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),j(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:P,children:e.jsx(Pt,{name:"text"===k?"visibility":"visibility_off",size:g,fill:h?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(Gt,{className:Ne("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Pt,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});hn.displayName="Input";const mn=t=>{var n;const{primaryNavigationLinks:r,utilityNavigationLinks:o,supportNavigationLinks:i,accountNavigationLinks:s}=t,[a,c]=l.default.useState(!1);l.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=a?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],o=e=>{var t,o,i,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=r).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===r&&(null===(s=(i=n).focus)||void 0===s||s.call(i),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[a]);const u=()=>{c(!1)};return e.jsxs("div",{children:[e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>c(!0),children:e.jsx(Pt,{name:"menu"})}),a?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Ne("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",a?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(pn,{className:"border-none",href:t.invocaPhoneNumberLink,children:t.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:u,children:e.jsx(Pt,{name:"close"})})})]}),e.jsx(fn,{closeMenu:u,isMenuOpen:a,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...i||[],...s||[]].map((t,n)=>e.jsx("li",{children:e.jsx(un,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==o?void 0:o.map((t,n)=>e.jsx("li",{children:e.jsx(Yt,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ne("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${n}`))})]})]})})]})},fn=t=>{const{closeMenu:n,onSearch:r,isMenuOpen:o,searchBarIconURL:i}=t,[s,a]=l.default.useState(""),c=l.default.useRef(null),u=e=>{n(),e.preventDefault(),r(s)};return l.default.useEffect(()=>{o||a("")},[o]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx(_t,{src:i,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(hn,{ref:c,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},gn=t=>{const{searchBarIconURL:n,onSearch:r}=t,[o,i]=l.default.useState(""),s=l.default.useRef(null),a=e=>{e.preventDefault(),r(o)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:a,children:[e.jsx(_t,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:a}),e.jsx(hn,{ref:s,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:o,onChange:e=>i(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},bn={closed:{opacity:0},open:{opacity:1}},vn={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},xn={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},yn=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),In=t.createContext({}),Cn=t.createContext(null),wn="undefined"!=typeof document,An=wn?t.useLayoutEffect:t.useEffect,Nn=t.createContext({strict:!1});function En(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function jn(e){return"string"==typeof e||Array.isArray(e)}function kn(e){return"object"==typeof e&&"function"==typeof e.start}const Tn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pn=["initial",...Tn];function Gn(e){return kn(e.animate)||Pn.some(t=>jn(e[t]))}function Rn(e){return Boolean(Gn(e)||e.variants)}function Sn(e){const{initial:n,animate:r}=function(e,t){if(Gn(e)){const{initial:t,animate:n}=e;return{initial:!1===t||jn(t)?t:void 0,animate:jn(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(In));return t.useMemo(()=>({initial:n,animate:r}),[Bn(n),Bn(r)])}function Bn(e){return Array.isArray(e)?e.join(" "):e}const Vn={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"]},Ln={};for(const e in Vn)Ln[e]={isEnabled:t=>Vn[e].some(e=>!!t[e])};const Mn=t.createContext({}),Dn=t.createContext({}),On=Symbol.for("motionComponentSymbol");function Xn({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:o,Component:i}){e&&function(e){for(const t in e)Ln[t]={...Ln[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let c;const u={...t.useContext(yn),...s,layoutId:Wn(s)},{isStatic:d}=u,p=Sn(s),h=o(s,d);if(!d&&wn){p.visualElement=function(e,n,r,o){const{visualElement:i}=t.useContext(In),s=t.useContext(Nn),a=t.useContext(Cn),l=t.useContext(yn).reducedMotion,c=t.useRef();o=o||s.renderer,!c.current&&o&&(c.current=o(e,{visualState:n,parent:i,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(r,a)}),An(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?An:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,h,u,n);const r=t.useContext(Dn),o=t.useContext(Nn).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,o,e,r))}return l.createElement(In.Provider,{value:p},c&&p.visualElement?l.createElement(c,{visualElement:p.visualElement,...u}):null,r(i,s,function(e,n,r){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):En(r)&&(r.current=t))},[n])}(h,p.visualElement,a),h,d,p.visualElement))});return s[On]=i,s}function Wn({layoutId:e}){const n=t.useContext(Mn).id;return n&&void 0!==e?n+"-"+e:e}function Fn(e){function t(t,n={}){return Xn(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 Hn=["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 zn(e){return"string"==typeof e&&!e.includes("-")&&!!(Hn.indexOf(e)>-1||/[A-Z]/.test(e))}const Zn={};const Yn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Jn=new Set(Yn);function Un(e,{layout:t,layoutId:n}){return Jn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Zn[e]||"opacity"===e)}const _n=e=>Boolean(e&&e.getVelocity),$n={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Qn=Yn.length;const Kn=e=>t=>"string"==typeof t&&t.startsWith(e),qn=Kn("--"),er=Kn("var(--"),tr=(e,t)=>t&&"number"==typeof e?t.transform(e):e,nr=(e,t,n)=>Math.min(Math.max(n,e),t),rr={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},or={...rr,transform:e=>nr(0,1,e)},ir={...rr,default:1},sr=e=>Math.round(1e5*e)/1e5,ar=/(-)?([\d]*\.?[\d])+/g,lr=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,cr=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ur(e){return"string"==typeof e}const dr=e=>({test:t=>ur(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),pr=dr("deg"),hr=dr("%"),mr=dr("px"),fr=dr("vh"),gr=dr("vw"),br={...hr,parse:e=>hr.parse(e)/100,transform:e=>hr.transform(100*e)},vr={...rr,transform:Math.round},xr={borderWidth:mr,borderTopWidth:mr,borderRightWidth:mr,borderBottomWidth:mr,borderLeftWidth:mr,borderRadius:mr,radius:mr,borderTopLeftRadius:mr,borderTopRightRadius:mr,borderBottomRightRadius:mr,borderBottomLeftRadius:mr,width:mr,maxWidth:mr,height:mr,maxHeight:mr,size:mr,top:mr,right:mr,bottom:mr,left:mr,padding:mr,paddingTop:mr,paddingRight:mr,paddingBottom:mr,paddingLeft:mr,margin:mr,marginTop:mr,marginRight:mr,marginBottom:mr,marginLeft:mr,rotate:pr,rotateX:pr,rotateY:pr,rotateZ:pr,scale:ir,scaleX:ir,scaleY:ir,scaleZ:ir,skew:pr,skewX:pr,skewY:pr,distance:mr,translateX:mr,translateY:mr,translateZ:mr,x:mr,y:mr,z:mr,perspective:mr,transformPerspective:mr,opacity:or,originX:br,originY:br,originZ:mr,zIndex:vr,fillOpacity:or,strokeOpacity:or,numOctaves:vr};function yr(e,t,n,r){const{style:o,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(qn(e)){i[e]=n;continue}const r=xr[e],d=tr(n,r);if(Jn.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):o[e]=d}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<Qn;t++){const n=Yn[t];void 0!==e[n]&&(i+=`${$n[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,r?"":i):n&&r&&(i="none"),i}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;o.transformOrigin=`${e} ${t} ${n}`}}const Ir=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Cr(e,t,n){for(const r in t)_n(t[r])||Un(r,n)||(e[r]=t[r])}function wr(e,n,r){const o={};return Cr(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},n,r){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return yr(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(o):o}function Ar(e,t,n){const r={},o=wr(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const Nr=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 Er(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Nr.has(e)}let jr=e=>!Er(e);try{(kr=require("@emotion/is-prop-valid").default)&&(jr=e=>e.startsWith("on")?!Er(e):kr(e))}catch(Wt){}var kr;function Tr(e,t,n){return"string"==typeof e?e:mr.transform(t+n*e)}const Pr={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gr={offset:"strokeDashoffset",array:"strokeDasharray"};function Rr(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(yr(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!==o||void 0!==i||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Tr(t,e.x,e.width)} ${Tr(n,e.y,e.height)}`}(f,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==s&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Pr:Gr;e[i.offset]=mr.transform(-r);const s=mr.transform(t),a=mr.transform(n);e[i.array]=`${s} ${a}`}(h,s,a,l,!1)}const Sr=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Br=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Vr(e,n,r,o){const i=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Rr(t,n,{enableHardwareAcceleration:!1},Br(o),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};Cr(t,e.style,e),i.style={...t,...i.style}}return i}function Lr(e=!1){return(n,r,o,{latestValues:i},s)=>{const a=(zn(n)?Vr:Ar)(r,i,s,n),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(jr(o)||!0===n&&Er(o)||!t&&!Er(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(r,"string"==typeof n,e),c={...l,...a,ref:o},{children:u}=r,d=t.useMemo(()=>_n(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Mr=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Dr(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Or=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 Xr(e,t,n,r){Dr(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Or.has(n)?n:Mr(n),t.attrs[n])}function Wr(e,t){const{style:n}=e,r={};for(const o in n)(_n(n[o])||t.style&&_n(t.style[o])||Un(o,e))&&(r[o]=n[o]);return r}function Fr(e,t){const n=Wr(e,t);for(const r in e)if(_n(e[r])||_n(t[r])){n[-1!==Yn.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Hr(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}function zr(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const Zr=e=>Array.isArray(e),Yr=e=>Zr(e)?e[e.length-1]||0:e;function Jr(e){const t=_n(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Ur=e=>(n,r)=>{const o=t.useContext(In),i=t.useContext(Cn),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const s={latestValues:_r(r,o,i,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,n,o,i);return r?s():zr(s)};function _r(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=Jr(i[e]);let{initial:s,animate:a}=e;const l=Gn(e),c=Rn(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!kn(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Hr(e,t);if(!n)return;const{transitionEnd:r,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const $r={useVisualState:Ur({scrapeMotionValuesFromProps:Fr,createRenderState:Sr,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}}Rr(n,r,{enableHardwareAcceleration:!1},Br(t.tagName),e.transformTemplate),Xr(t,n)}})},Qr={useVisualState:Ur({scrapeMotionValuesFromProps:Wr,createRenderState:Ir})};function Kr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const qr=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eo(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function to(e,t,n,r){return Kr(e,t,(e=>t=>qr(t)&&e(t,eo(t)))(n),r)}const no=(e,t)=>n=>t(e(n)),ro=(...e)=>e.reduce(no);function oo(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const io=oo("dragHorizontal"),so=oo("dragVertical");function ao(e){let t=!1;if("y"===e)t=so();else if("x"===e)t=io();else{const e=io(),n=so();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function lo(){const e=ao(!0);return!e||(e(),!1)}class co{constructor(e){this.isMounted=!1,this.node=e}update(){}}const uo={delta:0,timestamp:0,isProcessing:!1};let po=!0,ho=!1;const mo=["read","update","preRender","render","postRender"],fo=mo.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&o,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),s.has(r)&&(a.schedule(r),e())}o=!1,i&&(i=!1,a.process(l))}}};return a}(()=>ho=!0),e),{}),go=e=>fo[e].process(uo),bo=e=>{ho=!1,uo.delta=po?1e3/60:Math.max(Math.min(e-uo.timestamp,40),1),uo.timestamp=e,uo.isProcessing=!0,mo.forEach(go),uo.isProcessing=!1,ho&&(po=!1,requestAnimationFrame(bo))},vo=mo.reduce((e,t)=>{const n=fo[t];return e[t]=(e,t=!1,r=!1)=>(ho||(ho=!0,po=!0,uo.isProcessing||requestAnimationFrame(bo)),n.schedule(e,t,r)),e},{});function xo(e){mo.forEach(t=>fo[t].cancel(e))}function yo(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return to(e.current,n,(n,o)=>{if("touch"===n.type||lo())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&vo.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const Io=(e,t)=>!!t&&(e===t||Io(e,t.parentElement)),Co=e=>e;function wo(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,eo(n))}const Ao=new WeakMap,No=new WeakMap,Eo=e=>{const t=Ao.get(e.target);t&&t(e)},jo=e=>{e.forEach(Eo)};function ko(e,t,n){const r=function({root:e,...t}){const n=e||document;No.has(n)||No.set(n,{});const r=No.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(jo,{root:e,...t})),r[o]}(t);return Ao.set(e,n),r.observe(e),()=>{Ao.delete(e),r.unobserve(e)}}const To={some:0,all:1};const Po={inView:{Feature:class extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:To[r]};return ko(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends co{constructor(){super(...arguments),this.removeStartListeners=Co,this.removeEndListeners=Co,this.removeAccessibleListeners=Co,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=to(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();vo.update(()=>{Io(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=to(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ro(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Kr(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Kr(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&wo("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&vo.update(()=>n(e,t))})}),wo("down",(e,t)=>{this.startPress(e,t)})}),t=Kr(this.node.current,"blur",()=>{this.isPressing&&wo("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ro(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&&vo.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!lo()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&vo.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=to(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Kr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ro(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends co{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=ro(Kr(this.node.current,"focus",()=>this.onFocus()),Kr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends co{mount(){this.unmount=ro(yo(this.node,!0),yo(this.node,!1))}unmount(){}}}};function Go(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 Ro(e,t,n){const r=e.getProps();return Hr(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 So="data-"+Mr("framerAppearId");let Bo=Co,Vo=Co;"production"!==process.env.NODE_ENV&&(Bo=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Vo=(e,t)=>{if(!e)throw new Error(t)});const Lo=e=>1e3*e,Mo=e=>e/1e3,Do=!1,Oo=e=>Array.isArray(e)&&"number"==typeof e[0];function Xo(e){return Boolean(!e||"string"==typeof e&&Fo[e]||Oo(e)||Array.isArray(e)&&e.every(Xo))}const Wo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Fo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wo([0,.65,.55,1]),circOut:Wo([.55,0,1,.45]),backIn:Wo([.31,.01,.66,-.59]),backOut:Wo([.33,1.53,.69,.99])};function Ho(e){if(e)return Oo(e)?Wo(e):Array.isArray(e)?e.map(Ho):Fo[e]}const zo={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Zo={},Yo={};for(const e in zo)Yo[e]=()=>(void 0===Zo[e]&&(Zo[e]=zo[e]()),Zo[e]);const Jo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Uo(e,t,n,r){if(e===t&&n===r)return Co;const o=t=>function(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=Jo(s,r,o)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Jo(o(e),t,r)}const _o=Uo(.42,0,1,1),$o=Uo(0,0,.58,1),Qo=Uo(.42,0,.58,1),Ko=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qo=e=>t=>1-e(1-t),ei=e=>1-Math.sin(Math.acos(e)),ti=qo(ei),ni=Ko(ti),ri=Uo(.33,1.53,.69,.99),oi=qo(ri),ii=Ko(oi),si={linear:Co,easeIn:_o,easeInOut:Qo,easeOut:$o,circIn:ei,circInOut:ni,circOut:ti,backIn:oi,backInOut:ii,backOut:ri,anticipate:e=>(e*=2)<1?.5*oi(e):.5*(2-Math.pow(2,-10*(e-1)))},ai=e=>{if(Array.isArray(e)){Vo(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Uo(t,n,r,o)}return"string"==typeof e?(Vo(void 0!==si[e],`Invalid easing type '${e}'`),si[e]):e},li=(e,t)=>n=>Boolean(ur(n)&&cr.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ci=(e,t,n)=>r=>{if(!ur(r))return r;const[o,i,s,a]=r.match(ar);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},ui={...rr,transform:e=>Math.round((e=>nr(0,255,e))(e))},di={test:li("rgb","red"),parse:ci("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ui.transform(e)+", "+ui.transform(t)+", "+ui.transform(n)+", "+sr(or.transform(r))+")"};const pi={test:li("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:di.transform},hi={test:li("hsl","hue"),parse:ci("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+hr.transform(sr(t))+", "+hr.transform(sr(n))+", "+sr(or.transform(r))+")"},mi={test:e=>di.test(e)||pi.test(e)||hi.test(e),parse:e=>di.test(e)?di.parse(e):hi.test(e)?hi.parse(e):pi.parse(e),transform:e=>ur(e)?e:e.hasOwnProperty("red")?di.transform(e):hi.transform(e)},fi=(e,t,n)=>-n*e+n*t+e;function gi(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 bi=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},vi=[pi,di,hi];function xi(e){const t=(n=e,vi.find(e=>e.test(n)));var n;Vo(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===hi&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;o=gi(a,r,e+1/3),i=gi(a,r,e),s=gi(a,r,e-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(r)),r}const yi=(e,t)=>{const n=xi(e),r=xi(t),o={...n};return e=>(o.red=bi(n.red,r.red,e),o.green=bi(n.green,r.green,e),o.blue=bi(n.blue,r.blue,e),o.alpha=fi(n.alpha,r.alpha,e),di.transform(o))};const Ii={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Co},Ci={regex:lr,countKey:"Colors",token:"${c}",parse:mi.parse},wi={regex:ar,countKey:"Numbers",token:"${n}",parse:rr.parse};function Ai(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function Ni(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Ai(n,Ii),Ai(n,Ci),Ai(n,wi),n}function Ei(e){return Ni(e).values}function ji(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Ni(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(Ii.token,e[o]):o<r+n?t.replace(Ci.token,mi.transform(e[o])):t.replace(wi.token,sr(e[o]));return t}}const ki=e=>"number"==typeof e?0:e;const Ti={test:function(e){var t,n;return isNaN(e)&&ur(e)&&((null===(t=e.match(ar))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(lr))||void 0===n?void 0:n.length)||0)>0},parse:Ei,createTransformer:ji,getAnimatableNone:function(e){const t=Ei(e);return ji(e)(t.map(ki))}},Pi=(e,t)=>n=>`${n>0?t:e}`;function Gi(e,t){return"number"==typeof e?n=>fi(e,t,n):mi.test(e)?yi(e,t):e.startsWith("var(")?Pi(e,t):Bi(e,t)}const Ri=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Gi(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},Si=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Gi(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},Bi=(e,t)=>{const n=Ti.createTransformer(t),r=Ni(e),o=Ni(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?ro(Ri(r.values,o.values),n):(Bo(!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.`),Pi(e,t))},Vi=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Li=(e,t)=>n=>fi(e,t,n);function Mi(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Li:"string"==typeof i?mi.test(i)?yi:Bi:Array.isArray(i)?Ri:"object"==typeof i?Si:Li);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Co:t;i=ro(e,i)}r.push(i)}return r}function Di(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Vo(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Mi(t,r,o),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Vi(e[n],e[n+1],t);return s[n](r)};return n?t=>l(nr(e[0],e[i-1],t)):l}function Oi(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Vi(0,t,r);e.push(fi(n,1,o))}}(t,e.length-1),t}function Xi({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ai):ai(r),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Oi(t),e),a=Di(s,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Qo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function Wi(e,t){return t?e*(1e3/t):0}function Fi(e,t,n){const r=Math.max(t-5,0);return Wi(n-e(r),t-r)}const Hi=.001;function zi({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;Bo(e<=Lo(10),"Spring duration must be 10 seconds or less");let s=1-t;s=nr(.05,1,s),e=nr(.01,10,Mo(e)),s<1?(o=t=>{const r=t*s,o=r*e,i=r-n,a=Yi(t,s),l=Math.exp(-o);return Hi-i/a*l},i=t=>{const r=t*s*e,i=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Yi(Math.pow(t,2),s);return(-o(t)+Hi>0?-1:1)*((i-a)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<Zi;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Lo(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}const Zi=12;function Yi(e,t){return e*Math.sqrt(1-t*t)}const Ji=["duration","bounce"],Ui=["stiffness","damping","mass"];function _i(e,t){return t.some(t=>void 0!==e[t])}function $i({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_i(e,Ui)&&_i(e,Ji)){const n=zi(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-Mo(u):0,m=l/(2*Math.sqrt(a*c)),f=i-o,g=Mo(Math.sqrt(a/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=Yi(g,m);v=t=>{const n=Math.exp(-m*g*t);return i-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>i-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 i-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)s.done=e>=d;else{let o=h;0!==e&&(o=m<1?Fi(v,e,r):0);const a=Math.abs(o)<=n,l=Math.abs(i-r)<=t;s.done=a&&l}return s.value=s.done?i:r,s}}}function Qi({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let y,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,I=$i({keyframes:[p.value,h(p.value)],velocity:Fi(v,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==y||(t=!0,x(e),C(e)),void 0!==y&&e>y?I.next(e-y):(!t&&x(e),p)}}}const Ki=e=>{const t=({timestamp:t})=>e(t);return{start:()=>vo.update(t,!0),stop:()=>xo(t),now:()=>uo.isProcessing?uo.timestamp:performance.now()}};function qi(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 es={decay:Qi,inertia:Qi,tween:Xi,keyframes:Xi,spring:$i};function ts({autoplay:e=!0,delay:t=0,driver:n=Ki,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const x=es[o]||Xi;let y;x!==Xi&&"number"!=typeof r[0]&&(y=Di([0,100],r,{clamp:!1}),r=[0,100]);const I=x({...p,keyframes:r});let C;"mirror"===a&&(C=x({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,E=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=qi(I));const{calculatedDuration:j}=I;let k=1/0,T=1/0;null!==j&&(k=j+s,T=k*(i+1)-s);let P=0;const G=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),P=null!==A?A:(e-N)*f;const n=P-t,o=n<0;P=Math.max(n,0),"finished"===w&&null===A&&(P=T);let l=P,c=I;if(i){const e=P/k;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const r=Boolean(t%2);r&&("reverse"===a?(n=1-n,s&&(n-=s/k)):"mirror"===a&&(c=C));let o=nr(0,1,n);P>T&&(o="reverse"===a&&r?1:0),l=o*k}const u=o?{done:!1,value:r[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;o||null===j||(p=P>=T);const h=null===A&&("finished"===w||"running"===w&&p||f<0&&P<=0);return d&&d(u.value),h&&B(),u},R=()=>{v&&v.stop(),v=void 0},S=()=>{w="idle",R(),b(),N=E=null},B=()=>{w="finished",u&&u(),R(),b()},V=()=>{if(g)return;v||(v=n(G));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),E=N,A=null,w="running",v.start()};e&&V();const L={then:(e,t)=>m.then(e,t),get time(){return Mo(P)},set time(e){e=Lo(e),P=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?qi(I):I.calculatedDuration;return Mo(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,L.time=Mo(P))},get state(){return w},play:V,pause:()=>{w="paused",A=P},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),S())},cancel:()=>{null!==E&&G(E),S()},complete:()=>{w="finished"},sample:e=>(N=0,G(e))};return L}const ns=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function rs(e,t,{onUpdate:n,onComplete:r,...o}){if(!(Yo.waapi()&&ns.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Xo(t.ease))(t,o)){const e=ts({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Ho(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),m=()=>h.cancel(),f=()=>{vo.update(m),i(),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,o)),r&&r(),f()},{then:(e,t)=>s.then(e,t),get time(){return Mo(h.currentTime||0)},set time(e){h.currentTime=Lo(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return Mo(u)},play:()=>{a||(h.play(),xo(m))},pause:()=>h.pause(),stop:()=>{if(a=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=ts({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const os={type:"spring",stiffness:500,damping:25,restSpeed:10},is={type:"keyframes",duration:.8},ss={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},as=(e,{keyframes:t})=>t.length>2?is:Jn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:os:ss,ls=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Ti.test(t)&&"0"!==t||t.startsWith("url("))),cs=new Set(["brightness","contrast","saturate","opacity"]);function us(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(ar)||[];if(!r)return e;const o=n.replace(r,"");let i=cs.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const ds=/([a-z-]*)\(.*?\)/g,ps={...Ti,getAnimatableNone:e=>{const t=e.match(ds);return t?t.map(us).join(" "):e}},hs={...xr,color:mi,backgroundColor:mi,outlineColor:mi,fill:mi,stroke:mi,borderColor:mi,borderTopColor:mi,borderRightColor:mi,borderBottomColor:mi,borderLeftColor:mi,filter:ps,WebkitFilter:ps},ms=e=>hs[e];function fs(e,t){let n=ms(e);return n!==ps&&(n=Ti),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const gs=e=>/^0[^.\s]+$/.test(e);function bs(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||gs(e):void 0}function vs(e,t){return e[t]||e.default||e}const xs=(e,t,n,r={})=>o=>{const i=vs(r,e)||{},s=i.delay||r.delay||0;let{elapsed:a=0}=r;a-=Lo(s);const l=function(e,t,n,r){const o=ls(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==r.from?r.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),bs(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(o&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=fs(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=ls(e,c),p=ls(e,u);Bo(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",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(h={...h,...as(e,h)}),h.duration&&(h.duration=Lo(h.duration)),h.repeatDelay&&(h.repeatDelay=Lo(h.repeatDelay)),!d||!p||Do||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Co,pause:Co,stop:Co,then:e=>(e(),Promise.resolve()),cancel:Co,complete:Co});return t?ts({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=rs(t,e,h);if(n)return n}return ts(h)};function ys(e){return Boolean(_n(e)&&e.add)}const Is=e=>/^\-?\d*\.?\d+$/.test(e);function Cs(e,t){-1===e.indexOf(t)&&e.push(t)}function ws(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class As{constructor(){this.subscriptions=[]}add(e){return Cs(this.subscriptions,e),()=>ws(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ns=new Set;function Es(e,t,n){e||Ns.has(t)||(console.warn(t),Ns.add(t))}class js{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}=uo;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,vo.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=()=>vo.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&&Es(!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 As);const n=this.events[e].add(t);return"change"===e?()=>{n(),vo.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?Wi(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 ks(e,t){return new js(e,t)}const Ts=e=>t=>t.test(e),Ps=[rr,mr,hr,pr,gr,fr,{test:e=>"auto"===e,parse:e=>e}],Gs=e=>Ps.find(Ts(e)),Rs=[...Ps,mi,Ti],Ss=e=>Rs.find(Ts(e));function Bs(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ks(n))}function Vs(e,t){if(!t)return;return(t[e]||t.default||t).from}function Ls({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Ms(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(i=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in a){const r=e.getValue(t),o=a[t];if(!r||void 0===o||u&&Ls(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[So];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,vo))}r.start(xs(t,r,o,e.shouldReduceMotion&&Jn.has(t)?{type:!1}:s));const d=r.animation;ys(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Ro(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)Bs(e,t,Yr(i[t]))}(e,s)}),c}function Ds(e,t,n={}){const r=Ro(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Ms(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(Os).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(Ds(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+r,s,a,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Os(e,t){return e.sortNodePosition(t)}const Xs=[...Tn].reverse(),Ws=Tn.length;function Fs(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Ds(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Ds(e,t,n);else{const o="function"==typeof t?Ro(e,t,n.custom):t;r=Promise.all(Ms(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Hs(e){let t=Fs(e);const n={animate:Zs(!0),whileInView:Zs(),whileHover:Zs(),whileTap:Zs(),whileDrag:Zs(),whileFocus:Zs(),exit:Zs()};let r=!0;const o=(t,n)=>{const r=Ro(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Ws;t++){const h=Xs[t],m=n[h],f=void 0!==a[h]?a[h]:l[h],g=jn(f),b=h===s?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==a[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||kn(f)||"boolean"==typeof f)continue;const x=zs(m.prevProp,f);let y=x||h===s&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{y=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Zr(t)&&Zr(n)?!Go(t,n)||x?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...i}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===a.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const a=i(o,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function zs(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Go(t,e)}function Zs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Ys=0;const Js={animation:{Feature:class extends co{constructor(e){super(e),e.animationState||(e.animationState=Hs(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),kn(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 co{constructor(){super(...arguments),this.id=Ys++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Us=(e,t)=>Math.abs(e-t);class _s{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=Ks(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Us(e.x,t.x),r=Us(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=uo;this.history.push({...r,timestamp:o});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=$s(t,this.transformPagePoint),vo.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=Ks("pointercancel"===e.type?this.lastMoveEventInfo:$s(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!qr(e))return;this.handlers=t,this.transformPagePoint=n;const r=$s(eo(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=uo;this.history=[{...o,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,Ks(r,this.history)),this.removeListeners=ro(to(window,"pointermove",this.handlePointerMove),to(window,"pointerup",this.handlePointerUp),to(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),xo(this.updatePoint)}}function $s(e,t){return t?{point:t(e.point)}:e}function Qs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ks({point:e},t){return{point:e,delta:Qs(e,ea(t)),offset:Qs(e,qs(t)),velocity:ta(t,.1)}}function qs(e){return e[0]}function ea(e){return e[e.length-1]}function ta(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=ea(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Lo(t)));)n--;if(!r)return{x:0,y:0};const i=Mo(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function na(e){return e.max-e.min}function ra(e,t=0,n=.01){return Math.abs(e-t)<=n}function oa(e,t,n,r=.5){e.origin=r,e.originPoint=fi(t.min,t.max,e.origin),e.scale=na(n)/na(t),(ra(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=fi(n.min,n.max,e.origin)-e.originPoint,(ra(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ia(e,t,n,r){oa(e.x,t.x,n.x,r?r.originX:void 0),oa(e.y,t.y,n.y,r?r.originY:void 0)}function sa(e,t,n){e.min=n.min+t.min,e.max=e.min+na(t)}function aa(e,t,n){e.min=t.min-n.min,e.max=e.min+na(t)}function la(e,t,n){aa(e.x,t.x,n.x),aa(e.y,t.y,n.y)}function ca(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 ua(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 da=.35;function pa(e,t,n){return{min:ha(e,t),max:ha(e,n)}}function ha(e,t){return"number"==typeof e?e:e[t]||0}const ma=()=>({x:{min:0,max:0},y:{min:0,max:0}});function fa(e){return[e("x"),e("y")]}function ga({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function ba(e){return void 0===e||1===e}function va({scale:e,scaleX:t,scaleY:n}){return!ba(e)||!ba(t)||!ba(n)}function xa(e){return va(e)||ya(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ya(e){return Ia(e.x)||Ia(e.y)}function Ia(e){return e&&"0%"!==e}function Ca(e,t,n){return n+t*(e-n)}function wa(e,t,n,r,o){return void 0!==o&&(e=Ca(e,o,r)),Ca(e,n,r)+t}function Aa(e,t=0,n=1,r,o){e.min=wa(e.min,t,n,r,o),e.max=wa(e.max,t,n,r,o)}function Na(e,{x:t,y:n}){Aa(e.x,t.translate,t.scale,t.originPoint),Aa(e.y,n.translate,n.scale,n.originPoint)}function Ea(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ja(e,t){e.min=e.min+t,e.max=e.max+t}function ka(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,s=fi(e.min,e.max,i);Aa(e,t[n],t[r],s,t.scale)}const Ta=["x","scaleX","originX"],Pa=["y","scaleY","originY"];function Ga(e,t){ka(e.x,t,Ta),ka(e.y,t,Pa)}function Ra(e,t){return ga(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 Sa=new WeakMap;class Ba{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 _s(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(eo(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ao(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),fa(e=>{let t=this.getAxisMotionValue(e).get()||0;if(hr.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=na(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&vo.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&vo.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Va(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?fi(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?fi(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&En(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:ca(e.x,n,o),y:ca(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=da){return!1===e?e=0:!0===e&&(e=da),{x:pa(e,"left","right"),y:pa(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&fa(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||!En(e))return!1;const n=e.current;Vo(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Ra(e,n),{scroll:o}=t;return o&&(ja(r.x,o.offset.x),ja(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:ua(e.x,t.x),y:ua(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=ga(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=fa(s=>{if(!Va(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(xs(e,n,0,t))}stopAnimation(){fa(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){fa(t=>{const{drag:n}=this.getProps();if(!Va(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-fi(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!En(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};fa(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=na(e),o=na(t);return o>r?n=Vi(t.min,t.max-r,e.min):r>o&&(n=Vi(e.min,e.max-o,t.min)),nr(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),fa(t=>{if(!Va(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(fi(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;Sa.set(this.visualElement,this);const e=to(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();En(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=Kr(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(fa(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=da,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function Va(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const La=e=>(t,n)=>{e&&vo.update(()=>e(t,n))};const Ma={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Da(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Oa={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!mr.test(e))return e;e=parseFloat(e)}return`${Da(e,t.target.x)}% ${Da(e,t.target.y)}%`}},Xa={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ti.parse(e);if(o.length>5)return r;const i=Ti.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=fi(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),i(o)}};class Wa extends l.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=Ha,Object.assign(Zn,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ma.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||vo.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Fa(e){const[n,r]=function(){const e=t.useContext(Cn);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=e,i=t.useId();return t.useEffect(()=>o(i),[]),!n&&r?[!1,()=>r&&r(i)]:[!0]}(),o=t.useContext(Mn);return l.default.createElement(Wa,{...e,layoutGroup:o,switchLayoutGroup:t.useContext(Dn),isPresent:n,safeToRemove:r})}const Ha={borderRadius:{...Oa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Oa,borderTopRightRadius:Oa,borderBottomLeftRadius:Oa,borderBottomRightRadius:Oa,boxShadow:Xa},za=["TopLeft","TopRight","BottomLeft","BottomRight"],Za=za.length,Ya=e=>"string"==typeof e?parseFloat(e):e,Ja=e=>"number"==typeof e||mr.test(e);function Ua(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const _a=Qa(0,.5,ti),$a=Qa(.5,.95,Co);function Qa(e,t,n){return r=>r<e?0:r>t?1:n(Vi(e,t,r))}function Ka(e,t){e.min=t.min,e.max=t.max}function qa(e,t){Ka(e.x,t.x),Ka(e.y,t.y)}function el(e,t,n,r,o){return e=Ca(e-=t,1/n,r),void 0!==o&&(e=Ca(e,1/o,r)),e}function tl(e,t,[n,r,o],i,s){!function(e,t=0,n=1,r=.5,o,i=e,s=e){hr.test(t)&&(t=parseFloat(t),t=fi(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=fi(i.min,i.max,r);e===i&&(a-=t),e.min=el(e.min,t,n,a,o),e.max=el(e.max,t,n,a,o)}(e,t[n],t[r],t[o],t.scale,i,s)}const nl=["x","scaleX","originX"],rl=["y","scaleY","originY"];function ol(e,t,n,r){tl(e.x,t,nl,n?n.x:void 0,r?r.x:void 0),tl(e.y,t,rl,n?n.y:void 0,r?r.y:void 0)}function il(e){return 0===e.translate&&1===e.scale}function sl(e){return il(e.x)&&il(e.y)}function al(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 ll(e){return na(e.x)/na(e.y)}class cl{constructor(){this.members=[]}add(e){Cs(this.members,e),e.scheduleRender()}remove(e){if(ws(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 ul(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(r+=`scale(${s}, ${a})`),r||"none"}const dl=(e,t)=>e.depth-t.depth;class pl{constructor(){this.children=[],this.isDirty=!1}add(e){Cs(this.children,e),this.isDirty=!0}remove(e){ws(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(dl),this.isDirty=!1,this.children.forEach(e)}}const hl=["","X","Y","Z"];let ml=0;const fl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function gl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=ml++,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;fl.totalNodes=fl.resolvedTargetDeltas=fl.recalculatedProjection=0,this.nodes.forEach(xl),this.nodes.forEach(El),this.nodes.forEach(jl),this.nodes.forEach(yl),e=fl,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 pl)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new As),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(xo(r),e(i-t))};return vo.read(r,!0),()=>xo(r)}(r,250),Ma.hasAnimatedSinceResize&&(Ma.hasAnimatedSinceResize=!1,this.nodes.forEach(Nl))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||Sl,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!al(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={...vs(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Nl(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,xo(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(kl),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(Cl);this.isUpdating||this.nodes.forEach(wl),this.isUpdating=!1,this.nodes.forEach(Al),this.nodes.forEach(bl),this.nodes.forEach(vl),this.clearAllSnapshots();const e=performance.now();uo.delta=nr(0,1e3/60,e-uo.timestamp),uo.timestamp=e,uo.isProcessing=!0,fo.update.process(uo),fo.preRender.process(uo),fo.render.process(uo),uo.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Il),this.sharedNodes.forEach(Tl)}scheduleUpdateProjection(){vo.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){vo.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!sl(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||xa(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),Bl((r=n).x),Bl(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&&(ja(t.x,n.offset.x),ja(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};qa(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){qa(t,e);const{scroll:n}=this.root;n&&(ja(t.x,-n.offset.x),ja(t.y,-n.offset.y))}ja(t.x,o.offset.x),ja(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};qa(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&&Ga(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),xa(r.latestValues)&&Ga(n,r.latestValues)}return xa(this.latestValues)&&Ga(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};qa(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!xa(n.latestValues))continue;va(n.latestValues)&&n.updateSnapshot();const r=ma();qa(r,n.measurePageBox()),ol(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return xa(this.latestValues)&&ol(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!==uo.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=uo.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}},la(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),qa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,sa(s.x,a.x,l.x),sa(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):qa(this.target,this.layout.layoutBox),Na(this.target,this.targetDelta)):qa(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}},la(this.relativeTargetOrigin,this.target,e.target),qa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}fl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!va(this.parent.latestValues)&&!ya(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===uo.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;qa(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,s;t.x=t.y=1;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Ga(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Na(e,s)),r&&xa(i.latestValues)&&Ga(e,i.latestValues))}t.x=Ea(t.x),t.y=Ea(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;ia(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ul(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),fl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Rl));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Pl(i.x,e.x,n),Pl(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(la(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Gl(e.x,t.x,n.x,r),Gl(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&al(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),qa(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=fi(0,void 0!==n.opacity?n.opacity:1,_a(r)),e.opacityExit=fi(void 0!==t.opacity?t.opacity:1,0,$a(r))):i&&(e.opacity=fi(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Za;o++){const i=`border${za[o]}Radius`;let s=Ua(t,i),a=Ua(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Ja(s)===Ja(a)?(e[i]=Math.max(fi(Ya(s),Ya(a),r),0),(hr.test(a)||hr.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=fi(t.rotate||0,n.rotate||0,r))}(o,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&&(xo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vo.update(()=>{Ma.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=_n(e)?e:ks(e);return r.start(xs("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Vl(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=na(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=na(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}qa(t,n),Ga(t,o),ia(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new cl);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<hl.length;t++){const o="rotate"+hl[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Jr(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Jr(e.pointerEvents)||""),this.hasProjected&&!xa(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=ul(this.projectionDeltaWithTransform,this.treeScale,s),o&&(r.transform=o(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Zn){if(void 0===s[e])continue;const{correct:t,applyTo:n}=Zn[e],o="none"===r.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?Jr(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(Cl),this.root.sharedNodes.clear()}}}function bl(e){e.updateLayout()}function vl(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?fa(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=na(r);r.min=t[e].min,r.max=r.min+o}):Vl(o,n.layoutBox,t)&&fa(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=na(t[r]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ia(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?ia(a,e.applyTransform(r,!0),n.measuredBox):ia(a,t,n.layoutBox);const l=!sl(s);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};la(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};la(a,t,i.layoutBox),al(s,a)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function xl(e){fl.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 yl(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Il(e){e.clearSnapshot()}function Cl(e){e.clearMeasurements()}function wl(e){e.isLayoutDirty=!1}function Al(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Nl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function El(e){e.resolveTargetDelta()}function jl(e){e.calcProjection()}function kl(e){e.resetRotation()}function Tl(e){e.removeLeadSnapshot()}function Pl(e,t,n){e.translate=fi(t.translate,0,n),e.scale=fi(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Gl(e,t,n,r){e.min=fi(t.min,n.min,r),e.max=fi(t.max,n.max,r)}function Rl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Sl={duration:.45,ease:[.4,0,.1,1]};function Bl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Vl(e,t,n){return"position"===e||"preserve-aspect"===e&&!ra(ll(t),ll(n),.2)}const Ll=gl({attachResizeListener:(e,t)=>Kr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ml={current:void 0},Dl=gl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ml.current){const e=new Ll({});e.mount(window),e.setOptions({layoutScroll:!0}),Ml.current=e}return Ml.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ol={pan:{Feature:class extends co{constructor(){super(...arguments),this.removePointerDownListener=Co}onPointerDown(e){this.session=new _s(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:La(e),onStart:La(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&vo.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=to(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 co{constructor(e){super(e),this.removeGroupControls=Co,this.removeListeners=Co,this.controls=new Ba(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Co}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Dl,MeasureLayout:Fa}},Xl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Wl(e,t,n=1){Vo(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Xl.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():er(o)?Wl(o,t,n+1):o}const Fl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Hl=e=>Fl.has(e),zl=e=>e===rr||e===mr,Zl=(e,t)=>parseFloat(e.split(", ")[t]),Yl=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Zl(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Zl(t[1],e):0}},Jl=new Set(["x","y","z"]),Ul=Yn.filter(e=>!Jl.has(e));const _l={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:Yl(4,13),y:Yl(5,14)},$l=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Hl);let i=[],s=!1;const a=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=Gs(c);const d=t[o];let p;if(Zr(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Gs(c);for(let n=t;n<e&&null!==d[n];n++)p?Vo(Gs(d[n])===p,"All keyframes must be of the same type"):(p=Gs(d[n]),Vo(p===u||zl(u)&&zl(p),"Keyframes must be of the same dimension as the current value"))}else p=Gs(d);if(u!==p)if(zl(u)&&zl(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===mr&&(t[o]=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[o]=u.transform(d):(s||(i=function(e){const t=[];return Ul.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=_l[e](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(a[n]),e[n]=_l[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),wn&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function Ql(e,t,n,r){return(e=>Object.keys(e).some(Hl))(t)?$l(e,t,n,r):{target:t,transitionEnd:r}}const Kl=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!er(t))return;const n=Wl(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!er(o))continue;const i=Wl(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return Ql(e,t=o.target,n,r=o.transitionEnd)},ql={current:null},ec={current:!1};const tc=new WeakMap,nc=Object.keys(Ln),rc=nc.length,oc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ic=Pn.length;class sc{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>vo.render(this.render,!1,!0);const{latestValues:s,renderState:a}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=Gn(t),this.isVariantNode=Rn(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&_n(t)&&(t.set(s[e],!1),ys(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,tc.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)),ec.current||function(){if(ec.current=!0,wn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ql.current=e.matches;e.addListener(t),t()}else ql.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ql.current),"production"!==process.env.NODE_ENV&&Es(!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(){tc.delete(this.current),this.projection&&this.projection.unmount(),xo(this.notifyUpdate),xo(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=Jn.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&vo.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let i,s;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Bo(!1,e):Vo(!1,e)}for(let e=0;e<rc;e++){const n=nc[e],{isEnabled:r,Feature:o,ProjectionNode:a,MeasureLayout:l}=Ln[n];a&&(i=a),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||s&&En(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<oc.length;t++){const n=oc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],s=n[o];if(_n(i))e.addValue(o,i),ys(r)&&r.add(o),"development"===process.env.NODE_ENV&&Es("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(_n(s))e.addValue(o,ks(i,{owner:e})),ys(r)&&r.remove(o);else if(s!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,ks(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<ic;e++){const n=Pn[e],r=this.props[n];(jn(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=ks(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=Hr(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||_n(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new As),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ac extends sc{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let i=function(e,t,n){const r={};for(const o in e){const e=Vs(o,t);if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),i&&(i=r(i))),o){!function(e,t,n){var r,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(r=n[s])&&void 0!==r?r:e.readValue(s))&&void 0!==o?o:t[s]),null!=c&&("string"==typeof c&&(Is(c)||gs(c))?c=parseFloat(c):!Ss(c)&&Ti.test(l)&&(c=fs(s,l)),e.addValue(s,ks(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=Kl(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class lc extends ac{readValueFromInstance(e,t){if(Jn.has(t)){const e=ms(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(qn(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ra(e,t)}build(e,t,n,r){yr(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Wr(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_n(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Dr(e,t,n,r)}}class cc extends ac{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Jn.has(t)){const e=ms(t);return e&&e.default||0}return t=Or.has(t)?t:Mr(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Fr(e,t)}build(e,t,n,r){Rr(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Xr(e,t,0,r)}mount(e){this.isSVGTag=Br(e.tagName),super.mount(e)}}const uc=(e,t)=>zn(e)?new cc(t,{enableHardwareAcceleration:!1}):new lc(t,{enableHardwareAcceleration:!0}),dc={...Js,...Po,...Ol,...{layout:{ProjectionNode:Dl,MeasureLayout:Fa}}},pc=Fn((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...zn(e)?$r:Qr,preloadedFeatures:n,useRender:Lr(t),createVisualElement:r,Component:e}}(e,t,dc,uc));function hc(){const e=t.useRef(!1);return An(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class mc extends l.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function fc({children:e,isPresent:n}){const r=t.useId(),o=t.useRef(null),i=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:s,left:a}=i.current;if(n||!o.current||!e||!t)return;o.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${s}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),l.createElement(mc,{isPresent:n,childRef:o,sizeRef:i},l.cloneElement(e,{ref:o}))}const gc=({children:e,initial:n,isPresent:r,onExitComplete:o,custom:i,presenceAffectsLayout:s,mode:a})=>{const c=zr(bc),u=t.useId(),d=t.useMemo(()=>({id:u,initial:n,isPresent:r,custom:i,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;o&&o()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[r]);return t.useMemo(()=>{c.forEach((e,t)=>c.set(t,!1))},[r]),l.useEffect(()=>{!r&&!c.size&&o&&o()},[r]),"popLayout"===a&&(e=l.createElement(fc,{isPresent:r},e)),l.createElement(Cn.Provider,{value:d},e)};function bc(){return new Map}const vc=e=>e.key||"";const xc=({children:e,custom:n,initial:r=!0,onExitComplete:o,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:a="sync"})=>{Vo(!i,"Replace exitBeforeEnter with mode='wait'");const c=t.useContext(Mn).forceRender||function(){const e=hc(),[n,r]=t.useState(0),o=t.useCallback(()=>{e.current&&r(n+1)},[n]);return[t.useCallback(()=>vo.postRender(o),[o]),n]}()[0],u=hc(),d=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let p=d;const h=t.useRef(new Map).current,m=t.useRef(p),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(An(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=vc(e);t.set(n,e)})}(d,f),m.current=p}),b=()=>{g.current=!0,f.clear(),h.clear()},t.useEffect(()=>()=>b(),[]),g.current)return l.createElement(l.Fragment,null,p.map(e=>l.createElement(gc,{key:vc(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a},e)));p=[...p];const v=m.current.map(vc),x=d.map(vc),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||h.has(t)||h.set(t,void 0)}return"wait"===a&&h.size&&(p=[]),h.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const r=f.get(t);if(!r)return;const i=v.indexOf(t);let g=e;if(!g){const e=()=>{f.delete(t),h.delete(t);const e=m.current.findIndex(e=>e.key===t);if(m.current.splice(e,1),!h.size){if(m.current=d,!1===u.current)return;c(),o&&o()}};g=l.createElement(gc,{key:vc(r),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},r),h.set(t,g)}p.splice(i,0,g)}),p=p.map(e=>{const t=e.key;return h.has(t)?e:l.createElement(gc,{key:vc(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&p.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),l.createElement(l.Fragment,null,h.size?p:p.map(e=>t.cloneElement(e)))};function yc(){return yc=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},yc.apply(null,arguments)}function Ic(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 Cc(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function wc(...e){return t.useCallback(Cc(...e),e)}function Ac(...e){const n=e[0];if(1===e.length)return n;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=r.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}const Nc=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},Ec=l["useId".toString()]||(()=>{});let jc=0;function kc(e){const[t,n]=l.useState(Ec());return Nc(()=>{n(e=>null!=e?e:String(jc++))},[e]),e||(t?`radix-${t}`:"")}function Tc(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Pc({prop:e,defaultProp:n,onChange:r=()=>{}}){const[o,i]=function({defaultProp:e,onChange:n}){const r=t.useState(e),[o]=r,i=t.useRef(o),s=Tc(n);return t.useEffect(()=>{i.current!==o&&(s(o),i.current=o)},[o,i,s]),r}({defaultProp:n,onChange:r}),s=void 0!==e,a=s?e:o,l=Tc(r);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)},[s,e,i,l])]}const Gc=t.forwardRef((e,n)=>{const{children:r,...o}=e,i=t.Children.toArray(r),s=i.find(Bc);if(s){const e=s.props.children,r=i.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(Rc,yc({},o,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement(Rc,yc({},o,{ref:n}),r)});Gc.displayName="Slot";const Rc=t.forwardRef((e,n)=>{const{children:r,...o}=e;return t.isValidElement(r)?t.cloneElement(r,{...Vc(o,r.props),ref:n?Cc(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});Rc.displayName="SlotClone";const Sc=({children:e})=>t.createElement(t.Fragment,null,e);function Bc(e){return t.isValidElement(e)&&e.type===Sc}function Vc(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Lc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const r=t.forwardRef((e,r)=>{const{asChild:o,...i}=e,s=o?Gc:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,yc({},i,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const Mc="dismissableLayer.update",Dc="dismissableLayer.pointerDownOutside",Oc="dismissableLayer.focusOutside";let Xc;const Wc=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Fc=t.forwardRef((e,n)=>{var r;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(Wc),[p,h]=t.useState(null),m=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=wc(n,e=>h(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,I=d.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,w=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Tc(e),o=t.useRef(!1),i=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!o.current){const t={originalEvent:e};function s(){zc(Dc,r,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=s,n.addEventListener("click",i.current,{once:!0})):s()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));C&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},m),A=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Tc(e),o=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!o.current){zc(Oc,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},m);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Tc(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[r,n])}(e=>{y===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},m),t.useEffect(()=>{if(p)return o&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Xc=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Hc(),()=>{o&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=Xc)}},[p,m,o,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Hc())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(Mc,e),()=>document.removeEventListener(Mc,e)},[]),t.createElement(Lc.div,yc({},u,{ref:g,style:{pointerEvents:I?C?"auto":"none":void 0,...e.style},onFocusCapture:Ic(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Ic(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Ic(e.onPointerDownCapture,w.onPointerDownCapture)}))});function Hc(){const e=new CustomEvent(Mc);document.dispatchEvent(e)}function zc(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}(i,s):i.dispatchEvent(s)}const Zc="focusScope.autoFocusOnMount",Yc="focusScope.autoFocusOnUnmount",Jc={bubbles:!1,cancelable:!0},Uc=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=Tc(i),d=Tc(s),p=t.useRef(null),h=wc(n,e=>c(e)),m=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(o){function e(e){if(m.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:Kc(p.current,{select:!0})}function t(e){if(m.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||Kc(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Kc(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,l,m.paused]),t.useEffect(()=>{if(l){qc.add(m);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(Zc,Jc);l.addEventListener(Zc,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Kc(r,{select:t}),document.activeElement!==n)return}((e=_c(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Kc(l))}return()=>{l.removeEventListener(Zc,u),setTimeout(()=>{const e=new CustomEvent(Yc,Jc);l.addEventListener(Yc,d),l.dispatchEvent(e),e.defaultPrevented||Kc(null!=t?t:document.body,{select:!0}),l.removeEventListener(Yc,d),qc.remove(m)},0)}}var e},[l,u,d,m]);const f=t.useCallback(e=>{if(!r&&!o)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[o,i]=function(e){const t=_c(e),n=$c(t,e),r=$c(t.reverse(),e);return[n,r]}(t);o&&i?e.shiftKey||n!==i?e.shiftKey&&n===o&&(e.preventDefault(),r&&Kc(i,{select:!0})):(e.preventDefault(),r&&Kc(o,{select:!0})):n===t&&e.preventDefault()}},[r,o,m.paused]);return t.createElement(Lc.div,yc({tabIndex:-1},a,{ref:h,onKeyDown:f}))});function _c(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 $c(e,t){for(const n of e)if(!Qc(n,{upTo:t}))return n}function Qc(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 Kc(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 qc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=eu(e,t),e.unshift(t)},remove(t){var n;e=eu(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function eu(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const tu=t.forwardRef((e,n)=>{var r;const{container:o=(null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...i}=e;return o?d.default.createPortal(t.createElement(Lc.div,yc({},i,{ref:n})),o):null});const nu=e=>{const{present:n,children:r}=e,i=function(e){const[n,r]=t.useState(),i=t.useRef({}),s=t.useRef(e),a=t.useRef("none"),l=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=ru(i.current);a.current="mounted"===c?e:"none"},[c]),Nc(()=>{const t=i.current,n=s.current;if(n!==e){const r=a.current,o=ru(t);if(e)u("MOUNT");else if("none"===o||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}s.current=e}},[e,u]),Nc(()=>{if(n){const e=e=>{const t=ru(i.current).includes(e.animationName);e.target===n&&t&&o.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=ru(i.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(i.current=getComputedStyle(e)),r(e)},[])}}(n),s="function"==typeof r?r({present:i.isPresent}):t.Children.only(r),a=wc(i.ref,s.ref);return"function"==typeof r||i.isPresent?t.cloneElement(s,{ref:a}):null};function ru(e){return(null==e?void 0:e.animationName)||"none"}nu.displayName="Presence";let ou=0;function iu(){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 su=function(){return su=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},su.apply(this,arguments)};function au(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var lu="right-scroll-bar-position",cu="width-before-scroll-bar";function uu(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var du="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,pu=new WeakMap;function hu(e,n){var r,o,i,s=(r=null,o=function(t){return e.forEach(function(e){return uu(e,t)})},(i=t.useState(function(){return{value:r,callback:o,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=o,i.facade);return du(function(){var t=pu.get(s);if(t){var n=new Set(t),r=new Set(e),o=s.current;n.forEach(function(e){r.has(e)||uu(e,null)}),r.forEach(function(e){n.has(e)||uu(e,o)})}pu.set(s,e)},[e]),s}function mu(e){return e}var fu=function(e){var t=e.sideCar,n=au(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return l.createElement(r,su({},n))};fu.isSideCarExport=!0;var gu=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=mu);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=su({async:!0,ssr:!1},e),t}(),bu=function(){},vu=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:bu,onWheelCapture:bu,onTouchMoveCapture:bu}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=au(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=h,I=hu([n,t]),C=su(su({},x),o);return l.createElement(l.Fragment,null,d&&l.createElement(y,{sideCar:gu,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),s?l.cloneElement(l.Children.only(a),su(su({},C),{ref:I})):l.createElement(v,su({},C,{className:c,ref:I}),a))});vu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},vu.classNames={fullWidth:cu,zeroRight:lu};function xu(){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 yu=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=xu())&&(!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)}}},Iu=function(){var e,t=(e=yu(),function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Cu={left:0,top:0,right:0,gap:0},wu=function(e){return parseInt(e||"",10)||0},Au=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Cu;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[wu(n),wu(r),wu(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Nu=Iu(),Eu="data-scroll-locked",ju=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(Eu,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(lu," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(cu," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(lu," .").concat(lu," {\n right: 0 ").concat(r,";\n }\n \n .").concat(cu," .").concat(cu," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Eu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},ku=function(){var e=parseInt(document.body.getAttribute(Eu)||"0",10);return isFinite(e)?e:0},Tu=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;l.useEffect(function(){return document.body.setAttribute(Eu,(ku()+1).toString()),function(){var e=ku()-1;e<=0?document.body.removeAttribute(Eu):document.body.setAttribute(Eu,e.toString())}},[]);var i=l.useMemo(function(){return Au(o)},[o]);return l.createElement(Nu,{styles:ju(i,!t,o,n?"":"!important")})},Pu=!1;if("undefined"!=typeof window)try{var Gu=Object.defineProperty({},"passive",{get:function(){return Pu=!0,!0}});window.addEventListener("test",Gu,Gu),window.removeEventListener("test",Gu,Gu)}catch(e){Pu=!1}var Ru=!!Pu&&{passive:!1},Su=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])},Bu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Vu(e,n)){var r=Lu(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Vu=function(e,t){return"v"===e?function(e){return Su(e,"overflowY")}(t):function(e){return Su(e,"overflowX")}(t)},Lu=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)},Mu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Du=function(e){return[e.deltaX,e.deltaY]},Ou=function(e){return e&&"current"in e?e.current:e},Xu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Wu=0,Fu=[];var Hu,zu=(Hu=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(Wu++)[0],i=l.useState(function(){return Iu()})[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Ou),!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 a=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,i=Mu(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[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=Bu(d,u);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=Bu(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var h=r.current||o;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,s=n.target,a=t.contains(s),l=!1,c=i>0,u=0,d=0;do{var p=Lu(e,s),h=p[0],m=p[1]-p[2]-o*h;(h||m)&&Vu(e,s)&&(u+=m,d+=h),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=l.useCallback(function(e){var n=e;if(Fu.length&&Fu[Fu.length-1]===i){var r="deltaY"in n?Du(n):Mu(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var l=(s.current.shards||[]).map(Ou).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=l.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=l.useCallback(function(e){n.current=Mu(e),r.current=void 0},[]),p=l.useCallback(function(t){u(t.type,Du(t),t.target,a(t,e.lockRef.current))},[]),h=l.useCallback(function(t){u(t.type,Mu(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return Fu.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Ru),document.addEventListener("touchmove",c,Ru),document.addEventListener("touchstart",d,Ru),function(){Fu=Fu.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,Ru),document.removeEventListener("touchmove",c,Ru),document.removeEventListener("touchstart",d,Ru)}},[]);var m=e.removeScrollBar,f=e.inert;return l.createElement(l.Fragment,null,f?l.createElement(i,{styles:Xu(o)}):null,m?l.createElement(Tu,{gapMode:"margin"}):null)},gu.useMedium(Hu),fu),Zu=l.forwardRef(function(e,t){return l.createElement(vu,su({},e,{ref:t,sideCar:zu}))});Zu.classNames=vu.classNames;var Yu=new WeakMap,Ju=new WeakMap,Uu={},_u=0,$u=function(e){return e&&(e.host||$u(e.parentNode))},Qu=function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=$u(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]);Uu[n]||(Uu[n]=new WeakMap);var i=Uu[n],s=[],a=new Set,l=new Set(o),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(Yu.get(e)||0)+1,c=(i.get(e)||0)+1;Yu.set(e,l),i.set(e,c),s.push(e),1===l&&o&&Ju.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),_u++,function(){s.forEach(function(e){var t=Yu.get(e)-1,o=i.get(e)-1;Yu.set(e,t),i.set(e,o),t||(Ju.has(e)||e.removeAttribute(r),Ju.delete(e)),o||e.removeAttribute(n)}),--_u||(Yu=new WeakMap,Yu=new WeakMap,Ju=new WeakMap,Uu={})}},Ku=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Qu(r,o,n,"aria-hidden")):function(){return null}};const qu="Dialog",[ed,td]=function(e,n=[]){let r=[];const o=()=>{const n=r.map(e=>t.createContext(e));return function(r){const o=(null==r?void 0:r[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(n,o){const i=t.createContext(o),s=r.length;function a(n){const{scope:r,children:o,...a}=n,l=(null==r?void 0:r[e][s])||i,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},o)}return r=[...r,o],a.displayName=n+"Provider",[a,function(r,a){const l=(null==a?void 0:a[e][s])||i,c=t.useContext(l);if(c)return c;if(void 0!==o)return o;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},Ac(o,...n)]}(qu),[nd,rd]=ed(qu),od="DialogPortal",[id,sd]=ed(od,{forceMount:void 0}),ad="DialogOverlay",ld=t.forwardRef((e,n)=>{const r=sd(ad,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,s=rd(ad,e.__scopeDialog);return s.modal?t.createElement(nu,{present:o||s.open},t.createElement(cd,yc({},i,{ref:n}))):null}),cd=t.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,i=rd(ad,r);return t.createElement(Zu,{as:Gc,allowPinchZoom:!0,shards:[i.contentRef]},t.createElement(Lc.div,yc({"data-state":vd(i.open)},o,{ref:n,style:{pointerEvents:"auto",...o.style}})))}),ud="DialogContent",dd=t.forwardRef((e,n)=>{const r=sd(ud,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,s=rd(ud,e.__scopeDialog);return t.createElement(nu,{present:o||s.open},s.modal?t.createElement(pd,yc({},i,{ref:n})):t.createElement(hd,yc({},i,{ref:n})))}),pd=t.forwardRef((e,n)=>{const r=rd(ud,e.__scopeDialog),o=t.useRef(null),i=wc(n,r.contentRef,o);return t.useEffect(()=>{const e=o.current;if(e)return Ku(e)},[]),t.createElement(md,yc({},e,{ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ic(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Ic(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Ic(e.onFocusOutside,e=>e.preventDefault())}))}),hd=t.forwardRef((e,n)=>{const r=rd(ud,e.__scopeDialog),o=t.useRef(!1),i=t.useRef(!1);return t.createElement(md,yc({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,s;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(o.current||null===(s=r.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());o.current=!1,i.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const a=t.target;(null===(s=r.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),md=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=e,l=rd(ud,r),c=wc(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:iu()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:iu()),ou++,()=>{1===ou&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),ou--}},[]),t.createElement(t.Fragment,null,t.createElement(Uc,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s},t.createElement(Fc,yc({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":vd(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),fd="DialogTitle",gd="DialogClose",bd=t.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,i=rd(gd,r);return t.createElement(Lc.button,yc({type:"button"},o,{ref:n,onClick:Ic(e.onClick,()=>i.onOpenChange(!1))}))});function vd(e){return e?"open":"closed"}!function(e,n){const r=t.createContext(n);function o(e){const{children:n,...o}=e,i=t.useMemo(()=>o,Object.values(o));return t.createElement(r.Provider,{value:i},n)}o.displayName=e+"Provider"}("DialogTitleWarning",{contentName:ud,titleName:fd,docsSlug:"dialog"});const xd=e=>{const{__scopeDialog:n,children:r,open:o,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Pc({prop:o,defaultProp:i,onChange:s});return t.createElement(nd,{scope:n,triggerRef:l,contentRef:c,contentId:kc(),titleId:kc(),descriptionId:kc(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},r)},yd=e=>{const{__scopeDialog:n,forceMount:r,children:o,container:i}=e,s=rd(od,n);return t.createElement(id,{scope:n,forceMount:r},t.Children.map(o,e=>t.createElement(nu,{present:r||s.open},t.createElement(tu,{asChild:!0,container:i},e))))},Id=ld,Cd=dd,wd=bd,Ad=t=>{const{isOpen:n,onRequestClose:r,size:o,title:i,content:s,description:a,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(xd,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(yd,{children:[e.jsx(pc.div,{initial:"closed",animate:n?"open":"closed",variants:bn,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Id,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(pc.div,{initial:"closed",animate:n?"open":"closed",variants:vn,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e.jsx(Cd,{className:Ne("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:xn[o||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(wd,{asChild:!0,children:e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Pt,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[i?e.jsx(Gt,{className:Ne("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:i}):null,a?e.jsx(Gt,{as:"div",className:"mb-8 sm:mb-5",children:a}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,l||null]})]})]})})})})]})})},Nd=({currentPage:t,totalPages:n,onPageChange:r,ariaLabel:o="Pagination"})=>{const i=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(t,n),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e.jsx(Mt,{className:s,onClick:()=>r(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Pt,{name:"chevron_left",size:32,"aria-hidden":"true"})}),i.map((n,o)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${o}`):e.jsx(Mt,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>r(n),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n},n)),e.jsx(Mt,{className:s,onClick:()=>r(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Pt,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Ed(e){return Ed="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},Ed(e)}function jd(e){var t=function(e,t){if("object"!=Ed(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Ed(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ed(t)?t:t+""}function kd(e,t,n){return(t=jd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Td(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 Pd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Td(Object(n),!0).forEach(function(t){kd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Td(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Gd(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 Rd(e,t){if(e){if("string"==typeof e)return Gd(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)?Gd(e,t):void 0}}function Sd(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,o,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e,t)||Rd(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 Bd(e,t){if(null==e)return{};var n,r,o=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 i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Vd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ld(){return Ld=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},Ld.apply(null,arguments)}function Md(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,jd(r.key),r)}}function Dd(e,t){return Dd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dd(e,t)}function Od(e){return Od=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Od(e)}function Xd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xd=function(){return!!e})()}function Wd(e,t){if(t&&("object"==Ed(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 Fd(e){return function(e){if(Array.isArray(e))return Gd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rd(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 Hd=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}(),zd="-ms-",Zd="-moz-",Yd="-webkit-",Jd="comm",Ud="rule",_d="decl",$d="@keyframes",Qd=Math.abs,Kd=String.fromCharCode,qd=Object.assign;function ep(e){return e.trim()}function tp(e,t,n){return e.replace(t,n)}function np(e,t){return e.indexOf(t)}function rp(e,t){return 0|e.charCodeAt(t)}function op(e,t,n){return e.slice(t,n)}function ip(e){return e.length}function sp(e){return e.length}function ap(e,t){return t.push(e),e}var lp=1,cp=1,up=0,dp=0,pp=0,hp="";function mp(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:lp,column:cp,length:s,return:""}}function fp(e,t){return qd(mp("",null,null,"",null,null,0),e,{length:-e.length},t)}function gp(){return pp=dp>0?rp(hp,--dp):0,cp--,10===pp&&(cp=1,lp--),pp}function bp(){return pp=dp<up?rp(hp,dp++):0,cp++,10===pp&&(cp=1,lp++),pp}function vp(){return rp(hp,dp)}function xp(){return dp}function yp(e,t){return op(hp,e,t)}function Ip(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 Cp(e){return lp=cp=1,up=ip(hp=e),dp=0,[]}function wp(e){return hp="",e}function Ap(e){return ep(yp(dp-1,jp(91===e?e+2:40===e?e+1:e)))}function Np(e){for(;(pp=vp())&&pp<33;)bp();return Ip(e)>2||Ip(pp)>3?"":" "}function Ep(e,t){for(;--t&&bp()&&!(pp<48||pp>102||pp>57&&pp<65||pp>70&&pp<97););return yp(e,xp()+(t<6&&32==vp()&&32==bp()))}function jp(e){for(;bp();)switch(pp){case e:return dp;case 34:case 39:34!==e&&39!==e&&jp(pp);break;case 40:41===e&&jp(e);break;case 92:bp()}return dp}function kp(e,t){for(;bp()&&e+pp!==57&&(e+pp!==84||47!==vp()););return"/*"+yp(t,dp-1)+"*"+Kd(47===e?e:bp())}function Tp(e){for(;!Ip(vp());)bp();return yp(e,dp)}function Pp(e){return wp(Gp("",null,null,null,[""],e=Cp(e),0,[0],e))}function Gp(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,d=s,p=0,h=0,m=0,f=1,g=1,b=1,v=0,x="",y=o,I=i,C=r,w=x;g;)switch(m=v,v=bp()){case 40:if(108!=m&&58==rp(w,d-1)){-1!=np(w+=tp(Ap(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ap(v);break;case 9:case 10:case 13:case 32:w+=Np(m);break;case 92:w+=Ep(xp()-1,7);continue;case 47:switch(vp()){case 42:case 47:ap(Sp(kp(bp(),xp()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=ip(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=tp(w,/\f/g,"")),h>0&&ip(w)-d&&ap(h>32?Bp(w+";",r,n,d-1):Bp(tp(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(ap(C=Rp(w,t,n,c,u,o,a,x,y=[],I=[],d),i),123===v)if(0===u)Gp(w,t,C,C,y,i,d,a,I);else switch(99===p&&110===rp(w,3)?100:p){case 100:case 108:case 109:case 115:Gp(e,C,C,r&&ap(Rp(e,C,C,0,0,o,a,x,o,y=[],d),I),o,I,d,a,r?y:I);break;default:Gp(w,C,C,C,[""],I,0,a,I)}}c=u=h=0,f=b=1,x=w="",d=s;break;case 58:d=1+ip(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==gp())continue;switch(w+=Kd(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(ip(w)-1)*b,b=1;break;case 64:45===vp()&&(w+=Ap(bp())),p=vp(),u=d=ip(x=w+=Tp(xp())),v++;break;case 45:45===m&&2==ip(w)&&(f=0)}}return i}function Rp(e,t,n,r,o,i,s,a,l,c,u){for(var d=o-1,p=0===o?i:[""],h=sp(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=op(e,d+1,d=Qd(f=s[m])),x=e;b<h;++b)(x=ep(f>0?p[b]+" "+v:tp(v,/&\f/g,p[b])))&&(l[g++]=x);return mp(e,t,n,0===o?Ud:a,l,c,u)}function Sp(e,t,n){return mp(e,t,n,Jd,Kd(pp),op(e,2,-2),0)}function Bp(e,t,n,r){return mp(e,t,n,_d,op(e,0,r),op(e,r+1,-1),r)}function Vp(e,t){for(var n="",r=sp(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Lp(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case _d:return e.return=e.return||e.value;case Jd:return"";case $d:return e.return=e.value+"{"+Vp(e.children,r)+"}";case Ud:e.value=e.props.join(",")}return ip(n=Vp(e.children,r))?e.return=e.value+"{"+n+"}":""}function Mp(e){var t=sp(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}function Dp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Op="undefined"!=typeof document,Xp=function(e,t,n){for(var r=0,o=0;r=o,o=vp(),38===r&&12===o&&(t[n]=1),!Ip(o);)bp();return yp(e,dp)},Wp=function(e,t){return wp(function(e,t){var n=-1,r=44;do{switch(Ip(r)){case 0:38===r&&12===vp()&&(t[n]=1),e[n]+=Xp(dp-1,t,n);break;case 2:e[n]+=Ap(r);break;case 4:if(44===r){e[++n]=58===vp()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Kd(r)}}while(r=bp());return e}(Cp(e),t))},Fp=new WeakMap,Hp=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)||Fp.get(n))&&!r){Fp.set(e,!0);for(var o=[],i=Wp(t,o),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},zp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Zp(e,t){switch(function(e,t){return 45^rp(e,0)?(((t<<2^rp(e,0))<<2^rp(e,1))<<2^rp(e,2))<<2^rp(e,3):0}(e,t)){case 5103:return Yd+"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 Yd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Yd+e+Zd+e+zd+e+e;case 6828:case 4268:return Yd+e+zd+e+e;case 6165:return Yd+e+zd+"flex-"+e+e;case 5187:return Yd+e+tp(e,/(\w+).+(:[^]+)/,Yd+"box-$1$2"+zd+"flex-$1$2")+e;case 5443:return Yd+e+zd+"flex-item-"+tp(e,/flex-|-self/,"")+e;case 4675:return Yd+e+zd+"flex-line-pack"+tp(e,/align-content|flex-|-self/,"")+e;case 5548:return Yd+e+zd+tp(e,"shrink","negative")+e;case 5292:return Yd+e+zd+tp(e,"basis","preferred-size")+e;case 6060:return Yd+"box-"+tp(e,"-grow","")+Yd+e+zd+tp(e,"grow","positive")+e;case 4554:return Yd+tp(e,/([^-])(transform)/g,"$1"+Yd+"$2")+e;case 6187:return tp(tp(tp(e,/(zoom-|grab)/,Yd+"$1"),/(image-set)/,Yd+"$1"),e,"")+e;case 5495:case 3959:return tp(e,/(image-set\([^]*)/,Yd+"$1$`$1");case 4968:return tp(tp(e,/(.+:)(flex-)?(.*)/,Yd+"box-pack:$3"+zd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Yd+e+e;case 4095:case 3583:case 4068:case 2532:return tp(e,/(.+)-inline(.+)/,Yd+"$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(ip(e)-1-t>6)switch(rp(e,t+1)){case 109:if(45!==rp(e,t+4))break;case 102:return tp(e,/(.+:)(.+)-([^]+)/,"$1"+Yd+"$2-$3$1"+Zd+(108==rp(e,t+3)?"$3":"$2-$3"))+e;case 115:return~np(e,"stretch")?Zp(tp(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==rp(e,t+1))break;case 6444:switch(rp(e,ip(e)-3-(~np(e,"!important")&&10))){case 107:return tp(e,":",":"+Yd)+e;case 101:return tp(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Yd+(45===rp(e,14)?"inline-":"")+"box$3$1"+Yd+"$2$3$1"+zd+"$2box$3")+e}break;case 5936:switch(rp(e,t+11)){case 114:return Yd+e+zd+tp(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Yd+e+zd+tp(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Yd+e+zd+tp(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Yd+e+zd+e+e}return e}var Yp,Jp,Up,_p=Op?void 0:(Yp=function(){return Dp(function(){return{}})},Jp=new WeakMap,function(e){if(Jp.has(e))return Jp.get(e);var t=Yp(e);return Jp.set(e,t),t}),$p=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case _d:e.return=Zp(e.value,e.length);break;case $d:return Vp([fp(e,{value:tp(e.value,"@","@"+Yd)})],r);case Ud: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 Vp([fp(e,{props:[tp(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Vp([fp(e,{props:[tp(t,/:(plac\w+)/,":"+Yd+"input-$1")]}),fp(e,{props:[tp(t,/:(plac\w+)/,":-moz-$1")]}),fp(e,{props:[tp(t,/:(plac\w+)/,zd+"input-$1")]})],r)}return""})}}],Qp=function(e){var t=e.key;if(Op&&"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,o,i=e.stylisPlugins||$p,s={},a=[];Op&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[Hp,zp];if(_p){var u=[Lp],d=Mp(c.concat(i,u)),p=_p(i)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Vp(Pp(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,r){var o=t.name,i=h(e,t);return void 0===b.compat?(r&&(b.inserted[o]=!0),i):r?void(b.inserted[o]=i):i}}else{var m,f=[Lp,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Mp(c.concat(i,f));o=function(e,t,n,r){m=n,Vp(Pp(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Hd({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return b.sheet.hydrate(a),b},Kp={exports:{}},qp={};var eh,th,nh,rh,oh={};
5
+ function tt(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 nt=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=tt({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+i}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=t.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",tt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,tt({},this.attributes,t))},withConverter:function(t){return e(tt({},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 rt=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const ot=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,it=e=>{if(!e)return null;if(ot(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return ot(t)?t:null}return null};function st(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var at,lt={},ct={},ut={};function dt(){return at||(at=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}({})}(ut)),ut}var pt,ht={};function mt(){return pt||(pt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(ht)),ht}var ft,gt={};function bt(){return ft||(ft=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}({})}(gt)),gt}var vt,xt={};function yt(){return vt||(vt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return p},get HEADINGS(){return h},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return m},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=dt(),n=mt(),r=bt();function o(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 in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,a,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],p=(i(s={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),i(s,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),i(s,t.BLOCKS.LIST_ITEM,c),i(s,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),i(s,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),i(s,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),i(s,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),i(s,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),s),h=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return o(e)}(a=h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return o(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)?o(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(xt)),xt}var It,Ct={};var wt,At={};var Et,Nt={};var jt,St={};function Tt(){return jt||(jt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return a},get isEmptyParagraph(){return c},get isInline(){return s},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return p}});var t=dt(),n=mt();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 o(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 i(e,t){var n=!0,r=!1,o=void 0;try{for(var i,s=Object.keys(e)[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){if(t===e[i.value])return!0}}catch(e){r=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw o}}return!1}function s(e){return i(n.INLINES,e.nodeType)}function a(e){return i(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?o(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),o.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(St)),St}var Bt,kt,Pt={},Rt={};function Lt(){return kt?Bt:(kt=1,Bt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var Gt,Ot,Dt={};function Vt(){return Gt||(Gt=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return s},get maxSizeError(){return i},get minSizeError(){return o},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return a}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,o=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:o}},o=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}},i=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},s=function(e){var t=e.expected,r=e.value,o=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:o.toArray(),value:r}},a=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(Dt)),Dt}function Mt(){return Ot||(Ot=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=s(Lt()),n=Vt();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=function(){function e(r,o){var s=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"obj",void 0),i(this,"path",void 0),i(this,"_errors",void 0),i(this,"catch",void 0),i(this,"exists",void 0),i(this,"object",void 0),i(this,"string",void 0),i(this,"number",void 0),i(this,"array",void 0),i(this,"enum",void 0),i(this,"empty",void 0),i(this,"minLength",void 0),i(this,"noAdditionalProperties",void 0),i(this,"each",void 0),this.obj=r,this.path=o,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,a(t))},this.exists=function(e){return e in s.obj||(s.catch((0,n.requiredPropertyError)({property:e,path:s.path.of(e)})),!1)},this.object=function(e){var r=e?s.obj[e]:s.obj;if(e&&!s.exists(e))return!1;if((0,t.default)(r))return!0;var o,i=e?s.path.of(e):s.path,a=null!==(o=null!=e?e:s.path.last())&&void 0!==o?o:"value";return s.catch((0,n.typeMismatchError)({typeName:"Object",property:a,path:i,value:r})),!1},this.string=function(e){var t=s.obj[e];return!(e&&!s.exists(e))&&("string"==typeof t||(s.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:s.path.of(e),value:t})),!1))},this.number=function(e,t){var r=s.obj[e];return!(!t||e in s.obj)||!!s.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(s.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:s.path.of(e),value:r})),!1))},this.array=function(e){var t=s.obj[e];return!(e&&!s.exists(e))&&(!!Array.isArray(t)||(s.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:s.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=s.obj[e];return!("string"!=typeof r||!t.includes(r))||(s.catch((0,n.enumError)({expected:t,value:r,path:s.path.of(e)})),!1)},this.empty=function(e){if(!s.array(e))return!1;var t=s.obj[e];return 0===t.length||(s.catch((0,n.maxSizeError)({max:0,value:t,path:s.path.of(e)})),!1)},this.minLength=function(e,t){if(!s.array(e))return!1;var r=s.obj[e];return r.length>=t||(s.catch((0,n.minSizeError)({min:t,value:r,path:s.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(s.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return s.catch((0,n.unknownPropertyError)({property:e,path:s.path.of(e)}))}),0===t.length},this.each=function(e,t){if(s.array(e)){var n=s.obj[e],r=!1;n.forEach(function(n,o){if(!r){var i=t(n,s.path.of(e).of(o));i.length>0&&(r=!0),s.catch.apply(s,a(i))}})}}}return o(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}()}(Rt)),Rt}var Ht,Wt={};function Xt(){return Ht||(Ht=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return f},get HyperLinkAssertion(){return g},get NodeAssertion(){return m},get VOID_CONTENT(){return h},get assert(){return b},get assertLink(){return v}});var t=Mt();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 o(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,p()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var h=[],m=function(){function e(t,n){i(this,e),a(this,"contentRule",void 0),a(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return s(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var o=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),i=o.nodeTypes,s=o.min,a=void 0===s?0:s;if(0===i.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(r.minLength("content",a),0===i.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",i),r.errors):r.errors}),r.object("data")){var l,c,u,p=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(p))}return r.errors}}]),e}(),f=function(e){function n(e,s){var l;return i(this,n),l=o(this,n,[s,function(e,t){return r(l).assertLink(e,t)}]),a(l,"linkType",void 0),a(l,"type",void 0),a(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var o,i=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));i.object()&&(i.enum("type",[l.type]),i.enum("linkType",[l.linkType]),"Link"===l.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=r).catch.apply(o,d(i.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 i(this,n),e=o(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),a(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(m),b=function(e,t){return new m(e,t)},v=function(e,t){return new f(e,t)}}(Wt)),Wt}var Ft,zt={};function Zt(){return Ft||(Ft=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 o}});var o=function e(){var t=this,o=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=o,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(zt)),zt}var Yt,_t,Jt,Ut,$t={};function Kt(){return _t||(_t=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=dt(),n=mt(),r=yt(),o=Mt(),i=Xt(),s=Zt(),a=(Yt||(Yt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=Mt();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}}($t)),$t);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d,p=(0,i.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),h=(0,i.assert)([t.BLOCKS.LIST_ITEM]),m=(0,i.assertLink)("Entry",i.VOID_CONTENT),f=(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new o.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,i.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,p),c(d,t.BLOCKS.HEADING_1,p),c(d,t.BLOCKS.HEADING_2,p),c(d,t.BLOCKS.HEADING_3,p),c(d,t.BLOCKS.HEADING_4,p),c(d,t.BLOCKS.HEADING_5,p),c(d,t.BLOCKS.HEADING_6,p),c(d,t.BLOCKS.QUOTE,(0,i.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,m),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,i.assertLink)("Asset",i.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,i.assert)(i.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,h),c(d,t.BLOCKS.UL_LIST,h),c(d,t.BLOCKS.LIST_ITEM,(0,i.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,i.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,i.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 i.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,m),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,i.assertLink)("Contentful:Entry",i.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,i.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,i.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,i.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,a.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new o.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var v=function(e){var n=new s.Path,r=new o.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(Pt)),Pt}function Qt(){return 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 BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return o.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return i},get validateRichTextDocument(){return s.validateRichTextDocument}});var t=dt(),n=mt(),r=bt();a(yt(),e),a((It||(It=1,Object.defineProperty(Ct,"__esModule",{value:!0})),Ct),e),a((wt||(wt=1,Object.defineProperty(At,"__esModule",{value:!0})),At),e);var o=(Et||(Et=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=dt(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(Nt)),Nt),i=c(Tt()),s=Kt();function a(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}}(ct)),ct}var qt=function(){if(Ut)return lt;Ut=1;var e=l.default,t=Qt();function n(t,n){return t.map((t,o)=>{return i=r(t,n),s=o,e.isValidElement(i)&&null===i.key?e.cloneElement(i,{key:s}):i;var i,s})}function r(r,o){const{renderNode:i,renderMark:s,renderText:a,preserveWhitespace:l}=o;if(t.helpers.isText(r)){let t=a?a(r.value):r.value;if(l&&!a){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,o)=>{r.push(t),o!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>s[t.type]?s[t.type](e):e,t)}{const t=n(r.content,o);return r.nodeType&&i[r.nodeType]?i[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=>a(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>s(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>a(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},i={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function a(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}return lt.documentToReactComponents=function(e,n={}){if(!e)return null;let s=e;return n.stripEmptyTrailingParagraph&&(s=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(s,{renderNode:{...o,...n.renderNode},renderMark:{...i,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})},lt}(),en=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}({}),tn=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),nn=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function rn(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sn,an=[en.PARAGRAPH,en.HEADING_1,en.HEADING_2,en.HEADING_3,en.HEADING_4,en.HEADING_5,en.HEADING_6,en.OL_LIST,en.UL_LIST,en.HR,en.QUOTE,en.EMBEDDED_ENTRY,en.EMBEDDED_ASSET,en.EMBEDDED_RESOURCE,en.TABLE],ln=[en.PARAGRAPH,en.HEADING_1,en.HEADING_2,en.HEADING_3,en.HEADING_4,en.HEADING_5,en.HEADING_6,en.OL_LIST,en.UL_LIST,en.HR,en.QUOTE,en.EMBEDDED_ENTRY,en.EMBEDDED_ASSET,en.EMBEDDED_RESOURCE];en.TABLE,en.TABLE_ROW,en.TABLE_CELL,en.TABLE_HEADER_CELL,en.HR,en.EMBEDDED_ENTRY,en.EMBEDDED_ASSET,en.EMBEDDED_RESOURCE;var cn,un=(on(sn={},en.OL_LIST,[en.LIST_ITEM]),on(sn,en.UL_LIST,[en.LIST_ITEM]),on(sn,en.LIST_ITEM,ln),on(sn,en.QUOTE,[en.PARAGRAPH]),on(sn,en.TABLE,[en.TABLE_ROW]),on(sn,en.TABLE_ROW,[en.TABLE_CELL,en.TABLE_HEADER_CELL]),on(sn,en.TABLE_CELL,[en.PARAGRAPH,en.UL_LIST,en.OL_LIST]),on(sn,en.TABLE_HEADER_CELL,[en.PARAGRAPH]),sn),dn=[en.HEADING_1,en.HEADING_2,en.HEADING_3,en.HEADING_4,en.HEADING_5,en.HEADING_6];[en.PARAGRAPH].concat(function(e){if(Array.isArray(e))return rn(e)}(cn=dn)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(cn)||function(e,t){if(e){if("string"==typeof e)return rn(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)?rn(e,t):void 0}}(cn)||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.")}()),en.DOCUMENT,en.PARAGRAPH,en.HEADING_1,en.HEADING_2,en.HEADING_3,en.HEADING_4,en.HEADING_5,en.HEADING_6,en.OL_LIST,en.UL_LIST,en.LIST_ITEM,en.HR,en.QUOTE,en.EMBEDDED_ENTRY,en.EMBEDDED_ASSET,tn.HYPERLINK,tn.ENTRY_HYPERLINK,tn.ASSET_HYPERLINK,tn.EMBEDDED_ENTRY,en.DOCUMENT,en.PARAGRAPH;var pn=st(Lt());function hn(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 mn(e){return function(e){if(Array.isArray(e))return hn(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 hn(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 hn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var fn=function(e){var t=e.path,n=e.property,r=e.typeName,o=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:o}};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 bn(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 vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xn(e){return function(e){if(Array.isArray(e))return 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 yn=function(){function e(t,n){var r=this,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),vn(this,"obj",void 0),vn(this,"path",void 0),vn(this,"_errors",void 0),vn(this,"catch",void 0),vn(this,"exists",void 0),vn(this,"object",void 0),vn(this,"string",void 0),vn(this,"number",void 0),vn(this,"array",void 0),vn(this,"enum",void 0),vn(this,"empty",void 0),vn(this,"minLength",void 0),vn(this,"noAdditionalProperties",void 0),vn(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=o._errors).push.apply(r,xn(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(pn(t))return!0;var n,o=e?r.path.of(e):r.path,i=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(fn({typeName:"Object",property:i,path:o,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(fn({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(fn({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(fn({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:mn(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],o=!1;n.forEach(function(n,i){if(!o){var s=t(n,r.path.of(e).of(i));s.length>0&&(o=!0),r.catch.apply(r,xn(s))}})}}}return bn(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function In(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wn(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 Cn(e)}(e,kn()?Reflect.construct(t,n||[],jn(e).constructor):t.apply(e,n))}function An(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function En(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 Nn(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 Sn(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&&Tn(e,t)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Tn(e,t)}function Bn(e){return function(e){if(Array.isArray(e))return In(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return In(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return In(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kn=function(){return!!e})()}var Pn=[],Rn=function(){function e(t,n){An(this,e),Nn(this,"contentRule",void 0),Nn(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return En(e,[{key:"assert",value:function(e,t){var n=new yn(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),o=r.nodeTypes,i=r.min,s=void 0===i?0:i;if(0===o.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(n.minLength("content",s),0===o.length?n.empty("content"):n.each("content",function(e,t){var n=new yn(e,t);return n.object()?(n.enum("nodeType",o),n.errors):n.errors}),n.object("data")){var a,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(a=n).catch.apply(a,Bn(u))}return n.errors}}]),e}(),Ln=function(e){function t(e,n){var r;return An(this,t),r=wn(this,t,[n,function(e,t){return Cn(r).assertLink(e,t)}]),Nn(r,"linkType",void 0),Nn(r,"type",void 0),Nn(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new yn(e,t);if(n.object("target")){var o,i=new yn(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[r.type]),i.enum("linkType",[r.linkType]),"Link"===r.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),(o=n).catch.apply(o,Bn(i.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Sn(t,e),t}(Rn),Gn=function(e){function t(){var e;return An(this,t),e=wn(this,t,[["text"],function(t,n){return Cn(e).assertLink(t,n)}]),Nn(e,"assertLink",function(e,t){var n=new yn(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Sn(t,e),t}(Rn),On=function(e,t){return new Rn(e,t)},Dn=function(e,t){return new Ln(e,t)};function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e){return function(e){if(Array.isArray(e))return Vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Wn,Xn=On(Hn(Object.values(tn)).concat(["text"]).sort()),Fn=On([en.LIST_ITEM]),zn=Dn("Entry",Pn),Zn=On(function(){return{nodeTypes:[en.PARAGRAPH],min:1}},function(e,t){var n=new yn(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Mn(Wn={},en.DOCUMENT,On(an)),Mn(Wn,en.PARAGRAPH,Xn),Mn(Wn,en.HEADING_1,Xn),Mn(Wn,en.HEADING_2,Xn),Mn(Wn,en.HEADING_3,Xn),Mn(Wn,en.HEADING_4,Xn),Mn(Wn,en.HEADING_5,Xn),Mn(Wn,en.HEADING_6,Xn),Mn(Wn,en.QUOTE,On(un[en.QUOTE])),Mn(Wn,en.EMBEDDED_ENTRY,zn),Mn(Wn,en.EMBEDDED_ASSET,Dn("Asset",Pn)),Mn(Wn,en.EMBEDDED_RESOURCE,Dn("Contentful:Entry",Pn)),Mn(Wn,en.HR,On(Pn)),Mn(Wn,en.OL_LIST,Fn),Mn(Wn,en.UL_LIST,Fn),Mn(Wn,en.LIST_ITEM,On(Hn(ln).sort())),Mn(Wn,en.TABLE,On(function(){return{nodeTypes:[en.TABLE_ROW],min:1}})),Mn(Wn,en.TABLE_ROW,On(function(){return{nodeTypes:[en.TABLE_CELL,en.TABLE_HEADER_CELL],min:1}})),Mn(Wn,en.TABLE_CELL,Zn),Mn(Wn,en.TABLE_HEADER_CELL,Zn),Mn(Wn,tn.HYPERLINK,new Gn),Mn(Wn,tn.EMBEDDED_ENTRY,zn),Mn(Wn,tn.EMBEDDED_RESOURCE,Dn("Contentful:Entry",Pn)),Mn(Wn,tn.ENTRY_HYPERLINK,Dn("Entry",["text"])),Mn(Wn,tn.ASSET_HYPERLINK,Dn("Asset",["text"])),Mn(Wn,tn.RESOURCE_HYPERLINK,Dn("Contentful:Entry",["text"]));const Yn={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},_n=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:o,...i},s)=>{const a=Ee("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e.jsx("li",{ref:s,className:a,style:o,...i,children:t})});_n.displayName="ListItem";const Jn=t.forwardRef(({type:t="ul",items:n,className:r="",renderItem:o,children:i,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ee(u,`list--${t}`,`list--${s}`,r),p=i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e.jsx(_n,{className:t.className,variant:s,children:t.content},t.id||n)):null),h={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...h,ref:c}):e.jsx("ul",{...h,ref:c})});Jn.displayName="List";const Un=({name:t,fill:n=0,opticalSize:r="48dp",weight:o="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${i}, 'opsz' ${r.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:Ee("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Un.displayName="MaterialIcon";const $n=t.forwardRef(({children:e,as:t,className:n="",style:r,...o},i)=>{const s=t||"p";return l.default.createElement(s,{ref:i,className:n,style:r,...o},e)});$n.displayName="Text";const Kn=t=>{const{items:n,listIconName:r="check",listItemClassName:o,listContainerClassName:i,iconSize:s=20,iconPosition:a="center",iconColor:l="green",iconClassName:c}=t,u="disc"!==r;return(null==n?void 0:n.length)?e.jsx(Jn,{className:Ee("mt-2 space-y-1",i),variant:u?"unstyled":"default",children:n.map((t,n)=>e.jsxs(_n,{variant:u?"unstyled":"default",className:Ee(`${u?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[u&&e.jsx("div",{className:"flex leading-none",children:e.jsx(Un,{name:r,size:s,color:Yn[l],weight:"600",className:Ee("block","top"===a?"mt-1":"",c)})}),e.jsx($n,{as:"div",children:t})]},n))}):null};var Qn;Kn.displayName="Checklist";const qn="function"==typeof c.default?c.default:null!==(Qn=c.default.default)&&void 0!==Qn?Qn:c.default,er=t.forwardRef(({children:t,href:n,className:r="",onClick:o,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==o||o(e)},h=Ee(d,`link--${i}`,l&&"link--disabled",r),m={...c,ref:u,className:h,style:s,href:l?void 0:n,onClick:p,...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...m,children:t}):e.jsx(qn,{href:n||"#",className:h,onClick:p,...c,children:t})});er.displayName="Link";const tr={renderMark:{[nn.BOLD]:t=>e.jsx("strong",{className:"label3",children:t}),[nn.ITALIC]:t=>e.jsx("em",{children:t}),[nn.UNDERLINE]:t=>e.jsx("u",{children:t}),[nn.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[en.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4",children:n}),[en.HEADING_1]:(t,n)=>e.jsx($n,{as:"h1",className:"heading2 md:heading1",children:n}),[en.HEADING_2]:(t,n)=>e.jsx($n,{as:"h2",className:"heading6 md:heading5",children:n}),[en.HEADING_3]:(t,n)=>e.jsx($n,{as:"h3",className:"heading6 md:heading5",children:n}),[en.HEADING_4]:(t,n)=>e.jsx($n,{as:"h3",className:"headingClass",children:n}),[en.HEADING_5]:(t,n)=>e.jsx($n,{as:"h3",className:"heading6 md:heading5",children:n}),[en.HEADING_6]:(t,n)=>e.jsx($n,{as:"h3",className:"heading6",children:n}),[en.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[en.UL_LIST]:(t,n)=>e.jsx("ul",{children:n}),[en.OL_LIST]:(t,n)=>e.jsx("ol",{children:n}),[en.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[tn.HYPERLINK]:(t,n)=>{var r;const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,i=/^https?:\/\//.test(o);return e.jsx("a",{href:o,target:i?"_blank":void 0,rel:i?"noopener noreferrer":void 0,children:n})},[en.EMBEDDED_ASSET]:t=>{var n,r;const o=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,i=null==o?void 0:o.fields,s=(null==o?void 0:o.url)||(null===(r=null==i?void 0:i.file)||void 0===r?void 0:r.url),a=(null==i?void 0:i.title)||(null==i?void 0:i.description)||"Embedded asset";if(!s)return null;const l=s.startsWith("//")?`https:${s}`:s;return e.jsx("img",{src:l,alt:a,style:{maxWidth:"100%"}})},[en.EMBEDDED_ENTRY]:t=>{var n,r,o,i;const s=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"callout"===(null===(i=null===(o=null===(r=null==s?void 0:s.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===i?void 0:i.id)?e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:s.fields.title}),e.jsx("div",{children:s.fields.body})]}):null},[tn.EMBEDDED_ENTRY]:t=>{var n,r,o,i,s,a;const l=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target;return"componentCheckList"===(null===(i=null===(o=null===(r=null==l?void 0:l.sys)||void 0===r?void 0:r.contentType)||void 0===o?void 0:o.sys)||void 0===i?void 0:i.id)?e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",l.fields.title]}):e.jsx("span",{children:null!==(a=null===(s=null==l?void 0:l.fields)||void 0===s?void 0:s.title)&&void 0!==a?a:""})}}};function nr(t,n,r="body1",o="body1 font-bold",i){if(!t||!Array.isArray(t.content))return null;const s={...tr,...i,renderNode:{...tr.renderNode,...null==i?void 0:i.renderNode,[en.PARAGRAPH]:(t,n)=>e.jsx("div",{className:r,children:n}),[tn.HYPERLINK]:(t,r)=>{var i;const s=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,a=/^https?:\/\//.test(s),l=null!=n?n:a;return e.jsx(er,{href:s,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:o,children:r})}}};return qt.documentToReactComponents(t,s)}const rr={renderMark:{[nn.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const or=t.forwardRef(({children:t,className:n="",style:r,disabled:o,...i},s)=>e.jsx("button",{ref:s,className:Ee(n),style:r,disabled:o,...i,children:t}));or.displayName="Button";const ir=n=>{const{open:r,children:o}=n,i=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a(r?e.scrollHeight:0)};let n;return t(),r&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[r,o]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:r?1:0},"aria-hidden":!r,children:e.jsx("div",{ref:i,children:o})})};ir.displayName="Collapse";const sr=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[h,m]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;m(e)}else m(Boolean(o))},[d,o]),e.jsxs("div",{className:Ee(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(or,{type:"button",className:Ee(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>m(e=>!e),children:[e.jsx("span",{className:Ee("label5 flex-1",a),children:r}),e.jsx(Un,{className:Ee("flex-shrink-0",u),name:h?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(ir,{open:h,children:e.jsx("div",{className:Ee("px-4 py-4",l),children:i})})]})};sr.displayName="Accordion";const ar=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ee("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};ar.displayName="Divider";var lr;const cr=null!==(lr=c.default)&&void 0!==lr?lr:c,ur=({href:t,title:n,description:r,date:o,category:i,image:s,imageComponent:a,readMoreText:l="Read more",asGrid:c=!0,lgWidth:u,mdWidth:d,index:p})=>{const h=c?"flex h-full flex-col overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop":`callout-card lg:w-[calc(33.3333%-1rem)] md:w-[calc(50%-1rem)] ${u} ${d} w-full overflow-hidden rounded-card-lg bg-white shadow-drop transition-all duration-200 hover:-translate-y-0.5 hover:shadow-cardDrop`;return e.jsxs("article",{className:h,"data-section-type":"blog-card","data-section-index":p,children:[e.jsx(cr,{href:t,tabIndex:-1,"aria-hidden":"true",className:"block",children:e.jsx("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:s?a?e.jsx(a,{src:s.src,alt:s.alt,width:s.width,height:s.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("img",{src:s.src,alt:s.alt,width:s.width,height:s.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),e.jsxs("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[e.jsx("span",{className:"body2 text-text-brand",children:i}),o&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:o})]})]}),n&&e.jsx(cr,{href:t,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:n}),r&&e.jsx($n,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),e.jsxs(cr,{href:t,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${l} about ${n||"this article"}`,children:[e.jsx($n,{"aria-label":`${l} about ${n||"this article"}`,className:"label1 text-nowrap",children:l}),e.jsx(Un,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]})},dr=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()},pr=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:r,label:o,disabled:i,fullWidth:s,buttonClassName:a,size:l={base:"medium"},as:c="button",...u},d)=>{const p=(()=>{const e=Ee((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(l),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",s?"w-full":"w-auto"),r=Ee((i||n)&&"cursor-not-allowed",n&&"pl-7");return Ee(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[t]||"",r,a)})();let h=`button--${t}`;n&&(h+=" button--loading"),i&&(h+=" button--disabled");const m=`${h} ${p}`,f=e.jsxs(e.Fragment,{children:[n?e.jsx(Un,{name:"progress_activity",className:"animate-spin"}):null,o?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ee(dr(l)),children:o}),r]}):r]});return"a"===c?e.jsx("a",{ref:d,className:Ee(m),...u,children:f}):e.jsx("button",{ref:d,className:Ee(m),disabled:i||n,...u,children:f})});pr.displayName="BrandButton";const hr=t=>{const{showButtonAs:n="solid",buttonVariant:r="primary_brand",buttonLabel:o,buttonPrefix:i,href:s,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:u,fullWidth:d,preDefinedFunctionExecution:p,renderCheckPlans:h,buttonClassName:m,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,iconFill:y=0,size:I,iconSize:C=24,preserveQueryParameters:w,...A}=t;if("check availability"===p){return null==h?void 0:h({ctaText:o,buttonVariant:r,showButtonAs:n,cta:{...t}})}function E(){"modal"===f&&(null==b||b(g))}function N(e){E(),null==v||v(e)}function j(e){E(),null==v||v(e)}const S="undefined"!=typeof window?window.location.search:"",T=s&&w&&S?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(rt),o=new Set([...r,"searchtext","page"]);let i,s;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);i=t.origin+t.pathname,s=t.searchParams}else{const[t,n]=e.split("?");i=t,s=new URLSearchParams(n||"")}}catch(t){return e}const a=new URLSearchParams(s);n.forEach((e,t)=>{o.has(t.toLowerCase())||a.has(t)||a.set(t,e)});const l=a.toString();return l?`${i}?${l}`:i}(s,S):s;let B=e.jsx(or,{onClick:j,className:m,...A});switch(n){case"solid":B=T?e.jsx(pr,{as:"a",href:T,id:l,variant:r,text:o,label:i,fullWidth:d,buttonClassName:m,size:I,onClick:N}):e.jsx(pr,{id:l,variant:r,text:o,label:i,fullWidth:d,size:I,onClick:j,buttonClassName:m});break;case"text":B=e.jsxs(er,{title:o,href:T,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:N,children:[o," ",x&&e.jsx(Un,{name:x,size:C,fill:y})]})}return B},mr={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},fr=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(u.default),gr=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},br=t.forwardRef(({className:t,...n},r)=>{const o="string"==typeof n.src?n.src:"",i=o.toLowerCase().split("?")[0]||"",s=o.includes("images.ctfassets.net"),a=s&&i.endsWith(".svg"),l=s&&!a?{loader:gr,unoptimized:!1}:{unoptimized:a};return e.jsx(fr,{ref:r,className:Ee(t),...n,...l})});br.displayName="NextImage";const vr=({card:t,lgWidth:n,mdWidth:r})=>{var o,i,s;const a=(null===(o=t.imageAlignment)||void 0===o?void 0:o.toLowerCase())||"left",l="left"===a?"lg:items-start":"right"===a?"lg:items-end":"lg:items-center";return e.jsx("div",{className:`callout-card ${r} ${n} w-full ${null!==(s=mr[null!==(i=t.backgroundColor)&&void 0!==i?i:""])&&void 0!==s?s:""}`,children:e.jsxs("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${l}`,children:[e.jsx("div",{className:"card-header",children:(t=>{var n,r,o;if(!t.image)return null;return"full"===(null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase())?e.jsx(br,{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}):e.jsx(br,{width:88,height:88,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon"})})(t)}),e.jsxs("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[t.title&&e.jsx($n,{as:"h5",className:"heading6 text-text md:heading5",children:t.title}),t.body&&e.jsx($n,{as:"div",className:"body1 text-text",children:t.body})]}),t.cta&&e.jsx("div",{className:"card-footer",children:e.jsx(hr,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...t.cta,iconName:"expand_circle_right",iconFill:1})})]})})},xr=t.forwardRef(({as:t,className:n="",...r},o)=>{const i=Ee(n);if(t){const n=t;return e.jsx(n,{ref:o,className:i,...r})}return e.jsx("img",{ref:o,className:i,...r})});xr.displayName="Image";const yr=({onSelect:n,speed:r,isSelected:o=!1,renderCheckPlans:i,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),h=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${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"} `,m=null==i?void 0:i({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(or,{onClick:()=>{p(!0),n()},className:Ee(h,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Un,{className:Ee(a,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),m]})},Ir=({planName:n,planSubtext:r,speed:o,price:i,description:s,bestValue:a=!1,bestValueText:l="best value",giftBadge:c,innerBadge:u,theme:d="light",featuresTitle:p="Business Ready Internet features",features:h=[],isExpanded:m,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[I,C]=t.useState(!1),w=void 0!==m?m:I,A="dark"===d;return e.jsxs("article",{className:Ee("relative flex h-full w-full max-w-[392px] flex-col",!a&&"md:pt-[38px]"),children:[a&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:l}),e.jsxs("div",{className:Ee("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",A?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",a?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx($n,{as:"h3",className:Ee("subheading2",A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx($n,{as:"p",className:"label3 text-wrap "+(A?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx($n,{as:"span",className:Ee("label2 mr-1 mt-[2px]",A?"text-text-inverse":"text-text"),children:"$"}),e.jsx($n,{as:"span",className:Ee("subheading6",A?"text-text-inverse":"text-text"),children:i.split(".")[0]}),e.jsxs($n,{as:"span",className:Ee("label2",A?"text-text-inverse":"text-text"),children:[i.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx($n,{className:Ee("body2",A?"text-text-inverse":"text-text"),children:s})}),(null==c?void 0:c.length)?e.jsx("div",{className:Ee("flex-col items-center rounded-surface-sm p-2",A?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(xr,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx($n,{as:"div",className:Ee("body3",A?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(yr,{onSelect:g,speed:o,isSelected:A,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),h.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(or,{onClick:()=>{f?f():C(!I)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx($n,{as:"h4",className:Ee("label3",A?"text-text-inverse":"text-text"),children:p}),e.jsx(Un,{name:"keyboard_arrow_down",fill:1,size:24,className:Ee("transition-transform duration-300",w&&"rotate-180",A?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ee("overflow-hidden transition-all duration-200 ease-in-out",w?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(Kn,{items:h,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:A?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(A?"text-text-inverse":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(xr,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:u.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e.jsx($n,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},Cr=({title:t,quote:n,rating:r,author:o,role:i,avatarUrl:s,isActive:a=!1,className:l})=>e.jsxs("figure",{className:h("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",a?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",l),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx($n,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),r?e.jsx("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Un,{size:24,name:"star",fill:1,className:h("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e.jsx(u.default,{src:s,alt:o,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:o.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:o}),e.jsx($n,{as:"p",className:"body3 text-text",children:i})]})]})]});function wr({fields:n,renderCheckPlans:r}){var o,i,s,a;const l=(null===(s=null===(i=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===i?void 0:i[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[c,u]=t.useState(l),[d,p]=t.useState({}),[h,m]=t.useState(0),f=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=f.length>2,b=t.useRef([]),v=t.useCallback(()=>{g&&m(e=>(e+3)%f.length)},[g,f.length]),x=t.useCallback(()=>{g&&m(e=>(e-3+f.length)%f.length)},[g,f.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=b.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[g,c,f.length]),!f.length&&!(null==n?void 0:n.title))return null;const y=(t,n,o=!1)=>{var i,s,a,l,h,m,f,g;const v=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),x=(null==v?void 0:v[0])||"",y=(null==v?void 0:v[1])||"",I=(null===(a=null===(s=null==t?void 0:t.priceSuffix)||void 0===s?void 0:s.split("/"))||void 0===a?void 0:a[0])||"00",C=`${(null==t?void 0:t.price)||"0"}.${I}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,E=(null===(m=null===(h=null==t?void 0:t.giftRewards)||void 0===h?void 0:h.list)||void 0===m?void 0:m.items)||[],N={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},j=o?d[n]||!1:c;return e.jsx("div",{ref:o?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Ee(o?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e.jsx(Ir,{planName:x,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:C,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:E,innerBadge:N,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:j,onToggleExpand:()=>{o?p(e=>({...e,[n]:!e[n]})):u(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,cta:t.cta,hostType:"smb"})},n)},I=[...f,...f,...f,...f,...f],C=2*f.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:f.map((e,t)=>y(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[e.jsxs("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e.jsx(or,{onClick:v,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e.jsx(Un,{name:"arrow_back",size:24})}),e.jsx(or,{onClick:x,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e.jsx(Un,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${C+h} * (392px + 12px)))`},children:I.map((e,t)=>y(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:f.map((e,t)=>y(e,t))})}const Ar=l.default.memo(({item:t,index:n,currentIndex:r,totalItems:o,swipeOffset:i,isSwiping:s,isMobile:a,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,p=1===Math.abs(u),h=u*c+i/l*100,m=!a||(s?d||p:d);return e.jsx("div",{className:Ee("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",m?"opacity-100":"opacity-0",s?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${h}%)`},children:e.jsx(Cr,{...t,isActive:d,className:"h-full"})})});Ar.displayName="TestimonialCarouselSlide";const Er=({fields:n,autoScroll:r=!0,autoScrollInterval:o=8e3})=>{var i;const s=(null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||[];if(!s||0===s.length)return null;const a=function(e){const{itemCount:n,cardOffsetPercentage:r=105,swipeThreshold:o=.15,mobileBreakpoint:i=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,h]=t.useState(!1),[m,f]=t.useState(window.innerWidth),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),I={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:o,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;f((null===(e=y.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),w=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),A=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),E=t.useCallback(e=>{x.current=e.touches[0].clientX,h(!0),v.current&&clearInterval(v.current)},[]),N=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),j=t.useCallback(()=>{h(!1);const e=m*o;u>e?w():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,m,o,w,C,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{C()},s),()=>{v.current&&clearInterval(v.current)}},[C,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:m,containerRef:y,nextSlide:C,prevSlide:w,goToSlide:A,handleTouchStart:E,handleTouchMove:N,handleTouchEnd:j,constants:I}}({itemCount:s.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:r});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(or,{onClick:a.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(Un,{name:"arrow_back",size:24})}),e.jsx(or,{onClick:a.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(Un,{name:"arrow_forward",size:24})}),e.jsx("div",{ref:a.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:a.handleTouchStart,onTouchMove:a.handleTouchMove,onTouchEnd:a.handleTouchEnd,children:e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:s.map((t,n)=>e.jsx(Ar,{item:t,index:n,currentIndex:a.currentIndex,totalItems:s.length,swipeOffset:a.swipeOffset,isSwiping:a.isSwiping,isMobile:a.isMobile,containerWidth:a.containerWidth,cardOffsetPercentage:a.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:s.map((t,n)=>e.jsx("button",{onClick:()=>a.goToSlide(n),className:Ee("h-2 w-2 rounded-full transition-all duration-300",a.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Nr=({tabs:n,activeTab:r,onChange:o,className:i})=>{const s=n.indexOf(r),a=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=a.current[s];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[s,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Ee("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",i),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{a.current[n]=e},onClick:()=>o(t),className:Ee("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},jr=({isHovered:t,containerClassName:n})=>e.jsx("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e.jsx(Un,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Sr=n=>{const{link:r,containerClassName:o,autoplay:i=!1,debug:s=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!r)return{href:"",embedId:""};const e=r.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),o=r[r.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[r]);if(s&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],o=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:Ee("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Tr=n=>{const{link:r,containerClassName:o,autoplay:i=!1}=n,s=t.useMemo(()=>{if(!r)return"";const e=r.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[r]),a=i?"?autoplay=1":"";return e.jsx("div",{className:Ee("relative h-0 w-full overflow-hidden pb-[56.25%]",o),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${s}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Br=({link:n,anchorName:r})=>{const[o,i]=l.default.useState(!1),s=l.default.useRef(null);if(((e,n)=>{const r=t=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))})(s,()=>i(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(hr,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:c,items:u}=n,d=Array.isArray(null==u?void 0:u.items)?u.items:[],p=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:p},ref:s,children:[e.jsxs(hr,{onClick:()=>i(e=>!e),"aria-expanded":o,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e.jsx($n,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e.jsx(Un,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:Ee("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&d.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:p,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&i(!1)},children:d.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(hr,{...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}`))})})]})},kr=({link:t})=>{const[n,r]=l.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(hr,{...t,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`);const{anchorId:o,title:i,items:s}=t,a=Array.isArray(null==s?void 0:s.items)?s.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(hr,{onClick:()=>r(e=>!e),"aria-expanded":n,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=i?i:null,e.jsx(Un,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},o),n&&a.length>0&&e.jsx(Pr,{items:a})]})},Pr=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(hr,{...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}`),Rr=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:o="md",children:i,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(er,{...c,className:Ee("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[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.jsx("span",{className:Ee("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]),children:e.jsx(Un,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]});return null==a||!1===a||""===a?u:e.jsxs("span",{className:Ee("flex items-center gap-2",l),children:["string"==typeof a||"number"==typeof a?e.jsx("span",{className:"text-sm font-normal text-text",children:a}):a,u]})};Rr.displayName="CallButton";const Lr=t.forwardRef((n,r)=>{const{className:o,size:i,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:h=!1,prefixIconSize:m=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:I,...C}=n,w=y?"error":c,[A,E]=t.useState(!1),[N,j]=t.useState(!1),[S,T]=t.useState(I||"text"),B=t.useCallback(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ee("inline-block pb-1"),children:e.jsxs($n,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ee("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],b,(A||"hover"===w)&&!N&&"error"!==w&&"border-input-border-hover",(N||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:m,height:m,overflow:"hidden"},children:e.jsx(Un,{name:d,fill:p?1:0,size:m,className:Ee(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:x||C.disabled,className:Ee("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",o),placeholder:a,type:S,...C,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),j(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),j(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:B,children:e.jsx(Un,{name:"text"===S?"visibility":"visibility_off",size:g,fill:h?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs($n,{className:Ee("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Un,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Lr.displayName="Input";const Gr=t=>{var n;const{primaryNavigationLinks:r,utilityNavigationLinks:o,supportNavigationLinks:i,accountNavigationLinks:s}=t,[a,c]=l.default.useState(!1);l.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=a?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],o=e=>{var t,o,i,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=r).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===r&&(null===(s=(i=n).focus)||void 0===s||s.call(i),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[a]);const u=()=>{c(!1)};return e.jsxs("div",{children:[e.jsx(hr,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>c(!0),children:e.jsx(Un,{name:"menu"})}),a?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Ee("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",a?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(Rr,{className:"border-none",href:t.invocaPhoneNumberLink,onClick:t.onCallClickMobile,children:t.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(hr,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:u,children:e.jsx(Un,{name:"close"})})})]}),e.jsx(Or,{closeMenu:u,isMenuOpen:a,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&u()},children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...i||[],...s||[]].map((t,n)=>e.jsx("li",{children:e.jsx(kr,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==o?void 0:o.map((n,r)=>e.jsx("li",{children:e.jsx(hr,{...Object.fromEntries(Object.entries(n).filter(([e,t])=>null!==t)),linkClassName:Ee("footnote flex items-center w-full h-11 text-text-link","number"!=typeof t.utilityNavActiveIndex?1===r&&"label4":t.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${n.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},Or=t=>{const{closeMenu:n,onSearch:r,isMenuOpen:o,searchBarIconURL:i}=t,[s,a]=l.default.useState(""),c=l.default.useRef(null),u=e=>{n(),e.preventDefault(),r(s)};return l.default.useEffect(()=>{o||a("")},[o]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx(br,{src:i,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(Lr,{ref:c,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},Dr=t=>{const{searchBarIconURL:n,onSearch:r}=t,[o,i]=l.default.useState(""),s=l.default.useRef(null),a=e=>{e.preventDefault(),r(o)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:a,children:[e.jsx(br,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:a}),e.jsx(Lr,{ref:s,className:"body3 rounded-full px-3 text-text",name:"search",placeholder:"Search...",value:o,onChange:e=>i(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},Vr={closed:{opacity:0},open:{opacity:1}},Mr={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Hr={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Wr=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Xr=t.createContext({}),Fr=t.createContext(null),zr="undefined"!=typeof document,Zr=zr?t.useLayoutEffect:t.useEffect,Yr=t.createContext({strict:!1});function _r(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Jr(e){return"string"==typeof e||Array.isArray(e)}function Ur(e){return"object"==typeof e&&"function"==typeof e.start}const $r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kr=["initial",...$r];function Qr(e){return Ur(e.animate)||Kr.some(t=>Jr(e[t]))}function qr(e){return Boolean(Qr(e)||e.variants)}function eo(e){const{initial:n,animate:r}=function(e,t){if(Qr(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Jr(t)?t:void 0,animate:Jr(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(Xr));return t.useMemo(()=>({initial:n,animate:r}),[to(n),to(r)])}function to(e){return Array.isArray(e)?e.join(" "):e}const no={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"]},ro={};for(const e in no)ro[e]={isEnabled:t=>no[e].some(e=>!!t[e])};const oo=t.createContext({}),io=t.createContext({}),so=Symbol.for("motionComponentSymbol");function ao({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:o,Component:i}){e&&function(e){for(const t in e)ro[t]={...ro[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let c;const u={...t.useContext(Wr),...s,layoutId:lo(s)},{isStatic:d}=u,p=eo(s),h=o(s,d);if(!d&&zr){p.visualElement=function(e,n,r,o){const{visualElement:i}=t.useContext(Xr),s=t.useContext(Yr),a=t.useContext(Fr),l=t.useContext(Wr).reducedMotion,c=t.useRef();o=o||s.renderer,!c.current&&o&&(c.current=o(e,{visualState:n,parent:i,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(r,a)}),Zr(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Zr:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,h,u,n);const r=t.useContext(io),o=t.useContext(Yr).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,o,e,r))}return l.createElement(Xr.Provider,{value:p},c&&p.visualElement?l.createElement(c,{visualElement:p.visualElement,...u}):null,r(i,s,function(e,n,r){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):_r(r)&&(r.current=t))},[n])}(h,p.visualElement,a),h,d,p.visualElement))});return s[so]=i,s}function lo({layoutId:e}){const n=t.useContext(oo).id;return n&&void 0!==e?n+"-"+e:e}function co(e){function t(t,n={}){return ao(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 uo=["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 po(e){return"string"==typeof e&&!e.includes("-")&&!!(uo.indexOf(e)>-1||/[A-Z]/.test(e))}const ho={};const mo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fo=new Set(mo);function go(e,{layout:t,layoutId:n}){return fo.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!ho[e]||"opacity"===e)}const bo=e=>Boolean(e&&e.getVelocity),vo={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xo=mo.length;const yo=e=>t=>"string"==typeof t&&t.startsWith(e),Io=yo("--"),Co=yo("var(--"),wo=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Ao=(e,t,n)=>Math.min(Math.max(n,e),t),Eo={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},No={...Eo,transform:e=>Ao(0,1,e)},jo={...Eo,default:1},So=e=>Math.round(1e5*e)/1e5,To=/(-)?([\d]*\.?[\d])+/g,Bo=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,ko=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Po(e){return"string"==typeof e}const Ro=e=>({test:t=>Po(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Lo=Ro("deg"),Go=Ro("%"),Oo=Ro("px"),Do=Ro("vh"),Vo=Ro("vw"),Mo={...Go,parse:e=>Go.parse(e)/100,transform:e=>Go.transform(100*e)},Ho={...Eo,transform:Math.round},Wo={borderWidth:Oo,borderTopWidth:Oo,borderRightWidth:Oo,borderBottomWidth:Oo,borderLeftWidth:Oo,borderRadius:Oo,radius:Oo,borderTopLeftRadius:Oo,borderTopRightRadius:Oo,borderBottomRightRadius:Oo,borderBottomLeftRadius:Oo,width:Oo,maxWidth:Oo,height:Oo,maxHeight:Oo,size:Oo,top:Oo,right:Oo,bottom:Oo,left:Oo,padding:Oo,paddingTop:Oo,paddingRight:Oo,paddingBottom:Oo,paddingLeft:Oo,margin:Oo,marginTop:Oo,marginRight:Oo,marginBottom:Oo,marginLeft:Oo,rotate:Lo,rotateX:Lo,rotateY:Lo,rotateZ:Lo,scale:jo,scaleX:jo,scaleY:jo,scaleZ:jo,skew:Lo,skewX:Lo,skewY:Lo,distance:Oo,translateX:Oo,translateY:Oo,translateZ:Oo,x:Oo,y:Oo,z:Oo,perspective:Oo,transformPerspective:Oo,opacity:No,originX:Mo,originY:Mo,originZ:Oo,zIndex:Ho,fillOpacity:No,strokeOpacity:No,numOctaves:Ho};function Xo(e,t,n,r){const{style:o,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Io(e)){i[e]=n;continue}const r=Wo[e],d=wo(n,r);if(fo.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):o[e]=d}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<xo;t++){const n=mo[t];void 0!==e[n]&&(i+=`${vo[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,r?"":i):n&&r&&(i="none"),i}(e.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;o.transformOrigin=`${e} ${t} ${n}`}}const Fo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function zo(e,t,n){for(const r in t)bo(t[r])||go(r,n)||(e[r]=t[r])}function Zo(e,n,r){const o={};return zo(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},n,r){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return Xo(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(o):o}function Yo(e,t,n){const r={},o=Zo(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const _o=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 Jo(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||_o.has(e)}let Uo=e=>!Jo(e);try{($o=require("@emotion/is-prop-valid").default)&&(Uo=e=>e.startsWith("on")?!Jo(e):$o(e))}catch(lr){}var $o;function Ko(e,t,n){return"string"==typeof e?e:Oo.transform(t+n*e)}const Qo={offset:"stroke-dashoffset",array:"stroke-dasharray"},qo={offset:"strokeDashoffset",array:"strokeDasharray"};function ei(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(Xo(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!==o||void 0!==i||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Ko(t,e.x,e.width)} ${Ko(n,e.y,e.height)}`}(f,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==s&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Qo:qo;e[i.offset]=Oo.transform(-r);const s=Oo.transform(t),a=Oo.transform(n);e[i.array]=`${s} ${a}`}(h,s,a,l,!1)}const ti=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ni=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ri(e,n,r,o){const i=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ei(t,n,{enableHardwareAcceleration:!1},ni(o),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};zo(t,e.style,e),i.style={...t,...i.style}}return i}function oi(e=!1){return(n,r,o,{latestValues:i},s)=>{const a=(po(n)?ri:Yo)(r,i,s,n),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Uo(o)||!0===n&&Jo(o)||!t&&!Jo(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(r,"string"==typeof n,e),c={...l,...a,ref:o},{children:u}=r,d=t.useMemo(()=>bo(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const ii=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function si(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const ai=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function li(e,t,n,r){si(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(ai.has(n)?n:ii(n),t.attrs[n])}function ci(e,t){const{style:n}=e,r={};for(const o in n)(bo(n[o])||t.style&&bo(t.style[o])||go(o,e))&&(r[o]=n[o]);return r}function ui(e,t){const n=ci(e,t);for(const r in e)if(bo(e[r])||bo(t[r])){n[-1!==mo.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function di(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}function pi(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const hi=e=>Array.isArray(e),mi=e=>hi(e)?e[e.length-1]||0:e;function fi(e){const t=bo(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const gi=e=>(n,r)=>{const o=t.useContext(Xr),i=t.useContext(Fr),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const s={latestValues:bi(r,o,i,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,n,o,i);return r?s():pi(s)};function bi(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=fi(i[e]);let{initial:s,animate:a}=e;const l=Qr(e),c=qr(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Ur(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=di(e,t);if(!n)return;const{transitionEnd:r,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const vi={useVisualState:gi({scrapeMotionValuesFromProps:ui,createRenderState:ti,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}}ei(n,r,{enableHardwareAcceleration:!1},ni(t.tagName),e.transformTemplate),li(t,n)}})},xi={useVisualState:gi({scrapeMotionValuesFromProps:ci,createRenderState:Fo})};function yi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Ii=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ci(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function wi(e,t,n,r){return yi(e,t,(e=>t=>Ii(t)&&e(t,Ci(t)))(n),r)}const Ai=(e,t)=>n=>t(e(n)),Ei=(...e)=>e.reduce(Ai);function Ni(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const ji=Ni("dragHorizontal"),Si=Ni("dragVertical");function Ti(e){let t=!1;if("y"===e)t=Si();else if("x"===e)t=ji();else{const e=ji(),n=Si();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Bi(){const e=Ti(!0);return!e||(e(),!1)}class ki{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Pi={delta:0,timestamp:0,isProcessing:!1};let Ri=!0,Li=!1;const Gi=["read","update","preRender","render","postRender"],Oi=Gi.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&o,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),s.has(r)&&(a.schedule(r),e())}o=!1,i&&(i=!1,a.process(l))}}};return a}(()=>Li=!0),e),{}),Di=e=>Oi[e].process(Pi),Vi=e=>{Li=!1,Pi.delta=Ri?1e3/60:Math.max(Math.min(e-Pi.timestamp,40),1),Pi.timestamp=e,Pi.isProcessing=!0,Gi.forEach(Di),Pi.isProcessing=!1,Li&&(Ri=!1,requestAnimationFrame(Vi))},Mi=Gi.reduce((e,t)=>{const n=Oi[t];return e[t]=(e,t=!1,r=!1)=>(Li||(Li=!0,Ri=!0,Pi.isProcessing||requestAnimationFrame(Vi)),n.schedule(e,t,r)),e},{});function Hi(e){Gi.forEach(t=>Oi[t].cancel(e))}function Wi(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return wi(e.current,n,(n,o)=>{if("touch"===n.type||Bi())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&Mi.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const Xi=(e,t)=>!!t&&(e===t||Xi(e,t.parentElement)),Fi=e=>e;function zi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ci(n))}const Zi=new WeakMap,Yi=new WeakMap,_i=e=>{const t=Zi.get(e.target);t&&t(e)},Ji=e=>{e.forEach(_i)};function Ui(e,t,n){const r=function({root:e,...t}){const n=e||document;Yi.has(n)||Yi.set(n,{});const r=Yi.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Ji,{root:e,...t})),r[o]}(t);return Zi.set(e,n),r.observe(e),()=>{Zi.delete(e),r.unobserve(e)}}const $i={some:0,all:1};const Ki={inView:{Feature:class extends ki{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:$i[r]};return Ui(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ki{constructor(){super(...arguments),this.removeStartListeners=Fi,this.removeEndListeners=Fi,this.removeAccessibleListeners=Fi,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=wi(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Mi.update(()=>{Xi(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=wi(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Ei(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=yi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=yi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&zi("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Mi.update(()=>n(e,t))})}),zi("down",(e,t)=>{this.startPress(e,t)})}),t=yi(this.node.current,"blur",()=>{this.isPressing&&zi("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ei(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&&Mi.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Bi()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Mi.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=wi(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=yi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ei(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ki{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=Ei(yi(this.node.current,"focus",()=>this.onFocus()),yi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ki{mount(){this.unmount=Ei(Wi(this.node,!0),Wi(this.node,!1))}unmount(){}}}};function Qi(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 qi(e,t,n){const r=e.getProps();return di(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 es="data-"+ii("framerAppearId");let ts=Fi,ns=Fi;"production"!==process.env.NODE_ENV&&(ts=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},ns=(e,t)=>{if(!e)throw new Error(t)});const rs=e=>1e3*e,os=e=>e/1e3,is=!1,ss=e=>Array.isArray(e)&&"number"==typeof e[0];function as(e){return Boolean(!e||"string"==typeof e&&cs[e]||ss(e)||Array.isArray(e)&&e.every(as))}const ls=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,cs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ls([0,.65,.55,1]),circOut:ls([.55,0,1,.45]),backIn:ls([.31,.01,.66,-.59]),backOut:ls([.33,1.53,.69,.99])};function us(e){if(e)return ss(e)?ls(e):Array.isArray(e)?e.map(us):cs[e]}const ds={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},ps={},hs={};for(const e in ds)hs[e]=()=>(void 0===ps[e]&&(ps[e]=ds[e]()),ps[e]);const ms=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function fs(e,t,n,r){if(e===t&&n===r)return Fi;const o=t=>function(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=ms(s,r,o)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:ms(o(e),t,r)}const gs=fs(.42,0,1,1),bs=fs(0,0,.58,1),vs=fs(.42,0,.58,1),xs=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ys=e=>t=>1-e(1-t),Is=e=>1-Math.sin(Math.acos(e)),Cs=ys(Is),ws=xs(Cs),As=fs(.33,1.53,.69,.99),Es=ys(As),Ns=xs(Es),js={linear:Fi,easeIn:gs,easeInOut:vs,easeOut:bs,circIn:Is,circInOut:ws,circOut:Cs,backIn:Es,backInOut:Ns,backOut:As,anticipate:e=>(e*=2)<1?.5*Es(e):.5*(2-Math.pow(2,-10*(e-1)))},Ss=e=>{if(Array.isArray(e)){ns(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return fs(t,n,r,o)}return"string"==typeof e?(ns(void 0!==js[e],`Invalid easing type '${e}'`),js[e]):e},Ts=(e,t)=>n=>Boolean(Po(n)&&ko.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Bs=(e,t,n)=>r=>{if(!Po(r))return r;const[o,i,s,a]=r.match(To);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},ks={...Eo,transform:e=>Math.round((e=>Ao(0,255,e))(e))},Ps={test:Ts("rgb","red"),parse:Bs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ks.transform(e)+", "+ks.transform(t)+", "+ks.transform(n)+", "+So(No.transform(r))+")"};const Rs={test:Ts("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:Ps.transform},Ls={test:Ts("hsl","hue"),parse:Bs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Go.transform(So(t))+", "+Go.transform(So(n))+", "+So(No.transform(r))+")"},Gs={test:e=>Ps.test(e)||Rs.test(e)||Ls.test(e),parse:e=>Ps.test(e)?Ps.parse(e):Ls.test(e)?Ls.parse(e):Rs.parse(e),transform:e=>Po(e)?e:e.hasOwnProperty("red")?Ps.transform(e):Ls.transform(e)},Os=(e,t,n)=>-n*e+n*t+e;function Ds(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 Vs=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Ms=[Rs,Ps,Ls];function Hs(e){const t=(n=e,Ms.find(e=>e.test(n)));var n;ns(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Ls&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;o=Ds(a,r,e+1/3),i=Ds(a,r,e),s=Ds(a,r,e-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(r)),r}const Ws=(e,t)=>{const n=Hs(e),r=Hs(t),o={...n};return e=>(o.red=Vs(n.red,r.red,e),o.green=Vs(n.green,r.green,e),o.blue=Vs(n.blue,r.blue,e),o.alpha=Os(n.alpha,r.alpha,e),Ps.transform(o))};const Xs={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Fi},Fs={regex:Bo,countKey:"Colors",token:"${c}",parse:Gs.parse},zs={regex:To,countKey:"Numbers",token:"${n}",parse:Eo.parse};function Zs(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function Ys(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Zs(n,Xs),Zs(n,Fs),Zs(n,zs),n}function _s(e){return Ys(e).values}function Js(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Ys(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(Xs.token,e[o]):o<r+n?t.replace(Fs.token,Gs.transform(e[o])):t.replace(zs.token,So(e[o]));return t}}const Us=e=>"number"==typeof e?0:e;const $s={test:function(e){var t,n;return isNaN(e)&&Po(e)&&((null===(t=e.match(To))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Bo))||void 0===n?void 0:n.length)||0)>0},parse:_s,createTransformer:Js,getAnimatableNone:function(e){const t=_s(e);return Js(e)(t.map(Us))}},Ks=(e,t)=>n=>`${n>0?t:e}`;function Qs(e,t){return"number"==typeof e?n=>Os(e,t,n):Gs.test(e)?Ws(e,t):e.startsWith("var(")?Ks(e,t):ta(e,t)}const qs=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Qs(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},ea=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Qs(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},ta=(e,t)=>{const n=$s.createTransformer(t),r=Ys(e),o=Ys(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Ei(qs(r.values,o.values),n):(ts(!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.`),Ks(e,t))},na=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},ra=(e,t)=>n=>Os(e,t,n);function oa(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?ra:"string"==typeof i?Gs.test(i)?Ws:ta:Array.isArray(i)?qs:"object"==typeof i?ea:ra);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Fi:t;i=Ei(e,i)}r.push(i)}return r}function ia(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(ns(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=oa(t,r,o),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=na(e[n],e[n+1],t);return s[n](r)};return n?t=>l(Ao(e[0],e[i-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 o=na(0,t,r);e.push(Os(n,1,o))}}(t,e.length-1),t}function aa({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Ss):Ss(r),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:sa(t),e),a=ia(s,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||vs).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function la(e,t){return t?e*(1e3/t):0}function ca(e,t,n){const r=Math.max(t-5,0);return la(n-e(r),t-r)}const ua=.001;function da({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;ts(e<=rs(10),"Spring duration must be 10 seconds or less");let s=1-t;s=Ao(.05,1,s),e=Ao(.01,10,os(e)),s<1?(o=t=>{const r=t*s,o=r*e,i=r-n,a=ha(t,s),l=Math.exp(-o);return ua-i/a*l},i=t=>{const r=t*s*e,i=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=ha(Math.pow(t,2),s);return(-o(t)+ua>0?-1:1)*((i-a)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<pa;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=rs(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}const pa=12;function ha(e,t){return e*Math.sqrt(1-t*t)}const ma=["duration","bounce"],fa=["stiffness","damping","mass"];function ga(e,t){return t.some(t=>void 0!==e[t])}function ba({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ga(e,fa)&&ga(e,ma)){const n=da(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-os(u):0,m=l/(2*Math.sqrt(a*c)),f=i-o,g=os(Math.sqrt(a/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=ha(g,m);v=t=>{const n=Math.exp(-m*g*t);return i-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>i-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 i-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)s.done=e>=d;else{let o=h;0!==e&&(o=m<1?ca(v,e,r):0);const a=Math.abs(o)<=n,l=Math.abs(i-r)<=t;s.done=a&&l}return s.value=s.done?i:r,s}}}function va({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let m=n*t;const f=d+m,g=void 0===s?f:s(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let y,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,I=ba({keyframes:[p.value,h(p.value)],velocity:ca(v,e,p.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==y||(t=!0,x(e),C(e)),void 0!==y&&e>y?I.next(e-y):(!t&&x(e),p)}}}const xa=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Mi.update(t,!0),stop:()=>Hi(t),now:()=>Pi.isProcessing?Pi.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 Ia={decay:va,inertia:va,tween:aa,keyframes:aa,spring:ba};function Ca({autoplay:e=!0,delay:t=0,driver:n=xa,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const x=Ia[o]||aa;let y;x!==aa&&"number"!=typeof r[0]&&(y=ia([0,100],r,{clamp:!1}),r=[0,100]);const I=x({...p,keyframes:r});let C;"mirror"===a&&(C=x({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,E=null,N=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=ya(I));const{calculatedDuration:j}=I;let S=1/0,T=1/0;null!==j&&(S=j+s,T=S*(i+1)-s);let B=0;const k=e=>{if(null===E)return;f>0&&(E=Math.min(E,e)),B=null!==A?A:(e-E)*f;const n=B-t,o=n<0;B=Math.max(n,0),"finished"===w&&null===A&&(B=T);let l=B,c=I;if(i){const e=B/S;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const r=Boolean(t%2);r&&("reverse"===a?(n=1-n,s&&(n-=s/S)):"mirror"===a&&(c=C));let o=Ao(0,1,n);B>T&&(o="reverse"===a&&r?1:0),l=o*S}const u=o?{done:!1,value:r[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;o||null===j||(p=B>=T);const h=null===A&&("finished"===w||"running"===w&&p||f<0&&B<=0);return d&&d(u.value),h&&L(),u},P=()=>{v&&v.stop(),v=void 0},R=()=>{w="idle",P(),b(),E=N=null},L=()=>{w="finished",u&&u(),P(),b()},G=()=>{if(g)return;v||(v=n(k));const e=v.now();l&&l(),null!==A?E=e-A:E&&"finished"!==w||(E=e),N=E,A=null,w="running",v.start()};e&&G();const O={then:(e,t)=>m.then(e,t),get time(){return os(B)},set time(e){e=rs(e),B=e,null===A&&v&&0!==f?E=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?ya(I):I.calculatedDuration;return os(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,O.time=os(B))},get state(){return w},play:G,pause:()=>{w="paused",A=B},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),R())},cancel:()=>{null!==N&&k(N),R()},complete:()=>{w="finished"},sample:e=>(E=0,k(e))};return O}const wa=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Aa(e,t,{onUpdate:n,onComplete:r,...o}){if(!(hs.waapi()&&wa.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!as(t.ease))(t,o)){const e=Ca({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=us(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),m=()=>h.cancel(),f=()=>{Mi.update(m),i(),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,o)),r&&r(),f()},{then:(e,t)=>s.then(e,t),get time(){return os(h.currentTime||0)},set time(e){h.currentTime=rs(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return os(u)},play:()=>{a||(h.play(),Hi(m))},pause:()=>h.pause(),stop:()=>{if(a=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Ca({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const Ea={type:"spring",stiffness:500,damping:25,restSpeed:10},Na={type:"keyframes",duration:.8},ja={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Sa=(e,{keyframes:t})=>t.length>2?Na:fo.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Ea:ja,Ta=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!$s.test(t)&&"0"!==t||t.startsWith("url("))),Ba=new Set(["brightness","contrast","saturate","opacity"]);function ka(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(To)||[];if(!r)return e;const o=n.replace(r,"");let i=Ba.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Pa=/([a-z-]*)\(.*?\)/g,Ra={...$s,getAnimatableNone:e=>{const t=e.match(Pa);return t?t.map(ka).join(" "):e}},La={...Wo,color:Gs,backgroundColor:Gs,outlineColor:Gs,fill:Gs,stroke:Gs,borderColor:Gs,borderTopColor:Gs,borderRightColor:Gs,borderBottomColor:Gs,borderLeftColor:Gs,filter:Ra,WebkitFilter:Ra},Ga=e=>La[e];function Oa(e,t){let n=Ga(e);return n!==Ra&&(n=$s),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Da=e=>/^0[^.\s]+$/.test(e);function Va(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Da(e):void 0}function Ma(e,t){return e[t]||e.default||e}const Ha=(e,t,n,r={})=>o=>{const i=Ma(r,e)||{},s=i.delay||r.delay||0;let{elapsed:a=0}=r;a-=rs(s);const l=function(e,t,n,r){const o=Ta(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==r.from?r.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),Va(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(o&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=Oa(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=Ta(e,c),p=Ta(e,u);ts(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",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(h={...h,...Sa(e,h)}),h.duration&&(h.duration=rs(h.duration)),h.repeatDelay&&(h.repeatDelay=rs(h.repeatDelay)),!d||!p||is||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Fi,pause:Fi,stop:Fi,then:e=>(e(),Promise.resolve()),cancel:Fi,complete:Fi});return t?Ca({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Aa(t,e,h);if(n)return n}return Ca(h)};function Wa(e){return Boolean(bo(e)&&e.add)}const Xa=e=>/^\-?\d*\.?\d+$/.test(e);function Fa(e,t){-1===e.indexOf(t)&&e.push(t)}function za(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Za{constructor(){this.subscriptions=[]}add(e){return Fa(this.subscriptions,e),()=>za(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ya=new Set;function _a(e,t,n){e||Ya.has(t)||(console.warn(t),Ya.add(t))}class Ja{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}=Pi;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Mi.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=()=>Mi.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&&_a(!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 Za);const n=this.events[e].add(t);return"change"===e?()=>{n(),Mi.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?la(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 Ua(e,t){return new Ja(e,t)}const $a=e=>t=>t.test(e),Ka=[Eo,Oo,Go,Lo,Vo,Do,{test:e=>"auto"===e,parse:e=>e}],Qa=e=>Ka.find($a(e)),qa=[...Ka,Gs,$s],el=e=>qa.find($a(e));function tl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ua(n))}function nl(e,t){if(!t)return;return(t[e]||t.default||t).from}function rl({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function ol(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(i=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in a){const r=e.getValue(t),o=a[t];if(!r||void 0===o||u&&rl(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[es];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,Mi))}r.start(Ha(t,r,o,e.shouldReduceMotion&&fo.has(t)?{type:!1}:s));const d=r.animation;Wa(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=qi(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)tl(e,t,mi(i[t]))}(e,s)}),c}function il(e,t,n={}){const r=qi(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(ol(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(sl).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(il(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+r,s,a,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function sl(e,t){return e.sortNodePosition(t)}const al=[...$r].reverse(),ll=$r.length;function cl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>il(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=il(e,t,n);else{const o="function"==typeof t?qi(e,t,n.custom):t;r=Promise.all(ol(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ul(e){let t=cl(e);const n={animate:pl(!0),whileInView:pl(),whileHover:pl(),whileTap:pl(),whileDrag:pl(),whileFocus:pl(),exit:pl()};let r=!0;const o=(t,n)=>{const r=qi(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<ll;t++){const h=al[t],m=n[h],f=void 0!==a[h]?a[h]:l[h],g=Jr(f),b=h===s?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==a[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||Ur(f)||"boolean"==typeof f)continue;const x=dl(m.prevProp,f);let y=x||h===s&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},E=e=>{y=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?hi(t)&&hi(n)?!Qi(t,n)||x?E(e):m.protectedKeys[e]=!0:void 0!==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&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...i}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===a.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const a=i(o,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function dl(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Qi(t,e)}function pl(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let hl=0;const ml={animation:{Feature:class extends ki{constructor(e){super(e),e.animationState||(e.animationState=ul(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ur(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 ki{constructor(){super(...arguments),this.id=hl++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},fl=(e,t)=>Math.abs(e-t);class gl{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=xl(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=fl(e.x,t.x),r=fl(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=Pi;this.history.push({...r,timestamp:o});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=bl(t,this.transformPagePoint),Mi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=xl("pointercancel"===e.type?this.lastMoveEventInfo:bl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!Ii(e))return;this.handlers=t,this.transformPagePoint=n;const r=bl(Ci(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=Pi;this.history=[{...o,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,xl(r,this.history)),this.removeListeners=Ei(wi(window,"pointermove",this.handlePointerMove),wi(window,"pointerup",this.handlePointerUp),wi(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Hi(this.updatePoint)}}function bl(e,t){return t?{point:t(e.point)}:e}function vl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xl({point:e},t){return{point:e,delta:vl(e,Il(t)),offset:vl(e,yl(t)),velocity:Cl(t,.1)}}function yl(e){return e[0]}function Il(e){return e[e.length-1]}function Cl(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Il(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>rs(t)));)n--;if(!r)return{x:0,y:0};const i=os(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function wl(e){return e.max-e.min}function Al(e,t=0,n=.01){return Math.abs(e-t)<=n}function El(e,t,n,r=.5){e.origin=r,e.originPoint=Os(t.min,t.max,e.origin),e.scale=wl(n)/wl(t),(Al(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Os(n.min,n.max,e.origin)-e.originPoint,(Al(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Nl(e,t,n,r){El(e.x,t.x,n.x,r?r.originX:void 0),El(e.y,t.y,n.y,r?r.originY:void 0)}function jl(e,t,n){e.min=n.min+t.min,e.max=e.min+wl(t)}function Sl(e,t,n){e.min=t.min-n.min,e.max=e.min+wl(t)}function Tl(e,t,n){Sl(e.x,t.x,n.x),Sl(e.y,t.y,n.y)}function Bl(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 kl(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 Pl=.35;function Rl(e,t,n){return{min:Ll(e,t),max:Ll(e,n)}}function Ll(e,t){return"number"==typeof e?e:e[t]||0}const Gl=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ol(e){return[e("x"),e("y")]}function Dl({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Vl(e){return void 0===e||1===e}function Ml({scale:e,scaleX:t,scaleY:n}){return!Vl(e)||!Vl(t)||!Vl(n)}function Hl(e){return Ml(e)||Wl(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Wl(e){return Xl(e.x)||Xl(e.y)}function Xl(e){return e&&"0%"!==e}function Fl(e,t,n){return n+t*(e-n)}function zl(e,t,n,r,o){return void 0!==o&&(e=Fl(e,o,r)),Fl(e,n,r)+t}function Zl(e,t=0,n=1,r,o){e.min=zl(e.min,t,n,r,o),e.max=zl(e.max,t,n,r,o)}function Yl(e,{x:t,y:n}){Zl(e.x,t.translate,t.scale,t.originPoint),Zl(e.y,n.translate,n.scale,n.originPoint)}function _l(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Jl(e,t){e.min=e.min+t,e.max=e.max+t}function Ul(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,s=Os(e.min,e.max,i);Zl(e,t[n],t[r],s,t.scale)}const $l=["x","scaleX","originX"],Kl=["y","scaleY","originY"];function Ql(e,t){Ul(e.x,t,$l),Ul(e.y,t,Kl)}function ql(e,t){return Dl(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 ec=new WeakMap;class tc{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 gl(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ci(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ti(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),Ol(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Go.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=wl(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Mi.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&Mi.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!nc(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?Os(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Os(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&_r(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:Bl(e.x,n,o),y:Bl(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Pl){return!1===e?e=0:!0===e&&(e=Pl),{x:Rl(e,"left","right"),y:Rl(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ol(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||!_r(e))return!1;const n=e.current;ns(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=ql(e,n),{scroll:o}=t;return o&&(Jl(r.x,o.offset.x),Jl(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:kl(e.x,t.x),y:kl(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Dl(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Ol(s=>{if(!nc(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Ha(e,n,0,t))}stopAnimation(){Ol(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){Ol(t=>{const{drag:n}=this.getProps();if(!nc(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-Os(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!_r(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ol(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=wl(e),o=wl(t);return o>r?n=na(t.min,t.max-r,e.min):r>o&&(n=na(e.min,e.max-o,t.min)),Ao(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ol(t=>{if(!nc(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(Os(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;ec.set(this.visualElement,this);const e=wi(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();_r(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=yi(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ol(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=Pl,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function nc(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const rc=e=>(t,n)=>{e&&Mi.update(()=>e(t,n))};const oc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ic(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const sc={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Oo.test(e))return e;e=parseFloat(e)}return`${ic(e,t.target.x)}% ${ic(e,t.target.y)}%`}},ac={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=$s.parse(e);if(o.length>5)return r;const i=$s.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=Os(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),i(o)}};class lc extends l.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=uc,Object.assign(ho,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),oc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||Mi.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function cc(e){const[n,r]=function(){const e=t.useContext(Fr);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=e,i=t.useId();return t.useEffect(()=>o(i),[]),!n&&r?[!1,()=>r&&r(i)]:[!0]}(),o=t.useContext(oo);return l.default.createElement(lc,{...e,layoutGroup:o,switchLayoutGroup:t.useContext(io),isPresent:n,safeToRemove:r})}const uc={borderRadius:{...sc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:sc,borderTopRightRadius:sc,borderBottomLeftRadius:sc,borderBottomRightRadius:sc,boxShadow:ac},dc=["TopLeft","TopRight","BottomLeft","BottomRight"],pc=dc.length,hc=e=>"string"==typeof e?parseFloat(e):e,mc=e=>"number"==typeof e||Oo.test(e);function fc(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const gc=vc(0,.5,Cs),bc=vc(.5,.95,Fi);function vc(e,t,n){return r=>r<e?0:r>t?1:n(na(e,t,r))}function xc(e,t){e.min=t.min,e.max=t.max}function yc(e,t){xc(e.x,t.x),xc(e.y,t.y)}function Ic(e,t,n,r,o){return e=Fl(e-=t,1/n,r),void 0!==o&&(e=Fl(e,1/o,r)),e}function Cc(e,t,[n,r,o],i,s){!function(e,t=0,n=1,r=.5,o,i=e,s=e){Go.test(t)&&(t=parseFloat(t),t=Os(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=Os(i.min,i.max,r);e===i&&(a-=t),e.min=Ic(e.min,t,n,a,o),e.max=Ic(e.max,t,n,a,o)}(e,t[n],t[r],t[o],t.scale,i,s)}const wc=["x","scaleX","originX"],Ac=["y","scaleY","originY"];function Ec(e,t,n,r){Cc(e.x,t,wc,n?n.x:void 0,r?r.x:void 0),Cc(e.y,t,Ac,n?n.y:void 0,r?r.y:void 0)}function Nc(e){return 0===e.translate&&1===e.scale}function jc(e){return Nc(e.x)&&Nc(e.y)}function Sc(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 wl(e.x)/wl(e.y)}class Bc{constructor(){this.members=[]}add(e){Fa(this.members,e),e.scheduleRender()}remove(e){if(za(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 kc(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(r+=`scale(${s}, ${a})`),r||"none"}const Pc=(e,t)=>e.depth-t.depth;class Rc{constructor(){this.children=[],this.isDirty=!1}add(e){Fa(this.children,e),this.isDirty=!0}remove(e){za(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Pc),this.isDirty=!1,this.children.forEach(e)}}const Lc=["","X","Y","Z"];let Gc=0;const Oc={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Dc({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Gc++,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;Oc.totalNodes=Oc.resolvedTargetDeltas=Oc.recalculatedProjection=0,this.nodes.forEach(Hc),this.nodes.forEach(_c),this.nodes.forEach(Jc),this.nodes.forEach(Wc),e=Oc,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 Rc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Za),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Hi(r),e(i-t))};return Mi.read(r,!0),()=>Hi(r)}(r,250),oc.hasAnimatedSinceResize&&(oc.hasAnimatedSinceResize=!1,this.nodes.forEach(Yc))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||eu,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Sc(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={...Ma(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Yc(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,Hi(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(Uc),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(zc),this.isUpdating=!1,this.nodes.forEach(Zc),this.nodes.forEach(Vc),this.nodes.forEach(Mc),this.clearAllSnapshots();const e=performance.now();Pi.delta=Ao(0,1e3/60,e-Pi.timestamp),Pi.timestamp=e,Pi.isProcessing=!0,Oi.update.process(Pi),Oi.preRender.process(Pi),Oi.render.process(Pi),Pi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Xc),this.sharedNodes.forEach($c)}scheduleUpdateProjection(){Mi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Mi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!jc(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||Hl(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),tu((r=n).x),tu(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&&(Jl(t.x,n.offset.x),Jl(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};yc(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){yc(t,e);const{scroll:n}=this.root;n&&(Jl(t.x,-n.offset.x),Jl(t.y,-n.offset.y))}Jl(t.x,o.offset.x),Jl(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};yc(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&&Ql(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Hl(r.latestValues)&&Ql(n,r.latestValues)}return Hl(this.latestValues)&&Ql(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};yc(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Hl(n.latestValues))continue;Ml(n.latestValues)&&n.updateSnapshot();const r=Gl();yc(r,n.measurePageBox()),Ec(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Hl(this.latestValues)&&Ec(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!==Pi.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=Pi.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),yc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,jl(s.x,a.x,l.x),jl(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):yc(this.target,this.layout.layoutBox),Yl(this.target,this.targetDelta)):yc(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),yc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Oc.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ml(this.parent.latestValues)&&!Wl(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===Pi.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;yc(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,s;t.x=t.y=1;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Ql(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Yl(e,s)),r&&Hl(i.latestValues)&&Ql(e,i.latestValues))}t.x=_l(t.x),t.y=_l(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;Nl(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=kc(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Oc.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(qc));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Kc(i.x,e.x,n),Kc(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Tl(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){Qc(e.x,t.x,n.x,r),Qc(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&Sc(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),yc(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=Os(0,void 0!==n.opacity?n.opacity:1,gc(r)),e.opacityExit=Os(void 0!==t.opacity?t.opacity:1,0,bc(r))):i&&(e.opacity=Os(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<pc;o++){const i=`border${dc[o]}Radius`;let s=fc(t,i),a=fc(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||mc(s)===mc(a)?(e[i]=Math.max(Os(hc(s),hc(a),r),0),(Go.test(a)||Go.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=Os(t.rotate||0,n.rotate||0,r))}(o,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&&(Hi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Mi.update(()=>{oc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=bo(e)?e:Ua(e);return r.start(Ha("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&nu(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=wl(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=wl(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}yc(t,n),Ql(t,o),Nl(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Bc);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<Lc.length;t++){const o="rotate"+Lc[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=fi(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=fi(e.pointerEvents)||""),this.hasProjected&&!Hl(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=kc(this.projectionDeltaWithTransform,this.treeScale,s),o&&(r.transform=o(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in ho){if(void 0===s[e])continue;const{correct:t,applyTo:n}=ho[e],o="none"===r.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?fi(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 Vc(e){e.updateLayout()}function Mc(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?Ol(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=wl(r);r.min=t[e].min,r.max=r.min+o}):nu(o,n.layoutBox,t)&&Ol(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=wl(t[r]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Nl(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?Nl(a,e.applyTransform(r,!0),n.measuredBox):Nl(a,t,n.layoutBox);const l=!jc(s);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};Tl(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Tl(a,t,i.layoutBox),Sc(s,a)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Hc(e){Oc.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 Wc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Xc(e){e.clearSnapshot()}function Fc(e){e.clearMeasurements()}function zc(e){e.isLayoutDirty=!1}function Zc(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Yc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function _c(e){e.resolveTargetDelta()}function Jc(e){e.calcProjection()}function Uc(e){e.resetRotation()}function $c(e){e.removeLeadSnapshot()}function Kc(e,t,n){e.translate=Os(t.translate,0,n),e.scale=Os(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Qc(e,t,n,r){e.min=Os(t.min,n.min,r),e.max=Os(t.max,n.max,r)}function qc(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const eu={duration:.45,ease:[.4,0,.1,1]};function tu(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function nu(e,t,n){return"position"===e||"preserve-aspect"===e&&!Al(Tc(t),Tc(n),.2)}const ru=Dc({attachResizeListener:(e,t)=>yi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ou={current:void 0},iu=Dc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ou.current){const e=new ru({});e.mount(window),e.setOptions({layoutScroll:!0}),ou.current=e}return ou.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),su={pan:{Feature:class extends ki{constructor(){super(...arguments),this.removePointerDownListener=Fi}onPointerDown(e){this.session=new gl(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:rc(e),onStart:rc(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Mi.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=wi(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ki{constructor(e){super(e),this.removeGroupControls=Fi,this.removeListeners=Fi,this.controls=new tc(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Fi}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:iu,MeasureLayout:cc}},au=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function lu(e,t,n=1){ns(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=au.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():Co(o)?lu(o,t,n+1):o}const cu=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),uu=e=>cu.has(e),du=e=>e===Eo||e===Oo,pu=(e,t)=>parseFloat(e.split(", ")[t]),hu=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return pu(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?pu(t[1],e):0}},mu=new Set(["x","y","z"]),fu=mo.filter(e=>!mu.has(e));const gu={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:hu(4,13),y:hu(5,14)},bu=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(uu);let i=[],s=!1;const a=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=Qa(c);const d=t[o];let p;if(hi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Qa(c);for(let n=t;n<e&&null!==d[n];n++)p?ns(Qa(d[n])===p,"All keyframes must be of the same type"):(p=Qa(d[n]),ns(p===u||du(u)&&du(p),"Keyframes must be of the same dimension as the current value"))}else p=Qa(d);if(u!==p)if(du(u)&&du(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===Oo&&(t[o]=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[o]=u.transform(d):(s||(i=function(e){const t=[];return fu.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=gu[e](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(a[n]),e[n]=gu[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),zr&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function vu(e,t,n,r){return(e=>Object.keys(e).some(uu))(t)?bu(e,t,n,r):{target:t,transitionEnd:r}}const xu=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Co(t))return;const n=lu(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!Co(o))continue;const i=lu(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return vu(e,t=o.target,n,r=o.transitionEnd)},yu={current:null},Iu={current:!1};const Cu=new WeakMap,wu=Object.keys(ro),Au=wu.length,Eu=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Nu=Kr.length;class ju{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Mi.render(this.render,!1,!0);const{latestValues:s,renderState:a}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=Qr(t),this.isVariantNode=qr(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const e in c){const t=c[e];void 0!==s[e]&&bo(t)&&(t.set(s[e],!1),Wa(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Cu.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)),Iu.current||function(){if(Iu.current=!0,zr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yu.current=e.matches;e.addListener(t),t()}else yu.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||yu.current),"production"!==process.env.NODE_ENV&&_a(!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(){Cu.delete(this.current),this.projection&&this.projection.unmount(),Hi(this.notifyUpdate),Hi(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=fo.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Mi.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let i,s;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?ts(!1,e):ns(!1,e)}for(let e=0;e<Au;e++){const n=wu[e],{isEnabled:r,Feature:o,ProjectionNode:a,MeasureLayout:l}=ro[n];a&&(i=a),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||s&&_r(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:a,layoutRoot:l})}return s}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Eu.length;t++){const n=Eu[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],s=n[o];if(bo(i))e.addValue(o,i),Wa(r)&&r.add(o),"development"===process.env.NODE_ENV&&_a("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(bo(s))e.addValue(o,Ua(i,{owner:e})),Wa(r)&&r.remove(o);else if(s!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,Ua(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Nu;e++){const n=Kr[e],r=this.props[n];(Jr(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=Ua(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=di(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||bo(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Za),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Su extends ju{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let i=function(e,t,n){const r={};for(const o in e){const e=nl(o,t);if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),i&&(i=r(i))),o){!function(e,t,n){var r,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(r=n[s])&&void 0!==r?r:e.readValue(s))&&void 0!==o?o:t[s]),null!=c&&("string"==typeof c&&(Xa(c)||Da(c))?c=parseFloat(c):!el(c)&&$s.test(l)&&(c=Oa(s,l)),e.addValue(s,Ua(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=xu(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Tu extends Su{readValueFromInstance(e,t){if(fo.has(t)){const e=Ga(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Io(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ql(e,t)}build(e,t,n,r){Xo(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return ci(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;bo(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){si(e,t,n,r)}}class Bu extends Su{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(fo.has(t)){const e=Ga(t);return e&&e.default||0}return t=ai.has(t)?t:ii(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return ui(e,t)}build(e,t,n,r){ei(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){li(e,t,0,r)}mount(e){this.isSVGTag=ni(e.tagName),super.mount(e)}}const ku=(e,t)=>po(e)?new Bu(t,{enableHardwareAcceleration:!1}):new Tu(t,{enableHardwareAcceleration:!0}),Pu={...ml,...Ki,...su,...{layout:{ProjectionNode:iu,MeasureLayout:cc}}},Ru=co((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...po(e)?vi:xi,preloadedFeatures:n,useRender:oi(t),createVisualElement:r,Component:e}}(e,t,Pu,ku));function Lu(){const e=t.useRef(!1);return Zr(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Gu extends l.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Ou({children:e,isPresent:n}){const r=t.useId(),o=t.useRef(null),i=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:s,left:a}=i.current;if(n||!o.current||!e||!t)return;o.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${s}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),l.createElement(Gu,{isPresent:n,childRef:o,sizeRef:i},l.cloneElement(e,{ref:o}))}const Du=({children:e,initial:n,isPresent:r,onExitComplete:o,custom:i,presenceAffectsLayout:s,mode:a})=>{const c=pi(Vu),u=t.useId(),d=t.useMemo(()=>({id:u,initial:n,isPresent:r,custom:i,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;o&&o()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[r]);return t.useMemo(()=>{c.forEach((e,t)=>c.set(t,!1))},[r]),l.useEffect(()=>{!r&&!c.size&&o&&o()},[r]),"popLayout"===a&&(e=l.createElement(Ou,{isPresent:r},e)),l.createElement(Fr.Provider,{value:d},e)};function Vu(){return new Map}const Mu=e=>e.key||"";const Hu=({children:e,custom:n,initial:r=!0,onExitComplete:o,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:a="sync"})=>{ns(!i,"Replace exitBeforeEnter with mode='wait'");const c=t.useContext(oo).forceRender||function(){const e=Lu(),[n,r]=t.useState(0),o=t.useCallback(()=>{e.current&&r(n+1)},[n]);return[t.useCallback(()=>Mi.postRender(o),[o]),n]}()[0],u=Lu(),d=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let p=d;const h=t.useRef(new Map).current,m=t.useRef(p),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(Zr(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=Mu(e);t.set(n,e)})}(d,f),m.current=p}),b=()=>{g.current=!0,f.clear(),h.clear()},t.useEffect(()=>()=>b(),[]),g.current)return l.createElement(l.Fragment,null,p.map(e=>l.createElement(Du,{key:Mu(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a},e)));p=[...p];const v=m.current.map(Mu),x=d.map(Mu),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||h.has(t)||h.set(t,void 0)}return"wait"===a&&h.size&&(p=[]),h.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const r=f.get(t);if(!r)return;const i=v.indexOf(t);let g=e;if(!g){const e=()=>{f.delete(t),h.delete(t);const e=m.current.findIndex(e=>e.key===t);if(m.current.splice(e,1),!h.size){if(m.current=d,!1===u.current)return;c(),o&&o()}};g=l.createElement(Du,{key:Mu(r),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},r),h.set(t,g)}p.splice(i,0,g)}),p=p.map(e=>{const t=e.key;return h.has(t)?e:l.createElement(Du,{key:Mu(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&p.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),l.createElement(l.Fragment,null,h.size?p:p.map(e=>t.cloneElement(e)))};function Wu(){return Wu=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},Wu.apply(null,arguments)}function Xu(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 zu(...e){return t.useCallback(Fu(...e),e)}function Zu(...e){const n=e[0];if(1===e.length)return n;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=r.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}const Yu=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},_u=l["useId".toString()]||(()=>{});let Ju=0;function Uu(e){const[t,n]=l.useState(_u());return Yu(()=>{n(e=>null!=e?e:String(Ju++))},[e]),e||(t?`radix-${t}`:"")}function $u(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Ku({prop:e,defaultProp:n,onChange:r=()=>{}}){const[o,i]=function({defaultProp:e,onChange:n}){const r=t.useState(e),[o]=r,i=t.useRef(o),s=$u(n);return t.useEffect(()=>{i.current!==o&&(s(o),i.current=o)},[o,i,s]),r}({defaultProp:n,onChange:r}),s=void 0!==e,a=s?e:o,l=$u(r);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)},[s,e,i,l])]}const Qu=t.forwardRef((e,n)=>{const{children:r,...o}=e,i=t.Children.toArray(r),s=i.find(td);if(s){const e=s.props.children,r=i.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(qu,Wu({},o,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement(qu,Wu({},o,{ref:n}),r)});Qu.displayName="Slot";const qu=t.forwardRef((e,n)=>{const{children:r,...o}=e;return t.isValidElement(r)?t.cloneElement(r,{...nd(o,r.props),ref:n?Fu(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});qu.displayName="SlotClone";const ed=({children:e})=>t.createElement(t.Fragment,null,e);function td(e){return t.isValidElement(e)&&e.type===ed}function nd(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const rd=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const r=t.forwardRef((e,r)=>{const{asChild:o,...i}=e,s=o?Qu:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,Wu({},i,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const od="dismissableLayer.update",id="dismissableLayer.pointerDownOutside",sd="dismissableLayer.focusOutside";let ad;const ld=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),cd=t.forwardRef((e,n)=>{var r;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(ld),[p,h]=t.useState(null),m=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=zu(n,e=>h(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,I=d.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,w=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=$u(e),o=t.useRef(!1),i=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!o.current){const t={originalEvent:e};function s(){dd(id,r,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=s,n.addEventListener("click",i.current,{once:!0})):s()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));C&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},m),A=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=$u(e),o=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!o.current){dd(sd,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},m);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=$u(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[r,n])}(e=>{y===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},m),t.useEffect(()=>{if(p)return o&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(ad=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),ud(),()=>{o&&1===d.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=ad)}},[p,m,o,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),ud())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(od,e),()=>document.removeEventListener(od,e)},[]),t.createElement(rd.div,Wu({},u,{ref:g,style:{pointerEvents:I?C?"auto":"none":void 0,...e.style},onFocusCapture:Xu(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Xu(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Xu(e.onPointerDownCapture,w.onPointerDownCapture)}))});function ud(){const e=new CustomEvent(od);document.dispatchEvent(e)}function dd(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}(i,s):i.dispatchEvent(s)}const pd="focusScope.autoFocusOnMount",hd="focusScope.autoFocusOnUnmount",md={bubbles:!1,cancelable:!0},fd=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=$u(i),d=$u(s),p=t.useRef(null),h=zu(n,e=>c(e)),m=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(o){function e(e){if(m.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:xd(p.current,{select:!0})}function t(e){if(m.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||xd(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&xd(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,l,m.paused]),t.useEffect(()=>{if(l){yd.add(m);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(pd,md);l.addEventListener(pd,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(xd(r,{select:t}),document.activeElement!==n)return}((e=gd(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&xd(l))}return()=>{l.removeEventListener(pd,u),setTimeout(()=>{const e=new CustomEvent(hd,md);l.addEventListener(hd,d),l.dispatchEvent(e),e.defaultPrevented||xd(null!=t?t:document.body,{select:!0}),l.removeEventListener(hd,d),yd.remove(m)},0)}}var e},[l,u,d,m]);const f=t.useCallback(e=>{if(!r&&!o)return;if(m.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[o,i]=function(e){const t=gd(e),n=bd(t,e),r=bd(t.reverse(),e);return[n,r]}(t);o&&i?e.shiftKey||n!==i?e.shiftKey&&n===o&&(e.preventDefault(),r&&xd(i,{select:!0})):(e.preventDefault(),r&&xd(o,{select:!0})):n===t&&e.preventDefault()}},[r,o,m.paused]);return t.createElement(rd.div,Wu({tabIndex:-1},a,{ref:h,onKeyDown:f}))});function gd(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 bd(e,t){for(const n of e)if(!vd(n,{upTo:t}))return n}function vd(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 xd(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 yd=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Id(e,t),e.unshift(t)},remove(t){var n;e=Id(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Id(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Cd=t.forwardRef((e,n)=>{var r;const{container:o=(null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...i}=e;return o?d.default.createPortal(t.createElement(rd.div,Wu({},i,{ref:n})),o):null});const wd=e=>{const{present:n,children:r}=e,i=function(e){const[n,r]=t.useState(),i=t.useRef({}),s=t.useRef(e),a=t.useRef("none"),l=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=Ad(i.current);a.current="mounted"===c?e:"none"},[c]),Yu(()=>{const t=i.current,n=s.current;if(n!==e){const r=a.current,o=Ad(t);if(e)u("MOUNT");else if("none"===o||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==o?"ANIMATION_OUT":"UNMOUNT")}s.current=e}},[e,u]),Yu(()=>{if(n){const e=e=>{const t=Ad(i.current).includes(e.animationName);e.target===n&&t&&o.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=Ad(i.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(i.current=getComputedStyle(e)),r(e)},[])}}(n),s="function"==typeof r?r({present:i.isPresent}):t.Children.only(r),a=zu(i.ref,s.ref);return"function"==typeof r||i.isPresent?t.cloneElement(s,{ref:a}):null};function Ad(e){return(null==e?void 0:e.animationName)||"none"}wd.displayName="Presence";let Ed=0;function Nd(){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 jd=function(){return jd=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},jd.apply(this,arguments)};function Sd(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Td="right-scroll-bar-position",Bd="width-before-scroll-bar";function kd(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Pd="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,Rd=new WeakMap;function Ld(e,n){var r,o,i,s=(r=null,o=function(t){return e.forEach(function(e){return kd(e,t)})},(i=t.useState(function(){return{value:r,callback:o,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=o,i.facade);return Pd(function(){var t=Rd.get(s);if(t){var n=new Set(t),r=new Set(e),o=s.current;n.forEach(function(e){r.has(e)||kd(e,null)}),r.forEach(function(e){n.has(e)||kd(e,o)})}Rd.set(s,e)},[e]),s}function Gd(e){return e}var Od=function(e){var t=e.sideCar,n=Sd(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return l.createElement(r,jd({},n))};Od.isSideCarExport=!0;var Dd=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Gd);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=jd({async:!0,ssr:!1},e),t}(),Vd=function(){},Md=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Vd,onWheelCapture:Vd,onTouchMoveCapture:Vd}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=Sd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=h,I=Ld([n,t]),C=jd(jd({},x),o);return l.createElement(l.Fragment,null,d&&l.createElement(y,{sideCar:Dd,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),s?l.cloneElement(l.Children.only(a),jd(jd({},C),{ref:I})):l.createElement(v,jd({},C,{className:c,ref:I}),a))});Md.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Md.classNames={fullWidth:Bd,zeroRight:Td};function Hd(){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 Wd=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=Hd())&&(!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)}}},Xd=function(){var e,t=(e=Wd(),function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Fd={left:0,top:0,right:0,gap:0},zd=function(e){return parseInt(e||"",10)||0},Zd=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"],o=t["padding"===e?"paddingRight":"marginRight"];return[zd(n),zd(r),zd(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Yd=Xd(),_d="data-scroll-locked",Jd=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(_d,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Td," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(Bd," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(Td," .").concat(Td," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Bd," .").concat(Bd," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(_d,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Ud=function(){var e=parseInt(document.body.getAttribute(_d)||"0",10);return isFinite(e)?e:0},$d=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;l.useEffect(function(){return document.body.setAttribute(_d,(Ud()+1).toString()),function(){var e=Ud()-1;e<=0?document.body.removeAttribute(_d):document.body.setAttribute(_d,e.toString())}},[]);var i=l.useMemo(function(){return Zd(o)},[o]);return l.createElement(Yd,{styles:Jd(i,!t,o,n?"":"!important")})},Kd=!1;if("undefined"!=typeof window)try{var Qd=Object.defineProperty({},"passive",{get:function(){return Kd=!0,!0}});window.addEventListener("test",Qd,Qd),window.removeEventListener("test",Qd,Qd)}catch(e){Kd=!1}var qd=!!Kd&&{passive:!1},ep=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])},tp=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),np(e,n)){var r=rp(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},np=function(e,t){return"v"===e?function(e){return ep(e,"overflowY")}(t):function(e){return ep(e,"overflowX")}(t)},rp=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)},op=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ip=function(e){return[e.deltaX,e.deltaY]},sp=function(e){return e&&"current"in e?e.current:e},ap=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},lp=0,cp=[];var up,dp=(up=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(lp++)[0],i=l.useState(function(){return Xd()})[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(sp),!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 a=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,i=op(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[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=tp(d,u);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=tp(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=o),!o)return!0;var h=r.current||o;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,s=n.target,a=t.contains(s),l=!1,c=i>0,u=0,d=0;do{var p=rp(e,s),h=p[0],m=p[1]-p[2]-o*h;(h||m)&&np(e,s)&&(u+=m,d+=h),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=l.useCallback(function(e){var n=e;if(cp.length&&cp[cp.length-1]===i){var r="deltaY"in n?ip(n):op(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var l=(s.current.shards||[]).map(sp).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=l.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=l.useCallback(function(e){n.current=op(e),r.current=void 0},[]),p=l.useCallback(function(t){u(t.type,ip(t),t.target,a(t,e.lockRef.current))},[]),h=l.useCallback(function(t){u(t.type,op(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return cp.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,qd),document.addEventListener("touchmove",c,qd),document.addEventListener("touchstart",d,qd),function(){cp=cp.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,qd),document.removeEventListener("touchmove",c,qd),document.removeEventListener("touchstart",d,qd)}},[]);var m=e.removeScrollBar,f=e.inert;return l.createElement(l.Fragment,null,f?l.createElement(i,{styles:ap(o)}):null,m?l.createElement($d,{gapMode:"margin"}):null)},Dd.useMedium(up),Od),pp=l.forwardRef(function(e,t){return l.createElement(Md,jd({},e,{ref:t,sideCar:dp}))});pp.classNames=Md.classNames;var hp=new WeakMap,mp=new WeakMap,fp={},gp=0,bp=function(e){return e&&(e.host||bp(e.parentNode))},vp=function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=bp(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]);fp[n]||(fp[n]=new WeakMap);var i=fp[n],s=[],a=new Set,l=new Set(o),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,l=(hp.get(e)||0)+1,c=(i.get(e)||0)+1;hp.set(e,l),i.set(e,c),s.push(e),1===l&&o&&mp.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),gp++,function(){s.forEach(function(e){var t=hp.get(e)-1,o=i.get(e)-1;hp.set(e,t),i.set(e,o),t||(mp.has(e)||e.removeAttribute(r),mp.delete(e)),o||e.removeAttribute(n)}),--gp||(hp=new WeakMap,hp=new WeakMap,mp=new WeakMap,fp={})}},xp=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),vp(r,o,n,"aria-hidden")):function(){return null}};const yp="Dialog",[Ip,Cp]=function(e,n=[]){let r=[];const o=()=>{const n=r.map(e=>t.createContext(e));return function(r){const o=(null==r?void 0:r[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(n,o){const i=t.createContext(o),s=r.length;function a(n){const{scope:r,children:o,...a}=n,l=(null==r?void 0:r[e][s])||i,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},o)}return r=[...r,o],a.displayName=n+"Provider",[a,function(r,a){const l=(null==a?void 0:a[e][s])||i,c=t.useContext(l);if(c)return c;if(void 0!==o)return o;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},Zu(o,...n)]}(yp),[wp,Ap]=Ip(yp),Ep="DialogPortal",[Np,jp]=Ip(Ep,{forceMount:void 0}),Sp="DialogOverlay",Tp=t.forwardRef((e,n)=>{const r=jp(Sp,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,s=Ap(Sp,e.__scopeDialog);return s.modal?t.createElement(wd,{present:o||s.open},t.createElement(Bp,Wu({},i,{ref:n}))):null}),Bp=t.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,i=Ap(Sp,r);return t.createElement(pp,{as:Qu,allowPinchZoom:!0,shards:[i.contentRef]},t.createElement(rd.div,Wu({"data-state":Mp(i.open)},o,{ref:n,style:{pointerEvents:"auto",...o.style}})))}),kp="DialogContent",Pp=t.forwardRef((e,n)=>{const r=jp(kp,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,s=Ap(kp,e.__scopeDialog);return t.createElement(wd,{present:o||s.open},s.modal?t.createElement(Rp,Wu({},i,{ref:n})):t.createElement(Lp,Wu({},i,{ref:n})))}),Rp=t.forwardRef((e,n)=>{const r=Ap(kp,e.__scopeDialog),o=t.useRef(null),i=zu(n,r.contentRef,o);return t.useEffect(()=>{const e=o.current;if(e)return xp(e)},[]),t.createElement(Gp,Wu({},e,{ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Xu(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Xu(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Xu(e.onFocusOutside,e=>e.preventDefault())}))}),Lp=t.forwardRef((e,n)=>{const r=Ap(kp,e.__scopeDialog),o=t.useRef(!1),i=t.useRef(!1);return t.createElement(Gp,Wu({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,s;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(o.current||null===(s=r.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());o.current=!1,i.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const a=t.target;(null===(s=r.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),Gp=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=e,l=Ap(kp,r),c=zu(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Nd()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Nd()),Ed++,()=>{1===Ed&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Ed--}},[]),t.createElement(t.Fragment,null,t.createElement(fd,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s},t.createElement(cd,Wu({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Mp(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),Op="DialogTitle",Dp="DialogClose",Vp=t.forwardRef((e,n)=>{const{__scopeDialog:r,...o}=e,i=Ap(Dp,r);return t.createElement(rd.button,Wu({type:"button"},o,{ref:n,onClick:Xu(e.onClick,()=>i.onOpenChange(!1))}))});function Mp(e){return e?"open":"closed"}!function(e,n){const r=t.createContext(n);function o(e){const{children:n,...o}=e,i=t.useMemo(()=>o,Object.values(o));return t.createElement(r.Provider,{value:i},n)}o.displayName=e+"Provider"}("DialogTitleWarning",{contentName:kp,titleName:Op,docsSlug:"dialog"});const Hp=e=>{const{__scopeDialog:n,children:r,open:o,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Ku({prop:o,defaultProp:i,onChange:s});return t.createElement(wp,{scope:n,triggerRef:l,contentRef:c,contentId:Uu(),titleId:Uu(),descriptionId:Uu(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},r)},Wp=e=>{const{__scopeDialog:n,forceMount:r,children:o,container:i}=e,s=Ap(Ep,n);return t.createElement(Np,{scope:n,forceMount:r},t.Children.map(o,e=>t.createElement(wd,{present:r||s.open},t.createElement(Cd,{asChild:!0,container:i},e))))},Xp=Tp,Fp=Pp,zp=Vp,Zp=t=>{const{isOpen:n,onRequestClose:r,size:o,title:i,content:s,description:a,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(Hp,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(Wp,{children:[e.jsx(Ru.div,{initial:"closed",animate:n?"open":"closed",variants:Vr,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Xp,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(Ru.div,{initial:"closed",animate:n?"open":"closed",variants:Mr,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"pointer-events-auto w-[calc(100vw-10px)] focus:outline-none sm:w-[calc(100vw-90px)]",children:e.jsx(Fp,{className:Ee("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",c),style:{maxWidth:Hr[o||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(zp,{asChild:!0,children:e.jsx(hr,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Un,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[i?e.jsx($n,{className:Ee("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:i}):null,a?e.jsx($n,{as:"div",className:"mb-8 sm:mb-5",children:a}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,l||null]})]})]})})})})]})})},Yp=({currentPage:t,totalPages:n,onPageChange:r,ariaLabel:o="Pagination"})=>{const i=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(t,n),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e.jsx(or,{className:s,onClick:()=>r(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Un,{name:"chevron_left",size:32,"aria-hidden":"true"})}),i.map((n,o)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${o}`):e.jsx(or,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>r(n),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n},n)),e.jsx(or,{className:s,onClick:()=>r(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Un,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function _p(e){return _p="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},_p(e)}function Jp(e){var t=function(e,t){if("object"!=_p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=_p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_p(t)?t:t+""}function Up(e,t,n){return(t=Jp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $p(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?$p(Object(n),!0).forEach(function(t){Up(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qp(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 qp(e,t){if(e){if("string"==typeof e)return Qp(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)?Qp(e,t):void 0}}function eh(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,o,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e,t)||qp(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 th(e,t){if(null==e)return{};var n,r,o=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 i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var nh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function rh(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,Jp(r.key),r)}}function oh(e,t){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oh(e,t)}function ih(e){return ih=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ih(e)}function sh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sh=function(){return!!e})()}function ah(e,t){if(t&&("object"==_p(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 lh(e){return function(e){if(Array.isArray(e))return Qp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qp(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 ch=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}(),uh="-ms-",dh="-moz-",ph="-webkit-",hh="comm",mh="rule",fh="decl",gh="@keyframes",bh=Math.abs,vh=String.fromCharCode,xh=Object.assign;function yh(e){return e.trim()}function Ih(e,t,n){return e.replace(t,n)}function Ch(e,t){return e.indexOf(t)}function wh(e,t){return 0|e.charCodeAt(t)}function Ah(e,t,n){return e.slice(t,n)}function Eh(e){return e.length}function Nh(e){return e.length}function jh(e,t){return t.push(e),e}var Sh=1,Th=1,Bh=0,kh=0,Ph=0,Rh="";function Lh(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Sh,column:Th,length:s,return:""}}function Gh(e,t){return xh(Lh("",null,null,"",null,null,0),e,{length:-e.length},t)}function Oh(){return Ph=kh>0?wh(Rh,--kh):0,Th--,10===Ph&&(Th=1,Sh--),Ph}function Dh(){return Ph=kh<Bh?wh(Rh,kh++):0,Th++,10===Ph&&(Th=1,Sh++),Ph}function Vh(){return wh(Rh,kh)}function Mh(){return kh}function Hh(e,t){return Ah(Rh,e,t)}function Wh(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 Xh(e){return Sh=Th=1,Bh=Eh(Rh=e),kh=0,[]}function Fh(e){return Rh="",e}function zh(e){return yh(Hh(kh-1,_h(91===e?e+2:40===e?e+1:e)))}function Zh(e){for(;(Ph=Vh())&&Ph<33;)Dh();return Wh(e)>2||Wh(Ph)>3?"":" "}function Yh(e,t){for(;--t&&Dh()&&!(Ph<48||Ph>102||Ph>57&&Ph<65||Ph>70&&Ph<97););return Hh(e,Mh()+(t<6&&32==Vh()&&32==Dh()))}function _h(e){for(;Dh();)switch(Ph){case e:return kh;case 34:case 39:34!==e&&39!==e&&_h(Ph);break;case 40:41===e&&_h(e);break;case 92:Dh()}return kh}function Jh(e,t){for(;Dh()&&e+Ph!==57&&(e+Ph!==84||47!==Vh()););return"/*"+Hh(t,kh-1)+"*"+vh(47===e?e:Dh())}function Uh(e){for(;!Wh(Vh());)Dh();return Hh(e,kh)}function $h(e){return Fh(Kh("",null,null,null,[""],e=Xh(e),0,[0],e))}function Kh(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,d=s,p=0,h=0,m=0,f=1,g=1,b=1,v=0,x="",y=o,I=i,C=r,w=x;g;)switch(m=v,v=Dh()){case 40:if(108!=m&&58==wh(w,d-1)){-1!=Ch(w+=Ih(zh(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=zh(v);break;case 9:case 10:case 13:case 32:w+=Zh(m);break;case 92:w+=Yh(Mh()-1,7);continue;case 47:switch(Vh()){case 42:case 47:jh(qh(Jh(Dh(),Mh()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=Eh(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=Ih(w,/\f/g,"")),h>0&&Eh(w)-d&&jh(h>32?em(w+";",r,n,d-1):em(Ih(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(jh(C=Qh(w,t,n,c,u,o,a,x,y=[],I=[],d),i),123===v)if(0===u)Kh(w,t,C,C,y,i,d,a,I);else switch(99===p&&110===wh(w,3)?100:p){case 100:case 108:case 109:case 115:Kh(e,C,C,r&&jh(Qh(e,C,C,0,0,o,a,x,o,y=[],d),I),o,I,d,a,r?y:I);break;default:Kh(w,C,C,C,[""],I,0,a,I)}}c=u=h=0,f=b=1,x=w="",d=s;break;case 58:d=1+Eh(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Oh())continue;switch(w+=vh(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(Eh(w)-1)*b,b=1;break;case 64:45===Vh()&&(w+=zh(Dh())),p=Vh(),u=d=Eh(x=w+=Uh(Mh())),v++;break;case 45:45===m&&2==Eh(w)&&(f=0)}}return i}function Qh(e,t,n,r,o,i,s,a,l,c,u){for(var d=o-1,p=0===o?i:[""],h=Nh(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=Ah(e,d+1,d=bh(f=s[m])),x=e;b<h;++b)(x=yh(f>0?p[b]+" "+v:Ih(v,/&\f/g,p[b])))&&(l[g++]=x);return Lh(e,t,n,0===o?mh:a,l,c,u)}function qh(e,t,n){return Lh(e,t,n,hh,vh(Ph),Ah(e,2,-2),0)}function em(e,t,n,r){return Lh(e,t,n,fh,Ah(e,0,r),Ah(e,r+1,-1),r)}function tm(e,t){for(var n="",r=Nh(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function nm(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case fh:return e.return=e.return||e.value;case hh:return"";case gh:return e.return=e.value+"{"+tm(e.children,r)+"}";case mh:e.value=e.props.join(",")}return Eh(n=tm(e.children,r))?e.return=e.value+"{"+n+"}":""}function rm(e){var t=Nh(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}var om="undefined"!=typeof document,im=function(e,t,n){for(var r=0,o=0;r=o,o=Vh(),38===r&&12===o&&(t[n]=1),!Wh(o);)Dh();return Hh(e,kh)},sm=function(e,t){return Fh(function(e,t){var n=-1,r=44;do{switch(Wh(r)){case 0:38===r&&12===Vh()&&(t[n]=1),e[n]+=im(kh-1,t,n);break;case 2:e[n]+=zh(r);break;case 4:if(44===r){e[++n]=58===Vh()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=vh(r)}}while(r=Dh());return e}(Xh(e),t))},am=new WeakMap,lm=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)||am.get(n))&&!r){am.set(e,!0);for(var o=[],i=sm(t,o),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},cm=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function um(e,t){switch(function(e,t){return 45^wh(e,0)?(((t<<2^wh(e,0))<<2^wh(e,1))<<2^wh(e,2))<<2^wh(e,3):0}(e,t)){case 5103:return ph+"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 ph+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ph+e+dh+e+uh+e+e;case 6828:case 4268:return ph+e+uh+e+e;case 6165:return ph+e+uh+"flex-"+e+e;case 5187:return ph+e+Ih(e,/(\w+).+(:[^]+)/,ph+"box-$1$2"+uh+"flex-$1$2")+e;case 5443:return ph+e+uh+"flex-item-"+Ih(e,/flex-|-self/,"")+e;case 4675:return ph+e+uh+"flex-line-pack"+Ih(e,/align-content|flex-|-self/,"")+e;case 5548:return ph+e+uh+Ih(e,"shrink","negative")+e;case 5292:return ph+e+uh+Ih(e,"basis","preferred-size")+e;case 6060:return ph+"box-"+Ih(e,"-grow","")+ph+e+uh+Ih(e,"grow","positive")+e;case 4554:return ph+Ih(e,/([^-])(transform)/g,"$1"+ph+"$2")+e;case 6187:return Ih(Ih(Ih(e,/(zoom-|grab)/,ph+"$1"),/(image-set)/,ph+"$1"),e,"")+e;case 5495:case 3959:return Ih(e,/(image-set\([^]*)/,ph+"$1$`$1");case 4968:return Ih(Ih(e,/(.+:)(flex-)?(.*)/,ph+"box-pack:$3"+uh+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ph+e+e;case 4095:case 3583:case 4068:case 2532:return Ih(e,/(.+)-inline(.+)/,ph+"$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(Eh(e)-1-t>6)switch(wh(e,t+1)){case 109:if(45!==wh(e,t+4))break;case 102:return Ih(e,/(.+:)(.+)-([^]+)/,"$1"+ph+"$2-$3$1"+dh+(108==wh(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ch(e,"stretch")?um(Ih(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==wh(e,t+1))break;case 6444:switch(wh(e,Eh(e)-3-(~Ch(e,"!important")&&10))){case 107:return Ih(e,":",":"+ph)+e;case 101:return Ih(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ph+(45===wh(e,14)?"inline-":"")+"box$3$1"+ph+"$2$3$1"+uh+"$2box$3")+e}break;case 5936:switch(wh(e,t+11)){case 114:return ph+e+uh+Ih(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ph+e+uh+Ih(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ph+e+uh+Ih(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ph+e+uh+e+e}return e}var dm,pm,hm,mm=om?void 0:(dm=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},pm=new WeakMap,function(e){if(pm.has(e))return pm.get(e);var t=dm(e);return pm.set(e,t),t}),fm=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case fh:e.return=um(e.value,e.length);break;case gh:return tm([Gh(e,{value:Ih(e.value,"@","@"+ph)})],r);case mh: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 tm([Gh(e,{props:[Ih(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return tm([Gh(e,{props:[Ih(t,/:(plac\w+)/,":"+ph+"input-$1")]}),Gh(e,{props:[Ih(t,/:(plac\w+)/,":-moz-$1")]}),Gh(e,{props:[Ih(t,/:(plac\w+)/,uh+"input-$1")]})],r)}return""})}}],gm=function(e){var t=e.key;if(om&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||fm,s={},a=[];om&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[lm,cm];if(mm){var u=[nm],d=rm(c.concat(i,u)),p=mm(i)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=tm($h(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,r){var o=t.name,i=h(e,t);return void 0===b.compat?(r&&(b.inserted[o]=!0),i):r?void(b.inserted[o]=i):i}}else{var m,f=[nm,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=rm(c.concat(i,f));o=function(e,t,n,r){m=n,tm($h(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new ch({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return b.sheet.hydrate(a),b},bm={exports:{}},vm={};var xm,ym,Im,Cm,wm={};
6
6
  /** @license React v16.13.1
7
7
  * react-is.development.js
8
8
  *
@@ -10,5 +10,5 @@ function tt(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 ih(){return th||(th=1,"production"===process.env.NODE_ENV?Kp.exports=function(){if(Up)return qp;Up=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case m:case h:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return qp.AsyncMode=l,qp.ConcurrentMode=c,qp.ContextConsumer=a,qp.ContextProvider=s,qp.Element=t,qp.ForwardRef=u,qp.Fragment=r,qp.Lazy=m,qp.Memo=h,qp.Portal=n,qp.Profiler=i,qp.StrictMode=o,qp.Suspense=d,qp.isAsyncMode=function(e){return y(e)||x(e)===l},qp.isConcurrentMode=y,qp.isContextConsumer=function(e){return x(e)===a},qp.isContextProvider=function(e){return x(e)===s},qp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},qp.isForwardRef=function(e){return x(e)===u},qp.isFragment=function(e){return x(e)===r},qp.isLazy=function(e){return x(e)===m},qp.isMemo=function(e){return x(e)===h},qp.isPortal=function(e){return x(e)===n},qp.isProfiler=function(e){return x(e)===i},qp.isStrictMode=function(e){return x(e)===o},qp.isSuspense=function(e){return x(e)===d},qp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},qp.typeOf=x,qp}():Kp.exports=(eh||(eh=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case i:case o:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case m:case h:case s:return g;default:return p}}case n:return p}}}var y=l,I=c,C=a,w=s,A=t,N=u,E=r,j=m,k=h,T=n,P=i,G=o,R=d,S=!1;function B(e){return x(e)===c}oh.AsyncMode=y,oh.ConcurrentMode=I,oh.ContextConsumer=C,oh.ContextProvider=w,oh.Element=A,oh.ForwardRef=N,oh.Fragment=E,oh.Lazy=j,oh.Memo=k,oh.Portal=T,oh.Profiler=P,oh.StrictMode=G,oh.Suspense=R,oh.isAsyncMode=function(e){return S||(S=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),B(e)||x(e)===l},oh.isConcurrentMode=B,oh.isContextConsumer=function(e){return x(e)===a},oh.isContextProvider=function(e){return x(e)===s},oh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},oh.isForwardRef=function(e){return x(e)===u},oh.isFragment=function(e){return x(e)===r},oh.isLazy=function(e){return x(e)===m},oh.isMemo=function(e){return x(e)===h},oh.isPortal=function(e){return x(e)===n},oh.isProfiler=function(e){return x(e)===i},oh.isStrictMode=function(e){return x(e)===o},oh.isSuspense=function(e){return x(e)===d},oh.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},oh.typeOf=x}()),oh)),Kp.exports}!function(){if(rh)return nh;rh=1;var e=ih(),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},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;nh=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var h=a(r);l&&(h=h.concat(l(r)));for(var m=i(t),f=i(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||o&&o[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{s(t,b,v)}catch(e){}}}}return t}}();var sh="undefined"!=typeof document;var ah=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===sh&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var lh={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},ch=/[A-Z]|^ms/g,uh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dh=function(e){return 45===e.charCodeAt(1)},ph=function(e){return null!=e&&"boolean"!=typeof e},hh=Dp(function(e){return dh(e)?e:e.replace(ch,"-$&").toLowerCase()}),mh=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(uh,function(e,t,n){return gh={name:t,styles:n,next:gh},t})}return 1===lh[e]||dh(e)||"number"!=typeof t||0===t?t:t+"px"};function fh(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 o=n;if(1===o.anim)return gh={name:o.name,styles:o.styles,next:gh},o.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)gh={name:s.name,styles:s.styles,next:gh},s=s.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=fh(e,t,n[o])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;ph(a)&&(r+=hh(i)+":"+mh(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)ph(s[l])&&(r+=hh(i)+":"+mh(i,s[l])+";");else{var c=fh(e,t,s);switch(i){case"animation":case"animationName":r+=hh(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=gh,l=n(e);return gh=a,fh(e,t,l)}}return n}var gh,bh=/label:\s*([^\s;{]+)\s*(;|$)/g;function vh(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,o="";gh=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=fh(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++){if(o+=fh(n,t,e[s]),r)o+=i[s]}bh.lastIndex=0;for(var a,l="";null!==(a=bh.exec(o));)l+="-"+a[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=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(o){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)}(o)+l;return{name:c,styles:o,next:gh}}var xh="undefined"!=typeof document,yh=function(e){return e()},Ih=!!l.useInsertionEffect&&l.useInsertionEffect,Ch=xh&&Ih||yh,wh="undefined"!=typeof document,Ah=l.createContext("undefined"!=typeof HTMLElement?Qp({key:"css"}):null);Ah.Provider;var Nh=function(e){return t.forwardRef(function(n,r){var o=t.useContext(Ah);return e(n,o,r)})};wh||(Nh=function(e){return function(n){var r=t.useContext(Ah);return null===r?(r=Qp({key:"css"}),l.createElement(Ah.Provider,{value:r},e(n,r))):e(n,r)}});var Eh,jh,kh=l.createContext({}),Th={}.hasOwnProperty,Ph="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gh=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;ah(t,n,r);var o=Ch(function(){return function(e,t,n){ah(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var s=e.insert(t===i?"."+r:"",i,e.sheet,!0);sh||void 0===s||(o+=s),i=i.next}while(void 0!==i);if(!sh&&0!==o.length)return o}}(t,n,r)});if(!wh&&void 0!==o){for(var i,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return l.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},Rh=Nh(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Ph],i=[r],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var a=vh(i,void 0,l.useContext(kh));s+=t.key+"-"+a.name;var c={};for(var u in e)Th.call(e,u)&&"css"!==u&&u!==Ph&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),l.createElement(l.Fragment,null,l.createElement(Gh,{cache:t,serialized:a,isStringTag:"string"==typeof o}),l.createElement(o,c))}),Sh=Rh,Bh=function(e,t){var n=arguments;if(null==t||!Th.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Sh,o[1]=function(e,t){var n={};for(var r in t)Th.call(t,r)&&(n[r]=t[r]);return n[Ph]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return l.createElement.apply(null,o)};function Vh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vh(t)}Eh=Bh||(Bh={}),jh||(jh=Eh.JSX||(Eh.JSX={}));const Lh=Math.min,Mh=Math.max,Dh=Math.round,Oh=Math.floor,Xh=e=>({x:e,y:e});function Wh(){return"undefined"!=typeof window}function Fh(e){return Zh(e)?(e.nodeName||"").toLowerCase():"#document"}function Hh(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function zh(e){var t;return null==(t=(Zh(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Zh(e){return!!Wh()&&(e instanceof Node||e instanceof Hh(e).Node)}function Yh(e){return!!Wh()&&(e instanceof HTMLElement||e instanceof Hh(e).HTMLElement)}function Jh(e){return!(!Wh()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Hh(e).ShadowRoot)}function Uh(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=_h(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function _h(e){return Hh(e).getComputedStyle(e)}function $h(e){const t=function(e){if("html"===Fh(e))return e;const t=e.assignedSlot||e.parentNode||Jh(e)&&e.host||zh(e);return Jh(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(Fh(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Yh(t)&&Uh(t)?t:$h(t)}function Qh(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=$h(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=Hh(o);if(i){const e=Kh(s);return t.concat(s,s.visualViewport||[],Uh(o)?o:[],e&&n?Qh(e):[])}return t.concat(o,Qh(o,[],n))}function Kh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qh(e){return t=e,Wh()&&(t instanceof Element||t instanceof Hh(t).Element)?e:e.contextElement;var t}function em(e){const t=qh(e);if(!Yh(t))return Xh(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=_h(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Yh(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Dh(n)!==i||Dh(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}(t);let s=(i?Dh(n.width):n.width)/r,a=(i?Dh(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function tm(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=qh(e);let s=Xh(1);t&&(s=em(e));const a=Xh(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const e=r;let t=Hh(i),n=Kh(t);for(;n&&r&&e!==t;){const e=em(n),r=n.getBoundingClientRect(),o=_h(n),i=r.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,s=r.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=Hh(n),n=Kh(t)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function nm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function rm(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=qh(e),u=o||i?[...c?Qh(c):[],...t?Qh(t):[]]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,r=null;const o=zh(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(a||t(),!p||!h)return;const m={rootMargin:-Oh(d)+"px "+-Oh(o.clientWidth-(u+p))+"px "+-Oh(o.clientHeight-(d+h))+"px "+-Oh(u)+"px",threshold:Mh(0,Lh(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||nm(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),i}(c,n):null;let p,h=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),t&&m.observe(t));let f=l?tm(e):null;return l&&function t(){const r=tm(e);f&&!nm(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var om="undefined"!=typeof document?t.useLayoutEffect:function(){},im=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],sm=function(){};function am(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function lm(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(am(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var cm=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Ed(e)&&null!==e?[e]:[];var t},um=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,Pd({},Bd(e,im))},dm=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,s=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),s)}};function pm(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function hm(e){return pm(e)?window.pageYOffset:e.scrollTop}function mm(e,t){pm(e)?window.scrollTo(0,t):e.scrollTop=t}function fm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:sm,o=hm(e),i=t-o,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+o;mm(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function gm(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?mm(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&mm(e,Math.max(t.offsetTop-o,0))}function bm(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var vm=!1,xm={get passive(){return vm=!0}},ym="undefined"!=typeof window?window:{};ym.addEventListener&&ym.removeEventListener&&(ym.addEventListener("p",sm,xm),ym.removeEventListener("p",sm,!1));var Im=vm;function Cm(e){return null!=e}function wm(e,t,n){return e?t:n}var Am=["children","innerProps"],Nm=["children","innerProps"];function Em(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:pm(u=l)?window.innerHeight:u.clientHeight,v=hm(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),I=g-y,C=b-f,w=I+v,A=d-v-f,N=h-b+v+x,E=v+f-y,j=160;switch(o){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!s)return i&&fm(l,N,j),{placement:"bottom",maxHeight:t};if(!s&&A>=r||s&&C>=r)return i&&fm(l,N,j),{placement:"bottom",maxHeight:s?C-x:A-x};if("auto"===o||s){var k=t,T=s?I:w;return T>=r&&(k=Math.min(T-x-a,t)),{placement:"top",maxHeight:k}}if("bottom"===o)return i&&mm(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!s)return i&&fm(l,E,j),{placement:"top",maxHeight:t};if(!s&&w>=r||s&&I>=r){var P=t;return(!s&&w>=r||s&&I>=r)&&(P=s?I-y:w-y),i&&fm(l,E,j),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var jm,km=function(e){return"auto"===e?"bottom":e},Tm=t.createContext(null),Pm=function(e){var n=e.children,r=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Tm)||{}).setPortalPlacement,u=t.useRef(null),d=Sd(t.useState(o),2),p=d[0],h=d[1],m=Sd(t.useState(null),2),f=m[0],g=m[1],b=l.spacing.controlHeight;return om(function(){var e=u.current;if(e){var t="fixed"===s,n=Em({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});h(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[o,i,s,a,r,c,b]),n({ref:u,placerProps:Pd(Pd({},e),{},{placement:f||km(i),maxHeight:p})})},Gm=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Bh("div",Ld({},dm(e,"menu",{menu:!0}),{ref:n},r),t)},Rm=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Pd({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Sm=Rm,Bm=Rm,Vm=["size"],Lm=["innerProps","isRtl","size"];var Mm,Dm,Om="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)."}},Xm=function(e){var t=e.size,n=Bd(e,Vm);return Bh("svg",Ld({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Om},n))},Wm=function(e){return Bh(Xm,Ld({size:20},e),Bh("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"}))},Fm=function(e){return Bh(Xm,Ld({size:20},e),Bh("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"}))},Hm=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Pd({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},zm=Hm,Zm=Hm,Ym=function(){var e=Vh.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_"}}}(jm||(Mm=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Dm||(Dm=Mm.slice(0)),jm=Object.freeze(Object.defineProperties(Mm,{raw:{value:Object.freeze(Dm)}})))),Jm=function(e){var t=e.delay,n=e.offset;return Bh("span",{css:Vh({animation:"".concat(Ym," 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= */")})},Um=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return Bh("div",Ld({ref:o},dm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},_m=["data"],$m=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Bh("div",Ld({},dm(e,"group",{group:!0}),a),Bh(i,Ld({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),Bh("div",null,t))},Qm=["innerRef","isDisabled","isHidden","inputClassName"],Km={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},qm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Pd({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Km)},ef=function(e){return Pd({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Km)},tf=function(e){var t=e.cx,n=e.value,r=um(e),o=r.innerRef,i=r.isDisabled,s=r.isHidden,a=r.inputClassName,l=Bd(r,Qm);return Bh("div",Ld({},dm(e,"input",{"input-container":!0}),{"data-value":n||""}),Bh("input",Ld({className:t({input:!0},a),ref:o,style:ef(s),disabled:i},l)))},nf=function(e){var t=e.children,n=e.innerProps;return Bh("div",n,t)};var rf=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Bh(l,{data:r,innerProps:Pd(Pd({},dm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:a},Bh(c,{data:r,innerProps:Pd({},dm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Bh(u,{data:r,innerProps:Pd(Pd({},dm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},of={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Bh("div",Ld({},dm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Bh(Wm,null))},Control:Um,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Bh("div",Ld({},dm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Bh(Fm,null))},DownChevron:Fm,CrossIcon:Wm,Group:$m,GroupHeading:function(e){var t=um(e);t.data;var n=Bd(t,_m);return Bh("div",Ld({},dm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Bh("div",Ld({},dm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Bh("span",Ld({},t,dm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:tf,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Bd(e,Lm);return Bh("div",Ld({},dm(Pd(Pd({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Bh(Jm,{delay:0,offset:n}),Bh(Jm,{delay:160,offset:!0}),Bh(Jm,{delay:320,offset:!n}))},Menu:Gm,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return Bh("div",Ld({},dm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,i=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Sd(t.useState(km(a)),2),p=d[0],h=d[1],m=t.useMemo(function(){return{setPortalPlacement:h}},[]),f=Sd(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);om(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=rm(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);om(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==l||!g)return null;var I=Bh("div",Ld({ref:y},dm(Pd(Pd({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),r);return Bh(Tm.Provider,{value:m},n?o.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Bd(e,Nm);return Bh("div",Ld({},dm(Pd(Pd({},o),{},{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,o=Bd(e,Am);return Bh("div",Ld({},dm(Pd(Pd({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:rf,MultiValueContainer:nf,MultiValueLabel:nf,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Bh("div",Ld({role:"button"},n),t||Bh(Wm,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,s=e.innerProps;return Bh("div",Ld({},dm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Bh("div",Ld({},dm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return Bh("div",Ld({},dm(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Bh("div",Ld({},dm(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,o=e.hasValue;return Bh("div",Ld({},dm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},sf=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function af(e,t){return e===t||!(!sf(e)||!sf(t))}function lf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!af(e[n],t[n]))return!1;return!0}for(var cf="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)."}},uf=function(e){return Bh("span",Ld({css:cf},e))},df={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){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 i?"".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,o=e.labels,i=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(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).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:"",".")}},pf=function(e){var n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,m=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,I=l.isLoading,C=l["aria-label"],w=l["aria-live"],A=t.useMemo(function(){return Pd(Pd({},df),d||{})},[d]),N=t.useMemo(function(){var e,t="";if(n&&A.onChange){var r=n.option,o=n.options,i=n.removedValue,s=n.removedValues,l=n.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||s||void 0,h=d?d.map(p):[],m=Pd({isDisabled:c&&f(c,a),label:u,labels:h},n);t=A.onChange(m)}return t},[n,A,f,a,p]),E=t.useMemo(function(){var e="",t=r||o,n=!!(r&&a&&a.includes(r));if(t&&A.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(s)}return e},[r,o,p,f,A,i,a,u]),j=t.useMemo(function(){var e="";if(b&&v.length&&!I&&A.onFilter){var t=x({count:i.length});e=A.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,A,v,x,I]),k="initial-input-focus"===(null==n?void 0:n.action),T=t.useMemo(function(){var e="";if(A.guidance){var t=o?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:r&&f(r,a),isMulti:m,isSearchable:g,tabSelectsValue:y,isInitialFocus:k})}return e},[C,r,o,m,f,g,b,A,a,y,k]),P=Bh(t.Fragment,null,Bh("span",{id:"aria-selection"},N),Bh("span",{id:"aria-focused"},E),Bh("span",{id:"aria-results"},j),Bh("span",{id:"aria-guidance"},T));return Bh(t.Fragment,null,Bh(uf,{id:c},k&&P),Bh(uf,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!k&&P))},hf=[{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źẑżžẓẕƶȥɀⱬꝣ"}],mf=new RegExp("["+hf.map(function(e){return e.letters}).join("")+"]","g"),ff={},gf=0;gf<hf.length;gf++)for(var bf=hf[gf],vf=0;vf<bf.letters.length;vf++)ff[bf.letters[vf]]=bf.base;var xf=function(e){return e.replace(mf,function(e){return ff[e]})},yf=function(e,t){void 0===t&&(t=lf);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(xf),If=function(e){return e.replace(/^\s+|\s+$/g,"")},Cf=function(e){return"".concat(e.label," ").concat(e.value)},wf=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Pd({ignoreCase:!0,ignoreAccents:!0,stringify:Cf,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?If(n):n,u=a?If(s(t)):s(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=yf(c),u=xf(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Af=["innerRef"];function Nf(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 o=Object.entries(e).filter(function(e){var t=Sd(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Sd(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(Bd(e,Af),"onExited","in","enter","exit","appear");return Bh("input",Ld({ref:t},n,{css:Vh({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 Ef=["boxSizing","height","overflow","paddingRight","position"],jf={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function kf(e){e.cancelable&&e.preventDefault()}function Tf(e){e.stopPropagation()}function Pf(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Gf(){return"ontouchstart"in window||navigator.maxTouchPoints}var Rf=!("undefined"==typeof window||!window.document||!window.document.createElement),Sf=0,Bf={capture:!1,passive:!1};var Vf=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Lf="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 Mf(e){var n=e.children,r=e.lockEnabled,o=e.captureEnabled,i=function(e){var n=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,s=e.onTopLeave,a=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,h=u.current,m=t>0,f=d-p-c,g=!1;f>t&&a.current&&(o&&o(e),a.current=!1),m&&l.current&&(s&&s(e),l.current=!1),m&&t>f?(r&&!a.current&&r(e),h.scrollTop=d,g=!0,a.current=!0):!m&&-t>c&&(i&&!l.current&&i(e),h.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[r,o,i,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),h=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),m=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!Im&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}},[m,h,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))},[m,h,p]);return t.useEffect(function(){if(n){var e=u.current;return f(e),function(){g(e)}}},[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,r=e.accountForScrollbars,o=void 0===r||r,i=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(Rf){var t=document.body,n=t&&t.style;if(o&&Ef.forEach(function(e){var t=n&&n[e];i.current[e]=t}),o&&Sf<1){var r=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(jf).forEach(function(e){var t=jf[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&Gf()&&(t.addEventListener("touchmove",kf,Bf),e&&(e.addEventListener("touchstart",Pf,Bf),e.addEventListener("touchmove",Tf,Bf))),Sf+=1}},[o]),l=t.useCallback(function(e){if(Rf){var t=document.body,n=t&&t.style;Sf=Math.max(Sf-1,0),o&&Sf<1&&Ef.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&Gf()&&(t.removeEventListener("touchmove",kf,Bf),e&&(e.removeEventListener("touchstart",Pf,Bf),e.removeEventListener("touchmove",Tf,Bf)))}},[o]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:r});return Bh(t.Fragment,null,r&&Bh("div",{onClick:Vf,css:Lf}),n(function(e){i(e),s(e)}))}var Df="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)."}},Of=function(e){var t=e.name,n=e.onFocus;return Bh("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Df,value:"",onChange:function(){}})};function Xf(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 Wf(){return Xf(/^Mac/i)}function Ff(){return Xf(/^iPhone/i)||Xf(/^iPad/i)||Wf()&&navigator.maxTouchPoints>1}var Hf={clearIndicator:Zm,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,o=e.theme,i=o.colors,s=o.borderRadius;return Pd({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:zm,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,o=n.spacing;return Pd({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.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,o=r.spacing.baseUnit,i=r.colors;return Pd({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,s=o.colors;return Pd(Pd({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},qm),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,s=o.spacing.baseUnit;return Pd({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:Bm,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,s=o.spacing,a=o.colors;return Pd((kd(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),kd(n,"position","absolute"),kd(n,"width","100%"),kd(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Pd({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,o=n.borderRadius,i=n.colors;return Pd({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Pd({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,s=e.isFocused;return Pd({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Sm,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return Pd({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?a.primary:r?a.primary25:"transparent",color:n?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Pd({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Pd({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Pd({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},zf={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}},Zf={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:bm(),captureMenuScroll:!bm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:wf(),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 Yf(e,t,n,r){return{type:"option",data:t,isDisabled:eg(e,t,n),isSelected:tg(e,t,n),label:Kf(e,t),value:qf(e,t),index:r}}function Jf(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return Yf(e,n,t,r)}).filter(function(t){return $f(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Yf(e,n,t,r);return $f(e,i)?i:void 0}).filter(Cm)}function Uf(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Fd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function _f(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Fd(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 $f(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,s=t.label,a=t.value;return(!rg(e)||!i)&&ng(e,{label:s,value:a,data:o},r)}var Qf=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Kf=function(e,t){return e.getOptionLabel(t)},qf=function(e,t){return e.getOptionValue(t)};function eg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function tg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=qf(e,t);return n.some(function(t){return qf(e,t)===r})}function ng(e,t,n){return!e.filterOption||e.filterOption(t,n)}var rg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},og=1,ig=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dd(e,t)}(n,t.Component);var e=function(e){var t=Xd();return function(){var n,r=Od(e);if(t){var o=Od(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wd(this,n)}}(n);function n(t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,s=o.isMulti,a=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(r.setState({inputIsHiddenAfterUpdate:!s}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,s=r.state.selectValue,a=o&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(a){var c=r.getOptionValue(e);r.setValue(s.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(Fd(s),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),s=wm(t,i,i[0]||null);r.onChange(s,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(wm(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],o=t.slice(0,t.length-1),i=wm(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Qf(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return _f(Jf(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 lm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Kf(r.props,e)},r.getOptionValue=function(e){return qf(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=Hf[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Pd(Pd({},of),e.components);var e},r.buildCategorizedOptions=function(){return Jf(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Uf(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Pd({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,o=t.menuIsOpen;r.focusInput(),o?(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&&pm(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 o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>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 rg(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;r.focusValue("previous");break;case"ArrowRight":if(!n||s)return;r.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)r.removeValue(f);else{if(!o)return;n?r.popValue():a&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:s}),r.onMenuClose()):a&&i&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++og),r.state.selectValue=cm(t.value),t.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),s=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[s],r.state.focusedOptionId=Qf(o,i[s])}return r}return function(e,t,n){t&&Md(e.prototype,t),n&&Md(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&gm(this.menuListRef,this.focusedOptionRef),(Wf()||Ff())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(gm(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,o=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(r[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(s=o+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(zf):Pd(Pd({},zf),this.props.theme):zf}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return eg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return tg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ng(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,s=e.form,a=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=r||this.getElementId("input"),g=Pd(Pd(Pd({"aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?l.createElement(u,Ld({},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:i,form:s,type:"text",value:o},g)):l.createElement(Nf,Ld({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:sm,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!d)return m?null:l.createElement(a,Ld({},c,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var a=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,Ld({},c,{components:{Container:r,Label:o,Remove:i},isFocused:a,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var y=b[0];return l.createElement(s,Ld({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,Ld({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!e||!o)return null;return l.createElement(e,Ld({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return l.createElement(n,Ld({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,Ld({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,x=h.maxMenuHeight,y=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,j=h.onMenuScrollToTop,k=h.onMenuScrollToBottom;if(!y)return null;var T,P=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,s=t.isSelected,a=t.label,c=t.value,h=p===o,m=i?void 0:function(){return e.onOptionHover(o)},f=i?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 l.createElement(u,Ld({},d,{innerProps:b,data:o,isDisabled:i,isSelected:s,key:g,label:a,type:r,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,i=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),c="".concat(a,"-heading");return l.createElement(n,Ld({},d,{key:a,data:o,options:i,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var G=b({inputValue:f});if(null===G)return null;T=l.createElement(a,d,G)}else{var R=E({inputValue:f});if(null===R)return null;T=l.createElement(c,d,R)}var S={minMenuHeight:v,maxMenuHeight:x,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},B=l.createElement(Pm,Ld({},d,S),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return l.createElement(o,Ld({},d,S,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),l.createElement(Mf,{captureEnabled:m,onTopArrive:j,onBottomArrive:k,lockEnabled:A},function(t){return l.createElement(i,Ld({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:p}),T)}))});return w||"fixed"===C?l.createElement(s,Ld({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),B):B}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!r)return l.createElement(Of,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var c=a.map(function(t){return e.getOptionValue(t)}).join(n);return l.createElement("input",{name:i,type:"hidden",value:c})}var u=a.length>0?a.map(function(t,n){return l.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):l.createElement("input",{name:i,type:"hidden",value:""});return l.createElement("div",null,u)}var d=a[0]?this.getOptionValue(a[0]):"";return l.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return l.createElement(pf,Ld({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:s,focusableOptions:a,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,s=i.className,a=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return l.createElement(r,Ld({},p,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),l.createElement(t,Ld({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),l.createElement(o,Ld({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,Ld({},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,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=cm(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Uf(Jf(e,t))}(e,m):[],b=d?_f(Jf(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:x,focusedOptionId:Qf(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=s&&a;return s&&!C&&(I={value:wm(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),Pd(Pd(Pd({},f),y),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();ig.defaultProps=Zf;var sg=t.forwardRef(function(e,n){var r=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,o=e.defaultMenuIsOpen,i=void 0!==o&&o,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,f=Bd(e,Vd),g=Sd(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],x=Sd(t.useState(void 0!==c?c:i),2),y=x[0],I=x[1],C=Sd(t.useState(void 0!==m?m:a),2),w=C[0],A=C[1],N=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),E=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),j=t.useCallback(function(){"function"==typeof h&&h(),I(!0)},[h]),k=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),T=void 0!==l?l:b,P=void 0!==c?c:y,G=void 0!==m?m:w;return Pd(Pd({},f),{},{inputValue:T,menuIsOpen:P,onChange:N,onInputChange:E,onMenuClose:k,onMenuOpen:j,value:G})}(e);return l.createElement(ig,Ld({ref:n},r))}),ag=sg;const lg=l.default.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:h,helperText:m,label:f,labelClassName:g,size:b="md",variant:v="default","data-cy":x,"data-testid":y,...I})=>{const C=t.useMemo(()=>wf(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>Ne("sm"===b?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!d,"border-input-border-critical shadow-none":d},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ne(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ne("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ne("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,o,h,n,d,b]);return"unstyled"===v?e.jsx(ag,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ne("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Ne("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(ag,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ne("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}),p&&e.jsx(Gt,{className:"footnote mt-1 text-text-critical",children:p}),!p&&m&&e.jsx(Gt,{className:"footnote mt-1 text-text-info",children:m})]})});lg.displayName="Select";const cg={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"bg-white",text:"text"},navy:{bg:"bg-bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-border-success",text:"text-inverse"}};exports.Accordion=({items:n,title:r,anchorId:o,background:i="white",enableHeading:s=!1,maxWidth:a=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[p,h]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);h(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id:o,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[i]} flex flex-col px-2 pb-20 pt-4 md:px-10`,children:e.jsxs("div",{className:""+(a?"max-w-120 xl:mx-auto":""),children:[e.jsx(Gt,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,r)=>{const o=t.anchorId||`item-${r}`,i=t.anchorId?p.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx(Ot,{title:t.title,defaultOpen:i,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void h(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(Gt,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx(Xt,{className:"my-6 md:my-10"},`divider-${r}`)]},o)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:r="yellow",cta:o,navHeight:i,isVisible:s,renderCheckPlans:a}=t,l=cg[null==r?void 0:r.toLowerCase()]||cg.yellow;if(!s)return null;const c=(null==o?void 0:o.buttonLabel)||"Check plans",u=null==a?void 0:a({ctaText:c,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return e.jsxs("div",{style:{top:`${i}px`},className:Ne(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${l.bg} text-${l.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e.jsx(Gt,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:t,backgroundColor:n,iconName:r,boxShadow:o,ctaButtonLabel:i,ctaButtonLink:s,ctaButtonTarget:a,anchorId:l="anchored-banner"})=>{const u=n?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[n]:"bg-bg-fill-brand-accent",d="yellow"===n||!n?"text-text-primary":"text-white";return e.jsx("section",{id:l,children:e.jsx("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${u} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(c.default,{href:s||"#",target:a||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${d} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[r&&e.jsx(Pt,{name:r,size:24,fill:1,className:`${d} align-text-bottom`}),i&&i," ",t&&e.jsx("span",{className:"ml-0.5",children:t})]})})})})})},exports.BlogCard=Ht,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:r,totalPages:o,selectedCategory:s,categoryOptions:a}){const l=i.useRouter(),c=i.usePathname(),u=i.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(Gt,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(Gt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Gt,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Gt,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(lg,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),t.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:t.map((t,n)=>{var r,o,i,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(Ht,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(Gt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e.jsx(Nd,{currentPage:r,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})},exports.BlogGridBase=function({title:t="recent articles",paginatedArticles:n,totalArticles:r,currentPage:o,totalPages:i,selectedCategory:s,categoryOptions:a,onCategoryChange:l,onPageChange:c,imageComponent:u}){return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(Gt,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:t}),a.length>0&&e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(Gt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(Gt,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(Gt,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e.jsx(lg,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==l||l(e)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,o,i,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(Ht,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:u,index:n},t.slug)})}):e.jsx(Gt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e.jsx(Nd,{currentPage:o,totalPages:i,onPageChange:function(e){null==c||c(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",maxWidth:o=!0,floatOnMobile:i=!1}=t,s=i?"dark"===r?"text-text":"text-white":"dark"===r?"text-white xl:text-text":"text-text xl:text-white";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(o?`${!i&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e.jsx("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${i?"absolute":"relative xl:absolute"} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,r)=>{const{image:o,...i}=t,a=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"";return r===n.length-1?e.jsxs("li",{className:"flex min-w-0 items-center",children:[a&&e.jsx("img",{src:a,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(Gt,{as:"span",className:`body3 mr-2 break-words ${s}`,children:t.buttonLabel})]},r):e.jsxs("li",{className:"flex flex-none items-center",children:[a&&e.jsx("img",{src:a,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(Yt,{...i,linkClassName:`label3 mr-2 whitespace-nowrap ${s}`,linkVariant:"unstyled"}),e.jsx(Pt,{name:"chevron_right",className:`${s} `})]},r)})})}):null},exports.Button=Yt,exports.Callout=({title:t,items:n,enableHeading:r=!1,subtitle:o,color:i="dark",maxWidth:s=!0,maxCardsPerRow:a,cardType:l="simple"})=>{const c={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[a||4]||" lg:w-[calc(25%-1.125rem)]",u=1===n.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e.jsx("div",{className:"component-container",children:e.jsx("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==i?"text-text":"text-white"}`,children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",children:[t&&e.jsx(Gt,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:t}),o&&e.jsx(Gt,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o})]}),e.jsx("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:n.map((t,n)=>((t,n)=>{if("blog"===l){const n=t;return e.jsx(Ht,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:c,mdWidth:u})}return e.jsx($t,{card:t,lgWidth:c,mdWidth:u},n)})(t,n))})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(Gt,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:r,disclaimerText:o,backgroundColor:i,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:p=!1})=>{const h=r?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${i} ${h} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx(Gt,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(Gt,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),p&&r&&e.jsxs("div",{className:"flex flex-col gap-8",children:[p&&r&&l.length>1&&e.jsx(on,{tabs:l,activeTab:s,onChange:a}),r&&e.jsx(tn,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(rn,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),o&&e.jsx(Gt,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]})},exports.CartRetentionBanner=({fields:n,isInPopupContainer:r=!1,onClose:o,onContinueCheckout:i,checkShouldShowBanner:s,onBannerShown:a})=>{var l,c;const{anchorId:u,mainHeading:d,description:p,cta:h}=n,[m,f]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!m&&(f(!0),null==a||a())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const g=()=>{null==i||i()};return r?e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e.jsx(Gt,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let’s finish your order"}),p&&Vt(it(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(Yt,{onClick:g,buttonLabel:null!==(l=null==h?void 0:h.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e.jsx("section",{id:u,"data-testid":"cart-retention-banner",children:e.jsx(Ad,{size:"sm",isOpen:m,onRequestClose:()=>{null==o||o(),f(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e.jsx(Gt,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let&apos;s finish your order"}),p&&Vt(it(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(Yt,{onClick:g,buttonLabel:null!==(c=null==h?void 0:h.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})},exports.ComparisonTable=({title:t,disclaimer:n,table:r,maxWidth:o=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(o?"max-w-120 xl:mx-auto":""),children:[e.jsx(Gt,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-20 xl:mt-10",children:r}),e.jsx(Gt,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:n}){let r=3;const[o,i]=t.useState(!1),[s,a]=t.useState(!1),l=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=nt.get(e);return t?et(t):null}("cookieBannerClosed");i("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");a(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return o?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[o]),t.useEffect(()=>{if(!o)return;const e=()=>{if(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 i=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",i),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",i),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,s]),s&&(r=14);const c=4*r;return o?e.jsxs("div",{id:"cookie-banner",ref:l,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${c}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(Yt,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);i(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),o=qe(r);nt.set(e,o,n)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Pt,{name:"close"})}),n.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:r,color:o,contentAlignment:i,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[t&&e.jsx(Gt,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${i}`,children:t}),c&&e.jsx(Gt,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${i}`,children:c}),s&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:s}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(Yt,{...r,renderCheckPlans:p,onModalButtonClick:d,size:{base:"large"}})})]})}),exports.DynamicTabs=function(n){var r,o,i;const[s,a]=t.useState(0),[l,c]=t.useState(""),{title:u,subTitle:d,tabs:p,tabsContent:h,navigationType:m=!0,mobileSidebarTabType:f=!0}=n;t.useEffect(()=>{if("undefined"!=typeof window){c(window.location.hash);const e=()=>{c(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==p?void 0:p.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return a(t),!0})},[p,l]);const g=(e,t)=>{a(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")},b=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:null===(r=null==p?void 0:p.items)||void 0===r?void 0:r.map((t,n)=>e.jsx(Yt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ne("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==h?void 0:h.map((t,n)=>e.jsx("div",{children:e.jsx(xc,{children:e.jsx(pc.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),v=e.jsx(e.Fragment,{children:null===(o=null==p?void 0:p.items)||void 0===o?void 0:o.map((t,n)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(Yt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ne("w-full flex justify-between items-center px-4 py-5",n===s?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Pt,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(Dt,{open:n===s,children:e.jsx("div",{className:Ne("px-4 py-4"),children:null==h?void 0:h[n]})})]},n))}),x=e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(i=null==p?void 0:p.items)||void 0===i?void 0:i.map((t,n)=>e.jsx(Yt,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ne("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e.jsx("div",{className:"grow",children:null==h?void 0:h.map((t,n)=>e.jsx("div",{children:e.jsx(xc,{children:e.jsx(pc.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx(Gt,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(Gt,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,e.jsx("div",{className:"md:hidden",children:f?b:v}),e.jsx("div",{className:"hidden md:block",children:m?b:x})]})},exports.EmailInputBlock=n=>{const{anchorId:r="email-input",title:o,subTitle:i,emailInputDescription:s,inputPlaceholder:a="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:d,onSubmit:p}=n||{},h={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},m=h[u]||h.green,f=["green","blue","navy"].includes(u)?"text-white":"text-text",[g,b]=t.useState(""),[v,x]=t.useState(!1),[y,I]=t.useState("");return e.jsxs("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e.jsx("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${m} flex flex-col items-start p-8 md:p-16`,children:e.jsxs("div",{className:"lg:w-[548px]",children:[o&&e.jsx("h1",{className:`text-heading1 font-black ${f}`,children:o}),i&&e.jsx("h2",{className:`text-heading1 font-black ${f}`,children:i}),s&&e.jsx("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:s}),e.jsxs("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e.jsx("input",{type:"email",placeholder:a,value:g,onChange:e=>{b(e.target.value),y&&I(""),v&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e.jsx(Yt,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(g)?(p({email:g}),b(""),x(!0),I("")):I("Please enter a valid email address.")}})]}),y&&e.jsx("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:y}),d&&v&&!y&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:d})]})}),c&&e.jsx("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:r,image:o,list:i=[],subTitle:s,title:a,color:l="dark",maxWidth:c=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx(Gt,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(Gt,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx(Gt,{as:"p",className:"body1",children:n}),i.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(St,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(St,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),o&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx(_t,{width:472,height:100,src:o,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:r,disclaimer:o,icon:i,cta:s,background:a="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[i&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx(_t,{width:80,height:80,alt:"icon",src:i})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx(Gt,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(Gt,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx(Gt,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),s&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(Yt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e.jsx("div",{children:e.jsx(Gt,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),exports.Footer=({body:t,links:n,bottomLinks:r,copyrights:o,terms:i,maxWidth:s=!0,onClick:a})=>{function c(e){null==a||a(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${s?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:t}),e.jsx(Xt,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==n?void 0:n.map((t,n)=>{var r,o;return e.jsxs(l.default.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==t?void 0:t.title}`,className:"site-links-group",children:[e.jsx(Gt,{as:"div",className:"label3",children:null==t?void 0:t.title}),e.jsx("ul",{className:"flex flex-col",children:null===(o=null===(r=null==t?void 0:t.items)||void 0===r?void 0:r.items)||void 0===o?void 0:o.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(Yt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx(Xt,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(Xt,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",i]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:o}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e.jsx(Yt,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:r,title:o,subTitle:i,ctaDisclaimer:s,disclaimer:a,description:l,image:c,imageLinks:u,mediaPosition:d=!0,checklist:p,secondaryCta:h,cta:m,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,onModalButtonClick:y,renderCheckPlans:I})=>{var C,w;const[A,N]=t.useState(""),[E,j]=t.useState(!1),k=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",T=null==f?void 0:f.image,P=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,G=Boolean(A&&A===k),R=f&&T?k.includes("vimeo")?e.jsx(an,{link:k,autoplay:G}):e.jsx(ln,{link:k,autoplay:G}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(d?"lg:flex-row-reverse":"lg:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[n&&e.jsx(Gt,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e.jsx(Gt,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:o}),i&&e.jsx(Gt,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),l&&e.jsx(Gt,{as:"div",className:"body1",children:l}),p.length>0&&e.jsx(Rt,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(St,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(Qt,{src:t.image,alt:"icon-link"})})},n))}),(m||h)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[m&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Yt,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})}),h&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Yt,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})})]}),s&&e.jsx("div",{children:s}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[c&&e.jsx("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e.jsx(_t,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&e.jsxs("div",{className:Ne("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!G&&"hover:shadow-2xl"),onClick:()=>{var e;N(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:[e.jsxs("div",{className:Ne(G&&!P&&"hidden",G&&!P?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(_t,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(sn,{isHovered:E})})]}),!P&&G&&e.jsx("div",{className:Ne("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",G?"opacity-100":"opacity-0"),children:R})]})]})]})}),P&&G&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),N("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:R})})]})},exports.Modal=Ad,exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:r,checkPlansJSX:o,primaryNavigationLogo:i,accountNavigationLinks:s,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:u,onSearch:d=()=>{}}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{children:e.jsx(Yt,{linkClassName:Ne("footnote flex items-center w-full h-11 text-text",1===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[e.jsx(pn,{className:"border-none",href:c,children:e.jsx(Gt,{className:"body3 text-text",children:u})}),null==s?void 0:s.map((t,n)=>e.jsx(cn,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(St,{href:"/",className:"flex",children:e.jsx(_t,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx(pn,{href:c,children:e.jsx(Gt,{as:"span",className:"footnote",children:u})}),e.jsx(mn,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[e.jsx(St,{href:"/",className:"flex",children:e.jsx(_t,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-[64px]"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(cn,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(gn,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:d}),null==a?void 0:a.map((t,n)=>e.jsx(cn,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),o&&e.jsx("div",{className:"md:hidden",children:o})]})},exports.PrimaryHero=t=>{var n;const{title:r,showAsHeading:o,subTitle:i,primaryCta1:s,carouselImages:a,bottomLink:l,price:c,priceCallout:u,priceSuffix:d,checklist:p,renderCheckPlans:h,badgeImage:m,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v,hideOnMobileCta1:x}=t,y=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return console.log(s),e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:Ne("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:Ne("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[r&&e.jsx(Gt,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:r}),i&&e.jsx(Gt,{as:"p",className:"subheading3 lg:subheading1",children:i}),c?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e.jsx(Gt,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(Gt,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(Gt,{as:"p",className:"subheading5",children:c}),d?e.jsx(Gt,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,p&&e.jsx(Rt,{listItemClassName:"text-white text-left",items:p.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Ne("md:block",x&&"hidden"),children:e.jsx(Yt,{...s,renderCheckPlans:h,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx(Gt,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Yt,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden md:block",children:e.jsx(Yt,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx(Gt,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[m?e.jsx(_t,{src:m,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(_t,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"md:hidden",children:e.jsx(Yt,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx(Gt,{as:"p",className:"body3 md:hidden",children:f}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx(Gt,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Yt,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Ne("relative hidden lg:block"),children:[m?e.jsx(_t,{src:m,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(_t,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},exports.ProductCard=qt,exports.SearchBlock=n=>{const{anchorId:r="SearchBlock",title:o,subTitle:i,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:p,onSubmit:h}=n,[m,f]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==p?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx(Gt,{as:s?"h1":"h2",className:Ne("heading2 md:heading1"),children:o}),i&&e.jsx(Gt,{as:"div",className:Ne("subheading2 mt-2 md:subheading1"),children:i})]}),a?e.jsx(Gt,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:m})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(Mt,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Pt,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(hn,{value:m,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=({children:t,background:n,className:r,fill:o="yellow",maxFit:i,show:s=!0,path:a="path2"})=>{const l=`${a}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,p=d?u[n]:void 0,h=n&&!d?{background:n}:void 0,m=o in c?c[o]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=r?r:""} ${i?"max-content":""} ${null!=p?p:h?"":"bg-white"}`,style:h,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:r,style:h,children:t})},exports.SimpleCard=$t,exports.TestimonialCard=en,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(Gt,{children:"Text Block"})}),exports.label1BoldOptions=Lt,exports.renderContentfulRichText=Vt,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r={...Bt,renderMark:{...Bt.renderMark,[lt.BOLD]:t=>e.jsx("strong",{className:"label2",children:t})},renderNode:{...Bt.renderNode,[st.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body2",children:n}),[st.TABLE]:(t,n)=>{var r,o;return e.jsx("div",{className:"comparison-table-wrapper my-5 w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(o=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===o?void 0:o.length)>2?"min-w-[100.1%]":"min-w-full"),children:e.jsx("tbody",{children:n})})})},[st.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[st.TABLE_HEADER_CELL]:(t,n)=>{var r;const o=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e.jsx("th",{className:`label4 break-words py-4 text-center ${o?"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})},[st.TABLE_CELL]:(t,n)=>{var r,o,i,s;const a=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2,l=null===(s=null===(i=null===(o=t.content[0])||void 0===o?void 0:o.content[0])||void 0===i?void 0:i.value)||void 0===s?void 0:s.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell label-4 break-words bg-white py-2 text-center align-top first:text-left ${a?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Pt,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Pt,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[at.EMBEDDED_ENTRY]:t=>{var r,o,i,s;const a=t.data.target.sys.id,l=null===(o=null===(r=null==n?void 0:n.entries)||void 0===r?void 0:r.inline)||void 0===o?void 0:o.find(e=>e.sys.id===a);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(s=null===(i=l.list)||void 0===i?void 0:i.items)||void 0===s?void 0:s.map(e=>{var t;return Vt(it(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e.jsx(Rt,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e.jsx("span",{children:l.title||""})}}};return Et(t,r)},exports.toDocument=it,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...Bt,renderMark:{...Bt.renderMark,...null==n?void 0:n.renderMark},renderNode:{...Bt.renderNode,...null==n?void 0:n.renderNode}};return Et(e,t)},[e,n])},exports.useProcessedChecklist=function(e,n,r,o){return t.useMemo(()=>{var t,i;const s=null!==(i=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==i?i:[];return n?s.map(e=>{var t,n;return null!==(n=Vt(it(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,r))&&void 0!==n?n:""}):s.map(e=>{var t,n,i,s,a;return{title:null!==(n=Vt(it(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,r))&&void 0!==n?n:"",iconUrl:null!==(s=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==s?s:void 0,anchorId:null!==(a=null==e?void 0:e.anchorId)&&void 0!==a?a:void 0}})},[e,n,r,o])};
13
+ */function Am(){return ym||(ym=1,"production"===process.env.NODE_ENV?bm.exports=function(){if(hm)return vm;hm=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case m:case h:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return vm.AsyncMode=l,vm.ConcurrentMode=c,vm.ContextConsumer=a,vm.ContextProvider=s,vm.Element=t,vm.ForwardRef=u,vm.Fragment=r,vm.Lazy=m,vm.Memo=h,vm.Portal=n,vm.Profiler=i,vm.StrictMode=o,vm.Suspense=d,vm.isAsyncMode=function(e){return y(e)||x(e)===l},vm.isConcurrentMode=y,vm.isContextConsumer=function(e){return x(e)===a},vm.isContextProvider=function(e){return x(e)===s},vm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},vm.isForwardRef=function(e){return x(e)===u},vm.isFragment=function(e){return x(e)===r},vm.isLazy=function(e){return x(e)===m},vm.isMemo=function(e){return x(e)===h},vm.isPortal=function(e){return x(e)===n},vm.isProfiler=function(e){return x(e)===i},vm.isStrictMode=function(e){return x(e)===o},vm.isSuspense=function(e){return x(e)===d},vm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},vm.typeOf=x,vm}():bm.exports=(xm||(xm=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case i:case o:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case m:case h:case s:return g;default:return p}}case n:return p}}}var y=l,I=c,C=a,w=s,A=t,E=u,N=r,j=m,S=h,T=n,B=i,k=o,P=d,R=!1;function L(e){return x(e)===c}wm.AsyncMode=y,wm.ConcurrentMode=I,wm.ContextConsumer=C,wm.ContextProvider=w,wm.Element=A,wm.ForwardRef=E,wm.Fragment=N,wm.Lazy=j,wm.Memo=S,wm.Portal=T,wm.Profiler=B,wm.StrictMode=k,wm.Suspense=P,wm.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.")),L(e)||x(e)===l},wm.isConcurrentMode=L,wm.isContextConsumer=function(e){return x(e)===a},wm.isContextProvider=function(e){return x(e)===s},wm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},wm.isForwardRef=function(e){return x(e)===u},wm.isFragment=function(e){return x(e)===r},wm.isLazy=function(e){return x(e)===m},wm.isMemo=function(e){return x(e)===h},wm.isPortal=function(e){return x(e)===n},wm.isProfiler=function(e){return x(e)===i},wm.isStrictMode=function(e){return x(e)===o},wm.isSuspense=function(e){return x(e)===d},wm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},wm.typeOf=x}()),wm)),bm.exports}!function(){if(Cm)return Im;Cm=1;var e=Am(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Im=function e(t,r,o){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,o)}var h=a(r);l&&(h=h.concat(l(r)));for(var m=i(t),f=i(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||o&&o[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{s(t,b,v)}catch(e){}}}}return t}}();var Em="undefined"!=typeof document;var Nm=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Em&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var jm={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 Sm(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Tm=/[A-Z]|^ms/g,Bm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,km=function(e){return 45===e.charCodeAt(1)},Pm=function(e){return null!=e&&"boolean"!=typeof e},Rm=Sm(function(e){return km(e)?e:e.replace(Tm,"-$&").toLowerCase()}),Lm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Bm,function(e,t,n){return Om={name:t,styles:n,next:Om},t})}return 1===jm[e]||km(e)||"number"!=typeof t||0===t?t:t+"px"};function Gm(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 o=n;if(1===o.anim)return Om={name:o.name,styles:o.styles,next:Om},o.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)Om={name:s.name,styles:s.styles,next:Om},s=s.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Gm(e,t,n[o])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;Pm(a)&&(r+=Rm(i)+":"+Lm(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)Pm(s[l])&&(r+=Rm(i)+":"+Lm(i,s[l])+";");else{var c=Gm(e,t,s);switch(i){case"animation":case"animationName":r+=Rm(i)+":"+c+";";break;default:r+=i+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=Om,l=n(e);return Om=a,Gm(e,t,l)}}return n}var Om,Dm=/label:\s*([^\s;{]+)\s*(;|$)/g;function Vm(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,o="";Om=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Gm(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++){if(o+=Gm(n,t,e[s]),r)o+=i[s]}Dm.lastIndex=0;for(var a,l="";null!==(a=Dm.exec(o));)l+="-"+a[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=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(o){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)}(o)+l;return{name:c,styles:o,next:Om}}var Mm="undefined"!=typeof document,Hm=function(e){return e()},Wm=!!l.useInsertionEffect&&l.useInsertionEffect,Xm=Mm&&Wm||Hm,Fm="undefined"!=typeof document,zm=l.createContext("undefined"!=typeof HTMLElement?gm({key:"css"}):null);zm.Provider;var Zm=function(e){return t.forwardRef(function(n,r){var o=t.useContext(zm);return e(n,o,r)})};Fm||(Zm=function(e){return function(n){var r=t.useContext(zm);return null===r?(r=gm({key:"css"}),l.createElement(zm.Provider,{value:r},e(n,r))):e(n,r)}});var Ym,_m,Jm=l.createContext({}),Um={}.hasOwnProperty,$m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Km=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Nm(t,n,r);var o=Xm(function(){return function(e,t,n){Nm(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var s=e.insert(t===i?"."+r:"",i,e.sheet,!0);Em||void 0===s||(o+=s),i=i.next}while(void 0!==i);if(!Em&&0!==o.length)return o}}(t,n,r)});if(!Fm&&void 0!==o){for(var i,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return l.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},Qm=Zm(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[$m],i=[r],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var a=Vm(i,void 0,l.useContext(Jm));s+=t.key+"-"+a.name;var c={};for(var u in e)Um.call(e,u)&&"css"!==u&&u!==$m&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),l.createElement(l.Fragment,null,l.createElement(Km,{cache:t,serialized:a,isStringTag:"string"==typeof o}),l.createElement(o,c))}),qm=Qm,ef=function(e,t){var n=arguments;if(null==t||!Um.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=qm,o[1]=function(e,t){var n={};for(var r in t)Um.call(t,r)&&(n[r]=t[r]);return n[$m]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return l.createElement.apply(null,o)};function tf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Vm(t)}Ym=ef||(ef={}),_m||(_m=Ym.JSX||(Ym.JSX={}));const nf=Math.min,rf=Math.max,of=Math.round,sf=Math.floor,af=e=>({x:e,y:e});function lf(){return"undefined"!=typeof window}function cf(e){return pf(e)?(e.nodeName||"").toLowerCase():"#document"}function uf(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function df(e){var t;return null==(t=(pf(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function pf(e){return!!lf()&&(e instanceof Node||e instanceof uf(e).Node)}function hf(e){return!!lf()&&(e instanceof HTMLElement||e instanceof uf(e).HTMLElement)}function mf(e){return!(!lf()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof uf(e).ShadowRoot)}const ff=new Set(["inline","contents"]);function gf(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=vf(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ff.has(o)}const bf=new Set(["html","body","#document"]);function vf(e){return uf(e).getComputedStyle(e)}function xf(e){const t=function(e){if("html"===cf(e))return e;const t=e.assignedSlot||e.parentNode||mf(e)&&e.host||df(e);return mf(t)?t.host:t}(e);return function(e){return bf.has(cf(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:hf(t)&&gf(t)?t:xf(t)}function yf(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=xf(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=uf(o);if(i){const e=If(s);return t.concat(s,s.visualViewport||[],gf(o)?o:[],e&&n?yf(e):[])}return t.concat(o,yf(o,[],n))}function If(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cf(e){return t=e,lf()&&(t instanceof Element||t instanceof uf(t).Element)?e:e.contextElement;var t}function wf(e){const t=Cf(e);if(!hf(t))return af(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=vf(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=hf(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=of(n)!==i||of(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}(t);let s=(i?of(n.width):n.width)/r,a=(i?of(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Af(e,t,n,r){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),i=Cf(e);let s=af(1);t&&(s=wf(e));const a=af(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const e=r;let t=uf(i),n=If(t);for(;n&&r&&e!==t;){const e=wf(n),r=n.getBoundingClientRect(),o=vf(n),i=r.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,s=r.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=uf(n),n=If(t)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Ef(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Nf(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Cf(e),u=o||i?[...c?yf(c):[],...yf(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,r=null;const o=df(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(a||t(),!p||!h)return;const m={rootMargin:-sf(d)+"px "+-sf(o.clientWidth-(u+p))+"px "+-sf(o.clientHeight-(d+h))+"px "+-sf(u)+"px",threshold:rf(0,nf(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||Ef(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),i}(c,n):null;let p,h=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let f=l?Af(e):null;return l&&function t(){const r=Af(e);f&&!Ef(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var jf="undefined"!=typeof document?t.useLayoutEffect:function(){},Sf=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Tf=function(){};function Bf(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function kf(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(Bf(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Pf=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===_p(e)&&null!==e?[e]:[];var t},Rf=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({},th(e,Sf))},Lf=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,s=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),s)}};function Gf(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Of(e){return Gf(e)?window.pageYOffset:e.scrollTop}function Df(e,t){Gf(e)?window.scrollTo(0,t):e.scrollTop=t}function Vf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Tf,o=Of(e),i=t-o,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+o;Df(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function Mf(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Df(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Df(e,Math.max(t.offsetTop-o,0))}function Hf(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Wf=!1,Xf={get passive(){return Wf=!0}},Ff="undefined"!=typeof window?window:{};Ff.addEventListener&&Ff.removeEventListener&&(Ff.addEventListener("p",Tf,Xf),Ff.removeEventListener("p",Tf,!1));var zf=Wf;function Zf(e){return null!=e}function Yf(e,t,n){return e?t:n}var _f=["children","innerProps"],Jf=["children","innerProps"];function Uf(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:Gf(u=l)?window.innerHeight:u.clientHeight,v=Of(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),I=g-y,C=b-f,w=I+v,A=d-v-f,E=h-b+v+x,N=v+f-y,j=160;switch(o){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!s)return i&&Vf(l,E,j),{placement:"bottom",maxHeight:t};if(!s&&A>=r||s&&C>=r)return i&&Vf(l,E,j),{placement:"bottom",maxHeight:s?C-x:A-x};if("auto"===o||s){var S=t,T=s?I:w;return T>=r&&(S=Math.min(T-x-a,t)),{placement:"top",maxHeight:S}}if("bottom"===o)return i&&Df(l,E),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!s)return i&&Vf(l,N,j),{placement:"top",maxHeight:t};if(!s&&w>=r||s&&I>=r){var B=t;return(!s&&w>=r||s&&I>=r)&&(B=s?I-y:w-y),i&&Vf(l,N,j),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var $f,Kf=function(e){return"auto"===e?"bottom":e},Qf=t.createContext(null),qf=function(e){var n=e.children,r=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Qf)||{}).setPortalPlacement,u=t.useRef(null),d=eh(t.useState(o),2),p=d[0],h=d[1],m=eh(t.useState(null),2),f=m[0],g=m[1],b=l.spacing.controlHeight;return jf(function(){var e=u.current;if(e){var t="fixed"===s,n=Uf({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});h(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[o,i,s,a,r,c,b]),n({ref:u,placerProps:Kp(Kp({},e),{},{placement:f||Kf(i),maxHeight:p})})},eg=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return ef("div",Wu({},Lf(e,"menu",{menu:!0}),{ref:n},r),t)},tg=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Kp({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},ng=tg,rg=tg,og=["size"],ig=["innerProps","isRtl","size"];var sg,ag,lg="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)."}},cg=function(e){var t=e.size,n=th(e,og);return ef("svg",Wu({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:lg},n))},ug=function(e){return ef(cg,Wu({size:20},e),ef("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"}))},dg=function(e){return ef(cg,Wu({size:20},e),ef("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"}))},pg=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Kp({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},hg=pg,mg=pg,fg=function(){var e=tf.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_"}}}($f||(sg=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ag||(ag=sg.slice(0)),$f=Object.freeze(Object.defineProperties(sg,{raw:{value:Object.freeze(ag)}})))),gg=function(e){var t=e.delay,n=e.offset;return ef("span",{css:tf({animation:"".concat(fg," 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= */")})},bg=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return ef("div",Wu({ref:o},Lf(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},vg=["data"],xg=function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return ef("div",Wu({},Lf(e,"group",{group:!0}),a),ef(i,Wu({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:o,cx:n}),l),ef("div",null,t))},yg=["innerRef","isDisabled","isHidden","inputClassName"],Ig={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Cg={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"},Ig)},wg=function(e){return Kp({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ig)},Ag=function(e){var t=e.cx,n=e.value,r=Rf(e),o=r.innerRef,i=r.isDisabled,s=r.isHidden,a=r.inputClassName,l=th(r,yg);return ef("div",Wu({},Lf(e,"input",{"input-container":!0}),{"data-value":n||""}),ef("input",Wu({className:t({input:!0},a),ref:o,style:wg(s),disabled:i},l)))},Eg=function(e){var t=e.children,n=e.innerProps;return ef("div",n,t)};var Ng=function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return ef(l,{data:r,innerProps:Kp(Kp({},Lf(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:a},ef(c,{data:r,innerProps:Kp({},Lf(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),ef(u,{data:r,innerProps:Kp(Kp({},Lf(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},jg={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return ef("div",Wu({},Lf(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||ef(ug,null))},Control:bg,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return ef("div",Wu({},Lf(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||ef(dg,null))},DownChevron:dg,CrossIcon:ug,Group:xg,GroupHeading:function(e){var t=Rf(e);t.data;var n=th(t,vg);return ef("div",Wu({},Lf(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return ef("div",Wu({},Lf(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return ef("span",Wu({},t,Lf(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Ag,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=th(e,ig);return ef("div",Wu({},Lf(Kp(Kp({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),ef(gg,{delay:0,offset:n}),ef(gg,{delay:160,offset:!0}),ef(gg,{delay:320,offset:!n}))},Menu:eg,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return ef("div",Wu({},Lf(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,i=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=eh(t.useState(Kf(a)),2),p=d[0],h=d[1],m=t.useMemo(function(){return{setPortalPlacement:h}},[]),f=eh(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);jf(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=Nf(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);jf(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==l||!g)return null;var I=ef("div",Wu({ref:y},Lf(Kp(Kp({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),r);return ef(Qf.Provider,{value:m},n?o.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=th(e,Jf);return ef("div",Wu({},Lf(Kp(Kp({},o),{},{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,o=th(e,_f);return ef("div",Wu({},Lf(Kp(Kp({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Ng,MultiValueContainer:Eg,MultiValueLabel:Eg,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return ef("div",Wu({role:"button"},n),t||ef(ug,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,s=e.innerProps;return ef("div",Wu({},Lf(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return ef("div",Wu({},Lf(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return ef("div",Wu({},Lf(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return ef("div",Wu({},Lf(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,o=e.hasValue;return ef("div",Wu({},Lf(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},Sg=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Tg(e,t){return e===t||!(!Sg(e)||!Sg(t))}function Bg(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Tg(e[n],t[n]))return!1;return!0}for(var kg="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)."}},Pg=function(e){return ef("span",Wu({css:kg},e))},Rg={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){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 i?"".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,o=e.labels,i=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(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,s=e.selectValue,a=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&s)return"value ".concat(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).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:"",".")}},Lg=function(e){var n=e.ariaSelection,r=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,m=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,I=l.isLoading,C=l["aria-label"],w=l["aria-live"],A=t.useMemo(function(){return Kp(Kp({},Rg),d||{})},[d]),E=t.useMemo(function(){var e,t="";if(n&&A.onChange){var r=n.option,o=n.options,i=n.removedValue,s=n.removedValues,l=n.value,c=i||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||s||void 0,h=d?d.map(p):[],m=Kp({isDisabled:c&&f(c,a),label:u,labels:h},n);t=A.onChange(m)}return t},[n,A,f,a,p]),N=t.useMemo(function(){var e="",t=r||o,n=!!(r&&a&&a.includes(r));if(t&&A.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:n,options:i,context:t===r?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(s)}return e},[r,o,p,f,A,i,a,u]),j=t.useMemo(function(){var e="";if(b&&v.length&&!I&&A.onFilter){var t=x({count:i.length});e=A.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,A,v,x,I]),S="initial-input-focus"===(null==n?void 0:n.action),T=t.useMemo(function(){var e="";if(A.guidance){var t=o?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:r&&f(r,a),isMulti:m,isSearchable:g,tabSelectsValue:y,isInitialFocus:S})}return e},[C,r,o,m,f,g,b,A,a,y,S]),B=ef(t.Fragment,null,ef("span",{id:"aria-selection"},E),ef("span",{id:"aria-focused"},N),ef("span",{id:"aria-results"},j),ef("span",{id:"aria-guidance"},T));return ef(t.Fragment,null,ef(Pg,{id:c},S&&B),ef(Pg,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!S&&B))},Gg=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Og=new RegExp("["+Gg.map(function(e){return e.letters}).join("")+"]","g"),Dg={},Vg=0;Vg<Gg.length;Vg++)for(var Mg=Gg[Vg],Hg=0;Hg<Mg.letters.length;Hg++)Dg[Mg.letters[Hg]]=Mg.base;var Wg=function(e){return e.replace(Og,function(e){return Dg[e]})},Xg=function(e,t){void 0===t&&(t=Bg);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(Wg),Fg=function(e){return e.replace(/^\s+|\s+$/g,"")},zg=function(e){return"".concat(e.label," ").concat(e.value)},Zg=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Kp({ignoreCase:!0,ignoreAccents:!0,stringify:zg,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?Fg(n):n,u=a?Fg(s(t)):s(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=Xg(c),u=Wg(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Yg=["innerRef"];function _g(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 o=Object.entries(e).filter(function(e){var t=eh(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=eh(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(th(e,Yg),"onExited","in","enter","exit","appear");return ef("input",Wu({ref:t},n,{css:tf({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 Jg=["boxSizing","height","overflow","paddingRight","position"],Ug={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function $g(e){e.cancelable&&e.preventDefault()}function Kg(e){e.stopPropagation()}function Qg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function qg(){return"ontouchstart"in window||navigator.maxTouchPoints}var eb=!("undefined"==typeof window||!window.document||!window.document.createElement),tb=0,nb={capture:!1,passive:!1};var rb=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},ob="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 ib(e){var n=e.children,r=e.lockEnabled,o=e.captureEnabled,i=function(e){var n=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,i=e.onTopArrive,s=e.onTopLeave,a=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,h=u.current,m=t>0,f=d-p-c,g=!1;f>t&&a.current&&(o&&o(e),a.current=!1),m&&l.current&&(s&&s(e),l.current=!1),m&&t>f?(r&&!a.current&&r(e),h.scrollTop=d,g=!0,a.current=!0):!m&&-t>c&&(i&&!l.current&&i(e),h.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[r,o,i,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),h=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),m=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!zf&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}},[m,h,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))},[m,h,p]);return t.useEffect(function(){if(n){var e=u.current;return f(e),function(){g(e)}}},[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,r=e.accountForScrollbars,o=void 0===r||r,i=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(eb){var t=document.body,n=t&&t.style;if(o&&Jg.forEach(function(e){var t=n&&n[e];i.current[e]=t}),o&&tb<1){var r=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(Ug).forEach(function(e){var t=Ug[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&qg()&&(t.addEventListener("touchmove",$g,nb),e&&(e.addEventListener("touchstart",Qg,nb),e.addEventListener("touchmove",Kg,nb))),tb+=1}},[o]),l=t.useCallback(function(e){if(eb){var t=document.body,n=t&&t.style;tb=Math.max(tb-1,0),o&&tb<1&&Jg.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&qg()&&(t.removeEventListener("touchmove",$g,nb),e&&(e.removeEventListener("touchstart",Qg,nb),e.removeEventListener("touchmove",Kg,nb)))}},[o]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:r});return ef(t.Fragment,null,r&&ef("div",{onClick:rb,css:ob}),n(function(e){i(e),s(e)}))}var sb="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)."}},ab=function(e){var t=e.name,n=e.onFocus;return ef("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:sb,value:"",onChange:function(){}})};function lb(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 cb(){return lb(/^Mac/i)}function ub(){return lb(/^iPhone/i)||lb(/^iPad/i)||cb()&&navigator.maxTouchPoints>1}var db={clearIndicator:mg,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,o=e.theme,i=o.colors,s=o.borderRadius;return Kp({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:hg,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,o=n.spacing;return Kp({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.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,o=r.spacing.baseUnit,i=r.colors;return Kp({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,s=o.colors;return Kp(Kp({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Cg),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,s=o.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?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:rg,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,s=o.spacing,a=o.colors;return Kp((Up(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Up(n,"position","absolute"),Up(n,"width","100%"),Up(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return 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,o=n.borderRadius,i=n.colors;return Kp({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Kp({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,s=e.isFocused;return Kp({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:ng,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return Kp({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?a.primary:r?a.primary25:"transparent",color:n?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Kp({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Kp({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Kp({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},pb={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}},hb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Hf(),captureMenuScroll:!Hf(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Zg(),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 mb(e,t,n,r){return{type:"option",data:t,isDisabled:Cb(e,t,n),isSelected:wb(e,t,n),label:yb(e,t),value:Ib(e,t),index:r}}function fb(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return mb(e,n,t,r)}).filter(function(t){return vb(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=mb(e,n,t,r);return vb(e,i)?i:void 0}).filter(Zf)}function gb(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,lh(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function bb(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,lh(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 vb(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,s=t.label,a=t.value;return(!Eb(e)||!i)&&Ab(e,{label:s,value:a,data:o},r)}var xb=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},yb=function(e,t){return e.getOptionLabel(t)},Ib=function(e,t){return e.getOptionValue(t)};function Cb(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function wb(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ib(e,t);return n.some(function(t){return Ib(e,t)===r})}function Ab(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},Nb=1,jb=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&&oh(e,t)}(n,t.Component);var e=function(e){var t=sh();return function(){var n,r=ih(e);if(t){var o=ih(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ah(this,n)}}(n);function n(t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,s=o.isMulti,a=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(r.setState({inputIsHiddenAfterUpdate:!s}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,s=r.state.selectValue,a=o&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(a){var c=r.getOptionValue(e);r.setValue(s.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(lh(s),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),s=Yf(t,i,i[0]||null);r.onChange(s,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Yf(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],o=t.slice(0,t.length-1),i=Yf(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return xb(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return bb(fb(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 kf.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return yb(r.props,e)},r.getOptionValue=function(e){return Ib(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=db[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Kp(Kp({},jg),e.components);var e},r.buildCategorizedOptions=function(){return fb(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return gb(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,o=t.menuIsOpen;r.focusInput(),o?(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&&Gf(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 o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>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,o=t.backspaceRemovesValue,i=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;r.focusValue("previous");break;case"ArrowRight":if(!n||s)return;r.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)r.removeValue(f);else{if(!o)return;n?r.popValue():a&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:s}),r.onMenuClose()):a&&i&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Nb),r.state.selectValue=Pf(t.value),t.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),s=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[s],r.state.focusedOptionId=xb(o,i[s])}return r}return function(e,t,n){t&&rh(e.prototype,t),n&&rh(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Mf(this.menuListRef,this.focusedOptionRef),(cb()||ub())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||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,o=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(r[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(s=o+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(pb):Kp(Kp({},pb),this.props.theme):pb}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:a,setValue:s,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Cb(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return wb(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Ab(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,s=e.form,a=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=r||this.getElementId("input"),g=Kp(Kp(Kp({"aria-autocomplete":"list","aria-expanded":a,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},a&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?l.createElement(u,Wu({},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:i,form:s,type:"text",value:o},g)):l.createElement(_g,Wu({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Tf,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!d)return m?null:l.createElement(a,Wu({},c,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var a=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,Wu({},c,{components:{Container:r,Label:o,Remove:i},isFocused:a,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var y=b[0];return l.createElement(s,Wu({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,Wu({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!e||!o)return null;return l.createElement(e,Wu({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return l.createElement(n,Wu({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,Wu({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,x=h.maxMenuHeight,y=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,E=h.menuShouldScrollIntoView,N=h.noOptionsMessage,j=h.onMenuScrollToTop,S=h.onMenuScrollToBottom;if(!y)return null;var T,B=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,s=t.isSelected,a=t.label,c=t.value,h=p===o,m=i?void 0:function(){return e.onOptionHover(o)},f=i?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 l.createElement(u,Wu({},d,{innerProps:b,data:o,isDisabled:i,isSelected:s,key:g,label:a,type:r,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,i=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),c="".concat(a,"-heading");return l.createElement(n,Wu({},d,{key:a,data:o,options:i,Heading:r,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 k=b({inputValue:f});if(null===k)return null;T=l.createElement(a,d,k)}else{var P=N({inputValue:f});if(null===P)return null;T=l.createElement(c,d,P)}var R={minMenuHeight:v,maxMenuHeight:x,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:E},L=l.createElement(qf,Wu({},d,R),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return l.createElement(o,Wu({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),l.createElement(ib,{captureEnabled:m,onTopArrive:j,onBottomArrive:S,lockEnabled:A},function(t){return l.createElement(i,Wu({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:p}),T)}))});return w||"fixed"===C?l.createElement(s,Wu({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!r)return l.createElement(ab,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var c=a.map(function(t){return e.getOptionValue(t)}).join(n);return l.createElement("input",{name:i,type:"hidden",value:c})}var u=a.length>0?a.map(function(t,n){return l.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):l.createElement("input",{name:i,type:"hidden",value:""});return l.createElement("div",null,u)}var d=a[0]?this.getOptionValue(a[0]):"";return l.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return l.createElement(Lg,Wu({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:s,focusableOptions:a,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,s=i.className,a=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return l.createElement(r,Wu({},p,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),l.createElement(t,Wu({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),l.createElement(o,Wu({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,Wu({},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,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=Pf(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return gb(fb(e,t))}(e,m):[],b=d?bb(fb(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:x,focusedOptionId:xb(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=s&&a;return s&&!C&&(I={value:Yf(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),Kp(Kp(Kp({},f),y),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();jb.defaultProps=hb;var Sb=t.forwardRef(function(e,n){var r=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,o=e.defaultMenuIsOpen,i=void 0!==o&&o,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,m=e.value,f=th(e,nh),g=eh(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],x=eh(t.useState(void 0!==c?c:i),2),y=x[0],I=x[1],C=eh(t.useState(void 0!==m?m:a),2),w=C[0],A=C[1],E=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),N=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),j=t.useCallback(function(){"function"==typeof h&&h(),I(!0)},[h]),S=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),T=void 0!==l?l:b,B=void 0!==c?c:y,k=void 0!==m?m:w;return Kp(Kp({},f),{},{inputValue:T,menuIsOpen:B,onChange:E,onInputChange:N,onMenuClose:S,onMenuOpen:j,value:k})}(e);return l.createElement(jb,Wu({ref:n},r))}),Tb=Sb;const Bb=l.default.memo(({options:n,className:r,controlClassName:o,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:h,helperText:m,label:f,labelClassName:g,size:b="md",variant:v="default","data-cy":x,"data-testid":y,...I})=>{const C=t.useMemo(()=>Zg(u),[u]),w=t.useMemo(()=>({control:({isFocused:e})=>Ee("sm"===b?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!d,"border-input-border-critical shadow-none":d},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ee(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ee("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var o;return Ee("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,o,h,n,d,b]);return"unstyled"===v?e.jsx(Tb,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ee("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Ee("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(Tb,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:C,className:Ee("rounded-xl",r),classNames:w,"data-cy":x,"data-testid":y,...I}),p&&e.jsx($n,{className:"footnote mt-1 text-text-critical",children:p}),!p&&m&&e.jsx($n,{className:"footnote mt-1 text-text-info",children:m})]})});Bb.displayName="Select";const kb={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"bg-white",text:"text"},navy:{bg:"bg-bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-border-success",text:"text-inverse"}};exports.Accordion=({items:n,title:r,anchorId:o,background:i="white",enableHeading:s=!1,maxWidth:a=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[p,h]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);h(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id:o,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[i]} flex flex-col px-2 pb-20 pt-4 md:px-10`,children:e.jsxs("div",{className:""+(a?"max-w-120 xl:mx-auto":""),children:[e.jsx($n,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,r)=>{const o=t.anchorId||`item-${r}`,i=t.anchorId?p.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx(sr,{title:t.title,defaultOpen:i,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void h(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx($n,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx(ar,{className:"my-6 md:my-10"},`divider-${r}`)]},o)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:r="yellow",cta:o,navHeight:i,isVisible:s,renderCheckPlans:a}=t,l=kb[null==r?void 0:r.toLowerCase()]||kb.yellow;if(!s)return null;const c=(null==o?void 0:o.buttonLabel)||"Check plans",u=null==a?void 0:a({ctaText:c,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return e.jsxs("div",{style:{top:`${i}px`},className:Ee(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 lg:fixed bg-${l.bg} text-${l.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e.jsx($n,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:n}),u]})},exports.AnchoredBottomBanner=({ctaSuffixText:t,backgroundColor:n,iconName:r,boxShadow:o,ctaButtonLabel:i,ctaButtonLink:s,ctaButtonTarget:a,anchorId:l="anchored-banner"})=>{const u=n?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[n]:"bg-bg-fill-brand-accent",d="yellow"===n||!n?"text-text-primary":"text-white";return e.jsx("section",{id:l,children:e.jsx("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${u} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(c.default,{href:s||"#",target:a||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${d} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[r&&e.jsx(Un,{name:r,size:24,fill:1,className:`${d} align-text-bottom`}),i&&i," ",t&&e.jsx("span",{className:"ml-0.5",children:t})]})})})})})},exports.BlogCard=ur,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:r,totalPages:o,selectedCategory:s,categoryOptions:a}){const l=i.useRouter(),c=i.usePathname(),u=i.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx($n,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs($n,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx($n,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs($n,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(Bb,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),t.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:t.map((t,n)=>{var r,o,i,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(ur,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx($n,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e.jsx(Yp,{currentPage:r,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})},exports.BlogGridBase=function({title:t="recent articles",paginatedArticles:n,totalArticles:r,currentPage:o,totalPages:i,selectedCategory:s,categoryOptions:a,onCategoryChange:l,onPageChange:c,imageComponent:u}){return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx($n,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:t}),a.length>0&&e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs($n,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx($n,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs($n,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e.jsx(Bb,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==l||l(e)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,o,i,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(ur,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:u,index:n},t.slug)})}):e.jsx($n,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),i>1&&e.jsx(Yp,{currentPage:o,totalPages:i,onPageChange:function(e){null==c||c(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",maxWidth:o=!0,floatOnMobile:i=!1}=t,s=i?"dark"===r?"text-text":"text-white":"dark"===r?"text-white xl:text-text":"text-text xl:text-white";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(o?`${!i&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e.jsx("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${i?"absolute":"relative xl:absolute"} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,r)=>{const{image:o,...i}=t,a=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"";return r===n.length-1?e.jsxs("li",{className:"flex min-w-0 items-center",children:[a&&e.jsx("img",{src:a,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx($n,{as:"span",className:`body3 mr-2 break-words ${s}`,children:t.buttonLabel})]},r):e.jsxs("li",{className:"flex flex-none items-center",children:[a&&e.jsx("img",{src:a,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(hr,{...i,linkClassName:`label3 mr-2 whitespace-nowrap ${s}`,linkVariant:"unstyled"}),e.jsx(Un,{name:"chevron_right",className:`${s} `})]},r)})})}):null},exports.Button=hr,exports.Callout=({title:t,items:n,enableHeading:r=!1,subtitle:o,color:i="dark",maxWidth:s=!0,maxCardsPerRow:a,cardType:l="simple"})=>{const c={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[a||4]||" lg:w-[calc(25%-1.125rem)]",u=1===n.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e.jsx("div",{className:"component-container",children:e.jsx("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==i?"text-text":"text-white"}`,children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",children:[t&&e.jsx($n,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:t}),o&&e.jsx($n,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o})]}),e.jsx("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:n.map((t,n)=>((t,n)=>{if("blog"===l){const n=t;return e.jsx(ur,{title:n.title,href:n.slug,description:n.shortDescription,date:n.blogCreationDate,category:n.category,image:n.cover,asGrid:!1,lgWidth:c,mdWidth:u})}return e.jsx(vr,{card:t,lgWidth:c,mdWidth:u},n)})(t,n))})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx($n,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:r,disclaimerText:o,backgroundColor:i,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:p=!1})=>{const h=r?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${i} ${h} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx($n,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx($n,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),p&&r&&e.jsxs("div",{className:"flex flex-col gap-8",children:[p&&r&&l.length>1&&e.jsx(Nr,{tabs:l,activeTab:s,onChange:a}),r&&e.jsx(wr,{onModalButtonClick:c,renderCheckPlans:u,fields:t})]}),n&&e.jsx(Er,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),o&&e.jsx($n,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]})},exports.CartRetentionBanner=({fields:n,isInPopupContainer:r=!1,onClose:o,onContinueCheckout:i,checkShouldShowBanner:s,onBannerShown:a})=>{var l,c;const{anchorId:u,mainHeading:d,description:p,cta:h}=n,[m,f]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!m&&(f(!0),null==a||a())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const g=()=>{null==i||i()};return r?e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e.jsx($n,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let’s finish your order"}),p&&nr(it(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(hr,{onClick:g,buttonLabel:null!==(l=null==h?void 0:h.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e.jsx("section",{id:u,"data-testid":"cart-retention-banner",children:e.jsx(Zp,{size:"sm",isOpen:m,onRequestClose:()=>{null==o||o(),f(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:e.jsxs("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e.jsx($n,{className:"heading5 text-center lg:heading3",children:d||"Welcome back. Let&apos;s finish your order"}),p&&nr(it(null==p?void 0:p.json),!1,"body1 my-4"),e.jsx(hr,{onClick:g,buttonLabel:null!==(c=null==h?void 0:h.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})},exports.ComparisonTable=({title:t,disclaimer:n,table:r,maxWidth:o=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(o?"max-w-120 xl:mx-auto":""),children:[e.jsx($n,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-20 xl:mt-10",children:r}),e.jsx($n,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:n}){let r=3;const[o,i]=t.useState(!1),[s,a]=t.useState(!1),l=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=nt.get(e);return t?et(t):null}("cookieBannerClosed");i("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");a(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return o?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[o]),t.useEffect(()=>{if(!o)return;const e=()=>{if(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 i=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",i),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",i),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,s]),s&&(r=14);const c=4*r;return o?e.jsxs("div",{id:"cookie-banner",ref:l,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${c}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(hr,{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);i(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),o=qe(r);nt.set(e,o,n)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Un,{name:"close"})}),n.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:r,color:o,contentAlignment:i,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${o} flex flex-col ${"dark"==o?"text-text":"text-text-inverse"}`,children:[t&&e.jsx($n,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${i}`,children:t}),c&&e.jsx($n,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${i}`,children:c}),s&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:s}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(hr,{...r,renderCheckPlans:p,onModalButtonClick:d,size:{base:"large"}})})]})}),exports.DynamicTabs=function(n){var r,o,i;const[s,a]=t.useState(0),[l,c]=t.useState(""),{title:u,subTitle:d,tabs:p,tabsContent:h,navigationType:m=!0,mobileSidebarTabType:f=!0}=n;t.useEffect(()=>{if("undefined"!=typeof window){c(window.location.hash);const e=()=>{c(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==p?void 0:p.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===l)return a(t),!0})},[p,l]);const g=(e,t)=>{a(e),"undefined"!=typeof window&&l&&(window.location.hash=t||"")},b=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:null===(r=null==p?void 0:p.items)||void 0===r?void 0:r.map((t,n)=>e.jsx(hr,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ee("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==h?void 0:h.map((t,n)=>e.jsx("div",{children:e.jsx(Hu,{children:e.jsx(Ru.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))]}),v=e.jsx(e.Fragment,{children:null===(o=null==p?void 0:p.items)||void 0===o?void 0:o.map((t,n)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(hr,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ee("w-full flex justify-between items-center px-4 py-5",n===s?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Un,{name:n===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(ir,{open:n===s,children:e.jsx("div",{className:Ee("px-4 py-4"),children:null==h?void 0:h[n]})})]},n))}),x=e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(i=null==p?void 0:p.items)||void 0===i?void 0:i.map((t,n)=>e.jsx(hr,{showButtonAs:"unstyled",onClick:()=>g(n,null==t?void 0:t.anchorId),buttonClassName:Ee("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e.jsx("div",{className:"grow",children:null==h?void 0:h.map((t,n)=>e.jsx("div",{children:e.jsx(Hu,{children:e.jsx(Ru.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx($n,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx($n,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,e.jsx("div",{className:"md:hidden",children:f?b:v}),e.jsx("div",{className:"hidden md:block",children:m?b:x})]})},exports.EmailInputBlock=n=>{const{anchorId:r="email-input",title:o,subTitle:i,emailInputDescription:s,inputPlaceholder:a="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:d,onSubmit:p}=n||{},h={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},m=h[u]||h.green,f=["green","blue","navy"].includes(u)?"text-white":"text-text",[g,b]=t.useState(""),[v,x]=t.useState(!1),[y,I]=t.useState("");return e.jsxs("section",{id:r,className:"w-full px-4 py-8 md:px-0",children:[e.jsx("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${m} flex flex-col items-start p-8 md:p-16`,children:e.jsxs("div",{className:"lg:w-[548px]",children:[o&&e.jsx("h1",{className:`text-heading1 font-black ${f}`,children:o}),i&&e.jsx("h2",{className:`text-heading1 font-black ${f}`,children:i}),s&&e.jsx("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:s}),e.jsxs("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e.jsx("input",{type:"email",placeholder:a,value:g,onChange:e=>{b(e.target.value),y&&I(""),v&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e.jsx(hr,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(g)?(p({email:g}),b(""),x(!0),I("")):I("Please enter a valid email address.")}})]}),y&&e.jsx("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:y}),d&&v&&!y&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:d})]})}),c&&e.jsx("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:r,image:o,list:i=[],subTitle:s,title:a,color:l="dark",maxWidth:c=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx($n,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx($n,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx($n,{as:"p",className:"body1",children:n}),i.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(er,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(er,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),o&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx(br,{width:472,height:100,src:o,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:r,disclaimer:o,icon:i,cta:s,background:a="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[i&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx(br,{width:80,height:80,alt:"icon",src:i})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx($n,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx($n,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx($n,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),s&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(hr,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e.jsx("div",{children:e.jsx($n,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),exports.Footer=({body:t,links:n,bottomLinks:r,copyrights:o,terms:i,maxWidth:s=!0,onClick:a})=>{function c(e){null==a||a(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${s?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:t}),e.jsx(ar,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==n?void 0:n.map((t,n)=>{var r,o;return e.jsxs(l.default.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==t?void 0:t.title}`,className:"site-links-group",children:[e.jsx($n,{as:"div",className:"label3",children:null==t?void 0:t.title}),e.jsx("ul",{className:"flex flex-col",children:null===(o=null===(r=null==t?void 0:t.items)||void 0===r?void 0:r.items)||void 0===o?void 0:o.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(hr,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx(ar,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(ar,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",i]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:o}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e.jsx(hr,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:r,title:o,subTitle:i,ctaDisclaimer:s,disclaimer:a,description:l,image:c,imageLinks:u,mediaPosition:d=!0,checklist:p,secondaryCta:h,cta:m,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,onModalButtonClick:y,renderCheckPlans:I})=>{var C,w;const[A,E]=t.useState(""),[N,j]=t.useState(!1),S=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",T=null==f?void 0:f.image,B=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,k=Boolean(A&&A===S),P=f&&T?S.includes("vimeo")?e.jsx(Sr,{link:S,autoplay:k}):e.jsx(Tr,{link:S,autoplay:k}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(d?"lg:flex-row-reverse":"lg:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[n&&e.jsx($n,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e.jsx($n,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:o}),i&&e.jsx($n,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),l&&e.jsx($n,{as:"div",className:"body1",children:l}),p.length>0&&e.jsx(Kn,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(er,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(xr,{src:t.image,alt:"icon-link"})})},n))}),(m||h)&&e.jsxs("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[m&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(hr,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})}),h&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(hr,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:I,onModalButtonClick:y})})]}),s&&e.jsx("div",{children:s}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[c&&e.jsx("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e.jsx(br,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&e.jsxs("div",{className:Ee("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!k&&"hover:shadow-2xl"),onClick:()=>{var e;E(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:[e.jsxs("div",{className:Ee(k&&!B&&"hidden",k&&!B?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(br,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(jr,{isHovered:N})})]}),!B&&k&&e.jsx("div",{className:Ee("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",k?"opacity-100":"opacity-0"),children:P})]})]})]})}),B&&k&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),E("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:P})})]})},exports.Modal=Zp,exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:r,checkPlansJSX:o,primaryNavigationLogo:i,accountNavigationLinks:s,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:u,callNowCtaText:d,displayCartIcon:p,cartHref:h,cartHasRetention:m,cartIconAriaLabel:f="Cart",onCallClickDesktop:g,onCallClickMobile:b,onCartClick:v,onSearch:x=()=>{},utilityNavActiveIndex:y,primaryNavigationLogoWidth:I=76.5,primaryNavigationLogoHeight:C=24,hideMobileCallButton:w=!1}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{children:e.jsx(hr,{linkClassName:Ee("footnote flex items-center w-full h-11 text-text","number"!=typeof y?1===n&&"label4":y===n&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${n}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[e.jsx(Rr,{className:"border-none",href:c,prefix:d,onClick:g,children:e.jsx($n,{className:"body3 text-text",children:u})}),p?e.jsxs(er,{href:h||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:v,children:[e.jsx(Un,{name:"shopping_cart"}),m?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==s?void 0:s.map((t,n)=>e.jsx(Br,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(er,{href:"/",className:"flex",children:e.jsx(br,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:I,height:C})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[w?null:e.jsx(Rr,{href:c,onClick:b,children:e.jsx($n,{as:"span",className:"footnote",children:u})}),p?e.jsxs(er,{href:h||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:v,children:[e.jsx(Un,{name:"shopping_cart"}),m?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,e.jsx(Gr,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[e.jsx(er,{href:"/",className:"flex",children:e.jsx(br,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:I,height:C,className:"mr-[64px]"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(Br,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(Dr,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:x}),null==a?void 0:a.map((t,n)=>e.jsx(Br,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),o&&e.jsx("div",{className:"md:hidden",children:o})]})},exports.PrimaryHero=t=>{var n;const{title:r,showAsHeading:o,subTitle:i,primaryCta1:s,carouselImages:a,bottomLink:l,price:c,priceCallout:u,priceSuffix:d,checklist:p,renderCheckPlans:h,badgeImage:m,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v,hideOnMobileCta1:x}=t,y=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return console.log(s),e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:Ee("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:Ee("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[r&&e.jsx($n,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:r}),i&&e.jsx($n,{as:"p",className:"subheading3 lg:subheading1",children:i}),c?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e.jsx($n,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx($n,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx($n,{as:"p",className:"subheading5",children:c}),d?e.jsx($n,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,p&&e.jsx(Kn,{listItemClassName:"text-white text-left",items:p.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Ee("md:block",x&&"hidden"),children:e.jsx(hr,{...s,renderCheckPlans:h,onModalButtonClick:v,fullWidth:!0,buttonClassName:"md:w-auto"})}),b||g?e.jsxs("div",{className:"hidden md:flex",children:[b&&e.jsx($n,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(hr,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden md:block",children:e.jsx(hr,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx($n,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[m?e.jsx(br,{src:m,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(br,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] w-full rounded-[40px] object-cover object-center sm:h-[420px]",width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]}),l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"md:hidden",children:e.jsx(hr,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx($n,{as:"p",className:"body3 md:hidden",children:f}):null,b||g?e.jsxs("div",{className:"flex md:hidden",children:[b&&e.jsx($n,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(hr,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Ee("relative hidden lg:block"),children:[m?e.jsx(br,{src:m,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,a&&a[0]?e.jsx(br,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},exports.ProductCard=Ir,exports.SearchBlock=n=>{const{anchorId:r="SearchBlock",title:o,subTitle:i,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:p,onSubmit:h}=n,[m,f]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==p?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx($n,{as:s?"h1":"h2",className:Ee("heading2 md:heading1"),children:o}),i&&e.jsx($n,{as:"div",className:Ee("subheading2 mt-2 md:subheading1"),children:i})]}),a?e.jsx($n,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:m})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(or,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Un,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(Lr,{value:m,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=({children:t,background:n,className:r,fill:o="yellow",maxFit:i,show:s=!0,path:a="path2"})=>{const l=`${a}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,p=d?u[n]:void 0,h=n&&!d?{background:n}:void 0,m=o in c?c[o]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=r?r:""} ${i?"max-content":""} ${null!=p?p:h?"":"bg-white"}`,style:h,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${m}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${m}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:r,style:h,children:t})},exports.SimpleCard=vr,exports.TestimonialCard=Cr,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx($n,{children:"Text Block"})}),exports.label1BoldOptions=rr,exports.renderContentfulRichText=nr,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r={...tr,renderMark:{...tr.renderMark,[nn.BOLD]:t=>e.jsx("strong",{className:"label2",children:t})},renderNode:{...tr.renderNode,[en.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body2",children:n}),[en.TABLE]:(t,n)=>{var r,o;return e.jsx("div",{className:"comparison-table-wrapper my-5 w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(o=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===o?void 0:o.length)>2?"min-w-[100.1%]":"min-w-full"),children:e.jsx("tbody",{children:n})})})},[en.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[en.TABLE_HEADER_CELL]:(t,n)=>{var r;const o=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e.jsx("th",{className:`label4 break-words py-4 text-center ${o?"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})},[en.TABLE_CELL]:(t,n)=>{var r,o,i,s;const a=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2,l=null===(s=null===(i=null===(o=t.content[0])||void 0===o?void 0:o.content[0])||void 0===i?void 0:i.value)||void 0===s?void 0:s.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell label-4 break-words bg-white py-2 text-center align-top first:text-left ${a?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Un,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Un,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[tn.EMBEDDED_ENTRY]:t=>{var r,o,i,s;const a=t.data.target.sys.id,l=null===(o=null===(r=null==n?void 0:n.entries)||void 0===r?void 0:r.inline)||void 0===o?void 0:o.find(e=>e.sys.id===a);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(s=null===(i=l.list)||void 0===i?void 0:i.items)||void 0===s?void 0:s.map(e=>{var t;return nr(it(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e.jsx(Kn,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e.jsx("span",{children:l.title||""})}}};return qt.documentToReactComponents(t,r)},exports.toDocument=it,exports.useContentfulRichText=function(e,n){return t.useMemo(()=>{if(!e||!Array.isArray(e.content))return null;const t={...tr,renderMark:{...tr.renderMark,...null==n?void 0:n.renderMark},renderNode:{...tr.renderNode,...null==n?void 0:n.renderNode}};return qt.documentToReactComponents(e,t)},[e,n])},exports.useProcessedChecklist=function(e,n,r,o){return t.useMemo(()=>{var t,i;const s=null!==(i=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==i?i:[];return n?s.map(e=>{var t,n;return null!==(n=nr(it(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,r))&&void 0!==n?n:""}):s.map(e=>{var t,n,i,s,a;return{title:null!==(n=nr(it(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,o,void 0,r))&&void 0!==n?n:"",iconUrl:null!==(s=null===(i=null==e?void 0:e.icon)||void 0===i?void 0:i.url)&&void 0!==s?s:void 0,anchorId:null!==(a=null==e?void 0:e.anchorId)&&void 0!==a?a:void 0}})},[e,n,r,o])};
14
14
  //# sourceMappingURL=index.js.map