diff --git a/react/v2/404.html b/react/v2/404.html index 8461114934..5c8efc3b94 100644 --- a/react/v2/404.html +++ b/react/v2/404.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/_next/static/7JIFpKyc-fsJX3aVDRtSM/_buildManifest.js b/react/v2/_next/static/3-pwe4a7nbQFyDJ3e8EeC/_buildManifest.js similarity index 99% rename from react/v2/_next/static/7JIFpKyc-fsJX3aVDRtSM/_buildManifest.js rename to react/v2/_next/static/3-pwe4a7nbQFyDJ3e8EeC/_buildManifest.js index 92ee7138eb..14b6bfa43b 100644 --- a/react/v2/_next/static/7JIFpKyc-fsJX3aVDRtSM/_buildManifest.js +++ b/react/v2/_next/static/3-pwe4a7nbQFyDJ3e8EeC/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,t,e,o,n,c,a,i,p,m,r,u,d,g,h,k,b,l,f){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[t,"static/chunks/pages/index-8a5b9617a99f16ce.js"],"/404":["static/chunks/pages/404-0b24b5dc75f0993b.js"],"/_error":["static/chunks/pages/_error-70f1843b45b2e935.js"],"/components":["static/chunks/pages/components-00e782b53a2f1f00.js"],"/components/accordion":["static/chunks/pages/components/accordion-21470a6fba11f408.js"],"/components/alert":[t,"static/chunks/pages/components/alert-e62256372958a71e.js"],"/components/badge":[d,"static/chunks/pages/components/badge-5592de3160bf4057.js"],"/components/box":["static/chunks/pages/components/box-c8998acef6ebe119.js"],"/components/button":["static/chunks/pages/components/button-93fb28440fca5dbe.js"],"/components/button-base":[t,"static/chunks/pages/components/button-base-395d32e5a903f3a5.js"],"/components/button-group":["static/chunks/pages/components/button-group-84802d4bb7c83d70.js"],"/components/button-link":["static/chunks/pages/components/button-link-00e87aebcd216969.js"],"/components/checkbox":["static/chunks/pages/components/checkbox-109cfb24694308b3.js"],"/components/checkbox-group":["static/chunks/pages/components/checkbox-group-949cd5b09a1fdd34.js"],"/components/code":["static/chunks/pages/components/code-7fdd9357b6590e9c.js"],"/components/color-mode":["static/chunks/pages/components/color-mode-531b033cc2339d10.js"],"/components/color-mode/dark-mode":["static/chunks/pages/components/color-mode/dark-mode-ac32ab5fe95c82f1.js"],"/components/color-mode/inverted-mode":["static/chunks/pages/components/color-mode/inverted-mode-e70aaf765c4bed31.js"],"/components/color-mode/light-mode":["static/chunks/pages/components/color-mode/light-mode-63206c5d790ea4e6.js"],"/components/color-mode/useColorMode":["static/chunks/pages/components/color-mode/useColorMode-638cab47e3f2c536.js"],"/components/color-style":[a,g,"static/chunks/pages/components/color-style-314ac7d51e901196.js"],"/components/color-style/useColorStyle":["static/chunks/pages/components/color-style/useColorStyle-58e0185a1872ac3b.js"],"/components/css-baseline":["static/chunks/pages/components/css-baseline-a2c6c60923106321.js"],"/components/date-pickers":[c,i,h,p,k,"static/chunks/pages/components/date-pickers-2ce0c1dea95dffe8.js"],"/components/date-pickers/calendar":[c,i,b,p,"static/chunks/pages/components/date-pickers/calendar-a1699014242e9486.js"],"/components/date-pickers/date-picker":[c,i,b,h,p,k,"static/chunks/pages/components/date-pickers/date-picker-e2ae17a00559ad26.js"],"/components/divider":["static/chunks/pages/components/divider-26efff47acac4d38.js"],"/components/drawer":[t,o,n,"static/chunks/pages/components/drawer-a280572b25e367d3.js"],"/components/flex":["static/chunks/pages/components/flex-9e6a90219a994f58.js"],"/components/grid":["static/chunks/pages/components/grid-92ce360be802a34d.js"],"/components/icon":["static/chunks/pages/components/icon-2996d2632b6292e6.js"],"/components/image":["static/chunks/pages/components/image-3850be90efa7eba8.js"],"/components/input":["static/chunks/pages/components/input-a9a7d1051e857272.js"],"/components/input-base":["static/chunks/pages/components/input-base-9d4349a7ec23e393.js"],"/components/input-control":["static/chunks/pages/components/input-control-d08f6baa40359e84.js"],"/components/input-group":["static/chunks/pages/components/input-group-532bbfe9b0c09a73.js"],"/components/link":["static/chunks/pages/components/link-7cf5c2c5d1c36719.js"],"/components/link-button":["static/chunks/pages/components/link-button-344fbc7a4c75fb29.js"],"/components/menu":[s,m,l,"static/chunks/pages/components/menu-500f53f18f0ed24c.js"],"/components/modal":[t,n,"static/chunks/pages/components/modal-11fb7a0bfbb1bd5d.js"],"/components/overflow-tooltip":[s,"static/chunks/pages/components/overflow-tooltip-8b42db45504cfdcd.js"],"/components/pagination":["static/chunks/pages/components/pagination-6e0c5af98185f534.js"],"/components/pagination/usePagination":["static/chunks/pages/components/pagination/usePagination-af5245e93430c4fb.js"],"/components/popover":[s,m,"static/chunks/pages/components/popover-3e6694e7a436aeec.js"],"/components/portal":["static/chunks/pages/components/portal-f07d40062aebbc00.js"],"/components/portal-manager":["static/chunks/pages/components/portal-manager-1f196666bea98e14.js"],"/components/portal-manager/usePortalManager":["static/chunks/pages/components/portal-manager/usePortalManager-ddb9023d3b715992.js"],"/components/progress":["static/chunks/pages/components/progress-793fd1177a4ad142.js"],"/components/radio":["static/chunks/pages/components/radio-f2560e66fca69e01.js"],"/components/radio-group":["static/chunks/pages/components/radio-group-7c0aeaf8d60d377c.js"],"/components/resize-handle":["static/chunks/pages/components/resize-handle-0a6f1a41a3d1d0d8.js"],"/components/scrollbar":["static/chunks/5414-b04bf2279187670a.js",s,e,"static/chunks/pages/components/scrollbar-04414310be8c953c.js"],"/components/search-input":["static/chunks/pages/components/search-input-2c6f9a7a26a7246b.js"],"/components/select":["static/chunks/pages/components/select-e95a0ba5e84ccd17.js"],"/components/skeleton":["static/chunks/pages/components/skeleton-f7387a2619eee2d3.js"],"/components/space":["static/chunks/pages/components/space-23aef7af5272165a.js"],"/components/spinner":["static/chunks/pages/components/spinner-8eb44ddc7240c59d.js"],"/components/stack":["static/chunks/pages/components/stack-d68882d366618aa5.js"],"/components/svg-icon":["static/chunks/pages/components/svg-icon-2219c566485b2fe6.js"],"/components/switch":["static/chunks/pages/components/switch-2af17d954a1e5798.js"],"/components/table":[r,a,"static/chunks/7326-2c61be2225f9acc5.js",s,o,u,"static/chunks/pages/components/table-4ad044566fe637a3.js"],"/components/tabs":["static/chunks/1cc2734a-523c5a886698be94.js",f,"static/chunks/7641-cd82f85a940255e7.js",n,"static/chunks/pages/components/tabs-c0474fa285c17be1.js"],"/components/tag":["static/chunks/pages/components/tag-2bef26f7b849ce4a.js"],"/components/text":[n,"static/chunks/pages/components/text-66d2da597435d729.js"],"/components/text-label":["static/chunks/pages/components/text-label-942c0f43e1cd120b.js"],"/components/textarea":["static/chunks/pages/components/textarea-be01dd447df78a41.js"],"/components/toast":[o,"static/chunks/pages/components/toast-d24b08b72a78c098.js"],"/components/toast-manager":["static/chunks/pages/components/toast-manager-46e441a344c4334e.js"],"/components/toast-manager/useToastManager":["static/chunks/pages/components/toast-manager/useToastManager-dc444460dd2cee7c.js"],"/components/tooltip":[s,"static/chunks/pages/components/tooltip-0e591e130b345e06.js"],"/components/transitions":["static/chunks/pages/components/transitions-1cf2cf773345c3ff.js"],"/components/transitions/collapse":[e,"static/chunks/pages/components/transitions/collapse-a0ad619f8afa2fc4.js"],"/components/transitions/fade":[e,"static/chunks/pages/components/transitions/fade-057a843847da8397.js"],"/components/transitions/grow":[e,"static/chunks/pages/components/transitions/grow-cd2409b75adc0bfb.js"],"/components/transitions/scale":[e,"static/chunks/pages/components/transitions/scale-18ef964a3bf1f47b.js"],"/components/transitions/slide":[e,"static/chunks/pages/components/transitions/slide-384cf066f6bc68e4.js"],"/components/transitions/zoom":[e,"static/chunks/pages/components/transitions/zoom-a8aa7b36890f9f44.js"],"/components/tree":[r,f,"static/chunks/9293-f15268b2ecc2147f.js",s,u,"static/chunks/pages/components/tree-b5160103d76f2f28.js"],"/components/truncate":["static/chunks/pages/components/truncate-e01f026fd8aa272e.js"],"/components/visually-hidden":["static/chunks/pages/components/visually-hidden-7a68e67426051ed1.js"],"/contributing":["static/chunks/pages/contributing-08411a5baedf3e62.js"],"/contributing/publishing":["static/chunks/pages/contributing/publishing-81cca8b6a007d355.js"],"/contributing/pull-request-review":["static/chunks/pages/contributing/pull-request-review-4d2eba0a2a64bca8.js"],"/contributing/react-components-part-1":["static/chunks/pages/contributing/react-components-part-1-f5197f95fd813c64.js"],"/contributing/react-components-part-2":["static/chunks/pages/contributing/react-components-part-2-2bab96357830e8ed.js"],"/contributing/react-documentation-site":["static/chunks/pages/contributing/react-documentation-site-372535cdc66f9cdd.js"],"/contributing/react-icons":["static/chunks/pages/contributing/react-icons-3559eb5fbf6ad283.js"],"/customization/content-security-policy":["static/chunks/pages/customization/content-security-policy-ef65efa369d9d11c.js"],"/customization/css-theme-variables":["static/chunks/pages/customization/css-theme-variables-c47c40c5d112c4f8.js"],"/customization/shadow-dom":[o,"static/chunks/pages/customization/shadow-dom-b420bac3ffc97bbf.js"],"/getting-started":["static/chunks/pages/getting-started-cdef5c656215c100.js"],"/getting-started/color-mode":["static/chunks/pages/getting-started/color-mode-d9d2ea2167007aee.js"],"/getting-started/color-style":[a,g,"static/chunks/pages/getting-started/color-style-811393aa9c4c7280.js"],"/getting-started/icons":["static/chunks/pages/getting-started/icons-28b5876a74dfc51c.js"],"/getting-started/installation":["static/chunks/pages/getting-started/installation-cf3ea07ef32faf17.js"],"/getting-started/the-sx-prop":["static/chunks/pages/getting-started/the-sx-prop-2c96430b765e8377.js"],"/getting-started/usage":["static/chunks/pages/getting-started/usage-978bc76ec93f0302.js"],"/getting-started/versions":["static/chunks/pages/getting-started/versions-28dc0aabe81c7ed8.js"],"/hooks":["static/chunks/pages/hooks-45220736e0763f8e.js"],"/hooks/useConst":["static/chunks/pages/hooks/useConst-765bd0be3f385dfb.js"],"/hooks/useCopyToClipboard":["static/chunks/pages/hooks/useCopyToClipboard-caf446fd9f479fac.js"],"/hooks/useEffectOnce":["static/chunks/pages/hooks/useEffectOnce-2a9fe296885cd026.js"],"/hooks/useEffectOnceWhen":["static/chunks/pages/hooks/useEffectOnceWhen-a3c55ba6d8bb8b1b.js"],"/hooks/useEventCallback":["static/chunks/pages/hooks/useEventCallback-9f8d3a68b36ece73.js"],"/hooks/useEventListener":["static/chunks/pages/hooks/useEventListener-70f54bb944ab4f4b.js"],"/hooks/useHydrated":["static/chunks/pages/hooks/useHydrated-ee102f5939ca936a.js"],"/hooks/useIsomorphicEffect":["static/chunks/pages/hooks/useIsomorphicEffect-678ca04bffadfdd3.js"],"/hooks/useLatestRef":["static/chunks/pages/hooks/useLatestRef-5aacdadc9f0b91e0.js"],"/hooks/useMediaQuery":["static/chunks/pages/hooks/useMediaQuery-1868a24212f880f3.js"],"/hooks/useMergeRefs":["static/chunks/pages/hooks/useMergeRefs-0234350d739130f0.js"],"/hooks/useOnce":["static/chunks/pages/hooks/useOnce-117718051b54d7de.js"],"/hooks/useOnceWhen":["static/chunks/pages/hooks/useOnceWhen-7a01a873d703b211.js"],"/hooks/useOutsideClick":["static/chunks/pages/hooks/useOutsideClick-d0778c969242ea6c.js"],"/hooks/usePrevious":["static/chunks/pages/hooks/usePrevious-41093df406eee8d0.js"],"/hooks/useToggle":["static/chunks/pages/hooks/useToggle-10a14d5890a17e07.js"],"/icons":[t,d,"static/chunks/pages/icons-0b6727d547100139.js"],"/icons/svg-icon":["static/chunks/pages/icons/svg-icon-4990ad0f03cfaf17.js"],"/migrations":["static/chunks/pages/migrations-5f8eaec3046cdab7.js"],"/migrations/migrating-from-v0-to-v1":["static/chunks/pages/migrations/migrating-from-v0-to-v1-bb8336f558b3ccfa.js"],"/migrations/migrating-from-v1-to-v2":["static/chunks/pages/migrations/migrating-from-v1-to-v2-06b6d912e50a1619.js"],"/patterns":["static/chunks/pages/patterns-148a2b8ec6c46af3.js"],"/patterns/notification":[c,"static/chunks/6314-ddc4e0b5b6964ea0.js",s,t,o,n,"static/chunks/pages/patterns/notification-b22521b7ccbc03ab.js"],"/patterns/table-display":[r,s,m,u,l,"static/chunks/pages/patterns/table-display-cec64208333b2852.js"],"/playground":["static/chunks/pages/playground-9cf70e22274a3732.js"],"/playground/othello":["static/chunks/pages/playground/othello-5c5a1ee9b76e6b84.js"],"/styled-system":["static/chunks/pages/styled-system-805e273f6ceb4303.js"],"/styled-system/pseudo-style-props":["static/chunks/pages/styled-system/pseudo-style-props-b986e5bd6e653a45.js"],"/styled-system/responsive-values":["static/chunks/pages/styled-system/responsive-values-2204b04b3d14c3b0.js"],"/styled-system/style-props":["static/chunks/pages/styled-system/style-props-3c37492f523a1309.js"],"/theme":["static/chunks/pages/theme-cf0c9961dd9cd297.js"],"/theme/borders":["static/chunks/pages/theme/borders-9dbeb730b368cef5.js"],"/theme/breakpoints":["static/chunks/pages/theme/breakpoints-3b7e1e426f1725fd.js"],"/theme/colors":["static/chunks/pages/theme/colors-452933fbad5f55a0.js"],"/theme/font-sizes":["static/chunks/pages/theme/font-sizes-aa3142b2c7e721e3.js"],"/theme/font-weights":["static/chunks/pages/theme/font-weights-b62619ba690ac506.js"],"/theme/fonts":["static/chunks/pages/theme/fonts-e4973f3b3672f725.js"],"/theme/letter-spacings":["static/chunks/pages/theme/letter-spacings-fe35220bfc788612.js"],"/theme/line-heights":["static/chunks/pages/theme/line-heights-1544a766aa0d7437.js"],"/theme/outlines":["static/chunks/pages/theme/outlines-7cc7d3c0041c2709.js"],"/theme/radii":["static/chunks/pages/theme/radii-8bd5a5ebeed911cb.js"],"/theme/shadows":["static/chunks/pages/theme/shadows-ed725f2f021a4eb8.js"],"/theme/sizes":["static/chunks/pages/theme/sizes-9e81cc7508046101.js"],"/theme/space":["static/chunks/pages/theme/space-957084aaff7360c9.js"],"/theme/z-indices":["static/chunks/pages/theme/z-indices-9986391178874e6a.js"],sortedPages:["/","/404","/_app","/_error","/components","/components/accordion","/components/alert","/components/badge","/components/box","/components/button","/components/button-base","/components/button-group","/components/button-link","/components/checkbox","/components/checkbox-group","/components/code","/components/color-mode","/components/color-mode/dark-mode","/components/color-mode/inverted-mode","/components/color-mode/light-mode","/components/color-mode/useColorMode","/components/color-style","/components/color-style/useColorStyle","/components/css-baseline","/components/date-pickers","/components/date-pickers/calendar","/components/date-pickers/date-picker","/components/divider","/components/drawer","/components/flex","/components/grid","/components/icon","/components/image","/components/input","/components/input-base","/components/input-control","/components/input-group","/components/link","/components/link-button","/components/menu","/components/modal","/components/overflow-tooltip","/components/pagination","/components/pagination/usePagination","/components/popover","/components/portal","/components/portal-manager","/components/portal-manager/usePortalManager","/components/progress","/components/radio","/components/radio-group","/components/resize-handle","/components/scrollbar","/components/search-input","/components/select","/components/skeleton","/components/space","/components/spinner","/components/stack","/components/svg-icon","/components/switch","/components/table","/components/tabs","/components/tag","/components/text","/components/text-label","/components/textarea","/components/toast","/components/toast-manager","/components/toast-manager/useToastManager","/components/tooltip","/components/transitions","/components/transitions/collapse","/components/transitions/fade","/components/transitions/grow","/components/transitions/scale","/components/transitions/slide","/components/transitions/zoom","/components/tree","/components/truncate","/components/visually-hidden","/contributing","/contributing/publishing","/contributing/pull-request-review","/contributing/react-components-part-1","/contributing/react-components-part-2","/contributing/react-documentation-site","/contributing/react-icons","/customization/content-security-policy","/customization/css-theme-variables","/customization/shadow-dom","/getting-started","/getting-started/color-mode","/getting-started/color-style","/getting-started/icons","/getting-started/installation","/getting-started/the-sx-prop","/getting-started/usage","/getting-started/versions","/hooks","/hooks/useConst","/hooks/useCopyToClipboard","/hooks/useEffectOnce","/hooks/useEffectOnceWhen","/hooks/useEventCallback","/hooks/useEventListener","/hooks/useHydrated","/hooks/useIsomorphicEffect","/hooks/useLatestRef","/hooks/useMediaQuery","/hooks/useMergeRefs","/hooks/useOnce","/hooks/useOnceWhen","/hooks/useOutsideClick","/hooks/usePrevious","/hooks/useToggle","/icons","/icons/svg-icon","/migrations","/migrations/migrating-from-v0-to-v1","/migrations/migrating-from-v1-to-v2","/patterns","/patterns/notification","/patterns/table-display","/playground","/playground/othello","/styled-system","/styled-system/pseudo-style-props","/styled-system/responsive-values","/styled-system/style-props","/theme","/theme/borders","/theme/breakpoints","/theme/colors","/theme/font-sizes","/theme/font-weights","/theme/fonts","/theme/letter-spacings","/theme/line-heights","/theme/outlines","/theme/radii","/theme/shadows","/theme/sizes","/theme/space","/theme/z-indices"]}}("static/chunks/3823-52c705f1e46da59d.js","static/chunks/9860-78f03667ad77447d.js","static/chunks/5936-00f36334a200d8d5.js","static/chunks/3732-8c0c9ccdb0a83fce.js","static/chunks/1096-2998516ce538165c.js","static/chunks/2885-5ae4f9b42dce21a7.js","static/chunks/1630-2e46e2811276207a.js","static/chunks/6441-3d027df4e2490f7a.js","static/chunks/2046-9d61ff4a2ba8d937.js","static/chunks/7283-de54b7272cf103f5.js","static/chunks/5220-cd4c3ad0764750f4.js","static/chunks/6120-c1e3279c19b465b6.js","static/chunks/8429-baf4d6f9aa15b322.js","static/chunks/100-3a593f832c910963.js","static/chunks/4791-5b920d11f6acba4f.js","static/chunks/4739-2f9b2d0b0facbbe3.js","static/chunks/4960-c3b7a9c38255bbc8.js","static/chunks/9926-5e0ae6b687bdbef7.js","static/chunks/8726-814eb336c1beaadd.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,t,e,o,n,c,a,i,p,m,r,u,d,g,h,k,b,l,f){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[t,"static/chunks/pages/index-8a5b9617a99f16ce.js"],"/404":["static/chunks/pages/404-0b24b5dc75f0993b.js"],"/_error":["static/chunks/pages/_error-70f1843b45b2e935.js"],"/components":["static/chunks/pages/components-00e782b53a2f1f00.js"],"/components/accordion":["static/chunks/pages/components/accordion-21470a6fba11f408.js"],"/components/alert":[t,"static/chunks/pages/components/alert-e62256372958a71e.js"],"/components/badge":[d,"static/chunks/pages/components/badge-5592de3160bf4057.js"],"/components/box":["static/chunks/pages/components/box-c8998acef6ebe119.js"],"/components/button":["static/chunks/pages/components/button-93fb28440fca5dbe.js"],"/components/button-base":[t,"static/chunks/pages/components/button-base-395d32e5a903f3a5.js"],"/components/button-group":["static/chunks/pages/components/button-group-84802d4bb7c83d70.js"],"/components/button-link":["static/chunks/pages/components/button-link-00e87aebcd216969.js"],"/components/checkbox":["static/chunks/pages/components/checkbox-109cfb24694308b3.js"],"/components/checkbox-group":["static/chunks/pages/components/checkbox-group-949cd5b09a1fdd34.js"],"/components/code":["static/chunks/pages/components/code-7fdd9357b6590e9c.js"],"/components/color-mode":["static/chunks/pages/components/color-mode-531b033cc2339d10.js"],"/components/color-mode/dark-mode":["static/chunks/pages/components/color-mode/dark-mode-ac32ab5fe95c82f1.js"],"/components/color-mode/inverted-mode":["static/chunks/pages/components/color-mode/inverted-mode-e70aaf765c4bed31.js"],"/components/color-mode/light-mode":["static/chunks/pages/components/color-mode/light-mode-63206c5d790ea4e6.js"],"/components/color-mode/useColorMode":["static/chunks/pages/components/color-mode/useColorMode-638cab47e3f2c536.js"],"/components/color-style":[a,g,"static/chunks/pages/components/color-style-314ac7d51e901196.js"],"/components/color-style/useColorStyle":["static/chunks/pages/components/color-style/useColorStyle-58e0185a1872ac3b.js"],"/components/css-baseline":["static/chunks/pages/components/css-baseline-a2c6c60923106321.js"],"/components/date-pickers":[c,i,h,p,k,"static/chunks/pages/components/date-pickers-2ce0c1dea95dffe8.js"],"/components/date-pickers/calendar":[c,i,b,p,"static/chunks/pages/components/date-pickers/calendar-a1699014242e9486.js"],"/components/date-pickers/date-picker":[c,i,b,h,p,k,"static/chunks/pages/components/date-pickers/date-picker-e2ae17a00559ad26.js"],"/components/divider":["static/chunks/pages/components/divider-26efff47acac4d38.js"],"/components/drawer":[t,o,n,"static/chunks/pages/components/drawer-a280572b25e367d3.js"],"/components/flex":["static/chunks/pages/components/flex-9e6a90219a994f58.js"],"/components/grid":["static/chunks/pages/components/grid-92ce360be802a34d.js"],"/components/icon":["static/chunks/pages/components/icon-2996d2632b6292e6.js"],"/components/image":["static/chunks/pages/components/image-3850be90efa7eba8.js"],"/components/input":["static/chunks/pages/components/input-a9a7d1051e857272.js"],"/components/input-base":["static/chunks/pages/components/input-base-9d4349a7ec23e393.js"],"/components/input-control":["static/chunks/pages/components/input-control-d08f6baa40359e84.js"],"/components/input-group":["static/chunks/pages/components/input-group-532bbfe9b0c09a73.js"],"/components/link":["static/chunks/pages/components/link-7cf5c2c5d1c36719.js"],"/components/link-button":["static/chunks/pages/components/link-button-344fbc7a4c75fb29.js"],"/components/menu":[s,m,l,"static/chunks/pages/components/menu-500f53f18f0ed24c.js"],"/components/modal":[t,n,"static/chunks/pages/components/modal-11fb7a0bfbb1bd5d.js"],"/components/overflow-tooltip":[s,"static/chunks/pages/components/overflow-tooltip-8b42db45504cfdcd.js"],"/components/pagination":["static/chunks/pages/components/pagination-6e0c5af98185f534.js"],"/components/pagination/usePagination":["static/chunks/pages/components/pagination/usePagination-af5245e93430c4fb.js"],"/components/popover":[s,m,"static/chunks/pages/components/popover-3e6694e7a436aeec.js"],"/components/portal":["static/chunks/pages/components/portal-f07d40062aebbc00.js"],"/components/portal-manager":["static/chunks/pages/components/portal-manager-1f196666bea98e14.js"],"/components/portal-manager/usePortalManager":["static/chunks/pages/components/portal-manager/usePortalManager-ddb9023d3b715992.js"],"/components/progress":["static/chunks/pages/components/progress-793fd1177a4ad142.js"],"/components/radio":["static/chunks/pages/components/radio-f2560e66fca69e01.js"],"/components/radio-group":["static/chunks/pages/components/radio-group-7c0aeaf8d60d377c.js"],"/components/resize-handle":["static/chunks/pages/components/resize-handle-0a6f1a41a3d1d0d8.js"],"/components/scrollbar":["static/chunks/5414-b04bf2279187670a.js",s,e,"static/chunks/pages/components/scrollbar-04414310be8c953c.js"],"/components/search-input":["static/chunks/pages/components/search-input-2c6f9a7a26a7246b.js"],"/components/select":["static/chunks/pages/components/select-e95a0ba5e84ccd17.js"],"/components/skeleton":["static/chunks/pages/components/skeleton-f7387a2619eee2d3.js"],"/components/space":["static/chunks/pages/components/space-23aef7af5272165a.js"],"/components/spinner":["static/chunks/pages/components/spinner-8eb44ddc7240c59d.js"],"/components/stack":["static/chunks/pages/components/stack-d68882d366618aa5.js"],"/components/svg-icon":["static/chunks/pages/components/svg-icon-2219c566485b2fe6.js"],"/components/switch":["static/chunks/pages/components/switch-2af17d954a1e5798.js"],"/components/table":[r,a,"static/chunks/7326-2c61be2225f9acc5.js",s,o,u,"static/chunks/pages/components/table-4ad044566fe637a3.js"],"/components/tabs":["static/chunks/1cc2734a-523c5a886698be94.js",f,"static/chunks/7641-cd82f85a940255e7.js",n,"static/chunks/pages/components/tabs-c0474fa285c17be1.js"],"/components/tag":["static/chunks/pages/components/tag-2bef26f7b849ce4a.js"],"/components/text":[n,"static/chunks/pages/components/text-66d2da597435d729.js"],"/components/text-label":["static/chunks/pages/components/text-label-942c0f43e1cd120b.js"],"/components/textarea":["static/chunks/pages/components/textarea-be01dd447df78a41.js"],"/components/toast":[o,"static/chunks/pages/components/toast-d24b08b72a78c098.js"],"/components/toast-manager":["static/chunks/pages/components/toast-manager-46e441a344c4334e.js"],"/components/toast-manager/useToastManager":["static/chunks/pages/components/toast-manager/useToastManager-dc444460dd2cee7c.js"],"/components/tooltip":[s,"static/chunks/pages/components/tooltip-0e591e130b345e06.js"],"/components/transitions":["static/chunks/pages/components/transitions-1cf2cf773345c3ff.js"],"/components/transitions/collapse":[e,"static/chunks/pages/components/transitions/collapse-a0ad619f8afa2fc4.js"],"/components/transitions/fade":[e,"static/chunks/pages/components/transitions/fade-057a843847da8397.js"],"/components/transitions/grow":[e,"static/chunks/pages/components/transitions/grow-cd2409b75adc0bfb.js"],"/components/transitions/scale":[e,"static/chunks/pages/components/transitions/scale-18ef964a3bf1f47b.js"],"/components/transitions/slide":[e,"static/chunks/pages/components/transitions/slide-384cf066f6bc68e4.js"],"/components/transitions/zoom":[e,"static/chunks/pages/components/transitions/zoom-a8aa7b36890f9f44.js"],"/components/tree":[r,f,"static/chunks/9293-f15268b2ecc2147f.js",s,u,"static/chunks/pages/components/tree-b5160103d76f2f28.js"],"/components/truncate":["static/chunks/pages/components/truncate-e01f026fd8aa272e.js"],"/components/visually-hidden":["static/chunks/pages/components/visually-hidden-7a68e67426051ed1.js"],"/contributing":["static/chunks/pages/contributing-08411a5baedf3e62.js"],"/contributing/publishing":["static/chunks/pages/contributing/publishing-81cca8b6a007d355.js"],"/contributing/pull-request-review":["static/chunks/pages/contributing/pull-request-review-4d2eba0a2a64bca8.js"],"/contributing/react-components-part-1":["static/chunks/pages/contributing/react-components-part-1-f5197f95fd813c64.js"],"/contributing/react-components-part-2":["static/chunks/pages/contributing/react-components-part-2-2bab96357830e8ed.js"],"/contributing/react-documentation-site":["static/chunks/pages/contributing/react-documentation-site-372535cdc66f9cdd.js"],"/contributing/react-icons":["static/chunks/pages/contributing/react-icons-3559eb5fbf6ad283.js"],"/customization/content-security-policy":["static/chunks/pages/customization/content-security-policy-ef65efa369d9d11c.js"],"/customization/css-theme-variables":["static/chunks/pages/customization/css-theme-variables-c47c40c5d112c4f8.js"],"/customization/shadow-dom":[o,"static/chunks/pages/customization/shadow-dom-2ed4618b1ee697a0.js"],"/getting-started":["static/chunks/pages/getting-started-cdef5c656215c100.js"],"/getting-started/color-mode":["static/chunks/pages/getting-started/color-mode-d9d2ea2167007aee.js"],"/getting-started/color-style":[a,g,"static/chunks/pages/getting-started/color-style-811393aa9c4c7280.js"],"/getting-started/icons":["static/chunks/pages/getting-started/icons-28b5876a74dfc51c.js"],"/getting-started/installation":["static/chunks/pages/getting-started/installation-cf3ea07ef32faf17.js"],"/getting-started/the-sx-prop":["static/chunks/pages/getting-started/the-sx-prop-2c96430b765e8377.js"],"/getting-started/usage":["static/chunks/pages/getting-started/usage-978bc76ec93f0302.js"],"/getting-started/versions":["static/chunks/pages/getting-started/versions-28dc0aabe81c7ed8.js"],"/hooks":["static/chunks/pages/hooks-45220736e0763f8e.js"],"/hooks/useConst":["static/chunks/pages/hooks/useConst-765bd0be3f385dfb.js"],"/hooks/useCopyToClipboard":["static/chunks/pages/hooks/useCopyToClipboard-caf446fd9f479fac.js"],"/hooks/useEffectOnce":["static/chunks/pages/hooks/useEffectOnce-2a9fe296885cd026.js"],"/hooks/useEffectOnceWhen":["static/chunks/pages/hooks/useEffectOnceWhen-a3c55ba6d8bb8b1b.js"],"/hooks/useEventCallback":["static/chunks/pages/hooks/useEventCallback-9f8d3a68b36ece73.js"],"/hooks/useEventListener":["static/chunks/pages/hooks/useEventListener-70f54bb944ab4f4b.js"],"/hooks/useHydrated":["static/chunks/pages/hooks/useHydrated-ee102f5939ca936a.js"],"/hooks/useIsomorphicEffect":["static/chunks/pages/hooks/useIsomorphicEffect-678ca04bffadfdd3.js"],"/hooks/useLatestRef":["static/chunks/pages/hooks/useLatestRef-5aacdadc9f0b91e0.js"],"/hooks/useMediaQuery":["static/chunks/pages/hooks/useMediaQuery-1868a24212f880f3.js"],"/hooks/useMergeRefs":["static/chunks/pages/hooks/useMergeRefs-0234350d739130f0.js"],"/hooks/useOnce":["static/chunks/pages/hooks/useOnce-117718051b54d7de.js"],"/hooks/useOnceWhen":["static/chunks/pages/hooks/useOnceWhen-7a01a873d703b211.js"],"/hooks/useOutsideClick":["static/chunks/pages/hooks/useOutsideClick-d0778c969242ea6c.js"],"/hooks/usePrevious":["static/chunks/pages/hooks/usePrevious-41093df406eee8d0.js"],"/hooks/useToggle":["static/chunks/pages/hooks/useToggle-10a14d5890a17e07.js"],"/icons":[t,d,"static/chunks/pages/icons-0b6727d547100139.js"],"/icons/svg-icon":["static/chunks/pages/icons/svg-icon-4990ad0f03cfaf17.js"],"/migrations":["static/chunks/pages/migrations-5f8eaec3046cdab7.js"],"/migrations/migrating-from-v0-to-v1":["static/chunks/pages/migrations/migrating-from-v0-to-v1-bb8336f558b3ccfa.js"],"/migrations/migrating-from-v1-to-v2":["static/chunks/pages/migrations/migrating-from-v1-to-v2-06b6d912e50a1619.js"],"/patterns":["static/chunks/pages/patterns-148a2b8ec6c46af3.js"],"/patterns/notification":[c,"static/chunks/6314-ddc4e0b5b6964ea0.js",s,t,o,n,"static/chunks/pages/patterns/notification-b22521b7ccbc03ab.js"],"/patterns/table-display":[r,s,m,u,l,"static/chunks/pages/patterns/table-display-cec64208333b2852.js"],"/playground":["static/chunks/pages/playground-9cf70e22274a3732.js"],"/playground/othello":["static/chunks/pages/playground/othello-5c5a1ee9b76e6b84.js"],"/styled-system":["static/chunks/pages/styled-system-805e273f6ceb4303.js"],"/styled-system/pseudo-style-props":["static/chunks/pages/styled-system/pseudo-style-props-b986e5bd6e653a45.js"],"/styled-system/responsive-values":["static/chunks/pages/styled-system/responsive-values-2204b04b3d14c3b0.js"],"/styled-system/style-props":["static/chunks/pages/styled-system/style-props-3c37492f523a1309.js"],"/theme":["static/chunks/pages/theme-cf0c9961dd9cd297.js"],"/theme/borders":["static/chunks/pages/theme/borders-9dbeb730b368cef5.js"],"/theme/breakpoints":["static/chunks/pages/theme/breakpoints-3b7e1e426f1725fd.js"],"/theme/colors":["static/chunks/pages/theme/colors-452933fbad5f55a0.js"],"/theme/font-sizes":["static/chunks/pages/theme/font-sizes-aa3142b2c7e721e3.js"],"/theme/font-weights":["static/chunks/pages/theme/font-weights-b62619ba690ac506.js"],"/theme/fonts":["static/chunks/pages/theme/fonts-e4973f3b3672f725.js"],"/theme/letter-spacings":["static/chunks/pages/theme/letter-spacings-fe35220bfc788612.js"],"/theme/line-heights":["static/chunks/pages/theme/line-heights-1544a766aa0d7437.js"],"/theme/outlines":["static/chunks/pages/theme/outlines-7cc7d3c0041c2709.js"],"/theme/radii":["static/chunks/pages/theme/radii-8bd5a5ebeed911cb.js"],"/theme/shadows":["static/chunks/pages/theme/shadows-ed725f2f021a4eb8.js"],"/theme/sizes":["static/chunks/pages/theme/sizes-9e81cc7508046101.js"],"/theme/space":["static/chunks/pages/theme/space-957084aaff7360c9.js"],"/theme/z-indices":["static/chunks/pages/theme/z-indices-9986391178874e6a.js"],sortedPages:["/","/404","/_app","/_error","/components","/components/accordion","/components/alert","/components/badge","/components/box","/components/button","/components/button-base","/components/button-group","/components/button-link","/components/checkbox","/components/checkbox-group","/components/code","/components/color-mode","/components/color-mode/dark-mode","/components/color-mode/inverted-mode","/components/color-mode/light-mode","/components/color-mode/useColorMode","/components/color-style","/components/color-style/useColorStyle","/components/css-baseline","/components/date-pickers","/components/date-pickers/calendar","/components/date-pickers/date-picker","/components/divider","/components/drawer","/components/flex","/components/grid","/components/icon","/components/image","/components/input","/components/input-base","/components/input-control","/components/input-group","/components/link","/components/link-button","/components/menu","/components/modal","/components/overflow-tooltip","/components/pagination","/components/pagination/usePagination","/components/popover","/components/portal","/components/portal-manager","/components/portal-manager/usePortalManager","/components/progress","/components/radio","/components/radio-group","/components/resize-handle","/components/scrollbar","/components/search-input","/components/select","/components/skeleton","/components/space","/components/spinner","/components/stack","/components/svg-icon","/components/switch","/components/table","/components/tabs","/components/tag","/components/text","/components/text-label","/components/textarea","/components/toast","/components/toast-manager","/components/toast-manager/useToastManager","/components/tooltip","/components/transitions","/components/transitions/collapse","/components/transitions/fade","/components/transitions/grow","/components/transitions/scale","/components/transitions/slide","/components/transitions/zoom","/components/tree","/components/truncate","/components/visually-hidden","/contributing","/contributing/publishing","/contributing/pull-request-review","/contributing/react-components-part-1","/contributing/react-components-part-2","/contributing/react-documentation-site","/contributing/react-icons","/customization/content-security-policy","/customization/css-theme-variables","/customization/shadow-dom","/getting-started","/getting-started/color-mode","/getting-started/color-style","/getting-started/icons","/getting-started/installation","/getting-started/the-sx-prop","/getting-started/usage","/getting-started/versions","/hooks","/hooks/useConst","/hooks/useCopyToClipboard","/hooks/useEffectOnce","/hooks/useEffectOnceWhen","/hooks/useEventCallback","/hooks/useEventListener","/hooks/useHydrated","/hooks/useIsomorphicEffect","/hooks/useLatestRef","/hooks/useMediaQuery","/hooks/useMergeRefs","/hooks/useOnce","/hooks/useOnceWhen","/hooks/useOutsideClick","/hooks/usePrevious","/hooks/useToggle","/icons","/icons/svg-icon","/migrations","/migrations/migrating-from-v0-to-v1","/migrations/migrating-from-v1-to-v2","/patterns","/patterns/notification","/patterns/table-display","/playground","/playground/othello","/styled-system","/styled-system/pseudo-style-props","/styled-system/responsive-values","/styled-system/style-props","/theme","/theme/borders","/theme/breakpoints","/theme/colors","/theme/font-sizes","/theme/font-weights","/theme/fonts","/theme/letter-spacings","/theme/line-heights","/theme/outlines","/theme/radii","/theme/shadows","/theme/sizes","/theme/space","/theme/z-indices"]}}("static/chunks/3823-52c705f1e46da59d.js","static/chunks/9860-78f03667ad77447d.js","static/chunks/5936-00f36334a200d8d5.js","static/chunks/3732-8c0c9ccdb0a83fce.js","static/chunks/1096-2998516ce538165c.js","static/chunks/2885-5ae4f9b42dce21a7.js","static/chunks/1630-2e46e2811276207a.js","static/chunks/6441-3d027df4e2490f7a.js","static/chunks/2046-9d61ff4a2ba8d937.js","static/chunks/7283-de54b7272cf103f5.js","static/chunks/5220-cd4c3ad0764750f4.js","static/chunks/6120-c1e3279c19b465b6.js","static/chunks/8429-baf4d6f9aa15b322.js","static/chunks/100-3a593f832c910963.js","static/chunks/4791-5b920d11f6acba4f.js","static/chunks/4739-2f9b2d0b0facbbe3.js","static/chunks/4960-c3b7a9c38255bbc8.js","static/chunks/9926-5e0ae6b687bdbef7.js","static/chunks/8726-814eb336c1beaadd.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/react/v2/_next/static/7JIFpKyc-fsJX3aVDRtSM/_ssgManifest.js b/react/v2/_next/static/3-pwe4a7nbQFyDJ3e8EeC/_ssgManifest.js similarity index 100% rename from react/v2/_next/static/7JIFpKyc-fsJX3aVDRtSM/_ssgManifest.js rename to react/v2/_next/static/3-pwe4a7nbQFyDJ3e8EeC/_ssgManifest.js diff --git a/react/v2/_next/static/chunks/pages/_app-7403002c17ddcc99.js b/react/v2/_next/static/chunks/pages/_app-b11d465f2df5c5b0.js similarity index 99% rename from react/v2/_next/static/chunks/pages/_app-7403002c17ddcc99.js rename to react/v2/_next/static/chunks/pages/_app-b11d465f2df5c5b0.js index 1868dc6d5b..a8b11eed91 100644 --- a/react/v2/_next/static/chunks/pages/_app-7403002c17ddcc99.js +++ b/react/v2/_next/static/chunks/pages/_app-b11d465f2df5c5b0.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888,7911],{15312:function(e){function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function r(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,o,i,a,s,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||r(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(void 0===(o=this._events[e]))return!1;if(n(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),o.apply(this,a)}else if(r(o))for(s=0,a=Array.prototype.slice.call(arguments,1),i=(c=o.slice()).length;s0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(e,o),r||(r=!0,t.apply(this,arguments))}return o.listener=t,this.on(e,o),this},t.prototype.removeListener=function(e,t){var o,i,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(o=this._events[e]).length,i=-1,o===t||n(o.listener)&&o.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(r(o)){for(s=a;s-- >0;)if(o[s]===t||o[s].listener&&o[s].listener===t){i=s;break}if(i<0)return this;1===o.length?(o.length=0,delete this._events[e]):o.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},2107:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?m[x]+" "+w:s(w,/&\f/g,m[x])).trim())&&(f[k++]=_);return b(e,t,n,0===i?A:u,f,p,d)}function F(e,t,n,r){return b(e,t,n,R,l(e,0,r),l(e,r+1,-1),r)}var L=function(e,t,n){for(var r=0,o=0;r=o,o=w(),38===r&&12===o&&(t[n]=1),!_(o);)x();return l(v,e,g)},M=function(e,t){var n=-1,r=44;do switch(_(r)){case 0:38===r&&12===w()&&(t[n]=1),e[n]+=L(g-1,t,n);break;case 2:e[n]+=O(r);break;case 4:if(44===r){e[++n]=58===w()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}while(r=x());return e},D=function(e,t){var n;return n=M(S(e),t),v="",n},B=new WeakMap,z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||B.get(n))&&!r){B.set(e,!0);for(var o=[],i=D(t,o),a=n.props,s=0,c=0;s-1&&!e.return)switch(e.type){case R:e.return=function e(t,n){switch(45^u(t,0)?(((n<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+j+t+E+t+t;case 6828:case 4268:return T+t+E+t+t;case 6165:return T+t+E+"flex-"+t+t;case 5187:return T+t+s(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+E+"flex-$1$2")+t;case 5443:return T+t+E+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return T+t+E+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+E+s(t,"shrink","negative")+t;case 5292:return T+t+E+s(t,"basis","preferred-size")+t;case 6060:return T+"box-"+s(t,"-grow","")+T+t+E+s(t,"grow","positive")+t;case 4554:return T+s(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+E+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-n>6)switch(u(t,n+1)){case 109:if(45!==u(t,n+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+j+(108==u(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?e(s(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==u(t,n+1))break;case 6444:switch(u(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return s(t,":",":"+T)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(45===u(t,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+E+"$2box$3")+t}break;case 5936:switch(u(t,n+11)){case 114:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+E+t+t}return t}(e.value,e.length);break;case I:return P([k(e,{value:s(e.value,"@","@"+T)})],r);case A:if(e.length){var o,i;return o=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return P([k(e,{props:[s(t,/:(read-\w+)/,":"+j+"$1")]})],r);case"::placeholder":return P([k(e,{props:[s(t,/:(plac\w+)/,":"+T+"input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":"+j+"$1")]}),k(e,{props:[s(t,/:(plac\w+)/,E+"input-$1")]})],r)}return""},o.map(i).join("")}}}],H=function(e){var t,n,o,a,m,k,E=e.key;if("css"===E){var j=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(j,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var T=e.stylisPlugins||U,A={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+E+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||_(y)>3?"":" "}(Z);break;case 92:q+=function(e,t){for(var n;--t&&x()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return n=g+(t<6&&32==w()&&32==x()),l(v,e,n)}(g-1,7);continue;case 47:switch(w()){case 42:case 47:p(b(j=function(e,t){for(;x();)if(e+y===57)break;else if(e+y===84&&47===w())break;return"/*"+l(v,t,g-1)+"*"+i(47===e?e:x())}(x(),g),n,r,C,i(y),l(j,2,-2),0),E);break;default:q+="/"}break;case 123*L:S[T++]=f(q)*D;case 125*L:case 59:case 0:switch(B){case 0:case 125:M=0;case 59+A:-1==D&&(q=s(q,/\f/g,"")),P>0&&f(q)-R&&p(P>32?F(q+";",o,r,R-1):F(s(q," ","")+";",o,r,R-2),E);break;case 59:q+=";";default:if(p(H=N(q,n,r,T,A,a,S,z,$=[],U=[],R),m),123===B){if(0===A)e(q,n,H,H,$,m,R,S,U);else switch(99===I&&110===u(q,3)?100:I){case 100:case 108:case 109:case 115:e(t,H,H,o&&p(N(t,H,H,0,0,a,S,z,a,$=[],R),U),a,U,R,S,o?$:U);break;default:e(q,H,H,H,[""],U,0,S,U)}}}T=A=P=0,L=D=1,z=q="",R=k;break;case 58:R=1+f(q),P=Z;default:if(L<1){if(123==B)--L;else if(125==B&&0==L++&&125==(y=g>0?u(v,--g):0,h--,10===y&&(h=1,d--),y))continue}switch(q+=i(B),B*L){case 38:D=A>0?1:(q+="\f",-1);break;case 44:S[T++]=(f(q)-1)*D,D=1;break;case 64:45===w()&&(q+=O(x())),I=w(),A=R=f(z=q+=function(e){for(;!_(w());)x();return l(v,e,g)}(g)),B++;break;case 45:45===Z&&2==f(q)&&(L=0)}}return m}("",null,null,null,[""],t=S(t=e),0,[0],t),v="",n),I)};m=function(e,t,n,r){k=n,L(e?e+"{"+t.styles+"}":t.styles),r&&(M.inserted[t.name]=!0)};var M={key:E,sheet:new r({key:E,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:A,registered:{},insert:m};return M.sheet.hydrate(R),M}},86015:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(86894),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.Z)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},86894:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},27216:function(e,t,n){"use strict";n.d(t,{C:function(){return d},E:function(){return w},T:function(){return m},a:function(){return v},c:function(){return k},h:function(){return f},i:function(){return l},u:function(){return g},w:function(){return h}});var r=n(2784),o=n(2107),i=n(7896),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(82792),c=n(40653),u=n(82668),l=!0,f={}.hasOwnProperty,p=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),d=p.Provider,h=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(p),n)})};l||(h=function(e){return function(t){var n=(0,r.useContext)(p);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(p.Provider,{value:n},e(t,n))):e(t,n)}});var m=r.createContext({}),g=function(){return r.useContext(m)},y=a(function(e){return a(function(t){return"function"==typeof t?t(e):(0,i.Z)({},e,t)})}),v=function(e){var t=r.useContext(m);return e.theme!==t&&(t=y(t)(e.theme)),r.createElement(m.Provider,{value:t},e.children)},b="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",k=function(e,t){var n={};for(var r in t)f.call(t,r)&&(n[r]=t[r]);return n[b]=e,n},x=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},w=h(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[b],a=[o],u="";"string"==typeof e.className?u=(0,s.fp)(t.registered,a,e.className):null!=e.className&&(u=e.className+" ");var l=(0,c.O)(a,void 0,r.useContext(m));u+=t.key+"-"+l.name;var p={};for(var d in e)f.call(e,d)&&"css"!==d&&d!==b&&(p[d]=e[d]);return p.ref=n,p.className=u,r.createElement(r.Fragment,null,r.createElement(x,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,p))})},28165:function(e,t,n){"use strict";n.d(t,{F4:function(){return l},iv:function(){return u},xB:function(){return c}});var r=n(27216),o=n(2784),i=n(82792),a=n(82668),s=n(40653);n(2107),n(73463);var c=(0,r.w)(function(e,t){var n=e.styles,c=(0,s.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var u,l=c.name,f=c.styles,p=c.next;void 0!==p;)l+=" "+p.name,f+=p.styles,p=p.next;var d=!0===t.compat,h=t.insert("",{name:l,styles:f},t.sheet,d);return d?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+l,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+c.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}},[t]),(0,a.j)(function(){var e=m.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==c.next&&(0,i.My)(t,c.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",c,n,!1)},[t,c.name]),null});function u(){for(var e=arguments.length,t=Array(e),n=0;n=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+u,styles:a,next:r}}},92952:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7896),o=n(2784),i=n(86015),a=n(27216),s=n(82792),c=n(40653),u=n(82668),l=i.Z,f=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:f},d=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},m=function e(t,n){var i,u,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,u=n.target);var m=d(t,n,l),g=m||p(f),y=!g("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var k=v.length,x=1;x=0&&!(e[t].length>0);n=t,t--);n=0&&!(t>=e[r][0]);n=r--);return n}(m,o);if(!i){if(e&&(0===g||1===m[g-1].length))return;return s(m,g,[o])}let y=t.put(p,i),v=u?t.put(h,u):-1;if(y===d.length&&(d[y]=null!=l?l:null),!(e&&function(e,t,n,r,o,i){if(0===t)return!1;let a=e[t-1];return 1!==a.length&&n===a[1]&&r===a[2]&&o===a[3]&&i===(5===a.length?a[4]:-1)}(m,g,y,a,c,v)))return s(m,g,u?[o,y,a,c,v]:[o,y,a,c])}function s(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function c(e,n){for(let r=0;rnull),n._mappings=r.decodedMappings(t),t.ignoreList&&c(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>u(!0,e,t),e.maybeAddSegment=(e,t,n,r,o,i,s,c)=>a(!0,e,t,n,r,o,i,s,c),e.setIgnore=function(e,n,r=!0){let{_sources:o,_sourcesContent:i,_ignoreList:a}=e,s=t.put(o,n);s===i.length&&(i[s]=null),r?t.put(a,s):t.remove(a,s)},e.setSourceContent=function(e,n,r){let{_sources:o,_sourcesContent:i}=e;i[t.put(o,n)]=r},e.toDecodedMap=i,e.toEncodedMap=function(e){let t=i(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(89078),n(95342),n(21076))},82336:function(e){var t;t=function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(e){return e.startsWith("/")}function o(e){return/^[.?#]/.test(e)}function i(e){let n=t.exec(e);return a(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function a(e,t,n,r,o,i,a){return{scheme:e,user:t,host:n,port:r,path:o,query:i,hash:a,type:7}}function s(t){if(t.startsWith("//")){let e=i("http:"+t);return e.scheme="",e.type=6,e}if(r(t)){let e=i("http://foo.com"+t);return e.scheme="",e.host="",e.type=5,e}if(t.startsWith("file:"))return function(e){let t=n.exec(e),o=t[2];return a("file:","",t[1]||"","",r(o)?o:"/"+o,t[3]||"",t[4]||"")}(t);if(e.test(t))return i(t);let o=i("http://foo.com/"+t);return o.scheme="",o.host="",o.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,o}function c(e,t){let n=t<=4,r=e.path.split("/"),o=1,i=0,a=!1;for(let e=1;er&&(r=o)}c(n,r);let i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{let r=n.path.slice(1);if(!r)return i||".";if(o(t||e)&&!o(r))return"./"+r+i;return r+i}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}},e.exports=t()},89078:function(e,t){!function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(e,t){return e._indexes[t]}e.SetArray=t,e.get=n,e.pop=function(e){let{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,t){let r=n(e,t);if(void 0!==r)return r;let{array:o,_indexes:i}=e,a=o.push(t);return i[t]=a-1},e.remove=function(e,t){let r=n(e,t);if(void 0===r)return;let{array:o,_indexes:i}=e;for(let e=r+1;er.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n>>=1,c&&(i=-2147483648|-i),n[r]+=i,t}function s(e,t,n){return!(t>=n)&&44!==e.charCodeAt(t)}function c(e,t){return e[0]-t[0]}function u(e,t,r,o,i){let a=o[i],s=a-r[i];r[i]=a,s=s<0?-s<<1|1:s<<1;do{let r=31&s;(s>>>=5)>0&&(r|=32),e[t++]=n[r]}while(s>0);return t}e.decode=function(e){let t=new Int32Array(5),n=[],r=0;do{let o=function(e,t){let n=e.indexOf(";",t);return -1===n?e.length:n}(e,r),i=[],u=!0,l=0;t[0]=0;for(let n=r;n0&&(16384===o&&(a+=i.decode(n),o=0),n[o++]=59),0!==c.length){t[0]=0;for(let e=0;e16348&&(a+=i.decode(r),n.copyWithin(0,16348,o),o-=16348),e>0&&(n[o++]=44),o=u(n,o,t,s,0),1!==s.length&&(o=u(n,o,t,s,1),o=u(n,o,t,s,2),o=u(n,o,t,s,3),4!==s.length&&(o=u(n,o,t,s,4)))}}}return a+i.decode(n.subarray(0,o))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},21076:function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function o(e,t){for(let n=t;n=0&&e[r][0]===t;n=r--);return n}function u(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function l(e,t,n,r){let{lastKey:o,lastNeedle:i,lastIndex:s}=n,c=0,u=e.length-1;if(r===o){if(t===i)return a=-1!==s&&e[s][0]===t,s;t>=i?c=-1===s?0:s:u=s}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){let o=n+(r-n>>1),i=e[o][0]-t;if(0===i)return a=!0,o;i<0?n=o+1:r=o-1}return a=!1,n-1}(e,t,c,u)}function f(){return{__proto__:null}}function p(e){return"string"==typeof e?JSON.parse(e):e}function d(e,t){for(let n=0;nr(e||"",h));let{mappings:m}=a;"string"==typeof m?(this._encoded=m,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){let n=o(e,0);if(n===e.length)return e;t||(e=e.slice());for(let a=n;at;n--)e[n]=e[n-1];e[t]=n}(p,h,[u,r,i[0]])}}return n}(v(e),e._bySourceMemos=p.map(u))))[g][n];if(null==y)return i?[]:_(null,null);let b=e._bySourceMemos[g];if(i)return function(e,t,n,r,o){let i=S(e,t,n,r,1);if(!a&&-1===o&&i++,-1===i||i===e.length)return[];let u=a?r:e[i][0];a||(i=c(e,u,i));let l=s(e,u,i),f=[];for(;i<=l;i++){let t=e[i];f.push(_(t[1]+1,t[2]))}return f}(y,b,n,r,o);let k=S(y,b,n,r,o);if(-1===k)return _(null,null);let x=y[k];return _(x[1]+1,x[2])}e.AnyMap=function(e,t){let n=p(e);if(!("sections"in n))return new g(n,t);let r=[],o=[],i=[],a=[],s=[];return function e(t,n,r,o,i,a,s,c,u,l,f){let{sections:h}=t;for(let t=0;tl)return;let n=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(r,t),o=0===e?u:0,i=k[e];for(let e=0;e=f)return;if(1===r.length){n.push([a]);continue}let s=y+r[1],c=r[2],u=r[3];n.push(4===r.length?[a,s,c,u]:[a,s,c,u,b+r[4]])}}})(m,n,r,o,i,a,s,c+y.line,u+y.column,b,k)}}(n,t,r,o,i,a,s,0,0,1/0,1/0),k({version:3,file:n.file,names:a,sources:o,sourcesContent:i,mappings:r,ignoreList:s})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=g,e.allGeneratedPositionsFor=function(e,t){let{source:n,line:r,column:o,bias:i}=t;return O(e,n,r,o,i||-1,!0)},e.decodedMap=function(e){return x(e,v(e))},e.decodedMappings=v,e.eachMapping=function(e,t){let n=v(e),{names:r,resolvedSources:o}=e;for(let e=0;e=i.length)return w(null,null,null,null);let a=i[n],s=S(a,e._decodedMemo,n,r,o||1);if(-1===s)return w(null,null,null,null);let c=a[s];if(1===c.length)return w(null,null,null,null);let{names:u,resolvedSources:l}=e;return w(l[c[1]],c[2]+1,c[3],5===c.length?u[c[4]]:null)},e.presortedDecodedMap=k,e.sourceContentFor=function(e,t){let{sourcesContent:n}=e;if(null==n)return null;let r=b(e,t);return -1===r?null:n[r]},e.traceSegment=function(e,t,n){let r=v(e);if(t>=r.length)return null;let o=r[t],i=S(o,e._decodedMemo,t,n,1);return -1===i?null:o[i]}}(t,n(95342),n(82336))},96906:function(e,t,n){"use strict";var r=n(38502),o=n(27607),i=n(57293);function a(e,t,n,o){return new r(e,t,n,o)}a.version=n(24815),a.AlgoliaSearchHelper=r,a.SearchParameters=o,a.SearchResults=i,e.exports=a},12985:function(e,t,n){"use strict";var r=n(15312);function o(e,t){this.main=e,this.fn=t,this.lastResults=null}n(24779)(o,r),o.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},o.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=o},33329:function(e,t,n){"use strict";var r=n(71544),o=n(79582),i=n(62202),a={addRefinement:function(e,t,n){if(a.isRefined(e,t,n))return e;var o=""+n,i=e[t]?e[t].concat(o):[o],s={};return s[t]=i,r({},s,e)},removeRefinement:function(e,t,n){if(void 0===n)return a.clearRefinement(e,function(e,n){return t===n});var r=""+n;return a.clearRefinement(e,function(e,n){return t===n&&r===e})},toggleRefinement:function(e,t,n){if(void 0===n)throw Error("toggleRefinement should be used with a value");return a.isRefined(e,t,n)?a.removeRefinement(e,t,n):a.addRefinement(e,t,n)},clearRefinement:function(e,t,n){if(void 0===t)return o(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var r=!1,a=Object.keys(e).reduce(function(o,i){var a=e[i]||[],s=a.filter(function(e){return!t(e,i,n)});return s.length!==a.length&&(r=!0),o[i]=s,o},{});return r?a:e}},isRefined:function(e,t,n){var r=!!e[t]&&e[t].length>0;return void 0!==n&&r?-1!==e[t].indexOf(""+n):r}};e.exports=a},27607:function(e,t,n){"use strict";var r=n(71544),o=n(13591),i=n(29878),a=n(31853),s=n(79582),c=n(62202),u=n(52641),l=n(47671),f=n(33329);function p(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,n){return p(t[n],e)}):e===t}function d(e){var t=e?d._parseNumbers(e):{};void 0===t.userToken||l(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var n=this;Object.keys(t).forEach(function(e){var r=-1!==d.PARAMETERS.indexOf(e),o=void 0!==t[e];!r&&o&&(n[e]=t[e])})}d.PARAMETERS=Object.keys(new d),d._parseNumbers=function(e){if(e instanceof d)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(n){var r=e[n];if("string"==typeof r){var o=parseFloat(r);t[n]=isNaN(o)?r:o}}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return parseFloat(e)}):e})),e.numericRefinements){var n={};Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t]||{};n[t]={},Object.keys(r).forEach(function(e){var o=r[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFloat(e):e}):"string"==typeof e?parseFloat(e):e});n[t][e]=o})}),t.numericRefinements=n}return a(e,t)},d.make=function(e){var t=new d(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var n=t.getHierarchicalRefinement(e.name);n.length>0&&0!==n[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(n=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},d.validate=function(e,t){var n=t||{};return e.tagFilters&&n.tagRefinements&&n.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&n.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&n.numericRefinements&&s(n.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&n.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},d.prototype={constructor:d,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,n){var r=u(n);if(this.isNumericRefined(e,t,r))return this;var o=a({},this.numericRefinements);return o[e]=a({},o[e]),o[e][t]?(o[e][t]=o[e][t].slice(),o[e][t].push(r)):o[e][t]=[r],this.setQueryParameters({numericRefinements:o})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,n){return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,o){return o===e&&r.op===t&&p(r.val,u(n))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,r){return r===e&&n.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,n){return n===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return c(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,n=this.numericRefinements,r=Object.keys(n).reduce(function(r,o){var i=n[o],a={};return Object.keys(i=i||{}).forEach(function(n){var r=i[n]||[],s=[];r.forEach(function(t){e({val:t,op:n},o,"numeric")||s.push(t)}),s.length!==r.length&&(t=!0),a[n]=s}),r[o]=a,r},{});return t?r:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),o={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+n))?-1===t.indexOf(n)?o[e]=[]:o[e]=[t.slice(0,t.lastIndexOf(n))]:o[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},o,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var n={};return n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},n,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:r({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return t?-1!==n.indexOf(t):n.length>0},isNumericRefined:function(e,t,n){if(void 0===n&&void 0===t)return!!this.numericRefinements[e];var r=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===n||!r)return r;var i=u(n),a=void 0!==o(this.numericRefinements[e][t],function(e){return p(e,i)});return r&&a},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=i(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return i(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},n=this;return Object.keys(this).forEach(function(r){var o=n[r];-1===e.indexOf(r)&&void 0!==o&&(t[r]=o)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var n={};return n[e]=t,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var t=d.validate(this,e);if(t)throw t;var n=this,r=d._parseNumbers(e),o=Object.keys(this).reduce(function(e,t){return e[t]=n[t],e},{}),i=Object.keys(r).reduce(function(e,t){var n=void 0!==e[t],o=void 0!==r[t];return n&&!o?c(e,[t]):(o&&(e[t]=r[t]),e)},o);return new this.constructor(i)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return o(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=d},97135:function(e,t,n){"use strict";e.exports=function(e){return function(t,n){var r=e.hierarchicalFacets[n],u=e.hierarchicalFacetsRefinements[r.name]&&e.hierarchicalFacetsRefinements[r.name][0]||"",l=e._getHierarchicalFacetSeparator(r),f=e._getHierarchicalRootPath(r),p=e._getHierarchicalShowParentLevel(r),d=i(e._getHierarchicalFacetSortBy(r)),h=t.every(function(e){return e.exhaustive}),m=t;return f&&(m=t.slice(f.split(l).length)),m.reduce(function(e,t,n){var r=e;if(n>0){var i=0;for(r=e;i-1});if(r){var o=r.attributes.indexOf(t),u=s(e.hierarchicalFacets,function(e){return e.name===r.name});c.hierarchicalFacets[u][o]={attribute:t,data:n,exhaustive:i.exhaustiveFacetsCount}}else{var l,f=-1!==e.disjunctiveFacets.indexOf(t),p=-1!==e.facets.indexOf(t);f&&(l=y[t],c.disjunctiveFacets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.disjunctiveFacets[l],i.facets_stats,t)),p&&(l=g[t],c.facets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.facets[l],i.facets_stats,t))}}),this.hierarchicalFacets=r(this.hierarchicalFacets),f.forEach(function(n){var r=t[v],a=r&&r.facets?r.facets:{},l=e.getHierarchicalFacetByName(n);Object.keys(a).forEach(function(t){var n,f=a[t];if(l){n=s(e.hierarchicalFacets,function(e){return e.name===l.name});var d=s(c.hierarchicalFacets[n],function(e){return e.attribute===t});if(-1===d)return;c.hierarchicalFacets[n][d].data=u({},c.hierarchicalFacets[n][d].data,f)}else{n=y[t];var h=i.facets&&i.facets[t]||{};c.disjunctiveFacets[n]={name:t,data:o({},f,h),exhaustive:r.exhaustiveFacetsCount},m(c.disjunctiveFacets[n],r.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(r){!c.disjunctiveFacets[n].data[r]&&e.disjunctiveFacetsRefinements[t].indexOf(p(r))>-1&&(c.disjunctiveFacets[n].data[r]=0)})}}),v++}),e.getRefinedHierarchicalFacets().forEach(function(n){var r=e.getHierarchicalFacetByName(n),i=e._getHierarchicalFacetSeparator(r),a=e.getHierarchicalRefinement(n);0===a.length||a[0].split(i).length<2||t.slice(v).forEach(function(t){var n=t&&t.facets?t.facets:{};Object.keys(n).forEach(function(t){var u=n[t],l=s(e.hierarchicalFacets,function(e){return e.name===r.name}),f=s(c.hierarchicalFacets[l],function(e){return e.attribute===t});if(-1!==f){var p={};if(a.length>0&&!c.persistHierarchicalRootCount){var d=a[0].split(i)[0];p[d]=c.hierarchicalFacets[l][f].data[d]}c.hierarchicalFacets[l][f].data=o(p,u,c.hierarchicalFacets[l][f].data)}}),v++})}),Object.keys(e.facetsExcludes).forEach(function(t){var n=e.facetsExcludes[t],r=g[t];c.facets[r]={name:t,data:b[t],exhaustive:i.exhaustiveFacetsCount},n.forEach(function(e){c.facets[r]=c.facets[r]||{name:t},c.facets[r].data=c.facets[r].data||{},c.facets[r].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(d(e)),this.facets=r(this.facets),this.disjunctiveFacets=r(this.disjunctiveFacets),this._state=e}function y(e,t){var n=a(e,function(e){return e.name===t});return n&&n.stats}function v(e,t,n,r,o){var i=a(o,function(e){return e.name===n}),s=i&&i.data&&i.data[r]?i.data[r]:0;return{type:t,attributeName:n,name:r,count:s,exhaustive:i&&i.exhaustive||!1}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return a(this.facets,t)||a(this.disjunctiveFacets,t)||a(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var n,r=function(e,t){function n(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var r=a(e.facets,n);return r?Object.keys(r.data).map(function(n){var o=f(n);return{name:n,escapedValue:o,count:r.data[n],isRefined:e._state.isFacetRefined(t,o),isExcluded:e._state.isExcludeRefined(t,n)}}):[]}if(e._state.isDisjunctiveFacet(t)){var o=a(e.disjunctiveFacets,n);return o?Object.keys(o.data).map(function(n){var r=f(n);return{name:n,escapedValue:r,count:o.data[n],isRefined:e._state.isDisjunctiveFacetRefined(t,r)}}):[]}if(e._state.isHierarchicalFacet(t)){var i=a(e.hierarchicalFacets,n);if(!i)return i;var s=e._state.getHierarchicalFacetByName(t),c=e._state._getHierarchicalFacetSeparator(s),u=p(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(s.rootPath)&&(u=u.replace(s.rootPath+c,""));var l=u.split(c);return l.unshift(t),function e(t,n,r){t.isRefined=t.name===(n[r]&&n[r].trim()),t.data&&t.data.forEach(function(t){e(t,n,r+1)})}(i,l,0),i}}(this,e);if(r){var i=o({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return n=Array.isArray(r)?[e]:s._state.getHierarchicalFacetByName(r.name).attributes,function e(t,n,r,i){if(i=i||0,Array.isArray(n))return t(n,r[i]);if(!n.data||0===n.data.length)return n;var a=n.data.map(function(n){return e(t,n,r,i+1)});return o({data:t(a,r[i])},n)}(function(e,t){if(i.facetOrdering){var n,r,o,a,u,f,p=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(p)return o=[],a=[],u=(p.order||[]).reduce(function(e,t,n){return e[t]=n,e},{}),e.forEach(function(e){var t=e.path||e.name;void 0!==u[t]?o[u[t]]=e:a.push(e)}),o=o.filter(function(e){return e}),"hidden"===(f=p.sortRemainingBy)?o:(r="alpha"===f?[["path","name"],["asc","asc"]]:[["count"],["desc"]],o.concat(l(a,r[0],r[1])))}if(Array.isArray(i.sortBy)){var d=c(i.sortBy,g.DEFAULT_SORT);return l(e,d[0],d[1])}if("function"==typeof i.sortBy)return n=i.sortBy,e.sort(n);throw Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,n=[];return Object.keys(e.facetsRefinements).forEach(function(r){e.facetsRefinements[r].forEach(function(o){n.push(v(e,"facet",r,o,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(r){e.facetsExcludes[r].forEach(function(o){n.push(v(e,"exclude",r,o,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(r){e.disjunctiveFacetsRefinements[r].forEach(function(o){n.push(v(e,"disjunctive",r,o,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(r){e.hierarchicalFacetsRefinements[r].forEach(function(o){var i,s,c,u,l,f,p,d;n.push((i=t.hierarchicalFacets,s=e.getHierarchicalFacetByName(r),c=e._getHierarchicalFacetSeparator(s),u=o.split(c),l=a(i,function(e){return e.name===r}),p=(f=u.reduce(function(e,t){var n=e&&a(e.data,function(e){return e.name===t});return void 0!==n?n:e},l))&&f.count||0,d=f&&f.exhaustive||!1,{type:"hierarchical",attributeName:r,name:f&&f.path||"",count:p,exhaustive:d}))})}),Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t];Object.keys(r).forEach(function(e){r[e].forEach(function(r){n.push({type:"numeric",attributeName:t,name:r,numericValue:r,operator:e})})})}),e.tagRefinements.forEach(function(e){n.push({type:"tag",attributeName:"_tags",name:e})}),n},e.exports=g},38502:function(e,t,n){"use strict";var r=n(15312),o=n(12985),i=n(12902).escapeFacetValue,a=n(24779),s=n(31853),c=n(79582),u=n(62202),l=n(42209),f=n(27607),p=n(57293),d=n(24815);function h(e,t,n,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.setClient(e);var o=n||{};o.index=t,this.state=f.make(o),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._searchResultsOptions=r}function m(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function g(){return this.state.page}a(h,r),h.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},h.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},h.prototype.getQuery=function(){var e=this.state;return l._getHitsSearchParams(e)},h.prototype.searchOnce=function(e,t){var n=e?this.state.setQueryParameters(e):this.state,r=l._getQueries(n.index,n),o=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:n}),t){this.client.search(r).then(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(null,new p(n,e.results),n)}).catch(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(e,null,n)});return}return this.client.search(r).then(function(e){return o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),{content:new p(n,e.results),state:n,_originalResponse:e}},function(e){throw o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),e})},h.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,n=this.derivedHelpers[0];if(!n)return Promise.resolve([]);var r=n.getModifiedState(t),o=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(l._getHitsSearchParams(r),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),i="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(i);var a=this.client.initIndex(r.index);if("function"!=typeof a.findAnswers)throw Error(i);return a.findAnswers(r.query,e.queryLanguages,o)},h.prototype.searchForFacetValues=function(e,t,n,r){var o,a="function"==typeof this.client.searchForFacetValues,s="function"==typeof this.client.initIndex;if(!a&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(r||{}),u=c.isDisjunctiveFacet(e),f=l.getSearchForFacetQuery(e,t,n,c);this._currentNbQueries++;var p=this;return a?o=this.client.searchForFacetValues([{indexName:c.index,params:f}]):s?o=this.client.initIndex(c.index).searchForFacetValues(f):(delete f.facetName,o=this.client.search([{type:"facet",facet:e,indexName:c.index,params:f}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),o.then(function(t){return p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach(function(t){t.escapedValue=i(t.value),t.isRefined=u?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)}),t},function(e){throw p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),e})},h.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},h.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},h.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},h.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},h.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},h.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},h.prototype.removeNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},h.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},h.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},h.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},h.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},h.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},h.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},h.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},h.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},h.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},h.prototype.setCurrentPage=m,h.prototype.setPage=m,h.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},h.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},h.prototype.setState=function(e){return this._change({state:f.make(e),isPageReset:!1}),this},h.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new f(e),this},h.prototype.hasRefinements=function(e){return!!c(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},h.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},h.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},h.prototype.hasTag=function(e){return this.state.isTagRefined(e)},h.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},h.prototype.getIndex=function(){return this.state.index},h.prototype.getCurrentPage=g,h.prototype.getPage=g,h.prototype.getTags=function(){return this.state.tagRefinements},h.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var n=this.state.getNumericRefinements(e);return Object.keys(n).forEach(function(e){var r=n[e];t.push({value:r,operator:e,type:"numeric"})}),t},h.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},h.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},h.prototype._search=function(e){var t=this.state,n=[],r=[];e.onlyWithDerivedHelpers||(r=l._getQueries(t.index,t),n.push({state:t,queriesCount:r.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var o=this.derivedHelpers.map(function(e){var r=e.getModifiedState(t),o=r.index?l._getQueries(r.index,r):[];return n.push({state:r,queriesCount:o.length,helper:e}),e.emit("search",{state:r,results:e.lastResults}),o}),i=Array.prototype.concat.apply(r,o),a=this._queryId++;if(this._currentNbQueries++,!i.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,n,a));try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,n,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},h.prototype._dispatchAlgoliaResponse=function(e,t,n){var r=this;if(!(t0},h.prototype._change=function(e){var t=e.state,n=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:n}))},h.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},h.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.client=e),this},h.prototype.getClient=function(){return this.client},h.prototype.derive=function(e){var t=new o(this,e);return this.derivedHelpers.push(t),t},h.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},h.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=h},45875:function(e){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},71544:function(e){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(n){void 0!==t[n]&&(void 0!==e[n]&&delete e[n],e[n]=t[n])}),e},{})}},12902:function(e){"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},13591:function(e){"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var n=0;n1||!i?(e[0].push(o[0]),e[1].push(o[1])):(e[0].push(i[0]),e[1].push(i[1])),e},[[],[]])}},24779:function(e){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},29878:function(e){"use strict";e.exports=function(e,t){return e.filter(function(n,r){return t.indexOf(n)>-1&&e.indexOf(n)===r})}},31853:function(e){"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var n=1,r=arguments.length;n0}},62202:function(e){"use strict";e.exports=function(e,t){if(null===e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},24652:function(e){"use strict";e.exports=function(e,t,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var r=e.map(function(e,n){return{criteria:t.map(function(t){return e[t]}),index:n,value:e}});return r.sort(function(e,t){for(var r=-1;++rt||r&&o||!n)return 1;if(!r&&e=n.length)return o;if("desc"===n[r])return-o;return o}}return e.index-t.index}),r.map(function(e){return e.value})}},52641:function(e){"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},42209:function(e,t,n){"use strict";var r=n(31853);function o(e){return Object.keys(e).sort().reduce(function(t,n){return t[n]=e[n],t},{})}var i={_getQueries:function(e,t){var n=[];return n.push({indexName:e,params:i._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(r){n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r)})}),t.getRefinedHierarchicalFacets().forEach(function(r){var o=t.getHierarchicalFacetByName(r),a=t.getHierarchicalRefinement(r),s=t._getHierarchicalFacetSeparator(o);if(a.length>0&&a[0].split(s).length>1){var c=a[0].split(s).slice(0,-1).reduce(function(e,t,n){return e.concat({attribute:o.attributes[n],value:0===n?t:[e[e.length-1].value,t].join(s)})},[]);c.forEach(function(r,a){var s=i._getDisjunctiveFacetSearchParams(t,r.attribute,0===a);function u(e){return o.attributes.some(function(t){return t===e.split(":")[0]})}var l=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var n=t.filter(function(e){return!u(e)});n.length>0&&e.push(n)}return"string"!=typeof t||u(t)||e.push(t),e},[]),f=c[a-1];a>0?s.facetFilters=l.concat(f.attribute+":"+f.value):s.facetFilters=l.length>0?l:void 0,n.push({indexName:e,params:s})})}}),n},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),n=i._getFacetFilters(e),a=i._getNumericFilters(e),s=i._getTagFilters(e),c={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:s};return n.length>0&&(c.facetFilters=n),a.length>0&&(c.numericFilters=a),o(r({},e.getQueryParams(),c))},_getDisjunctiveFacetSearchParams:function(e,t,n){var a=i._getFacetFilters(e,t,n),s=i._getNumericFilters(e,t),c=i._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};c.length>0&&(u.tagFilters=c);var l=e.getHierarchicalFacetByName(t);return l?u.facets=i._getDisjunctiveHierarchicalFacetAttribute(e,l,n):u.facets=t,s.length>0&&(u.numericFilters=s),a.length>0&&(u.facetFilters=a),o(r({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var n=[];return Object.keys(e.numericRefinements).forEach(function(r){var o=e.numericRefinements[r]||{};Object.keys(o).forEach(function(e){var i=o[e]||[];t!==r&&i.forEach(function(t){if(Array.isArray(t)){var o=t.map(function(t){return r+e+t});n.push(o)}else n.push(r+e+t)})})}),n},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,n){var r=[],o=e.facetsRefinements||{};Object.keys(o).sort().forEach(function(e){(o[e]||[]).slice().sort().forEach(function(t){r.push(e+":"+t)})});var i=e.facetsExcludes||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).sort().forEach(function(t){r.push(e+":-"+t)})});var a=e.disjunctiveFacetsRefinements||{};Object.keys(a).sort().forEach(function(e){var n=a[e]||[];if(e!==t&&n&&0!==n.length){var o=[];n.slice().sort().forEach(function(t){o.push(e+":"+t)}),r.push(o)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(o){var i,a,c=(s[o]||[])[0];if(void 0!==c){var u=e.getHierarchicalFacetByName(o),l=e._getHierarchicalFacetSeparator(u),f=e._getHierarchicalRootPath(u);if(t===o){if(-1===c.indexOf(l)||!f&&!0===n||f&&f.split(l).length===c.split(l).length)return;f?(a=f.split(l).length-1,c=f):(a=c.split(l).length-2,c=c.slice(0,c.lastIndexOf(l))),i=u.attributes[a]}else a=c.split(l).length-1,i=u.attributes[a];i&&r.push([i+":"+c])}}),r},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,n){var r=e.getHierarchicalRefinement(n.name)[0];if(!r)return t.push(n.attributes[0]),t;var o=e._getHierarchicalFacetSeparator(n),i=r.split(o).length,a=n.attributes.slice(0,i+1);return t.concat(a)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,n){var r=e._getHierarchicalFacetSeparator(t);if(!0===n){var o=e._getHierarchicalRootPath(t),i=0;return o&&(i=o.split(r).length),[t.attributes[i]]}var a=(e.getHierarchicalRefinement(t.name)[0]||"").split(r).length-1;return t.attributes.slice(0,a+1)},getSearchForFacetQuery:function(e,t,n,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,c={facetQuery:t,facetName:e};return"number"==typeof n&&(c.maxFacetHits=n),o(r({},i._getHitsSearchParams(s),c))}};e.exports=i},47671:function(e){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},24815:function(e){"use strict";e.exports="3.16.3"},43931:function(e){var t;t=function(){"use strict";function e(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 t(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var a=r(),s=o&&o.miss||function(){return Promise.resolve()};return a.then(function(e){return s(e)}).then(function(){return a})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function i(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var u={Read:1,Write:2,Any:3};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:n,lastUpdate:Date.now()})}function f(e){return"string"==typeof e?{protocol:"https",url:e,accept:u.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||u.Any}}var p="POST";function d(e,n,o,i){var a,s,c,u=[],p=function(e,n){if("GET"!==e.method&&(void 0!==e.data||void 0!==n.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),n.data))}(o,i),d=(a=t(t({},e.headers),i.headers),s={},Object.keys(a).forEach(function(e){var t=a[e];s[e.toLowerCase()]=t}),s),y=o.method,v="GET"!==o.method?{}:t(t({},o.data),i.data),b=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),v),i.queryParameters),k=0,x=function t(n,r){var a,s,c,f=n.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:m(u)};var v={data:p,headers:d,method:y,url:(a=o.path,s=h(b),c="".concat(f.protocol,"://").concat(f.url,"/").concat("/"===a.charAt(0)?a.substr(1):a),s.length&&(c+="?".concat(s)),c),connectTimeout:r(k,e.timeouts.connect),responseTimeout:r(k,i.timeout)},x=function(e){var t={request:v,response:e,host:f,triesLeft:n.length};return u.push(t),t},w={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}}(e)},onRetry:function(o){var i=x(o);return o.isTimedOut&&k++,Promise.all([e.logger.info("Retryable failure",g(i)),e.hostsCache.set(f,l(f,o.isTimedOut?3:2))]).then(function(){return t(n,r)})},onFail:function(e){throw x(e),function(e,t){var n=e.content,r=e.status,o=n;try{o=JSON.parse(n).message}catch(e){}return{name:"ApiError",message:o,status:r,transporterStackTrace:t}}(e,m(u))}};return e.requester.send(v).then(function(e){var t,n,r;return(t=e.status,e.isTimedOut||(n=e.isTimedOut,r=e.status,!n&&0==~~r)||2!=~~(t/100)&&4!=~~(t/100))?w.onRetry(e):2==~~(e.status/100)?w.onSuccess(e):w.onFail(e)})};return(c=e.hostsCache,Promise.all(n.map(function(e){return c.get(e,function(){return Promise.resolve(l(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),o=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),i=[].concat(r(t),r(o));return{getTimeout:function(e,t){return(0===o.length&&0===e?1:o.length+3+e)*t},statelessHosts:i.length>0?i.map(function(e){return f(e)}):n}})).then(function(e){return x(r(e.statelessHosts).reverse(),e.getTimeout)})}function h(e){return Object.keys(e).map(function(t){var n;return a("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]))}).join("&")}function m(e){return e.map(function(e){return g(e)})}function g(e){var n=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),n)})})}var y=function(e){var r,o,a,l,p,h,m,g,y,v,b,k,x,w=e.appId,_=(r=void 0!==e.authMode?e.authMode:s.WithinHeaders,o={"x-algolia-api-key":e.apiKey,"x-algolia-application-id":w},{headers:function(){return r===s.WithinHeaders?o:{}},queryParameters:function(){return r===s.WithinQueryParameters?o:{}}}),S=(l=(a=t(t({hosts:[{url:"".concat(w,"-dsn.algolia.net"),accept:u.Read},{url:"".concat(w,".algolia.net"),accept:u.Write}].concat(function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}([{url:"".concat(w,"-1.algolianet.com")},{url:"".concat(w,"-2.algolianet.com")},{url:"".concat(w,"-3.algolianet.com")}]))},e),{},{headers:t(t(t({},_.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:t(t({},_.queryParameters()),e.queryParameters)})).hostsCache,p=a.logger,h=a.requester,m=a.requestsCache,g=a.responsesCache,y=a.timeouts,v=a.userAgent,b=a.hosts,k=a.queryParameters,x={hostsCache:l,logger:p,requester:h,requestsCache:m,responsesCache:g,timeouts:y,userAgent:v,headers:a.headers,queryParameters:k,hosts:b.map(function(e){return f(e)}),read:function(e,t){var r=c(t,x.timeouts.read),o=function(){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Read)}),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return o();var i={request:e,mappedRequestOptions:r,transporter:{queryParameters:x.queryParameters,headers:x.headers}};return x.responsesCache.get(i,function(){return x.requestsCache.get(i,function(){return x.requestsCache.set(i,o()).then(function(e){return Promise.all([x.requestsCache.delete(i),e])},function(e){return Promise.all([x.requestsCache.delete(i),Promise.reject(e)])}).then(function(e){var t=n(e,2);return t[0],t[1]})})},{miss:function(e){return x.responsesCache.set(i,e)}})},write:function(e,t){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Write)}),e,c(t,x.timeouts.write))}});return i({transporter:S,appId:w,addAlgoliaAgent:function(e,t){S.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([S.requestsCache.clear(),S.responsesCache.clear()]).then(function(){})}},e.methods)},v=function(e){return function(t,n){return"GET"===t.method?e.transporter.read(t,n):e.transporter.write(t,n)}},b=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i({transporter:e.transporter,appId:e.appId,indexName:t},n.methods)}},k=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{params:h(e.params||{})})});return e.transporter.read({method:p,path:"1/indexes/*/queries",data:{requests:o},cacheable:!0},r)}},x=function(e){return function(n,r){return Promise.all(n.map(function(n){var o=n.params,i=o.facetName,a=o.facetQuery,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(o,["facetName","facetQuery"]);return b(e)(n.indexName,{methods:{searchForFacetValues:S}}).searchForFacetValues(i,a,t(t({},r),s))}))}},w=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},_=function(e){return function(t,n){return e.transporter.read({method:p,path:a("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},S=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},O=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:p,path:"1/indexes/*/recommendations",data:{requests:o},cacheable:!0},r)}};function E(e,i,a){var c,u,l,f,p,d,h,m;return y(t(t(t({},{appId:e,apiKey:i,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return n.setRequestHeader(t,e.headers[t])});var r,o=function(e,r){return setTimeout(function(){n.abort(),t({status:0,content:r,isTimedOut:!0})},1e3*e)},i=o(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(i),r=o(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(i),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(i),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:function e(t){var o=r(t.caches),i=o.shift();return void 0===i?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,r.miss(e)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return i.get(t,n,r).catch(function(){return e({caches:o}).get(t,n,r)})},set:function(t,n){return i.set(t,n).catch(function(){return e({caches:o}).set(t,n)})},delete:function(t){return i.delete(t).catch(function(){return e({caches:o}).delete(t)})},clear:function(){return i.clear().catch(function(){return e({caches:o}).clear()})}}}({caches:[(c={key:"".concat("4.23.2","-").concat(e)},l="algoliasearch-client-js-".concat(c.key),f=function(){return void 0===u&&(u=c.localStorage||window.localStorage),u},p=function(){return JSON.parse(f().getItem(l)||"{}")},d=function(e){f().setItem(l,JSON.stringify(e))},h=function(){var e=c.timeToLive?1e3*c.timeToLive:null,t=Object.fromEntries(Object.entries(p()).filter(function(e){return void 0!==n(e,2)[1].timestamp}));d(t),e&&d(Object.fromEntries(Object.entries(t).filter(function(t){var r=n(t,2)[1],o=(new Date).getTime();return!(r.timestamp+e2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){h();var t=JSON.stringify(e);return p()[t]}).then(function(e){return Promise.all([e?e.value:t(),void 0!==e])}).then(function(e){var t=n(e,2),o=t[0];return Promise.all([o,t[1]||r.miss(o)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var n=p();return n[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},f().setItem(l,JSON.stringify(n)),t})},delete:function(e){return Promise.resolve().then(function(){var t=p();delete t[JSON.stringify(e)],f().setItem(l,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){f().removeItem(l)})}}),o()]}),userAgent:(m={value:"Algolia for JavaScript (".concat("4.23.2",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===m.value.indexOf(t)&&(m.value="".concat(m.value).concat(t)),m}}).add({segment:"Browser",version:"lite"}),authMode:s.WithinQueryParameters}),a),{},{methods:{search:k,searchForFacetValues:x,multipleQueries:k,multipleSearchForFacetValues:x,customRequest:v,initIndex:function(e){return function(t){return b(e)(t,{methods:{search:_,searchForFacetValues:S,findAnswers:w}})}},getRecommendations:O}}))}return E.version="4.23.2",E},e.exports=t()},95766:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=c(e),a=i[0],s=i[1],u=new o((a+s)*3/4-s),l=0,f=s>0?a-4:a;for(n=0;n>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48834:function(e,t,n){"use strict";var r=n(95766),o=n(62333),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(C(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(C(e,ArrayBuffer)||e&&C(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(e,SharedArrayBuffer)||e&&C(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var o=function(e){if(s.isBuffer(e)){var t,n=0|d(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),a(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),n=a(t),r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||C(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(o)return r?-1:E(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var f=!0,p=0;p239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:(192&(i=e[o+1]))==128&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function w(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function _(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return l(e)},s.allocUnsafeSlow=function(e){return l(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);or.length?s.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else if(s.isBuffer(i))i.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,o){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,c=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,c,u,l,f,p=this.length-t;if((void 0===n||n>p)&&(n=p),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var d=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a>8,o.push(n%256),o.push(r);return o}(e,this.length-l),this,l,f);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||k(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return _(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return _(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function j(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,n,r){for(var o=0;o=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function C(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},5081:function(e,t,n){"use strict";n.d(t,{Nu:function(){return c},Un:function(){return u},Zs:function(){return m},ks:function(){return h},pE:function(){return s},pr:function(){return o},q9:function(){return a},rY:function(){return r},vH:function(){return f},zU:function(){return i}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null==e?[].concat(t):Array.isArray(e)?e:[].concat(e)},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null==e?!!t:"boolean"==typeof e?e:!!e},i=function e(t,n){var r;return(n=null!==(r=n)&&void 0!==r?r:function(){},null==t)?e(n):"function"==typeof t?t:e(n)},a=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t||Number.isNaN(t=Number(t))?e(n):t},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(a(e,t),0)},c=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof(t=a(t,n))&&isFinite(t)?t:e(n)},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(c(e,t),0)},l=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=e=c(e,n))<0?Math.ceil(t):Math.floor(t)},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.max(l(e,t),1)};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=function(e){if("object"!==p(e)||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e(n):d(t)?t:e(n)},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null==e?String(t):"string"==typeof e?e:String(e)}},3236:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())}},54225:function(e,t,n){"use strict";n.r(t),n.d(t,{FOCUS_ALLOW:function(){return i},FOCUS_AUTO:function(){return a},FOCUS_DISABLED:function(){return o},FOCUS_GROUP:function(){return r},FOCUS_NO_AUTOFOCUS:function(){return s}});var r="data-focus-lock",o="data-focus-lock-disabled",i="data-no-focus-lock",a="data-autofocus-inside",s="data-no-autofocus"},7413:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(41658),o=n(46774),i=n(74745),a=n(76025),s=function(e,t){return void 0===t&&(t=(0,a.v)((0,i.Xi)(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&(0,o.K)(e).some(function(e){var n;return(0,r.r3)(e,t)||(n=t,!!(0,i.qo)(e.querySelectorAll("iframe")).some(function(e){return e===n}))})}},75226:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(54225),o=n(41658),i=n(74745),a=n(76025),s=function(e){void 0===e&&(e=document);var t=(0,a.v)(e);return!!t&&(0,i.qo)(e.querySelectorAll("[".concat(r.FOCUS_ALLOW,"]"))).some(function(e){return(0,o.r3)(e,t)})}},55243:function(e,t,n){"use strict";n.d(t,{F:function(){return y}});var r=n(93854),o=function(e,t){return(0,r.MH)(e)&&e.name&&t.filter(r.MH).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},i=function(e){var t=new Set;return e.forEach(function(n){return t.add(o(n,e))}),e.filter(function(e){return t.has(e)})},a=function(e){return e[0]&&e.length>1?o(e[0],e):e[0]},s=function(e,t){return e.indexOf(o(t,e))},c="NEW_FOCUS",u=function(e,t,n,o,a){var u=e.length,l=e[0],f=e[u-1],p=(0,r.Z9)(o);if(!(o&&e.indexOf(o)>=0)){var d=void 0!==o?n.indexOf(o):-1,h=a?n.indexOf(a):d,m=a?e.indexOf(a):-1;if(-1===d)return -1!==m?m:c;if(-1===m)return c;var g=d-h,y=n.indexOf(l),v=n.indexOf(f),b=i(n),k=(void 0!==o?b.indexOf(o):-1)-(a?b.indexOf(a):d);if(!g&&m>=0||0===t.length)return m;var x=s(e,t[0]),w=s(e,t[t.length-1]);if(d<=y&&p&&Math.abs(g)>1)return w;if(d>=v&&p&&Math.abs(g)>1)return x;if(g&&Math.abs(k)>1)return m;if(d<=y)return w;if(d>v)return x;if(g)return Math.abs(g)>1?m:(u+m+g)%u}},l=n(41658),f=n(46774),p=n(74745),d=function(e,t,n){var o=e.map(function(e){return e.node}),i=(0,l.vA)(o.filter(function(e){var t,o=null===(t=(0,r.pY)(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==o&&"false"!==o||n.indexOf(e)>=0}));return i&&i.length?a(i):a((0,l.vA)(t))},h=n(76025),m=n(70537),g=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(r.$K)},y=function(e,t){var n=(0,h.v)((0,p._2)(e).length>0?document:(0,p.Xi)(e).ownerDocument),o=(0,f.K)(e).filter(r.IS),i=(0,m.V0)(n||e,e,o),a=new Map,s=(0,l.pw)(o,a),y=s.filter(function(e){var t=e.node;return(0,r.IS)(t)});if(y[0]){var v=(0,l.pw)([i],a).map(function(e){return e.node}),b=g(v,y),k=b.map(function(e){return e.node}),x=b.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),w=u(k,x,v,n,t);if(w===c){var _=d(s,x,(0,m.o$)(o,a))||d(s,k,(0,m.o$)(o,a));return _?{node:_}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===w?w:b[w]}}},68557:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var r=n(46774),o=n(93854),i=n(70537),a=n(46813),s=n(49698),c=function(e){var t=(0,r.K)(e).filter(o.IS),n=(0,i.V0)(e,e,t),c=(0,a.v)((0,s.s)([n],!0),!0,!0),u=(0,s.s)(t,!1);return c.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:u.indexOf(t)>=0,guard:(0,o.Z9)(t)}})}},26095:function(e,t,n){"use strict";n.r(t),n.d(t,{captureFocusRestore:function(){return u.T},constants:function(){return p},expandFocusableNodes:function(){return s.T},focusFirstElement:function(){return l.w4},focusInside:function(){return o.S},focusIsHidden:function(){return i.U},focusLastElement:function(){return l.fW},focusNextElement:function(){return l.pf},focusPrevElement:function(){return l.mX},focusSolver:function(){return a.F},getFocusableNodes:function(){return f.pw},getRelativeFocusable:function(){return l.hX},getTabbableNodes:function(){return f.dH},moveFocusInside:function(){return c.L}});var r=n(54225),o=n(7413),i=n(75226),a=n(55243),s=n(68557),c=n(19096),u=n(82091),l=n(55632),f=n(41658),p=r,d=c.L;t.default=d},19096:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(3236),o=n(55243),i=0,a=!1,s=function(e,t,n){void 0===n&&(n={});var s=(0,o.F)(e,t);if(!a&&s){if(i>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),a=!0,setTimeout(function(){a=!1},1);return}i++,(0,r.v)(s.node,n.focusOptions),i--}}},82091:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(41658);function o(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var i=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:o(n),parent:o(n.parentElement),left:o(n.previousElementSibling),right:o(n.nextElementSibling)}),n=n.parentElement;return{element:o(e),stack:t,ownerDocument:e.ownerDocument}},a=function(e){if(e)for(var t,n,o,i,a,s=e.stack,c=e.ownerDocument,u=new Map,l=0;l0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},a=function(e){return e.parentNode?a(e.parentNode):e},s=function(e){return(0,o._2)(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(r.FOCUS_GROUP);return e.push.apply(e,n?i((0,o.qo)(a(t).querySelectorAll("[".concat(r.FOCUS_GROUP,'="').concat(n,'"]:not([').concat(r.FOCUS_DISABLED,'="disabled"])')))):[t]),e},[])}},74745:function(e,t,n){"use strict";n.d(t,{Xi:function(){return i},_2:function(){return o},qo:function(){return r}});var r=function(e){for(var t=Array(e.length),n=0;n=0)return a}return!1},s=function(e,t,n){var i=(0,o._2)(e),s=(0,o._2)(t),c=i[0],u=!1;return s.filter(Boolean).forEach(function(e){u=a(u||e,e)||u,n.filter(Boolean).forEach(function(e){var t=a(c,e);t&&(u=!u||(0,r.r3)(t,u)?t:a(t,u))})}),u},c=function(e,t){return e.reduce(function(e,n){return e.concat((0,r.ir)(n,t))},[])}},46813:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(74745),o=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return -1}return o||i},i=function(e,t,n){return(0,r.qo)(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(o)}},49698:function(e,t,n){"use strict";n.d(t,{s:function(){return u},B:function(){return l}});var r=n(54225),o=n(74745),i="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",a="".concat(i,", [data-focus-guard]"),s=function(e,t){return(0,o.qo)((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?a:i)?[n]:[],s(n))},[])},c=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?u([e.contentDocument.body],t):[e]},u=function(e,t){return e.reduce(function(e,n){var r,a=s(n,t),u=(r=[]).concat.apply(r,a.map(function(e){return c(e,t)}));return e.concat(u,n.parentNode?(0,o.qo)(n.parentNode.querySelectorAll(i)).filter(function(e){return e===n}):[])},[])},l=function(e){var t=e.querySelectorAll("[".concat(r.FOCUS_AUTO,"]"));return(0,o.qo)(t).map(function(e){return u([e])}).reduce(function(e,t){return e.concat(t)},[])}},73463:function(e,t,n){"use strict";var r=n(73887),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),g=0;g>1,l=-7,f=n?o-1:0,p=n?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=u}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<>1,p=23===o?5960464477539062e-23:0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+f>=1?t+=p/c:t+=p*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,u-=8);e[n+d-h]|=128*m}},61353:function(e,t){"use strict";!function(){function e(e){this.string=e;for(var t=[0],n=0;nthis.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;var r=e-n[t];return{line:t,column:r}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t}}()},77485:function(e,t,n){var r,o="__lodash_hash_undefined__",i=1/0,a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,c=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,h=p||d||Function("return this")(),m=Array.prototype,g=Function.prototype,y=Object.prototype,v=h["__core-js_shared__"],b=(r=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",k=g.toString,x=y.hasOwnProperty,w=y.toString,_=RegExp("^"+k.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=h.Symbol,O=m.splice,E=N(h,"Map"),j=N(Object,"create"),T=S?S.prototype:void 0,C=T?T.toString:void 0;function A(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},R.prototype.set=function(e,t){var n=this.__data__,r=P(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new A,map:new(E||R),string:new A}},I.prototype.delete=function(e){return Z(this,e).delete(e)},I.prototype.get=function(e){return Z(this,e).get(e)},I.prototype.has=function(e){return Z(this,e).has(e)},I.prototype.set=function(e,t){return Z(this,e).set(e,t),this};var F=L(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(B(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var t,n=[];return c.test(e)&&n.push(""),e.replace(u,function(e,t,r,o){n.push(r?o.replace(l,"$1"):t||e)}),n});function L(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(L.Cache||I),n}L.Cache=I;var M=Array.isArray;function D(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function B(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==w.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=!function(e,t){if(M(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||B(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}(t,e)?M(n=t)?n:F(n):[t];for(var r=0,o=t.length;null!=e&&r=t||n<0||g&&r>=l}function k(){var e,n,r,i=o();if(b(i))return x(i);p=setTimeout(k,(e=i-d,n=i-h,r=t-e,g?s(r,l-n):r))}function x(e){return(p=void 0,y&&c)?v(e):(c=u=void 0,f)}function w(){var e,n=o(),r=b(n);if(c=arguments,u=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(k,t),m?v(e):f;if(g)return clearTimeout(p),p=setTimeout(k,t),v(d)}return void 0===p&&(p=setTimeout(k,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},w.flush=function(){return void 0===p?f:x(o())},w}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,n){var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),(function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",c=1/0,u=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],f="[object Arguments]",p="[object Array]",d="[object Boolean]",h="[object Date]",m="[object Error]",g="[object Function]",y="[object GeneratorFunction]",v="[object Map]",b="[object Number]",k="[object Object]",x="[object Promise]",w="[object RegExp]",_="[object Set]",S="[object String]",O="[object Symbol]",E="[object WeakMap]",j="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",A="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",P="[object Int32Array]",Z="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",M=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,U=RegExp(z.source),H=RegExp($.source),q=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,X=RegExp(Y.source),J=/^\s+/,ee=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /,eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ei=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,es=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ec=/\w*$/,eu=/^[-+]0x[0-9a-f]+$/i,el=/^0b[01]+$/i,ef=/^\[object .+?Constructor\]$/,ep=/^0o[0-7]+$/i,ed=/^(?:0|[1-9]\d*)$/,eh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,em=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ey="\ud800-\udfff",ev="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",ek="a-z\\xdf-\\xf6\\xf8-\\xff",ex="A-Z\\xc0-\\xd6\\xd8-\\xde",ew="\\ufe0e\\ufe0f",e_="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eS="['’]",eO="["+e_+"]",eE="["+ev+"]",ej="["+ek+"]",eT="[^"+ey+e_+"\\d+"+eb+ek+ex+"]",eC="\ud83c[\udffb-\udfff]",eA="[^"+ey+"]",eR="(?:\ud83c[\udde6-\uddff]){2}",eI="[\ud800-\udbff][\udc00-\udfff]",eP="["+ex+"]",eZ="\\u200d",eN="(?:"+ej+"|"+eT+")",eF="(?:"+eS+"(?:d|ll|m|re|s|t|ve))?",eL="(?:"+eS+"(?:D|LL|M|RE|S|T|VE))?",eM="(?:"+eE+"|"+eC+")?",eD="["+ew+"]?",eB="(?:"+eZ+"(?:"+[eA,eR,eI].join("|")+")"+eD+eM+")*",ez=eD+eM+eB,e$="(?:"+["["+eb+"]",eR,eI].join("|")+")"+ez,eU="(?:"+[eA+eE+"?",eE,eR,eI,"["+ey+"]"].join("|")+")",eH=RegExp(eS,"g"),eq=RegExp(eE,"g"),eW=RegExp(eC+"(?="+eC+")|"+eU+ez,"g"),eV=RegExp([eP+"?"+ej+"+"+eF+"(?="+[eO,eP,"$"].join("|")+")","(?:"+eP+"|"+eT+")+"+eL+"(?="+[eO,eP+eN,"$"].join("|")+")",eP+"?"+eN+"+"+eF,eP+"+"+eL,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",e$].join("|"),"g"),eK=RegExp("["+eZ+ey+ev+ew+"]"),eQ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eG=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,eX={};eX[C]=eX[A]=eX[R]=eX[I]=eX[P]=eX[Z]=eX[N]=eX[F]=eX[L]=!0,eX[f]=eX[p]=eX[j]=eX[d]=eX[T]=eX[h]=eX[m]=eX[g]=eX[v]=eX[b]=eX[k]=eX[w]=eX[_]=eX[S]=eX[E]=!1;var eJ={};eJ[f]=eJ[p]=eJ[j]=eJ[T]=eJ[d]=eJ[h]=eJ[C]=eJ[A]=eJ[R]=eJ[I]=eJ[P]=eJ[v]=eJ[b]=eJ[k]=eJ[w]=eJ[_]=eJ[S]=eJ[O]=eJ[Z]=eJ[N]=eJ[F]=eJ[L]=!0,eJ[m]=eJ[g]=eJ[E]=!1;var e1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e0=parseFloat,e2=parseInt,e3="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,e5="object"==typeof self&&self&&self.Object===Object&&self,e8=e3||e5||Function("return this")(),e6=t&&!t.nodeType&&t,e4=e6&&e&&!e.nodeType&&e,e9=e4&&e4.exports===e6,e7=e9&&e3.process,te=function(){try{var e=e4&&e4.require&&e4.require("util").types;if(e)return e;return e7&&e7.binding&&e7.binding("util")}catch(e){}}(),tt=te&&te.isArrayBuffer,tn=te&&te.isDate,tr=te&&te.isMap,to=te&&te.isRegExp,ti=te&&te.isSet,ta=te&&te.isTypedArray;function ts(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function tc(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function td(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function tF(e,t){for(var n=e.length;n--&&tw(t,e[n],0)>-1;);return n}var tL=tj({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tM=tj({"&":"&","<":"<",">":">",'"':""","'":"'"});function tD(e){return"\\"+e1[e]}function tB(e){return eK.test(e)}function tz(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function t$(e,t){return function(n){return e(t(n))}}function tU(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"}),tQ=function e(t){var n,r,ee,ey,ev=(t=null==t?e8:tQ.defaults(e8.Object(),t,tQ.pick(e8,eG))).Array,eb=t.Date,ek=t.Error,ex=t.Function,ew=t.Math,e_=t.Object,eS=t.RegExp,eO=t.String,eE=t.TypeError,ej=ev.prototype,eT=ex.prototype,eC=e_.prototype,eA=t["__core-js_shared__"],eR=eT.toString,eI=eC.hasOwnProperty,eP=0,eZ=(n=/[^.]+$/.exec(eA&&eA.keys&&eA.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",eN=eC.toString,eF=eR.call(e_),eL=e8._,eM=eS("^"+eR.call(eI).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eD=e9?t.Buffer:o,eB=t.Symbol,ez=t.Uint8Array,e$=eD?eD.allocUnsafe:o,eU=t$(e_.getPrototypeOf,e_),eW=e_.create,eK=eC.propertyIsEnumerable,e1=ej.splice,e3=eB?eB.isConcatSpreadable:o,e5=eB?eB.iterator:o,e6=eB?eB.toStringTag:o,e4=function(){try{var e=op(e_,"defineProperty");return e({},"",{}),e}catch(e){}}(),e7=t.clearTimeout!==e8.clearTimeout&&t.clearTimeout,te=eb&&eb.now!==e8.Date.now&&eb.now,tb=t.setTimeout!==e8.setTimeout&&t.setTimeout,tj=ew.ceil,tG=ew.floor,tY=e_.getOwnPropertySymbols,tX=eD?eD.isBuffer:o,tJ=t.isFinite,t1=ej.join,t0=t$(e_.keys,e_),t2=ew.max,t3=ew.min,t5=eb.now,t8=t.parseInt,t6=ew.random,t4=ej.reverse,t9=op(t,"DataView"),t7=op(t,"Map"),ne=op(t,"Promise"),nt=op(t,"Set"),nn=op(t,"WeakMap"),nr=op(e_,"create"),no=nn&&new nn,ni={},na=oL(t9),ns=oL(t7),nc=oL(ne),nu=oL(nt),nl=oL(nn),nf=eB?eB.prototype:o,np=nf?nf.valueOf:o,nd=nf?nf.toString:o;function nh(e){if(iW(e)&&!iN(e)&&!(e instanceof nv)){if(e instanceof ny)return e;if(eI.call(e,"__wrapped__"))return oM(e)}return new ny(e)}var nm=function(){function e(){}return function(t){if(!iq(t))return{};if(eW)return eW(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function ng(){}function ny(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function nv(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function nb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function nZ(e,t,n,r,i,a){var s,c=1&t,u=2&t,l=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),o!==s)return s;if(!iq(e))return e;var p=iN(e);if(p){if(m=e.length,x=new e.constructor(m),m&&"string"==typeof e[0]&&eI.call(e,"index")&&(x.index=e.index,x.input=e.input),s=x,!c)return rB(e,s)}else{var m,x,E,M,D,B=om(e),z=B==g||B==y;if(iD(e))return rZ(e,c);if(B==k||B==f||z&&!i){if(s=u||z?{}:oy(e),!c)return u?(E=(D=s)&&rz(e,ad(e),D),rz(e,oh(e),E)):(M=nA(s,e),rz(e,od(e),M))}else{if(!eJ[B])return i?e:{};s=function(e,t,n){var r,o,i=e.constructor;switch(t){case j:return rN(e);case d:case h:return new i(+e);case T:return r=n?rN(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case C:case A:case R:case I:case P:case Z:case N:case F:case L:return rF(e,n);case v:return new i;case b:case S:return new i(e);case w:return(o=new e.constructor(e.source,ec.exec(e))).lastIndex=e.lastIndex,o;case _:return new i;case O:return np?e_(np.call(e)):{}}}(e,B,c)}}a||(a=new n_);var $=a.get(e);if($)return $;a.set(e,s),iY(e)?e.forEach(function(r){s.add(nZ(r,t,n,r,e,a))}):iV(e)&&e.forEach(function(r,o){s.set(o,nZ(r,t,n,o,e,a))});var U=l?u?oi:oo:u?ad:ap,H=p?o:U(e);return tu(H||e,function(r,o){H&&(r=e[o=r]),nj(s,o,nZ(r,t,n,o,e,a))}),s}function nN(e,t,n){var r=n.length;if(null==e)return!r;for(e=e_(e);r--;){var i=n[r],a=t[i],s=e[i];if(o===s&&!(i in e)||!a(s))return!1}return!0}function nF(e,t,n){if("function"!=typeof e)throw new eE(i);return oA(function(){e.apply(o,n)},t)}function nL(e,t,n,r){var o=-1,i=tp,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=th(t,tI(n))),r?(i=td,a=!1):t.length>=200&&(i=tZ,a=!1,t=new nw(t));e:for(;++o-1},nk.prototype.set=function(e,t){var n=this.__data__,r=nT(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},nx.prototype.clear=function(){this.size=0,this.__data__={hash:new nb,map:new(t7||nk),string:new nb}},nx.prototype.delete=function(e){var t=ol(this,e).delete(e);return this.size-=t?1:0,t},nx.prototype.get=function(e){return ol(this,e).get(e)},nx.prototype.has=function(e){return ol(this,e).has(e)},nx.prototype.set=function(e,t){var n=ol(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},nw.prototype.add=nw.prototype.push=function(e){return this.__data__.set(e,a),this},nw.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.clear=function(){this.__data__=new nk,this.size=0},n_.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},n_.prototype.get=function(e){return this.__data__.get(e)},n_.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nk){var r=n.__data__;if(!t7||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new nx(r)}return n.set(e,t),this.size=n.size,this};var nM=rH(nW),nD=rH(nV,!0);function nB(e,t){var n=!0;return nM(e,function(e,r,o){return n=!!t(e,r,o)}),n}function nz(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?nU(s,t-1,n,r,o):tm(o,s):r||(o[o.length]=s)}return o}var nH=rq(),nq=rq(!0);function nW(e,t){return e&&nH(e,t,ap)}function nV(e,t){return e&&nq(e,t,ap)}function nK(e,t){return tf(t,function(t){return i$(e[t])})}function nQ(e,t){t=rR(t,e);for(var n=0,r=t.length;null!=e&&nt}function nJ(e,t){return null!=e&&eI.call(e,t)}function n1(e,t){return null!=e&&t in e_(e)}function n0(e,t,n){for(var r=n?td:tp,i=e[0].length,a=e.length,s=a,c=ev(a),u=1/0,l=[];s--;){var f=e[s];s&&t&&(f=th(f,tI(t))),u=t3(f.length,u),c[s]=!n&&(t||i>=120&&f.length>=120)?new nw(s&&f):o}f=e[0];var p=-1,d=c[0];e:for(;++p=s)return c;return c*("desc"==n[r]?-1:1)}}return e.index-t.index}(e,t,n)})}function ra(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&e1.call(s,c,1),e1.call(e,c,1);return e}function rc(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ob(o)?e1.call(e,o,1):r_(e,o)}}return e}function ru(e,t){return e+tG(t6()*(t-e+1))}function rl(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do t%2&&(n+=e),(t=tG(t/2))&&(e+=e);while(t);return n}function rf(e,t){return oR(oE(e,t,aM),e+"")}function rp(e,t,n,r){if(!iq(e))return e;t=rR(t,e);for(var i=-1,a=t.length,s=a-1,c=e;null!=c&&++io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ev(o);++r>>1,a=e[i];null!==a&&!iJ(a)&&(n?a<=t:a=200){var u=t?null:r6(e);if(u)return tH(u);a=!1,o=tZ,c=new nw}else c=t?[]:s;e:for(;++r=r?e:rm(e,t,n)}var rP=e7||function(e){return e8.clearTimeout(e)};function rZ(e,t){if(t)return e.slice();var n=e.length,r=e$?e$(n):new e.constructor(n);return e.copy(r),r}function rN(e){var t=new e.constructor(e.byteLength);return new ez(t).set(new ez(e)),t}function rF(e,t){var n=t?rN(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function rL(e,t){if(e!==t){var n=o!==e,r=null===e,i=e==e,a=iJ(e),s=o!==t,c=null===t,u=t==t,l=iJ(t);if(!c&&!l&&!a&&e>t||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!l&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&ok(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=e_(t);++r-1?i[a?t[s]:s]:o}}function rG(e){return or(function(t){var n=t.length,r=n,a=ny.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new eE(i);if(a&&!c&&"wrapper"==os(s))var c=new ny([],!0)}for(r=c?r:n;++r1&&b.reverse(),f&&uc))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,d=!0,h=2&n?new nw:o;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+t+"] */\n")}(i,(r=(o=i.match(en))?o[1].split(er):[],tu(l,function(e){var t="_."+e[0];n&e[1]&&!tp(r,t)&&r.push(t)}),r.sort())))}function oP(e){var t=0,n=0;return function(){var r=t5(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function oZ(e,t){var n=-1,r=e.length,i=r-1;for(t=o===t?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,o5(e,n)});function it(e){var t=nh(e);return t.__chain__=!0,t}function ir(e,t){return t(e)}var io=or(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return nI(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof nv&&ob(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ir,args:[i],thisArg:o}),new ny(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)}),ii=r$(function(e,t,n){eI.call(e,n)?++e[n]:nR(e,n,1)}),ia=rQ(o$),is=rQ(oU);function ic(e,t){return(iN(e)?tu:nM)(e,ou(t,3))}function iu(e,t){return(iN(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:nD)(e,ou(t,3))}var il=r$(function(e,t,n){eI.call(e,n)?e[n].push(t):nR(e,n,[t])}),ip=rf(function(e,t,n){var r=-1,o="function"==typeof t,i=iL(e)?ev(e.length):[];return nM(e,function(e){i[++r]=o?ts(t,e,n):n2(e,t,n)}),i}),id=r$(function(e,t,n){nR(e,n,t)});function ih(e,t){return(iN(e)?th:re)(e,ou(t,3))}var im=r$(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ig=rf(function(e,t){if(null==e)return[];var n=t.length;return n>1&&ok(e,t[0],t[1])?t=[]:n>2&&ok(t[0],t[1],t[2])&&(t=[t[0]]),ri(e,nU(t,1),[])}),iy=te||function(){return e8.Date.now()};function iv(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,r9(e,128,o,o,o,o,t)}function ib(e,t){var n;if("function"!=typeof t)throw new eE(i);return e=i8(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ik=rf(function(e,t,n){var r=1;if(n.length){var o=tU(n,oc(ik));r|=32}return r9(e,r,t,n,o)}),ix=rf(function(e,t,n){var r=3;if(n.length){var o=tU(n,oc(ix));r|=32}return r9(t,r,e,n,o)});function iw(e,t,n){var r,a,s,c,u,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new eE(i);function m(t){var n=r,i=a;return r=a=o,f=t,c=e.apply(i,n)}function g(e){var n=e-l,r=e-f;return o===l||n>=t||n<0||d&&r>=s}function y(){var e,n,r,o=iy();if(g(o))return v(o);u=oA(y,(e=o-l,n=o-f,r=t-e,d?t3(r,s-n):r))}function v(e){return(u=o,h&&r)?m(e):(r=a=o,c)}function b(){var e,n=iy(),i=g(n);if(r=arguments,a=this,l=n,i){if(o===u)return f=e=l,u=oA(y,t),p?m(e):c;if(d)return rP(u),u=oA(y,t),m(l)}return o===u&&(u=oA(y,t)),c}return t=i4(t)||0,iq(n)&&(p=!!n.leading,s=(d="maxWait"in n)?t2(i4(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){o!==u&&rP(u),f=0,r=l=a=u=o},b.flush=function(){return o===u?c:v(iy())},b}var i_=rf(function(e,t){return nF(e,1,t)}),iS=rf(function(e,t,n){return nF(e,i4(t)||0,n)});function iO(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new eE(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(iO.Cache||nx),n}function iE(e){if("function"!=typeof e)throw new eE(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}iO.Cache=nx;var ij=rf(function(e,t){var n=(t=1==t.length&&iN(t[0])?th(t[0],tI(ou())):th(nU(t,1),tI(ou()))).length;return rf(function(r){for(var o=-1,i=t3(r.length,n);++o=t}),iZ=n3(function(){return arguments}())?n3:function(e){return iW(e)&&eI.call(e,"callee")&&!eK.call(e,"callee")},iN=ev.isArray,iF=tt?tI(tt):function(e){return iW(e)&&nY(e)==j};function iL(e){return null!=e&&iH(e.length)&&!i$(e)}function iM(e){return iW(e)&&iL(e)}var iD=tX||aY,iB=tn?tI(tn):function(e){return iW(e)&&nY(e)==h};function iz(e){if(!iW(e))return!1;var t=nY(e);return t==m||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!iQ(e)}function i$(e){if(!iq(e))return!1;var t=nY(e);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iU(e){return"number"==typeof e&&e==i8(e)}function iH(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function iq(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function iW(e){return null!=e&&"object"==typeof e}var iV=tr?tI(tr):function(e){return iW(e)&&om(e)==v};function iK(e){return"number"==typeof e||iW(e)&&nY(e)==b}function iQ(e){if(!iW(e)||nY(e)!=k)return!1;var t=eU(e);if(null===t)return!0;var n=eI.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eR.call(n)==eF}var iG=to?tI(to):function(e){return iW(e)&&nY(e)==w},iY=ti?tI(ti):function(e){return iW(e)&&om(e)==_};function iX(e){return"string"==typeof e||!iN(e)&&iW(e)&&nY(e)==S}function iJ(e){return"symbol"==typeof e||iW(e)&&nY(e)==O}var i1=ta?tI(ta):function(e){return iW(e)&&iH(e.length)&&!!eX[nY(e)]},i0=r3(n7),i2=r3(function(e,t){return e<=t});function i3(e){if(!e)return[];if(iL(e))return iX(e)?tW(e):rB(e);if(e5&&e[e5])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[e5]());var t=om(e);return(t==v?tz:t==_?tH:ax)(e)}function i5(e){return e?(e=i4(e))===c||e===-c?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function i8(e){var t=i5(e),n=t%1;return t==t?n?t-n:t:0}function i6(e){return e?nP(i8(e),0,4294967295):0}function i4(e){if("number"==typeof e)return e;if(iJ(e))return u;if(iq(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=iq(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tR(e);var n=el.test(e);return n||ep.test(e)?e2(e.slice(2),n?2:8):eu.test(e)?u:+e}function i9(e){return rz(e,ad(e))}function i7(e){return null==e?"":rx(e)}var ae=rU(function(e,t){if(oS(t)||iL(t)){rz(t,ap(t),e);return}for(var n in t)eI.call(t,n)&&nj(e,n,t[n])}),at=rU(function(e,t){rz(t,ad(t),e)}),an=rU(function(e,t,n,r){rz(t,ad(t),e,r)}),ar=rU(function(e,t,n,r){rz(t,ap(t),e,r)}),ao=or(nI),ai=rf(function(e,t){e=e_(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&ok(t[0],t[1],i)&&(r=1);++n1),t}),rz(e,oi(e),n),r&&(n=nZ(n,7,ot));for(var o=t.length;o--;)r_(n,t[o]);return n}),ay=or(function(e,t){return null==e?{}:ra(e,t,function(t,n){return ac(e,n)})});function av(e,t){if(null==e)return{};var n=th(oi(e),function(e){return[e]});return t=ou(t),ra(e,n,function(e,n){return t(e,n[0])})}var ab=r4(ap),ak=r4(ad);function ax(e){return null==e?[]:tP(e,ap(e))}var aw=rV(function(e,t,n){return t=t.toLowerCase(),e+(n?a_(t):t)});function a_(e){return aR(i7(e).toLowerCase())}function aS(e){return(e=i7(e))&&e.replace(eh,tL).replace(eq,"")}var aO=rV(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),aE=rV(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),aj=rW("toLowerCase"),aT=rV(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),aC=rV(function(e,t,n){return e+(n?" ":"")+aR(t)}),aA=rV(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),aR=rW("toUpperCase");function aI(e,t,n){if(e=i7(e),t=n?o:t,o===t){var r;return(r=e,eQ.test(r))?e.match(eV)||[]:e.match(eo)||[]}return e.match(t)||[]}var aP=rf(function(e,t){try{return ts(e,o,t)}catch(e){return iz(e)?e:new ek(e)}}),aZ=or(function(e,t){return tu(t,function(t){nR(e,t=oF(t),ik(e[t],e))}),e});function aN(e){return function(){return e}}var aF=rG(),aL=rG(!0);function aM(e){return e}function aD(e){return n4("function"==typeof e?e:nZ(e,1))}var aB=rf(function(e,t){return function(n){return n2(n,e,t)}}),az=rf(function(e,t){return function(n){return n2(e,n,t)}});function a$(e,t,n){var r=ap(t),o=nK(t,r);null!=n||iq(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=nK(t,ap(t)));var i=!(iq(n)&&"chain"in n)||!!n.chain,a=i$(e);return tu(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=rB(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,tm([this.value()],arguments))})}),e}function aU(){}var aH=r1(th),aq=r1(tl),aW=r1(tv);function aV(e){return ox(e)?tE(oF(e)):function(t){return nQ(t,e)}}var aK=r2(),aQ=r2(!0);function aG(){return[]}function aY(){return!1}var aX=rJ(function(e,t){return e+t},0),aJ=r8("ceil"),a1=rJ(function(e,t){return e/t},1),a0=r8("floor"),a2=rJ(function(e,t){return e*t},1),a3=r8("round"),a5=rJ(function(e,t){return e-t},0);return nh.after=function(e,t){if("function"!=typeof t)throw new eE(i);return e=i8(e),function(){if(--e<1)return t.apply(this,arguments)}},nh.ary=iv,nh.assign=ae,nh.assignIn=at,nh.assignInWith=an,nh.assignWith=ar,nh.at=ao,nh.before=ib,nh.bind=ik,nh.bindAll=aZ,nh.bindKey=ix,nh.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return iN(e)?e:[e]},nh.chain=it,nh.chunk=function(e,t,n){t=(n?ok(e,t,n):o===t)?1:t2(i8(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,s=ev(tj(r/t));ii?0:i+n),(r=o===r||r>i?i:i8(r))<0&&(r+=i),r=n>r?0:i6(r);n>>0)?(e=i7(e))&&("string"==typeof t||null!=t&&!iG(t))&&!(t=rx(t))&&tB(e)?rI(tW(e),0,n):e.split(t,n):[]},nh.spread=function(e,t){if("function"!=typeof e)throw new eE(i);return t=null==t?0:t2(i8(t),0),rf(function(n){var r=n[t],o=rI(n,0,t);return r&&tm(o,r),ts(e,this,o)})},nh.tail=function(e){var t=null==e?0:e.length;return t?rm(e,1,t):[]},nh.take=function(e,t,n){return e&&e.length?rm(e,0,(t=n||o===t?1:i8(t))<0?0:t):[]},nh.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?rm(e,(t=r-(t=n||o===t?1:i8(t)))<0?0:t,r):[]},nh.takeRightWhile=function(e,t){return e&&e.length?rO(e,ou(t,3),!1,!0):[]},nh.takeWhile=function(e,t){return e&&e.length?rO(e,ou(t,3)):[]},nh.tap=function(e,t){return t(e),e},nh.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new eE(i);return iq(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),iw(e,t,{leading:r,maxWait:t,trailing:o})},nh.thru=ir,nh.toArray=i3,nh.toPairs=ab,nh.toPairsIn=ak,nh.toPath=function(e){return iN(e)?th(e,oF):iJ(e)?[e]:rB(oN(i7(e)))},nh.toPlainObject=i9,nh.transform=function(e,t,n){var r=iN(e),o=r||iD(e)||i1(e);if(t=ou(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:iq(e)&&i$(i)?nm(eU(e)):{}}return(o?tu:nW)(e,function(e,r,o){return t(n,e,r,o)}),n},nh.unary=function(e){return iv(e,1)},nh.union=o1,nh.unionBy=o0,nh.unionWith=o2,nh.uniq=function(e){return e&&e.length?rw(e):[]},nh.uniqBy=function(e,t){return e&&e.length?rw(e,ou(t,2)):[]},nh.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?rw(e,o,t):[]},nh.unset=function(e,t){return null==e||r_(e,t)},nh.unzip=o3,nh.unzipWith=o5,nh.update=function(e,t,n){return null==e?e:rS(e,t,rA(n))},nh.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:rS(e,t,rA(n),r)},nh.values=ax,nh.valuesIn=function(e){return null==e?[]:tP(e,ad(e))},nh.without=o8,nh.words=aI,nh.wrap=function(e,t){return iT(rA(t),e)},nh.xor=o6,nh.xorBy=o4,nh.xorWith=o9,nh.zip=o7,nh.zipObject=function(e,t){return rT(e||[],t||[],nj)},nh.zipObjectDeep=function(e,t){return rT(e||[],t||[],rp)},nh.zipWith=ie,nh.entries=ab,nh.entriesIn=ak,nh.extend=at,nh.extendWith=an,a$(nh,nh),nh.add=aX,nh.attempt=aP,nh.camelCase=aw,nh.capitalize=a_,nh.ceil=aJ,nh.clamp=function(e,t,n){return o===n&&(n=t,t=o),o!==n&&(n=(n=i4(n))==n?n:0),o!==t&&(t=(t=i4(t))==t?t:0),nP(i4(e),t,n)},nh.clone=function(e){return nZ(e,4)},nh.cloneDeep=function(e){return nZ(e,5)},nh.cloneDeepWith=function(e,t){return nZ(e,5,t="function"==typeof t?t:o)},nh.cloneWith=function(e,t){return nZ(e,4,t="function"==typeof t?t:o)},nh.conformsTo=function(e,t){return null==t||nN(e,t,ap(t))},nh.deburr=aS,nh.defaultTo=function(e,t){return null==e||e!=e?t:e},nh.divide=a1,nh.endsWith=function(e,t,n){e=i7(e),t=rx(t);var r=e.length,i=n=o===n?r:nP(i8(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},nh.eq=iR,nh.escape=function(e){return(e=i7(e))&&H.test(e)?e.replace($,tM):e},nh.escapeRegExp=function(e){return(e=i7(e))&&X.test(e)?e.replace(Y,"\\$&"):e},nh.every=function(e,t,n){var r=iN(e)?tl:nB;return n&&ok(e,t,n)&&(t=o),r(e,ou(t,3))},nh.find=ia,nh.findIndex=o$,nh.findKey=function(e,t){return tk(e,ou(t,3),nW)},nh.findLast=is,nh.findLastIndex=oU,nh.findLastKey=function(e,t){return tk(e,ou(t,3),nV)},nh.floor=a0,nh.forEach=ic,nh.forEachRight=iu,nh.forIn=function(e,t){return null==e?e:nH(e,ou(t,3),ad)},nh.forInRight=function(e,t){return null==e?e:nq(e,ou(t,3),ad)},nh.forOwn=function(e,t){return e&&nW(e,ou(t,3))},nh.forOwnRight=function(e,t){return e&&nV(e,ou(t,3))},nh.get=as,nh.gt=iI,nh.gte=iP,nh.has=function(e,t){return null!=e&&og(e,t,nJ)},nh.hasIn=ac,nh.head=oq,nh.identity=aM,nh.includes=function(e,t,n,r){e=iL(e)?e:ax(e),n=n&&!r?i8(n):0;var o=e.length;return n<0&&(n=t2(o+n,0)),iX(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&tw(e,t,n)>-1},nh.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=null==n?0:i8(n);return o<0&&(o=t2(r+o,0)),tw(e,t,o)},nh.inRange=function(e,t,n){var r,i,a;return t=i5(t),o===n?(n=t,t=0):n=i5(n),(r=e=i4(e))>=t3(i=t,a=n)&&r=-9007199254740991&&e<=9007199254740991},nh.isSet=iY,nh.isString=iX,nh.isSymbol=iJ,nh.isTypedArray=i1,nh.isUndefined=function(e){return o===e},nh.isWeakMap=function(e){return iW(e)&&om(e)==E},nh.isWeakSet=function(e){return iW(e)&&"[object WeakSet]"==nY(e)},nh.join=function(e,t){return null==e?"":t1.call(e,t)},nh.kebabCase=aO,nh.last=oQ,nh.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=r;return o!==n&&(i=(i=i8(n))<0?t2(r+i,0):t3(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--&&e[r]!==t;);return r}(e,t,i):tx(e,tS,i,!0)},nh.lowerCase=aE,nh.lowerFirst=aj,nh.lt=i0,nh.lte=i2,nh.max=function(e){return e&&e.length?nz(e,aM,nX):o},nh.maxBy=function(e,t){return e&&e.length?nz(e,ou(t,2),nX):o},nh.mean=function(e){return tO(e,aM)},nh.meanBy=function(e,t){return tO(e,ou(t,2))},nh.min=function(e){return e&&e.length?nz(e,aM,n7):o},nh.minBy=function(e,t){return e&&e.length?nz(e,ou(t,2),n7):o},nh.stubArray=aG,nh.stubFalse=aY,nh.stubObject=function(){return{}},nh.stubString=function(){return""},nh.stubTrue=function(){return!0},nh.multiply=a2,nh.nth=function(e,t){return e&&e.length?ro(e,i8(t)):o},nh.noConflict=function(){return e8._===this&&(e8._=eL),this},nh.noop=aU,nh.now=iy,nh.pad=function(e,t,n){e=i7(e);var r=(t=i8(t))?tq(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return r0(tG(o),n)+e+r0(tj(o),n)},nh.padEnd=function(e,t,n){e=i7(e);var r=(t=i8(t))?tq(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=t6();return t3(e+i*(t-e+e0("1e-"+((i+"").length-1))),t)}return ru(e,t)},nh.reduce=function(e,t,n){var r=iN(e)?tg:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nM)},nh.reduceRight=function(e,t,n){var r=iN(e)?ty:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nD)},nh.repeat=function(e,t,n){return t=(n?ok(e,t,n):o===t)?1:i8(t),rl(i7(e),t)},nh.replace=function(){var e=arguments,t=i7(e[0]);return e.length<3?t:t.replace(e[1],e[2])},nh.result=function(e,t,n){t=rR(t,e);var r=-1,i=t.length;for(i||(i=1,e=o);++r9007199254740991)return[];var n=4294967295,r=t3(e,4294967295);t=ou(t),e-=4294967295;for(var o=tA(r,t);++n=a)return e;var c=n-tq(r);if(c<1)return r;var u=s?rI(s,0,c).join(""):e.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),iG(i)){if(e.slice(c).search(i)){var l,f=u;for(i.global||(i=eS(i.source,i7(ec.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;u=u.slice(0,o===p?c:p)}}else if(e.indexOf(rx(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},nh.unescape=function(e){return(e=i7(e))&&U.test(e)?e.replace(z,tK):e},nh.uniqueId=function(e){var t=++eP;return i7(e)+t},nh.upperCase=aA,nh.upperFirst=aR,nh.each=ic,nh.eachRight=iu,nh.first=oq,a$(nh,(ey={},nW(nh,function(e,t){eI.call(nh.prototype,t)||(ey[t]=e)}),ey),{chain:!1}),nh.VERSION="4.17.21",tu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){nh[e].placeholder=nh}),tu(["drop","take"],function(e,t){nv.prototype[e]=function(n){n=o===n?1:t2(i8(n),0);var r=this.__filtered__&&!t?new nv(this):this.clone();return r.__filtered__?r.__takeCount__=t3(n,r.__takeCount__):r.__views__.push({size:t3(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},nv.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tu(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;nv.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ou(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),tu(["head","last"],function(e,t){var n="take"+(t?"Right":"");nv.prototype[e]=function(){return this[n](1).value()[0]}}),tu(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");nv.prototype[e]=function(){return this.__filtered__?new nv(this):this[n](1)}}),nv.prototype.compact=function(){return this.filter(aM)},nv.prototype.find=function(e){return this.filter(e).head()},nv.prototype.findLast=function(e){return this.reverse().find(e)},nv.prototype.invokeMap=rf(function(e,t){return"function"==typeof e?new nv(this):this.map(function(n){return n2(n,e,t)})}),nv.prototype.reject=function(e){return this.filter(iE(ou(e)))},nv.prototype.slice=function(e,t){e=i8(e);var n=this;return n.__filtered__&&(e>0||t<0)?new nv(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),o!==t&&(n=(t=i8(t))<0?n.dropRight(-t):n.take(t-e)),n)},nv.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nv.prototype.toArray=function(){return this.take(4294967295)},nW(nv.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=nh[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(nh.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof nv,u=s[0],l=c||iN(t),f=function(e){var t=i.apply(nh,tm([e],s));return r&&p?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,m=c&&!d;if(!a&&l){t=m?t:new nv(this);var g=e.apply(t,s);return g.__actions__.push({func:ir,args:[f],thisArg:o}),new ny(g,p)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),tu(["pop","push","shift","sort","splice","unshift"],function(e){var t=ej[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);nh.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(iN(o)?o:[],e)}return this[n](function(n){return t.apply(iN(n)?n:[],e)})}}),nW(nv.prototype,function(e,t){var n=nh[t];if(n){var r=n.name+"";eI.call(ni,r)||(ni[r]=[]),ni[r].push({name:t,func:n})}}),ni[rY(o,2).name]=[{name:"wrapper",func:o}],nv.prototype.clone=function(){var e=new nv(this.__wrapped__);return e.__actions__=rB(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rB(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rB(this.__views__),e},nv.prototype.reverse=function(){if(this.__filtered__){var e=new nv(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},nv.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=iN(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}},nh.prototype.plant=function(e){for(var t,n=this;n instanceof ng;){var r=oM(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},nh.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof nv){var t=e;return this.__actions__.length&&(t=new nv(this)),(t=t.reverse()).__actions__.push({func:ir,args:[oJ],thisArg:o}),new ny(t,this.__chain__)}return this.thru(oJ)},nh.prototype.toJSON=nh.prototype.valueOf=nh.prototype.value=function(){return rE(this.__wrapped__,this.__actions__)},nh.prototype.first=nh.prototype.head,e5&&(nh.prototype[e5]=function(){return this}),nh}();e8._=tQ,o!==(r=(function(){return tQ}).call(t,n,t,e))&&(e.exports=r)}).call(this)},61100:function(e,t,n){var r=n(37772);e.exports=function(){return r.Date.now()}},12436:function(e,t,n){var r=n(54073),o=n(29259);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},7642:function(e,t,n){var r=n(51704),o=n(29259),i=n(4795),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?a:+e}},36954:function(e,t,n){var r,o=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=a%256}return n},decompressFromUint8Array:function(t){if(null==t)return i.decompress(t);for(var n=Array(t.length/2),r=0,o=n.length;rl.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++),a[u]=p++,l=String(c)}if(""!==l){if(Object.prototype.hasOwnProperty.call(s,l)){if(256>l.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++)}for(r=0,o=2;r>=1;for(;;){if(m<<=1,g==t-1){h.push(n(m));break}g++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:i._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,n,r){var o,i,a,s,c,u,l,f=[],p=4,d=4,h=3,m="",g=[],y={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;for(a=0,c=4,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 2:return""}for(f[3]=l,i=l,g.push(l);;){if(y.index>t)return"";for(a=0,c=Math.pow(2,h),u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(l=a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 2:return g.join("")}if(0==p&&(p=Math.pow(2,h),h++),f[l])m=f[l];else{if(l!==d)return null;m=i+i.charAt(0)}g.push(m),f[d++]=i+m.charAt(0),p--,i=m,0==p&&(p=Math.pow(2,h),h++)}}};return i}();void 0!==(r=(function(){return o}).call(t,n,t,e))&&(e.exports=r)},92307:function(e){var t;t=function(){"use strict";var e={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},t=Array.prototype.slice;function n(e){var n=e.length;return n?1===n?[e[0]]:2===n?[e[0],e[1]]:3===n?[e[0],e[1],e[2]]:t.call(e,0):[]}function r(e,t){return e===t||e!=e&&t!=t}function o(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}var i=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:n(this.keys),size:this.size,values:n(this.values)}},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,n=t.isMatchingKey,r=t.maxSize,o=this.keys,i=o.length;if(!i)return -1;if(n(o[0],e))return 0;if(r>1){for(var a=1;a1){for(var s=0;s1){for(var i=0;i=s&&(r.length=o.length=s)},e.prototype.updateAsyncCache=function(e){var t=this,n=this.options,r=n.onCacheChange,o=n.onCacheHit,i=this.keys[0],a=this.values[0];this.values[0]=a.then(function(n){return t.shouldUpdateOnHit&&o(t,t.options,e),t.shouldUpdateOnChange&&r(t,t.options,e),n},function(e){var n=t.getKeyIndex(i);throw -1!==n&&(t.keys.splice(n,1),t.values.splice(n,1)),e})},e}();return function t(a,s){if(void 0===s&&(s={}),"function"==typeof a&&a.isMemoized)return t(a.fn,o(a.options,s));if("function"!=typeof a)throw TypeError("You must pass a function to `memoize`.");var c=s.isEqual,u=s.isMatchingKey,l=s.isPromise,f=void 0!==l&&l,p=s.maxSize,d=s.onCacheAdd,h=s.onCacheChange,m=s.onCacheHit,g=s.transformKey,y=o({isEqual:void 0===c?r:c,isMatchingKey:u,isPromise:f,maxSize:void 0===p?1:p,onCacheAdd:d,onCacheChange:h,onCacheHit:m,transformKey:g},function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}(s)),v=new i(y),b=v.keys,k=v.values,x=v.canTransformKey,w=v.shouldCloneArguments,_=v.shouldUpdateOnAdd,S=v.shouldUpdateOnChange,O=v.shouldUpdateOnHit,E=function(){var e=w?n(arguments):arguments;x&&(e=g(e));var t=b.length?v.getKeyIndex(e):-1;if(-1!==t)O&&m(v,y,E),t&&(v.orderByLru(b[t],k[t],t),S&&h(v,y,E));else{var r=a.apply(this,arguments),o=w?e:n(arguments);v.orderByLru(o,r,b.length),f&&v.updateAsyncCache(E),_&&d(v,y,E),S&&h(v,y,E)}return k[0]};return E.cache=v,E.fn=a,E.isMemoized=!0,E.options=y,E}},e.exports=t()},12041:function(e,t,n){e.exports=n(37911)},9936:function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return p},ACTION_NAVIGATE:function(){return c},ACTION_PREFETCH:function(){return f},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return a},PrefetchKind:function(){return i},isThenable:function(){return h}});var r,o,i,a,s="refresh",c="navigate",u="restore",l="server-patch",f="prefetch",p="fast-refresh",d="server-action";function h(e){return e&&("object"===n(e)||"function"==typeof e)&&"function"==typeof e.then}(r=i||(i={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",(o=a||(a={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"===n(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2101:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}}),n(29042),("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5403:function(e,t,n){"use strict";var r=["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"];function o(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 i(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function l(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});var f=n(43219),p=n(52322),d=f._(n(2784)),h=n(92313),m=n(28962),g=n(12697),y=n(73053),v=n(38284),b=n(34274),k=n(26637),x=n(34530),w=n(2101),_=n(96984),S=n(9936),O=new Set;function E(e,t,n,r,o,i){if(i||(0,m.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){var a,s,c=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(O.has(c))return;O.add(c)}(a=u().mark(function a(){return u().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!i){a.next=4;break}return a.abrupt("return",e.prefetch(t,o));case 4:return a.abrupt("return",e.prefetch(t,n,r));case 5:case"end":return a.stop()}},a)}),s=function(){var e=this,t=arguments;return new Promise(function(n,r){var o=a.apply(e,t);function i(e){l(o,n,r,i,s,"next",e)}function s(e){l(o,n,r,i,s,"throw",e)}i(void 0)})},function(){return s.apply(this,arguments)})().catch(function(e){})}}function j(e){return"string"==typeof e?e:(0,g.formatUrl)(e)}var T=d.default.forwardRef(function(e,t){var n,o,s=e.href,u=e.as,l=e.children,f=e.prefetch,g=void 0===f?null:f,O=e.passHref,T=e.replace,C=e.shallow,A=e.scroll,R=e.locale,I=e.onClick,P=e.onMouseEnter,Z=e.onTouchStart,N=e.legacyBehavior,F=void 0!==N&&N,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,r);n=l,F&&("string"==typeof n||"number"==typeof n)&&(n=(0,p.jsx)("a",{children:n}));var M=d.default.useContext(b.RouterContext),D=d.default.useContext(k.AppRouterContext),B=null!=M?M:D,z=!M,$=!1!==g,U=null===g?S.PrefetchKind.AUTO:S.PrefetchKind.FULL,H=d.default.useMemo(function(){if(!M){var e=j(s);return{href:e,as:u?j(u):e}}var t=a((0,h.resolveHref)(M,s,!0),2),n=t[0],r=t[1];return{href:n,as:u?(0,h.resolveHref)(M,u):r||n}},[M,s,u]),q=H.href,W=H.as,V=d.default.useRef(q),K=d.default.useRef(W);F&&(o=d.default.Children.only(n));var Q=F?o&&"object"===c(o)&&o.ref:t,G=a((0,x.useIntersection)({rootMargin:"200px"}),3),Y=G[0],X=G[1],J=G[2],ee=d.default.useCallback(function(e){(K.current!==W||V.current!==q)&&(J(),K.current=W,V.current=q),Y(e),Q&&("function"==typeof Q?Q(e):"object"===c(Q)&&(Q.current=e))},[W,Q,q,J,Y]);d.default.useEffect(function(){B&&X&&$&&E(B,q,W,{locale:R},{kind:U},z)},[W,q,X,R,$,null==M?void 0:M.locale,B,z,U]);var et={ref:ee,onClick:function(e){F||"function"!=typeof I||I(e),F&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),B&&!e.defaultPrevented&&function(e,t,n,r,o,i,a,s,c){if(!("A"===e.currentTarget.nodeName.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which||!c&&!(0,m.isLocalURL)(n)))){e.preventDefault();var u,l=function(){var e=null==a||a;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?d.default.startTransition(l):l()}}(e,B,q,W,T,C,A,R,z)},onMouseEnter:function(e){F||"function"!=typeof P||P(e),F&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)},onTouchStart:function(e){F||"function"!=typeof Z||Z(e),F&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)}};if((0,y.isAbsoluteUrl)(W))et.href=W;else if(!F||O||"a"===o.type&&!("href"in o.props)){var en=void 0!==R?R:null==M?void 0:M.locale,er=(null==M?void 0:M.isLocaleDomain)&&(0,w.getDomainLocale)(W,en,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);et.href=er||(0,_.addBasePath)((0,v.addLocale)(W,en,null==M?void 0:M.defaultLocale))}return F?d.default.cloneElement(o,et):(0,p.jsx)("a",i(i(i({},L),et),{},{children:n}))});("function"==typeof t.default||"object"===c(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34530:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0;t&&n&&t(n)})},e),elements:o},u.push(n),c.set(n,t),t}({root:null==n?void 0:n.current,rootMargin:r})).id,i=t.observer,(f=t.elements).set(m,e),i.observe(m),function(){if(f.delete(m),i.unobserve(m),0===f.size){i.disconnect(),c.delete(o);var e=u.findIndex(function(e){return e.root===o.root&&e.margin===o.margin});e>-1&&u.splice(e,1)}}}}else if(!p){var g=(0,a.requestIdleCallback)(function(){return d(!0)});return function(){return(0,a.cancelIdleCallback)(g)}}},[l,r,n,p,h.current]),[m,p,(0,i.useCallback)(function(){d(!1)},[])]}("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37911:function(e,t,n){"use strict";function r(){r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function p(t,n,r,o){var i,s,c=Object.create((n&&n.prototype instanceof v?n:v).prototype);return a(c,"_invoke",{value:(i=new C(o||[]),s=h,function(n,o){if(s===m)throw Error("Generator is already running");if(s===g){if("throw"===n)throw o;return{value:e,done:!0}}for(i.method=n,i.arg=o;;){var a=i.delegate;if(a){var c=function t(n,r){var o=r.method,i=n.iterator[o];if(i===e)return r.delegate=null,"throw"===o&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+o+"' method")),y;var a=d(i,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var s=a.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,y)}(a,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(s===h)throw s=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);s=m;var u=d(t,r,i);if("normal"===u.type){if(s=i.done?g:"suspendedYield",u.arg===y)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(s=g,i.method="throw",i.arg=u.arg)}})}),c}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",m="executing",g="completed",y={};function v(){}function b(){}function k(){}var x={};f(x,c,function(){return this});var w=Object.getPrototypeOf,_=w&&w(w(A([])));_&&_!==n&&i.call(_,c)&&(x=_);var S=k.prototype=v.prototype=Object.create(x);function O(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){var n;a(this,"_invoke",{value:function(r,a){function s(){return new t(function(n,s){!function n(r,a,s,c){var u=d(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&i.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,s,c)},function(e){n("throw",e,s,c)}):t.resolve(f).then(function(e){l.value=e,s(l)},function(e){return n("throw",e,s,c)})}c(u.arg)}(r,a,n,s)})}return n=n?n.then(s,s):s()}})}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function A(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(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 a(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});var l=n(43219),f=n(52322),p=l._(n(2784)),d=n(73053);function h(e){return m.apply(this,arguments)}function m(){var e;return e=r().mark(function e(t){var n,o,i;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.Component,o=t.ctx,e.next=3,(0,d.loadGetInitialProps)(n,o);case 3:return i=e.sent,e.abrupt("return",{pageProps:i});case 5:case"end":return e.stop()}},e)}),(m=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var g=function(e){var t;function n(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),e=n,t=arguments,e=s(e),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?e.apply(this,t):Reflect.construct(e,t||[],s(this).constructor))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(n,e),t=[{key:"render",value:function(){var e=this.props,t=e.Component,n=e.pageProps;return(0,f.jsx)(t,function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,x()),function(n){var r,o,i=(n||{}).queryHook,a=void 0===i?w:i;return{$$type:"ais.searchBox",init:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("query",void 0)},getRenderState:function(e,t){return k(k({},e),{},{searchBox:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.helper,i=e.instantSearchInstance,s=e.state;return r||(r=function(e){a(e,function(e){return t.setQuery(e).search()})},o=function(){t.setQuery("").search()}),{query:s.query||"",refine:r,clear:o,widgetParams:n,isSearchStalled:"stalled"===i.status}},getWidgetUiState:function(e,t){var n=t.searchParameters.query||"";return""===n||e&&e.query===n?e:k(k({},e),{},{query:n})},getWidgetSearchParameters:function(e,t){var n=t.uiState;return e.setQueryParameter("query",n.query||"")}}}},S=n(47493),O=["onChange"];function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,O),a=(n={queryHook:T},(0,S.B)(_,n,void 0)),s=a.query,c=a.refine,u=a.clear,f=a.isSearchStalled,p=function(e){if(Array.isArray(e))return e}(r=(0,l.useState)(s))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(r,2)||function(e,t){if(e){if("string"==typeof e)return j(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),m=p[0],g=p[1],y=(0,l.useCallback)(function(e){var t=e.currentTarget.value;g(t),c(t)},[c]),v=(0,l.useCallback)(function(){g(""),u()},[u]);return l.createElement(d.Z,E({ref:t,isLoading:f,value:m,onChange:(0,h.N)(o,y),onClearInput:v},i))});C.displayName="InstantSearchInput";var A=n(40596),R=n(85017),I=n(61619),P=n(73645),Z=n(70758),N=n(35306),F=n(47438),L=n(5081),M=n(76635),D=n.n(M),B=n(78141),z=n.n(B),$=n(53232),U=n(91106),H=n(73183),q=n(69419);function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=n-t?r-(n-e):t}},{key:"isLastPage",value:function(){return this.currentPage===this.total-1||0===this.total}},{key:"isFirstPage",value:function(){return 0===this.currentPage}}],function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,ed()),function(n){var r=n||{},o=r.totalPages,i=r.padding,a=new eu({currentPage:0,total:0,padding:void 0===i?3:i}),s={};return{$$type:"ais.pagination",init:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("page",void 0)},getWidgetUiState:function(e,t){var n=t.searchParameters.page||0;return n?ep(ep({},e),{},{page:n+1}):e},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=n.page?n.page-1:0;return e.setQueryParameter("page",r)},getWidgetRenderState:function(e){var t,r=e.results,i=e.helper,c=e.state,u=e.createURL;s.refine||(s.refine=function(e){i.setPage(e),i.search()}),s.createURL||(s.createURL=function(e){return u(function(t){return ep(ep({},t),{},{page:e+1})})});var l=c.page||0,f=(t=(r||{nbPages:0}).nbPages,void 0!==o?Math.min(o,t):t);return a.currentPage=l,a.total=f,{createURL:s.createURL,refine:s.refine,canRefine:f>1,currentRefinement:l,nbHits:(null==r?void 0:r.nbHits)||0,nbPages:f,pages:r?a.pages():[],isFirstPage:a.isFirstPage(),isLastPage:a.isLastPage(),widgetParams:n}},getRenderState:function(e,t){return ep(ep({},e),{},{pagination:this.getWidgetRenderState(t)})}}}};function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},x=k.catchError,w=(0,$.z)(),_=(e=(0,$.z)(),n=(t=(0,q.a)()).getIndexId(),o=(r=V((0,l.useState)(function(){return e.getUiState()}),2))[0],i=r[1],a=o[n],c=(s=V((0,l.useState)(function(){return e.renderState}),2))[0],u=s[1],f=c[n]||{},p=(0,l.useCallback)(function(t){e.setUiState(t)},[e]),d=(0,l.useCallback)(function(e){t.setIndexUiState(e)},[t]),(0,l.useEffect)(function(){function t(){i(e.getUiState()),u(e.renderState)}return e.addListener("render",t),function(){e.removeListener("render",t)}},[e]),{uiState:o,setUiState:p,indexUiState:a,setIndexUiState:d,renderState:c,indexRenderState:f}),S=_.uiState,O=_.setUiState,E=_.indexUiState,j=_.setIndexUiState,T=_.renderState,C=_.indexRenderState,A=(h=(0,$.z)(),m=(0,q.a)(),v=(y=function(e){if(Array.isArray(e))return e}(g=(0,l.useState)(function(){return(0,H.E)(m)}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(g,2)||function(e,t){if(e){if("string"==typeof e)return W(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(e,2)}}(g,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],b=y[1],(0,l.useEffect)(function(){function e(){var e=m.getResults();null!==e&&b({results:e,scopedResults:m.getScopedResults()})}return h.addListener("render",e),function(){h.removeListener("render",e)}},[h,m]),v),R=A.results,I=A.scopedResults,P=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n0&&0===i.nbHits)return l.createElement(I.Z,{spacing:"4x",py:"10x"},l.createElement(Z.Z,{textAlign:"center"},'No results found for "',i.query,'"'));var p=Object.entries(D().chain(i.hits).orderBy("data.title").groupBy("parent.title").value());return l.createElement(l.Fragment,null,l.createElement(I.Z,{flex:"1",px:"3x",py:"2x",overflowY:"auto"},p.map(function(e){var n=ey(e,2),o=n[0],i=n[1];return l.createElement(c.Z,{key:o},l.createElement(c.Z,{my:"2x"},l.createElement(Z.Z,{color:r.color.secondary},o)),(0,L.rY)(i).map(function(e){var n,r,i,a,s,f=null===(n=D().find(Q._,{title:o}))||void 0===n?void 0:n.icon,p=(0,L.rY)(null==e?void 0:null===(r=e._highlightResult)||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:null===(a=i.title)||void 0===a?void 0:a.matchedWords),d=(0,L.Zs)(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.title);return l.createElement(c.Z,{key:e.objectID},l.createElement(en,{href:"/".concat(e.data.path),onClick:function(){t(e)}},f&&l.createElement(f,{size:"6x"}),l.createElement(z(),{searchWords:p,highlightTag:"mark",textToHighlight:d,highlightStyle:{backgroundColor:"rgba(0, 116, 255, 0.8)",color:"rgba(255, 255, 255, .92)"}})),l.createElement(u.Z,{my:"2x"}))}))})),i.nbPages>1&&l.createElement(l.Fragment,null,l.createElement(u.Z,null),l.createElement(P.Z,{my:"3x",justifyContent:"center"},l.createElement(eg,null))))};eb.displayName="InstantSearchRefinementList";var ek=["onClose"];function ex(){return(ex=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ek),h=(0,o.u)(),m=(0,f.Z)();return l.createElement(i.Z,ex({ref:t,autoFocus:!0,ensureFocus:!0,closeOnEsc:!0,closeOnOutsideClick:!0,isOpen:!0,onClose:n,size:"md"},d),l.createElement(r.xB,{styles:ew}),l.createElement(a.Z,null),l.createElement(s.Z,{marginTop:"12x",maxHeight:"calc(100vh - ".concat(null==h?void 0:h.space["12x"]," - ").concat(null==h?void 0:h.space["12x"],")"),minHeight:null},l.createElement(c.Z,{p:"4x"},l.createElement(C,{size:"lg",placeholder:"Search...",onChange:function(e){m("InstantSearch","change_search_input",e.target.value)}})),l.createElement(u.Z,null),l.createElement(eb,{onChange:function(e){var t=(null==e?void 0:null===(o=e.parent)||void 0===o?void 0:o.title)||"",r=(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.title)||"";if(m("InstantSearch","click_search_result",(0,p.Z)({path:"/".concat(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.path),title:[t,r].join(" > ")})),t){var o,i,a,s,c=document.querySelector("#sidenav button[data-title=".concat((0,p.Z)(t),"]"));if((null==c?void 0:null===(s=c.dataset)||void 0===s?void 0:s.expanded)==="false"){var u=new MouseEvent("click",{bubbles:!0,cancelable:!0});c.dispatchEvent(u)}}n()}})))});e_.displayName="InstantSearchModal";var eS=e_},44525:function(e,t,n){"use strict";var r=n(40596),o=n(85017),i=n(83513),a=n(73645),s=n(70758),c=n(21407),u=n(2784),l=["children"];function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,l),h=p((0,r.Z)(),1)[0],m=p((0,o.Z)({colorMode:h}),1)[0];return u.createElement(i.Z,f({ref:t,display:"flex",alignItems:"center",justifyContent:"space-between",color:m.color.primary,border:1,borderColor:{dark:"gray:60",light:"gray:30"}[h],borderRadius:"sm",_focus:{borderColor:{dark:"blue:60",light:"blue:60"}[h]},_hover:{borderColor:{dark:"blue:50",light:"blue:50"}[h]},fontSize:"sm",lineHeight:"sm",px:"3x",height:"8x",minWidth:{sm:34,md:200},transition:"min-width 0.2s"},d),u.createElement(a.Z,{alignItems:"center",columnGap:"2x"},u.createElement(c.Z,null),u.createElement(s.Z,{display:{sm:"none",md:"block"},color:m.color.secondary},n)))});h.displayName="SearchButton",t.Z=h},92011:function(e,t,n){"use strict";n.d(t,{_:function(){return b}});var r=n(70758),o=n(99870),i=n(4409),a=n(57805),s=n(91112),c=n(34323),u=n(95530),l=n(44152),f=n(37384),p=n(18247),d=n(85409),h=n(84668),m=n(30047),g=n(2784);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}},n=t.fallback;return"undefined"==typeof window?n():e({window:window})}var T=n(53449);function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(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 R(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,n=e.insightsInitParams,r=e.onEvent,o=e.$$internal,i=void 0!==o&&o,a=e.$$automatic,s=void 0!==a&&a,c=t;t||null===t||j(function(e){var t=e.window,n=t.AlgoliaAnalyticsObject||"aa";"string"==typeof n&&(c=t[n]),c||(t.AlgoliaAnalyticsObject=n,t[n]||(t[n]=function(){t[n].queue||(t[n].queue=[]);for(var e=arguments.length,r=Array(e),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=D(e);if(n){var r=o.state.userToken;t?i():setTimeout(i,0)}function i(){o.overrideStateWithoutTriggeringChangeEvent(R(R({},o.state),{},{userToken:n})),r&&r!==e&&a.scheduleSearch()}},n=function(e){if(("undefined"==typeof document?"undefined":E(document))==="object"&&"string"==typeof document.cookie)for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r=3||2===n&&r>=6||1===n&&r>=10}function D(e){if(e)return"number"==typeof e?e.toString():e}function B(e,t,n){var r=t.getHelper();return{uiState:n,helper:r,parent:t,instantSearchInstance:e,state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function z(e,t){var n=t.getResults(),r=t.getHelper();return{helper:r,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n?n._state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}var $=n(19126);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t,n){return(t=q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e){var t=function(e,t){if("object"!==U(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==U(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===U(t)?t:String(t)}var W=function(e){e&&(window.document.title=e)},V=function(){var e;function t(e){var n=this,r=e.windowTitle,o=e.writeDelay,i=e.createURL,a=e.parseURL,s=e.getLocation,c=e.start,u=e.dispose,l=e.push,f=e.cleanUrlOnDispose;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),H(this,"$$type","ais.browser"),H(this,"windowTitle",void 0),H(this,"writeDelay",void 0),H(this,"_createURL",void 0),H(this,"parseURL",void 0),H(this,"getLocation",void 0),H(this,"writeTimer",void 0),H(this,"_onPopState",void 0),H(this,"inPopState",!1),H(this,"isDisposed",!1),H(this,"latestAcknowledgedHistory",0),H(this,"_start",void 0),H(this,"_dispose",void 0),H(this,"_push",void 0),H(this,"_cleanUrlOnDispose",void 0),this.windowTitle=r,this.writeTimer=void 0,this.writeDelay=void 0===o?400:o,this._createURL=i,this.parseURL=a,this.getLocation=s,this._start=c,this._dispose=u,this._push=l,this._cleanUrlOnDispose=void 0===f||f,j(function(e){var t=e.window;W(n.windowTitle&&n.windowTitle(n.read())),n.latestAcknowledgedHistory=t.history.length})}return e=[{key:"read",value:function(){return this.parseURL({qsModule:$,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;j(function(n){var r=n.window,o=t.createURL(e),i=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){W(i),t.shouldWrite(o)&&(t._push?t._push(o):r.history.pushState(e,i||"",o),t.latestAcknowledgedHistory=r.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},j(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:$,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,j(function(t){var n=t.window;e._onPopState&&n.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return j(function(n){var r=n.window,o=!(t.isDisposed&&t.latestAcknowledgedHistory!==r.history.length);return!t.inPopState&&o&&e!==r.location.href})}}],function(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Q)}function ee(e){return e!==Object(e)}function et(e){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function en(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 er(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,n=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,n=void 0===t?function(e){var t=e.qsModule,n=e.routeState,r=e.location,o=r.protocol,i=r.hostname,a=r.port,s=void 0===a?"":a,c=r.pathname,u=r.hash,l=t.stringify(n),f=""===s?"":":".concat(s);return l?"".concat(o,"//").concat(i).concat(f).concat(c,"?").concat(l).concat(u):"".concat(o,"//").concat(i).concat(f).concat(c).concat(u)}:t,r=e.parseURL,o=e.writeDelay,i=e.windowTitle,a=e.getLocation;return new V({createURL:n,parseURL:void 0===r?function(e){var t=e.qsModule,n=e.location;return t.parse(n.search.slice(1),{arrayLimit:99})}:r,writeDelay:void 0===o?400:o,windowTitle:i,getLocation:void 0===a?function(){return j(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:a,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():t,r=e.stateMapping,o=void 0===r?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,n){return Y(Y({},t),{},X({},n,J(e[n])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){return Y(Y({},t),{},X({},n,J(e[n])))},{})}}:r,i=e.$$internal,a=void 0!==i&&i;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var r=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),i=Object.keys(e).reduce(function(t,n){return er(er({},t),{},eo({},n,e[n]))},r),a=o.stateToRoute(i);return n.createURL(a)};var r=void 0,i=t._initialUiState;return{$$type:"ais.router({router:".concat(n.$$type||"__unknown__",", stateMapping:").concat(o.$$type||"__unknown__","})"),$$internal:a,onStateChange:function(e){var t=e.uiState,i=o.stateToRoute(t);(void 0===r||!function e(t,n){if(t===n)return!0;if(ee(t)||ee(n)||"function"==typeof t||"function"==typeof n)return t===n;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r=0,o=Object.keys(t);r0&&t.setUiState(o.routeToState(e))})},started:function(){var e;null===(e=n.start)||void 0===e||e.call(n)},unsubscribe:function(){n.dispose()}}}},ea=n(20303);function es(e){return"ais.index"===e.$$type}function ec(e){return(ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var eu=["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"];function el(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 ef(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eu);return e.setQueryParameters(n)},ed=function(e,t){var n=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,n){return n.indexOf(e)===t});return n.length>0?e.setQueryParameters({ruleContexts:n}):e},eh=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,n){return!es(n)&&(n.getWidgetUiState||n.getWidgetState)?n.getWidgetUiState?n.getWidgetUiState(e,t):n.getWidgetState(e,t):e},n)}function eO(e,t){var n=t.initialSearchParameters,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eg);return e.filter(function(e){return!es(e)}).reduce(function(e,t){return t.getWidgetSearchParameters?t.getWidgetSearchParameters(e,r):e},n)}var eE=function(e){if(void 0===e||void 0===e.indexName)throw Error(ew("The `indexName` option is required."));var t=e.indexName,n=e.indexId,r=void 0===n?t:n,o=[],i={},a=null,s=null,c=null,u=null,l=null;return{$$type:"ais.index",$$widgetType:"ais.index",getIndexName:function(){return t},getIndexId:function(){return r},getHelper:function(){return c},getResults:function(){var e;return null!==(e=u)&&void 0!==e&&e.lastResults?(u.lastResults._state=c.state,u.lastResults):null},getPreviousState:function(){return l},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(es).reduce(function(t,n){return t.concat.apply(t,[{indexId:n.getIndexId(),results:n.getResults(),helper:n.getHelper()}].concat(ek(e(n.getWidgets()))))},[])}(e?e.getWidgets():[this])},getParent:function(){return s},createURL:function(e){return"function"==typeof e?a._createURL(eb({},r,e(i))):a._createURL(eb({},r,eS(o,{searchParameters:e,helper:c})))},getWidgets:function(){return o},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(ew("The `addWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(ew("The widget definition expects a `render` and/or an `init` method."));return o=o.concat(e),a&&e.length&&(e_(c,{state:eO(o,{uiState:i,initialSearchParameters:c.state}),_uiState:i}),e.forEach(function(e){e.getRenderState&&ej({renderState:e.getRenderState(a.renderState[t.getIndexId()]||{},B(a,t,a._initialUiState)),instantSearchInstance:a,parent:t})}),e.forEach(function(e){e.init&&e.init(B(a,t,a._initialUiState))}),a.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(ew("The `removeWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.dispose}))throw Error(ew("The widget definition expects a `dispose` method."));if(o=o.filter(function(t){return -1===e.indexOf(t)}),a&&e.length){var n=e.reduce(function(e,n){return n.dispose({helper:c,state:e,parent:t})||e},c.state),r=a.future.preserveSharedStateOnUnmount?eO(o,{uiState:i,initialSearchParameters:new O.SearchParameters({index:this.getIndexName()})}):eO(o,{uiState:eS(o,{searchParameters:n,helper:c}),initialSearchParameters:n});i=eS(o,{searchParameters:r,helper:c}),c.setState(r),o.length&&a.scheduleSearch()}return this},init:function(e){var n,f=this,p=e.instantSearchInstance,d=e.parent,h=e.uiState;if(null===c){a=p,s=d,i=h[r]||{};var m=p.mainHelper,g=eO(o,{uiState:i,initialSearchParameters:new O.SearchParameters({index:t})});(c=O({},g.index,g)).search=function(){return p.onStateChange?(p.onStateChange({uiState:p.mainIndex.getWidgetUiState({}),setUiState:function(e){return p.setUiState(e,!1)}}),m):m.search()},c.searchWithoutTriggeringOnStateChange=function(){return m.search()},c.searchForFacetValues=function(e,t,n,r){var o=c.state.setQueryParameters(r);return m.searchForFacetValues(e,t,n,o)},u=m.derive(function(){return eh.apply(void 0,[m.state].concat(ek(function(e){for(var t=e.getParent(),n=[e.getHelper().state];null!==t;)n=[t.getHelper().state].concat(n),t=t.getParent();return n}(f))))});var y=null===(n=p._initialResults)||void 0===n?void 0:n[this.getIndexId()];if(y){var v=new O.SearchResults(new O.SearchParameters(y.state),y.results);u.lastResults=v,c.lastResults=v}c.on("change",function(e){e.isPageReset&&function e(t){var n=t.filter(es);0!==n.length&&n.forEach(function(t){var n=t.getHelper();e_(n,{state:n.state.resetPage(),isPageReset:!0}),e(t.getWidgets())})}(o)}),u.on("search",function(){p.scheduleStalledRender()}),u.on("result",function(e){var t=e.results;p.scheduleRender(),c.lastResults=t,l=null==t?void 0:t._state}),o.forEach(function(e){e.getRenderState&&ej({renderState:e.getRenderState(p.renderState[f.getIndexId()]||{},B(p,f,h)),instantSearchInstance:p,parent:f})}),o.forEach(function(e){e.init&&e.init(B(p,f,h))}),c.on("change",function(e){var t=e.state,n=e._uiState;i=eS(o,{searchParameters:t,helper:c},n||{}),p.onStateChange||p.onInternalStateChange()}),y&&p.scheduleRender()}},render:function(e){var t=this,n=e.instantSearchInstance;"error"===n.status&&!n.mainHelper.hasPendingRequests()&&l&&c.setState(l);var r=this.getResults()?o:o.filter(es);r.forEach(function(e){e.getRenderState&&ej({renderState:e.getRenderState(n.renderState[t.getIndexId()]||{},z(n,t)),instantSearchInstance:n,parent:t})}),r.forEach(function(e){e.render&&e.render(z(n,t))})},dispose:function(){var e,t,n=this;o.forEach(function(e){e.dispose&&e.dispose({helper:c,state:c.state,parent:n})}),a=null,s=null,null===(e=c)||void 0===e||e.removeAllListeners(),c=null,null===(t=u)||void 0===t||t.detach(),u=null},getWidgetUiState:function(e){return o.filter(es).reduce(function(e,t){return t.getWidgetUiState(e)},ev(ev({},e),{},eb({},r,ev(ev({},e[r]),i))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var n=t.uiState;return eO(o,{uiState:n,initialSearchParameters:e})},refreshUiState:function(){i=eS(o,{searchParameters:this.getHelper().state,helper:this.getHelper()},i)},setIndexUiState:function(e){var t="function"==typeof e?e(i):e;a.setUiState(function(e){return ev(ev({},e),{},eb({},r,t))})}}};function ej(e){var t=e.renderState,n=e.instantSearchInstance,r=e.parent,o=r?r.getIndexId():n.mainIndex.getIndexId();n.renderState=ev(ev({},n.renderState),{},eb({},o,ev(ev({},n.renderState[o]),t)))}var eT=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.descendantName,r=t.modifierName;return"".concat("ais","-").concat(e).concat(n?"-".concat(n):"").concat(r?"--".concat(r):"")}};function eC(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}var eA="",eR="",eI=eT("Highlight");function eP(e){return e.map(function(e){return e.isHighlighted?eA+e.value+eR:e.value}).join("")}RegExp(/[&<>"']/g.source);var eZ={"&":"&","<":"<",">":">",""":'"',"'":"'"},eN=/&(amp|quot|lt|gt|#39);/g,eF=RegExp(eN.source),eL=new RegExp(/\w/i);function eM(e){return(eM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eD(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 eB(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;r0)||void 0===arguments[0]||arguments[0];!(null!==(e=t.mainHelper)&&void 0!==e&&e.hasPendingRequests())&&(clearTimeout(t._searchStalledTimer),t._searchStalledTimer=null,n&&(t.status="idle",t.error=void 0)),t.mainIndex.render({instantSearchInstance:e7(t)}),t.emit("render")})),tt(e7(t),"onInternalStateChange",eY(function(){var e=t.mainIndex.getWidgetUiState({});t.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),t.setMaxListeners(100);var t,n=e.indexName,i=void 0===n?"":n,a=e.numberLocale,s=e.initialUiState,c=e.routing,u=void 0===c?null:c,l=e.insights,f=void 0===l?void 0:l,p=e.searchFunction,d=e.stalledSearchDelay,h=e.searchClient,m=void 0===h?null:h,g=e.insightsClient,y=void 0===g?null:g,v=e.onStateChange,b=e.future,k=void 0===b?e4(e4({},ti),e.future||{}):b;if(null===m)throw Error(tr("The `searchClient` option is required."));if("function"!=typeof m.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof m.addAlgoliaAgent&&m.addAlgoliaAgent("instantsearch.js (".concat("4.66.0",")")),y&&"function"!=typeof y)throw Error(tr("The `insightsClient` option should be a function."));if(t.client=m,t.future=k,t.insightsClient=y,t.indexName=i,t.helper=null,t.mainHelper=null,t.mainIndex=eE({indexName:i}),t.onStateChange=void 0===v?null:v,t.started=!1,t.templatesConfig={helpers:{formatNumber:function(e,t){return Number(t(e)).toLocaleString(a)},highlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._highlightResult,r)||{}).value,l=eI({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._highlightResult,r)||{}).value,l=eU({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),eP(ez(e$(void 0===u?"":u))).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._snippetResult,r)||{}).value,l=eH({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._snippetResult,r)||{}).value,l=eq({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),eP(ez(e$(void 0===u?"":u))).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var n,r=JSON.parse(e),o=r.method,i=r.payload;return t((n=eQ({objectIDs:[this.objectID]},i),function(e){var t,n=e.method,r=e.payload;if("object"!==eW(r))throw Error("The insights helper expects the payload to be an object.");try{t=btoa(encodeURIComponent(JSON.stringify(r)))}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(n,'" data-insights-payload="').concat(t,'"')}({method:o,payload:n})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},t._stalledSearchDelay=void 0===d?200:d,t._searchStalledTimer=null,t._createURL=to,t._initialUiState=void 0===s?{}:s,t._initialResults=null,t._insights=f,p&&(t._searchFunction=p),t.sendEventToInsights=T.Z,u){var x="boolean"==typeof u?{}:u;x.$$internal=!0,t.use(ei(x))}if(f){var w="boolean"==typeof f?{}:f;w.$$internal=!0,t.use(L(w))}return j(function(e){var t,n;return(null===(t=e.window.navigator)||void 0===t?void 0:null===(n=t.userAgent)||void 0===n?void 0:n.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&t.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,n=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,r={widgets:[]},o=document.createElement("meta"),i=document.querySelector("head");return o.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:n,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e=t.client;r.ua=e.transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,n,r){var o=B(n,n.mainIndex,n._initialUiState);t.forEach(function(t){var i={};if(t.getWidgetRenderState){var a=t.getWidgetRenderState(o);a&&a.widgetParams&&(i=a.widgetParams)}var s=Object.keys(i).filter(function(e){return void 0!==i[e]});r.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),"ais.index"===t.$$type&&e(t.getWidgets(),n,r)})}(t.mainIndex.getWidgets(),t,r),t.middleware.forEach(function(e){return r.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),o.content=JSON.stringify(r),i.appendChild(o)},0)},started:function(){},unsubscribe:function(){o.remove()}}}}({$$internal:!0})),t}return n=[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r1?n-1:0),i=1;i0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use(L({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null===(e=this.mainHelper)||void 0===e||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(tr("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var r="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&n?this.onStateChange({uiState:r,setUiState:function(e){e5("function"==typeof e?e(r):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(e5(r,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(tr("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(tr("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}],function(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,tx));return n.started?x.createElement(_.Z.Provider,{value:n},x.createElement(w.Z.Provider,{value:n.mainIndex},t)):null}function t_(e){return(t_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tS(e){return(tS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tO(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 tE(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:T.Z,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.Z;return function(n){if(!n||!function(e){if(!("object"===t_(e)&&null!==e)||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(n.searchParameters))throw Error(tT("The `searchParameters` option expects an object."));var r={};return{$$type:"ais.configure",init:function(t){var n=t.instantSearchInstance;e(tE(tE({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(tE(tE({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var r=e.state;return t(),tC(r,n)},getRenderState:function(e,t){var n,r=this.getWidgetRenderState(t);return tE(tE({},e),{},{configure:tE(tE({},r),{},{widgetParams:tE(tE({},r.widgetParams),{},{searchParameters:eh(new O.SearchParameters(null===(n=e.configure)||void 0===n?void 0:n.widgetParams.searchParameters),new O.SearchParameters(r.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return r.refine||(r.refine=function(e){var r=eh(tC(t.state,n),new O.SearchParameters(e));n.searchParameters=e,t.setState(r).search()}),{refine:r.refine,widgetParams:n}},getWidgetSearchParameters:function(e,t){var r=t.uiState;return eh(e,new O.SearchParameters(tE(tE({},r.configure),n.searchParameters)))},getWidgetUiState:function(e){return tE(tE({},e),{},{configure:tE(tE({},e.configure),n.searchParameters)})}}}},tR=n(47493);function tI(e){var t;return t={$$widgetType:"ais.configure"},(0,tR.B)(tA,{searchParameters:e},t),null}var tP=n(28165),tZ=n(40596),tN=n(85017);function tF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tL(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ne),a=nn((0,tZ.Z)(),2),s=a[0],c=a[1],u=nn((0,tN.Z)({colorMode:s}),1)[0],l=(0,tD.Z)(),p=(0,t3.Z)(),d=na||"",h=(0,x.useCallback)(function(){l(function(e){return x.createElement(t7.Z,{onClose:function(){p("InstantSearch","close_instant_search_modal"),e()}})})},[l,p]),m=function(){(0,t6.b)({title:"Tonic UI"})};(0,x.useEffect)(function(){(0,t4.Z)(s)},[s]);var g={light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[s],y={light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[s],v={dark:"blue:60",light:"blue:60"}[s];return x.createElement(f.Z,nt({as:"header",ref:t,position:"fixed",top:0,zIndex:"fixed",height:"12x",width:"100%",backdropFilter:"blur(20px)",backgroundColor:u.background.primary,boxShadow:"0px -1px 1px inset ".concat(y)},i),x.createElement(f.Z,{display:"flex",position:"relative",height:"100%",alignItems:"center",justifyContent:"space-between"},x.createElement(f.Z,null,x.createElement(f.Z,{display:{sm:"block",lg:"none"}},x.createElement(f.Z,{display:"flex",flex:"auto",mx:"4x"},x.createElement(tB.Z,{variant:"secondary",onClick:o},x.createElement(tX.Z,null)))),x.createElement(f.Z,{display:{sm:"none",lg:"block"}},x.createElement(t2(),{href:"/",legacyBehavior:!0,passHref:!0},x.createElement(tz.Z,{"data-track":"Header|click_landing_page",color:u.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:u.color.emphasis},_hover:{color:u.color.emphasis},_visited:{color:u.color.primary}},x.createElement(t$.Z,{alignItems:"center",columnGap:"2x"},x.createElement(tU.Z,{alt:"",src:"".concat(no,"/images/").concat(g),height:"8x"}),x.createElement(tH.Z,null,"Tonic UI"),x.createElement("sup",null,na)))))),x.createElement(f.Z,{display:"flex",flex:"none",width:"auto",alignItems:"center",columnGap:"4x",px:"4x"},x.createElement(t9.Z,{"data-track":"InstantSearch|open_instant_search_modal",onClick:h},"Search..."),x.createElement(f.Z,{display:"flex",flex:"none"},x.createElement(tq.Z,{onOpen:function(){p("Header","open_version_menu")},onClose:function(){p("Header","close_version_menu")}},x.createElement(tW.Z,{variant:"secondary",minWidth:100},null!==(n=null===(r=ns[d])||void 0===r?void 0:r.label)&&void 0!==n?n:d),x.createElement(tV.Z,null,Object.entries(ns).map(function(e){var t=nn(e,2),n=t[0],r=t[1];return x.createElement(tK.Z,{"data-track":"Header|click_version_menu_item|".concat(null==r?void 0:r.label),key:n,as:"a",href:null==r?void 0:r.url,whiteSpace:"nowrap"},n===d?x.createElement(x.Fragment,null,null==r?void 0:r.label,x.createElement(tQ.Z,{width:"2x"}),"✓"):null==r?void 0:r.label)}),x.createElement(tG.Z,null),x.createElement(tK.Z,{"data-track":"Header|click_version_menu_item|View all versions",as:"a",href:"".concat(no,"/getting-started/versions"),whiteSpace:"nowrap"},"View all versions")))),x.createElement(tY.Z,{"data-track":"Header|click_codesandbox",onClick:function(){return m()},title:"Open in CodeSandbox",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:u.color.secondary,width:"8x",height:"8x",_hover:{color:u.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},x.createElement(t5.Z,{size:"6x"})),x.createElement(tY.Z,{"data-track":"Header|click_toggle_color_mode|".concat("light"===s?"dark":"light"),onClick:function(){return c()},title:"Toggle color mode",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:u.color.secondary,width:"8x",height:"8x",_hover:{color:u.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},"light"===s&&x.createElement(tJ.Z,{size:"6x"}),"dark"===s&&x.createElement(t1.Z,{size:"6x"})),x.createElement(tY.Z,{"data-track":"Header|click_github_repo_url|".concat(ni),onClick:function(){return window.open(ni,"_blank")},title:"GitHub repository",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:u.color.secondary,width:"8x",height:"8x",_hover:{color:u.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},x.createElement(t8.Z,{size:"6x"})))))});nc.displayName="Header";var nu=n(78366),nl=n(72448),nf=n(65245),np=n(89658),nd=["align"],nh=["align"],nm=["children"];function ng(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ny(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nv(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n div":{marginBottom:0}}},e))},ul:function(e){return x.createElement(f.Z,nb({as:"ul",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},ol:function(e){return x.createElement(f.Z,nb({as:"ol",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},li:function(e){return x.createElement(f.Z,nb({as:"li",mt:"1x",mb:"2x"},e))},table:function(e){return x.createElement(f.Z,nb({as:"table",mt:0,mb:"4x",fontSize:"md",lineHeight:"lg",borderCollapse:"collapse",borderSpacing:0,width:"100%"},e))},thead:function(e){return x.createElement(f.Z,nb({as:"thead",verticalAlign:"middle",borderColor:"inherit"},e))},tbody:function(e){return x.createElement(f.Z,nb({as:"tbody",verticalAlign:"middle",borderColor:"inherit"},e))},tr:function(e){return x.createElement(f.Z,nb({as:"tr"},e))},th:function(e){var t=e.align,n=ng(e,nd),r=ny((0,tZ.Z)(),1)[0];return x.createElement(f.Z,nb({as:"th",px:"3x",py:"2x",fontWeight:"semibold",whiteSpace:"nowrap",border:1,borderBottom:2,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},td:function(e){var t=e.align,n=ng(e,nh),r=ny((0,tZ.Z)(),1)[0];return x.createElement(f.Z,nb({as:"td",px:"3x",py:"2x",border:1,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},pre:function(e){var t,n,r=e.children;ng(e,nm);var i=(0,o.u)(),a=ny((0,tZ.Z)(),1)[0],s={dark:np.y,light:np.q}[a],c=(0,x.isValidElement)(r)?(0,y.Zs)(null==r?void 0:null===(t=r.props)||void 0===t?void 0:t.children).trimEnd():(0,y.Zs)(r).trimEnd(),u=(0,x.isValidElement)(r)?(0,y.Zs)(r.props.className).replace(/language-/,""):"";return x.createElement(nf.nu,{code:c,disabled:!0,language:u,theme:s},x.createElement(f.Z,{as:nf.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==i?void 0:null===(n=i.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}}))},code:function(e){return x.createElement(nu.Z,nb({as:"code"},e))},hr:function(e){return x.createElement(nl.Z,nb({as:"hr",my:"2x"},e))},a:function(e){return x.createElement(tz.Z,nb({as:"a"},e))},img:tU.Z},nx=["children"];function nw(){return(nw=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nx),i=(function(e){if(Array.isArray(e))return e}(n=(0,tZ.Z)())||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),1!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(n,1)||function(e,t){if(e){if("string"==typeof e)return n_(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n_(e,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return x.createElement(f.Z,nw({as:"main",id:"main",ref:t,backgroundColor:{light:"white",dark:"gray:100"}[i]},o),r)});nS.displayName="Main";var nO=n(76013),nE=n(79036),nj=n(80508),nT=n(90094),nC=n(25619),nA=n(20325),nR=n(97198),nI=n(92011),nP=n(27899),nZ=n(4779),nN=["href","isActive"];function nF(){return(nF=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nN),i=nL((0,tZ.Z)(),1)[0],a=nL((0,tN.Z)({colorMode:i}),1)[0],s=a.color.secondary,c=a.color.primary,u=a.color.emphasis;return x.createElement(t2(),{href:n,legacyBehavior:!0,passHref:!0},x.createElement(f.Z,nF({ref:t,as:"a",color:s,display:"flex",px:"4x",py:"2x",fontSize:"sm",textDecoration:"none","aria-selected":!!r,_active:{backgroundColor:{light:"rgba(0, 0, 0, 0.1)",dark:"rgba(255, 255, 255, 0.1)"}[i],color:c},_focusVisible:{outlineColor:{dark:"blue:60",light:"blue:60"}[i],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:{light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[i]},_selected:{backgroundColor:{light:"rgba(0, 0, 0, 0.08)",dark:"rgba(255, 255, 255, 0.08)"}[i],color:u}},o)))});nD.displayName="NavLink";var nB=["children","onClick","onClose"];function nz(){return(nz=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&(null==t?void 0:t.left)>=0&&(null==t?void 0:t.bottom)<=(window.innerHeight||document.documentElement.clientHeight)&&(null==t?void 0:t.right)<=(window.innerWidth||document.documentElement.clientWidth)},nq=(0,y.Zs)("/tonic-ui/react/v2"),nW=(0,x.forwardRef)(function(e,t){var n=e.children,r=e.onClick,o=e.onClose,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nB),a=n$((0,tZ.Z)(),1)[0],s=n$((0,tN.Z)({colorMode:a}),1)[0],c=(0,x.useRef)(),u=(0,nA.Z)(c,t),l=(0,k.useRouter)(),p=(0,y.Zs)(l.pathname).slice(1);return(0,x.useEffect)(function(){var e=c.current.querySelector('[data-path="'.concat(p,'"]'));e&&!nH(e)&&e.scrollIntoView({behavior:"auto",block:"center"})},[p]),x.createElement(f.Z,nz({as:"nav",id:"sidenav",ref:u,backgroundColor:s.background.primary,borderRight:1,borderRightColor:{light:"gray:20",dark:"gray:70"}[a],pt:{sm:0,lg:"4x"},pb:"4x"},i),x.createElement(f.Z,{display:{sm:"block",lg:"none"}},x.createElement(t$.Z,{alignItems:"center",justifyContent:"space-between",mb:"4x"},x.createElement(t2(),{href:"/",legacyBehavior:!0,passHref:!0},x.createElement(tz.Z,{background:"transparent",color:s.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:s.color.emphasis},_hover:{color:s.color.emphasis},_visited:{color:s.color.primary}},x.createElement(tU.Z,{alt:"",src:"".concat(nq,"/images/").concat({light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[a]),height:"8x",marginRight:"2x"}),x.createElement(tH.Z,null,"Tonic UI"))),x.createElement(f.Z,{px:"2x"},x.createElement(nZ.Z,{onClick:o},x.createElement(nR.Z,null))))),x.createElement(nO.Z,null,nI._.map(function(e){var t=e.title,n=e.icon,o=e.routes,i=o.some(function(e){return!!e.path&&(p.startsWith(e.path)||e.path===p)});return x.createElement(f.Z,{key:t},x.createElement(nE.Z,{key:i,defaultIsExpanded:i},function(e){var i,a,c=e.isExpanded;return x.createElement(x.Fragment,null,x.createElement(nj.Z,{"data-track":c?"SideMenu|close_menu_section|".concat((0,nP.Z)({title:t})):"SideMenu|open_menu_section|".concat((0,nP.Z)({title:t})),"data-expanded":c,"data-title":t},x.createElement(t$.Z,{alignItems:"center",justifyContent:"space-between",py:"2x",px:"3x",_hover:{backgroundColor:s.background.highlighted}},x.createElement(t$.Z,{alignItems:"center",columnGap:"2x"},"function"==typeof n&&n({color:null==s?void 0:null===(i=s.color)||void 0===i?void 0:i.tertiary,size:"4x"}),x.createElement(tH.Z,{color:null==s?void 0:null===(a=s.color)||void 0===a?void 0:a.primary,fontSize:"sm",lineHeight:"sm"},t)),x.createElement(nT.Z,null))),x.createElement(nC.Z,{TransitionProps:{unmountOnExit:!0}},o.map(function(e){var n,o=e.heading,i=e.title,a=e.path,c=e.render;if(o)return x.createElement(tH.Z,{key:"".concat(t," > ").concat(i),color:null==s?void 0:null===(n=s.color)||void 0===n?void 0:n.tertiary,fontSize:"xs",lineHeight:"xs",pl:"9x",mt:"4x",mb:"2x",textTransform:"uppercase",letterSpacing:"0.08rem",_firstOfType:{mt:"2x"}},i);var u=p===a,l="/".concat(a);return x.createElement(nD,{key:a,"data-path":a,"data-track":"SideMenu|click_menu_item|".concat((0,nP.Z)({path:l,title:[t,i].join(" > ")})),isActive:u,href:l,onClick:r,pl:0,px:"3x"},x.createElement(t$.Z,{columnGap:"2x",alignItems:"center",justifyContent:"space-between",width:"100%"},x.createElement(tH.Z,{fontSize:"sm",lineHeight:"sm",pl:"9x"},i),"function"==typeof c&&c()))})))}))})),n)});nW.displayName="Sidebar";var nV=n(33558),nK=n(56818),nQ=n(12436),nG=n.n(nQ),nY=function(e,t){var n=(0,x.useMemo)(function(){return e?nG()(e,t):nK.ZT},[e,t]);(0,x.useEffect)(function(){if(n!==nK.ZT)return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n),n.cancel()}},[n])};function nX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||nJ(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nJ(e,t){if(e){if("string"==typeof e)return n1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n1(e,t)}}function n1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(r);try{for(o.s();!(e=o.n()).done;){var i=e.value,a={id:i.id,tagName:i.tagName,textContent:i.textContent,children:[],parent:n};if(n&&n.tagName&&i.tagName>n.tagName)n.children.push(a);else{for(;n&&n.tagName&&i.tagName<=n.tagName;)n=n.parent;n&&n.children.push(a)}n=a}}catch(e){o.e(e)}finally{o.f()}return t},[r]);(0,x.useEffect)(function(){if(!(0,nV.Nq)())return null;c(null);var e=document.querySelector("#main > .main-content");if(e){var t=["h2","h3","h4","h5","h6"].map(function(e){return":scope>".concat(e)}).join(",");o(Array.from(e.querySelectorAll(t)))}if(window.location.hash){var n=document.querySelector(window.location.hash);n&&setTimeout(function(){n.scrollIntoView({behavior:"smooth",block:"start"})},200)}},[t.pathname]);var a=nX((0,x.useState)(null),2),s=a[0],c=a[1],u=(0,x.useRef)(null),l=(0,x.useRef)(null),p=(0,x.useCallback)(function(){if(!u.current){for(var e,t=r.length-1;t>=0;t-=1){var n=r[t],o=document.getElementById(n.id),i=document.documentElement.scrollTop+48+12;if(o&&o.offsetTop<=i){e=n;break}}e&&s!==e.id&&c(e.id)}},[s,r]);nY(r.length>0?p:null,1e3/60),(0,x.useEffect)(function(){return function(){l.current&&(clearTimeout(l.current),l.current=null)}},[]);var d=function(e){var t=e.nodes;return x.createElement(f.Z,{as:"ul",className:"toc-list"},t.map(function(e){var t;return x.createElement(h,{key:e.id,nodes:e.children,className:"toc-item toc-item-".concat(e.tagName.toLowerCase())},x.createElement(tz.Z,{className:s===e.id?"toc-link toc-link-".concat(e.tagName.toLowerCase()," active"):"toc-link toc-link-".concat(e.tagName.toLowerCase()),href:"#".concat(e.id),onClick:(t=e.id,function(e){e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||(l.current&&(clearTimeout(l.current),l.current=null),u.current=e.target,l.current=setTimeout(function(){u.current=null},1e3),s!==t&&c(t))})},e.textContent))}))},h=function(e){var t=e.children,n=e.nodes;return x.createElement(f.Z,{as:"li"},t,n.length>0&&x.createElement(d,{nodes:n}))};return x.createElement(f.Z,{as:"nav",className:"toc",id:"toc"},x.createElement(f.Z,{className:"toc-heading"},"Contents"),x.createElement(d,{nodes:i.children}))};function n2(){return(n2=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=240&&e.clientX-t<=360&&r(e.clientX-t)},[]),m=function(){c&&u(!1)};return(0,x.useEffect)(function(){c&&u(!1)},[a]),x.createElement(f.Z,{ref:i,fontSize:"md",lineHeight:"md"},x.createElement(nc,{onToggle:function(){u()}}),x.createElement(nW,n2({onClick:m,onClose:m},{flexShrink:0,width:{sm:c?n:0,lg:n},willChange:"width",transition:{sm:"width .2s ease-in-out",lg:"none"},overflowY:"auto",overflowX:"hidden",position:"fixed",top:{sm:0,lg:l},bottom:0,left:0,zIndex:"fixed",whiteSpace:"nowrap"}),x.createElement(f.Z,n2({draggable:!0,onDrag:p},{background:"transparent",cursor:"col-resize",position:"absolute",top:0,bottom:0,right:0,width:"2x"}))),x.createElement(nS,n2({onClick:m,sx:{"--docs-sidebar-width":"".concat(n,"px")}},{position:"relative",ml:{sm:0,lg:n},pt:l,height:"100vh",width:{sm:"100%",lg:"calc(100% - ".concat(n,"px)")},willChange:"width,margin",transition:{sm:"width .3s ease-in-out, margin .3s ease-in-out",lg:"none"}}),x.createElement(b(),e),x.createElement(n0,null)))},re=function(e){var t=(0,p.Z)(function(){return(0,a.Z)({cssVariables:{rootSelector:":root",prefix:"tonic"},components:{}})}),n=n3((0,x.useState)(null),2),r=n[0],o=n[1],f=(0,k.useRouter)();if((0,x.useEffect)(function(){var e=document.documentElement,t=e.style.getPropertyValue("color-scheme");e.setAttribute("data-color-scheme",t),("dark"===t||"light"===t)&&r!==t&&o(t)},[]),!r)return null;var d="/"===f.pathname?n9:n7;return x.createElement(tw,{indexName:"tonic-ui-v2",searchClient:n6,future:{preserveSharedStateOnUnmount:!0}},x.createElement(tI,{hitsPerPage:1e3,highlightPreTag:"",highlightPostTag:""}),x.createElement(n4,{nonce:n8},x.createElement(s.Z,{key:r,colorMode:{defaultValue:r},colorStyle:{defaultValue:c.Z},theme:t,useCSSBaseline:!0},x.createElement(u.Z,{TransitionProps:{sx:{'[data-toast-placement^="top"] > &:first-of-type':{mt:"4x"},'[data-toast-placement^="bottom"] > &:last-of-type':{mb:"4x"},'[data-toast-placement$="left"] > &':{ml:"4x"},'[data-toast-placement$="right"] > &':{mr:"4x"}}}},x.createElement(l.Z,null,x.createElement(i.Zo,{components:nk},x.createElement(d,e),x.createElement(tM,null)))))))}},89658:function(e,t,n){"use strict";n.d(t,{q:function(){return r},y:function(){return o}});var r={plain:{color:"#393A34",backgroundColor:"#f2f2f2"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},o={plain:{color:"#9CDCFE",backgroundColor:"black"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]}},92727:function(e,t,n){"use strict";n.d(t,{b:function(){return y}});var r=n(36954),o=n.n(r),i=n(5081),a=function(e){var t=e.language,n=e.title;return'\n\n\n \n ').concat(n,'\n \n \n
\n \n').trim()},s=JSON.parse('{"v6":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/eslint-parser":"^7.0.0","@babel/eslint-plugin":"^7.0.0","@babel/node":"^7.0.0","@babel/plugin-transform-runtime":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/runtime":"^7.0.0","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@emotion/babel-plugin":"^11.10.0","@emotion/cache":"^11.11.0","@emotion/react":"^11.10.0","@mdx-js/loader":"^2.1.2","@mdx-js/mdx":"^2.1.2","@mdx-js/react":"^2.1.2","@next/mdx":"^13.0.5","@tanstack/react-table":"^8.9.1","@tanstack/react-virtual":"^3.0.0-beta","@tonic-ui/react":"workspace:^","@tonic-ui/react-hooks":"workspace:^","@tonic-ui/react-icons":"workspace:^","@tonic-ui/utils":"workspace:^","@trendmicro/babel-config":"^1.0.2","acorn":"^8.8.2","algoliasearch":"^4.14.2","boolean":"^3.2.0","cross-env":"^7.0.3","date-fns":"2.x","del-cli":"^5.0.0","dotenv-flow":"^3.2.0","ensure-type":"^1.5.1","eslint":"^8.25.0","eslint-config-next":"latest","eslint-plugin-import":"latest","eslint-plugin-jsx-a11y":"latest","eslint-plugin-react":"latest","hastscript":"^8.0.0","immutability-helper":"^3.1.1","jest":"^29.0.0","jest-environment-jsdom":"^29.0.0","lodash":"^4.17.21","lorem-ipsum":"^2.0.8","lz-string":"^1.5.0","mdast-util-from-markdown":"^2.0.0","mdast-util-mdx-jsx":"^3.0.0","micromark-extension-mdx-jsx":"^2.0.0","next":"^14.2.3","next-plugin-svgr":"^1.1.10","node-emoji":"^2.1.0","prism-react-renderer":"^2.0.6","prop-types":"15.x","react":"latest","react-beautiful-dnd":"^13.1.1","react-dnd":"^16.0.1","react-dnd-html5-backend":"^16.0.1","react-dom":"latest","react-focus-lock":"^2.9.2","react-highlight-words":"^0.20.0","react-instantsearch-core":"^7.5.0","react-live":"^4.1.3","react-movable":"^3.0.4","react-table":"^7.8.0","react-virtualized-auto-sizer":"^1.0.15","react-virtuoso":"^4.12.0","rehype-autolink-headings":"^6.1.1","rehype-slug":"^5.1.0","remark-emoji":"^4.0.0","remark-frontmatter":"^4.0.1","remark-gfm":"^3.0.1","remark-images":"^3.1.0","remark-mdx-code-meta":"^2.0.0","unist-util-visit":"^5.0.0","uuid":"^9.0.0"}}'),c=n(93542);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"latest",n=c.env.CI_PULL_REQUEST_NUMBER?(0,i.Zs)("a6597a216d22f33aa2780d6c5da28018b71bfcd1").substring(0,8):void 0;return n?"https://pkg.csb.dev/trendmicro-frontend/tonic-ui/commit/".concat(n,"/@tonic-ui/").concat(e):t},n=d(d({},s.v6),{},{"@tonic-ui/react":t("react","2.x"),"@tonic-ui/react-base":t("react-base","2.x"),"@tonic-ui/react-hooks":t("react-hooks","2.x"),"@tonic-ui/react-icons":t("react-icons","2.x"),"@tonic-ui/styled-system":t("styled-system","2.x"),"@tonic-ui/theme":t("theme","2.x"),"@tonic-ui/utils":t("utils","2.x")}),r=function(e){for(var t={},r=null,o=/^import\s'([^']+)'|import\s[\s\S]*?\sfrom\s+'([^']+)'/gm;r=o.exec(e);){var a,s,c=(0,i.Zs)(null!==(a=r[2])&&void 0!==a?a:r[1]);if(!c.startsWith("@/")){var u="@"===c[0]?c.split("/",2).join("/"):c.split("/",1)[0];t[u]||u.startsWith(".")||(t[u]=null!==(s=n[u])&&void 0!==s?s:"latest")}}return t};return(0,i.rY)(e).reduce(function(e,t){return d(d({},e),r(t))},{})},m=function(e){var t,n=d({},e),r=n.files,o=n.language,s=n.raw,c=n.title,u=void 0===c?"":c,p="\nimport { Global, css } from '@emotion/react';\nimport {\n Box,\n PortalManager,\n ToastManager,\n TonicProvider,\n colorStyle,\n createTheme,\n useColorMode,\n useColorStyle,\n useTheme,\n} from '@tonic-ui/react';\nimport { merge } from '@tonic-ui/utils';\nimport * as React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport App from './app';\n\nconst customColorStyle = merge(colorStyle, {\n dark: {\n // Add custom colors here\n risk: {\n high: 'red:50',\n medium: 'yellow:50',\n low: 'green:40',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:50',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n light: {\n // Add custom colors here\n risk: {\n high: 'red:60',\n medium: 'yellow:50',\n low: 'green:50',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:60',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n});\n\nconst customTheme = createTheme({\n cssVariables: true, // Enable CSS variables replacement\n components: {\n // Set default props for specific components\n //\n // Example:\n // ```\n // 'ToastCloseButton': {\n // defaultProps: {\n // 'aria-label': 'Close toast',\n // },\n // },\n // ```\n },\n});\n\nconst Root = (props) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst Layout = (props) => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const { colors, fontSizes, lineHeights } = useTheme();\n const backgroundColor = colorStyle.background.primary;\n const color = colorStyle.color.primary;\n const scrollbarThumbBackgroundColor = colorStyle.color.disabled;\n const scrollbarThumbHoverBackgroundColor = colorStyle.color.tertiary;\n const scrollbarThumbHoverBorderColor = colorStyle.color.secondary;\n const scrollbarTrackBackgroundColor = {\n light: 'gray:30',\n dark: 'gray:70',\n }[colorMode];\n\n return (\n <>\n \n \n \n );\n};\n\nReactDOM.createRoot(document.querySelector(\"#root\")).render(\n \n \n \n \n \n);\n".trim(),m=null!=s?s:"\nimport { Box } from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst App = forwardRef((props, ref) => {\n const styleProps = {\n // Define style props here\n //\n // Refer to Tonic UI documentation for available style props:\n // https://trendmicro-frontend.github.io/tonic-ui/react/latest/styled-system/style-props\n };\n\n return (\n \n Tonic UI is awesome\n \n );\n});\n\nApp.displayName = 'App';\n\nexport default App;\n".trim(),g=h([p,m].concat(function(e){if(Array.isArray(e))return f(e)}(t=Object.values((0,i.ks)(r)))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||l(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));return d(d({},Object.entries((0,i.ks)(r)).reduce(function(e,t){var n=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||l(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return e[r]={content:o},e},{})),{},{"public/index.html":{content:a({language:void 0===o?"en":o,title:u})},"src/app.js":{content:m},"src/index.js":{content:p},"jsconfig.json":{content:'\n{\n "compilerOptions": {\n "baseUrl": "src",\n "paths": {\n "@/*": ["*"]\n }\n }\n}\n'.trim()},"package.json":{content:{description:u,dependencies:d({},g)}}})},g=function(e,t,n){var r=document.createElement("input");r.type="hidden",r.name=t,r.value=n,e.appendChild(r)},y=function(e){var t,n=(t={files:m(e)},o().compressToBase64(JSON.stringify(t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")),r=document.createElement("form");r.method="POST",r.target="_blank",r.action="https://codesandbox.io/api/v1/sandboxes/define",g(r,"parameters",n),g(r,"query","file=/src/app.js"),document.body.appendChild(r),r.submit(),document.body.removeChild(r)}},27899:function(e,t){"use strict";t.Z=function(){var e;try{e=JSON.stringify.apply(JSON,arguments)}catch(e){}return e}},68905:function(e,t){"use strict";t.Z=function(e){if("dark"!==e&&"light"!==e){var t=document.documentElement;t.style.setProperty("color-scheme",""),t.removeAttribute("data-color-scheme"),localStorage.removeItem("tonic-ui-color-mode");return}var n=document.documentElement;n.style.setProperty("color-scheme",e),n.setAttribute("data-color-scheme",e),localStorage.setItem("tonic-ui-color-mode",e)}},93542:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(42351)},53723:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(17924)}])},42351:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,l=-1;function f(){u&&r&&(u=!1,r.length?c=r.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(r=c,c=[];++l1)for(var n=1;n-1?e.split(","):e},c=function(e,t){var n={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,l=c.split(t.delimiter,u),f=-1,p=t.charset;if(t.charsetSentinel)for(d=0;d=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f0?w.join(",")||null:void 0}];else if(s(f))x=f;else{var T=Object.keys(w);x=p?T.sort(p):T}for(var C=0;C0?g+d:""}},12493:function(e,t,n){"use strict";var r=n(85527),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)){c+=s.charAt(u);continue}if(l<128){c+=a[l];continue}if(l<2048){c+=a[192|l>>6]+a[128|63&l];continue}if(l<55296||l>=57344){c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l];continue}u+=1,c+=a[240|(l=65536+((1023&l)<<10|1023&s.charCodeAt(u)))>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l]}return c},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r-1&&(k.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),g(x,k.length,1,k),g(x,-1,-1,k))}}}return e},v=function(e){y()&&e&&(e.stopPropagation(),e.preventDefault())},b=function(){return(0,c.deferAction)(y)},k=function(){h="just",(0,c.deferAction)(function(){h="meanwhile"})},x=function(){document.addEventListener("focusin",v),document.addEventListener("focusout",b),window.addEventListener("blur",k)},w=function(){document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),window.removeEventListener("blur",k)},_={moveFocusInside:s.moveFocusInside,focusInside:s.focusInside,focusNextElement:s.focusNextElement,focusPrevElement:s.focusPrevElement,focusFirstElement:s.focusFirstElement,focusLastElement:s.focusLastElement,captureFocusRestore:s.captureFocusRestore};u.mediumFocus.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||m(n,t)}),u.mediumBlur.assignMedium(b),u.mediumEffect.assignMedium(function(e){return e(_)}),t.default=(0,a.default)(function(e){return e.filter(function(e){return!e.disabled})},function(e){var t=e.slice(-1)[0];t&&!f&&x();var n=f,r=n&&t&&t.id===n.id;f=t,!n||r||(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(p=null,r&&n.observed===t.observed||t.onActivation(_),y(!0),(0,c.deferAction)(y)):(w(),p=null)})(function(){return null})},32701:function(e,t,n){"use strict";var r=n(71600),o=n(67425);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AutoFocusInside",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"FocusLockUI",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"FreeFocusInside",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"InFocusGuard",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MoveFocusInside",{enumerable:!0,get:function(){return s.default}}),t.default=void 0,Object.defineProperty(t,"useFocusController",{enumerable:!0,get:function(){return l.useFocusController}}),Object.defineProperty(t,"useFocusInside",{enumerable:!0,get:function(){return s.useFocusInside}}),Object.defineProperty(t,"useFocusScope",{enumerable:!0,get:function(){return l.useFocusScope}}),Object.defineProperty(t,"useFocusState",{enumerable:!0,get:function(){return f.useFocusState}});var i=r(n(76785)),a=r(n(15989)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=p(void 0);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(56517)),c=r(n(88476)),u=r(n(72143)),l=n(27452),f=n(25473);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}t.default=i.default},64355:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var i=r(n(86421)),a=n(32701);Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}),t.default=i.default},29199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediumSidecar=t.mediumFocus=t.mediumEffect=t.mediumBlur=void 0;var r=n(96545);t.mediumFocus=(0,r.createMedium)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),t.mediumBlur=(0,r.createMedium)(),t.mediumEffect=(0,r.createMedium)(),t.mediumSidecar=(0,r.createSidecarMedium)({async:!0,ssr:"undefined"!=typeof document})},19579:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNanoEvents=void 0,t.createNanoEvents=function(){return{emit:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return d(function(t){return t.moveFocusInside(p(r.current),null,e)})},focusNext:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusNextElement(document.activeElement,f({scope:p(r.current)},e))})},focusPrev:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusPrevElement(document.activeElement,f({scope:p(r.current)},e))})},focusFirst:function(e){return d(function(t){t.focusFirstElement(p(r.current),e)})},focusLast:function(e){return d(function(t){t.focusLastElement(p(r.current),e)})}}},[])};t.useFocusScope=function(){var e=(0,a.useContext)(s.focusScope);if(!e)throw Error("FocusLock is required to operate with FocusScope");return h.apply(void 0,[e.observed].concat((0,o.default)(e.shards)))}},25473:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.useFocusState=void 0;var o=r(n(43681)),i=n(2784),a=(0,n(19579).createNanoEvents)(),s=0,c=function(e){return a.emit("assign",e.target)},u=function(e){return a.emit("reset",e.target)},l=function(){(0,i.useEffect)(function(){return s||(document.addEventListener("focusin",c),document.addEventListener("focusout",u)),s+=1,function(){(s-=1)||(document.removeEventListener("focusin",c),document.removeEventListener("focusout",u))}},[])},f=function(e,t){return e===t?"self":t.contains(e)?"within":"within-boundary"};t.useFocusState=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.useState)(!1),n=(0,o.default)(t,2),r=n[0],s=n[1],c=(0,i.useState)(""),u=(0,o.default)(c,2),p=u[0],d=u[1],h=(0,i.useRef)(null),m=(0,i.useRef)({}),g=(0,i.useRef)(!1);(0,i.useEffect)(function(){if(h.current){var t=h.current===document.activeElement||h.current.contains(document.activeElement);s(t),d(f(document.activeElement,h.current)),t&&e.onFocus&&e.onFocus()}},[]);var y=(0,i.useCallback)(function(e){m.current={focused:!0,state:f(e.target,e.currentTarget)}},[]);return l(),(0,i.useEffect)(function(){var t=a.on("reset",function(){m.current={}}),n=a.on("assign",function(){var t=m.current.focused||!1;s(t),d(m.current.state||""),t!==g.current&&(g.current=t,t?e.onFocus&&e.onFocus():e.onBlur&&e.onBlur())});return function(){t(),n()}},[]),{active:r,state:p,onFocus:y,ref:h}}},5129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deferAction=function(e){setTimeout(e,1)},t.inlineProp=t.extractRef=void 0,t.inlineProp=function(e,t){var n={};return n[e]=t,n},t.extractRef=function(e){return e&&"current"in e?e.current:e}},78141:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),C=(0,i.findAll)({autoEscape:l,caseSensitive:p,findChunks:h,sanitize:k,searchWords:x,textToHighlight:w}),A=void 0===b?"mark":b,R=-1,I="",P=void 0,Z=(0,c.default)(function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t});return(0,s.createElement)("span",r({className:d},T,{children:C.map(function(e,t){var r=w.substr(e.start,e.end-e.start);if(!e.highlight)return(0,s.createElement)(S,{children:r,className:E,key:t,style:j});R++;var o=void 0;o="object"==typeof g?p?g[r]:(g=Z(g))[r.toLowerCase()]:g;var i=R===+a;I=o+" "+(i?n:""),P=!0===i&&null!=u?Object.assign({},v,u):v;var c={children:r,className:I,key:t,style:P};return"string"!=typeof A&&(c.highlightIndex=R),(0,s.createElement)(A,c)})}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=e.findChunks,s=void 0===a?r:a,c=e.sanitize,u=e.searchWords,l=e.textToHighlight;return o({chunksToHighlight:n({chunks:s({autoEscape:t,caseSensitive:void 0!==i&&i,sanitize:c,searchWords:u,textToHighlight:l})}),totalLength:l?l.length:0})};var n=t.combineChunks=function(e){return e.chunks.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e},[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter(function(e){return e}).reduce(function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),a=void 0;a=i.exec(s);){var c=a.index,u=i.lastIndex;u>c&&e.push({start:c,end:u}),a.index==i.lastIndex&&i.lastIndex++}return e},[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach(function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end}),o(i,n,!1)}return r};function i(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)(function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,o,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],l=!1,f=-1;function p(){l&&o&&(l=!1,o.length?u=o.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=u.length;t;){for(o=u,u=[];++f1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,o=[],i=void 0,a=!1,s=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),c=0;c0&&r.push(o+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+o+" types",n}return i(t,e),t.prototype.getChecker=function(e,t){var n=this,r=this.ttypes.map(function(n){return n.getChecker(e,t)});return function(e,t){for(var o=t.unionResolver(),i=0;i=r._score)&&(r=a)}r&&r._score>0&&((t=this._propNames).push.apply(t,r._propNames),(n=this._messages).push.apply(n,r._messages))},e.prototype.getError=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&t.push(e+" "+i)}return new o(e,t.join("; "))},e.prototype.getErrorDetail=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var o=this._messages[n];o&&t.push({path:e,message:o})}for(var i=null,n=t.length-1;n>=0;n--)i&&(t[n].nested=[i]),i=t[n];return i},e}();t.DetailContext=a;var s=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var e=new a;return this.contexts.push(e),e},e}()},93779:function(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}n.d(t,{k:function(){return r}})},91801:function(e,t,n){"use strict";n.r(t),n.d(t,{assignRef:function(){return r.k},createCallbackRef:function(){return i},mergeRefs:function(){return a},refToCallback:function(){return l},transformRef:function(){return u},useCallbackRef:function(){return o.W},useMergeRefs:function(){return s.q},useRefToCallback:function(){return h},useTransformRef:function(){return c}});var r=n(93779),o=n(66807);function i(e){var t=null;return{get current(){return t},set current(value){var n=t;n!==value&&(t=value,e(value,n))}}}function a(e){return i(function(t){return e.forEach(function(e){return(0,r.k)(e,t)})})}var s=n(40689);function c(e,t){return(0,o.W)(null,function(n){return(0,r.k)(e,t(n))})}function u(e,t){return i(function(n){return(0,r.k)(e,t(n))})}function l(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}var f=function(){return null},p=new WeakMap,d=function(e){var t=e||f,n=p.get(t);if(n)return n;var r=l(t);return p.set(t,r),r};function h(e){return d(e)}},40689:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(2784),o=n(93779),i=n(66807),a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,s=new WeakMap;function c(e,t){var n=(0,i.W)(t||null,function(t){return e.forEach(function(e){return(0,o.k)(e,t)})});return a(function(){var t=s.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||(0,o.k)(e,null)}),i.forEach(function(e){r.has(e)||(0,o.k)(e,a)})}s.set(n,e)},[e]),n}},66807:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(2784);function o(e,t){var n=(0,r.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(value){var r=n.value;r!==value&&(n.value=value,n.callback(value,r))}}}})[0];return n.callback=t,n.facade}},96545:function(e,t,n){"use strict";n.r(t),n.d(t,{createMedium:function(){return p.s},createSidecarMedium:function(){return p._},exportSidecar:function(){return m},renderCar:function(){return d},setConfig:function(){return f},sidecar:function(){return u},useSidecar:function(){return c}});var r=n(22970),o=n(2784),i={isNode:!1,forceCache:!1},a=new WeakMap,s={};function c(e,t){var n,r,c,u,l,f,p,d,h=t&&t.options||s;return i.isNode&&!h.ssr?[null,null]:(n=t&&t.options||s,r=i.forceCache||i.isNode&&!!n.ssr||!n.async,u=(c=(0,o.useState)(r?function(){return a.get(e)}:void 0))[0],l=c[1],p=(f=(0,o.useState)(null))[0],d=f[1],(0,o.useEffect)(function(){u||e().then(function(n){var r,o=t?t.read():n.default||n;if(!o)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),r=Error("Sidecar medium was not found")):r=Error("Sidecar was not found in exports"),d(function(){return r}),r;a.set(e,o),l(function(){return o})},function(e){return d(function(){return e})})},[]),[u,p])}function u(e,t){var n=function(){return t};return function(i){var a=c(e,i.sideCar),s=a[0];return a[1]&&t?n:s?o.createElement(s,(0,r.pi)({},i)):null}}var l={onError:function(e){return console.error(e)}},f=function(e){Object.assign(l,e)},p=n(64597);function d(e,t){function n(t){var n=t.stateRef,i=t.props,a=(0,o.useCallback)(function(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function o(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,c,"next",e)}function c(e){o(a,r,i,s,c,"throw",e)}s(void 0)})}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||c(e,t)||function(){throw 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){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{ZQ:function(){return a},l5:function(){return r},sf:function(){return l},u:function(){return s},x:function(){return i}})},29970:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){var t,n=(0,r.useRef)();return void 0===n.current&&(n.current={value:"function"==typeof e?e():e}),null==n?void 0:null===(t=n.current)||void 0===t?void 0:t.value}},10424:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){(0,r.useEffect)(e,[])}},93631:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(40476),o=n(2784),i=n(68338),a=function(e,t){var n=(0,o.useRef)(function(){throw Error("Cannot call an event handler while rendering.")});return(0,i.Z)(function(){n.current=e},[e].concat((0,r.u)(null!=t?t:[]))),(0,o.useCallback)(function(){return n.current.apply(void 0,arguments)},[n])}},32502:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(56818),o=n(2784),i=n(93631),a=function(e,t,n,a){var s=(0,i.Z)(n);(0,o.useEffect)(function(){if(!n)return r.ZT;var o=(0,r.Pu)(e);return"function"==typeof(null==o?void 0:o.addEventListener)&&"function"==typeof(null==o?void 0:o.removeEventListener)?(o.addEventListener(t,s,a),function(){o.removeEventListener(t,s,a)}):r.ZT},[e,t,n,s,a])}},912:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40476),o=n(2784),i=function(){var e=(0,o.useState)(!1),t=(0,r.ZQ)(e,2),n=t[0],i=t[1];return(0,o.useEffect)(function(){i(!0)},[]),n}},68338:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o="undefined"==typeof window?r.useEffect:r.useLayoutEffect},59123:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(40476),o=n(56818),i=n(2784),a=function(e,t){if(void 0!==t)return t;if("undefined"!=typeof window&&"function"==typeof window.matchMedia){var n;return null===(n=window.matchMedia(e))||void 0===n?void 0:n.matches}return!1},s=function(e,t){var n=(0,i.useState)(a(e,t)),s=(0,r.ZQ)(n,2),c=s[0],u=s[1];return(0,i.useEffect)(function(){var t,n,r=!0,i=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e),a=function(){r&&u(!!i.matches)};return i?(i.addEventListener("change",a),u(!!i.matches),function(){r=!1,i.removeEventListener("change",a)}):o.ZT},[e]),c}},20325:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return(0,r.useReducer)(t,e)}},95530:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(18911),o=n(49857),i=n(56818),a=n(2784),s=n(52903),c=["as","children","focusable","size","viewBox"],u=(0,a.forwardRef)(function(e,t){var n=e.as,u=void 0===n?"svg":n,l=e.children,f=e.focusable,p=e.size,d=void 0===p?"4x":p,h=e.viewBox,m=(0,r.Kd)(e,c),g=a.isValidElement(l)&&"svg"===l.type,y={};return"string"==typeof u&&"svg"===u.toLowerCase()&&(y.viewBox=void 0===h?"0 0 16 16":h),(0,s.tZ)(o.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-hidden":(0,i.Qm)(!0),as:u,fill:"currentColor",focusable:void 0!==f&&f,ref:t},{display:"inline-flex",flexShrink:0,width:d,height:d,verticalAlign:"middle"}),y),m),g&&l.props),{},{children:g?l.props.children:l}))});u.displayName="SVGIcon";var l=u},18911:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Kd:function(){return i},Zj:function(){return o}})},20012:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M12.5 6.5l-4.5 4.5-4.5-4.5 1-1 3.5 3.5 3.5-3.5 1 1z"}),"AngleDownIcon")},40809:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.501 12.506l-4.499-4.506 4.488-4.494 1 1-3.49 3.494 3.501 3.506z"}),"AngleLeftIcon")},45795:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.501 12.5l-1-1 3.501-3.506-3.49-3.494 1-1 4.488 4.494z"}),"AngleRightIcon")},85163:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M3.5 10l4.5-4.5 4.5 4.5-1 1-3.5-3.5-3.5 3.5-1-1z"}),"AngleUpIcon")},21457:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 12l-7-6.607 1.476-1.393 5.524 5.214 5.524-5.214 1.476 1.393z"}),"ChevronDownIcon")},97198:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M15 2l-1-1-6 6-6-6-0.99 0.99 5.99 6.010-6 6 1 1 6-6 6 6 1-1-6-6 6-6z"}),"CloseIcon")},37662:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9 8l4-4-1-1-4 4-4-4-1 1 4 4-4 4 1 1 4-4 4 4 1-1-4-4z"}),"CloseSIcon")},37384:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4.301 12.707l-4.301-4.353 4.301-4.354 0.699 0.707-3.603 3.647 3.603 3.646zM16 8.354l-4.301-4.354-0.699 0.707 3.603 3.646-3.603 3.647 0.699 0.707zM10 1.209l-0.979-0.209-3 14 0.979 0.209z"}),"CodeIcon")},8991:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1zM12.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1z"}),"CollapseLeftIcon")},88043:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5zM3.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5z"}),"CollapseRightIcon")},30047:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8v0c0.736-0 1.333-0.597 1.333-1.334 0-0.346-0.132-0.661-0.348-0.898l0.001 0.001c-0.21-0.234-0.338-0.544-0.338-0.885 0-0.734 0.595-1.328 1.328-1.328 0.002 0 0.004 0 0.005 0h1.573c2.454-0.001 4.444-1.99 4.444-4.444v-0c0-3.929-3.582-7.111-8-7.111zM3.111 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM5.778 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM10.222 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM12.889 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0z"}),"ColorIcon")},47438:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.3 7.3c-0.8 1-1.3 2.2-1.3 3.6-1 0.2-2 0.1-2 0.1l-2 2-1-1 2-2c0 0-0.2-2.8 1-4l1-1 2.3 2.3zM10.9 5c0.2-1 0.1-2 0.1-2l2-2-1-1-2 2c0 0-2.8-0.2-4 1l-1 1 2.3 2.3c1-0.8 2.2-1.3 3.6-1.3zM16 11c0 2.8-2.2 5-5 5s-5-2.2-5-5 2.2-5 5-5 5 2.2 5 5zM12 11l2-2-1-1-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2z"}),"ConnectErrorIcon")},85409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M11 0h-9c-0.5 0-1 0.5-1 1v14c0 0.5 0.5 1 1 1h12c0.5 0 1-0.5 1-1v-11l-4-4zM11 1.4l2.6 2.6h-2.6v-2.6zM14 15h-12v-14h8v4h4v10zM3.5 6.5c0-0.8 0.7-1.5 1.5-1.5s1.5 0.7 1.5 1.5c0 0.8-0.7 1.5-1.5 1.5s-1.5-0.7-1.5-1.5zM10 7l3 4v3h-10v-2l2-3 2 2.5 3-4.5z"}),"FileImageOIcon")},18247:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.25 2c0-1.103-0.897-2-2-2s-2 0.897-2 2c0 0.837 0.518 1.554 1.25 1.851v7.149c0 1.93-1.57 3.5-3.5 3.5s-3.5-1.57-3.5-3.5h2.5l-4-6v6c0 2.75 2.25 5 5 5h0c2.75 0 5-2.25 5-5v-7.149c0.732-0.298 1.25-1.014 1.25-1.851zM12.25 3c-0.551 0-1-0.448-1-1s0.449-1 1-1 1 0.448 1 1-0.449 1-1 1z"}),"HookIcon")},18267:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14 3v2h-12v-2zM2 9h12v-2h-12zM2 13h12v-2h-12z"}),"MenuIcon")},34323:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 12v-11.999h-2v11.999h-2l3 4 2.316-3.088c-0.089-0.254-0.167-0.561-0.221-0.876l-0.005-0.035zM7 6.537c0.562-0.506 1.227-0.91 1.958-1.175l0.042-0.013v-1.352h2l-3-3.996-3 3.996h2zM11 6c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-0.008 0-0.018 0-0.028 0-2.746-2.226-4.972-4.972-4.972-0.010 0-0.020 0-0.029 0h0.002zM10 14l-2.54-2.48 1.070-1 1.47 1.48 3.46-3.5 1.070 1.050z"}),"MigrateSuccessIcon")},57999:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M10.551 1.938c-1.005-0.59-2.213-0.938-3.502-0.938-0.019 0-0.037 0-0.056 0l0.003-0c2.535 1.791 3.835 5.746 2.251 8.481-1.585 2.737-5.487 3.272-8.309 1.979 1.235 2.13 3.504 3.54 6.103 3.54 2.583 0 4.841-1.393 6.063-3.469l0.018-0.033c0.591-1.004 0.94-2.211 0.94-3.5 0-2.579-1.398-4.832-3.477-6.043l-0.033-0.018z"}),"MoonIcon")},90800:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 6v3h-3v-3zM6 6v3h3v-3zM11 6v3h3v-3z"}),"MoreHorizIcon")},4409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M1.5 14.5s-0.7-0.8 0.7-3.5c0 0-2.2 1-2.2 5 4 0 5-2.2 5-2.2-2.8 1.4-3.5 0.7-3.5 0.7zM8.2 2.8l-0.2 0.2c-1.024 1.186-2.011 2.491-2.912 3.858l-0.088 0.142h-3l-1.2 1.3 2.7 1.7v1.1l1.4 1.4h1.1l1.7 2.8 1.3-1.3v-3c1.509-0.989 2.814-1.976 4.049-3.041l-0.049 0.041v-0.1l0.1-0.1c2.9-2.8 2.9-7.8 2.9-7.8s-5 0-7.8 2.8zM12 6c-1.105 0-2-0.895-2-2s0.895-2 2-2c1.105 0 2 0.895 2 2v0c-0.003 1.103-0.897 1.997-2 2h-0z"}),"RocketIcon")},21407:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M16 14.59l-4.26-4.26c0.787-1.064 1.259-2.403 1.259-3.851 0-3.601-2.919-6.52-6.52-6.52s-6.52 2.919-6.52 6.52c0 3.601 2.919 6.52 6.52 6.52 1.449 0 2.787-0.472 3.869-1.271l-0.018 0.013 4.26 4.26zM6.5 11.5c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"}),"SearchOIcon")},20365:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.BX)(o.HY,{children:[(0,o.tZ)("path",{d:"M8.75 0h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M8.75 14h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M2.873 1.813l-1.060 1.060 1.414 1.415 1.061-1.061-1.415-1.414z"}),(0,o.tZ)("path",{d:"M12.773 11.712l-1.061 1.061 1.415 1.414 1.060-1.060-1.414-1.415z"}),(0,o.tZ)("path",{d:"M2 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M16 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M3.227 11.712l-1.414 1.415 1.060 1.060 1.415-1.414-1.061-1.061z"}),(0,o.tZ)("path",{d:"M13.127 1.813l-1.415 1.414 1.061 1.061 1.414-1.415-1.060-1.060z"}),(0,o.tZ)("path",{d:"M12.75 8c0 2.623-2.127 4.75-4.75 4.75s-4.75-2.127-4.75-4.75c0-2.623 2.127-4.75 4.75-4.75s4.75 2.127 4.75 4.75z"})]}),"SunIcon")},91112:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8.596 10.697l5.004 5.004c0.4 0.4 1 0.4 1.4 0l0.7-0.8c0.4-0.4 0.4-1 0-1.4l-4.928-4.928c-0.007-0.002-0.014-0.003-0.021-0.005l-2.155 2.129zM7 3l-4.714-3-2.286 2.286 3 4.714 2.789 0.004 1.223-1.205-0.013-2.799zM16 3.893c0 0.536-0.098 1.036-0.295 1.5-0.205 0.473-0.48 0.884-0.824 1.232s-0.743 0.621-1.199 0.817c-0.455 0.205-0.942 0.308-1.46 0.308-0.295 0-0.589-0.025-0.884-0.074s-0.571-0.141-0.83-0.275l-8.446 8.343c-0.179 0.17-0.382 0.254-0.609 0.254s-0.426-0.085-0.596-0.254l-0.603-0.683c-0.17-0.17-0.254-0.368-0.254-0.596s0.085-0.431 0.254-0.609l8.46-8.33c-0.232-0.473-0.362-0.964-0.388-1.473-0.036-0.509 0.025-0.996 0.181-1.46s0.4-0.888 0.73-1.272c0.321-0.393 0.719-0.705 1.192-0.938 0.473-0.214 0.96-0.339 1.46-0.375s0.987 0.031 1.46 0.201l-2.237 2.223c-0.17 0.17-0.254 0.371-0.254 0.603s0.085 0.433 0.254 0.603l1.205 1.192c0.17 0.179 0.368 0.268 0.596 0.268s0.426-0.089 0.596-0.268l2.237-2.223c0.080 0.214 0.143 0.429 0.188 0.643s0.067 0.429 0.067 0.643z"}),"ToolsConfigurationIcon")},57805:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.104 13h-1.231c-0.381-1.055-0.958-1.956-1.693-2.702l0.001 0.001c-0.637-0.638-1.378-1.174-2.195-1.578l-0.048-0.022c0.658-0.708 1.062-1.661 1.062-2.707 0-1.655-1.010-3.075-2.447-3.676l-0.026-0.010c0.547-0.795 1.452-1.31 2.477-1.31 1.655 0 2.996 1.342 2.996 2.996 0 1.189-0.693 2.216-1.696 2.701l-0.018 0.008v0.458c1.254 0.339 2.329 0.98 3.182 1.842l0.001 0.001c0.983 1 3.069 4-0.364 4zM7.286 9.158v-0.458c1.022-0.493 1.714-1.521 1.714-2.711 0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.19 0.692 2.218 1.696 2.703l0.018 0.008v0.458c-1.254 0.339-2.329 0.98-3.182 1.842l-0.001 0.001c-0.983 1-3.069 4 0.364 4h8.208c3.433 0 1.347-3 0.364-4-0.854-0.862-1.929-1.504-3.133-1.831l-0.049-0.011z"}),"UserTeamIcon")},44152:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M7 2v6c0 0.6-0.4 1-1 1h-4c-0.6 0-1-0.4-1-1v-6c0-0.6 0.4-1 1-1h4c0.6 0 1 0.4 1 1zM6 11h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 1h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 7h-4c-0.6 0-1 0.4-1 1v6c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-6c0-0.6-0.4-1-1-1z"}),"WidgetsIcon")},84668:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 1l-7 3v8l7 3 7-3v-8l-7-3zM12.9 4.7l-4.9 2.4-4.9-2.4 4.9-2.1 4.9 2.1zM2.5 6.1l4.8 2.4v4.6l-4.8-2.1v-4.9zM8.7 13.1v-4.6l4.8-2.4v4.9l-4.8 2v0.1z"}),"WorkspaceIcon")},75928:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18911),o=n(2784),i=n(95530),a=n(52903),s=function(e,t){var n="string"==typeof t?t:null==t?void 0:t.displayName,s=(0,o.forwardRef)(function(t,o){return(0,a.tZ)(i.Z,(0,r.Zj)((0,r.Zj)({"data-icon":n,ref:o},t),{},{children:e}))});return s.displayName=n,(0,o.memo)(s)}},53860:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||f(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{AI:function(){return c},Ac:function(){return i},Kd:function(){return s},ZQ:function(){return u},Zj:function(){return o},_x:function(){return a},sf:function(){return d},u:function(){return l}})},76013:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(56818),i=n(92307),a=n.n(i),s=n(2784),c=n(98827),u=n(67078),l=n(65590),f=n(52903),p=n(49857),d=["children"],h=a()(function(e){return(0,r.Zj)({},e)}),m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"Accordion"}),i=n.children,a=(0,r.Kd)(n,d),s=h({}),m=(0,l.k1)();return(0,f.tZ)(u.S.Provider,{value:s,children:(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},m),a),{},{children:(0,o.Pu)(i,s)}))})});m.displayName="Accordion";var g=m},25619:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(14594),c=n(48580),u=n(52903),l=n(49857),f=["TransitionComponent","TransitionProps"],p=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"AccordionContent"}),i=n.TransitionComponent,p=void 0===i?s.Z:i,d=n.TransitionProps,h=(0,r.Kd)(n,f),m=(0,c.Z)();return m?(0,u.tZ)(p,(0,r.Zj)((0,r.Zj)({appear:!1},d),{},{"aria-hidden":(0,o.Qm)(!(null!=m&&m.isExpanded)),"aria-labelledby":null==m?void 0:m.accordionToggleId,id:null==m?void 0:m.accordionContentId,in:null==m?void 0:m.isExpanded,ref:t,role:"region"},h)):(0,u.tZ)(l.Z,(0,r.Zj)({ref:t},h))});p.displayName="AccordionContent";var d=p},79036:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(5081),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(65204),f=n(20655),p=n(67078),d=function(){if(!c.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,c.useContext)(p.S)},h=n(52903),m=n(49857),g=["children","disabled","isExpanded","defaultIsExpanded","onToggle"],y=s()(function(e){return(0,r.Zj)({},e)}),v=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"AccordionItem"}),a=n.children,s=n.disabled,v=n.isExpanded,b=n.defaultIsExpanded,k=n.onToggle,x=(0,r.Kd)(n,g),w=d(),_=(0,f.Z)(),S="".concat(l.Z.name,":AccordionToggle-").concat(_),O="".concat(l.Z.name,":AccordionContent-").concat(_),E=(0,c.useState)(null!=v?v:b),j=(0,r.ZQ)(E,2),T=j[0],C=j[1];(0,c.useEffect)(function(){void 0!==v&&C(v)},[v]);var A=(0,c.useCallback)(function(){void 0!==v||C(!T),(0,i.zU)(k)({isExpanded:!T})},[T,v,k]),R=y({accordionToggleId:S,accordionContentId:O,disabled:s,isExpanded:T,onToggle:A,variant:null==w?void 0:w.variant});return(0,h.tZ)(p.g.Provider,{value:R,children:(0,h.tZ)(m.Z,(0,r.Zj)((0,r.Zj)({ref:t},x),{},{children:(0,o.Pu)(a,R)}))})});v.displayName="AccordionItem";var b=v},80508:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(48580),l=n(65590),f=n(52903),p=["children","disabled","onClick"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"AccordionToggle"}),a=n.children,d=n.disabled,h=n.onClick,m=(0,r.Kd)(n,p),g=(0,u.Z)(),y=(0,i.pr)(null!=d?d:null==g?void 0:g.disabled),v=(0,l.vo)(),b=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":null==g?void 0:g.accordionContentId,"aria-disabled":(0,o.Qm)(y),"aria-expanded":(0,o.Qm)(null==g?void 0:g.isExpanded),disabled:y,id:null==g?void 0:g.accordionToggleId,onClick:(0,o.N)(h,null==g?void 0:g.onToggle),ref:t,role:"button",tabIndex:0},v),m)};return"function"==typeof a?a({getAccordionToggleProps:b}):(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({},b()),{},{children:a}))})},90094:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(53860),o=n(20325),i=n(21457),a=n(83377),s=n(33558),c=n(56818),u=n(5081),l=n(2784),f=n(41759),p=n(98827),d=n(65590),h=n(48580),m=n(52903),g=n(49857),y=["appear","children","disabled","easing","style","timeout"],v=function(e,t){var n={entering:function(e){return{transform:"rotate(-180deg)"}},entered:function(e){return{transform:"rotate(-180deg)"}},exiting:function(e){return{transform:"rotate(0deg)"}},exited:function(e){return{transform:"rotate(0deg)"}}}[e];return"function"==typeof n?n(t):n},b={enter:a.YU.easeOut,exit:a.YU.easeOut},k={enter:133,exit:Math.floor(93.1)},x=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"AccordionToggleIcon"}),x=n.appear,w=n.children,_=n.disabled,S=n.easing,O=void 0===S?b:S,E=n.style,j=n.timeout,T=void 0===j?k:j,C=(0,r.Kd)(n,y),A=(0,h.Z)(),R=(0,d._X)(),I=(0,l.useRef)(null),P=(0,o.Z)(I,t),Z=(0,u.pr)(null!=_?_:null==A?void 0:A.disabled),N=(0,u.pr)(null==A?void 0:A.isExpanded);return(0,l.useEffect)(function(){if(N){var e=I.current;(0,s.nq)(e)}},[N]),(0,m.tZ)(f.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==x&&x,in:N,nodeRef:I,timeout:T},C),{},{children:function(e,t){var n=N?(0,a.c)({style:E,timeout:T,easing:O}):(0,a.Zk)({style:E,timeout:T,easing:O}),o=(0,a.zx)("transform",n),s=v(e,{}),u=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},R),s),{},{"aria-disabled":(0,c.Qm)(Z),transition:o});return"function"==typeof w?w(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:P,style:(0,r.Zj)((0,r.Zj)({},u),E)})):(0,m.tZ)(g.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:P},u),t),{},{style:E,children:null!=w?w:(0,m.tZ)(i.Z,{size:"4x"})}))}}))});x.displayName="AccordionToggleIcon";var w=x},67078:function(e,t,n){"use strict";n.d(t,{S:function(){return o},g:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},65590:function(e,t,n){"use strict";n.d(t,{QW:function(){return s},Z_:function(){return c},_X:function(){return l},k1:function(){return a},vo:function(){return u}});var r=n(53860),o=n(40596),i=n(27216),a=function(){return{display:"flex",flexDirection:"column"}},s=function(){var e=(0,o.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,i.u)().sizes,a=n["1q"],s=n["4x"],c="calc(".concat(n["3x"]," - ").concat(a,")");return{display:"flex",alignItems:"center",justifyContent:"space-between",columnGap:"4x",backgroundColor:({dark:"gray:90",light:"white"})[t],borderColor:"transparent",borderStyle:"solid",borderWidth:a,color:({dark:"white:primary",light:"black:primary"})[t],_disabled:{color:({dark:"white:disabled",light:"black:disabled"})[t]},px:s,py:c,width:"100%"}},c=function(){return{}},u=function(){return{width:"100%"}},l=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}}},48580:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(67078),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.g)}},62080:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(83513),c=n(17705),u=n(12711),l=function(){if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,i.useContext)(u.u)},f=n(52903),p=["disabled","selected","size","variant"],d="default",h=(0,i.forwardRef)(function(e,t){var n,i,u=(0,a.Z)({props:e,name:"Button"}),h=u.disabled,m=u.selected,g=u.size,y=u.variant,v=(0,r.Kd)(u,p),b=h,k=g,x=y,w=l();if(w){var _,S,O,E,j,T,C=(0,r.Zj)({},w),A=C.disabled,R=C.orientation,I=C.size,P=C.variant;b=null!==(S=b)&&void 0!==S?S:A,_=null!=R?R:"horizontal",k=null!==(O=null!==(E=k)&&void 0!==E?E:I)&&void 0!==O?O:"md",x=null!==(j=null!==(T=x)&&void 0!==T?T:P)&&void 0!==j?j:d}else k=null!==(n=k)&&void 0!==n?n:"md",x=null!==(i=x)&&void 0!==i?i:d;var Z={"aria-disabled":(0,o.Qm)(b),"data-selected":(0,o.PB)(m),type:"button",disabled:b,tabIndex:m?-1:void 0},N=(0,c.eJ)({orientation:_,size:k,variant:x});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,as:"button"},Z),N),v))});h.displayName="Button";var m=h},83513:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(17705),c=n(52903),u=n(49857),l=["children","disabled"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"ButtonBase"}),i=n.children,f=n.disabled,p=(0,r.Kd)(n,l),d=(0,s.qz)({disabled:f});return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-disabled":(0,o.Qm)(f),as:"button",type:"button",disabled:f},d),p),{},{children:i}))});f.displayName="ButtonBase";var p=f},12711:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var r=(0,n(2784).createContext)()},17705:function(e,t,n){"use strict";n.d(t,{K7:function(){return h},eJ:function(){return p},qz:function(){return d}});var r=n(53860),o=n(83377),i=n(5081),a=n(40596),s=n(27216),c=function(e){var t,n,r,o,i=e.colorMode,a=e.theme;return{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],borderColor:"transparent",color:({dark:"white:emphasis",light:"black:emphasis"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"gray:50",light:"gray:10"})[i],zIndex:2},_active:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},u=function(e){var t,n,r,o,i=e.colorMode,a=e.theme,s={dark:"gray:60",light:"gray:30"}[i],c={dark:"blue:50",light:"blue:50"}[i],u={dark:"blue:40",light:"blue:60"}[i];return{borderColor:s,color:({dark:"white:primary",light:"black:primary"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{color:u,"&:not(:focus-visible)":{borderColor:c},zIndex:2},_active:{borderColor:c,backgroundColor:({dark:"rgba(0, 0, 0, 0.12)",light:"rgba(0, 0, 0, 0.08)"})[i],color:u},_disabled:{borderColor:s,color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},l=function(e){var t=e.colorMode,n=u({colorMode:t,theme:e.theme}),o={dark:"gray:70",light:"gray:30"}[t],i={dark:"gray:70",light:"gray:30"}[t],a={dark:"white:emphasis",light:"black:emphasis"}[t];return(0,r.Zj)((0,r.Zj)({},n),{},{borderColor:"transparent",_disabled:(0,r.Zj)((0,r.Zj)({},n._disabled),{},{borderColor:"transparent",cursor:"not-allowed"}),_selected:{backgroundColor:o,borderColor:i,color:a,pointerEvents:"none"}})},f=function(e){var t,n,r,o,i=e.color,a=e.colorMode,s=e.theme;return{backgroundColor:({dark:"".concat(i,":60"),light:"".concat(i,":60")})[a],borderColor:"transparent",color:({dark:"white:emphasis",light:"white:emphasis"})[a],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[a],boxShadow:["inset 0 0 0 ".concat(null==s?void 0:null===(t=s.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==s?void 0:null===(n=s.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[a]]),"inset 0 0 0 ".concat(null==s?void 0:null===(r=s.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==s?void 0:null===(o=s.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[a]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"".concat(i,":50"),light:"".concat(i,":50")})[a],zIndex:2},_active:{backgroundColor:({dark:"".concat(i,":70"),light:"".concat(i,":70")})[a]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[a],color:({dark:"white:emphasis",light:"black:emphasis"})[a],cursor:"not-allowed",opacity:({dark:.28,light:.3})[a]},_selected:{backgroundColor:({dark:"".concat(i,":80"),light:"".concat(i,":80")})[a],color:({dark:"white:emphasis",light:"white:emphasis"})[a],pointerEvents:"none"}}},p=function(e){var t=e.orientation,n=e.size,i=e.variant,p=(0,a.Z)(),d=(0,r.ZQ)(p,1)[0],h=(0,s.u)(),m={display:"inline-flex",alignItems:"center",justifyContent:"center",appearance:"none",userSelect:"none",whiteSpace:"nowrap",border:1,borderRadius:"sm",px:"3x",transition:(0,o.zx)(["background-color","border-color","box-shadow","color"],{duration:200})},g={secondary:u({colorMode:d,theme:h}),ghost:l({colorMode:d,theme:h}),emphasis:f({color:"red",colorMode:d,theme:h}),primary:f({color:"blue",colorMode:d,theme:h}),default:c({colorMode:d,theme:h})}[i];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},m),{horizontal:{_notFirstOfType:{borderTopLeftRadius:0,borderBottomLeftRadius:0},_notLastOfType:{borderTopRightRadius:0,borderBottomRightRadius:0}},vertical:{_notFirstOfType:{borderTopLeftRadius:0,borderTopRightRadius:0},_notLastOfType:{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}[t]),{lg:{minHeight:"10x",fontSize:"md",lineHeight:"md"},md:{minHeight:"8x",fontSize:"sm",lineHeight:"sm"},sm:{minHeight:"6x",fontSize:"sm",lineHeight:"sm"}}[n]),g)},d=function(e){var t=e.disabled;return{appearance:"none",backgroundColor:"inherit",border:"none",color:"inherit",cursor:(0,i.pr)(t)?"not-allowed":"pointer",outline:0,padding:0}},h=function(e){var t=e.orientation;return(0,r.Zj)({display:"inline-flex"},{vertical:{flexDirection:"column"},horizontal:{flexDirection:"row"}}[t])}},78366:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(53860),o=n(2784),i=n(98827),a=n(40596),s=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0];return{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[t],borderRadius:"sm",color:({dark:"white:primary",light:"black:primary"})[t],fontFamily:"mono",px:"1x"}},c=n(52903),u=n(49857),l=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Code"}),o=s();return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"code",ref:t},o),n))});l.displayName="Code";var f=l},14641:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(33558),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(43901),f=function(e){var t,n,r=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e);if(r)return r.matches},p={dark:"(prefers-color-scheme: dark)"},d=function(e){var t;return(null!==(t=f(p.dark))&&void 0!==t?t:"dark"===e)?"dark":"light"},h=n(52903),m=function(e){return"dark"===e?"dark":"light"},g=s()(function(e){return(0,r.Zj)({},e)}),y=function(e,t){return void 0===t?"dark"===e?"light":"dark":m(t)},v=function(e){var t=(0,u.Z)({props:e,name:"ColorModeProvider"}),n=t.children,a=t.defaultValue,s=t.value,f=t.onChange,v=t.useSystemColorMode,b="dark"===a?"dark":"light",k=(0,c.useReducer)(y,m(null!=s?s:b)),x=(0,r.ZQ)(k,2),w=x[0],_=x[1];(0,c.useEffect)(function(){void 0!==s&&_(s)},[s]);var S=(0,c.useCallback)(function(e){void 0!==s?_(s):_(e),"function"==typeof f&&f(e)},[s,f]);(0,c.useEffect)(function(){if(null!=s||!v||!(0,i.Nq)())return o.ZT;S(d(b));var e,t,n=null===(e=window)||void 0===e?void 0:null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,p.dark),r=function(){S(n.matches?"dark":"light")};return n.addEventListener("change",r),function(){n.removeEventListener("change",r)}},[a,s,v,b,S]);var O=g({colorMode:w,onChange:S});return(0,h.tZ)(l.k.Provider,{value:O,children:n})};v.displayName="ColorModeProvider";var b=v},43901:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r=(0,n(2784).createContext)()},40596:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5081),o=n(2784),i=n(43901),a=function(){if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");var e=(0,o.useContext)(i.k);if(void 0===e)throw Error("The `useColorMode` hook must be called from a descendent of the `ColorModeProvider`.");var t=(0,r.ks)(e),n=t.colorMode,a=t.onChange,s=(0,o.useCallback)(function(e){"function"==typeof e&&(e=e(n)),a(e)},[n,a]);return[n,s]}},45437:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r,o=n(56818),i=(r=!1,function(e,t){return r?e:new Proxy(e,{get:function(){return r||(null==t||t(),r=!0),Reflect.get.apply(Reflect,arguments)}})}),a={dark:{background:{primary:"gray:100",secondary:"gray:90",tertiary:"gray:80",inverted:"gray:10",inverse:"gray:10",highlighted:"rgba(255, 255, 255, 0.12)",selected:"rgba(255, 255, 255, 0.08)"},color:{emphasis:"white:emphasis",primary:"white:primary",secondary:"white:secondary",tertiary:"white:tertiary",disabled:"white:disabled",success:"green:40",info:"blue:40",warning:"orange:50",error:"red:50"},divider:"rgba(255, 255, 255, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.48), 0 1px 2px 0 rgba(0, 0, 0, 0.16)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.48), 0 2px 4px 0 rgba(0, 0, 0, 0.16)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.48), 0 4px 8px 0 rgba(0, 0, 0, 0.16)"},severity:i({critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",safe:"green:40",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}},light:{background:{primary:"white:emphasis",secondary:"gray:10",tertiary:"gray:20",inverted:"gray:70",inverse:"gray:70",highlighted:"rgba(0, 0, 0, 0.12)",selected:"rgba(0, 0, 0, 0.08)"},color:{emphasis:"black:emphasis",primary:"black:primary",secondary:"black:secondary",tertiary:"black:tertiary",disabled:"black:disabled",success:"green:50",info:"blue:60",warning:"orange:50",error:"red:60"},divider:"rgba(0, 0, 0, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.16), 0 1px 2px 0 rgba(0, 0, 0, 0.08)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.16), 0 2px 4px 0 rgba(0, 0, 0, 0.08)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.16), 0 4px 8px 0 rgba(0, 0, 0, 0.08)"},severity:i({critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",safe:"green:50",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}}}},44702:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r=(0,n(2784).createContext)()},85017:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(43901),s=n(44702),c=function(e){var t=(0,o.ks)(e).colorMode,n=(0,o.ks)((0,i.useContext)(a.k)).colorMode,c=null!=t?t:n;if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var u=(0,i.useContext)(s.I);if(void 0===u)throw Error("The `useColorStyle` hook must be called from a descendent of the `ColorStyleProvider`.");var l=(0,o.ks)(u),f=l.colorStyle,p=l.onChange;if(!Object.prototype.hasOwnProperty.call(f,c))throw Error("The `colorMode` must be one of:",Object.keys(f));return[(0,o.ks)(f[c]),(0,i.useCallback)(function(e){"function"==typeof e&&(e=e(f)),p((0,r.Zj)((0,r.Zj)({},f),{},(0,r._x)({},c,(0,o.ks)(e))))},[c,f,p])]}},79808:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=(0,n(2784).createContext)({})},98827:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2784),o=n(79808),i=n(53860),a=function e(t,n){for(var r=(0,i.Zj)({},n),o=0,a=Object.entries(t);o *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child) > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0}})},T=function(){return{display:"flex",ml:-1}},C=function(){return(0,o.Z)({"& > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0},"&:not(:first-of-type) > *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0}})},A=function(){return{display:"flex",mr:-1}},R=function(e){var t=e.variant,n=(0,i.Z)(),a=(0,r.ZQ)(n,1)[0],c={dark:"blue:60",light:"blue:60"}[a],u=(0,r._x)((0,r._x)((0,r._x)({},s.GY,"border"),s.$r,"border"),s.n2,"borderBottom")[t];if(!u)return{};var l="".concat(u,"Color");return(0,o.Z)({"&:has(> input:focus:invalid), &:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c),"&:hover:has(> input:invalid), &:hover:has(> input[aria-invalid=true])":(0,r._x)({},l,{dark:"red:50",light:"red:60"}[a]),"&:hover:has(> input:focus:invalid), &:hover:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c)})},I=function(e){var t,n=e.inputState,o=e.size,a=e.variant,c=(0,i.Z)(),u=(0,r.ZQ)(c,1)[0],l=(t=({sm:{fontSize:"sm",lineHeight:"sm",height:"6x"},md:{fontSize:"sm",lineHeight:"sm",height:"8x"},lg:{fontSize:"md",lineHeight:"md",height:"10x"}})[o],a===s.rO&&(t.height=void 0),t),f=y({colorMode:u,inputState:n,variant:a});return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",alignItems:"center",position:"relative",transition:"all .2s"}),l),f)},P=function(e){var t,n=e.inputState,o=e.size,i=e.variant,c=e.startAdornment,u=e.endAdornment,l=(0,a.u)().sizes,f={cursor:null!=n&&n.disabled?"not-allowed":void 0,width:"100%"},p=(t=({sm:{fontSize:"sm",lineHeight:"sm"},md:{fontSize:"sm",lineHeight:"sm"},lg:{fontSize:"md",lineHeight:"md"}})[o],(i===s.GY||i===s.$r)&&(t.px="calc(".concat(l["3x"]," - ").concat(l["1q"],")")),c&&u&&(t.px=void 0),c&&!u&&(t.pr=t.px,t.px=void 0),!c&&u&&(t.pl=t.px,t.px=void 0),t);return(0,r.Zj)((0,r.Zj)({},f),p)}},40374:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(71247),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.K)}},19088:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(10130),c=n(52903),u=n(49857),l=["disabled","onClick","textDecoration"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"Link"}),f=n.disabled,p=n.onClick,d=n.textDecoration,h=(0,r.Kd)(n,l),m=(0,s.$)({disabled:f,textDecoration:d}),g=(0,i.useCallback)(function(e){return e.preventDefault()},[]);return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"a",ref:t,"aria-disabled":(0,o.Qm)(f),onClick:f?g:p},m),h))});f.displayName="Link";var p=f},10130:function(e,t,n){"use strict";n.d(t,{$:function(){return i},u:function(){return a}});var r=n(53860),o=n(40596),i=function(e){var t=e.disabled,n=e.textDecoration,i=(0,o.Z)(),a=(0,r.ZQ)(i,1)[0];return{color:({light:"blue:60",dark:"blue:40"})[a],cursor:"pointer",textDecoration:null!=n?n:"none",display:"inline-flex",alignItems:"center",_disabled:{color:({light:"black:disabled",dark:"white:disabled"})[a],cursor:"not-allowed"},_visited:{color:({light:"purple:60",dark:"purple:50"})[a]},_hover:{color:({light:"blue:50",dark:"blue:40"})[a],textDecoration:t?n:n?"none":"underline"},_active:{color:"blue:60",textDecoration:null!=n?n:t?"none":"underline"}}},a=function(){return{}}},15192:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(53860),o=n(25013),i=n(70404),a=n(56818),s=n(5081),c=n(92307),u=n.n(c),l=n(2784),f=n(98827),p=n(65204),d=n(20655),h=n(52741),m=n(99723),g=n(52903),y=n(49857),v=["anchorEl","autoSelect","children","closeOnBlur","closeOnSelect","defaultActiveIndex","defaultIsOpen","isOpen","offset","onClose","onOpen","placement","returnFocusOnClose"],b=u()(function(e){return(0,r.Zj)({},e)}),k=(0,l.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Menu"}),c=n.anchorEl,u=n.autoSelect,k=n.children,x=n.closeOnBlur,w=n.closeOnSelect,_=n.defaultActiveIndex,S=void 0===_?-1:_,O=n.defaultIsOpen,E=n.isOpen,j=n.offset,T=n.onClose,C=n.onOpen,A=n.placement,R=void 0===A?"bottom-start":A,I=n.returnFocusOnClose,P=void 0===I||I,Z=(0,r.Kd)(n,v),N=(0,l.useRef)(null),F=(0,l.useRef)(null),L=(0,l.useState)(S),M=(0,r.ZQ)(L,2),D=M[0],B=M[1],z=(0,l.useState)(null!=E?E:void 0!==O&&O),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q=(0,o.Z)(U),W=(0,l.useCallback)(function(){return N.current?(0,i.t)(N.current).filter(function(e){return"menuitem"===e.getAttribute("role")}):[]},[]);(0,l.useEffect)(function(){void 0!==E&&H(E)},[E]),(0,l.useEffect)(function(){U&&requestAnimationFrame(function(){W().forEach(function(e,t){return 0===t&&e.setAttribute("tabindex",0)})})},[U,W]),(0,l.useEffect)(function(){-1!==D&&requestAnimationFrame(function(){var e=W(),t=e[D];t&&t.focus(),e.forEach(function(e,t){t===D?e.setAttribute("tabindex",0):e.setAttribute("tabindex",-1)})}),-1===D&&!U&&q&&P&&requestAnimationFrame(function(){var e=F.current;e&&e.focus()}),-1===D&&U&&!q&&requestAnimationFrame(function(){var e=N.current;e&&e.focus()})},[U,D,W,N,F,q,P]);var V=(0,l.useCallback)(function(){void 0!==E||H(!0),"function"==typeof C&&C()},[E,C]),K=(0,l.useCallback)(function(){W().length>0&&B(0)},[W]),Q=(0,l.useCallback)(function(){var e=W();e.length>0&&B(e.length-1)},[W]),G=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D+1)%e.length)},[D,W]),Y=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D-1+e.length)%e.length)},[D,W]),X=(0,l.useCallback)(function(){void 0!==E||H(!1),"function"==typeof T&&T(),B(S),W().forEach(function(e){return e.setAttribute("tabindex",-1)})},[W,E,T,S]);c&&(F.current=c);var J=(0,d.Z)(),ee="".concat(p.Z.name,":Menu-").concat(J),et="".concat(p.Z.name,":MenuToggle-").concat(J),en=b({autoSelect:void 0!==u&&u,closeOnBlur:void 0===x||x,closeOnSelect:void 0===w||w,direction:{top:"up",bottom:"down"}[(0,s.Zs)(R).split("-")[0]],focusOnFirstItem:K,focusOnLastItem:Q,focusOnNextItem:G,focusOnPreviousItem:Y,isOpen:U,offset:j,onClose:X,onOpen:V,placement:R,menuId:ee,menuContentRef:N,menuToggleId:et,menuToggleRef:F}),er=(0,m.uq)();return(0,g.tZ)(h.p.Provider,{value:en,children:(0,g.tZ)(y.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},er),Z),{},{children:(0,a.Pu)(k,en)}))})});k.displayName="Menu";var x=k},66785:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(2784),i=n(62080),a=n(98827),s=n(12226),c=n(24718),u=n(99723),l=n(52903),f=n(49857),p=["children","css","disabled","onClick","onKeyDown","variant"],d=(0,o.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"MenuButton"}),o=n.children,d=n.css,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=n.variant,v=(0,r.Kd)(n,p),b=[(0,u.lp)({variant:y}),d],k=(0,u.q8)();return(0,l.tZ)(s.Z,{disabled:h,onClick:m,onKeyDown:g,children:function(e){var n=e.getMenuToggleProps;return(0,l.BX)(i.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,css:b,variant:y},n()),k),v),{},{children:[(0,l.tZ)(f.Z,{children:o}),(0,l.tZ)(c.Z,{})]}))}})});d.displayName="MenuButton";var h=d},47721:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(98827),u=n(67250),l=n(14594),f=n(99723),p=n(8031),d=n(52903),h=["PopperComponent","PopperProps","TransitionComponent","TransitionProps","children","onBlur","onKeyDown"],m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuContent"}),m=n.PopperComponent,g=void 0===m?u.Z:m,y=n.PopperProps,v=n.TransitionComponent,b=void 0===v?l.Z:v,k=n.TransitionProps,x=n.children,w=n.onBlur,_=n.onKeyDown,S=(0,r.Kd)(n,h),O=(0,s.useRef)(null),E=(0,o.Z)(O,t),j=(0,p.Z)(),T=(0,r.Zj)({},j),C=T.closeOnBlur,A=T.isOpen,R=T.focusOnFirstItem,I=T.focusOnLastItem,P=T.focusOnNextItem,Z=T.focusOnPreviousItem,N=T.menuId,F=T.menuToggleId,L=T.menuToggleRef,M=T.menuContentRef,D=T.offset,B=T.onClose,z=T.placement,$={};$.onBlur=function(e){var t,n,r,o,i=e.relatedTarget||document.activeElement,s=!(null!==(t=L.current)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,i)),c=!(null!==(r=M.current)&&void 0!==r&&null!==(o=r.contains)&&void 0!==o&&o.call(r,i));A&&C&&i&&s&&c&&(0,a.zU)(B)()},$.onKeyDown=function(e){var t=null==e?void 0:e.key,n=null==e?void 0:e.shiftKey;"ArrowDown"===t&&(e.preventDefault(),(0,a.zU)(P)()),"ArrowUp"===t&&(e.preventDefault(),(0,a.zU)(Z)()),"End"===t&&(e.preventDefault(),(0,a.zU)(I)()),"Home"===t&&(e.preventDefault(),(0,a.zU)(R)()),"Tab"===t&&(e.preventDefault(),(0,a.zU)(n?Z:P)()),"Escape"===t&&(0,a.zU)(B)()};var U=(0,f.Pn)({tabIndex:-1}),H=(0,a.rY)(D),q=(0,r.ZQ)(H,2),W=q[0],V=void 0===W?0:W,K=q[1],Q=void 0===K?0:K,G=(0,s.useMemo)(function(){return[{name:"flip",enabled:!1},{name:"offset",options:{offset:[V,Q]}}]},[V,Q]);return(0,d.tZ)(g,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-labelledby":F,anchorEl:null==L?void 0:L.current,"data-menu-id":N,id:N,isOpen:A,placement:z,ref:M,role:"menu",tabIndex:-1,unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"dropdown",onBlur:(0,i.N)(w,$.onBlur),onKeyDown:(0,i.N)(_,$.onKeyDown)},y),{},{modifiers:[].concat((0,r.u)(G),(0,r.u)((0,a.rY)(null==y?void 0:y.modifiers)))},U),S),{},{children:function(e){e.placement;var t=e.transition,n=(0,r.Zj)({},t),o=n.in,a=n.onEnter,s=n.onExited;return(0,d.tZ)(b,(0,r.Zj)((0,r.Zj)({appear:!0,easing:"linear",timeout:{enter:133,exit:Math.floor(93.1)}},k),{},{ref:E,in:o,onEnter:(0,i.PP)(a,null==k?void 0:k.onEnter),onExited:(0,i.PP)(s,null==k?void 0:k.onExited),children:x}))}}))});m.displayName="MenuContent";var g=m},3342:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(72448),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuDivider"}),o=(0,s.ue)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuDivider";var l=u},94829:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(99723),l=n(8031),f=n(52903),p=["disabled","onClick","onKeyDown","role"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuItem"}),a=n.disabled,d=n.onClick,h=n.onKeyDown,m=n.role,g=(0,r.Kd)(n,p),y=(0,l.Z)(),v=(0,r.Zj)({},y),b=v.closeOnSelect,k=v.onClose,x=(0,u.XP)({tabIndex:-1});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({ref:t,role:void 0===m?"menuitem":m,tabIndex:-1,disabled:a,"aria-disabled":(0,o.Qm)(a),onClick:(0,o.N)(d,function(e){if(a){e.stopPropagation(),e.preventDefault();return}b&&(0,i.zU)(k)()}),onKeyDown:(0,o.N)(h,function(e){!a&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d&&(0,i.zU)(d)(),b&&(0,i.zU)(k)())})},x),g))});d.displayName="MenuItem";var h=d},87888:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(47721),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuList"}),o=(0,s.id)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuList";var l=u},12226:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(83513),u=n(98827),l=n(99723),f=n(8031),p=n(52903),d=["children","disabled","onClick","onKeyDown"],h=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"MenuToggle"}),s=n.children,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=(0,r.Kd)(n,d),v=(0,f.Z)(),b=(0,r.Zj)({},v),k=b.autoSelect,x=b.focusOnLastItem,w=b.focusOnFirstItem,_=b.isOpen,S=b.menuId,O=b.menuToggleId,E=b.menuToggleRef,j=b.onClose,T=b.onOpen,C=(0,o.Z)(E,t),A=(0,l.Z7)(),R=(0,i.N)(m,function(e){if(h){e.preventDefault();return}if(_){(0,a.zU)(j)();return}(0,a.zU)(T)(),k&&w()}),I=(0,i.N)(g,function(e){if(h){e.preventDefault();return}if("ArrowDown"===e.key){(0,a.zU)(T)(),(0,a.zU)(w)();return}if("ArrowUp"===e.key){(0,a.zU)(T)(),(0,a.zU)(x)();return}}),P=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":S,"aria-disabled":(0,i.Qm)(h),"aria-expanded":(0,i.Qm)(_),"aria-haspopup":"menu",disabled:h,id:O,onClick:R,onKeyDown:I,ref:C,role:"button",tabIndex:0},A),y)};return"function"==typeof s?s({getMenuToggleProps:P}):(0,p.tZ)(c.Z,(0,r.Zj)((0,r.Zj)({},P()),{},{children:s}))});h.displayName="MenuToggle";var m=h},24718:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(20325),i=n(85163),a=n(20012),s=n(40809),c=n(45795),u=n(83377),l=n(33558),f=n(56818),p=n(2784),d=n(41759),h=n(98827),m=n(99723),g=n(8031),y=n(52903),v=n(49857),b=["appear","children","disabled","easing","style","timeout"],k=function(e,t){var n={entering:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},entered:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},exiting:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}},exited:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}}}[e];return"function"==typeof n?n(t):n},x={enter:u.YU.easeOut,exit:u.YU.easeOut},w={enter:133,exit:Math.floor(93.1)},_=(0,p.forwardRef)(function(e,t){var n=(0,h.Z)({props:e,name:"MenuToggleIcon"}),_=n.appear,S=n.children,O=n.disabled,E=n.easing,j=void 0===E?x:E,T=n.style,C=n.timeout,A=void 0===C?w:C,R=(0,r.Kd)(n,b),I=(0,g.Z)(),P=(0,r.Zj)({},I),Z=P.isOpen,N=P.direction,F=(0,m.ar)(),L=(0,p.useRef)(null),M=(0,o.Z)(L,t);return(0,p.useEffect)(function(){if(Z){var e=L.current;(0,l.nq)(e)}},[Z]),(0,y.tZ)(d.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==_&&_,in:Z,nodeRef:L,timeout:A},R),{},{children:function(e,t){var n=Z?(0,u.c)({style:T,timeout:A,easing:j}):(0,u.Zk)({style:T,timeout:A,easing:j}),o=(0,u.zx)("transform",n),l=k(e,{direction:N}),p=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},F),l),{},{"aria-disabled":(0,f.Qm)(O),transition:o});if("function"==typeof S)return S(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:M,style:(0,r.Zj)((0,r.Zj)({},p),T)}));var d={up:i.Z,down:a.Z,left:s.Z,right:c.Z}[N];return(0,y.tZ)(v.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:M},p),t),{},{style:T,children:null!=S?S:!!d&&(0,y.tZ)(d,{size:"4x"})}))}}))});_.displayName="MenuToggleIcon";var S=_},52741:function(e,t,n){"use strict";n.d(t,{p:function(){return o},z:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99723:function(e,t,n){"use strict";n.d(t,{$T:function(){return y},Ln:function(){return p},O6:function(){return b},Pn:function(){return l},TP:function(){return k},XP:function(){return d},Z7:function(){return m},_N:function(){return v},ar:function(){return g},id:function(){return f},lp:function(){return c},q8:function(){return u},ue:function(){return h},uq:function(){return s}});var r=n(53860),o=n(30608),i=n(40596),a=n(85017),s=function(){return{position:"relative",display:"inline-flex"}},c=function(e){var t=e.variant,n=(0,i.Z)(),a={dark:"white:primary",light:"black:primary"}[(0,r.ZQ)(n,1)[0]];return(0,o.Z)((0,r.Zj)({},{ghost:{"&:hover":{color:a},"&:active":{color:a}},secondary:{"&:hover":{color:a},"&:active":{color:a}}}[t]))},u=function(){return{display:"inline-flex",alignItems:"center",justifyContent:"space-between",columnGap:"1x"}},l=function(e){return{outline:e.tabIndex<0?0:void 0}},f=function(){var e,t,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0],s=(0,a.Z)({colorMode:o}),c=(0,r.ZQ)(s,1)[0],u={dark:{backgroundColor:"gray:80",boxShadow:null==c?void 0:null===(e=c.shadow)||void 0===e?void 0:e.medium},light:{backgroundColor:"white",boxShadow:null==c?void 0:null===(t=c.shadow)||void 0===t?void 0:t.medium}}[o];return(0,r.Zj)((0,r.Zj)({},u),{},{color:"inherit",m:"0",p:"0",py:"2x"})},p=function(){var e=(0,i.Z)();return{px:"3x",py:"2x",color:({dark:"white:secondary",light:"black:secondary"})[(0,r.ZQ)(e,1)[0]]}},d=function(e){var t=e.tabIndex,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0];return{fontSize:"sm",lineHeight:"sm",color:({dark:"white:primary",light:"black:primary"})[o],cursor:"pointer",display:"flex",textDecoration:"none",alignItems:"center",textAlign:"left",outline:t<0?0:void 0,px:"3x",py:"2x",userSelect:"none",width:"100%",_focusVisible:{outlineColor:({dark:"blue:60",light:"blue:60"})[o],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[o]},_selected:{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[o]},_disabled:{backgroundColor:"inherit",color:({dark:"white:disabled",light:"black:disabled"})[o],cursor:"not-allowed"}}},h=function(){return{my:"2x"}},m=function(){return{display:"inline-flex"}},g=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}},y=function(){return{position:"relative"}},v=function(e){return{outline:e.tabIndex<0?0:void 0}},b=function(e){var t,n,o,s=e.isOpen,c=e.placement,u=(0,i.Z)(),l=(0,r.ZQ)(u,1)[0],f=(0,a.Z)({colorMode:l}),p=(0,r.ZQ)(f,1)[0],d={light:{backgroundColor:"white",boxShadow:null==p?void 0:null===(t=p.shadow)||void 0===t?void 0:t.medium},dark:{backgroundColor:"gray:80",boxShadow:null==p?void 0:null===(n=p.shadow)||void 0===n?void 0:n.medium}}[l],h=function(e){return({"right-start":{position:"absolute",top:0,left:"100%"},"right-end":{position:"absolute",bottom:0,left:"100%"},"left-start":{position:"absolute",top:0,right:"100%"},"left-end":{position:"absolute",bottom:0,right:"100%"}})[e]},m=null!==(o=h(c))&&void 0!==o?o:h("right-start");return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},d),m),{},{color:"inherit",display:s?"block":"none",m:"0",p:"0",py:"2x"})},k=function(){return{cursor:"pointer",display:"inline-flex"}}},8031:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(52741),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.p)}},13462:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(70404),i=n(56818),a=n(92307),s=n.n(a),c=n(2784),u=n(64355),l=n.n(u),f=n(98827),p=n(47732),d=n(3241),h=n(20325),m=n(53638),g=n(13692),y=n(52903),v=n(49857),b=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"ModalContainer"}),o=(0,g.Z)(),i=(0,r.Zj)({},o),a=i.closeOnOutsideClick,s=i.onClose,c=i.containerRef,u=(0,h.Z)(c,t),l=(0,m.ix)(),p=(0,r.Zj)((0,r.Zj)({ref:u,onClick:function(e){e.stopPropagation(),a&&"function"==typeof s&&s(e)}},l),n);return(0,y.tZ)(v.Z,(0,r.Zj)({},p))});b.displayName="ModalContainer";var k=n(77762),x=["autoFocus","children","closeOnEsc","closeOnOutsideClick","ensureFocus","finalFocusRef","initialFocusRef","isClosable","isOpen","onClose","portalProps","returnFocusOnClose","scrollBehavior","size"],w=s()(function(e){return(0,r.Zj)({},e)}),_=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Modal"}),a=n.autoFocus,s=void 0!==a&&a,u=n.children,h=n.closeOnEsc,m=n.closeOnOutsideClick,g=n.ensureFocus,v=void 0!==g&&g,_=n.finalFocusRef,S=n.initialFocusRef,O=n.isClosable,E=n.isOpen,j=void 0!==E&&E,T=n.onClose,C=n.portalProps,A=n.returnFocusOnClose,R=n.scrollBehavior,I=n.size,P=(0,r.Kd)(n,x),Z=(0,c.useState)(j),N=(0,r.ZQ)(Z,2),F=N[0],L=N[1],M=(0,c.useRef)(),D=(0,c.useRef)(),B=w({autoFocus:s,closeOnEsc:void 0!==h&&h,closeOnOutsideClick:void 0!==m&&m,ensureFocus:v,finalFocusRef:_,initialFocusRef:S,isClosable:void 0!==O&&O,isOpen:j,onClose:T,scrollBehavior:void 0===R?"inside":R,size:void 0===I?"auto":I,containerRef:M,contentRef:D,placement:"center"}),z=(void 0===A||A)&&!_,$=(0,c.useCallback)(function(){if(S&&S.current){var e=S.current;"function"==typeof e.focus&&e.focus();return}if(D.current){var t=D.current;if((0,o.t)(t).length>0)return;"function"==typeof t.focus&&t.focus()}},[S]),U=(0,c.useCallback)(function(){if(_&&_.current){var e=_.current;"function"==typeof e.focus&&e.focus()}},[_]),H=(0,c.useCallback)(function(){L(!1)},[]);return(0,c.useEffect)(function(){if(j&&!F){L(!0);return}},[j,F]),(0,y.tZ)(k.t.Provider,{value:B,children:(0,y.tZ)(d.Z,{in:j,onExitComplete:H,children:!!F&&(0,y.tZ)(p.Z,(0,r.Zj)((0,r.Zj)({},C),{},{children:(0,y.tZ)(l(),{disabled:!v,autoFocus:s,returnFocus:z,onActivation:$,onDeactivation:U,children:(0,y.tZ)(b,(0,r.Zj)((0,r.Zj)({ref:t},P),{},{children:(0,i.Pu)(u,B)}))})}))})})});_.displayName="Modal";var S=_},40736:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(56818),a=n(2784),s=n(98827),c=n(62272),u=n(48504),l=n(97198),f=n(83513),p=n(53638),d=n(13692),h=n(52903),m=["children","onClick"],g=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalCloseButton"}),o=n.children,a=n.onClick,c=(0,r.Kd)(n,m),u=(0,d.Z)(),g=(0,r.Zj)({},u).onClose,y=(0,p.Zr)();return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-label":"Close",ref:t,onClick:(0,i.N)(a,g)},y),c),{},{children:null!=o?o:(0,h.tZ)(l.Z,{size:"4x"})}))});g.displayName="ModalCloseButton";var y=["TransitionComponent","TransitionProps","children"],v=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalContent"}),a=n.TransitionComponent,l=void 0===a?c.Z:a,f=n.TransitionProps,m=n.children,v=(0,r.Kd)(n,y),b=(0,u.Z)(),k=(0,r.ZQ)(b,2)[1],x=(0,d.Z)(),w=(0,r.Zj)({},x),_=w.closeOnEsc,S=w.isClosable,O=w.isOpen,E=w.onClose,j=w.scrollBehavior,T=w.size,C=w.contentRef,A=w.placement,R=(0,o.Z)(C,t),I=(0,p.fT)({placement:A,scrollBehavior:j,size:T,tabIndex:-1}),P=(0,r.Zj)((0,r.Zj)({"aria-modal":(0,i.Qm)(!0),ref:R,role:"dialog",tabIndex:-1,onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),_&&"function"==typeof E&&E(e))}},I),v);return(0,h.BX)(l,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!x},f),P),{},{in:!x||O,onExited:(0,i.PP)(k,null==f?void 0:f.onExited),children:[m,!!S&&(0,h.tZ)(g,{})]}))});v.displayName="ModalContent";var b=v},21400:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(33558),a=n(56818),s=n(5081),c=n(2784),u=n(98827),l=n(62272),f=n(48504),p=n(53638),d=n(13692),h=n(52903),m=["TransitionComponent","TransitionProps"],g=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ModalOverlay"}),g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,b=(0,r.Kd)(n,m),k=(0,f.Z)(),x=(0,r.ZQ)(k,2)[1],w=(0,d.Z)(),_=(0,r.Zj)({},w),S=_.isOpen,O=_.scrollBehavior,E=_.containerRef,j=_.contentRef,T=(0,c.useRef)(),C=(0,o.Z)(T,t),A=(0,p.Yw)(),R=(0,r.Zj)((0,r.Zj)({ref:C},A),b);return(0,c.useEffect)(function(){var e=function(){var e,t,n,r,o=null==T?void 0:T.current;if(o){var a=(null==E?void 0:E.current)&&(0,i.Dx)(null==E?void 0:E.current),c=(0,s.pE)(parseFloat(null==a?void 0:a.paddingLeft)+parseFloat(null==a?void 0:a.paddingRight)),u=(0,s.pE)(parseFloat(null==a?void 0:a.paddingTop)+parseFloat(null==a?void 0:a.paddingBottom)),l=(0,s.pE)(null==j?void 0:null===(e=j.current)||void 0===e?void 0:e.offsetWidth)+c,f=(0,s.pE)(null==j?void 0:null===(t=j.current)||void 0===t?void 0:t.offsetHeight)+u;l>(null==E?void 0:null===(n=E.current)||void 0===n?void 0:n.offsetWidth)?o.style.width="".concat(l,"px"):o.style.width="",f>(null==E?void 0:null===(r=E.current)||void 0===r?void 0:r.offsetHeight)?o.style.height="".concat(f,"px"):o.style.height=""}};e();var t=null,n=globalThis.ResizeObserver;return void 0!==n&&(t=new n(function(t){e()}),E.current&&t.observe(E.current),j.current&&t.observe(j.current)),function(){t&&t.disconnect()}},[O,E,j]),(0,h.tZ)(y,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!w},v),R),{},{in:!w||S,onExited:(0,a.PP)(x,null==v?void 0:v.onExited)}))});g.displayName="ModalOverlay";var y=g},77762:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r=(0,n(2784).createContext)()},53638:function(e,t,n){"use strict";n.d(t,{IB:function(){return g},Yw:function(){return f},Zr:function(){return d},fT:function(){return p},ix:function(){return l},mS:function(){return m},vZ:function(){return h}});var r=n(53860),o=n(77485),i=n.n(o),a=n(40596),s=n(85017),c=n(31131),u=n(27216),l=function(){return{position:"fixed",left:0,right:0,top:0,bottom:0,display:"flex",overflow:"auto",zIndex:"modal"}},f=function(){var e=(0,a.Z)();return{position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundColor:({dark:"rgba(0, 0, 0, .7)",light:"rgba(0, 0, 0, .7)"})[(0,r.ZQ)(e,1)[0]]}},p=function(e){var t,n,o=e.placement,i=e.scrollBehavior,c=e.size,u=e.tabIndex,l=(0,a.Z)(),f=(0,r.ZQ)(l,1)[0],p=(0,s.Z)({colorMode:f}),d=(0,r.ZQ)(p,1)[0],h={light:{color:"black:primary",bg:"white",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:30",boxShadow:null==d?void 0:null===(t=d.shadow)||void 0===t?void 0:t.thick},dark:{color:"white:primary",bg:"gray:90",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:80",boxShadow:null==d?void 0:null===(n=d.shadow)||void 0===n?void 0:n.thick}}[f];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",flexDirection:"column",outline:u<0?0:void 0,overflow:"clip",position:"relative"}),h),{center:{margin:"auto"}}[o]),{xs:{width:352,minHeight:240,maxHeight:"inside"===i?"80vh":void 0},sm:{width:512,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},md:{width:672,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},lg:{width:832,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},xl:{width:992,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},full:{maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0,minHeight:"stretch",width:"100%"},auto:{width:"auto",height:"auto",maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0}}[void 0===c?"auto":c])},d=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)().sizes,o=(0,c.P)({color:{dark:"white:tertiary",light:"black:tertiary"}[t],size:"8x"}),i=n["1q"],s="calc(".concat(n["2x"]," - ").concat(i,")"),l="calc(".concat(n["2x"]," - ").concat(i,")");return(0,r.Zj)((0,r.Zj)({},o),{},{_focusVisible:{outlineColor:"blue:60",outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:{dark:"white:emphasis",light:"black:primary"}[t]},position:"absolute",top:s,right:l})},h=function(e){return{pt:"4x",pb:"6x",pl:"6x",pr:e.isClosable?"12x":"6x",position:"relative",fontSize:"xl",lineHeight:"xl"}},m=function(e){var t=e.scrollBehavior,n=(0,u.u)(),r=n.sizes,o=n.lineHeights;return{px:"6x",pb:"6x",flex:1,height:"auto",overflowY:"inside"===t?"auto":void 0,_firstOfType:{marginTop:"calc(".concat(i()(r,"4x")," + ").concat(i()(o,"xl")," + ").concat(i()(r,"3x"),")")}}},g=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)(),o=n.sizes,s=n.lineHeights;return{display:"flex",justifyContent:"flex-end",px:"6x",py:"4x",borderTop:1,borderTopColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[t],_firstOfType:{marginTop:"calc(".concat(i()(o,"4x")," + ").concat(i()(s,"xl")," + ").concat(i()(o,"3x"),")")}}}},13692:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(77762),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.t)}},911:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(2784),i=n(98827),a=n(28716),s=n(73531),c=n(1079),u=n(52903),l=n(49857),f=["boundaryCount","count","defaultPage","disabled","onChange","page","renderItem","siblingCount","slot"],p=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Pagination"}),p=n.boundaryCount,d=n.count,h=n.defaultPage,m=n.disabled,g=n.onChange,y=n.page,v=n.renderItem,b=void 0===v?function(e){return(0,u.tZ)(s.Z,(0,r.Zj)({},e))}:v,k=n.siblingCount,x=n.slot,w=(0,r.Kd)(n,f),_=(0,c.Z)({boundaryCount:void 0===p?1:p,count:void 0===d?1:d,defaultPage:void 0===h?1:h,disabled:m,onChange:g,page:y,siblingCount:void 0===k?1:k,slot:x}).items,S=(0,a.d)();return(0,u.tZ)(l.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},S),w),{},{children:_.map(function(e,t){return(0,u.tZ)(o.Fragment,{children:b((0,r.Zj)({},e))},"".concat(e.type,"-").concat(e.page))})}))});p.displayName="Pagination";var d=p},73531:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(90800),i=n(8991),a=n(40809),s=n(45795),c=n(88043),u=n(56818),l=n(2784),f=n(62080),p=n(98827),d=n(28716),h=n(52903),m=["aria-label","disabled","type","page","selected","slot","variant"],g={"start-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),"end-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),first:(0,h.tZ)(i.Z,{size:"4x"}),previous:(0,h.tZ)(a.Z,{size:"4x"}),next:(0,h.tZ)(s.Z,{size:"4x"}),last:(0,h.tZ)(c.Z,{size:"4x"})},y=function(e){var t=e.type,n=e.page,r=e.selected;return"start-ellipsis"!==t&&"end-ellipsis"!==t&&("page"!==t||r)?"page"===t&&r?"Page ".concat(n):"Go to ".concat(t," page"):"Go to page ".concat(n)},v=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"PaginationItem"}),o=n["aria-label"],i=n.disabled,a=n.type,s=void 0===a?"page":a,c=n.page,l=n.selected,v=void 0!==l&&l,b=n.slot,k=n.variant,x=(0,r.Kd)(n,m),w=(0,r.Zj)((0,r.Zj)({},g),b),_=(0,d.V)({type:s});return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-current":(0,u.Qm)(v),"aria-label":null!=o?o:y({type:s,page:c,selected:v}),disabled:void 0!==i&&i,selected:v,variant:void 0===k?"ghost":k},_),x),{},{children:"page"===s?c:null==w?void 0:w[s]}))});v.displayName="PaginationItem";var b=v},28716:function(e,t,n){"use strict";n.d(t,{V:function(){return a},d:function(){return i}});var r=n(53860),o=n(40596),i=function(){return{display:"flex",alignItems:"center"}},a=function(e){var t=e.type,n=(0,o.Z)(),i=(0,r.ZQ)(n,1)[0];return(0,r.Zj)((0,r.Zj)({},"page"===t?{px:"2x",minWidth:"8x"}:{px:"2x",width:"8x"}),{},{transition:"none",_selected:{borderColor:{dark:"blue:50",light:"blue:50"}[i]}})}},1079:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53860),o=n(2784),i={first:!1,previous:!0,next:!0,last:!1},a=function(e){var t=(0,r.Zj)({},e),n=t.boundaryCount,a=void 0===n?1:n,s=t.count,c=void 0===s?1:s,u=t.defaultPage,l=t.disabled,f=void 0!==l&&l,p=t.onChange,d=t.page,h=t.siblingCount,m=void 0===h?1:h,g=t.slot,y=(0,o.useState)(null!=d?d:void 0===u?1:u),v=(0,r.ZQ)(y,2),b=v[0],k=v[1],x=(0,r.Zj)((0,r.Zj)({},i),g);(0,o.useEffect)(function(){void 0!==d&&k(d)},[d]);var w=function(e){return function(t){void 0!==d||k(e),"function"==typeof p&&p(e)}},_=function(e,t){return Array.from({length:t-e+1},function(t,n){return e+n})},S=_(1,Math.min(a,c)),O=_(Math.max(c-a+1,a+1),c),E=Math.max(Math.min(b-m,c-a-2*m-1),a+2),j=Math.min(Math.max(b+m,a+2*m+2),O.length>0?O[0]-2:c-1);return{items:[].concat((0,r.u)(x.first?[{type:"first"}]:[]),(0,r.u)(x.previous?[{type:"previous"}]:[]),(0,r.u)(S.map(function(e){return{type:"page",value:e}})),(0,r.u)(E>a+2?[{type:"start-ellipsis"}]:a+1a?[{type:"page",value:c-a}]:[]),(0,r.u)(O.map(function(e){return{type:"page",value:e}})),(0,r.u)(x.next?[{type:"next"}]:[]),(0,r.u)(x.last?[{type:"last"}]:[])).map(function(e){if("page"===e.type){var t,n=e.value;return{type:"page",page:n,disabled:!!f,selected:e.value===b,onClick:w(n)}}var r=!!f||["first","previous"].includes(e.type)&&b<=1||["next","last"].includes(e.type)&&b>=c,o="first"===(t=e.type)?1:"previous"===t?Math.max(b-1,1):"start-ellipsis"===t?Math.max(E-(m+1),1):"end-ellipsis"===t?Math.min(j+(m+1),c):"next"===t?Math.min(b+1,c):"last"===t?c:null;return{type:e.type,page:o,disabled:r,selected:!1,onClick:w(o)}})}}},67250:function(e,t,n){"use strict";n.d(t,{Z:function(){return ek}});var r,o,i,a,s,c=n(53860);function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){var t=u(e).Element;return e instanceof t||e instanceof Element}function f(e){var t=u(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function p(e){if("undefined"==typeof ShadowRoot)return!1;var t=u(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var d=Math.max,h=Math.min,m=Math.round;function g(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function y(){return!/^((?!chrome|android).)*safari/i.test(g())}function v(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&f(e)&&(o=e.offsetWidth>0&&m(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&m(r.height)/e.offsetHeight||1);var a=(l(e)?u(e):window).visualViewport,s=!y()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,d=r.width/o,h=r.height/i;return{width:d,height:h,top:p,right:c+d,bottom:p+h,left:c,x:c,y:p}}function b(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return v(x(e)).left+b(e).scrollLeft}function _(e){return u(e).getComputedStyle(e)}function S(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function O(e){var t=v(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function E(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||x(e)}function j(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:f(t)&&S(t)?t:e(E(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(j(E(a)))}function T(e){return f(e)&&"fixed"!==_(e).position?e.offsetParent:null}function C(e){for(var t=u(e),n=T(e);n&&["table","td","th"].indexOf(k(n))>=0&&"static"===_(n).position;)n=T(n);return n&&("html"===k(n)||"body"===k(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(g());if(/Trident/i.test(g())&&f(e)&&"fixed"===_(e).position)return null;var n=E(e);for(p(n)&&(n=n.host);f(n)&&0>["html","body"].indexOf(k(n));){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="bottom",R="right",I="left",P="auto",Z=["top",A,R,I],N="start",F="viewport",L="popper",M=Z.reduce(function(e,t){return e.concat([t+"-"+N,t+"-end"])},[]),D=[].concat(Z,[P]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-end"])},[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],z={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function V(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?H(o):null,a=o?q(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:c};break;case I:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?W(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case N:t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,n,r,o,i,a,s,c=e.popper,l=e.popperRect,f=e.placement,p=e.variation,d=e.offsets,h=e.position,g=e.gpuAcceleration,y=e.adaptive,v=e.roundOffsets,b=e.isFixed,k=d.x,w=void 0===k?0:k,S=d.y,O=void 0===S?0:S,E="function"==typeof v?v({x:w,y:O}):{x:w,y:O};w=E.x,O=E.y;var j=d.hasOwnProperty("x"),T=d.hasOwnProperty("y"),P=I,Z="top",N=window;if(y){var F=C(c),L="clientHeight",M="clientWidth";F===u(c)&&"static"!==_(F=x(c)).position&&"absolute"===h&&(L="scrollHeight",M="scrollWidth"),("top"===f||(f===I||f===R)&&"end"===p)&&(Z=A,O-=(b&&F===N&&N.visualViewport?N.visualViewport.height:F[L])-l.height,O*=g?1:-1),(f===I||("top"===f||f===A)&&"end"===p)&&(P=R,w-=(b&&F===N&&N.visualViewport?N.visualViewport.width:F[M])-l.width,w*=g?1:-1)}var D=Object.assign({position:h},y&&K),B=!0===v?(t={x:w,y:O},n=u(c),r=t.x,o=t.y,{x:m(r*(i=n.devicePixelRatio||1))/i||0,y:m(o*i)/i||0}):{x:w,y:O};return(w=B.x,O=B.y,g)?Object.assign({},D,((s={})[Z]=T?"0":"",s[P]=j?"0":"",s.transform=1>=(N.devicePixelRatio||1)?"translate("+w+"px, "+O+"px)":"translate3d("+w+"px, "+O+"px, 0)",s)):Object.assign({},D,((a={})[Z]=T?O+"px":"",a[P]=j?w+"px":"",a.transform="",a))}var G={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e){return e.replace(/left|right|bottom|top/g,function(e){return G[e]})}var X={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,function(e){return X[e]})}function ee(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){var r,o,i,a,s,c,f,p,h,m;return t===F?et(function(e,t){var n=u(e),r=x(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=y();(l||!l&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+w(e),y:c}}(e,n)):l(t)?((r=v(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):et((o=x(e),a=x(o),s=b(o),c=null==(i=o.ownerDocument)?void 0:i.body,f=d(a.scrollWidth,a.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),p=d(a.scrollHeight,a.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),h=-s.scrollLeft+w(o),m=-s.scrollTop,"rtl"===_(c||a).direction&&(h+=d(a.clientWidth,c?c.clientWidth:0)-f),{width:f,height:p,x:h,y:m}))}function er(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},er(),e)}function ei(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ea(e,t){void 0===t&&(t={});var n,r,o,i,a,s,c,u,p=t,m=p.placement,g=void 0===m?e.placement:m,y=p.strategy,b=void 0===y?e.strategy:y,w=p.boundary,S=p.rootBoundary,O=p.elementContext,T=void 0===O?L:O,I=p.altBoundary,P=p.padding,N=void 0===P?0:P,M=eo("number"!=typeof N?N:ei(N,Z)),D=e.rects.popper,B=e.elements[void 0!==I&&I?T===L?"reference":L:T],z=(n=l(B)?B:B.contextElement||x(e.elements.popper),r=void 0===w?"clippingParents":w,o=void 0===S?F:S,c=(s=[].concat("clippingParents"===r?(i=j(E(n)),l(a=["absolute","fixed"].indexOf(_(n).position)>=0&&f(n)?C(n):n)?i.filter(function(e){return l(e)&&ee(e,a)&&"body"!==k(e)}):[]):[].concat(r),[o]))[0],(u=s.reduce(function(e,t){var r=en(n,t,b);return e.top=d(r.top,e.top),e.right=h(r.right,e.right),e.bottom=h(r.bottom,e.bottom),e.left=d(r.left,e.left),e},en(n,c,b))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),$=v(e.elements.reference),U=V({reference:$,element:D,strategy:"absolute",placement:g}),H=et(Object.assign({},D,U)),q=T===L?H:$,W={top:z.top-q.top+M.top,bottom:q.bottom-z.bottom+M.bottom,left:z.left-q.left+M.left,right:q.right-z.right+M.right},K=e.modifiersData.offset;if(T===L&&K){var Q=K[g];Object.keys(W).forEach(function(e){var t=[R,A].indexOf(e)>=0?1:-1,n=["top",A].indexOf(e)>=0?"y":"x";W[e]+=Q[n]*t})}return W}function es(e,t,n){return d(e,h(t,n))}function ec(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eu(e){return["top",R,A,I].some(function(t){return e[t]>=0})}var el=(i=void 0===(o=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=u(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",n.update,U)}),s&&c.addEventListener("resize",n.update,U),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",n.update,U)}),s&&c.removeEventListener("resize",n.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=V({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:H(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];f(o)&&k(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});f(r)&&k(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=D.reduce(function(e,n){var r,o,a,s,c,u;return e[n]=(r=t.rects,a=[I,"top"].indexOf(o=H(n))>=0?-1:1,c=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],u=s[1],c=c||0,u=(u||0)*a,[I,R].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,y=H(g)===g,v=c||(y||!h?[Y(g)]:function(e){if(H(e)===P)return[];var t=Y(e);return[J(e),t,J(t)]}(g)),b=[g].concat(v).reduce(function(e,n){var r,o,i,a,s,c,p,d,g,y,v,b;return e.concat(H(n)===P?(o=(r={placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,d=void 0===(p=r.allowedAutoPlacements)?D:p,0===(v=(y=(g=q(o))?c?M:M.filter(function(e){return q(e)===g}):Z).filter(function(e){return d.indexOf(e)>=0})).length&&(v=y),Object.keys(b=v.reduce(function(e,n){return e[n]=ea(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[H(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),k=t.rects.reference,x=t.rects.popper,w=new Map,_=!0,S=b[0],O=0;O=0,F=C?"width":"height",L=ea(t,{placement:E,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),B=C?T?R:I:T?A:"top";k[F]>x[F]&&(B=Y(B));var z=Y(B),$=[];if(i&&$.push(L[j]<=0),s&&$.push(L[B]<=0,L[z]<=0),$.every(function(e){return e})){S=E,_=!1;break}w.set(E,$)}if(_)for(var U=h?3:1,W=function(e){var t=b.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},V=U;V>0&&"break"!==W(V);V--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.padding,l=n.tether,f=void 0===l||l,p=n.tetherOffset,m=void 0===p?0:p,g=ea(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:c}),y=H(t.placement),v=q(t.placement),b=!v,k=W(y),x="x"===k?"y":"x",w=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,j="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(w){if(void 0===o||o){var Z,F="y"===k?"top":I,L="y"===k?A:R,M="y"===k?"height":"width",D=w[k],B=D+g[F],z=D-g[L],$=f?-S[M]/2:0,U=v===N?_[M]:S[M],V=v===N?-S[M]:-_[M],K=t.elements.arrow,Q=f&&K?O(K):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),Y=G[F],X=G[L],J=es(0,_[M],Q[M]),ee=b?_[M]/2-$-J-Y-j.mainAxis:U-J-Y-j.mainAxis,et=b?-_[M]/2+$+J+X+j.mainAxis:V+J+X+j.mainAxis,en=t.elements.arrow&&C(t.elements.arrow),eo=en?"y"===k?en.clientTop||0:en.clientLeft||0:0,ei=null!=(Z=null==T?void 0:T[k])?Z:0,ec=es(f?h(B,D+ee-ei-eo):B,D,f?d(z,D+et-ei):z);w[k]=ec,P[k]=ec-D}if(void 0!==i&&i){var eu,el,ef="x"===k?"top":I,ep="x"===k?A:R,ed=w[x],eh="y"===x?"height":"width",em=ed+g[ef],eg=ed-g[ep],ey=-1!==["top",I].indexOf(y),ev=null!=(el=null==T?void 0:T[x])?el:0,eb=ey?em:ed-_[eh]-S[eh]-ev+j.altAxis,ek=ey?ed+_[eh]+S[eh]-ev-j.altAxis:eg,ex=f&&ey?(eu=es(eb,ed,ek))>ek?ek:eu:es(f?eb:em,ed,f?ek:eg);w[x]=ex,P[x]=ex-ed}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,c=H(r.placement),u=W(c),l=[I,R].indexOf(c)>=0?"height":"width";if(a&&s){var f=eo("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ei(t,Z)),p=O(a),d="y"===u?"top":I,h="y"===u?A:R,m=r.rects.reference[l]+r.rects.reference[u]-s[u]-r.rects.popper[l],g=s[u]-r.rects.reference[u],y=C(a),v=y?"y"===u?y.clientHeight||0:y.clientWidth||0:0,b=f[d],k=v-p[l]-f[h],x=v/2-p[l]/2+(m/2-g/2),w=es(b,x,k);r.modifiersData[o]=((n={})[u]=w,n.centerOffset=w-x,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ee(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ea(t,{elementContext:"reference"}),s=ea(t,{altBoundary:!0}),c=ec(a,r),u=ec(s,o,i),l=eu(c),f=eu(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:o,s=void 0===(a=r.defaultOptions)?z:a,function(e,t,n){void 0===n&&(n=s);var r,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},z,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,d={state:a,setOptions:function(n){var r,o,u,f,p,m="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},s,a.options,m),a.scrollParents={reference:l(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var g=(o=Object.keys(r=[].concat(i,a.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),u=new Map,f=new Set,p=[],o.forEach(function(e){u.set(e.name,e)}),o.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=u.get(t);n&&e(n)}}),p.push(t)}(e)}),B.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=g.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:a,name:t,instance:d,options:void 0===n?{}:n});c.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!p){var e,t,n,r,o,i,s,c,l,h,g,y,_=a.elements,E=_.reference,j=_.popper;if($(E,j)){a.rects={reference:(t=C(j),n="fixed"===a.options.strategy,r=f(t),c=f(t)&&(i=m((o=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=m(o.height)/t.offsetHeight||1,1!==i||1!==s),l=x(t),h=v(E,c,n),g={scrollLeft:0,scrollTop:0},y={x:0,y:0},(r||!r&&!n)&&(("body"!==k(t)||S(l))&&(g=(e=t)!==u(e)&&f(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:b(e)),f(t)?(y=v(t,!0),y.x+=t.clientLeft,y.y+=t.clientTop):l&&(y.x=w(l))),{x:h.left+g.scrollLeft-y.x,y:h.top+g.scrollTop-y.y,width:h.width,height:h.height}),popper:O(j)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var T=0;T0&&void 0!==arguments[0]?arguments[0]:{},t=e.cssVariables,n=void 0!==t&&t,r=(0,l.Kd)(e,_),o=(0,v.TS)((0,l.Zj)({},y),r),i=arguments.length,a=Array(i>1?i-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.useRef)(null);(0,a.useEffect)(function(){n.current=e},[e]),(0,a.useEffect)(function(){if(null==t)return function(){};var e=setTimeout(function(){"function"==typeof n.current&&n.current()},t);return function(){return clearTimeout(e)}},[t])},u=n(52903),l=n(49857),f=["duration","onClose","onMouseEnter","onMouseLeave"],p=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ToastController"}),p=n.duration,d=void 0===p?null:p,h=n.onClose,m=n.onMouseEnter,g=n.onMouseLeave,y=(0,r.Kd)(n,f),v=(0,a.useRef)(),b=(0,o.Z)(v,t),k=(0,a.useState)(d),x=(0,r.ZQ)(k,2),w=x[0],_=x[1],S=(0,a.useCallback)(function(e){_(null)},[]),O=(0,a.useCallback)(function(e){_(d)},[d]);return c(h,w),(0,u.tZ)(l.Z,(0,r.Zj)({ref:b,onMouseEnter:(0,i.N)(m,S),onMouseLeave:(0,i.N)(g,O)},y))})},31476:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r,o=n(53860),i=n(912),a=n(56818),s=n(13409),c=n(5081),u=n(92307),l=n.n(u),f=n(2784),p=n(98827),d=n(47732),h=n(52903),m=n(49857),g=["placement"],y=(0,f.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"ToastContainer"}),r=n.placement,i=(0,o.Kd)(n,g),a={boxSizing:"border-box",maxHeight:"100%",maxWidth:"100%",overflow:"hidden",position:"fixed",zIndex:"toast"},s=(0,c.Zs)(r);return s.includes("top")&&(a.top=0),s.includes("bottom")&&(a.bottom=0),s.includes("left")&&(a.left=0),s.includes("right")&&(a.right=0),(s.includes("center")||"top"===s||"bottom"===s)&&(a.left="50%",a.transform="translateX(-50%)"),(0,h.tZ)(m.Z,(0,o.Zj)((0,o.Zj)({ref:t,"data-toast-placement":s},a),i))}),v=n(14378),b=n(53335),k=n(57619),x=n(82268),w=(r=0,function(){return String(r+=1)}),_=l()(function(e){return(0,o.Zj)({},e)}),S=["bottom","bottom-right","bottom-left","top","top-left","top-right"],O=function(e,t){var n=Object.values(e).reduce(function(e,t){return e.concat(t)},[]).find(function(e){return e.id===t});return null==n?void 0:n.placement},E=function(e){var t=(0,p.Z)({props:e,name:"ToastManager"}),n=t.TransitionComponent,r=void 0===n?b.Z:n,u=t.TransitionProps,l=t.children,m=t.containerRef,g=t.placement,E=void 0===g?"bottom-right":g,j=(0,i.Z)(),T=(0,f.useState)(function(){return S.reduce(function(e,t){return e[t]=[],e},{})}),C=(0,o.ZQ)(T,2),A=C[0],R=C[1],I=(0,f.useCallback)(function(e,t){R(function(n){var r;return t=null!==(r=t)&&void 0!==r?r:O(n,e),(0,o.Zj)((0,o.Zj)({},n),{},(0,o._x)({},t,(0,c.rY)(n[t]).filter(function(t){return t.id!==e})))})},[]),P=(0,f.useCallback)(function(e){R(function(t){var n=(null!=e&&e.placements?(0,c.rY)(null==e?void 0:e.placements):Object.keys(t)).reduce(function(e,t){return e[t]=[],e},{});return(0,o.Zj)((0,o.Zj)({},t),n)})},[]),Z=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).find(function(t){return t.id===e})},[A]),N=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).findIndex(function(t){return t.id===e})},[A]),F=(0,f.useCallback)(function(e,t){var n,r=null===(n=Z(e))||void 0===n?void 0:n.placement,i=N(e);return!!r&&-1!==i&&(R(function(e){var n=(0,o.Zj)({},e);return n[r][i]=(0,o.Zj)((0,o.Zj)({},n[r][i]),t),n}),!0)},[Z,N]),L=_({close:I,closeAll:P,find:Z,findIndex:N,update:F,notify:(0,f.useCallback)(function(e,t){var n,r,i=Object.freeze({id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:w(),content:e,data:null==t?void 0:t.data,duration:null==t?void 0:t.duration,placement:(0,c.Zs)(null!==(r=null==t?void 0:t.placement)&&void 0!==r?r:E)});return S.includes(i.placement)?(R(function(e){var t=i.placement.includes("top"),n=(0,o.u)((0,c.rY)(e[i.placement])),r=[];return r=t?[i].concat((0,o.u)(n)).slice(0,void 0):[].concat((0,o.u)(n),[i]).slice(void 0),(0,o.Zj)((0,o.Zj)({},e),{},(0,o._x)({},i.placement,r))}),i.id):(console.error('[ToastManager] Error: Invalid toast placement "'.concat(i.placement,'". Please provide a valid placement from the following options: ').concat(S.join(", "),".")),!1)},[E]),placement:E,state:A,setState:R});return(0,h.BX)(x.K.Provider,{value:L,children:[(0,a.Pu)(l,L),!!j&&(0,h.tZ)(d.Z,{containerRef:m,children:Object.keys(A).map(function(e){var t=(0,c.rY)(A[e]).filter(function(e){return!(0,s.Rw)(e)});return(0,h.tZ)(y,{placement:e,children:(0,h.tZ)(k.Z,{children:t.map(function(t){var n,i,a,s=(n=t.id,function(){I(n,e)});return(0,h.tZ)(r,(0,o.Zj)((0,o.Zj)({in:!0,unmountOnExit:!0},u),{},{children:(0,h.tZ)(v.Z,{duration:t.duration,onClose:s,children:(i=t.content,a={id:t.id,data:t.data,onClose:s,placement:t.placement},"function"==typeof i?(0,h.tZ)(i,(0,o.Zj)({},a)):i)})}),t.id)})})},e)})})]})};E.displayName="ToastManager";var j=E},53335:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},h=function(e,t){var n={entering:{height:"auto",opacity:1,transform:d(1)},entered:{height:"auto",opacity:1,transform:"none"},exiting:{height:0,opacity:0,overflow:"hidden",transform:d(.75)},exited:{height:0,opacity:0,transform:d(.75)}}[e];return"function"==typeof n?n(t):n},m={enter:i.YU.easeInOut,exit:i.YU.easeInOut},g={enter:i.nV.standard,exit:i.nV.standard},y=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),v=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ToastTransition"}),d=n.appear,v=n.children,b=n.easing,k=void 0===b?m:b,x=n.in,w=n.style,_=n.timeout,S=void 0===_?g:_,O=(0,r.Kd)(n,p),E=(0,s.useRef)(null),j=(0,o.Z)(E,t),T=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=E.current;(0,a.nq)(e)},[x]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==d&&d,in:x,nodeRef:E,timeout:S},O),{},{children:function(e,t){var n=x?(0,i.c)({style:w,timeout:S,easing:k}):(0,i.Zk)({style:w,timeout:S,easing:k}),o=[(0,i.zx)("height",n),(0,i.zx)("opacity",n),(0,i.zx)("transform",{duration:.666*n.duration,easing:n.easing,delay:x?n.delay:n.delay||.333*n.duration})].join(","),a=h(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||x?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:j,style:(0,r.Zj)((0,r.Zj)({},s),w)}));if(x&&"entering"===e||!x&&("entering"===e||"entered"===e)){var c=T.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:j},t),s),{},{style:w,children:(0,l.tZ)(y,{ref:T,children:v})}))}}))});v.displayName="ToastTransition";var b=v},57619:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860);n(2784);var o=n(60258),i=n(98827),a=n(52903),s=function(e){var t=(0,i.Z)({props:e,name:"ToastTransitionGroup"});return(0,a.tZ)(o.Z,(0,r.Zj)({component:null},t))};s.displayName="ToastTransitionGroup";var c=s},82268:function(e,t,n){"use strict";n.d(t,{K:function(){return i},u:function(){return o}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99870:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(53860),o=n(92307),i=n.n(o),a=n(2784),s=n(98827),c=n(67250),u=n(65204),l=n(57894),f=n(20655),p=n(33558),d=n(40596),h=n(85017),m=n(27216),g=n(13823),y=function(e){var t,n,o=e.arrowHeight,i=e.arrowWidth,a=(0,d.Z)(),s=(0,r.ZQ)(a,1)[0],c=(0,m.u)().sizes,u=null!==(t=c[o])&&void 0!==t?t:(0,g.Z)(o),l=null!==(n=c[i])&&void 0!==n?n:(0,g.Z)(i),f={dark:"rgba(0, 0, 0, 0.16)",light:"rgba(0, 0, 0, 0.08)"}[s];return{'&[data-popper-placement^="top"]':{position:"absolute",bottom:0,"::before":{content:'""',borderTop:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 1px 1px ".concat(f,")"),position:"absolute",bottom:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="bottom"]':{position:"absolute",top:0,"::before":{content:'""',borderBottom:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 -1px 1px ".concat(f,")"),position:"absolute",top:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="left"]':{position:"absolute",right:0,"::before":{content:'""',borderLeft:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(1px 0px 1px ".concat(f,")"),position:"absolute",right:"-".concat(u),transform:"translateY(-50%)"}},'&[data-popper-placement^="right"]':{position:"absolute",left:0,"::before":{content:'""',borderRight:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(-1px 0px 1px ".concat(f,")"),position:"absolute",left:"-".concat(u),transform:"translateY(-50%)"}}}},v=function(){var e,t=(0,d.Z)(),n=(0,r.ZQ)(t,1)[0],o=(0,h.Z)({colorMode:n}),i=(0,r.ZQ)(o,1)[0],a={dark:"gray:80",light:"white"}[n],s={dark:"white:primary",light:"black:primary"}[n];return{backgroundColor:a,borderRadius:"sm",boxShadow:null==i?void 0:null===(e=i.shadow)||void 0===e?void 0:e.thin,color:s,fontWeight:"normal",fontSize:"sm",lineHeight:"sm",px:"3x",py:"1x"}},b=(0,a.createContext)(),k=function(){if(!a.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,a.useContext)(b)},x=n(52903),w=n(49857),_=["arrowHeight","arrowWidth","sx"],S=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipArrow"}),o=n.arrowHeight,i=n.arrowWidth,a=n.sx,c=(0,r.Kd)(n,_),u=k(),l=u.placement,f=u.tooltipContentRef,d=null==f?void 0:f.current,h=y({arrowHeight:void 0===o?4:o,arrowWidth:void 0===i?8:i});if((0,p.Re)(d)){var m=(0,p.Dx)(d.firstChild);h.color=null==m?void 0:m.backgroundColor}return(0,x.tZ)(w.Z,(0,r.Zj)({ref:t,role:"presentation","data-popper-arrow":!0,"data-popper-placement":l,sx:[h].concat((0,r.u)(Array.isArray(a)?a:[a]))},c))});S.displayName="TooltipArrow";var O=n(912),E=n(20325),j=n(13409),T=n(56818),C=n(5081),A=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","children"],R=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipContent"}),o=n.PopperComponent,i=void 0===o?c.Z:o,u=n.PopperProps,f=n.TooltipArrowComponent,d=void 0===f?S:f,h=n.TooltipArrowProps,m=n.TransitionComponent,g=void 0===m?l.Z:m,y=n.TransitionProps,b=n.children,_=(0,r.Kd)(n,A),R=(0,O.Z)(),I=(0,a.useRef)(null),P=(0,E.Z)(I,t),Z=k(),N=Z.arrow,F=Z.disabled,L=Z.followCursor,M=Z.isOpen,D=Z.mousePageX,B=Z.mousePageY,z=Z.nextToCursor,$=Z.offset,U=Z.placement,H=Z.tooltipId,q=Z.tooltipContentRef,W=Z.tooltipTriggerId,V=Z.tooltipTriggerRef,K=v(),Q=V.current,G=(0,C.rY)($),Y=(0,r.ZQ)(G,2),X=Y[0],J=void 0===X?0:X,ee=Y[1],et=void 0===ee?8:ee,en=(0,a.useMemo)(function(){return[{name:"offset",options:{offset:function(e){var t=e.placement,n=e.reference,r=e.popper,o=(0,C.Nu)(J),i=(0,C.Nu)(et);if((0,p.Re)(Q)&&(L||z)){var a=Q.getBoundingClientRect(),s=a.x+globalThis.scrollX,c=a.y+globalThis.scrollY;(t.startsWith("top")||t.startsWith("bottom"))&&(t.endsWith("start")?o+=(0,C.Nu)(D-s-r.width):t.endsWith("end")?o+=(0,C.Nu)(D-s-n.width+r.width):o+=(0,C.Nu)(D-s-n.width/2),t.startsWith("top")?i+=(0,C.Nu)(c-B):t.startsWith("bottom")&&(i+=(0,C.Nu)(B-c-n.height))),(t.startsWith("left")||t.startsWith("right"))&&(t.endsWith("start")?o+=(0,C.Nu)(B-c-r.height):t.endsWith("end")?o+=(0,C.Nu)(B-c-n.height+r.height):o+=(0,C.Nu)(B-c-n.height/2),t.startsWith("left")?i+=(0,C.Nu)(s-D):t.startsWith("right")&&(i+=(0,C.Nu)(D-s-n.width)))}return[o,i]}}}]},[J,et,Q,L,z,D,B]);return!R||F||!b||(0,j.oM)(b)||(0,j.yD)(b)?null:(0,x.tZ)(i,(0,r.Zj)((0,r.Zj)({"aria-hidden":(0,T.Qm)(!M),"aria-labelledby":W,"data-popper-placement":U,anchorEl:V.current,id:H,isOpen:M,placement:U,pointerEvents:"none",ref:q,role:"tooltip",unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"tooltip"},u),{},{modifiers:[].concat((0,r.u)(en),(0,r.u)((0,C.rY)(null==u?void 0:u.modifiers))),children:function(e){var t=e.placement,n=e.transition,o=(0,r.Zj)({},n),i=o.in,a=o.onEnter,s=o.onExited;return(0,x.tZ)(g,(0,r.Zj)((0,r.Zj)({appear:!0},y),{},{ref:P,in:i,onEnter:(0,T.PP)(a,null==y?void 0:y.onEnter),onExited:(0,T.PP)(s,null==y?void 0:y.onExited),children:function(e,n){var o=n.ref,i=n.style;return(0,x.BX)(w.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:o},K),i),{},{transformOrigin:{top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"}[t]},_),{},{children:[b,!!N&&(0,x.tZ)(d,(0,r.Zj)({},h))]}))}}))}}))});R.displayName="TooltipContent";var I=n(32502),P=n(24340),Z=["children","shouldWrapChildren","onBlur","onClick","onFocus","onMouseEnter","onMouseLeave","onMouseMove","onPointerDown"],N=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipTrigger"}),o=n.children,i=n.shouldWrapChildren,c=n.onBlur,u=n.onClick,l=n.onFocus,f=n.onMouseEnter,d=n.onMouseLeave,h=n.onMouseMove,m=n.onPointerDown,g=(0,r.Kd)(n,Z),y=k(),v=y.closeOnClick,b=y.closeOnEsc,_=y.closeOnPointerDown,S=y.followCursor,O=y.isOpen,j=y.onClose,C=y.onOpen,A=y.openOnFocus,R=y.setMousePageX,N=y.setMousePageY,F=y.tooltipId,L=y.tooltipTriggerId,M=y.tooltipTriggerRef,D=(0,E.Z)(M,t),B={},z=(0,a.useState)(!0),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q={};q.onBlur=function(e){O&&j()},q.onClick=function(e){O&&v&&j()},q.onFocus=function(e){!O&&A&&C()},q.onKeyDown=function(e){O&&b&&"Escape"===e.key&&j()},q.onMouseEnter=function(e){H(!0),C(function(){H(S)})},q.onMouseLeave=function(e){j(function(){H(!0)})},q.onMouseMove=function(e){(U||S)&&(R(e.pageX),N(e.pageY))},q.onPointerDown=function(e){O&&_&&j()},(0,I.Z)(function(){return(0,p.lZ)(M.current)},"keydown",b?q.onKeyDown:void 0),(0,I.Z)(function(){return M.current},"mouseleave",q.onMouseLeave);var W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},e),{},{"aria-describedby":O?F:void 0,id:L,ref:(0,P.l)(D,t),onBlur:(0,T.N)(null==e?void 0:e.onBlur,c,q.onBlur),onClick:(0,T.N)(null==e?void 0:e.onClick,u,q.onClick),onFocus:(0,T.N)(null==e?void 0:e.onFocus,l,q.onFocus),onMouseEnter:(0,T.N)(null==e?void 0:e.onMouseEnter,f,q.onMouseEnter),onMouseLeave:(0,T.N)(null==e?void 0:e.onMouseLeave,d,q.onMouseLeave),onMouseMove:(0,T.N)(null==e?void 0:e.onMouseMove,h,q.onMouseMove),onPointerDown:(0,T.N)(null==e?void 0:e.onPointerDown,m,q.onPointerDown)},B),g)};if("function"==typeof o)return o({getTooltipTriggerProps:W});if(void 0!==i&&i)return(0,x.tZ)(w.Z,(0,r.Zj)((0,r.Zj)({},W()),{},{children:o}));var V=a.Children.only(o),K=W(null==V?void 0:V.props,null==V?void 0:V.ref);return(0,a.cloneElement)(V,K)});N.displayName="TooltipTrigger";var F=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","shouldWrapChildren","arrow","children","closeOnClick","closeOnEsc","closeOnPointerDown","defaultIsOpen","disabled","enterDelay","followCursor","isOpen","label","leaveDelay","nextToCursor","offset","onClose","onOpen","openOnFocus","placement"],L=i()(function(e){return(0,r.Zj)({},e)}),M=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"Tooltip"}),o=n.PopperComponent,i=void 0===o?c.Z:o,p=n.PopperProps,d=n.TooltipArrowComponent,h=void 0===d?S:d,m=n.TooltipArrowProps,g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,k=n.shouldWrapChildren,w=n.arrow,_=n.children,O=n.closeOnClick,E=n.closeOnEsc,j=n.closeOnPointerDown,T=n.defaultIsOpen,C=n.disabled,A=n.enterDelay,I=void 0===A?100:A,P=n.followCursor,Z=n.isOpen,M=n.label,D=n.leaveDelay,B=void 0===D?0:D,z=n.nextToCursor,$=n.offset,U=n.onClose,H=n.onOpen,q=n.openOnFocus,W=n.placement,V=(0,r.Kd)(n,F),K=(0,a.useRef)(null),Q=(0,a.useRef)(null),G=(0,a.useState)(0),Y=(0,r.ZQ)(G,2),X=Y[0],J=Y[1],ee=(0,a.useState)(0),et=(0,r.ZQ)(ee,2),en=et[0],er=et[1],eo=(0,a.useState)(null!=Z?Z:void 0!==T&&T),ei=(0,r.ZQ)(eo,2),ea=ei[0],es=ei[1];(0,a.useEffect)(function(){void 0!==Z&&es(Z)},[Z]);var ec=(0,a.useRef)(),eu=(0,a.useRef)(),el=(0,a.useCallback)(function(e,t){eu.current&&(clearTimeout(eu.current),eu.current=void 0),t>0?ec.current=setTimeout(function(){ec.current=void 0,es(!0),"function"==typeof e&&e()},t):(es(!0),"function"==typeof e&&e())},[]),ef=(0,a.useCallback)(function(e,t){ec.current&&(clearTimeout(ec.current),ec.current=void 0),t>0?eu.current=setTimeout(function(){eu.current=void 0,es(!1),"function"==typeof e&&e()},t):(es(!1),"function"==typeof e&&e())},[]),ep=(0,a.useCallback)(function(e){void 0!==Z||el(e,I),"function"==typeof H&&H()},[Z,H,el,I]),ed=(0,a.useCallback)(function(e){void 0!==Z||ef(e,B),"function"==typeof U&&U()},[Z,U,ef,B]);(0,a.useEffect)(function(){return function(){ec.current&&(clearTimeout(ec.current),ec.current=void 0),eu.current&&(clearTimeout(eu.current),eu.current=void 0)}},[]);var eh=(0,f.Z)(),em=L({arrow:!P&&!z&&(void 0===w||w),closeOnClick:void 0===O||O,closeOnEsc:void 0===E||E,closeOnPointerDown:void 0===j||j,disabled:C,followCursor:P,isOpen:ea,mousePageX:X,mousePageY:en,nextToCursor:z,offset:$,onClose:ed,onOpen:ep,openOnFocus:void 0===q||q,placement:void 0===W?"bottom":W,setMousePageX:J,setMousePageY:er,tooltipId:"".concat(u.Z.name,":Tooltip-").concat(eh),tooltipContentRef:K,tooltipTriggerId:"".concat(u.Z.name,":TooltipTrigger-").concat(eh),tooltipTriggerRef:Q});return"function"==typeof _?(0,x.tZ)(b.Provider,{value:em,children:_(em)}):(0,x.BX)(b.Provider,{value:em,children:[(0,x.tZ)(N,{shouldWrapChildren:void 0!==k&&k,children:_}),(0,x.tZ)(R,(0,r.Zj)((0,r.Zj)({PopperComponent:i,PopperProps:p,TooltipArrowComponent:h,TooltipArrowProps:m,TransitionComponent:y,TransitionProps:v},V),{},{children:M}))]})});M.displayName="Tooltip";var D=M},14594:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","collapsedHeight","easing","in","style","timeout"],d=function(e,t){var n={entering:{height:"auto",opacity:1,overflow:"hidden"},entered:{height:"auto",opacity:1},exiting:{height:t.collapsedHeight||0,opacity:0,overflow:"hidden"},exited:{height:t.collapsedHeight||0,opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.standard,exit:i.nV.standard},g=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),y=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Collapse"}),y=n.appear,v=n.children,b=n.collapsedHeight,k=void 0===b?0:b,x=n.easing,w=void 0===x?h:x,_=n.in,S=n.style,O=n.timeout,E=void 0===O?m:O,j=(0,r.Kd)(n,p),T=(0,s.useRef)(null),C=(0,o.Z)(T,t),A=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=T.current;(0,a.nq)(e)},[_]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==y&&y,in:_,nodeRef:T,timeout:E},j),{},{children:function(e,t){var n=_?(0,i.c)({style:S,timeout:E,easing:w}):(0,i.Zk)({style:S,timeout:E,easing:w}),o=(0,i.zx)(["height","opacity"],n),a=d(e,{collapsedHeight:k}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||_||k?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:C,style:(0,r.Zj)((0,r.Zj)({},s),S)}));if(_&&"entering"===e||!_&&("entering"===e||"entered"===e)){var c=A.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:C},t),s),{},{style:S,children:(0,l.tZ)(g,{ref:A,children:v})}))}}))});y.displayName="Collapse";var v=y},62272:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e,t){var n={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.enteringScreen,exit:i.nV.leavingScreen},g=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Fade"}),g=n.appear,y=n.children,v=n.easing,b=void 0===v?h:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?m:w,S=(0,r.Kd)(n,p),O=(0,s.useRef)(null),E=(0,o.Z)(O,t);return(0,s.useEffect)(function(){if(k){var e=O.current;(0,a.nq)(e)}},[k]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==g&&g,in:k,nodeRef:O,timeout:_},S),{},{children:function(e,t){var n=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),o=(0,i.zx)("opacity",n),a=d(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof y?y(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:E,style:(0,r.Zj)((0,r.Zj)({},s),x)})):(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:E},t),s),{},{style:x,children:y}))}}))});g.displayName="Fade";var y=g},57894:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(5081),c=n(2784),u=n(41759),l=n(98827),f=n(52903),p=n(49857),d=["appear","children","easing","in","style","timeout"],h=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},m=function(e,t){var n={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:h(.75)},exited:{opacity:0,transform:h(.75)}}[e];return"function"==typeof n?n(t):n},g={enter:i.YU.easeInOut,exit:i.YU.easeInOut},y=function(e){if(!(e=(0,s.Nu)(e)))return 0;var t=e/36;return Math.round((4+15*Math.pow(t,.25)+t/5)*10)},v=(0,c.forwardRef)(function(e,t){var n=(0,l.Z)({props:e,name:"Grow"}),s=n.appear,h=n.children,v=n.easing,b=void 0===v?g:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?"auto":w,S=(0,r.Kd)(n,d),O=(0,c.useRef)(null),E=(0,c.useRef)(0),j=(0,c.useRef)(null),T=(0,o.Z)(j,t);(0,c.useEffect)(function(){if(k){var e=j.current;(0,a.nq)(e)}},[k]),(0,c.useEffect)(function(){return function(){O.current&&(clearTimeout(O.current),O.current=null)}},[]);var C=(0,c.useCallback)(function(e){"auto"===_&&(O.current=setTimeout(e,E.current||0))},[_]);return(0,f.tZ)(u.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==s&&s,in:k,nodeRef:j,timeout:"auto"===_?null:_,addEndListener:C},S),{},{children:function(e,t){var n=j.current,o=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),a="auto"===_?y(null==n?void 0:n.clientHeight):o.duration,s=[(0,i.zx)("opacity",{duration:a,delay:o.delay}),(0,i.zx)("transform",{duration:.666*a,easing:o.easing,delay:k?o.delay:o.delay||.333*a})].join(",");E.current="auto"===_?a:0;var c=m(e,{}),u=(0,r.Zj)((0,r.Zj)({},c),{},{transition:s,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof h?h(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:T,style:(0,r.Zj)((0,r.Zj)({},u),x)})):(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:T},t),u),{},{style:x,children:h}))}}))});v.displayName="Grow";var b=v},3241:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(53860),o=n(29970),i=n(5081),a=n(2784),s=n(60265),c=n(52903),u=(0,a.forwardRef)(function(e,t){var n=e.children,u=e.in,l=e.onExitComplete,f=(0,o.Z)(function(){return new Map}),p=(0,a.useMemo)(function(){return{in:u,onExitComplete:function(e){f.set(e,!0);var t,n=!0,o=(0,r.sf)(f);try{for(o.s();!(t=o.n()).done;)if(!(0,r.ZQ)(t.value,2)[1]){n=!1;break}}catch(e){o.e(e)}finally{o.f()}n&&(0,i.zU)(l)()},register:function(e){return f.set(e,!1),function(){f.delete(e)}}}},[u,l,f]);return(0,a.useEffect)(function(){u||0!==f.size||l()},[u,l,f]),(0,c.tZ)(s.j.Provider,{value:p,children:n})})},60265:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=(0,n(2784).createContext)()},48504:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(20655),s=n(60265),c=function(){var e=(0,a.Z)();if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var t=(0,i.useContext)(s.j),n=(0,r.Zj)({},t),c=n.in,u=n.onExitComplete,l=n.register;return((0,i.useEffect)(function(){return(0,o.zU)(l)(e)},[e,l]),void 0===t)?[null,null]:!c&&u?[!1,function(){return(0,o.zU)(u)(e)}]:[!0,null]}},13823:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5081),o=function(e){return"string"==typeof e?e:(e=(0,r.Nu)(e),"".concat(e,"px"))}},24340:function(e,t,n){"use strict";n.d(t,{k:function(){return r},l:function(){return o}});var r=function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(n){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}},o=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{Ac:function(){return i},ZQ:function(){return s},Zj:function(){return o},_x:function(){return a},sf:function(){return f},u:function(){return c}})},76078:function(e,t,n){"use strict";n.d(t,{$:function(){return c},J:function(){return s}});var r,o=n(38201),i=function(){},a=function(e){return(Array.isArray(e)&&(e=e.join(",")),e&&"string"==typeof e)?function(t){var n={};return t&&"object"===(0,o.Ac)(t)&&(n[e]=t),Object.entries(n)}:i},s={_active:a(["&:active","&[data-active]"]),_checked:a(["&:checked","&[aria-checked=true]","&[data-checked]"]),_disabled:a(["&:disabled","&:disabled:focus","&:disabled:hover","&[aria-disabled=true]","&[aria-disabled=true]:focus","&[aria-disabled=true]:hover","&[data-disabled]"]),_empty:a("&:empty"),_enabled:a(["&:enabled","&:enabled:focus","&:enabled:hover"]),_firstChild:a("&:first-child"),_firstOfType:a("&:first-of-type"),_fullscreen:a("&:fullscreen"),_focus:a(["&:focus","&[data-focus]"]),_focusActive:a("&:focus:active"),_focusHover:a("&:focus:hover"),_focusVisible:a("&:focus-visible"),_focusWithin:a("&:focus-within"),_hover:a(["&:hover","&[data-hover]"]),_indeterminate:a(["&:indeterminate"]),_invalid:a(["&:invalid","&[aria-invalid=true]"]),_lastChild:a("&:last-child"),_lastOfType:a("&:last-of-type"),_notFirstChild:a("&:not(:first-child)"),_notFirstOfType:a("&:not(:first-of-type)"),_notLastChild:a("&:not(:last-child)"),_notLastOfType:a("&:not(:last-of-type)"),_nthOfType:(Array.isArray(r="&:nth-of-type")&&(r=r.join(",")),r&&"string"==typeof r)?function(e){var t={};if(e&&"object"===(0,o.Ac)(e))for(var n=0,i=Object.entries(e);n0&&void 0!==arguments[0]?arguments[0]:{};if((0,o.Rw)(t))return{};if(Array.isArray(t))return t.reduce(function(t,o){return(0,r.Zj)((0,r.Zj)({},t),e(o)(n))},{});var u=(0,r.Zj)({},n.theme||n),l=function(e){var t={},n=(0,i.rY)((0,s.Z)(u,"breakpoints")),a=[null].concat((0,r.u)(n.map(function(e){return"@media screen and (min-width: ".concat(e,")")})));for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var l="function"==typeof e[c]?e[c](u):e[c];if(!(0,o.Rw)(l)){if(!Array.isArray(l)){t[c]=l;continue}for(var f=0;f1&&p.forEach(function(n){f[n]=e((0,r._x)({},n,t[n]))}),f},p=n(13409),d=n(5081),h=function(e,t){var n=(0,r.Zj)({},t),o=n.prefix,i=n.delimiter,a=void 0===i?"-":i,s=[void 0===o?"":o,e].filter(Boolean).join(a).replace(/\s+/g,a).replace(/[^a-zA-Z0-9-_]/g,a).replace(/^-+|-+$/g,"");return"--".concat(s)},m=function(e,t,n){var o=(0,i.Z)(e,t);if("object"===(0,r.Ac)(o)&&(o=null===(u=o)||void 0===u?void 0:u.value),void 0===o)return t;var a=null==n?void 0:null===(s=n.props)||void 0===s?void 0:s.theme;if(null!==(c=null==a?void 0:a.cssVariables)&&void 0!==c?c:null==a?void 0:a.__cssVariableMap){var s,c,u,l,f,p,d,m,g=null!==(l=null==a?void 0:a.cssVariablePrefix)&&void 0!==l?l:null==a?void 0:null===(f=a.config)||void 0===f?void 0:f.prefix,y=null!==(p=null==a?void 0:a.cssVariables)&&void 0!==p?p:null==a?void 0:a.__cssVariableMap,v=h([null==n?void 0:null===(d=n.context)||void 0===d?void 0:d.scale,String(null!=t?t:"")].filter(Boolean).join("."),{prefix:g,delimiter:"-"}),b=null==y?void 0:y[v];if(void 0!==b)return String(null!==(m=o)&&void 0!==m?m:"").replaceAll(b,"var(".concat(v,")"))}return o},g=function(e){var t=e.group,n=e.properties,o=e.property,i=e.alias,a=e.scale,s=e.defaultScale,c=e.transform,u=void 0===c?m:c,l=[].concat((0,r.u)((0,d.rY)(n)),(0,r.u)((0,d.rY)(o))),f={group:t,properties:l,alias:i,scale:a,defaultScale:null!=s?s:{}},h=function(e,t,n){var o=u(e,t,{context:f,props:n});return(0,p.Rw)(o)?{}:l.reduce(function(e,t){if("object"===(0,r.Ac)(o)){var n;e[t]=null!==(n=null==o?void 0:o[t])&&void 0!==n?n:e[t]}else e[t]=o;return e},{})};return Object.assign(h,(0,r.Zj)({},f)),h},y=function(e,t){var n=null==t?void 0:t.group;return f(Object.keys((0,r.Zj)({},e)).reduce(function(t,o){var i=e[o];return"function"==typeof i?t[o]=i:!0===i?t[o]=g({group:n,property:o}):t[o]=g((0,r.Zj)({group:n},i)),t},{}))},v=y({animation:!0,animationDelay:!0,animationDirection:!0,animationDuration:!0,animationFillMode:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0},{group:"animation"}),b=function(e,t){return!(0,p.Rw)(e)&&(Object.hasOwn?Object.hasOwn(e,t):Object.prototype.hasOwnProperty.call(e,t))},k=function(e,t,n){var r,o=null==n?void 0:null===(r=n.props)||void 0===r?void 0:r.theme,i=m(e,t,n);return null!=o&&o.cssVariables&&/^var\(\s*([a-zA-Z0-9\-_]+)\s*\)$/.test(String(null!=i?i:"").trim())?"calc(0px - ".concat(i,")"):"number"==typeof i&&Number.isFinite(i)?-1*i:"-".concat(i)},x=function(e,t,n){if("string"==typeof t){var r=t.startsWith("+")||t.startsWith("-")?t.slice(1):t,o=!t.startsWith("-");return!b(e,r)||o?m(e,t,n):k(e,r,n)}if("number"==typeof t&&Number.isFinite(t)){var i=Math.abs(t),a=!(t<0);return!b(e,i)||a?m(e,t,n):k(e,i,n)}return m(e,t,n)},w={background:{property:"background",scale:"colors"},backgroundAttachment:{property:"backgroundAttachment"},backgroundClip:{property:"backgroundClip"},backgroundColor:{property:"backgroundColor",scale:"colors"},backgroundImage:{property:"backgroundImage"},backgroundPosition:{property:"backgroundPosition",scale:"space",transform:x},backgroundPositionX:{property:"backgroundPositionX",scale:"space",transform:x},backgroundPositionY:{property:"backgroundPositionY",scale:"space",transform:x},backgroundRepeat:{property:"backgroundRepeat"},backgroundSize:{property:"backgroundSize",scale:"sizes"}};w.bg=(0,r.Zj)((0,r.Zj)({},w.background),{},{alias:"background"}),w.bgAttachment=(0,r.Zj)((0,r.Zj)({},w.backgroundAttachment),{},{alias:"backgroundAttachment"}),w.bgClip=(0,r.Zj)((0,r.Zj)({},w.backgroundClip),{},{alias:"backgroundClip"}),w.bgColor=(0,r.Zj)((0,r.Zj)({},w.backgroundColor),{},{alias:"backgroundColor"}),w.bgImage=(0,r.Zj)((0,r.Zj)({},w.backgroundImage),{},{alias:"backgroundImage"}),w.bgPosition=(0,r.Zj)((0,r.Zj)({},w.backgroundPosition),{},{alias:"backgroundPosition"}),w.bgPositionX=(0,r.Zj)((0,r.Zj)({},w.backgroundPositionX),{},{alias:"backgroundPositionX"}),w.bgPositionY=(0,r.Zj)((0,r.Zj)({},w.backgroundPositionY),{},{alias:"backgroundPositionY"}),w.bgRepeat=(0,r.Zj)((0,r.Zj)({},w.backgroundRepeat),{},{alias:"backgroundRepeat"}),w.bgSize=(0,r.Zj)((0,r.Zj)({},w.backgroundSize),{},{alias:"backgroundSize"});var _=y(w,{group:"background"}),S=y((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{border:{property:"border",scale:"borders"},borderColor:{property:"borderColor",scale:"colors"},borderStyle:!0,borderWidth:{property:"borderWidth",scale:"sizes"}}),{borderTop:{property:"borderTop",scale:"borders"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:!0,borderTopWidth:{property:"borderTopWidth",scale:"sizes"}}),{borderRight:{property:"borderRight",scale:"borders"},borderRightColor:{property:"borderRightColor",scale:"colors"},borderRightStyle:!0,borderRightWidth:{property:"borderRightWidth",scale:"sizes"}}),{borderBottom:{property:"borderBottom",scale:"borders"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderBottomStyle:!0,borderBottomWidth:{property:"borderBottomWidth",scale:"sizes"}}),{borderLeft:{property:"borderLeft",scale:"borders"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderLeftStyle:!0,borderLeftWidth:{property:"borderLeftWidth",scale:"sizes"}}),{borderRadius:{property:"borderRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderEndEndRadius:{property:"borderEndEndRadius",scale:"radii"},borderEndStartRadius:{property:"borderEndStartRadius",scale:"radii"},borderStartEndRadius:{property:"borderStartEndRadius",scale:"radii"},borderStartStartRadius:{property:"borderStartStartRadius",scale:"radii"}}),{borderBlock:{property:"borderBlock",scale:"borders"},borderBlockColor:{property:"borderBlockColor",scale:"colors"},borderBlockStyle:!0,borderBlockWidth:{property:"borderBlockWidth",scale:"sizes"},borderBlockEnd:{property:"borderBlockEnd",scale:"borders"},borderBlockEndColor:{property:"borderBlockEndColor",scale:"colors"},borderBlockEndStyle:!0,borderBlockEndWidth:{property:"borderBlockEndWidth",scale:"sizes"},borderBlockStart:{property:"borderBlockStart",scale:"borders"},borderBlockStartColor:{property:"borderBlockStartColor",scale:"colors"},borderBlockStartStyle:!0,borderBlockStartWidth:{property:"borderBlockStartWidth",scale:"sizes"}}),{borderImage:!0,borderImageOutset:{property:"borderImageOutset",scale:"space",transform:x},borderImageRepeat:!0,borderImageSlice:{property:"borderImageSlice",scale:"space",transform:x},borderImageSource:!0,borderImageWidth:{property:"borderImageWidth",scale:"sizes"}}),{borderInline:{property:"borderInline",scale:"borders"},borderInlineColor:{property:"borderInlineColor",scale:"colors"},borderInlineStyle:!0,borderInlineWidth:{property:"borderInlineWidth",scale:"sizes"},borderInlineEnd:{property:"borderInlineEnd",scale:"borders"},borderInlineEndColor:{property:"borderInlineEndColor",scale:"colors"},borderInlineEndStyle:!0,borderInlineEndWidth:{property:"borderInlineEndWidth",scale:"sizes"},borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartColor:{property:"borderInlineStartColor",scale:"colors"},borderInlineStartStyle:!0,borderInlineStartWidth:{property:"borderInlineStartWidth",scale:"sizes"}}),{},{borderCollapse:!0,borderSpacing:{property:"borderSpacing",scale:"sizes"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}}),{group:"border"}),O=y({color:{property:"color",scale:"colors"},colorScheme:!0},{group:"color"}),E=y({contain:!0,containIntrinsicSize:{property:"containIntrinsicSize",scale:"sizes"},contentVisibility:!0},{group:"containment"}),j=y({backdropFilter:!0,backgroundBlendMode:!0,boxShadow:{property:"boxShadow",scale:"shadows"},filter:!0,mixBlendMode:!0,opacity:!0},{group:"effect"}),T=y({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:{property:"flexBasis",scale:"sizes"},justifySelf:!0,alignSelf:!0,order:!0},{group:"flexbox"}),C=y({gap:{property:"gap",scale:"sizes"},columnGap:{property:"columnGap",scale:"sizes"},rowGap:{property:"rowGap",scale:"sizes"}},{group:"gap"}),A=y({gridArea:!0,gridAutoColumns:!0,gridAutoFlow:!0,gridAutoRows:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,gridTemplate:!0,gridTemplateAreas:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridGap:{property:"gridGap",scale:"sizes"},gridColumnGap:{property:"gridColumnGap",scale:"sizes"},gridRowGap:{property:"gridRowGap",scale:"sizes"}},{group:"grid"}),R=y({imageOrientation:!0,imageRendering:!0},{group:"image"}),I=y({appearance:!0,caretColor:{property:"caretColor",scale:"colors"},cursor:!0,pointerEvents:!0,resize:!0,userSelect:!0},{group:"interactivity"}),P={width:{property:"width",scale:"sizes"},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0,aspectRatio:!0,boxSizing:!0,float:!0,objectFit:!0,objectPosition:!0,visibility:!0};P.w=(0,r.Zj)((0,r.Zj)({},P.width),{},{alias:"width"}),P.h=(0,r.Zj)((0,r.Zj)({},P.height),{},{alias:"height"});var Z=y(P,{group:"layout"}),N=y({listStyleImage:!0,listStylePosition:!0,listStyleType:!0},{group:"list-style"}),F={margin:{property:"margin",scale:"space",transform:x},marginTop:{property:"marginTop",scale:"space",transform:x},marginRight:{property:"marginRight",scale:"space",transform:x},marginBottom:{property:"marginBottom",scale:"space",transform:x},marginLeft:{property:"marginLeft",scale:"space",transform:x},marginBlock:{property:"marginBlock",scale:"space",transform:x},marginBlockStart:{property:"marginBlockStart",scale:"space",transform:x},marginBlockEnd:{property:"marginBlockEnd",scale:"space",transform:x},marginInline:{property:"marginInline",scale:"space",transform:x},marginInlineStart:{property:"marginInlineStart",scale:"space",transform:x},marginInlineEnd:{property:"marginInlineEnd",scale:"space",transform:x}};F.marginX={properties:["marginLeft","marginRight"],scale:"space",transform:x},F.marginY={properties:["marginTop","marginBottom"],scale:"space",transform:x},F.m=(0,r.Zj)((0,r.Zj)({},F.margin),{},{alias:"margin"}),F.mt=(0,r.Zj)((0,r.Zj)({},F.marginTop),{},{alias:"marginTop"}),F.mr=(0,r.Zj)((0,r.Zj)({},F.marginRight),{},{alias:"marginRight"}),F.mb=(0,r.Zj)((0,r.Zj)({},F.marginBottom),{},{alias:"marginBottom"}),F.ml=(0,r.Zj)((0,r.Zj)({},F.marginLeft),{},{alias:"marginLeft"}),F.mx=(0,r.Zj)((0,r.Zj)({},F.marginX),{},{alias:"marginX"}),F.my=(0,r.Zj)((0,r.Zj)({},F.marginY),{},{alias:"marginY"});var L=y(F,{group:"margin"}),M=y({clip:!0,clipPath:!0,mask:!0,maskBorder:!0,maskType:!0,maskClip:!0,maskComposite:!0,maskImage:!0,maskMode:!0,maskOrigin:!0,maskPosition:!0,maskRepeat:!0,maskSize:!0,maskBorderMode:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorderSlice:!0,maskBorderSource:!0,maskBorderWidth:!0},{group:"masking"}),D=y({outline:{property:"outline",scale:"outlines"},outlineColor:{property:"outlineColor",scale:"colors"},outlineOffset:{property:"outlineOffset",scale:"space",transform:x},outlineWidth:{property:"outlineWidth",scale:"sizes"},outlineStyle:!0},{group:"outline"}),B={padding:{property:"padding",scale:"space"},paddingTop:{property:"paddingTop",scale:"space"},paddingRight:{property:"paddingRight",scale:"space"},paddingBottom:{property:"paddingBottom",scale:"space"},paddingLeft:{property:"paddingLeft",scale:"space"}};B.paddingX={properties:["paddingLeft","paddingRight"],scale:"space"},B.paddingY={properties:["paddingTop","paddingBottom"],scale:"space"},B.p=(0,r.Zj)((0,r.Zj)({},B.padding),{},{alias:"padding"}),B.pt=(0,r.Zj)((0,r.Zj)({},B.paddingTop),{},{alias:"paddingTop"}),B.pr=(0,r.Zj)((0,r.Zj)({},B.paddingRight),{},{alias:"paddingRight"}),B.pb=(0,r.Zj)((0,r.Zj)({},B.paddingBottom),{},{alias:"paddingBottom"}),B.pl=(0,r.Zj)((0,r.Zj)({},B.paddingLeft),{},{alias:"paddingLeft"}),B.px=(0,r.Zj)((0,r.Zj)({},B.paddingX),{},{alias:"paddingX"}),B.py=(0,r.Zj)((0,r.Zj)({},B.paddingY),{},{alias:"paddingY"});var z=y(B,{group:"padding"}),$=y({inset:{property:"inset",scale:"space",transform:x},insetBlock:{property:"insetBlock",scale:"space",transform:x},insetBlockEnd:{property:"insetBlockEnd",scale:"space",transform:x},insetBlockStart:{property:"insetBlockStart",scale:"space",transform:x},insetInline:{property:"insetInline",scale:"space",transform:x},insetInlineEnd:{property:"insetInlineEnd",scale:"space",transform:x},insetInlineStart:{property:"insetInlineStart",scale:"space",transform:x},position:!0,top:{property:"top",scale:"space",transform:x},right:{property:"right",scale:"space",transform:x},bottom:{property:"bottom",scale:"space",transform:x},left:{property:"left",scale:"space",transform:x},zIndex:{property:"zIndex",scale:"zIndices"}},{group:"position"}),U={scrollBehavior:!0,scrollMargin:{property:"scrollMargin",scale:"space",transform:x},scrollMarginBlock:{property:"scrollMarginBlock",scale:"space",transform:x},scrollMarginBlockEnd:{property:"scrollMarginBlockEnd",scale:"space",transform:x},scrollMarginBlockStart:{property:"scrollMarginBlockStart",scale:"space",transform:x},scrollMarginInline:{property:"scrollMarginInline",scale:"space",transform:x},scrollMarginInlineEnd:{property:"scrollMarginInlineEnd",scale:"space",transform:x},scrollMarginInlineStart:{property:"scrollMarginInlineStart",scale:"space",transform:x},scrollMarginTop:{property:"scrollMarginTop",scale:"space",transform:x},scrollMarginRight:{property:"scrollMarginRight",scale:"space",transform:x},scrollMarginBottom:{property:"scrollMarginBottom",scale:"space",transform:x},scrollMarginLeft:{property:"scrollMarginLeft",scale:"space",transform:x},scrollPadding:{property:"scrollPadding",scale:"space"},scrollPaddingTop:{property:"scrollPaddingTop",scale:"space"},scrollPaddingRight:{property:"scrollPaddingRight",scale:"space"},scrollPaddingBottom:{property:"scrollPaddingBottom",scale:"space"},scrollPaddingLeft:{property:"scrollPaddingLeft",scale:"space"},scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0};U.scrollMarginX={properties:["scrollMarginLeft","scrollMarginRight"],scale:"space",transform:x},U.scrollMarginY={properties:["scrollMarginTop","scrollMarginBottom"],scale:"space",transform:x},U.scrollPaddingX={properties:["scrollPaddingLeft","scrollPaddingRight"],scale:"space"},U.scrollPaddingY={properties:["scrollPaddingTop","scrollPaddingBottom"],scale:"space"};var H=function(){for(var e={},t=arguments.length,n=Array(t),r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]&&arguments[1];if(!e||!(e instanceof HTMLElement))return[];var n=Array.from(e.querySelectorAll('a[href],area[href],audio[controls],button:not([disabled]),embed,iframe,input:not([type="hidden"]):not([disabled]),object,select:not([disabled]),textarea:not([disabled]),video[controls],*[contenteditable]:not([contenteditable="false"]),*[tabindex]:not([aria-disabled="true"])'));return n=n.filter(function(e){var t=(0,r.Dx)(e);return(null==t?void 0:t.display)!=="none"}),!0===t&&(n=n.filter(function(e){return"-1"!==e.getAttribute("tabindex")})),n}},33558:function(e,t,n){"use strict";n.d(t,{Dx:function(){return a},Jb:function(){return u},Nq:function(){return o},Re:function(){return f},lZ:function(){return c},nq:function(){return p},oe:function(){return s},vY:function(){return i}});var r=n(53248),o=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},i=function(e){var t=c(e);return null==t?void 0:t.activeElement},a=function(e){if(!e)throw TypeError("No element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):null},s=function e(t){return f(t)?e(t.offsetParent)+t.offsetLeft:0},c=function(e){var t;return l(e)&&null!==(t=e.ownerDocument)&&void 0!==t?t:document},u=function e(t){return f(t)?e(t.offsetParent)+t.offsetTop:0},l=function(e){return null!=e&&"object"===(0,r.Ac)(e)&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE},f=function(e){if(!l(e))return!1;var t,n=null!==(t=e.ownerDocument.defaultView)&&void 0!==t?t:window;return e instanceof n.HTMLElement},p=function(e){return e&&(null==e?void 0:e.scrollTop)}},56818:function(e,t,n){"use strict";n.d(t,{N:function(){return l},PB:function(){return f},PP:function(){return u},Pu:function(){return h},Qm:function(){return c},TL:function(){return m},TS:function(){return p},ZT:function(){return d}});var r=n(53248),o=n(5081),i=n(13409),a=function(e){return 0===(e=(0,o.rY)(e)).length?"":1===e.length?"'".concat(e[0],"'"):2===e.length?"'".concat(e[0],"' and '").concat(e[1],"'"):"'".concat(e.slice(0,-1).join("', '"),"', and '").concat(e.slice(-1),"'")},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(n.has(t))return n.get(t);if(Array.isArray(t)){var o=[];n.set(t,o);for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0};if(Array.isArray(t)&&Array.isArray(n)){var a=o.clone?(0,r.u)(t):t;return n.forEach(function(t,n){(0,i.PO)(t)&&(0,i.PO)(a[n])?a[n]=e(a[n],t,o):a[n]=o.clone?s(t):t}),a}if((0,i.PO)(t)&&(0,i.PO)(n)){for(var c=o.clone?(0,r.Zj)({},t):t,u=0,l=Object.entries(n);u1?t-1:0),r=1;r1?"are":"is";s?u.push("".concat(a(e)," ").concat(l," deprecated and will be removed in the next major release.")):u.push("".concat(a(e)," ").concat(l," deprecated.")),i.length>0&&u.push("Use ".concat(a(i)," instead.")),c&&u.push(c),console.error(u.join(" "))}}},83377:function(e,t,n){"use strict";n.d(t,{YU:function(){return s},Zk:function(){return u},c:function(){return c},nV:function(){return a},zx:function(){return l}});var r=n(53248),o=n(5081),i=function(e){return e>0?"".concat(Math.round(e),"ms"):""},a={standard:300,enteringScreen:225,leavingScreen:195},s={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},c=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.enter)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.enter)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},u=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.exit)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.exit)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},l=function(e,t){e=null!==(n=e)&&void 0!==n?n:["all"];var n,c=(0,r.Zj)({},t),u=c.duration,l=void 0===u?a.standard:u,f=c.easing,p=void 0===f?s.easeInOut:f,d=c.delay,h=void 0===d?0:d;return(0,o.rY)(e).map(function(e){return[e,"string"==typeof l?l:i(l),p,"string"==typeof h?h:i(h)].filter(function(e){return null!=e&&""!==e}).join(" ")}).join(",")}},85748:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},15538:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},43681:function(e,t,n){var r=n(96314),o=n(66193),i=n(60121),a=n(16147);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},73408:function(e,t,n){var r=n(13850),o=n(23912),i=n(60121),a=n(83096);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},68064:function(e,t,n){var r=n(67425).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},47739:function(e,t,n){var r=n(67425).default,o=n(68064);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},67425:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},60121:function(e,t,n){var r=n(85748);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}},e.exports.__esModule=!0,e.exports.default=e.exports},80753:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},56666:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(32802);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7896:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},88960:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},32802:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86522);function o(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},86522:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},45392:function(e,t,n){"use strict";n.d(t,{Zo:function(){return s},ah:function(){return i}});var r=n(2784);let o=r.createContext({});function i(e){let t=r.useContext(o);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let a={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||a:i(e),r.createElement(o.Provider,{value:s},t)}},20303:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function w(e){var t,n,o,l,m,b,w,_,S,O,E,j,T,C,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},I=(0,u.a)(),P=(0,c.z)(),Z=(0,s.a)(),N=f(A),F=f(R),L=(0,r.useRef)(!0),M=(0,r.useRef)(null),D=(0,r.useRef)(P.status),B=(0,r.useMemo)(function(){return k(k({},e(function(e,t){if(t){L.current=!0;return}if(L.current){var n=e.instantSearchInstance,r=(e.widgetParams,x(e,g));(0,i.J)(r,M.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&n.status===D.current||(U(r),M.current=r,D.current=n.status)}},function(){L.current=!1})(N)),F)},[e,N,F]),z=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(function(){if(B.getWidgetRenderState){var e,t=Z.getHelper(),n=Z.getWidgetUiState({})[Z.getIndexId()];t.state=(null===(e=B.getWidgetSearchParameters)||void 0===e?void 0:e.call(B,t.state,{uiState:n}))||t.state;var r=(0,a.E)(Z),o=r.results,i=r.scopedResults,s=B.getWidgetRenderState({helper:t,parent:Z,instantSearchInstance:P,results:o,scopedResults:i,state:t.state,renderState:P.renderState,templatesConfig:P.templatesConfig,createURL:Z.createURL,searchMetadata:{isSearchStalled:"stalled"===P.status},status:P.status,error:P.error});return s.widgetParams,x(s,y)}return{}}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||function(e,t){if(e){if("string"==typeof e)return v(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),$=z[0],U=z[1];return m=(n={widget:B,parentIndex:Z,props:N,shouldSsr:!!I}).widget,b=n.parentIndex,w=n.props,_=n.shouldSsr,S=(0,h.P)(),O=(0,r.useRef)(w),(0,r.useEffect)(function(){O.current=w},[w]),E=(0,r.useRef)(m),(0,r.useEffect)(function(){E.current=m},[m]),j=(0,r.useRef)(null),T=_&&!b.getWidgets().includes(m),C=(0,c.z)(),(0,d.L)(function(){var e=E.current;return j.current?(clearTimeout(j.current),(0,i.J)(w,O.current)||(b.removeWidgets([e]),b.addWidgets([m]))):T||b.addWidgets([m]),function(){j.current=setTimeout(function(){C._schedule(function(){C._preventWidgetCleanup||b.removeWidgets([e])})})}},[b,m,T,C,w]),(T||(null==S?void 0:null===(o=S.current)||void 0===o?void 0:o.status)==="pending")&&b.addWidgets([m]),"undefined"==typeof window&&null!=S&&S.current&&"ais.index"!==m.$$type&&(p(S.current),"ais.dynamicWidgets"!==m.$$type&&null!==(l=C.helper)&&void 0!==l&&l.lastResults&&p(S.current)),$}},11849:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},5881:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},87287:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{J:function(){return function e(t,n,i){var a,s;if(null!=i&&i(t,n)||t===n)return!0;if(t&&n&&(a=t.constructor)===n.constructor){if(a===Date)return t.getTime()===n.getTime();if(a===RegExp)return t.toString()===n.toString();if(a===Array){if((s=t.length)===n.length)for(;s--&&e(t[s],n[s],i););return -1===s}if(!a||"object"===r(t)){for(a in s=0,t)if(o.call(t,a)&&++s&&!o.call(n,a)||!(a in n)||!e(t[a],n[a],i))return!1;return Object.keys(n).length===s}}return t!=t&&n!=n}}});var o=Object.prototype.hasOwnProperty},73183:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(96906);function o(e){var t,n,o;return new r.SearchResults(e,[{query:null!==(t=e.query)&&void 0!==t?t:"",page:null!==(n=e.page)&&void 0!==n?n:0,hitsPerPage:null!==(o=e.hitsPerPage)&&void 0!==o?o:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(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 s(e){for(var t=1;t component must be used within ."),e}},53232:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(2784),o=n(18670),i=n(5881);function a(){var e=(0,r.useContext)(i.Z);return(0,o.k)(null!==e,"Hooks must be used inside the component.\n\nThey are not compatible with the `react-instantsearch-core@6.x` and `react-instantsearch-dom` packages, so make sure to use the component from `react-instantsearch-core@7.x`."),e}},29170:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},91106:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2784),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},38436:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},65245:function(e,t,n){"use strict";let r,o,i,a,s,c,u,l,f,p,d;n.d(t,{uz:function(){return oO},nu:function(){return oS}});var h,m,g,y,v,b,k,x,w,_,S,O,E,j,T,C,A,R,I,P,Z,N,F,L,M,D,B=n(2784),z=function(){for(var e,t,n=0,r="",o=arguments.length;nt in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&X(e,n,t[n]);if(K)for(var n of K(t))Y.call(t,n)&&X(e,n,t[n]);return e},ee=(e,t)=>H(e,W(t)),et=(e,t)=>{var n={};for(var r in e)G.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&K)for(var r of K(e))0>t.indexOf(r)&&Y.call(e,r)&&(n[r]=e[r]);return n},en=(d=null!=(f=(u={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=l.reach));w+=x.value.length,x=x.next){var _,S=x.value;if(n.length>t.length)return;if(!(S instanceof o)){var O=1;if(y){if(!(_=i(k,w,t,g))||_.index>=t.length)break;var E=_.index,j=_.index+_[0].length,T=w;for(T+=x.value.length;E>=T;)T+=(x=x.next).value.length;if(T-=x.value.length,w=T,x.value instanceof o)continue;for(var C=x;C!==n.tail&&(Tl.reach&&(l.reach=P);var Z=x.prev;if(R&&(Z=s(n,Z,R),w+=R.length),function(e,t,n){for(var r=t.next,o=0;o1){var N={cause:f+","+d,reach:P};e(t,n,a,x.prev,w,N),l&&N.reach>l.reach&&(l.reach=N.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function i(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach(function(t){o+=e(t,n)}),o}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),r.hooks.run("wrap",i);var s="";for(var c in i.attributes)s+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},r}();t.exports=n,n.default=n}},function(){return l||(0,u[V(u)[0]])((l={exports:{}}).exports,l),l.exports})())?$(Q(f)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of V(t))G.call(e,o)||o===n||U(e,o,{get:()=>t[o],enumerable:!(r=q(t,o))||r.enumerable});return e})(!p&&f&&f.__esModule?d:U(d,"default",{value:f,enumerable:!0}),f));en.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},en.languages.markup.tag.inside["attr-value"].inside.entity=en.languages.markup.entity,en.languages.markup.doctype.inside["internal-subset"].inside=en.languages.markup,en.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(en.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:en.languages[t]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:en.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},en.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(en.languages.markup.tag,"addAttribute",{value:function(e,t){en.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:en.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),en.languages.html=en.languages.markup,en.languages.mathml=en.languages.markup,en.languages.svg=en.languages.markup,en.languages.xml=en.languages.extend("markup",{}),en.languages.ssml=en.languages.xml,en.languages.atom=en.languages.xml,en.languages.rss=en.languages.xml,g={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},v=RegExp((v="(?:[^\\\\-]|"+(y=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+v),b={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},en.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:v,inside:{escape:y,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":g,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:y}},"special-escape":g,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":b}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:y,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},en.languages.javascript=en.languages.extend("clike",{"class-name":[en.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),en.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,en.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:en.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:en.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:en.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:en.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:en.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),en.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:en.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),en.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),en.languages.markup&&(en.languages.markup.tag.addInlined("script","javascript"),en.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),en.languages.js=en.languages.javascript,en.languages.actionscript=en.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),en.languages.actionscript["class-name"].alias="function",delete en.languages.actionscript.parameter,delete en.languages.actionscript["literal-property"],en.languages.markup&&en.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:en.languages.markup}}),k=/#(?!\{).+/,x={pattern:/#\{[^}]+\}/,alias:"variable"},en.languages.coffeescript=en.languages.extend("javascript",{comment:k,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:x}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),en.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:k,interpolation:x}}}),en.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:en.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:x}}]}),en.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete en.languages.coffeescript["template-string"],en.languages.coffee=en.languages.coffeescript,Object.defineProperty(w=en.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(o=en.languages[e]){var o,i=o[r];if((i=i||(o=en.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(i=o[r]={pattern:i}),Array.isArray(i))for(var a=0,s=i.length;a|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(en),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+o+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(en),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(en),en.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:en.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},en.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],i=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in c&&function t(n){for(var a=0,c=n.length;a=f.length)return;var a,c,p,d,h,m,g,y=n[i];"string"==typeof y||"string"==typeof y.content?(a=f[u],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(a))&&(++u,c=m.substring(0,g),h=l[a],p=void 0,(d={})["interpolation-punctuation"]=o,3===(d=e.tokenize(h,d)).length&&((p=[1,1]).push.apply(p,s(d[1],e.languages.javascript,"javascript")),d.splice.apply(d,p)),p=new e.Token("interpolation",d,r.alias,h),d=m.substring(g+a.length),h=[],c&&h.push(c),h.push(p),d&&(t(m=[d]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[i,1].concat(h)),i+=h.length-1):y.content=h)):Array.isArray(g=y.content)?t(g):t([g])}}(c),new e.Token(a,c,"language-"+a,t)}(l,f,p))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(en),en.languages.typescript=en.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),en.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete en.languages.typescript.parameter,delete en.languages.typescript["literal-property"],S=en.languages.extend("typescript",{}),delete S["class-name"],en.languages.typescript["class-name"].inside=S,en.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:S}}}}),en.languages.ts=en.languages.typescript,O=en.languages.javascript,j="(@(?:arg|argument|param|property)\\s+(?:"+(E=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",en.languages.jsdoc=en.languages.extend("javadoclike",{parameter:{pattern:RegExp(j+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),en.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(j+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:O,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return E})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+E),lookbehind:!0,inside:{string:O.string,number:O.number,boolean:O.boolean,keyword:en.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:O,alias:"language-javascript"}}}}),en.languages.javadoclike.addSupport("javascript",en.languages.jsdoc),en.languages.flow=en.languages.extend("javascript",{}),en.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),en.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete en.languages.flow.parameter,en.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(en.languages.flow.keyword)||(en.languages.flow.keyword=[en.languages.flow.keyword]),en.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),en.languages.n4js=en.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),en.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),en.languages.n4jsd=en.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],o=0;o"!==i.content[i.content.length-1].content&&r.push({tagName:a(i.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},en.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=en.languages.swift}),en.languages.kotlin=en.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete en.languages.kotlin["class-name"],C={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:en.languages.kotlin}},en.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:C},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:C},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete en.languages.kotlin.string,en.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),en.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),en.languages.kt=en.languages.kotlin,en.languages.kts=en.languages.kotlin,en.languages.c=en.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),en.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),en.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},en.languages.c.string],char:en.languages.c.char,comment:en.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:en.languages.c}}}}),en.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete en.languages.c.boolean,en.languages.objectivec=en.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete en.languages.objectivec["class-name"],en.languages.objc=en.languages.objectivec,en.languages.reason=en.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),en.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete en.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(en),en.languages.go=en.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),en.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete en.languages.go["class-name"],A=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,R=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return A.source}),en.languages.cpp=en.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return A.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:A,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),en.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return R})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),en.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:en.languages.cpp}}}}),en.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),en.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:en.languages.extend("cpp",{})}}),en.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},en.languages.cpp["base-clause"]),en.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},en.languages.python["string-interpolation"].inside.interpolation.inside.rest=en.languages.python,en.languages.py=en.languages.python;var er={};((e,t)=>{for(var n in t)U(e,n,{get:t[n],enumerable:!0})})(er,{dracula:()=>eo,duotoneDark:()=>ei,duotoneLight:()=>ea,github:()=>es,jettwaveDark:()=>ek,jettwaveLight:()=>ex,nightOwl:()=>ec,nightOwlLight:()=>eu,oceanicNext:()=>ep,okaidia:()=>ed,oneDark:()=>ew,oneLight:()=>e_,palenight:()=>eh,shadesOfPurple:()=>em,synthwave84:()=>eg,ultramin:()=>ey,vsDark:()=>ev,vsLight:()=>eb});var eo={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},ei={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},ea={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},es={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},ec={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},eu={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},el="#c5a5c5",ef="#8dc891",ep={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:el}},{types:["attr-value"],style:{color:ef}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:ef}},{types:["punctuation"],style:{color:ef}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:el}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},ed={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},eh={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},em={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},eg={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ey={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},ev={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},eb={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ek={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ex={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ew={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},e_={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},eS=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=J(J({},e[t]),o);e[t]=n}),e},{});return r.root=n,r.plain=ee(J({},n),{backgroundColor:void 0}),r},eO=(e,t)=>{let[n,r]=(0,B.useState)(eS(t,e)),o=(0,B.useRef)(),i=(0,B.useRef)();return(0,B.useEffect)(()=>{(t!==o.current||e!==i.current)&&(o.current=t,i.current=e,r(eS(t,e)))},[e,t]),n},eE=e=>(0,B.useCallback)(t=>{var{className:n,style:r,line:o}=t;let i=ee(J({},et(t,["className","style","line"])),{className:z("token-line",n)});return"object"==typeof e&&"plain"in e&&(i.style=e.plain),"object"==typeof r&&(i.style=J(J({},i.style||{}),r)),i},[e]),ej=e=>{let t=(0,B.useCallback)(({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map(t=>e[t]))},[e]);return(0,B.useCallback)(e=>{var{token:n,className:r,style:o}=e;let i=ee(J({},et(e,["token","className","style"])),{className:z("token",...n.types,r),children:n.content,style:t(n)});return null!=o&&(i.style=J(J({},i.style||{}),o)),i},[t])},eT=/\r\n|\r|\n/,eC=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eA=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eR=e=>{let t=[[]],n=[e],r=[0],o=[e.length],i=0,a=0,s=[],c=[s];for(;a>-1;){for(;(i=r[a]++)0?u:["plain"],e=l):(u=eA(u,l.type),l.alias&&(u=eA(u,l.alias)),e=l.content),"string"!=typeof e){a++,t.push(u),n.push(e),r.push(0),o.push(e.length);continue}let f=e.split(eT),p=f.length;s.push({types:u,content:f[0]});for(let e=1;e{let o=(0,B.useRef)(e);return(0,B.useMemo)(()=>{if(null==n)return eR([t]);let e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),eR(e.tokens)},[t,n,r])},eP=({children:e,language:t,code:n,theme:r,prism:o})=>{let i=t.toLowerCase(),a=eO(i,r),s=eE(a),c=ej(a),u=o.languages[i];return e({tokens:eI({prism:o,language:i,code:n,grammar:u}),className:`prism-code language-${i}`,style:null!=a?a.root:{},getLineProps:s,getTokenProps:c})},eZ=e=>(0,B.createElement)(eP,ee(J({},e),{prism:e.prism||en,theme:e.theme||ev,code:e.code,language:e.language})),eN={characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};function eF(e){var t=window.getSelection();t.empty(),t.addRange(e)}function eL(e){return(e.metaKey||e.ctrlKey)&&!e.altKey&&"KeyZ"===e.code}function eM(e){e=[e.firstChild];for(var t,n="";t=e.pop();)t.nodeType===Node.TEXT_NODE?n+=t.textContent:t.nodeType===Node.ELEMENT_NODE&&"BR"===t.nodeName&&(n+="\n"),t.nextSibling&&e.push(t.nextSibling),t.firstChild&&e.push(t.firstChild);return"\n"!==n[n.length-1]&&(n+="\n"),n}function eD(e){var t=window.getSelection().getRangeAt(0),n=t.collapsed?0:t.toString().length,r=document.createRange();return r.setStart(e,0),r.setEnd(t.startContainer,t.startOffset),{position:e=(r=r.toString()).length,extent:n,content:r=(r=r.split("\n"))[t=r.length-1],line:t}}function eB(e,t,n){0>=t&&(t=0),(!n||0>n)&&(n=t);var r=document.createRange();e=[e.firstChild];for(var o,i=0,a=t;o=e[e.length-1];){if(o.nodeType===Node.TEXT_NODE){if(i+o.textContent.length>=a){var s=a-i;if(a===t){if(a=r,s=a){if(a===t){if(s=r,0";case N.template:return"template";case N.ellipsis:return"...";case N.backQuote:return"`";case N.dollarBraceL:return"${";case N.at:return"@";case N.hash:return"#";case N.eq:return"=";case N.assign:return"_=";case N.preIncDec:case N.postIncDec:return"++/--";case N.bang:return"!";case N.tilde:return"~";case N.pipeline:return"|>";case N.nullishCoalescing:return"??";case N.logicalOR:return"||";case N.logicalAND:return"&&";case N.bitwiseOR:return"|";case N.bitwiseXOR:return"^";case N.bitwiseAND:return"&";case N.equality:return"==/!=";case N.lessThan:return"<";case N.greaterThan:return">";case N.relationalOrEqual:return"<=/>=";case N.bitShiftL:return"<<";case N.bitShiftR:return">>/>>>";case N.plus:return"+";case N.minus:return"-";case N.modulo:return"%";case N.star:return"*";case N.slash:return"/";case N.exponent:return"**";case N.jsxName:return"jsxName";case N.jsxText:return"jsxText";case N.jsxEmptyText:return"jsxEmptyText";case N.jsxTagStart:return"jsxTagStart";case N.jsxTagEnd:return"jsxTagEnd";case N.typeParameterStart:return"typeParameterStart";case N.nonNullAssertion:return"nonNullAssertion";case N._break:return"break";case N._case:return"case";case N._catch:return"catch";case N._continue:return"continue";case N._debugger:return"debugger";case N._default:return"default";case N._do:return"do";case N._else:return"else";case N._finally:return"finally";case N._for:return"for";case N._function:return"function";case N._if:return"if";case N._return:return"return";case N._switch:return"switch";case N._throw:return"throw";case N._try:return"try";case N._var:return"var";case N._let:return"let";case N._const:return"const";case N._while:return"while";case N._with:return"with";case N._new:return"new";case N._this:return"this";case N._super:return"super";case N._class:return"class";case N._extends:return"extends";case N._export:return"export";case N._import:return"import";case N._yield:return"yield";case N._null:return"null";case N._true:return"true";case N._false:return"false";case N._in:return"in";case N._instanceof:return"instanceof";case N._typeof:return"typeof";case N._void:return"void";case N._delete:return"delete";case N._async:return"async";case N._get:return"get";case N._set:return"set";case N._declare:return"declare";case N._readonly:return"readonly";case N._abstract:return"abstract";case N._static:return"static";case N._public:return"public";case N._private:return"private";case N._protected:return"protected";case N._override:return"override";case N._as:return"as";case N._enum:return"enum";case N._type:return"type";case N._implements:return"implements";default:return""}}(e)}"`)}function e2(e="Unexpected token",t=a.start){if(a.error)return;let n=SyntaxError(e);n.pos=t,a.error=n,a.pos=s.length,tv(N.eof)}let e3=[9,11,12,F.space,F.nonBreakingSpace,F.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],e5=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e8=new Uint8Array(65536);for(let e of e3)e8[e]=1;let e6=new Uint8Array(65536);for(let e=0;e<128;e++)e6[e]=!function(e){if(e<48)return 36===e;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return 95===e;if(e<123)return!0;if(e<128)return!1;throw Error("Should not be called with non-ASCII char code.")}(e)?0:1;for(let e=128;e<65536;e++)e6[e]=1;for(let e of e3)e6[e]=0;e6[8232]=0,e6[8233]=0;let e4=e6.slice();for(let e=F.digit0;e<=F.digit9;e++)e4[e]=0;let e9=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,Z._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,Z._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,Z._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,Z._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,Z._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,Z._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(N._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(N._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,Z._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(N._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(N._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(N._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,Z._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(N._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(N._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(N._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,Z._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(N._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,Z._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(N._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,Z._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(N._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,Z._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(N._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,Z._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,Z._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,Z._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,Z._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,Z._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(N._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(N._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(N._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(N._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function e7(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.FunctionScopedDeclaration||t===L.BlockScopedDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ObjectShorthandFunctionScopedDeclaration||t===L.ObjectShorthandBlockScopedDeclaration}function te(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ImportDeclaration}!function(e){e[e.Access=0]="Access",e[e.ExportAccess=1]="ExportAccess";e[e.TopLevelDeclaration=2]="TopLevelDeclaration";let t=3;e[e.FunctionScopedDeclaration=t]="FunctionScopedDeclaration";let n=t+1;e[e.BlockScopedDeclaration=n]="BlockScopedDeclaration";let r=n+1;e[e.ObjectShorthandTopLevelDeclaration=r]="ObjectShorthandTopLevelDeclaration";let o=r+1;e[e.ObjectShorthandFunctionScopedDeclaration=o]="ObjectShorthandFunctionScopedDeclaration";let i=o+1;e[e.ObjectShorthandBlockScopedDeclaration=i]="ObjectShorthandBlockScopedDeclaration";let a=i+1;e[e.ObjectShorthand=a]="ObjectShorthand";let s=a+1;e[e.ImportDeclaration=s]="ImportDeclaration";let c=s+1;e[e.ObjectKey=c]="ObjectKey";let u=c+1;e[e.ImportAccess=u]="ImportAccess"}(L||(L={})),(h=M||(M={}))[h.NoChildren=0]="NoChildren",h[h.OneChild=1]="OneChild",h[h.StaticChildren=2]="StaticChildren",h[h.KeyAfterPropSpread=3]="KeyAfterPropSpread";class tt{constructor(){this.type=a.type,this.contextualKeyword=a.contextualKeyword,this.start=a.start,this.end=a.end,this.scopeDepth=a.scopeDepth,this.isType=a.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function tn(){a.tokens.push(new tt),tm()}function tr(){a.tokens.push(new tt),a.start=a.pos,function(){for(;;){if(a.pos>=s.length){e2("Unterminated template");return}let e=s.charCodeAt(a.pos);if(e===F.graveAccent||e===F.dollarSign&&s.charCodeAt(a.pos+1)===F.leftCurlyBrace){if(a.pos===a.start&&tc(N.template)){if(e===F.dollarSign){a.pos+=2,tv(N.dollarBraceL);return}++a.pos,tv(N.backQuote);return}tv(N.template);return}e===F.backslash&&a.pos++,a.pos++}}()}function to(e){for(let t=a.tokens.length-e;t=s.length){let e=a.tokens;e.length>=2&&e[e.length-1].start>=s.length&&e[e.length-2].start>=s.length&&e2("Unexpectedly reached the end of input."),tv(N.eof);return}e4[e=s.charCodeAt(a.pos)]||e===F.backslash||e===F.atSign&&s.charCodeAt(a.pos+1)===F.atSign?function(){let e=0,t=0,n=a.pos;for(;nF.lowercaseZ);){let r=e9[e+(t-F.lowercaseA)+1];if(-1===r)break;e=r,n++}let r=e9[e];if(r>-1&&!e6[t]){a.pos=n,1&r?tv(r>>>1):tv(N.name,r>>>1);return}for(;ns.length){e2("Unterminated comment",a.pos-2);return}a.pos+=2}();break;case F.slash:tg(2);break;default:return}break;default:if(!e8[e])return;++a.pos}}}function tv(e,t=Z.NONE){a.end=a.pos,a.type=e,a.contextualKeyword=t}function tb(){if(a.isType){tw(N.greaterThan,1);return}let e=s.charCodeAt(a.pos+1);if(e===F.greaterThan){let e=s.charCodeAt(a.pos+2)===F.greaterThan?3:2;if(s.charCodeAt(a.pos+e)===F.equalsTo){tw(N.assign,e+1);return}tw(N.bitShiftR,e);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.greaterThan,1)}function tk(){a.type===N.greaterThan&&(a.pos-=1,tb())}function tx(e){switch(e){case F.numberSign:++a.pos,tv(N.hash);return;case F.dot:!function(){let e=s.charCodeAt(a.pos+1);if(e>=F.digit0&&e<=F.digit9){tS(!0);return}e===F.dot&&s.charCodeAt(a.pos+2)===F.dot?(a.pos+=3,tv(N.ellipsis)):(++a.pos,tv(N.dot))}();return;case F.leftParenthesis:++a.pos,tv(N.parenL);return;case F.rightParenthesis:++a.pos,tv(N.parenR);return;case F.semicolon:++a.pos,tv(N.semi);return;case F.comma:++a.pos,tv(N.comma);return;case F.leftSquareBracket:++a.pos,tv(N.bracketL);return;case F.rightSquareBracket:++a.pos,tv(N.bracketR);return;case F.leftCurlyBrace:i&&s.charCodeAt(a.pos+1)===F.verticalBar?tw(N.braceBarL,2):(++a.pos,tv(N.braceL));return;case F.rightCurlyBrace:++a.pos,tv(N.braceR);return;case F.colon:s.charCodeAt(a.pos+1)===F.colon?tw(N.doubleColon,2):(++a.pos,tv(N.colon));return;case F.questionMark:!function(){let e=s.charCodeAt(a.pos+1),t=s.charCodeAt(a.pos+2);e!==F.questionMark||i&&a.isType?e!==F.dot||t>=F.digit0&&t<=F.digit9?(++a.pos,tv(N.question)):(a.pos+=2,tv(N.questionDot)):t===F.equalsTo?tw(N.assign,3):tw(N.nullishCoalescing,2)}();return;case F.atSign:++a.pos,tv(N.at);return;case F.graveAccent:++a.pos,tv(N.backQuote);return;case F.digit0:{let e=s.charCodeAt(a.pos+1);if(e===F.lowercaseX||e===F.uppercaseX||e===F.lowercaseO||e===F.uppercaseO||e===F.lowercaseB||e===F.uppercaseB){!function(){for(a.pos+=2;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e>=F.lowercaseA&&e<=F.lowercaseF||e>=F.uppercaseA&&e<=F.uppercaseF||e===F.underscore)a.pos++;else break}s.charCodeAt(a.pos)===F.lowercaseN?(++a.pos,tv(N.bigint)):tv(N.num)}();return}}case F.digit1:case F.digit2:case F.digit3:case F.digit4:case F.digit5:case F.digit6:case F.digit7:case F.digit8:case F.digit9:tS(!1);return;case F.quotationMark:case F.apostrophe:!function(e){for(a.pos++;;){if(a.pos>=s.length){e2("Unterminated string constant");return}let t=s.charCodeAt(a.pos);if(t===F.backslash)a.pos++;else if(t===e)break;a.pos++}a.pos++,tv(N.string)}(e);return;case F.slash:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.slash,1);return;case F.percentSign:case F.asterisk:let t,n,r;t=e===F.asterisk?N.star:N.modulo,n=1,r=s.charCodeAt(a.pos+1),e===F.asterisk&&r===F.asterisk&&(n++,r=s.charCodeAt(a.pos+2),t=N.exponent),r===F.equalsTo&&s.charCodeAt(a.pos+2)!==F.greaterThan&&(n++,t=N.assign),tw(t,n);return;case F.verticalBar:case F.ampersand:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){s.charCodeAt(a.pos+2)===F.equalsTo?tw(N.assign,3):tw(e===F.verticalBar?N.logicalOR:N.logicalAND,2);return}if(e===F.verticalBar){if(t===F.greaterThan){tw(N.pipeline,2);return}if(t===F.rightCurlyBrace&&i){tw(N.braceBarR,2);return}}if(t===F.equalsTo){tw(N.assign,2);return}tw(e===F.verticalBar?N.bitwiseOR:N.bitwiseAND,1)}(e);return;case F.caret:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.bitwiseXOR,1);return;case F.plusSign:case F.dash:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){tw(N.preIncDec,2);return}t===F.equalsTo?tw(N.assign,2):e===F.plusSign?tw(N.plus,1):tw(N.minus,1)}(e);return;case F.lessThan:!function(){let e=s.charCodeAt(a.pos+1);if(e===F.lessThan){if(s.charCodeAt(a.pos+2)===F.equalsTo){tw(N.assign,3);return}a.isType?tw(N.lessThan,1):tw(N.bitShiftL,2);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.lessThan,1)}();return;case F.greaterThan:tb();return;case F.equalsTo:case F.exclamationMark:!function(e){let t=s.charCodeAt(a.pos+1);if(t===F.equalsTo){tw(N.equality,s.charCodeAt(a.pos+2)===F.equalsTo?3:2);return}if(e===F.equalsTo&&t===F.greaterThan){a.pos+=2,tv(N.arrow);return}tw(e===F.equalsTo?N.eq:N.bang,1)}(e);return;case F.tilde:tw(N.tilde,1);return}e2(`Unexpected character '${String.fromCharCode(e)}'`,a.pos)}function tw(e,t){a.pos+=t,tv(e)}function t_(){for(;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e===F.underscore)a.pos++;else break}}function tS(e){let t=!1,n=!1;e||t_();let r=s.charCodeAt(a.pos);if(r===F.dot&&(++a.pos,t_(),r=s.charCodeAt(a.pos)),(r===F.uppercaseE||r===F.lowercaseE)&&(((r=s.charCodeAt(++a.pos))===F.plusSign||r===F.dash)&&++a.pos,t_(),r=s.charCodeAt(a.pos)),r===F.lowercaseN?(++a.pos,t=!0):r===F.lowercaseM&&(++a.pos,n=!0),t){tv(N.bigint);return}if(n){tv(N.decimal);return}tv(N.num)}function tO(e,t=e.currentIndex()){let n=t+1;if(tE(e,n)){let r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(tE(e,++n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw Error(`Unexpected import/export specifier at ${t}`)}function tE(e,t){let n=e.tokens[t];return n.type===N.braceR||n.type===N.comma}var tj=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function tT(e){let[t,n]=tC(e.jsxPragma||"React.createElement"),[r,o]=tC(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:o}}function tC(e){let t=e.indexOf(".");return -1===t&&(t=e.length),[e.slice(0,t),e.slice(t)]}class tA{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class tR extends tA{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(e,t,n,r,o){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.nameManager=r,this.options=o,tR.prototype.__init.call(this),tR.prototype.__init2.call(this),tR.prototype.__init3.call(this),tR.prototype.__init4.call(this),tR.prototype.__init5.call(this),this.jsxPragmaInfo=tT(o),this.isAutomaticRuntime="automatic"===o.jsxRuntime,this.jsxImportSource=o.jsxImportSource||"react"}process(){return!!this.tokens.matches1(N.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let e="";if(this.filenameVarName&&(e+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime){if(this.importProcessor)for(let[t,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))e+=`var ${n} = require("${t}");`;else{let{createElement:t,...n}=this.esmAutomaticImportNameResolutions;t&&(e+=`import {createElement as ${t}} from "${this.jsxImportSource}";`);let r=Object.entries(n).map(([e,t])=>`${e} as ${t}`).join(", ");if(r){let t=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");e+=`import {${r}} from "${t}";`}}}return e}processJSXTag(){let{jsxRole:e,start:t}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(t);this.isAutomaticRuntime&&e!==M.KeyAfterPropSpread?this.transformTagToJSXFunc(n,e):this.transformTagToCreateElement(n)}getElementLocationCode(e){let t=this.getLineNumberForIndex(e);return`lineNumber: ${t}`}getLineNumberForIndex(e){let t=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(e)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(e){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(N.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(e),this.tokens.matches2(N.slash,N.jsxTagEnd));else if(this.tokens.matches1(N.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(e){return this.options.production?e?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:e}=this,t=this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.base)||e.base;return`${t}${e.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:e}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.fragmentBase)||e.fragmentBase)+e.fragmentSuffix}}claimAutoImportedFuncInvocation(e,t){let n=this.claimAutoImportedName(e,t);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(e,t){if(!this.importProcessor)return this.esmAutomaticImportNameResolutions[e]||(this.esmAutomaticImportNameResolutions[e]=this.nameManager.claimFreeName(`_${e}`)),this.esmAutomaticImportNameResolutions[e];{let n=this.jsxImportSource+t;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${e}`}}processTagIntro(){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType||!this.tokens.matches2AtIndex(e-1,N.jsxName,N.jsxName)&&!this.tokens.matches2AtIndex(e-1,N.greaterThan,N.jsxName)&&!this.tokens.matches1AtIndex(e,N.braceL)&&!this.tokens.matches1AtIndex(e,N.jsxTagEnd)&&!this.tokens.matches2AtIndex(e,N.slash,N.jsxTagEnd);)e++;if(e===this.tokens.currentIndex()+1){let e=this.tokens.identifierName();tI(e)&&this.tokens.replaceToken(`'${e}'`)}for(;this.tokens.currentIndex()=F.lowercaseA&&t<=F.lowercaseZ}function tP(e){let t=0,n=0;for(let r of e)"\n"===r?(t++,n=0):" "===r&&n++;return"\n".repeat(t)+" ".repeat(n)}function tZ(e,t){let n,r="",o=0,i=t;if("#"===e[i]){var a,s;let t,r=10;if("x"===e[++i])for(r=16,t=++i;i=F.digit0&&a<=F.digit9||a>=F.lowercaseA&&a<=F.lowercaseF||a>=F.uppercaseA&&a<=F.uppercaseF);)i++;else for(t=i;i=F.digit0&&s<=F.digit9;)i++;if(";"===e[i]){let o=e.slice(t,i);o&&(i++,n=String.fromCodePoint(parseInt(o,r)))}}else for(;i0)&&!(t.namedExports.length>0)&&[...t.defaultNames,...t.wildcardNames,...t.namedImports.map(({localName:e})=>e)].every(e=>this.shouldAutomaticallyElideImportedName(e)))||this.importsToReplace.set(e,"")}shouldAutomaticallyElideImportedName(e){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(e)}generateImportReplacements(){for(let[e,t]of this.importInfoByPath.entries()){let n;let{defaultNames:r,wildcardNames:o,namedImports:i,namedExports:a,exportStarNames:s,hasStarExport:c}=t;if(0===r.length&&0===o.length&&0===i.length&&0===a.length&&0===s.length&&!c){this.importsToReplace.set(e,`require('${e}');`);continue}let u=this.getFreeIdentifierForPath(e);n=this.enableLegacyTypeScriptModuleInterop?u:o.length>0?o[0]:this.getFreeIdentifierForPath(e);let l=`var ${u} = require('${e}');`;if(o.length>0)for(let e of o){let t=this.enableLegacyTypeScriptModuleInterop?u:`${this.helperManager.getHelperName("interopRequireWildcard")}(${u})`;l+=` var ${e} = ${t};`}else s.length>0&&n!==u?l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${u});`:r.length>0&&n!==u&&(l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireDefault")}(${u});`);for(let{importedName:e,localName:t}of a)l+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${u}, '${t}', '${e}');`;for(let e of s)l+=` exports.${e} = ${n};`;for(let t of(c&&(l+=` ${this.helperManager.getHelperName("createStarExport")}(${u});`),this.importsToReplace.set(e,l),r))this.identifierReplacements.set(t,`${n}.default`);for(let{importedName:e,localName:t}of i)this.identifierReplacements.set(t,`${u}.${e}`)}}getFreeIdentifierForPath(e){let t=e.split("/"),n=t[t.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(e){let t=[],n=[],r=[];if(e++,(this.tokens.matchesContextualAtIndex(e,Z._type)||this.tokens.matches1AtIndex(e,N._typeof))&&!this.tokens.matches1AtIndex(e+1,N.comma)&&!this.tokens.matchesContextualAtIndex(e+1,Z._from)||this.tokens.matches1AtIndex(e,N.parenL))return;if(this.tokens.matches1AtIndex(e,N.name)&&(t.push(this.tokens.identifierNameAtIndex(e)),e++,this.tokens.matches1AtIndex(e,N.comma)&&e++),this.tokens.matches1AtIndex(e,N.star)&&(e+=2,n.push(this.tokens.identifierNameAtIndex(e)),e++),this.tokens.matches1AtIndex(e,N.braceL)){let n=this.getNamedImports(e+1);for(let o of(e=n.newIndex,n.namedImports))"default"===o.importedName?t.push(o.localName):r.push(o)}if(this.tokens.matchesContextualAtIndex(e,Z._from)&&e++,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let o=this.tokens.stringValueAtIndex(e),i=this.getImportInfo(o);i.defaultNames.push(...t),i.wildcardNames.push(...n),i.namedImports.push(...r),0===t.length&&0===n.length&&0===r.length&&(i.hasBareImport=!0)}preprocessExportAtIndex(e){if(this.tokens.matches2AtIndex(e,N._export,N._var)||this.tokens.matches2AtIndex(e,N._export,N._let)||this.tokens.matches2AtIndex(e,N._export,N._const))this.preprocessVarExportAtIndex(e);else if(this.tokens.matches2AtIndex(e,N._export,N._function)||this.tokens.matches2AtIndex(e,N._export,N._class)){let t=this.tokens.identifierNameAtIndex(e+2);this.addExportBinding(t,t)}else if(this.tokens.matches3AtIndex(e,N._export,N.name,N._function)){let t=this.tokens.identifierNameAtIndex(e+3);this.addExportBinding(t,t)}else this.tokens.matches2AtIndex(e,N._export,N.braceL)?this.preprocessNamedExportAtIndex(e):this.tokens.matches2AtIndex(e,N._export,N.star)&&this.preprocessExportStarAtIndex(e)}preprocessVarExportAtIndex(e){let t=0;for(let n=e+2;;n++)if(this.tokens.matches1AtIndex(n,N.braceL)||this.tokens.matches1AtIndex(n,N.dollarBraceL)||this.tokens.matches1AtIndex(n,N.bracketL))t++;else if(this.tokens.matches1AtIndex(n,N.braceR)||this.tokens.matches1AtIndex(n,N.bracketR))t--;else if(0!==t||this.tokens.matches1AtIndex(n,N.name)){if(this.tokens.matches1AtIndex(1,N.eq)){let e=this.tokens.currentToken().rhsEndIndex;if(null==e)throw Error("Expected = token with an end index.");n=e-1}else if(e7(this.tokens.tokens[n])){let e=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(e,`exports.${e}`)}}else break}preprocessNamedExportAtIndex(e){e+=2;let{newIndex:t,namedImports:n}=this.getNamedImports(e);if(e=t,this.tokens.matchesContextualAtIndex(e,Z._from))e++;else{for(let{importedName:e,localName:t}of n)this.addExportBinding(e,t);return}if(!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(e);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(e){let t=null;if(this.tokens.matches3AtIndex(e,N._export,N.star,N._as)?(e+=3,t=this.tokens.identifierNameAtIndex(e),e+=2):e+=3,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of star export statement.");let n=this.tokens.stringValueAtIndex(e),r=this.getImportInfo(n);null!==t?r.exportStarNames.push(t):r.hasStarExport=!0}getNamedImports(e){let t=[];for(;;){if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}let n=tO(this.tokens,e);if(e=n.endIndex,n.isType||t.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(e,N.comma,N.braceR)){e+=2;break}if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}if(this.tokens.matches1AtIndex(e,N.comma))e++;else throw Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[e])}`)}return{newIndex:e,namedImports:t}}getImportInfo(e){let t=this.importInfoByPath.get(e);if(t)return t;let n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(e,n),n}addExportBinding(e,t){this.exportBindingsByLocalName.has(e)||this.exportBindingsByLocalName.set(e,[]),this.exportBindingsByLocalName.get(e).push(t)}claimImportCode(e){let t=this.importsToReplace.get(e);return this.importsToReplace.set(e,""),t||""}getIdentifierReplacement(e){return this.identifierReplacements.get(e)||null}resolveExportBinding(e){let t=this.exportBindingsByLocalName.get(e);return t&&0!==t.length?t.map(e=>`exports.${e}`).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var tL=n(78372);let tM={require:` +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888,7911],{15312:function(e){function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function r(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,o,i,a,s,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||r(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(void 0===(o=this._events[e]))return!1;if(n(o))switch(arguments.length){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),o.apply(this,a)}else if(r(o))for(s=0,a=Array.prototype.slice.call(arguments,1),i=(c=o.slice()).length;s0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(e,o),r||(r=!0,t.apply(this,arguments))}return o.listener=t,this.on(e,o),this},t.prototype.removeListener=function(e,t){var o,i,a,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(o=this._events[e]).length,i=-1,o===t||n(o.listener)&&o.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(r(o)){for(s=a;s-- >0;)if(o[s]===t||o[s].listener&&o[s].listener===t){i=s;break}if(i<0)return this;1===o.length?(o.length=0,delete this._events[e]):o.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},2107:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?m[x]+" "+w:s(w,/&\f/g,m[x])).trim())&&(f[k++]=_);return b(e,t,n,0===i?A:u,f,p,d)}function F(e,t,n,r){return b(e,t,n,R,l(e,0,r),l(e,r+1,-1),r)}var L=function(e,t,n){for(var r=0,o=0;r=o,o=w(),38===r&&12===o&&(t[n]=1),!_(o);)x();return l(v,e,g)},M=function(e,t){var n=-1,r=44;do switch(_(r)){case 0:38===r&&12===w()&&(t[n]=1),e[n]+=L(g-1,t,n);break;case 2:e[n]+=O(r);break;case 4:if(44===r){e[++n]=58===w()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}while(r=x());return e},D=function(e,t){var n;return n=M(S(e),t),v="",n},B=new WeakMap,z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||B.get(n))&&!r){B.set(e,!0);for(var o=[],i=D(t,o),a=n.props,s=0,c=0;s-1&&!e.return)switch(e.type){case R:e.return=function e(t,n){switch(45^u(t,0)?(((n<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return T+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return T+t+j+t+E+t+t;case 6828:case 4268:return T+t+E+t+t;case 6165:return T+t+E+"flex-"+t+t;case 5187:return T+t+s(t,/(\w+).+(:[^]+)/,T+"box-$1$2"+E+"flex-$1$2")+t;case 5443:return T+t+E+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return T+t+E+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return T+t+E+s(t,"shrink","negative")+t;case 5292:return T+t+E+s(t,"basis","preferred-size")+t;case 6060:return T+"box-"+s(t,"-grow","")+T+t+E+s(t,"grow","positive")+t;case 4554:return T+s(t,/([^-])(transform)/g,"$1"+T+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+E+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,T+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-n>6)switch(u(t,n+1)){case 109:if(45!==u(t,n+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+j+(108==u(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?e(s(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==u(t,n+1))break;case 6444:switch(u(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return s(t,":",":"+T)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(45===u(t,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+E+"$2box$3")+t}break;case 5936:switch(u(t,n+11)){case 114:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return T+t+E+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return T+t+E+t+t}return t}(e.value,e.length);break;case I:return P([k(e,{value:s(e.value,"@","@"+T)})],r);case A:if(e.length){var o,i;return o=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return P([k(e,{props:[s(t,/:(read-\w+)/,":"+j+"$1")]})],r);case"::placeholder":return P([k(e,{props:[s(t,/:(plac\w+)/,":"+T+"input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":"+j+"$1")]}),k(e,{props:[s(t,/:(plac\w+)/,E+"input-$1")]})],r)}return""},o.map(i).join("")}}}],H=function(e){var t,n,o,a,m,k,E=e.key;if("css"===E){var j=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(j,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var T=e.stylisPlugins||U,A={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+E+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||_(y)>3?"":" "}(Z);break;case 92:q+=function(e,t){for(var n;--t&&x()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return n=g+(t<6&&32==w()&&32==x()),l(v,e,n)}(g-1,7);continue;case 47:switch(w()){case 42:case 47:p(b(j=function(e,t){for(;x();)if(e+y===57)break;else if(e+y===84&&47===w())break;return"/*"+l(v,t,g-1)+"*"+i(47===e?e:x())}(x(),g),n,r,C,i(y),l(j,2,-2),0),E);break;default:q+="/"}break;case 123*L:S[T++]=f(q)*D;case 125*L:case 59:case 0:switch(B){case 0:case 125:M=0;case 59+A:-1==D&&(q=s(q,/\f/g,"")),P>0&&f(q)-R&&p(P>32?F(q+";",o,r,R-1):F(s(q," ","")+";",o,r,R-2),E);break;case 59:q+=";";default:if(p(H=N(q,n,r,T,A,a,S,z,$=[],U=[],R),m),123===B){if(0===A)e(q,n,H,H,$,m,R,S,U);else switch(99===I&&110===u(q,3)?100:I){case 100:case 108:case 109:case 115:e(t,H,H,o&&p(N(t,H,H,0,0,a,S,z,a,$=[],R),U),a,U,R,S,o?$:U);break;default:e(q,H,H,H,[""],U,0,S,U)}}}T=A=P=0,L=D=1,z=q="",R=k;break;case 58:R=1+f(q),P=Z;default:if(L<1){if(123==B)--L;else if(125==B&&0==L++&&125==(y=g>0?u(v,--g):0,h--,10===y&&(h=1,d--),y))continue}switch(q+=i(B),B*L){case 38:D=A>0?1:(q+="\f",-1);break;case 44:S[T++]=(f(q)-1)*D,D=1;break;case 64:45===w()&&(q+=O(x())),I=w(),A=R=f(z=q+=function(e){for(;!_(w());)x();return l(v,e,g)}(g)),B++;break;case 45:45===Z&&2==f(q)&&(L=0)}}return m}("",null,null,null,[""],t=S(t=e),0,[0],t),v="",n),I)};m=function(e,t,n,r){k=n,L(e?e+"{"+t.styles+"}":t.styles),r&&(M.inserted[t.name]=!0)};var M={key:E,sheet:new r({key:E,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:A,registered:{},insert:m};return M.sheet.hydrate(R),M}},86015:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(86894),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.Z)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},86894:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},27216:function(e,t,n){"use strict";n.d(t,{C:function(){return d},E:function(){return w},T:function(){return m},a:function(){return v},c:function(){return k},h:function(){return f},i:function(){return l},u:function(){return g},w:function(){return h}});var r=n(2784),o=n(2107),i=n(7896),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=n(82792),c=n(40653),u=n(82668),l=!0,f={}.hasOwnProperty,p=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),d=p.Provider,h=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(p),n)})};l||(h=function(e){return function(t){var n=(0,r.useContext)(p);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(p.Provider,{value:n},e(t,n))):e(t,n)}});var m=r.createContext({}),g=function(){return r.useContext(m)},y=a(function(e){return a(function(t){return"function"==typeof t?t(e):(0,i.Z)({},e,t)})}),v=function(e){var t=r.useContext(m);return e.theme!==t&&(t=y(t)(e.theme)),r.createElement(m.Provider,{value:t},e.children)},b="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",k=function(e,t){var n={};for(var r in t)f.call(t,r)&&(n[r]=t[r]);return n[b]=e,n},x=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},w=h(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[b],a=[o],u="";"string"==typeof e.className?u=(0,s.fp)(t.registered,a,e.className):null!=e.className&&(u=e.className+" ");var l=(0,c.O)(a,void 0,r.useContext(m));u+=t.key+"-"+l.name;var p={};for(var d in e)f.call(e,d)&&"css"!==d&&d!==b&&(p[d]=e[d]);return p.ref=n,p.className=u,r.createElement(r.Fragment,null,r.createElement(x,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,p))})},28165:function(e,t,n){"use strict";n.d(t,{F4:function(){return l},iv:function(){return u},xB:function(){return c}});var r=n(27216),o=n(2784),i=n(82792),a=n(82668),s=n(40653);n(2107),n(73463);var c=(0,r.w)(function(e,t){var n=e.styles,c=(0,s.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var u,l=c.name,f=c.styles,p=c.next;void 0!==p;)l+=" "+p.name,f+=p.styles,p=p.next;var d=!0===t.compat,h=t.insert("",{name:l,styles:f},t.sheet,d);return d?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+l,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+c.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}},[t]),(0,a.j)(function(){var e=m.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==c.next&&(0,i.My)(t,c.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",c,n,!1)},[t,c.name]),null});function u(){for(var e=arguments.length,t=Array(e),n=0;n=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+u,styles:a,next:r}}},92952:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7896),o=n(2784),i=n(86015),a=n(27216),s=n(82792),c=n(40653),u=n(82668),l=i.Z,f=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:f},d=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,u.L)(function(){return(0,s.My)(t,n,r)}),null},m=function e(t,n){var i,u,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,u=n.target);var m=d(t,n,l),g=m||p(f),y=!g("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var k=v.length,x=1;x=0&&!(e[t].length>0);n=t,t--);n=0&&!(t>=e[r][0]);n=r--);return n}(m,o);if(!i){if(e&&(0===g||1===m[g-1].length))return;return s(m,g,[o])}let y=t.put(p,i),v=u?t.put(h,u):-1;if(y===d.length&&(d[y]=null!=l?l:null),!(e&&function(e,t,n,r,o,i){if(0===t)return!1;let a=e[t-1];return 1!==a.length&&n===a[1]&&r===a[2]&&o===a[3]&&i===(5===a.length?a[4]:-1)}(m,g,y,a,c,v)))return s(m,g,u?[o,y,a,c,v]:[o,y,a,c])}function s(e,t,n){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}function c(e,n){for(let r=0;rnull),n._mappings=r.decodedMappings(t),t.ignoreList&&c(n._ignoreList,t.ignoreList),n},e.maybeAddMapping=(e,t)=>u(!0,e,t),e.maybeAddSegment=(e,t,n,r,o,i,s,c)=>a(!0,e,t,n,r,o,i,s,c),e.setIgnore=function(e,n,r=!0){let{_sources:o,_sourcesContent:i,_ignoreList:a}=e,s=t.put(o,n);s===i.length&&(i[s]=null),r?t.put(a,s):t.remove(a,s)},e.setSourceContent=function(e,n,r){let{_sources:o,_sourcesContent:i}=e;i[t.put(o,n)]=r},e.toDecodedMap=i,e.toEncodedMap=function(e){let t=i(e);return Object.assign(Object.assign({},t),{mappings:n.encode(t.mappings)})},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(89078),n(95342),n(21076))},82336:function(e){var t;t=function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function r(e){return e.startsWith("/")}function o(e){return/^[.?#]/.test(e)}function i(e){let n=t.exec(e);return a(n[1],n[2]||"",n[3],n[4]||"",n[5]||"/",n[6]||"",n[7]||"")}function a(e,t,n,r,o,i,a){return{scheme:e,user:t,host:n,port:r,path:o,query:i,hash:a,type:7}}function s(t){if(t.startsWith("//")){let e=i("http:"+t);return e.scheme="",e.type=6,e}if(r(t)){let e=i("http://foo.com"+t);return e.scheme="",e.host="",e.type=5,e}if(t.startsWith("file:"))return function(e){let t=n.exec(e),o=t[2];return a("file:","",t[1]||"","",r(o)?o:"/"+o,t[3]||"",t[4]||"")}(t);if(e.test(t))return i(t);let o=i("http://foo.com/"+t);return o.scheme="",o.host="",o.type=t?t.startsWith("?")?3:t.startsWith("#")?2:4:1,o}function c(e,t){let n=t<=4,r=e.path.split("/"),o=1,i=0,a=!1;for(let e=1;er&&(r=o)}c(n,r);let i=n.query+n.hash;switch(r){case 2:case 3:return i;case 4:{let r=n.path.slice(1);if(!r)return i||".";if(o(t||e)&&!o(r))return"./"+r+i;return r+i}case 5:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}},e.exports=t()},89078:function(e,t){!function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function n(e,t){return e._indexes[t]}e.SetArray=t,e.get=n,e.pop=function(e){let{array:t,_indexes:n}=e;0!==t.length&&(n[t.pop()]=void 0)},e.put=function(e,t){let r=n(e,t);if(void 0!==r)return r;let{array:o,_indexes:i}=e,a=o.push(t);return i[t]=a-1},e.remove=function(e,t){let r=n(e,t);if(void 0===r)return;let{array:o,_indexes:i}=e;for(let e=r+1;er.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n>>=1,c&&(i=-2147483648|-i),n[r]+=i,t}function s(e,t,n){return!(t>=n)&&44!==e.charCodeAt(t)}function c(e,t){return e[0]-t[0]}function u(e,t,r,o,i){let a=o[i],s=a-r[i];r[i]=a,s=s<0?-s<<1|1:s<<1;do{let r=31&s;(s>>>=5)>0&&(r|=32),e[t++]=n[r]}while(s>0);return t}e.decode=function(e){let t=new Int32Array(5),n=[],r=0;do{let o=function(e,t){let n=e.indexOf(";",t);return -1===n?e.length:n}(e,r),i=[],u=!0,l=0;t[0]=0;for(let n=r;n0&&(16384===o&&(a+=i.decode(n),o=0),n[o++]=59),0!==c.length){t[0]=0;for(let e=0;e16348&&(a+=i.decode(r),n.copyWithin(0,16348,o),o-=16348),e>0&&(n[o++]=44),o=u(n,o,t,s,0),1!==s.length&&(o=u(n,o,t,s,1),o=u(n,o,t,s,2),o=u(n,o,t,s,3),4!==s.length&&(o=u(n,o,t,s,4)))}}}return a+i.decode(n.subarray(0,o))},Object.defineProperty(e,"__esModule",{value:!0})}(t)},21076:function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t&&!t.endsWith("/")&&(t+="/"),n(e,t)}function o(e,t){for(let n=t;n=0&&e[r][0]===t;n=r--);return n}function u(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function l(e,t,n,r){let{lastKey:o,lastNeedle:i,lastIndex:s}=n,c=0,u=e.length-1;if(r===o){if(t===i)return a=-1!==s&&e[s][0]===t,s;t>=i?c=-1===s?0:s:u=s}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){let o=n+(r-n>>1),i=e[o][0]-t;if(0===i)return a=!0,o;i<0?n=o+1:r=o-1}return a=!1,n-1}(e,t,c,u)}function f(){return{__proto__:null}}function p(e){return"string"==typeof e?JSON.parse(e):e}function d(e,t){for(let n=0;nr(e||"",h));let{mappings:m}=a;"string"==typeof m?(this._encoded=m,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){let n=o(e,0);if(n===e.length)return e;t||(e=e.slice());for(let a=n;at;n--)e[n]=e[n-1];e[t]=n}(p,h,[u,r,i[0]])}}return n}(v(e),e._bySourceMemos=p.map(u))))[g][n];if(null==y)return i?[]:_(null,null);let b=e._bySourceMemos[g];if(i)return function(e,t,n,r,o){let i=S(e,t,n,r,1);if(!a&&-1===o&&i++,-1===i||i===e.length)return[];let u=a?r:e[i][0];a||(i=c(e,u,i));let l=s(e,u,i),f=[];for(;i<=l;i++){let t=e[i];f.push(_(t[1]+1,t[2]))}return f}(y,b,n,r,o);let k=S(y,b,n,r,o);if(-1===k)return _(null,null);let x=y[k];return _(x[1]+1,x[2])}e.AnyMap=function(e,t){let n=p(e);if(!("sections"in n))return new g(n,t);let r=[],o=[],i=[],a=[],s=[];return function e(t,n,r,o,i,a,s,c,u,l,f){let{sections:h}=t;for(let t=0;tl)return;let n=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(r,t),o=0===e?u:0,i=k[e];for(let e=0;e=f)return;if(1===r.length){n.push([a]);continue}let s=y+r[1],c=r[2],u=r[3];n.push(4===r.length?[a,s,c,u]:[a,s,c,u,b+r[4]])}}})(m,n,r,o,i,a,s,c+y.line,u+y.column,b,k)}}(n,t,r,o,i,a,s,0,0,1/0,1/0),k({version:3,file:n.file,names:a,sources:o,sourcesContent:i,mappings:r,ignoreList:s})},e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=-1,e.TraceMap=g,e.allGeneratedPositionsFor=function(e,t){let{source:n,line:r,column:o,bias:i}=t;return O(e,n,r,o,i||-1,!0)},e.decodedMap=function(e){return x(e,v(e))},e.decodedMappings=v,e.eachMapping=function(e,t){let n=v(e),{names:r,resolvedSources:o}=e;for(let e=0;e=i.length)return w(null,null,null,null);let a=i[n],s=S(a,e._decodedMemo,n,r,o||1);if(-1===s)return w(null,null,null,null);let c=a[s];if(1===c.length)return w(null,null,null,null);let{names:u,resolvedSources:l}=e;return w(l[c[1]],c[2]+1,c[3],5===c.length?u[c[4]]:null)},e.presortedDecodedMap=k,e.sourceContentFor=function(e,t){let{sourcesContent:n}=e;if(null==n)return null;let r=b(e,t);return -1===r?null:n[r]},e.traceSegment=function(e,t,n){let r=v(e);if(t>=r.length)return null;let o=r[t],i=S(o,e._decodedMemo,t,n,1);return -1===i?null:o[i]}}(t,n(95342),n(82336))},96906:function(e,t,n){"use strict";var r=n(38502),o=n(27607),i=n(57293);function a(e,t,n,o){return new r(e,t,n,o)}a.version=n(24815),a.AlgoliaSearchHelper=r,a.SearchParameters=o,a.SearchResults=i,e.exports=a},12985:function(e,t,n){"use strict";var r=n(15312);function o(e,t){this.main=e,this.fn=t,this.lastResults=null}n(24779)(o,r),o.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},o.prototype.getModifiedState=function(e){return this.fn(e)},e.exports=o},33329:function(e,t,n){"use strict";var r=n(71544),o=n(79582),i=n(62202),a={addRefinement:function(e,t,n){if(a.isRefined(e,t,n))return e;var o=""+n,i=e[t]?e[t].concat(o):[o],s={};return s[t]=i,r({},s,e)},removeRefinement:function(e,t,n){if(void 0===n)return a.clearRefinement(e,function(e,n){return t===n});var r=""+n;return a.clearRefinement(e,function(e,n){return t===n&&r===e})},toggleRefinement:function(e,t,n){if(void 0===n)throw Error("toggleRefinement should be used with a value");return a.isRefined(e,t,n)?a.removeRefinement(e,t,n):a.addRefinement(e,t,n)},clearRefinement:function(e,t,n){if(void 0===t)return o(e)?{}:e;if("string"==typeof t)return i(e,[t]);if("function"==typeof t){var r=!1,a=Object.keys(e).reduce(function(o,i){var a=e[i]||[],s=a.filter(function(e){return!t(e,i,n)});return s.length!==a.length&&(r=!0),o[i]=s,o},{});return r?a:e}},isRefined:function(e,t,n){var r=!!e[t]&&e[t].length>0;return void 0!==n&&r?-1!==e[t].indexOf(""+n):r}};e.exports=a},27607:function(e,t,n){"use strict";var r=n(71544),o=n(13591),i=n(29878),a=n(31853),s=n(79582),c=n(62202),u=n(52641),l=n(47671),f=n(33329);function p(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,n){return p(t[n],e)}):e===t}function d(e){var t=e?d._parseNumbers(e):{};void 0===t.userToken||l(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var n=this;Object.keys(t).forEach(function(e){var r=-1!==d.PARAMETERS.indexOf(e),o=void 0!==t[e];!r&&o&&(n[e]=t[e])})}d.PARAMETERS=Object.keys(new d),d._parseNumbers=function(e){if(e instanceof d)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(n){var r=e[n];if("string"==typeof r){var o=parseFloat(r);t[n]=isNaN(o)?r:o}}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return parseFloat(e)}):e})),e.numericRefinements){var n={};Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t]||{};n[t]={},Object.keys(r).forEach(function(e){var o=r[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFloat(e):e}):"string"==typeof e?parseFloat(e):e});n[t][e]=o})}),t.numericRefinements=n}return a(e,t)},d.make=function(e){var t=new d(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var n=t.getHierarchicalRefinement(e.name);n.length>0&&0!==n[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(n=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},d.validate=function(e,t){var n=t||{};return e.tagFilters&&n.tagRefinements&&n.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&n.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&n.numericRefinements&&s(n.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&n.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},d.prototype={constructor:d,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:f.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:f.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:f.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:f.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,n){var r=u(n);if(this.isNumericRefined(e,t,r))return this;var o=a({},this.numericRefinements);return o[e]=a({},o[e]),o[e][t]?(o[e][t]=o[e][t].slice(),o[e][t].push(r)):o[e][t]=[r],this.setQueryParameters({numericRefinements:o})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,n){return void 0!==n?this.isNumericRefined(e,t,n)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,o){return o===e&&r.op===t&&p(r.val,u(n))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,r){return r===e&&n.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,n){return n===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return c(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,n=this.numericRefinements,r=Object.keys(n).reduce(function(r,o){var i=n[o],a={};return Object.keys(i=i||{}).forEach(function(n){var r=i[n]||[],s=[];r.forEach(function(t){e({val:t,op:n},o,"numeric")||s.push(t)}),s.length!==r.length&&(t=!0),a[n]=s}),r[o]=a,r},{});return t?r:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:f.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:f.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:f.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:f.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return f.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:f.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return f.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:f.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:f.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:f.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:f.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),o={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+n))?-1===t.indexOf(n)?o[e]=[]:o[e]=[t.slice(0,t.lastIndexOf(n))]:o[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},o,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var n={};return n[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:r({},n,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:r({},t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&f.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&f.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var n=this.getHierarchicalRefinement(e);return t?-1!==n.indexOf(t):n.length>0},isNumericRefined:function(e,t,n){if(void 0===n&&void 0===t)return!!this.numericRefinements[e];var r=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===n||!r)return r;var i=u(n),a=void 0!==o(this.numericRefinements[e][t],function(e){return p(e,i)});return r&&a},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=i(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return i(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},n=this;return Object.keys(this).forEach(function(r){var o=n[r];-1===e.indexOf(r)&&void 0!==o&&(t[r]=o)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var n={};return n[e]=t,this.setQueryParameters(n)},setQueryParameters:function(e){if(!e)return this;var t=d.validate(this,e);if(t)throw t;var n=this,r=d._parseNumbers(e),o=Object.keys(this).reduce(function(e,t){return e[t]=n[t],e},{}),i=Object.keys(r).reduce(function(e,t){var n=void 0!==e[t],o=void 0!==r[t];return n&&!o?c(e,[t]):(o&&(e[t]=r[t]),e)},o);return new this.constructor(i)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return o(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=d},97135:function(e,t,n){"use strict";e.exports=function(e){return function(t,n){var r=e.hierarchicalFacets[n],u=e.hierarchicalFacetsRefinements[r.name]&&e.hierarchicalFacetsRefinements[r.name][0]||"",l=e._getHierarchicalFacetSeparator(r),f=e._getHierarchicalRootPath(r),p=e._getHierarchicalShowParentLevel(r),d=i(e._getHierarchicalFacetSortBy(r)),h=t.every(function(e){return e.exhaustive}),m=t;return f&&(m=t.slice(f.split(l).length)),m.reduce(function(e,t,n){var r=e;if(n>0){var i=0;for(r=e;i-1});if(r){var o=r.attributes.indexOf(t),u=s(e.hierarchicalFacets,function(e){return e.name===r.name});c.hierarchicalFacets[u][o]={attribute:t,data:n,exhaustive:i.exhaustiveFacetsCount}}else{var l,f=-1!==e.disjunctiveFacets.indexOf(t),p=-1!==e.facets.indexOf(t);f&&(l=y[t],c.disjunctiveFacets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.disjunctiveFacets[l],i.facets_stats,t)),p&&(l=g[t],c.facets[l]={name:t,data:n,exhaustive:i.exhaustiveFacetsCount},m(c.facets[l],i.facets_stats,t))}}),this.hierarchicalFacets=r(this.hierarchicalFacets),f.forEach(function(n){var r=t[v],a=r&&r.facets?r.facets:{},l=e.getHierarchicalFacetByName(n);Object.keys(a).forEach(function(t){var n,f=a[t];if(l){n=s(e.hierarchicalFacets,function(e){return e.name===l.name});var d=s(c.hierarchicalFacets[n],function(e){return e.attribute===t});if(-1===d)return;c.hierarchicalFacets[n][d].data=u({},c.hierarchicalFacets[n][d].data,f)}else{n=y[t];var h=i.facets&&i.facets[t]||{};c.disjunctiveFacets[n]={name:t,data:o({},f,h),exhaustive:r.exhaustiveFacetsCount},m(c.disjunctiveFacets[n],r.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(r){!c.disjunctiveFacets[n].data[r]&&e.disjunctiveFacetsRefinements[t].indexOf(p(r))>-1&&(c.disjunctiveFacets[n].data[r]=0)})}}),v++}),e.getRefinedHierarchicalFacets().forEach(function(n){var r=e.getHierarchicalFacetByName(n),i=e._getHierarchicalFacetSeparator(r),a=e.getHierarchicalRefinement(n);0===a.length||a[0].split(i).length<2||t.slice(v).forEach(function(t){var n=t&&t.facets?t.facets:{};Object.keys(n).forEach(function(t){var u=n[t],l=s(e.hierarchicalFacets,function(e){return e.name===r.name}),f=s(c.hierarchicalFacets[l],function(e){return e.attribute===t});if(-1!==f){var p={};if(a.length>0&&!c.persistHierarchicalRootCount){var d=a[0].split(i)[0];p[d]=c.hierarchicalFacets[l][f].data[d]}c.hierarchicalFacets[l][f].data=o(p,u,c.hierarchicalFacets[l][f].data)}}),v++})}),Object.keys(e.facetsExcludes).forEach(function(t){var n=e.facetsExcludes[t],r=g[t];c.facets[r]={name:t,data:b[t],exhaustive:i.exhaustiveFacetsCount},n.forEach(function(e){c.facets[r]=c.facets[r]||{name:t},c.facets[r].data=c.facets[r].data||{},c.facets[r].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(d(e)),this.facets=r(this.facets),this.disjunctiveFacets=r(this.disjunctiveFacets),this._state=e}function y(e,t){var n=a(e,function(e){return e.name===t});return n&&n.stats}function v(e,t,n,r,o){var i=a(o,function(e){return e.name===n}),s=i&&i.data&&i.data[r]?i.data[r]:0;return{type:t,attributeName:n,name:r,count:s,exhaustive:i&&i.exhaustive||!1}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return a(this.facets,t)||a(this.disjunctiveFacets,t)||a(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var n,r=function(e,t){function n(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var r=a(e.facets,n);return r?Object.keys(r.data).map(function(n){var o=f(n);return{name:n,escapedValue:o,count:r.data[n],isRefined:e._state.isFacetRefined(t,o),isExcluded:e._state.isExcludeRefined(t,n)}}):[]}if(e._state.isDisjunctiveFacet(t)){var o=a(e.disjunctiveFacets,n);return o?Object.keys(o.data).map(function(n){var r=f(n);return{name:n,escapedValue:r,count:o.data[n],isRefined:e._state.isDisjunctiveFacetRefined(t,r)}}):[]}if(e._state.isHierarchicalFacet(t)){var i=a(e.hierarchicalFacets,n);if(!i)return i;var s=e._state.getHierarchicalFacetByName(t),c=e._state._getHierarchicalFacetSeparator(s),u=p(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(s.rootPath)&&(u=u.replace(s.rootPath+c,""));var l=u.split(c);return l.unshift(t),function e(t,n,r){t.isRefined=t.name===(n[r]&&n[r].trim()),t.data&&t.data.forEach(function(t){e(t,n,r+1)})}(i,l,0),i}}(this,e);if(r){var i=o({},t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return n=Array.isArray(r)?[e]:s._state.getHierarchicalFacetByName(r.name).attributes,function e(t,n,r,i){if(i=i||0,Array.isArray(n))return t(n,r[i]);if(!n.data||0===n.data.length)return n;var a=n.data.map(function(n){return e(t,n,r,i+1)});return o({data:t(a,r[i])},n)}(function(e,t){if(i.facetOrdering){var n,r,o,a,u,f,p=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(p)return o=[],a=[],u=(p.order||[]).reduce(function(e,t,n){return e[t]=n,e},{}),e.forEach(function(e){var t=e.path||e.name;void 0!==u[t]?o[u[t]]=e:a.push(e)}),o=o.filter(function(e){return e}),"hidden"===(f=p.sortRemainingBy)?o:(r="alpha"===f?[["path","name"],["asc","asc"]]:[["count"],["desc"]],o.concat(l(a,r[0],r[1])))}if(Array.isArray(i.sortBy)){var d=c(i.sortBy,g.DEFAULT_SORT);return l(e,d[0],d[1])}if("function"==typeof i.sortBy)return n=i.sortBy,e.sort(n);throw Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},r,n)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,n=[];return Object.keys(e.facetsRefinements).forEach(function(r){e.facetsRefinements[r].forEach(function(o){n.push(v(e,"facet",r,o,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(r){e.facetsExcludes[r].forEach(function(o){n.push(v(e,"exclude",r,o,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(r){e.disjunctiveFacetsRefinements[r].forEach(function(o){n.push(v(e,"disjunctive",r,o,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(r){e.hierarchicalFacetsRefinements[r].forEach(function(o){var i,s,c,u,l,f,p,d;n.push((i=t.hierarchicalFacets,s=e.getHierarchicalFacetByName(r),c=e._getHierarchicalFacetSeparator(s),u=o.split(c),l=a(i,function(e){return e.name===r}),p=(f=u.reduce(function(e,t){var n=e&&a(e.data,function(e){return e.name===t});return void 0!==n?n:e},l))&&f.count||0,d=f&&f.exhaustive||!1,{type:"hierarchical",attributeName:r,name:f&&f.path||"",count:p,exhaustive:d}))})}),Object.keys(e.numericRefinements).forEach(function(t){var r=e.numericRefinements[t];Object.keys(r).forEach(function(e){r[e].forEach(function(r){n.push({type:"numeric",attributeName:t,name:r,numericValue:r,operator:e})})})}),e.tagRefinements.forEach(function(e){n.push({type:"tag",attributeName:"_tags",name:e})}),n},e.exports=g},38502:function(e,t,n){"use strict";var r=n(15312),o=n(12985),i=n(12902).escapeFacetValue,a=n(24779),s=n(31853),c=n(79582),u=n(62202),l=n(42209),f=n(27607),p=n(57293),d=n(24815);function h(e,t,n,r){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.setClient(e);var o=n||{};o.index=t,this.state=f.make(o),this.lastResults=null,this._queryId=0,this._lastQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._searchResultsOptions=r}function m(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function g(){return this.state.page}a(h,r),h.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},h.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},h.prototype.getQuery=function(){var e=this.state;return l._getHitsSearchParams(e)},h.prototype.searchOnce=function(e,t){var n=e?this.state.setQueryParameters(e):this.state,r=l._getQueries(n.index,n),o=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:n}),t){this.client.search(r).then(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(null,new p(n,e.results),n)}).catch(function(e){o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),t(e,null,n)});return}return this.client.search(r).then(function(e){return o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),{content:new p(n,e.results),state:n,_originalResponse:e}},function(e){throw o._currentNbQueries--,0===o._currentNbQueries&&o.emit("searchQueueEmpty"),e})},h.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,n=this.derivedHelpers[0];if(!n)return Promise.resolve([]);var r=n.getModifiedState(t),o=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(l._getHitsSearchParams(r),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),i="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(i);var a=this.client.initIndex(r.index);if("function"!=typeof a.findAnswers)throw Error(i);return a.findAnswers(r.query,e.queryLanguages,o)},h.prototype.searchForFacetValues=function(e,t,n,r){var o,a="function"==typeof this.client.searchForFacetValues,s="function"==typeof this.client.initIndex;if(!a&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var c=this.state.setQueryParameters(r||{}),u=c.isDisjunctiveFacet(e),f=l.getSearchForFacetQuery(e,t,n,c);this._currentNbQueries++;var p=this;return a?o=this.client.searchForFacetValues([{indexName:c.index,params:f}]):s?o=this.client.initIndex(c.index).searchForFacetValues(f):(delete f.facetName,o=this.client.search([{type:"facet",facet:e,indexName:c.index,params:f}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:c,facet:e,query:t}),o.then(function(t){return p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits.forEach(function(t){t.escapedValue=i(t.value),t.isRefined=u?c.isDisjunctiveFacetRefined(e,t.escapedValue):c.isFacetRefined(e,t.escapedValue)}),t},function(e){throw p._currentNbQueries--,0===p._currentNbQueries&&p.emit("searchQueueEmpty"),e})},h.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},h.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},h.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},h.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},h.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},h.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},h.prototype.removeNumericRefinement=function(e,t,n){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,n),isPageReset:!0}),this},h.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},h.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},h.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},h.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},h.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},h.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},h.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},h.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},h.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},h.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},h.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},h.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},h.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},h.prototype.setCurrentPage=m,h.prototype.setPage=m,h.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},h.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},h.prototype.setState=function(e){return this._change({state:f.make(e),isPageReset:!1}),this},h.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new f(e),this},h.prototype.hasRefinements=function(e){return!!c(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},h.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},h.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},h.prototype.hasTag=function(e){return this.state.isTagRefined(e)},h.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},h.prototype.getIndex=function(){return this.state.index},h.prototype.getCurrentPage=g,h.prototype.getPage=g,h.prototype.getTags=function(){return this.state.tagRefinements},h.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var n=this.state.getNumericRefinements(e);return Object.keys(n).forEach(function(e){var r=n[e];t.push({value:r,operator:e,type:"numeric"})}),t},h.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},h.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},h.prototype._search=function(e){var t=this.state,n=[],r=[];e.onlyWithDerivedHelpers||(r=l._getQueries(t.index,t),n.push({state:t,queriesCount:r.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var o=this.derivedHelpers.map(function(e){var r=e.getModifiedState(t),o=r.index?l._getQueries(r.index,r):[];return n.push({state:r,queriesCount:o.length,helper:e}),e.emit("search",{state:r,results:e.lastResults}),o}),i=Array.prototype.concat.apply(r,o),a=this._queryId++;if(this._currentNbQueries++,!i.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,n,a));try{this.client.search(i).then(this._dispatchAlgoliaResponse.bind(this,n,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},h.prototype._dispatchAlgoliaResponse=function(e,t,n){var r=this;if(!(t0},h.prototype._change=function(e){var t=e.state,n=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:n}))},h.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},h.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+d+")"),this.client=e),this},h.prototype.getClient=function(){return this.client},h.prototype.derive=function(e){var t=new o(this,e);return this.derivedHelpers.push(t),t},h.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},h.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=h},45875:function(e){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},71544:function(e){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(n){void 0!==t[n]&&(void 0!==e[n]&&delete e[n],e[n]=t[n])}),e},{})}},12902:function(e){"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},13591:function(e){"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var n=0;n1||!i?(e[0].push(o[0]),e[1].push(o[1])):(e[0].push(i[0]),e[1].push(i[1])),e},[[],[]])}},24779:function(e){"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},29878:function(e){"use strict";e.exports=function(e,t){return e.filter(function(n,r){return t.indexOf(n)>-1&&e.indexOf(n)===r})}},31853:function(e){"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var n=1,r=arguments.length;n0}},62202:function(e){"use strict";e.exports=function(e,t){if(null===e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},24652:function(e){"use strict";e.exports=function(e,t,n){if(!Array.isArray(e))return[];Array.isArray(n)||(n=[]);var r=e.map(function(e,n){return{criteria:t.map(function(t){return e[t]}),index:n,value:e}});return r.sort(function(e,t){for(var r=-1;++rt||r&&o||!n)return 1;if(!r&&e=n.length)return o;if("desc"===n[r])return-o;return o}}return e.index-t.index}),r.map(function(e){return e.value})}},52641:function(e){"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},42209:function(e,t,n){"use strict";var r=n(31853);function o(e){return Object.keys(e).sort().reduce(function(t,n){return t[n]=e[n],t},{})}var i={_getQueries:function(e,t){var n=[];return n.push({indexName:e,params:i._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(r){n.push({indexName:e,params:i._getDisjunctiveFacetSearchParams(t,r)})}),t.getRefinedHierarchicalFacets().forEach(function(r){var o=t.getHierarchicalFacetByName(r),a=t.getHierarchicalRefinement(r),s=t._getHierarchicalFacetSeparator(o);if(a.length>0&&a[0].split(s).length>1){var c=a[0].split(s).slice(0,-1).reduce(function(e,t,n){return e.concat({attribute:o.attributes[n],value:0===n?t:[e[e.length-1].value,t].join(s)})},[]);c.forEach(function(r,a){var s=i._getDisjunctiveFacetSearchParams(t,r.attribute,0===a);function u(e){return o.attributes.some(function(t){return t===e.split(":")[0]})}var l=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var n=t.filter(function(e){return!u(e)});n.length>0&&e.push(n)}return"string"!=typeof t||u(t)||e.push(t),e},[]),f=c[a-1];a>0?s.facetFilters=l.concat(f.attribute+":"+f.value):s.facetFilters=l.length>0?l:void 0,n.push({indexName:e,params:s})})}}),n},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(i._getHitsHierarchicalFacetsAttributes(e)).sort(),n=i._getFacetFilters(e),a=i._getNumericFilters(e),s=i._getTagFilters(e),c={facets:t.indexOf("*")>-1?["*"]:t,tagFilters:s};return n.length>0&&(c.facetFilters=n),a.length>0&&(c.numericFilters=a),o(r({},e.getQueryParams(),c))},_getDisjunctiveFacetSearchParams:function(e,t,n){var a=i._getFacetFilters(e,t,n),s=i._getNumericFilters(e,t),c=i._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};c.length>0&&(u.tagFilters=c);var l=e.getHierarchicalFacetByName(t);return l?u.facets=i._getDisjunctiveHierarchicalFacetAttribute(e,l,n):u.facets=t,s.length>0&&(u.numericFilters=s),a.length>0&&(u.facetFilters=a),o(r({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var n=[];return Object.keys(e.numericRefinements).forEach(function(r){var o=e.numericRefinements[r]||{};Object.keys(o).forEach(function(e){var i=o[e]||[];t!==r&&i.forEach(function(t){if(Array.isArray(t)){var o=t.map(function(t){return r+e+t});n.push(o)}else n.push(r+e+t)})})}),n},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,n){var r=[],o=e.facetsRefinements||{};Object.keys(o).sort().forEach(function(e){(o[e]||[]).slice().sort().forEach(function(t){r.push(e+":"+t)})});var i=e.facetsExcludes||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).sort().forEach(function(t){r.push(e+":-"+t)})});var a=e.disjunctiveFacetsRefinements||{};Object.keys(a).sort().forEach(function(e){var n=a[e]||[];if(e!==t&&n&&0!==n.length){var o=[];n.slice().sort().forEach(function(t){o.push(e+":"+t)}),r.push(o)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(o){var i,a,c=(s[o]||[])[0];if(void 0!==c){var u=e.getHierarchicalFacetByName(o),l=e._getHierarchicalFacetSeparator(u),f=e._getHierarchicalRootPath(u);if(t===o){if(-1===c.indexOf(l)||!f&&!0===n||f&&f.split(l).length===c.split(l).length)return;f?(a=f.split(l).length-1,c=f):(a=c.split(l).length-2,c=c.slice(0,c.lastIndexOf(l))),i=u.attributes[a]}else a=c.split(l).length-1,i=u.attributes[a];i&&r.push([i+":"+c])}}),r},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,n){var r=e.getHierarchicalRefinement(n.name)[0];if(!r)return t.push(n.attributes[0]),t;var o=e._getHierarchicalFacetSeparator(n),i=r.split(o).length,a=n.attributes.slice(0,i+1);return t.concat(a)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,n){var r=e._getHierarchicalFacetSeparator(t);if(!0===n){var o=e._getHierarchicalRootPath(t),i=0;return o&&(i=o.split(r).length),[t.attributes[i]]}var a=(e.getHierarchicalRefinement(t.name)[0]||"").split(r).length-1;return t.attributes.slice(0,a+1)},getSearchForFacetQuery:function(e,t,n,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,c={facetQuery:t,facetName:e};return"number"==typeof n&&(c.maxFacetHits=n),o(r({},i._getHitsSearchParams(s),c))}};e.exports=i},47671:function(e){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},24815:function(e){"use strict";e.exports="3.16.3"},43931:function(e){var t;t=function(){"use strict";function e(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 t(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var a=r(),s=o&&o.miss||function(){return Promise.resolve()};return a.then(function(e){return s(e)}).then(function(){return a})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function i(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var u={Read:1,Write:2,Any:3};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:n,lastUpdate:Date.now()})}function f(e){return"string"==typeof e?{protocol:"https",url:e,accept:u.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||u.Any}}var p="POST";function d(e,n,o,i){var a,s,c,u=[],p=function(e,n){if("GET"!==e.method&&(void 0!==e.data||void 0!==n.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),n.data))}(o,i),d=(a=t(t({},e.headers),i.headers),s={},Object.keys(a).forEach(function(e){var t=a[e];s[e.toLowerCase()]=t}),s),y=o.method,v="GET"!==o.method?{}:t(t({},o.data),i.data),b=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),v),i.queryParameters),k=0,x=function t(n,r){var a,s,c,f=n.pop();if(void 0===f)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:m(u)};var v={data:p,headers:d,method:y,url:(a=o.path,s=h(b),c="".concat(f.protocol,"://").concat(f.url,"/").concat("/"===a.charAt(0)?a.substr(1):a),s.length&&(c+="?".concat(s)),c),connectTimeout:r(k,e.timeouts.connect),responseTimeout:r(k,i.timeout)},x=function(e){var t={request:v,response:e,host:f,triesLeft:n.length};return u.push(t),t},w={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}}(e)},onRetry:function(o){var i=x(o);return o.isTimedOut&&k++,Promise.all([e.logger.info("Retryable failure",g(i)),e.hostsCache.set(f,l(f,o.isTimedOut?3:2))]).then(function(){return t(n,r)})},onFail:function(e){throw x(e),function(e,t){var n=e.content,r=e.status,o=n;try{o=JSON.parse(n).message}catch(e){}return{name:"ApiError",message:o,status:r,transporterStackTrace:t}}(e,m(u))}};return e.requester.send(v).then(function(e){var t,n,r;return(t=e.status,e.isTimedOut||(n=e.isTimedOut,r=e.status,!n&&0==~~r)||2!=~~(t/100)&&4!=~~(t/100))?w.onRetry(e):2==~~(e.status/100)?w.onSuccess(e):w.onFail(e)})};return(c=e.hostsCache,Promise.all(n.map(function(e){return c.get(e,function(){return Promise.resolve(l(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),o=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),i=[].concat(r(t),r(o));return{getTimeout:function(e,t){return(0===o.length&&0===e?1:o.length+3+e)*t},statelessHosts:i.length>0?i.map(function(e){return f(e)}):n}})).then(function(e){return x(r(e.statelessHosts).reverse(),e.getTimeout)})}function h(e){return Object.keys(e).map(function(t){var n;return a("%s=%s",t,(n=e[t],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n)?JSON.stringify(e[t]):e[t]))}).join("&")}function m(e){return e.map(function(e){return g(e)})}function g(e){var n=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),n)})})}var y=function(e){var r,o,a,l,p,h,m,g,y,v,b,k,x,w=e.appId,_=(r=void 0!==e.authMode?e.authMode:s.WithinHeaders,o={"x-algolia-api-key":e.apiKey,"x-algolia-application-id":w},{headers:function(){return r===s.WithinHeaders?o:{}},queryParameters:function(){return r===s.WithinQueryParameters?o:{}}}),S=(l=(a=t(t({hosts:[{url:"".concat(w,"-dsn.algolia.net"),accept:u.Read},{url:"".concat(w,".algolia.net"),accept:u.Write}].concat(function(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}([{url:"".concat(w,"-1.algolianet.com")},{url:"".concat(w,"-2.algolianet.com")},{url:"".concat(w,"-3.algolianet.com")}]))},e),{},{headers:t(t(t({},_.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:t(t({},_.queryParameters()),e.queryParameters)})).hostsCache,p=a.logger,h=a.requester,m=a.requestsCache,g=a.responsesCache,y=a.timeouts,v=a.userAgent,b=a.hosts,k=a.queryParameters,x={hostsCache:l,logger:p,requester:h,requestsCache:m,responsesCache:g,timeouts:y,userAgent:v,headers:a.headers,queryParameters:k,hosts:b.map(function(e){return f(e)}),read:function(e,t){var r=c(t,x.timeouts.read),o=function(){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Read)}),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return o();var i={request:e,mappedRequestOptions:r,transporter:{queryParameters:x.queryParameters,headers:x.headers}};return x.responsesCache.get(i,function(){return x.requestsCache.get(i,function(){return x.requestsCache.set(i,o()).then(function(e){return Promise.all([x.requestsCache.delete(i),e])},function(e){return Promise.all([x.requestsCache.delete(i),Promise.reject(e)])}).then(function(e){var t=n(e,2);return t[0],t[1]})})},{miss:function(e){return x.responsesCache.set(i,e)}})},write:function(e,t){return d(x,x.hosts.filter(function(e){return 0!=(e.accept&u.Write)}),e,c(t,x.timeouts.write))}});return i({transporter:S,appId:w,addAlgoliaAgent:function(e,t){S.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([S.requestsCache.clear(),S.responsesCache.clear()]).then(function(){})}},e.methods)},v=function(e){return function(t,n){return"GET"===t.method?e.transporter.read(t,n):e.transporter.write(t,n)}},b=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i({transporter:e.transporter,appId:e.appId,indexName:t},n.methods)}},k=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{params:h(e.params||{})})});return e.transporter.read({method:p,path:"1/indexes/*/queries",data:{requests:o},cacheable:!0},r)}},x=function(e){return function(n,r){return Promise.all(n.map(function(n){var o=n.params,i=o.facetName,a=o.facetQuery,s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(o,["facetName","facetQuery"]);return b(e)(n.indexName,{methods:{searchForFacetValues:S}}).searchForFacetValues(i,a,t(t({},r),s))}))}},w=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},_=function(e){return function(t,n){return e.transporter.read({method:p,path:a("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},S=function(e){return function(t,n,r){return e.transporter.read({method:p,path:a("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},O=function(e){return function(n,r){var o=n.map(function(e){return t(t({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:p,path:"1/indexes/*/recommendations",data:{requests:o},cacheable:!0},r)}};function E(e,i,a){var c,u,l,f,p,d,h,m;return y(t(t(t({},{appId:e,apiKey:i,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return n.setRequestHeader(t,e.headers[t])});var r,o=function(e,r){return setTimeout(function(){n.abort(),t({status:0,content:r,isTimedOut:!0})},1e3*e)},i=o(e.connectTimeout,"Connection timeout");n.onreadystatechange=function(){n.readyState>n.OPENED&&void 0===r&&(clearTimeout(i),r=o(e.responseTimeout,"Socket timeout"))},n.onerror=function(){0===n.status&&(clearTimeout(i),clearTimeout(r),t({content:n.responseText||"Network request failed",status:n.status,isTimedOut:!1}))},n.onload=function(){clearTimeout(i),clearTimeout(r),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:function e(t){var o=r(t.caches),i=o.shift();return void 0===i?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,r.miss(e)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return i.get(t,n,r).catch(function(){return e({caches:o}).get(t,n,r)})},set:function(t,n){return i.set(t,n).catch(function(){return e({caches:o}).set(t,n)})},delete:function(t){return i.delete(t).catch(function(){return e({caches:o}).delete(t)})},clear:function(){return i.clear().catch(function(){return e({caches:o}).clear()})}}}({caches:[(c={key:"".concat("4.23.2","-").concat(e)},l="algoliasearch-client-js-".concat(c.key),f=function(){return void 0===u&&(u=c.localStorage||window.localStorage),u},p=function(){return JSON.parse(f().getItem(l)||"{}")},d=function(e){f().setItem(l,JSON.stringify(e))},h=function(){var e=c.timeToLive?1e3*c.timeToLive:null,t=Object.fromEntries(Object.entries(p()).filter(function(e){return void 0!==n(e,2)[1].timestamp}));d(t),e&&d(Object.fromEntries(Object.entries(t).filter(function(t){var r=n(t,2)[1],o=(new Date).getTime();return!(r.timestamp+e2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){h();var t=JSON.stringify(e);return p()[t]}).then(function(e){return Promise.all([e?e.value:t(),void 0!==e])}).then(function(e){var t=n(e,2),o=t[0];return Promise.all([o,t[1]||r.miss(o)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var n=p();return n[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},f().setItem(l,JSON.stringify(n)),t})},delete:function(e){return Promise.resolve().then(function(){var t=p();delete t[JSON.stringify(e)],f().setItem(l,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){f().removeItem(l)})}}),o()]}),userAgent:(m={value:"Algolia for JavaScript (".concat("4.23.2",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===m.value.indexOf(t)&&(m.value="".concat(m.value).concat(t)),m}}).add({segment:"Browser",version:"lite"}),authMode:s.WithinQueryParameters}),a),{},{methods:{search:k,searchForFacetValues:x,multipleQueries:k,multipleSearchForFacetValues:x,customRequest:v,initIndex:function(e){return function(t){return b(e)(t,{methods:{search:_,searchForFacetValues:S,findAnswers:w}})}},getRecommendations:O}}))}return E.version="4.23.2",E},e.exports=t()},95766:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=c(e),a=i[0],s=i[1],u=new o((a+s)*3/4-s),l=0,f=s>0?a-4:a;for(n=0;n>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48834:function(e,t,n){"use strict";var r=n(95766),o=n(62333),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(C(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(C(e,ArrayBuffer)||e&&C(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(e,SharedArrayBuffer)||e&&C(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var o=function(e){if(s.isBuffer(e)){var t,n=0|d(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),a(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),n=a(t),r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||C(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(o)return r?-1:E(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,c/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var f=!0,p=0;p239?4:u>223?3:u>191?2:1;if(o+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:(192&(i=e[o+1]))==128&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function w(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function _(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.lW=s,t.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return l(e)},s.allocUnsafeSlow=function(e){return l(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);or.length?s.from(i).copy(r,o):Uint8Array.prototype.set.call(r,i,o);else if(s.isBuffer(i))i.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;tn&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,o){if(C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,c=Math.min(i,a),u=this.slice(r,o),l=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,c,u,l,f,p=this.length-t;if((void 0===n||n>p)&&(n=p),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var d=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a>8,o.push(n%256),o.push(r);return o}(e,this.length-l),this,l,f);default:if(d)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),d=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||k(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readInt8=function(e,t){return(e>>>=0,t||k(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return _(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return _(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function j(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,n,r){for(var o=0;o=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function C(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},5081:function(e,t,n){"use strict";n.d(t,{Nu:function(){return c},Un:function(){return u},Zs:function(){return m},ks:function(){return h},pE:function(){return s},pr:function(){return o},q9:function(){return a},rY:function(){return r},vH:function(){return f},zU:function(){return i}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null==e?[].concat(t):Array.isArray(e)?e:[].concat(e)},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null==e?!!t:"boolean"==typeof e?e:!!e},i=function e(t,n){var r;return(n=null!==(r=n)&&void 0!==r?r:function(){},null==t)?e(n):"function"==typeof t?t:e(n)},a=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t||Number.isNaN(t=Number(t))?e(n):t},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(a(e,t),0)},c=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof(t=a(t,n))&&isFinite(t)?t:e(n)},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.max(c(e,t),0)},l=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t=e=c(e,n))<0?Math.ceil(t):Math.floor(t)},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.max(l(e,t),1)};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var d=function(e){if("object"!==p(e)||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},h=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e(n):d(t)?t:e(n)},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null==e?String(t):"string"==typeof e?e:String(e)}},3236:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())}},54225:function(e,t,n){"use strict";n.r(t),n.d(t,{FOCUS_ALLOW:function(){return i},FOCUS_AUTO:function(){return a},FOCUS_DISABLED:function(){return o},FOCUS_GROUP:function(){return r},FOCUS_NO_AUTOFOCUS:function(){return s}});var r="data-focus-lock",o="data-focus-lock-disabled",i="data-no-focus-lock",a="data-autofocus-inside",s="data-no-autofocus"},7413:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(41658),o=n(46774),i=n(74745),a=n(76025),s=function(e,t){return void 0===t&&(t=(0,a.v)((0,i.Xi)(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&(0,o.K)(e).some(function(e){var n;return(0,r.r3)(e,t)||(n=t,!!(0,i.qo)(e.querySelectorAll("iframe")).some(function(e){return e===n}))})}},75226:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(54225),o=n(41658),i=n(74745),a=n(76025),s=function(e){void 0===e&&(e=document);var t=(0,a.v)(e);return!!t&&(0,i.qo)(e.querySelectorAll("[".concat(r.FOCUS_ALLOW,"]"))).some(function(e){return(0,o.r3)(e,t)})}},55243:function(e,t,n){"use strict";n.d(t,{F:function(){return y}});var r=n(93854),o=function(e,t){return(0,r.MH)(e)&&e.name&&t.filter(r.MH).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},i=function(e){var t=new Set;return e.forEach(function(n){return t.add(o(n,e))}),e.filter(function(e){return t.has(e)})},a=function(e){return e[0]&&e.length>1?o(e[0],e):e[0]},s=function(e,t){return e.indexOf(o(t,e))},c="NEW_FOCUS",u=function(e,t,n,o,a){var u=e.length,l=e[0],f=e[u-1],p=(0,r.Z9)(o);if(!(o&&e.indexOf(o)>=0)){var d=void 0!==o?n.indexOf(o):-1,h=a?n.indexOf(a):d,m=a?e.indexOf(a):-1;if(-1===d)return -1!==m?m:c;if(-1===m)return c;var g=d-h,y=n.indexOf(l),v=n.indexOf(f),b=i(n),k=(void 0!==o?b.indexOf(o):-1)-(a?b.indexOf(a):d);if(!g&&m>=0||0===t.length)return m;var x=s(e,t[0]),w=s(e,t[t.length-1]);if(d<=y&&p&&Math.abs(g)>1)return w;if(d>=v&&p&&Math.abs(g)>1)return x;if(g&&Math.abs(k)>1)return m;if(d<=y)return w;if(d>v)return x;if(g)return Math.abs(g)>1?m:(u+m+g)%u}},l=n(41658),f=n(46774),p=n(74745),d=function(e,t,n){var o=e.map(function(e){return e.node}),i=(0,l.vA)(o.filter(function(e){var t,o=null===(t=(0,r.pY)(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==o&&"false"!==o||n.indexOf(e)>=0}));return i&&i.length?a(i):a((0,l.vA)(t))},h=n(76025),m=n(70537),g=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(r.$K)},y=function(e,t){var n=(0,h.v)((0,p._2)(e).length>0?document:(0,p.Xi)(e).ownerDocument),o=(0,f.K)(e).filter(r.IS),i=(0,m.V0)(n||e,e,o),a=new Map,s=(0,l.pw)(o,a),y=s.filter(function(e){var t=e.node;return(0,r.IS)(t)});if(y[0]){var v=(0,l.pw)([i],a).map(function(e){return e.node}),b=g(v,y),k=b.map(function(e){return e.node}),x=b.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),w=u(k,x,v,n,t);if(w===c){var _=d(s,x,(0,m.o$)(o,a))||d(s,k,(0,m.o$)(o,a));return _?{node:_}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===w?w:b[w]}}},68557:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var r=n(46774),o=n(93854),i=n(70537),a=n(46813),s=n(49698),c=function(e){var t=(0,r.K)(e).filter(o.IS),n=(0,i.V0)(e,e,t),c=(0,a.v)((0,s.s)([n],!0),!0,!0),u=(0,s.s)(t,!1);return c.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:u.indexOf(t)>=0,guard:(0,o.Z9)(t)}})}},26095:function(e,t,n){"use strict";n.r(t),n.d(t,{captureFocusRestore:function(){return u.T},constants:function(){return p},expandFocusableNodes:function(){return s.T},focusFirstElement:function(){return l.w4},focusInside:function(){return o.S},focusIsHidden:function(){return i.U},focusLastElement:function(){return l.fW},focusNextElement:function(){return l.pf},focusPrevElement:function(){return l.mX},focusSolver:function(){return a.F},getFocusableNodes:function(){return f.pw},getRelativeFocusable:function(){return l.hX},getTabbableNodes:function(){return f.dH},moveFocusInside:function(){return c.L}});var r=n(54225),o=n(7413),i=n(75226),a=n(55243),s=n(68557),c=n(19096),u=n(82091),l=n(55632),f=n(41658),p=r,d=c.L;t.default=d},19096:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(3236),o=n(55243),i=0,a=!1,s=function(e,t,n){void 0===n&&(n={});var s=(0,o.F)(e,t);if(!a&&s){if(i>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),a=!0,setTimeout(function(){a=!1},1);return}i++,(0,r.v)(s.node,n.focusOptions),i--}}},82091:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(41658);function o(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var i=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:o(n),parent:o(n.parentElement),left:o(n.previousElementSibling),right:o(n.nextElementSibling)}),n=n.parentElement;return{element:o(e),stack:t,ownerDocument:e.ownerDocument}},a=function(e){if(e)for(var t,n,o,i,a,s=e.stack,c=e.ownerDocument,u=new Map,l=0;l0&&t.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},a=function(e){return e.parentNode?a(e.parentNode):e},s=function(e){return(0,o._2)(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(r.FOCUS_GROUP);return e.push.apply(e,n?i((0,o.qo)(a(t).querySelectorAll("[".concat(r.FOCUS_GROUP,'="').concat(n,'"]:not([').concat(r.FOCUS_DISABLED,'="disabled"])')))):[t]),e},[])}},74745:function(e,t,n){"use strict";n.d(t,{Xi:function(){return i},_2:function(){return o},qo:function(){return r}});var r=function(e){for(var t=Array(e.length),n=0;n=0)return a}return!1},s=function(e,t,n){var i=(0,o._2)(e),s=(0,o._2)(t),c=i[0],u=!1;return s.filter(Boolean).forEach(function(e){u=a(u||e,e)||u,n.filter(Boolean).forEach(function(e){var t=a(c,e);t&&(u=!u||(0,r.r3)(t,u)?t:a(t,u))})}),u},c=function(e,t){return e.reduce(function(e,n){return e.concat((0,r.ir)(n,t))},[])}},46813:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(74745),o=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),o=n-r,i=e.index-t.index;if(o){if(!n)return 1;if(!r)return -1}return o||i},i=function(e,t,n){return(0,r.qo)(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(o)}},49698:function(e,t,n){"use strict";n.d(t,{s:function(){return u},B:function(){return l}});var r=n(54225),o=n(74745),i="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",a="".concat(i,", [data-focus-guard]"),s=function(e,t){return(0,o.qo)((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?a:i)?[n]:[],s(n))},[])},c=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?u([e.contentDocument.body],t):[e]},u=function(e,t){return e.reduce(function(e,n){var r,a=s(n,t),u=(r=[]).concat.apply(r,a.map(function(e){return c(e,t)}));return e.concat(u,n.parentNode?(0,o.qo)(n.parentNode.querySelectorAll(i)).filter(function(e){return e===n}):[])},[])},l=function(e){var t=e.querySelectorAll("[".concat(r.FOCUS_AUTO,"]"));return(0,o.qo)(t).map(function(e){return u([e])}).reduce(function(e,t){return e.concat(t)},[])}},73463:function(e,t,n){"use strict";var r=n(73887),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),g=0;g>1,l=-7,f=n?o-1:0,p=n?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=p,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=u}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<>1,p=23===o?5960464477539062e-23:0,d=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+f>=1?t+=p/c:t+=p*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=h,a/=256,u-=8);e[n+d-h]|=128*m}},61353:function(e,t){"use strict";!function(){function e(e){this.string=e;for(var t=[0],n=0;nthis.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;var r=e-n[t];return{line:t,column:r}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t}}()},77485:function(e,t,n){var r,o="__lodash_hash_undefined__",i=1/0,a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,c=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,h=p||d||Function("return this")(),m=Array.prototype,g=Function.prototype,y=Object.prototype,v=h["__core-js_shared__"],b=(r=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",k=g.toString,x=y.hasOwnProperty,w=y.toString,_=RegExp("^"+k.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=h.Symbol,O=m.splice,E=N(h,"Map"),j=N(Object,"create"),T=S?S.prototype:void 0,C=T?T.toString:void 0;function A(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1},R.prototype.set=function(e,t){var n=this.__data__,r=P(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new A,map:new(E||R),string:new A}},I.prototype.delete=function(e){return Z(this,e).delete(e)},I.prototype.get=function(e){return Z(this,e).get(e)},I.prototype.has=function(e){return Z(this,e).has(e)},I.prototype.set=function(e,t){return Z(this,e).set(e,t),this};var F=L(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(B(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}(t);var t,n=[];return c.test(e)&&n.push(""),e.replace(u,function(e,t,r,o){n.push(r?o.replace(l,"$1"):t||e)}),n});function L(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(L.Cache||I),n}L.Cache=I;var M=Array.isArray;function D(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function B(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==w.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=!function(e,t){if(M(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||B(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}(t,e)?M(n=t)?n:F(n):[t];for(var r=0,o=t.length;null!=e&&r=t||n<0||g&&r>=l}function k(){var e,n,r,i=o();if(b(i))return x(i);p=setTimeout(k,(e=i-d,n=i-h,r=t-e,g?s(r,l-n):r))}function x(e){return(p=void 0,y&&c)?v(e):(c=u=void 0,f)}function w(){var e,n=o(),r=b(n);if(c=arguments,u=this,d=n,r){if(void 0===p)return h=e=d,p=setTimeout(k,t),m?v(e):f;if(g)return clearTimeout(p),p=setTimeout(k,t),v(d)}return void 0===p&&(p=setTimeout(k,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},w.flush=function(){return void 0===p?f:x(o())},w}},29259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,n){var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),(function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",c=1/0,u=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],f="[object Arguments]",p="[object Array]",d="[object Boolean]",h="[object Date]",m="[object Error]",g="[object Function]",y="[object GeneratorFunction]",v="[object Map]",b="[object Number]",k="[object Object]",x="[object Promise]",w="[object RegExp]",_="[object Set]",S="[object String]",O="[object Symbol]",E="[object WeakMap]",j="[object ArrayBuffer]",T="[object DataView]",C="[object Float32Array]",A="[object Float64Array]",R="[object Int8Array]",I="[object Int16Array]",P="[object Int32Array]",Z="[object Uint8Array]",N="[object Uint8ClampedArray]",F="[object Uint16Array]",L="[object Uint32Array]",M=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,U=RegExp(z.source),H=RegExp($.source),q=/<%-([\s\S]+?)%>/g,W=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,X=RegExp(Y.source),J=/^\s+/,ee=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,en=/\{\n\/\* \[wrapped with (.+)\] \*/,er=/,? & /,eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ei=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,es=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ec=/\w*$/,eu=/^[-+]0x[0-9a-f]+$/i,el=/^0b[01]+$/i,ef=/^\[object .+?Constructor\]$/,ep=/^0o[0-7]+$/i,ed=/^(?:0|[1-9]\d*)$/,eh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,em=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ey="\ud800-\udfff",ev="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",eb="\\u2700-\\u27bf",ek="a-z\\xdf-\\xf6\\xf8-\\xff",ex="A-Z\\xc0-\\xd6\\xd8-\\xde",ew="\\ufe0e\\ufe0f",e_="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eS="['’]",eO="["+e_+"]",eE="["+ev+"]",ej="["+ek+"]",eT="[^"+ey+e_+"\\d+"+eb+ek+ex+"]",eC="\ud83c[\udffb-\udfff]",eA="[^"+ey+"]",eR="(?:\ud83c[\udde6-\uddff]){2}",eI="[\ud800-\udbff][\udc00-\udfff]",eP="["+ex+"]",eZ="\\u200d",eN="(?:"+ej+"|"+eT+")",eF="(?:"+eS+"(?:d|ll|m|re|s|t|ve))?",eL="(?:"+eS+"(?:D|LL|M|RE|S|T|VE))?",eM="(?:"+eE+"|"+eC+")?",eD="["+ew+"]?",eB="(?:"+eZ+"(?:"+[eA,eR,eI].join("|")+")"+eD+eM+")*",ez=eD+eM+eB,e$="(?:"+["["+eb+"]",eR,eI].join("|")+")"+ez,eU="(?:"+[eA+eE+"?",eE,eR,eI,"["+ey+"]"].join("|")+")",eH=RegExp(eS,"g"),eq=RegExp(eE,"g"),eW=RegExp(eC+"(?="+eC+")|"+eU+ez,"g"),eV=RegExp([eP+"?"+ej+"+"+eF+"(?="+[eO,eP,"$"].join("|")+")","(?:"+eP+"|"+eT+")+"+eL+"(?="+[eO,eP+eN,"$"].join("|")+")",eP+"?"+eN+"+"+eF,eP+"+"+eL,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",e$].join("|"),"g"),eK=RegExp("["+eZ+ey+ev+ew+"]"),eQ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eG=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eY=-1,eX={};eX[C]=eX[A]=eX[R]=eX[I]=eX[P]=eX[Z]=eX[N]=eX[F]=eX[L]=!0,eX[f]=eX[p]=eX[j]=eX[d]=eX[T]=eX[h]=eX[m]=eX[g]=eX[v]=eX[b]=eX[k]=eX[w]=eX[_]=eX[S]=eX[E]=!1;var eJ={};eJ[f]=eJ[p]=eJ[j]=eJ[T]=eJ[d]=eJ[h]=eJ[C]=eJ[A]=eJ[R]=eJ[I]=eJ[P]=eJ[v]=eJ[b]=eJ[k]=eJ[w]=eJ[_]=eJ[S]=eJ[O]=eJ[Z]=eJ[N]=eJ[F]=eJ[L]=!0,eJ[m]=eJ[g]=eJ[E]=!1;var e1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e0=parseFloat,e2=parseInt,e3="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,e5="object"==typeof self&&self&&self.Object===Object&&self,e8=e3||e5||Function("return this")(),e6=t&&!t.nodeType&&t,e4=e6&&e&&!e.nodeType&&e,e9=e4&&e4.exports===e6,e7=e9&&e3.process,te=function(){try{var e=e4&&e4.require&&e4.require("util").types;if(e)return e;return e7&&e7.binding&&e7.binding("util")}catch(e){}}(),tt=te&&te.isArrayBuffer,tn=te&&te.isDate,tr=te&&te.isMap,to=te&&te.isRegExp,ti=te&&te.isSet,ta=te&&te.isTypedArray;function ts(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function tc(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function td(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function tF(e,t){for(var n=e.length;n--&&tw(t,e[n],0)>-1;);return n}var tL=tj({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tM=tj({"&":"&","<":"<",">":">",'"':""","'":"'"});function tD(e){return"\\"+e1[e]}function tB(e){return eK.test(e)}function tz(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function t$(e,t){return function(n){return e(t(n))}}function tU(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"}),tQ=function e(t){var n,r,ee,ey,ev=(t=null==t?e8:tQ.defaults(e8.Object(),t,tQ.pick(e8,eG))).Array,eb=t.Date,ek=t.Error,ex=t.Function,ew=t.Math,e_=t.Object,eS=t.RegExp,eO=t.String,eE=t.TypeError,ej=ev.prototype,eT=ex.prototype,eC=e_.prototype,eA=t["__core-js_shared__"],eR=eT.toString,eI=eC.hasOwnProperty,eP=0,eZ=(n=/[^.]+$/.exec(eA&&eA.keys&&eA.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",eN=eC.toString,eF=eR.call(e_),eL=e8._,eM=eS("^"+eR.call(eI).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eD=e9?t.Buffer:o,eB=t.Symbol,ez=t.Uint8Array,e$=eD?eD.allocUnsafe:o,eU=t$(e_.getPrototypeOf,e_),eW=e_.create,eK=eC.propertyIsEnumerable,e1=ej.splice,e3=eB?eB.isConcatSpreadable:o,e5=eB?eB.iterator:o,e6=eB?eB.toStringTag:o,e4=function(){try{var e=op(e_,"defineProperty");return e({},"",{}),e}catch(e){}}(),e7=t.clearTimeout!==e8.clearTimeout&&t.clearTimeout,te=eb&&eb.now!==e8.Date.now&&eb.now,tb=t.setTimeout!==e8.setTimeout&&t.setTimeout,tj=ew.ceil,tG=ew.floor,tY=e_.getOwnPropertySymbols,tX=eD?eD.isBuffer:o,tJ=t.isFinite,t1=ej.join,t0=t$(e_.keys,e_),t2=ew.max,t3=ew.min,t5=eb.now,t8=t.parseInt,t6=ew.random,t4=ej.reverse,t9=op(t,"DataView"),t7=op(t,"Map"),ne=op(t,"Promise"),nt=op(t,"Set"),nn=op(t,"WeakMap"),nr=op(e_,"create"),no=nn&&new nn,ni={},na=oL(t9),ns=oL(t7),nc=oL(ne),nu=oL(nt),nl=oL(nn),nf=eB?eB.prototype:o,np=nf?nf.valueOf:o,nd=nf?nf.toString:o;function nh(e){if(iW(e)&&!iN(e)&&!(e instanceof nv)){if(e instanceof ny)return e;if(eI.call(e,"__wrapped__"))return oM(e)}return new ny(e)}var nm=function(){function e(){}return function(t){if(!iq(t))return{};if(eW)return eW(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function ng(){}function ny(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function nv(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function nb(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function nZ(e,t,n,r,i,a){var s,c=1&t,u=2&t,l=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),o!==s)return s;if(!iq(e))return e;var p=iN(e);if(p){if(m=e.length,x=new e.constructor(m),m&&"string"==typeof e[0]&&eI.call(e,"index")&&(x.index=e.index,x.input=e.input),s=x,!c)return rB(e,s)}else{var m,x,E,M,D,B=om(e),z=B==g||B==y;if(iD(e))return rZ(e,c);if(B==k||B==f||z&&!i){if(s=u||z?{}:oy(e),!c)return u?(E=(D=s)&&rz(e,ad(e),D),rz(e,oh(e),E)):(M=nA(s,e),rz(e,od(e),M))}else{if(!eJ[B])return i?e:{};s=function(e,t,n){var r,o,i=e.constructor;switch(t){case j:return rN(e);case d:case h:return new i(+e);case T:return r=n?rN(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case C:case A:case R:case I:case P:case Z:case N:case F:case L:return rF(e,n);case v:return new i;case b:case S:return new i(e);case w:return(o=new e.constructor(e.source,ec.exec(e))).lastIndex=e.lastIndex,o;case _:return new i;case O:return np?e_(np.call(e)):{}}}(e,B,c)}}a||(a=new n_);var $=a.get(e);if($)return $;a.set(e,s),iY(e)?e.forEach(function(r){s.add(nZ(r,t,n,r,e,a))}):iV(e)&&e.forEach(function(r,o){s.set(o,nZ(r,t,n,o,e,a))});var U=l?u?oi:oo:u?ad:ap,H=p?o:U(e);return tu(H||e,function(r,o){H&&(r=e[o=r]),nj(s,o,nZ(r,t,n,o,e,a))}),s}function nN(e,t,n){var r=n.length;if(null==e)return!r;for(e=e_(e);r--;){var i=n[r],a=t[i],s=e[i];if(o===s&&!(i in e)||!a(s))return!1}return!0}function nF(e,t,n){if("function"!=typeof e)throw new eE(i);return oA(function(){e.apply(o,n)},t)}function nL(e,t,n,r){var o=-1,i=tp,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=th(t,tI(n))),r?(i=td,a=!1):t.length>=200&&(i=tZ,a=!1,t=new nw(t));e:for(;++o-1},nk.prototype.set=function(e,t){var n=this.__data__,r=nT(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},nx.prototype.clear=function(){this.size=0,this.__data__={hash:new nb,map:new(t7||nk),string:new nb}},nx.prototype.delete=function(e){var t=ol(this,e).delete(e);return this.size-=t?1:0,t},nx.prototype.get=function(e){return ol(this,e).get(e)},nx.prototype.has=function(e){return ol(this,e).has(e)},nx.prototype.set=function(e,t){var n=ol(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},nw.prototype.add=nw.prototype.push=function(e){return this.__data__.set(e,a),this},nw.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.clear=function(){this.__data__=new nk,this.size=0},n_.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},n_.prototype.get=function(e){return this.__data__.get(e)},n_.prototype.has=function(e){return this.__data__.has(e)},n_.prototype.set=function(e,t){var n=this.__data__;if(n instanceof nk){var r=n.__data__;if(!t7||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new nx(r)}return n.set(e,t),this.size=n.size,this};var nM=rH(nW),nD=rH(nV,!0);function nB(e,t){var n=!0;return nM(e,function(e,r,o){return n=!!t(e,r,o)}),n}function nz(e,t,n){for(var r=-1,i=e.length;++r0&&n(s)?t>1?nU(s,t-1,n,r,o):tm(o,s):r||(o[o.length]=s)}return o}var nH=rq(),nq=rq(!0);function nW(e,t){return e&&nH(e,t,ap)}function nV(e,t){return e&&nq(e,t,ap)}function nK(e,t){return tf(t,function(t){return i$(e[t])})}function nQ(e,t){t=rR(t,e);for(var n=0,r=t.length;null!=e&&nt}function nJ(e,t){return null!=e&&eI.call(e,t)}function n1(e,t){return null!=e&&t in e_(e)}function n0(e,t,n){for(var r=n?td:tp,i=e[0].length,a=e.length,s=a,c=ev(a),u=1/0,l=[];s--;){var f=e[s];s&&t&&(f=th(f,tI(t))),u=t3(f.length,u),c[s]=!n&&(t||i>=120&&f.length>=120)?new nw(s&&f):o}f=e[0];var p=-1,d=c[0];e:for(;++p=s)return c;return c*("desc"==n[r]?-1:1)}}return e.index-t.index}(e,t,n)})}function ra(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)s!==e&&e1.call(s,c,1),e1.call(e,c,1);return e}function rc(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ob(o)?e1.call(e,o,1):r_(e,o)}}return e}function ru(e,t){return e+tG(t6()*(t-e+1))}function rl(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do t%2&&(n+=e),(t=tG(t/2))&&(e+=e);while(t);return n}function rf(e,t){return oR(oE(e,t,aM),e+"")}function rp(e,t,n,r){if(!iq(e))return e;t=rR(t,e);for(var i=-1,a=t.length,s=a-1,c=e;null!=c&&++io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ev(o);++r>>1,a=e[i];null!==a&&!iJ(a)&&(n?a<=t:a=200){var u=t?null:r6(e);if(u)return tH(u);a=!1,o=tZ,c=new nw}else c=t?[]:s;e:for(;++r=r?e:rm(e,t,n)}var rP=e7||function(e){return e8.clearTimeout(e)};function rZ(e,t){if(t)return e.slice();var n=e.length,r=e$?e$(n):new e.constructor(n);return e.copy(r),r}function rN(e){var t=new e.constructor(e.byteLength);return new ez(t).set(new ez(e)),t}function rF(e,t){var n=t?rN(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function rL(e,t){if(e!==t){var n=o!==e,r=null===e,i=e==e,a=iJ(e),s=o!==t,c=null===t,u=t==t,l=iJ(t);if(!c&&!l&&!a&&e>t||a&&s&&u&&!c&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!l&&e1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&ok(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=e_(t);++r-1?i[a?t[s]:s]:o}}function rG(e){return or(function(t){var n=t.length,r=n,a=ny.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new eE(i);if(a&&!c&&"wrapper"==os(s))var c=new ny([],!0)}for(r=c?r:n;++r1&&b.reverse(),f&&uc))return!1;var l=a.get(e),f=a.get(t);if(l&&f)return l==t&&f==e;var p=-1,d=!0,h=2&n?new nw:o;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+t+"] */\n")}(i,(r=(o=i.match(en))?o[1].split(er):[],tu(l,function(e){var t="_."+e[0];n&e[1]&&!tp(r,t)&&r.push(t)}),r.sort())))}function oP(e){var t=0,n=0;return function(){var r=t5(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function oZ(e,t){var n=-1,r=e.length,i=r-1;for(t=o===t?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,o5(e,n)});function it(e){var t=nh(e);return t.__chain__=!0,t}function ir(e,t){return t(e)}var io=or(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return nI(t,e)};return!(t>1)&&!this.__actions__.length&&r instanceof nv&&ob(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ir,args:[i],thisArg:o}),new ny(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)}),ii=r$(function(e,t,n){eI.call(e,n)?++e[n]:nR(e,n,1)}),ia=rQ(o$),is=rQ(oU);function ic(e,t){return(iN(e)?tu:nM)(e,ou(t,3))}function iu(e,t){return(iN(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:nD)(e,ou(t,3))}var il=r$(function(e,t,n){eI.call(e,n)?e[n].push(t):nR(e,n,[t])}),ip=rf(function(e,t,n){var r=-1,o="function"==typeof t,i=iL(e)?ev(e.length):[];return nM(e,function(e){i[++r]=o?ts(t,e,n):n2(e,t,n)}),i}),id=r$(function(e,t,n){nR(e,n,t)});function ih(e,t){return(iN(e)?th:re)(e,ou(t,3))}var im=r$(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ig=rf(function(e,t){if(null==e)return[];var n=t.length;return n>1&&ok(e,t[0],t[1])?t=[]:n>2&&ok(t[0],t[1],t[2])&&(t=[t[0]]),ri(e,nU(t,1),[])}),iy=te||function(){return e8.Date.now()};function iv(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,r9(e,128,o,o,o,o,t)}function ib(e,t){var n;if("function"!=typeof t)throw new eE(i);return e=i8(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ik=rf(function(e,t,n){var r=1;if(n.length){var o=tU(n,oc(ik));r|=32}return r9(e,r,t,n,o)}),ix=rf(function(e,t,n){var r=3;if(n.length){var o=tU(n,oc(ix));r|=32}return r9(t,r,e,n,o)});function iw(e,t,n){var r,a,s,c,u,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof e)throw new eE(i);function m(t){var n=r,i=a;return r=a=o,f=t,c=e.apply(i,n)}function g(e){var n=e-l,r=e-f;return o===l||n>=t||n<0||d&&r>=s}function y(){var e,n,r,o=iy();if(g(o))return v(o);u=oA(y,(e=o-l,n=o-f,r=t-e,d?t3(r,s-n):r))}function v(e){return(u=o,h&&r)?m(e):(r=a=o,c)}function b(){var e,n=iy(),i=g(n);if(r=arguments,a=this,l=n,i){if(o===u)return f=e=l,u=oA(y,t),p?m(e):c;if(d)return rP(u),u=oA(y,t),m(l)}return o===u&&(u=oA(y,t)),c}return t=i4(t)||0,iq(n)&&(p=!!n.leading,s=(d="maxWait"in n)?t2(i4(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){o!==u&&rP(u),f=0,r=l=a=u=o},b.flush=function(){return o===u?c:v(iy())},b}var i_=rf(function(e,t){return nF(e,1,t)}),iS=rf(function(e,t,n){return nF(e,i4(t)||0,n)});function iO(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new eE(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(iO.Cache||nx),n}function iE(e){if("function"!=typeof e)throw new eE(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}iO.Cache=nx;var ij=rf(function(e,t){var n=(t=1==t.length&&iN(t[0])?th(t[0],tI(ou())):th(nU(t,1),tI(ou()))).length;return rf(function(r){for(var o=-1,i=t3(r.length,n);++o=t}),iZ=n3(function(){return arguments}())?n3:function(e){return iW(e)&&eI.call(e,"callee")&&!eK.call(e,"callee")},iN=ev.isArray,iF=tt?tI(tt):function(e){return iW(e)&&nY(e)==j};function iL(e){return null!=e&&iH(e.length)&&!i$(e)}function iM(e){return iW(e)&&iL(e)}var iD=tX||aY,iB=tn?tI(tn):function(e){return iW(e)&&nY(e)==h};function iz(e){if(!iW(e))return!1;var t=nY(e);return t==m||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!iQ(e)}function i$(e){if(!iq(e))return!1;var t=nY(e);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iU(e){return"number"==typeof e&&e==i8(e)}function iH(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function iq(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function iW(e){return null!=e&&"object"==typeof e}var iV=tr?tI(tr):function(e){return iW(e)&&om(e)==v};function iK(e){return"number"==typeof e||iW(e)&&nY(e)==b}function iQ(e){if(!iW(e)||nY(e)!=k)return!1;var t=eU(e);if(null===t)return!0;var n=eI.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eR.call(n)==eF}var iG=to?tI(to):function(e){return iW(e)&&nY(e)==w},iY=ti?tI(ti):function(e){return iW(e)&&om(e)==_};function iX(e){return"string"==typeof e||!iN(e)&&iW(e)&&nY(e)==S}function iJ(e){return"symbol"==typeof e||iW(e)&&nY(e)==O}var i1=ta?tI(ta):function(e){return iW(e)&&iH(e.length)&&!!eX[nY(e)]},i0=r3(n7),i2=r3(function(e,t){return e<=t});function i3(e){if(!e)return[];if(iL(e))return iX(e)?tW(e):rB(e);if(e5&&e[e5])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[e5]());var t=om(e);return(t==v?tz:t==_?tH:ax)(e)}function i5(e){return e?(e=i4(e))===c||e===-c?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function i8(e){var t=i5(e),n=t%1;return t==t?n?t-n:t:0}function i6(e){return e?nP(i8(e),0,4294967295):0}function i4(e){if("number"==typeof e)return e;if(iJ(e))return u;if(iq(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=iq(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=tR(e);var n=el.test(e);return n||ep.test(e)?e2(e.slice(2),n?2:8):eu.test(e)?u:+e}function i9(e){return rz(e,ad(e))}function i7(e){return null==e?"":rx(e)}var ae=rU(function(e,t){if(oS(t)||iL(t)){rz(t,ap(t),e);return}for(var n in t)eI.call(t,n)&&nj(e,n,t[n])}),at=rU(function(e,t){rz(t,ad(t),e)}),an=rU(function(e,t,n,r){rz(t,ad(t),e,r)}),ar=rU(function(e,t,n,r){rz(t,ap(t),e,r)}),ao=or(nI),ai=rf(function(e,t){e=e_(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&ok(t[0],t[1],i)&&(r=1);++n1),t}),rz(e,oi(e),n),r&&(n=nZ(n,7,ot));for(var o=t.length;o--;)r_(n,t[o]);return n}),ay=or(function(e,t){return null==e?{}:ra(e,t,function(t,n){return ac(e,n)})});function av(e,t){if(null==e)return{};var n=th(oi(e),function(e){return[e]});return t=ou(t),ra(e,n,function(e,n){return t(e,n[0])})}var ab=r4(ap),ak=r4(ad);function ax(e){return null==e?[]:tP(e,ap(e))}var aw=rV(function(e,t,n){return t=t.toLowerCase(),e+(n?a_(t):t)});function a_(e){return aR(i7(e).toLowerCase())}function aS(e){return(e=i7(e))&&e.replace(eh,tL).replace(eq,"")}var aO=rV(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),aE=rV(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),aj=rW("toLowerCase"),aT=rV(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),aC=rV(function(e,t,n){return e+(n?" ":"")+aR(t)}),aA=rV(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),aR=rW("toUpperCase");function aI(e,t,n){if(e=i7(e),t=n?o:t,o===t){var r;return(r=e,eQ.test(r))?e.match(eV)||[]:e.match(eo)||[]}return e.match(t)||[]}var aP=rf(function(e,t){try{return ts(e,o,t)}catch(e){return iz(e)?e:new ek(e)}}),aZ=or(function(e,t){return tu(t,function(t){nR(e,t=oF(t),ik(e[t],e))}),e});function aN(e){return function(){return e}}var aF=rG(),aL=rG(!0);function aM(e){return e}function aD(e){return n4("function"==typeof e?e:nZ(e,1))}var aB=rf(function(e,t){return function(n){return n2(n,e,t)}}),az=rf(function(e,t){return function(n){return n2(e,n,t)}});function a$(e,t,n){var r=ap(t),o=nK(t,r);null!=n||iq(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=nK(t,ap(t)));var i=!(iq(n)&&"chain"in n)||!!n.chain,a=i$(e);return tu(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=rB(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,tm([this.value()],arguments))})}),e}function aU(){}var aH=r1(th),aq=r1(tl),aW=r1(tv);function aV(e){return ox(e)?tE(oF(e)):function(t){return nQ(t,e)}}var aK=r2(),aQ=r2(!0);function aG(){return[]}function aY(){return!1}var aX=rJ(function(e,t){return e+t},0),aJ=r8("ceil"),a1=rJ(function(e,t){return e/t},1),a0=r8("floor"),a2=rJ(function(e,t){return e*t},1),a3=r8("round"),a5=rJ(function(e,t){return e-t},0);return nh.after=function(e,t){if("function"!=typeof t)throw new eE(i);return e=i8(e),function(){if(--e<1)return t.apply(this,arguments)}},nh.ary=iv,nh.assign=ae,nh.assignIn=at,nh.assignInWith=an,nh.assignWith=ar,nh.at=ao,nh.before=ib,nh.bind=ik,nh.bindAll=aZ,nh.bindKey=ix,nh.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return iN(e)?e:[e]},nh.chain=it,nh.chunk=function(e,t,n){t=(n?ok(e,t,n):o===t)?1:t2(i8(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,s=ev(tj(r/t));ii?0:i+n),(r=o===r||r>i?i:i8(r))<0&&(r+=i),r=n>r?0:i6(r);n>>0)?(e=i7(e))&&("string"==typeof t||null!=t&&!iG(t))&&!(t=rx(t))&&tB(e)?rI(tW(e),0,n):e.split(t,n):[]},nh.spread=function(e,t){if("function"!=typeof e)throw new eE(i);return t=null==t?0:t2(i8(t),0),rf(function(n){var r=n[t],o=rI(n,0,t);return r&&tm(o,r),ts(e,this,o)})},nh.tail=function(e){var t=null==e?0:e.length;return t?rm(e,1,t):[]},nh.take=function(e,t,n){return e&&e.length?rm(e,0,(t=n||o===t?1:i8(t))<0?0:t):[]},nh.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?rm(e,(t=r-(t=n||o===t?1:i8(t)))<0?0:t,r):[]},nh.takeRightWhile=function(e,t){return e&&e.length?rO(e,ou(t,3),!1,!0):[]},nh.takeWhile=function(e,t){return e&&e.length?rO(e,ou(t,3)):[]},nh.tap=function(e,t){return t(e),e},nh.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new eE(i);return iq(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),iw(e,t,{leading:r,maxWait:t,trailing:o})},nh.thru=ir,nh.toArray=i3,nh.toPairs=ab,nh.toPairsIn=ak,nh.toPath=function(e){return iN(e)?th(e,oF):iJ(e)?[e]:rB(oN(i7(e)))},nh.toPlainObject=i9,nh.transform=function(e,t,n){var r=iN(e),o=r||iD(e)||i1(e);if(t=ou(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:iq(e)&&i$(i)?nm(eU(e)):{}}return(o?tu:nW)(e,function(e,r,o){return t(n,e,r,o)}),n},nh.unary=function(e){return iv(e,1)},nh.union=o1,nh.unionBy=o0,nh.unionWith=o2,nh.uniq=function(e){return e&&e.length?rw(e):[]},nh.uniqBy=function(e,t){return e&&e.length?rw(e,ou(t,2)):[]},nh.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?rw(e,o,t):[]},nh.unset=function(e,t){return null==e||r_(e,t)},nh.unzip=o3,nh.unzipWith=o5,nh.update=function(e,t,n){return null==e?e:rS(e,t,rA(n))},nh.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:rS(e,t,rA(n),r)},nh.values=ax,nh.valuesIn=function(e){return null==e?[]:tP(e,ad(e))},nh.without=o8,nh.words=aI,nh.wrap=function(e,t){return iT(rA(t),e)},nh.xor=o6,nh.xorBy=o4,nh.xorWith=o9,nh.zip=o7,nh.zipObject=function(e,t){return rT(e||[],t||[],nj)},nh.zipObjectDeep=function(e,t){return rT(e||[],t||[],rp)},nh.zipWith=ie,nh.entries=ab,nh.entriesIn=ak,nh.extend=at,nh.extendWith=an,a$(nh,nh),nh.add=aX,nh.attempt=aP,nh.camelCase=aw,nh.capitalize=a_,nh.ceil=aJ,nh.clamp=function(e,t,n){return o===n&&(n=t,t=o),o!==n&&(n=(n=i4(n))==n?n:0),o!==t&&(t=(t=i4(t))==t?t:0),nP(i4(e),t,n)},nh.clone=function(e){return nZ(e,4)},nh.cloneDeep=function(e){return nZ(e,5)},nh.cloneDeepWith=function(e,t){return nZ(e,5,t="function"==typeof t?t:o)},nh.cloneWith=function(e,t){return nZ(e,4,t="function"==typeof t?t:o)},nh.conformsTo=function(e,t){return null==t||nN(e,t,ap(t))},nh.deburr=aS,nh.defaultTo=function(e,t){return null==e||e!=e?t:e},nh.divide=a1,nh.endsWith=function(e,t,n){e=i7(e),t=rx(t);var r=e.length,i=n=o===n?r:nP(i8(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},nh.eq=iR,nh.escape=function(e){return(e=i7(e))&&H.test(e)?e.replace($,tM):e},nh.escapeRegExp=function(e){return(e=i7(e))&&X.test(e)?e.replace(Y,"\\$&"):e},nh.every=function(e,t,n){var r=iN(e)?tl:nB;return n&&ok(e,t,n)&&(t=o),r(e,ou(t,3))},nh.find=ia,nh.findIndex=o$,nh.findKey=function(e,t){return tk(e,ou(t,3),nW)},nh.findLast=is,nh.findLastIndex=oU,nh.findLastKey=function(e,t){return tk(e,ou(t,3),nV)},nh.floor=a0,nh.forEach=ic,nh.forEachRight=iu,nh.forIn=function(e,t){return null==e?e:nH(e,ou(t,3),ad)},nh.forInRight=function(e,t){return null==e?e:nq(e,ou(t,3),ad)},nh.forOwn=function(e,t){return e&&nW(e,ou(t,3))},nh.forOwnRight=function(e,t){return e&&nV(e,ou(t,3))},nh.get=as,nh.gt=iI,nh.gte=iP,nh.has=function(e,t){return null!=e&&og(e,t,nJ)},nh.hasIn=ac,nh.head=oq,nh.identity=aM,nh.includes=function(e,t,n,r){e=iL(e)?e:ax(e),n=n&&!r?i8(n):0;var o=e.length;return n<0&&(n=t2(o+n,0)),iX(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&tw(e,t,n)>-1},nh.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=null==n?0:i8(n);return o<0&&(o=t2(r+o,0)),tw(e,t,o)},nh.inRange=function(e,t,n){var r,i,a;return t=i5(t),o===n?(n=t,t=0):n=i5(n),(r=e=i4(e))>=t3(i=t,a=n)&&r=-9007199254740991&&e<=9007199254740991},nh.isSet=iY,nh.isString=iX,nh.isSymbol=iJ,nh.isTypedArray=i1,nh.isUndefined=function(e){return o===e},nh.isWeakMap=function(e){return iW(e)&&om(e)==E},nh.isWeakSet=function(e){return iW(e)&&"[object WeakSet]"==nY(e)},nh.join=function(e,t){return null==e?"":t1.call(e,t)},nh.kebabCase=aO,nh.last=oQ,nh.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=r;return o!==n&&(i=(i=i8(n))<0?t2(r+i,0):t3(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--&&e[r]!==t;);return r}(e,t,i):tx(e,tS,i,!0)},nh.lowerCase=aE,nh.lowerFirst=aj,nh.lt=i0,nh.lte=i2,nh.max=function(e){return e&&e.length?nz(e,aM,nX):o},nh.maxBy=function(e,t){return e&&e.length?nz(e,ou(t,2),nX):o},nh.mean=function(e){return tO(e,aM)},nh.meanBy=function(e,t){return tO(e,ou(t,2))},nh.min=function(e){return e&&e.length?nz(e,aM,n7):o},nh.minBy=function(e,t){return e&&e.length?nz(e,ou(t,2),n7):o},nh.stubArray=aG,nh.stubFalse=aY,nh.stubObject=function(){return{}},nh.stubString=function(){return""},nh.stubTrue=function(){return!0},nh.multiply=a2,nh.nth=function(e,t){return e&&e.length?ro(e,i8(t)):o},nh.noConflict=function(){return e8._===this&&(e8._=eL),this},nh.noop=aU,nh.now=iy,nh.pad=function(e,t,n){e=i7(e);var r=(t=i8(t))?tq(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return r0(tG(o),n)+e+r0(tj(o),n)},nh.padEnd=function(e,t,n){e=i7(e);var r=(t=i8(t))?tq(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=t6();return t3(e+i*(t-e+e0("1e-"+((i+"").length-1))),t)}return ru(e,t)},nh.reduce=function(e,t,n){var r=iN(e)?tg:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nM)},nh.reduceRight=function(e,t,n){var r=iN(e)?ty:tT,o=arguments.length<3;return r(e,ou(t,4),n,o,nD)},nh.repeat=function(e,t,n){return t=(n?ok(e,t,n):o===t)?1:i8(t),rl(i7(e),t)},nh.replace=function(){var e=arguments,t=i7(e[0]);return e.length<3?t:t.replace(e[1],e[2])},nh.result=function(e,t,n){t=rR(t,e);var r=-1,i=t.length;for(i||(i=1,e=o);++r9007199254740991)return[];var n=4294967295,r=t3(e,4294967295);t=ou(t),e-=4294967295;for(var o=tA(r,t);++n=a)return e;var c=n-tq(r);if(c<1)return r;var u=s?rI(s,0,c).join(""):e.slice(0,c);if(o===i)return u+r;if(s&&(c+=u.length-c),iG(i)){if(e.slice(c).search(i)){var l,f=u;for(i.global||(i=eS(i.source,i7(ec.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var p=l.index;u=u.slice(0,o===p?c:p)}}else if(e.indexOf(rx(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r},nh.unescape=function(e){return(e=i7(e))&&U.test(e)?e.replace(z,tK):e},nh.uniqueId=function(e){var t=++eP;return i7(e)+t},nh.upperCase=aA,nh.upperFirst=aR,nh.each=ic,nh.eachRight=iu,nh.first=oq,a$(nh,(ey={},nW(nh,function(e,t){eI.call(nh.prototype,t)||(ey[t]=e)}),ey),{chain:!1}),nh.VERSION="4.17.21",tu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){nh[e].placeholder=nh}),tu(["drop","take"],function(e,t){nv.prototype[e]=function(n){n=o===n?1:t2(i8(n),0);var r=this.__filtered__&&!t?new nv(this):this.clone();return r.__filtered__?r.__takeCount__=t3(n,r.__takeCount__):r.__views__.push({size:t3(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},nv.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),tu(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;nv.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ou(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),tu(["head","last"],function(e,t){var n="take"+(t?"Right":"");nv.prototype[e]=function(){return this[n](1).value()[0]}}),tu(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");nv.prototype[e]=function(){return this.__filtered__?new nv(this):this[n](1)}}),nv.prototype.compact=function(){return this.filter(aM)},nv.prototype.find=function(e){return this.filter(e).head()},nv.prototype.findLast=function(e){return this.reverse().find(e)},nv.prototype.invokeMap=rf(function(e,t){return"function"==typeof e?new nv(this):this.map(function(n){return n2(n,e,t)})}),nv.prototype.reject=function(e){return this.filter(iE(ou(e)))},nv.prototype.slice=function(e,t){e=i8(e);var n=this;return n.__filtered__&&(e>0||t<0)?new nv(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),o!==t&&(n=(t=i8(t))<0?n.dropRight(-t):n.take(t-e)),n)},nv.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},nv.prototype.toArray=function(){return this.take(4294967295)},nW(nv.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=nh[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(nh.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof nv,u=s[0],l=c||iN(t),f=function(e){var t=i.apply(nh,tm([e],s));return r&&p?t[0]:t};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,m=c&&!d;if(!a&&l){t=m?t:new nv(this);var g=e.apply(t,s);return g.__actions__.push({func:ir,args:[f],thisArg:o}),new ny(g,p)}return h&&m?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),tu(["pop","push","shift","sort","splice","unshift"],function(e){var t=ej[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);nh.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(iN(o)?o:[],e)}return this[n](function(n){return t.apply(iN(n)?n:[],e)})}}),nW(nv.prototype,function(e,t){var n=nh[t];if(n){var r=n.name+"";eI.call(ni,r)||(ni[r]=[]),ni[r].push({name:t,func:n})}}),ni[rY(o,2).name]=[{name:"wrapper",func:o}],nv.prototype.clone=function(){var e=new nv(this.__wrapped__);return e.__actions__=rB(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rB(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rB(this.__views__),e},nv.prototype.reverse=function(){if(this.__filtered__){var e=new nv(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},nv.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=iN(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}},nh.prototype.plant=function(e){for(var t,n=this;n instanceof ng;){var r=oM(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},nh.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof nv){var t=e;return this.__actions__.length&&(t=new nv(this)),(t=t.reverse()).__actions__.push({func:ir,args:[oJ],thisArg:o}),new ny(t,this.__chain__)}return this.thru(oJ)},nh.prototype.toJSON=nh.prototype.valueOf=nh.prototype.value=function(){return rE(this.__wrapped__,this.__actions__)},nh.prototype.first=nh.prototype.head,e5&&(nh.prototype[e5]=function(){return this}),nh}();e8._=tQ,o!==(r=(function(){return tQ}).call(t,n,t,e))&&(e.exports=r)}).call(this)},61100:function(e,t,n){var r=n(37772);e.exports=function(){return r.Date.now()}},12436:function(e,t,n){var r=n(54073),o=n(29259);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},7642:function(e,t,n){var r=n(51704),o=n(29259),i=n(4795),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):s.test(e)?a:+e}},36954:function(e,t,n){var r,o=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=a%256}return n},decompressFromUint8Array:function(t){if(null==t)return i.decompress(t);for(var n=Array(t.length/2),r=0,o=n.length;rl.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++),a[u]=p++,l=String(c)}if(""!==l){if(Object.prototype.hasOwnProperty.call(s,l)){if(256>l.charCodeAt(0)){for(r=0;r>=1}else{for(r=0,o=1;r>=1}0==--f&&(f=Math.pow(2,d),d++),delete s[l]}else for(r=0,o=a[l];r>=1;0==--f&&(f=Math.pow(2,d),d++)}for(r=0,o=2;r>=1;for(;;){if(m<<=1,g==t-1){h.push(n(m));break}g++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:i._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,n,r){var o,i,a,s,c,u,l,f=[],p=4,d=4,h=3,m="",g=[],y={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)f[o]=o;for(a=0,c=4,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;l=e(a);break;case 2:return""}for(f[3]=l,i=l,g.push(l);;){if(y.index>t)return"";for(a=0,c=Math.pow(2,h),u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(l=a){case 0:for(a=0,c=256,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 1:for(a=0,c=65536,u=1;u!=c;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;f[d++]=e(a),l=d-1,p--;break;case 2:return g.join("")}if(0==p&&(p=Math.pow(2,h),h++),f[l])m=f[l];else{if(l!==d)return null;m=i+i.charAt(0)}g.push(m),f[d++]=i+m.charAt(0),p--,i=m,0==p&&(p=Math.pow(2,h),h++)}}};return i}();void 0!==(r=(function(){return o}).call(t,n,t,e))&&(e.exports=r)},92307:function(e){var t;t=function(){"use strict";var e={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},t=Array.prototype.slice;function n(e){var n=e.length;return n?1===n?[e[0]]:2===n?[e[0],e[1]]:3===n?[e[0],e[1],e[2]]:t.call(e,0):[]}function r(e,t){return e===t||e!=e&&t!=t}function o(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}var i=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:n(this.keys),size:this.size,values:n(this.values)}},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,n=t.isMatchingKey,r=t.maxSize,o=this.keys,i=o.length;if(!i)return -1;if(n(o[0],e))return 0;if(r>1){for(var a=1;a1){for(var s=0;s1){for(var i=0;i=s&&(r.length=o.length=s)},e.prototype.updateAsyncCache=function(e){var t=this,n=this.options,r=n.onCacheChange,o=n.onCacheHit,i=this.keys[0],a=this.values[0];this.values[0]=a.then(function(n){return t.shouldUpdateOnHit&&o(t,t.options,e),t.shouldUpdateOnChange&&r(t,t.options,e),n},function(e){var n=t.getKeyIndex(i);throw -1!==n&&(t.keys.splice(n,1),t.values.splice(n,1)),e})},e}();return function t(a,s){if(void 0===s&&(s={}),"function"==typeof a&&a.isMemoized)return t(a.fn,o(a.options,s));if("function"!=typeof a)throw TypeError("You must pass a function to `memoize`.");var c=s.isEqual,u=s.isMatchingKey,l=s.isPromise,f=void 0!==l&&l,p=s.maxSize,d=s.onCacheAdd,h=s.onCacheChange,m=s.onCacheHit,g=s.transformKey,y=o({isEqual:void 0===c?r:c,isMatchingKey:u,isPromise:f,maxSize:void 0===p?1:p,onCacheAdd:d,onCacheChange:h,onCacheHit:m,transformKey:g},function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}(s)),v=new i(y),b=v.keys,k=v.values,x=v.canTransformKey,w=v.shouldCloneArguments,_=v.shouldUpdateOnAdd,S=v.shouldUpdateOnChange,O=v.shouldUpdateOnHit,E=function(){var e=w?n(arguments):arguments;x&&(e=g(e));var t=b.length?v.getKeyIndex(e):-1;if(-1!==t)O&&m(v,y,E),t&&(v.orderByLru(b[t],k[t],t),S&&h(v,y,E));else{var r=a.apply(this,arguments),o=w?e:n(arguments);v.orderByLru(o,r,b.length),f&&v.updateAsyncCache(E),_&&d(v,y,E),S&&h(v,y,E)}return k[0]};return E.cache=v,E.fn=a,E.isMemoized=!0,E.options=y,E}},e.exports=t()},12041:function(e,t,n){e.exports=n(37911)},9936:function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return p},ACTION_NAVIGATE:function(){return c},ACTION_PREFETCH:function(){return f},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return u},ACTION_SERVER_ACTION:function(){return d},ACTION_SERVER_PATCH:function(){return l},PrefetchCacheEntryStatus:function(){return a},PrefetchKind:function(){return i},isThenable:function(){return h}});var r,o,i,a,s="refresh",c="navigate",u="restore",l="server-patch",f="prefetch",p="fast-refresh",d="server-action";function h(e){return e&&("object"===n(e)||"function"==typeof e)&&"function"==typeof e.then}(r=i||(i={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",(o=a||(a={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"===n(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2101:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}}),n(29042),("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5403:function(e,t,n){"use strict";var r=["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"];function o(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 i(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function l(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});var f=n(43219),p=n(52322),d=f._(n(2784)),h=n(92313),m=n(28962),g=n(12697),y=n(73053),v=n(38284),b=n(34274),k=n(26637),x=n(34530),w=n(2101),_=n(96984),S=n(9936),O=new Set;function E(e,t,n,r,o,i){if(i||(0,m.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){var a,s,c=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(O.has(c))return;O.add(c)}(a=u().mark(function a(){return u().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!i){a.next=4;break}return a.abrupt("return",e.prefetch(t,o));case 4:return a.abrupt("return",e.prefetch(t,n,r));case 5:case"end":return a.stop()}},a)}),s=function(){var e=this,t=arguments;return new Promise(function(n,r){var o=a.apply(e,t);function i(e){l(o,n,r,i,s,"next",e)}function s(e){l(o,n,r,i,s,"throw",e)}i(void 0)})},function(){return s.apply(this,arguments)})().catch(function(e){})}}function j(e){return"string"==typeof e?e:(0,g.formatUrl)(e)}var T=d.default.forwardRef(function(e,t){var n,o,s=e.href,u=e.as,l=e.children,f=e.prefetch,g=void 0===f?null:f,O=e.passHref,T=e.replace,C=e.shallow,A=e.scroll,R=e.locale,I=e.onClick,P=e.onMouseEnter,Z=e.onTouchStart,N=e.legacyBehavior,F=void 0!==N&&N,L=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,r);n=l,F&&("string"==typeof n||"number"==typeof n)&&(n=(0,p.jsx)("a",{children:n}));var M=d.default.useContext(b.RouterContext),D=d.default.useContext(k.AppRouterContext),B=null!=M?M:D,z=!M,$=!1!==g,U=null===g?S.PrefetchKind.AUTO:S.PrefetchKind.FULL,H=d.default.useMemo(function(){if(!M){var e=j(s);return{href:e,as:u?j(u):e}}var t=a((0,h.resolveHref)(M,s,!0),2),n=t[0],r=t[1];return{href:n,as:u?(0,h.resolveHref)(M,u):r||n}},[M,s,u]),q=H.href,W=H.as,V=d.default.useRef(q),K=d.default.useRef(W);F&&(o=d.default.Children.only(n));var Q=F?o&&"object"===c(o)&&o.ref:t,G=a((0,x.useIntersection)({rootMargin:"200px"}),3),Y=G[0],X=G[1],J=G[2],ee=d.default.useCallback(function(e){(K.current!==W||V.current!==q)&&(J(),K.current=W,V.current=q),Y(e),Q&&("function"==typeof Q?Q(e):"object"===c(Q)&&(Q.current=e))},[W,Q,q,J,Y]);d.default.useEffect(function(){B&&X&&$&&E(B,q,W,{locale:R},{kind:U},z)},[W,q,X,R,$,null==M?void 0:M.locale,B,z,U]);var et={ref:ee,onClick:function(e){F||"function"!=typeof I||I(e),F&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),B&&!e.defaultPrevented&&function(e,t,n,r,o,i,a,s,c){if(!("A"===e.currentTarget.nodeName.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which||!c&&!(0,m.isLocalURL)(n)))){e.preventDefault();var u,l=function(){var e=null==a||a;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:i,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?d.default.startTransition(l):l()}}(e,B,q,W,T,C,A,R,z)},onMouseEnter:function(e){F||"function"!=typeof P||P(e),F&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)},onTouchStart:function(e){F||"function"!=typeof Z||Z(e),F&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),B&&($||!z)&&E(B,q,W,{locale:R,priority:!0,bypassPrefetchedCheck:!0},{kind:U},z)}};if((0,y.isAbsoluteUrl)(W))et.href=W;else if(!F||O||"a"===o.type&&!("href"in o.props)){var en=void 0!==R?R:null==M?void 0:M.locale,er=(null==M?void 0:M.isLocaleDomain)&&(0,w.getDomainLocale)(W,en,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);et.href=er||(0,_.addBasePath)((0,v.addLocale)(W,en,null==M?void 0:M.defaultLocale))}return F?d.default.cloneElement(o,et):(0,p.jsx)("a",i(i(i({},L),et),{},{children:n}))});("function"==typeof t.default||"object"===c(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34530:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0;t&&n&&t(n)})},e),elements:o},u.push(n),c.set(n,t),t}({root:null==n?void 0:n.current,rootMargin:r})).id,i=t.observer,(f=t.elements).set(m,e),i.observe(m),function(){if(f.delete(m),i.unobserve(m),0===f.size){i.disconnect(),c.delete(o);var e=u.findIndex(function(e){return e.root===o.root&&e.margin===o.margin});e>-1&&u.splice(e,1)}}}}else if(!p){var g=(0,a.requestIdleCallback)(function(){return d(!0)});return function(){return(0,a.cancelIdleCallback)(g)}}},[l,r,n,p,h.current]),[m,p,(0,i.useCallback)(function(){d(!1)},[])]}("function"==typeof t.default||"object"===r(t.default)&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37911:function(e,t,n){"use strict";function r(){r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function p(t,n,r,o){var i,s,c=Object.create((n&&n.prototype instanceof v?n:v).prototype);return a(c,"_invoke",{value:(i=new C(o||[]),s=h,function(n,o){if(s===m)throw Error("Generator is already running");if(s===g){if("throw"===n)throw o;return{value:e,done:!0}}for(i.method=n,i.arg=o;;){var a=i.delegate;if(a){var c=function t(n,r){var o=r.method,i=n.iterator[o];if(i===e)return r.delegate=null,"throw"===o&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+o+"' method")),y;var a=d(i,n.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var s=a.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,y)}(a,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(s===h)throw s=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);s=m;var u=d(t,r,i);if("normal"===u.type){if(s=i.done?g:"suspendedYield",u.arg===y)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(s=g,i.method="throw",i.arg=u.arg)}})}),c}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",m="executing",g="completed",y={};function v(){}function b(){}function k(){}var x={};f(x,c,function(){return this});var w=Object.getPrototypeOf,_=w&&w(w(A([])));_&&_!==n&&i.call(_,c)&&(x=_);var S=k.prototype=v.prototype=Object.create(x);function O(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){var n;a(this,"_invoke",{value:function(r,a){function s(){return new t(function(n,s){!function n(r,a,s,c){var u=d(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==o(f)&&i.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,s,c)},function(e){n("throw",e,s,c)}):t.resolve(f).then(function(e){l.value=e,s(l)},function(e){return n("throw",e,s,c)})}c(u.arg)}(r,a,n,s)})}return n=n?n.then(s,s):s()}})}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function A(t){if(t||""===t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(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 a(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});var l=n(43219),f=n(52322),p=l._(n(2784)),d=n(73053);function h(e){return m.apply(this,arguments)}function m(){var e;return e=r().mark(function e(t){var n,o,i;return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.Component,o=t.ctx,e.next=3,(0,d.loadGetInitialProps)(n,o);case 3:return i=e.sent,e.abrupt("return",{pageProps:i});case 5:case"end":return e.stop()}},e)}),(m=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var g=function(e){var t;function n(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),e=n,t=arguments,e=s(e),function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?e.apply(this,t):Reflect.construct(e,t||[],s(this).constructor))}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(n,e),t=[{key:"render",value:function(){var e=this.props,t=e.Component,n=e.pageProps;return(0,f.jsx)(t,function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,x()),function(n){var r,o,i=(n||{}).queryHook,a=void 0===i?w:i;return{$$type:"ais.searchBox",init:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(k(k({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("query",void 0)},getRenderState:function(e,t){return k(k({},e),{},{searchBox:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.helper,i=e.instantSearchInstance,s=e.state;return r||(r=function(e){a(e,function(e){return t.setQuery(e).search()})},o=function(){t.setQuery("").search()}),{query:s.query||"",refine:r,clear:o,widgetParams:n,isSearchStalled:"stalled"===i.status}},getWidgetUiState:function(e,t){var n=t.searchParameters.query||"";return""===n||e&&e.query===n?e:k(k({},e),{},{query:n})},getWidgetSearchParameters:function(e,t){var n=t.uiState;return e.setQueryParameter("query",n.query||"")}}}},S=n(47493),O=["onChange"];function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,O),a=(n={queryHook:T},(0,S.B)(_,n,void 0)),s=a.query,c=a.refine,u=a.clear,f=a.isSearchStalled,p=function(e){if(Array.isArray(e))return e}(r=(0,l.useState)(s))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(r,2)||function(e,t){if(e){if("string"==typeof e)return j(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,2)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),m=p[0],g=p[1],y=(0,l.useCallback)(function(e){var t=e.currentTarget.value;g(t),c(t)},[c]),v=(0,l.useCallback)(function(){g(""),u()},[u]);return l.createElement(d.Z,E({ref:t,isLoading:f,value:m,onChange:(0,h.N)(o,y),onClearInput:v},i))});C.displayName="InstantSearchInput";var A=n(40596),R=n(85017),I=n(61619),P=n(73645),Z=n(70758),N=n(35306),F=n(47438),L=n(5081),M=n(76635),D=n.n(M),B=n(78141),z=n.n(B),$=n(53232),U=n(91106),H=n(73183),q=n(69419);function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=n-t?r-(n-e):t}},{key:"isLastPage",value:function(){return this.currentPage===this.total-1||0===this.total}},{key:"isFirstPage",value:function(){return 0===this.currentPage}}],function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:g.Z;return y(e,ed()),function(n){var r=n||{},o=r.totalPages,i=r.padding,a=new eu({currentPage:0,total:0,padding:void 0===i?3:i}),s={};return{$$type:"ais.pagination",init:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(ep(ep({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var n=e.state;return t(),n.setQueryParameter("page",void 0)},getWidgetUiState:function(e,t){var n=t.searchParameters.page||0;return n?ep(ep({},e),{},{page:n+1}):e},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=n.page?n.page-1:0;return e.setQueryParameter("page",r)},getWidgetRenderState:function(e){var t,r=e.results,i=e.helper,c=e.state,u=e.createURL;s.refine||(s.refine=function(e){i.setPage(e),i.search()}),s.createURL||(s.createURL=function(e){return u(function(t){return ep(ep({},t),{},{page:e+1})})});var l=c.page||0,f=(t=(r||{nbPages:0}).nbPages,void 0!==o?Math.min(o,t):t);return a.currentPage=l,a.total=f,{createURL:s.createURL,refine:s.refine,canRefine:f>1,currentRefinement:l,nbHits:(null==r?void 0:r.nbHits)||0,nbPages:f,pages:r?a.pages():[],isFirstPage:a.isFirstPage(),isLastPage:a.isLastPage(),widgetParams:n}},getRenderState:function(e,t){return ep(ep({},e),{},{pagination:this.getWidgetRenderState(t)})}}}};function em(){return(em=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},x=k.catchError,w=(0,$.z)(),_=(e=(0,$.z)(),n=(t=(0,q.a)()).getIndexId(),o=(r=V((0,l.useState)(function(){return e.getUiState()}),2))[0],i=r[1],a=o[n],c=(s=V((0,l.useState)(function(){return e.renderState}),2))[0],u=s[1],f=c[n]||{},p=(0,l.useCallback)(function(t){e.setUiState(t)},[e]),d=(0,l.useCallback)(function(e){t.setIndexUiState(e)},[t]),(0,l.useEffect)(function(){function t(){i(e.getUiState()),u(e.renderState)}return e.addListener("render",t),function(){e.removeListener("render",t)}},[e]),{uiState:o,setUiState:p,indexUiState:a,setIndexUiState:d,renderState:c,indexRenderState:f}),S=_.uiState,O=_.setUiState,E=_.indexUiState,j=_.setIndexUiState,T=_.renderState,C=_.indexRenderState,A=(h=(0,$.z)(),m=(0,q.a)(),v=(y=function(e){if(Array.isArray(e))return e}(g=(0,l.useState)(function(){return(0,H.E)(m)}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(g,2)||function(e,t){if(e){if("string"==typeof e)return W(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(e,2)}}(g,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],b=y[1],(0,l.useEffect)(function(){function e(){var e=m.getResults();null!==e&&b({results:e,scopedResults:m.getScopedResults()})}return h.addListener("render",e),function(){h.removeListener("render",e)}},[h,m]),v),R=A.results,I=A.scopedResults,P=(0,l.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n0&&0===i.nbHits)return l.createElement(I.Z,{spacing:"4x",py:"10x"},l.createElement(Z.Z,{textAlign:"center"},'No results found for "',i.query,'"'));var p=Object.entries(D().chain(i.hits).orderBy("data.title").groupBy("parent.title").value());return l.createElement(l.Fragment,null,l.createElement(I.Z,{flex:"1",px:"3x",py:"2x",overflowY:"auto"},p.map(function(e){var n=ey(e,2),o=n[0],i=n[1];return l.createElement(c.Z,{key:o},l.createElement(c.Z,{my:"2x"},l.createElement(Z.Z,{color:r.color.secondary},o)),(0,L.rY)(i).map(function(e){var n,r,i,a,s,f=null===(n=D().find(Q._,{title:o}))||void 0===n?void 0:n.icon,p=(0,L.rY)(null==e?void 0:null===(r=e._highlightResult)||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:null===(a=i.title)||void 0===a?void 0:a.matchedWords),d=(0,L.Zs)(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.title);return l.createElement(c.Z,{key:e.objectID},l.createElement(en,{href:"/".concat(e.data.path),onClick:function(){t(e)}},f&&l.createElement(f,{size:"6x"}),l.createElement(z(),{searchWords:p,highlightTag:"mark",textToHighlight:d,highlightStyle:{backgroundColor:"rgba(0, 116, 255, 0.8)",color:"rgba(255, 255, 255, .92)"}})),l.createElement(u.Z,{my:"2x"}))}))})),i.nbPages>1&&l.createElement(l.Fragment,null,l.createElement(u.Z,null),l.createElement(P.Z,{my:"3x",justifyContent:"center"},l.createElement(eg,null))))};eb.displayName="InstantSearchRefinementList";var ek=["onClose"];function ex(){return(ex=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ek),h=(0,o.u)(),m=(0,f.Z)();return l.createElement(i.Z,ex({ref:t,autoFocus:!0,ensureFocus:!0,closeOnEsc:!0,closeOnOutsideClick:!0,isOpen:!0,onClose:n,size:"md"},d),l.createElement(r.xB,{styles:ew}),l.createElement(a.Z,null),l.createElement(s.Z,{marginTop:"12x",maxHeight:"calc(100vh - ".concat(null==h?void 0:h.space["12x"]," - ").concat(null==h?void 0:h.space["12x"],")"),minHeight:null},l.createElement(c.Z,{p:"4x"},l.createElement(C,{size:"lg",placeholder:"Search...",onChange:function(e){m("InstantSearch","change_search_input",e.target.value)}})),l.createElement(u.Z,null),l.createElement(eb,{onChange:function(e){var t=(null==e?void 0:null===(o=e.parent)||void 0===o?void 0:o.title)||"",r=(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.title)||"";if(m("InstantSearch","click_search_result",(0,p.Z)({path:"/".concat(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.path),title:[t,r].join(" > ")})),t){var o,i,a,s,c=document.querySelector("#sidenav button[data-title=".concat((0,p.Z)(t),"]"));if((null==c?void 0:null===(s=c.dataset)||void 0===s?void 0:s.expanded)==="false"){var u=new MouseEvent("click",{bubbles:!0,cancelable:!0});c.dispatchEvent(u)}}n()}})))});e_.displayName="InstantSearchModal";var eS=e_},44525:function(e,t,n){"use strict";var r=n(40596),o=n(85017),i=n(83513),a=n(73645),s=n(70758),c=n(21407),u=n(2784),l=["children"];function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,l),h=p((0,r.Z)(),1)[0],m=p((0,o.Z)({colorMode:h}),1)[0];return u.createElement(i.Z,f({ref:t,display:"flex",alignItems:"center",justifyContent:"space-between",color:m.color.primary,border:1,borderColor:{dark:"gray:60",light:"gray:30"}[h],borderRadius:"sm",_focus:{borderColor:{dark:"blue:60",light:"blue:60"}[h]},_hover:{borderColor:{dark:"blue:50",light:"blue:50"}[h]},fontSize:"sm",lineHeight:"sm",px:"3x",height:"8x",minWidth:{sm:34,md:200},transition:"min-width 0.2s"},d),u.createElement(a.Z,{alignItems:"center",columnGap:"2x"},u.createElement(c.Z,null),u.createElement(s.Z,{display:{sm:"none",md:"block"},color:m.color.secondary},n)))});h.displayName="SearchButton",t.Z=h},92011:function(e,t,n){"use strict";n.d(t,{_:function(){return b}});var r=n(70758),o=n(99870),i=n(4409),a=n(57805),s=n(91112),c=n(34323),u=n(95530),l=n(44152),f=n(37384),p=n(18247),d=n(85409),h=n(84668),m=n(30047),g=n(2784);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}},n=t.fallback;return"undefined"==typeof window?n():e({window:window})}var T=n(53449);function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(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 R(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,n=e.insightsInitParams,r=e.onEvent,o=e.$$internal,i=void 0!==o&&o,a=e.$$automatic,s=void 0!==a&&a,c=t;t||null===t||j(function(e){var t=e.window,n=t.AlgoliaAnalyticsObject||"aa";"string"==typeof n&&(c=t[n]),c||(t.AlgoliaAnalyticsObject=n,t[n]||(t[n]=function(){t[n].queue||(t[n].queue=[]);for(var e=arguments.length,r=Array(e),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=D(e);if(n){var r=o.state.userToken;t?i():setTimeout(i,0)}function i(){o.overrideStateWithoutTriggeringChangeEvent(R(R({},o.state),{},{userToken:n})),r&&r!==e&&a.scheduleSearch()}},n=function(e){if(("undefined"==typeof document?"undefined":E(document))==="object"&&"string"==typeof document.cookie)for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r=3||2===n&&r>=6||1===n&&r>=10}function D(e){if(e)return"number"==typeof e?e.toString():e}function B(e,t,n){var r=t.getHelper();return{uiState:n,helper:r,parent:t,instantSearchInstance:e,state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function z(e,t){var n=t.getResults(),r=t.getHelper();return{helper:r,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n?n._state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}var $=n(19126);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t,n){return(t=q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e){var t=function(e,t){if("object"!==U(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==U(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===U(t)?t:String(t)}var W=function(e){e&&(window.document.title=e)},V=function(){var e;function t(e){var n=this,r=e.windowTitle,o=e.writeDelay,i=e.createURL,a=e.parseURL,s=e.getLocation,c=e.start,u=e.dispose,l=e.push,f=e.cleanUrlOnDispose;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),H(this,"$$type","ais.browser"),H(this,"windowTitle",void 0),H(this,"writeDelay",void 0),H(this,"_createURL",void 0),H(this,"parseURL",void 0),H(this,"getLocation",void 0),H(this,"writeTimer",void 0),H(this,"_onPopState",void 0),H(this,"inPopState",!1),H(this,"isDisposed",!1),H(this,"latestAcknowledgedHistory",0),H(this,"_start",void 0),H(this,"_dispose",void 0),H(this,"_push",void 0),H(this,"_cleanUrlOnDispose",void 0),this.windowTitle=r,this.writeTimer=void 0,this.writeDelay=void 0===o?400:o,this._createURL=i,this.parseURL=a,this.getLocation=s,this._start=c,this._dispose=u,this._push=l,this._cleanUrlOnDispose=void 0===f||f,j(function(e){var t=e.window;W(n.windowTitle&&n.windowTitle(n.read())),n.latestAcknowledgedHistory=t.history.length})}return e=[{key:"read",value:function(){return this.parseURL({qsModule:$,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;j(function(n){var r=n.window,o=t.createURL(e),i=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){W(i),t.shouldWrite(o)&&(t._push?t._push(o):r.history.pushState(e,i||"",o),t.latestAcknowledgedHistory=r.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},j(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:$,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,j(function(t){var n=t.window;e._onPopState&&n.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return j(function(n){var r=n.window,o=!(t.isDisposed&&t.latestAcknowledgedHistory!==r.history.length);return!t.inPopState&&o&&e!==r.location.href})}}],function(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Q)}function ee(e){return e!==Object(e)}function et(e){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function en(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 er(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,n=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,n=void 0===t?function(e){var t=e.qsModule,n=e.routeState,r=e.location,o=r.protocol,i=r.hostname,a=r.port,s=void 0===a?"":a,c=r.pathname,u=r.hash,l=t.stringify(n),f=""===s?"":":".concat(s);return l?"".concat(o,"//").concat(i).concat(f).concat(c,"?").concat(l).concat(u):"".concat(o,"//").concat(i).concat(f).concat(c).concat(u)}:t,r=e.parseURL,o=e.writeDelay,i=e.windowTitle,a=e.getLocation;return new V({createURL:n,parseURL:void 0===r?function(e){var t=e.qsModule,n=e.location;return t.parse(n.search.slice(1),{arrayLimit:99})}:r,writeDelay:void 0===o?400:o,windowTitle:i,getLocation:void 0===a?function(){return j(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:a,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():t,r=e.stateMapping,o=void 0===r?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,n){return Y(Y({},t),{},X({},n,J(e[n])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){return Y(Y({},t),{},X({},n,J(e[n])))},{})}}:r,i=e.$$internal,a=void 0!==i&&i;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var r=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),i=Object.keys(e).reduce(function(t,n){return er(er({},t),{},eo({},n,e[n]))},r),a=o.stateToRoute(i);return n.createURL(a)};var r=void 0,i=t._initialUiState;return{$$type:"ais.router({router:".concat(n.$$type||"__unknown__",", stateMapping:").concat(o.$$type||"__unknown__","})"),$$internal:a,onStateChange:function(e){var t=e.uiState,i=o.stateToRoute(t);(void 0===r||!function e(t,n){if(t===n)return!0;if(ee(t)||ee(n)||"function"==typeof t||"function"==typeof n)return t===n;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r=0,o=Object.keys(t);r0&&t.setUiState(o.routeToState(e))})},started:function(){var e;null===(e=n.start)||void 0===e||e.call(n)},unsubscribe:function(){n.dispose()}}}},ea=n(20303);function es(e){return"ais.index"===e.$$type}function ec(e){return(ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var eu=["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"];function el(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 ef(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eu);return e.setQueryParameters(n)},ed=function(e,t){var n=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,n){return n.indexOf(e)===t});return n.length>0?e.setQueryParameters({ruleContexts:n}):e},eh=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,n){return!es(n)&&(n.getWidgetUiState||n.getWidgetState)?n.getWidgetUiState?n.getWidgetUiState(e,t):n.getWidgetState(e,t):e},n)}function eO(e,t){var n=t.initialSearchParameters,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,eg);return e.filter(function(e){return!es(e)}).reduce(function(e,t){return t.getWidgetSearchParameters?t.getWidgetSearchParameters(e,r):e},n)}var eE=function(e){if(void 0===e||void 0===e.indexName)throw Error(ew("The `indexName` option is required."));var t=e.indexName,n=e.indexId,r=void 0===n?t:n,o=[],i={},a=null,s=null,c=null,u=null,l=null;return{$$type:"ais.index",$$widgetType:"ais.index",getIndexName:function(){return t},getIndexId:function(){return r},getHelper:function(){return c},getResults:function(){var e;return null!==(e=u)&&void 0!==e&&e.lastResults?(u.lastResults._state=c.state,u.lastResults):null},getPreviousState:function(){return l},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(es).reduce(function(t,n){return t.concat.apply(t,[{indexId:n.getIndexId(),results:n.getResults(),helper:n.getHelper()}].concat(ek(e(n.getWidgets()))))},[])}(e?e.getWidgets():[this])},getParent:function(){return s},createURL:function(e){return"function"==typeof e?a._createURL(eb({},r,e(i))):a._createURL(eb({},r,eS(o,{searchParameters:e,helper:c})))},getWidgets:function(){return o},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(ew("The `addWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(ew("The widget definition expects a `render` and/or an `init` method."));return o=o.concat(e),a&&e.length&&(e_(c,{state:eO(o,{uiState:i,initialSearchParameters:c.state}),_uiState:i}),e.forEach(function(e){e.getRenderState&&ej({renderState:e.getRenderState(a.renderState[t.getIndexId()]||{},B(a,t,a._initialUiState)),instantSearchInstance:a,parent:t})}),e.forEach(function(e){e.init&&e.init(B(a,t,a._initialUiState))}),a.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(ew("The `removeWidgets` method expects an array of widgets."));if(e.some(function(e){return"function"!=typeof e.dispose}))throw Error(ew("The widget definition expects a `dispose` method."));if(o=o.filter(function(t){return -1===e.indexOf(t)}),a&&e.length){var n=e.reduce(function(e,n){return n.dispose({helper:c,state:e,parent:t})||e},c.state),r=a.future.preserveSharedStateOnUnmount?eO(o,{uiState:i,initialSearchParameters:new O.SearchParameters({index:this.getIndexName()})}):eO(o,{uiState:eS(o,{searchParameters:n,helper:c}),initialSearchParameters:n});i=eS(o,{searchParameters:r,helper:c}),c.setState(r),o.length&&a.scheduleSearch()}return this},init:function(e){var n,f=this,p=e.instantSearchInstance,d=e.parent,h=e.uiState;if(null===c){a=p,s=d,i=h[r]||{};var m=p.mainHelper,g=eO(o,{uiState:i,initialSearchParameters:new O.SearchParameters({index:t})});(c=O({},g.index,g)).search=function(){return p.onStateChange?(p.onStateChange({uiState:p.mainIndex.getWidgetUiState({}),setUiState:function(e){return p.setUiState(e,!1)}}),m):m.search()},c.searchWithoutTriggeringOnStateChange=function(){return m.search()},c.searchForFacetValues=function(e,t,n,r){var o=c.state.setQueryParameters(r);return m.searchForFacetValues(e,t,n,o)},u=m.derive(function(){return eh.apply(void 0,[m.state].concat(ek(function(e){for(var t=e.getParent(),n=[e.getHelper().state];null!==t;)n=[t.getHelper().state].concat(n),t=t.getParent();return n}(f))))});var y=null===(n=p._initialResults)||void 0===n?void 0:n[this.getIndexId()];if(y){var v=new O.SearchResults(new O.SearchParameters(y.state),y.results);u.lastResults=v,c.lastResults=v}c.on("change",function(e){e.isPageReset&&function e(t){var n=t.filter(es);0!==n.length&&n.forEach(function(t){var n=t.getHelper();e_(n,{state:n.state.resetPage(),isPageReset:!0}),e(t.getWidgets())})}(o)}),u.on("search",function(){p.scheduleStalledRender()}),u.on("result",function(e){var t=e.results;p.scheduleRender(),c.lastResults=t,l=null==t?void 0:t._state}),o.forEach(function(e){e.getRenderState&&ej({renderState:e.getRenderState(p.renderState[f.getIndexId()]||{},B(p,f,h)),instantSearchInstance:p,parent:f})}),o.forEach(function(e){e.init&&e.init(B(p,f,h))}),c.on("change",function(e){var t=e.state,n=e._uiState;i=eS(o,{searchParameters:t,helper:c},n||{}),p.onStateChange||p.onInternalStateChange()}),y&&p.scheduleRender()}},render:function(e){var t=this,n=e.instantSearchInstance;"error"===n.status&&!n.mainHelper.hasPendingRequests()&&l&&c.setState(l);var r=this.getResults()?o:o.filter(es);r.forEach(function(e){e.getRenderState&&ej({renderState:e.getRenderState(n.renderState[t.getIndexId()]||{},z(n,t)),instantSearchInstance:n,parent:t})}),r.forEach(function(e){e.render&&e.render(z(n,t))})},dispose:function(){var e,t,n=this;o.forEach(function(e){e.dispose&&e.dispose({helper:c,state:c.state,parent:n})}),a=null,s=null,null===(e=c)||void 0===e||e.removeAllListeners(),c=null,null===(t=u)||void 0===t||t.detach(),u=null},getWidgetUiState:function(e){return o.filter(es).reduce(function(e,t){return t.getWidgetUiState(e)},ev(ev({},e),{},eb({},r,ev(ev({},e[r]),i))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var n=t.uiState;return eO(o,{uiState:n,initialSearchParameters:e})},refreshUiState:function(){i=eS(o,{searchParameters:this.getHelper().state,helper:this.getHelper()},i)},setIndexUiState:function(e){var t="function"==typeof e?e(i):e;a.setUiState(function(e){return ev(ev({},e),{},eb({},r,t))})}}};function ej(e){var t=e.renderState,n=e.instantSearchInstance,r=e.parent,o=r?r.getIndexId():n.mainIndex.getIndexId();n.renderState=ev(ev({},n.renderState),{},eb({},o,ev(ev({},n.renderState[o]),t)))}var eT=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.descendantName,r=t.modifierName;return"".concat("ais","-").concat(e).concat(n?"-".concat(n):"").concat(r?"--".concat(r):"")}};function eC(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}var eA="",eR="",eI=eT("Highlight");function eP(e){return e.map(function(e){return e.isHighlighted?eA+e.value+eR:e.value}).join("")}RegExp(/[&<>"']/g.source);var eZ={"&":"&","<":"<",">":">",""":'"',"'":"'"},eN=/&(amp|quot|lt|gt|#39);/g,eF=RegExp(eN.source),eL=new RegExp(/\w/i);function eM(e){return(eM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eD(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 eB(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?t-1:0),r=1;r0)||void 0===arguments[0]||arguments[0];!(null!==(e=t.mainHelper)&&void 0!==e&&e.hasPendingRequests())&&(clearTimeout(t._searchStalledTimer),t._searchStalledTimer=null,n&&(t.status="idle",t.error=void 0)),t.mainIndex.render({instantSearchInstance:e7(t)}),t.emit("render")})),tt(e7(t),"onInternalStateChange",eY(function(){var e=t.mainIndex.getWidgetUiState({});t.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),t.setMaxListeners(100);var t,n=e.indexName,i=void 0===n?"":n,a=e.numberLocale,s=e.initialUiState,c=e.routing,u=void 0===c?null:c,l=e.insights,f=void 0===l?void 0:l,p=e.searchFunction,d=e.stalledSearchDelay,h=e.searchClient,m=void 0===h?null:h,g=e.insightsClient,y=void 0===g?null:g,v=e.onStateChange,b=e.future,k=void 0===b?e4(e4({},ti),e.future||{}):b;if(null===m)throw Error(tr("The `searchClient` option is required."));if("function"!=typeof m.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof m.addAlgoliaAgent&&m.addAlgoliaAgent("instantsearch.js (".concat("4.66.0",")")),y&&"function"!=typeof y)throw Error(tr("The `insightsClient` option should be a function."));if(t.client=m,t.future=k,t.insightsClient=y,t.indexName=i,t.helper=null,t.mainHelper=null,t.mainIndex=eE({indexName:i}),t.onStateChange=void 0===v?null:v,t.started=!1,t.templatesConfig={helpers:{formatNumber:function(e,t){return Number(t(e)).toLocaleString(a)},highlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._highlightResult,r)||{}).value,l=eI({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._highlightResult,r)||{}).value,l=eU({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),eP(ez(e$(void 0===u?"":u))).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._snippetResult,r)||{}).value,l=eH({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),(void 0===u?"":u).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var n,r,o,i,a,s,c,u,l,f=JSON.parse(e);return t((r=(n=eQ(eQ({},f),{},{hit:this})).attribute,o=n.highlightedTagName,i=void 0===o?"mark":o,a=n.hit,s=n.cssClasses,c=void 0===s?{}:s,u=(eC(a._snippetResult,r)||{}).value,l=eq({descendantName:"highlighted"})+(c.highlighted?" ".concat(c.highlighted):""),eP(ez(e$(void 0===u?"":u))).replace(RegExp(eA,"g"),"<".concat(i,' class="').concat(l,'">')).replace(RegExp(eR,"g"),""))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var n,r=JSON.parse(e),o=r.method,i=r.payload;return t((n=eQ({objectIDs:[this.objectID]},i),function(e){var t,n=e.method,r=e.payload;if("object"!==eW(r))throw Error("The insights helper expects the payload to be an object.");try{t=btoa(encodeURIComponent(JSON.stringify(r)))}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(n,'" data-insights-payload="').concat(t,'"')}({method:o,payload:n})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},t._stalledSearchDelay=void 0===d?200:d,t._searchStalledTimer=null,t._createURL=to,t._initialUiState=void 0===s?{}:s,t._initialResults=null,t._insights=f,p&&(t._searchFunction=p),t.sendEventToInsights=T.Z,u){var x="boolean"==typeof u?{}:u;x.$$internal=!0,t.use(ei(x))}if(f){var w="boolean"==typeof f?{}:f;w.$$internal=!0,t.use(L(w))}return j(function(e){var t,n;return(null===(t=e.window.navigator)||void 0===t?void 0:null===(n=t.userAgent)||void 0===n?void 0:n.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&t.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,n=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,r={widgets:[]},o=document.createElement("meta"),i=document.querySelector("head");return o.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:n,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e=t.client;r.ua=e.transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,n,r){var o=B(n,n.mainIndex,n._initialUiState);t.forEach(function(t){var i={};if(t.getWidgetRenderState){var a=t.getWidgetRenderState(o);a&&a.widgetParams&&(i=a.widgetParams)}var s=Object.keys(i).filter(function(e){return void 0!==i[e]});r.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),"ais.index"===t.$$type&&e(t.getWidgets(),n,r)})}(t.mainIndex.getWidgets(),t,r),t.middleware.forEach(function(e){return r.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),o.content=JSON.stringify(r),i.appendChild(o)},0)},started:function(){},unsubscribe:function(){o.remove()}}}}({$$internal:!0})),t}return n=[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r1?n-1:0),i=1;i0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use(L({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null===(e=this.mainHelper)||void 0===e||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(tr("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var r="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&n?this.onStateChange({uiState:r,setUiState:function(e){e5("function"==typeof e?e(r):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(e5(r,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(tr("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(tr("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}],function(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,tx));return n.started?x.createElement(_.Z.Provider,{value:n},x.createElement(w.Z.Provider,{value:n.mainIndex},t)):null}function t_(e){return(t_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tS(e){return(tS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tO(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 tE(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:T.Z,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.Z;return function(n){if(!n||!function(e){if(!("object"===t_(e)&&null!==e)||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(n.searchParameters))throw Error(tT("The `searchParameters` option expects an object."));var r={};return{$$type:"ais.configure",init:function(t){var n=t.instantSearchInstance;e(tE(tE({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e(tE(tE({},this.getWidgetRenderState(t)),{},{instantSearchInstance:n}),!1)},dispose:function(e){var r=e.state;return t(),tC(r,n)},getRenderState:function(e,t){var n,r=this.getWidgetRenderState(t);return tE(tE({},e),{},{configure:tE(tE({},r),{},{widgetParams:tE(tE({},r.widgetParams),{},{searchParameters:eh(new O.SearchParameters(null===(n=e.configure)||void 0===n?void 0:n.widgetParams.searchParameters),new O.SearchParameters(r.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return r.refine||(r.refine=function(e){var r=eh(tC(t.state,n),new O.SearchParameters(e));n.searchParameters=e,t.setState(r).search()}),{refine:r.refine,widgetParams:n}},getWidgetSearchParameters:function(e,t){var r=t.uiState;return eh(e,new O.SearchParameters(tE(tE({},r.configure),n.searchParameters)))},getWidgetUiState:function(e){return tE(tE({},e),{},{configure:tE(tE({},e.configure),n.searchParameters)})}}}},tR=n(47493);function tI(e){var t;return t={$$widgetType:"ais.configure"},(0,tR.B)(tA,{searchParameters:e},t),null}var tP=n(28165),tZ=n(40596),tN=n(85017);function tF(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tL(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ne),a=nn((0,tZ.Z)(),2),s=a[0],c=a[1],u=nn((0,tN.Z)({colorMode:s}),1)[0],l=(0,tD.Z)(),p=(0,t3.Z)(),d=na||"",h=(0,x.useCallback)(function(){l(function(e){return x.createElement(t7.Z,{onClose:function(){p("InstantSearch","close_instant_search_modal"),e()}})})},[l,p]),m=function(){(0,t6.b)({title:"Tonic UI"})};(0,x.useEffect)(function(){(0,t4.Z)(s)},[s]);var g={light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[s],y={light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[s],v={dark:"blue:60",light:"blue:60"}[s];return x.createElement(f.Z,nt({as:"header",ref:t,position:"fixed",top:0,zIndex:"fixed",height:"12x",width:"100%",backdropFilter:"blur(20px)",backgroundColor:u.background.primary,boxShadow:"0px -1px 1px inset ".concat(y)},i),x.createElement(f.Z,{display:"flex",position:"relative",height:"100%",alignItems:"center",justifyContent:"space-between"},x.createElement(f.Z,null,x.createElement(f.Z,{display:{sm:"block",lg:"none"}},x.createElement(f.Z,{display:"flex",flex:"auto",mx:"4x"},x.createElement(tB.Z,{variant:"secondary",onClick:o},x.createElement(tX.Z,null)))),x.createElement(f.Z,{display:{sm:"none",lg:"block"}},x.createElement(t2(),{href:"/",legacyBehavior:!0,passHref:!0},x.createElement(tz.Z,{"data-track":"Header|click_landing_page",color:u.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:u.color.emphasis},_hover:{color:u.color.emphasis},_visited:{color:u.color.primary}},x.createElement(t$.Z,{alignItems:"center",columnGap:"2x"},x.createElement(tU.Z,{alt:"",src:"".concat(no,"/images/").concat(g),height:"8x"}),x.createElement(tH.Z,null,"Tonic UI"),x.createElement("sup",null,na)))))),x.createElement(f.Z,{display:"flex",flex:"none",width:"auto",alignItems:"center",columnGap:"4x",px:"4x"},x.createElement(t9.Z,{"data-track":"InstantSearch|open_instant_search_modal",onClick:h},"Search..."),x.createElement(f.Z,{display:"flex",flex:"none"},x.createElement(tq.Z,{onOpen:function(){p("Header","open_version_menu")},onClose:function(){p("Header","close_version_menu")}},x.createElement(tW.Z,{variant:"secondary",minWidth:100},null!==(n=null===(r=ns[d])||void 0===r?void 0:r.label)&&void 0!==n?n:d),x.createElement(tV.Z,null,Object.entries(ns).map(function(e){var t=nn(e,2),n=t[0],r=t[1];return x.createElement(tK.Z,{"data-track":"Header|click_version_menu_item|".concat(null==r?void 0:r.label),key:n,as:"a",href:null==r?void 0:r.url,whiteSpace:"nowrap"},n===d?x.createElement(x.Fragment,null,null==r?void 0:r.label,x.createElement(tQ.Z,{width:"2x"}),"✓"):null==r?void 0:r.label)}),x.createElement(tG.Z,null),x.createElement(tK.Z,{"data-track":"Header|click_version_menu_item|View all versions",as:"a",href:"".concat(no,"/getting-started/versions"),whiteSpace:"nowrap"},"View all versions")))),x.createElement(tY.Z,{"data-track":"Header|click_codesandbox",onClick:function(){return m()},title:"Open in CodeSandbox",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:u.color.secondary,width:"8x",height:"8x",_hover:{color:u.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},x.createElement(t5.Z,{size:"6x"})),x.createElement(tY.Z,{"data-track":"Header|click_toggle_color_mode|".concat("light"===s?"dark":"light"),onClick:function(){return c()},title:"Toggle color mode",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:u.color.secondary,width:"8x",height:"8x",_hover:{color:u.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},"light"===s&&x.createElement(tJ.Z,{size:"6x"}),"dark"===s&&x.createElement(t1.Z,{size:"6x"})),x.createElement(tY.Z,{"data-track":"Header|click_github_repo_url|".concat(ni),onClick:function(){return window.open(ni,"_blank")},title:"GitHub repository",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:u.color.secondary,width:"8x",height:"8x",_hover:{color:u.color.primary,cursor:"pointer"},_focusVisible:{outlineColor:v,outlineStyle:"solid",outlineWidth:"1h"}}},x.createElement(t8.Z,{size:"6x"})))))});nc.displayName="Header";var nu=n(78366),nl=n(72448),nf=n(65245),np=n(89658),nd=["align"],nh=["align"],nm=["children"];function ng(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ny(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nv(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n div":{marginBottom:0}}},e))},ul:function(e){return x.createElement(f.Z,nb({as:"ul",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},ol:function(e){return x.createElement(f.Z,nb({as:"ol",fontSize:"md",lineHeight:"lg",mt:0,mb:"4x",pl:"6x"},e))},li:function(e){return x.createElement(f.Z,nb({as:"li",mt:"1x",mb:"2x"},e))},table:function(e){return x.createElement(f.Z,nb({as:"table",mt:0,mb:"4x",fontSize:"md",lineHeight:"lg",borderCollapse:"collapse",borderSpacing:0,width:"100%"},e))},thead:function(e){return x.createElement(f.Z,nb({as:"thead",verticalAlign:"middle",borderColor:"inherit"},e))},tbody:function(e){return x.createElement(f.Z,nb({as:"tbody",verticalAlign:"middle",borderColor:"inherit"},e))},tr:function(e){return x.createElement(f.Z,nb({as:"tr"},e))},th:function(e){var t=e.align,n=ng(e,nd),r=ny((0,tZ.Z)(),1)[0];return x.createElement(f.Z,nb({as:"th",px:"3x",py:"2x",fontWeight:"semibold",whiteSpace:"nowrap",border:1,borderBottom:2,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},td:function(e){var t=e.align,n=ng(e,nh),r=ny((0,tZ.Z)(),1)[0];return x.createElement(f.Z,nb({as:"td",px:"3x",py:"2x",border:1,borderColor:{light:"gray:40",dark:"gray:70"}[r],textAlign:t},n))},pre:function(e){var t,n,r=e.children;ng(e,nm);var i=(0,o.u)(),a=ny((0,tZ.Z)(),1)[0],s={dark:np.y,light:np.q}[a],c=(0,x.isValidElement)(r)?(0,y.Zs)(null==r?void 0:null===(t=r.props)||void 0===t?void 0:t.children).trimEnd():(0,y.Zs)(r).trimEnd(),u=(0,x.isValidElement)(r)?(0,y.Zs)(r.props.className).replace(/language-/,""):"";return x.createElement(nf.nu,{code:c,disabled:!0,language:u,theme:s},x.createElement(f.Z,{as:nf.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==i?void 0:null===(n=i.space)||void 0===n?void 0:n["4x"]," !important"),overflowX:"auto"}}}))},code:function(e){return x.createElement(nu.Z,nb({as:"code"},e))},hr:function(e){return x.createElement(nl.Z,nb({as:"hr",my:"2x"},e))},a:function(e){return x.createElement(tz.Z,nb({as:"a"},e))},img:tU.Z},nx=["children"];function nw(){return(nw=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nx),i=(function(e){if(Array.isArray(e))return e}(n=(0,tZ.Z)())||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),1!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(n,1)||function(e,t){if(e){if("string"==typeof e)return n_(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n_(e,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return x.createElement(f.Z,nw({as:"main",id:"main",ref:t,backgroundColor:{light:"white",dark:"gray:100"}[i]},o),r)});nS.displayName="Main";var nO=n(76013),nE=n(79036),nj=n(80508),nT=n(90094),nC=n(25619),nA=n(20325),nR=n(97198),nI=n(92011),nP=n(27899),nZ=n(4779),nN=["href","isActive"];function nF(){return(nF=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nN),i=nL((0,tZ.Z)(),1)[0],a=nL((0,tN.Z)({colorMode:i}),1)[0],s=a.color.secondary,c=a.color.primary,u=a.color.emphasis;return x.createElement(t2(),{href:n,legacyBehavior:!0,passHref:!0},x.createElement(f.Z,nF({ref:t,as:"a",color:s,display:"flex",px:"4x",py:"2x",fontSize:"sm",textDecoration:"none","aria-selected":!!r,_active:{backgroundColor:{light:"rgba(0, 0, 0, 0.1)",dark:"rgba(255, 255, 255, 0.1)"}[i],color:c},_focusVisible:{outlineColor:{dark:"blue:60",light:"blue:60"}[i],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:{light:"rgba(0, 0, 0, 0.12)",dark:"rgba(255, 255, 255, 0.12)"}[i]},_selected:{backgroundColor:{light:"rgba(0, 0, 0, 0.08)",dark:"rgba(255, 255, 255, 0.08)"}[i],color:u}},o)))});nD.displayName="NavLink";var nB=["children","onClick","onClose"];function nz(){return(nz=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0&&(null==t?void 0:t.left)>=0&&(null==t?void 0:t.bottom)<=(window.innerHeight||document.documentElement.clientHeight)&&(null==t?void 0:t.right)<=(window.innerWidth||document.documentElement.clientWidth)},nq=(0,y.Zs)("/tonic-ui/react/v2"),nW=(0,x.forwardRef)(function(e,t){var n=e.children,r=e.onClick,o=e.onClose,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nB),a=n$((0,tZ.Z)(),1)[0],s=n$((0,tN.Z)({colorMode:a}),1)[0],c=(0,x.useRef)(),u=(0,nA.Z)(c,t),l=(0,k.useRouter)(),p=(0,y.Zs)(l.pathname).slice(1);return(0,x.useEffect)(function(){var e=c.current.querySelector('[data-path="'.concat(p,'"]'));e&&!nH(e)&&e.scrollIntoView({behavior:"auto",block:"center"})},[p]),x.createElement(f.Z,nz({as:"nav",id:"sidenav",ref:u,backgroundColor:s.background.primary,borderRight:1,borderRightColor:{light:"gray:20",dark:"gray:70"}[a],pt:{sm:0,lg:"4x"},pb:"4x"},i),x.createElement(f.Z,{display:{sm:"block",lg:"none"}},x.createElement(t$.Z,{alignItems:"center",justifyContent:"space-between",mb:"4x"},x.createElement(t2(),{href:"/",legacyBehavior:!0,passHref:!0},x.createElement(tz.Z,{background:"transparent",color:s.color.primary,fontSize:"xl",lineHeight:"lg",outline:"none",px:"4x",py:"2x",textDecoration:"none",_active:{color:s.color.emphasis},_hover:{color:s.color.emphasis},_visited:{color:s.color.primary}},x.createElement(tU.Z,{alt:"",src:"".concat(nq,"/images/").concat({light:"tonic-logo-light.svg",dark:"tonic-logo-dark.svg"}[a]),height:"8x",marginRight:"2x"}),x.createElement(tH.Z,null,"Tonic UI"))),x.createElement(f.Z,{px:"2x"},x.createElement(nZ.Z,{onClick:o},x.createElement(nR.Z,null))))),x.createElement(nO.Z,null,nI._.map(function(e){var t=e.title,n=e.icon,o=e.routes,i=o.some(function(e){return!!e.path&&(p.startsWith(e.path)||e.path===p)});return x.createElement(f.Z,{key:t},x.createElement(nE.Z,{key:i,defaultIsExpanded:i},function(e){var i,a,c=e.isExpanded;return x.createElement(x.Fragment,null,x.createElement(nj.Z,{"data-track":c?"SideMenu|close_menu_section|".concat((0,nP.Z)({title:t})):"SideMenu|open_menu_section|".concat((0,nP.Z)({title:t})),"data-expanded":c,"data-title":t},x.createElement(t$.Z,{alignItems:"center",justifyContent:"space-between",py:"2x",px:"3x",_hover:{backgroundColor:s.background.highlighted}},x.createElement(t$.Z,{alignItems:"center",columnGap:"2x"},"function"==typeof n&&n({color:null==s?void 0:null===(i=s.color)||void 0===i?void 0:i.tertiary,size:"4x"}),x.createElement(tH.Z,{color:null==s?void 0:null===(a=s.color)||void 0===a?void 0:a.primary,fontSize:"sm",lineHeight:"sm"},t)),x.createElement(nT.Z,null))),x.createElement(nC.Z,{TransitionProps:{unmountOnExit:!0}},o.map(function(e){var n,o=e.heading,i=e.title,a=e.path,c=e.render;if(o)return x.createElement(tH.Z,{key:"".concat(t," > ").concat(i),color:null==s?void 0:null===(n=s.color)||void 0===n?void 0:n.tertiary,fontSize:"xs",lineHeight:"xs",pl:"9x",mt:"4x",mb:"2x",textTransform:"uppercase",letterSpacing:"0.08rem",_firstOfType:{mt:"2x"}},i);var u=p===a,l="/".concat(a);return x.createElement(nD,{key:a,"data-path":a,"data-track":"SideMenu|click_menu_item|".concat((0,nP.Z)({path:l,title:[t,i].join(" > ")})),isActive:u,href:l,onClick:r,pl:0,px:"3x"},x.createElement(t$.Z,{columnGap:"2x",alignItems:"center",justifyContent:"space-between",width:"100%"},x.createElement(tH.Z,{fontSize:"sm",lineHeight:"sm",pl:"9x"},i),"function"==typeof c&&c()))})))}))})),n)});nW.displayName="Sidebar";var nV=n(33558),nK=n(56818),nQ=n(12436),nG=n.n(nQ),nY=function(e,t){var n=(0,x.useMemo)(function(){return e?nG()(e,t):nK.ZT},[e,t]);(0,x.useEffect)(function(){if(n!==nK.ZT)return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n),n.cancel()}},[n])};function nX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||nJ(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nJ(e,t){if(e){if("string"==typeof e)return n1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n1(e,t)}}function n1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(r);try{for(o.s();!(e=o.n()).done;){var i=e.value,a={id:i.id,tagName:i.tagName,textContent:i.textContent,children:[],parent:n};if(n&&n.tagName&&i.tagName>n.tagName)n.children.push(a);else{for(;n&&n.tagName&&i.tagName<=n.tagName;)n=n.parent;n&&n.children.push(a)}n=a}}catch(e){o.e(e)}finally{o.f()}return t},[r]);(0,x.useEffect)(function(){if(!(0,nV.Nq)())return null;c(null);var e=document.querySelector("#main > .main-content");if(e){var t=["h2","h3","h4","h5","h6"].map(function(e){return":scope>".concat(e)}).join(",");o(Array.from(e.querySelectorAll(t)))}if(window.location.hash){var n=document.querySelector(window.location.hash);n&&setTimeout(function(){n.scrollIntoView({behavior:"smooth",block:"start"})},200)}},[t.pathname]);var a=nX((0,x.useState)(null),2),s=a[0],c=a[1],u=(0,x.useRef)(null),l=(0,x.useRef)(null),p=(0,x.useCallback)(function(){if(!u.current){for(var e,t=r.length-1;t>=0;t-=1){var n=r[t],o=document.getElementById(n.id),i=document.documentElement.scrollTop+48+12;if(o&&o.offsetTop<=i){e=n;break}}e&&s!==e.id&&c(e.id)}},[s,r]);nY(r.length>0?p:null,1e3/60),(0,x.useEffect)(function(){return function(){l.current&&(clearTimeout(l.current),l.current=null)}},[]);var d=function(e){var t=e.nodes;return x.createElement(f.Z,{as:"ul",className:"toc-list"},t.map(function(e){var t;return x.createElement(h,{key:e.id,nodes:e.children,className:"toc-item toc-item-".concat(e.tagName.toLowerCase())},x.createElement(tz.Z,{className:s===e.id?"toc-link toc-link-".concat(e.tagName.toLowerCase()," active"):"toc-link toc-link-".concat(e.tagName.toLowerCase()),href:"#".concat(e.id),onClick:(t=e.id,function(e){e.defaultPrevented||0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||(l.current&&(clearTimeout(l.current),l.current=null),u.current=e.target,l.current=setTimeout(function(){u.current=null},1e3),s!==t&&c(t))})},e.textContent))}))},h=function(e){var t=e.children,n=e.nodes;return x.createElement(f.Z,{as:"li"},t,n.length>0&&x.createElement(d,{nodes:n}))};return x.createElement(f.Z,{as:"nav",className:"toc",id:"toc"},x.createElement(f.Z,{className:"toc-heading"},"Contents"),x.createElement(d,{nodes:i.children}))};function n2(){return(n2=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=240&&e.clientX-t<=360&&r(e.clientX-t)},[]),m=function(){c&&u(!1)};return(0,x.useEffect)(function(){c&&u(!1)},[a]),x.createElement(f.Z,{ref:i,fontSize:"md",lineHeight:"md"},x.createElement(nc,{onToggle:function(){u()}}),x.createElement(nW,n2({onClick:m,onClose:m},{flexShrink:0,width:{sm:c?n:0,lg:n},willChange:"width",transition:{sm:"width .2s ease-in-out",lg:"none"},overflowY:"auto",overflowX:"hidden",position:"fixed",top:{sm:0,lg:l},bottom:0,left:0,zIndex:"fixed",whiteSpace:"nowrap"}),x.createElement(f.Z,n2({draggable:!0,onDrag:p},{background:"transparent",cursor:"col-resize",position:"absolute",top:0,bottom:0,right:0,width:"2x"}))),x.createElement(nS,n2({onClick:m,sx:{"--docs-sidebar-width":"".concat(n,"px")}},{position:"relative",ml:{sm:0,lg:n},pt:l,height:"100vh",width:{sm:"100%",lg:"calc(100% - ".concat(n,"px)")},willChange:"width,margin",transition:{sm:"width .3s ease-in-out, margin .3s ease-in-out",lg:"none"}}),x.createElement(b(),e),x.createElement(n0,null)))},re=function(e){var t=(0,p.Z)(function(){return(0,a.Z)({cssVariables:{rootSelector:":root",prefix:"tonic"},components:{}})}),n=n3((0,x.useState)(null),2),r=n[0],o=n[1],f=(0,k.useRouter)();if((0,x.useEffect)(function(){var e=document.documentElement,t=e.style.getPropertyValue("color-scheme");e.setAttribute("data-color-scheme",t),("dark"===t||"light"===t)&&r!==t&&o(t)},[]),!r)return null;var d="/"===f.pathname?n9:n7;return x.createElement(tw,{indexName:"tonic-ui-v2",searchClient:n6,future:{preserveSharedStateOnUnmount:!0}},x.createElement(tI,{hitsPerPage:1e3,highlightPreTag:"",highlightPostTag:""}),x.createElement(n4,{nonce:n8},x.createElement(s.Z,{key:r,colorMode:{defaultValue:r},colorStyle:{defaultValue:c.Z},theme:t,useCSSBaseline:!0},x.createElement(u.Z,{TransitionProps:{sx:{'[data-toast-placement^="top"] > &:first-of-type':{mt:"4x"},'[data-toast-placement^="bottom"] > &:last-of-type':{mb:"4x"},'[data-toast-placement$="left"] > &':{ml:"4x"},'[data-toast-placement$="right"] > &':{mr:"4x"}}}},x.createElement(l.Z,null,x.createElement(i.Zo,{components:nk},x.createElement(d,e),x.createElement(tM,null)))))))}},89658:function(e,t,n){"use strict";n.d(t,{q:function(){return r},y:function(){return o}});var r={plain:{color:"#393A34",backgroundColor:"#f2f2f2"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},o={plain:{color:"#9CDCFE",backgroundColor:"black"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]}},92727:function(e,t,n){"use strict";n.d(t,{b:function(){return y}});var r=n(36954),o=n.n(r),i=n(5081),a=function(e){var t=e.language,n=e.title;return'\n\n\n \n ').concat(n,'\n \n \n
\n \n').trim()},s=JSON.parse('{"v6":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/eslint-parser":"^7.0.0","@babel/eslint-plugin":"^7.0.0","@babel/node":"^7.0.0","@babel/plugin-transform-runtime":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@babel/runtime":"^7.0.0","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@emotion/babel-plugin":"^11.10.0","@emotion/cache":"^11.11.0","@emotion/react":"^11.10.0","@mdx-js/loader":"^2.1.2","@mdx-js/mdx":"^2.1.2","@mdx-js/react":"^2.1.2","@next/mdx":"^13.0.5","@tanstack/react-table":"^8.9.1","@tanstack/react-virtual":"^3.0.0-beta","@tonic-ui/react":"workspace:^","@tonic-ui/react-hooks":"workspace:^","@tonic-ui/react-icons":"workspace:^","@tonic-ui/utils":"workspace:^","@trendmicro/babel-config":"^1.0.2","acorn":"^8.8.2","algoliasearch":"^4.14.2","boolean":"^3.2.0","cross-env":"^7.0.3","date-fns":"2.x","del-cli":"^5.0.0","dotenv-flow":"^3.2.0","ensure-type":"^1.5.1","eslint":"^8.25.0","eslint-config-next":"latest","eslint-plugin-import":"latest","eslint-plugin-jsx-a11y":"latest","eslint-plugin-react":"latest","hastscript":"^8.0.0","immutability-helper":"^3.1.1","jest":"^29.0.0","jest-environment-jsdom":"^29.0.0","lodash":"^4.17.21","lorem-ipsum":"^2.0.8","lz-string":"^1.5.0","mdast-util-from-markdown":"^2.0.0","mdast-util-mdx-jsx":"^3.0.0","micromark-extension-mdx-jsx":"^2.0.0","next":"^14.2.3","next-plugin-svgr":"^1.1.10","node-emoji":"^2.1.0","prism-react-renderer":"^2.0.6","prop-types":"15.x","react":"latest","react-beautiful-dnd":"^13.1.1","react-dnd":"^16.0.1","react-dnd-html5-backend":"^16.0.1","react-dom":"latest","react-focus-lock":"^2.9.2","react-highlight-words":"^0.20.0","react-instantsearch-core":"^7.5.0","react-live":"^4.1.3","react-movable":"^3.0.4","react-table":"^7.8.0","react-virtualized-auto-sizer":"^1.0.15","react-virtuoso":"^4.12.0","rehype-autolink-headings":"^6.1.1","rehype-slug":"^5.1.0","remark-emoji":"^4.0.0","remark-frontmatter":"^4.0.1","remark-gfm":"^3.0.1","remark-images":"^3.1.0","remark-mdx-code-meta":"^2.0.0","unist-util-visit":"^5.0.0","uuid":"^9.0.0"}}'),c=n(93542);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:"latest",n=c.env.CI_PULL_REQUEST_NUMBER?(0,i.Zs)("a6597a216d22f33aa2780d6c5da28018b71bfcd1").substring(0,8):void 0;return n?"https://pkg.csb.dev/trendmicro-frontend/tonic-ui/commit/".concat(n,"/@tonic-ui/").concat(e):t},n=d(d({},s.v6),{},{"@tonic-ui/react":t("react","2.x"),"@tonic-ui/react-base":t("react-base","2.x"),"@tonic-ui/react-hooks":t("react-hooks","2.x"),"@tonic-ui/react-icons":t("react-icons","2.x"),"@tonic-ui/styled-system":t("styled-system","2.x"),"@tonic-ui/theme":t("theme","2.x"),"@tonic-ui/utils":t("utils","2.x")}),r=function(e){for(var t={},r=null,o=/^import\s'([^']+)'|import\s[\s\S]*?\sfrom\s+'([^']+)'/gm;r=o.exec(e);){var a,s,c=(0,i.Zs)(null!==(a=r[2])&&void 0!==a?a:r[1]);if(!c.startsWith("@/")){var u="@"===c[0]?c.split("/",2).join("/"):c.split("/",1)[0];t[u]||u.startsWith(".")||(t[u]=null!==(s=n[u])&&void 0!==s?s:"latest")}}return t};return(0,i.rY)(e).reduce(function(e,t){return d(d({},e),r(t))},{})},m=function(e){var t,n=d({},e),r=n.files,o=n.language,s=n.raw,c=n.title,u=void 0===c?"":c,p="\nimport { Global, css } from '@emotion/react';\nimport {\n Box,\n PortalManager,\n ToastManager,\n TonicProvider,\n colorStyle,\n createTheme,\n useColorMode,\n useColorStyle,\n useTheme,\n} from '@tonic-ui/react';\nimport { merge } from '@tonic-ui/utils';\nimport * as React from 'react';\nimport ReactDOM from 'react-dom/client';\nimport App from './app';\n\nconst customColorStyle = merge(colorStyle, {\n dark: {\n // Add custom colors here\n risk: {\n high: 'red:50',\n medium: 'yellow:50',\n low: 'green:40',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:50',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n light: {\n // Add custom colors here\n risk: {\n high: 'red:60',\n medium: 'yellow:50',\n low: 'green:50',\n none: 'gray:50',\n },\n severity: {\n critical: 'magenta:60',\n high: 'red:60',\n medium: 'orange:50',\n low: 'yellow:50',\n info: 'gray:50',\n },\n },\n});\n\nconst customTheme = createTheme({\n cssVariables: true, // Enable CSS variables replacement\n components: {\n // Set default props for specific components\n //\n // Example:\n // ```\n // 'ToastCloseButton': {\n // defaultProps: {\n // 'aria-label': 'Close toast',\n // },\n // },\n // ```\n },\n});\n\nconst Root = (props) => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst Layout = (props) => {\n const [colorMode] = useColorMode();\n const [colorStyle] = useColorStyle({ colorMode });\n const { colors, fontSizes, lineHeights } = useTheme();\n const backgroundColor = colorStyle.background.primary;\n const color = colorStyle.color.primary;\n const scrollbarThumbBackgroundColor = colorStyle.color.disabled;\n const scrollbarThumbHoverBackgroundColor = colorStyle.color.tertiary;\n const scrollbarThumbHoverBorderColor = colorStyle.color.secondary;\n const scrollbarTrackBackgroundColor = {\n light: 'gray:30',\n dark: 'gray:70',\n }[colorMode];\n\n return (\n <>\n \n \n \n );\n};\n\nReactDOM.createRoot(document.querySelector(\"#root\")).render(\n \n \n \n \n \n);\n".trim(),m=null!=s?s:"\nimport { Box } from '@tonic-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst App = forwardRef((props, ref) => {\n const styleProps = {\n // Define style props here\n //\n // Refer to Tonic UI documentation for available style props:\n // https://trendmicro-frontend.github.io/tonic-ui/react/latest/styled-system/style-props\n };\n\n return (\n \n Tonic UI is awesome\n \n );\n});\n\nApp.displayName = 'App';\n\nexport default App;\n".trim(),g=h([p,m].concat(function(e){if(Array.isArray(e))return f(e)}(t=Object.values((0,i.ks)(r)))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||l(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));return d(d({},Object.entries((0,i.ks)(r)).reduce(function(e,t){var n=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||l(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=n[0],o=n[1];return e[r]={content:o},e},{})),{},{"public/index.html":{content:a({language:void 0===o?"en":o,title:u})},"src/app.js":{content:m},"src/index.js":{content:p},"jsconfig.json":{content:'\n{\n "compilerOptions": {\n "baseUrl": "src",\n "paths": {\n "@/*": ["*"]\n }\n }\n}\n'.trim()},"package.json":{content:{description:u,dependencies:d({},g)}}})},g=function(e,t,n){var r=document.createElement("input");r.type="hidden",r.name=t,r.value=n,e.appendChild(r)},y=function(e){var t,n=(t={files:m(e)},o().compressToBase64(JSON.stringify(t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")),r=document.createElement("form");r.method="POST",r.target="_blank",r.action="https://codesandbox.io/api/v1/sandboxes/define",g(r,"parameters",n),g(r,"query","file=/src/app.js"),document.body.appendChild(r),r.submit(),document.body.removeChild(r)}},27899:function(e,t){"use strict";t.Z=function(){var e;try{e=JSON.stringify.apply(JSON,arguments)}catch(e){}return e}},68905:function(e,t){"use strict";t.Z=function(e){if("dark"!==e&&"light"!==e){var t=document.documentElement;t.style.setProperty("color-scheme",""),t.removeAttribute("data-color-scheme"),localStorage.removeItem("tonic-ui-color-mode");return}var n=document.documentElement;n.style.setProperty("color-scheme",e),n.setAttribute("data-color-scheme",e),localStorage.setItem("tonic-ui-color-mode",e)}},93542:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(42351)},53723:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(17924)}])},42351:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],u=!1,l=-1;function f(){u&&r&&(u=!1,r.length?c=r.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(r=c,c=[];++l1)for(var n=1;n-1?e.split(","):e},c=function(e,t){var n={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,l=c.split(t.delimiter,u),f=-1,p=t.charset;if(t.charsetSentinel)for(d=0;d=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},l=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f0?w.join(",")||null:void 0}];else if(s(f))x=f;else{var T=Object.keys(w);x=p?T.sort(p):T}for(var C=0;C0?g+d:""}},12493:function(e,t,n){"use strict";var r=n(85527),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)){c+=s.charAt(u);continue}if(l<128){c+=a[l];continue}if(l<2048){c+=a[192|l>>6]+a[128|63&l];continue}if(l<55296||l>=57344){c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l];continue}u+=1,c+=a[240|(l=65536+((1023&l)<<10|1023&s.charCodeAt(u)))>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l]}return c},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r-1&&(k.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),g(x,k.length,1,k),g(x,-1,-1,k))}}}return e},v=function(e){y()&&e&&(e.stopPropagation(),e.preventDefault())},b=function(){return(0,c.deferAction)(y)},k=function(){h="just",(0,c.deferAction)(function(){h="meanwhile"})},x=function(){document.addEventListener("focusin",v),document.addEventListener("focusout",b),window.addEventListener("blur",k)},w=function(){document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),window.removeEventListener("blur",k)},_={moveFocusInside:s.moveFocusInside,focusInside:s.focusInside,focusNextElement:s.focusNextElement,focusPrevElement:s.focusPrevElement,focusFirstElement:s.focusFirstElement,focusLastElement:s.focusLastElement,captureFocusRestore:s.captureFocusRestore};u.mediumFocus.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||m(n,t)}),u.mediumBlur.assignMedium(b),u.mediumEffect.assignMedium(function(e){return e(_)}),t.default=(0,a.default)(function(e){return e.filter(function(e){return!e.disabled})},function(e){var t=e.slice(-1)[0];t&&!f&&x();var n=f,r=n&&t&&t.id===n.id;f=t,!n||r||(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(p=null,r&&n.observed===t.observed||t.onActivation(_),y(!0),(0,c.deferAction)(y)):(w(),p=null)})(function(){return null})},32701:function(e,t,n){"use strict";var r=n(71600),o=n(67425);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AutoFocusInside",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"FocusLockUI",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"FreeFocusInside",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"InFocusGuard",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"MoveFocusInside",{enumerable:!0,get:function(){return s.default}}),t.default=void 0,Object.defineProperty(t,"useFocusController",{enumerable:!0,get:function(){return l.useFocusController}}),Object.defineProperty(t,"useFocusInside",{enumerable:!0,get:function(){return s.useFocusInside}}),Object.defineProperty(t,"useFocusScope",{enumerable:!0,get:function(){return l.useFocusScope}}),Object.defineProperty(t,"useFocusState",{enumerable:!0,get:function(){return f.useFocusState}});var i=r(n(76785)),a=r(n(15989)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=p(void 0);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(56517)),c=r(n(88476)),u=r(n(72143)),l=n(27452),f=n(25473);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}t.default=i.default},64355:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var i=r(n(86421)),a=n(32701);Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}),t.default=i.default},29199:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mediumSidecar=t.mediumFocus=t.mediumEffect=t.mediumBlur=void 0;var r=n(96545);t.mediumFocus=(0,r.createMedium)({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),t.mediumBlur=(0,r.createMedium)(),t.mediumEffect=(0,r.createMedium)(),t.mediumSidecar=(0,r.createSidecarMedium)({async:!0,ssr:"undefined"!=typeof document})},19579:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNanoEvents=void 0,t.createNanoEvents=function(){return{emit:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return d(function(t){return t.moveFocusInside(p(r.current),null,e)})},focusNext:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusNextElement(document.activeElement,f({scope:p(r.current)},e))})},focusPrev:function(e){return d(function(t){t.moveFocusInside(p(r.current),null),t.focusPrevElement(document.activeElement,f({scope:p(r.current)},e))})},focusFirst:function(e){return d(function(t){t.focusFirstElement(p(r.current),e)})},focusLast:function(e){return d(function(t){t.focusLastElement(p(r.current),e)})}}},[])};t.useFocusScope=function(){var e=(0,a.useContext)(s.focusScope);if(!e)throw Error("FocusLock is required to operate with FocusScope");return h.apply(void 0,[e.observed].concat((0,o.default)(e.shards)))}},25473:function(e,t,n){"use strict";var r=n(71600);Object.defineProperty(t,"__esModule",{value:!0}),t.useFocusState=void 0;var o=r(n(43681)),i=n(2784),a=(0,n(19579).createNanoEvents)(),s=0,c=function(e){return a.emit("assign",e.target)},u=function(e){return a.emit("reset",e.target)},l=function(){(0,i.useEffect)(function(){return s||(document.addEventListener("focusin",c),document.addEventListener("focusout",u)),s+=1,function(){(s-=1)||(document.removeEventListener("focusin",c),document.removeEventListener("focusout",u))}},[])},f=function(e,t){return e===t?"self":t.contains(e)?"within":"within-boundary"};t.useFocusState=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.useState)(!1),n=(0,o.default)(t,2),r=n[0],s=n[1],c=(0,i.useState)(""),u=(0,o.default)(c,2),p=u[0],d=u[1],h=(0,i.useRef)(null),m=(0,i.useRef)({}),g=(0,i.useRef)(!1);(0,i.useEffect)(function(){if(h.current){var t=h.current===document.activeElement||h.current.contains(document.activeElement);s(t),d(f(document.activeElement,h.current)),t&&e.onFocus&&e.onFocus()}},[]);var y=(0,i.useCallback)(function(e){m.current={focused:!0,state:f(e.target,e.currentTarget)}},[]);return l(),(0,i.useEffect)(function(){var t=a.on("reset",function(){m.current={}}),n=a.on("assign",function(){var t=m.current.focused||!1;s(t),d(m.current.state||""),t!==g.current&&(g.current=t,t?e.onFocus&&e.onFocus():e.onBlur&&e.onBlur())});return function(){t(),n()}},[]),{active:r,state:p,onFocus:y,ref:h}}},5129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deferAction=function(e){setTimeout(e,1)},t.inlineProp=t.extractRef=void 0,t.inlineProp=function(e,t){var n={};return n[e]=t,n},t.extractRef=function(e){return e&&"current"in e?e.current:e}},78141:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(2))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]),C=(0,i.findAll)({autoEscape:l,caseSensitive:p,findChunks:h,sanitize:k,searchWords:x,textToHighlight:w}),A=void 0===b?"mark":b,R=-1,I="",P=void 0,Z=(0,c.default)(function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t});return(0,s.createElement)("span",r({className:d},T,{children:C.map(function(e,t){var r=w.substr(e.start,e.end-e.start);if(!e.highlight)return(0,s.createElement)(S,{children:r,className:E,key:t,style:j});R++;var o=void 0;o="object"==typeof g?p?g[r]:(g=Z(g))[r.toLowerCase()]:g;var i=R===+a;I=o+" "+(i?n:""),P=!0===i&&null!=u?Object.assign({},v,u):v;var c={children:r,className:I,key:t,style:P};return"string"!=typeof A&&(c.highlightIndex=R),(0,s.createElement)(A,c)})}))}u.propTypes={activeClassName:a.default.string,activeIndex:a.default.number,activeStyle:a.default.object,autoEscape:a.default.bool,className:a.default.string,findChunks:a.default.func,highlightClassName:a.default.oneOfType([a.default.object,a.default.string]),highlightStyle:a.default.object,highlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),sanitize:a.default.func,searchWords:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.instanceOf(RegExp)])).isRequired,textToHighlight:a.default.string.isRequired,unhighlightTag:a.default.oneOfType([a.default.node,a.default.func,a.default.string]),unhighlightClassName:a.default.string,unhighlightStyle:a.default.object},e.exports=t.default},function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,i=e.caseSensitive,a=e.findChunks,s=void 0===a?r:a,c=e.sanitize,u=e.searchWords,l=e.textToHighlight;return o({chunksToHighlight:n({chunks:s({autoEscape:t,caseSensitive:void 0!==i&&i,sanitize:c,searchWords:u,textToHighlight:l})}),totalLength:l?l.length:0})};var n=t.combineChunks=function(e){return e.chunks.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({start:n.start,end:r})}else e.push(n,t);return e},[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?i:r,a=e.searchWords,s=e.textToHighlight;return s=o(s),a.filter(function(e){return e}).reduce(function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var i=new RegExp(r,n?"g":"gi"),a=void 0;a=i.exec(s);){var c=a.index,u=i.lastIndex;u>c&&e.push({start:c,end:u}),a.index==i.lastIndex&&i.lastIndex++}return e},[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var i=0;t.forEach(function(e){o(i,e.start,!1),o(e.start,e.end,!0),i=e.end}),o(i,n,!1)}return r};function i(e){return e}}])},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(6)(function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},!0)}else e.exports=n(13)()}).call(t,n(5))},function(e,t){var n,r,o,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],l=!1,f=-1;function p(){l&&o&&(l=!1,o.length?u=o.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=u.length;t;){for(o=u,u=[];++f1)for(var n=1;n1?t-1:0),r=1;r2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,o=[],i=void 0,a=!1,s=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),c=0;c0&&r.push(o+" more"),n._failMsg="is none of "+r.join(", ")):n._failMsg="is none of "+o+" types",n}return i(t,e),t.prototype.getChecker=function(e,t){var n=this,r=this.ttypes.map(function(n){return n.getChecker(e,t)});return function(e,t){for(var o=t.unionResolver(),i=0;i=r._score)&&(r=a)}r&&r._score>0&&((t=this._propNames).push.apply(t,r._propNames),(n=this._messages).push.apply(n,r._messages))},e.prototype.getError=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&t.push(e+" "+i)}return new o(e,t.join("; "))},e.prototype.getErrorDetail=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var o=this._messages[n];o&&t.push({path:e,message:o})}for(var i=null,n=t.length-1;n>=0;n--)i&&(t[n].nested=[i]),i=t[n];return i},e}();t.DetailContext=a;var s=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var e=new a;return this.contexts.push(e),e},e}()},93779:function(e,t,n){"use strict";function r(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}n.d(t,{k:function(){return r}})},91801:function(e,t,n){"use strict";n.r(t),n.d(t,{assignRef:function(){return r.k},createCallbackRef:function(){return i},mergeRefs:function(){return a},refToCallback:function(){return l},transformRef:function(){return u},useCallbackRef:function(){return o.W},useMergeRefs:function(){return s.q},useRefToCallback:function(){return h},useTransformRef:function(){return c}});var r=n(93779),o=n(66807);function i(e){var t=null;return{get current(){return t},set current(value){var n=t;n!==value&&(t=value,e(value,n))}}}function a(e){return i(function(t){return e.forEach(function(e){return(0,r.k)(e,t)})})}var s=n(40689);function c(e,t){return(0,o.W)(null,function(n){return(0,r.k)(e,t(n))})}function u(e,t){return i(function(n){return(0,r.k)(e,t(n))})}function l(e){return function(t){"function"==typeof e?e(t):e&&(e.current=t)}}var f=function(){return null},p=new WeakMap,d=function(e){var t=e||f,n=p.get(t);if(n)return n;var r=l(t);return p.set(t,r),r};function h(e){return d(e)}},40689:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(2784),o=n(93779),i=n(66807),a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,s=new WeakMap;function c(e,t){var n=(0,i.W)(t||null,function(t){return e.forEach(function(e){return(0,o.k)(e,t)})});return a(function(){var t=s.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||(0,o.k)(e,null)}),i.forEach(function(e){r.has(e)||(0,o.k)(e,a)})}s.set(n,e)},[e]),n}},66807:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(2784);function o(e,t){var n=(0,r.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(value){var r=n.value;r!==value&&(n.value=value,n.callback(value,r))}}}})[0];return n.callback=t,n.facade}},96545:function(e,t,n){"use strict";n.r(t),n.d(t,{createMedium:function(){return p.s},createSidecarMedium:function(){return p._},exportSidecar:function(){return m},renderCar:function(){return d},setConfig:function(){return f},sidecar:function(){return u},useSidecar:function(){return c}});var r=n(22970),o=n(2784),i={isNode:!1,forceCache:!1},a=new WeakMap,s={};function c(e,t){var n,r,c,u,l,f,p,d,h=t&&t.options||s;return i.isNode&&!h.ssr?[null,null]:(n=t&&t.options||s,r=i.forceCache||i.isNode&&!!n.ssr||!n.async,u=(c=(0,o.useState)(r?function(){return a.get(e)}:void 0))[0],l=c[1],p=(f=(0,o.useState)(null))[0],d=f[1],(0,o.useEffect)(function(){u||e().then(function(n){var r,o=t?t.read():n.default||n;if(!o)throw console.error("Sidecar error: with importer",e),t?(console.error("Sidecar error: with medium",t),r=Error("Sidecar medium was not found")):r=Error("Sidecar was not found in exports"),d(function(){return r}),r;a.set(e,o),l(function(){return o})},function(e){return d(function(){return e})})},[]),[u,p])}function u(e,t){var n=function(){return t};return function(i){var a=c(e,i.sideCar),s=a[0];return a[1]&&t?n:s?o.createElement(s,(0,r.pi)({},i)):null}}var l={onError:function(e){return console.error(e)}},f=function(e){Object.assign(l,e)},p=n(64597);function d(e,t){function n(t){var n=t.stateRef,i=t.props,a=(0,o.useCallback)(function(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function o(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,c,"next",e)}function c(e){o(a,r,i,s,c,"throw",e)}s(void 0)})}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||c(e,t)||function(){throw 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){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{ZQ:function(){return a},l5:function(){return r},sf:function(){return l},u:function(){return s},x:function(){return i}})},29970:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){var t,n=(0,r.useRef)();return void 0===n.current&&(n.current={value:"function"==typeof e?e():e}),null==n?void 0:null===(t=n.current)||void 0===t?void 0:t.value}},10424:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(e){(0,r.useEffect)(e,[])}},93631:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(40476),o=n(2784),i=n(68338),a=function(e,t){var n=(0,o.useRef)(function(){throw Error("Cannot call an event handler while rendering.")});return(0,i.Z)(function(){n.current=e},[e].concat((0,r.u)(null!=t?t:[]))),(0,o.useCallback)(function(){return n.current.apply(void 0,arguments)},[n])}},32502:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(56818),o=n(2784),i=n(93631),a=function(e,t,n,a){var s=(0,i.Z)(n);(0,o.useEffect)(function(){if(!n)return r.ZT;var o=(0,r.Pu)(e);return"function"==typeof(null==o?void 0:o.addEventListener)&&"function"==typeof(null==o?void 0:o.removeEventListener)?(o.addEventListener(t,s,a),function(){o.removeEventListener(t,s,a)}):r.ZT},[e,t,n,s,a])}},912:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40476),o=n(2784),i=function(){var e=(0,o.useState)(!1),t=(0,r.ZQ)(e,2),n=t[0],i=t[1];return(0,o.useEffect)(function(){i(!0)},[]),n}},68338:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o="undefined"==typeof window?r.useEffect:r.useLayoutEffect},59123:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(40476),o=n(56818),i=n(2784),a=function(e,t){if(void 0!==t)return t;if("undefined"!=typeof window&&"function"==typeof window.matchMedia){var n;return null===(n=window.matchMedia(e))||void 0===n?void 0:n.matches}return!1},s=function(e,t){var n=(0,i.useState)(a(e,t)),s=(0,r.ZQ)(n,2),c=s[0],u=s[1];return(0,i.useEffect)(function(){var t,n,r=!0,i=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e),a=function(){r&&u(!!i.matches)};return i?(i.addEventListener("change",a),u(!!i.matches),function(){r=!1,i.removeEventListener("change",a)}):o.ZT},[e]),c}},20325:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2784),o=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return(0,r.useReducer)(t,e)}},95530:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(18911),o=n(49857),i=n(56818),a=n(2784),s=n(52903),c=["as","children","focusable","size","viewBox"],u=(0,a.forwardRef)(function(e,t){var n=e.as,u=void 0===n?"svg":n,l=e.children,f=e.focusable,p=e.size,d=void 0===p?"4x":p,h=e.viewBox,m=(0,r.Kd)(e,c),g=a.isValidElement(l)&&"svg"===l.type,y={};return"string"==typeof u&&"svg"===u.toLowerCase()&&(y.viewBox=void 0===h?"0 0 16 16":h),(0,s.tZ)(o.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-hidden":(0,i.Qm)(!0),as:u,fill:"currentColor",focusable:void 0!==f&&f,ref:t},{display:"inline-flex",flexShrink:0,width:d,height:d,verticalAlign:"middle"}),y),m),g&&l.props),{},{children:g?l.props.children:l}))});u.displayName="SVGIcon";var l=u},18911:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Kd:function(){return i},Zj:function(){return o}})},20012:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M12.5 6.5l-4.5 4.5-4.5-4.5 1-1 3.5 3.5 3.5-3.5 1 1z"}),"AngleDownIcon")},40809:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.501 12.506l-4.499-4.506 4.488-4.494 1 1-3.49 3.494 3.501 3.506z"}),"AngleLeftIcon")},45795:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.501 12.5l-1-1 3.501-3.506-3.49-3.494 1-1 4.488 4.494z"}),"AngleRightIcon")},85163:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M3.5 10l4.5-4.5 4.5 4.5-1 1-3.5-3.5-3.5 3.5-1-1z"}),"AngleUpIcon")},21457:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 12l-7-6.607 1.476-1.393 5.524 5.214 5.524-5.214 1.476 1.393z"}),"ChevronDownIcon")},97198:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M15 2l-1-1-6 6-6-6-0.99 0.99 5.99 6.010-6 6 1 1 6-6 6 6 1-1-6-6 6-6z"}),"CloseIcon")},37662:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9 8l4-4-1-1-4 4-4-4-1 1 4 4-4 4 1 1 4-4 4 4 1-1-4-4z"}),"CloseSIcon")},37384:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4.301 12.707l-4.301-4.353 4.301-4.354 0.699 0.707-3.603 3.647 3.603 3.646zM16 8.354l-4.301-4.354-0.699 0.707 3.603 3.646-3.603 3.647 0.699 0.707zM10 1.209l-0.979-0.209-3 14 0.979 0.209z"}),"CodeIcon")},8991:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1zM12.5 12.5l-4.5-4.5 4.5-4.5 1 1-3.5 3.5 3.5 3.5-1 1z"}),"CollapseLeftIcon")},88043:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M9.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5zM3.5 12.5l-1-1 3.5-3.5-3.5-3.5 1-1 4.5 4.5-4.5 4.5z"}),"CollapseRightIcon")},30047:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8v0c0.736-0 1.333-0.597 1.333-1.334 0-0.346-0.132-0.661-0.348-0.898l0.001 0.001c-0.21-0.234-0.338-0.544-0.338-0.885 0-0.734 0.595-1.328 1.328-1.328 0.002 0 0.004 0 0.005 0h1.573c2.454-0.001 4.444-1.99 4.444-4.444v-0c0-3.929-3.582-7.111-8-7.111zM3.111 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM5.778 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM10.222 4.444c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0zM12.889 8c-0.736 0-1.333-0.597-1.333-1.333s0.597-1.333 1.333-1.333c0.736 0 1.333 0.597 1.333 1.333v0c0 0.001 0 0.001 0 0.002 0 0.735-0.596 1.332-1.332 1.332-0.001 0-0.001 0-0.002 0h0z"}),"ColorIcon")},47438:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M6.3 7.3c-0.8 1-1.3 2.2-1.3 3.6-1 0.2-2 0.1-2 0.1l-2 2-1-1 2-2c0 0-0.2-2.8 1-4l1-1 2.3 2.3zM10.9 5c0.2-1 0.1-2 0.1-2l2-2-1-1-2 2c0 0-2.8-0.2-4 1l-1 1 2.3 2.3c1-0.8 2.2-1.3 3.6-1.3zM16 11c0 2.8-2.2 5-5 5s-5-2.2-5-5 2.2-5 5-5 5 2.2 5 5zM12 11l2-2-1-1-2 2-2-2-1 1 2 2-2 2 1 1 2-2 2 2 1-1-2-2z"}),"ConnectErrorIcon")},85409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M11 0h-9c-0.5 0-1 0.5-1 1v14c0 0.5 0.5 1 1 1h12c0.5 0 1-0.5 1-1v-11l-4-4zM11 1.4l2.6 2.6h-2.6v-2.6zM14 15h-12v-14h8v4h4v10zM3.5 6.5c0-0.8 0.7-1.5 1.5-1.5s1.5 0.7 1.5 1.5c0 0.8-0.7 1.5-1.5 1.5s-1.5-0.7-1.5-1.5zM10 7l3 4v3h-10v-2l2-3 2 2.5 3-4.5z"}),"FileImageOIcon")},18247:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.25 2c0-1.103-0.897-2-2-2s-2 0.897-2 2c0 0.837 0.518 1.554 1.25 1.851v7.149c0 1.93-1.57 3.5-3.5 3.5s-3.5-1.57-3.5-3.5h2.5l-4-6v6c0 2.75 2.25 5 5 5h0c2.75 0 5-2.25 5-5v-7.149c0.732-0.298 1.25-1.014 1.25-1.851zM12.25 3c-0.551 0-1-0.448-1-1s0.449-1 1-1 1 0.448 1 1-0.449 1-1 1z"}),"HookIcon")},18267:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14 3v2h-12v-2zM2 9h12v-2h-12zM2 13h12v-2h-12z"}),"MenuIcon")},34323:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 12v-11.999h-2v11.999h-2l3 4 2.316-3.088c-0.089-0.254-0.167-0.561-0.221-0.876l-0.005-0.035zM7 6.537c0.562-0.506 1.227-0.91 1.958-1.175l0.042-0.013v-1.352h2l-3-3.996-3 3.996h2zM11 6c-2.761 0-5 2.239-5 5s2.239 5 5 5c2.761 0 5-2.239 5-5v0c0-0.008 0-0.018 0-0.028 0-2.746-2.226-4.972-4.972-4.972-0.010 0-0.020 0-0.029 0h0.002zM10 14l-2.54-2.48 1.070-1 1.47 1.48 3.46-3.5 1.070 1.050z"}),"MigrateSuccessIcon")},57999:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M10.551 1.938c-1.005-0.59-2.213-0.938-3.502-0.938-0.019 0-0.037 0-0.056 0l0.003-0c2.535 1.791 3.835 5.746 2.251 8.481-1.585 2.737-5.487 3.272-8.309 1.979 1.235 2.13 3.504 3.54 6.103 3.54 2.583 0 4.841-1.393 6.063-3.469l0.018-0.033c0.591-1.004 0.94-2.211 0.94-3.5 0-2.579-1.398-4.832-3.477-6.043l-0.033-0.018z"}),"MoonIcon")},90800:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M4 6v3h-3v-3zM6 6v3h3v-3zM11 6v3h3v-3z"}),"MoreHorizIcon")},4409:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M1.5 14.5s-0.7-0.8 0.7-3.5c0 0-2.2 1-2.2 5 4 0 5-2.2 5-2.2-2.8 1.4-3.5 0.7-3.5 0.7zM8.2 2.8l-0.2 0.2c-1.024 1.186-2.011 2.491-2.912 3.858l-0.088 0.142h-3l-1.2 1.3 2.7 1.7v1.1l1.4 1.4h1.1l1.7 2.8 1.3-1.3v-3c1.509-0.989 2.814-1.976 4.049-3.041l-0.049 0.041v-0.1l0.1-0.1c2.9-2.8 2.9-7.8 2.9-7.8s-5 0-7.8 2.8zM12 6c-1.105 0-2-0.895-2-2s0.895-2 2-2c1.105 0 2 0.895 2 2v0c-0.003 1.103-0.897 1.997-2 2h-0z"}),"RocketIcon")},21407:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M16 14.59l-4.26-4.26c0.787-1.064 1.259-2.403 1.259-3.851 0-3.601-2.919-6.52-6.52-6.52s-6.52 2.919-6.52 6.52c0 3.601 2.919 6.52 6.52 6.52 1.449 0 2.787-0.472 3.869-1.271l-0.018 0.013 4.26 4.26zM6.5 11.5c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"}),"SearchOIcon")},20365:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.BX)(o.HY,{children:[(0,o.tZ)("path",{d:"M8.75 0h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M8.75 14h-1.5v2h1.5v-2z"}),(0,o.tZ)("path",{d:"M2.873 1.813l-1.060 1.060 1.414 1.415 1.061-1.061-1.415-1.414z"}),(0,o.tZ)("path",{d:"M12.773 11.712l-1.061 1.061 1.415 1.414 1.060-1.060-1.414-1.415z"}),(0,o.tZ)("path",{d:"M2 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M16 7.25h-2v1.5h2v-1.5z"}),(0,o.tZ)("path",{d:"M3.227 11.712l-1.414 1.415 1.060 1.060 1.415-1.414-1.061-1.061z"}),(0,o.tZ)("path",{d:"M13.127 1.813l-1.415 1.414 1.061 1.061 1.414-1.415-1.060-1.060z"}),(0,o.tZ)("path",{d:"M12.75 8c0 2.623-2.127 4.75-4.75 4.75s-4.75-2.127-4.75-4.75c0-2.623 2.127-4.75 4.75-4.75s4.75 2.127 4.75 4.75z"})]}),"SunIcon")},91112:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8.596 10.697l5.004 5.004c0.4 0.4 1 0.4 1.4 0l0.7-0.8c0.4-0.4 0.4-1 0-1.4l-4.928-4.928c-0.007-0.002-0.014-0.003-0.021-0.005l-2.155 2.129zM7 3l-4.714-3-2.286 2.286 3 4.714 2.789 0.004 1.223-1.205-0.013-2.799zM16 3.893c0 0.536-0.098 1.036-0.295 1.5-0.205 0.473-0.48 0.884-0.824 1.232s-0.743 0.621-1.199 0.817c-0.455 0.205-0.942 0.308-1.46 0.308-0.295 0-0.589-0.025-0.884-0.074s-0.571-0.141-0.83-0.275l-8.446 8.343c-0.179 0.17-0.382 0.254-0.609 0.254s-0.426-0.085-0.596-0.254l-0.603-0.683c-0.17-0.17-0.254-0.368-0.254-0.596s0.085-0.431 0.254-0.609l8.46-8.33c-0.232-0.473-0.362-0.964-0.388-1.473-0.036-0.509 0.025-0.996 0.181-1.46s0.4-0.888 0.73-1.272c0.321-0.393 0.719-0.705 1.192-0.938 0.473-0.214 0.96-0.339 1.46-0.375s0.987 0.031 1.46 0.201l-2.237 2.223c-0.17 0.17-0.254 0.371-0.254 0.603s0.085 0.433 0.254 0.603l1.205 1.192c0.17 0.179 0.368 0.268 0.596 0.268s0.426-0.089 0.596-0.268l2.237-2.223c0.080 0.214 0.143 0.429 0.188 0.643s0.067 0.429 0.067 0.643z"}),"ToolsConfigurationIcon")},57805:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M14.104 13h-1.231c-0.381-1.055-0.958-1.956-1.693-2.702l0.001 0.001c-0.637-0.638-1.378-1.174-2.195-1.578l-0.048-0.022c0.658-0.708 1.062-1.661 1.062-2.707 0-1.655-1.010-3.075-2.447-3.676l-0.026-0.010c0.547-0.795 1.452-1.31 2.477-1.31 1.655 0 2.996 1.342 2.996 2.996 0 1.189-0.693 2.216-1.696 2.701l-0.018 0.008v0.458c1.254 0.339 2.329 0.98 3.182 1.842l0.001 0.001c0.983 1 3.069 4-0.364 4zM7.286 9.158v-0.458c1.022-0.493 1.714-1.521 1.714-2.711 0-1.657-1.343-3-3-3s-3 1.343-3 3c0 1.19 0.692 2.218 1.696 2.703l0.018 0.008v0.458c-1.254 0.339-2.329 0.98-3.182 1.842l-0.001 0.001c-0.983 1-3.069 4 0.364 4h8.208c3.433 0 1.347-3 0.364-4-0.854-0.862-1.929-1.504-3.133-1.831l-0.049-0.011z"}),"UserTeamIcon")},44152:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M7 2v6c0 0.6-0.4 1-1 1h-4c-0.6 0-1-0.4-1-1v-6c0-0.6 0.4-1 1-1h4c0.6 0 1 0.4 1 1zM6 11h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 1h-4c-0.6 0-1 0.4-1 1v2c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-2c0-0.6-0.4-1-1-1zM14 7h-4c-0.6 0-1 0.4-1 1v6c0 0.6 0.4 1 1 1h4c0.6 0 1-0.4 1-1v-6c0-0.6-0.4-1-1-1z"}),"WidgetsIcon")},84668:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}}),n(2784);var r=n(75928),o=n(52903),i=(0,r.Z)((0,o.tZ)("path",{d:"M8 1l-7 3v8l7 3 7-3v-8l-7-3zM12.9 4.7l-4.9 2.4-4.9-2.4 4.9-2.1 4.9 2.1zM2.5 6.1l4.8 2.4v4.6l-4.8-2.1v-4.9zM8.7 13.1v-4.6l4.8-2.4v4.9l-4.8 2v0.1z"}),"WorkspaceIcon")},75928:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18911),o=n(2784),i=n(95530),a=n(52903),s=function(e,t){var n="string"==typeof t?t:null==t?void 0:t.displayName,s=(0,o.forwardRef)(function(t,o){return(0,a.tZ)(i.Z,(0,r.Zj)((0,r.Zj)({"data-icon":n,ref:o},t),{},{children:e}))});return s.displayName=n,(0,o.memo)(s)}},53860:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||f(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{AI:function(){return c},Ac:function(){return i},Kd:function(){return s},ZQ:function(){return u},Zj:function(){return o},_x:function(){return a},sf:function(){return d},u:function(){return l}})},76013:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(56818),i=n(92307),a=n.n(i),s=n(2784),c=n(98827),u=n(67078),l=n(65590),f=n(52903),p=n(49857),d=["children"],h=a()(function(e){return(0,r.Zj)({},e)}),m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"Accordion"}),i=n.children,a=(0,r.Kd)(n,d),s=h({}),m=(0,l.k1)();return(0,f.tZ)(u.S.Provider,{value:s,children:(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},m),a),{},{children:(0,o.Pu)(i,s)}))})});m.displayName="Accordion";var g=m},25619:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(14594),c=n(48580),u=n(52903),l=n(49857),f=["TransitionComponent","TransitionProps"],p=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"AccordionContent"}),i=n.TransitionComponent,p=void 0===i?s.Z:i,d=n.TransitionProps,h=(0,r.Kd)(n,f),m=(0,c.Z)();return m?(0,u.tZ)(p,(0,r.Zj)((0,r.Zj)({appear:!1},d),{},{"aria-hidden":(0,o.Qm)(!(null!=m&&m.isExpanded)),"aria-labelledby":null==m?void 0:m.accordionToggleId,id:null==m?void 0:m.accordionContentId,in:null==m?void 0:m.isExpanded,ref:t,role:"region"},h)):(0,u.tZ)(l.Z,(0,r.Zj)({ref:t},h))});p.displayName="AccordionContent";var d=p},79036:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(5081),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(65204),f=n(20655),p=n(67078),d=function(){if(!c.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,c.useContext)(p.S)},h=n(52903),m=n(49857),g=["children","disabled","isExpanded","defaultIsExpanded","onToggle"],y=s()(function(e){return(0,r.Zj)({},e)}),v=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"AccordionItem"}),a=n.children,s=n.disabled,v=n.isExpanded,b=n.defaultIsExpanded,k=n.onToggle,x=(0,r.Kd)(n,g),w=d(),_=(0,f.Z)(),S="".concat(l.Z.name,":AccordionToggle-").concat(_),O="".concat(l.Z.name,":AccordionContent-").concat(_),E=(0,c.useState)(null!=v?v:b),j=(0,r.ZQ)(E,2),T=j[0],C=j[1];(0,c.useEffect)(function(){void 0!==v&&C(v)},[v]);var A=(0,c.useCallback)(function(){void 0!==v||C(!T),(0,i.zU)(k)({isExpanded:!T})},[T,v,k]),R=y({accordionToggleId:S,accordionContentId:O,disabled:s,isExpanded:T,onToggle:A,variant:null==w?void 0:w.variant});return(0,h.tZ)(p.g.Provider,{value:R,children:(0,h.tZ)(m.Z,(0,r.Zj)((0,r.Zj)({ref:t},x),{},{children:(0,o.Pu)(a,R)}))})});v.displayName="AccordionItem";var b=v},80508:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(48580),l=n(65590),f=n(52903),p=["children","disabled","onClick"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"AccordionToggle"}),a=n.children,d=n.disabled,h=n.onClick,m=(0,r.Kd)(n,p),g=(0,u.Z)(),y=(0,i.pr)(null!=d?d:null==g?void 0:g.disabled),v=(0,l.vo)(),b=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":null==g?void 0:g.accordionContentId,"aria-disabled":(0,o.Qm)(y),"aria-expanded":(0,o.Qm)(null==g?void 0:g.isExpanded),disabled:y,id:null==g?void 0:g.accordionToggleId,onClick:(0,o.N)(h,null==g?void 0:g.onToggle),ref:t,role:"button",tabIndex:0},v),m)};return"function"==typeof a?a({getAccordionToggleProps:b}):(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({},b()),{},{children:a}))})},90094:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(53860),o=n(20325),i=n(21457),a=n(83377),s=n(33558),c=n(56818),u=n(5081),l=n(2784),f=n(41759),p=n(98827),d=n(65590),h=n(48580),m=n(52903),g=n(49857),y=["appear","children","disabled","easing","style","timeout"],v=function(e,t){var n={entering:function(e){return{transform:"rotate(-180deg)"}},entered:function(e){return{transform:"rotate(-180deg)"}},exiting:function(e){return{transform:"rotate(0deg)"}},exited:function(e){return{transform:"rotate(0deg)"}}}[e];return"function"==typeof n?n(t):n},b={enter:a.YU.easeOut,exit:a.YU.easeOut},k={enter:133,exit:Math.floor(93.1)},x=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"AccordionToggleIcon"}),x=n.appear,w=n.children,_=n.disabled,S=n.easing,O=void 0===S?b:S,E=n.style,j=n.timeout,T=void 0===j?k:j,C=(0,r.Kd)(n,y),A=(0,h.Z)(),R=(0,d._X)(),I=(0,l.useRef)(null),P=(0,o.Z)(I,t),Z=(0,u.pr)(null!=_?_:null==A?void 0:A.disabled),N=(0,u.pr)(null==A?void 0:A.isExpanded);return(0,l.useEffect)(function(){if(N){var e=I.current;(0,s.nq)(e)}},[N]),(0,m.tZ)(f.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==x&&x,in:N,nodeRef:I,timeout:T},C),{},{children:function(e,t){var n=N?(0,a.c)({style:E,timeout:T,easing:O}):(0,a.Zk)({style:E,timeout:T,easing:O}),o=(0,a.zx)("transform",n),s=v(e,{}),u=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},R),s),{},{"aria-disabled":(0,c.Qm)(Z),transition:o});return"function"==typeof w?w(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:P,style:(0,r.Zj)((0,r.Zj)({},u),E)})):(0,m.tZ)(g.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:P},u),t),{},{style:E,children:null!=w?w:(0,m.tZ)(i.Z,{size:"4x"})}))}}))});x.displayName="AccordionToggleIcon";var w=x},67078:function(e,t,n){"use strict";n.d(t,{S:function(){return o},g:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},65590:function(e,t,n){"use strict";n.d(t,{QW:function(){return s},Z_:function(){return c},_X:function(){return l},k1:function(){return a},vo:function(){return u}});var r=n(53860),o=n(40596),i=n(27216),a=function(){return{display:"flex",flexDirection:"column"}},s=function(){var e=(0,o.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,i.u)().sizes,a=n["1q"],s=n["4x"],c="calc(".concat(n["3x"]," - ").concat(a,")");return{display:"flex",alignItems:"center",justifyContent:"space-between",columnGap:"4x",backgroundColor:({dark:"gray:90",light:"white"})[t],borderColor:"transparent",borderStyle:"solid",borderWidth:a,color:({dark:"white:primary",light:"black:primary"})[t],_disabled:{color:({dark:"white:disabled",light:"black:disabled"})[t]},px:s,py:c,width:"100%"}},c=function(){return{}},u=function(){return{width:"100%"}},l=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}}},48580:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(67078),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.g)}},62080:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(83513),c=n(17705),u=n(12711),l=function(){if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,i.useContext)(u.u)},f=n(52903),p=["disabled","selected","size","variant"],d="default",h=(0,i.forwardRef)(function(e,t){var n,i,u=(0,a.Z)({props:e,name:"Button"}),h=u.disabled,m=u.selected,g=u.size,y=u.variant,v=(0,r.Kd)(u,p),b=h,k=g,x=y,w=l();if(w){var _,S,O,E,j,T,C=(0,r.Zj)({},w),A=C.disabled,R=C.orientation,I=C.size,P=C.variant;b=null!==(S=b)&&void 0!==S?S:A,_=null!=R?R:"horizontal",k=null!==(O=null!==(E=k)&&void 0!==E?E:I)&&void 0!==O?O:"md",x=null!==(j=null!==(T=x)&&void 0!==T?T:P)&&void 0!==j?j:d}else k=null!==(n=k)&&void 0!==n?n:"md",x=null!==(i=x)&&void 0!==i?i:d;var Z={"aria-disabled":(0,o.Qm)(b),"data-selected":(0,o.PB)(m),type:"button",disabled:b,tabIndex:m?-1:void 0},N=(0,c.eJ)({orientation:_,size:k,variant:x});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,as:"button"},Z),N),v))});h.displayName="Button";var m=h},83513:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(17705),c=n(52903),u=n(49857),l=["children","disabled"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"ButtonBase"}),i=n.children,f=n.disabled,p=(0,r.Kd)(n,l),d=(0,s.qz)({disabled:f});return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-disabled":(0,o.Qm)(f),as:"button",type:"button",disabled:f},d),p),{},{children:i}))});f.displayName="ButtonBase";var p=f},12711:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var r=(0,n(2784).createContext)()},17705:function(e,t,n){"use strict";n.d(t,{K7:function(){return h},eJ:function(){return p},qz:function(){return d}});var r=n(53860),o=n(83377),i=n(5081),a=n(40596),s=n(27216),c=function(e){var t,n,r,o,i=e.colorMode,a=e.theme;return{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],borderColor:"transparent",color:({dark:"white:emphasis",light:"black:emphasis"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"gray:50",light:"gray:10"})[i],zIndex:2},_active:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},u=function(e){var t,n,r,o,i=e.colorMode,a=e.theme,s={dark:"gray:60",light:"gray:30"}[i],c={dark:"blue:50",light:"blue:50"}[i],u={dark:"blue:40",light:"blue:60"}[i];return{borderColor:s,color:({dark:"white:primary",light:"black:primary"})[i],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[i],boxShadow:["inset 0 0 0 ".concat(null==a?void 0:null===(t=a.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==a?void 0:null===(n=a.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[i]]),"inset 0 0 0 ".concat(null==a?void 0:null===(r=a.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==a?void 0:null===(o=a.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[i]])].join(", "),zIndex:1},_hover:{color:u,"&:not(:focus-visible)":{borderColor:c},zIndex:2},_active:{borderColor:c,backgroundColor:({dark:"rgba(0, 0, 0, 0.12)",light:"rgba(0, 0, 0, 0.08)"})[i],color:u},_disabled:{borderColor:s,color:({dark:"white:emphasis",light:"black:emphasis"})[i],cursor:"not-allowed",opacity:({dark:.28,light:.3})[i]},_selected:{backgroundColor:({dark:"gray:70",light:"gray:30"})[i],color:({dark:"white:emphasis",light:"black:emphasis"})[i],pointerEvents:"none"}}},l=function(e){var t=e.colorMode,n=u({colorMode:t,theme:e.theme}),o={dark:"gray:70",light:"gray:30"}[t],i={dark:"gray:70",light:"gray:30"}[t],a={dark:"white:emphasis",light:"black:emphasis"}[t];return(0,r.Zj)((0,r.Zj)({},n),{},{borderColor:"transparent",_disabled:(0,r.Zj)((0,r.Zj)({},n._disabled),{},{borderColor:"transparent",cursor:"not-allowed"}),_selected:{backgroundColor:o,borderColor:i,color:a,pointerEvents:"none"}})},f=function(e){var t,n,r,o,i=e.color,a=e.colorMode,s=e.theme;return{backgroundColor:({dark:"".concat(i,":60"),light:"".concat(i,":60")})[a],borderColor:"transparent",color:({dark:"white:emphasis",light:"white:emphasis"})[a],_focusVisible:{borderColor:({dark:"blue:60",light:"blue:60"})[a],boxShadow:["inset 0 0 0 ".concat(null==s?void 0:null===(t=s.sizes)||void 0===t?void 0:t["1q"]," ").concat(null==s?void 0:null===(n=s.colors)||void 0===n?void 0:n[({dark:"blue:60",light:"blue:60"})[a]]),"inset 0 0 0 ".concat(null==s?void 0:null===(r=s.sizes)||void 0===r?void 0:r["2q"]," ").concat(null==s?void 0:null===(o=s.colors)||void 0===o?void 0:o[({dark:"black:emphasis",light:"white:emphasis"})[a]])].join(", "),zIndex:1},_hover:{backgroundColor:({dark:"".concat(i,":50"),light:"".concat(i,":50")})[a],zIndex:2},_active:{backgroundColor:({dark:"".concat(i,":70"),light:"".concat(i,":70")})[a]},_disabled:{backgroundColor:({dark:"gray:60",light:"gray:20"})[a],color:({dark:"white:emphasis",light:"black:emphasis"})[a],cursor:"not-allowed",opacity:({dark:.28,light:.3})[a]},_selected:{backgroundColor:({dark:"".concat(i,":80"),light:"".concat(i,":80")})[a],color:({dark:"white:emphasis",light:"white:emphasis"})[a],pointerEvents:"none"}}},p=function(e){var t=e.orientation,n=e.size,i=e.variant,p=(0,a.Z)(),d=(0,r.ZQ)(p,1)[0],h=(0,s.u)(),m={display:"inline-flex",alignItems:"center",justifyContent:"center",appearance:"none",userSelect:"none",whiteSpace:"nowrap",border:1,borderRadius:"sm",px:"3x",transition:(0,o.zx)(["background-color","border-color","box-shadow","color"],{duration:200})},g={secondary:u({colorMode:d,theme:h}),ghost:l({colorMode:d,theme:h}),emphasis:f({color:"red",colorMode:d,theme:h}),primary:f({color:"blue",colorMode:d,theme:h}),default:c({colorMode:d,theme:h})}[i];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},m),{horizontal:{_notFirstOfType:{borderTopLeftRadius:0,borderBottomLeftRadius:0},_notLastOfType:{borderTopRightRadius:0,borderBottomRightRadius:0}},vertical:{_notFirstOfType:{borderTopLeftRadius:0,borderTopRightRadius:0},_notLastOfType:{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}[t]),{lg:{minHeight:"10x",fontSize:"md",lineHeight:"md"},md:{minHeight:"8x",fontSize:"sm",lineHeight:"sm"},sm:{minHeight:"6x",fontSize:"sm",lineHeight:"sm"}}[n]),g)},d=function(e){var t=e.disabled;return{appearance:"none",backgroundColor:"inherit",border:"none",color:"inherit",cursor:(0,i.pr)(t)?"not-allowed":"pointer",outline:0,padding:0}},h=function(e){var t=e.orientation;return(0,r.Zj)({display:"inline-flex"},{vertical:{flexDirection:"column"},horizontal:{flexDirection:"row"}}[t])}},78366:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(53860),o=n(2784),i=n(98827),a=n(40596),s=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0];return{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[t],borderRadius:"sm",color:({dark:"white:primary",light:"black:primary"})[t],fontFamily:"mono",px:"1x"}},c=n(52903),u=n(49857),l=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Code"}),o=s();return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"code",ref:t},o),n))});l.displayName="Code";var f=l},14641:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(56818),i=n(33558),a=n(92307),s=n.n(a),c=n(2784),u=n(98827),l=n(43901),f=function(e){var t,n,r=null===(t=window)||void 0===t?void 0:null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e);if(r)return r.matches},p={dark:"(prefers-color-scheme: dark)"},d=function(e){var t;return(null!==(t=f(p.dark))&&void 0!==t?t:"dark"===e)?"dark":"light"},h=n(52903),m=function(e){return"dark"===e?"dark":"light"},g=s()(function(e){return(0,r.Zj)({},e)}),y=function(e,t){return void 0===t?"dark"===e?"light":"dark":m(t)},v=function(e){var t=(0,u.Z)({props:e,name:"ColorModeProvider"}),n=t.children,a=t.defaultValue,s=t.value,f=t.onChange,v=t.useSystemColorMode,b="dark"===a?"dark":"light",k=(0,c.useReducer)(y,m(null!=s?s:b)),x=(0,r.ZQ)(k,2),w=x[0],_=x[1];(0,c.useEffect)(function(){void 0!==s&&_(s)},[s]);var S=(0,c.useCallback)(function(e){void 0!==s?_(s):_(e),"function"==typeof f&&f(e)},[s,f]);(0,c.useEffect)(function(){if(null!=s||!v||!(0,i.Nq)())return o.ZT;S(d(b));var e,t,n=null===(e=window)||void 0===e?void 0:null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,p.dark),r=function(){S(n.matches?"dark":"light")};return n.addEventListener("change",r),function(){n.removeEventListener("change",r)}},[a,s,v,b,S]);var O=g({colorMode:w,onChange:S});return(0,h.tZ)(l.k.Provider,{value:O,children:n})};v.displayName="ColorModeProvider";var b=v},43901:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r=(0,n(2784).createContext)()},40596:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5081),o=n(2784),i=n(43901),a=function(){if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");var e=(0,o.useContext)(i.k);if(void 0===e)throw Error("The `useColorMode` hook must be called from a descendent of the `ColorModeProvider`.");var t=(0,r.ks)(e),n=t.colorMode,a=t.onChange,s=(0,o.useCallback)(function(e){"function"==typeof e&&(e=e(n)),a(e)},[n,a]);return[n,s]}},45437:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r,o=n(56818),i=(r=!1,function(e,t){return r?e:new Proxy(e,{get:function(){return r||(null==t||t(),r=!0),Reflect.get.apply(Reflect,arguments)}})}),a={dark:{background:{primary:"gray:100",secondary:"gray:90",tertiary:"gray:80",inverted:"gray:10",inverse:"gray:10",highlighted:"rgba(255, 255, 255, 0.12)",selected:"rgba(255, 255, 255, 0.08)"},color:{emphasis:"white:emphasis",primary:"white:primary",secondary:"white:secondary",tertiary:"white:tertiary",disabled:"white:disabled",success:"green:40",info:"blue:40",warning:"orange:50",error:"red:50"},divider:"rgba(255, 255, 255, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.48), 0 1px 2px 0 rgba(0, 0, 0, 0.16)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.48), 0 2px 4px 0 rgba(0, 0, 0, 0.16)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.48), 0 4px 8px 0 rgba(0, 0, 0, 0.16)"},severity:i({critical:"magenta:60",high:"red:50",medium:"orange:50",low:"yellow:50",safe:"green:40",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:50","green:40","orange:50","cyan:40","red:50","purple:50","teal:40","magenta:40","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}},light:{background:{primary:"white:emphasis",secondary:"gray:10",tertiary:"gray:20",inverted:"gray:70",inverse:"gray:70",highlighted:"rgba(0, 0, 0, 0.12)",selected:"rgba(0, 0, 0, 0.08)"},color:{emphasis:"black:emphasis",primary:"black:primary",secondary:"black:secondary",tertiary:"black:tertiary",disabled:"black:disabled",success:"green:50",info:"blue:60",warning:"orange:50",error:"red:60"},divider:"rgba(0, 0, 0, 0.12)",text:{selection:"blue:60",highlight:"#fce79e"},shadow:{thin:"0 2px 8px 0 rgba(0, 0, 0, 0.16), 0 1px 2px 0 rgba(0, 0, 0, 0.08)",medium:"0 4px 16px 0 rgba(0, 0, 0, 0.16), 0 2px 4px 0 rgba(0, 0, 0, 0.08)",thick:"0 8px 32px 0 rgba(0, 0, 0, 0.16), 0 4px 8px 0 rgba(0, 0, 0, 0.08)"},severity:i({critical:"magenta:60",high:"red:60",medium:"orange:50",low:"yellow:50",safe:"green:50",info:"gray:50",unknown:"gray:50"},function(){(0,o.TL)("colorStyle.severity",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})}),chart:{classic:{colors:i(["gray:50","blue:60","green:50","orange:50","cyan:40","red:60","purple:60","teal:40","magenta:50","green:30","yellow:50"],function(){(0,o.TL)("colorStyle.chart.classic.colors",{willRemove:!0,message:"Use your custom color style instead. For more details, see the migration guide at: ".concat("https://trendmicro-frontend.github.io/tonic-ui/react/latest/getting-started/migration-v1-to-v2#color-style")})})}}}}},44702:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r=(0,n(2784).createContext)()},85017:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(43901),s=n(44702),c=function(e){var t=(0,o.ks)(e).colorMode,n=(0,o.ks)((0,i.useContext)(a.k)).colorMode,c=null!=t?t:n;if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var u=(0,i.useContext)(s.I);if(void 0===u)throw Error("The `useColorStyle` hook must be called from a descendent of the `ColorStyleProvider`.");var l=(0,o.ks)(u),f=l.colorStyle,p=l.onChange;if(!Object.prototype.hasOwnProperty.call(f,c))throw Error("The `colorMode` must be one of:",Object.keys(f));return[(0,o.ks)(f[c]),(0,i.useCallback)(function(e){"function"==typeof e&&(e=e(f)),p((0,r.Zj)((0,r.Zj)({},f),{},(0,r._x)({},c,(0,o.ks)(e))))},[c,f,p])]}},79808:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r=(0,n(2784).createContext)({})},98827:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2784),o=n(79808),i=n(53860),a=function e(t,n){for(var r=(0,i.Zj)({},n),o=0,a=Object.entries(t);o *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child) > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0}})},T=function(){return{display:"flex",ml:-1}},C=function(){return(0,o.Z)({"& > *:first-of-type":{borderTopRightRadius:0,borderBottomRightRadius:0},"&:not(:first-of-type) > *:first-of-type":{borderTopLeftRadius:0,borderBottomLeftRadius:0}})},A=function(){return{display:"flex",mr:-1}},R=function(e){var t=e.variant,n=(0,i.Z)(),a=(0,r.ZQ)(n,1)[0],c={dark:"blue:60",light:"blue:60"}[a],u=(0,r._x)((0,r._x)((0,r._x)({},s.GY,"border"),s.$r,"border"),s.n2,"borderBottom")[t];if(!u)return{};var l="".concat(u,"Color");return(0,o.Z)({"&:has(> input:focus:invalid), &:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c),"&:hover:has(> input:invalid), &:hover:has(> input[aria-invalid=true])":(0,r._x)({},l,{dark:"red:50",light:"red:60"}[a]),"&:hover:has(> input:focus:invalid), &:hover:has(> input:focus[aria-invalid=true])":(0,r._x)({},l,c)})},I=function(e){var t,n=e.inputState,o=e.size,a=e.variant,c=(0,i.Z)(),u=(0,r.ZQ)(c,1)[0],l=(t=({sm:{fontSize:"sm",lineHeight:"sm",height:"6x"},md:{fontSize:"sm",lineHeight:"sm",height:"8x"},lg:{fontSize:"md",lineHeight:"md",height:"10x"}})[o],a===s.rO&&(t.height=void 0),t),f=y({colorMode:u,inputState:n,variant:a});return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",alignItems:"center",position:"relative",transition:"all .2s"}),l),f)},P=function(e){var t,n=e.inputState,o=e.size,i=e.variant,c=e.startAdornment,u=e.endAdornment,l=(0,a.u)().sizes,f={cursor:null!=n&&n.disabled?"not-allowed":void 0,width:"100%"},p=(t=({sm:{fontSize:"sm",lineHeight:"sm"},md:{fontSize:"sm",lineHeight:"sm"},lg:{fontSize:"md",lineHeight:"md"}})[o],(i===s.GY||i===s.$r)&&(t.px="calc(".concat(l["3x"]," - ").concat(l["1q"],")")),c&&u&&(t.px=void 0),c&&!u&&(t.pr=t.px,t.px=void 0),!c&&u&&(t.pl=t.px,t.px=void 0),t);return(0,r.Zj)((0,r.Zj)({},f),p)}},40374:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(71247),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.K)}},19088:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(53860),o=n(56818),i=n(2784),a=n(98827),s=n(10130),c=n(52903),u=n(49857),l=["disabled","onClick","textDecoration"],f=(0,i.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"Link"}),f=n.disabled,p=n.onClick,d=n.textDecoration,h=(0,r.Kd)(n,l),m=(0,s.$)({disabled:f,textDecoration:d}),g=(0,i.useCallback)(function(e){return e.preventDefault()},[]);return(0,c.tZ)(u.Z,(0,r.Zj)((0,r.Zj)({as:"a",ref:t,"aria-disabled":(0,o.Qm)(f),onClick:f?g:p},m),h))});f.displayName="Link";var p=f},10130:function(e,t,n){"use strict";n.d(t,{$:function(){return i},u:function(){return a}});var r=n(53860),o=n(40596),i=function(e){var t=e.disabled,n=e.textDecoration,i=(0,o.Z)(),a=(0,r.ZQ)(i,1)[0];return{color:({light:"blue:60",dark:"blue:40"})[a],cursor:"pointer",textDecoration:null!=n?n:"none",display:"inline-flex",alignItems:"center",_disabled:{color:({light:"black:disabled",dark:"white:disabled"})[a],cursor:"not-allowed"},_visited:{color:({light:"purple:60",dark:"purple:50"})[a]},_hover:{color:({light:"blue:50",dark:"blue:40"})[a],textDecoration:t?n:n?"none":"underline"},_active:{color:"blue:60",textDecoration:null!=n?n:t?"none":"underline"}}},a=function(){return{}}},15192:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(53860),o=n(25013),i=n(70404),a=n(56818),s=n(5081),c=n(92307),u=n.n(c),l=n(2784),f=n(98827),p=n(65204),d=n(20655),h=n(52741),m=n(99723),g=n(52903),y=n(49857),v=["anchorEl","autoSelect","children","closeOnBlur","closeOnSelect","defaultActiveIndex","defaultIsOpen","isOpen","offset","onClose","onOpen","placement","returnFocusOnClose"],b=u()(function(e){return(0,r.Zj)({},e)}),k=(0,l.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Menu"}),c=n.anchorEl,u=n.autoSelect,k=n.children,x=n.closeOnBlur,w=n.closeOnSelect,_=n.defaultActiveIndex,S=void 0===_?-1:_,O=n.defaultIsOpen,E=n.isOpen,j=n.offset,T=n.onClose,C=n.onOpen,A=n.placement,R=void 0===A?"bottom-start":A,I=n.returnFocusOnClose,P=void 0===I||I,Z=(0,r.Kd)(n,v),N=(0,l.useRef)(null),F=(0,l.useRef)(null),L=(0,l.useState)(S),M=(0,r.ZQ)(L,2),D=M[0],B=M[1],z=(0,l.useState)(null!=E?E:void 0!==O&&O),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q=(0,o.Z)(U),W=(0,l.useCallback)(function(){return N.current?(0,i.t)(N.current).filter(function(e){return"menuitem"===e.getAttribute("role")}):[]},[]);(0,l.useEffect)(function(){void 0!==E&&H(E)},[E]),(0,l.useEffect)(function(){U&&requestAnimationFrame(function(){W().forEach(function(e,t){return 0===t&&e.setAttribute("tabindex",0)})})},[U,W]),(0,l.useEffect)(function(){-1!==D&&requestAnimationFrame(function(){var e=W(),t=e[D];t&&t.focus(),e.forEach(function(e,t){t===D?e.setAttribute("tabindex",0):e.setAttribute("tabindex",-1)})}),-1===D&&!U&&q&&P&&requestAnimationFrame(function(){var e=F.current;e&&e.focus()}),-1===D&&U&&!q&&requestAnimationFrame(function(){var e=N.current;e&&e.focus()})},[U,D,W,N,F,q,P]);var V=(0,l.useCallback)(function(){void 0!==E||H(!0),"function"==typeof C&&C()},[E,C]),K=(0,l.useCallback)(function(){W().length>0&&B(0)},[W]),Q=(0,l.useCallback)(function(){var e=W();e.length>0&&B(e.length-1)},[W]),G=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D+1)%e.length)},[D,W]),Y=(0,l.useCallback)(function(){var e=W();e.length>0&&B((D-1+e.length)%e.length)},[D,W]),X=(0,l.useCallback)(function(){void 0!==E||H(!1),"function"==typeof T&&T(),B(S),W().forEach(function(e){return e.setAttribute("tabindex",-1)})},[W,E,T,S]);c&&(F.current=c);var J=(0,d.Z)(),ee="".concat(p.Z.name,":Menu-").concat(J),et="".concat(p.Z.name,":MenuToggle-").concat(J),en=b({autoSelect:void 0!==u&&u,closeOnBlur:void 0===x||x,closeOnSelect:void 0===w||w,direction:{top:"up",bottom:"down"}[(0,s.Zs)(R).split("-")[0]],focusOnFirstItem:K,focusOnLastItem:Q,focusOnNextItem:G,focusOnPreviousItem:Y,isOpen:U,offset:j,onClose:X,onOpen:V,placement:R,menuId:ee,menuContentRef:N,menuToggleId:et,menuToggleRef:F}),er=(0,m.uq)();return(0,g.tZ)(h.p.Provider,{value:en,children:(0,g.tZ)(y.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},er),Z),{},{children:(0,a.Pu)(k,en)}))})});k.displayName="Menu";var x=k},66785:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(2784),i=n(62080),a=n(98827),s=n(12226),c=n(24718),u=n(99723),l=n(52903),f=n(49857),p=["children","css","disabled","onClick","onKeyDown","variant"],d=(0,o.forwardRef)(function(e,t){var n=(0,a.Z)({props:e,name:"MenuButton"}),o=n.children,d=n.css,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=n.variant,v=(0,r.Kd)(n,p),b=[(0,u.lp)({variant:y}),d],k=(0,u.q8)();return(0,l.tZ)(s.Z,{disabled:h,onClick:m,onKeyDown:g,children:function(e){var n=e.getMenuToggleProps;return(0,l.BX)(i.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,css:b,variant:y},n()),k),v),{},{children:[(0,l.tZ)(f.Z,{children:o}),(0,l.tZ)(c.Z,{})]}))}})});d.displayName="MenuButton";var h=d},47721:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(98827),u=n(67250),l=n(14594),f=n(99723),p=n(8031),d=n(52903),h=["PopperComponent","PopperProps","TransitionComponent","TransitionProps","children","onBlur","onKeyDown"],m=(0,s.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuContent"}),m=n.PopperComponent,g=void 0===m?u.Z:m,y=n.PopperProps,v=n.TransitionComponent,b=void 0===v?l.Z:v,k=n.TransitionProps,x=n.children,w=n.onBlur,_=n.onKeyDown,S=(0,r.Kd)(n,h),O=(0,s.useRef)(null),E=(0,o.Z)(O,t),j=(0,p.Z)(),T=(0,r.Zj)({},j),C=T.closeOnBlur,A=T.isOpen,R=T.focusOnFirstItem,I=T.focusOnLastItem,P=T.focusOnNextItem,Z=T.focusOnPreviousItem,N=T.menuId,F=T.menuToggleId,L=T.menuToggleRef,M=T.menuContentRef,D=T.offset,B=T.onClose,z=T.placement,$={};$.onBlur=function(e){var t,n,r,o,i=e.relatedTarget||document.activeElement,s=!(null!==(t=L.current)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,i)),c=!(null!==(r=M.current)&&void 0!==r&&null!==(o=r.contains)&&void 0!==o&&o.call(r,i));A&&C&&i&&s&&c&&(0,a.zU)(B)()},$.onKeyDown=function(e){var t=null==e?void 0:e.key,n=null==e?void 0:e.shiftKey;"ArrowDown"===t&&(e.preventDefault(),(0,a.zU)(P)()),"ArrowUp"===t&&(e.preventDefault(),(0,a.zU)(Z)()),"End"===t&&(e.preventDefault(),(0,a.zU)(I)()),"Home"===t&&(e.preventDefault(),(0,a.zU)(R)()),"Tab"===t&&(e.preventDefault(),(0,a.zU)(n?Z:P)()),"Escape"===t&&(0,a.zU)(B)()};var U=(0,f.Pn)({tabIndex:-1}),H=(0,a.rY)(D),q=(0,r.ZQ)(H,2),W=q[0],V=void 0===W?0:W,K=q[1],Q=void 0===K?0:K,G=(0,s.useMemo)(function(){return[{name:"flip",enabled:!1},{name:"offset",options:{offset:[V,Q]}}]},[V,Q]);return(0,d.tZ)(g,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-labelledby":F,anchorEl:null==L?void 0:L.current,"data-menu-id":N,id:N,isOpen:A,placement:z,ref:M,role:"menu",tabIndex:-1,unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"dropdown",onBlur:(0,i.N)(w,$.onBlur),onKeyDown:(0,i.N)(_,$.onKeyDown)},y),{},{modifiers:[].concat((0,r.u)(G),(0,r.u)((0,a.rY)(null==y?void 0:y.modifiers)))},U),S),{},{children:function(e){e.placement;var t=e.transition,n=(0,r.Zj)({},t),o=n.in,a=n.onEnter,s=n.onExited;return(0,d.tZ)(b,(0,r.Zj)((0,r.Zj)({appear:!0,easing:"linear",timeout:{enter:133,exit:Math.floor(93.1)}},k),{},{ref:E,in:o,onEnter:(0,i.PP)(a,null==k?void 0:k.onEnter),onExited:(0,i.PP)(s,null==k?void 0:k.onExited),children:x}))}}))});m.displayName="MenuContent";var g=m},3342:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(72448),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuDivider"}),o=(0,s.ue)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuDivider";var l=u},94829:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(53860),o=n(56818),i=n(5081),a=n(2784),s=n(83513),c=n(98827),u=n(99723),l=n(8031),f=n(52903),p=["disabled","onClick","onKeyDown","role"],d=(0,a.forwardRef)(function(e,t){var n=(0,c.Z)({props:e,name:"MenuItem"}),a=n.disabled,d=n.onClick,h=n.onKeyDown,m=n.role,g=(0,r.Kd)(n,p),y=(0,l.Z)(),v=(0,r.Zj)({},y),b=v.closeOnSelect,k=v.onClose,x=(0,u.XP)({tabIndex:-1});return(0,f.tZ)(s.Z,(0,r.Zj)((0,r.Zj)({ref:t,role:void 0===m?"menuitem":m,tabIndex:-1,disabled:a,"aria-disabled":(0,o.Qm)(a),onClick:(0,o.N)(d,function(e){if(a){e.stopPropagation(),e.preventDefault();return}b&&(0,i.zU)(k)()}),onKeyDown:(0,o.N)(h,function(e){!a&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),d&&(0,i.zU)(d)(),b&&(0,i.zU)(k)())})},x),g))});d.displayName="MenuItem";var h=d},87888:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(53860),o=n(2784),i=n(98827),a=n(47721),s=n(99723),c=n(52903),u=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"MenuList"}),o=(0,s.id)();return(0,c.tZ)(a.Z,(0,r.Zj)((0,r.Zj)({ref:t},o),n))});u.displayName="MenuList";var l=u},12226:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53860),o=n(20325),i=n(56818),a=n(5081),s=n(2784),c=n(83513),u=n(98827),l=n(99723),f=n(8031),p=n(52903),d=["children","disabled","onClick","onKeyDown"],h=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"MenuToggle"}),s=n.children,h=n.disabled,m=n.onClick,g=n.onKeyDown,y=(0,r.Kd)(n,d),v=(0,f.Z)(),b=(0,r.Zj)({},v),k=b.autoSelect,x=b.focusOnLastItem,w=b.focusOnFirstItem,_=b.isOpen,S=b.menuId,O=b.menuToggleId,E=b.menuToggleRef,j=b.onClose,T=b.onOpen,C=(0,o.Z)(E,t),A=(0,l.Z7)(),R=(0,i.N)(m,function(e){if(h){e.preventDefault();return}if(_){(0,a.zU)(j)();return}(0,a.zU)(T)(),k&&w()}),I=(0,i.N)(g,function(e){if(h){e.preventDefault();return}if("ArrowDown"===e.key){(0,a.zU)(T)(),(0,a.zU)(w)();return}if("ArrowUp"===e.key){(0,a.zU)(T)(),(0,a.zU)(x)();return}}),P=function(){return(0,r.Zj)((0,r.Zj)({"aria-controls":S,"aria-disabled":(0,i.Qm)(h),"aria-expanded":(0,i.Qm)(_),"aria-haspopup":"menu",disabled:h,id:O,onClick:R,onKeyDown:I,ref:C,role:"button",tabIndex:0},A),y)};return"function"==typeof s?s({getMenuToggleProps:P}):(0,p.tZ)(c.Z,(0,r.Zj)((0,r.Zj)({},P()),{},{children:s}))});h.displayName="MenuToggle";var m=h},24718:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(20325),i=n(85163),a=n(20012),s=n(40809),c=n(45795),u=n(83377),l=n(33558),f=n(56818),p=n(2784),d=n(41759),h=n(98827),m=n(99723),g=n(8031),y=n(52903),v=n(49857),b=["appear","children","disabled","easing","style","timeout"],k=function(e,t){var n={entering:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},entered:function(e){return{transform:({up:"rotate(180deg)",down:"rotate(-180deg)"})[e.direction]}},exiting:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}},exited:function(e){return{transform:({up:"rotate(0deg)",down:"rotate(0deg)"})[e.direction]}}}[e];return"function"==typeof n?n(t):n},x={enter:u.YU.easeOut,exit:u.YU.easeOut},w={enter:133,exit:Math.floor(93.1)},_=(0,p.forwardRef)(function(e,t){var n=(0,h.Z)({props:e,name:"MenuToggleIcon"}),_=n.appear,S=n.children,O=n.disabled,E=n.easing,j=void 0===E?x:E,T=n.style,C=n.timeout,A=void 0===C?w:C,R=(0,r.Kd)(n,b),I=(0,g.Z)(),P=(0,r.Zj)({},I),Z=P.isOpen,N=P.direction,F=(0,m.ar)(),L=(0,p.useRef)(null),M=(0,o.Z)(L,t);return(0,p.useEffect)(function(){if(Z){var e=L.current;(0,l.nq)(e)}},[Z]),(0,y.tZ)(d.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==_&&_,in:Z,nodeRef:L,timeout:A},R),{},{children:function(e,t){var n=Z?(0,u.c)({style:T,timeout:A,easing:j}):(0,u.Zk)({style:T,timeout:A,easing:j}),o=(0,u.zx)("transform",n),l=k(e,{direction:N}),p=(0,r.Zj)((0,r.Zj)((0,r.Zj)({},F),l),{},{"aria-disabled":(0,f.Qm)(O),transition:o});if("function"==typeof S)return S(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:M,style:(0,r.Zj)((0,r.Zj)({},p),T)}));var d={up:i.Z,down:a.Z,left:s.Z,right:c.Z}[N];return(0,y.tZ)(v.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:M},p),t),{},{style:T,children:null!=S?S:!!d&&(0,y.tZ)(d,{size:"4x"})}))}}))});_.displayName="MenuToggleIcon";var S=_},52741:function(e,t,n){"use strict";n.d(t,{p:function(){return o},z:function(){return i}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99723:function(e,t,n){"use strict";n.d(t,{$T:function(){return y},Ln:function(){return p},O6:function(){return b},Pn:function(){return l},TP:function(){return k},XP:function(){return d},Z7:function(){return m},_N:function(){return v},ar:function(){return g},id:function(){return f},lp:function(){return c},q8:function(){return u},ue:function(){return h},uq:function(){return s}});var r=n(53860),o=n(30608),i=n(40596),a=n(85017),s=function(){return{position:"relative",display:"inline-flex"}},c=function(e){var t=e.variant,n=(0,i.Z)(),a={dark:"white:primary",light:"black:primary"}[(0,r.ZQ)(n,1)[0]];return(0,o.Z)((0,r.Zj)({},{ghost:{"&:hover":{color:a},"&:active":{color:a}},secondary:{"&:hover":{color:a},"&:active":{color:a}}}[t]))},u=function(){return{display:"inline-flex",alignItems:"center",justifyContent:"space-between",columnGap:"1x"}},l=function(e){return{outline:e.tabIndex<0?0:void 0}},f=function(){var e,t,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0],s=(0,a.Z)({colorMode:o}),c=(0,r.ZQ)(s,1)[0],u={dark:{backgroundColor:"gray:80",boxShadow:null==c?void 0:null===(e=c.shadow)||void 0===e?void 0:e.medium},light:{backgroundColor:"white",boxShadow:null==c?void 0:null===(t=c.shadow)||void 0===t?void 0:t.medium}}[o];return(0,r.Zj)((0,r.Zj)({},u),{},{color:"inherit",m:"0",p:"0",py:"2x"})},p=function(){var e=(0,i.Z)();return{px:"3x",py:"2x",color:({dark:"white:secondary",light:"black:secondary"})[(0,r.ZQ)(e,1)[0]]}},d=function(e){var t=e.tabIndex,n=(0,i.Z)(),o=(0,r.ZQ)(n,1)[0];return{fontSize:"sm",lineHeight:"sm",color:({dark:"white:primary",light:"black:primary"})[o],cursor:"pointer",display:"flex",textDecoration:"none",alignItems:"center",textAlign:"left",outline:t<0?0:void 0,px:"3x",py:"2x",userSelect:"none",width:"100%",_focusVisible:{outlineColor:({dark:"blue:60",light:"blue:60"})[o],outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{backgroundColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[o]},_selected:{backgroundColor:({dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"})[o]},_disabled:{backgroundColor:"inherit",color:({dark:"white:disabled",light:"black:disabled"})[o],cursor:"not-allowed"}}},h=function(){return{my:"2x"}},m=function(){return{display:"inline-flex"}},g=function(){return{display:"inline-flex",_disabled:{opacity:".28"}}},y=function(){return{position:"relative"}},v=function(e){return{outline:e.tabIndex<0?0:void 0}},b=function(e){var t,n,o,s=e.isOpen,c=e.placement,u=(0,i.Z)(),l=(0,r.ZQ)(u,1)[0],f=(0,a.Z)({colorMode:l}),p=(0,r.ZQ)(f,1)[0],d={light:{backgroundColor:"white",boxShadow:null==p?void 0:null===(t=p.shadow)||void 0===t?void 0:t.medium},dark:{backgroundColor:"gray:80",boxShadow:null==p?void 0:null===(n=p.shadow)||void 0===n?void 0:n.medium}}[l],h=function(e){return({"right-start":{position:"absolute",top:0,left:"100%"},"right-end":{position:"absolute",bottom:0,left:"100%"},"left-start":{position:"absolute",top:0,right:"100%"},"left-end":{position:"absolute",bottom:0,right:"100%"}})[e]},m=null!==(o=h(c))&&void 0!==o?o:h("right-start");return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},d),m),{},{color:"inherit",display:s?"block":"none",m:"0",p:"0",py:"2x"})},k=function(){return{cursor:"pointer",display:"inline-flex"}}},8031:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(52741),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.p)}},13462:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(53860),o=n(70404),i=n(56818),a=n(92307),s=n.n(a),c=n(2784),u=n(64355),l=n.n(u),f=n(98827),p=n(47732),d=n(3241),h=n(20325),m=n(53638),g=n(13692),y=n(52903),v=n(49857),b=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"ModalContainer"}),o=(0,g.Z)(),i=(0,r.Zj)({},o),a=i.closeOnOutsideClick,s=i.onClose,c=i.containerRef,u=(0,h.Z)(c,t),l=(0,m.ix)(),p=(0,r.Zj)((0,r.Zj)({ref:u,onClick:function(e){e.stopPropagation(),a&&"function"==typeof s&&s(e)}},l),n);return(0,y.tZ)(v.Z,(0,r.Zj)({},p))});b.displayName="ModalContainer";var k=n(77762),x=["autoFocus","children","closeOnEsc","closeOnOutsideClick","ensureFocus","finalFocusRef","initialFocusRef","isClosable","isOpen","onClose","portalProps","returnFocusOnClose","scrollBehavior","size"],w=s()(function(e){return(0,r.Zj)({},e)}),_=(0,c.forwardRef)(function(e,t){var n=(0,f.Z)({props:e,name:"Modal"}),a=n.autoFocus,s=void 0!==a&&a,u=n.children,h=n.closeOnEsc,m=n.closeOnOutsideClick,g=n.ensureFocus,v=void 0!==g&&g,_=n.finalFocusRef,S=n.initialFocusRef,O=n.isClosable,E=n.isOpen,j=void 0!==E&&E,T=n.onClose,C=n.portalProps,A=n.returnFocusOnClose,R=n.scrollBehavior,I=n.size,P=(0,r.Kd)(n,x),Z=(0,c.useState)(j),N=(0,r.ZQ)(Z,2),F=N[0],L=N[1],M=(0,c.useRef)(),D=(0,c.useRef)(),B=w({autoFocus:s,closeOnEsc:void 0!==h&&h,closeOnOutsideClick:void 0!==m&&m,ensureFocus:v,finalFocusRef:_,initialFocusRef:S,isClosable:void 0!==O&&O,isOpen:j,onClose:T,scrollBehavior:void 0===R?"inside":R,size:void 0===I?"auto":I,containerRef:M,contentRef:D,placement:"center"}),z=(void 0===A||A)&&!_,$=(0,c.useCallback)(function(){if(S&&S.current){var e=S.current;"function"==typeof e.focus&&e.focus();return}if(D.current){var t=D.current;if((0,o.t)(t).length>0)return;"function"==typeof t.focus&&t.focus()}},[S]),U=(0,c.useCallback)(function(){if(_&&_.current){var e=_.current;"function"==typeof e.focus&&e.focus()}},[_]),H=(0,c.useCallback)(function(){L(!1)},[]);return(0,c.useEffect)(function(){if(j&&!F){L(!0);return}},[j,F]),(0,y.tZ)(k.t.Provider,{value:B,children:(0,y.tZ)(d.Z,{in:j,onExitComplete:H,children:!!F&&(0,y.tZ)(p.Z,(0,r.Zj)((0,r.Zj)({},C),{},{children:(0,y.tZ)(l(),{disabled:!v,autoFocus:s,returnFocus:z,onActivation:$,onDeactivation:U,children:(0,y.tZ)(b,(0,r.Zj)((0,r.Zj)({ref:t},P),{},{children:(0,i.Pu)(u,B)}))})}))})})});_.displayName="Modal";var S=_},40736:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(56818),a=n(2784),s=n(98827),c=n(62272),u=n(48504),l=n(97198),f=n(83513),p=n(53638),d=n(13692),h=n(52903),m=["children","onClick"],g=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalCloseButton"}),o=n.children,a=n.onClick,c=(0,r.Kd)(n,m),u=(0,d.Z)(),g=(0,r.Zj)({},u).onClose,y=(0,p.Zr)();return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({"aria-label":"Close",ref:t,onClick:(0,i.N)(a,g)},y),c),{},{children:null!=o?o:(0,h.tZ)(l.Z,{size:"4x"})}))});g.displayName="ModalCloseButton";var y=["TransitionComponent","TransitionProps","children"],v=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ModalContent"}),a=n.TransitionComponent,l=void 0===a?c.Z:a,f=n.TransitionProps,m=n.children,v=(0,r.Kd)(n,y),b=(0,u.Z)(),k=(0,r.ZQ)(b,2)[1],x=(0,d.Z)(),w=(0,r.Zj)({},x),_=w.closeOnEsc,S=w.isClosable,O=w.isOpen,E=w.onClose,j=w.scrollBehavior,T=w.size,C=w.contentRef,A=w.placement,R=(0,o.Z)(C,t),I=(0,p.fT)({placement:A,scrollBehavior:j,size:T,tabIndex:-1}),P=(0,r.Zj)((0,r.Zj)({"aria-modal":(0,i.Qm)(!0),ref:R,role:"dialog",tabIndex:-1,onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),_&&"function"==typeof E&&E(e))}},I),v);return(0,h.BX)(l,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!x},f),P),{},{in:!x||O,onExited:(0,i.PP)(k,null==f?void 0:f.onExited),children:[m,!!S&&(0,h.tZ)(g,{})]}))});v.displayName="ModalContent";var b=v},21400:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(33558),a=n(56818),s=n(5081),c=n(2784),u=n(98827),l=n(62272),f=n(48504),p=n(53638),d=n(13692),h=n(52903),m=["TransitionComponent","TransitionProps"],g=(0,c.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ModalOverlay"}),g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,b=(0,r.Kd)(n,m),k=(0,f.Z)(),x=(0,r.ZQ)(k,2)[1],w=(0,d.Z)(),_=(0,r.Zj)({},w),S=_.isOpen,O=_.scrollBehavior,E=_.containerRef,j=_.contentRef,T=(0,c.useRef)(),C=(0,o.Z)(T,t),A=(0,p.Yw)(),R=(0,r.Zj)((0,r.Zj)({ref:C},A),b);return(0,c.useEffect)(function(){var e=function(){var e,t,n,r,o=null==T?void 0:T.current;if(o){var a=(null==E?void 0:E.current)&&(0,i.Dx)(null==E?void 0:E.current),c=(0,s.pE)(parseFloat(null==a?void 0:a.paddingLeft)+parseFloat(null==a?void 0:a.paddingRight)),u=(0,s.pE)(parseFloat(null==a?void 0:a.paddingTop)+parseFloat(null==a?void 0:a.paddingBottom)),l=(0,s.pE)(null==j?void 0:null===(e=j.current)||void 0===e?void 0:e.offsetWidth)+c,f=(0,s.pE)(null==j?void 0:null===(t=j.current)||void 0===t?void 0:t.offsetHeight)+u;l>(null==E?void 0:null===(n=E.current)||void 0===n?void 0:n.offsetWidth)?o.style.width="".concat(l,"px"):o.style.width="",f>(null==E?void 0:null===(r=E.current)||void 0===r?void 0:r.offsetHeight)?o.style.height="".concat(f,"px"):o.style.height=""}};e();var t=null,n=globalThis.ResizeObserver;return void 0!==n&&(t=new n(function(t){e()}),E.current&&t.observe(E.current),j.current&&t.observe(j.current)),function(){t&&t.disconnect()}},[O,E,j]),(0,h.tZ)(y,(0,r.Zj)((0,r.Zj)((0,r.Zj)({appear:!!w},v),R),{},{in:!w||S,onExited:(0,a.PP)(x,null==v?void 0:v.onExited)}))});g.displayName="ModalOverlay";var y=g},77762:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var r=(0,n(2784).createContext)()},53638:function(e,t,n){"use strict";n.d(t,{IB:function(){return g},Yw:function(){return f},Zr:function(){return d},fT:function(){return p},ix:function(){return l},mS:function(){return m},vZ:function(){return h}});var r=n(53860),o=n(77485),i=n.n(o),a=n(40596),s=n(85017),c=n(31131),u=n(27216),l=function(){return{position:"fixed",left:0,right:0,top:0,bottom:0,display:"flex",overflow:"auto",zIndex:"modal"}},f=function(){var e=(0,a.Z)();return{position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundColor:({dark:"rgba(0, 0, 0, .7)",light:"rgba(0, 0, 0, .7)"})[(0,r.ZQ)(e,1)[0]]}},p=function(e){var t,n,o=e.placement,i=e.scrollBehavior,c=e.size,u=e.tabIndex,l=(0,a.Z)(),f=(0,r.ZQ)(l,1)[0],p=(0,s.Z)({colorMode:f}),d=(0,r.ZQ)(p,1)[0],h={light:{color:"black:primary",bg:"white",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:30",boxShadow:null==d?void 0:null===(t=d.shadow)||void 0===t?void 0:t.thick},dark:{color:"white:primary",bg:"gray:90",borderWidth:"1q",borderStyle:"solid",borderColor:"gray:80",boxShadow:null==d?void 0:null===(n=d.shadow)||void 0===n?void 0:n.thick}}[f];return(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{display:"flex",flexDirection:"column",outline:u<0?0:void 0,overflow:"clip",position:"relative"}),h),{center:{margin:"auto"}}[o]),{xs:{width:352,minHeight:240,maxHeight:"inside"===i?"80vh":void 0},sm:{width:512,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},md:{width:672,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},lg:{width:832,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},xl:{width:992,minHeight:320,maxHeight:"inside"===i?"80vh":void 0},full:{maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0,minHeight:"stretch",width:"100%"},auto:{width:"auto",height:"auto",maxWidth:"inside"===i?"100vw":void 0,maxHeight:"inside"===i?"100vh":void 0}}[void 0===c?"auto":c])},d=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)().sizes,o=(0,c.P)({color:{dark:"white:tertiary",light:"black:tertiary"}[t],size:"8x"}),i=n["1q"],s="calc(".concat(n["2x"]," - ").concat(i,")"),l="calc(".concat(n["2x"]," - ").concat(i,")");return(0,r.Zj)((0,r.Zj)({},o),{},{_focusVisible:{outlineColor:"blue:60",outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:{dark:"white:emphasis",light:"black:primary"}[t]},position:"absolute",top:s,right:l})},h=function(e){return{pt:"4x",pb:"6x",pl:"6x",pr:e.isClosable?"12x":"6x",position:"relative",fontSize:"xl",lineHeight:"xl"}},m=function(e){var t=e.scrollBehavior,n=(0,u.u)(),r=n.sizes,o=n.lineHeights;return{px:"6x",pb:"6x",flex:1,height:"auto",overflowY:"inside"===t?"auto":void 0,_firstOfType:{marginTop:"calc(".concat(i()(r,"4x")," + ").concat(i()(o,"xl")," + ").concat(i()(r,"3x"),")")}}},g=function(){var e=(0,a.Z)(),t=(0,r.ZQ)(e,1)[0],n=(0,u.u)(),o=n.sizes,s=n.lineHeights;return{display:"flex",justifyContent:"flex-end",px:"6x",py:"4x",borderTop:1,borderTopColor:({dark:"rgba(255, 255, 255, 0.12)",light:"rgba(0, 0, 0, 0.12)"})[t],_firstOfType:{marginTop:"calc(".concat(i()(o,"4x")," + ").concat(i()(s,"xl")," + ").concat(i()(o,"3x"),")")}}}},13692:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2784),o=n(77762),i=function(){if(!r.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,r.useContext)(o.t)}},911:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(53860),o=n(2784),i=n(98827),a=n(28716),s=n(73531),c=n(1079),u=n(52903),l=n(49857),f=["boundaryCount","count","defaultPage","disabled","onChange","page","renderItem","siblingCount","slot"],p=(0,o.forwardRef)(function(e,t){var n=(0,i.Z)({props:e,name:"Pagination"}),p=n.boundaryCount,d=n.count,h=n.defaultPage,m=n.disabled,g=n.onChange,y=n.page,v=n.renderItem,b=void 0===v?function(e){return(0,u.tZ)(s.Z,(0,r.Zj)({},e))}:v,k=n.siblingCount,x=n.slot,w=(0,r.Kd)(n,f),_=(0,c.Z)({boundaryCount:void 0===p?1:p,count:void 0===d?1:d,defaultPage:void 0===h?1:h,disabled:m,onChange:g,page:y,siblingCount:void 0===k?1:k,slot:x}).items,S=(0,a.d)();return(0,u.tZ)(l.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t},S),w),{},{children:_.map(function(e,t){return(0,u.tZ)(o.Fragment,{children:b((0,r.Zj)({},e))},"".concat(e.type,"-").concat(e.page))})}))});p.displayName="Pagination";var d=p},73531:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(90800),i=n(8991),a=n(40809),s=n(45795),c=n(88043),u=n(56818),l=n(2784),f=n(62080),p=n(98827),d=n(28716),h=n(52903),m=["aria-label","disabled","type","page","selected","slot","variant"],g={"start-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),"end-ellipsis":(0,h.tZ)(o.Z,{size:"4x"}),first:(0,h.tZ)(i.Z,{size:"4x"}),previous:(0,h.tZ)(a.Z,{size:"4x"}),next:(0,h.tZ)(s.Z,{size:"4x"}),last:(0,h.tZ)(c.Z,{size:"4x"})},y=function(e){var t=e.type,n=e.page,r=e.selected;return"start-ellipsis"!==t&&"end-ellipsis"!==t&&("page"!==t||r)?"page"===t&&r?"Page ".concat(n):"Go to ".concat(t," page"):"Go to page ".concat(n)},v=(0,l.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"PaginationItem"}),o=n["aria-label"],i=n.disabled,a=n.type,s=void 0===a?"page":a,c=n.page,l=n.selected,v=void 0!==l&&l,b=n.slot,k=n.variant,x=(0,r.Kd)(n,m),w=(0,r.Zj)((0,r.Zj)({},g),b),_=(0,d.V)({type:s});return(0,h.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:t,"aria-current":(0,u.Qm)(v),"aria-label":null!=o?o:y({type:s,page:c,selected:v}),disabled:void 0!==i&&i,selected:v,variant:void 0===k?"ghost":k},_),x),{},{children:"page"===s?c:null==w?void 0:w[s]}))});v.displayName="PaginationItem";var b=v},28716:function(e,t,n){"use strict";n.d(t,{V:function(){return a},d:function(){return i}});var r=n(53860),o=n(40596),i=function(){return{display:"flex",alignItems:"center"}},a=function(e){var t=e.type,n=(0,o.Z)(),i=(0,r.ZQ)(n,1)[0];return(0,r.Zj)((0,r.Zj)({},"page"===t?{px:"2x",minWidth:"8x"}:{px:"2x",width:"8x"}),{},{transition:"none",_selected:{borderColor:{dark:"blue:50",light:"blue:50"}[i]}})}},1079:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(53860),o=n(2784),i={first:!1,previous:!0,next:!0,last:!1},a=function(e){var t=(0,r.Zj)({},e),n=t.boundaryCount,a=void 0===n?1:n,s=t.count,c=void 0===s?1:s,u=t.defaultPage,l=t.disabled,f=void 0!==l&&l,p=t.onChange,d=t.page,h=t.siblingCount,m=void 0===h?1:h,g=t.slot,y=(0,o.useState)(null!=d?d:void 0===u?1:u),v=(0,r.ZQ)(y,2),b=v[0],k=v[1],x=(0,r.Zj)((0,r.Zj)({},i),g);(0,o.useEffect)(function(){void 0!==d&&k(d)},[d]);var w=function(e){return function(t){void 0!==d||k(e),"function"==typeof p&&p(e)}},_=function(e,t){return Array.from({length:t-e+1},function(t,n){return e+n})},S=_(1,Math.min(a,c)),O=_(Math.max(c-a+1,a+1),c),E=Math.max(Math.min(b-m,c-a-2*m-1),a+2),j=Math.min(Math.max(b+m,a+2*m+2),O.length>0?O[0]-2:c-1);return{items:[].concat((0,r.u)(x.first?[{type:"first"}]:[]),(0,r.u)(x.previous?[{type:"previous"}]:[]),(0,r.u)(S.map(function(e){return{type:"page",value:e}})),(0,r.u)(E>a+2?[{type:"start-ellipsis"}]:a+1a?[{type:"page",value:c-a}]:[]),(0,r.u)(O.map(function(e){return{type:"page",value:e}})),(0,r.u)(x.next?[{type:"next"}]:[]),(0,r.u)(x.last?[{type:"last"}]:[])).map(function(e){if("page"===e.type){var t,n=e.value;return{type:"page",page:n,disabled:!!f,selected:e.value===b,onClick:w(n)}}var r=!!f||["first","previous"].includes(e.type)&&b<=1||["next","last"].includes(e.type)&&b>=c,o="first"===(t=e.type)?1:"previous"===t?Math.max(b-1,1):"start-ellipsis"===t?Math.max(E-(m+1),1):"end-ellipsis"===t?Math.min(j+(m+1),c):"next"===t?Math.min(b+1,c):"last"===t?c:null;return{type:e.type,page:o,disabled:r,selected:!1,onClick:w(o)}})}}},67250:function(e,t,n){"use strict";n.d(t,{Z:function(){return ek}});var r,o,i,a,s,c=n(53860);function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){var t=u(e).Element;return e instanceof t||e instanceof Element}function f(e){var t=u(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function p(e){if("undefined"==typeof ShadowRoot)return!1;var t=u(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var d=Math.max,h=Math.min,m=Math.round;function g(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function y(){return!/^((?!chrome|android).)*safari/i.test(g())}function v(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&f(e)&&(o=e.offsetWidth>0&&m(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&m(r.height)/e.offsetHeight||1);var a=(l(e)?u(e):window).visualViewport,s=!y()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,d=r.width/o,h=r.height/i;return{width:d,height:h,top:p,right:c+d,bottom:p+h,left:c,x:c,y:p}}function b(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return v(x(e)).left+b(e).scrollLeft}function _(e){return u(e).getComputedStyle(e)}function S(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function O(e){var t=v(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function E(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||x(e)}function j(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:f(t)&&S(t)?t:e(E(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(j(E(a)))}function T(e){return f(e)&&"fixed"!==_(e).position?e.offsetParent:null}function C(e){for(var t=u(e),n=T(e);n&&["table","td","th"].indexOf(k(n))>=0&&"static"===_(n).position;)n=T(n);return n&&("html"===k(n)||"body"===k(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(g());if(/Trident/i.test(g())&&f(e)&&"fixed"===_(e).position)return null;var n=E(e);for(p(n)&&(n=n.host);f(n)&&0>["html","body"].indexOf(k(n));){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="bottom",R="right",I="left",P="auto",Z=["top",A,R,I],N="start",F="viewport",L="popper",M=Z.reduce(function(e,t){return e.concat([t+"-"+N,t+"-end"])},[]),D=[].concat(Z,[P]).reduce(function(e,t){return e.concat([t,t+"-"+N,t+"-end"])},[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],z={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function V(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?H(o):null,a=o?q(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:c};break;case I:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?W(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case N:t[u]=t[u]-(n[l]/2-r[l]/2);break;case"end":t[u]=t[u]+(n[l]/2-r[l]/2)}}return t}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var t,n,r,o,i,a,s,c=e.popper,l=e.popperRect,f=e.placement,p=e.variation,d=e.offsets,h=e.position,g=e.gpuAcceleration,y=e.adaptive,v=e.roundOffsets,b=e.isFixed,k=d.x,w=void 0===k?0:k,S=d.y,O=void 0===S?0:S,E="function"==typeof v?v({x:w,y:O}):{x:w,y:O};w=E.x,O=E.y;var j=d.hasOwnProperty("x"),T=d.hasOwnProperty("y"),P=I,Z="top",N=window;if(y){var F=C(c),L="clientHeight",M="clientWidth";F===u(c)&&"static"!==_(F=x(c)).position&&"absolute"===h&&(L="scrollHeight",M="scrollWidth"),("top"===f||(f===I||f===R)&&"end"===p)&&(Z=A,O-=(b&&F===N&&N.visualViewport?N.visualViewport.height:F[L])-l.height,O*=g?1:-1),(f===I||("top"===f||f===A)&&"end"===p)&&(P=R,w-=(b&&F===N&&N.visualViewport?N.visualViewport.width:F[M])-l.width,w*=g?1:-1)}var D=Object.assign({position:h},y&&K),B=!0===v?(t={x:w,y:O},n=u(c),r=t.x,o=t.y,{x:m(r*(i=n.devicePixelRatio||1))/i||0,y:m(o*i)/i||0}):{x:w,y:O};return(w=B.x,O=B.y,g)?Object.assign({},D,((s={})[Z]=T?"0":"",s[P]=j?"0":"",s.transform=1>=(N.devicePixelRatio||1)?"translate("+w+"px, "+O+"px)":"translate3d("+w+"px, "+O+"px, 0)",s)):Object.assign({},D,((a={})[Z]=T?O+"px":"",a[P]=j?w+"px":"",a.transform="",a))}var G={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e){return e.replace(/left|right|bottom|top/g,function(e){return G[e]})}var X={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,function(e){return X[e]})}function ee(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){var r,o,i,a,s,c,f,p,h,m;return t===F?et(function(e,t){var n=u(e),r=x(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=y();(l||!l&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+w(e),y:c}}(e,n)):l(t)?((r=v(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):et((o=x(e),a=x(o),s=b(o),c=null==(i=o.ownerDocument)?void 0:i.body,f=d(a.scrollWidth,a.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),p=d(a.scrollHeight,a.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),h=-s.scrollLeft+w(o),m=-s.scrollTop,"rtl"===_(c||a).direction&&(h+=d(a.clientWidth,c?c.clientWidth:0)-f),{width:f,height:p,x:h,y:m}))}function er(){return{top:0,right:0,bottom:0,left:0}}function eo(e){return Object.assign({},er(),e)}function ei(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ea(e,t){void 0===t&&(t={});var n,r,o,i,a,s,c,u,p=t,m=p.placement,g=void 0===m?e.placement:m,y=p.strategy,b=void 0===y?e.strategy:y,w=p.boundary,S=p.rootBoundary,O=p.elementContext,T=void 0===O?L:O,I=p.altBoundary,P=p.padding,N=void 0===P?0:P,M=eo("number"!=typeof N?N:ei(N,Z)),D=e.rects.popper,B=e.elements[void 0!==I&&I?T===L?"reference":L:T],z=(n=l(B)?B:B.contextElement||x(e.elements.popper),r=void 0===w?"clippingParents":w,o=void 0===S?F:S,c=(s=[].concat("clippingParents"===r?(i=j(E(n)),l(a=["absolute","fixed"].indexOf(_(n).position)>=0&&f(n)?C(n):n)?i.filter(function(e){return l(e)&&ee(e,a)&&"body"!==k(e)}):[]):[].concat(r),[o]))[0],(u=s.reduce(function(e,t){var r=en(n,t,b);return e.top=d(r.top,e.top),e.right=h(r.right,e.right),e.bottom=h(r.bottom,e.bottom),e.left=d(r.left,e.left),e},en(n,c,b))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),$=v(e.elements.reference),U=V({reference:$,element:D,strategy:"absolute",placement:g}),H=et(Object.assign({},D,U)),q=T===L?H:$,W={top:z.top-q.top+M.top,bottom:q.bottom-z.bottom+M.bottom,left:z.left-q.left+M.left,right:q.right-z.right+M.right},K=e.modifiersData.offset;if(T===L&&K){var Q=K[g];Object.keys(W).forEach(function(e){var t=[R,A].indexOf(e)>=0?1:-1,n=["top",A].indexOf(e)>=0?"y":"x";W[e]+=Q[n]*t})}return W}function es(e,t,n){return d(e,h(t,n))}function ec(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eu(e){return["top",R,A,I].some(function(t){return e[t]>=0})}var el=(i=void 0===(o=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=u(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",n.update,U)}),s&&c.addEventListener("resize",n.update,U),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",n.update,U)}),s&&c.removeEventListener("resize",n.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=V({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i=n.roundOffsets,a=void 0===i||i,s={placement:H(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];f(o)&&k(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});f(r)&&k(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=D.reduce(function(e,n){var r,o,a,s,c,u;return e[n]=(r=t.rects,a=[I,"top"].indexOf(o=H(n))>=0?-1:1,c=(s="function"==typeof i?i(Object.assign({},r,{placement:n})):i)[0],u=s[1],c=c||0,u=(u||0)*a,[I,R].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,g=t.options.placement,y=H(g)===g,v=c||(y||!h?[Y(g)]:function(e){if(H(e)===P)return[];var t=Y(e);return[J(e),t,J(t)]}(g)),b=[g].concat(v).reduce(function(e,n){var r,o,i,a,s,c,p,d,g,y,v,b;return e.concat(H(n)===P?(o=(r={placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,d=void 0===(p=r.allowedAutoPlacements)?D:p,0===(v=(y=(g=q(o))?c?M:M.filter(function(e){return q(e)===g}):Z).filter(function(e){return d.indexOf(e)>=0})).length&&(v=y),Object.keys(b=v.reduce(function(e,n){return e[n]=ea(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[H(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),k=t.rects.reference,x=t.rects.popper,w=new Map,_=!0,S=b[0],O=0;O=0,F=C?"width":"height",L=ea(t,{placement:E,boundary:l,rootBoundary:f,altBoundary:p,padding:u}),B=C?T?R:I:T?A:"top";k[F]>x[F]&&(B=Y(B));var z=Y(B),$=[];if(i&&$.push(L[j]<=0),s&&$.push(L[B]<=0,L[z]<=0),$.every(function(e){return e})){S=E,_=!1;break}w.set(E,$)}if(_)for(var U=h?3:1,W=function(e){var t=b.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},V=U;V>0&&"break"!==W(V);V--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,u=n.padding,l=n.tether,f=void 0===l||l,p=n.tetherOffset,m=void 0===p?0:p,g=ea(t,{boundary:a,rootBoundary:s,padding:u,altBoundary:c}),y=H(t.placement),v=q(t.placement),b=!v,k=W(y),x="x"===k?"y":"x",w=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,j="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(w){if(void 0===o||o){var Z,F="y"===k?"top":I,L="y"===k?A:R,M="y"===k?"height":"width",D=w[k],B=D+g[F],z=D-g[L],$=f?-S[M]/2:0,U=v===N?_[M]:S[M],V=v===N?-S[M]:-_[M],K=t.elements.arrow,Q=f&&K?O(K):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:er(),Y=G[F],X=G[L],J=es(0,_[M],Q[M]),ee=b?_[M]/2-$-J-Y-j.mainAxis:U-J-Y-j.mainAxis,et=b?-_[M]/2+$+J+X+j.mainAxis:V+J+X+j.mainAxis,en=t.elements.arrow&&C(t.elements.arrow),eo=en?"y"===k?en.clientTop||0:en.clientLeft||0:0,ei=null!=(Z=null==T?void 0:T[k])?Z:0,ec=es(f?h(B,D+ee-ei-eo):B,D,f?d(z,D+et-ei):z);w[k]=ec,P[k]=ec-D}if(void 0!==i&&i){var eu,el,ef="x"===k?"top":I,ep="x"===k?A:R,ed=w[x],eh="y"===x?"height":"width",em=ed+g[ef],eg=ed-g[ep],ey=-1!==["top",I].indexOf(y),ev=null!=(el=null==T?void 0:T[x])?el:0,eb=ey?em:ed-_[eh]-S[eh]-ev+j.altAxis,ek=ey?ed+_[eh]+S[eh]-ev-j.altAxis:eg,ex=f&&ey?(eu=es(eb,ed,ek))>ek?ek:eu:es(f?eb:em,ed,f?ek:eg);w[x]=ex,P[x]=ex-ed}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,o=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,c=H(r.placement),u=W(c),l=[I,R].indexOf(c)>=0?"height":"width";if(a&&s){var f=eo("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ei(t,Z)),p=O(a),d="y"===u?"top":I,h="y"===u?A:R,m=r.rects.reference[l]+r.rects.reference[u]-s[u]-r.rects.popper[l],g=s[u]-r.rects.reference[u],y=C(a),v=y?"y"===u?y.clientHeight||0:y.clientWidth||0:0,b=f[d],k=v-p[l]-f[h],x=v/2-p[l]/2+(m/2-g/2),w=es(b,x,k);r.modifiersData[o]=((n={})[u]=w,n.centerOffset=w-x,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ee(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ea(t,{elementContext:"reference"}),s=ea(t,{altBoundary:!0}),c=ec(a,r),u=ec(s,o,i),l=eu(c),f=eu(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:o,s=void 0===(a=r.defaultOptions)?z:a,function(e,t,n){void 0===n&&(n=s);var r,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},z,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,d={state:a,setOptions:function(n){var r,o,u,f,p,m="function"==typeof n?n(a.options):n;h(),a.options=Object.assign({},s,a.options,m),a.scrollParents={reference:l(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var g=(o=Object.keys(r=[].concat(i,a.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),u=new Map,f=new Set,p=[],o.forEach(function(e){u.set(e.name,e)}),o.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=u.get(t);n&&e(n)}}),p.push(t)}(e)}),B.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=g.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:a,name:t,instance:d,options:void 0===n?{}:n});c.push(o||function(){})}}),d.update()},forceUpdate:function(){if(!p){var e,t,n,r,o,i,s,c,l,h,g,y,_=a.elements,E=_.reference,j=_.popper;if($(E,j)){a.rects={reference:(t=C(j),n="fixed"===a.options.strategy,r=f(t),c=f(t)&&(i=m((o=t.getBoundingClientRect()).width)/t.offsetWidth||1,s=m(o.height)/t.offsetHeight||1,1!==i||1!==s),l=x(t),h=v(E,c,n),g={scrollLeft:0,scrollTop:0},y={x:0,y:0},(r||!r&&!n)&&(("body"!==k(t)||S(l))&&(g=(e=t)!==u(e)&&f(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:b(e)),f(t)?(y=v(t,!0),y.x+=t.clientLeft,y.y+=t.clientTop):l&&(y.x=w(l))),{x:h.left+g.scrollLeft-y.x,y:h.top+g.scrollTop-y.y,width:h.width,height:h.height}),popper:O(j)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var T=0;T0&&void 0!==arguments[0]?arguments[0]:{},t=e.cssVariables,n=void 0!==t&&t,r=(0,l.Kd)(e,_),o=(0,v.TS)((0,l.Zj)({},y),r),i=arguments.length,a=Array(i>1?i-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.useRef)(null);(0,a.useEffect)(function(){n.current=e},[e]),(0,a.useEffect)(function(){if(null==t)return function(){};var e=setTimeout(function(){"function"==typeof n.current&&n.current()},t);return function(){return clearTimeout(e)}},[t])},u=n(52903),l=n(49857),f=["duration","onClose","onMouseEnter","onMouseLeave"],p=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"ToastController"}),p=n.duration,d=void 0===p?null:p,h=n.onClose,m=n.onMouseEnter,g=n.onMouseLeave,y=(0,r.Kd)(n,f),v=(0,a.useRef)(),b=(0,o.Z)(v,t),k=(0,a.useState)(d),x=(0,r.ZQ)(k,2),w=x[0],_=x[1],S=(0,a.useCallback)(function(e){_(null)},[]),O=(0,a.useCallback)(function(e){_(d)},[d]);return c(h,w),(0,u.tZ)(l.Z,(0,r.Zj)({ref:b,onMouseEnter:(0,i.N)(m,S),onMouseLeave:(0,i.N)(g,O)},y))})},31476:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r,o=n(53860),i=n(912),a=n(56818),s=n(13409),c=n(5081),u=n(92307),l=n.n(u),f=n(2784),p=n(98827),d=n(47732),h=n(52903),m=n(49857),g=["placement"],y=(0,f.forwardRef)(function(e,t){var n=(0,p.Z)({props:e,name:"ToastContainer"}),r=n.placement,i=(0,o.Kd)(n,g),a={boxSizing:"border-box",maxHeight:"100%",maxWidth:"100%",overflow:"hidden",position:"fixed",zIndex:"toast"},s=(0,c.Zs)(r);return s.includes("top")&&(a.top=0),s.includes("bottom")&&(a.bottom=0),s.includes("left")&&(a.left=0),s.includes("right")&&(a.right=0),(s.includes("center")||"top"===s||"bottom"===s)&&(a.left="50%",a.transform="translateX(-50%)"),(0,h.tZ)(m.Z,(0,o.Zj)((0,o.Zj)({ref:t,"data-toast-placement":s},a),i))}),v=n(14378),b=n(53335),k=n(57619),x=n(82268),w=(r=0,function(){return String(r+=1)}),_=l()(function(e){return(0,o.Zj)({},e)}),S=["bottom","bottom-right","bottom-left","top","top-left","top-right"],O=function(e,t){var n=Object.values(e).reduce(function(e,t){return e.concat(t)},[]).find(function(e){return e.id===t});return null==n?void 0:n.placement},E=function(e){var t=(0,p.Z)({props:e,name:"ToastManager"}),n=t.TransitionComponent,r=void 0===n?b.Z:n,u=t.TransitionProps,l=t.children,m=t.containerRef,g=t.placement,E=void 0===g?"bottom-right":g,j=(0,i.Z)(),T=(0,f.useState)(function(){return S.reduce(function(e,t){return e[t]=[],e},{})}),C=(0,o.ZQ)(T,2),A=C[0],R=C[1],I=(0,f.useCallback)(function(e,t){R(function(n){var r;return t=null!==(r=t)&&void 0!==r?r:O(n,e),(0,o.Zj)((0,o.Zj)({},n),{},(0,o._x)({},t,(0,c.rY)(n[t]).filter(function(t){return t.id!==e})))})},[]),P=(0,f.useCallback)(function(e){R(function(t){var n=(null!=e&&e.placements?(0,c.rY)(null==e?void 0:e.placements):Object.keys(t)).reduce(function(e,t){return e[t]=[],e},{});return(0,o.Zj)((0,o.Zj)({},t),n)})},[]),Z=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).find(function(t){return t.id===e})},[A]),N=(0,f.useCallback)(function(e){var t=O(A,e);return(0,c.rY)(A[t]).findIndex(function(t){return t.id===e})},[A]),F=(0,f.useCallback)(function(e,t){var n,r=null===(n=Z(e))||void 0===n?void 0:n.placement,i=N(e);return!!r&&-1!==i&&(R(function(e){var n=(0,o.Zj)({},e);return n[r][i]=(0,o.Zj)((0,o.Zj)({},n[r][i]),t),n}),!0)},[Z,N]),L=_({close:I,closeAll:P,find:Z,findIndex:N,update:F,notify:(0,f.useCallback)(function(e,t){var n,r,i=Object.freeze({id:null!==(n=null==t?void 0:t.id)&&void 0!==n?n:w(),content:e,data:null==t?void 0:t.data,duration:null==t?void 0:t.duration,placement:(0,c.Zs)(null!==(r=null==t?void 0:t.placement)&&void 0!==r?r:E)});return S.includes(i.placement)?(R(function(e){var t=i.placement.includes("top"),n=(0,o.u)((0,c.rY)(e[i.placement])),r=[];return r=t?[i].concat((0,o.u)(n)).slice(0,void 0):[].concat((0,o.u)(n),[i]).slice(void 0),(0,o.Zj)((0,o.Zj)({},e),{},(0,o._x)({},i.placement,r))}),i.id):(console.error('[ToastManager] Error: Invalid toast placement "'.concat(i.placement,'". Please provide a valid placement from the following options: ').concat(S.join(", "),".")),!1)},[E]),placement:E,state:A,setState:R});return(0,h.BX)(x.K.Provider,{value:L,children:[(0,a.Pu)(l,L),!!j&&(0,h.tZ)(d.Z,{containerRef:m,children:Object.keys(A).map(function(e){var t=(0,c.rY)(A[e]).filter(function(e){return!(0,s.Rw)(e)});return(0,h.tZ)(y,{placement:e,children:(0,h.tZ)(k.Z,{children:t.map(function(t){var n,i,a,s=(n=t.id,function(){I(n,e)});return(0,h.tZ)(r,(0,o.Zj)((0,o.Zj)({in:!0,unmountOnExit:!0},u),{},{children:(0,h.tZ)(v.Z,{duration:t.duration,onClose:s,children:(i=t.content,a={id:t.id,data:t.data,onClose:s,placement:t.placement},"function"==typeof i?(0,h.tZ)(i,(0,o.Zj)({},a)):i)})}),t.id)})})},e)})})]})};E.displayName="ToastManager";var j=E},53335:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},h=function(e,t){var n={entering:{height:"auto",opacity:1,transform:d(1)},entered:{height:"auto",opacity:1,transform:"none"},exiting:{height:0,opacity:0,overflow:"hidden",transform:d(.75)},exited:{height:0,opacity:0,transform:d(.75)}}[e];return"function"==typeof n?n(t):n},m={enter:i.YU.easeInOut,exit:i.YU.easeInOut},g={enter:i.nV.standard,exit:i.nV.standard},y=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),v=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"ToastTransition"}),d=n.appear,v=n.children,b=n.easing,k=void 0===b?m:b,x=n.in,w=n.style,_=n.timeout,S=void 0===_?g:_,O=(0,r.Kd)(n,p),E=(0,s.useRef)(null),j=(0,o.Z)(E,t),T=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=E.current;(0,a.nq)(e)},[x]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==d&&d,in:x,nodeRef:E,timeout:S},O),{},{children:function(e,t){var n=x?(0,i.c)({style:w,timeout:S,easing:k}):(0,i.Zk)({style:w,timeout:S,easing:k}),o=[(0,i.zx)("height",n),(0,i.zx)("opacity",n),(0,i.zx)("transform",{duration:.666*n.duration,easing:n.easing,delay:x?n.delay:n.delay||.333*n.duration})].join(","),a=h(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||x?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:j,style:(0,r.Zj)((0,r.Zj)({},s),w)}));if(x&&"entering"===e||!x&&("entering"===e||"entered"===e)){var c=T.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:j},t),s),{},{style:w,children:(0,l.tZ)(y,{ref:T,children:v})}))}}))});v.displayName="ToastTransition";var b=v},57619:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860);n(2784);var o=n(60258),i=n(98827),a=n(52903),s=function(e){var t=(0,i.Z)({props:e,name:"ToastTransitionGroup"});return(0,a.tZ)(o.Z,(0,r.Zj)({component:null},t))};s.displayName="ToastTransitionGroup";var c=s},82268:function(e,t,n){"use strict";n.d(t,{K:function(){return i},u:function(){return o}});var r=n(2784),o=(0,r.createContext)(),i=(0,r.createContext)()},99870:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(53860),o=n(92307),i=n.n(o),a=n(2784),s=n(98827),c=n(67250),u=n(65204),l=n(57894),f=n(20655),p=n(33558),d=n(40596),h=n(85017),m=n(27216),g=n(13823),y=function(e){var t,n,o=e.arrowHeight,i=e.arrowWidth,a=(0,d.Z)(),s=(0,r.ZQ)(a,1)[0],c=(0,m.u)().sizes,u=null!==(t=c[o])&&void 0!==t?t:(0,g.Z)(o),l=null!==(n=c[i])&&void 0!==n?n:(0,g.Z)(i),f={dark:"rgba(0, 0, 0, 0.16)",light:"rgba(0, 0, 0, 0.08)"}[s];return{'&[data-popper-placement^="top"]':{position:"absolute",bottom:0,"::before":{content:'""',borderTop:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 1px 1px ".concat(f,")"),position:"absolute",bottom:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="bottom"]':{position:"absolute",top:0,"::before":{content:'""',borderBottom:"".concat(u," solid"),borderLeft:"calc(".concat(l,"/2) solid transparent"),borderRight:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(0 -1px 1px ".concat(f,")"),position:"absolute",top:"-".concat(u),transform:"translateX(-50%)"}},'&[data-popper-placement^="left"]':{position:"absolute",right:0,"::before":{content:'""',borderLeft:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(1px 0px 1px ".concat(f,")"),position:"absolute",right:"-".concat(u),transform:"translateY(-50%)"}},'&[data-popper-placement^="right"]':{position:"absolute",left:0,"::before":{content:'""',borderRight:"".concat(u," solid"),borderTop:"calc(".concat(l,"/2) solid transparent"),borderBottom:"calc(".concat(l,"/2) solid transparent"),filter:"drop-shadow(-1px 0px 1px ".concat(f,")"),position:"absolute",left:"-".concat(u),transform:"translateY(-50%)"}}}},v=function(){var e,t=(0,d.Z)(),n=(0,r.ZQ)(t,1)[0],o=(0,h.Z)({colorMode:n}),i=(0,r.ZQ)(o,1)[0],a={dark:"gray:80",light:"white"}[n],s={dark:"white:primary",light:"black:primary"}[n];return{backgroundColor:a,borderRadius:"sm",boxShadow:null==i?void 0:null===(e=i.shadow)||void 0===e?void 0:e.thin,color:s,fontWeight:"normal",fontSize:"sm",lineHeight:"sm",px:"3x",py:"1x"}},b=(0,a.createContext)(),k=function(){if(!a.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,a.useContext)(b)},x=n(52903),w=n(49857),_=["arrowHeight","arrowWidth","sx"],S=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipArrow"}),o=n.arrowHeight,i=n.arrowWidth,a=n.sx,c=(0,r.Kd)(n,_),u=k(),l=u.placement,f=u.tooltipContentRef,d=null==f?void 0:f.current,h=y({arrowHeight:void 0===o?4:o,arrowWidth:void 0===i?8:i});if((0,p.Re)(d)){var m=(0,p.Dx)(d.firstChild);h.color=null==m?void 0:m.backgroundColor}return(0,x.tZ)(w.Z,(0,r.Zj)({ref:t,role:"presentation","data-popper-arrow":!0,"data-popper-placement":l,sx:[h].concat((0,r.u)(Array.isArray(a)?a:[a]))},c))});S.displayName="TooltipArrow";var O=n(912),E=n(20325),j=n(13409),T=n(56818),C=n(5081),A=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","children"],R=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipContent"}),o=n.PopperComponent,i=void 0===o?c.Z:o,u=n.PopperProps,f=n.TooltipArrowComponent,d=void 0===f?S:f,h=n.TooltipArrowProps,m=n.TransitionComponent,g=void 0===m?l.Z:m,y=n.TransitionProps,b=n.children,_=(0,r.Kd)(n,A),R=(0,O.Z)(),I=(0,a.useRef)(null),P=(0,E.Z)(I,t),Z=k(),N=Z.arrow,F=Z.disabled,L=Z.followCursor,M=Z.isOpen,D=Z.mousePageX,B=Z.mousePageY,z=Z.nextToCursor,$=Z.offset,U=Z.placement,H=Z.tooltipId,q=Z.tooltipContentRef,W=Z.tooltipTriggerId,V=Z.tooltipTriggerRef,K=v(),Q=V.current,G=(0,C.rY)($),Y=(0,r.ZQ)(G,2),X=Y[0],J=void 0===X?0:X,ee=Y[1],et=void 0===ee?8:ee,en=(0,a.useMemo)(function(){return[{name:"offset",options:{offset:function(e){var t=e.placement,n=e.reference,r=e.popper,o=(0,C.Nu)(J),i=(0,C.Nu)(et);if((0,p.Re)(Q)&&(L||z)){var a=Q.getBoundingClientRect(),s=a.x+globalThis.scrollX,c=a.y+globalThis.scrollY;(t.startsWith("top")||t.startsWith("bottom"))&&(t.endsWith("start")?o+=(0,C.Nu)(D-s-r.width):t.endsWith("end")?o+=(0,C.Nu)(D-s-n.width+r.width):o+=(0,C.Nu)(D-s-n.width/2),t.startsWith("top")?i+=(0,C.Nu)(c-B):t.startsWith("bottom")&&(i+=(0,C.Nu)(B-c-n.height))),(t.startsWith("left")||t.startsWith("right"))&&(t.endsWith("start")?o+=(0,C.Nu)(B-c-r.height):t.endsWith("end")?o+=(0,C.Nu)(B-c-n.height+r.height):o+=(0,C.Nu)(B-c-n.height/2),t.startsWith("left")?i+=(0,C.Nu)(s-D):t.startsWith("right")&&(i+=(0,C.Nu)(D-s-n.width)))}return[o,i]}}}]},[J,et,Q,L,z,D,B]);return!R||F||!b||(0,j.oM)(b)||(0,j.yD)(b)?null:(0,x.tZ)(i,(0,r.Zj)((0,r.Zj)({"aria-hidden":(0,T.Qm)(!M),"aria-labelledby":W,"data-popper-placement":U,anchorEl:V.current,id:H,isOpen:M,placement:U,pointerEvents:"none",ref:q,role:"tooltip",unmountOnExit:!0,usePortal:!1,willUseTransition:!0,zIndex:"tooltip"},u),{},{modifiers:[].concat((0,r.u)(en),(0,r.u)((0,C.rY)(null==u?void 0:u.modifiers))),children:function(e){var t=e.placement,n=e.transition,o=(0,r.Zj)({},n),i=o.in,a=o.onEnter,s=o.onExited;return(0,x.tZ)(g,(0,r.Zj)((0,r.Zj)({appear:!0},y),{},{ref:P,in:i,onEnter:(0,T.PP)(a,null==y?void 0:y.onEnter),onExited:(0,T.PP)(s,null==y?void 0:y.onExited),children:function(e,n){var o=n.ref,i=n.style;return(0,x.BX)(w.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:o},K),i),{},{transformOrigin:{top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"}[t]},_),{},{children:[b,!!N&&(0,x.tZ)(d,(0,r.Zj)({},h))]}))}}))}}))});R.displayName="TooltipContent";var I=n(32502),P=n(24340),Z=["children","shouldWrapChildren","onBlur","onClick","onFocus","onMouseEnter","onMouseLeave","onMouseMove","onPointerDown"],N=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"TooltipTrigger"}),o=n.children,i=n.shouldWrapChildren,c=n.onBlur,u=n.onClick,l=n.onFocus,f=n.onMouseEnter,d=n.onMouseLeave,h=n.onMouseMove,m=n.onPointerDown,g=(0,r.Kd)(n,Z),y=k(),v=y.closeOnClick,b=y.closeOnEsc,_=y.closeOnPointerDown,S=y.followCursor,O=y.isOpen,j=y.onClose,C=y.onOpen,A=y.openOnFocus,R=y.setMousePageX,N=y.setMousePageY,F=y.tooltipId,L=y.tooltipTriggerId,M=y.tooltipTriggerRef,D=(0,E.Z)(M,t),B={},z=(0,a.useState)(!0),$=(0,r.ZQ)(z,2),U=$[0],H=$[1],q={};q.onBlur=function(e){O&&j()},q.onClick=function(e){O&&v&&j()},q.onFocus=function(e){!O&&A&&C()},q.onKeyDown=function(e){O&&b&&"Escape"===e.key&&j()},q.onMouseEnter=function(e){H(!0),C(function(){H(S)})},q.onMouseLeave=function(e){j(function(){H(!0)})},q.onMouseMove=function(e){(U||S)&&(R(e.pageX),N(e.pageY))},q.onPointerDown=function(e){O&&_&&j()},(0,I.Z)(function(){return(0,p.lZ)(M.current)},"keydown",b?q.onKeyDown:void 0),(0,I.Z)(function(){return M.current},"mouseleave",q.onMouseLeave);var W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.Zj)((0,r.Zj)((0,r.Zj)({},e),{},{"aria-describedby":O?F:void 0,id:L,ref:(0,P.l)(D,t),onBlur:(0,T.N)(null==e?void 0:e.onBlur,c,q.onBlur),onClick:(0,T.N)(null==e?void 0:e.onClick,u,q.onClick),onFocus:(0,T.N)(null==e?void 0:e.onFocus,l,q.onFocus),onMouseEnter:(0,T.N)(null==e?void 0:e.onMouseEnter,f,q.onMouseEnter),onMouseLeave:(0,T.N)(null==e?void 0:e.onMouseLeave,d,q.onMouseLeave),onMouseMove:(0,T.N)(null==e?void 0:e.onMouseMove,h,q.onMouseMove),onPointerDown:(0,T.N)(null==e?void 0:e.onPointerDown,m,q.onPointerDown)},B),g)};if("function"==typeof o)return o({getTooltipTriggerProps:W});if(void 0!==i&&i)return(0,x.tZ)(w.Z,(0,r.Zj)((0,r.Zj)({},W()),{},{children:o}));var V=a.Children.only(o),K=W(null==V?void 0:V.props,null==V?void 0:V.ref);return(0,a.cloneElement)(V,K)});N.displayName="TooltipTrigger";var F=["PopperComponent","PopperProps","TooltipArrowComponent","TooltipArrowProps","TransitionComponent","TransitionProps","shouldWrapChildren","arrow","children","closeOnClick","closeOnEsc","closeOnPointerDown","defaultIsOpen","disabled","enterDelay","followCursor","isOpen","label","leaveDelay","nextToCursor","offset","onClose","onOpen","openOnFocus","placement"],L=i()(function(e){return(0,r.Zj)({},e)}),M=(0,a.forwardRef)(function(e,t){var n=(0,s.Z)({props:e,name:"Tooltip"}),o=n.PopperComponent,i=void 0===o?c.Z:o,p=n.PopperProps,d=n.TooltipArrowComponent,h=void 0===d?S:d,m=n.TooltipArrowProps,g=n.TransitionComponent,y=void 0===g?l.Z:g,v=n.TransitionProps,k=n.shouldWrapChildren,w=n.arrow,_=n.children,O=n.closeOnClick,E=n.closeOnEsc,j=n.closeOnPointerDown,T=n.defaultIsOpen,C=n.disabled,A=n.enterDelay,I=void 0===A?100:A,P=n.followCursor,Z=n.isOpen,M=n.label,D=n.leaveDelay,B=void 0===D?0:D,z=n.nextToCursor,$=n.offset,U=n.onClose,H=n.onOpen,q=n.openOnFocus,W=n.placement,V=(0,r.Kd)(n,F),K=(0,a.useRef)(null),Q=(0,a.useRef)(null),G=(0,a.useState)(0),Y=(0,r.ZQ)(G,2),X=Y[0],J=Y[1],ee=(0,a.useState)(0),et=(0,r.ZQ)(ee,2),en=et[0],er=et[1],eo=(0,a.useState)(null!=Z?Z:void 0!==T&&T),ei=(0,r.ZQ)(eo,2),ea=ei[0],es=ei[1];(0,a.useEffect)(function(){void 0!==Z&&es(Z)},[Z]);var ec=(0,a.useRef)(),eu=(0,a.useRef)(),el=(0,a.useCallback)(function(e,t){eu.current&&(clearTimeout(eu.current),eu.current=void 0),t>0?ec.current=setTimeout(function(){ec.current=void 0,es(!0),"function"==typeof e&&e()},t):(es(!0),"function"==typeof e&&e())},[]),ef=(0,a.useCallback)(function(e,t){ec.current&&(clearTimeout(ec.current),ec.current=void 0),t>0?eu.current=setTimeout(function(){eu.current=void 0,es(!1),"function"==typeof e&&e()},t):(es(!1),"function"==typeof e&&e())},[]),ep=(0,a.useCallback)(function(e){void 0!==Z||el(e,I),"function"==typeof H&&H()},[Z,H,el,I]),ed=(0,a.useCallback)(function(e){void 0!==Z||ef(e,B),"function"==typeof U&&U()},[Z,U,ef,B]);(0,a.useEffect)(function(){return function(){ec.current&&(clearTimeout(ec.current),ec.current=void 0),eu.current&&(clearTimeout(eu.current),eu.current=void 0)}},[]);var eh=(0,f.Z)(),em=L({arrow:!P&&!z&&(void 0===w||w),closeOnClick:void 0===O||O,closeOnEsc:void 0===E||E,closeOnPointerDown:void 0===j||j,disabled:C,followCursor:P,isOpen:ea,mousePageX:X,mousePageY:en,nextToCursor:z,offset:$,onClose:ed,onOpen:ep,openOnFocus:void 0===q||q,placement:void 0===W?"bottom":W,setMousePageX:J,setMousePageY:er,tooltipId:"".concat(u.Z.name,":Tooltip-").concat(eh),tooltipContentRef:K,tooltipTriggerId:"".concat(u.Z.name,":TooltipTrigger-").concat(eh),tooltipTriggerRef:Q});return"function"==typeof _?(0,x.tZ)(b.Provider,{value:em,children:_(em)}):(0,x.BX)(b.Provider,{value:em,children:[(0,x.tZ)(N,{shouldWrapChildren:void 0!==k&&k,children:_}),(0,x.tZ)(R,(0,r.Zj)((0,r.Zj)({PopperComponent:i,PopperProps:p,TooltipArrowComponent:h,TooltipArrowProps:m,TransitionComponent:y,TransitionProps:v},V),{},{children:M}))]})});M.displayName="Tooltip";var D=M},14594:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","collapsedHeight","easing","in","style","timeout"],d=function(e,t){var n={entering:{height:"auto",opacity:1,overflow:"hidden"},entered:{height:"auto",opacity:1},exiting:{height:t.collapsedHeight||0,opacity:0,overflow:"hidden"},exited:{height:t.collapsedHeight||0,opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.standard,exit:i.nV.standard},g=(0,s.forwardRef)(function(e,t){return(0,l.tZ)(f.Z,(0,r.Zj)({ref:t},e))}),y=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Collapse"}),y=n.appear,v=n.children,b=n.collapsedHeight,k=void 0===b?0:b,x=n.easing,w=void 0===x?h:x,_=n.in,S=n.style,O=n.timeout,E=void 0===O?m:O,j=(0,r.Kd)(n,p),T=(0,s.useRef)(null),C=(0,o.Z)(T,t),A=(0,s.useRef)(null);return(0,s.useEffect)(function(){var e=T.current;(0,a.nq)(e)},[_]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==y&&y,in:_,nodeRef:T,timeout:E},j),{},{children:function(e,t){var n=_?(0,i.c)({style:S,timeout:E,easing:w}):(0,i.Zk)({style:S,timeout:E,easing:w}),o=(0,i.zx)(["height","opacity"],n),a=d(e,{collapsedHeight:k}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||_||k?void 0:"hidden"});if("function"==typeof v)return v(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:C,style:(0,r.Zj)((0,r.Zj)({},s),S)}));if(_&&"entering"===e||!_&&("entering"===e||"entered"===e)){var c=A.current,u=null==c?void 0:c.offsetHeight;s.height=u}return(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:C},t),s),{},{style:S,children:(0,l.tZ)(g,{ref:A,children:v})}))}}))});y.displayName="Collapse";var v=y},62272:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(2784),c=n(41759),u=n(98827),l=n(52903),f=n(49857),p=["appear","children","easing","in","style","timeout"],d=function(e,t){var n={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}}[e];return"function"==typeof n?n(t):n},h={enter:i.YU.easeInOut,exit:i.YU.easeInOut},m={enter:i.nV.enteringScreen,exit:i.nV.leavingScreen},g=(0,s.forwardRef)(function(e,t){var n=(0,u.Z)({props:e,name:"Fade"}),g=n.appear,y=n.children,v=n.easing,b=void 0===v?h:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?m:w,S=(0,r.Kd)(n,p),O=(0,s.useRef)(null),E=(0,o.Z)(O,t);return(0,s.useEffect)(function(){if(k){var e=O.current;(0,a.nq)(e)}},[k]),(0,l.tZ)(c.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==g&&g,in:k,nodeRef:O,timeout:_},S),{},{children:function(e,t){var n=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),o=(0,i.zx)("opacity",n),a=d(e,{}),s=(0,r.Zj)((0,r.Zj)({},a),{},{transition:o,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof y?y(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:E,style:(0,r.Zj)((0,r.Zj)({},s),x)})):(0,l.tZ)(f.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:E},t),s),{},{style:x,children:y}))}}))});g.displayName="Fade";var y=g},57894:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(53860),o=n(20325),i=n(83377),a=n(33558),s=n(5081),c=n(2784),u=n(41759),l=n(98827),f=n(52903),p=n(49857),d=["appear","children","easing","in","style","timeout"],h=function(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")},m=function(e,t){var n={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"},exiting:{opacity:0,transform:h(.75)},exited:{opacity:0,transform:h(.75)}}[e];return"function"==typeof n?n(t):n},g={enter:i.YU.easeInOut,exit:i.YU.easeInOut},y=function(e){if(!(e=(0,s.Nu)(e)))return 0;var t=e/36;return Math.round((4+15*Math.pow(t,.25)+t/5)*10)},v=(0,c.forwardRef)(function(e,t){var n=(0,l.Z)({props:e,name:"Grow"}),s=n.appear,h=n.children,v=n.easing,b=void 0===v?g:v,k=n.in,x=n.style,w=n.timeout,_=void 0===w?"auto":w,S=(0,r.Kd)(n,d),O=(0,c.useRef)(null),E=(0,c.useRef)(0),j=(0,c.useRef)(null),T=(0,o.Z)(j,t);(0,c.useEffect)(function(){if(k){var e=j.current;(0,a.nq)(e)}},[k]),(0,c.useEffect)(function(){return function(){O.current&&(clearTimeout(O.current),O.current=null)}},[]);var C=(0,c.useCallback)(function(e){"auto"===_&&(O.current=setTimeout(e,E.current||0))},[_]);return(0,f.tZ)(u.ZP,(0,r.Zj)((0,r.Zj)({appear:void 0!==s&&s,in:k,nodeRef:j,timeout:"auto"===_?null:_,addEndListener:C},S),{},{children:function(e,t){var n=j.current,o=k?(0,i.c)({style:x,timeout:_,easing:b}):(0,i.Zk)({style:x,timeout:_,easing:b}),a="auto"===_?y(null==n?void 0:n.clientHeight):o.duration,s=[(0,i.zx)("opacity",{duration:a,delay:o.delay}),(0,i.zx)("transform",{duration:.666*a,easing:o.easing,delay:k?o.delay:o.delay||.333*a})].join(",");E.current="auto"===_?a:0;var c=m(e,{}),u=(0,r.Zj)((0,r.Zj)({},c),{},{transition:s,visibility:"exited"!==e||k?void 0:"hidden"});return"function"==typeof h?h(e,(0,r.Zj)((0,r.Zj)({},t),{},{ref:T,style:(0,r.Zj)((0,r.Zj)({},u),x)})):(0,f.tZ)(p.Z,(0,r.Zj)((0,r.Zj)((0,r.Zj)({ref:T},t),u),{},{style:x,children:h}))}}))});v.displayName="Grow";var b=v},3241:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(53860),o=n(29970),i=n(5081),a=n(2784),s=n(60265),c=n(52903),u=(0,a.forwardRef)(function(e,t){var n=e.children,u=e.in,l=e.onExitComplete,f=(0,o.Z)(function(){return new Map}),p=(0,a.useMemo)(function(){return{in:u,onExitComplete:function(e){f.set(e,!0);var t,n=!0,o=(0,r.sf)(f);try{for(o.s();!(t=o.n()).done;)if(!(0,r.ZQ)(t.value,2)[1]){n=!1;break}}catch(e){o.e(e)}finally{o.f()}n&&(0,i.zU)(l)()},register:function(e){return f.set(e,!1),function(){f.delete(e)}}}},[u,l,f]);return(0,a.useEffect)(function(){u||0!==f.size||l()},[u,l,f]),(0,c.tZ)(s.j.Provider,{value:p,children:n})})},60265:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=(0,n(2784).createContext)()},48504:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53860),o=n(5081),i=n(2784),a=n(20655),s=n(60265),c=function(){var e=(0,a.Z)();if(!i.useContext)throw Error("The `useContext` hook is not available with your React version.");var t=(0,i.useContext)(s.j),n=(0,r.Zj)({},t),c=n.in,u=n.onExitComplete,l=n.register;return((0,i.useEffect)(function(){return(0,o.zU)(l)(e)},[e,l]),void 0===t)?[null,null]:!c&&u?[!1,function(){return(0,o.zU)(u)(e)}]:[!0,null]}},13823:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5081),o=function(e){return"string"==typeof e?e:(e=(0,r.Nu)(e),"".concat(e,"px"))}},24340:function(e,t,n){"use strict";n.d(t,{k:function(){return r},l:function(){return o}});var r=function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(n){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}},o=function(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}n.d(t,{Ac:function(){return i},ZQ:function(){return s},Zj:function(){return o},_x:function(){return a},sf:function(){return f},u:function(){return c}})},76078:function(e,t,n){"use strict";n.d(t,{$:function(){return c},J:function(){return s}});var r,o=n(38201),i=function(){},a=function(e){return(Array.isArray(e)&&(e=e.join(",")),e&&"string"==typeof e)?function(t){var n={};return t&&"object"===(0,o.Ac)(t)&&(n[e]=t),Object.entries(n)}:i},s={_active:a(["&:active","&[data-active]"]),_checked:a(["&:checked","&[aria-checked=true]","&[data-checked]"]),_disabled:a(["&:disabled","&:disabled:focus","&:disabled:hover","&[aria-disabled=true]","&[aria-disabled=true]:focus","&[aria-disabled=true]:hover","&[data-disabled]"]),_empty:a("&:empty"),_enabled:a(["&:enabled","&:enabled:focus","&:enabled:hover"]),_firstChild:a("&:first-child"),_firstOfType:a("&:first-of-type"),_fullscreen:a("&:fullscreen"),_focus:a(["&:focus","&[data-focus]"]),_focusActive:a("&:focus:active"),_focusHover:a("&:focus:hover"),_focusVisible:a("&:focus-visible"),_focusWithin:a("&:focus-within"),_hover:a(["&:hover","&[data-hover]"]),_indeterminate:a(["&:indeterminate"]),_invalid:a(["&:invalid","&[aria-invalid=true]"]),_lastChild:a("&:last-child"),_lastOfType:a("&:last-of-type"),_notFirstChild:a("&:not(:first-child)"),_notFirstOfType:a("&:not(:first-of-type)"),_notLastChild:a("&:not(:last-child)"),_notLastOfType:a("&:not(:last-of-type)"),_nthOfType:(Array.isArray(r="&:nth-of-type")&&(r=r.join(",")),r&&"string"==typeof r)?function(e){var t={};if(e&&"object"===(0,o.Ac)(e))for(var n=0,i=Object.entries(e);n0&&void 0!==arguments[0]?arguments[0]:{};if((0,o.Rw)(t))return{};if(Array.isArray(t))return t.reduce(function(t,o){return(0,r.Zj)((0,r.Zj)({},t),e(o)(n))},{});var u=(0,r.Zj)({},n.theme||n),l=function(e){var t={},n=(0,i.rY)((0,s.Z)(u,"breakpoints")),a=[null].concat((0,r.u)(n.map(function(e){return"@media screen and (min-width: ".concat(e,")")})));for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var l="function"==typeof e[c]?e[c](u):e[c];if(!(0,o.Rw)(l)){if(!Array.isArray(l)){t[c]=l;continue}for(var f=0;f1&&p.forEach(function(n){f[n]=e((0,r._x)({},n,t[n]))}),f},p=n(13409),d=n(5081),h=function(e,t){var n=(0,r.Zj)({},t),o=n.prefix,i=n.delimiter,a=void 0===i?"-":i,s=[void 0===o?"":o,e].filter(Boolean).join(a).replace(/\s+/g,a).replace(/[^a-zA-Z0-9-_]/g,a).replace(/^-+|-+$/g,"");return"--".concat(s)},m=function(e,t,n){var o=(0,i.Z)(e,t);if("object"===(0,r.Ac)(o)&&(o=null===(u=o)||void 0===u?void 0:u.value),void 0===o)return t;var a=null==n?void 0:null===(s=n.props)||void 0===s?void 0:s.theme;if(null!==(c=null==a?void 0:a.cssVariables)&&void 0!==c?c:null==a?void 0:a.__cssVariableMap){var s,c,u,l,f,p,d,m,g=null!==(l=null==a?void 0:a.cssVariablePrefix)&&void 0!==l?l:null==a?void 0:null===(f=a.config)||void 0===f?void 0:f.prefix,y=null!==(p=null==a?void 0:a.cssVariables)&&void 0!==p?p:null==a?void 0:a.__cssVariableMap,v=h([null==n?void 0:null===(d=n.context)||void 0===d?void 0:d.scale,String(null!=t?t:"")].filter(Boolean).join("."),{prefix:g,delimiter:"-"}),b=null==y?void 0:y[v];if(void 0!==b)return String(null!==(m=o)&&void 0!==m?m:"").replaceAll(b,"var(".concat(v,")"))}return o},g=function(e){var t=e.group,n=e.properties,o=e.property,i=e.alias,a=e.scale,s=e.defaultScale,c=e.transform,u=void 0===c?m:c,l=[].concat((0,r.u)((0,d.rY)(n)),(0,r.u)((0,d.rY)(o))),f={group:t,properties:l,alias:i,scale:a,defaultScale:null!=s?s:{}},h=function(e,t,n){var o=u(e,t,{context:f,props:n});return(0,p.Rw)(o)?{}:l.reduce(function(e,t){if("object"===(0,r.Ac)(o)){var n;e[t]=null!==(n=null==o?void 0:o[t])&&void 0!==n?n:e[t]}else e[t]=o;return e},{})};return Object.assign(h,(0,r.Zj)({},f)),h},y=function(e,t){var n=null==t?void 0:t.group;return f(Object.keys((0,r.Zj)({},e)).reduce(function(t,o){var i=e[o];return"function"==typeof i?t[o]=i:!0===i?t[o]=g({group:n,property:o}):t[o]=g((0,r.Zj)({group:n},i)),t},{}))},v=y({animation:!0,animationDelay:!0,animationDirection:!0,animationDuration:!0,animationFillMode:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0},{group:"animation"}),b=function(e,t){return!(0,p.Rw)(e)&&(Object.hasOwn?Object.hasOwn(e,t):Object.prototype.hasOwnProperty.call(e,t))},k=function(e,t,n){var r,o=null==n?void 0:null===(r=n.props)||void 0===r?void 0:r.theme,i=m(e,t,n);return null!=o&&o.cssVariables&&/^var\(\s*([a-zA-Z0-9\-_]+)\s*\)$/.test(String(null!=i?i:"").trim())?"calc(0px - ".concat(i,")"):"number"==typeof i&&Number.isFinite(i)?-1*i:"-".concat(i)},x=function(e,t,n){if("string"==typeof t){var r=t.startsWith("+")||t.startsWith("-")?t.slice(1):t,o=!t.startsWith("-");return!b(e,r)||o?m(e,t,n):k(e,r,n)}if("number"==typeof t&&Number.isFinite(t)){var i=Math.abs(t),a=!(t<0);return!b(e,i)||a?m(e,t,n):k(e,i,n)}return m(e,t,n)},w={background:{property:"background",scale:"colors"},backgroundAttachment:{property:"backgroundAttachment"},backgroundClip:{property:"backgroundClip"},backgroundColor:{property:"backgroundColor",scale:"colors"},backgroundImage:{property:"backgroundImage"},backgroundPosition:{property:"backgroundPosition",scale:"space",transform:x},backgroundPositionX:{property:"backgroundPositionX",scale:"space",transform:x},backgroundPositionY:{property:"backgroundPositionY",scale:"space",transform:x},backgroundRepeat:{property:"backgroundRepeat"},backgroundSize:{property:"backgroundSize",scale:"sizes"}};w.bg=(0,r.Zj)((0,r.Zj)({},w.background),{},{alias:"background"}),w.bgAttachment=(0,r.Zj)((0,r.Zj)({},w.backgroundAttachment),{},{alias:"backgroundAttachment"}),w.bgClip=(0,r.Zj)((0,r.Zj)({},w.backgroundClip),{},{alias:"backgroundClip"}),w.bgColor=(0,r.Zj)((0,r.Zj)({},w.backgroundColor),{},{alias:"backgroundColor"}),w.bgImage=(0,r.Zj)((0,r.Zj)({},w.backgroundImage),{},{alias:"backgroundImage"}),w.bgPosition=(0,r.Zj)((0,r.Zj)({},w.backgroundPosition),{},{alias:"backgroundPosition"}),w.bgPositionX=(0,r.Zj)((0,r.Zj)({},w.backgroundPositionX),{},{alias:"backgroundPositionX"}),w.bgPositionY=(0,r.Zj)((0,r.Zj)({},w.backgroundPositionY),{},{alias:"backgroundPositionY"}),w.bgRepeat=(0,r.Zj)((0,r.Zj)({},w.backgroundRepeat),{},{alias:"backgroundRepeat"}),w.bgSize=(0,r.Zj)((0,r.Zj)({},w.backgroundSize),{},{alias:"backgroundSize"});var _=y(w,{group:"background"}),S=y((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)((0,r.Zj)({},{border:{property:"border",scale:"borders"},borderColor:{property:"borderColor",scale:"colors"},borderStyle:!0,borderWidth:{property:"borderWidth",scale:"sizes"}}),{borderTop:{property:"borderTop",scale:"borders"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:!0,borderTopWidth:{property:"borderTopWidth",scale:"sizes"}}),{borderRight:{property:"borderRight",scale:"borders"},borderRightColor:{property:"borderRightColor",scale:"colors"},borderRightStyle:!0,borderRightWidth:{property:"borderRightWidth",scale:"sizes"}}),{borderBottom:{property:"borderBottom",scale:"borders"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderBottomStyle:!0,borderBottomWidth:{property:"borderBottomWidth",scale:"sizes"}}),{borderLeft:{property:"borderLeft",scale:"borders"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderLeftStyle:!0,borderLeftWidth:{property:"borderLeftWidth",scale:"sizes"}}),{borderRadius:{property:"borderRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderEndEndRadius:{property:"borderEndEndRadius",scale:"radii"},borderEndStartRadius:{property:"borderEndStartRadius",scale:"radii"},borderStartEndRadius:{property:"borderStartEndRadius",scale:"radii"},borderStartStartRadius:{property:"borderStartStartRadius",scale:"radii"}}),{borderBlock:{property:"borderBlock",scale:"borders"},borderBlockColor:{property:"borderBlockColor",scale:"colors"},borderBlockStyle:!0,borderBlockWidth:{property:"borderBlockWidth",scale:"sizes"},borderBlockEnd:{property:"borderBlockEnd",scale:"borders"},borderBlockEndColor:{property:"borderBlockEndColor",scale:"colors"},borderBlockEndStyle:!0,borderBlockEndWidth:{property:"borderBlockEndWidth",scale:"sizes"},borderBlockStart:{property:"borderBlockStart",scale:"borders"},borderBlockStartColor:{property:"borderBlockStartColor",scale:"colors"},borderBlockStartStyle:!0,borderBlockStartWidth:{property:"borderBlockStartWidth",scale:"sizes"}}),{borderImage:!0,borderImageOutset:{property:"borderImageOutset",scale:"space",transform:x},borderImageRepeat:!0,borderImageSlice:{property:"borderImageSlice",scale:"space",transform:x},borderImageSource:!0,borderImageWidth:{property:"borderImageWidth",scale:"sizes"}}),{borderInline:{property:"borderInline",scale:"borders"},borderInlineColor:{property:"borderInlineColor",scale:"colors"},borderInlineStyle:!0,borderInlineWidth:{property:"borderInlineWidth",scale:"sizes"},borderInlineEnd:{property:"borderInlineEnd",scale:"borders"},borderInlineEndColor:{property:"borderInlineEndColor",scale:"colors"},borderInlineEndStyle:!0,borderInlineEndWidth:{property:"borderInlineEndWidth",scale:"sizes"},borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartColor:{property:"borderInlineStartColor",scale:"colors"},borderInlineStartStyle:!0,borderInlineStartWidth:{property:"borderInlineStartWidth",scale:"sizes"}}),{},{borderCollapse:!0,borderSpacing:{property:"borderSpacing",scale:"sizes"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"}}),{group:"border"}),O=y({color:{property:"color",scale:"colors"},colorScheme:!0},{group:"color"}),E=y({contain:!0,containIntrinsicSize:{property:"containIntrinsicSize",scale:"sizes"},contentVisibility:!0},{group:"containment"}),j=y({backdropFilter:!0,backgroundBlendMode:!0,boxShadow:{property:"boxShadow",scale:"shadows"},filter:!0,mixBlendMode:!0,opacity:!0},{group:"effect"}),T=y({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:{property:"flexBasis",scale:"sizes"},justifySelf:!0,alignSelf:!0,order:!0},{group:"flexbox"}),C=y({gap:{property:"gap",scale:"sizes"},columnGap:{property:"columnGap",scale:"sizes"},rowGap:{property:"rowGap",scale:"sizes"}},{group:"gap"}),A=y({gridArea:!0,gridAutoColumns:!0,gridAutoFlow:!0,gridAutoRows:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,gridTemplate:!0,gridTemplateAreas:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridGap:{property:"gridGap",scale:"sizes"},gridColumnGap:{property:"gridColumnGap",scale:"sizes"},gridRowGap:{property:"gridRowGap",scale:"sizes"}},{group:"grid"}),R=y({imageOrientation:!0,imageRendering:!0},{group:"image"}),I=y({appearance:!0,caretColor:{property:"caretColor",scale:"colors"},cursor:!0,pointerEvents:!0,resize:!0,userSelect:!0},{group:"interactivity"}),P={width:{property:"width",scale:"sizes"},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0,aspectRatio:!0,boxSizing:!0,float:!0,objectFit:!0,objectPosition:!0,visibility:!0};P.w=(0,r.Zj)((0,r.Zj)({},P.width),{},{alias:"width"}),P.h=(0,r.Zj)((0,r.Zj)({},P.height),{},{alias:"height"});var Z=y(P,{group:"layout"}),N=y({listStyleImage:!0,listStylePosition:!0,listStyleType:!0},{group:"list-style"}),F={margin:{property:"margin",scale:"space",transform:x},marginTop:{property:"marginTop",scale:"space",transform:x},marginRight:{property:"marginRight",scale:"space",transform:x},marginBottom:{property:"marginBottom",scale:"space",transform:x},marginLeft:{property:"marginLeft",scale:"space",transform:x},marginBlock:{property:"marginBlock",scale:"space",transform:x},marginBlockStart:{property:"marginBlockStart",scale:"space",transform:x},marginBlockEnd:{property:"marginBlockEnd",scale:"space",transform:x},marginInline:{property:"marginInline",scale:"space",transform:x},marginInlineStart:{property:"marginInlineStart",scale:"space",transform:x},marginInlineEnd:{property:"marginInlineEnd",scale:"space",transform:x}};F.marginX={properties:["marginLeft","marginRight"],scale:"space",transform:x},F.marginY={properties:["marginTop","marginBottom"],scale:"space",transform:x},F.m=(0,r.Zj)((0,r.Zj)({},F.margin),{},{alias:"margin"}),F.mt=(0,r.Zj)((0,r.Zj)({},F.marginTop),{},{alias:"marginTop"}),F.mr=(0,r.Zj)((0,r.Zj)({},F.marginRight),{},{alias:"marginRight"}),F.mb=(0,r.Zj)((0,r.Zj)({},F.marginBottom),{},{alias:"marginBottom"}),F.ml=(0,r.Zj)((0,r.Zj)({},F.marginLeft),{},{alias:"marginLeft"}),F.mx=(0,r.Zj)((0,r.Zj)({},F.marginX),{},{alias:"marginX"}),F.my=(0,r.Zj)((0,r.Zj)({},F.marginY),{},{alias:"marginY"});var L=y(F,{group:"margin"}),M=y({clip:!0,clipPath:!0,mask:!0,maskBorder:!0,maskType:!0,maskClip:!0,maskComposite:!0,maskImage:!0,maskMode:!0,maskOrigin:!0,maskPosition:!0,maskRepeat:!0,maskSize:!0,maskBorderMode:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorderSlice:!0,maskBorderSource:!0,maskBorderWidth:!0},{group:"masking"}),D=y({outline:{property:"outline",scale:"outlines"},outlineColor:{property:"outlineColor",scale:"colors"},outlineOffset:{property:"outlineOffset",scale:"space",transform:x},outlineWidth:{property:"outlineWidth",scale:"sizes"},outlineStyle:!0},{group:"outline"}),B={padding:{property:"padding",scale:"space"},paddingTop:{property:"paddingTop",scale:"space"},paddingRight:{property:"paddingRight",scale:"space"},paddingBottom:{property:"paddingBottom",scale:"space"},paddingLeft:{property:"paddingLeft",scale:"space"}};B.paddingX={properties:["paddingLeft","paddingRight"],scale:"space"},B.paddingY={properties:["paddingTop","paddingBottom"],scale:"space"},B.p=(0,r.Zj)((0,r.Zj)({},B.padding),{},{alias:"padding"}),B.pt=(0,r.Zj)((0,r.Zj)({},B.paddingTop),{},{alias:"paddingTop"}),B.pr=(0,r.Zj)((0,r.Zj)({},B.paddingRight),{},{alias:"paddingRight"}),B.pb=(0,r.Zj)((0,r.Zj)({},B.paddingBottom),{},{alias:"paddingBottom"}),B.pl=(0,r.Zj)((0,r.Zj)({},B.paddingLeft),{},{alias:"paddingLeft"}),B.px=(0,r.Zj)((0,r.Zj)({},B.paddingX),{},{alias:"paddingX"}),B.py=(0,r.Zj)((0,r.Zj)({},B.paddingY),{},{alias:"paddingY"});var z=y(B,{group:"padding"}),$=y({inset:{property:"inset",scale:"space",transform:x},insetBlock:{property:"insetBlock",scale:"space",transform:x},insetBlockEnd:{property:"insetBlockEnd",scale:"space",transform:x},insetBlockStart:{property:"insetBlockStart",scale:"space",transform:x},insetInline:{property:"insetInline",scale:"space",transform:x},insetInlineEnd:{property:"insetInlineEnd",scale:"space",transform:x},insetInlineStart:{property:"insetInlineStart",scale:"space",transform:x},position:!0,top:{property:"top",scale:"space",transform:x},right:{property:"right",scale:"space",transform:x},bottom:{property:"bottom",scale:"space",transform:x},left:{property:"left",scale:"space",transform:x},zIndex:{property:"zIndex",scale:"zIndices"}},{group:"position"}),U={scrollBehavior:!0,scrollMargin:{property:"scrollMargin",scale:"space",transform:x},scrollMarginBlock:{property:"scrollMarginBlock",scale:"space",transform:x},scrollMarginBlockEnd:{property:"scrollMarginBlockEnd",scale:"space",transform:x},scrollMarginBlockStart:{property:"scrollMarginBlockStart",scale:"space",transform:x},scrollMarginInline:{property:"scrollMarginInline",scale:"space",transform:x},scrollMarginInlineEnd:{property:"scrollMarginInlineEnd",scale:"space",transform:x},scrollMarginInlineStart:{property:"scrollMarginInlineStart",scale:"space",transform:x},scrollMarginTop:{property:"scrollMarginTop",scale:"space",transform:x},scrollMarginRight:{property:"scrollMarginRight",scale:"space",transform:x},scrollMarginBottom:{property:"scrollMarginBottom",scale:"space",transform:x},scrollMarginLeft:{property:"scrollMarginLeft",scale:"space",transform:x},scrollPadding:{property:"scrollPadding",scale:"space"},scrollPaddingTop:{property:"scrollPaddingTop",scale:"space"},scrollPaddingRight:{property:"scrollPaddingRight",scale:"space"},scrollPaddingBottom:{property:"scrollPaddingBottom",scale:"space"},scrollPaddingLeft:{property:"scrollPaddingLeft",scale:"space"},scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0};U.scrollMarginX={properties:["scrollMarginLeft","scrollMarginRight"],scale:"space",transform:x},U.scrollMarginY={properties:["scrollMarginTop","scrollMarginBottom"],scale:"space",transform:x},U.scrollPaddingX={properties:["scrollPaddingLeft","scrollPaddingRight"],scale:"space"},U.scrollPaddingY={properties:["scrollPaddingTop","scrollPaddingBottom"],scale:"space"};var H=function(){for(var e={},t=arguments.length,n=Array(t),r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]&&arguments[1];if(!e||!(e instanceof HTMLElement))return[];var n=Array.from(e.querySelectorAll('a[href],area[href],audio[controls],button:not([disabled]),embed,iframe,input:not([type="hidden"]):not([disabled]),object,select:not([disabled]),textarea:not([disabled]),video[controls],*[contenteditable]:not([contenteditable="false"]),*[tabindex]:not([aria-disabled="true"])'));return n=n.filter(function(e){var t=(0,r.Dx)(e);return(null==t?void 0:t.display)!=="none"}),!0===t&&(n=n.filter(function(e){return"-1"!==e.getAttribute("tabindex")})),n}},33558:function(e,t,n){"use strict";n.d(t,{Dx:function(){return a},Jb:function(){return u},Nq:function(){return o},Re:function(){return f},lZ:function(){return c},nq:function(){return p},oe:function(){return s},vY:function(){return i}});var r=n(53248),o=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)},i=function(e){var t=c(e);return null==t?void 0:t.activeElement},a=function(e){if(!e)throw TypeError("No element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):null},s=function e(t){return f(t)?e(t.offsetParent)+t.offsetLeft:0},c=function(e){var t;return l(e)&&null!==(t=e.ownerDocument)&&void 0!==t?t:document},u=function e(t){return f(t)?e(t.offsetParent)+t.offsetTop:0},l=function(e){return null!=e&&"object"===(0,r.Ac)(e)&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE},f=function(e){if(!l(e))return!1;var t,n=null!==(t=e.ownerDocument.defaultView)&&void 0!==t?t:window;return e instanceof n.HTMLElement},p=function(e){return e&&(null==e?void 0:e.scrollTop)}},56818:function(e,t,n){"use strict";n.d(t,{N:function(){return l},PB:function(){return f},PP:function(){return u},Pu:function(){return h},Qm:function(){return c},TL:function(){return m},TS:function(){return p},ZT:function(){return d}});var r=n(53248),o=n(5081),i=n(13409),a=function(e){return 0===(e=(0,o.rY)(e)).length?"":1===e.length?"'".concat(e[0],"'"):2===e.length?"'".concat(e[0],"' and '").concat(e[1],"'"):"'".concat(e.slice(0,-1).join("', '"),"', and '").concat(e.slice(-1),"'")},s=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(n.has(t))return n.get(t);if(Array.isArray(t)){var o=[];n.set(t,o);for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0};if(Array.isArray(t)&&Array.isArray(n)){var a=o.clone?(0,r.u)(t):t;return n.forEach(function(t,n){(0,i.PO)(t)&&(0,i.PO)(a[n])?a[n]=e(a[n],t,o):a[n]=o.clone?s(t):t}),a}if((0,i.PO)(t)&&(0,i.PO)(n)){for(var c=o.clone?(0,r.Zj)({},t):t,u=0,l=Object.entries(n);u1?t-1:0),r=1;r1?"are":"is";s?u.push("".concat(a(e)," ").concat(l," deprecated and will be removed in the next major release.")):u.push("".concat(a(e)," ").concat(l," deprecated.")),i.length>0&&u.push("Use ".concat(a(i)," instead.")),c&&u.push(c),console.error(u.join(" "))}}},83377:function(e,t,n){"use strict";n.d(t,{YU:function(){return s},Zk:function(){return u},c:function(){return c},nV:function(){return a},zx:function(){return l}});var r=n(53248),o=n(5081),i=function(e){return e>0?"".concat(Math.round(e),"ms"):""},a={standard:300,enteringScreen:225,leavingScreen:195},s={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},c=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.enter)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.enter)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},u=function(e){var t,n,r,i,a,s,c=e.style,u=e.timeout,l=e.easing;return u=null!==(t=null===(n=u)||void 0===n?void 0:n.exit)&&void 0!==t?t:u,l=null!==(r=null===(i=l)||void 0===i?void 0:i.exit)&&void 0!==r?r:l,{duration:null!==(a=null==c?void 0:c.transitionDuration)&&void 0!==a?a:"number"==typeof u?(0,o.Nu)(u):u||0,easing:null!==(s=null==c?void 0:c.transitionTimingFunction)&&void 0!==s?s:l,delay:null==c?void 0:c.transitionDelay}},l=function(e,t){e=null!==(n=e)&&void 0!==n?n:["all"];var n,c=(0,r.Zj)({},t),u=c.duration,l=void 0===u?a.standard:u,f=c.easing,p=void 0===f?s.easeInOut:f,d=c.delay,h=void 0===d?0:d;return(0,o.rY)(e).map(function(e){return[e,"string"==typeof l?l:i(l),p,"string"==typeof h?h:i(h)].filter(function(e){return null!=e&&""!==e}).join(" ")}).join(",")}},85748:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},15538:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},43681:function(e,t,n){var r=n(96314),o=n(66193),i=n(60121),a=n(16147);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},73408:function(e,t,n){var r=n(13850),o=n(23912),i=n(60121),a=n(83096);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},68064:function(e,t,n){var r=n(67425).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},47739:function(e,t,n){var r=n(67425).default,o=n(68064);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},67425:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},60121:function(e,t,n){var r=n(85748);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}},e.exports.__esModule=!0,e.exports.default=e.exports},80753:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},56666:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(32802);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7896:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},88960:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},32802:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86522);function o(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},86522:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},45392:function(e,t,n){"use strict";n.d(t,{Zo:function(){return s},ah:function(){return i}});var r=n(2784);let o=r.createContext({});function i(e){let t=r.useContext(o);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let a={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||a:i(e),r.createElement(o.Provider,{value:s},t)}},20303:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function w(e){var t,n,o,l,m,b,w,_,S,O,E,j,T,C,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},I=(0,u.a)(),P=(0,c.z)(),Z=(0,s.a)(),N=f(A),F=f(R),L=(0,r.useRef)(!0),M=(0,r.useRef)(null),D=(0,r.useRef)(P.status),B=(0,r.useMemo)(function(){return k(k({},e(function(e,t){if(t){L.current=!0;return}if(L.current){var n=e.instantSearchInstance,r=(e.widgetParams,x(e,g));(0,i.J)(r,M.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&n.status===D.current||(U(r),M.current=r,D.current=n.status)}},function(){L.current=!1})(N)),F)},[e,N,F]),z=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(function(){if(B.getWidgetRenderState){var e,t=Z.getHelper(),n=Z.getWidgetUiState({})[Z.getIndexId()];t.state=(null===(e=B.getWidgetSearchParameters)||void 0===e?void 0:e.call(B,t.state,{uiState:n}))||t.state;var r=(0,a.E)(Z),o=r.results,i=r.scopedResults,s=B.getWidgetRenderState({helper:t,parent:Z,instantSearchInstance:P,results:o,scopedResults:i,state:t.state,renderState:P.renderState,templatesConfig:P.templatesConfig,createURL:Z.createURL,searchMetadata:{isSearchStalled:"stalled"===P.status},status:P.status,error:P.error});return s.widgetParams,x(s,y)}return{}}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{for(i=(n=n.call(e)).next;!(c=(r=i.call(n)).done)&&(s.push(r.value),2!==s.length);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,2)||function(e,t){if(e){if("string"==typeof e)return v(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),$=z[0],U=z[1];return m=(n={widget:B,parentIndex:Z,props:N,shouldSsr:!!I}).widget,b=n.parentIndex,w=n.props,_=n.shouldSsr,S=(0,h.P)(),O=(0,r.useRef)(w),(0,r.useEffect)(function(){O.current=w},[w]),E=(0,r.useRef)(m),(0,r.useEffect)(function(){E.current=m},[m]),j=(0,r.useRef)(null),T=_&&!b.getWidgets().includes(m),C=(0,c.z)(),(0,d.L)(function(){var e=E.current;return j.current?(clearTimeout(j.current),(0,i.J)(w,O.current)||(b.removeWidgets([e]),b.addWidgets([m]))):T||b.addWidgets([m]),function(){j.current=setTimeout(function(){C._schedule(function(){C._preventWidgetCleanup||b.removeWidgets([e])})})}},[b,m,T,C,w]),(T||(null==S?void 0:null===(o=S.current)||void 0===o?void 0:o.status)==="pending")&&b.addWidgets([m]),"undefined"==typeof window&&null!=S&&S.current&&"ais.index"!==m.$$type&&(p(S.current),"ais.dynamicWidgets"!==m.$$type&&null!==(l=C.helper)&&void 0!==l&&l.lastResults&&p(S.current)),$}},11849:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},5881:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(2784).createContext)(null)},87287:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{J:function(){return function e(t,n,i){var a,s;if(null!=i&&i(t,n)||t===n)return!0;if(t&&n&&(a=t.constructor)===n.constructor){if(a===Date)return t.getTime()===n.getTime();if(a===RegExp)return t.toString()===n.toString();if(a===Array){if((s=t.length)===n.length)for(;s--&&e(t[s],n[s],i););return -1===s}if(!a||"object"===r(t)){for(a in s=0,t)if(o.call(t,a)&&++s&&!o.call(n,a)||!(a in n)||!e(t[a],n[a],i))return!1;return Object.keys(n).length===s}}return t!=t&&n!=n}}});var o=Object.prototype.hasOwnProperty},73183:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(96906);function o(e){var t,n,o;return new r.SearchResults(e,[{query:null!==(t=e.query)&&void 0!==t?t:"",page:null!==(n=e.page)&&void 0!==n?n:0,hitsPerPage:null!==(o=e.hitsPerPage)&&void 0!==o?o:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(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 s(e){for(var t=1;t component must be used within ."),e}},53232:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(2784),o=n(18670),i=n(5881);function a(){var e=(0,r.useContext)(i.Z);return(0,o.k)(null!==e,"Hooks must be used inside the component.\n\nThey are not compatible with the `react-instantsearch-core@6.x` and `react-instantsearch-dom` packages, so make sure to use the component from `react-instantsearch-core@7.x`."),e}},29170:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},91106:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(2784),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},38436:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(2784),o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)}},65245:function(e,t,n){"use strict";let r,o,i,a,s,c,u,l,f,p,d;n.d(t,{uz:function(){return oO},nu:function(){return oS}});var h,m,g,y,v,b,k,x,w,_,S,O,E,j,T,C,A,R,I,P,Z,N,F,L,M,D,B=n(2784),z=function(){for(var e,t,n=0,r="",o=arguments.length;nt in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&X(e,n,t[n]);if(K)for(var n of K(t))Y.call(t,n)&&X(e,n,t[n]);return e},ee=(e,t)=>H(e,W(t)),et=(e,t)=>{var n={};for(var r in e)G.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&K)for(var r of K(e))0>t.indexOf(r)&&Y.call(e,r)&&(n[r]=e[r]);return n},en=(d=null!=(f=(u={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=l.reach));w+=x.value.length,x=x.next){var _,S=x.value;if(n.length>t.length)return;if(!(S instanceof o)){var O=1;if(y){if(!(_=i(k,w,t,g))||_.index>=t.length)break;var E=_.index,j=_.index+_[0].length,T=w;for(T+=x.value.length;E>=T;)T+=(x=x.next).value.length;if(T-=x.value.length,w=T,x.value instanceof o)continue;for(var C=x;C!==n.tail&&(Tl.reach&&(l.reach=P);var Z=x.prev;if(R&&(Z=s(n,Z,R),w+=R.length),function(e,t,n){for(var r=t.next,o=0;o1){var N={cause:f+","+d,reach:P};e(t,n,a,x.prev,w,N),l&&N.reach>l.reach&&(l.reach=N.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function i(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}return o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach(function(t){o+=e(t,n)}),o}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),r.hooks.run("wrap",i);var s="";for(var c in i.attributes)s+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},r}();t.exports=n,n.default=n}},function(){return l||(0,u[V(u)[0]])((l={exports:{}}).exports,l),l.exports})())?$(Q(f)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of V(t))G.call(e,o)||o===n||U(e,o,{get:()=>t[o],enumerable:!(r=q(t,o))||r.enumerable});return e})(!p&&f&&f.__esModule?d:U(d,"default",{value:f,enumerable:!0}),f));en.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},en.languages.markup.tag.inside["attr-value"].inside.entity=en.languages.markup.entity,en.languages.markup.doctype.inside["internal-subset"].inside=en.languages.markup,en.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(en.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:en.languages[t]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:en.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},en.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(en.languages.markup.tag,"addAttribute",{value:function(e,t){en.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:en.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),en.languages.html=en.languages.markup,en.languages.mathml=en.languages.markup,en.languages.svg=en.languages.markup,en.languages.xml=en.languages.extend("markup",{}),en.languages.ssml=en.languages.xml,en.languages.atom=en.languages.xml,en.languages.rss=en.languages.xml,g={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},v=RegExp((v="(?:[^\\\\-]|"+(y=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+v),b={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},en.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:v,inside:{escape:y,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":g,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:y}},"special-escape":g,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":b}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:y,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},en.languages.javascript=en.languages.extend("clike",{"class-name":[en.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),en.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,en.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:en.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:en.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:en.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:en.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:en.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),en.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:en.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),en.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),en.languages.markup&&(en.languages.markup.tag.addInlined("script","javascript"),en.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),en.languages.js=en.languages.javascript,en.languages.actionscript=en.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),en.languages.actionscript["class-name"].alias="function",delete en.languages.actionscript.parameter,delete en.languages.actionscript["literal-property"],en.languages.markup&&en.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:en.languages.markup}}),k=/#(?!\{).+/,x={pattern:/#\{[^}]+\}/,alias:"variable"},en.languages.coffeescript=en.languages.extend("javascript",{comment:k,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:x}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),en.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:k,interpolation:x}}}),en.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:en.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:x}}]}),en.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete en.languages.coffeescript["template-string"],en.languages.coffee=en.languages.coffeescript,Object.defineProperty(w=en.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(o=en.languages[e]){var o,i=o[r];if((i=i||(o=en.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(i=o[r]={pattern:i}),Array.isArray(i))for(var a=0,s=i.length;a|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(en),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+o+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(en),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(en),en.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:en.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},en.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],i=r.pattern.source;function a(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in c&&function t(n){for(var a=0,c=n.length;a=f.length)return;var a,c,p,d,h,m,g,y=n[i];"string"==typeof y||"string"==typeof y.content?(a=f[u],-1!==(g=(m="string"==typeof y?y:y.content).indexOf(a))&&(++u,c=m.substring(0,g),h=l[a],p=void 0,(d={})["interpolation-punctuation"]=o,3===(d=e.tokenize(h,d)).length&&((p=[1,1]).push.apply(p,s(d[1],e.languages.javascript,"javascript")),d.splice.apply(d,p)),p=new e.Token("interpolation",d,r.alias,h),d=m.substring(g+a.length),h=[],c&&h.push(c),h.push(p),d&&(t(m=[d]),h.push.apply(h,m)),"string"==typeof y?(n.splice.apply(n,[i,1].concat(h)),i+=h.length-1):y.content=h)):Array.isArray(g=y.content)?t(g):t([g])}}(c),new e.Token(a,c,"language-"+a,t)}(l,f,p))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(en),en.languages.typescript=en.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),en.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete en.languages.typescript.parameter,delete en.languages.typescript["literal-property"],S=en.languages.extend("typescript",{}),delete S["class-name"],en.languages.typescript["class-name"].inside=S,en.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:S}}}}),en.languages.ts=en.languages.typescript,O=en.languages.javascript,j="(@(?:arg|argument|param|property)\\s+(?:"+(E=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",en.languages.jsdoc=en.languages.extend("javadoclike",{parameter:{pattern:RegExp(j+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),en.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(j+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:O,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return E})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+E),lookbehind:!0,inside:{string:O.string,number:O.number,boolean:O.boolean,keyword:en.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:O,alias:"language-javascript"}}}}),en.languages.javadoclike.addSupport("javascript",en.languages.jsdoc),en.languages.flow=en.languages.extend("javascript",{}),en.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),en.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete en.languages.flow.parameter,en.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(en.languages.flow.keyword)||(en.languages.flow.keyword=[en.languages.flow.keyword]),en.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),en.languages.n4js=en.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),en.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),en.languages.n4jsd=en.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],o=0;o"!==i.content[i.content.length-1].content&&r.push({tagName:a(i.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},en.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=en.languages.swift}),en.languages.kotlin=en.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete en.languages.kotlin["class-name"],C={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:en.languages.kotlin}},en.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:C},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:C},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete en.languages.kotlin.string,en.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),en.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),en.languages.kt=en.languages.kotlin,en.languages.kts=en.languages.kotlin,en.languages.c=en.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),en.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),en.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},en.languages.c.string],char:en.languages.c.char,comment:en.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:en.languages.c}}}}),en.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete en.languages.c.boolean,en.languages.objectivec=en.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete en.languages.objectivec["class-name"],en.languages.objc=en.languages.objectivec,en.languages.reason=en.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),en.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete en.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(en),en.languages.go=en.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),en.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete en.languages.go["class-name"],A=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,R=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return A.source}),en.languages.cpp=en.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return A.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:A,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),en.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return R})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),en.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:en.languages.cpp}}}}),en.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),en.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:en.languages.extend("cpp",{})}}),en.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},en.languages.cpp["base-clause"]),en.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},en.languages.python["string-interpolation"].inside.interpolation.inside.rest=en.languages.python,en.languages.py=en.languages.python;var er={};((e,t)=>{for(var n in t)U(e,n,{get:t[n],enumerable:!0})})(er,{dracula:()=>eo,duotoneDark:()=>ei,duotoneLight:()=>ea,github:()=>es,jettwaveDark:()=>ek,jettwaveLight:()=>ex,nightOwl:()=>ec,nightOwlLight:()=>eu,oceanicNext:()=>ep,okaidia:()=>ed,oneDark:()=>ew,oneLight:()=>e_,palenight:()=>eh,shadesOfPurple:()=>em,synthwave84:()=>eg,ultramin:()=>ey,vsDark:()=>ev,vsLight:()=>eb});var eo={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},ei={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},ea={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},es={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},ec={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},eu={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},el="#c5a5c5",ef="#8dc891",ep={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:el}},{types:["attr-value"],style:{color:ef}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:ef}},{types:["punctuation"],style:{color:ef}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:el}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},ed={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},eh={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},em={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},eg={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ey={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},ev={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},eb={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},ek={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ex={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},ew={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},e_={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},eS=(e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:o}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=J(J({},e[t]),o);e[t]=n}),e},{});return r.root=n,r.plain=ee(J({},n),{backgroundColor:void 0}),r},eO=(e,t)=>{let[n,r]=(0,B.useState)(eS(t,e)),o=(0,B.useRef)(),i=(0,B.useRef)();return(0,B.useEffect)(()=>{(t!==o.current||e!==i.current)&&(o.current=t,i.current=e,r(eS(t,e)))},[e,t]),n},eE=e=>(0,B.useCallback)(t=>{var{className:n,style:r,line:o}=t;let i=ee(J({},et(t,["className","style","line"])),{className:z("token-line",n)});return"object"==typeof e&&"plain"in e&&(i.style=e.plain),"object"==typeof r&&(i.style=J(J({},i.style||{}),r)),i},[e]),ej=e=>{let t=(0,B.useCallback)(({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map(t=>e[t]))},[e]);return(0,B.useCallback)(e=>{var{token:n,className:r,style:o}=e;let i=ee(J({},et(e,["token","className","style"])),{className:z("token",...n.types,r),children:n.content,style:t(n)});return null!=o&&(i.style=J(J({},i.style||{}),o)),i},[t])},eT=/\r\n|\r|\n/,eC=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eA=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eR=e=>{let t=[[]],n=[e],r=[0],o=[e.length],i=0,a=0,s=[],c=[s];for(;a>-1;){for(;(i=r[a]++)0?u:["plain"],e=l):(u=eA(u,l.type),l.alias&&(u=eA(u,l.alias)),e=l.content),"string"!=typeof e){a++,t.push(u),n.push(e),r.push(0),o.push(e.length);continue}let f=e.split(eT),p=f.length;s.push({types:u,content:f[0]});for(let e=1;e{let o=(0,B.useRef)(e);return(0,B.useMemo)(()=>{if(null==n)return eR([t]);let e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),eR(e.tokens)},[t,n,r])},eP=({children:e,language:t,code:n,theme:r,prism:o})=>{let i=t.toLowerCase(),a=eO(i,r),s=eE(a),c=ej(a),u=o.languages[i];return e({tokens:eI({prism:o,language:i,code:n,grammar:u}),className:`prism-code language-${i}`,style:null!=a?a.root:{},getLineProps:s,getTokenProps:c})},eZ=e=>(0,B.createElement)(eP,ee(J({},e),{prism:e.prism||en,theme:e.theme||ev,code:e.code,language:e.language})),eN={characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};function eF(e){var t=window.getSelection();t.empty(),t.addRange(e)}function eL(e){return(e.metaKey||e.ctrlKey)&&!e.altKey&&"KeyZ"===e.code}function eM(e){e=[e.firstChild];for(var t,n="";t=e.pop();)t.nodeType===Node.TEXT_NODE?n+=t.textContent:t.nodeType===Node.ELEMENT_NODE&&"BR"===t.nodeName&&(n+="\n"),t.nextSibling&&e.push(t.nextSibling),t.firstChild&&e.push(t.firstChild);return"\n"!==n[n.length-1]&&(n+="\n"),n}function eD(e){var t=window.getSelection().getRangeAt(0),n=t.collapsed?0:t.toString().length,r=document.createRange();return r.setStart(e,0),r.setEnd(t.startContainer,t.startOffset),{position:e=(r=r.toString()).length,extent:n,content:r=(r=r.split("\n"))[t=r.length-1],line:t}}function eB(e,t,n){0>=t&&(t=0),(!n||0>n)&&(n=t);var r=document.createRange();e=[e.firstChild];for(var o,i=0,a=t;o=e[e.length-1];){if(o.nodeType===Node.TEXT_NODE){if(i+o.textContent.length>=a){var s=a-i;if(a===t){if(a=r,s=a){if(a===t){if(s=r,0";case N.template:return"template";case N.ellipsis:return"...";case N.backQuote:return"`";case N.dollarBraceL:return"${";case N.at:return"@";case N.hash:return"#";case N.eq:return"=";case N.assign:return"_=";case N.preIncDec:case N.postIncDec:return"++/--";case N.bang:return"!";case N.tilde:return"~";case N.pipeline:return"|>";case N.nullishCoalescing:return"??";case N.logicalOR:return"||";case N.logicalAND:return"&&";case N.bitwiseOR:return"|";case N.bitwiseXOR:return"^";case N.bitwiseAND:return"&";case N.equality:return"==/!=";case N.lessThan:return"<";case N.greaterThan:return">";case N.relationalOrEqual:return"<=/>=";case N.bitShiftL:return"<<";case N.bitShiftR:return">>/>>>";case N.plus:return"+";case N.minus:return"-";case N.modulo:return"%";case N.star:return"*";case N.slash:return"/";case N.exponent:return"**";case N.jsxName:return"jsxName";case N.jsxText:return"jsxText";case N.jsxEmptyText:return"jsxEmptyText";case N.jsxTagStart:return"jsxTagStart";case N.jsxTagEnd:return"jsxTagEnd";case N.typeParameterStart:return"typeParameterStart";case N.nonNullAssertion:return"nonNullAssertion";case N._break:return"break";case N._case:return"case";case N._catch:return"catch";case N._continue:return"continue";case N._debugger:return"debugger";case N._default:return"default";case N._do:return"do";case N._else:return"else";case N._finally:return"finally";case N._for:return"for";case N._function:return"function";case N._if:return"if";case N._return:return"return";case N._switch:return"switch";case N._throw:return"throw";case N._try:return"try";case N._var:return"var";case N._let:return"let";case N._const:return"const";case N._while:return"while";case N._with:return"with";case N._new:return"new";case N._this:return"this";case N._super:return"super";case N._class:return"class";case N._extends:return"extends";case N._export:return"export";case N._import:return"import";case N._yield:return"yield";case N._null:return"null";case N._true:return"true";case N._false:return"false";case N._in:return"in";case N._instanceof:return"instanceof";case N._typeof:return"typeof";case N._void:return"void";case N._delete:return"delete";case N._async:return"async";case N._get:return"get";case N._set:return"set";case N._declare:return"declare";case N._readonly:return"readonly";case N._abstract:return"abstract";case N._static:return"static";case N._public:return"public";case N._private:return"private";case N._protected:return"protected";case N._override:return"override";case N._as:return"as";case N._enum:return"enum";case N._type:return"type";case N._implements:return"implements";default:return""}}(e)}"`)}function e2(e="Unexpected token",t=a.start){if(a.error)return;let n=SyntaxError(e);n.pos=t,a.error=n,a.pos=s.length,tv(N.eof)}let e3=[9,11,12,F.space,F.nonBreakingSpace,F.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],e5=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e8=new Uint8Array(65536);for(let e of e3)e8[e]=1;let e6=new Uint8Array(65536);for(let e=0;e<128;e++)e6[e]=!function(e){if(e<48)return 36===e;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return 95===e;if(e<123)return!0;if(e<128)return!1;throw Error("Should not be called with non-ASCII char code.")}(e)?0:1;for(let e=128;e<65536;e++)e6[e]=1;for(let e of e3)e6[e]=0;e6[8232]=0,e6[8233]=0;let e4=e6.slice();for(let e=F.digit0;e<=F.digit9;e++)e4[e]=0;let e9=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,Z._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,Z._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,Z._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,Z._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,Z._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,Z._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(N._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(N._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,Z._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(N._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(N._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(N._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,Z._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(N._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(N._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(N._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,Z._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(N._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,Z._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(N._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,Z._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(N._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,Z._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(N._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,Z._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,Z._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,Z._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,Z._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,Z._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(N._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(N._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(N._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,Z._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(N._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(N._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function e7(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.FunctionScopedDeclaration||t===L.BlockScopedDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ObjectShorthandFunctionScopedDeclaration||t===L.ObjectShorthandBlockScopedDeclaration}function te(e){let t=e.identifierRole;return t===L.TopLevelDeclaration||t===L.ObjectShorthandTopLevelDeclaration||t===L.ImportDeclaration}!function(e){e[e.Access=0]="Access",e[e.ExportAccess=1]="ExportAccess";e[e.TopLevelDeclaration=2]="TopLevelDeclaration";let t=3;e[e.FunctionScopedDeclaration=t]="FunctionScopedDeclaration";let n=t+1;e[e.BlockScopedDeclaration=n]="BlockScopedDeclaration";let r=n+1;e[e.ObjectShorthandTopLevelDeclaration=r]="ObjectShorthandTopLevelDeclaration";let o=r+1;e[e.ObjectShorthandFunctionScopedDeclaration=o]="ObjectShorthandFunctionScopedDeclaration";let i=o+1;e[e.ObjectShorthandBlockScopedDeclaration=i]="ObjectShorthandBlockScopedDeclaration";let a=i+1;e[e.ObjectShorthand=a]="ObjectShorthand";let s=a+1;e[e.ImportDeclaration=s]="ImportDeclaration";let c=s+1;e[e.ObjectKey=c]="ObjectKey";let u=c+1;e[e.ImportAccess=u]="ImportAccess"}(L||(L={})),(h=M||(M={}))[h.NoChildren=0]="NoChildren",h[h.OneChild=1]="OneChild",h[h.StaticChildren=2]="StaticChildren",h[h.KeyAfterPropSpread=3]="KeyAfterPropSpread";class tt{constructor(){this.type=a.type,this.contextualKeyword=a.contextualKeyword,this.start=a.start,this.end=a.end,this.scopeDepth=a.scopeDepth,this.isType=a.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}function tn(){a.tokens.push(new tt),tm()}function tr(){a.tokens.push(new tt),a.start=a.pos,function(){for(;;){if(a.pos>=s.length){e2("Unterminated template");return}let e=s.charCodeAt(a.pos);if(e===F.graveAccent||e===F.dollarSign&&s.charCodeAt(a.pos+1)===F.leftCurlyBrace){if(a.pos===a.start&&tc(N.template)){if(e===F.dollarSign){a.pos+=2,tv(N.dollarBraceL);return}++a.pos,tv(N.backQuote);return}tv(N.template);return}e===F.backslash&&a.pos++,a.pos++}}()}function to(e){for(let t=a.tokens.length-e;t=s.length){let e=a.tokens;e.length>=2&&e[e.length-1].start>=s.length&&e[e.length-2].start>=s.length&&e2("Unexpectedly reached the end of input."),tv(N.eof);return}e4[e=s.charCodeAt(a.pos)]||e===F.backslash||e===F.atSign&&s.charCodeAt(a.pos+1)===F.atSign?function(){let e=0,t=0,n=a.pos;for(;nF.lowercaseZ);){let r=e9[e+(t-F.lowercaseA)+1];if(-1===r)break;e=r,n++}let r=e9[e];if(r>-1&&!e6[t]){a.pos=n,1&r?tv(r>>>1):tv(N.name,r>>>1);return}for(;ns.length){e2("Unterminated comment",a.pos-2);return}a.pos+=2}();break;case F.slash:tg(2);break;default:return}break;default:if(!e8[e])return;++a.pos}}}function tv(e,t=Z.NONE){a.end=a.pos,a.type=e,a.contextualKeyword=t}function tb(){if(a.isType){tw(N.greaterThan,1);return}let e=s.charCodeAt(a.pos+1);if(e===F.greaterThan){let e=s.charCodeAt(a.pos+2)===F.greaterThan?3:2;if(s.charCodeAt(a.pos+e)===F.equalsTo){tw(N.assign,e+1);return}tw(N.bitShiftR,e);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.greaterThan,1)}function tk(){a.type===N.greaterThan&&(a.pos-=1,tb())}function tx(e){switch(e){case F.numberSign:++a.pos,tv(N.hash);return;case F.dot:!function(){let e=s.charCodeAt(a.pos+1);if(e>=F.digit0&&e<=F.digit9){tS(!0);return}e===F.dot&&s.charCodeAt(a.pos+2)===F.dot?(a.pos+=3,tv(N.ellipsis)):(++a.pos,tv(N.dot))}();return;case F.leftParenthesis:++a.pos,tv(N.parenL);return;case F.rightParenthesis:++a.pos,tv(N.parenR);return;case F.semicolon:++a.pos,tv(N.semi);return;case F.comma:++a.pos,tv(N.comma);return;case F.leftSquareBracket:++a.pos,tv(N.bracketL);return;case F.rightSquareBracket:++a.pos,tv(N.bracketR);return;case F.leftCurlyBrace:i&&s.charCodeAt(a.pos+1)===F.verticalBar?tw(N.braceBarL,2):(++a.pos,tv(N.braceL));return;case F.rightCurlyBrace:++a.pos,tv(N.braceR);return;case F.colon:s.charCodeAt(a.pos+1)===F.colon?tw(N.doubleColon,2):(++a.pos,tv(N.colon));return;case F.questionMark:!function(){let e=s.charCodeAt(a.pos+1),t=s.charCodeAt(a.pos+2);e!==F.questionMark||i&&a.isType?e!==F.dot||t>=F.digit0&&t<=F.digit9?(++a.pos,tv(N.question)):(a.pos+=2,tv(N.questionDot)):t===F.equalsTo?tw(N.assign,3):tw(N.nullishCoalescing,2)}();return;case F.atSign:++a.pos,tv(N.at);return;case F.graveAccent:++a.pos,tv(N.backQuote);return;case F.digit0:{let e=s.charCodeAt(a.pos+1);if(e===F.lowercaseX||e===F.uppercaseX||e===F.lowercaseO||e===F.uppercaseO||e===F.lowercaseB||e===F.uppercaseB){!function(){for(a.pos+=2;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e>=F.lowercaseA&&e<=F.lowercaseF||e>=F.uppercaseA&&e<=F.uppercaseF||e===F.underscore)a.pos++;else break}s.charCodeAt(a.pos)===F.lowercaseN?(++a.pos,tv(N.bigint)):tv(N.num)}();return}}case F.digit1:case F.digit2:case F.digit3:case F.digit4:case F.digit5:case F.digit6:case F.digit7:case F.digit8:case F.digit9:tS(!1);return;case F.quotationMark:case F.apostrophe:!function(e){for(a.pos++;;){if(a.pos>=s.length){e2("Unterminated string constant");return}let t=s.charCodeAt(a.pos);if(t===F.backslash)a.pos++;else if(t===e)break;a.pos++}a.pos++,tv(N.string)}(e);return;case F.slash:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.slash,1);return;case F.percentSign:case F.asterisk:let t,n,r;t=e===F.asterisk?N.star:N.modulo,n=1,r=s.charCodeAt(a.pos+1),e===F.asterisk&&r===F.asterisk&&(n++,r=s.charCodeAt(a.pos+2),t=N.exponent),r===F.equalsTo&&s.charCodeAt(a.pos+2)!==F.greaterThan&&(n++,t=N.assign),tw(t,n);return;case F.verticalBar:case F.ampersand:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){s.charCodeAt(a.pos+2)===F.equalsTo?tw(N.assign,3):tw(e===F.verticalBar?N.logicalOR:N.logicalAND,2);return}if(e===F.verticalBar){if(t===F.greaterThan){tw(N.pipeline,2);return}if(t===F.rightCurlyBrace&&i){tw(N.braceBarR,2);return}}if(t===F.equalsTo){tw(N.assign,2);return}tw(e===F.verticalBar?N.bitwiseOR:N.bitwiseAND,1)}(e);return;case F.caret:s.charCodeAt(a.pos+1)===F.equalsTo?tw(N.assign,2):tw(N.bitwiseXOR,1);return;case F.plusSign:case F.dash:!function(e){let t=s.charCodeAt(a.pos+1);if(t===e){tw(N.preIncDec,2);return}t===F.equalsTo?tw(N.assign,2):e===F.plusSign?tw(N.plus,1):tw(N.minus,1)}(e);return;case F.lessThan:!function(){let e=s.charCodeAt(a.pos+1);if(e===F.lessThan){if(s.charCodeAt(a.pos+2)===F.equalsTo){tw(N.assign,3);return}a.isType?tw(N.lessThan,1):tw(N.bitShiftL,2);return}e===F.equalsTo?tw(N.relationalOrEqual,2):tw(N.lessThan,1)}();return;case F.greaterThan:tb();return;case F.equalsTo:case F.exclamationMark:!function(e){let t=s.charCodeAt(a.pos+1);if(t===F.equalsTo){tw(N.equality,s.charCodeAt(a.pos+2)===F.equalsTo?3:2);return}if(e===F.equalsTo&&t===F.greaterThan){a.pos+=2,tv(N.arrow);return}tw(e===F.equalsTo?N.eq:N.bang,1)}(e);return;case F.tilde:tw(N.tilde,1);return}e2(`Unexpected character '${String.fromCharCode(e)}'`,a.pos)}function tw(e,t){a.pos+=t,tv(e)}function t_(){for(;;){let e=s.charCodeAt(a.pos);if(e>=F.digit0&&e<=F.digit9||e===F.underscore)a.pos++;else break}}function tS(e){let t=!1,n=!1;e||t_();let r=s.charCodeAt(a.pos);if(r===F.dot&&(++a.pos,t_(),r=s.charCodeAt(a.pos)),(r===F.uppercaseE||r===F.lowercaseE)&&(((r=s.charCodeAt(++a.pos))===F.plusSign||r===F.dash)&&++a.pos,t_(),r=s.charCodeAt(a.pos)),r===F.lowercaseN?(++a.pos,t=!0):r===F.lowercaseM&&(++a.pos,n=!0),t){tv(N.bigint);return}if(n){tv(N.decimal);return}tv(N.num)}function tO(e,t=e.currentIndex()){let n=t+1;if(tE(e,n)){let r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(tE(e,++n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(tE(e,++n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw Error(`Unexpected import/export specifier at ${t}`)}function tE(e,t){let n=e.tokens[t];return n.type===N.braceR||n.type===N.comma}var tj=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xa0"],["iexcl","\xa1"],["cent","\xa2"],["pound","\xa3"],["curren","\xa4"],["yen","\xa5"],["brvbar","\xa6"],["sect","\xa7"],["uml","\xa8"],["copy","\xa9"],["ordf","\xaa"],["laquo","\xab"],["not","\xac"],["shy","\xad"],["reg","\xae"],["macr","\xaf"],["deg","\xb0"],["plusmn","\xb1"],["sup2","\xb2"],["sup3","\xb3"],["acute","\xb4"],["micro","\xb5"],["para","\xb6"],["middot","\xb7"],["cedil","\xb8"],["sup1","\xb9"],["ordm","\xba"],["raquo","\xbb"],["frac14","\xbc"],["frac12","\xbd"],["frac34","\xbe"],["iquest","\xbf"],["Agrave","\xc0"],["Aacute","\xc1"],["Acirc","\xc2"],["Atilde","\xc3"],["Auml","\xc4"],["Aring","\xc5"],["AElig","\xc6"],["Ccedil","\xc7"],["Egrave","\xc8"],["Eacute","\xc9"],["Ecirc","\xca"],["Euml","\xcb"],["Igrave","\xcc"],["Iacute","\xcd"],["Icirc","\xce"],["Iuml","\xcf"],["ETH","\xd0"],["Ntilde","\xd1"],["Ograve","\xd2"],["Oacute","\xd3"],["Ocirc","\xd4"],["Otilde","\xd5"],["Ouml","\xd6"],["times","\xd7"],["Oslash","\xd8"],["Ugrave","\xd9"],["Uacute","\xda"],["Ucirc","\xdb"],["Uuml","\xdc"],["Yacute","\xdd"],["THORN","\xde"],["szlig","\xdf"],["agrave","\xe0"],["aacute","\xe1"],["acirc","\xe2"],["atilde","\xe3"],["auml","\xe4"],["aring","\xe5"],["aelig","\xe6"],["ccedil","\xe7"],["egrave","\xe8"],["eacute","\xe9"],["ecirc","\xea"],["euml","\xeb"],["igrave","\xec"],["iacute","\xed"],["icirc","\xee"],["iuml","\xef"],["eth","\xf0"],["ntilde","\xf1"],["ograve","\xf2"],["oacute","\xf3"],["ocirc","\xf4"],["otilde","\xf5"],["ouml","\xf6"],["divide","\xf7"],["oslash","\xf8"],["ugrave","\xf9"],["uacute","\xfa"],["ucirc","\xfb"],["uuml","\xfc"],["yacute","\xfd"],["thorn","\xfe"],["yuml","\xff"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]]);function tT(e){let[t,n]=tC(e.jsxPragma||"React.createElement"),[r,o]=tC(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:o}}function tC(e){let t=e.indexOf(".");return -1===t&&(t=e.length),[e.slice(0,t),e.slice(t)]}class tA{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}class tR extends tA{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(e,t,n,r,o){super(),this.rootTransformer=e,this.tokens=t,this.importProcessor=n,this.nameManager=r,this.options=o,tR.prototype.__init.call(this),tR.prototype.__init2.call(this),tR.prototype.__init3.call(this),tR.prototype.__init4.call(this),tR.prototype.__init5.call(this),this.jsxPragmaInfo=tT(o),this.isAutomaticRuntime="automatic"===o.jsxRuntime,this.jsxImportSource=o.jsxImportSource||"react"}process(){return!!this.tokens.matches1(N.jsxTagStart)&&(this.processJSXTag(),!0)}getPrefixCode(){let e="";if(this.filenameVarName&&(e+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime){if(this.importProcessor)for(let[t,n]of Object.entries(this.cjsAutomaticModuleNameResolutions))e+=`var ${n} = require("${t}");`;else{let{createElement:t,...n}=this.esmAutomaticImportNameResolutions;t&&(e+=`import {createElement as ${t}} from "${this.jsxImportSource}";`);let r=Object.entries(n).map(([e,t])=>`${e} as ${t}`).join(", ");if(r){let t=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");e+=`import {${r}} from "${t}";`}}}return e}processJSXTag(){let{jsxRole:e,start:t}=this.tokens.currentToken(),n=this.options.production?null:this.getElementLocationCode(t);this.isAutomaticRuntime&&e!==M.KeyAfterPropSpread?this.transformTagToJSXFunc(n,e):this.transformTagToCreateElement(n)}getElementLocationCode(e){let t=this.getLineNumberForIndex(e);return`lineNumber: ${t}`}getLineNumberForIndex(e){let t=this.tokens.code;for(;this.lastIndex or > at the end of the tag.");r&&this.tokens.appendCode(`, ${r}`)}for(this.options.production||(null===r&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${n}, ${this.getDevSource(e)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(e){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(N.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(e),this.tokens.matches2(N.slash,N.jsxTagEnd));else if(this.tokens.matches1(N.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(N.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(e){return this.options.production?e?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:e}=this,t=this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.base)||e.base;return`${t}${e.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:e}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(e.fragmentBase)||e.fragmentBase)+e.fragmentSuffix}}claimAutoImportedFuncInvocation(e,t){let n=this.claimAutoImportedName(e,t);return this.importProcessor?`${n}.call(void 0, `:`${n}(`}claimAutoImportedName(e,t){if(!this.importProcessor)return this.esmAutomaticImportNameResolutions[e]||(this.esmAutomaticImportNameResolutions[e]=this.nameManager.claimFreeName(`_${e}`)),this.esmAutomaticImportNameResolutions[e];{let n=this.jsxImportSource+t;return this.cjsAutomaticModuleNameResolutions[n]||(this.cjsAutomaticModuleNameResolutions[n]=this.importProcessor.getFreeIdentifierForPath(n)),`${this.cjsAutomaticModuleNameResolutions[n]}.${e}`}}processTagIntro(){let e=this.tokens.currentIndex()+1;for(;this.tokens.tokens[e].isType||!this.tokens.matches2AtIndex(e-1,N.jsxName,N.jsxName)&&!this.tokens.matches2AtIndex(e-1,N.greaterThan,N.jsxName)&&!this.tokens.matches1AtIndex(e,N.braceL)&&!this.tokens.matches1AtIndex(e,N.jsxTagEnd)&&!this.tokens.matches2AtIndex(e,N.slash,N.jsxTagEnd);)e++;if(e===this.tokens.currentIndex()+1){let e=this.tokens.identifierName();tI(e)&&this.tokens.replaceToken(`'${e}'`)}for(;this.tokens.currentIndex()=F.lowercaseA&&t<=F.lowercaseZ}function tP(e){let t=0,n=0;for(let r of e)"\n"===r?(t++,n=0):" "===r&&n++;return"\n".repeat(t)+" ".repeat(n)}function tZ(e,t){let n,r="",o=0,i=t;if("#"===e[i]){var a,s;let t,r=10;if("x"===e[++i])for(r=16,t=++i;i=F.digit0&&a<=F.digit9||a>=F.lowercaseA&&a<=F.lowercaseF||a>=F.uppercaseA&&a<=F.uppercaseF);)i++;else for(t=i;i=F.digit0&&s<=F.digit9;)i++;if(";"===e[i]){let o=e.slice(t,i);o&&(i++,n=String.fromCodePoint(parseInt(o,r)))}}else for(;i0)&&!(t.namedExports.length>0)&&[...t.defaultNames,...t.wildcardNames,...t.namedImports.map(({localName:e})=>e)].every(e=>this.shouldAutomaticallyElideImportedName(e)))||this.importsToReplace.set(e,"")}shouldAutomaticallyElideImportedName(e){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(e)}generateImportReplacements(){for(let[e,t]of this.importInfoByPath.entries()){let n;let{defaultNames:r,wildcardNames:o,namedImports:i,namedExports:a,exportStarNames:s,hasStarExport:c}=t;if(0===r.length&&0===o.length&&0===i.length&&0===a.length&&0===s.length&&!c){this.importsToReplace.set(e,`require('${e}');`);continue}let u=this.getFreeIdentifierForPath(e);n=this.enableLegacyTypeScriptModuleInterop?u:o.length>0?o[0]:this.getFreeIdentifierForPath(e);let l=`var ${u} = require('${e}');`;if(o.length>0)for(let e of o){let t=this.enableLegacyTypeScriptModuleInterop?u:`${this.helperManager.getHelperName("interopRequireWildcard")}(${u})`;l+=` var ${e} = ${t};`}else s.length>0&&n!==u?l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${u});`:r.length>0&&n!==u&&(l+=` var ${n} = ${this.helperManager.getHelperName("interopRequireDefault")}(${u});`);for(let{importedName:e,localName:t}of a)l+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${u}, '${t}', '${e}');`;for(let e of s)l+=` exports.${e} = ${n};`;for(let t of(c&&(l+=` ${this.helperManager.getHelperName("createStarExport")}(${u});`),this.importsToReplace.set(e,l),r))this.identifierReplacements.set(t,`${n}.default`);for(let{importedName:e,localName:t}of i)this.identifierReplacements.set(t,`${u}.${e}`)}}getFreeIdentifierForPath(e){let t=e.split("/"),n=t[t.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(e){let t=[],n=[],r=[];if(e++,(this.tokens.matchesContextualAtIndex(e,Z._type)||this.tokens.matches1AtIndex(e,N._typeof))&&!this.tokens.matches1AtIndex(e+1,N.comma)&&!this.tokens.matchesContextualAtIndex(e+1,Z._from)||this.tokens.matches1AtIndex(e,N.parenL))return;if(this.tokens.matches1AtIndex(e,N.name)&&(t.push(this.tokens.identifierNameAtIndex(e)),e++,this.tokens.matches1AtIndex(e,N.comma)&&e++),this.tokens.matches1AtIndex(e,N.star)&&(e+=2,n.push(this.tokens.identifierNameAtIndex(e)),e++),this.tokens.matches1AtIndex(e,N.braceL)){let n=this.getNamedImports(e+1);for(let o of(e=n.newIndex,n.namedImports))"default"===o.importedName?t.push(o.localName):r.push(o)}if(this.tokens.matchesContextualAtIndex(e,Z._from)&&e++,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let o=this.tokens.stringValueAtIndex(e),i=this.getImportInfo(o);i.defaultNames.push(...t),i.wildcardNames.push(...n),i.namedImports.push(...r),0===t.length&&0===n.length&&0===r.length&&(i.hasBareImport=!0)}preprocessExportAtIndex(e){if(this.tokens.matches2AtIndex(e,N._export,N._var)||this.tokens.matches2AtIndex(e,N._export,N._let)||this.tokens.matches2AtIndex(e,N._export,N._const))this.preprocessVarExportAtIndex(e);else if(this.tokens.matches2AtIndex(e,N._export,N._function)||this.tokens.matches2AtIndex(e,N._export,N._class)){let t=this.tokens.identifierNameAtIndex(e+2);this.addExportBinding(t,t)}else if(this.tokens.matches3AtIndex(e,N._export,N.name,N._function)){let t=this.tokens.identifierNameAtIndex(e+3);this.addExportBinding(t,t)}else this.tokens.matches2AtIndex(e,N._export,N.braceL)?this.preprocessNamedExportAtIndex(e):this.tokens.matches2AtIndex(e,N._export,N.star)&&this.preprocessExportStarAtIndex(e)}preprocessVarExportAtIndex(e){let t=0;for(let n=e+2;;n++)if(this.tokens.matches1AtIndex(n,N.braceL)||this.tokens.matches1AtIndex(n,N.dollarBraceL)||this.tokens.matches1AtIndex(n,N.bracketL))t++;else if(this.tokens.matches1AtIndex(n,N.braceR)||this.tokens.matches1AtIndex(n,N.bracketR))t--;else if(0!==t||this.tokens.matches1AtIndex(n,N.name)){if(this.tokens.matches1AtIndex(1,N.eq)){let e=this.tokens.currentToken().rhsEndIndex;if(null==e)throw Error("Expected = token with an end index.");n=e-1}else if(e7(this.tokens.tokens[n])){let e=this.tokens.identifierNameAtIndex(n);this.identifierReplacements.set(e,`exports.${e}`)}}else break}preprocessNamedExportAtIndex(e){e+=2;let{newIndex:t,namedImports:n}=this.getNamedImports(e);if(e=t,this.tokens.matchesContextualAtIndex(e,Z._from))e++;else{for(let{importedName:e,localName:t}of n)this.addExportBinding(e,t);return}if(!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of import statement.");let r=this.tokens.stringValueAtIndex(e);this.getImportInfo(r).namedExports.push(...n)}preprocessExportStarAtIndex(e){let t=null;if(this.tokens.matches3AtIndex(e,N._export,N.star,N._as)?(e+=3,t=this.tokens.identifierNameAtIndex(e),e+=2):e+=3,!this.tokens.matches1AtIndex(e,N.string))throw Error("Expected string token at the end of star export statement.");let n=this.tokens.stringValueAtIndex(e),r=this.getImportInfo(n);null!==t?r.exportStarNames.push(t):r.hasStarExport=!0}getNamedImports(e){let t=[];for(;;){if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}let n=tO(this.tokens,e);if(e=n.endIndex,n.isType||t.push({importedName:n.leftName,localName:n.rightName}),this.tokens.matches2AtIndex(e,N.comma,N.braceR)){e+=2;break}if(this.tokens.matches1AtIndex(e,N.braceR)){e++;break}if(this.tokens.matches1AtIndex(e,N.comma))e++;else throw Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[e])}`)}return{newIndex:e,namedImports:t}}getImportInfo(e){let t=this.importInfoByPath.get(e);if(t)return t;let n={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(e,n),n}addExportBinding(e,t){this.exportBindingsByLocalName.has(e)||this.exportBindingsByLocalName.set(e,[]),this.exportBindingsByLocalName.get(e).push(t)}claimImportCode(e){let t=this.importsToReplace.get(e);return this.importsToReplace.set(e,""),t||""}getIdentifierReplacement(e){return this.identifierReplacements.get(e)||null}resolveExportBinding(e){let t=this.exportBindingsByLocalName.get(e);return t&&0!==t.length?t.map(e=>`exports.${e}`).join(" = "):null}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}}var tL=n(78372);let tM={require:` import {createRequire as CREATE_REQUIRE_NAME} from "module"; const require = CREATE_REQUIRE_NAME(import.meta.url); `,interopRequireWildcard:` diff --git a/react/v2/_next/static/chunks/pages/customization/shadow-dom-b420bac3ffc97bbf.js b/react/v2/_next/static/chunks/pages/customization/shadow-dom-2ed4618b1ee697a0.js similarity index 99% rename from react/v2/_next/static/chunks/pages/customization/shadow-dom-b420bac3ffc97bbf.js rename to react/v2/_next/static/chunks/pages/customization/shadow-dom-2ed4618b1ee697a0.js index 19a58a3803..ed241473fc 100644 --- a/react/v2/_next/static/chunks/pages/customization/shadow-dom-b420bac3ffc97bbf.js +++ b/react/v2/_next/static/chunks/pages/customization/shadow-dom-2ed4618b1ee697a0.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[260],{94351:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return Y}});var o=t(52322),r=t(45392),a=t(15882),i=t(2107),l=t(27216),c=t(82412),s=t(6192),d=t(2501),u=t(95346),p=t(61481),f=t(61619),h=t(57861),m=t(42309),v=t(6194),C=t(62080),y=t(13462),w=t(21400),x=t(40736),g=t(52235),b=t(35358),Z=t(76168),M=t(87557),E=t(13788),R=t(31476),O=t(44648),k=t(32700),T=t(78727),j=t(49857),S=t(42049),P=t(70758),D=t(72448),B=t(73645),N=t(99870),F=t(40596),I=t(32498),z=t(2784),H=t(17029);function A(n){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var G=["children","colorMode"];function _(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}return r}(n,G),r=(0,z.useRef)(),a=(0,z.useRef)(),c=(0,z.useRef)();return(0,z.useEffect)(function(){var n,e=r.current;if(e){var t=null!==(n=e.shadowRoot)&&void 0!==n?n:e.attachShadow({mode:"open"}),o=document.createElement("div");return t.appendChild(o),a.current=o,c.current=(0,H.createRoot)(o),function(){setTimeout(function(){c.current.unmount(),c.current=null,a.current=null,t.replaceChildren()},0)}}},[]),(0,z.useEffect)(function(){var n=a.current;if(!(n instanceof HTMLElement)){console.error("The shadow root element is not an HTMLElement.");return}var o=n.parentNode,r=(0,i.Z)({key:"tonic-css",nonce:"G7W5u7YDASPly2UIovw4Jg==",prepend:!0,container:o}),s=(0,M.Z)({cssVariables:{prefix:"tonic",rootSelector:":host"},components:{Drawer:{defaultProps:{portalProps:{containerRef:a}}},Modal:{defaultProps:{portalProps:{containerRef:a}}},Popper:{defaultProps:{portalProps:{containerRef:a}}},PortalManager:{defaultProps:{containerRef:a}},ToastManager:{defaultProps:{containerRef:a}}}});c.current.render(z.createElement(l.C,{value:r},z.createElement(E.Z,{colorMode:{value:t},theme:s},z.createElement(R.Z,{TransitionProps:{sx:{'[data-toast-placement^="top"] > &:first-of-type':{mt:"4x"},'[data-toast-placement^="bottom"] > &:last-of-type':{mb:"4x"},'[data-toast-placement$="left"] > &':{ml:"4x"},'[data-toast-placement$="right"] > &':{mr:"4x"}}}},z.createElement(O.Z,null,e)))))},[e,t]),z.createElement("div",L({ref:r},o))},Q=function(){var n=(0,k.Z)(),e=(0,T.Z)();return z.createElement(I.Z,{py:"4x",px:"6x"},z.createElement(P.Z,{fontSize:"lg",lineHeight:"lg"},"Inside Shadow DOM"),z.createElement(D.Z,{my:"4x"}),z.createElement(B.Z,{columnGap:"4x"},z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement($,{onClose:n})})}},"Open Drawer"),z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement(X,{onClose:n})})}},"Open Modal"),z.createElement(C.Z,{variant:"secondary",onClick:function(){e(function(n){var e=n.id,t=n.onClose,o=K(K({},n.placement.includes("top")?"pb":"pt","2x"),"width",320);return z.createElement(j.Z,{sx:o},z.createElement(S.Z,{appearance:"info","data-toast-id":e,isClosable:!0,onClose:t},"This is a toast notification"))},{duration:5e3})}},"Show Toast Notification"),z.createElement(N.Z,{PopperProps:{usePortal:!0},label:"This is a tooltip"},z.createElement(C.Z,{variant:"secondary"},"Display Tooltip on Hover"))))},U=function(){var n=(0,k.Z)(),e=(0,T.Z)();return z.createElement(I.Z,{py:"4x",px:"6x"},z.createElement(P.Z,{fontSize:"lg",lineHeight:"lg"},"Outside Shadow DOM"),z.createElement(D.Z,{my:"4x"}),z.createElement(B.Z,{columnGap:"4x"},z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement($,{onClose:n})})}},"Open Drawer"),z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement(X,{onClose:n})})}},"Open Modal"),z.createElement(C.Z,{variant:"secondary",onClick:function(){e(function(n){var e=n.id,t=n.onClose,o=K(K({},n.placement.includes("top")?"pb":"pt","2x"),"width",320);return z.createElement(j.Z,{sx:o},z.createElement(S.Z,{appearance:"info","data-toast-id":e,isClosable:!0,onClose:t},"This is a toast notification"))},{duration:5e3})}},"Show Toast Notification"),z.createElement(N.Z,{PopperProps:{usePortal:!0},label:"This is a tooltip"},z.createElement(C.Z,{variant:"secondary"},"Display Tooltip on Hover"))))},V=function(){var n,e=(function(n){if(Array.isArray(n))return n}(n=(0,F.Z)())||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,l=[],c=!0,s=!1;try{for(a=(t=t.call(n)).next;!(c=(o=a.call(t)).done)&&(l.push(o.value),1!==l.length);c=!0);}catch(n){s=!0,r=n}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(n,1)||function(n,e){if(n){if("string"==typeof n)return _(n,1);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _(n,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return z.createElement(j.Z,{sx:{button:{opacity:".65 !important"}}},z.createElement(f.Z,{spacing:"4x"},z.createElement(W,{colorMode:e},z.createElement(Q,null)),z.createElement(U,null)))};function q(n){var e=Object.assign({div:"div",h1:"h1",p:"p",h2:"h2",a:"a",svg:"svg",use:"use",code:"code",pre:"pre",h3:"h3"},(0,r.ah)(),n.components);return(0,o.jsxs)(e.div,{className:"main-content",children:["\n","\n",(0,o.jsx)(e.h1,{id:"shadow-dom",children:"Shadow DOM"}),"\n",(0,o.jsx)(e.p,{children:"The shadow DOM allows you to encapsulate parts of your application, isolating them from global styles and preventing interference with the regular DOM tree."}),"\n",(0,o.jsxs)(e.h2,{id:"getting-started",children:["Getting Started",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#getting-started",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["To enable styling within the shadow DOM, start by importing ",(0,o.jsx)(e.code,{children:"createCache"})," and ",(0,o.jsx)(e.code,{children:"CacheProvider"}),":"]}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"import createCache from '@emotion/cache';\nimport { CacheProvider } from '@emotion/react';\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"1-applying-styles-inside-the-shadow-dom",children:["1. Applying styles inside the shadow DOM",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#1-applying-styles-inside-the-shadow-dom",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"The shadow DOM creates an isolated DOM tree attached to a host element, helping prevent style conflicts across components. Below is an example of how to create and style a shadow DOM:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"const container = document.querySelector('#root');\nconst shadowContainer = container.shadowRoot || container.attachShadow({ mode: 'open' });\nconst shadowRootElement = document.createElement('div');\nshadowContainer.appendChild(shadowRootElement);\n\n// If you're using a functional component, you might want to use `useRef` to store the `shadowRootElement`.\nconst shadowRootElementRef = {\n current: shadowRootElement,\n};\n\n// https://emotion.sh/docs/@emotion/cache\nconst cache = createCache({\n key: 'tonic-css',\n prepend: true,\n container: shadowContainer,\n nonce: process.env.CSP_NONCE || 'your-nonce-string', // [optional] to comply with Content Security Policy (CSP) for inline execution\n});\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"2-theming-components-inside-the-shadow-dom",children:["2. Theming components inside the shadow DOM",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#2-theming-components-inside-the-shadow-dom",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:[(0,o.jsx)(e.code,{children:"PortalManager"}),", ",(0,o.jsx)(e.code,{children:"ToastManager"}),", and components such as ",(0,o.jsx)(e.code,{children:"Drawer"}),", ",(0,o.jsx)(e.code,{children:"Modal"}),", and ",(0,o.jsx)(e.code,{children:"Popper"})," render outside the main DOM hierarchy through a ",(0,o.jsx)(e.code,{children:"Portal"}),", which defaults to ",(0,o.jsx)(e.code,{children:"document.body"}),". To maintain consistent theming inside the shadow DOM, proper configuration is needed."]}),"\n",(0,o.jsx)(e.p,{children:"Below is an example configuration using a custom theme:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"const shadowTheme = createTheme({\n components: {\n Drawer: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Modal: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Popper: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n PortalManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n ToastManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n});\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"3-using-css-theme-variables-optional",children:["3. Using CSS theme variables (optional)",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#3-using-css-theme-variables-optional",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"To use CSS theme variables within the shadow DOM, specify the root selector for generating the CSS variables:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"const shadowTheme = createTheme({\n cssVariables: {\n prefix: 'tonic',\n rootSelector: ':host',\n },\n components: {\n // Same as the above step\n },\n});\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"4-rendering-components-inside-the-shadow-dom",children:["4. Rendering components inside the shadow DOM",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#4-rendering-components-inside-the-shadow-dom",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"The following code snippet demonstrates how to render components inside the shadow DOM:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-jsx",children:"ReactDOM.createRoot(shadowRootElement).render(\n \n \n &:first-of-type': {\n mt: '4x', // the space to the top edge of the screen\n },\n '[data-toast-placement^=\"bottom\"] > &:last-of-type': {\n mb: '4x', // the space to the bottom edge of the screen\n },\n '[data-toast-placement$=\"left\"] > &': {\n ml: '4x', // the space to the left edge of the screen\n },\n '[data-toast-placement$=\"right\"] > &': {\n mr: '4x', // the space to the right edge of the screen\n },\n },\n }}\n >\n \n \n \n \n \n \n);\n"})}),"\n",(0,o.jsxs)(e.h2,{id:"demo",children:["Demo",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#demo",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"This example applies a global button style. The button outside the shadow DOM inherits the global styling, while the button inside the shadow DOM remains unaffected:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-jsx",children:"sx={{\n 'button': {\n opacity: '.65 !important',\n },\n}}\n"})}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:V,file:{data:'import createCache from \'@emotion/cache\';\nimport { CacheProvider } from \'@emotion/react\';\nimport {\n Box,\n Button,\n Divider,\n Drawer,\n DrawerOverlay,\n DrawerContent,\n DrawerHeader,\n DrawerBody,\n DrawerFooter,\n Flex,\n Grid,\n Modal,\n ModalOverlay,\n ModalContent,\n ModalHeader,\n ModalBody,\n ModalFooter,\n PortalManager,\n Skeleton,\n Stack,\n Text,\n Toast,\n ToastManager,\n TonicProvider,\n Tooltip,\n createTheme,\n useColorMode,\n usePortalManager,\n useToastManager,\n} from \'@tonic-ui/react\';\nimport BorderedBox from \'@/components/BorderedBox\';\nimport React, { useEffect, useRef } from \'react\';\nimport { createRoot } from \'react-dom/client\';\n\nconst NONCE = process.env.NONCE ?? \'\';\n\nconst DrawerComponent = ({ onClose }) => {\n return (\n \n \n \n \n Drawer\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ModalComponent = ({ onClose }) => {\n return (\n \n \n \n \n Modal\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ShadowDOMContainer = ({ children, colorMode, ...rest }) => {\n const containerRef = useRef();\n const shadowRootElementRef = useRef();\n const rootRef = useRef();\n\n useEffect(() => {\n const container = containerRef.current;\n if (!container) {\n return;\n }\n\n const shadowContainer = container.shadowRoot ?? container.attachShadow({ mode: \'open\' });\n const shadowRootElement = document.createElement(\'div\');\n shadowContainer.appendChild(shadowRootElement);\n shadowRootElementRef.current = shadowRootElement;\n rootRef.current = createRoot(shadowRootElement);\n\n return () => {\n setTimeout(() => {\n rootRef.current.unmount(); // Clean up React state\n rootRef.current = null;\n shadowRootElementRef.current = null; // Clear the reference\n shadowContainer.replaceChildren(); // Clear the shadow DOM content\n }, 0);\n };\n }, []); // Run only once on mount\n\n useEffect(() => {\n const shadowRootElement = shadowRootElementRef.current;\n if (!(shadowRootElement instanceof HTMLElement)) {\n console.error(\'The shadow root element is not an HTMLElement.\');\n return;\n }\n const shadowContainer = shadowRootElement.parentNode;\n\n // https://emotion.sh/docs/@emotion/cache\n const cache = createCache({\n key: \'tonic-css\',\n nonce: NONCE, // Needed to comply with Content Security Policy (CSP) for inline execution\n prepend: true,\n container: shadowContainer,\n });\n\n const shadowTheme = createTheme({\n cssVariables: {\n prefix: \'tonic\',\n rootSelector: \':host\',\n },\n components: {\n Drawer: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Modal: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Popper: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n PortalManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n ToastManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n });\n\n const root = rootRef.current;\n root.render(\n \n \n &:first-of-type\': {\n mt: \'4x\', // the space to the top edge of the screen\n },\n \'[data-toast-placement^="bottom"] > &:last-of-type\': {\n mb: \'4x\', // the space to the bottom edge of the screen\n },\n \'[data-toast-placement$="left"] > &\': {\n ml: \'4x\', // the space to the left edge of the screen\n },\n \'[data-toast-placement$="right"] > &\': {\n mr: \'4x\', // the space to the right edge of the screen\n },\n },\n }}\n >\n \n {children}\n \n \n \n \n );\n }, [children, colorMode]);\n\n return (\n
\n );\n};\n\nconst InsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Inside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst OutsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Outside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst App = () => {\n const [colorMode] = useColorMode();\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/customization/shadow-dom.page.mdx"},sandbox:{files:{"src/components/BorderedBox.js":"import React from 'react';\nimport { Box, useColorMode } from '@tonic-ui/react';\n\nconst BorderedBox = (props) => {\n const [colorMode] = useColorMode();\n const styleProps = {\n border: 1,\n borderColor: colorMode === 'light' ? 'rgba(0, 0, 0, .12)' : 'rgba(255, 255, 255, .12)',\n };\n\n return (\n \n );\n};\n\nexport default BorderedBox;"},raw:'import createCache from \'@emotion/cache\';\nimport { CacheProvider } from \'@emotion/react\';\nimport {\n Box,\n Button,\n Divider,\n Drawer,\n DrawerOverlay,\n DrawerContent,\n DrawerHeader,\n DrawerBody,\n DrawerFooter,\n Flex,\n Grid,\n Modal,\n ModalOverlay,\n ModalContent,\n ModalHeader,\n ModalBody,\n ModalFooter,\n PortalManager,\n Skeleton,\n Stack,\n Text,\n Toast,\n ToastManager,\n TonicProvider,\n Tooltip,\n createTheme,\n useColorMode,\n usePortalManager,\n useToastManager,\n} from \'@tonic-ui/react\';\nimport BorderedBox from \'@/components/BorderedBox\';\nimport React, { useEffect, useRef } from \'react\';\nimport { createRoot } from \'react-dom/client\';\n\nconst NONCE = process.env.NONCE ?? \'\';\n\nconst DrawerComponent = ({ onClose }) => {\n return (\n \n \n \n \n Drawer\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ModalComponent = ({ onClose }) => {\n return (\n \n \n \n \n Modal\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ShadowDOMContainer = ({ children, colorMode, ...rest }) => {\n const containerRef = useRef();\n const shadowRootElementRef = useRef();\n const rootRef = useRef();\n\n useEffect(() => {\n const container = containerRef.current;\n if (!container) {\n return;\n }\n\n const shadowContainer = container.shadowRoot ?? container.attachShadow({ mode: \'open\' });\n const shadowRootElement = document.createElement(\'div\');\n shadowContainer.appendChild(shadowRootElement);\n shadowRootElementRef.current = shadowRootElement;\n rootRef.current = createRoot(shadowRootElement);\n\n return () => {\n setTimeout(() => {\n rootRef.current.unmount(); // Clean up React state\n rootRef.current = null;\n shadowRootElementRef.current = null; // Clear the reference\n shadowContainer.replaceChildren(); // Clear the shadow DOM content\n }, 0);\n };\n }, []); // Run only once on mount\n\n useEffect(() => {\n const shadowRootElement = shadowRootElementRef.current;\n if (!(shadowRootElement instanceof HTMLElement)) {\n console.error(\'The shadow root element is not an HTMLElement.\');\n return;\n }\n const shadowContainer = shadowRootElement.parentNode;\n\n // https://emotion.sh/docs/@emotion/cache\n const cache = createCache({\n key: \'tonic-css\',\n nonce: NONCE, // Needed to comply with Content Security Policy (CSP) for inline execution\n prepend: true,\n container: shadowContainer,\n });\n\n const shadowTheme = createTheme({\n cssVariables: {\n prefix: \'tonic\',\n rootSelector: \':host\',\n },\n components: {\n Drawer: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Modal: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Popper: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n PortalManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n ToastManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n });\n\n const root = rootRef.current;\n root.render(\n \n \n &:first-of-type\': {\n mt: \'4x\', // the space to the top edge of the screen\n },\n \'[data-toast-placement^="bottom"] > &:last-of-type\': {\n mb: \'4x\', // the space to the bottom edge of the screen\n },\n \'[data-toast-placement$="left"] > &\': {\n ml: \'4x\', // the space to the left edge of the screen\n },\n \'[data-toast-placement$="right"] > &\': {\n mr: \'4x\', // the space to the right edge of the screen\n },\n },\n }}\n >\n \n {children}\n \n \n \n \n );\n }, [children, colorMode]);\n\n return (\n
\n );\n};\n\nconst InsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Inside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst OutsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Outside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst App = () => {\n const [colorMode] = useColorMode();\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}}))]})}var Y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},(0,r.ah)(),n.components).wrapper;return e?(0,o.jsx)(e,Object.assign({},n,{children:(0,o.jsx)(q,n)})):q(n)}},32498:function(n,e,t){"use strict";var o=t(2784),r=t(40596),a=t(49857);function i(){return(i=Object.assign?Object.assign.bind():function(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,o=Array(e);tn.length)&&(e=n.length);for(var t=0,o=Array(e);t0&&document.getSelection().getRangeAt(0);e.select(),document.execCommand("copy"),document.body.removeChild(e),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},w=function(n){var e,t=function(n){if(Array.isArray(n))return n}(e=(0,m.useState)(!1))||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,l=[],c=!0,s=!1;try{for(a=(t=t.call(n)).next;!(c=(o=a.call(t)).done)&&(l.push(o.value),2!==l.length);c=!0);}catch(n){s=!0,r=n}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(e,2)||function(n,e){if(n){if("string"==typeof n)return C(n,2);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return C(n,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=t[0],r=t[1];return{value:n,onCopy:function(){y(n),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},x=t(63675),g=t(89658),b=t(92727),Z=t(27899),M=t(4779),E=["component","defaultExpanded","expanded","file","sandbox"];function R(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,l=[],c=!0,s=!1;try{if(a=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;c=!1}else for(;!(c=(o=a.call(t)).done)&&(l.push(o.value),l.length!==e);c=!0);}catch(n){s=!0,r=n}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return O(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return O(n,e)}}(n,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}}}(n,E);var T=(0,h.useRouter)(),j=R((0,m.useReducer)(function(n){return!n},!1),2),S=j[0],P=j[1],D=(0,o.u)(),B=R((0,r.Z)(),1)[0],N={dark:g.y,light:g.q}[B],F=R((0,d.Z)(null!=y?y:void 0!==C&&C),2),I=F[0],z=F[1],H=w(null==O?void 0:O.data),A=H.onCopy,G=H.hasCopied,_=(0,m.useCallback)(function(){A()},[A]),K=(0,m.useCallback)(function(){(0,b.b)(k)},[k]),L=(0,m.useCallback)(function(){P(),z(!1)},[P,z]);return((0,m.useEffect)(function(){void 0!==y&&y!==I&&z(y)},[y,I,z]),t)?m.createElement(v.nu,{code:null==O?void 0:O.data,disabled:!0,language:"jsx",theme:N},m.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[B],p:"4x"},m.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:S},m.createElement(t,null)))),m.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(M.Z,{"data-track":I?"Code|hide_source|".concat((0,Z.Z)({path:T.pathname})):"Code|show_source|".concat((0,Z.Z)({path:T.pathname})),onClick:z},m.createElement(l.Z,{label:I?"Hide the source":"Show the source"},m.createElement(u.Z,null))),m.createElement(M.Z,{"data-track":"Code|copy_source|".concat((0,Z.Z)({path:T.pathname})),onClick:_},m.createElement(l.Z,{label:G?"Copied":"Copy the source"},m.createElement(p.Z,null))),m.createElement(M.Z,{"data-track":"Code|edit_in_codesandbox|".concat(T.pathname),onClick:K},m.createElement(l.Z,{label:"Edit in CodeSandbox"},m.createElement(x.Z,null))),m.createElement(M.Z,{"data-track":"Code|reset|".concat(T.pathname),onClick:L},m.createElement(l.Z,{label:"Reset the demo"},m.createElement(f.Z,null)))),m.createElement(c.Z,{in:I},m.createElement(s.Z,{in:I,unmountOnExit:!0},m.createElement(a.Z,{as:v.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==D?void 0:null===(e=D.space)||void 0===e?void 0:e["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(v.nu,{code:null==O?void 0:O.data,disabled:!0,language:"jsx",theme:N},m.createElement(a.Z,{as:v.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};k.displayName="Demo";var T=k},55893:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customization/shadow-dom",function(){return t(94351)}])},10525:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var o=t(2784),r=function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,o.useRef)(!1);e&&!t.current&&("function"==typeof n&&n(),t.current=!0)}},22938:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.418 0 8-3.582 8-8v0c0-4.418-3.582-8-8-8v0zM11 12l-3-3-3 3-1.060-1.060 3.060-2.94-3-3 1.060-1.070 2.94 2.95 2.94-2.94 1.060 1.060-2.89 3 3 3z"}),"ErrorIcon")},99554:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},97152:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.418 0 8-3.582 8-8v0c0-4.418-3.582-8-8-8v0zM7 4h2v2h-2zM10 12h-4v-1h1v-3h-1v-1h3v4h1z"}),"InfoIcon")},69111:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},83591:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.418 0 8-3.582 8-8v0c0-4.418-3.582-8-8-8v0zM7 12l-4-4 1-1 3 3 5-6 1 1z"}),"SuccessIcon")},81141:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M15.7 7.3l-7-7c-0.4-0.4-1-0.4-1.4 0l-7 7c-0.4 0.4-0.4 1 0 1.4l7 7c0.4 0.4 1 0.4 1.4 0l7-7c0.4-0.4 0.4-1 0-1.4zM9 12h-2v-2h2v2zM9 9h-2v-5h2v5z"}),"WarningMinorIcon")},82412:function(n,e,t){"use strict";t.d(e,{Z:function(){return M}});var o=t(53860),r=t(70404),a=t(56818),i=t(92307),l=t.n(i),c=t(2784),s=t(64355),d=t.n(s),u=t(98827),p=t(47732),f=t(3241),h=t(20325),m=t(79937),v=t(74086),C=t(52903),y=t(49857),w=(0,c.forwardRef)(function(n,e){var t=(0,u.Z)({props:n,name:"DrawerContainer"}),r=(0,v.Z)(),a=(0,o.Zj)({},r),i=a.backdrop,l=a.closeOnOutsideClick,c=a.onClose,s=a.placement,d=a.containerRef,p=(0,h.Z)(d,e),f=(0,m.Pw)({backdrop:i,placement:s}),w=(0,o.Zj)((0,o.Zj)({ref:p,onClick:function(n){n.stopPropagation(),l&&"function"==typeof c&&c(n)}},f),t);return(0,C.tZ)(y.Z,(0,o.Zj)({},w))});w.displayName="DrawerContainer";var x=t(59845),g=["autoFocus","backdrop","children","closeOnEsc","closeOnOutsideClick","ensureFocus","finalFocusRef","initialFocusRef","isClosable","isOpen","onClose","placement","portalProps","returnFocusOnClose","size"],b=l()(function(n){return(0,o.Zj)({},n)}),Z=(0,c.forwardRef)(function(n,e){var t=(0,u.Z)({props:n,name:"Drawer"}),i=t.autoFocus,l=void 0!==i&&i,s=t.backdrop,h=t.children,m=t.closeOnEsc,v=t.closeOnOutsideClick,y=t.ensureFocus,Z=void 0!==y&&y,M=t.finalFocusRef,E=t.initialFocusRef,R=t.isClosable,O=t.isOpen,k=void 0!==O&&O,T=t.onClose,j=t.placement,S=t.portalProps,P=t.returnFocusOnClose,D=t.size,B=(0,o.Kd)(t,g),N=(0,c.useState)(k),F=(0,o.ZQ)(N,2),I=F[0],z=F[1],H=(0,c.useRef)(),A=(0,c.useRef)(null),G=b({autoFocus:l,backdrop:void 0!==s&&s,closeOnEsc:void 0!==m&&m,closeOnOutsideClick:void 0!==v&&v,ensureFocus:Z,finalFocusRef:M,initialFocusRef:E,isClosable:void 0!==R&&R,isOpen:k,onClose:T,placement:void 0===j?"right":j,size:void 0===D?"auto":D,containerRef:H,contentRef:A,scrollBehavior:"inside"}),_=(void 0===P||P)&&!M,K=(0,c.useCallback)(function(){if(E&&E.current){var n=E.current;"function"==typeof n.focus&&n.focus();return}if(A.current){var e=A.current;if((0,r.t)(e).length>0)return;"function"==typeof e.focus&&e.focus()}},[E]),L=(0,c.useCallback)(function(){if(M&&M.current){var n=M.current;"function"==typeof n.focus&&n.focus()}},[M]),$=(0,c.useCallback)(function(){z(!1)},[]);return(0,c.useEffect)(function(){if(k&&!I){z(!0);return}},[k,I]),(0,C.tZ)(x.r.Provider,{value:G,children:(0,C.tZ)(f.Z,{in:k,onExitComplete:$,children:!!I&&(0,C.tZ)(p.Z,(0,o.Zj)((0,o.Zj)({},S),{},{children:(0,C.tZ)(d(),{disabled:!Z,autoFocus:l,returnFocus:_,onActivation:K,onDeactivation:L,children:(0,C.tZ)(w,(0,o.Zj)((0,o.Zj)({ref:e},B),{},{children:(0,a.Pu)(h,G)}))})}))})})});Z.displayName="Drawer";var M=Z},6192:function(n,e,t){"use strict";t.d(e,{Z:function(){return m}});var o=t(53860),r=t(20325),a=t(56818),i=t(2784),l=t(98827),c=t(48504),s=t(62272),d=t(79937),u=t(74086),p=t(52903),f=["TransitionComponent","TransitionProps"],h=(0,i.forwardRef)(function(n,e){var t=(0,l.Z)({props:n,name:"DrawerOverlay"}),h=t.TransitionComponent,m=void 0===h?s.Z:h,v=t.TransitionProps,C=(0,o.Kd)(t,f),y=(0,u.Z)(),w=(0,o.Zj)({},y).isOpen,x=(0,c.Z)(),g=(0,o.ZQ)(x,2)[1],b=(0,i.useRef)(),Z=(0,r.Z)(b,e),M=(0,d.Bp)(),E=(0,o.Zj)((0,o.Zj)({ref:Z},M),C);return(0,p.tZ)(m,(0,o.Zj)((0,o.Zj)((0,o.Zj)({appear:!!y},v),E),{},{in:!y||w,onExited:(0,a.PP)(g,null==v?void 0:v.onExited)}))});h.displayName="DrawerOverlay";var m=h},29088:function(n,e,t){"use strict";t.d(e,{Z:function(){return y}});var o,r,a=t(53860),i=t(95530),l=t(5081),c=t(2784),s=t(98827),d=t(28165),u=(0,d.F4)(o||(o=(0,a.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(1turn)\n }\n"]))),p=(0,d.F4)(r||(r=(0,a.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(-1turn)\n }\n"]))),f=function(n){var e,t=n.spin;return"ccw"===t?e="".concat(p," 2s linear infinite"):("cw"===t||!0===t)&&(e="".concat(u," 2s linear infinite")),{animation:e}},h=t(27216),m=t(52903),v=["children","icon","spin"],C=(0,c.forwardRef)(function(n,e){var t=(0,s.Z)({props:n,name:"Icon"}),o=t.children,r=t.icon,d=t.spin,u=(0,a.Kd)(t,v),p=(0,h.u)(),C=(0,c.useRef)([null,null]),y="string"==typeof r&&r.length>0&&function(n){var e,t=(0,a.ZQ)(C.current,2),o=t[0],r=t[1];if(o===n)return r;var i=null===(e=(0,l.rY)(null==p?void 0:p.icons).find(function(e){return(0,a.ZQ)(e,1)[0]===n}))||void 0===e?void 0:e[1];return i&&(C.current=[n,i]),i}(r)||o,w=f({spin:void 0!==d&&d});return(0,m.tZ)(i.Z,(0,a.Zj)((0,a.Zj)((0,a.Zj)({ref:e},w),u),{},{children:y}))});C.displayName="Icon";var y=C},35358:function(n,e,t){"use strict";t.d(e,{Z:function(){return u}});var o=t(53860),r=t(2784),a=t(98827),i=t(53638),l=t(13692),c=t(52903),s=t(49857),d=(0,r.forwardRef)(function(n,e){var t=(0,a.Z)({props:n,name:"ModalBody"}),r=(0,l.Z)(),d=(0,o.Zj)({},r).scrollBehavior,u=(0,i.mS)({scrollBehavior:d});return(0,c.tZ)(s.Z,(0,o.Zj)((0,o.Zj)({ref:e},u),t))});d.displayName="ModalBody";var u=d},76168:function(n,e,t){"use strict";t.d(e,{Z:function(){return d}});var o=t(53860),r=t(2784),a=t(98827),i=t(53638),l=t(52903),c=t(49857),s=(0,r.forwardRef)(function(n,e){var t=(0,a.Z)({props:n,name:"ModalFooter"}),r=(0,i.IB)();return(0,l.tZ)(c.Z,(0,o.Zj)((0,o.Zj)({ref:e},r),t))});s.displayName="ModalFooter";var d=s},52235:function(n,e,t){"use strict";t.d(e,{Z:function(){return u}});var o=t(53860),r=t(2784),a=t(98827),i=t(53638),l=t(13692),c=t(52903),s=t(49857),d=(0,r.forwardRef)(function(n,e){var t=(0,a.Z)({props:n,name:"ModalHeader"}),r=(0,l.Z)(),d=(0,o.Zj)({},r).isClosable,u=(0,i.vZ)({isClosable:d});return(0,c.tZ)(s.Z,(0,o.Zj)((0,o.Zj)({ref:e},u),t))});d.displayName="ModalHeader";var u=d},57861:function(n,e,t){"use strict";t.d(e,{Z:function(){return g}});var o,r,a=t(53860),i=t(10525),l=t(56818),c=t(2784),s=t(98827),d=t(28165),u=t(40596),p=(0,d.F4)(o||(o=(0,a.AI)(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: .4;\n }\n 100% {\n opacity: 1;\n }\n"]))),f=(0,d.F4)(r||(r=(0,a.AI)(["\n 0% {\n transform: translateX(-100%);\n }\n 50% {\n // +0.5s of delay between each loop\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(100%);\n }\n"]))),h=function(n){var e=n.animation,t=n.colorMode;return"pulse"===e?{animation:"".concat(p," 1.5s ease-in-out .5s infinite")}:"wave"===e?{position:"relative",overflow:"hidden",__after:{animation:"".concat(f," 1.6s linear .5s infinite"),background:"linear-gradient(90deg,".concat(["transparent","rgba(255, 255, 255, ".concat({dark:.08,light:.32}[t],")"),"transparent"].join(","),")"),content:'""',position:"absolute",inset:0,transform:"translateX(-100%)"}}:{animation:e}},m=function(n){var e=n.variant;return"text"===e?{height:"3x",borderRadius:"sm",_empty:{"::before":{content:'"\\00a0"'}}}:"rectangle"===e?{}:"circle"===e?{borderRadius:"50%"}:{}},v=function(n){var e=n.animation,t=n.variant,o=(0,u.Z)(),r=(0,a.ZQ)(o,1)[0],i={dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"}[r],l=h({animation:e,colorMode:r}),c=m({variant:t});return(0,a.Zj)((0,a.Zj)({display:"block",backgroundColor:i},l),c)},C=t(52903),y=t(49857),w=["animation","variant"],x=(0,c.forwardRef)(function(n,e){var t=(0,s.Z)({props:n,name:"Skeleton"}),o=t.animation,r=t.variant,c=(0,a.Kd)(t,w),d=void 0===r?"text":r,u="".concat(x.displayName,":");(0,i.Z)(function(){(0,l.TL)('variant="rect"',{prefix:u,alternative:'variant="rectangle"',willRemove:!0})},"rect"===d),"rect"===d&&(d="rectangle");var p=v({animation:o,variant:d});return(0,C.tZ)(y.Z,(0,a.Zj)((0,a.Zj)({ref:e},p),c))});x.displayName="Skeleton";var g=x},42049:function(n,e,t){"use strict";t.d(e,{Z:function(){return E}});var o=t(53860),r=t(56818),a=t(92307),i=t.n(a),l=t(2784),c=t(98827),s=t(91269),d=t(83591),u=t(97152),p=t(81141),f=t(22938),h=t(29088),m=t(50274),v=t(60186),C=t(52903),y=t(49857),w=(0,l.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"ToastIcon"}),r=(0,v.Z)(),a=(0,o.Zj)({},r),i=a.appearance,s=a.icon,w=(0,m.zh)({appearance:i}),x=(0,l.useMemo)(function(){if("string"==typeof s)return(0,C.tZ)(h.Z,{icon:s});if(void 0===s){var n={success:d.Z,info:u.Z,warning:p.Z,error:f.Z}[i];return n?(0,C.tZ)(n,{size:"4x"}):null}return s},[i,s]);return x?(0,C.tZ)(y.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({ref:e},w),t),{},{children:x})):null});w.displayName="ToastIcon";var x=(0,l.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"ToastMessage"}),r=(0,v.Z)(),a=(0,o.Zj)({},r).isClosable,i=(0,m.Zy)({isClosable:a});return(0,C.tZ)(y.Z,(0,o.Zj)((0,o.Zj)({ref:e},i),t))});x.displayName="ToastMessage";var g=t(82268),b=["appearance","icon","isClosable","onClose","children"],Z=i()(function(n){return(0,o.Zj)({},n)}),M=(0,l.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"Toast"}),a=t.appearance,i=void 0===a?"none":a,l=t.icon,d=t.isClosable,u=void 0!==d&&d,p=t.onClose,f=t.children,h=(0,o.Kd)(t,b),v=Z({appearance:i,icon:l,isClosable:u,onClose:p}),M=(0,m.Xf)({appearance:i});return(0,C.tZ)(g.u.Provider,{value:v,children:(0,C.BX)(y.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({ref:e},M),h),{},{children:[(0,C.tZ)(w,{}),(0,C.tZ)(x,{children:(0,r.Pu)(f,v)}),!!u&&(0,C.tZ)(s.Z,{})]}))})});M.displayName="Toast";var E=M},91269:function(n,e,t){"use strict";t.d(e,{Z:function(){return h}});var o=t(53860),r=t(37662),a=t(56818),i=t(2784),l=t(83513),c=t(98827),s=t(50274),d=t(60186),u=t(52903),p=["children","onClick"],f=(0,i.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"ToastCloseButton"}),i=t.children,f=t.onClick,h=(0,o.Kd)(t,p),m=(0,d.Z)(),v=(0,o.Zj)({},m),C=v.isClosable,y=v.onClose,w=v.variant,x=(0,s.mm)({isClosable:C,variant:w});return(0,u.tZ)(l.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({"aria-label":"Close",ref:e,onClick:(0,a.N)(f,y)},x),h),{},{children:null!=i?i:(0,u.tZ)(r.Z,{size:"4x"})}))});f.displayName="ToastCloseButton";var h=f},50274:function(n,e,t){"use strict";t.d(e,{Xf:function(){return l},Zy:function(){return s},mm:function(){return d},zh:function(){return c}});var o=t(53860),r=t(40596),a=t(31131),i=function(n){var e=n.appearance,t=n.colorMode;return(0,o.Zj)({backgroundColor:{dark:"gray:10",light:"white"}[t],color:"black:primary"},{success:{borderLeftColor:"green:50",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"},info:{borderLeftColor:"blue:60",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"},warning:{borderLeftColor:"yellow:50",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"},error:{borderLeftColor:"red:60",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"}}[e])},l=function(n){var e=n.appearance,t=(0,r.Z)(),a=i({appearance:e,colorMode:(0,o.ZQ)(t,1)[0]});return(0,o.Zj)({display:"flex",alignItems:"flex-start",justifyContent:"space-between",position:"relative",px:"4x",py:"4x"},a)},c=function(n){return{color:({success:"green:50",info:"blue:60",warning:"yellow:50",error:"red:60"})[n.appearance],display:"inline-flex",mr:"2x",mt:"1h"}},s=function(n){return{pr:n.isClosable?"10x":0,width:"100%"}},d=function(n){var e=n.isClosable;n.variant;var t=(0,r.Z)(),i=(0,o.ZQ)(t,1)[0],l="blue:60",c={dark:"black:primary",light:"black:primary"}[i],s=(0,a.P)({color:{dark:"black:tertiary",light:"black:tertiary"}[i],size:"8x"});return e?(0,o.Zj)((0,o.Zj)({},s),{},{_focusVisible:{outlineColor:l,outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:c},position:"absolute",top:"10q",right:"2x"}):(0,o.Zj)((0,o.Zj)({},s),{},{_focusVisible:{outlineColor:l,outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:c}})}},60186:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var o=t(2784),r=t(82268),a=function(){if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,o.useContext)(r.u)}},78727:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var o=t(2784),r=t(82268),a=function(){var n=(0,o.useRef)(null),e=(0,o.useRef)(null);if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");var t=(0,o.useContext)(r.K);if(!t)throw Error("The `useToastManager` hook must be called from a descendent of the `ToastManager`.");return n.current=t.notify,e.current||(e.current=function(){for(var e,t=arguments.length,o=Array(t),r=0;rn.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}return r}(n,G),r=(0,z.useRef)(),a=(0,z.useRef)(),c=(0,z.useRef)();return(0,z.useEffect)(function(){var n,e=r.current;if(e){var t=null!==(n=e.shadowRoot)&&void 0!==n?n:e.attachShadow({mode:"open"}),o=document.createElement("div");return t.appendChild(o),a.current=o,c.current=(0,H.createRoot)(o),function(){setTimeout(function(){c.current.unmount(),c.current=null,a.current=null,t.replaceChildren()},0)}}},[]),(0,z.useEffect)(function(){var n=a.current;if(!(n instanceof HTMLElement)){console.error("The shadow root element is not an HTMLElement.");return}var o=n.parentNode,r=(0,i.Z)({key:"tonic-css",nonce:"1G3n8L2SZ2l99DwEy506Hw==",prepend:!0,container:o}),s=(0,M.Z)({cssVariables:{prefix:"tonic",rootSelector:":host"},components:{Drawer:{defaultProps:{portalProps:{containerRef:a}}},Modal:{defaultProps:{portalProps:{containerRef:a}}},Popper:{defaultProps:{portalProps:{containerRef:a}}},PortalManager:{defaultProps:{containerRef:a}},ToastManager:{defaultProps:{containerRef:a}}}});c.current.render(z.createElement(l.C,{value:r},z.createElement(E.Z,{colorMode:{value:t},theme:s},z.createElement(R.Z,{TransitionProps:{sx:{'[data-toast-placement^="top"] > &:first-of-type':{mt:"4x"},'[data-toast-placement^="bottom"] > &:last-of-type':{mb:"4x"},'[data-toast-placement$="left"] > &':{ml:"4x"},'[data-toast-placement$="right"] > &':{mr:"4x"}}}},z.createElement(O.Z,null,e)))))},[e,t]),z.createElement("div",L({ref:r},o))},W=function(){var n=(0,k.Z)(),e=(0,T.Z)();return z.createElement(I.Z,{py:"4x",px:"6x"},z.createElement(P.Z,{fontSize:"lg",lineHeight:"lg"},"Inside Shadow DOM"),z.createElement(D.Z,{my:"4x"}),z.createElement(B.Z,{columnGap:"4x"},z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement($,{onClose:n})})}},"Open Drawer"),z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement(X,{onClose:n})})}},"Open Modal"),z.createElement(C.Z,{variant:"secondary",onClick:function(){e(function(n){var e=n.id,t=n.onClose,o=K(K({},n.placement.includes("top")?"pb":"pt","2x"),"width",320);return z.createElement(j.Z,{sx:o},z.createElement(S.Z,{appearance:"info","data-toast-id":e,isClosable:!0,onClose:t},"This is a toast notification"))},{duration:5e3})}},"Show Toast Notification"),z.createElement(N.Z,{PopperProps:{usePortal:!0},label:"This is a tooltip"},z.createElement(C.Z,{variant:"secondary"},"Display Tooltip on Hover"))))},U=function(){var n=(0,k.Z)(),e=(0,T.Z)();return z.createElement(I.Z,{py:"4x",px:"6x"},z.createElement(P.Z,{fontSize:"lg",lineHeight:"lg"},"Outside Shadow DOM"),z.createElement(D.Z,{my:"4x"}),z.createElement(B.Z,{columnGap:"4x"},z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement($,{onClose:n})})}},"Open Drawer"),z.createElement(C.Z,{variant:"secondary",onClick:function(){n(function(n){return z.createElement(X,{onClose:n})})}},"Open Modal"),z.createElement(C.Z,{variant:"secondary",onClick:function(){e(function(n){var e=n.id,t=n.onClose,o=K(K({},n.placement.includes("top")?"pb":"pt","2x"),"width",320);return z.createElement(j.Z,{sx:o},z.createElement(S.Z,{appearance:"info","data-toast-id":e,isClosable:!0,onClose:t},"This is a toast notification"))},{duration:5e3})}},"Show Toast Notification"),z.createElement(N.Z,{PopperProps:{usePortal:!0},label:"This is a tooltip"},z.createElement(C.Z,{variant:"secondary"},"Display Tooltip on Hover"))))},V=function(){var n,e=(function(n){if(Array.isArray(n))return n}(n=(0,F.Z)())||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,l=[],c=!0,s=!1;try{for(a=(t=t.call(n)).next;!(c=(o=a.call(t)).done)&&(l.push(o.value),1!==l.length);c=!0);}catch(n){s=!0,r=n}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(n,1)||function(n,e){if(n){if("string"==typeof n)return _(n,1);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _(n,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return z.createElement(j.Z,{sx:{button:{opacity:".65 !important"}}},z.createElement(f.Z,{spacing:"4x"},z.createElement(Q,{colorMode:e},z.createElement(W,null)),z.createElement(U,null)))};function q(n){var e=Object.assign({div:"div",h1:"h1",p:"p",h2:"h2",a:"a",svg:"svg",use:"use",code:"code",pre:"pre",h3:"h3"},(0,r.ah)(),n.components);return(0,o.jsxs)(e.div,{className:"main-content",children:["\n","\n",(0,o.jsx)(e.h1,{id:"shadow-dom",children:"Shadow DOM"}),"\n",(0,o.jsx)(e.p,{children:"The shadow DOM allows you to encapsulate parts of your application, isolating them from global styles and preventing interference with the regular DOM tree."}),"\n",(0,o.jsxs)(e.h2,{id:"getting-started",children:["Getting Started",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#getting-started",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:["To enable styling within the shadow DOM, start by importing ",(0,o.jsx)(e.code,{children:"createCache"})," and ",(0,o.jsx)(e.code,{children:"CacheProvider"}),":"]}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"import createCache from '@emotion/cache';\nimport { CacheProvider } from '@emotion/react';\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"1-applying-styles-inside-the-shadow-dom",children:["1. Applying styles inside the shadow DOM",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#1-applying-styles-inside-the-shadow-dom",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"The shadow DOM creates an isolated DOM tree attached to a host element, helping prevent style conflicts across components. Below is an example of how to create and style a shadow DOM:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"const container = document.querySelector('#root');\nconst shadowContainer = container.shadowRoot || container.attachShadow({ mode: 'open' });\nconst shadowRootElement = document.createElement('div');\nshadowContainer.appendChild(shadowRootElement);\n\n// If you're using a functional component, you might want to use `useRef` to store the `shadowRootElement`.\nconst shadowRootElementRef = {\n current: shadowRootElement,\n};\n\n// https://emotion.sh/docs/@emotion/cache\nconst cache = createCache({\n key: 'tonic-css',\n prepend: true,\n container: shadowContainer,\n nonce: process.env.CSP_NONCE || 'your-nonce-string', // [optional] to comply with Content Security Policy (CSP) for inline execution\n});\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"2-theming-components-inside-the-shadow-dom",children:["2. Theming components inside the shadow DOM",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#2-theming-components-inside-the-shadow-dom",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsxs)(e.p,{children:[(0,o.jsx)(e.code,{children:"PortalManager"}),", ",(0,o.jsx)(e.code,{children:"ToastManager"}),", and components such as ",(0,o.jsx)(e.code,{children:"Drawer"}),", ",(0,o.jsx)(e.code,{children:"Modal"}),", and ",(0,o.jsx)(e.code,{children:"Popper"})," render outside the main DOM hierarchy through a ",(0,o.jsx)(e.code,{children:"Portal"}),", which defaults to ",(0,o.jsx)(e.code,{children:"document.body"}),". To maintain consistent theming inside the shadow DOM, proper configuration is needed."]}),"\n",(0,o.jsx)(e.p,{children:"Below is an example configuration using a custom theme:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"const shadowTheme = createTheme({\n components: {\n Drawer: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Modal: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Popper: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n PortalManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n ToastManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n});\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"3-using-css-theme-variables-optional",children:["3. Using CSS theme variables (optional)",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#3-using-css-theme-variables-optional",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"To use CSS theme variables within the shadow DOM, specify the root selector for generating the CSS variables:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-js",children:"const shadowTheme = createTheme({\n cssVariables: {\n prefix: 'tonic',\n rootSelector: ':host',\n },\n components: {\n // Same as the above step\n },\n});\n"})}),"\n",(0,o.jsxs)(e.h3,{id:"4-rendering-components-inside-the-shadow-dom",children:["4. Rendering components inside the shadow DOM",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#4-rendering-components-inside-the-shadow-dom",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"The following code snippet demonstrates how to render components inside the shadow DOM:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-jsx",children:"ReactDOM.createRoot(shadowRootElement).render(\n \n \n &:first-of-type': {\n mt: '4x', // the space to the top edge of the screen\n },\n '[data-toast-placement^=\"bottom\"] > &:last-of-type': {\n mb: '4x', // the space to the bottom edge of the screen\n },\n '[data-toast-placement$=\"left\"] > &': {\n ml: '4x', // the space to the left edge of the screen\n },\n '[data-toast-placement$=\"right\"] > &': {\n mr: '4x', // the space to the right edge of the screen\n },\n },\n }}\n >\n \n \n \n \n \n \n);\n"})}),"\n",(0,o.jsxs)(e.h2,{id:"demo",children:["Demo",(0,o.jsx)(e.a,{"aria-hidden":!0,className:"anchor-link",tabIndex:"-1",href:"#demo",children:(0,o.jsx)(e.svg,{children:(0,o.jsx)(e.use,{xlinkHref:"#anchor-link-icon"})})})]}),"\n",(0,o.jsx)(e.p,{children:"This example applies a global button style. The button outside the shadow DOM inherits the global styling, while the button inside the shadow DOM remains unaffected:"}),"\n",(0,o.jsx)(e.pre,{children:(0,o.jsx)(e.code,{className:"language-jsx",children:"sx={{\n 'button': {\n opacity: '.65 !important',\n },\n}}\n"})}),"\n",(0,o.jsx)(a.Z,Object.assign({},{component:V,file:{data:'import createCache from \'@emotion/cache\';\nimport { CacheProvider } from \'@emotion/react\';\nimport {\n Box,\n Button,\n Divider,\n Drawer,\n DrawerOverlay,\n DrawerContent,\n DrawerHeader,\n DrawerBody,\n DrawerFooter,\n Flex,\n Grid,\n Modal,\n ModalOverlay,\n ModalContent,\n ModalHeader,\n ModalBody,\n ModalFooter,\n PortalManager,\n Skeleton,\n Stack,\n Text,\n Toast,\n ToastManager,\n TonicProvider,\n Tooltip,\n createTheme,\n useColorMode,\n usePortalManager,\n useToastManager,\n} from \'@tonic-ui/react\';\nimport BorderedBox from \'@/components/BorderedBox\';\nimport React, { useEffect, useRef } from \'react\';\nimport { createRoot } from \'react-dom/client\';\n\nconst NONCE = process.env.NONCE ?? \'\';\n\nconst DrawerComponent = ({ onClose }) => {\n return (\n \n \n \n \n Drawer\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ModalComponent = ({ onClose }) => {\n return (\n \n \n \n \n Modal\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ShadowDOMContainer = ({ children, colorMode, ...rest }) => {\n const containerRef = useRef();\n const shadowRootElementRef = useRef();\n const rootRef = useRef();\n\n useEffect(() => {\n const container = containerRef.current;\n if (!container) {\n return;\n }\n\n const shadowContainer = container.shadowRoot ?? container.attachShadow({ mode: \'open\' });\n const shadowRootElement = document.createElement(\'div\');\n shadowContainer.appendChild(shadowRootElement);\n shadowRootElementRef.current = shadowRootElement;\n rootRef.current = createRoot(shadowRootElement);\n\n return () => {\n setTimeout(() => {\n rootRef.current.unmount(); // Clean up React state\n rootRef.current = null;\n shadowRootElementRef.current = null; // Clear the reference\n shadowContainer.replaceChildren(); // Clear the shadow DOM content\n }, 0);\n };\n }, []); // Run only once on mount\n\n useEffect(() => {\n const shadowRootElement = shadowRootElementRef.current;\n if (!(shadowRootElement instanceof HTMLElement)) {\n console.error(\'The shadow root element is not an HTMLElement.\');\n return;\n }\n const shadowContainer = shadowRootElement.parentNode;\n\n // https://emotion.sh/docs/@emotion/cache\n const cache = createCache({\n key: \'tonic-css\',\n nonce: NONCE, // Needed to comply with Content Security Policy (CSP) for inline execution\n prepend: true,\n container: shadowContainer,\n });\n\n const shadowTheme = createTheme({\n cssVariables: {\n prefix: \'tonic\',\n rootSelector: \':host\',\n },\n components: {\n Drawer: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Modal: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Popper: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n PortalManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n ToastManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n });\n\n const root = rootRef.current;\n root.render(\n \n \n &:first-of-type\': {\n mt: \'4x\', // the space to the top edge of the screen\n },\n \'[data-toast-placement^="bottom"] > &:last-of-type\': {\n mb: \'4x\', // the space to the bottom edge of the screen\n },\n \'[data-toast-placement$="left"] > &\': {\n ml: \'4x\', // the space to the left edge of the screen\n },\n \'[data-toast-placement$="right"] > &\': {\n mr: \'4x\', // the space to the right edge of the screen\n },\n },\n }}\n >\n \n {children}\n \n \n \n \n );\n }, [children, colorMode]);\n\n return (\n
\n );\n};\n\nconst InsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Inside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst OutsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Outside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst App = () => {\n const [colorMode] = useColorMode();\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',path:"pages/customization/shadow-dom.page.mdx"},sandbox:{files:{"src/components/BorderedBox.js":"import React from 'react';\nimport { Box, useColorMode } from '@tonic-ui/react';\n\nconst BorderedBox = (props) => {\n const [colorMode] = useColorMode();\n const styleProps = {\n border: 1,\n borderColor: colorMode === 'light' ? 'rgba(0, 0, 0, .12)' : 'rgba(255, 255, 255, .12)',\n };\n\n return (\n \n );\n};\n\nexport default BorderedBox;"},raw:'import createCache from \'@emotion/cache\';\nimport { CacheProvider } from \'@emotion/react\';\nimport {\n Box,\n Button,\n Divider,\n Drawer,\n DrawerOverlay,\n DrawerContent,\n DrawerHeader,\n DrawerBody,\n DrawerFooter,\n Flex,\n Grid,\n Modal,\n ModalOverlay,\n ModalContent,\n ModalHeader,\n ModalBody,\n ModalFooter,\n PortalManager,\n Skeleton,\n Stack,\n Text,\n Toast,\n ToastManager,\n TonicProvider,\n Tooltip,\n createTheme,\n useColorMode,\n usePortalManager,\n useToastManager,\n} from \'@tonic-ui/react\';\nimport BorderedBox from \'@/components/BorderedBox\';\nimport React, { useEffect, useRef } from \'react\';\nimport { createRoot } from \'react-dom/client\';\n\nconst NONCE = process.env.NONCE ?? \'\';\n\nconst DrawerComponent = ({ onClose }) => {\n return (\n \n \n \n \n Drawer\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ModalComponent = ({ onClose }) => {\n return (\n \n \n \n \n Modal\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ShadowDOMContainer = ({ children, colorMode, ...rest }) => {\n const containerRef = useRef();\n const shadowRootElementRef = useRef();\n const rootRef = useRef();\n\n useEffect(() => {\n const container = containerRef.current;\n if (!container) {\n return;\n }\n\n const shadowContainer = container.shadowRoot ?? container.attachShadow({ mode: \'open\' });\n const shadowRootElement = document.createElement(\'div\');\n shadowContainer.appendChild(shadowRootElement);\n shadowRootElementRef.current = shadowRootElement;\n rootRef.current = createRoot(shadowRootElement);\n\n return () => {\n setTimeout(() => {\n rootRef.current.unmount(); // Clean up React state\n rootRef.current = null;\n shadowRootElementRef.current = null; // Clear the reference\n shadowContainer.replaceChildren(); // Clear the shadow DOM content\n }, 0);\n };\n }, []); // Run only once on mount\n\n useEffect(() => {\n const shadowRootElement = shadowRootElementRef.current;\n if (!(shadowRootElement instanceof HTMLElement)) {\n console.error(\'The shadow root element is not an HTMLElement.\');\n return;\n }\n const shadowContainer = shadowRootElement.parentNode;\n\n // https://emotion.sh/docs/@emotion/cache\n const cache = createCache({\n key: \'tonic-css\',\n nonce: NONCE, // Needed to comply with Content Security Policy (CSP) for inline execution\n prepend: true,\n container: shadowContainer,\n });\n\n const shadowTheme = createTheme({\n cssVariables: {\n prefix: \'tonic\',\n rootSelector: \':host\',\n },\n components: {\n Drawer: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Modal: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n Popper: {\n defaultProps: {\n portalProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n PortalManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n ToastManager: {\n defaultProps: {\n containerRef: shadowRootElementRef,\n },\n },\n },\n });\n\n const root = rootRef.current;\n root.render(\n \n \n &:first-of-type\': {\n mt: \'4x\', // the space to the top edge of the screen\n },\n \'[data-toast-placement^="bottom"] > &:last-of-type\': {\n mb: \'4x\', // the space to the bottom edge of the screen\n },\n \'[data-toast-placement$="left"] > &\': {\n ml: \'4x\', // the space to the left edge of the screen\n },\n \'[data-toast-placement$="right"] > &\': {\n mr: \'4x\', // the space to the right edge of the screen\n },\n },\n }}\n >\n \n {children}\n \n \n \n \n );\n }, [children, colorMode]);\n\n return (\n
\n );\n};\n\nconst InsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Inside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst OutsideShadowDOMComponent = () => {\n const portal = usePortalManager();\n const toast = useToastManager();\n const handleClickDrawer = () => {\n portal((close) => );\n };\n const handleClickModal = () => {\n portal((close) => );\n };\n const handleClickToast = () => {\n const render = ({ id, onClose, placement }) => {\n const isTop = placement.includes(\'top\');\n const toastSpacingKey = isTop ? \'pb\' : \'pt\';\n const styleProps = {\n [toastSpacingKey]: \'2x\',\n width: 320,\n };\n return (\n \n \n This is a toast notification\n \n \n );\n };\n const options = {\n duration: 5000,\n };\n toast(render, options);\n };\n\n return (\n \n \n Outside Shadow DOM\n \n \n \n \n Open Drawer\n \n \n Open Modal\n \n \n Show Toast Notification\n \n \n \n \n \n \n );\n};\n\nconst App = () => {\n const [colorMode] = useColorMode();\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;',title:"Tonic UI"}}))]})}var Y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},(0,r.ah)(),n.components).wrapper;return e?(0,o.jsx)(e,Object.assign({},n,{children:(0,o.jsx)(q,n)})):q(n)}},32498:function(n,e,t){"use strict";var o=t(2784),r=t(40596),a=t(49857);function i(){return(i=Object.assign?Object.assign.bind():function(n){for(var e=1;en.length)&&(e=n.length);for(var t=0,o=Array(e);tn.length)&&(e=n.length);for(var t=0,o=Array(e);t0&&document.getSelection().getRangeAt(0);e.select(),document.execCommand("copy"),document.body.removeChild(e),t&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(t))},w=function(n){var e,t=function(n){if(Array.isArray(n))return n}(e=(0,m.useState)(!1))||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,l=[],c=!0,s=!1;try{for(a=(t=t.call(n)).next;!(c=(o=a.call(t)).done)&&(l.push(o.value),2!==l.length);c=!0);}catch(n){s=!0,r=n}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(e,2)||function(n,e){if(n){if("string"==typeof n)return C(n,2);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return C(n,2)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=t[0],r=t[1];return{value:n,onCopy:function(){y(n),r(!0),setTimeout(function(){return r(!1)},1500)},hasCopied:o}},x=t(63675),g=t(89658),b=t(92727),Z=t(27899),M=t(4779),E=["component","defaultExpanded","expanded","file","sandbox"];function R(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var o,r,a,i,l=[],c=!0,s=!1;try{if(a=(t=t.call(n)).next,0===e){if(Object(t)!==t)return;c=!1}else for(;!(c=(o=a.call(t)).done)&&(l.push(o.value),l.length!==e);c=!0);}catch(n){s=!0,r=n}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return O(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return O(n,e)}}(n,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t=0||(r[t]=n[t]);return r}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(n,t)&&(r[t]=n[t])}}}(n,E);var T=(0,h.useRouter)(),j=R((0,m.useReducer)(function(n){return!n},!1),2),S=j[0],P=j[1],D=(0,o.u)(),B=R((0,r.Z)(),1)[0],N={dark:g.y,light:g.q}[B],F=R((0,d.Z)(null!=y?y:void 0!==C&&C),2),I=F[0],z=F[1],H=w(null==O?void 0:O.data),A=H.onCopy,G=H.hasCopied,_=(0,m.useCallback)(function(){A()},[A]),K=(0,m.useCallback)(function(){(0,b.b)(k)},[k]),L=(0,m.useCallback)(function(){P(),z(!1)},[P,z]);return((0,m.useEffect)(function(){void 0!==y&&y!==I&&z(y)},[y,I,z]),t)?m.createElement(v.nu,{code:null==O?void 0:O.data,disabled:!0,language:"jsx",theme:N},m.createElement(a.Z,{border:1,borderColor:{dark:"gray:70",light:"gray:30"}[B],p:"4x"},m.createElement(a.Z,{fontSize:"sm",lineHeight:"sm"},m.createElement(m.Fragment,{key:S},m.createElement(t,null)))),m.createElement(i.Z,{columnGap:"2x",justifyContent:"flex-end",mb:"4x"},m.createElement(M.Z,{"data-track":I?"Code|hide_source|".concat((0,Z.Z)({path:T.pathname})):"Code|show_source|".concat((0,Z.Z)({path:T.pathname})),onClick:z},m.createElement(l.Z,{label:I?"Hide the source":"Show the source"},m.createElement(u.Z,null))),m.createElement(M.Z,{"data-track":"Code|copy_source|".concat((0,Z.Z)({path:T.pathname})),onClick:_},m.createElement(l.Z,{label:G?"Copied":"Copy the source"},m.createElement(p.Z,null))),m.createElement(M.Z,{"data-track":"Code|edit_in_codesandbox|".concat(T.pathname),onClick:K},m.createElement(l.Z,{label:"Edit in CodeSandbox"},m.createElement(x.Z,null))),m.createElement(M.Z,{"data-track":"Code|reset|".concat(T.pathname),onClick:L},m.createElement(l.Z,{label:"Reset the demo"},m.createElement(f.Z,null)))),m.createElement(c.Z,{in:I},m.createElement(s.Z,{in:I,unmountOnExit:!0},m.createElement(a.Z,{as:v.uz,sx:{fontFamily:"mono",fontSize:"md",lineHeight:"md",mb:"4x","& > .prism-code":{padding:"".concat(null==D?void 0:null===(e=D.space)||void 0===e?void 0:e["4x"]," !important"),overflowX:"auto"}}})))):m.createElement(v.nu,{code:null==O?void 0:O.data,disabled:!0,language:"jsx",theme:N},m.createElement(a.Z,{as:v.uz,sx:{fontFamily:"mono",fontSize:"sm","& > .prism-code":{overflowX:"auto"}}}))};k.displayName="Demo";var T=k},55893:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customization/shadow-dom",function(){return t(94351)}])},10525:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var o=t(2784),r=function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=(0,o.useRef)(!1);e&&!t.current&&("function"==typeof n&&n(),t.current=!0)}},22938:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.418 0 8-3.582 8-8v0c0-4.418-3.582-8-8-8v0zM11 12l-3-3-3 3-1.060-1.060 3.060-2.94-3-3 1.060-1.070 2.94 2.95 2.94-2.94 1.060 1.060-2.89 3 3 3z"}),"ErrorIcon")},99554:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M12 0h-6c-0.5 0-1 0.5-1 1v3h-3c-0.5 0-1 0.5-1 1v10c0 0.5 0.5 1 1 1h8c0.5 0 1-0.5 1-1v-3h3c0.5 0 1-0.5 1-1v-8l-3-3zM12 1.4l1.6 1.6h-1.6v-1.6zM10 15h-8v-10h5v3h3v7zM8 7v-1.6l1.6 1.6h-1.6zM14 11h-3v-4l-3-3h-2v-3h5v3h3v7z"}),"FileCopyOIcon")},97152:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.418 0 8-3.582 8-8v0c0-4.418-3.582-8-8-8v0zM7 4h2v2h-2zM10 12h-4v-1h1v-3h-1v-1h3v4h1z"}),"InfoIcon")},69111:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M10 7l1.995-1.995c-0.921-1.215-2.365-1.992-3.99-1.992-2.758 0-4.993 2.235-4.993 4.993s2.235 4.993 4.993 4.993c1.839 0 3.446-0.995 4.313-2.475l0.013-0.024 1.732 1c-1.233 2.111-3.487 3.507-6.068 3.507-3.867 0-7.003-3.135-7.003-7.003s3.135-7.003 7.003-7.003c2.183 0 4.133 0.999 5.417 2.565l0.010 0.012 1.579-1.579v5z"}),"RedoIcon")},83591:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8c4.418 0 8-3.582 8-8v0c0-4.418-3.582-8-8-8v0zM7 12l-4-4 1-1 3 3 5-6 1 1z"}),"SuccessIcon")},81141:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}}),t(2784);var o=t(75928),r=t(52903),a=(0,o.Z)((0,r.tZ)("path",{d:"M15.7 7.3l-7-7c-0.4-0.4-1-0.4-1.4 0l-7 7c-0.4 0.4-0.4 1 0 1.4l7 7c0.4 0.4 1 0.4 1.4 0l7-7c0.4-0.4 0.4-1 0-1.4zM9 12h-2v-2h2v2zM9 9h-2v-5h2v5z"}),"WarningMinorIcon")},82412:function(n,e,t){"use strict";t.d(e,{Z:function(){return M}});var o=t(53860),r=t(70404),a=t(56818),i=t(92307),l=t.n(i),c=t(2784),s=t(64355),d=t.n(s),u=t(98827),p=t(47732),f=t(3241),h=t(20325),m=t(79937),v=t(74086),C=t(52903),y=t(49857),w=(0,c.forwardRef)(function(n,e){var t=(0,u.Z)({props:n,name:"DrawerContainer"}),r=(0,v.Z)(),a=(0,o.Zj)({},r),i=a.backdrop,l=a.closeOnOutsideClick,c=a.onClose,s=a.placement,d=a.containerRef,p=(0,h.Z)(d,e),f=(0,m.Pw)({backdrop:i,placement:s}),w=(0,o.Zj)((0,o.Zj)({ref:p,onClick:function(n){n.stopPropagation(),l&&"function"==typeof c&&c(n)}},f),t);return(0,C.tZ)(y.Z,(0,o.Zj)({},w))});w.displayName="DrawerContainer";var x=t(59845),g=["autoFocus","backdrop","children","closeOnEsc","closeOnOutsideClick","ensureFocus","finalFocusRef","initialFocusRef","isClosable","isOpen","onClose","placement","portalProps","returnFocusOnClose","size"],b=l()(function(n){return(0,o.Zj)({},n)}),Z=(0,c.forwardRef)(function(n,e){var t=(0,u.Z)({props:n,name:"Drawer"}),i=t.autoFocus,l=void 0!==i&&i,s=t.backdrop,h=t.children,m=t.closeOnEsc,v=t.closeOnOutsideClick,y=t.ensureFocus,Z=void 0!==y&&y,M=t.finalFocusRef,E=t.initialFocusRef,R=t.isClosable,O=t.isOpen,k=void 0!==O&&O,T=t.onClose,j=t.placement,S=t.portalProps,P=t.returnFocusOnClose,D=t.size,B=(0,o.Kd)(t,g),N=(0,c.useState)(k),F=(0,o.ZQ)(N,2),I=F[0],z=F[1],H=(0,c.useRef)(),A=(0,c.useRef)(null),G=b({autoFocus:l,backdrop:void 0!==s&&s,closeOnEsc:void 0!==m&&m,closeOnOutsideClick:void 0!==v&&v,ensureFocus:Z,finalFocusRef:M,initialFocusRef:E,isClosable:void 0!==R&&R,isOpen:k,onClose:T,placement:void 0===j?"right":j,size:void 0===D?"auto":D,containerRef:H,contentRef:A,scrollBehavior:"inside"}),_=(void 0===P||P)&&!M,K=(0,c.useCallback)(function(){if(E&&E.current){var n=E.current;"function"==typeof n.focus&&n.focus();return}if(A.current){var e=A.current;if((0,r.t)(e).length>0)return;"function"==typeof e.focus&&e.focus()}},[E]),L=(0,c.useCallback)(function(){if(M&&M.current){var n=M.current;"function"==typeof n.focus&&n.focus()}},[M]),$=(0,c.useCallback)(function(){z(!1)},[]);return(0,c.useEffect)(function(){if(k&&!I){z(!0);return}},[k,I]),(0,C.tZ)(x.r.Provider,{value:G,children:(0,C.tZ)(f.Z,{in:k,onExitComplete:$,children:!!I&&(0,C.tZ)(p.Z,(0,o.Zj)((0,o.Zj)({},S),{},{children:(0,C.tZ)(d(),{disabled:!Z,autoFocus:l,returnFocus:_,onActivation:K,onDeactivation:L,children:(0,C.tZ)(w,(0,o.Zj)((0,o.Zj)({ref:e},B),{},{children:(0,a.Pu)(h,G)}))})}))})})});Z.displayName="Drawer";var M=Z},6192:function(n,e,t){"use strict";t.d(e,{Z:function(){return m}});var o=t(53860),r=t(20325),a=t(56818),i=t(2784),l=t(98827),c=t(48504),s=t(62272),d=t(79937),u=t(74086),p=t(52903),f=["TransitionComponent","TransitionProps"],h=(0,i.forwardRef)(function(n,e){var t=(0,l.Z)({props:n,name:"DrawerOverlay"}),h=t.TransitionComponent,m=void 0===h?s.Z:h,v=t.TransitionProps,C=(0,o.Kd)(t,f),y=(0,u.Z)(),w=(0,o.Zj)({},y).isOpen,x=(0,c.Z)(),g=(0,o.ZQ)(x,2)[1],b=(0,i.useRef)(),Z=(0,r.Z)(b,e),M=(0,d.Bp)(),E=(0,o.Zj)((0,o.Zj)({ref:Z},M),C);return(0,p.tZ)(m,(0,o.Zj)((0,o.Zj)((0,o.Zj)({appear:!!y},v),E),{},{in:!y||w,onExited:(0,a.PP)(g,null==v?void 0:v.onExited)}))});h.displayName="DrawerOverlay";var m=h},29088:function(n,e,t){"use strict";t.d(e,{Z:function(){return y}});var o,r,a=t(53860),i=t(95530),l=t(5081),c=t(2784),s=t(98827),d=t(28165),u=(0,d.F4)(o||(o=(0,a.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(1turn)\n }\n"]))),p=(0,d.F4)(r||(r=(0,a.AI)(["\n 0% {\n transform: rotate(0deg)\n }\n to {\n transform: rotate(-1turn)\n }\n"]))),f=function(n){var e,t=n.spin;return"ccw"===t?e="".concat(p," 2s linear infinite"):("cw"===t||!0===t)&&(e="".concat(u," 2s linear infinite")),{animation:e}},h=t(27216),m=t(52903),v=["children","icon","spin"],C=(0,c.forwardRef)(function(n,e){var t=(0,s.Z)({props:n,name:"Icon"}),o=t.children,r=t.icon,d=t.spin,u=(0,a.Kd)(t,v),p=(0,h.u)(),C=(0,c.useRef)([null,null]),y="string"==typeof r&&r.length>0&&function(n){var e,t=(0,a.ZQ)(C.current,2),o=t[0],r=t[1];if(o===n)return r;var i=null===(e=(0,l.rY)(null==p?void 0:p.icons).find(function(e){return(0,a.ZQ)(e,1)[0]===n}))||void 0===e?void 0:e[1];return i&&(C.current=[n,i]),i}(r)||o,w=f({spin:void 0!==d&&d});return(0,m.tZ)(i.Z,(0,a.Zj)((0,a.Zj)((0,a.Zj)({ref:e},w),u),{},{children:y}))});C.displayName="Icon";var y=C},35358:function(n,e,t){"use strict";t.d(e,{Z:function(){return u}});var o=t(53860),r=t(2784),a=t(98827),i=t(53638),l=t(13692),c=t(52903),s=t(49857),d=(0,r.forwardRef)(function(n,e){var t=(0,a.Z)({props:n,name:"ModalBody"}),r=(0,l.Z)(),d=(0,o.Zj)({},r).scrollBehavior,u=(0,i.mS)({scrollBehavior:d});return(0,c.tZ)(s.Z,(0,o.Zj)((0,o.Zj)({ref:e},u),t))});d.displayName="ModalBody";var u=d},76168:function(n,e,t){"use strict";t.d(e,{Z:function(){return d}});var o=t(53860),r=t(2784),a=t(98827),i=t(53638),l=t(52903),c=t(49857),s=(0,r.forwardRef)(function(n,e){var t=(0,a.Z)({props:n,name:"ModalFooter"}),r=(0,i.IB)();return(0,l.tZ)(c.Z,(0,o.Zj)((0,o.Zj)({ref:e},r),t))});s.displayName="ModalFooter";var d=s},52235:function(n,e,t){"use strict";t.d(e,{Z:function(){return u}});var o=t(53860),r=t(2784),a=t(98827),i=t(53638),l=t(13692),c=t(52903),s=t(49857),d=(0,r.forwardRef)(function(n,e){var t=(0,a.Z)({props:n,name:"ModalHeader"}),r=(0,l.Z)(),d=(0,o.Zj)({},r).isClosable,u=(0,i.vZ)({isClosable:d});return(0,c.tZ)(s.Z,(0,o.Zj)((0,o.Zj)({ref:e},u),t))});d.displayName="ModalHeader";var u=d},57861:function(n,e,t){"use strict";t.d(e,{Z:function(){return g}});var o,r,a=t(53860),i=t(10525),l=t(56818),c=t(2784),s=t(98827),d=t(28165),u=t(40596),p=(0,d.F4)(o||(o=(0,a.AI)(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: .4;\n }\n 100% {\n opacity: 1;\n }\n"]))),f=(0,d.F4)(r||(r=(0,a.AI)(["\n 0% {\n transform: translateX(-100%);\n }\n 50% {\n // +0.5s of delay between each loop\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(100%);\n }\n"]))),h=function(n){var e=n.animation,t=n.colorMode;return"pulse"===e?{animation:"".concat(p," 1.5s ease-in-out .5s infinite")}:"wave"===e?{position:"relative",overflow:"hidden",__after:{animation:"".concat(f," 1.6s linear .5s infinite"),background:"linear-gradient(90deg,".concat(["transparent","rgba(255, 255, 255, ".concat({dark:.08,light:.32}[t],")"),"transparent"].join(","),")"),content:'""',position:"absolute",inset:0,transform:"translateX(-100%)"}}:{animation:e}},m=function(n){var e=n.variant;return"text"===e?{height:"3x",borderRadius:"sm",_empty:{"::before":{content:'"\\00a0"'}}}:"rectangle"===e?{}:"circle"===e?{borderRadius:"50%"}:{}},v=function(n){var e=n.animation,t=n.variant,o=(0,u.Z)(),r=(0,a.ZQ)(o,1)[0],i={dark:"rgba(255, 255, 255, 0.08)",light:"rgba(0, 0, 0, 0.08)"}[r],l=h({animation:e,colorMode:r}),c=m({variant:t});return(0,a.Zj)((0,a.Zj)({display:"block",backgroundColor:i},l),c)},C=t(52903),y=t(49857),w=["animation","variant"],x=(0,c.forwardRef)(function(n,e){var t=(0,s.Z)({props:n,name:"Skeleton"}),o=t.animation,r=t.variant,c=(0,a.Kd)(t,w),d=void 0===r?"text":r,u="".concat(x.displayName,":");(0,i.Z)(function(){(0,l.TL)('variant="rect"',{prefix:u,alternative:'variant="rectangle"',willRemove:!0})},"rect"===d),"rect"===d&&(d="rectangle");var p=v({animation:o,variant:d});return(0,C.tZ)(y.Z,(0,a.Zj)((0,a.Zj)({ref:e},p),c))});x.displayName="Skeleton";var g=x},42049:function(n,e,t){"use strict";t.d(e,{Z:function(){return E}});var o=t(53860),r=t(56818),a=t(92307),i=t.n(a),l=t(2784),c=t(98827),s=t(91269),d=t(83591),u=t(97152),p=t(81141),f=t(22938),h=t(29088),m=t(50274),v=t(60186),C=t(52903),y=t(49857),w=(0,l.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"ToastIcon"}),r=(0,v.Z)(),a=(0,o.Zj)({},r),i=a.appearance,s=a.icon,w=(0,m.zh)({appearance:i}),x=(0,l.useMemo)(function(){if("string"==typeof s)return(0,C.tZ)(h.Z,{icon:s});if(void 0===s){var n={success:d.Z,info:u.Z,warning:p.Z,error:f.Z}[i];return n?(0,C.tZ)(n,{size:"4x"}):null}return s},[i,s]);return x?(0,C.tZ)(y.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({ref:e},w),t),{},{children:x})):null});w.displayName="ToastIcon";var x=(0,l.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"ToastMessage"}),r=(0,v.Z)(),a=(0,o.Zj)({},r).isClosable,i=(0,m.Zy)({isClosable:a});return(0,C.tZ)(y.Z,(0,o.Zj)((0,o.Zj)({ref:e},i),t))});x.displayName="ToastMessage";var g=t(82268),b=["appearance","icon","isClosable","onClose","children"],Z=i()(function(n){return(0,o.Zj)({},n)}),M=(0,l.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"Toast"}),a=t.appearance,i=void 0===a?"none":a,l=t.icon,d=t.isClosable,u=void 0!==d&&d,p=t.onClose,f=t.children,h=(0,o.Kd)(t,b),v=Z({appearance:i,icon:l,isClosable:u,onClose:p}),M=(0,m.Xf)({appearance:i});return(0,C.tZ)(g.u.Provider,{value:v,children:(0,C.BX)(y.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({ref:e},M),h),{},{children:[(0,C.tZ)(w,{}),(0,C.tZ)(x,{children:(0,r.Pu)(f,v)}),!!u&&(0,C.tZ)(s.Z,{})]}))})});M.displayName="Toast";var E=M},91269:function(n,e,t){"use strict";t.d(e,{Z:function(){return h}});var o=t(53860),r=t(37662),a=t(56818),i=t(2784),l=t(83513),c=t(98827),s=t(50274),d=t(60186),u=t(52903),p=["children","onClick"],f=(0,i.forwardRef)(function(n,e){var t=(0,c.Z)({props:n,name:"ToastCloseButton"}),i=t.children,f=t.onClick,h=(0,o.Kd)(t,p),m=(0,d.Z)(),v=(0,o.Zj)({},m),C=v.isClosable,y=v.onClose,w=v.variant,x=(0,s.mm)({isClosable:C,variant:w});return(0,u.tZ)(l.Z,(0,o.Zj)((0,o.Zj)((0,o.Zj)({"aria-label":"Close",ref:e,onClick:(0,a.N)(f,y)},x),h),{},{children:null!=i?i:(0,u.tZ)(r.Z,{size:"4x"})}))});f.displayName="ToastCloseButton";var h=f},50274:function(n,e,t){"use strict";t.d(e,{Xf:function(){return l},Zy:function(){return s},mm:function(){return d},zh:function(){return c}});var o=t(53860),r=t(40596),a=t(31131),i=function(n){var e=n.appearance,t=n.colorMode;return(0,o.Zj)({backgroundColor:{dark:"gray:10",light:"white"}[t],color:"black:primary"},{success:{borderLeftColor:"green:50",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"},info:{borderLeftColor:"blue:60",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"},warning:{borderLeftColor:"yellow:50",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"},error:{borderLeftColor:"red:60",borderLeftStyle:"solid",borderLeftWidth:"1x",pl:"3x"}}[e])},l=function(n){var e=n.appearance,t=(0,r.Z)(),a=i({appearance:e,colorMode:(0,o.ZQ)(t,1)[0]});return(0,o.Zj)({display:"flex",alignItems:"flex-start",justifyContent:"space-between",position:"relative",px:"4x",py:"4x"},a)},c=function(n){return{color:({success:"green:50",info:"blue:60",warning:"yellow:50",error:"red:60"})[n.appearance],display:"inline-flex",mr:"2x",mt:"1h"}},s=function(n){return{pr:n.isClosable?"10x":0,width:"100%"}},d=function(n){var e=n.isClosable;n.variant;var t=(0,r.Z)(),i=(0,o.ZQ)(t,1)[0],l="blue:60",c={dark:"black:primary",light:"black:primary"}[i],s=(0,a.P)({color:{dark:"black:tertiary",light:"black:tertiary"}[i],size:"8x"});return e?(0,o.Zj)((0,o.Zj)({},s),{},{_focusVisible:{outlineColor:l,outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:c},position:"absolute",top:"10q",right:"2x"}):(0,o.Zj)((0,o.Zj)({},s),{},{_focusVisible:{outlineColor:l,outlineOffset:"-1h",outlineStyle:"solid",outlineWidth:"1h"},_hover:{color:c}})}},60186:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var o=t(2784),r=t(82268),a=function(){if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");return(0,o.useContext)(r.u)}},78727:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var o=t(2784),r=t(82268),a=function(){var n=(0,o.useRef)(null),e=(0,o.useRef)(null);if(!o.useContext)throw Error("The `useContext` hook is not available with your React version.");var t=(0,o.useContext)(r.K);if(!t)throw Error("The `useToastManager` hook must be called from a descendent of the `ToastManager`.");return n.current=t.notify,e.current||(e.current=function(){for(var e,t=arguments.length,o=Array(t),r=0;r
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/accordion.html b/react/v2/components/accordion.html index 00ee9797af..83312a88cc 100644 --- a/react/v2/components/accordion.html +++ b/react/v2/components/accordion.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/alert.html b/react/v2/components/alert.html index 7924843812..a10cf7d774 100644 --- a/react/v2/components/alert.html +++ b/react/v2/components/alert.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/badge.html b/react/v2/components/badge.html index d2ce03e2f4..2a040ebaa8 100644 --- a/react/v2/components/badge.html +++ b/react/v2/components/badge.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/box.html b/react/v2/components/box.html index 947f72de1c..4463d5d35d 100644 --- a/react/v2/components/box.html +++ b/react/v2/components/box.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/button-base.html b/react/v2/components/button-base.html index 0a13568d3d..25cbb3ae4c 100644 --- a/react/v2/components/button-base.html +++ b/react/v2/components/button-base.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/button-group.html b/react/v2/components/button-group.html index ee8ef981bc..6e0f48ff1e 100644 --- a/react/v2/components/button-group.html +++ b/react/v2/components/button-group.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/button-link.html b/react/v2/components/button-link.html index 9a533e1d76..b826dc0977 100644 --- a/react/v2/components/button-link.html +++ b/react/v2/components/button-link.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/button.html b/react/v2/components/button.html index 407884daa2..3acf3c3426 100644 --- a/react/v2/components/button.html +++ b/react/v2/components/button.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/checkbox-group.html b/react/v2/components/checkbox-group.html index a1e1858932..4281bdc28b 100644 --- a/react/v2/components/checkbox-group.html +++ b/react/v2/components/checkbox-group.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/checkbox.html b/react/v2/components/checkbox.html index 430a0d40bd..68f3069462 100644 --- a/react/v2/components/checkbox.html +++ b/react/v2/components/checkbox.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/code.html b/react/v2/components/code.html index 139739f314..9fc153c3ad 100644 --- a/react/v2/components/code.html +++ b/react/v2/components/code.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/color-mode.html b/react/v2/components/color-mode.html index b5c6034857..0918e9d613 100644 --- a/react/v2/components/color-mode.html +++ b/react/v2/components/color-mode.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/color-mode/dark-mode.html b/react/v2/components/color-mode/dark-mode.html index ceff90b2b4..130be238c0 100644 --- a/react/v2/components/color-mode/dark-mode.html +++ b/react/v2/components/color-mode/dark-mode.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/color-mode/inverted-mode.html b/react/v2/components/color-mode/inverted-mode.html index 8ed0baf231..87667dd03b 100644 --- a/react/v2/components/color-mode/inverted-mode.html +++ b/react/v2/components/color-mode/inverted-mode.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/color-mode/light-mode.html b/react/v2/components/color-mode/light-mode.html index 0b821a7634..4f7af55e30 100644 --- a/react/v2/components/color-mode/light-mode.html +++ b/react/v2/components/color-mode/light-mode.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/color-mode/useColorMode.html b/react/v2/components/color-mode/useColorMode.html index 799422168f..4a864af9a3 100644 --- a/react/v2/components/color-mode/useColorMode.html +++ b/react/v2/components/color-mode/useColorMode.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/color-style.html b/react/v2/components/color-style.html index 5d21f37626..8c79af1067 100644 --- a/react/v2/components/color-style.html +++ b/react/v2/components/color-style.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/color-style/useColorStyle.html b/react/v2/components/color-style/useColorStyle.html index 22195b56fb..44cb7c6caa 100644 --- a/react/v2/components/color-style/useColorStyle.html +++ b/react/v2/components/color-style/useColorStyle.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/css-baseline.html b/react/v2/components/css-baseline.html index 6903199f94..9639cb6a60 100644 --- a/react/v2/components/css-baseline.html +++ b/react/v2/components/css-baseline.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/date-pickers.html b/react/v2/components/date-pickers.html index f0bae19af4..2a10e84409 100644 --- a/react/v2/components/date-pickers.html +++ b/react/v2/components/date-pickers.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/date-pickers/calendar.html b/react/v2/components/date-pickers/calendar.html index abefeb342c..123fa98126 100644 --- a/react/v2/components/date-pickers/calendar.html +++ b/react/v2/components/date-pickers/calendar.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/date-pickers/date-picker.html b/react/v2/components/date-pickers/date-picker.html index e9881f0061..62d6c5f904 100644 --- a/react/v2/components/date-pickers/date-picker.html +++ b/react/v2/components/date-pickers/date-picker.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/divider.html b/react/v2/components/divider.html index 41eb6c6bad..6e3ee13f8a 100644 --- a/react/v2/components/divider.html +++ b/react/v2/components/divider.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/drawer.html b/react/v2/components/drawer.html index dd83b473c3..1a22154e4e 100644 --- a/react/v2/components/drawer.html +++ b/react/v2/components/drawer.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/flex.html b/react/v2/components/flex.html index 07e3939392..ae46294f66 100644 --- a/react/v2/components/flex.html +++ b/react/v2/components/flex.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/grid.html b/react/v2/components/grid.html index 95c64ba800..a9be046c48 100644 --- a/react/v2/components/grid.html +++ b/react/v2/components/grid.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/icon.html b/react/v2/components/icon.html index bb877a5ce7..bb7c7e0454 100644 --- a/react/v2/components/icon.html +++ b/react/v2/components/icon.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/image.html b/react/v2/components/image.html index 946544d700..de21449a56 100644 --- a/react/v2/components/image.html +++ b/react/v2/components/image.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/input-base.html b/react/v2/components/input-base.html index aab786a408..b1e43c3c13 100644 --- a/react/v2/components/input-base.html +++ b/react/v2/components/input-base.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/input-control.html b/react/v2/components/input-control.html index 03b007da78..7331b19bb3 100644 --- a/react/v2/components/input-control.html +++ b/react/v2/components/input-control.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/input-group.html b/react/v2/components/input-group.html index 6e878707f9..4156d8eac5 100644 --- a/react/v2/components/input-group.html +++ b/react/v2/components/input-group.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/input.html b/react/v2/components/input.html index dcd5b68242..93b71a3ab0 100644 --- a/react/v2/components/input.html +++ b/react/v2/components/input.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/link-button.html b/react/v2/components/link-button.html index aea8dcb03d..17e0bd3360 100644 --- a/react/v2/components/link-button.html +++ b/react/v2/components/link-button.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/link.html b/react/v2/components/link.html index dbf079fedc..70040d2de8 100644 --- a/react/v2/components/link.html +++ b/react/v2/components/link.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/menu.html b/react/v2/components/menu.html index 66057681bf..bb9949badf 100644 --- a/react/v2/components/menu.html +++ b/react/v2/components/menu.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/modal.html b/react/v2/components/modal.html index b5896c7004..3234550f3d 100644 --- a/react/v2/components/modal.html +++ b/react/v2/components/modal.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/overflow-tooltip.html b/react/v2/components/overflow-tooltip.html index d298b9a2a7..bbeccdb1bd 100644 --- a/react/v2/components/overflow-tooltip.html +++ b/react/v2/components/overflow-tooltip.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/pagination.html b/react/v2/components/pagination.html index 39e64a89ac..32ab20863c 100644 --- a/react/v2/components/pagination.html +++ b/react/v2/components/pagination.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/pagination/usePagination.html b/react/v2/components/pagination/usePagination.html index 6d2763b46c..04b0203b31 100644 --- a/react/v2/components/pagination/usePagination.html +++ b/react/v2/components/pagination/usePagination.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/popover.html b/react/v2/components/popover.html index 72e3b6d085..962de5ed37 100644 --- a/react/v2/components/popover.html +++ b/react/v2/components/popover.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/portal-manager.html b/react/v2/components/portal-manager.html index 399c6e3cc7..35b432a97a 100644 --- a/react/v2/components/portal-manager.html +++ b/react/v2/components/portal-manager.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/portal-manager/usePortalManager.html b/react/v2/components/portal-manager/usePortalManager.html index 74d17bab2d..b6eba4f4df 100644 --- a/react/v2/components/portal-manager/usePortalManager.html +++ b/react/v2/components/portal-manager/usePortalManager.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/portal.html b/react/v2/components/portal.html index 3ed501bba6..830c1201ad 100644 --- a/react/v2/components/portal.html +++ b/react/v2/components/portal.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/progress.html b/react/v2/components/progress.html index 4cefdc5f55..5528f40f97 100644 --- a/react/v2/components/progress.html +++ b/react/v2/components/progress.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/radio-group.html b/react/v2/components/radio-group.html index 142d7f8090..aac72144a4 100644 --- a/react/v2/components/radio-group.html +++ b/react/v2/components/radio-group.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/radio.html b/react/v2/components/radio.html index d8b8b8b25c..260f6050c2 100644 --- a/react/v2/components/radio.html +++ b/react/v2/components/radio.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/resize-handle.html b/react/v2/components/resize-handle.html index ea27e7c7d4..15bc1897b5 100644 --- a/react/v2/components/resize-handle.html +++ b/react/v2/components/resize-handle.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/scrollbar.html b/react/v2/components/scrollbar.html index b569db3f2e..1b32fcc288 100644 --- a/react/v2/components/scrollbar.html +++ b/react/v2/components/scrollbar.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/search-input.html b/react/v2/components/search-input.html index 92431af607..a560a4ca93 100644 --- a/react/v2/components/search-input.html +++ b/react/v2/components/search-input.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/select.html b/react/v2/components/select.html index 80317a5d02..53d4fc41f1 100644 --- a/react/v2/components/select.html +++ b/react/v2/components/select.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/skeleton.html b/react/v2/components/skeleton.html index 187e7c923d..75799c4ffb 100644 --- a/react/v2/components/skeleton.html +++ b/react/v2/components/skeleton.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/space.html b/react/v2/components/space.html index 57fefabd4e..8510a25103 100644 --- a/react/v2/components/space.html +++ b/react/v2/components/space.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/spinner.html b/react/v2/components/spinner.html index 9295a0254a..c6cab2586e 100644 --- a/react/v2/components/spinner.html +++ b/react/v2/components/spinner.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/stack.html b/react/v2/components/stack.html index 54f7dce6c1..f2285de79d 100644 --- a/react/v2/components/stack.html +++ b/react/v2/components/stack.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/svg-icon.html b/react/v2/components/svg-icon.html index 8f8ae682af..adfd4d5b24 100644 --- a/react/v2/components/svg-icon.html +++ b/react/v2/components/svg-icon.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/switch.html b/react/v2/components/switch.html index 831e74192d..7a65a90515 100644 --- a/react/v2/components/switch.html +++ b/react/v2/components/switch.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/table.html b/react/v2/components/table.html index f517c8f01b..ce9901b474 100644 --- a/react/v2/components/table.html +++ b/react/v2/components/table.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/tabs.html b/react/v2/components/tabs.html index efd6e2d9a2..9e23b31b74 100644 --- a/react/v2/components/tabs.html +++ b/react/v2/components/tabs.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/tag.html b/react/v2/components/tag.html index 69d896ee88..e2964d8729 100644 --- a/react/v2/components/tag.html +++ b/react/v2/components/tag.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/text-label.html b/react/v2/components/text-label.html index aec32349f9..91f3b0353a 100644 --- a/react/v2/components/text-label.html +++ b/react/v2/components/text-label.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/text.html b/react/v2/components/text.html index 93f92114d3..23b02dfa72 100644 --- a/react/v2/components/text.html +++ b/react/v2/components/text.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/textarea.html b/react/v2/components/textarea.html index 0db12e3395..0410875e6c 100644 --- a/react/v2/components/textarea.html +++ b/react/v2/components/textarea.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/toast-manager.html b/react/v2/components/toast-manager.html index 0f24345976..8e7c93db81 100644 --- a/react/v2/components/toast-manager.html +++ b/react/v2/components/toast-manager.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/toast-manager/useToastManager.html b/react/v2/components/toast-manager/useToastManager.html index e633708010..518d740e48 100644 --- a/react/v2/components/toast-manager/useToastManager.html +++ b/react/v2/components/toast-manager/useToastManager.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/toast.html b/react/v2/components/toast.html index d685cca850..a0b8c51f7e 100644 --- a/react/v2/components/toast.html +++ b/react/v2/components/toast.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/tooltip.html b/react/v2/components/tooltip.html index 367266c400..04cb4b1aa1 100644 --- a/react/v2/components/tooltip.html +++ b/react/v2/components/tooltip.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/transitions.html b/react/v2/components/transitions.html index 9824f18ff7..1feedf9799 100644 --- a/react/v2/components/transitions.html +++ b/react/v2/components/transitions.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/transitions/collapse.html b/react/v2/components/transitions/collapse.html index 7742411d3a..7768630741 100644 --- a/react/v2/components/transitions/collapse.html +++ b/react/v2/components/transitions/collapse.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/transitions/fade.html b/react/v2/components/transitions/fade.html index 6326f046c3..ff2e15cf03 100644 --- a/react/v2/components/transitions/fade.html +++ b/react/v2/components/transitions/fade.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/transitions/grow.html b/react/v2/components/transitions/grow.html index 03c94d676e..fc30456cad 100644 --- a/react/v2/components/transitions/grow.html +++ b/react/v2/components/transitions/grow.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/transitions/scale.html b/react/v2/components/transitions/scale.html index df9e20f4ec..23164cdfe1 100644 --- a/react/v2/components/transitions/scale.html +++ b/react/v2/components/transitions/scale.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/transitions/slide.html b/react/v2/components/transitions/slide.html index e07310d227..dd95ba0035 100644 --- a/react/v2/components/transitions/slide.html +++ b/react/v2/components/transitions/slide.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/transitions/zoom.html b/react/v2/components/transitions/zoom.html index 54c7edbcd9..f2ac81837a 100644 --- a/react/v2/components/transitions/zoom.html +++ b/react/v2/components/transitions/zoom.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/tree.html b/react/v2/components/tree.html index 5f9b4c1352..58dc69db2e 100644 --- a/react/v2/components/tree.html +++ b/react/v2/components/tree.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/truncate.html b/react/v2/components/truncate.html index b27527ce6f..6e549e1097 100644 --- a/react/v2/components/truncate.html +++ b/react/v2/components/truncate.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/components/visually-hidden.html b/react/v2/components/visually-hidden.html index 4a530b0ac6..fa5f9ca63e 100644 --- a/react/v2/components/visually-hidden.html +++ b/react/v2/components/visually-hidden.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/contributing.html b/react/v2/contributing.html index 84216d9ad6..710f8ca5c9 100644 --- a/react/v2/contributing.html +++ b/react/v2/contributing.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/contributing/publishing.html b/react/v2/contributing/publishing.html index 077004a478..44cfba9034 100644 --- a/react/v2/contributing/publishing.html +++ b/react/v2/contributing/publishing.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/contributing/pull-request-review.html b/react/v2/contributing/pull-request-review.html index dbd5efe481..1ee5dc1631 100644 --- a/react/v2/contributing/pull-request-review.html +++ b/react/v2/contributing/pull-request-review.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/contributing/react-components-part-1.html b/react/v2/contributing/react-components-part-1.html index 6062526d59..2fac527b7f 100644 --- a/react/v2/contributing/react-components-part-1.html +++ b/react/v2/contributing/react-components-part-1.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/contributing/react-components-part-2.html b/react/v2/contributing/react-components-part-2.html index b48d02dbad..bb82dddaf5 100644 --- a/react/v2/contributing/react-components-part-2.html +++ b/react/v2/contributing/react-components-part-2.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/contributing/react-documentation-site.html b/react/v2/contributing/react-documentation-site.html index 7023ea293b..75f3cfd0d5 100644 --- a/react/v2/contributing/react-documentation-site.html +++ b/react/v2/contributing/react-documentation-site.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/contributing/react-icons.html b/react/v2/contributing/react-icons.html index 5d04a80742..b1f19f6610 100644 --- a/react/v2/contributing/react-icons.html +++ b/react/v2/contributing/react-icons.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/customization/content-security-policy.html b/react/v2/customization/content-security-policy.html index 759f720fe5..bb9d094fca 100644 --- a/react/v2/customization/content-security-policy.html +++ b/react/v2/customization/content-security-policy.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/customization/css-theme-variables.html b/react/v2/customization/css-theme-variables.html index 4544ba6b0d..2f264be6af 100644 --- a/react/v2/customization/css-theme-variables.html +++ b/react/v2/customization/css-theme-variables.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/customization/shadow-dom.html b/react/v2/customization/shadow-dom.html index b00baa36e9..92b74f5610 100644 --- a/react/v2/customization/shadow-dom.html +++ b/react/v2/customization/shadow-dom.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started.html b/react/v2/getting-started.html index d5658e9f9a..9a448232a0 100644 --- a/react/v2/getting-started.html +++ b/react/v2/getting-started.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started/color-mode.html b/react/v2/getting-started/color-mode.html index bcc6c3d623..c92ec4b92a 100644 --- a/react/v2/getting-started/color-mode.html +++ b/react/v2/getting-started/color-mode.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started/color-style.html b/react/v2/getting-started/color-style.html index 431d2cfb97..bdbc35bf69 100644 --- a/react/v2/getting-started/color-style.html +++ b/react/v2/getting-started/color-style.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started/icons.html b/react/v2/getting-started/icons.html index e480461b39..d1aa2d0778 100644 --- a/react/v2/getting-started/icons.html +++ b/react/v2/getting-started/icons.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started/installation.html b/react/v2/getting-started/installation.html index 5e66bd57af..3de410ee89 100644 --- a/react/v2/getting-started/installation.html +++ b/react/v2/getting-started/installation.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started/the-sx-prop.html b/react/v2/getting-started/the-sx-prop.html index be572721c2..c2ff681d2c 100644 --- a/react/v2/getting-started/the-sx-prop.html +++ b/react/v2/getting-started/the-sx-prop.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started/usage.html b/react/v2/getting-started/usage.html index 5c362cafd2..486e268204 100644 --- a/react/v2/getting-started/usage.html +++ b/react/v2/getting-started/usage.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/getting-started/versions.html b/react/v2/getting-started/versions.html index b6d3066093..3910e58171 100644 --- a/react/v2/getting-started/versions.html +++ b/react/v2/getting-started/versions.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks.html b/react/v2/hooks.html index 7c25f6965c..ca276b9749 100644 --- a/react/v2/hooks.html +++ b/react/v2/hooks.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useConst.html b/react/v2/hooks/useConst.html index d07bff18dd..96c1ac0dc0 100644 --- a/react/v2/hooks/useConst.html +++ b/react/v2/hooks/useConst.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useCopyToClipboard.html b/react/v2/hooks/useCopyToClipboard.html index 5b96eeb14b..a1e91b736f 100644 --- a/react/v2/hooks/useCopyToClipboard.html +++ b/react/v2/hooks/useCopyToClipboard.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useEffectOnce.html b/react/v2/hooks/useEffectOnce.html index c738e3f326..697af2d3f9 100644 --- a/react/v2/hooks/useEffectOnce.html +++ b/react/v2/hooks/useEffectOnce.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useEffectOnceWhen.html b/react/v2/hooks/useEffectOnceWhen.html index 1209007ee2..6c4cf9137e 100644 --- a/react/v2/hooks/useEffectOnceWhen.html +++ b/react/v2/hooks/useEffectOnceWhen.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useEventCallback.html b/react/v2/hooks/useEventCallback.html index 2ea6909f54..f11ce39819 100644 --- a/react/v2/hooks/useEventCallback.html +++ b/react/v2/hooks/useEventCallback.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useEventListener.html b/react/v2/hooks/useEventListener.html index 44d81defbf..8d513de8da 100644 --- a/react/v2/hooks/useEventListener.html +++ b/react/v2/hooks/useEventListener.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useHydrated.html b/react/v2/hooks/useHydrated.html index 7266de0d7f..10651e9ff0 100644 --- a/react/v2/hooks/useHydrated.html +++ b/react/v2/hooks/useHydrated.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useIsomorphicEffect.html b/react/v2/hooks/useIsomorphicEffect.html index 0100ee87fd..311b3f2942 100644 --- a/react/v2/hooks/useIsomorphicEffect.html +++ b/react/v2/hooks/useIsomorphicEffect.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useLatestRef.html b/react/v2/hooks/useLatestRef.html index 823b59df45..213a6e3521 100644 --- a/react/v2/hooks/useLatestRef.html +++ b/react/v2/hooks/useLatestRef.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useMediaQuery.html b/react/v2/hooks/useMediaQuery.html index 55fde9c4c5..bd6396d94a 100644 --- a/react/v2/hooks/useMediaQuery.html +++ b/react/v2/hooks/useMediaQuery.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useMergeRefs.html b/react/v2/hooks/useMergeRefs.html index cd511b9a05..1b4d2e1644 100644 --- a/react/v2/hooks/useMergeRefs.html +++ b/react/v2/hooks/useMergeRefs.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useOnce.html b/react/v2/hooks/useOnce.html index 4f3776196b..46df98d698 100644 --- a/react/v2/hooks/useOnce.html +++ b/react/v2/hooks/useOnce.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useOnceWhen.html b/react/v2/hooks/useOnceWhen.html index b97e74b563..b30441c518 100644 --- a/react/v2/hooks/useOnceWhen.html +++ b/react/v2/hooks/useOnceWhen.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useOutsideClick.html b/react/v2/hooks/useOutsideClick.html index 43b2c249f0..90d0162d39 100644 --- a/react/v2/hooks/useOutsideClick.html +++ b/react/v2/hooks/useOutsideClick.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/usePrevious.html b/react/v2/hooks/usePrevious.html index 87ce3648a0..9fe8c4e2fc 100644 --- a/react/v2/hooks/usePrevious.html +++ b/react/v2/hooks/usePrevious.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/hooks/useToggle.html b/react/v2/hooks/useToggle.html index 113d86deb1..1d9560acf5 100644 --- a/react/v2/hooks/useToggle.html +++ b/react/v2/hooks/useToggle.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/icons.html b/react/v2/icons.html index d3a8a117a2..b8713e53ff 100644 --- a/react/v2/icons.html +++ b/react/v2/icons.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/icons/svg-icon.html b/react/v2/icons/svg-icon.html index e1f2373f1a..183e71af99 100644 --- a/react/v2/icons/svg-icon.html +++ b/react/v2/icons/svg-icon.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/index.html b/react/v2/index.html index aa3558b35e..2f55b28c8c 100644 --- a/react/v2/index.html +++ b/react/v2/index.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/migrations.html b/react/v2/migrations.html index 87ad1c1ea7..2d31d96abd 100644 --- a/react/v2/migrations.html +++ b/react/v2/migrations.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/migrations/migrating-from-v0-to-v1.html b/react/v2/migrations/migrating-from-v0-to-v1.html index 447efd65d7..fda1ba93a4 100644 --- a/react/v2/migrations/migrating-from-v0-to-v1.html +++ b/react/v2/migrations/migrating-from-v0-to-v1.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/migrations/migrating-from-v1-to-v2.html b/react/v2/migrations/migrating-from-v1-to-v2.html index 038c091ae9..2eb2da05f7 100644 --- a/react/v2/migrations/migrating-from-v1-to-v2.html +++ b/react/v2/migrations/migrating-from-v1-to-v2.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/patterns.html b/react/v2/patterns.html index acc1213807..d99dba3be3 100644 --- a/react/v2/patterns.html +++ b/react/v2/patterns.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/patterns/notification.html b/react/v2/patterns/notification.html index 901ec6f7a7..421ba7d192 100644 --- a/react/v2/patterns/notification.html +++ b/react/v2/patterns/notification.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/patterns/table-display.html b/react/v2/patterns/table-display.html index a747ba024e..57dfba2164 100644 --- a/react/v2/patterns/table-display.html +++ b/react/v2/patterns/table-display.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/playground.html b/react/v2/playground.html index ddb1b87f00..7116b90dd7 100644 --- a/react/v2/playground.html +++ b/react/v2/playground.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/playground/othello.html b/react/v2/playground/othello.html index fa02cf0490..edda02f188 100644 --- a/react/v2/playground/othello.html +++ b/react/v2/playground/othello.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/styled-system.html b/react/v2/styled-system.html index c68440d9cb..49fcbf51dc 100644 --- a/react/v2/styled-system.html +++ b/react/v2/styled-system.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/styled-system/pseudo-style-props.html b/react/v2/styled-system/pseudo-style-props.html index c00b7dcab0..c9a4dacb20 100644 --- a/react/v2/styled-system/pseudo-style-props.html +++ b/react/v2/styled-system/pseudo-style-props.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/styled-system/responsive-values.html b/react/v2/styled-system/responsive-values.html index b937bc94d6..fdf4e5c6df 100644 --- a/react/v2/styled-system/responsive-values.html +++ b/react/v2/styled-system/responsive-values.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/styled-system/style-props.html b/react/v2/styled-system/style-props.html index 6f32557d3e..0dc77b1925 100644 --- a/react/v2/styled-system/style-props.html +++ b/react/v2/styled-system/style-props.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme.html b/react/v2/theme.html index 9f53e2621c..fbeb7ccfd5 100644 --- a/react/v2/theme.html +++ b/react/v2/theme.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/borders.html b/react/v2/theme/borders.html index a5a48ea68f..bd51952fb0 100644 --- a/react/v2/theme/borders.html +++ b/react/v2/theme/borders.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/breakpoints.html b/react/v2/theme/breakpoints.html index fb9176dd01..cc8fcf2a35 100644 --- a/react/v2/theme/breakpoints.html +++ b/react/v2/theme/breakpoints.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/colors.html b/react/v2/theme/colors.html index 9bf5d1c4a3..bc237e0c70 100644 --- a/react/v2/theme/colors.html +++ b/react/v2/theme/colors.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/font-sizes.html b/react/v2/theme/font-sizes.html index 575e7c998c..1330051851 100644 --- a/react/v2/theme/font-sizes.html +++ b/react/v2/theme/font-sizes.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/font-weights.html b/react/v2/theme/font-weights.html index 78a768ed79..4ce953b732 100644 --- a/react/v2/theme/font-weights.html +++ b/react/v2/theme/font-weights.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/fonts.html b/react/v2/theme/fonts.html index b5493fc526..79b5cf9030 100644 --- a/react/v2/theme/fonts.html +++ b/react/v2/theme/fonts.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/letter-spacings.html b/react/v2/theme/letter-spacings.html index 5a33e9f7e0..bf6ed457e5 100644 --- a/react/v2/theme/letter-spacings.html +++ b/react/v2/theme/letter-spacings.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/line-heights.html b/react/v2/theme/line-heights.html index efd2138f5c..28c636503c 100644 --- a/react/v2/theme/line-heights.html +++ b/react/v2/theme/line-heights.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/outlines.html b/react/v2/theme/outlines.html index cb03caa141..dbb9b1b146 100644 --- a/react/v2/theme/outlines.html +++ b/react/v2/theme/outlines.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/radii.html b/react/v2/theme/radii.html index a15f122080..e918208e75 100644 --- a/react/v2/theme/radii.html +++ b/react/v2/theme/radii.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/shadows.html b/react/v2/theme/shadows.html index 304e3bb4a2..da65a7a339 100644 --- a/react/v2/theme/shadows.html +++ b/react/v2/theme/shadows.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/sizes.html b/react/v2/theme/sizes.html index 834b43b5d9..fd30c04a48 100644 --- a/react/v2/theme/sizes.html +++ b/react/v2/theme/sizes.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/space.html b/react/v2/theme/space.html index 36dfcd6139..000124f749 100644 --- a/react/v2/theme/space.html +++ b/react/v2/theme/space.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file diff --git a/react/v2/theme/z-indices.html b/react/v2/theme/z-indices.html index 16c7fb305f..1cebbceb43 100644 --- a/react/v2/theme/z-indices.html +++ b/react/v2/theme/z-indices.html @@ -1,10 +1,10 @@ -
\ No newline at end of file +})('system');
\ No newline at end of file