@openmrs/esm-patient-notes-app 9.2.3-pre.7147 → 9.2.3-pre.7151

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/4429.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 4429.js.LICENSE.txt */
2
+ (globalThis.webpackChunk_openmrs_esm_patient_notes_app=globalThis.webpackChunk_openmrs_esm_patient_notes_app||[]).push([[4429],{9247:(e,t,n)=>{"use strict";function r(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{A:()=>h});var i=["width","height","viewBox"],s=["tabindex"],c={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var u=n(9067),d=n.n(u),f=n(1343),p=n.n(f);const h=p().forwardRef((function(e,t){let{className:n,children:r,tabIndex:a,xmlns:u="http://www.w3.org/2000/svg",preserveAspectRatio:d="xMidYMid meet",...f}=e;const{tabindex:h,...m}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height,r=e.viewBox,a=void 0===r?"0 0 ".concat(t," ").concat(n):r,u=o(e,i),d=u.tabindex,f=o(u,s),p=l(l(l({},c),f),{},{width:t,height:n,viewBox:a});return p["aria-label"]||p["aria-labelledby"]||p.title?(p.role="img",null!=d&&(p.focusable="true",p.tabindex=d)):p["aria-hidden"]=!0,p}({...f,tabindex:a}),g=m;return n&&(g.className=n),null!=h&&(g.tabIndex="number"==typeof h?h:Number(a)),t&&(g.ref=t),u&&(g.xmlns=u),d&&(g.preserveAspectRatio=d),p().createElement("svg",g,r)}));h.displayName="Icon",h.propTypes={"aria-hidden":d().oneOfType([d().bool,d().oneOf(["true","false"])]),"aria-label":d().string,"aria-labelledby":d().string,children:d().node,className:d().string,height:d().oneOfType([d().number,d().string]),preserveAspectRatio:d().string,tabIndex:d().oneOfType([d().number,d().string]),viewBox:d().string,width:d().oneOfType([d().number,d().string]),xmlns:d().string}},5848:(e,t,n)=>{"use strict";n.d(t,{BK:()=>S,Do:()=>x,OM:()=>v,Qp:()=>E,bE:()=>w,on:()=>y});var r,a,l,o,i,s,c,u,d,f,p,h,m=n(1343),g=n.n(m),b=n(9247);const v=g().forwardRef((function(e,t){let{children:n,size:a=16,...l}=e;return g().createElement(b.A,{width:a,height:a,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...l},r||(r=g().createElement("path",{d:"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"})),n)})),y=g().forwardRef((function(e,t){let{children:n,size:r=16,...o}=e;return g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},a||(a=g().createElement("path",{d:"M16,2A14.1725,14.1725,0,0,0,2,16,14.1725,14.1725,0,0,0,16,30,14.1725,14.1725,0,0,0,30,16,14.1725,14.1725,0,0,0,16,2Zm8,15H17v7H15V17H8V15h7V8h2v7h7Z"})),l||(l=g().createElement("path",{fill:"none",d:"M24 17L17 17 17 24 15 24 15 17 8 17 8 15 15 15 15 8 17 8 17 15 24 15 24 17z","data-icon-path":"inner-path"})),n)})),w=g().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},o||(o=g().createElement("path",{d:"M19 21v-2h1v-7h-1v-2h4v2h-1v7h1v2h-4zM15.5005 21h2l-3.5005-11h-3l-3.4966 11h1.9988l.6018-2h4.7781l.6184 2zM10.7058 17l1.6284-5.4111.2559-.0024 1.6736 5.4136h-3.5579z"})),i||(i=g().createElement("path",{d:"M32,32H0V0h32v32ZM2,30h28V2H2v28Z"})),n)})),E=g().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},s||(s=g().createElement("path",{d:"M9.3 3.7L13.1 7.5 1 7.5 1 8.5 13.1 8.5 9.3 12.3 10 13 15 8 10 3z"})),n):20===r||"20"===r||"20px"===r?g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...a},c||(c=g().createElement("path",{d:"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z"})),n):24===r||"24"===r||"24px"===r?g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...a},u||(u=g().createElement("path",{d:"M14 4L12.9 5.1 18.9 11.2 2 11.2 2 12.8 18.9 12.8 12.9 18.9 14 20 22 12z"})),n):g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},d||(d=g().createElement("path",{d:"M18 6L16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6z"})),n)})),x=g().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},f||(f=g().createElement("path",{d:"M3.7 6.7L7.5 2.9 7.5 15 8.5 15 8.5 2.9 12.3 6.7 13 6 8 1 3 6z"})),n):g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},p||(p=g().createElement("path",{d:"M16 4L6 14 7.41 15.41 15 7.83 15 28 17 28 17 7.83 24.59 15.41 26 14 16 4z"})),n)})),S=g().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return g().createElement(b.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},h||(h=g().createElement("path",{d:"M27.6 20.6L24 24.2 24 4 22 4 22 24.2 18.4 20.6 17 22 23 28 29 22zM9 4L3 10 4.4 11.4 8 7.8 8 28 10 28 10 7.8 13.6 11.4 15 10z"})),n)}))},5951:(e,t,n)=>{"use strict";n.d(t,{BF:()=>v,OR:()=>b});var r,a,l,o,i,s,c,u,d,f,p,h=n(1343),m=n.n(h),g=n(9247);const b=m().forwardRef((function(e,t){let{children:n,size:o=16,...i}=e;return m().createElement(g.A,{width:o,height:o,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},r||(r=m().createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),a||(a=m().createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),l||(l=m().createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),n)})),v=m().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?m().createElement(g.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},o||(o=m().createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),i||(i=m().createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),n):20===r||"20"===r||"20px"===r?m().createElement(g.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...a},s||(s=m().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"})),c||(c=m().createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),n):24===r||"24"===r||"24px"===r?m().createElement(g.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...a},u||(u=m().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"})),d||(d=m().createElement("path",{fill:"none",d:"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z","data-icon-path":"inner-path",opacity:"0"})),n):m().createElement(g.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},f||(f=m().createElement("path",{d:"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"})),p||(p=m().createElement("path",{fill:"none",d:"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z","data-icon-path":"inner-path",opacity:"0"})),n)}))},529:(e,t,n)=>{"use strict";n.d(t,{NW:()=>_,R9:()=>R,_j:()=>N,bm:()=>$,c_:()=>A,yQ:()=>T});var r,a,l,o,i,s,c,u,d,f,p,h,m,g,b,v,y,w,E,x,S=n(1343),k=n.n(S),C=n(9247);const _=k().forwardRef((function(e,t){let{children:n,size:l=16,...o}=e;return k().createElement(C.A,{width:l,height:l,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...o},r||(r=k().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z"})),a||(a=k().createElement("path",{fill:"none",d:"M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z","data-icon-path":"inner-path"})),n)})),N=k().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},l||(l=k().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),o||(o=k().createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),n):20===r||"20"===r||"20px"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...a},i||(i=k().createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),s||(s=k().createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),n):24===r||"24"===r||"24px"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...a},c||(c=k().createElement("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"})),u||(u=k().createElement("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"})),n):k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},d||(d=k().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),f||(f=k().createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),n)})),T=k().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return"glyph"===r||"glyph"===r||"glyphpx"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 6",fill:"currentColor",...a},p||(p=k().createElement("path",{d:"M5 6L0 1 0.7 0.3 5 4.6 9.3 0.3 10 1z"})),n):16===r||"16"===r||"16px"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},h||(h=k().createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"})),n):k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},m||(m=k().createElement("path",{d:"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"})),n)})),A=k().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return"glyph"===r||"glyph"===r||"glyphpx"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor",...a},g||(g=k().createElement("path",{d:"M6 5L1 10 0.3 9.3 4.6 5 0.3 0.7 1 0z"})),n):16===r||"16"===r||"16px"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},b||(b=k().createElement("path",{d:"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z"})),n):k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},v||(v=k().createElement("path",{d:"M22 16L12 26 10.6 24.6 19.2 16 10.6 7.4 12 6z"})),n)})),$=k().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},y||(y=k().createElement("path",{d:"M17.4141 16L24 9.4141 22.5859 8 16 14.5859 9.4143 8 8 9.4141 14.5859 16 8 22.5859 9.4143 24 16 17.4141 22.5859 24 24 22.5859 17.4141 16z"})),n)})),R=k().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},w||(w=k().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L8,8.8l-2.7,2.7l-0.8-0.8L7.2,8L4.5,5.3l0.8-0.8L8,7.2 l2.7-2.7l0.8,0.8L8.8,8l2.7,2.7L10.7,11.5z"})),n):k().createElement(C.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},E||(E=k().createElement("path",{d:"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9 l5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z"})),x||(x=k().createElement("path",{d:"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16","data-icon-path":"inner-path",opacity:"0"})),n)}))},1688:(e,t,n)=>{"use strict";n.d(t,{nD3:()=>T,AsP:()=>te,$nd:()=>Zt,Te$:()=>Yt,VPZ:()=>ln,bQt:()=>Dl,OOb:()=>Jt,lVW:()=>en,gE_:()=>tn,OuH:()=>kn,jeF:()=>nr,Wdr:()=>ea,dKS:()=>vr,fI1:()=>nn,vji:()=>Sr,rrI:()=>Nr,BJc:()=>Lr,XIK:()=>ba,BFY:()=>ka,nA6:()=>Ca,K3K:()=>_a,Uwq:()=>Aa,fZD:()=>$a,cwJ:()=>Ra,ndF:()=>Oa,A0N:()=>Ma,Hjg:()=>Da,vwO:()=>Mr,fs1:()=>Dr,FAs:()=>Wr});var r={};try{process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES&&"true"===process.env.CARBON_ENABLE_CSS_CUSTOM_PROPERTIES?r.enableCssCustomProperties=!0:r.enableCssCustomProperties=!1,process.env.CARBON_ENABLE_CSS_GRID&&"true"===process.env.CARBON_ENABLE_CSS_GRID?r.enableCssGrid=!0:r.enableCssGrid=!1,process.env.CARBON_ENABLE_V11_RELEASE?"true"===process.env.CARBON_ENABLE_V11_RELEASE?r.enableV11Release=!0:r.enableV11Release=!1:r.enableV11Release=!0,process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_TILE_CONTRAST?r.enableExperimentalTileContrast=!0:r.enableExperimentalTileContrast=!1,process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_DEFAULT_ICONS?r.enableV12TileDefaultIcons=!0:r.enableV12TileDefaultIcons=!1,process.env.CARBON_ENABLE_V12_TILE_RADIO_ICONS&&"true"===process.env.CARBON_ENABLE_V12_TILE_RADIO_ICONS?r.enableV12TileRadioIcons=!0:r.enableV12TileRadioIcons=!1,process.env.CARBON_ENABLE_V12_OVERFLOWMENU&&"true"===process.env.CARBON_ENABLE_V12_OVERFLOWMENU?r.enableV12Overflowmenu=!0:r.enableV12Overflowmenu=!1,process.env.CARBON_ENABLE_TREEVIEW_CONTROLLABLE&&"true"===process.env.CARBON_ENABLE_TREEVIEW_CONTROLLABLE?r.enableTreeviewControllable=!0:r.enableTreeviewControllable=!1,process.env.CARBON_ENABLE_V12_STRUCTURED_LIST_VISIBLE_ICONS&&"true"===process.env.CARBON_ENABLE_V12_STRUCTURED_LIST_VISIBLE_ICONS?r.enableV12StructuredListVisibleIcons=!0:r.enableV12StructuredListVisibleIcons=!1,process.env.CARBON_ENABLE_EXPERIMENTAL_FOCUS_WRAP_WITHOUT_SENTINELS&&"true"===process.env.CARBON_ENABLE_EXPERIMENTAL_FOCUS_WRAP_WITHOUT_SENTINELS?r.enableExperimentalFocusWrapWithoutSentinels=!0:r.enableExperimentalFocusWrapWithoutSentinels=!1,process.env.CARBON_ENABLE_V12_DYNAMIC_FLOATING_STYLES&&"true"===process.env.CARBON_ENABLE_V12_DYNAMIC_FLOATING_STYLES?r.enableV12DynamicFloatingStyles=!0:r.enableV12DynamicFloatingStyles=!1}catch(e){r.enableCssCustomProperties=!1,r.enableCssGrid=!1,r.enableV11Release=!0,r.enableExperimentalTileContrast=!1,r.enableV12TileDefaultIcons=!1,r.enableV12TileRadioIcons=!1,r.enableV12Overflowmenu=!1,r.enableTreeviewControllable=!1,r.enableV12StructuredListVisibleIcons=!1,r.enableExperimentalFocusWrapWithoutSentinels=!1,r.enableV12DynamicFloatingStyles=!1}var a=[{name:"enable-css-custom-properties",description:"Describe what the flag does",enabled:r.enableCssCustomProperties},{name:"enable-css-grid",description:"Enable CSS Grid Layout in the Grid and Column React components\n",enabled:r.enableCssGrid},{name:"enable-v11-release",description:"Enable the features and functionality for the v11 Release\n",enabled:r.enableV11Release},{name:"enable-experimental-tile-contrast",description:"Enable the experimental tile improved contrast styles\n",enabled:r.enableExperimentalTileContrast},{name:"enable-v12-tile-default-icons",description:"Enable rendering of default icons in the tile components\n",enabled:r.enableV12TileDefaultIcons},{name:"enable-v12-tile-radio-icons",description:"Enable rendering of radio icons in the RadioTile component\n",enabled:r.enableV12TileRadioIcons},{name:"enable-v12-overflowmenu",description:"Enable the use of the v12 OverflowMenu leveraging the Menu subcomponents\n",enabled:r.enableV12Overflowmenu},{name:"enable-treeview-controllable",description:"Enable the new TreeView controllable API\n",enabled:r.enableTreeviewControllable},{name:"enable-v12-structured-list-visible-icons",description:"Enable rendering of radio icons in the StructuredList component\n",enabled:r.enableV12StructuredListVisibleIcons},{name:"enable-experimental-focus-wrap-without-sentinels",description:"Enable the new focus wrap behavior that doesn't use sentinel nodes\n",enabled:r.enableExperimentalFocusWrapWithoutSentinels},{name:"enable-v12-dynamic-floating-styles",description:"Enable dynamic setting of floating styles for components like Popover, Tooltip, etc.\n",enabled:r.enableV12DynamicFloatingStyles}];function l(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 o(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,s(r.key),r)}}function i(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,a,l,o,i=[],s=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=l.call(n)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return i}}(e,t)||c(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 s(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function c(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}for(var u=function(){return e=function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.flags=new Map,t&&Object.keys(t).forEach((function(e){n.flags.set(e,t[e])}))},t=[{key:"checkForFlag",value:function(e){if(!this.flags.has(e))throw new Error("Unable to find a feature flag with the name: `".concat(e,"`"))}},{key:"add",value:function(e,t){if(this.flags.has(e))throw new Error("The feature flag: ".concat(e," already exists"));this.flags.set(e,t)}},{key:"enable",value:function(e){this.checkForFlag(e),this.flags.set(e,!0)}},{key:"disable",value:function(e){this.checkForFlag(e),this.flags.set(e,!1)}},{key:"merge",value:function(e){var t=this;Object.keys(e).forEach((function(n){t.flags.set(n,e[n])}))}},{key:"mergeWithScope",value:function(e){var t,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=c(e))){t&&(e=t);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){o=!0,a=e},f:function(){try{l||null==t.return||t.return()}finally{if(o)throw a}}}}(e.flags);try{for(n.s();!(t=n.n()).done;){var r=i(t.value,2),a=r[0],l=r[1];this.flags.has(a)||this.flags.set(a,l)}}catch(e){n.e(e)}finally{n.f()}}},{key:"enabled",value:function(e){return this.checkForFlag(e),this.flags.get(e)}}],t&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),d=new u(void 0),f=0;f<a.length;f++){var p=a[f];d.add(p.name,p.enabled)}function h(){return d.enabled.apply(d,arguments)}function m(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(){return g=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},g.apply(null,arguments)}!function(){d.merge.apply(d,arguments)}({"enable-css-custom-properties":!0,"enable-css-grid":!0,"enable-v11-release":!0,"enable-experimental-tile-contrast":!1,"enable-v12-tile-radio-icons":!1,"enable-v12-structured-list-visible-icons":!1,"enable-v12-dynamic-floating-styles":!1});var b=n(3373),v=n.n(b),y=n(1343),w=n.t(y,2),E=n.n(y);const x=E().createContext("cds");function S(){return E().useContext(x)}var k=n(9067),C=n.n(k);const _=(0,y.createContext)({disabled:!1}),N=e=>{let{disabled:t,children:n}=e;return E().createElement(_.Provider,{value:{disabled:t}},n)};function T(e){let{align:t="end",children:n,className:r,disabled:a=!1,isFlush:l=!1,ordered:o=!1,size:i,...s}=e;const c=S(),u=v()(`${c}--accordion`,r,{[`${c}--accordion--${t}`]:t,[`${c}--accordion--${i}`]:i,[`${c}--layout--size-${i}`]:i,[`${c}--accordion--flush`]:l&&"start"!==t}),d=o?"ol":"ul";return E().createElement(N,{disabled:a},E().createElement(d,g({className:u},s),n))}T.propTypes={align:C().oneOf(["start","end"]),children:C().node,className:C().string,disabled:C().bool,isFlush:C().bool,ordered:C().bool,size:C().oneOf(["sm","md","lg"])};var A=n(529);function $(){let e=0;return function(){return++e}}const R=!("undefined"==typeof window||!window.document||!window.document.createElement),O=E().createContext(null);function L(){return E().useContext(O)}const I={...E()},z=$(),P=R?y.useLayoutEffect:y.useEffect;let M=!1;const D=I.useId?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";const t=L();return`${t?`${t}-`:""}${e}-${I.useId()}`}:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";const t=L(),[n,r]=(0,y.useState)((()=>M?`${t?`${t}-`:""}${e}-${z()}`:null));return P((()=>{null===n&&r(`${t?`${t}-`:""}${e}-${z()}`)}),[z]),(0,y.useEffect)((()=>{!1===M&&(M=!0)}),[]),n};function B(e){const t=D();return e??t}const F={};function j(e,t){return function(t,n,r){if(void 0!==t[n]){F[r]&&F[r][n]||(F[r]={...F[r],[n]:!0});for(var a=arguments.length,l=new Array(a>3?a-3:0),o=3;o<a;o++)l[o-3]=arguments[o];return e(t,n,r,...l)}}}const V=(0,y.createContext)(null),H=E().forwardRef((function(e,t){let{as:n,children:r,dir:a="auto",...l}=e;const o=(0,y.useContext)(V),i={},s=n??"span",c={...o};if(o){const{direction:e,getTextDirection:t}=o;if(t&&t.current){const n=function(e){if("string"==typeof e)return e;const t=E().Children.map(e,(e=>"string"==typeof e?e:null))?.filter((e=>null!==e));return 1===t?.length?t[0]:t}(r),a=t.current(n);e!==a?(i.dir=a,c.direction=a):"auto"===e&&(i.dir=a)}else e!==a?(i.dir=a,c.direction=a):"auto"===e&&(i.dir=a)}else i.dir=a,c.direction=a;return E().createElement(V.Provider,{value:c},E().createElement(s,g({ref:t},l,i),r))}));function U(e,t){for(let n=0;n<t.length;n++)if(W(e,t[n]))return!0;return!1}function W(e){let{key:t,which:n,keyCode:r,code:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?e===t:"number"==typeof e?e===n||e===r:e.key&&Array.isArray(t)?-1!==t.indexOf(e.key):e.key===t||e.which===n||e.keyCode===r||e.code===a}H.propTypes={as:C().oneOfType([C().func,C().string,C().elementType]),children:C().node.isRequired,dir:C().oneOf(["ltr","rtl","auto"])};const q={key:"Tab",which:9,keyCode:9,code:"Tab"},K={key:"Enter",which:13,keyCode:13,code:"Enter"},Q={key:["Escape","Esc"],which:27,keyCode:27,code:"Esc"},Z={key:" ",which:32,keyCode:32,code:"Space"},Y={key:"ArrowLeft",which:37,keyCode:37,code:"ArrowLeft"},G={key:"ArrowUp",which:38,keyCode:38,code:"ArrowUp"},X={key:"ArrowRight",which:39,keyCode:39,code:"ArrowRight"},J={key:"ArrowDown",which:40,keyCode:40,code:"ArrowDown"},ee=e=>E().createElement("button",g({type:"button"},e));function te(e){let{children:t,className:n="",open:r=!1,onHeadingClick:a,renderExpando:l=ee,renderToggle:o,title:i="title",disabled:s,handleAnimationEnd:c,...u}=e;const[d,f]=(0,y.useState)(r),[p,h]=(0,y.useState)(r),m=(0,y.useContext)(_),b="boolean"==typeof s?s:m.disabled,w=D("accordion-item"),x=S(),k=v()({[`${x}--accordion__item`]:!0,[`${x}--accordion__item--active`]:d&&!b,[`${x}--accordion__item--disabled`]:b,[n]:!!n}),C=o||l,N=E().useCallback((e=>{e&&d&&(e.style.maxBlockSize="")}),[d]);return r!==p&&(f(r),h(r)),E().createElement("li",g({className:k},u),E().createElement(C,{disabled:b,"aria-controls":w,"aria-expanded":d,className:`${x}--accordion__heading`,onClick:function(e){const t=!d;f(t),a&&a({isOpen:t,event:e})},onKeyDown:function(e){d&&W(e,Q)&&f(!1)},type:"button"},E().createElement(A.c_,{className:`${x}--accordion__arrow`}),E().createElement(H,{as:"div",className:`${x}--accordion__title`},i)),E().createElement("div",{ref:N,className:`${x}--accordion__wrapper`,onTransitionEnd:function(e){c&&c(e)}},E().createElement("div",{id:w,className:`${x}--accordion__content`},t)))}te.propTypes={children:C().node,className:C().string,disabled:C().bool,onClick:C().func,onHeadingClick:C().func,open:C().bool,renderExpando:j(C().func),renderToggle:C().func,title:C().node};const ne={};function re(e,t,n){return function(r,a,l){if(void 0!==r[a]){if(!ne[l]||!ne[l][a]){ne[l]={...ne[l],[a]:!0};const e=r[a];n&&n(e);t&&!t.includes(e)&&(n||t.join(", "))}for(var o=arguments.length,i=new Array(o>3?o-3:0),s=3;s<o;s++)i[s-3]=arguments[s];return e(r,a,l,...i)}}}var ae="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;const le=e=>(0,y.useCallback)((t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}),e);function oe(e,t){const n=(0,y.useRef)(null);(0,y.useEffect)((()=>{n.current=t}),[t]),(0,y.useEffect)((()=>{function t(e){n.current&&n.current(e)}return window.addEventListener(e,t),()=>{window.removeEventListener(e,t)}}),[e])}function ie(e){return ue(e)?(e.nodeName||"").toLowerCase():"#document"}function se(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ce(e){var t;return null==(t=(ue(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ue(e){return e instanceof Node||e instanceof se(e).Node}function de(e){return e instanceof Element||e instanceof se(e).Element}function fe(e){return e instanceof HTMLElement||e instanceof se(e).HTMLElement}function pe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof se(e).ShadowRoot)}function he(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=we(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function me(e){return["table","td","th"].includes(ie(e))}function ge(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function be(e){const t=ve(),n=we(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function ve(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ye(e){return["html","body","#document"].includes(ie(e))}function we(e){return se(e).getComputedStyle(e)}function Ee(e){return de(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xe(e){if("html"===ie(e))return e;const t=e.assignedSlot||e.parentNode||pe(e)&&e.host||ce(e);return pe(t)?t.host:t}function Se(e){const t=xe(e);return ye(t)?e.ownerDocument?e.ownerDocument.body:e.body:fe(t)&&he(t)?t:Se(t)}function ke(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const a=Se(e),l=a===(null==(r=e.ownerDocument)?void 0:r.body),o=se(a);return l?t.concat(o,o.visualViewport||[],he(a)?a:[],o.frameElement&&n?ke(o.frameElement):[]):t.concat(a,ke(a,[],n))}var Ce=n(3144);const _e=Math.min,Ne=Math.max,Te=Math.round,Ae=Math.floor,$e=e=>({x:e,y:e}),Re={left:"right",right:"left",bottom:"top",top:"bottom"},Oe={start:"end",end:"start"};function Le(e,t){return"function"==typeof e?e(t):e}function Ie(e){return e.split("-")[0]}function ze(e){return e.split("-")[1]}function Pe(e){return"y"===e?"height":"width"}function Me(e){return["top","bottom"].includes(Ie(e))?"y":"x"}function De(e){return"x"===Me(e)?"y":"x"}function Be(e){return e.replace(/start|end/g,(e=>Oe[e]))}function Fe(e){return e.replace(/left|right|bottom|top/g,(e=>Re[e]))}function je(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Ve(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function He(e,t,n){let{reference:r,floating:a}=e;const l=Me(t),o=De(t),i=Pe(o),s=Ie(t),c="y"===l,u=r.x+r.width/2-a.width/2,d=r.y+r.height/2-a.height/2,f=r[i]/2-a[i]/2;let p;switch(s){case"top":p={x:u,y:r.y-a.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-a.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ze(t)){case"start":p[o]-=f*(n&&c?-1:1);break;case"end":p[o]+=f*(n&&c?-1:1)}return p}function Ue(e){const t=we(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=fe(e),l=a?e.offsetWidth:n,o=a?e.offsetHeight:r,i=Te(n)!==l||Te(r)!==o;return i&&(n=l,r=o),{width:n,height:r,$:i}}function We(e){return de(e)?e:e.contextElement}function qe(e){const t=We(e);if(!fe(t))return $e(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:l}=Ue(t);let o=(l?Te(n.width):n.width)/r,i=(l?Te(n.height):n.height)/a;return o&&Number.isFinite(o)||(o=1),i&&Number.isFinite(i)||(i=1),{x:o,y:i}}const Ke=$e(0);function Qe(e){const t=se(e);return ve()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ke}function Ze(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),l=We(e);let o=$e(1);t&&(r?de(r)&&(o=qe(r)):o=qe(e));const i=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==se(e))&&t}(l,n,r)?Qe(l):$e(0);let s=(a.left+i.x)/o.x,c=(a.top+i.y)/o.y,u=a.width/o.x,d=a.height/o.y;if(l){const e=se(l),t=r&&de(r)?se(r):r;let n=e,a=n.frameElement;for(;a&&r&&t!==n;){const e=qe(a),t=a.getBoundingClientRect(),r=we(a),l=t.left+(a.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(a.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=l,c+=o,n=se(a),a=n.frameElement}}return Ve({width:u,height:d,x:s,y:c})}function Ye(e){return Ze(ce(e)).left+Ee(e).scrollLeft}function Ge(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=se(e),r=ce(e),a=n.visualViewport;let l=r.clientWidth,o=r.clientHeight,i=0,s=0;if(a){l=a.width,o=a.height;const e=ve();(!e||e&&"fixed"===t)&&(i=a.offsetLeft,s=a.offsetTop)}return{width:l,height:o,x:i,y:s}}(e,n);else if("document"===t)r=function(e){const t=ce(e),n=Ee(e),r=e.ownerDocument.body,a=Ne(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=Ne(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Ye(e);const i=-n.scrollTop;return"rtl"===we(r).direction&&(o+=Ne(t.clientWidth,r.clientWidth)-a),{width:a,height:l,x:o,y:i}}(ce(e));else if(de(t))r=function(e,t){const n=Ze(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,l=fe(e)?qe(e):$e(1);return{width:e.clientWidth*l.x,height:e.clientHeight*l.y,x:a*l.x,y:r*l.y}}(t,n);else{const n=Qe(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Ve(r)}function Xe(e,t){const n=xe(e);return!(n===t||!de(n)||ye(n))&&("fixed"===we(n).position||Xe(n,t))}function Je(e,t,n){const r=fe(t),a=ce(t),l="fixed"===n,o=Ze(e,!0,l,t);let i={scrollLeft:0,scrollTop:0};const s=$e(0);if(r||!r&&!l)if(("body"!==ie(t)||he(a))&&(i=Ee(t)),r){const e=Ze(t,!0,l,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else a&&(s.x=Ye(a));return{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function et(e){return"static"===we(e).position}function tt(e,t){return fe(e)&&"fixed"!==we(e).position?t?t(e):e.offsetParent:null}function nt(e,t){const n=se(e);if(ge(e))return n;if(!fe(e)){let t=xe(e);for(;t&&!ye(t);){if(de(t)&&!et(t))return t;t=xe(t)}return n}let r=tt(e,t);for(;r&&me(r)&&et(r);)r=tt(r,t);return r&&ye(r)&&et(r)&&!be(r)?n:r||function(e){let t=xe(e);for(;fe(t)&&!ye(t);){if(ge(t))return null;if(be(t))return t;t=xe(t)}return null}(e)||n}const rt={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const l="fixed"===a,o=ce(r),i=!!t&&ge(t.floating);if(r===o||i&&l)return n;let s={scrollLeft:0,scrollTop:0},c=$e(1);const u=$e(0),d=fe(r);if((d||!d&&!l)&&(("body"!==ie(r)||he(o))&&(s=Ee(r)),fe(r))){const e=Ze(r);c=qe(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x,y:n.y*c.y-s.scrollTop*c.y+u.y}},getDocumentElement:ce,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const l=[..."clippingAncestors"===n?ge(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ke(e,[],!1).filter((e=>de(e)&&"body"!==ie(e))),a=null;const l="fixed"===we(e).position;let o=l?xe(e):e;for(;de(o)&&!ye(o);){const t=we(o),n=be(o);n||"fixed"!==t.position||(a=null),(l?!n&&!a:!n&&"static"===t.position&&a&&["absolute","fixed"].includes(a.position)||he(o)&&!n&&Xe(e,o))?r=r.filter((e=>e!==o)):a=t,o=xe(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=l[0],i=l.reduce(((e,n)=>{const r=Ge(t,n,a);return e.top=Ne(r.top,e.top),e.right=_e(r.right,e.right),e.bottom=_e(r.bottom,e.bottom),e.left=Ne(r.left,e.left),e}),Ge(t,o,a));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}},getOffsetParent:nt,getElementRects:async function(e){const t=this.getOffsetParent||nt,n=this.getDimensions,r=await n(e.floating);return{reference:Je(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Ue(e);return{width:t,height:n}},getScale:qe,isElement:de,isRTL:function(e){return"rtl"===we(e).direction}};function at(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:o="function"==typeof ResizeObserver,layoutShift:i="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=We(e),u=a||l?[...c?ke(c):[],...ke(t)]:[];u.forEach((e=>{a&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)}));const d=c&&i?function(e,t){let n,r=null;const a=ce(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function o(i,s){void 0===i&&(i=!1),void 0===s&&(s=1),l();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(i||t(),!d||!f)return;const p={rootMargin:-Ae(u)+"px "+-Ae(a.clientWidth-(c+d))+"px "+-Ae(a.clientHeight-(u+f))+"px "+-Ae(c)+"px",threshold:Ne(0,_e(1,s))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==s){if(!h)return o();t?o(!1,t):n=setTimeout((()=>{o(!1,1e-7)}),1e3)}h=!1}try{r=new IntersectionObserver(m,{...p,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(m,p)}r.observe(e)}(!0),l}(c,n):null;let f,p=-1,h=null;o&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),c&&!s&&h.observe(c),h.observe(t));let m=s?Ze(e):null;return s&&function t(){const r=Ze(e);!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n(),m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{a&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}const lt=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:l,placement:o,middlewareData:i}=t,s=await async function(e,t){const{placement:n,platform:r,elements:a}=e,l=await(null==r.isRTL?void 0:r.isRTL(a.floating)),o=Ie(n),i=ze(n),s="y"===Me(n),c=["left","top"].includes(o)?-1:1,u=l&&s?-1:1,d=Le(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return i&&"number"==typeof h&&(p="end"===i?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return o===(null==(n=i.offset)?void 0:n.placement)&&null!=(r=i.arrow)&&r.alignmentOffset?{}:{x:a+s.x,y:l+s.y,data:{...s,placement:o}}}}},ot=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:l,rects:o,initialPlacement:i,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=Le(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};const b=Ie(a),v=Me(i),y=Ie(i)===i,w=await(null==s.isRTL?void 0:s.isRTL(c.floating)),E=f||(y||!m?[Fe(i)]:function(e){const t=Fe(e);return[Be(e),t,Be(t)]}(i)),x="none"!==h;!f&&x&&E.push(...function(e,t,n,r){const a=ze(e);let l=function(e,t,n){const r=["left","right"],a=["right","left"],l=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?l:o;default:return[]}}(Ie(e),"start"===n,r);return a&&(l=l.map((e=>e+"-"+a)),t&&(l=l.concat(l.map(Be)))),l}(i,m,h,w));const S=[i,...E],k=await async function(e,t){var n;void 0===t&&(t={});const{x:r,y:a,platform:l,rects:o,elements:i,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Le(t,e),h=je(p),m=i[f?"floating"===d?"reference":"floating":d],g=Ve(await l.getClippingRect({element:null==(n=await(null==l.isElement?void 0:l.isElement(m)))||n?m:m.contextElement||await(null==l.getDocumentElement?void 0:l.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:s})),b="floating"===d?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,v=await(null==l.getOffsetParent?void 0:l.getOffsetParent(i.floating)),y=await(null==l.isElement?void 0:l.isElement(v))&&await(null==l.getScale?void 0:l.getScale(v))||{x:1,y:1},w=Ve(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:b,offsetParent:v,strategy:s}):b);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}(t,g),C=[];let _=(null==(r=l.flip)?void 0:r.overflows)||[];if(u&&C.push(k[b]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=ze(e),a=De(e),l=Pe(a);let o="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=Fe(o)),[o,Fe(o)]}(a,o,w);C.push(k[e[0]],k[e[1]])}if(_=[..._,{placement:a,overflows:C}],!C.every((e=>e<=0))){var N,T;const e=((null==(N=l.flip)?void 0:N.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(T=_.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(p){case"bestFit":{var A;const e=null==(A=_.filter((e=>{if(x){const t=Me(e.placement);return t===v||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:A[0];e&&(n=e);break}case"initialPlacement":n=i}if(a!==n)return{reset:{placement:n}}}return{}}}},it=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:l,platform:o,elements:i,middlewareData:s}=t,{element:c,padding:u=0}=Le(e,t)||{};if(null==c)return{};const d=je(u),f={x:n,y:r},p=De(a),h=Pe(p),m=await o.getDimensions(c),g="y"===p,b=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=l.reference[h]+l.reference[p]-f[p]-l.floating[h],E=f[p]-l.reference[p],x=await(null==o.getOffsetParent?void 0:o.getOffsetParent(c));let S=x?x[y]:0;S&&await(null==o.isElement?void 0:o.isElement(x))||(S=i.floating[y]||l.floating[h]);const k=w/2-E/2,C=S/2-m[h]/2-1,_=_e(d[b],C),N=_e(d[v],C),T=_,A=S-m[h]-N,$=S/2-m[h]/2+k,R=Ne(T,_e($,A)),O=!s.arrow&&null!=ze(a)&&$!==R&&l.reference[h]/2-($<T?_:N)-m[h]/2<0,L=O?$<T?$-T:$-A:0;return{[p]:f[p]+L,data:{[p]:R,centerOffset:$-R-L,...O&&{alignmentOffset:L}},reset:O}}}),st=(e,t,n)=>{const r=new Map,a={platform:rt,...n},l={...a.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:l=[],platform:o}=n,i=l.filter(Boolean),s=await(null==o.isRTL?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=He(c,r,s),f=r,p={},h=0;for(let n=0;n<i.length;n++){const{name:l,fn:m}=i[n],{x:g,y:b,data:v,reset:y}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:a,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=b?b:d,p={...p,[l]:{...p[l],...v}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await o.getElementRects({reference:e,floating:t,strategy:a}):y.rects),({x:u,y:d}=He(c,f,s))),n=-1)}return{x:u,y:d,placement:f,strategy:a,middlewareData:p}})(e,t,{...a,platform:l})};var ct="undefined"!=typeof document?y.useLayoutEffect:y.useEffect;function ut(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!ut(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!=r--;){const n=a[r];if(!("_owner"===n&&e.$$typeof||ut(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function dt(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ft(e,t){const n=dt(e);return Math.round(t*n)/n}function pt(e){const t=y.useRef(e);return ct((()=>{t.current=e})),t}const ht=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(a=n,{}.hasOwnProperty.call(a,"current"))?null!=n.current?it({element:n.current,padding:r}).fn(t):{}:n?it({element:n,padding:r}).fn(t):{};var a}}),mt=(e,t)=>({...ot(e),options:[e,t]}),gt=(e,t)=>({...ht(e),options:[e,t]});const bt={...w},vt=bt.useInsertionEffect||(e=>e());var yt="undefined"!=typeof document?y.useLayoutEffect:y.useEffect;let wt=!1,Et=0;const xt=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Et++,St=bt.useId||function(){const[e,t]=y.useState((()=>wt?xt():void 0));return yt((()=>{null==e&&t(xt())}),[]),y.useEffect((()=>{wt=!0}),[]),e};const kt=y.createContext(null),Ct=y.createContext(null);function _t(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,a=St(),l=y.useRef({}),[o]=y.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),i=null!=((null==(p=y.useContext(kt))?void 0:p.id)||null),[s,c]=y.useState(r.reference),u=function(e){const t=y.useRef((()=>{}));return vt((()=>{t.current=e})),y.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}(((e,t,r)=>{l.current.openEvent=e?t:void 0,o.emit("openchange",{open:e,event:t,reason:r,nested:i}),null==n||n(e,t,r)})),d=y.useMemo((()=>({setPositionReference:c})),[]),f=y.useMemo((()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference})),[s,r.reference,r.floating]);var p;return y.useMemo((()=>({dataRef:l,open:t,onOpenChange:u,elements:f,events:o,floatingId:a,refs:d})),[t,u,f,o,a,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,a=r.elements,[l,o]=y.useState(null),[i,s]=y.useState(null),c=(null==a?void 0:a.reference)||l,u=y.useRef(null),d=y.useContext(Ct);yt((()=>{c&&(u.current=c)}),[c]);const f=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:l,floating:o}={},transform:i=!0,whileElementsMounted:s,open:c}=e,[u,d]=y.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=y.useState(r);ut(f,r)||p(r);const[h,m]=y.useState(null),[g,b]=y.useState(null),v=y.useCallback((e=>{e!==S.current&&(S.current=e,m(e))}),[]),w=y.useCallback((e=>{e!==k.current&&(k.current=e,b(e))}),[]),E=l||h,x=o||g,S=y.useRef(null),k=y.useRef(null),C=y.useRef(u),_=null!=s,N=pt(s),T=pt(a),A=y.useCallback((()=>{if(!S.current||!k.current)return;const e={placement:t,strategy:n,middleware:f};T.current&&(e.platform=T.current),st(S.current,k.current,e).then((e=>{const t={...e,isPositioned:!0};$.current&&!ut(C.current,t)&&(C.current=t,Ce.flushSync((()=>{d(t)})))}))}),[f,t,n,T]);ct((()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const $=y.useRef(!1);ct((()=>($.current=!0,()=>{$.current=!1})),[]),ct((()=>{if(E&&(S.current=E),x&&(k.current=x),E&&x){if(N.current)return N.current(E,x,A);A()}}),[E,x,A,N,_]);const R=y.useMemo((()=>({reference:S,floating:k,setReference:v,setFloating:w})),[v,w]),O=y.useMemo((()=>({reference:E,floating:x})),[E,x]),L=y.useMemo((()=>{const e={position:n,left:0,top:0};if(!O.floating)return e;const t=ft(O.floating,u.x),r=ft(O.floating,u.y);return i?{...e,transform:"translate("+t+"px, "+r+"px)",...dt(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,i,O.floating,u.x,u.y]);return y.useMemo((()=>({...u,update:A,refs:R,elements:O,floatingStyles:L})),[u,A,R,O,L])}({...e,elements:{...a,...i&&{reference:i}}}),p=y.useCallback((e=>{const t=de(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s(t),f.refs.setReference(t)}),[f.refs]),h=y.useCallback((e=>{(de(e)||null===e)&&(u.current=e,o(e)),(de(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!de(e))&&f.refs.setReference(e)}),[f.refs]),m=y.useMemo((()=>({...f.refs,setReference:h,setPositionReference:p,domReference:u})),[f.refs,h,p]),g=y.useMemo((()=>({...f.elements,domReference:c})),[f.elements,c]),b=y.useMemo((()=>({...f,...r,refs:m,elements:g,nodeId:t})),[f,m,g,t,r]);return yt((()=>{r.dataRef.current.floatingContext=b;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=b)})),y.useMemo((()=>({...f,context:b,refs:m,elements:g})),[f,m,g,b])}const Nt=["top","right","bottom","left"];function Tt(e,t){return"function"==typeof e?e(t):e}function At(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}async function $t(e,t){var n;void 0===t&&(t={});const{x:r,y:a,platform:l,rects:o,elements:i,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Tt(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),m=i[f?"floating"===d?"reference":"floating":d],g=At(await l.getClippingRect({element:null==(n=await(null==l.isElement?void 0:l.isElement(m)))||n?m:m.contextElement||await(null==l.getDocumentElement?void 0:l.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:s})),b="floating"===d?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,v=await(null==l.getOffsetParent?void 0:l.getOffsetParent(i.floating)),y=await(null==l.isElement?void 0:l.isElement(v))&&await(null==l.getScale?void 0:l.getScale(v))||{x:1,y:1},w=At(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:b,offsetParent:v,strategy:s}):b);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}function Rt(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ot(e){return Nt.some((t=>e[t]>=0))}Math.min,Math.max;const Lt=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Tt(e,t);switch(r){case"referenceHidden":{const e=Rt(await $t(t,{...a,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Ot(e)}}}case"escaped":{const e=Rt(await $t(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Ot(e)}}}default:return{}}}}},It=(0,y.createContext)(d);function zt(e){return(0,y.useContext)(It).enabled(e)}C().node,j(C().objectOf(C().bool)),C().bool,C().bool,C().bool,C().bool,C().bool,C().bool;const Pt=E().createContext({setFloating:{current:null},caretRef:{current:null},autoAlign:null}),Mt=E().forwardRef((function(e,t){let{isTabTip:n,align:r=(n?"bottom-start":"bottom"),as:a="span",autoAlign:l=!1,autoAlignBoundary:o,caret:i=!n,className:s,children:c,dropShadow:u=!0,highContrast:d=!1,onRequestClose:f,open:p,alignmentAxisOffset:h,...m}=e;const b=S(),w=(0,y.useRef)(null),x=(0,y.useRef)(null),k=(0,y.useRef)(null),C=zt("enable-v12-dynamic-floating-styles")||l;let _=function(e){switch(e){case"top-left":return"top-start";case"top-right":return"top-end";case"bottom-left":return"bottom-start";case"bottom-right":return"bottom-end";case"left-bottom":return"left-end";case"left-top":return"left-start";case"right-bottom":return"right-end";case"right-top":return"right-start";default:return e}}(r);oe("blur",(()=>{p&&f?.()})),oe("click",(e=>{p&&!k?.current?.contains(e.target)&&f?.()}));const N=E().Children.toArray(c).some((e=>e?.props?.className?.includes("slug")||e?.props?.className?.includes("ai-label")))?7:6,T=(0,y.useRef)({offset:10,caretHeight:N});ae((()=>{if(i&&k.current){const e=window.getComputedStyle(k.current,null),t=e.getPropertyValue("--cds-popover-offset"),n=e.getPropertyValue("--cds-popover-caret-height");t&&(T.current.offset=t.includes("px")?1*Number(t.split("px",1)[0]):16*Number(t.split("rem",1)[0])),n&&(T.current.caretHeight=n.includes("px")?1*Number(n.split("px",1)[0]):16*Number(n.split("rem",1)[0]))}}));const{refs:A,floatingStyles:$,placement:R,middlewareData:O}=_t(C?{placement:_,strategy:"fixed",middleware:[(L=n?0:{alignmentAxis:h,mainAxis:T?.current?.offset},{...lt(L),options:[L,undefined]}),l&&mt({fallbackPlacements:_.includes("bottom")?["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"]:["top","top-start","top-end","left","left-start","left-end","right","right-start","right-end","bottom","bottom-start","bottom-end"],fallbackStrategy:"initialPlacement",fallbackAxisSideDirection:"start",boundary:o}),gt({element:x}),l&&Lt()],whileElementsMounted:at}:{});var L;const I=(0,y.useMemo)((()=>({floating:w,setFloating:A.setFloating,caretRef:x,autoAlign:l})),[A.setFloating,l]);n&&(["bottom-start","bottom-end"].includes(_)||(_="bottom-start")),(0,y.useEffect)((()=>{if(C){const e={...$,visibility:O.hide?.referenceHidden?"hidden":"visible"};if(Object.keys(e).forEach((t=>{A.floating.current&&(A.floating.current.style[t]=e[t])})),i&&O&&O.arrow&&x?.current){const{x:e,y:t}=O.arrow,n={top:"bottom",right:"left",bottom:"top",left:"right"}[R.split("-")[0]];x.current.style.left=null!=e?`${e}px`:"",x.current.style.top=null!=t?`${t}px`:"",x.current.style.right="",x.current.style.bottom="",n&&(x.current.style[n]=-T?.current?.caretHeight+"px")}}}),[$,A.floating,C,O,R,i]);const z=le([t,k]),P=l&&R!==_?R:_,M=v()({[`${b}--popover-container`]:!0,[`${b}--popover--caret`]:i,[`${b}--popover--drop-shadow`]:u,[`${b}--popover--high-contrast`]:d,[`${b}--popover--open`]:p,[`${b}--popover--auto-align ${b}--autoalign`]:C,[`${b}--popover--${P}`]:!0,[`${b}--popover--tab-tip`]:n},s),D=E().Children.map(c,(e=>{const t=e,r=t?.type?.displayName,a="button"===t?.type,l=C&&r&&["ToggletipButton"].includes(r),o=C&&!["ToggletipContent","PopoverContent"].includes(r);if(E().isValidElement(t)&&(a||l||o)){const e=t?.props?.className,r=(t?.props).ref,a=v()(`${b}--popover--tab-tip__button`,e);return E().cloneElement(t,{className:n&&"button"===t?.type?a:e||"",ref:e=>{(C&&"PopoverContent"!==t?.type?.displayName||C&&"ToggletipButton"===t?.type?.displayName)&&A.setReference(e),"function"==typeof r?r(e):null!=r&&(r.current=e)}})}return t})),B=a;return E().createElement(Pt.Provider,{value:I},E().createElement(B,g({},m,{className:M,ref:z}),C||n?D:c))}));function Dt(e,t){let{className:n,children:r,...a}=e;const l=S(),{setFloating:o,caretRef:i,autoAlign:s}=E().useContext(Pt),c=le([o,t]),u=zt("enable-v12-dynamic-floating-styles")||s;return E().createElement("span",g({},a,{className:`${l}--popover`}),E().createElement("span",{className:v()(`${l}--popover-content`,n),ref:c},r,u&&E().createElement("span",{className:v()({[`${l}--popover-caret`]:!0,[`${l}--popover--auto-align`]:!0}),ref:i})),!u&&E().createElement("span",{className:v()({[`${l}--popover-caret`]:!0}),ref:i}))}Mt.propTypes={align:re(C().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],(e=>({"top-left":"top-start","top-right":"top-end","bottom-left":"bottom-start","bottom-right":"bottom-end","left-bottom":"left-end","left-top":"left-start","right-bottom":"right-end","right-top":"right-start"}[e]))),as:C().oneOfType([C().string,C().elementType]),autoAlign:C().bool,autoAlignBoundary:C().oneOfType([C().oneOf(["clippingAncestors"]),C().elementType,C().arrayOf(C().elementType),C().exact({x:C().number.isRequired,y:C().number.isRequired,width:C().number.isRequired,height:C().number.isRequired})]),caret:C().bool,children:C().node,className:C().string,dropShadow:C().bool,highContrast:C().bool,isTabTip:C().bool,onRequestClose:C().func,open:C().bool.isRequired};const Bt=E().forwardRef(Dt);function Ft(e){if(!e||!e.childNodes)return null;if(function(e){if(void 0===e.tabIndex||e.tabIndex<0)return!1;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type;default:return!0}}(e))return e;for(const t of e.childNodes){const e=Ft(t);if(e)return e}return null}function jt(e){if(!e||!e.childNodes)return null;if(e?.getAttribute?.("role")&&""!==e.getAttribute("role"))return e;for(const t of e.childNodes){const e=jt(t);if(e)return e}return null}Bt.displayName="PopoverContent",Bt.propTypes={children:C().node,className:C().string};const Vt=new Set(["mouseup","touchend","touchcancel"]);function Ht(e){let{align:t="top",className:n,children:r,label:a,description:l,enterDelayMs:o=100,leaveDelayMs:i=300,defaultOpen:s=!1,closeOnActivation:c=!1,...u}=e;(0,y.useRef)(null);const[d,f]=function(e){const[t,n]=(0,y.useState)(e),r=(0,y.useRef)(null),a=(0,y.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;window.clearTimeout(r.current??void 0),r.current=null,0!==t?r.current=window.setTimeout((()=>{n(e),r.current=null}),t):n(e)}),[]);return(0,y.useEffect)((()=>()=>{window.clearTimeout(r.current??void 0)}),[]),[t,a]}(s),[p,h]=(0,y.useState)(!1),[m,b]=(0,y.useState)(!1),[w,x]=(0,y.useState)(!1),k=D("tooltip"),C=S(),_=E().Children.only(r),N={onFocus:()=>!m&&f(!0),onBlur:()=>{f(!1),b(!1)},onClick:()=>c&&f(!1),onMouseEnter:A,onMouseLeave:$,onMouseDown:function(){b(!0),R()},onMouseMove:function(e){1===e.buttons?h(!0):h(!1)},onTouchStart:R};a?N["aria-labelledby"]=k:N["aria-describedby"]=k;const T=(0,y.useCallback)((e=>{d&&W(e,Q)&&(e.stopPropagation(),f(!1)),d&&c&&(W(e,K)||W(e,Z))&&f(!1)}),[c,d,f]);function A(){u?.onMouseEnter||(x(!0),f(!0,o))}function $(){x(!1),p||f(!1,i)}function R(){h(!0)}ae((()=>{if(d)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){W(e,Q)&&T(e)}}),[d,T]);const O=(0,y.useCallback)((()=>{h(!1),w||f(!1,i)}),[w,i,f]);return(0,y.useEffect)((()=>(p&&Vt.forEach((e=>{document.addEventListener(e,O)})),()=>{Vt.forEach((e=>{document.removeEventListener(e,O)}))})),[p,O]),E().createElement(Mt,g({},u,{align:t,className:v()(`${C}--tooltip`,n),dropShadow:!1,highContrast:!0,onKeyDown:T,onMouseLeave:$,open:d}),E().createElement("div",{className:`${C}--tooltip-trigger__wrapper`},void 0!==_?E().cloneElement(_,{...N,...function(e){const t=Object.keys(N).filter((e=>e.startsWith("on"))),n={};return t.forEach((t=>{n[t]=n=>{N[t](n),e?.[t]&&e?.[t](n)}})),n}(_.props)}):null),E().createElement(Bt,{"aria-hidden":d?"false":"true",className:`${C}--tooltip-content`,id:k,onMouseEnter:A,role:"tooltip"},a||l))}Ht.propTypes={align:C().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),children:C().node,className:C().string,closeOnActivation:C().bool,defaultOpen:C().bool,description:C().node,enterDelayMs:C().number,label:C().node,leaveDelayMs:C().number};const Ut=E().forwardRef((function(e,t){let{as:n,children:r,className:a,dangerDescription:l="danger",disabled:o=!1,hasIconOnly:i=!1,href:s,iconDescription:c,isExpressive:u=!1,isSelected:d,kind:f="primary",onBlur:p,onClick:h,onFocus:m,onMouseEnter:g,onMouseLeave:b,renderIcon:y,size:w,tabIndex:x,type:k="button",...C}=e;const _=S(),N={tabIndex:x,className:v()(a,{[`${_}--btn`]:!0,[`${_}--btn--sm`]:"sm"===w&&!u,[`${_}--btn--md`]:"md"===w&&!u,[`${_}--btn--xl`]:"xl"===w,[`${_}--btn--2xl`]:"2xl"===w,[`${_}--layout--size-${w}`]:w,[`${_}--btn--${f}`]:f,[`${_}--btn--disabled`]:o,[`${_}--btn--expressive`]:u,[`${_}--btn--icon-only`]:i&&!a?.includes(`${_}--btn--icon-only`),[`${_}--btn--selected`]:i&&d&&"ghost"===f}),ref:t},T=y?E().createElement(y,{"aria-label":c,className:`${_}--btn__icon`,"aria-hidden":"true"}):null,A=["danger","danger--tertiary","danger--ghost"];let $="button";const R=D("danger-description"),{"aria-pressed":O,"aria-describedby":L}=C;let I={disabled:o,type:k,"aria-describedby":A.includes(f)?R:L||void 0,"aria-pressed":O??(i&&"ghost"===f?d:void 0)};const z={href:s};let P=null;return A.includes(f)&&(P=E().createElement("span",{id:R,className:`${_}--visually-hidden`},l)),n?($=n,I={...I,...z}):s&&!o&&($="a",I=z),E().createElement($,{onMouseEnter:g,onMouseLeave:b,onFocus:m,onBlur:p,onClick:h,...C,...N,...I},P,r,T)})),Wt=["primary","secondary","ghost","tertiary"],qt=E().forwardRef((function(e,t){let{align:n,autoAlign:r=!1,children:a,className:l,closeOnActivation:o=!0,defaultOpen:i=!1,disabled:s,enterDelayMs:c=100,kind:u,label:d,leaveDelayMs:f=100,wrapperClasses:p,size:h,isSelected:m,...b}=e;const y=S(),w=v()(p,`${y}--icon-tooltip`,{[`${y}--icon-tooltip--disabled`]:s});return E().createElement(Ht,{align:n,autoAlign:r,closeOnActivation:o,className:w,defaultOpen:i,enterDelayMs:c,label:d,leaveDelayMs:f},E().createElement(Ut,g({},b,{disabled:s,kind:u,ref:t,size:h,className:v()(`${y}--btn--icon-only`,{[`${y}--btn--selected`]:m},l)}),a))}));qt.propTypes={align:re(C().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],(e=>({"top-left":"top-start","top-right":"top-end","bottom-left":"bottom-start","bottom-right":"bottom-end","left-bottom":"left-end","left-top":"left-start","right-bottom":"right-end","right-top":"right-start"}[e]))),autoAlign:C().bool,href:C().string,children:C().node,className:C().string,closeOnActivation:C().bool,defaultOpen:C().bool,disabled:C().bool,enterDelayMs:C().number,isSelected:C().bool,kind:C().oneOf(Wt),label:C().node.isRequired,leaveDelayMs:C().number,size:C().oneOf(["sm","md","lg"]),wrapperClasses:C().string};const Kt=e=>function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];for(let n=0;n<e.length&&!t.defaultPrevented;n++){const a=e[n];"function"==typeof a&&a(t,...r)}},Qt=["primary","secondary","danger","ghost","danger--primary","danger--ghost","danger--tertiary","tertiary"],Zt=E().forwardRef((function(e,t){const n=(0,y.useRef)(null),{as:r,autoAlign:a=!1,children:l,hasIconOnly:o=!1,iconDescription:i,kind:s="primary",onBlur:c,onClick:u,onFocus:d,onMouseEnter:f,onMouseLeave:p,renderIcon:h,size:m,tooltipAlignment:b="center",tooltipPosition:v="top",...w}=e,x=e=>{e.target===n.current&&e.preventDefault()},S=h?E().createElement(h,null):null;if(function(e){return!0===e}(o)){let e;return"top"!==v&&"bottom"!==v||("center"===b&&(e=v),"end"===b&&(e=`${v}-end`),"start"===b&&(e=`${v}-start`)),"right"!==v&&"left"!==v||(e=v),E().createElement(qt,g({},w,{ref:t,as:r,align:e,label:i,kind:s,size:m,onMouseEnter:f,onMouseLeave:p,onFocus:d,onBlur:c,autoAlign:a,onClick:Kt([u,x]),renderIcon:S?null:h}),S??l)}{const{tooltipAlignment:n,...r}=e;return E().createElement(Ut,g({ref:t},r))}}));Zt.displayName="Button",Zt.propTypes={as:C().oneOfType([C().func,C().string,C().elementType]),autoAlign:C().bool,children:C().node,className:C().string,dangerDescription:C().string,disabled:C().bool,hasIconOnly:C().bool,href:C().string,iconDescription:e=>!e.renderIcon||e.children||e.iconDescription?null:new Error("renderIcon property specified without also providing an iconDescription property."),isExpressive:C().bool,isSelected:C().bool,kind:(e,t,n)=>{const{hasIconOnly:r}=e,a=r?Wt:Qt;return void 0===e[t]||a.includes(e[t])?null:new Error(`Invalid prop \`${t}\` supplied to \`${n}\`. Expected one of ${a.join(", ")}.`)},onBlur:C().func,onClick:C().func,onFocus:C().func,onMouseEnter:C().func,onMouseLeave:C().func,renderIcon:C().oneOfType([C().func,C().object]),role:C().string,size:C().oneOf(["sm","md","lg","xl","2xl"]),tabIndex:C().number,tooltipAlignment:C().oneOf(["start","center","end"]),tooltipPosition:C().oneOf(["top","right","bottom","left"]),type:C().oneOf(["button","reset","submit"])};const Yt=E().forwardRef((function(e,t){let{children:n,className:r,stacked:a,...l}=e;const o=S(),i=v()(r,`${o}--btn-set`,{[`${o}--btn-set--stacked`]:a});return E().createElement("div",g({},l,{className:i,ref:t}),n)}));var Gt,Xt;Yt.displayName="ButtonSet",Yt.propTypes={children:C().node,className:C().string,stacked:C().bool};const Jt=e=>{let{headers:t,rowCount:n=5,columnCount:r=5,zebra:a=!1,compact:l=!1,className:o,showHeader:i=!0,showToolbar:s=!0,...c}=e;const u=S(),d=v()(o,{[`${u}--skeleton`]:!0,[`${u}--data-table`]:!0,[`${u}--data-table--zebra`]:a,[`${u}--data-table--compact`]:l}),f=n,p=Array(f),h=Array.from({length:r},((e,t)=>t));for(let e=0;e<f;e++)p[e]=E().createElement("tr",{key:e},h.map((e=>E().createElement("td",{key:e},Gt||(Gt=E().createElement("span",null))))));return E().createElement("div",{className:`${u}--skeleton ${u}--data-table-container`},i?E().createElement("div",{className:`${u}--data-table-header`},E().createElement("div",{className:`${u}--data-table-header__title`}),E().createElement("div",{className:`${u}--data-table-header__description`})):null,s?E().createElement("section",{"aria-label":"data table toolbar",className:`${u}--table-toolbar`},E().createElement("div",{className:`${u}--toolbar-content`},E().createElement("span",{className:`${u}--skeleton ${u}--btn ${u}--btn--sm`}))):null,E().createElement("table",g({className:d},c),E().createElement("thead",null,E().createElement("tr",null,h.map((e=>E().createElement("th",{key:e},t?E().createElement("div",{className:"cds--table-header-label"},t[e]?.header):Xt||(Xt=E().createElement("span",null))))))),E().createElement("tbody",null,p)))};function en(e){let{className:t,children:n,...r}=e;const a=S(),l=v()(`${a}--form`,t);return E().createElement("form",g({className:l},r),n)}Jt.propTypes={className:C().string,columnCount:C().number,compact:C().bool,headers:C().arrayOf(C().shape({header:C().node.isRequired}).isRequired),rowCount:C().number,showHeader:C().bool,showToolbar:C().bool,zebra:C().bool},en.propTypes={children:C().node,className:C().string};const tn=e=>{let{disabled:t=!1,legendId:n,legendText:r,invalid:a=!1,children:l,className:o,message:i=!1,messageText:s="",...c}=e;const u=S(),d=v()(`${u}--fieldset`,o);return E().createElement("fieldset",g({disabled:t},a&&{"data-invalid":""},{className:d},c,{"aria-labelledby":c["aria-labelledby"]||n}),E().createElement("legend",{className:`${u}--label`,id:n||c["aria-labelledby"]},r),l,i?E().createElement("div",{className:`${u}--form__requirements`},s):null)};function nn(e){let{as:t="div",condensed:n=!1,narrow:r=!1,className:a,children:l,...o}=e;const i=S(),s=v()(a,{[`${i}--row`]:!0,[`${i}--row--condensed`]:n,[`${i}--row--narrow`]:r}),c=t;return E().createElement(c,g({className:s},o),l)}tn.propTypes={children:C().node,className:C().string,disabled:C().bool,invalid:C().bool,legendId:C().node,legendText:C().node.isRequired,message:C().bool,messageText:C().string},nn.propTypes={as:C().oneOfType([C().string,C().elementType]),children:C().node,className:C().string,condensed:C().bool,narrow:C().bool};const rn=y.createContext({mode:"flexbox",subgrid:!1});C().node,C().oneOf(["flexbox","css-grid"]).isRequired,C().bool;const an=()=>y.useContext(rn);function ln(e){let{as:t="div",children:n,className:r,sm:a,md:l,lg:o,xlg:i,max:s,...c}=e;const{mode:u}=an(),d=S();if("css-grid"===u)return E().createElement(cn,g({as:t,className:r,sm:a,md:l,lg:o,xlg:i,max:s},c),n);const f=function(e,t){const n=[];for(let r=0;r<e.length;r++){const a=e[r];if(null==a)continue;const l=un[r];if(!0!==a)if("number"!=typeof a){if("object"==typeof a){const{span:e,offset:r}=a;"number"==typeof e&&n.push(`${t}--col-${l}-${e}`),!0===e&&n.push(`${t}--col-${l}`),"number"==typeof r&&n.push(`${t}--offset-${l}-${r}`)}}else n.push(`${t}--col-${l}-${a}`);else n.push(`${t}--col-${l}`)}return n.join(" ")}([a,l,o,i,s],d),p=v()(r,f,{[`${d}--col`]:0===f.length}),h=t;return E().createElement(h,g({className:p},c),n)}const on=C().oneOf(["25%","50%","75%","100%"]),sn=h("enable-css-grid")?C().oneOfType([C().bool,C().number,C().shape({span:C().oneOfType([C().number,on]),offset:C().number,start:C().number,end:C().number}),on]):C().oneOfType([C().bool,C().number,C().shape({span:C().number,offset:C().number})]);function cn(e){let{as:t="div",children:n,className:r,sm:a,md:l,lg:o,xlg:i,max:s,span:c,...u}=e;const d=S(),f=function(e,t){const n=[];for(let r=0;r<e.length;r++){const a=e[r];if(null==a)continue;const l=un[r];if(!0!==a)if("string"!=typeof a)if("number"!=typeof a){if("object"==typeof a){const{span:e,offset:r,start:o,end:i}=a;if("number"==typeof r&&n.push(`${t}--${l}:col-start-${r>0?r+1:"auto"}`),"number"==typeof o&&n.push(`${t}--${l}:col-start-${o||"auto"}`),"number"==typeof i&&n.push(`${t}--${l}:col-end-${i}`),"number"==typeof e)n.push(`${t}--${l}:col-span-${e}`);else if("string"==typeof e){n.push(`${t}--${l}:col-span-${e.slice(0,-1)}`);continue}}}else n.push(`${t}--${l}:col-span-${a}`);else n.push(`${t}--${l}:col-span-${a.replace("%","")}`);else n.push(`${t}--${l}:col-span-auto`)}return n.join(" ")}([a,l,o,i,s],d),p=function(e,t){const n=[];if("number"==typeof e)n.push(`${t}--col-span-${e}`);else if("string"==typeof e)n.push(`${t}--col-span-${e.slice(0,-1)}`);else if("object"==typeof e){const{span:r,start:a,end:l}=e;null!=r&&n.push(`${t}--col-span-${r}`),null!=a&&n.push(`${t}--col-start-${a}`),null!=l&&n.push(`${t}--col-end-${l}`)}return n.join("")}(c,d),h=v()(r,f,p,{[`${d}--css-grid-column`]:!0});return E().createElement(t,g({className:h},u),n)}ln.propTypes={as:C().oneOfType([C().string,C().elementType]),children:C().node,className:C().string,lg:sn,max:sn,md:sn,sm:sn,span:C().oneOfType([C().number,on]),xlg:sn},cn.propTypes={as:C().oneOfType([C().string,C().elementType]),children:C().node,className:C().string,lg:sn,max:sn,md:sn,sm:sn,span:C().oneOfType([C().number,on,C().shape({span:C().oneOfType([C().number,on]),start:C().number,end:C().number})]),xlg:sn};const un=["sm","md","lg","xlg","max"];var dn,fn,pn,hn,mn,gn,bn,vn,yn,wn=n(9247);const En=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},dn||(dn=E().createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),n)})),xn=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},fn||(fn=E().createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z"})),pn||(pn=E().createElement("path",{fill:"none",d:"M10.7,11.5L4.5,5.3l0.8-0.8l6.2,6.2L10.7,11.5z","data-icon-path":"inner-path",opacity:"0"})),n):20===r||"20"===r||"20px"===r?E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",...a},hn||(hn=E().createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z"})),mn||(mn=E().createElement("path",{d:"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z","data-icon-path":"inner-path",opacity:"0"})),n):24===r||"24"===r||"24px"===r?E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...a},gn||(gn=E().createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11S18.1,1,12,1z M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z"})),bn||(bn=E().createElement("path",{fill:"none",d:"M16.3,17.5L6.5,7.7l1.2-1.2l9.8,9.8L16.3,17.5z","data-icon-path":"inner-path",opacity:"0"})),n):E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},vn||(vn=E().createElement("path",{fill:"none",d:"M14.9 7.2H17.1V24.799H14.9z","data-icon-path":"inner-path",transform:"rotate(-45 16 16)"})),yn||(yn=E().createElement("path",{d:"M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"})),n)}));function Sn(e){let{active:t=!0,className:n,withOverlay:r=!0,small:a=!1,description:l="loading",...o}=e;const i=S(),s=v()(n,{[`${i}--loading`]:!0,[`${i}--loading--small`]:a,[`${i}--loading--stop`]:!t}),c=v()({[`${i}--loading-overlay`]:!0,[`${i}--loading-overlay--stop`]:!t}),u=E().createElement("div",g({},o,{"aria-atomic":"true","aria-live":t?"assertive":"off",className:s}),E().createElement("svg",{className:`${i}--loading__svg`,viewBox:"0 0 100 100"},E().createElement("title",null,l),a?E().createElement("circle",{className:`${i}--loading__background`,cx:"50%",cy:"50%",r:"42"}):null,E().createElement("circle",{className:`${i}--loading__stroke`,cx:"50%",cy:"50%",r:a?"42":"44"})));return r?E().createElement("div",{className:c},u):u}Sn.propTypes={active:C().bool,className:C().string,description:C().string,id:j(C().string),small:C().bool,withOverlay:C().bool};const kn=e=>{let{className:t,status:n="active",iconDescription:r,description:a,onSuccess:l,successDelay:o=1500,...i}=e;const s=S(),c=v()(`${s}--inline-loading`,t),u=E().createElement("div",{className:`${s}--inline-loading__text`},a),d=(()=>{let e=r||n;return"error"===n?E().createElement(xn,{className:`${s}--inline-loading--error`},E().createElement("title",null,e)):"finished"===n?(setTimeout((()=>{l&&l()}),o),E().createElement(A._j,{className:`${s}--inline-loading__checkmark-container`},E().createElement("title",null,e))):"inactive"===n||"active"===n?(r||(e="active"===n?"loading":"not loading"),E().createElement(Sn,{small:!0,description:e,withOverlay:!1,active:"active"===n})):void 0})(),f=d&&E().createElement("div",{className:`${s}--inline-loading__animation`},d);return E().createElement("div",g({className:c},i,{"aria-live":"assertive"}),f,a&&u)};kn.propTypes={className:C().string,description:C().node,iconDescription:C().string,onSuccess:C().func,status:C().oneOf(["inactive","active","finished","error"]),successDelay:C().number};var Cn,_n,Nn,Tn,An=n(5951);const $n=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},Cn||(Cn=E().createElement("path",{fill:"none",d:"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z","data-icon-path":"inner-path"})),_n||(_n=E().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"})),n)})),Rn=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},Nn||(Nn=E().createElement("path",{fill:"none",d:"M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z","data-icon-path":"inner-path"})),Tn||(Tn=E().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"})),n)})),On=()=>{},Ln="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS,In="undefined"!=typeof Node&&Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY,zn="\n a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n textarea:not([disabled]):not([tabindex='-1']),\n iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true]\n";var Pn=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),Mn="undefined"==typeof Element,Dn=Mn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Bn=!Mn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Fn=function e(t,n){var r;void 0===n&&(n=!0);var a=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===a||"true"===a||n&&t&&e(t.parentNode)},jn=function e(t,n,r){for(var a=[],l=Array.from(t);l.length;){var o=l.shift();if(!Fn(o,!1))if("SLOT"===o.tagName){var i=o.assignedElements(),s=e(i.length?i:o.children,!0,r);r.flatten?a.push.apply(a,s):a.push({scopeParent:o,candidates:s})}else{Dn.call(o,Pn)&&r.filter(o)&&(n||!t.includes(o))&&a.push(o);var c=o.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(o),u=!Fn(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(o));if(c&&u){var d=e(!0===c?o.children:c.children,!0,r);r.flatten?a.push.apply(a,d):a.push({scopeParent:o,candidates:d})}else l.unshift.apply(l,o.children)}}return a},Vn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Hn=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Vn(e)?0:e.tabIndex},Un=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Wn=function(e){return"INPUT"===e.tagName},qn=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Kn=function(e,t){return!(t.disabled||Fn(t)||function(e){return Wn(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=Dn.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Dn.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return qn(e)}else{if("function"==typeof r){for(var l=e;e;){var o=e.parentElement,i=Bn(e);if(o&&!o.shadowRoot&&!0===r(o))return qn(e);e=e.assignedSlot?e.assignedSlot:o||i===e.ownerDocument?o:i.host}e=l}if(function(e){var t,n,r,a,l=e&&Bn(e),o=null===(t=l)||void 0===t?void 0:t.host,i=!1;if(l&&l!==e)for(i=!!(null!==(n=o)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(o)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!i&&o;){var s,c,u;i=!(null===(c=o=null===(s=l=Bn(o))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(o))}return i}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!Dn.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},Qn=function(e,t){return!(function(e){return function(e){return Wn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Bn(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!a||a===e}(e)}(t)||Hn(t)<0||!Kn(e,t))},Zn=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Yn=function e(t){var n=[],r=[];return t.forEach((function(t,a){var l=!!t.scopeParent,o=l?t.scopeParent:t,i=function(e,t){var n=Hn(e);return n<0&&t&&!Vn(e)?0:n}(o,l),s=l?e(t.candidates):o;0===i?l?n.push.apply(n,s):n.push(o):r.push({documentOrder:a,tabIndex:i,item:t,isScope:l,content:s})})),r.sort(Un).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},Gn=function(e,t){var n;return n=(t=t||{}).getShadowRoot?jn([e],t.includeContainer,{filter:Qn.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Zn}):function(e,t,n){if(Fn(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Pn));return t&&Dn.call(e,Pn)&&r.unshift(e),r.filter(n)}(e,t.includeContainer,Qn.bind(null,t)),Yn(n)};function Xn(e){let{children:t,className:n,onClick:r,inline:a,...l}=e;const o=S(),i=v()(n,{[`${o}--actionable-notification__action-button`]:!0});return E().createElement(Zt,g({className:i,kind:a?"ghost":"tertiary",onClick:r,size:"sm"},l),t)}function Jn(e){let{"aria-label":t="close notification",ariaLabel:n,className:r,type:a="button",renderIcon:l=A.bm,name:o,notificationType:i="toast",...s}=e;const c=S(),u=v()(r,{[`${c}--${i}-notification__close-button`]:i}),d=v()({[`${c}--${i}-notification__close-icon`]:i});return E().createElement("button",g({},s,{type:a,"aria-label":n||t,title:n||t,className:u}),l&&E().createElement(l,{className:d,name:o}))}Xn.propTypes={children:C().node,className:C().string,inline:C().bool,onClick:C().func},Jn.propTypes={"aria-label":C().string,ariaLabel:j(C().string),className:C().string,name:C().string,notificationType:C().oneOf(["toast","inline","actionable"]),renderIcon:C().oneOfType([C().func,C().object]),type:C().string};const er={error:xn,success:A._j,warning:An.BF,"warning-alt":An.OR,info:$n,"info-square":Rn};function tr(e){let{iconDescription:t,kind:n,notificationType:r}=e;const a=S(),l=er[n];return l?E().createElement(l,{className:`${a}--${r}-notification__icon`,size:20},E().createElement("title",null,t)):null}function nr(e){let{"aria-label":t,children:n,title:r,subtitle:a,role:l="status",onClose:o,onCloseButtonClick:i=On,statusIconDescription:s,className:c,kind:u="error",lowContrast:d,hideCloseButton:f=!1,...p}=e;const[h,m]=(0,y.useState)(!0),b=S(),w=v()(c,{[`${b}--inline-notification`]:!0,[`${b}--inline-notification--low-contrast`]:d,[`${b}--inline-notification--${u}`]:u,[`${b}--inline-notification--hide-close-button`]:f}),x=(0,y.useRef)(null),k=(0,y.useRef)(null);return h?E().createElement("div",g({ref:k},p,{role:l,className:w}),E().createElement("div",{className:`${b}--inline-notification__details`},E().createElement(tr,{notificationType:"inline",kind:u,iconDescription:s||`${u} icon`}),E().createElement("div",{ref:x,className:`${b}--inline-notification__text-wrapper`},r&&E().createElement(H,{as:"div",className:`${b}--inline-notification__title`},r),a&&E().createElement(H,{as:"div",className:`${b}--inline-notification__subtitle`},a),n)),!f&&E().createElement(Jn,{notificationType:"inline",onClick:function(e){i(e),o&&!1===o(e)||m(!1)},"aria-label":t})):null}var rr,ar,lr,or,ir;tr.propTypes={iconDescription:C().string.isRequired,kind:C().oneOf(["error","success","warning","warning-alt","info","info-square"]).isRequired,notificationType:C().oneOf(["inline","toast"]).isRequired},C().string,j(C().string),C().string,C().node,C().string,C().bool,C().oneOf(["error","info","info-square","success","warning","warning-alt"]),C().bool,C().func,C().func,C().oneOf(["alert","log","status"]),C().string,C().string,C().number,C().string,nr.propTypes={"aria-label":C().string,children:C().node,className:C().string,hideCloseButton:C().bool,kind:C().oneOf(["error","info","info-square","success","warning","warning-alt"]),lowContrast:C().bool,onClose:C().func,onCloseButtonClick:C().func,role:C().oneOf(["alert","log","status"]),statusIconDescription:C().string,subtitle:C().string,title:C().string},C().string,C().string,j(C().string),C().node,C().string,C().bool,j(C().bool),C().bool,C().bool,C().oneOf(["error","info","info-square","success","warning","warning-alt"]),C().bool,C().func,C().func,C().func,C().string,C().string,C().node,C().string,C().string,C().node,C().string,re(C().oneOf(["error","info","info-square","success","warning","warning-alt"]),["warning","info"],(e=>({error:"warning",success:"info"}[e]))),C().bool,C().func,C().string,C().node,C().string,C().string;const sr=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return"glyph"===r||"glyph"===r||"glyphpx"===r?E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5 8",fill:"currentColor",...a},rr||(rr=E().createElement("path",{d:"M5 8L0 4 5 0z"})),n):E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},ar||(ar=E().createElement("path",{d:"M20 24L10 16 20 8z"})),n)})),cr=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return"glyph"===r||"glyph"===r||"glyphpx"===r?E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5 8",fill:"currentColor",...a},lr||(lr=E().createElement("path",{d:"M0 0L5 4 0 8z"})),n):E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},or||(or=E().createElement("path",{d:"M12 8L22 16 12 24z"})),n)})),ur=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},ir||(ir=E().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z"})),n)})),dr=(0,y.createContext)({isFluid:!1}),fr=E().forwardRef((function(e,t){let{className:n,decorator:r,id:a,inline:l=!1,labelText:o="Select",disabled:i=!1,children:s,noLabel:c=!1,hideLabel:u=!1,invalid:d=!1,invalidText:f="",helperText:p="",light:h=!1,readOnly:m,size:b,warn:w=!1,warnText:x,onChange:k,slug:C,..._}=e;const N=S(),{isFluid:T}=(0,y.useContext)(dr),[$,R]=(0,y.useState)(!1),[O,L]=(0,y.useState)(""),I=D(),z=v()({[`${N}--select`]:!0,[`${N}--select--inline`]:l,[`${N}--select--light`]:h,[`${N}--select--invalid`]:d,[`${N}--select--disabled`]:i,[`${N}--select--readonly`]:m,[`${N}--select--warning`]:w,[`${N}--select--fluid--invalid`]:T&&d,[`${N}--select--fluid--focus`]:T&&$,[`${N}--select--slug`]:C,[`${N}--select--decorator`]:r}),P=v()(`${N}--label`,{[`${N}--visually-hidden`]:u,[`${N}--label--disabled`]:i}),M=v()({[`${N}--select-input`]:!0,[`${N}--select-input--${b}`]:b}),B=`${a}-error-msg`,F=d?f:w?x:void 0,j=d||w?E().createElement(H,{as:"div",className:`${N}--form-requirement`,id:B},F):null,V=v()(`${N}--form__helper-text`,{[`${N}--form__helper-text--disabled`]:i}),U=p?`select-helper-text-${I}`:void 0,W=p?E().createElement(H,{as:"div",id:U,className:V},p):null,q={};d?q["aria-describedby"]=B:l||T||(q["aria-describedby"]=W?U:void 0);const K=e=>{R("focus"===e.type)},Q={onMouseDown:e=>{m&&(e.preventDefault(),e.target.focus())},onKeyDown:e=>{m&&["ArrowDown","ArrowUp"," "].includes(e.key)&&e.preventDefault()}};let Z=E().isValidElement(C??r)?C??r:null;Z&&"AILabel"===Z.type?.displayName&&(Z=E().cloneElement(Z,{size:"mini"}));const Y=E().createElement(E().Fragment,null,E().createElement("select",g({},_,q,{id:a,className:M,disabled:i||void 0,"aria-invalid":d||void 0,"aria-readonly":m||void 0,title:O,onChange:Kt([k,e=>{L(e?.target?.value)}])},Q,{ref:t}),s),E().createElement(A.yQ,{className:`${N}--select__arrow`}),d&&E().createElement(An.BF,{className:`${N}--select__invalid-icon`}),!d&&w&&E().createElement(An.OR,{className:`${N}--select__invalid-icon ${N}--select__invalid-icon--warning`}));return E().createElement("div",{className:v()(`${N}--form-item`,n)},E().createElement("div",{className:z},!c&&E().createElement(H,{as:"label",htmlFor:a,className:P},o),l&&E().createElement("div",{className:`${N}--select-input--inline__wrapper`},E().createElement("div",{className:`${N}--select-input__wrapper`,"data-invalid":d||null},Y),j),!l&&E().createElement("div",{className:`${N}--select-input__wrapper`,"data-invalid":d||null,onFocus:K,onBlur:K},Y,C?Z:r?E().createElement("div",{className:`${N}--select__inner-wrapper--decorator`},Z):"",T&&E().createElement("hr",{className:`${N}--select__divider`}),T&&j?j:null),l||T||!j?W:j))}));fr.displayName="Select",fr.propTypes={children:C().node,className:C().string,decorator:C().node,defaultValue:C().any,disabled:C().bool,helperText:C().node,hideLabel:C().bool,id:C().string.isRequired,inline:C().bool,invalid:C().bool,invalidText:C().node,labelText:C().node,light:j(C().bool),noLabel:C().bool,onChange:C().func,readOnly:C().bool,size:C().oneOf(["sm","md","lg"]),slug:j(C().node),warn:C().bool,warnText:C().node};const pr=e=>{let{className:t,value:n="",disabled:r=!1,hidden:a=!1,text:l="",...o}=e;const i=S(),s=v()({[`${i}--select-option`]:!0,...t&&{[t]:t}});return E().createElement("option",g({},o,{className:s,value:n,disabled:r,hidden:a}),l)};var hr,mr;function gr(e){return"object"==typeof e[0]&&null!==e[0]?e:e.map((e=>({text:e,value:e})))}function br(e,t){if(t){if(e.find((e=>t===e.value)))return t}return e[0].value}pr.propTypes={className:C().string,disabled:C().bool,hidden:C().bool,text:C().string.isRequired,value:C().any.isRequired};const vr=E().forwardRef((function(e,t){let{backwardText:n="Previous page",className:r="",disabled:a=!1,forwardText:l="Next page",id:o,isLastPage:i=!1,itemText:s=(e,t)=>`${e}–${t} items`,itemRangeText:c=(e,t,n)=>`${e}–${t} of ${n} items`,itemsPerPageText:u="Items per page:",onChange:d,pageNumberText:f="Page Number",pageRangeText:p=(e,t)=>`of ${t} ${1===t?"page":"pages"}`,page:h=1,pageInputDisabled:m,pageSize:b,pageSizeInputDisabled:w,pageSizes:x,pageText:k=e=>`page ${e}`,pagesUnknown:C=!1,size:_="md",totalItems:N,...T}=e;const A=S(),$=B(o?.toString()),R=(0,y.useRef)(null),O=(0,y.useRef)(null),[L,I]=(0,y.useState)((()=>gr(x))),[z,P]=(0,y.useState)(x),[M,D]=(0,y.useState)(h),[F,j]=(0,y.useState)(h),[V,H]=(0,y.useState)((()=>br(L,b))),[U,W]=(0,y.useState)(b),q=v()({[`${A}--pagination`]:!0,[`${A}--pagination--${_}`]:_,[r]:!!r}),K=N?Math.max(Math.ceil(N/V),1):1,Q=a||1===M,Z=v()({[`${A}--pagination__button`]:!0,[`${A}--pagination__button--backward`]:!0,[`${A}--pagination__button--no-index`]:Q}),Y=a||M===K&&!C,G=v()({[`${A}--pagination__button`]:!0,[`${A}--pagination__button--forward`]:!0,[`${A}--pagination__button--no-index`]:Y}),X=function(e){let t=1;const n=[];for(;t<=e;)n.push(E().createElement(pr,{key:t,value:t,text:String(t)})),t++;return n}(K);if(h!==F&&(D(h),j(h)),b!==U&&(H(br(L,b)),W(b)),!function(e,t){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;if(e===t)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(x,z)){const e=gr(x),t=e.find((e=>e.value===V));t||D(1),I(e),P(x)}return E().createElement("div",g({className:q,ref:t},T),E().createElement("div",{className:`${A}--pagination__left`},E().createElement("label",{id:`${A}-pagination-select-${$}-count-label`,className:`${A}--pagination__text`,htmlFor:`${A}-pagination-select-${$}`},u),E().createElement(fr,{id:`${A}-pagination-select-${$}`,className:`${A}--select__item-count`,labelText:"",hideLabel:!0,noLabel:!0,inline:!0,onChange:function(e){const t={pageSize:Number(e.target.value),page:1};D(t.page),H(t.pageSize),d&&d(t)},disabled:w||a,value:V},L.map((e=>E().createElement(pr,{key:e.value,value:e.value,text:String(e.text)})))),E().createElement("span",{className:`${A}--pagination__text ${A}--pagination__items-count`},C||!N?0===N?c(0,0,0):s(V*(M-1)+1,M*V):c(Math.min(V*(M-1)+1,N),Math.min(M*V,N),N))),E().createElement("div",{className:`${A}--pagination__right`},C?E().createElement("span",{className:`${A}--pagination__text ${A}--pagination__page-text ${A}--pagination__unknown-pages-text`},k(M)):E().createElement(E().Fragment,null,E().createElement(fr,{id:`${A}-pagination-select-${$}-right`,className:`${A}--select__page-number`,labelText:`Page of ${K} pages`,inline:!0,hideLabel:!0,onChange:function(e){const t=Number(e.target.value);t>0&&N&&t<=Math.max(Math.ceil(N/V),1)&&(D(t),d&&d({page:t,pageSize:V}))},value:M,disabled:m||a},X),E().createElement("span",{className:`${A}--pagination__text`},p(M,K))),E().createElement("div",{className:`${A}--pagination__control-buttons`},E().createElement(qt,{align:"top",disabled:Q,kind:"ghost",className:Z,label:n,"aria-label":n,onClick:function(){const e=M-1;D(e),1===e&&O?.current&&O.current.focus(),d&&d({page:e,pageSize:V,ref:O})},ref:R},hr||(hr=E().createElement(sr,null))),E().createElement(qt,{align:"top-end",disabled:Y||i,kind:"ghost",className:G,label:l,"aria-label":l,onClick:function(){const e=M+1;D(e),e===K&&R?.current&&R.current.focus(),d&&d({page:e,pageSize:V,ref:R})},ref:O},mr||(mr=E().createElement(cr,null))))))}));var yr,wr;vr.propTypes={backwardText:C().string,className:C().string,disabled:C().bool,forwardText:C().string,id:C().oneOfType([C().string,C().number]),isLastPage:C().bool,itemRangeText:C().func,itemText:C().func,itemsPerPageText:C().string,onChange:C().func,page:C().number,pageInputDisabled:C().bool,pageNumberText:C().string,pageRangeText:C().func,pageSize:C().number,pageSizeInputDisabled:C().bool,pageSizes:C().oneOfType([C().arrayOf(C().number.isRequired),C().arrayOf(C().shape({text:C().string.isRequired,value:C().number.isRequired}).isRequired)]).isRequired,pageText:C().func,pagesUnknown:C().bool,size:C().oneOf(["sm","md","lg"]),totalItems:C().number};const Er=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},yr||(yr=E().createElement("path",{d:"M15,14.3L10.7,10c1.9-2.3,1.6-5.8-0.7-7.7S4.2,0.7,2.3,3S0.7,8.8,3,10.7c2,1.7,5,1.7,7,0l4.3,4.3L15,14.3z M2,6.5 C2,4,4,2,6.5,2S11,4,11,6.5S9,11,6.5,11S2,9,2,6.5z"})),n):E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},wr||(wr=E().createElement("path",{d:"M29,27.5859l-7.5521-7.5521a11.0177,11.0177,0,1,0-1.4141,1.4141L27.5859,29ZM4,13a9,9,0,1,1,9,9A9.01,9.01,0,0,1,4,13Z"})),n)}));var xr;const Sr=E().forwardRef((function(e,t){let{autoComplete:n="off",className:r,closeButtonLabelText:a="Clear search input",defaultValue:l,disabled:o,isExpanded:i=!0,id:s,labelText:c,light:u,onChange:d=()=>{},onClear:f=()=>{},onKeyDown:p,onExpand:h,placeholder:m="Search",renderIcon:b,role:w="searchbox",size:x="md",type:k="text",value:C,..._}=e;const N=!(!C&&!l),T=S(),{isFluid:$}=(0,y.useContext)(dr),R=(0,y.useRef)(null),O=le([t,R]),L=(0,y.useRef)(null),I=D("search-input"),z=s||I,P=`${z}-search`,[M,B]=(0,y.useState)(N||!1),[F,j]=(0,y.useState)(C),V=v()({[`${T}--search`]:!0,[`${T}--search--sm`]:"sm"===x,[`${T}--search--md`]:"md"===x,[`${T}--search--lg`]:"lg"===x,[`${T}--search--light`]:u,[`${T}--search--disabled`]:o,[`${T}--search--fluid`]:$},r),H=v()({[`${T}--search-close`]:!0,[`${T}--search-close--hidden`]:!M||!i});function U(){!C&&R.current&&(R.current.value="");const e=Object.assign({},R.current,{value:""});d({target:e,type:"change"}),f(),B(!1),function(e){const t=e.current||e;t&&t.focus&&document.activeElement!==t&&t.focus()}(R)}return C!==F&&(B(!!C),j(C)),E().createElement("div",{role:"search","aria-label":m,className:V},E().createElement("div",{"aria-label":h?"button":void 0,"aria-labelledby":h?P:void 0,role:h?"button":void 0,className:`${T}--search-magnifier`,onClick:h,onKeyDown:function(e){(W(e,K)||W(e,Z))&&(e.stopPropagation(),h&&h(e))},tabIndex:h&&!i?0:-1,ref:L,"aria-expanded":!(!h||!i)||!(h&&!i)&&void 0,"aria-controls":h?z:void 0},E().createElement(kr,{icon:b})),E().createElement("label",{id:P,htmlFor:z,className:`${T}--label`},c),E().createElement("input",g({autoComplete:n,className:`${T}--search-input`,defaultValue:l,disabled:o,role:w,ref:O,id:z,onChange:Kt([d,function(e){B(""!==e.target.value)}]),onKeyDown:Kt([p,function(e){W(e,Q)&&(e.stopPropagation(),R.current?.value?U():h&&i&&L.current?.focus())}]),placeholder:m,type:k,value:C,tabIndex:h&&!i?-1:void 0},_)),E().createElement("button",{"aria-label":a,className:H,disabled:o,onClick:U,title:a,type:"button"},xr||(xr=E().createElement(A.bm,null))))}));function kr(e){let{icon:t}=e;const n=S();return t?E().createElement(t,{className:`${n}--search-magnifier-icon`}):E().createElement(Er,{className:`${n}--search-magnifier-icon`})}Sr.displayName="Search",Sr.propTypes={autoComplete:C().string,className:C().string,closeButtonLabelText:C().string,defaultValue:C().oneOfType([C().string,C().number]),disabled:C().bool,id:C().string,isExpanded:C().bool,labelText:C().node.isRequired,light:j(C().bool),onChange:C().func,onClear:C().func,onExpand:C().func,onKeyDown:C().func,placeholder:C().string,renderIcon:C().oneOfType([C().func,C().object]),role:C().string,size:C().oneOf(["sm","md","lg"]),type:C().string,value:C().oneOfType([C().string,C().number])},kr.propTypes={icon:C().oneOfType([C().func,C().object])};const Cr=[.973051493507435,.15334737213558558,.5671034553053769];function _r(e,t,n){return Math.floor(Cr[n%3]*(t-e+1))+e}const Nr=e=>{let{paragraph:t=!1,lineCount:n=3,width:r="100%",heading:a=!1,className:l="",...o}=e;const i=S(),s=v()({[`${i}--skeleton__text`]:!0,[`${i}--skeleton__heading`]:a,[l]:l}),c=parseInt(r,10),u=r.includes("px"),d=r.includes("%");let f=1;t&&(f=n);const p=(0,y.useRef)([]);ae((()=>{p.current.map(((e,n)=>{const a=_r(0,75,n)+"px",l=_r(Math.max(c-75,0),c,n)+"px";e&&(e.style.width=d&&t?`calc(${r} - ${a})`:u&&t?l:r)}))}),[f,t,p,r,c,d,u]);const h=[];for(let e=0;e<f;e++)h.push(E().createElement("p",g({className:s,key:e,ref:e=>p.current=[...p.current,e]},o)));return 1!==f?E().createElement("div",null,h):E().createElement(E().Fragment,null,h)};Nr.propTypes={className:C().string,heading:C().bool,lineCount:C().number,paragraph:C().bool,width:C().string};var Tr=16;function Ar(e){return"".concat(e/Tr,"rem")}function $r(e){return Ar(8*e)}Ar(320),Ar(672),Ar(16),Ar(1056),Ar(16),Ar(1312),Ar(16),Ar(1584),Ar(24);var Rr=[$r(.25),$r(.5),$r(1),$r(1.5),$r(2),$r(3),$r(4),$r(5),$r(6),$r(8),$r(10),$r(12),$r(20)];$r(2),$r(3),$r(4),$r(6),$r(8),$r(12),$r(20),$r(3),$r(4),$r(5),$r(6),$r(8),Ar(24),Ar(32),Ar(40),Ar(48),Ar(64),Ar(80);const Or=Array.from({length:Rr.length-1}).map(((e,t)=>t+1)),Lr=E().forwardRef((function(e,t){const{as:n="div",children:r,className:a,gap:l,orientation:o="vertical",...i}=e,s=S(),c=v()(a,{[`${s}--stack-${o}`]:!0,[`${s}--stack-scale-${l}`]:"number"==typeof l}),u={...i.style};return"string"==typeof l&&(u[`--${s}-stack-gap`]=l),E().createElement(n,g({},i,{ref:t,className:c,style:u}),r)}));Lr.propTypes={as:C().elementType,children:C().node,className:C().string,gap:C().oneOfType([C().string,C().oneOf(Or)]),orientation:C().oneOf(["horizontal","vertical"])};const Ir=e=>{let{align:t="bottom-start",className:n,children:r,definition:a,defaultOpen:l=!1,id:o,openOnHover:i,tooltipText:s,triggerClassName:c,...u}=e;const[d,f]=(0,y.useState)(l),p=S(),h=B(o);return E().createElement(Mt,{align:t,className:n,dropShadow:!1,highContrast:!0,onMouseLeave:()=>{f(!1)},onMouseEnter:()=>{i&&f(!0)},onFocus:()=>{f(!0)},open:d},E().createElement("button",g({},u,{className:v()(`${p}--definition-term`,c),"aria-controls":h,"aria-expanded":d,onBlur:()=>{f(!1)},onMouseDown:e=>{0===e.button&&f(!d)},onKeyDown:function(e){d&&W(e,Q)&&(e.stopPropagation(),f(!1))},type:"button"}),r),E().createElement(Bt,{className:`${p}--definition-tooltip`,id:h},s??a))};var zr;Ir.propTypes={align:C().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),children:C().node.isRequired,className:C().string,defaultOpen:C().bool,definition:C().node.isRequired,id:C().string,openOnHover:C().bool,tooltipText:j(C().node),triggerClassName:C().string};const Pr={red:"Red",magenta:"Magenta",purple:"Purple",blue:"Blue",cyan:"Cyan",teal:"Teal",green:"Green",gray:"Gray","cool-gray":"Cool-Gray","warm-gray":"Warm-Gray","high-contrast":"High-Contrast",outline:"Outline"},Mr=E().forwardRef((function(e,t){let{children:n,className:r,decorator:a,id:l,type:o,filter:i,renderIcon:s,title:c="Clear filter",disabled:u,onClose:d,size:f,as:p,slug:h,...m}=e;const b=S(),w=(0,y.useRef)(),x=(N=[t,w],y.useMemo((()=>N.every((e=>null==e))?null:e=>{N.forEach((t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)}))}),N)),k=l||`tag-${D()}`,[C,_]=(0,y.useState)(!1);var N;(0,y.useLayoutEffect)((()=>{const e=w.current?.getElementsByClassName(`${b}--tag__label`)[0];var t;_(!!(t=e)&&t?.offsetWidth<t?.scrollWidth)}),[b,w]);const T=[`${b}--tag--selectable`,`${b}--tag--filter`,`${b}--tag--operational`].some((e=>r?.includes(e))),$=v()(`${b}--tag`,r,{[`${b}--tag--disabled`]:u,[`${b}--tag--filter`]:i,[`${b}--tag--${f}`]:f,[`${b}--layout--size-${f}`]:f,[`${b}--tag--${o}`]:o,[`${b}--tag--interactive`]:m.onClick&&!T&&C}),R=void 0!==o&&o in Object.keys(Pr)?Pr[o]:"",O=e=>{d&&(e.stopPropagation(),d(e))};let L=E().isValidElement(h??a)?h??a:null;if(L&&"AILabel"===L.type?.displayName&&!T&&(L=E().cloneElement(L,{size:"sm",kind:"inline"})),i){const e=p??"div";return E().createElement(e,g({className:$,id:k},m),s&&"sm"!==f?E().createElement("div",{className:`${b}--tag__custom-icon`},E().createElement(s,null)):"",E().createElement(H,{title:"string"==typeof n?n:void 0,className:`${b}--tag__label`},null!=n?n:R),L,E().createElement("button",{type:"button",className:`${b}--tag__close-icon`,onClick:O,disabled:u,"aria-label":c,title:c},zr||(zr=E().createElement(A.bm,null))))}const I=p??(m.onClick||r?.includes(`${b}--tag--operational`)?"button":"div"),z=v()({[`${b}--tag__label`]:!T});return E().createElement(I,g({ref:x,disabled:u,className:$,id:k,type:"button"===I?"button":void 0},m),s&&"sm"!==f?E().createElement("div",{className:`${b}--tag__custom-icon`},E().createElement(s,null)):"",C&&!T?E().createElement(Ir,{openOnHover:!1,definition:null!=n?n:R,className:`${b}--definition--tooltip--tag`},E().createElement(H,{title:null!=n&&"string"==typeof n?n:R,className:z},null!=n?n:R)):E().createElement(H,{title:null!=n&&"string"==typeof n?n:R,className:z},null!=n?n:R),h?L:a?E().createElement("div",{className:`${b}--tag__decorator`},L):"")}));Mr.propTypes={as:C().elementType,children:C().node,className:C().string,decorator:C().node,disabled:C().bool,filter:j(C().bool),id:C().string,onClose:j(C().func),renderIcon:C().oneOfType([C().func,C().object]),size:C().oneOf(Object.keys({sm:"sm",md:"md",lg:"lg"})),slug:j(C().node),title:j(C().string),type:C().oneOf(Object.keys(Pr))};const Dr=E().forwardRef(((e,t)=>{const{className:n,decorator:r,disabled:a=!1,id:l,labelText:o,hideLabel:i,onChange:s=On,onClick:c=On,onKeyDown:u=On,invalid:d=!1,invalidText:f="",helperText:p="",light:h,placeholder:m="",enableCounter:b=!1,maxCount:w,counterMode:x="character",warn:k=!1,warnText:C="",rows:_=4,slug:N,...T}=e,A=S(),{isFluid:$}=(0,y.useContext)(dr),{defaultValue:R,value:O}=T,L=D(),I=(0,y.useRef)(null),z=le([t,I]);function P(){const e=(R||O||I.current?.value||"").toString();return"character"===x?e.length:e.match(/\w+/g)?.length||0}const[M,B]=(0,y.useState)(P());(0,y.useEffect)((()=>{B(P())}),[O,R,x]),ae((()=>{T.cols&&I.current?(I.current.style.width="",I.current.style.resize="none"):I.current&&(I.current.style.width="100%")}),[T.cols]);const F={id:l,onKeyDown:e=>{if(!a&&b&&"word"===x){const t=e.which;(w&&M>=w&&32===t||w&&M>=w&&13===t)&&e.preventDefault()}!a&&u&&u(e)},onPaste:e=>{if(!a&&"word"===x&&b&&void 0!==w&&null!==I.current){const t=I.current.value.match(/\w+/g)||[],n=e.clipboardData.getData("Text").match(/\w+/g)||[];if(t.length+n.length>w){e.preventDefault();const r=t.concat(n).slice(0,w);setTimeout((()=>{B(w)}),0),I.current.value=r.join(" ")}}},onChange:e=>{if(!a){if("character"==x)e?.persist?.(),setTimeout((()=>{B(e.target?.value?.length)}),0);else if("word"==x){if(!e.target.value)return void setTimeout((()=>{B(0)}),0);if(b&&void 0!==w&&null!==I.current){const t=e.target?.value?.match(/\w+/g);t&&t.length<=w?(I.current.removeAttribute("maxLength"),setTimeout((()=>{B(t.length)}),0)):t&&t.length>w&&setTimeout((()=>{B(t.length)}),0)}}s&&s(e)}},onClick:e=>{!a&&c&&c(e)}},j=v()(`${A}--form-item`,n),V=v()(`${A}--text-area__wrapper`,{[`${A}--text-area__wrapper--cols`]:T.cols,[`${A}--text-area__wrapper--readonly`]:T.readOnly,[`${A}--text-area__wrapper--warn`]:k,[`${A}--text-area__wrapper--slug`]:N,[`${A}--text-area__wrapper--decorator`]:r}),U=v()(`${A}--label`,{[`${A}--visually-hidden`]:i&&!$,[`${A}--label--disabled`]:a}),W=v()(`${A}--text-area`,{[`${A}--text-area--light`]:h,[`${A}--text-area--invalid`]:d,[`${A}--text-area--warn`]:k}),q=v()(`${A}--label`,{[`${A}--label--disabled`]:a}),K=v()(`${A}--form__helper-text`,{[`${A}--form__helper-text--disabled`]:a}),Q=o?E().createElement(H,{as:"label",htmlFor:l,className:U},o):null,Z=b&&w&&("character"===x||"word"===x)?E().createElement(H,{as:"div",className:q},`${M}/${w}`):null,Y=p?`text-area-helper-text-${L}`:void 0,G=p?E().createElement(H,{as:"div",id:Y,className:K},p):null,X=l+"-error-msg",J=d?E().createElement(H,{as:"div",role:"alert",className:`${A}--form-requirement`,id:X},f,$&&E().createElement(An.BF,{className:`${A}--text-area__invalid-icon`})):null,ee=k?E().createElement(H,{as:"div",role:"alert",className:`${A}--form-requirement`},C,$&&E().createElement(An.OR,{className:`${A}--text-area__invalid-icon ${A}--text-area__invalid-icon--warning`})):null;let te;d?te=X:d||k||$||!p||(te=Y),b&&"character"==x&&(F.maxLength=w);const ne=(0,y.useRef)(null),[re,oe]=(0,y.useState)(""),ie=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"characters";const r=t-e;return r<=10&&r>0?`${r} ${1===r?n.slice(0,-1):n} left.`:r<=0?`Maximum ${n} reached.`:null}(M,w,"word"===x?"words":void 0);(0,y.useEffect)((()=>{if(ie&&ie!==re){const e=ne.current;if(e){e.textContent="";const t=setTimeout((()=>{e&&(e.textContent=ie,oe(ie))}),"word"===x?2e3:1e3);return()=>{t&&clearTimeout(t)}}}}),[ie,re,x]);const se=E().createElement("textarea",g({},T,F,{placeholder:m,"aria-readonly":!!T.readOnly,className:W,"aria-invalid":d,"aria-describedby":te,disabled:a,rows:_,readOnly:T.readOnly,ref:z}));let ce=E().isValidElement(N??r)?N??r:null;return ce&&"AILabel"===ce.type?.displayName&&(ce=E().cloneElement(ce,{size:"mini"})),E().createElement("div",{className:j},E().createElement("div",{className:`${A}--text-area__label-wrapper`},Q,Z),E().createElement("div",{className:V,"data-invalid":d||null},d&&!$&&E().createElement(An.BF,{className:`${A}--text-area__invalid-icon`}),k&&!d&&!$&&E().createElement(An.OR,{className:`${A}--text-area__invalid-icon ${A}--text-area__invalid-icon--warning`}),se,N?ce:r?E().createElement("div",{className:`${A}--text-area__inner-wrapper--decorator`},ce):"",E().createElement("span",{className:`${A}--text-area__counter-alert`,role:"alert","aria-live":"assertive","aria-atomic":"true",ref:ne},ie),$&&E().createElement("hr",{className:`${A}--text-area__divider`}),$&&d?J:null,$&&k&&!d?ee:null),d||k||$?null:G,d&&!$?J:null,!k||d||$?null:ee)}));Dr.displayName="TextArea",Dr.propTypes={className:C().string,cols:C().number,counterMode:C().oneOf(["character","word"]),decorator:C().node,defaultValue:C().oneOfType([C().string,C().number]),disabled:C().bool,enableCounter:C().bool,helperText:C().node,hideLabel:C().bool,id:C().string,invalid:C().bool,invalidText:C().node,labelText:C().node.isRequired,light:j(C().bool),maxCount:C().number,onChange:C().func,onClick:C().func,onKeyDown:C().func,placeholder:C().string,readOnly:C().bool,rows:C().number,slug:j(C().node),value:C().oneOfType([C().string,C().number]),warn:C().bool,warnText:C().node};var Br=n(5848);const Fr=E().forwardRef((function(e,t){let{as:n,children:r,className:a,href:l,disabled:o=!1,inline:i=!1,visited:s=!1,renderIcon:c,size:u,target:d,...f}=e;const p=S(),h=v()(`${p}--link`,a,{[`${p}--link--disabled`]:o,[`${p}--link--inline`]:i,[`${p}--link--visited`]:s,[`${p}--link--${u}`]:u}),m={className:n?void 0:h,rel:"_blank"===d?"noopener":void 0,target:d};o?(m.role="link",m["aria-disabled"]=!0):m.href=l;const b=n??"a";return E().createElement(b,g({ref:t},m,f),r,!i&&c&&E().createElement("div",{className:`${p}--link__icon`},E().createElement(c,null)))}));var jr,Vr,Hr,Ur;Fr.displayName="Link",Fr.propTypes={as:C().elementType,children:C().node,className:C().string,disabled:C().bool,href:C().string,inline:C().bool,renderIcon:C().oneOfType([C().func,C().object]),size:C().oneOf(["sm","md","lg"]),visited:C().bool};const Wr=E().forwardRef((function(e,t){let{children:n,className:r,decorator:a,light:l=!1,slug:o,hasRoundedCorners:i=!1,...s}=e;const c=S(),u=v()(`${c}--tile`,{[`${c}--tile--light`]:l,[`${c}--tile--slug`]:o,[`${c}--tile--slug-rounded`]:o&&i,[`${c}--tile--decorator`]:a,[`${c}--tile--decorator-rounded`]:a&&i},r);return E().createElement("div",g({className:u,ref:t},s),n,o,a&&E().createElement("div",{className:`${c}--tile--inner-decorator`},a))}));Wr.displayName="Tile",Wr.propTypes={children:C().node,className:C().string,decorator:C().node,hasRoundedCorners:C().bool,light:j(C().bool),slug:j(C().node)};const qr=E().forwardRef((function(e,t){let{children:n,className:r,clicked:a=!1,decorator:l,disabled:o,href:i,light:s,onClick:c=()=>{},onKeyDown:u=()=>{},renderIcon:d,hasRoundedCorners:f,slug:p,...h}=e;const m=S(),b=v()(`${m}--tile`,`${m}--tile--clickable`,{[`${m}--tile--is-clicked`]:a,[`${m}--tile--light`]:s,[`${m}--tile--slug`]:p,[`${m}--tile--slug-rounded`]:p&&f,[`${m}--tile--decorator`]:l,[`${m}--tile--decorator-rounded`]:l&&f},r),[w,x]=(0,y.useState)(a),k=zt("enable-v12-tile-default-icons");k&&(d||(d=Br.Qp),o&&(d=En));const C=v()({[`${m}--tile--icon`]:!k||k&&!o,[`${m}--tile--disabled-icon`]:k&&o});return E().createElement(Fr,g({className:b,href:i,tabIndex:i||o?void 0:0,onClick:o?void 0:function(e){e?.persist?.(),x(!w),c(e)},onKeyDown:function(e){e?.persist?.(),U(e,[K,Z])&&x(!w),u(e)},ref:t,disabled:o},h),p||l?E().createElement("div",{className:`${m}--tile-content`},n):n,(!0===p||!0===l)&&E().createElement(Br.bE,{size:"24",className:`${m}--tile--ai-label-icon`}),E().isValidElement(l)&&E().createElement("div",{className:`${m}--tile--inner-decorator`},l),d&&E().createElement(d,{className:C,"aria-hidden":"true"}))}));qr.displayName="ClickableTile",qr.propTypes={children:C().node,className:C().string,clicked:C().bool,decorator:C().oneOfType([C().bool,C().node]),disabled:C().bool,hasRoundedCorners:C().bool,href:C().string,light:j(C().bool),onClick:C().func,onKeyDown:C().func,rel:C().string,renderIcon:C().oneOfType([C().func,C().object])},E().forwardRef((function(e,t){let{children:n,className:r,decorator:a,disabled:l,id:o,light:i,onClick:s=()=>{},onChange:c=()=>{},onKeyDown:u=()=>{},selected:d=!1,tabIndex:f=0,title:p="title",slug:h,hasRoundedCorners:m,...b}=e;const w=S(),x=s,k=u,[C,_]=(0,y.useState)(d),[N,T]=(0,y.useState)(d),$=v()(`${w}--tile`,`${w}--tile--selectable`,{[`${w}--tile--is-selected`]:C,[`${w}--tile--light`]:i,[`${w}--tile--disabled`]:l,[`${w}--tile--slug`]:h,[`${w}--tile--slug-rounded`]:h&&m,[`${w}--tile--decorator`]:a,[`${w}--tile--decorator-rounded`]:a&&m},r);d!==N&&(_(d),T(d));const R=(0,y.useRef)(null);let O=E().isValidElement(h??a)?h??a:null;return O&&"AILabel"===O.type?.displayName&&(O=E().cloneElement(O,{size:"xs",ref:R})),E().createElement("div",g({className:$,onClick:l?void 0:function(e){e.preventDefault(),e?.persist?.(),O&&R.current&&R.current.contains(e.target)||(_(!C),x(e),c(e,C,o))},role:"checkbox","aria-checked":C,onKeyDown:l?void 0:function(e){e?.persist?.(),U(e,[K,Z])&&(e.preventDefault(),_(!C),c(e,C,o)),k(e)},tabIndex:l?void 0:f,ref:t,id:o,onChange:l?void 0:function(e){_(e.target.checked),c(e,C,o)},title:p},b),E().createElement("span",{className:`${w}--tile__checkmark ${w}--tile__checkmark--persistent`},C?jr||(jr=E().createElement(A.NW,null)):Vr||(Vr=E().createElement(ur,null))),E().createElement(H,{as:"label",htmlFor:o,className:`${w}--tile-content`},n),h?O:a?E().createElement("div",{className:`${w}--tile--inner-decorator`},O):"")})).propTypes={children:C().node,className:C().string,decorator:C().node,disabled:C().bool,hasRoundedCorners:C().bool,id:C().string,light:j(C().bool),name:j(C().string),onChange:C().func,onClick:C().func,onKeyDown:C().func,selected:C().bool,slug:j(C().node),tabIndex:C().number,title:C().string,value:j(C().oneOfType([C().string,C().number]))};const Kr=E().forwardRef((function(e,t){let{tabIndex:n=0,className:r,children:a,decorator:l,expanded:o=!1,tileMaxHeight:i=0,tilePadding:s=0,onClick:c,onKeyUp:u,tileCollapsedIconText:d="Interact to expand Tile",tileExpandedIconText:f="Interact to collapse Tile",tileCollapsedLabel:p,tileExpandedLabel:h,light:m,slug:b,hasRoundedCorners:w,...x}=e;const[k,C]=(0,y.useState)(i),[_,N]=(0,y.useState)(s),[T,$]=(0,y.useState)(o),[R,O]=(0,y.useState)(i),[L,I]=(0,y.useState)(s),[z,P]=(0,y.useState)(o),[M,B]=(0,y.useState)(!0),F=(0,y.useRef)(null),j=(0,y.useRef)(null),V=(0,y.useRef)(null),H=(0,y.useRef)(null),W=(0,y.useRef)(null),q=le([t,W]),Q=S();function Y(){z&&H.current&&C(H.current.getBoundingClientRect()?.height),F.current&&C(F.current.getBoundingClientRect().height)}function G(e){e?.persist?.(),P(!z),Y()}function X(e){e.target!==W.current&&e.target!==V.current&&U(e,[K,Z])&&e.preventDefault()}o!==T&&(P(o),$(o),Y()),i!==R&&(C(i),O(i)),s!==L&&(N(s),I(s));const J=v()(`${Q}--tile`,`${Q}--tile--expandable`,{[`${Q}--tile--is-expanded`]:z,[`${Q}--tile--light`]:m},r),ee=v()(`${Q}--tile`,`${Q}--tile--expandable`,`${Q}--tile--expandable--interactive`,{[`${Q}--tile--is-expanded`]:z,[`${Q}--tile--light`]:m,[`${Q}--tile--slug`]:b,[`${Q}--tile--slug-rounded`]:b&&w,[`${Q}--tile--decorator`]:l,[`${Q}--tile--decorator-rounded`]:l&&w},r),te=v()(`${Q}--tile__chevron`,`${Q}--tile__chevron--interactive`),ne=E().Children.toArray(a);ae((()=>{if(!W.current||!F.current)return;const e=window.getComputedStyle(W.current,null),{current:t}=F,{height:n}=t.getBoundingClientRect(),r=parseInt(e.getPropertyValue("padding-top"),10),a=parseInt(e.getPropertyValue("padding-bottom"),10);C(n),N(r+a)}),[k]),ae((()=>{F.current&&j.current&&(Ft(j.current)||jt(j.current)||Ft(F.current)||jt(F.current)||b||l||B(!1))}),[b,l]),ae((()=>{W.current&&(W.current.style.maxHeight=z?"":k+_+"px")}),[z,k,_]),(0,y.useEffect)((()=>{if(!F.current)return;const e=new ResizeObserver((e=>{const[t]=e;C(t.contentRect.height)}));return e.observe(F.current),()=>e.disconnect()}),[]);const re=D("expandable-tile-interactive");let oe=E().isValidElement(b??l)?b??l:null;return oe&&"AILabel"===oe.type?.displayName&&(oe=E().cloneElement(oe,{size:"xs"})),M?E().createElement("div",g({ref:q,className:ee},x),E().createElement("div",{ref:H},b?oe:l?E().createElement("div",{className:`${Q}--tile--inner-decorator`},oe):"",E().createElement("div",{ref:F,className:`${Q}--tile-content`},ne[0]),E().createElement("button",{type:"button","aria-expanded":z,"aria-controls":re,onKeyUp:Kt([u,X]),onClick:Kt([c,G]),"aria-label":z?f:d,ref:V,className:te},Hr||(Hr=E().createElement(A.yQ,null))),E().createElement("div",{ref:j,className:`${Q}--tile-content`,id:re},ne[1]))):E().createElement("button",g({type:"button",ref:q,className:J,"aria-expanded":z,title:z?f:d},x,{onKeyUp:Kt([u,X]),onClick:Kt([c,G]),tabIndex:n}),E().createElement("div",{ref:H},E().createElement("div",{ref:F,className:`${Q}--tile-content`},ne[0]),E().createElement("div",{className:`${Q}--tile__chevron`},E().createElement("span",null,z?h:p),Ur||(Ur=E().createElement(A.yQ,null))),E().createElement("div",{ref:j,className:`${Q}--tile-content`},ne[1])))}));Kr.propTypes={children:C().node,className:C().string,decorator:C().node,expanded:C().bool,hasRoundedCorners:C().bool,id:C().string,light:j(C().bool),onClick:C().func,onKeyUp:C().func,slug:j(C().node),tabIndex:C().number,tileCollapsedIconText:C().string,tileCollapsedLabel:C().string,tileExpandedIconText:C().string,tileExpandedLabel:C().string},Kr.displayName="ExpandableTile";const Qr=E().forwardRef((function(e,t){let{children:n}=e;const r=S();return E().createElement("div",{ref:t,className:`${r}--tile-content__above-the-fold`},n)}));Qr.propTypes={children:C().node},Qr.displayName="TileAboveTheFoldContent";const Zr=E().forwardRef((function(e,t){let{children:n}=e;const r=S();return E().createElement("div",{ref:t,className:`${r}--tile-content__below-the-fold`},n)}));Zr.propTypes={children:C().node},Zr.displayName="TileBelowTheFoldContent";const Yr=E().createContext(1),Gr=["one","two","three"],Xr=Gr.length-1,Jr=E().forwardRef((function(e,t){let{as:n="div",className:r,children:a,level:l,...o}=e;const i=E().useContext(Yr),s=l??i,c=S(),u=v()(`${c}--layer-${Gr[s]}`,r),d=Math.max(0,Math.min(s+1,Xr)),f=n;return E().createElement(Yr.Provider,{value:d},E().createElement(f,g({ref:t},o,{className:u}),a))}));Jr.displayName="Layer",Jr.propTypes={as:C().oneOfType([C().func,C().string,C().elementType]),children:C().node,className:C().string,level:C().oneOf([0,1,2])};const ea=Jr;var ta=n(9772),na=n.n(ta);const ra={NONE:"NONE",DESC:"DESC",ASC:"ASC"},aa=(e,t)=>`${e}:${t}`,la=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en";return null===e&&(e=""),null===t&&(t=""),"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?oa(e,t,n):"object"==typeof e&&"object"==typeof t&&"string"==typeof e.props?.children&&"string"==typeof t.props?.children?oa(e.props.children,t.props.children,n):oa(""+e,""+t,n)},oa=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en";return isNaN(e)||isNaN(parseFloat(e))||isNaN(t)||isNaN(parseFloat(t))?e.localeCompare(t,n):e.localeCompare(t,n,{numeric:!0})},ia=(e,t,n)=>{let{sortDirection:r,sortStates:a,locale:l}=n;return r===a.ASC?la(e,t,l):la(t,e,l)},sa=ra.NONE,ca=(e,t,n)=>{let{key:r}=n;const{sortDirection:a,sortHeaderKey:l}=t,o=(i=a,r===l?"NONE"===i?ra.ASC:"ASC"===i?ra.DESC:ra.NONE:ra.ASC);var i;return ua(e,t,r,o)},ua=(e,t,n,r)=>{const{rowIds:a,cellsById:l,initialRowOrder:o}=t,{locale:i,sortRow:s}=e,c=r!==ra.NONE?(e=>{let{rowIds:t,cellsById:n,sortDirection:r,key:a,locale:l="en",sortRow:o=ia}=e;return t.slice().sort(((e,t)=>{const i=n[aa(e,a)],s=n[aa(t,a)];return o(i&&i.value,s&&s.value,{key:a,sortDirection:r,locale:l,sortStates:ra,compare:la,rowIds:[e,t]})}))})({rowIds:a,cellsById:l,sortDirection:r,key:n,locale:i,sortRow:s}):o;return{sortHeaderKey:n,sortDirection:r,rowIds:c}};var da=(e,t)=>{const{rowIds:n,rowsById:r,cellsById:a}=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{rowsById:r}=n,a=new Array(e.length),l={},o={};return e.forEach(((e,n)=>{a[n]=e.id;const{id:i,isSelected:s=!1,isExpanded:c=!1,disabled:u=!1}=e;l[i]={id:i,isSelected:s,isExpanded:c,disabled:u,cells:new Array(t.length)},r&&void 0!==r[e.id]&&(l[e.id].isSelected=r[e.id].isSelected,l[e.id].isExpanded=r[e.id].isExpanded),t.forEach(((t,n)=>{let{key:r,slug:a,decorator:i}=t;const s=aa(e.id,r);o[s]={id:s,value:e[r],isEditable:!1,isEditing:!1,isValid:!0,errors:null,hasAILabelHeader:!(!a&&"AILabel"!==i?.type?.displayName),info:{header:r}},l[e.id].cells[n]=s}))})),{rowIds:a,rowsById:l,cellsById:o}}(e.rows,e.headers,t),l={rowIds:n,rowsById:r,cellsById:a,sortDirection:t.sortDirection||sa,sortHeaderKey:t.sortHeaderKey||null,initialRowOrder:n.slice(),filterInputValue:t.filterInputValue||null,shouldShowBatchActions:t.shouldShowBatchActions||!1};if(t.sortDirection&&t.sortHeaderKey){const{rowIds:n}=ua(e,l,t.sortHeaderKey,t.sortDirection);l.rowIds=n}return l.isExpandedAll=l.rowIds.every((e=>!0===l.rowsById[e].isExpanded)),l},fa=(e,t,n)=>e.map((e=>({...t[e],cells:t[e].cells.map((e=>n[e]))})));const pa=e=>{let{rowIds:t,headers:n,cellsById:r,inputValue:a,getCellId:l}=e;return t.filter((e=>n.some((t=>{let{key:n}=t;const o=l(e,n);return"boolean"!=typeof r[o].value&&(""+r[o].value).toLowerCase().includes(a.toLowerCase())}))))};function ha(e,t=0,n={}){"object"!=typeof n&&(n={});const{signal:r,leading:a=!1,trailing:l=!0,maxWait:o}=n,i=Array(2);let s;a&&(i[0]="leading"),l&&(i[1]="trailing");let c=null;const u=function(e,t,{signal:n,edges:r}={}){let a,l=null;const o=null!=r&&r.includes("leading"),i=null==r||r.includes("trailing"),s=()=>{null!==l&&(e.apply(a,l),a=void 0,l=null)};let c=null;const u=()=>{null!=c&&clearTimeout(c),c=setTimeout((()=>{c=null,i&&s(),f()}),t)},d=()=>{null!==c&&(clearTimeout(c),c=null)},f=()=>{d(),a=void 0,l=null},p=function(...e){if(n?.aborted)return;a=this,l=e;const t=null==c;u(),o&&t&&s()};return p.schedule=u,p.cancel=f,p.flush=()=>{d(),s()},n?.addEventListener("abort",f,{once:!0}),p}((function(...t){s=e.apply(this,t),c=null}),t,{signal:r,edges:i}),d=function(...t){if(null!=o)if(null===c)c=Date.now();else if(Date.now()-c>=o)return s=e.apply(this,t),c=Date.now(),u.cancel(),u.schedule(),s;return u.apply(this,t),s};return d.cancel=u.cancel,d.flush=()=>(u.flush(),s),d}const ma=(0,y.createContext)({titleId:void 0,descriptionId:void 0}),ga=(e,t)=>{if(e.children.length>0)return!1;const n=window.getComputedStyle(e);t.font=n.font?n.font:`${n.fontSize}" "${n.fontFamily}`;const r=t?.measureText(e.textContent??"");let a=r.width??0;const l=n.letterSpacing?.split("px");l&&l.length&&!isNaN(Number(l[0]))&&(a+=Number(l[0])*(e.textContent?.length??0));const o=n.paddingLeft?.split("px");o&&o.length&&!isNaN(Number(o[0]))&&(a+=Number(o[0]));const i=n.paddingLeft?.split("px");return i&&i.length&&!isNaN(Number(i[0]))&&(a+=Number(i[0])),a>e.getBoundingClientRect().width},ba=e=>{let{className:t,children:n,useZebraStyles:r,size:a="lg",isSortable:l=!1,useStaticWidth:o,stickyHeader:i,overflowMenuOnHover:s=!0,experimentalAutoAlign:c=!1,tabIndex:u,...d}=e;const{titleId:f,descriptionId:p}=(0,y.useContext)(ma),h=S(),[m,b]=(0,y.useState)(!1),w=(0,y.useRef)(null),x=v()(`${h}--data-table`,t,{[`${h}--data-table--${a}`]:a,[`${h}--data-table--sort`]:l,[`${h}--data-table--zebra`]:r,[`${h}--data-table--static`]:o,[`${h}--data-table--sticky-header`]:i,[`${h}--data-table--visible-overflow-menu`]:!s}),k=(0,y.useCallback)((function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?w.current?.classList.add(`${h}--data-table--top-aligned-body`):w.current?.classList.remove(`${h}--data-table--top-aligned-body`)}),[h]),C=(0,y.useCallback)((function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?w.current?.classList.add(`${h}--data-table--top-aligned-header`):w.current?.classList.remove(`${h}--data-table--top-aligned-header`)}),[h]),_=(0,y.useCallback)((()=>{if(c){const e=document.createElement("canvas").getContext("2d");if(w.current&&e){const t=Array.from(w.current.querySelectorAll("td")).some((t=>ga(t,e))),n=Array.from(w.current.querySelectorAll("th")).some((t=>{const n=t.querySelector(`.${h}--table-header-label`);return n&&ga(n,e)}));k(t),C(n)}}else k(!1),C(!1)}),[c,k,C,h]);oe("resize",ha(_,100));const N=(0,y.useCallback)((()=>{const e=w?.current?.parentNode,t=w?.current?.firstChild;b(t?.scrollWidth>e?.clientWidth)}),[]);oe("resize",ha(N,100)),ae((()=>{N()}),[N]),"undefined"!=typeof document&&document?.fonts?.status&&"loaded"!==document.fonts.status&&document.fonts.ready.then((()=>{_()})),ae((()=>{_()}),[_,a]);const T=E().createElement("div",{className:`${h}--data-table-content`,tabIndex:u??(m?0:void 0)},E().createElement("table",g({"aria-labelledby":f,"aria-describedby":p},d,{className:x,ref:w}),n));return i?E().createElement("section",{className:`${h}--data-table_inner-container`},T):T};ba.propTypes={children:C().node,className:C().string,experimentalAutoAlign:C().bool,isSortable:C().bool,overflowMenuOnHover:C().bool,size:C().oneOf(["xs","sm","md","lg","xl"]),stickyHeader:C().bool,useStaticWidth:C().bool,useZebraStyles:C().bool,tabIndex:C().number};const va=e=>{let{name:t,className:n,type:r}=e;function a(e){let{className:t,...a}=e;const l=S(),o=v()("function"==typeof n?n(l):n,t);return E().createElement(r,{...a,className:o||void 0})}return a.displayName=t,a.propTypes={className:C().string},a},ya=va({name:"TableActionList",type:"div",className:e=>`${e}--action-list`}),wa=e=>{let{renderIcon:t=Br.on,iconDescription:n="Add",...r}=e;return E().createElement(Zt,g({renderIcon:t,iconDescription:n},r))};wa.propTypes={hasIconOnly:C().bool,iconDescription:e=>{if(e.renderIcon&&!e.children&&!e.iconDescription)return new Error("renderIcon property specified without also providing an iconDescription property.")},renderIcon:C().oneOfType([C().func,C().object])};const Ea={"carbon.table.batch.cancel":"Cancel","carbon.table.batch.items.selected":"items selected","carbon.table.batch.item.selected":"item selected","carbon.table.batch.selectAll":"Select all"},xa=function(e){let{totalSelected:t,totalCount:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{totalSelected:0,totalCount:0};return"carbon.table.batch.cancel"===e?Ea[e]:"carbon.table.batch.selectAll"===e?`${Ea[e]} (${n})`:`${t} ${Ea[e]}`},Sa=e=>{let{className:t,children:n,shouldShowBatchActions:r,totalSelected:a,totalCount:l,onCancel:o,onSelectAll:i,translateWithId:s=xa,...c}=e;const[u,d]=E().useState(!1),f=S(),p=v()({[`${f}--batch-actions`]:!0,[`${f}--batch-actions--active`]:r},t),h=v()(`${f}--batch-summary`,{[`${f}--batch-summary__scroll`]:u});return E().createElement("div",g({onScroll:()=>{d(!u)},"aria-hidden":!r,className:p},c),E().createElement("div",{className:h},E().createElement("p",{className:`${f}--batch-summary__para`},E().createElement(H,null,s(a>1||0===a?"carbon.table.batch.items.selected":"carbon.table.batch.item.selected",{totalSelected:a}))),i&&E().createElement(E().Fragment,null,E().createElement("span",{className:`${f}--batch-summary__divider`},"|"),E().createElement(Zt,{onClick:i,tabIndex:r?0:-1},s("carbon.table.batch.selectAll",{totalCount:l})))),E().createElement(ya,null,n,E().createElement(Zt,{className:`${f}--batch-summary__cancel`,tabIndex:r?0:-1,onClick:o},s("carbon.table.batch.cancel"))))};Sa.translationKeys=["carbon.table.batch.cancel","carbon.table.batch.items.selected","carbon.table.batch.item.selected","carbon.table.batch.selectAll"],Sa.propTypes={children:C().node,className:C().string,onCancel:C().func.isRequired,onSelectAll:C().func,shouldShowBatchActions:C().bool,totalCount:C().number,totalSelected:C().number.isRequired,translateWithId:C().func};const ka=e=>{let{children:t,className:n,...r}=e;return E().createElement("tbody",g({"aria-live":"polite",className:n},r),t)};ka.propTypes={"aria-live":C().oneOf(["polite","assertive","off"]),children:C().node,className:C().string};const Ca=E().forwardRef(((e,t)=>{let{children:n,className:r,hasAILabelHeader:a,colSpan:l,...o}=e;const i=S(),s=v()(r,{[`${i}--table-cell--column-slug`]:a});return E().createElement("td",g({className:s||void 0,ref:t,colSpan:l},o),n)}));Ca.displayName="TableCell";const _a=e=>{let{className:t,children:n,title:r,description:a,stickyHeader:l,useStaticWidth:o,...i}=e;const s=D("tc"),c=`${s}-title`,u=`${s}-description`,d=S(),f=v()(t,`${d}--data-table-container`,{[`${d}--data-table--max-width`]:l,[`${d}--data-table-container--static`]:o}),p=(0,y.useMemo)((()=>({titleId:r?c:void 0,descriptionId:a?u:void 0})),[r,a,c,u]);return E().createElement(ma.Provider,{value:p},E().createElement("div",g({},i,{className:f}),r&&E().createElement("div",{className:`${d}--data-table-header`},E().createElement("h4",{className:`${d}--data-table-header__title`,id:c},r),E().createElement("p",{className:`${d}--data-table-header__description`,id:u},a)),n))};_a.propTypes={children:C().node,className:C().string,description:C().node,stickyHeader:C().bool,title:C().node,useStaticWidth:C().bool};const Na=e=>{let{className:t,decorator:n}=e;const r=S(),a=v()({...t&&{[t]:!0},[`${r}--table-column-decorator`]:!0,[`${r}--table-column-decorator--active`]:n});let l=E().isValidElement(n)?n:null;return l&&"AILabel"===l.type?.displayName&&(l=E().cloneElement(l,{size:"mini"})),E().createElement("td",{className:a},l)};function Ta(e,t){return function(e,n,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),o=3;o<a;o++)l[o-3]=arguments[o];return t(e,n,r,...l)}}Na.displayName="TableDecoratorRow",Na.propTypes={className:C().string,decorator:C().node};const Aa=e=>{let{"aria-controls":t,"aria-label":n,ariaLabel:r,className:a,enableExpando:l,enableToggle:o,id:i="expand",isExpanded:s,onExpand:c,expandIconDescription:u,children:d,...f}=e;const p=S(),h=v()(`${p}--table-expand`,a),m=s?"collapsed":void 0;return E().createElement("th",g({scope:"col",className:h,"data-previous-value":m,id:i},f),l||o?E().createElement("button",{type:"button",className:`${p}--table-expand__button`,onClick:c,title:u,"aria-label":r||n,"aria-expanded":s,"aria-controls":t},E().createElement(A.c_,{className:`${p}--table-expand__svg`,"aria-label":u})):null,d)};Aa.propTypes={"aria-controls":C().string,"aria-label":C().string,ariaLabel:C().string,children:C().node,className:C().string,enableExpando:j(C().bool),enableToggle:C().bool,expandIconDescription:C().string,id:C().string,isExpanded:Ta(0,C().bool),onExpand:C().oneOfType([Ta(0,C().func),Ta(0,C().func)])};const $a=E().forwardRef(((e,t)=>{let{"aria-controls":n,"aria-label":r,ariaLabel:a,className:l,children:o,isExpanded:i,onExpand:s,expandIconDescription:c,isSelected:u,expandHeader:d="expand",...f}=e;const p=S();let h;const m=E().Children.toArray(o).map((e=>{if("TableSlugRow"===e.type?.displayName||"TableDecoratorRow"===e.type?.displayName)return(e.props.slug||"AILabel"===e.props.decorator?.type.displayName)&&(h=!0),e})),b=E().Children.toArray(o).map((e=>{if("TableSlugRow"!==e.type?.displayName&&"TableDecoratorRow"!==e.type?.displayName)return e})),y=v()({[`${p}--parent-row`]:!0,[`${p}--expandable-row`]:i,[`${p}--data-table--selected`]:u,[`${p}--data-table--slug-row ${p}--data-table--ai-label-row`]:h},l),w=i?"collapsed":void 0;return E().createElement("tr",g({},f,{ref:t,className:y,"data-parent-row":!0}),m,E().createElement(Ca,{className:`${p}--table-expand`,"data-previous-value":w,headers:d},E().createElement("button",{type:"button",className:`${p}--table-expand__button`,onClick:s,title:c,"aria-label":a||r,"aria-expanded":i,"aria-controls":n},E().createElement(A.c_,{className:`${p}--table-expand__svg`,"aria-label":c}))),b)}));$a.propTypes={"aria-controls":C().string,"aria-label":C().string,ariaLabel:C().string,children:C().node,className:C().string,expandHeader:C().string,expandIconDescription:C().string,isExpanded:C().bool,isSelected:C().bool,onExpand:C().func.isRequired},$a.displayName="TableExpandRow";const Ra=e=>{let{className:t,children:n,colSpan:r,...a}=e;const l=(0,y.useRef)(null),o=S(),i=v()(`${o}--expandable-row`,t),s=e=>{if(l&&l.current&&l.current.previousElementSibling){const t=l.current.previousElementSibling;"enter"===e?t.classList.add(`${o}--expandable-row--hover`):t.classList.remove(`${o}--expandable-row--hover`)}};return E().createElement("tr",g({ref:l,onMouseEnter:()=>s("enter"),onMouseLeave:()=>s("leave")},a,{className:i,"data-child-row":!0}),E().createElement(Ca,{colSpan:r},E().createElement("div",{className:`${o}--child-row-inner-container`},n)))};Ra.propTypes={children:C().node,className:C().string,colSpan:C().number.isRequired};const Oa=va({name:"TableHead",type:"thead"}),La="col",Ia={buttonDescription:"carbon.table.header.icon.description"},za=(e,t)=>t&&e===Ia.buttonDescription?t.isSortHeader&&ra?t.sortDirection===ra.NONE?`Click to sort rows by ${t.header} header in ascending order`:t.sortDirection===ra.ASC?`Click to sort rows by ${t.header} header in descending order`:`Click to unsort rows by ${t.header} header`:`Click to sort rows by ${t.header} header in ascending order`:"",Pa={[ra.NONE]:"none",[ra.ASC]:"ascending",[ra.DESC]:"descending"},Ma=E().forwardRef((function(e,t){let{className:n,children:r,colSpan:a,decorator:l,isSortable:o=!1,isSortHeader:i,onClick:s,scope:c=La,sortDirection:u,translateWithId:d=za,slug:f,id:p,...h}=e;const m=S(),b=D("table-sort"),w=(0,y.useRef)(null);let x,k=E().isValidElement(f??l)?f??l:null;k&&"AILabel"===k.type?.displayName&&(x=!0,k=E().cloneElement(k,{size:"mini",ref:w}));const C=v()({[`${m}--table-header-label`]:!0,[`${m}--table-header-label--slug ${m}--table-header-label--ai-label`]:x,[`${m}--table-header-label--decorator`]:l});if(!o)return E().createElement("th",g({},h,{id:p,className:n,scope:c,colSpan:a,ref:t}),r?E().createElement("div",{className:C},r,E().createElement("div",{className:`${m}--table-header-label--decorator-inner`},k)):null);const _=v()(n,{[`${m}--table-sort`]:!0,[`${m}--table-sort--active`]:i&&u!==ra.NONE,[`${m}--table-sort--descending`]:i&&u===ra.DESC}),N=i&&u?Pa[u]:"none",T=d&&d("carbon.table.header.icon.description",{header:r,sortDirection:u,isSortHeader:i,sortStates:ra}),A=v()(n,`${m}--table-sort__header`,{[`${m}--table-sort__header--ai-label`]:x,[`${m}--table-sort__header--decorator`]:l});return E().createElement("th",{id:p,"aria-sort":N,className:A,colSpan:a,ref:t,scope:c},E().createElement("div",{className:`${m}--table-sort__description`,id:b},T),E().createElement("button",g({type:"button","aria-describedby":b,className:_,onClick:e=>{if(!(x&&w.current&&w.current.contains(e.target)))return s?s(e):void 0}},h),E().createElement("span",{className:`${m}--table-sort__flex`},E().createElement("div",{className:`${m}--table-header-label`},r),E().createElement(Br.Do,{size:20,className:`${m}--table-sort__icon`}),E().createElement(Br.BK,{size:20,className:`${m}--table-sort__icon-unsorted`}),E().createElement("div",{className:`${m}--table-header-label--decorator-inner`},k))))}));Ma.propTypes={children:C().node,className:C().string,colSpan:C().number,id:C().string,isSortHeader:C().bool,isSortable:C().bool,onClick:C().func,scope:C().string,sortDirection:C().oneOf(Object.values(ra)),translateWithId:C().func},Ma.translationKeys=Object.values(Ia),Ma.displayName="TableHeader";const Da=e=>{const t=S();let n;e?.children&&E().Children.toArray(e.children).map((e=>{"TableSlugRow"!==e.type?.displayName&&"TableDecoratorRow"!==e.type?.displayName||(e.props.slug||"AILabel"===e.props.decorator?.type.displayName)&&(n=!0)}));const r=v()(e.className,{[`${t}--data-table--selected`]:e.isSelected,[`${t}--data-table--slug-row ${t}--data-table--ai-label-row`]:n}),{ariaLabel:a,"aria-label":l,"aria-controls":o,onExpand:i,isExpanded:s,isSelected:c,...u}=e;return r&&(u.className=r),E().createElement("tr",u)};Da.propTypes={className:C().string,isSelected:C().bool};const Ba=E().forwardRef((function(e,t){const{"aria-label":n,ariaLabel:r,checked:a=!1,disabled:l,id:o,indeterminate:i,name:s,onChange:c=()=>{},onClick:u,onKeyDown:d,title:f}=e,p=S(),h=(0,y.useRef)(null),m=le([h,t]),g={checked:a,className:`${p}--checkbox`,disabled:l,id:o,name:s,onClick:u?function(e){i&&(e.target.checked=!1),u?.(e)}:u,onChange:e=>{c(e.target.checked,o,e)},onKeyDown:d,ref:m,type:"checkbox"};return i&&(g.checked=!1),(0,y.useEffect)((()=>{h?.current&&(h.current.indeterminate=i||!1)}),[i]),E().createElement("div",{className:`${p}--checkbox--inline`},E().createElement("input",g),E().createElement("label",{htmlFor:o,className:`${p}--checkbox-label`,title:f,onClick:e=>{e.stopPropagation()}},E().createElement("span",{className:`${p}--visually-hidden`},r||n)))}));Ba.propTypes={"aria-label":C().string.isRequired,ariaLabel:j(C().string.isRequired),checked:C().bool,disabled:C().bool,id:C().string.isRequired,indeterminate:C().bool,name:C().string.isRequired,onChange:C().func,onClick:C().func,onKeyDown:C().func,title:C().string};const Fa=e=>{let{ariaLabel:t="Select all rows in the table","aria-label":n,checked:r,id:a,indeterminate:l,name:o,onSelect:i,disabled:s,className:c}=e;const u=S();return E().createElement("th",{"aria-live":"off",scope:"col",className:v()(`${u}--table-column-checkbox`,c)},E().createElement(Ba,{"aria-label":n||t,checked:r,id:a,indeterminate:l,name:o,onClick:i,disabled:s}))};Fa.propTypes={"aria-label":C().string,ariaLabel:j(C().string),checked:C().bool,className:C().string,disabled:C().bool,id:C().string.isRequired,indeterminate:C().bool,name:C().string.isRequired,onSelect:C().func.isRequired};var ja=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>{"function"==typeof t?t(e):Object(t)===t&&(t.current=e)}))}};const Va=E().forwardRef(((e,t)=>{const{className:n,decorator:r,disabled:a,hideLabel:l,id:o,labelPosition:i="right",labelText:s="",name:c,onChange:u=()=>{},value:d="",slug:f,required:p,...h}=e,m=S(),b=D("radio-button"),w=o||b,x=v()(`${m}--radio-button__label-text`,{[`${m}--visually-hidden`]:l}),k=v()(n,`${m}--radio-button-wrapper`,{[`${m}--radio-button-wrapper--label-${i}`]:"right"!==i,[`${m}--radio-button-wrapper--slug`]:f,[`${m}--radio-button-wrapper--decorator`]:r}),C=(0,y.useRef)(null);let _=E().isValidElement(f??r)?f??r:null;if(_&&"AILabel"===_.type?.displayName){const e="inline"===_.props?.kind?"md":"mini";_=E().cloneElement(_,{size:e})}return E().createElement("div",{className:k},E().createElement("input",g({},h,{type:"radio",className:`${m}--radio-button`,onChange:function(e){u(d,c,e)},id:w,ref:ja(C,t),disabled:a,value:d,name:c,required:p})),E().createElement("label",{htmlFor:w,className:`${m}--radio-button__label`},E().createElement("span",{className:`${m}--radio-button__appearance`}),s&&E().createElement(H,{className:x},s,f?_:r?E().createElement("div",{className:`${m}--radio-button-wrapper-inner--decorator`},_):"")))}));Va.displayName="RadioButton",Va.propTypes={checked:C().bool,className:C().string,decorator:C().node,defaultChecked:C().bool,disabled:C().bool,hideLabel:C().bool,id:C().string,labelPosition:C().oneOf(["right","left"]),labelText:C().node.isRequired,name:C().string,onChange:C().func,onClick:C().func,required:C().bool,slug:j(C().node),value:C().oneOfType([C().string,C().number])};const Ha=e=>{let{ariaLabel:t,"aria-label":n,checked:r,id:a,name:l,onSelect:o,onChange:i,disabled:s,radio:c,className:u}=e;const d=S(),f=D(),p=i?(e,t,n)=>{i(!!e,t||"",n)}:void 0,h=i?(e,t,n)=>{i(e,t,n)}:void 0,m={id:a,name:l||f,onClick:o,checked:r,disabled:s},b=n||t||"",y=v()(`${d}--table-column-checkbox`,{...u&&{[u]:!0},[`${d}--table-column-radio`]:c});return E().createElement("td",{className:y,"aria-live":"off"},c?E().createElement(Va,g({},m,{labelText:b,onChange:p,hideLabel:!0})):E().createElement(Ba,g({},m,{"aria-label":b,onChange:h})))};Ha.propTypes={"aria-label":C().string,ariaLabel:j(C().string),checked:C().bool,className:C().string,disabled:C().bool,id:C().string.isRequired,name:C().string.isRequired,onChange:C().func,onSelect:C().func.isRequired,radio:C().bool};const Ua={},Wa=e=>{let{className:t,slug:n}=e;(0,y.useEffect)((()=>{var e;(e="TableSlugRow")&&(Ua[e]||(Ua[e]=!0))}),[]);const r=S(),a=v()({...t&&{[t]:!0},[`${r}--table-column-slug`]:!0,[`${r}--table-column-slug--active`]:n});let l;return n&&(l=E().cloneElement(n,{size:"mini"})),E().createElement("td",{className:a},l)};Wa.displayName="TableSlugRow",Wa.propTypes={className:C().string,slug:C().node};const qa=e=>{let{"aria-label":t="data table toolbar",ariaLabel:n,children:r,size:a,...l}=e;const o=S(),i=v()({[`${o}--table-toolbar`]:!0,[`${o}--table-toolbar--${a}`]:a});return E().createElement("section",g({"aria-label":n||t},l,{className:i}),r)};qa.propTypes={"aria-label":C().string,ariaLabel:j(C().string),children:C().node,size:C().oneOf(["sm","lg"])};const Ka=E().forwardRef((function(e,t){let{className:n,closeMenu:r,disabled:a=!1,handleOverflowMenuItemFocus:l,hasDivider:o=!1,href:i,isDelete:s=!1,index:c,itemText:u="Provide itemText",onClick:d=()=>{},onKeyDown:f=()=>{},requireTitle:p,title:h,wrapperClassName:m,...b}=e;const y=S(),w=v()(`${y}--overflow-menu-options__btn`,n),x=v()(`${y}--overflow-menu-options__option`,{[`${y}--overflow-menu--divider`]:o,[`${y}--overflow-menu-options__option--danger`]:s,[`${y}--overflow-menu-options__option--disabled`]:a},m),k=i?"a":"button",C="string"!=typeof u?u:E().createElement("div",{className:`${y}--overflow-menu-options__option-content`},u);return E().createElement(H,{as:"li",className:x,role:"none"},E().createElement(k,g({className:w,disabled:a,href:i,onClick:function(e){d(e),r&&r()},onKeyDown:e=>{!function(e){W(e,J)&&l?.({currentIndex:c,direction:1}),W(e,G)&&l?.({currentIndex:c,direction:-1})}(e),f(e)},role:"menuitem",ref:t,tabIndex:-1,title:p?h||u:void 0},b),C))}));Ka.propTypes={className:C().string,closeMenu:C().func,disabled:C().bool,handleOverflowMenuItemFocus:C().func,hasDivider:C().bool,href:C().string,index:C().number,isDelete:C().bool,itemText:C().node.isRequired,onBlur:C().func,onClick:C().func,onFocus:C().func,onKeyDown:C().func,onKeyUp:C().func,onMouseDown:C().func,onMouseEnter:C().func,onMouseLeave:C().func,onMouseUp:C().func,requireTitle:C().bool,title:C().string,wrapperClassName:C().string};const Qa=E().forwardRef(((e,t)=>{let{children:n,...r}=e;return E().createElement(Ka,g({ref:t,itemText:n},r))}));Qa.displayName="TableToolbarAction",Qa.propTypes={children:C().node,className:C().string,onClick:C().func.isRequired};const Za=va({name:"TableToolbarContent",type:"div",className:e=>`${e}--toolbar-content`}),Ya={"carbon.table.toolbar.search.label":"Filter table","carbon.table.toolbar.search.placeholder":"Filter table"},Ga=e=>Ya[e],Xa=e=>{let{className:t,searchContainerClass:n,onChange:r,onClear:a=On,translateWithId:l=Ga,placeholder:o,labelText:i,expanded:s,defaultExpanded:c,defaultValue:u,disabled:d,onExpand:f,persistent:p=!1,id:h,onBlur:m,onFocus:b,size:w="lg",tabIndex:x="0",...k}=e;const{current:C}=(0,y.useRef)(void 0!==s),[_,N]=(0,y.useState)(Boolean(c||u)),T=C?s:_,[A,$]=(0,y.useState)(u||""),R=D("table-toolbar-search"),[O,L]=(0,y.useState)(null),I=S();(0,y.useEffect)((()=>{O&&(O.current?.querySelector?.("input")?.focus(),L(null))}),[O]),(0,y.useEffect)((()=>{u&&r?.("",u)}),[]);const z=v()(t,{[n]:n,[`${I}--toolbar-search-container-active`]:T,[`${I}--toolbar-search-container-disabled`]:d,[`${I}--toolbar-search-container-expandable`]:!p,[`${I}--toolbar-search-container-persistent`]:p}),P=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:!T;d||(C||p||N(t),f&&f(e,t))};return E().createElement(Sr,g({disabled:d,className:z,value:A,id:void 0!==h?h:R,labelText:i||l("carbon.table.toolbar.search.label"),placeholder:o||l("carbon.table.toolbar.search.placeholder"),onChange:e=>{$(e.target.value),r&&r(e,e.target.value)},onClear:a,onFocus:b?e=>b(e,P):e=>P(e,!0),onBlur:m?e=>m(e,P):e=>!A&&P(e,!1),size:w,tabIndex:x},k))};var Ja,el,tl,nl;Xa.propTypes={children:C().node,className:C().string,defaultExpanded:C().bool,defaultValue:C().string,disabled:C().bool,expanded:C().bool,id:C().string,labelText:C().string,onBlur:C().func,onChange:C().func,onClear:C().func,onExpand:C().func,onFocus:C().func,persistent:C().bool,placeholder:C().string,searchContainerClass:C().string,size:C().oneOf(["sm","md","lg"]),tabIndex:C().oneOfType([C().number,C().string]),translateWithId:C().func};const rl=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return 16===r||"16"===r||"16px"===r?E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...a},Ja||(Ja=E().createElement("path",{d:"M13.5,8.4c0-0.1,0-0.3,0-0.4c0-0.1,0-0.3,0-0.4l1-0.8c0.4-0.3,0.4-0.9,0.2-1.3l-1.2-2C13.3,3.2,13,3,12.6,3 c-0.1,0-0.2,0-0.3,0.1l-1.2,0.4c-0.2-0.1-0.4-0.3-0.7-0.4l-0.3-1.3C10.1,1.3,9.7,1,9.2,1H6.8c-0.5,0-0.9,0.3-1,0.8L5.6,3.1 C5.3,3.2,5.1,3.3,4.9,3.4L3.7,3C3.6,3,3.5,3,3.4,3C3,3,2.7,3.2,2.5,3.5l-1.2,2C1.1,5.9,1.2,6.4,1.6,6.8l0.9,0.9c0,0.1,0,0.3,0,0.4 c0,0.1,0,0.3,0,0.4L1.6,9.2c-0.4,0.3-0.5,0.9-0.2,1.3l1.2,2C2.7,12.8,3,13,3.4,13c0.1,0,0.2,0,0.3-0.1l1.2-0.4 c0.2,0.1,0.4,0.3,0.7,0.4l0.3,1.3c0.1,0.5,0.5,0.8,1,0.8h2.4c0.5,0,0.9-0.3,1-0.8l0.3-1.3c0.2-0.1,0.4-0.2,0.7-0.4l1.2,0.4 c0.1,0,0.2,0.1,0.3,0.1c0.4,0,0.7-0.2,0.9-0.5l1.1-2c0.2-0.4,0.2-0.9-0.2-1.3L13.5,8.4z M12.6,12l-1.7-0.6c-0.4,0.3-0.9,0.6-1.4,0.8 L9.2,14H6.8l-0.4-1.8c-0.5-0.2-0.9-0.5-1.4-0.8L3.4,12l-1.2-2l1.4-1.2c-0.1-0.5-0.1-1.1,0-1.6L2.2,6l1.2-2l1.7,0.6 C5.5,4.2,6,4,6.5,3.8L6.8,2h2.4l0.4,1.8c0.5,0.2,0.9,0.5,1.4,0.8L12.6,4l1.2,2l-1.4,1.2c0.1,0.5,0.1,1.1,0,1.6l1.4,1.2L12.6,12z"})),el||(el=E().createElement("path",{d:"M8,11c-1.7,0-3-1.3-3-3s1.3-3,3-3s3,1.3,3,3C11,9.6,9.7,11,8,11C8,11,8,11,8,11z M8,6C6.9,6,6,6.8,6,7.9C6,7.9,6,8,6,8 c0,1.1,0.8,2,1.9,2c0,0,0.1,0,0.1,0c1.1,0,2-0.8,2-1.9c0,0,0-0.1,0-0.1C10,6.9,9.2,6,8,6C8.1,6,8,6,8,6z"})),n):E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},tl||(tl=E().createElement("path",{d:"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z"})),nl||(nl=E().createElement("path",{d:"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z"})),n)}));var al,ll,ol;const il=E().forwardRef((function(e,t){let{children:n,size:r=16,...a}=e;return E().createElement(wn.A,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},al||(al=E().createElement("circle",{cx:"16",cy:"8",r:"2"})),ll||(ll=E().createElement("circle",{cx:"16",cy:"16",r:"2"})),ol||(ol=E().createElement("circle",{cx:"16",cy:"24",r:"2"})),n)}));function sl(e,t){switch(t.type){case"enableIcons":return{...e,hasIcons:!0};case"registerItem":return{...e,items:[...e.items,t.payload].filter((e=>null!==e.ref.current))}}}const cl=(0,y.createContext)({state:{isRoot:!0,mode:"full",hasIcons:!1,size:null,items:[],requestCloseRoot:()=>{}},dispatch:e=>{}}),ul=E().createContext({direction:"ltr"}),dl=(0,y.forwardRef)((function(e,t){let{children:n,className:r,containerRef:a,label:l,menuAlignment:o,mode:i="full",onClose:s,onOpen:c,open:u,size:d="sm",legacyAutoalign:f="true",target:p=R&&document.body,x:h=0,y:m=0,...b}=e;const w=S(),x=(0,y.useRef)(null),k=(0,y.useContext)(cl),C=k.state.isRoot;k.state.mode;const _=C?d:k.state.size,[N,T]=(0,y.useReducer)(sl,{...k.state,isRoot:!1,mode:i,size:d,requestCloseRoot:C?B:k.state.requestCloseRoot}),A=(0,y.useMemo)((()=>({state:N,dispatch:T})),[N,T]),$=(0,y.useRef)(null),O=le([t,$]),[L,I]=(0,y.useState)([-1,-1]),z=A.state.items.filter((e=>!e.disabled&&e.ref.current));let P;if(a?.current){const{width:e}=a.current.getBoundingClientRect();P=e}const{direction:M}=(0,y.useContext)(ul);function D(){x.current&&x.current.focus()}function B(e){/^key/.test(e.type)?window.addEventListener("keyup",D,{once:!0}):"click"===e.type&&$.current?$.current.addEventListener("focusout",D,{once:!0}):D(),s&&s()}function F(e){const t=z.findIndex((e=>e.ref?.current?.contains(document.activeElement)));let n=t;if(-1===t?n=0:e&&(W(e,G)&&(n-=1),W(e,J)&&(n+=1)),n<0&&(n=z.length-1),n>=z.length&&(n=0),n!==t){const t=z[n];t.ref?.current?.focus(),e?.preventDefault()}}function j(e,t){if(!$.current)return;const{width:n,height:r}=$.current.getBoundingClientRect(),a=C?"vertical":"horizontal",l={x:{max:window.innerWidth,size:n,anchor:"horizontal"===a?e[1]:e[0],reversedAnchor:"horizontal"===a?e[0]:e[1],offset:0},y:{max:window.innerHeight,size:r,anchor:"horizontal"===a?e[0]:e[1],reversedAnchor:"horizontal"===a?e[1]:e[0],offset:C?0:4}};if(P&&P<l.x.size&&("bottom"===o||"top"===o)&&(l.x.size=P),P&&("bottom-end"===o||"top-end"===o)&&l.x.anchor>=87&&P<l.x.size){const e=l.x.anchor+l.x.reversedAnchor;l.x.anchor=l.x.anchor+e}const{max:i,size:s,anchor:c,reversedAnchor:u,offset:d}=l[t],f=[i-8-s-c>=0&&c-d,u-s>=0&&u-s+d,i-8-s],p="top"===o||"top-end"===o||"top-start"===o;"number"==typeof f[0]&&p&&f[0]>=0&&!f[1]&&"y"===t?$.current.style.transform="translate(0)":p&&!f[0]&&"y"===t&&(f[0]=c-d);const h=f.find((e=>!1!==e));return h>=8?h:8}function V(e){return null!=e}function H(e){if(Array.isArray(e)){const t=e.filter(V);return 2===t.length?t:void 0}return[e,e]}(0,y.useEffect)((()=>{u&&z.length>0&&F()}),[u,z]),(0,y.useEffect)((()=>{u?function(){if($.current){if(x.current=document.activeElement,f){const e=function(){const e={x:H(h),y:H(m)};return e.x&&e.y?[j(e.x,"x")??-1,j(e.y,"y")??-1]:[-1,-1]}();"rtl"!==document?.dir&&"rtl"!==M||b?.id?.includes("MenuButton")?($.current.style.insetInlineStart=`${e[0]}px`,$.current.style.insetInlineEnd="initial"):($.current.style.insetInlineStart="initial",$.current.style.insetInlineEnd=`${e[0]}px`),$.current.style.insetBlockStart=`${e[1]}px`,I(e)}$.current.focus(),c&&c()}}():I([-1,-1])}),[u]);const U=v()(r,`${w}--menu`,`${w}--menu--${_}`,{[`${w}--menu--box-shadow-top`]:o&&"top"===o.slice(0,3),[`${w}--menu--open`]:u,[`${w}--menu--shown`]:u&&!f||L[0]>=0&&L[1]>=0,[`${w}--menu--with-icons`]:A.state.hasIcons,[`${w}--autoalign`]:!f}),q=E().createElement(cl.Provider,{value:A},E().createElement("ul",g({},b,{className:U,role:"menu",ref:O,"aria-label":l,tabIndex:-1,onKeyDown:function(e){e.stopPropagation(),(W(e,Q)||!C&&W(e,Y))&&s?B(e):F(e)},onBlur:function(e){u&&s&&C&&!$.current?.contains(e.relatedTarget)&&B(e)}}),n));return p&&C?u&&(0,Ce.createPortal)(q,p)||null:q}));dl.propTypes={children:C().node,className:C().string,label:C().string,menuAlignment:C().string,mode:C().oneOf(["full","basic"]),onClose:C().func,onOpen:C().func,open:C().bool,size:C().oneOf(["xs","sm","md","lg"]),target:C().object,x:C().oneOfType([C().number,C().arrayOf(C().number)]),y:C().oneOfType([C().number,C().arrayOf(C().number)])};const fl="md",pl=E().forwardRef((function(e,t){let{autoAlign:n=!1,children:r,className:a,label:l="Options",renderIcon:o=il,size:i=fl,menuAlignment:s="bottom-start",tooltipAlignment:c,menuTarget:u,...d}=e;const f=zt("enable-v12-dynamic-floating-styles")||n,{refs:p,floatingStyles:h,placement:m,middlewareData:b}=_t(f?{placement:s,strategy:"fixed",middleware:[n&&mt({fallbackPlacements:s.includes("bottom")?["bottom-start","bottom-end","top-start","top-end"]:["top-start","top-end","bottom-start","bottom-end"]})],whileElementsMounted:at}:{}),w=D("overflowmenu"),x=S(),k=(0,y.useRef)(null),{open:C,x:_,y:N,handleClick:T,handleMousedown:A,handleClose:$}=function(e){const[t,n]=(0,y.useState)(!1),[r,a]=(0,y.useState)([[-1,-1],[-1,-1]]);function l(){n(!1)}return{open:t,x:r[0],y:r[1],handleClick:function(){t?l():function(){const t=e?.current||e;if(t){const{left:e,top:n,right:r,bottom:l}=t.getBoundingClientRect();a([[e,r],[n,l]])}n(!0)}()},handleMousedown:function(e){e.preventDefault()},handleClose:l}}(k);(0,y.useEffect)((()=>{f&&Object.keys(h).forEach((e=>{p.floating.current&&(p.floating.current.style[e]=h[e])}))}),[h,f,p.floating,C,m,b]);const R=v()(a,`${x}--overflow-menu__container`,{[`${x}--autoalign`]:f}),O=v()(`${x}--overflow-menu__${s}`),L=v()(`${x}--overflow-menu`,{[`${x}--overflow-menu--open`]:C},i!==fl&&`${x}--overflow-menu--${i}`),I=ja(k,p.setReference);return E().createElement("div",g({},d,{className:R,"aria-owns":C?w:void 0,ref:t}),E().createElement(qt,{"aria-controls":C?w:void 0,"aria-haspopup":!0,"aria-expanded":C,className:L,onClick:function(){k.current&&T()},onMouseDown:A,ref:I,label:l,align:c,kind:"ghost"},E().createElement(o,{className:`${x}--overflow-menu__icon`})),E().createElement(dl,{containerRef:k,ref:p.setFloating,menuAlignment:s,className:O,id:w,size:i,legacyAutoalign:!f,open:C,onClose:$,x:_,y:N,label:l,target:u},r))}));pl.propTypes={autoAlign:C().bool,children:C().node,className:C().string,label:C().string,menuAlignment:C().oneOf(["top-start","top-end","bottom-start","bottom-end"]),renderIcon:C().oneOfType([C().func,C().object]),size:C().oneOf(["sm","md","lg"]),tooltipAlignment:re(C().oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","left","left-bottom","left-top","right","right-bottom","right-top","top-start","top-end","bottom-start","bottom-end","left-end","left-start","right-end","right-start"]),["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"],(e=>({"top-left":"top-start","top-right":"top-end","bottom-left":"bottom-start","bottom-right":"bottom-end","left-bottom":"left-end","left-top":"left-start","right-bottom":"right-end","right-top":"right-start"}[e]))),menuTarget:C().instanceOf("undefined"!=typeof Element?Element:Object)};var hl=n(6468),ml=n.n(hl);const gl=function(){const e=[];let t=!1;function n(){e.forEach((e=>{e()})),t=!1}function r(){t||(t=!0,ml().requestAnimationFrame(n))}return{add:t=>(e.length||ml().addEventListener("resize",r),function(t){t&&e.indexOf(t)<0&&e.push(t)}(t),{release(){const n=e.indexOf(t);n>=0&&e.splice(n,1)}})}}();var bl=gl;const vl="left",yl="top",wl="right",El="bottom",xl=e=>{let{menuSize:t,refPosition:n={},offset:r={},direction:a=El,scrollX:l=0,scrollY:o=0,container:i}=e;const{left:s=0,top:c=0,right:u=0,bottom:d=0}=n,f="static"!==i.position?0:l,p="static"!==i.position?0:o,h="static"!==i.position?i.rect.top:0,m="static"!==i.position?i.rect.left:0,{width:g,height:b}=t,{top:v=0,left:y=0}=r,w=(s+u)/2,E=(c+d)/2;return{[vl]:()=>({left:s-g+f-y-m,top:E-b/2+p+v-9-h}),[yl]:()=>({left:w-g/2+f+y-m,top:c-b+p-v-h}),[wl]:()=>({left:u+f+y-m,top:E-b/2+p+v+3-h}),[El]:()=>({left:w-g/2+f+y-m,top:d+p+v-h})}[a]()};class Sl extends E().Component{constructor(){var e;super(...arguments),e=this,m(this,"_placeInProgress",!1),m(this,"state",{floatingPosition:void 0}),m(this,"_menuContainer",null),m(this,"_menuBody",null),m(this,"startSentinel",E().createRef()),m(this,"endSentinel",E().createRef()),m(this,"_updateMenuSize",(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=e._menuBody;if(!r)return;const{menuOffset:a={},menuDirection:l}=t,{menuOffset:o={},menuDirection:i=El}=e.props;if(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return typeof e!=typeof t||(Object(t)===t&&"function"!=typeof t?e.top!==t.top||e.left!==t.left:e!==t)}(a,o)||l!==i||n){const{flipped:t,triggerRef:a,updateOrientation:l=null}=e.props,{current:s}=a,c=r.getBoundingClientRect(),u=s&&s.getBoundingClientRect(),d="function"!=typeof o?o:o(r,i,s,t);l&&l({menuSize:c,refPosition:u,direction:i,offset:d,scrollX:ml().pageXOffset,scrollY:ml().pageYOffset,container:{rect:e.props.target().getBoundingClientRect(),position:getComputedStyle(e.props.target()).position}}),(c.width>0&&c.height>0||!d)&&e.setState({floatingPosition:xl({menuSize:c,refPosition:u,direction:i,offset:d,scrollX:ml().pageXOffset,scrollY:ml().pageYOffset,container:{rect:e.props.target().getBoundingClientRect(),position:getComputedStyle(e.props.target()).position}})},(()=>{n||r.getBoundingClientRect()!==c&&e._updateMenuSize(e.props,!0)}))}})),m(this,"_focusMenuContent",(e=>{const t=e.querySelector(this.props.selectorPrimaryFocus||null),n=e.querySelector(zn),r=e.querySelector("\n a[href], area[href], input:not([disabled]),\n button:not([disabled]),select:not([disabled]),\n textarea:not([disabled]),\n iframe, object, embed, *[tabindex]:not([disabled]), *[contenteditable=true]\n");(t||n||r||e).focus()})),m(this,"_menuRef",(e=>{const{menuRef:t}=this.props;this._placeInProgress=!!e,t&&t(this._menuBody=e),e&&this._updateMenuSize()})),m(this,"_getChildrenWithProps",(()=>{const{styles:e,children:t}=this.props,{floatingPosition:n}=this.state,r=n?{left:`${n.left}px`,top:`${n.top}px`,right:"auto"}:{visibility:"hidden",top:"0px"};return E().cloneElement(t,{ref:this._menuRef,style:{...e,...r,position:"absolute",opacity:1}})})),m(this,"handleBlur",(e=>{let{target:t,relatedTarget:n}=e;if(n&&t){const{current:e}=this.startSentinel,{current:r}=this.endSentinel;!function(e){let{bodyNode:t,startTrapNode:n,endTrapNode:r,currentActiveNode:a,oldActiveNode:l,selectorsFloatingMenus:o}=e;if(t&&a&&l&&!t.contains(a)&&!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(e&&"function"==typeof e.closest)return[".cds--overflow-menu-options",".cds--tooltip",".flatpickr-calendar",...t].some((t=>e.closest(t)))}(a,o)){const e=l.compareDocumentPosition(a);if(a===n||e&Ln){const e=[...t.querySelectorAll(zn)].reverse().find((e=>Boolean(e.offsetParent)));e?e.focus():t!==l&&t.focus()}else if(a===r||e&In){const e=Array.prototype.find.call(t.querySelectorAll(zn),(e=>Boolean(e.offsetParent)));e?e.focus():t!==l&&t.focus()}}}({bodyNode:this._menuBody,startSentinelNode:e,endSentinelNode:r,currentActiveNode:n,oldActiveNode:t})}})),m(this,"handleKeyDown",(e=>{W(e,q)&&this._menuBody&&function(e){let{containerNode:t,currentActiveNode:n,event:r}=e;["blur","focusout","focusin","focus"].includes(r.type);const a=Gn(t),l=a[0],o=a[a.length-1];n!==o||r.shiftKey||(r.preventDefault(),l.focus()),n===l&&r.shiftKey&&(r.preventDefault(),o.focus())}({containerNode:this._menuBody,currentActiveNode:e.target,event:e})}))}componentWillUnmount(){this.hResize.release()}componentDidMount(){this.hResize=bl.add((()=>{this._updateMenuSize()}))}componentDidUpdate(e){this._updateMenuSize(e);const{onPlace:t}=this.props;this._placeInProgress&&this.state.floatingPosition&&(this._menuBody&&!this._menuBody.contains(document.activeElement)&&this._focusMenuContent(this._menuBody),"function"==typeof t&&(t(this._menuBody),this._placeInProgress=!1))}render(){const{context:e}=this,t=h("enable-experimental-focus-wrap-without-sentinels");if("undefined"!=typeof document){const{focusTrap:n,target:r}=this.props;return Ce.createPortal(E().createElement("div",{onBlur:n&&!t?this.handleBlur:()=>{},onKeyDown:t?this.handleKeyDown:()=>{}},!t&&E().createElement("span",{ref:this.startSentinel,tabIndex:"0",role:"link",className:`${e}--visually-hidden`},"Focus sentinel"),this._getChildrenWithProps(),!t&&E().createElement("span",{ref:this.endSentinel,tabIndex:"0",role:"link",className:`${e}--visually-hidden`},"Focus sentinel")),r?r():document.body)}return null}}m(Sl,"contextType",x),m(Sl,"propTypes",{children:C().object,flipped:C().bool,focusTrap:C().bool,menuDirection:C().oneOf([vl,yl,wl,El]),menuOffset:C().oneOfType([C().shape({top:C().number,left:C().number}),C().func]),menuRef:C().func,onPlace:C().func,selectorPrimaryFocus:C().string,styles:C().object,target:C().func,triggerRef:C().oneOfType([C().func,C().shape({current:C().any})]),updateOrientation:C().func});var kl=Sl;class Cl extends E().Component{static getEventTarget(e){return e.composed&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target}constructor(e){super(e),this.handleRef=this.handleRef.bind(this),this.handleDocumentClick=this.handleDocumentClick.bind(this)}componentDidMount(){document.addEventListener("click",this.handleDocumentClick)}componentWillUnmount(){document.removeEventListener("click",this.handleDocumentClick)}handleDocumentClick(e){this.element&&this.element.contains&&!this.element.contains(Cl.getEventTarget(e))&&this.props.onClickOutside(e)}handleRef(e){const{children:t}=this.props;this.element=e,t.ref&&"function"==typeof t.ref&&t.ref(e)}render(){return E().cloneElement(this.props.children,{ref:this.handleRef})}}m(Cl,"propTypes",{children:C().element.isRequired,onClickOutside:C().func.isRequired}),n(8958);const _l=$(),Nl={[yl]:"bottom",[El]:"top"},Tl=(e,t,n,r)=>{const a=Nl[t],{offsetWidth:l,offsetHeight:o}=e;switch(a){case"top":case"bottom":return{left:(r?-1:1)*(l/2-(n?n.offsetWidth:0)/2),top:0}}};class Al extends E().Component{constructor(){super(...arguments),m(this,"state",{open:!1,hasMountedTrigger:!1,click:!1}),m(this,"instanceId",_l()),m(this,"_hFocusIn",null),m(this,"_hBlurTimeout",void 0),m(this,"_triggerRef",E().createRef()),m(this,"handleClick",(e=>{const{onClick:t=On}=this.props;this.setState({click:!0}),this._menuBody&&this._menuBody.contains(e.target)||(this.setState({open:!this.state.open}),t(e))})),m(this,"closeMenuAndFocus",(()=>{const e=this.state.click,t=this.state.open;this.closeMenu((()=>{t&&!e&&this.focusMenuEl()}))})),m(this,"closeMenuOnEscape",(()=>{const e=this.state.open;this.closeMenu((()=>{e&&this.focusMenuEl()}))})),m(this,"handleKeyPress",(e=>{this.state.open&&U(e,[G,X,J,Y])&&e.preventDefault(),U(e,[Q])&&(this.closeMenuOnEscape(),e.stopPropagation())})),m(this,"handleClickOutside",(e=>{!this.state.open||this._menuBody&&this._menuBody.contains(e.target)||this.closeMenu()})),m(this,"closeMenu",(e=>{const{onClose:t=On}=this.props;this.setState({open:!1},(()=>{e&&e(),t()}))})),m(this,"focusMenuEl",(()=>{const{current:e}=this._triggerRef;e&&e.focus()})),m(this,"handleOverflowMenuItemFocus",(e=>{let{currentIndex:t,direction:n}=e;const r=E().Children.toArray(this.props.children).reduce(((e,t,n)=>(E().isValidElement(t)&&!t.props.disabled&&e.push(n),e)),[]),a=(()=>{const e=r.indexOf(t)+n;switch(e){case-1:return r.length-1;case r.length:return 0;default:return e}})(),l=this[`overflowMenuItem${r[a]}`];l?.focus()})),m(this,"_menuBody",null),m(this,"_bindMenuBody",(e=>{e||(this._menuBody=e),!e&&this._hFocusIn&&(this._hFocusIn=this._hFocusIn.release())})),m(this,"_handlePlace",(e=>{const{onOpen:t=On}=this.props;if(e){this._menuBody=e;const n="onfocusin"in window,r=n?"focusin":"focus";this._hFocusIn=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];return e.addEventListener(...n),{release:()=>(e.removeEventListener(...n),null)}}(e.ownerDocument,r,(t=>{const n=Cl.getEventTarget(t),{current:r}=this._triggerRef;"function"==typeof n.matches&&(e.contains(n)||!r||n.matches(`.${this.context}--overflow-menu:first-child,.${this.context}--overflow-menu-options:first-child`)||this.closeMenuAndFocus())}),!n),t()}})),m(this,"_getTarget",(()=>{const{current:e}=this._triggerRef;return e instanceof Element&&e.closest("[data-floating-menu-container]")||document.body}))}componentDidUpdate(e,t){const{onClose:n=On}=this.props;!this.state.open&&t.open&&n()}componentDidMount(){this._triggerRef.current&&this.setState({hasMountedTrigger:!0})}static getDerivedStateFromProps(e,t){let{open:n}=e;const{prevOpen:r}=t;return r===n?null:{open:n,prevOpen:n}}componentWillUnmount(){"number"==typeof this._hBlurTimeout&&(clearTimeout(this._hBlurTimeout),this._hBlurTimeout=void 0)}render(){const e=this.context,{id:t,"aria-label":n=null,ariaLabel:r,children:a,iconDescription:l="Options",direction:o=El,flipped:i=!1,focusTrap:s=!0,menuOffset:c=Tl,menuOffsetFlip:u=Tl,iconClass:d,onClick:f=On,onOpen:p=On,selectorPrimaryFocus:h="[data-floating-menu-primary-focus]",renderIcon:m=il,innerRef:b,menuOptionsClass:y,light:w,size:x="md",...S}=this.props,{open:k=!1}=this.state,C=v()(this.props.className,`${e}--overflow-menu`,{[`${e}--overflow-menu--open`]:k,[`${e}--overflow-menu--light`]:w,[`${e}--overflow-menu--${x}`]:x}),_=v()(y,`${e}--overflow-menu-options`,{[`${e}--overflow-menu--flip`]:this.props.flipped,[`${e}--overflow-menu-options--open`]:k,[`${e}--overflow-menu-options--light`]:w,[`${e}--overflow-menu-options--${x}`]:x}),N=v()(`${e}--overflow-menu__icon`,d),T=E().Children.toArray(a).map(((e,t)=>E().isValidElement(e)?E().cloneElement(e,{closeMenu:e.props.closeMenu||this.closeMenuAndFocus,handleOverflowMenuItemFocus:this.handleOverflowMenuItemFocus,ref:e=>{this[`overflowMenuItem${t}`]=e},index:t}):null)),A=`overflow-menu-${this.instanceId}__menu-body`,$=E().createElement("ul",{className:_,tabIndex:-1,role:"menu","aria-label":n||r,onKeyDown:this.handleKeyPress,id:A},T),R=E().createElement(kl,{focusTrap:s,triggerRef:this._triggerRef,menuDirection:o,menuOffset:i?u:c,menuRef:this._bindMenuBody,flipped:this.props.flipped,target:this._getTarget,onPlace:this._handlePlace,selectorPrimaryFocus:this.props.selectorPrimaryFocus},E().cloneElement($,{"data-floating-menu-direction":o})),O={className:N,"aria-label":l};return E().createElement(Cl,{onClickOutside:this.handleClickOutside},E().createElement("span",{className:`${e}--overflow-menu__wrapper`,"aria-owns":k?A:void 0},E().createElement(qt,g({},S,{type:"button","aria-haspopup":!0,"aria-expanded":k,"aria-controls":k?A:void 0,className:C,onClick:this.handleClick,id:t,ref:ja(this._triggerRef,b),size:x,label:l,kind:"ghost"}),E().createElement(m,O)),k&&this.state.hasMountedTrigger&&R))}}m(Al,"propTypes",{"aria-label":C().string,ariaLabel:j(C().string),children:C().node,className:C().string,direction:C().oneOf([yl,El]),flipped:C().bool,focusTrap:C().bool,iconClass:C().string,iconDescription:C().string,id:C().string,light:j(C().bool),menuOffset:C().oneOfType([C().shape({top:C().number,left:C().number}),C().func]),menuOffsetFlip:C().oneOfType([C().shape({top:C().number,left:C().number}),C().func]),menuOptionsClass:C().string,onClick:C().func,onClose:C().func,onFocus:C().func,onKeyDown:C().func,onOpen:C().func,open:C().bool,renderIcon:C().oneOfType([C().func,C().object]),selectorPrimaryFocus:C().string,size:C().oneOf(["sm","md","lg"])}),m(Al,"contextType",x);const $l=function(e){function t(t){return E().createElement(e,t)}const n=e.displayName||e.name;return t.displayName=`ClassWrapper(${n})`,t}(Al);function Rl(e){return zt("enable-v12-overflowmenu")?E().createElement(pl,e):E().createElement($l,e)}Rl.displayName="OverflowMenu";const Ol="Settings",Ll=e=>{let{className:t,renderIcon:n=rl,iconDescription:r=Ol,children:a,menuOptionsClass:l,...o}=e;const i=S(),s=v()(t,`${i}--toolbar-action ${i}--overflow-menu`),c=v()(l,`${i}--toolbar-action__menu`);return E().createElement(Rl,g({"aria-label":r,renderIcon:n,className:s,title:r,iconDescription:r,menuOptionsClass:c,flipped:!0},o),a)};Ll.propTypes={children:C().node.isRequired,className:C().string,iconDescription:C().string,menuOptionsClass:C().string,renderIcon:C().oneOfType([C().func,C().object])};const Il=$(),zl={expandRow:"carbon.table.row.expand",collapseRow:"carbon.table.row.collapse",expandAll:"carbon.table.all.expand",collapseAll:"carbon.table.all.collapse",selectAll:"carbon.table.all.select",unselectAll:"carbon.table.all.unselect",selectRow:"carbon.table.row.select",unselectRow:"carbon.table.row.unselect"},Pl={[zl.expandAll]:"Expand all rows",[zl.collapseAll]:"Collapse all rows",[zl.expandRow]:"Expand current row",[zl.collapseRow]:"Collapse current row",[zl.selectAll]:"Select all rows",[zl.unselectAll]:"Unselect all rows",[zl.selectRow]:"Select row",[zl.unselectRow]:"Unselect row"},Ml=e=>Pl[e];class Dl extends E().Component{constructor(e){var t;super(e),t=this,m(this,"instanceId",void 0),m(this,"getHeaderProps",(e=>{let{header:t,onClick:n,isSortable:r=this.props.isSortable,...a}=e;const{sortDirection:l,sortHeaderKey:o}=this.state;return{...a,key:t.key,sortDirection:l,isSortable:r,isSortHeader:o===t.key,slug:t.slug,decorator:t.decorator,onClick:e=>{const r=ca(this.props,this.state,{key:t.key});this.setState(r,(()=>{n&&this.handleOnHeaderClick(n,{sortHeaderKey:t.key,sortDirection:r.sortDirection})(e)}))}}})),m(this,"getExpandHeaderProps",(function(){let{onClick:e,onExpand:n,...r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{translateWithId:a=Ml}=t.props,{isExpandedAll:l,rowIds:o,rowsById:i}=t.state,s=l||o.every((e=>i[e].isExpanded)),c=s?zl.collapseAll:zl.expandAll;return{...r,ariaLabel:a(c),"aria-label":a(c),"aria-controls":o.map((e=>`expanded-row-${e}`)).join(" "),isExpanded:s,onExpand:Kt([t.handleOnExpandAll,n,e&&t.handleOnExpandHeaderClick(e,{isExpanded:s})])}})),m(this,"handleOnHeaderClick",((e,t)=>n=>e(n,t))),m(this,"handleOnExpandHeaderClick",((e,t)=>n=>e(n,t))),m(this,"getRowProps",(e=>{let{row:t,onClick:n,...r}=e;const{translateWithId:a=Ml}=this.props,l=t.isExpanded?zl.collapseRow:zl.expandRow;return{...r,key:t.id,onExpand:Kt([this.handleOnExpandRow(t.id),n]),isExpanded:t.isExpanded,ariaLabel:a(l),"aria-label":a(l),"aria-controls":`expanded-row-${t.id}`,isSelected:t.isSelected,disabled:t.disabled}})),m(this,"getExpandedRowProps",(e=>{let{row:t,...n}=e;return{...n,id:`expanded-row-${t.id}`}})),m(this,"getSelectionProps",(function(){let{onClick:e,row:n,...r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{translateWithId:a=Ml}=t.props;if(n){const l=n.isSelected?zl.unselectRow:zl.selectRow;return{...r,checked:n.isSelected,onSelect:Kt([t.handleOnSelectRow(n.id),e]),id:`${t.getTablePrefix()}__select-row-${n.id}`,name:`select-row-${t.instanceId}`,ariaLabel:a(l),"aria-label":a(l),disabled:n.disabled,radio:t.props.radio}}const l=t.state.rowIds.length,o=t.getSelectedRows().length,i=l>0&&o===l,s=l>0&&o>0&&o!==l,c=i||s?zl.unselectAll:zl.selectAll;return{...r,ariaLabel:a(c),"aria-label":a(c),checked:i,id:`${t.getTablePrefix()}__select-all`,indeterminate:s,name:"select-all",onSelect:Kt([t.handleSelectAll,e])}})),m(this,"getToolbarProps",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{size:n}=t.props;return{...e,size:"xs"===n||"sm"===n?"sm":void 0}})),m(this,"getBatchActionProps",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{shouldShowBatchActions:n}=t.state,r=t.getSelectedRows().length;return{onSelectAll:void 0,totalCount:t.state.rowIds.length||0,...e,shouldShowBatchActions:n&&r>0,totalSelected:r,onCancel:t.handleOnCancel}})),m(this,"getTableProps",(()=>{const{useZebraStyles:e,size:t="lg",isSortable:n,useStaticWidth:r,stickyHeader:a,overflowMenuOnHover:l=!1,experimentalAutoAlign:o}=this.props;return{useZebraStyles:e,size:t,isSortable:n,useStaticWidth:r,stickyHeader:a,overflowMenuOnHover:l,experimentalAutoAlign:o}})),m(this,"getTableContainerProps",(()=>{const{stickyHeader:e,useStaticWidth:t}=this.props;return{stickyHeader:e,useStaticWidth:t}})),m(this,"getCellProps",(e=>{let{cell:t,...n}=e;return{...n,hasAILabelHeader:t.hasAILabelHeader,hasDecoratorHeader:t.hasDecoratorHeader}})),m(this,"getSelectedRows",(()=>this.state.rowIds.filter((e=>{const t=this.state.rowsById[e];return t.isSelected&&!t.disabled})))),m(this,"getFilteredRowIds",(()=>{const{filterRows:e=pa}=this.props,t="string"==typeof this.state.filterInputValue?e({rowIds:this.state.rowIds,headers:this.props.headers,cellsById:this.state.cellsById,inputValue:this.state.filterInputValue,getCellId:aa}):this.state.rowIds;return 0==t.length?[]:t})),m(this,"getTablePrefix",(()=>`data-table-${this.instanceId}`)),m(this,"setAllSelectedState",((e,t,n)=>{const{rowIds:r}=e,a=r.length!=n.length;return{rowsById:r.reduce(((r,l)=>{const o={...e.rowsById[l]};return o.disabled||a&&!n.includes(l)||(o.isSelected=t),r[l]=o,r}),{})}})),m(this,"handleOnCancel",(()=>{this.setState((e=>({shouldShowBatchActions:!1,...this.setAllSelectedState(e,!1,this.getFilteredRowIds())})))})),m(this,"handleSelectAll",(()=>{this.setState((e=>{const t=this.getFilteredRowIds(),{rowsById:n}=e,r=!(Object.values(n).filter((e=>e.isSelected&&!e.disabled)).length>0);return{shouldShowBatchActions:r,...this.setAllSelectedState(e,r,t)}}))})),m(this,"handleOnSelectRow",(e=>()=>{this.setState((t=>{const n=t.rowsById[e];if(this.props.radio)return{shouldShowBatchActions:!1,rowsById:{...Object.entries(t.rowsById).reduce(((e,t)=>{const[n,r]=t;return r.isSelected=!1,e[n]=r,e}),{}),[e]:{...n,isSelected:!n.isSelected}}};const r=t.rowIds.filter((e=>t.rowsById[e].isSelected)).length,a=n.isSelected?r-1:r+1;return{shouldShowBatchActions:!n.isSelected||a>0,rowsById:{...t.rowsById,[e]:{...n,isSelected:!n.isSelected}}}}))})),m(this,"handleOnExpandRow",(e=>()=>{this.setState((t=>{const n=t.rowsById[e],{isExpandedAll:r}=t;return{isExpandedAll:!n.isExpanded&&r,rowsById:{...t.rowsById,[e]:{...n,isExpanded:!n.isExpanded}}}}))})),m(this,"handleOnExpandAll",(()=>{this.setState((e=>{const{rowIds:t,isExpandedAll:n}=e;return{isExpandedAll:!n,rowsById:t.reduce(((t,r)=>({...t,[r]:{...e.rowsById[r],isExpanded:!n}})),{})}}))})),m(this,"handleSortBy",(e=>()=>{this.setState((t=>ca(this.props,t,{key:e})))})),m(this,"handleOnInputValueChange",((e,t)=>{e.target&&this.setState({filterInputValue:e.target.value}),t&&this.setState({filterInputValue:t})})),this.state={...da(e,{}),isExpandedAll:!1},this.instanceId=Il()}shouldComponentUpdate(e){if(this.props!==e){const t=e.rows.map((e=>e.id)),n=this.props.rows.map((e=>e.id));if(!na()(t,n))return this.setState((e=>da(this.props,e))),!1;const r=e.headers.map((e=>e.key)),a=this.props.headers.map((e=>e.key));if(!na()(r,a))return this.setState((e=>da(this.props,e))),!1;if(!na()(e.rows,this.props.rows))return this.setState((e=>da(this.props,e))),!1}return!0}render(){const{children:e,filterRows:t=pa,headers:n,render:r}=this.props,{filterInputValue:a,rowIds:l,rowsById:o,cellsById:i}=this.state,s="string"==typeof a?t({rowIds:l,headers:n,cellsById:i,inputValue:a,getCellId:aa}):l,c={rows:fa(s,o,i),headers:this.props.headers,selectedRows:fa(this.getSelectedRows(),o,i),getHeaderProps:this.getHeaderProps,getExpandHeaderProps:this.getExpandHeaderProps,getRowProps:this.getRowProps,getExpandedRowProps:this.getExpandedRowProps,getSelectionProps:this.getSelectionProps,getToolbarProps:this.getToolbarProps,getBatchActionProps:this.getBatchActionProps,getTableProps:this.getTableProps,getTableContainerProps:this.getTableContainerProps,getCellProps:this.getCellProps,onInputChange:this.handleOnInputValueChange,sortBy:e=>this.handleSortBy(e)(),selectAll:this.handleSelectAll,selectRow:e=>this.handleOnSelectRow(e)(),expandRow:e=>this.handleOnExpandRow(e)(),expandAll:this.handleOnExpandAll,radio:this.props.radio};return void 0!==r?r(c):void 0!==e?e(c):null}}m(Dl,"propTypes",{experimentalAutoAlign:C().bool,filterRows:C().func,headers:C().arrayOf(C().shape({key:C().string.isRequired,header:C().node.isRequired})).isRequired,isSortable:C().bool,locale:C().string,overflowMenuOnHover:C().bool,radio:C().bool,rows:C().arrayOf(C().shape({id:C().string.isRequired,disabled:C().bool,isSelected:C().bool,isExpanded:C().bool})).isRequired,size:C().oneOf(["xs","sm","md","lg","xl"]),sortRow:C().func,stickyHeader:C().bool,translateWithId:C().func,useStaticWidth:C().bool,useZebraStyles:C().bool}),m(Dl,"translationKeys",Object.values(zl)),m(Dl,"Table",void 0),m(Dl,"TableActionList",void 0),m(Dl,"TableBatchAction",void 0),m(Dl,"TableBatchActions",void 0),m(Dl,"TableBody",void 0),m(Dl,"TableCell",void 0),m(Dl,"TableContainer",void 0),m(Dl,"TableDecoratorRow",void 0),m(Dl,"TableExpandHeader",void 0),m(Dl,"TableExpandRow",void 0),m(Dl,"TableExpandedRow",void 0),m(Dl,"TableHead",void 0),m(Dl,"TableHeader",void 0),m(Dl,"TableRow",void 0),m(Dl,"TableSelectAll",void 0),m(Dl,"TableSelectRow",void 0),m(Dl,"TableSlugRow",void 0),m(Dl,"TableToolbar",void 0),m(Dl,"TableToolbarAction",void 0),m(Dl,"TableToolbarContent",void 0),m(Dl,"TableToolbarSearch",void 0),m(Dl,"TableToolbarMenu",void 0),Dl.Table=ba,Dl.TableActionList=ya,Dl.TableBatchAction=wa,Dl.TableBatchActions=Sa,Dl.TableBody=ka,Dl.TableCell=Ca,Dl.TableContainer=_a,Dl.TableDecoratorRow=Na,Dl.TableExpandHeader=Aa,Dl.TableExpandRow=$a,Dl.TableExpandedRow=Ra,Dl.TableHead=Oa,Dl.TableHeader=Ma,Dl.TableRow=Da,Dl.TableSelectAll=Fa,Dl.TableSelectRow=Ha,Dl.TableSlugRow=Wa,Dl.TableToolbar=qa,Dl.TableToolbarAction=Qa,Dl.TableToolbarContent=Za,Dl.TableToolbarSearch=Xa,Dl.TableToolbarMenu=Ll},5924:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var l=0;l<this.length;l++){var o=this[l][0];null!=o&&(a[o]=!0)}for(var i=0;i<e.length;i++){var s=[].concat(e[i]);r&&a[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},977:e=>{"use strict";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}e.exports=function(e){var n,r,a=(r=4,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,l=[],o=!0,i=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(e){i=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(i)throw a}}return l}}(n,r)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(n,r)||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.")}()),l=a[1],o=a[3];if(!o)return l;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(s," */"),u=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[l].concat(u).concat([c]).join("\n")}return[l].join("\n")}},506:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var l={},o=[],i=0;i<e.length;i++){var s=e[i],c=r.base?s[0]+r.base:s[0],u=l[c]||0,d="".concat(c," ").concat(u);l[c]=u+1;var f=n(d),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=a(p,r);r.byIndex=i,t.splice(i,0,{identifier:d,updater:h,references:1})}o.push(d)}return o}function a(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,a){var l=r(e=e||[],a=a||{});return function(e){e=e||[];for(var o=0;o<l.length;o++){var i=n(l[o]);t[i].references--}for(var s=r(e,a),c=0;c<l.length;c++){var u=n(l[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}l=s}}},105:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},5326:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},7154:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},9867:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var a=void 0!==n.layer;a&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,a&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var l=n.sourceMap;l&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(l))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},7763:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},8958:e=>{"use strict";e.exports=function(e,t,n,r,a,l,o,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,l,o,i],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},6999:(e,t,n)=>{"use strict";var r=n(6848);function a(){}function l(){}l.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,l,o){if(o!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:a};return n.PropTypes=n,n}},9067:(e,t,n)=>{e.exports=n(6999)()},6848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7400:(e,t,n)=>{"use strict";var r=n(1343),a=n(7967);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,i={};function s(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(i[e]=t,e=0;e<t.length;e++)o.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,a,l,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function y(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,v);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,v);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),N=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var P,M=Object.assign;function D(e){if(void 0===P)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);P=t&&t[1]||""}return"\n"+P+e}var B=!1;function F(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),l=r.stack.split("\n"),o=a.length-1,i=l.length-1;1<=o&&0<=i&&a[o]!==l[i];)i--;for(;1<=o&&0<=i;o--,i--)if(a[o]!==l[i]){if(1!==o||1!==i)do{if(o--,0>--i||a[o]!==l[i]){var s="\n"+a[o].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=o&&0<=i);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function j(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return F(e.type,!1);case 11:return F(e.type.render,!1);case 1:return F(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case C:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case $:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,l.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function X(e,t){G(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(l(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(l(92));if(te(n)){if(1<n.length)throw Error(l(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:U(n)}}function le(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var be=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(l(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(l(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(l(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(l(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,ke=null;function Ce(e){if(e=ya(e)){if("function"!=typeof xe)throw Error(l(280));var t=e.stateNode;t&&(t=Ea(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?ke?ke.push(e):ke=[e]:Se=e}function Ne(){if(Se){var e=Se,t=ke;if(ke=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Te(e,t){return e(t)}function Ae(){}var $e=!1;function Re(e,t,n){if($e)return e(t,n);$e=!0;try{return Te(e,t,n)}finally{$e=!1,(null!==Se||null!==ke)&&(Ae(),Ne())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=Ea(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var Le=!1;if(u)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ue){Le=!1}function ze(e,t,n,r,a,l,o,i,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Pe=!1,Me=null,De=!1,Be=null,Fe={onError:function(e){Pe=!0,Me=e}};function je(e,t,n,r,a,l,o,i,s){Pe=!1,Me=null,ze.apply(Fe,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ue(e){if(Ve(e)!==e)throw Error(l(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Ue(a),e;if(o===r)return Ue(a),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,s=a.child;s;){if(s===n){i=!0,n=a,r=o;break}if(s===r){i=!0,r=a,n=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===n){i=!0,n=o,r=a;break}if(s===r){i=!0,r=o,n=a;break}s=s.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=a.unstable_scheduleCallback,Qe=a.unstable_cancelCallback,Ze=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Ge=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,lt=null,ot=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(it(e)/st|0)|0},it=Math.log,st=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,l=e.pingedLanes,o=268435455&n;if(0!==o){var i=o&~a;0!==i?r=dt(i):0!=(l&=o)&&(r=dt(l))}else 0!=(o=n&~a)?r=dt(o):0!==l&&(r=dt(l));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(l=t&-t)||16===a&&4194240&l))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-ot(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var yt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Et,xt,St,kt,Ct,_t=!1,Nt=[],Tt=null,At=null,$t=null,Rt=new Map,Ot=new Map,Lt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function zt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":$t=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Pt(e,t,n,r,a,l){return null===e||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:l,targetContainers:[a]},null!==t&&null!==(t=ya(t))&&xt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Mt(e){var t=va(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Dt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ya(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Bt(e,t,n){Dt(e)&&n.delete(t)}function Ft(){_t=!1,null!==Tt&&Dt(Tt)&&(Tt=null),null!==At&&Dt(At)&&(At=null),null!==$t&&Dt($t)&&($t=null),Rt.forEach(Bt),Ot.forEach(Bt)}function jt(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ft)))}function Vt(e){function t(t){return jt(t,e)}if(0<Nt.length){jt(Nt[0],e);for(var n=1;n<Nt.length;n++){var r=Nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&jt(Tt,e),null!==At&&jt(At,e),null!==$t&&jt($t,e),Rt.forEach(t),Ot.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Lt.shift()}var Ht=w.ReactCurrentBatchConfig,Ut=!0;function Wt(e,t,n,r){var a=yt,l=Ht.transition;Ht.transition=null;try{yt=1,Kt(e,t,n,r)}finally{yt=a,Ht.transition=l}}function qt(e,t,n,r){var a=yt,l=Ht.transition;Ht.transition=null;try{yt=4,Kt(e,t,n,r)}finally{yt=a,Ht.transition=l}}function Kt(e,t,n,r){if(Ut){var a=Zt(e,t,n,r);if(null===a)Ur(e,t,r,Qt,n),zt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Tt=Pt(Tt,e,t,n,r,a),!0;case"dragenter":return At=Pt(At,e,t,n,r,a),!0;case"mouseover":return $t=Pt($t,e,t,n,r,a),!0;case"pointerover":var l=a.pointerId;return Rt.set(l,Pt(Rt.get(l)||null,e,t,n,r,a)),!0;case"gotpointercapture":return l=a.pointerId,Ot.set(l,Pt(Ot.get(l)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(zt(e,r),4&t&&-1<It.indexOf(e)){for(;null!==a;){var l=ya(a);if(null!==l&&Et(l),null===(l=Zt(e,t,n,r))&&Ur(e,t,r,Qt,n),l===a)break;a=l}null!==a&&r.stopPropagation()}else Ur(e,t,r,null,n)}}var Qt=null;function Zt(e,t,n,r){if(Qt=null,null!==(e=va(e=Ee(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Qt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Gt?Gt.value:Gt.textContent,l=a.length;for(e=0;e<r&&n[e]===a[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===a[l-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,l){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(a):a[o]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var ln,on,sn,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=M({},cn,{view:0,detail:0}),fn=an(dn),pn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(ln=e.screenX-sn.screenX,on=e.screenY-sn.screenY):on=ln=0,sn=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:on}}),hn=an(pn),mn=an(M({},pn,{dataTransfer:0})),gn=an(M({},dn,{relatedTarget:0})),bn=an(M({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=M({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=an(vn),wn=an(M({},cn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return kn}var _n=M({},dn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=an(_n),Tn=an(M({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=an(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),$n=an(M({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=M({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),On=an(Rn),Ln=[9,13,27,32],In=u&&"CompositionEvent"in window,zn=null;u&&"documentMode"in document&&(zn=document.documentMode);var Pn=u&&"TextEvent"in window&&!zn,Mn=u&&(!In||zn&&8<zn&&11>=zn),Dn=String.fromCharCode(32),Bn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1,Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Wn(e,t,n,r){_e(r),0<(t=qr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Kn=null;function Qn(e){Dr(e,0)}function Zn(e){if(K(wa(e)))return e}function Yn(e,t){if("change"===e)return t}var Gn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Gn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Kn=qn=null)}function nr(e){if("value"===e.propertyName&&Zn(Kn)){var t=[];Wn(t,Kn,e,Ee(e)),Re(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn(Kn)}function lr(e,t){if("click"===e)return Zn(t)}function or(e,t){if("input"===e||"change"===e)return Zn(t)}var ir="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(ir(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!ir(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,l=Math.min(r.start,a);r=void 0===r.end?l:Math.min(r.end,a),!e.extend&&l>r&&(a=r,r=l,l=a),a=ur(n,l);var o=ur(n,r);a&&o&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,br=null,vr=null,yr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==Q(r)||(r="selectionStart"in(r=gr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&sr(vr,r)||(vr=r,0<(r=qr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},Sr={},kr={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return Sr[e]=n[t];return e}u&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var _r=Cr("animationend"),Nr=Cr("animationiteration"),Tr=Cr("animationstart"),Ar=Cr("transitionend"),$r=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){$r.set(e,t),s(t,[e])}for(var Lr=0;Lr<Rr.length;Lr++){var Ir=Rr[Lr];Or(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Or(_r,"onAnimationEnd"),Or(Nr,"onAnimationIteration"),Or(Tr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Ar,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pr=new Set("cancel close invalid load scroll toggle".split(" ").concat(zr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,i,s,c){if(je.apply(this,arguments),Pe){if(!Pe)throw Error(l(198));var u=Me;Pe=!1,Me=null,De||(De=!0,Be=u)}}(r,t,void 0,e),e.currentTarget=null}function Dr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var o=r.length-1;0<=o;o--){var i=r[o],s=i.instance,c=i.currentTarget;if(i=i.listener,s!==l&&a.isPropagationStopped())break e;Mr(a,i,c),l=s}else for(o=0;o<r.length;o++){if(s=(i=r[o]).instance,c=i.currentTarget,i=i.listener,s!==l&&a.isPropagationStopped())break e;Mr(a,i,c),l=s}}}if(De)throw e=Be,De=!1,Be=null,e}function Br(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Fr(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var jr="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[jr]){e[jr]=!0,o.forEach((function(t){"selectionchange"!==t&&(Pr.has(t)||Fr(t,!1,e),Fr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[jr]||(t[jr]=!0,Fr("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Yt(t)){case 1:var a=Wt;break;case 4:a=qt;break;default:a=Kt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Ur(e,t,n,r,a){var l=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===o)for(o=r.return;null!==o;){var s=o.tag;if((3===s||4===s)&&((s=o.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;o=o.return}for(;null!==i;){if(null===(o=va(i)))return;if(5===(s=o.tag)||6===s){r=l=o;continue e}i=i.parentNode}}r=r.return}Re((function(){var r=l,a=Ee(n),o=[];e:{var i=$r.get(e);if(void 0!==i){var s=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Nn;break;case"focusin":c="focus",s=gn;break;case"focusout":c="blur",s=gn;break;case"beforeblur":case"afterblur":s=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=An;break;case _r:case Nr:case Tr:s=bn;break;case Ar:s=$n;break;case"scroll":s=fn;break;case"wheel":s=On;break;case"copy":case"cut":case"paste":s=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Tn}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==i?i+"Capture":null:i;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Oe(h,f))&&u.push(Wr(h,m,p))),d)break;h=h.return}0<u.length&&(i=new s(i,c,null,n,a),o.push({event:i,listeners:u}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!va(c)&&!c[ha])&&(s||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?va(c):null)&&(c!==(d=Ve(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?i:wa(s),p=null==c?i:wa(c),(i=new u(m,h+"leave",s,n,a)).target=d,i.relatedTarget=p,m=null,va(a)===r&&((u=new u(f,h+"enter",c,n,a)).target=p,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(f=c,h=0,p=u=s;p;p=Kr(p))h++;for(p=0,m=f;m;m=Kr(m))p++;for(;0<h-p;)u=Kr(u),h--;for(;0<p-h;)f=Kr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Kr(u),f=Kr(f)}u=null}else u=null;null!==s&&Qr(o,i,s,u,!1),null!==c&&null!==d&&Qr(o,d,c,u,!0)}if("select"===(s=(i=r?wa(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===s&&"file"===i.type)var g=Yn;else if(Un(i))if(Gn)g=or;else{g=ar;var b=rr}else(s=i.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(g=lr);switch(g&&(g=g(e,r))?Wn(o,g,n,a):(b&&b(e,i,r),"focusout"===e&&(b=i._wrapperState)&&b.controlled&&"number"===i.type&&ee(i,"number",i.value)),b=r?wa(r):window,e){case"focusin":(Un(b)||"true"===b.contentEditable)&&(gr=b,br=r,vr=null);break;case"focusout":vr=br=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(o,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(o,n,a)}var v;if(In)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Vn?Fn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Mn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Vn&&(v=en()):(Xt="value"in(Gt=a)?Gt.value:Gt.textContent,Vn=!0)),0<(b=qr(r,y)).length&&(y=new wn(y,e,null,n,a),o.push({event:y,listeners:b}),(v||null!==(v=jn(n)))&&(y.data=v))),(v=Pn?function(e,t){switch(e){case"compositionend":return jn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Dn);case"textInput":return(e=t.data)===Dn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!In&&Fn(e,t)?(e=en(),Jt=Xt=Gt=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=qr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),o.push({event:a,listeners:r}),a.data=v)}Dr(o,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,l=a.stateNode;5===a.tag&&null!==l&&(a=l,null!=(l=Oe(e,n))&&r.unshift(Wr(e,l,a)),null!=(l=Oe(e,t))&&r.push(Wr(e,l,a))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,a){for(var l=t._reactName,o=[];null!==n&&n!==r;){var i=n,s=i.alternate,c=i.stateNode;if(null!==s&&s===r)break;5===i.tag&&null!==c&&(i=c,a?null!=(s=Oe(n,l))&&o.unshift(Wr(n,s,i)):a||null!=(s=Oe(n,l))&&o.push(Wr(n,s,i))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Zr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Gr(e){return("string"==typeof e?e:""+e).replace(Zr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Gr(t),Gr(e)!==t&&n)throw Error(l(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,la="function"==typeof Promise?Promise:void 0,oa="function"==typeof queueMicrotask?queueMicrotask:void 0!==la?function(e){return la.resolve(null).then(e).catch(ia)}:ra;function ia(e){setTimeout((function(){throw e}))}function sa(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Vt(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ha="__reactContainer$"+da,ma="__reactEvents$"+da,ga="__reactListeners$"+da,ba="__reactHandles$"+da;function va(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[fa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function ya(e){return!(e=e[fa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(l(33))}function Ea(e){return e[pa]||null}var xa=[],Sa=-1;function ka(e){return{current:e}}function Ca(e){0>Sa||(e.current=xa[Sa],xa[Sa]=null,Sa--)}function _a(e,t){Sa++,xa[Sa]=e.current,e.current=t}var Na={},Ta=ka(Na),Aa=ka(!1),$a=Na;function Ra(e,t){var n=e.type.contextTypes;if(!n)return Na;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,l={};for(a in n)l[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Oa(e){return null!=e.childContextTypes}function La(){Ca(Aa),Ca(Ta)}function Ia(e,t,n){if(Ta.current!==Na)throw Error(l(168));_a(Ta,t),_a(Aa,n)}function za(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(l(108,H(e)||"Unknown",a));return M({},n,r)}function Pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Na,$a=Ta.current,_a(Ta,e),_a(Aa,Aa.current),!0}function Ma(e,t,n){var r=e.stateNode;if(!r)throw Error(l(169));n?(e=za(e,t,$a),r.__reactInternalMemoizedMergedChildContext=e,Ca(Aa),Ca(Ta),_a(Ta,e)):Ca(Aa),_a(Aa,n)}var Da=null,Ba=!1,Fa=!1;function ja(e){null===Da?Da=[e]:Da.push(e)}function Va(){if(!Fa&&null!==Da){Fa=!0;var e=0,t=yt;try{var n=Da;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Da=null,Ba=!1}catch(t){throw null!==Da&&(Da=Da.slice(e+1)),Ke(Je,Va),t}finally{yt=t,Fa=!1}}return null}var Ha=[],Ua=0,Wa=null,qa=0,Ka=[],Qa=0,Za=null,Ya=1,Ga="";function Xa(e,t){Ha[Ua++]=qa,Ha[Ua++]=Wa,Wa=e,qa=t}function Ja(e,t,n){Ka[Qa++]=Ya,Ka[Qa++]=Ga,Ka[Qa++]=Za,Za=e;var r=Ya;e=Ga;var a=32-ot(r)-1;r&=~(1<<a),n+=1;var l=32-ot(t)+a;if(30<l){var o=a-a%5;l=(r&(1<<o)-1).toString(32),r>>=o,a-=o,Ya=1<<32-ot(t)+a|n<<a|r,Ga=l+e}else Ya=1<<l|n<<a|r,Ga=e}function el(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function tl(e){for(;e===Wa;)Wa=Ha[--Ua],Ha[Ua]=null,qa=Ha[--Ua],Ha[Ua]=null;for(;e===Za;)Za=Ka[--Qa],Ka[Qa]=null,Ga=Ka[--Qa],Ka[Qa]=null,Ya=Ka[--Qa],Ka[Qa]=null}var nl=null,rl=null,al=!1,ll=null;function ol(e,t){var n=Rc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function il(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,nl=e,rl=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,nl=e,rl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Za?{id:Ya,overflow:Ga}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,nl=e,rl=null,!0);default:return!1}}function sl(e){return!(!(1&e.mode)||128&e.flags)}function cl(e){if(al){var t=rl;if(t){var n=t;if(!il(e,t)){if(sl(e))throw Error(l(418));t=ca(n.nextSibling);var r=nl;t&&il(e,t)?ol(r,n):(e.flags=-4097&e.flags|2,al=!1,nl=e)}}else{if(sl(e))throw Error(l(418));e.flags=-4097&e.flags|2,al=!1,nl=e}}}function ul(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;nl=e}function dl(e){if(e!==nl)return!1;if(!al)return ul(e),al=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=rl)){if(sl(e))throw fl(),Error(l(418));for(;t;)ol(e,t),t=ca(t.nextSibling)}if(ul(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){rl=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}rl=null}}else rl=nl?ca(e.stateNode.nextSibling):null;return!0}function fl(){for(var e=rl;e;)e=ca(e.nextSibling)}function pl(){rl=nl=null,al=!1}function hl(e){null===ll?ll=[e]:ll.push(e)}var ml=w.ReactCurrentBatchConfig;function gl(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(l(309));var r=n.stateNode}if(!r)throw Error(l(147,e));var a=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(l(284));if(!n._owner)throw Error(l(290,e))}return e}function bl(e,t){throw e=Object.prototype.toString.call(t),Error(l(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vl(e){return(0,e._init)(e._payload)}function yl(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Lc(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Mc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var l=n.type;return l===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===O&&vl(l)===t.type)?((r=a(t,n.props)).ref=gl(e,t,n),r.return=e,r):((r=Ic(n.type,n.key,n.props,null,e.mode,r)).ref=gl(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Dc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,l){return null===t||7!==t.tag?((t=zc(n,e.mode,r,l)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Ic(t.type,t.key,t.props,null,e.mode,n)).ref=gl(e,null,t),n.return=e,n;case x:return(t=Dc(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(te(t)||z(t))return(t=zc(t,e.mode,n,null)).return=e,t;bl(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===a?c(e,t,n,r):null;case x:return n.key===a?u(e,t,n,r):null;case O:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||z(n))return null!==a?null:d(e,t,n,r,null);bl(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case O:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||z(r))return d(t,e=e.get(n)||null,r,a,null);bl(t,r)}return null}function m(a,l,i,s){for(var c=null,u=null,d=l,m=l=0,g=null;null!==d&&m<i.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var b=p(a,d,i[m],s);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(a,d),l=o(b,l,m),null===u?c=b:u.sibling=b,u=b,d=g}if(m===i.length)return n(a,d),al&&Xa(a,m),c;if(null===d){for(;m<i.length;m++)null!==(d=f(a,i[m],s))&&(l=o(d,l,m),null===u?c=d:u.sibling=d,u=d);return al&&Xa(a,m),c}for(d=r(a,d);m<i.length;m++)null!==(g=h(d,a,m,i[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),l=o(g,l,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(a,e)})),al&&Xa(a,m),c}function g(a,i,s,c){var u=z(s);if("function"!=typeof u)throw Error(l(150));if(null==(s=u.call(s)))throw Error(l(151));for(var d=u=null,m=i,g=i=0,b=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(b=m,m=null):b=m.sibling;var y=p(a,m,v.value,c);if(null===y){null===m&&(m=b);break}e&&m&&null===y.alternate&&t(a,m),i=o(y,i,g),null===d?u=y:d.sibling=y,d=y,m=b}if(v.done)return n(a,m),al&&Xa(a,g),u;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=f(a,v.value,c))&&(i=o(v,i,g),null===d?u=v:d.sibling=v,d=v);return al&&Xa(a,g),u}for(m=r(a,m);!v.done;g++,v=s.next())null!==(v=h(m,a,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),i=o(v,i,g),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(a,e)})),al&&Xa(a,g),u}return function e(r,l,o,s){if("object"==typeof o&&null!==o&&o.type===S&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case E:e:{for(var c=o.key,u=l;null!==u;){if(u.key===c){if((c=o.type)===S){if(7===u.tag){n(r,u.sibling),(l=a(u,o.props.children)).return=r,r=l;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===O&&vl(c)===u.type){n(r,u.sibling),(l=a(u,o.props)).ref=gl(r,u,o),l.return=r,r=l;break e}n(r,u);break}t(r,u),u=u.sibling}o.type===S?((l=zc(o.props.children,r.mode,s,o.key)).return=r,r=l):((s=Ic(o.type,o.key,o.props,null,r.mode,s)).ref=gl(r,l,o),s.return=r,r=s)}return i(r);case x:e:{for(u=o.key;null!==l;){if(l.key===u){if(4===l.tag&&l.stateNode.containerInfo===o.containerInfo&&l.stateNode.implementation===o.implementation){n(r,l.sibling),(l=a(l,o.children||[])).return=r,r=l;break e}n(r,l);break}t(r,l),l=l.sibling}(l=Dc(o,r.mode,s)).return=r,r=l}return i(r);case O:return e(r,l,(u=o._init)(o._payload),s)}if(te(o))return m(r,l,o,s);if(z(o))return g(r,l,o,s);bl(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==l&&6===l.tag?(n(r,l.sibling),(l=a(l,o)).return=r,r=l):(n(r,l),(l=Mc(o,r.mode,s)).return=r,r=l),i(r)):n(r,l)}}var wl=yl(!0),El=yl(!1),xl=ka(null),Sl=null,kl=null,Cl=null;function _l(){Cl=kl=Sl=null}function Nl(e){var t=xl.current;Ca(xl),e._currentValue=t}function Tl(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Al(e,t){Sl=e,Cl=kl=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(yi=!0),e.firstContext=null)}function $l(e){var t=e._currentValue;if(Cl!==e)if(e={context:e,memoizedValue:t,next:null},null===kl){if(null===Sl)throw Error(l(308));kl=e,Sl.dependencies={lanes:0,firstContext:e}}else kl=kl.next=e;return t}var Rl=null;function Ol(e){null===Rl?Rl=[e]:Rl.push(e)}function Ll(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Ol(t)):(n.next=a.next,a.next=n),t.interleaved=n,Il(e,r)}function Il(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var zl=!1;function Pl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ml(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Dl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bl(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ts){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Il(e,n)}return null===(a=r.interleaved)?(t.next=t,Ol(r)):(t.next=a.next,a.next=t),r.interleaved=t,Il(e,n)}function Fl(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function jl(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,l=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===l?a=l=o:l=l.next=o,n=n.next}while(null!==n);null===l?a=l=t:l=l.next=t}else a=l=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:l,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Vl(e,t,n,r){var a=e.updateQueue;zl=!1;var l=a.firstBaseUpdate,o=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var s=i,c=s.next;s.next=null,null===o?l=c:o.next=c,o=s;var u=e.alternate;null!==u&&(i=(u=u.updateQueue).lastBaseUpdate)!==o&&(null===i?u.firstBaseUpdate=c:i.next=c,u.lastBaseUpdate=s)}if(null!==l){var d=a.baseState;for(o=0,u=c=s=null,i=l;;){var f=i.lane,p=i.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,m=i;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=M({},d,f);break e;case 2:zl=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[i]:f.push(i))}else p={eventTime:p,lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,o|=f;if(null===(i=i.next)){if(null===(i=a.shared.pending))break;i=(f=i).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===u&&(s=d),a.baseState=s,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{o|=a.lane,a=a.next}while(a!==t)}else null===l&&(a.shared.lanes=0);Ps|=o,e.lanes=o,e.memoizedState=d}}function Hl(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(l(191,a));a.call(r)}}}var Ul={},Wl=ka(Ul),ql=ka(Ul),Kl=ka(Ul);function Ql(e){if(e===Ul)throw Error(l(174));return e}function Zl(e,t){switch(_a(Kl,t),_a(ql,e),_a(Wl,Ul),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(Wl),_a(Wl,t)}function Yl(){Ca(Wl),Ca(ql),Ca(Kl)}function Gl(e){Ql(Kl.current);var t=Ql(Wl.current),n=se(t,e.type);t!==n&&(_a(ql,e),_a(Wl,n))}function Xl(e){ql.current===e&&(Ca(Wl),Ca(ql))}var Jl=ka(0);function eo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var to=[];function no(){for(var e=0;e<to.length;e++)to[e]._workInProgressVersionPrimary=null;to.length=0}var ro=w.ReactCurrentDispatcher,ao=w.ReactCurrentBatchConfig,lo=0,oo=null,io=null,so=null,co=!1,uo=!1,fo=0,po=0;function ho(){throw Error(l(321))}function mo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return!1;return!0}function go(e,t,n,r,a,o){if(lo=o,oo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ro.current=null===e||null===e.memoizedState?Jo:ei,e=n(r,a),uo){o=0;do{if(uo=!1,fo=0,25<=o)throw Error(l(301));o+=1,so=io=null,t.updateQueue=null,ro.current=ti,e=n(r,a)}while(uo)}if(ro.current=Xo,t=null!==io&&null!==io.next,lo=0,so=io=oo=null,co=!1,t)throw Error(l(300));return e}function bo(){var e=0!==fo;return fo=0,e}function vo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===so?oo.memoizedState=so=e:so=so.next=e,so}function yo(){if(null===io){var e=oo.alternate;e=null!==e?e.memoizedState:null}else e=io.next;var t=null===so?oo.memoizedState:so.next;if(null!==t)so=t,io=e;else{if(null===e)throw Error(l(310));e={memoizedState:(io=e).memoizedState,baseState:io.baseState,baseQueue:io.baseQueue,queue:io.queue,next:null},null===so?oo.memoizedState=so=e:so=so.next=e}return so}function wo(e,t){return"function"==typeof t?t(e):t}function Eo(e){var t=yo(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=io,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}r.baseQueue=a=o,n.pending=null}if(null!==a){o=a.next,r=r.baseState;var s=i=null,c=null,u=o;do{var d=u.lane;if((lo&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(s=c=f,i=r):c=c.next=f,oo.lanes|=d,Ps|=d}u=u.next}while(null!==u&&u!==o);null===c?i=r:c.next=s,ir(r,t.memoizedState)||(yi=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{o=a.lane,oo.lanes|=o,Ps|=o,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xo(e){var t=yo(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do{o=e(o,i.action),i=i.next}while(i!==a);ir(o,t.memoizedState)||(yi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function So(){}function ko(e,t){var n=oo,r=yo(),a=t(),o=!ir(r.memoizedState,a);if(o&&(r.memoizedState=a,yi=!0),r=r.queue,Po(No.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==so&&1&so.memoizedState.tag){if(n.flags|=2048,Ro(9,_o.bind(null,n,r,a,t),void 0,null),null===As)throw Error(l(349));30&lo||Co(n,t,a)}return a}function Co(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function _o(e,t,n,r){t.value=n,t.getSnapshot=r,To(t)&&Ao(e)}function No(e,t,n){return n((function(){To(t)&&Ao(e)}))}function To(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ir(e,n)}catch(e){return!0}}function Ao(e){var t=Il(e,1);null!==t&&nc(t,e,1,-1)}function $o(e){var t=vo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wo,lastRenderedState:e},t.queue=e,e=e.dispatch=Qo.bind(null,oo,e),[t.memoizedState,e]}function Ro(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Oo(){return yo().memoizedState}function Lo(e,t,n,r){var a=vo();oo.flags|=e,a.memoizedState=Ro(1|t,n,void 0,void 0===r?null:r)}function Io(e,t,n,r){var a=yo();r=void 0===r?null:r;var l=void 0;if(null!==io){var o=io.memoizedState;if(l=o.destroy,null!==r&&mo(r,o.deps))return void(a.memoizedState=Ro(t,n,l,r))}oo.flags|=e,a.memoizedState=Ro(1|t,n,l,r)}function zo(e,t){return Lo(8390656,8,e,t)}function Po(e,t){return Io(2048,8,e,t)}function Mo(e,t){return Io(4,2,e,t)}function Do(e,t){return Io(4,4,e,t)}function Bo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fo(e,t,n){return n=null!=n?n.concat([e]):null,Io(4,4,Bo.bind(null,t,e),n)}function jo(){}function Vo(e,t){var n=yo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ho(e,t){var n=yo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Uo(e,t,n){return 21&lo?(ir(n,t)||(n=mt(),oo.lanes|=n,Ps|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yi=!0),e.memoizedState=n)}function Wo(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ao.transition;ao.transition={};try{e(!1),t()}finally{yt=n,ao.transition=r}}function qo(){return yo().memoizedState}function Ko(e,t,n){var r=tc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Zo(e)?Yo(t,n):null!==(n=Ll(e,t,n,r))&&(nc(n,e,r,ec()),Go(n,t,r))}function Qo(e,t,n){var r=tc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zo(e))Yo(t,a);else{var l=e.alternate;if(0===e.lanes&&(null===l||0===l.lanes)&&null!==(l=t.lastRenderedReducer))try{var o=t.lastRenderedState,i=l(o,n);if(a.hasEagerState=!0,a.eagerState=i,ir(i,o)){var s=t.interleaved;return null===s?(a.next=a,Ol(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(e){}null!==(n=Ll(e,t,a,r))&&(nc(n,e,r,a=ec()),Go(n,t,r))}}function Zo(e){var t=e.alternate;return e===oo||null!==t&&t===oo}function Yo(e,t){uo=co=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Go(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Xo={readContext:$l,useCallback:ho,useContext:ho,useEffect:ho,useImperativeHandle:ho,useInsertionEffect:ho,useLayoutEffect:ho,useMemo:ho,useReducer:ho,useRef:ho,useState:ho,useDebugValue:ho,useDeferredValue:ho,useTransition:ho,useMutableSource:ho,useSyncExternalStore:ho,useId:ho,unstable_isNewReconciler:!1},Jo={readContext:$l,useCallback:function(e,t){return vo().memoizedState=[e,void 0===t?null:t],e},useContext:$l,useEffect:zo,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Lo(4194308,4,Bo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Lo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Lo(4,2,e,t)},useMemo:function(e,t){var n=vo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ko.bind(null,oo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},vo().memoizedState=e},useState:$o,useDebugValue:jo,useDeferredValue:function(e){return vo().memoizedState=e},useTransition:function(){var e=$o(!1),t=e[0];return e=Wo.bind(null,e[1]),vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oo,a=vo();if(al){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===As)throw Error(l(349));30&lo||Co(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,zo(No.bind(null,r,o,e),[e]),r.flags|=2048,Ro(9,_o.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=vo(),t=As.identifierPrefix;if(al){var n=Ga;t=":"+t+"R"+(n=(Ya&~(1<<32-ot(Ya)-1)).toString(32)+n),0<(n=fo++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=po++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ei={readContext:$l,useCallback:Vo,useContext:$l,useEffect:Po,useImperativeHandle:Fo,useInsertionEffect:Mo,useLayoutEffect:Do,useMemo:Ho,useReducer:Eo,useRef:Oo,useState:function(){return Eo(wo)},useDebugValue:jo,useDeferredValue:function(e){return Uo(yo(),io.memoizedState,e)},useTransition:function(){return[Eo(wo)[0],yo().memoizedState]},useMutableSource:So,useSyncExternalStore:ko,useId:qo,unstable_isNewReconciler:!1},ti={readContext:$l,useCallback:Vo,useContext:$l,useEffect:Po,useImperativeHandle:Fo,useInsertionEffect:Mo,useLayoutEffect:Do,useMemo:Ho,useReducer:xo,useRef:Oo,useState:function(){return xo(wo)},useDebugValue:jo,useDeferredValue:function(e){var t=yo();return null===io?t.memoizedState=e:Uo(t,io.memoizedState,e)},useTransition:function(){return[xo(wo)[0],yo().memoizedState]},useMutableSource:So,useSyncExternalStore:ko,useId:qo,unstable_isNewReconciler:!1};function ni(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ri(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ai={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),a=tc(e),l=Dl(r,a);l.payload=t,null!=n&&(l.callback=n),null!==(t=Bl(e,l,a))&&(nc(t,e,a,r),Fl(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),a=tc(e),l=Dl(r,a);l.tag=1,l.payload=t,null!=n&&(l.callback=n),null!==(t=Bl(e,l,a))&&(nc(t,e,a,r),Fl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),a=Dl(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Bl(e,a,r))&&(nc(t,e,r,n),Fl(t,e,r))}};function li(e,t,n,r,a,l,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,l,o):!(t.prototype&&t.prototype.isPureReactComponent&&sr(n,r)&&sr(a,l))}function oi(e,t,n){var r=!1,a=Na,l=t.contextType;return"object"==typeof l&&null!==l?l=$l(l):(a=Oa(t)?$a:Ta.current,l=(r=null!=(r=t.contextTypes))?Ra(e,a):Na),t=new t(n,l),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ai,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=l),t}function ii(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ai.enqueueReplaceState(t,t.state,null)}function si(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},Pl(e);var l=t.contextType;"object"==typeof l&&null!==l?a.context=$l(l):(l=Oa(t)?$a:Ta.current,a.context=Ra(e,l)),a.state=e.memoizedState,"function"==typeof(l=t.getDerivedStateFromProps)&&(ri(e,t,l,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&ai.enqueueReplaceState(a,a.state,null),Vl(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function ci(e,t){try{var n="",r=t;do{n+=j(r),r=r.return}while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function ui(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function di(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fi="function"==typeof WeakMap?WeakMap:Map;function pi(e,t,n){(n=Dl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Us||(Us=!0,Ws=r),di(0,t)},n}function hi(e,t,n){(n=Dl(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){di(0,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(n.callback=function(){di(0,t),"function"!=typeof r&&(null===qs?qs=new Set([this]):qs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function mi(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fi;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function gi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bi(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Dl(-1,1)).tag=2,Bl(n,t,1))),n.lanes|=1),e)}var vi=w.ReactCurrentOwner,yi=!1;function wi(e,t,n,r){t.child=null===e?El(t,null,n,r):wl(t,e.child,n,r)}function Ei(e,t,n,r,a){n=n.render;var l=t.ref;return Al(t,a),r=go(e,t,n,r,l,a),n=bo(),null===e||yi?(al&&n&&el(t),t.flags|=1,wi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ui(e,t,a))}function xi(e,t,n,r,a){if(null===e){var l=n.type;return"function"!=typeof l||Oc(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ic(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,Si(e,t,l,r,a))}if(l=e.child,!(e.lanes&a)){var o=l.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(o,r)&&e.ref===t.ref)return Ui(e,t,a)}return t.flags|=1,(e=Lc(l,r)).ref=t.ref,e.return=t,t.child=e}function Si(e,t,n,r,a){if(null!==e){var l=e.memoizedProps;if(sr(l,r)&&e.ref===t.ref){if(yi=!1,t.pendingProps=r=l,!(e.lanes&a))return t.lanes=e.lanes,Ui(e,t,a);131072&e.flags&&(yi=!0)}}return _i(e,t,n,r,a)}function ki(e,t,n){var r=t.pendingProps,a=r.children,l=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==l?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_a(Ls,Os),Os|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==l?l.baseLanes:n,_a(Ls,Os),Os|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_a(Ls,Os),Os|=n;else null!==l?(r=l.baseLanes|n,t.memoizedState=null):r=n,_a(Ls,Os),Os|=r;return wi(e,t,a,n),t.child}function Ci(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _i(e,t,n,r,a){var l=Oa(n)?$a:Ta.current;return l=Ra(t,l),Al(t,a),n=go(e,t,n,r,l,a),r=bo(),null===e||yi?(al&&r&&el(t),t.flags|=1,wi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ui(e,t,a))}function Ni(e,t,n,r,a){if(Oa(n)){var l=!0;Pa(t)}else l=!1;if(Al(t,a),null===t.stateNode)Hi(e,t),oi(t,n,r),si(t,n,r,a),r=!0;else if(null===e){var o=t.stateNode,i=t.memoizedProps;o.props=i;var s=o.context,c=n.contextType;c="object"==typeof c&&null!==c?$l(c):Ra(t,c=Oa(n)?$a:Ta.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==r||s!==c)&&ii(t,o,r,c),zl=!1;var f=t.memoizedState;o.state=f,Vl(t,r,o,a),s=t.memoizedState,i!==r||f!==s||Aa.current||zl?("function"==typeof u&&(ri(t,n,u,r),s=t.memoizedState),(i=zl||li(t,n,i,r,f,s,c))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=c,r=i):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ml(e,t),i=t.memoizedProps,c=t.type===t.elementType?i:ni(t.type,i),o.props=c,d=t.pendingProps,f=o.context,s="object"==typeof(s=n.contextType)&&null!==s?$l(s):Ra(t,s=Oa(n)?$a:Ta.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||f!==s)&&ii(t,o,r,s),zl=!1,f=t.memoizedState,o.state=f,Vl(t,r,o,a);var h=t.memoizedState;i!==d||f!==h||Aa.current||zl?("function"==typeof p&&(ri(t,n,p,r),h=t.memoizedState),(c=zl||li(t,n,c,r,f,h,s)||!1)?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=s,r=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ti(e,t,n,r,l,a)}function Ti(e,t,n,r,a,l){Ci(e,t);var o=!!(128&t.flags);if(!r&&!o)return a&&Ma(t,n,!1),Ui(e,t,l);r=t.stateNode,vi.current=t;var i=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=wl(t,e.child,null,l),t.child=wl(t,null,i,l)):wi(e,t,i,l),t.memoizedState=r.state,a&&Ma(t,n,!0),t.child}function Ai(e){var t=e.stateNode;t.pendingContext?Ia(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ia(0,t.context,!1),Zl(e,t.containerInfo)}function $i(e,t,n,r,a){return pl(),hl(a),t.flags|=256,wi(e,t,n,r),t.child}var Ri,Oi,Li,Ii,zi={dehydrated:null,treeContext:null,retryLane:0};function Pi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Mi(e,t,n){var r,a=t.pendingProps,o=Jl.current,i=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),_a(Jl,1&o),null===e)return cl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=a.children,e=a.fallback,i?(a=t.mode,i=t.child,s={mode:"hidden",children:s},1&a||null===i?i=Pc(s,a,0,null):(i.childLanes=0,i.pendingProps=s),e=zc(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Pi(n),t.memoizedState=zi,e):Di(t,s));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,Bi(e,t,i,r=ui(Error(l(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=Pc({mode:"visible",children:r.children},a,0,null),(o=zc(o,a,i,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,1&t.mode&&wl(t,e.child,null,i),t.child.memoizedState=Pi(i),t.memoizedState=zi,o);if(!(1&t.mode))return Bi(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,Bi(e,t,i,r=ui(o=Error(l(419)),r,void 0))}if(s=!!(i&e.childLanes),yi||s){if(null!==(r=As)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|i)?0:a)&&a!==o.retryLane&&(o.retryLane=a,Il(e,a),nc(r,e,a,-1))}return mc(),Bi(e,t,i,r=ui(Error(l(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Nc.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,rl=ca(a.nextSibling),nl=t,al=!0,ll=null,null!==e&&(Ka[Qa++]=Ya,Ka[Qa++]=Ga,Ka[Qa++]=Za,Ya=e.id,Ga=e.overflow,Za=t),(t=Di(t,r.children)).flags|=4096,t)}(e,t,s,a,r,o,n);if(i){i=a.fallback,s=t.mode,r=(o=e.child).sibling;var c={mode:"hidden",children:a.children};return 1&s||t.child===o?(a=Lc(o,c)).subtreeFlags=14680064&o.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null),null!==r?i=Lc(r,i):(i=zc(i,s,n,null)).flags|=2,i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,s=null===(s=e.child.memoizedState)?Pi(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=zi,a}return e=(i=e.child).sibling,a=Lc(i,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Di(e,t){return(t=Pc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bi(e,t,n,r){return null!==r&&hl(r),wl(t,e.child,null,n),(e=Di(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fi(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Tl(e.return,t,n)}function ji(e,t,n,r,a){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=a)}function Vi(e,t,n){var r=t.pendingProps,a=r.revealOrder,l=r.tail;if(wi(e,t,r.children,n),2&(r=Jl.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fi(e,n,t);else if(19===e.tag)Fi(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_a(Jl,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===eo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),ji(t,!1,a,n,l);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===eo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}ji(t,!0,n,null,l);break;case"together":ji(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Hi(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ui(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ps|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=Lc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Lc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wi(e,t){if(!al)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qi(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ki(e,t,n){var r=t.pendingProps;switch(tl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qi(t),null;case 1:case 17:return Oa(t.type)&&La(),qi(t),null;case 3:return r=t.stateNode,Yl(),Ca(Aa),Ca(Ta),no(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(dl(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ll&&(oc(ll),ll=null))),Oi(e,t),qi(t),null;case 5:Xl(t);var a=Ql(Kl.current);if(n=t.type,null!==e&&null!=t.stateNode)Li(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(l(166));return qi(t),null}if(e=Ql(Wl.current),dl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[fa]=t,r[pa]=o,e=!!(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(a=0;a<zr.length;a++)Br(zr[a],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Y(r,o),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Br("invalid",r);break;case"textarea":ae(r,o),Br("invalid",r)}for(var s in ve(n,o),a=null,o)if(o.hasOwnProperty(s)){var c=o[s];"children"===s?"string"==typeof c?r.textContent!==c&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",""+c]):i.hasOwnProperty(s)&&null!=c&&"onScroll"===s&&Br("scroll",r)}switch(n){case"input":q(r),J(r,o,!0);break;case"textarea":q(r),oe(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ie(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fa]=t,e[pa]=r,Ri(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(n,r),n){case"dialog":Br("cancel",e),Br("close",e),a=r;break;case"iframe":case"object":case"embed":Br("load",e),a=r;break;case"video":case"audio":for(a=0;a<zr.length;a++)Br(zr[a],e);a=r;break;case"source":Br("error",e),a=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),a=r;break;case"details":Br("toggle",e),a=r;break;case"input":Y(e,r),a=Z(e,r),Br("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=M({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Br("invalid",e)}for(o in ve(n,a),c=a)if(c.hasOwnProperty(o)){var u=c[o];"style"===o?ge(e,u):"dangerouslySetInnerHTML"===o?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===o?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(i.hasOwnProperty(o)?null!=u&&"onScroll"===o&&Br("scroll",e):null!=u&&y(e,o,u,s))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+U(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qi(t),null;case 6:if(e&&null!=t.stateNode)Ii(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(n=Ql(Kl.current),Ql(Wl.current),dl(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(o=r.nodeValue!==n)&&null!==(e=nl))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return qi(t),null;case 13:if(Ca(Jl),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(al&&null!==rl&&1&t.mode&&!(128&t.flags))fl(),pl(),t.flags|=98560,o=!1;else if(o=dl(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(l(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(l(317));o[fa]=t}else pl(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qi(t),o=!1}else null!==ll&&(oc(ll),ll=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&Jl.current?0===Is&&(Is=3):mc())),null!==t.updateQueue&&(t.flags|=4),qi(t),null);case 4:return Yl(),Oi(e,t),null===e&&Vr(t.stateNode.containerInfo),qi(t),null;case 10:return Nl(t.type._context),qi(t),null;case 19:if(Ca(Jl),null===(o=t.memoizedState))return qi(t),null;if(r=!!(128&t.flags),null===(s=o.rendering))if(r)Wi(o,!1);else{if(0!==Is||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=eo(e))){for(t.flags|=128,Wi(o,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(s=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _a(Jl,1&Jl.current|2),t.child}e=e.sibling}null!==o.tail&&Ge()>Vs&&(t.flags|=128,r=!0,Wi(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=eo(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wi(o,!0),null===o.tail&&"hidden"===o.tailMode&&!s.alternate&&!al)return qi(t),null}else 2*Ge()-o.renderingStartTime>Vs&&1073741824!==n&&(t.flags|=128,r=!0,Wi(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=o.last)?n.sibling=s:t.child=s,o.last=s)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ge(),t.sibling=null,n=Jl.current,_a(Jl,r?1&n|2:1&n),t):(qi(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Os)&&(qi(t),6&t.subtreeFlags&&(t.flags|=8192)):qi(t),null;case 24:case 25:return null}throw Error(l(156,t.tag))}function Qi(e,t){switch(tl(t),t.tag){case 1:return Oa(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Yl(),Ca(Aa),Ca(Ta),no(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Xl(t),null;case 13:if(Ca(Jl),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));pl()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(Jl),null;case 4:return Yl(),null;case 10:return Nl(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ri=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Oi=function(){},Li=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Ql(Wl.current);var l,o=null;switch(n){case"input":a=Z(e,a),r=Z(e,r),o=[];break;case"select":a=M({},a,{value:void 0}),r=M({},r,{value:void 0}),o=[];break;case"textarea":a=re(e,a),r=re(e,r),o=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ve(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var s=a[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(i.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(s=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(null!=c||null!=s))if("style"===u)if(s){for(l in s)!s.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&s[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(o||(o=[]),o.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(o=o||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(o=o||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(i.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Br("scroll",e),o||s===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Ii=function(e,t,n,r){n!==r&&(t.flags|=4)};var Zi=!1,Yi=!1,Gi="function"==typeof WeakSet?WeakSet:Set,Xi=null;function Ji(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){kc(e,t,n)}else n.current=null}function es(e,t,n){try{n()}catch(n){kc(e,t,n)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var l=a.destroy;a.destroy=void 0,void 0!==l&&es(t,n,l)}a=a.next}while(a!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function ls(e){var t=e.alternate;null!==t&&(e.alternate=null,ls(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ma],delete t[ga],delete t[ba]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function os(e){return 5===e.tag||3===e.tag||4===e.tag}function is(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||os(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var us=null,ds=!1;function fs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(lt&&"function"==typeof lt.onCommitFiberUnmount)try{lt.onCommitFiberUnmount(at,n)}catch(e){}switch(n.tag){case 5:Yi||Ji(n,t);case 6:var r=us,a=ds;us=null,fs(e,t,n),ds=a,null!==(us=r)&&(ds?(e=us,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):us.removeChild(n.stateNode));break;case 18:null!==us&&(ds?(e=us,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Vt(e)):sa(us,n.stateNode));break;case 4:r=us,a=ds,us=n.stateNode.containerInfo,ds=!0,fs(e,t,n),us=r,ds=a;break;case 0:case 11:case 14:case 15:if(!Yi&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var l=a,o=l.destroy;l=l.tag,void 0!==o&&(2&l||4&l)&&es(n,t,o),a=a.next}while(a!==r)}fs(e,t,n);break;case 1:if(!Yi&&(Ji(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){kc(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Yi=(r=Yi)||null!==n.memoizedState,fs(e,t,n),Yi=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Gi),t.forEach((function(t){var r=Tc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var o=e,i=t,s=i;e:for(;null!==s;){switch(s.tag){case 5:us=s.stateNode,ds=!1;break e;case 3:case 4:us=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===us)throw Error(l(160));ps(o,i,a),us=null,ds=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(e){kc(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),bs(e),4&r){try{ns(3,e,e.return),rs(3,e)}catch(t){kc(e,e.return,t)}try{ns(5,e,e.return)}catch(t){kc(e,e.return,t)}}break;case 1:ms(t,e),bs(e),512&r&&null!==n&&Ji(n,n.return);break;case 5:if(ms(t,e),bs(e),512&r&&null!==n&&Ji(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(t){kc(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var o=e.memoizedProps,i=null!==n?n.memoizedProps:o,s=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===s&&"radio"===o.type&&null!=o.name&&G(a,o),ye(s,i);var u=ye(s,o);for(i=0;i<c.length;i+=2){var d=c[i],f=c[i+1];"style"===d?ge(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):y(a,d,f,u)}switch(s){case"input":X(a,o);break;case"textarea":le(a,o);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var h=o.value;null!=h?ne(a,!!o.multiple,h,!1):p!==!!o.multiple&&(null!=o.defaultValue?ne(a,!!o.multiple,o.defaultValue,!0):ne(a,!!o.multiple,o.multiple?[]:"",!1))}a[pa]=o}catch(t){kc(e,e.return,t)}}break;case 6:if(ms(t,e),bs(e),4&r){if(null===e.stateNode)throw Error(l(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){kc(e,e.return,t)}}break;case 3:if(ms(t,e),bs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){kc(e,e.return,t)}break;case 4:default:ms(t,e),bs(e);break;case 13:ms(t,e),bs(e),8192&(a=e.child).flags&&(o=null!==a.memoizedState,a.stateNode.isHidden=o,!o||null!==a.alternate&&null!==a.alternate.memoizedState||(js=Ge())),4&r&&hs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yi=(u=Yi)||d,ms(t,e),Yi=u):ms(t,e),bs(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Xi=e,d=e.child;null!==d;){for(f=Xi=d;null!==Xi;){switch(h=(p=Xi).child,p.tag){case 0:case 11:case 14:case 15:ns(4,p,p.return);break;case 1:Ji(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){kc(r,n,e)}}break;case 5:Ji(p,p.return);break;case 22:if(null!==p.memoizedState){Es(f);continue}}null!==h?(h.return=p,Xi=h):Es(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,u?"function"==typeof(o=a.style).setProperty?o.setProperty("display","none","important"):o.display="none":(s=f.stateNode,i=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=me("display",i))}catch(t){kc(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){kc(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ms(t,e),bs(e),4&r&&hs(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(os(n)){var r=n;break e}n=n.return}throw Error(l(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),cs(e,is(e),a);break;case 3:case 4:var o=r.stateNode.containerInfo;ss(e,is(e),o);break;default:throw Error(l(161))}}catch(t){kc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,n){Xi=e,ys(e,t,n)}function ys(e,t,n){for(var r=!!(1&e.mode);null!==Xi;){var a=Xi,l=a.child;if(22===a.tag&&r){var o=null!==a.memoizedState||Zi;if(!o){var i=a.alternate,s=null!==i&&null!==i.memoizedState||Yi;i=Zi;var c=Yi;if(Zi=o,(Yi=s)&&!c)for(Xi=a;null!==Xi;)s=(o=Xi).child,22===o.tag&&null!==o.memoizedState?xs(a):null!==s?(s.return=o,Xi=s):xs(a);for(;null!==l;)Xi=l,ys(l,t,n),l=l.sibling;Xi=a,Zi=i,Yi=c}ws(e)}else 8772&a.subtreeFlags&&null!==l?(l.return=a,Xi=l):ws(e)}}function ws(e){for(;null!==Xi;){var t=Xi;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Yi||rs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yi)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ni(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Hl(t,o,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Hl(t,i,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Vt(f)}}}break;default:throw Error(l(163))}Yi||512&t.flags&&as(t)}catch(e){kc(t,t.return,e)}}if(t===e){Xi=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xi=n;break}Xi=t.return}}function Es(e){for(;null!==Xi;){var t=Xi;if(t===e){Xi=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xi=n;break}Xi=t.return}}function xs(e){for(;null!==Xi;){var t=Xi;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(e){kc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){kc(t,a,e)}}var l=t.return;try{as(t)}catch(e){kc(t,l,e)}break;case 5:var o=t.return;try{as(t)}catch(e){kc(t,o,e)}}}catch(e){kc(t,t.return,e)}if(t===e){Xi=null;break}var i=t.sibling;if(null!==i){i.return=t.return,Xi=i;break}Xi=t.return}}var Ss,ks=Math.ceil,Cs=w.ReactCurrentDispatcher,_s=w.ReactCurrentOwner,Ns=w.ReactCurrentBatchConfig,Ts=0,As=null,$s=null,Rs=0,Os=0,Ls=ka(0),Is=0,zs=null,Ps=0,Ms=0,Ds=0,Bs=null,Fs=null,js=0,Vs=1/0,Hs=null,Us=!1,Ws=null,qs=null,Ks=!1,Qs=null,Zs=0,Ys=0,Gs=null,Xs=-1,Js=0;function ec(){return 6&Ts?Ge():-1!==Xs?Xs:Xs=Ge()}function tc(e){return 1&e.mode?2&Ts&&0!==Rs?Rs&-Rs:null!==ml.transition?(0===Js&&(Js=mt()),Js):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function nc(e,t,n,r){if(50<Ys)throw Ys=0,Gs=null,Error(l(185));bt(e,n,r),2&Ts&&e===As||(e===As&&(!(2&Ts)&&(Ms|=n),4===Is&&ic(e,Rs)),rc(e,r),1===n&&0===Ts&&!(1&t.mode)&&(Vs=Ge()+500,Ba&&Va()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,l=e.pendingLanes;0<l;){var o=31-ot(l),i=1<<o,s=a[o];-1===s?i&n&&!(i&r)||(a[o]=pt(i,t)):s<=t&&(e.expiredLanes|=i),l&=~i}}(e,t);var r=ft(e,e===As?Rs:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Ba=!0,ja(e)}(sc.bind(null,e)):ja(sc.bind(null,e)),oa((function(){!(6&Ts)&&Va()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ac(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Xs=-1,Js=0,6&Ts)throw Error(l(327));var n=e.callbackNode;if(xc()&&e.callbackNode!==n)return null;var r=ft(e,e===As?Rs:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gc(e,r);else{t=r;var a=Ts;Ts|=2;var o=hc();for(As===e&&Rs===t||(Hs=null,Vs=Ge()+500,fc(e,t));;)try{vc();break}catch(t){pc(e,t)}_l(),Cs.current=o,Ts=a,null!==$s?t=0:(As=null,Rs=0,t=Is)}if(0!==t){if(2===t&&0!==(a=ht(e))&&(r=a,t=lc(e,a)),1===t)throw n=zs,fc(e,0),ic(e,r),rc(e,Ge()),n;if(6===t)ic(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],l=a.getSnapshot;a=a.value;try{if(!ir(l(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=gc(e,r),2===t&&(o=ht(e),0!==o&&(r=o,t=lc(e,o))),1!==t)))throw n=zs,fc(e,0),ic(e,r),rc(e,Ge()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(l(345));case 2:case 5:Ec(e,Fs,Hs);break;case 3:if(ic(e,r),(130023424&r)===r&&10<(t=js+500-Ge())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(Ec.bind(null,e,Fs,Hs),t);break}Ec(e,Fs,Hs);break;case 4:if(ic(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var i=31-ot(r);o=1<<i,(i=t[i])>a&&(a=i),r&=~o}if(r=a,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ks(r/1960))-r)){e.timeoutHandle=ra(Ec.bind(null,e,Fs,Hs),r);break}Ec(e,Fs,Hs);break;default:throw Error(l(329))}}}return rc(e,Ge()),e.callbackNode===n?ac.bind(null,e):null}function lc(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fs,Fs=n,null!==t&&oc(t)),e}function oc(e){null===Fs?Fs=e:Fs.push.apply(Fs,e)}function ic(e,t){for(t&=~Ds,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function sc(e){if(6&Ts)throw Error(l(327));xc();var t=ft(e,0);if(!(1&t))return rc(e,Ge()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=lc(e,r))}if(1===n)throw n=zs,fc(e,0),ic(e,t),rc(e,Ge()),n;if(6===n)throw Error(l(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ec(e,Fs,Hs),rc(e,Ge()),null}function cc(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Vs=Ge()+500,Ba&&Va())}}function uc(e){null!==Qs&&0===Qs.tag&&!(6&Ts)&&xc();var t=Ts;Ts|=1;var n=Ns.transition,r=yt;try{if(Ns.transition=null,yt=1,e)return e()}finally{yt=r,Ns.transition=n,!(6&(Ts=t))&&Va()}}function dc(){Os=Ls.current,Ca(Ls)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==$s)for(n=$s.return;null!==n;){var r=n;switch(tl(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&La();break;case 3:Yl(),Ca(Aa),Ca(Ta),no();break;case 5:Xl(r);break;case 4:Yl();break;case 13:case 19:Ca(Jl);break;case 10:Nl(r.type._context);break;case 22:case 23:dc()}n=n.return}if(As=e,$s=e=Lc(e.current,null),Rs=Os=t,Is=0,zs=null,Ds=Ms=Ps=0,Fs=Bs=null,null!==Rl){for(t=0;t<Rl.length;t++)if(null!==(r=(n=Rl[t]).interleaved)){n.interleaved=null;var a=r.next,l=n.pending;if(null!==l){var o=l.next;l.next=a,r.next=o}n.pending=r}Rl=null}return e}function pc(e,t){for(;;){var n=$s;try{if(_l(),ro.current=Xo,co){for(var r=oo.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}co=!1}if(lo=0,so=io=oo=null,uo=!1,fo=0,_s.current=null,null===n||null===n.return){Is=1,zs=t,$s=null;break}e:{var o=e,i=n.return,s=n,c=t;if(t=Rs,s.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gi(i);if(null!==h){h.flags&=-257,bi(h,i,s,0,t),1&h.mode&&mi(o,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){mi(o,u,t),mc();break e}c=Error(l(426))}else if(al&&1&s.mode){var b=gi(i);if(null!==b){!(65536&b.flags)&&(b.flags|=256),bi(b,i,s,0,t),hl(ci(c,s));break e}}o=c=ci(c,s),4!==Is&&(Is=2),null===Bs?Bs=[o]:Bs.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,jl(o,pi(0,c,t));break e;case 1:s=c;var v=o.type,y=o.stateNode;if(!(128&o.flags||"function"!=typeof v.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==qs&&qs.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t,jl(o,hi(o,s,t));break e}}o=o.return}while(null!==o)}wc(n)}catch(e){t=e,$s===n&&null!==n&&($s=n=n.return);continue}break}}function hc(){var e=Cs.current;return Cs.current=Xo,null===e?Xo:e}function mc(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===As||!(268435455&Ps)&&!(268435455&Ms)||ic(As,Rs)}function gc(e,t){var n=Ts;Ts|=2;var r=hc();for(As===e&&Rs===t||(Hs=null,fc(e,t));;)try{bc();break}catch(t){pc(e,t)}if(_l(),Ts=n,Cs.current=r,null!==$s)throw Error(l(261));return As=null,Rs=0,Is}function bc(){for(;null!==$s;)yc($s)}function vc(){for(;null!==$s&&!Ze();)yc($s)}function yc(e){var t=Ss(e.alternate,e,Os);e.memoizedProps=e.pendingProps,null===t?wc(e):$s=t,_s.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Qi(n,t)))return n.flags&=32767,void($s=n);if(null===e)return Is=6,void($s=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ki(n,t,Os)))return void($s=n);if(null!==(t=t.sibling))return void($s=t);$s=t=e}while(null!==t);0===Is&&(Is=5)}function Ec(e,t,n){var r=yt,a=Ns.transition;try{Ns.transition=null,yt=1,function(e,t,n,r){do{xc()}while(null!==Qs);if(6&Ts)throw Error(l(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(l(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-ot(n),l=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~l}}(e,o),e===As&&($s=As=null,Rs=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ks||(Ks=!0,Ac(tt,(function(){return xc(),null}))),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=Ns.transition,Ns.transition=null;var i=yt;yt=1;var s=Ts;Ts|=4,_s.current=null,function(e,t){if(ea=Ut,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(e){n=null;break e}var i=0,s=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(s=i+a),f!==o||0!==r&&3!==f.nodeType||(c=i+r),3===f.nodeType&&(i+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===a&&(s=i),p===o&&++d===r&&(c=i),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===c?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ut=!1,Xi=t;null!==Xi;)if(e=(t=Xi).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xi=e;else for(;null!==Xi;){t=Xi;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,b=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ni(t.type,g),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(l(163))}}catch(e){kc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xi=e;break}Xi=t.return}m=ts,ts=!1}(e,n),gs(n,e),hr(ta),Ut=!!ea,ta=ea=null,e.current=n,vs(n,e,a),Ye(),Ts=s,yt=i,Ns.transition=o}else e.current=n;if(Ks&&(Ks=!1,Qs=e,Zs=a),0===(o=e.pendingLanes)&&(qs=null),function(e){if(lt&&"function"==typeof lt.onCommitFiberRoot)try{lt.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((a=t[n]).value,{componentStack:a.stack,digest:a.digest});if(Us)throw Us=!1,e=Ws,Ws=null,e;!!(1&Zs)&&0!==e.tag&&xc(),1&(o=e.pendingLanes)?e===Gs?Ys++:(Ys=0,Gs=e):Ys=0,Va()}(e,t,n,r)}finally{Ns.transition=a,yt=r}return null}function xc(){if(null!==Qs){var e=wt(Zs),t=Ns.transition,n=yt;try{if(Ns.transition=null,yt=16>e?16:e,null===Qs)var r=!1;else{if(e=Qs,Qs=null,Zs=0,6&Ts)throw Error(l(331));var a=Ts;for(Ts|=4,Xi=e.current;null!==Xi;){var o=Xi,i=o.child;if(16&Xi.flags){var s=o.deletions;if(null!==s){for(var c=0;c<s.length;c++){var u=s[c];for(Xi=u;null!==Xi;){var d=Xi;switch(d.tag){case 0:case 11:case 15:ns(8,d,o)}var f=d.child;if(null!==f)f.return=d,Xi=f;else for(;null!==Xi;){var p=(d=Xi).sibling,h=d.return;if(ls(d),d===u){Xi=null;break}if(null!==p){p.return=h,Xi=p;break}Xi=h}}}var m=o.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var b=g.sibling;g.sibling=null,g=b}while(null!==g)}}Xi=o}}if(2064&o.subtreeFlags&&null!==i)i.return=o,Xi=i;else e:for(;null!==Xi;){if(2048&(o=Xi).flags)switch(o.tag){case 0:case 11:case 15:ns(9,o,o.return)}var v=o.sibling;if(null!==v){v.return=o.return,Xi=v;break e}Xi=o.return}}var y=e.current;for(Xi=y;null!==Xi;){var w=(i=Xi).child;if(2064&i.subtreeFlags&&null!==w)w.return=i,Xi=w;else e:for(i=y;null!==Xi;){if(2048&(s=Xi).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(e){kc(s,s.return,e)}if(s===i){Xi=null;break e}var E=s.sibling;if(null!==E){E.return=s.return,Xi=E;break e}Xi=s.return}}if(Ts=a,Va(),lt&&"function"==typeof lt.onPostCommitFiberRoot)try{lt.onPostCommitFiberRoot(at,e)}catch(e){}r=!0}return r}finally{yt=n,Ns.transition=t}}return!1}function Sc(e,t,n){e=Bl(e,t=pi(0,t=ci(n,t),1),1),t=ec(),null!==e&&(bt(e,1,t),rc(e,t))}function kc(e,t,n){if(3===e.tag)Sc(e,e,n);else for(;null!==t;){if(3===t.tag){Sc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qs||!qs.has(r))){t=Bl(t,e=hi(t,e=ci(n,e),1),1),e=ec(),null!==t&&(bt(t,1,e),rc(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,As===e&&(Rs&n)===n&&(4===Is||3===Is&&(130023424&Rs)===Rs&&500>Ge()-js?fc(e,0):Ds|=n),rc(e,t)}function _c(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=ec();null!==(e=Il(e,t))&&(bt(e,t,n),rc(e,n))}function Nc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_c(e,n)}function Tc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(l(314))}null!==r&&r.delete(t),_c(e,n)}function Ac(e,t){return Ke(e,t)}function $c(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,t,n,r){return new $c(e,t,n,r)}function Oc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lc(e,t){var n=e.alternate;return null===n?((n=Rc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ic(e,t,n,r,a,o){var i=2;if(r=e,"function"==typeof e)Oc(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case S:return zc(n.children,a,o,t);case k:i=8,a|=8;break;case C:return(e=Rc(12,n,t,2|a)).elementType=C,e.lanes=o,e;case A:return(e=Rc(13,n,t,a)).elementType=A,e.lanes=o,e;case $:return(e=Rc(19,n,t,a)).elementType=$,e.lanes=o,e;case L:return Pc(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:i=10;break e;case N:i=9;break e;case T:i=11;break e;case R:i=14;break e;case O:i=16,r=null;break e}throw Error(l(130,null==e?e:typeof e,""))}return(t=Rc(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function zc(e,t,n,r){return(e=Rc(7,e,r,t)).lanes=n,e}function Pc(e,t,n,r){return(e=Rc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Mc(e,t,n){return(e=Rc(6,e,null,t)).lanes=n,e}function Dc(e,t,n){return(t=Rc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,a,l,o,i,s){return e=new Bc(e,t,n,i,s),1===t?(t=1,!0===l&&(t|=8)):t=0,l=Rc(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pl(l),e}function jc(e){if(!e)return Na;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(l(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(l(171))}if(1===e.tag){var n=e.type;if(Oa(n))return za(e,n,t)}return t}function Vc(e,t,n,r,a,l,o,i,s){return(e=Fc(n,r,!0,e,0,l,0,i,s)).context=jc(null),n=e.current,(l=Dl(r=ec(),a=tc(n))).callback=null!=t?t:null,Bl(n,l,a),e.current.lanes=a,bt(e,a,r),rc(e,r),e}function Hc(e,t,n,r){var a=t.current,l=ec(),o=tc(a);return n=jc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Dl(l,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bl(a,t,o))&&(nc(e,a,o,l),Fl(e,a,o)),o}function Uc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}Ss=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Aa.current)yi=!0;else{if(!(e.lanes&n||128&t.flags))return yi=!1,function(e,t,n){switch(t.tag){case 3:Ai(t),pl();break;case 5:Gl(t);break;case 1:Oa(t.type)&&Pa(t);break;case 4:Zl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;_a(xl,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_a(Jl,1&Jl.current),t.flags|=128,null):n&t.child.childLanes?Mi(e,t,n):(_a(Jl,1&Jl.current),null!==(e=Ui(e,t,n))?e.sibling:null);_a(Jl,1&Jl.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Vi(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),_a(Jl,Jl.current),r)break;return null;case 22:case 23:return t.lanes=0,ki(e,t,n)}return Ui(e,t,n)}(e,t,n);yi=!!(131072&e.flags)}else yi=!1,al&&1048576&t.flags&&Ja(t,qa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hi(e,t),e=t.pendingProps;var a=Ra(t,Ta.current);Al(t,n),a=go(null,t,r,e,a,n);var o=bo();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oa(r)?(o=!0,Pa(t)):o=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Pl(t),a.updater=ai,t.stateNode=a,a._reactInternals=t,si(t,r,e,n),t=Ti(null,t,r,!0,o,n)):(t.tag=0,al&&o&&el(t),wi(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hi(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Oc(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===R)return 14}return 2}(r),e=ni(r,e),a){case 0:t=_i(null,t,r,e,n);break e;case 1:t=Ni(null,t,r,e,n);break e;case 11:t=Ei(null,t,r,e,n);break e;case 14:t=xi(null,t,r,ni(r.type,e),n);break e}throw Error(l(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,_i(e,t,r,a=t.elementType===r?a:ni(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ni(e,t,r,a=t.elementType===r?a:ni(r,a),n);case 3:e:{if(Ai(t),null===e)throw Error(l(387));r=t.pendingProps,a=(o=t.memoizedState).element,Ml(e,t),Vl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=$i(e,t,r,n,a=ci(Error(l(423)),t));break e}if(r!==a){t=$i(e,t,r,n,a=ci(Error(l(424)),t));break e}for(rl=ca(t.stateNode.containerInfo.firstChild),nl=t,al=!0,ll=null,n=El(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pl(),r===a){t=Ui(e,t,n);break e}wi(e,t,r,n)}t=t.child}return t;case 5:return Gl(t),null===e&&cl(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children,na(r,a)?i=null:null!==o&&na(r,o)&&(t.flags|=32),Ci(e,t),wi(e,t,i,n),t.child;case 6:return null===e&&cl(t),null;case 13:return Mi(e,t,n);case 4:return Zl(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wl(t,null,r,n):wi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Ei(e,t,r,a=t.elementType===r?a:ni(r,a),n);case 7:return wi(e,t,t.pendingProps,n),t.child;case 8:case 12:return wi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,_a(xl,r._currentValue),r._currentValue=i,null!==o)if(ir(o.value,i)){if(o.children===a.children&&!Aa.current){t=Ui(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var s=o.dependencies;if(null!==s){i=o.child;for(var c=s.firstContext;null!==c;){if(c.context===r){if(1===o.tag){(c=Dl(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,null!==(c=o.alternate)&&(c.lanes|=n),Tl(o.return,n,t),s.lanes|=n;break}c=c.next}}else if(10===o.tag)i=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(l(341));i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Tl(i,n,t),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===t){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}wi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Al(t,n),r=r(a=$l(a)),t.flags|=1,wi(e,t,r,n),t.child;case 14:return a=ni(r=t.type,t.pendingProps),xi(e,t,r,a=ni(r.type,a),n);case 15:return Si(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ni(r,a),Hi(e,t),t.tag=1,Oa(r)?(e=!0,Pa(t)):e=!1,Al(t,n),oi(t,r,a),si(t,r,a,n),Ti(null,t,r,!0,e,n);case 19:return Vi(e,t,n);case 22:return ki(e,t,n)}throw Error(l(156,t.tag))};var Kc="function"==typeof reportError?reportError:function(e){console.error(e)};function Qc(e){this._internalRoot=e}function Zc(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Gc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Jc(e,t,n,r,a){var l=n._reactRootContainer;if(l){var o=l;if("function"==typeof a){var i=a;a=function(){var e=Uc(o);i.call(e)}}Hc(t,o,e,a)}else o=function(e,t,n,r,a){if(a){if("function"==typeof r){var l=r;r=function(){var e=Uc(o);l.call(e)}}var o=Vc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=o,e[ha]=o.current,Vr(8===e.nodeType?e.parentNode:e),uc(),o}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var i=r;r=function(){var e=Uc(s);i.call(e)}}var s=Fc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=s,e[ha]=s.current,Vr(8===e.nodeType?e.parentNode:e),uc((function(){Hc(t,s,n,r)})),s}(n,t,e,a,r);return Uc(o)}Zc.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));Hc(e,t,null,null)},Zc.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Hc(null,e,null,null)})),t[ha]=null}},Zc.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Mt(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),rc(t,Ge()),!(6&Ts)&&(Vs=Ge()+500,Va()))}break;case 13:uc((function(){var t=Il(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}})),qc(e,1)}},xt=function(e){if(13===e.tag){var t=Il(e,134217728);null!==t&&nc(t,e,134217728,ec()),qc(e,134217728)}},St=function(e){if(13===e.tag){var t=tc(e),n=Il(e,t);null!==n&&nc(n,e,t,ec()),qc(e,t)}},kt=function(){return yt},Ct=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},xe=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=Ea(r);if(!a)throw Error(l(90));K(r),X(r,a)}}}break;case"textarea":le(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=cc,Ae=uc;var eu={usingClientEntryPoint:!1,Events:[ya,wa,Ea,_e,Ne,cc]},tu={findFiberByHostInstance:va,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{at=ru.inject(nu),lt=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(l(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(l(299));var n=!1,r="",a=Kc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Fc(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Qc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw e=Object.keys(e).join(","),Error(l(268,e))}return null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Gc(t))throw Error(l(200));return Jc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(l(405));var r=null!=n&&n.hydratedSources||null,a=!1,o="",i=Kc;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=Vc(t,null,e,1,null!=n?n:null,a,0,o,i),e[ha]=t.current,Vr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Zc(t)},t.render=function(e,t,n){if(!Gc(t))throw Error(l(200));return Jc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Gc(e))throw Error(l(40));return!!e._reactRootContainer&&(uc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Gc(n))throw Error(l(200));if(null==e||void 0===e._reactInternals)throw Error(l(38));return Jc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},3144:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(7400)},9772:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function l(e,o){if(e===o)return!0;if(e&&o&&"object"==typeof e&&"object"==typeof o){if(e.constructor!==o.constructor)return!1;var i,s,c,u;if(Array.isArray(e)){if((i=e.length)!=o.length)return!1;for(s=i;0!=s--;)if(!l(e[s],o[s]))return!1;return!0}if(n&&e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!o.has(s.value[0]))return!1;for(u=e.entries();!(s=u.next()).done;)if(!l(s.value[1],o.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(u=e.entries();!(s=u.next()).done;)if(!o.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(o)){if((i=e.length)!=o.length)return!1;for(s=i;0!=s--;)if(e[s]!==o[s])return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof o.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof o.toString)return e.toString()===o.toString();if((i=(c=Object.keys(e)).length)!==Object.keys(o).length)return!1;for(s=i;0!=s--;)if(!Object.prototype.hasOwnProperty.call(o,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=i;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!l(e[c[s]],o[c[s]]))return!1;return!0}return e!=e&&o!=o}e.exports=function(e,t){try{return l(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},2568:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<l(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,o=a>>>1;r<o;){var i=2*(r+1)-1,s=e[i],c=i+1,u=e[c];if(0>l(s,n))c<a&&0>l(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[i]=n,r=i);else{if(!(c<a&&0>l(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function l(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();t.unstable_now=function(){return i.now()-s}}var c=[],u=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function E(e){if(g=!1,w(e),!m)if(null!==r(c))m=!0,L(x);else{var t=r(u);null!==t&&I(E,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,v(_),_=-1),h=!0;var l=p;try{for(w(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!A());){var o=f.callback;if("function"==typeof o){f.callback=null,p=f.priorityLevel;var i=o(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof i?f.callback=i:f===r(c)&&a(c),w(n)}else a(c);f=r(c)}if(null!==f)var s=!0;else{var d=r(u);null!==d&&I(E,d.startTime-n),s=!1}return s}finally{f=null,p=l,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,k=!1,C=null,_=-1,N=5,T=-1;function A(){return!(t.unstable_now()-T<N)}function $(){if(null!==C){var e=t.unstable_now();T=e;var n=!0;try{n=C(!0,e)}finally{n?S():(k=!1,C=null)}}else k=!1}if("function"==typeof y)S=function(){y($)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,O=R.port2;R.port1.onmessage=$,S=function(){O.postMessage(null)}}else S=function(){b($,0)};function L(e){C=e,k||(k=!0,S())}function I(e,n){_=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,L(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,l){var o=t.unstable_now();switch(l="object"==typeof l&&null!==l&&"number"==typeof(l=l.delay)&&0<l?o+l:o,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:l,expirationTime:i=l+i,sortIndex:-1},l>o?(e.sortIndex=l,n(u,e),null===r(c)&&e===r(u)&&(g?(v(_),_=-1):g=!0,I(E,l-o))):(e.sortIndex=i,n(c,e),m||h||(m=!0,L(x))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},7967:(e,t,n)=>{"use strict";e.exports=n(2568)},3296:(e,t,n)=>{"use strict";var r=n(1343),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=r.useState,o=r.useEffect,i=r.useLayoutEffect,s=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=l({inst:{value:n,getSnapshot:t}}),a=r[0].inst,u=r[1];return i((function(){a.value=n,a.getSnapshot=t,c(a)&&u({inst:a})}),[e,n,t]),o((function(){return c(a)&&u({inst:a}),e((function(){c(a)&&u({inst:a})}))}),[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},8139:(e,t,n)=>{"use strict";e.exports=n(3296)},6468:function(e,t,n){"use strict";e.exports="object"==typeof self&&self.self===self&&self||"object"==typeof n.g&&n.g.global===n.g&&n.g||this},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,l(n)))}return e}function l(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},2086:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6979);const a=function(e,t){for(var n=e.length;n--;)if((0,r.A)(e[n][0],t))return n;return-1};var l=Array.prototype.splice;function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}o.prototype.clear=function(){this.__data__=[],this.size=0},o.prototype.delete=function(e){var t=this.__data__,n=a(t,e);return!(n<0||(n==t.length-1?t.pop():l.call(t,n,1),--this.size,0))},o.prototype.get=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]},o.prototype.has=function(e){return a(this.__data__,e)>-1},o.prototype.set=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};const i=o},5436:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1465),a=n(9600);const l=(0,r.A)(a.A,"Map")},9240:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});const r=(0,n(1465).A)(Object,"create");var a=Object.prototype.hasOwnProperty;var l=Object.prototype.hasOwnProperty;function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}o.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},o.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},o.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0},o.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:l.call(t,e)},o.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};const i=o;var s=n(2086),c=n(5436);const u=function(e,t){var n,r,a=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new i,map:new(c.A||s.A),string:new i}},d.prototype.delete=function(e){var t=u(this,e).delete(e);return this.size-=t?1:0,t},d.prototype.get=function(e){return u(this,e).get(e)},d.prototype.has=function(e){return u(this,e).has(e)},d.prototype.set=function(e,t){var n=u(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};const f=d},8574:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1465),a=n(9600);const l=(0,r.A)(a.A,"Set")},4149:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(9240);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.A;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},a.prototype.has=function(e){return this.__data__.has(e)};const l=a},3516:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9600).A.Symbol},5133:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},5841:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(3387),a=n(9322);const l=function(e,t){for(var n=0,l=(t=(0,r.A)(t,e)).length;null!=e&&n<l;)e=e[(0,a.A)(t[n++])];return n&&n==l?e:void 0}},2135:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(3516),a=Object.prototype,l=a.hasOwnProperty,o=a.toString,i=r.A?r.A.toStringTag:void 0;var s=Object.prototype.toString;var c=r.A?r.A.toStringTag:void 0;const u=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?function(e){var t=l.call(e,i),n=e[i];try{e[i]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[i]=n:delete e[i]),a}(e):function(e){return s.call(e)}(e)}},2206:(e,t,n)=>{"use strict";n.d(t,{A:()=>be});var r=n(2086);var a=n(5436),l=n(9240);function o(e){var t=this.__data__=new r.A(e);this.size=t.size}o.prototype.clear=function(){this.__data__=new r.A,this.size=0},o.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},o.prototype.get=function(e){return this.__data__.get(e)},o.prototype.has=function(e){return this.__data__.has(e)},o.prototype.set=function(e,t){var n=this.__data__;if(n instanceof r.A){var o=n.__data__;if(!a.A||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new l.A(o)}return n.set(e,t),this.size=n.size,this};const i=o;var s=n(4149);const c=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var u=n(2026);const d=function(e,t,n,r,a,l){var o=1&n,i=e.length,d=t.length;if(i!=d&&!(o&&d>i))return!1;var f=l.get(e),p=l.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,g=2&n?new s.A:void 0;for(l.set(e,t),l.set(t,e);++h<i;){var b=e[h],v=t[h];if(r)var y=o?r(v,b,h,t,e,l):r(b,v,h,e,t,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!c(t,(function(e,t){if(!(0,u.A)(g,t)&&(b===e||a(b,e,n,r,l)))return g.push(t)}))){m=!1;break}}else if(b!==v&&!a(b,v,n,r,l)){m=!1;break}}return l.delete(e),l.delete(t),m};var f=n(3516),p=n(9600);const h=p.A.Uint8Array;var m=n(6979);const g=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var b=n(9922),v=f.A?f.A.prototype:void 0,y=v?v.valueOf:void 0;var w=n(6956);var E=Object.prototype.propertyIsEnumerable,x=Object.getOwnPropertySymbols;const S=x?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,l=[];++n<r;){var o=e[n];t(o,n,e)&&(l[a++]=o)}return l}(x(e),(function(t){return E.call(e,t)})))}:function(){return[]};var k=n(4768);const C=function(e){return function(e,t,n){var r=t(e);return(0,w.A)(e)?r:function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}(r,n(e))}(e,k.A,S)};var _=Object.prototype.hasOwnProperty;var N=n(1465);const T=(0,N.A)(p.A,"DataView"),A=(0,N.A)(p.A,"Promise");var $=n(8574);const R=(0,N.A)(p.A,"WeakMap");var O=n(2135),L=n(1548),I="[object Map]",z="[object Promise]",P="[object Set]",M="[object WeakMap]",D="[object DataView]",B=(0,L.A)(T),F=(0,L.A)(a.A),j=(0,L.A)(A),V=(0,L.A)($.A),H=(0,L.A)(R),U=O.A;(T&&U(new T(new ArrayBuffer(1)))!=D||a.A&&U(new a.A)!=I||A&&U(A.resolve())!=z||$.A&&U(new $.A)!=P||R&&U(new R)!=M)&&(U=function(e){var t=(0,O.A)(e),n="[object Object]"==t?e.constructor:void 0,r=n?(0,L.A)(n):"";if(r)switch(r){case B:return D;case F:return I;case j:return z;case V:return P;case H:return M}return t});const W=U;var q=n(5821),K=n(1366),Q="[object Arguments]",Z="[object Array]",Y="[object Object]",G=Object.prototype.hasOwnProperty;const X=function(e,t,n,r,a,l){var o=(0,w.A)(e),s=(0,w.A)(t),c=o?Z:W(e),u=s?Z:W(t),f=(c=c==Q?Y:c)==Y,p=(u=u==Q?Y:u)==Y,v=c==u;if(v&&(0,q.A)(e)){if(!(0,q.A)(t))return!1;o=!0,f=!1}if(v&&!f)return l||(l=new i),o||(0,K.A)(e)?d(e,t,n,r,a,l):function(e,t,n,r,a,l,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!l(new h(e),new h(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,m.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var i=g;case"[object Set]":var s=1&r;if(i||(i=b.A),e.size!=t.size&&!s)return!1;var c=o.get(e);if(c)return c==t;r|=2,o.set(e,t);var u=d(i(e),i(t),r,a,l,o);return o.delete(e),u;case"[object Symbol]":if(y)return y.call(e)==y.call(t)}return!1}(e,t,c,n,r,a,l);if(!(1&n)){var E=f&&G.call(e,"__wrapped__"),x=p&&G.call(t,"__wrapped__");if(E||x){var S=E?e.value():e,k=x?t.value():t;return l||(l=new i),a(S,k,n,r,l)}}return!!v&&(l||(l=new i),function(e,t,n,r,a,l){var o=1&n,i=C(e),s=i.length;if(s!=C(t).length&&!o)return!1;for(var c=s;c--;){var u=i[c];if(!(o?u in t:_.call(t,u)))return!1}var d=l.get(e),f=l.get(t);if(d&&f)return d==t&&f==e;var p=!0;l.set(e,t),l.set(t,e);for(var h=o;++c<s;){var m=e[u=i[c]],g=t[u];if(r)var b=o?r(g,m,u,t,e,l):r(m,g,u,e,t,l);if(!(void 0===b?m===g||a(m,g,n,r,l):b)){p=!1;break}h||(h="constructor"==u)}if(p&&!h){var v=e.constructor,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(p=!1)}return l.delete(e),l.delete(t),p}(e,t,n,r,a,l))};var J=n(7313);const ee=function e(t,n,r,a,l){return t===n||(null==t||null==n||!(0,J.A)(t)&&!(0,J.A)(n)?t!=t&&n!=n:X(t,n,r,a,e,l))};var te=n(7942);const ne=function(e){return e==e&&!(0,te.A)(e)},re=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},ae=function(e){var t=function(e){for(var t=(0,k.A)(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,ne(a)]}return t}(e);return 1==t.length&&t[0][2]?re(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var a=n.length,l=a,o=!r;if(null==e)return!l;for(e=Object(e);a--;){var s=n[a];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<l;){var c=(s=n[a])[0],u=e[c],d=s[1];if(o&&s[2]){if(void 0===u&&!(c in e))return!1}else{var f=new i;if(r)var p=r(u,d,c,e,t,f);if(!(void 0===p?ee(d,u,3,r,f):p))return!1}}return!0}(n,e,t)}};var le=n(5841);const oe=function(e,t){return null!=e&&t in Object(e)};var ie=n(3387),se=n(1697),ce=n(5378),ue=n(7893),de=n(9322);const fe=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,a=(t=(0,ie.A)(t,e)).length,l=!1;++r<a;){var o=(0,de.A)(t[r]);if(!(l=null!=e&&n(e,o)))break;e=e[o]}return l||++r!=a?l:!!(a=null==e?0:e.length)&&(0,ue.A)(a)&&(0,ce.A)(o,a)&&((0,w.A)(e)||(0,se.A)(e))}(e,t,oe)};var pe=n(1677);const he=function(e,t){return(0,pe.A)(e)&&ne(t)?re((0,de.A)(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:(0,le.A)(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?fe(n,e):ee(t,r,3)}};var me=n(4151);const ge=function(e){return(0,pe.A)(e)?(t=(0,de.A)(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return(0,le.A)(t,e)}}(e);var t},be=function(e){return"function"==typeof e?e:null==e?me.A:"object"==typeof e?(0,w.A)(e)?he(e[0],e[1]):ae(e):ge(e)}},8126:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return function(t){return e(t)}}},2026:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){return e.has(t)}},3387:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(6956),a=n(1677),l=n(9240);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],l=n.cache;if(l.has(a))return l.get(a);var o=e.apply(this,r);return n.cache=l.set(a,o)||l,o};return n.cache=new(o.Cache||l.A),n}o.Cache=l.A;var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g;const c=(u=o((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,a){t.push(r?a.replace(s,"$1"):n||e)})),t}),(function(e){return 500===d.size&&d.clear(),e})),d=u.cache,u);var u,d,f=n(3516),p=n(5133),h=n(4089),m=f.A?f.A.prototype:void 0,g=m?m.toString:void 0;const b=function e(t){if("string"==typeof t)return t;if((0,r.A)(t))return(0,p.A)(t,e)+"";if((0,h.A)(t))return g?g.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},v=function(e){return null==e?"":b(e)},y=function(e,t){return(0,r.A)(e)?e:(0,a.A)(e,t)?[e]:c(v(e))}},6713:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},1465:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(405);const a=n(9600).A["__core-js_shared__"];var l,o=(l=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"";var i=n(7942),s=n(1548),c=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,p=d.hasOwnProperty,h=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const m=function(e){return!(!(0,i.A)(e)||(t=e,o&&o in t))&&((0,r.A)(e)?h:c).test((0,s.A)(e));var t},g=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return m(n)?n:void 0}},5378:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=/^(?:0|[1-9]\d*)$/;const a=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},1677:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6956),a=n(4089),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;const i=function(e,t){if((0,r.A)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!(0,a.A)(e))||o.test(e)||!l.test(e)||null!=t&&e in Object(t)}},9600:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6713),a="object"==typeof self&&self&&self.Object===Object&&self;const l=r.A||a||Function("return this")()},9922:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},9322:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4089);const a=function(e){if("string"==typeof e||(0,r.A)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},1548:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=Function.prototype.toString;const a=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},6979:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){return e===t||e!=e&&t!=t}},4151:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return e}},1697:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(2135),a=n(7313);const l=function(e){return(0,a.A)(e)&&"[object Arguments]"==(0,r.A)(e)};var o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable;const c=l(function(){return arguments}())?l:function(e){return(0,a.A)(e)&&i.call(e,"callee")&&!s.call(e,"callee")}},6956:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Array.isArray},1475:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(405),a=n(7893);const l=function(e){return null!=e&&(0,a.A)(e.length)&&!(0,r.A)(e)}},5821:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(9600);var a="object"==typeof exports&&exports&&!exports.nodeType&&exports,l=a&&"object"==typeof module&&module&&!module.nodeType&&module,o=l&&l.exports===a?r.A.Buffer:void 0;const i=(o?o.isBuffer:void 0)||function(){return!1}},405:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2135),a=n(7942);const l=function(e){if(!(0,a.A)(e))return!1;var t=(0,r.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},7893:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7942:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7313:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return null!=e&&"object"==typeof e}},4089:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2135),a=n(7313);const l=function(e){return"symbol"==typeof e||(0,a.A)(e)&&"[object Symbol]"==(0,r.A)(e)}},1366:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(2135),a=n(7893),l=n(7313),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var i=n(8126),s=n(6713),c="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=c&&"object"==typeof module&&module&&!module.nodeType&&module,d=u&&u.exports===c&&s.A.process,f=function(){try{return u&&u.require&&u.require("util").types||d&&d.binding&&d.binding("util")}catch(e){}}(),p=f&&f.isTypedArray;const h=p?(0,i.A)(p):function(e){return(0,l.A)(e)&&(0,a.A)(e.length)&&!!o[(0,r.A)(e)]}},4768:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(1697),a=n(6956),l=n(5821),o=n(5378),i=n(1366),s=Object.prototype.hasOwnProperty;const c=function(e,t){var n=(0,a.A)(e),c=!n&&(0,r.A)(e),u=!n&&!c&&(0,l.A)(e),d=!n&&!c&&!u&&(0,i.A)(e),f=n||c||u||d,p=f?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],h=p.length;for(var m in e)!t&&!s.call(e,m)||f&&("length"==m||u&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,o.A)(m,h))||p.push(m);return p};var u=Object.prototype;const d=(f=Object.keys,p=Object,function(e){return f(p(e))});var f,p,h=Object.prototype.hasOwnProperty;const m=function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||u))return d(e);var t,n,r=[];for(var a in Object(e))h.call(e,a)&&"constructor"!=a&&r.push(a);return r};var g=n(1475);const b=function(e){return(0,g.A)(e)?c(e):m(e)}},1123:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,Tk:()=>l.mutate,iX:()=>l.useSWRConfig});var r=n(1343),a=n(8139),l=n(5434);const o=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),i={dedupe:!0},s=(l.OBJECT.defineProperty(l.SWRConfig,"defaultValue",{value:l.defaultConfig}),(0,l.withArgs)(((e,t,n)=>{const{cache:s,compare:c,suspense:u,fallbackData:d,revalidateOnMount:f,revalidateIfStale:p,refreshInterval:h,refreshWhenHidden:m,refreshWhenOffline:g,keepPreviousData:b}=n,[v,y,w,E]=l.SWRGlobalState.get(s),[x,S]=(0,l.serialize)(e),k=(0,r.useRef)(!1),C=(0,r.useRef)(!1),_=(0,r.useRef)(x),N=(0,r.useRef)(t),T=(0,r.useRef)(n),A=()=>T.current,$=()=>A().isVisible()&&A().isOnline(),[R,O,L,I]=(0,l.createCacheHelper)(s,x),z=(0,r.useRef)({}).current,P=(0,l.isUndefined)(d)?n.fallback[x]:d,M=(e,t)=>{for(const n in z){const r=n;if("data"===r){if(!c(e[r],t[r])){if(!(0,l.isUndefined)(e[r]))return!1;if(!c(q,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},D=(0,r.useMemo)((()=>{const e=!!x&&!!t&&((0,l.isUndefined)(f)?!A().isPaused()&&!u&&(!!(0,l.isUndefined)(p)||p):f),n=t=>{const n=(0,l.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=R(),a=I(),o=n(r),i=r===a?o:n(a);let s=o;return[()=>{const e=n(R());return M(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>i]}),[s,x]),B=(0,a.useSyncExternalStore)((0,r.useCallback)((e=>L(x,((t,n)=>{M(n,t)||e()}))),[s,x]),D[0],D[1]),F=!k.current,j=v[x]&&v[x].length>0,V=B.data,H=(0,l.isUndefined)(V)?P:V,U=B.error,W=(0,r.useRef)(H),q=b?(0,l.isUndefined)(V)?W.current:V:H,K=!(j&&!(0,l.isUndefined)(U))&&(F&&!(0,l.isUndefined)(f)?f:!A().isPaused()&&(u?!(0,l.isUndefined)(H)&&p:(0,l.isUndefined)(H)||p)),Q=!!(x&&t&&F&&K),Z=(0,l.isUndefined)(B.isValidating)?Q:B.isValidating,Y=(0,l.isUndefined)(B.isLoading)?Q:B.isLoading,G=(0,r.useCallback)((async e=>{const t=N.current;if(!x||!t||C.current||A().isPaused())return!1;let r,a,o=!0;const i=e||{},s=!w[x]||!i.dedupe,u=()=>l.IS_REACT_LEGACY?!C.current&&x===_.current&&k.current:x===_.current,d={isValidating:!1,isLoading:!1},f=()=>{O(d)},p=()=>{const e=w[x];e&&e[1]===a&&delete w[x]},h={isValidating:!0};(0,l.isUndefined)(R().data)&&(h.isLoading=!0);try{if(s&&(O(h),n.loadingTimeout&&(0,l.isUndefined)(R().data)&&setTimeout((()=>{o&&u()&&A().onLoadingSlow(x,n)}),n.loadingTimeout),w[x]=[t(S),(0,l.getTimestamp)()]),[r,a]=w[x],r=await r,s&&setTimeout(p,n.dedupingInterval),!w[x]||w[x][1]!==a)return s&&u()&&A().onDiscarded(x),!1;d.error=l.UNDEFINED;const e=y[x];if(!(0,l.isUndefined)(e)&&(a<=e[0]||a<=e[1]||0===e[1]))return f(),s&&u()&&A().onDiscarded(x),!1;const i=R().data;d.data=c(i,r)?i:r,s&&u()&&A().onSuccess(r,x,n)}catch(e){p();const t=A(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,s&&u()&&(t.onError(e,x,t),(!0===n||(0,l.isFunction)(n)&&n(e))&&(A().revalidateOnFocus&&A().revalidateOnReconnect&&!$()||t.onErrorRetry(e,x,t,(e=>{const t=v[x];t&&t[0]&&t[0](l.revalidateEvents.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(i.retryCount||0)+1,dedupe:!0}))))}return o=!1,f(),!0}),[x,s]),X=(0,r.useCallback)(((...e)=>(0,l.internalMutate)(s,_.current,...e)),[]);if((0,l.useIsomorphicLayoutEffect)((()=>{N.current=t,T.current=n,(0,l.isUndefined)(V)||(W.current=V)})),(0,l.useIsomorphicLayoutEffect)((()=>{if(!x)return;const e=G.bind(l.UNDEFINED,i);let t=0;const n=(0,l.subscribeCallback)(x,v,((n,r={})=>{if(n==l.revalidateEvents.FOCUS_EVENT){const n=Date.now();A().revalidateOnFocus&&n>t&&$()&&(t=n+A().focusThrottleInterval,e())}else if(n==l.revalidateEvents.RECONNECT_EVENT)A().revalidateOnReconnect&&$()&&e();else{if(n==l.revalidateEvents.MUTATE_EVENT)return G();if(n==l.revalidateEvents.ERROR_REVALIDATE_EVENT)return G(r)}}));return C.current=!1,_.current=x,k.current=!0,O({_k:S}),K&&((0,l.isUndefined)(H)||l.IS_SERVER?e():(0,l.rAF)(e)),()=>{C.current=!0,n()}}),[x]),(0,l.useIsomorphicLayoutEffect)((()=>{let e;function t(){const t=(0,l.isFunction)(h)?h(R().data):h;t&&-1!==e&&(e=setTimeout(n,t))}function n(){R().error||!m&&!A().isVisible()||!g&&!A().isOnline()?t():G(i).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[h,m,g,x]),(0,r.useDebugValue)(q),u&&(0,l.isUndefined)(H)&&x){if(!l.IS_REACT_LEGACY&&l.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");N.current=t,T.current=n,C.current=!1;const e=E[x];if(!(0,l.isUndefined)(e)){const t=X(e);o(t)}if(!(0,l.isUndefined)(U))throw U;{const e=G(i);(0,l.isUndefined)(q)||(e.status="fulfilled",e.value=!0),o(e)}}return{mutate:X,get data(){return z.data=!0,q},get error(){return z.error=!0,U},get isValidating(){return z.isValidating=!0,Z},get isLoading(){return z.isLoading=!0,Y}}})))}}]);