@oncehub/ui-react 1.4.1-beta.1.2 → 1.4.1-beta.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-react.es.js +400 -401
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +8 -8
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-react.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.tw-pointer-events-none{pointer-events:none}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-inset-y-0{top:0;bottom:0}.tw-left-\\[-9999px\\]{left:-9999px}.tw-right-0{right:0}.tw-mr-2{margin-right:.5rem}.tw-block{display:block}.tw-flex{display:flex}.tw-h-0{height:0px}.tw-h-10{height:2.5rem}.tw-h-20{height:5rem}.tw-h-5{height:1.25rem}.tw-h-full{height:100%}.tw-max-h-\\[200px\\]{max-height:200px}.tw-max-h-\\[210px\\]{max-height:210px}.tw-w-0{width:0px}.tw-w-5{width:1.25rem}.tw-w-full{width:100%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-default{cursor:default}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-border-0{border-width:0px}.tw-border-x-0{border-left-width:0px;border-right-width:0px}.tw-border-b{border-bottom-width:1px}.tw-border-b-2{border-bottom-width:2px}.tw-border-b-\\[1px\\]{border-bottom-width:1px}.tw-border-t{border-top-width:1px}.tw-border-t-2{border-top-width:2px}.tw-border-solid{border-style:solid}.tw-border-b-\\[\\#006bb1\\]{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.tw-border-b-\\[\\#333333\\]{--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity))}.tw-border-t-transparent{border-top-color:transparent}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.tw-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.tw-py-1{padding-top:.25rem;padding-bottom:.25rem}.tw-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pb-2{padding-bottom:.5rem}.tw-pb-\\[10px\\]{padding-bottom:10px}.tw-pl-4{padding-left:1rem}.tw-pl-\\[10px\\]{padding-left:10px}.tw-pr-10{padding-right:2.5rem}.tw-pr-2{padding-right:.5rem}.tw-pr-4{padding-right:1rem}.tw-pr-8{padding-right:2rem}.tw-pt-2{padding-top:.5rem}.tw-pt-\\[10px\\]{padding-top:10px}.tw-text-left{text-align:left}.tw-text-base{font-size:1rem;line-height:1.5rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-leading-5{line-height:1.25rem}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.tw-text-\\[\\#A7A7A7\\]{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity))}.tw-placeholder-\\[\\#666666\\]::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}.tw-opacity-0{opacity:0}.tw-opacity-100{opacity:1}.tw-shadow-\\[0_1px_6px_0_rgba\\(0\\,0\\,0\\,0\\.5\\)\\]{--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.tw-shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.tw-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.tw-duration-100{transition-duration:.1s}.tw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.focus\\:tw-border-b-2:focus{border-bottom-width:2px}.focus\\:tw-border-t-2:focus{border-top-width:2px}.focus\\:tw-border-b-\\[\\#006bb1\\]:focus{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.focus\\:tw-py-\\[5px\\]:focus{padding-top:5px;padding-bottom:5px}.focus\\:tw-pb-\\[7px\\]:focus{padding-bottom:7px}.focus\\:tw-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:tw-ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:tw-ring-\\[0px\\]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:tw-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:tw-ring-\\[0px\\]:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:tw-ring-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(223 223 223 / var(--tw-ring-opacity)) }.focus-visible\\:tw-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px }.focus-visible\\:tw-ring-offset-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-offset-color: #DFDFDF }@media (min-width: 640px){.sm\\:tw-text-sm{font-size:.875rem;line-height:1.25rem}}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-rounded-md::-webkit-scrollbar-thumb{border-radius:.375rem}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-bg-\\[\\#a9a9a9\\]::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity))}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:tw-w-\\[6px\\]::-webkit-scrollbar{width:6px}._button_1q2ge_1{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;text-align:center;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._button_1q2ge_1:hover{text-decoration-line:underline}._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._primary_1q2ge_5:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(200 200 200 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._secondary_1q2ge_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(200 200 200 / var(--tw-text-opacity))}._secondary_1q2ge_12:disabled:hover{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_1jaci_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-width:0px}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{opacity:1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{animation:.18s linear 0ms _checkboxUncheckedChecked_1jaci_1;stroke-dashoffset:0}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:disabled+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity));background-color:transparent}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{position:absolute;inset:0;width:100%}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10:focus-visible ._checkboxFrame_1jaci_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._visuallyHidden_1jaci_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53{pointer-events:none;cursor:default}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{height:1rem;width:1rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4>span{width:calc(100% - 28px);font-size:1rem;line-height:1.5rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_1jaci_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_1if8o_1,._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4{position:relative;width:100%}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7._focused_1if8o_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7._placeholder_1if8o_16{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._dropDownIcon_1if8o_19{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_1if8o_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_1if8o_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_1if8o_23._top_1if8o_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._searchInputWrap_1if8o_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._searchInputWrap_1if8o_32 ._searchInput_1if8o_32{height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ul{margin:0;padding:0}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23{box-sizing:border-box;display:flex;height:38px;list-style-type:none;align-items:center;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23 span{display:block;width:calc(100% - 22px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23:hover,._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23._focused_1if8o_13{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}._optionsListContainer_1if8o_23 ._btnContainer_1if8o_53{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity));padding-left:18px;padding-right:18px}._optionsListContainer_1if8o_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_1if8o_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._pseudoCheckbox_1tuhb_1{position:relative;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity))}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4{opacity:1}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{animation:.18s linear 0ms _checkboxUncheckedChecked_1tuhb_1;stroke-dashoffset:0}._pseudoCheckbox_1tuhb_1._checkboxDisabled_1tuhb_22{pointer-events:none;cursor:default;--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}@keyframes _checkboxUncheckedChecked_1tuhb_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_owbxn_1{position:relative}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:8px 14px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._selected_owbxn_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._disabled_owbxn_16{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_j8hf5_1{position:relative}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._selected_j8hf5_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;border-right-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-border-opacity: 1;border-top-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_j8hf5_1{to{transform:rotate(360deg)}}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{animation:_tw-spin_j8hf5_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;border-color:rgb(255 255 255 / var(--tw-border-opacity));--tw-border-opacity: 1;border-right-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22{display:block;animation:_fill_j8hf5_1 .4s ease-in-out .4s forwards,_scale_j8hf5_1 .3s ease-in-out .9s both;border-radius:50%;--tw-shadow: inset 0px 0px 0px transparent;--tw-shadow-colored: inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);stroke-miterlimit:10}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22 ._checkmarkCheck_j8hf5_29{transform-origin:50% 50%;animation:_stroke_j8hf5_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._disabled_j8hf5_34{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_j8hf5_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_j8hf5_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_j8hf5_1{to{stroke-dashoffset:0}}._scrollbarContainer_er2uj_1{overflow-y:scroll;scrollbar-color:#ccc transparent;scrollbar-width:thin}._scrollbarContainer_er2uj_1::-webkit-scrollbar{width:12px;scrollbar-width:thin}._scrollbarContainer_er2uj_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_er2uj_1::-webkit-scrollbar-thumb{background-color:#ccc!important;scrollbar-color:#ccc;border:3px #fff solid;border-radius:15px}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.tw-pointer-events-none{pointer-events:none}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-inset-y-0{top:0;bottom:0}.tw-left-\\[-9999px\\]{left:-9999px}.tw-right-0{right:0}.tw-mr-2{margin-right:.5rem}.tw-block{display:block}.tw-flex{display:flex}.tw-h-0{height:0px}.tw-h-10{height:2.5rem}.tw-h-20{height:5rem}.tw-h-5{height:1.25rem}.tw-h-full{height:100%}.tw-max-h-\\[200px\\]{max-height:200px}.tw-max-h-\\[210px\\]{max-height:210px}.tw-w-0{width:0px}.tw-w-5{width:1.25rem}.tw-w-full{width:100%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-default{cursor:default}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-border-0{border-width:0px}.tw-border-x-0{border-left-width:0px;border-right-width:0px}.tw-border-b{border-bottom-width:1px}.tw-border-b-2{border-bottom-width:2px}.tw-border-b-\\[1px\\]{border-bottom-width:1px}.tw-border-t{border-top-width:1px}.tw-border-t-2{border-top-width:2px}.tw-border-solid{border-style:solid}.tw-border-b-\\[\\#006bb1\\]{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.tw-border-b-\\[\\#333333\\]{--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity))}.tw-border-t-transparent{border-top-color:transparent}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.tw-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.tw-py-1{padding-top:.25rem;padding-bottom:.25rem}.tw-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pb-2{padding-bottom:.5rem}.tw-pb-\\[10px\\]{padding-bottom:10px}.tw-pl-4{padding-left:1rem}.tw-pl-\\[10px\\]{padding-left:10px}.tw-pr-10{padding-right:2.5rem}.tw-pr-2{padding-right:.5rem}.tw-pr-4{padding-right:1rem}.tw-pr-8{padding-right:2rem}.tw-pt-2{padding-top:.5rem}.tw-pt-\\[10px\\]{padding-top:10px}.tw-text-left{text-align:left}.tw-text-base{font-size:1rem;line-height:1.5rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-leading-5{line-height:1.25rem}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.tw-text-\\[\\#A7A7A7\\]{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity))}.tw-placeholder-\\[\\#666666\\]::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}.tw-opacity-0{opacity:0}.tw-opacity-100{opacity:1}.tw-shadow-\\[0_1px_6px_0_rgba\\(0\\,0\\,0\\,0\\.5\\)\\]{--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.tw-shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.tw-transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.tw-duration-100{transition-duration:.1s}.tw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.focus\\:tw-border-b-2:focus{border-bottom-width:2px}.focus\\:tw-border-t-2:focus{border-top-width:2px}.focus\\:tw-border-b-\\[\\#006bb1\\]:focus{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.focus\\:tw-py-\\[5px\\]:focus{padding-top:5px;padding-bottom:5px}.focus\\:tw-pb-\\[7px\\]:focus{padding-bottom:7px}.focus\\:tw-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:tw-ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:tw-ring-\\[0px\\]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:tw-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:tw-ring-\\[0px\\]:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:tw-ring-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(223 223 223 / var(--tw-ring-opacity)) }.focus-visible\\:tw-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px }.focus-visible\\:tw-ring-offset-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-offset-color: #DFDFDF }@media (min-width: 640px){.sm\\:tw-text-sm{font-size:.875rem;line-height:1.25rem}}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-rounded-md::-webkit-scrollbar-thumb{border-radius:.375rem}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-bg-\\[\\#a9a9a9\\]::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity))}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:tw-w-\\[6px\\]::-webkit-scrollbar{width:6px}._button_1q2ge_1{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;text-align:center;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._button_1q2ge_1:hover{text-decoration-line:underline}._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._primary_1q2ge_5:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(200 200 200 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._secondary_1q2ge_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(200 200 200 / var(--tw-text-opacity))}._secondary_1q2ge_12:disabled:hover{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_1jaci_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-width:0px}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{opacity:1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{animation:.18s linear 0ms _checkboxUncheckedChecked_1jaci_1;stroke-dashoffset:0}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:disabled+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity));background-color:transparent}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{position:absolute;inset:0;width:100%}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10:focus-visible ._checkboxFrame_1jaci_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._visuallyHidden_1jaci_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53{pointer-events:none;cursor:default}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{height:1rem;width:1rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4>span{width:calc(100% - 28px);font-size:1rem;line-height:1.5rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_1jaci_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_o3j9t_1,._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4{position:relative;width:100%}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7._focused_o3j9t_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._dropDownIcon_o3j9t_16{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_o3j9t_20{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_o3j9t_20:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_o3j9t_20._top_o3j9t_23{transform:translateY(calc(-100% - 40px))}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._searchInputWrap_o3j9t_29{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._searchInputWrap_o3j9t_29 ._searchInput_o3j9t_29{height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20{display:flex;height:38px;list-style-type:none;align-items:center;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20 span{display:block;width:calc(100% - 22px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20:hover,._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20._focused_o3j9t_13{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}._optionsListContainer_o3j9t_20 ._btnContainer_o3j9t_47{position:absolute;left:0;right:0;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity));padding-left:18px;padding-right:18px}._optionsListContainer_o3j9t_20 ::-webkit-scrollbar{width:6px}._optionsListContainer_o3j9t_20 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._pseudoCheckbox_1tuhb_1{position:relative;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity))}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4{opacity:1}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{animation:.18s linear 0ms _checkboxUncheckedChecked_1tuhb_1;stroke-dashoffset:0}._pseudoCheckbox_1tuhb_1._checkboxDisabled_1tuhb_22{pointer-events:none;cursor:default;--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}@keyframes _checkboxUncheckedChecked_1tuhb_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_owbxn_1{position:relative}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:8px 14px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._selected_owbxn_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._disabled_owbxn_16{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_j8hf5_1{position:relative}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._selected_j8hf5_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;border-right-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-border-opacity: 1;border-top-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_j8hf5_1{to{transform:rotate(360deg)}}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{animation:_tw-spin_j8hf5_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;border-color:rgb(255 255 255 / var(--tw-border-opacity));--tw-border-opacity: 1;border-right-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22{display:block;animation:_fill_j8hf5_1 .4s ease-in-out .4s forwards,_scale_j8hf5_1 .3s ease-in-out .9s both;border-radius:50%;--tw-shadow: inset 0px 0px 0px transparent;--tw-shadow-colored: inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);stroke-miterlimit:10}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22 ._checkmarkCheck_j8hf5_29{transform-origin:50% 50%;animation:_stroke_j8hf5_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._disabled_j8hf5_34{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_j8hf5_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_j8hf5_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_j8hf5_1{to{stroke-dashoffset:0}}._scrollbarContainer_zhyhn_1{overflow-y:auto}._scrollbarContainer_zhyhn_1::-webkit-scrollbar{width:10px}._scrollbarContainer_zhyhn_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_zhyhn_1::-webkit-scrollbar-thumb{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_zhyhn_1{@supports not selector(: : -webkit-scrollbar){scrollbar-color:#ccc transparent;scrollbar-width:thin}}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
import * as tt from "react";
|
|
3
|
-
import ce, { forwardRef as ct, useState as oe, useEffect as ae, useRef as j, useLayoutEffect as ji, Fragment as rt, isValidElement as Li, cloneElement as Fi, createElement as Ai, createContext as vt, useContext as ut, useMemo as ke, useReducer as en, createRef as tn, useCallback as
|
|
3
|
+
import ce, { forwardRef as ct, useState as oe, useEffect as ae, useRef as j, useLayoutEffect as ji, Fragment as rt, isValidElement as Li, cloneElement as Fi, createElement as Ai, createContext as vt, useContext as ut, useMemo as ke, useReducer as en, createRef as tn, useCallback as gt } from "react";
|
|
4
4
|
import { createPortal as mr } from "react-dom";
|
|
5
5
|
var Ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ur = { exports: {} }, Et = {};
|
|
6
6
|
/**
|
|
@@ -47,25 +47,25 @@ function Mi() {
|
|
|
47
47
|
function p(l) {
|
|
48
48
|
if (l === null || typeof l != "object")
|
|
49
49
|
return null;
|
|
50
|
-
var
|
|
51
|
-
return typeof
|
|
50
|
+
var g = a && l[a] || l[u];
|
|
51
|
+
return typeof g == "function" ? g : null;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
54
|
function S(l) {
|
|
55
55
|
{
|
|
56
|
-
for (var
|
|
56
|
+
for (var g = arguments.length, T = new Array(g > 1 ? g - 1 : 0), D = 1; D < g; D++)
|
|
57
57
|
T[D - 1] = arguments[D];
|
|
58
58
|
x("error", l, T);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function x(l,
|
|
61
|
+
function x(l, g, T) {
|
|
62
62
|
{
|
|
63
|
-
var D =
|
|
64
|
-
X !== "" && (
|
|
63
|
+
var D = w.ReactDebugCurrentFrame, X = D.getStackAddendum();
|
|
64
|
+
X !== "" && (g += "%s", T = T.concat([X]));
|
|
65
65
|
var se = T.map(function(K) {
|
|
66
66
|
return String(K);
|
|
67
67
|
});
|
|
68
|
-
se.unshift("Warning: " +
|
|
68
|
+
se.unshift("Warning: " + g), Function.prototype.apply.call(console[l], console, se);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
var y = !1, F = !1, P = !1, q = !1, $ = !1, C;
|
|
@@ -77,11 +77,11 @@ function Mi() {
|
|
|
77
77
|
// with.
|
|
78
78
|
l.$$typeof === C || l.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
|
-
function de(l,
|
|
80
|
+
function de(l, g, T) {
|
|
81
81
|
var D = l.displayName;
|
|
82
82
|
if (D)
|
|
83
83
|
return D;
|
|
84
|
-
var X =
|
|
84
|
+
var X = g.displayName || g.name || "";
|
|
85
85
|
return X !== "" ? T + "(" + X + ")" : T;
|
|
86
86
|
}
|
|
87
87
|
function Z(l) {
|
|
@@ -111,8 +111,8 @@ function Mi() {
|
|
|
111
111
|
if (typeof l == "object")
|
|
112
112
|
switch (l.$$typeof) {
|
|
113
113
|
case f:
|
|
114
|
-
var
|
|
115
|
-
return Z(
|
|
114
|
+
var g = l;
|
|
115
|
+
return Z(g) + ".Consumer";
|
|
116
116
|
case o:
|
|
117
117
|
var T = l;
|
|
118
118
|
return Z(T._context) + ".Provider";
|
|
@@ -194,8 +194,8 @@ function Mi() {
|
|
|
194
194
|
re < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
var V =
|
|
198
|
-
function Ce(l,
|
|
197
|
+
var V = w.ReactCurrentDispatcher, xe;
|
|
198
|
+
function Ce(l, g, T) {
|
|
199
199
|
{
|
|
200
200
|
if (xe === void 0)
|
|
201
201
|
try {
|
|
@@ -213,7 +213,7 @@ function Mi() {
|
|
|
213
213
|
var E = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
214
|
Xe = new E();
|
|
215
215
|
}
|
|
216
|
-
function W(l,
|
|
216
|
+
function W(l, g) {
|
|
217
217
|
if (!l || ot)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
@@ -228,7 +228,7 @@ function Mi() {
|
|
|
228
228
|
var se;
|
|
229
229
|
se = V.current, V.current = null, _();
|
|
230
230
|
try {
|
|
231
|
-
if (
|
|
231
|
+
if (g) {
|
|
232
232
|
var K = function() {
|
|
233
233
|
throw Error();
|
|
234
234
|
};
|
|
@@ -263,35 +263,35 @@ function Mi() {
|
|
|
263
263
|
if (et && D && typeof et.stack == "string") {
|
|
264
264
|
for (var H = et.stack.split(`
|
|
265
265
|
`), Ie = D.stack.split(`
|
|
266
|
-
`),
|
|
266
|
+
`), we = H.length - 1, Oe = Ie.length - 1; we >= 1 && Oe >= 0 && H[we] !== Ie[Oe]; )
|
|
267
267
|
Oe--;
|
|
268
|
-
for (;
|
|
269
|
-
if (H[
|
|
270
|
-
if (
|
|
268
|
+
for (; we >= 1 && Oe >= 0; we--, Oe--)
|
|
269
|
+
if (H[we] !== Ie[Oe]) {
|
|
270
|
+
if (we !== 1 || Oe !== 1)
|
|
271
271
|
do
|
|
272
|
-
if (
|
|
272
|
+
if (we--, Oe--, Oe < 0 || H[we] !== Ie[Oe]) {
|
|
273
273
|
var Be = `
|
|
274
|
-
` + H[
|
|
274
|
+
` + H[we].replace(" at new ", " at ");
|
|
275
275
|
return l.displayName && Be.includes("<anonymous>") && (Be = Be.replace("<anonymous>", l.displayName)), typeof l == "function" && Xe.set(l, Be), Be;
|
|
276
276
|
}
|
|
277
|
-
while (
|
|
277
|
+
while (we >= 1 && Oe >= 0);
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
282
|
ot = !1, V.current = se, I(), Error.prepareStackTrace = X;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
284
|
+
var wt = l ? l.displayName || l.name : "", Dr = wt ? Ce(wt) : "";
|
|
285
285
|
return typeof l == "function" && Xe.set(l, Dr), Dr;
|
|
286
286
|
}
|
|
287
|
-
function ye(l,
|
|
287
|
+
function ye(l, g, T) {
|
|
288
288
|
return W(l, !1);
|
|
289
289
|
}
|
|
290
290
|
function he(l) {
|
|
291
|
-
var
|
|
292
|
-
return !!(
|
|
291
|
+
var g = l.prototype;
|
|
292
|
+
return !!(g && g.isReactComponent);
|
|
293
293
|
}
|
|
294
|
-
function De(l,
|
|
294
|
+
function De(l, g, T) {
|
|
295
295
|
if (l == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof l == "function")
|
|
@@ -309,28 +309,28 @@ function Mi() {
|
|
|
309
309
|
case b:
|
|
310
310
|
return ye(l.render);
|
|
311
311
|
case h:
|
|
312
|
-
return De(l.type,
|
|
312
|
+
return De(l.type, g, T);
|
|
313
313
|
case s: {
|
|
314
314
|
var D = l, X = D._payload, se = D._init;
|
|
315
315
|
try {
|
|
316
|
-
return De(se(X),
|
|
316
|
+
return De(se(X), g, T);
|
|
317
317
|
} catch {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var
|
|
323
|
+
var Le = Object.prototype.hasOwnProperty, We = {}, Re = w.ReactDebugCurrentFrame;
|
|
324
324
|
function Ze(l) {
|
|
325
325
|
if (l) {
|
|
326
|
-
var
|
|
326
|
+
var g = l._owner, T = De(l.type, l._source, g ? g.type : null);
|
|
327
327
|
Re.setExtraStackFrame(T);
|
|
328
328
|
} else
|
|
329
329
|
Re.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function Nt(l,
|
|
331
|
+
function Nt(l, g, T, D, X) {
|
|
332
332
|
{
|
|
333
|
-
var se = Function.call.bind(
|
|
333
|
+
var se = Function.call.bind(Le);
|
|
334
334
|
for (var K in l)
|
|
335
335
|
if (se(l, K)) {
|
|
336
336
|
var H = void 0;
|
|
@@ -339,9 +339,9 @@ function Mi() {
|
|
|
339
339
|
var Ie = Error((D || "React class") + ": " + T + " type `" + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[K] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
340
340
|
throw Ie.name = "Invariant Violation", Ie;
|
|
341
341
|
}
|
|
342
|
-
H = l[K](
|
|
343
|
-
} catch (
|
|
344
|
-
H =
|
|
342
|
+
H = l[K](g, K, D, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
|
+
} catch (we) {
|
|
344
|
+
H = we;
|
|
345
345
|
}
|
|
346
346
|
H && !(H instanceof Error) && (Ze(X), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", T, K, typeof H), Ze(null)), H instanceof Error && !(H.message in We) && (We[H.message] = !0, Ze(X), S("Failed %s type: %s", T, H.message), Ze(null));
|
|
347
347
|
}
|
|
@@ -353,7 +353,7 @@ function Mi() {
|
|
|
353
353
|
}
|
|
354
354
|
function at(l) {
|
|
355
355
|
{
|
|
356
|
-
var
|
|
356
|
+
var g = typeof Symbol == "function" && Symbol.toStringTag, T = g && l[Symbol.toStringTag] || l.constructor.name || "Object";
|
|
357
357
|
return T;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -371,7 +371,7 @@ function Mi() {
|
|
|
371
371
|
if (mt(l))
|
|
372
372
|
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(l)), U(l);
|
|
373
373
|
}
|
|
374
|
-
var A =
|
|
374
|
+
var A = w.ReactCurrentOwner, ie = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
@@ -379,31 +379,31 @@ function Mi() {
|
|
|
379
379
|
}, qe, Me, Y;
|
|
380
380
|
Y = {};
|
|
381
381
|
function N(l) {
|
|
382
|
-
if (
|
|
383
|
-
var
|
|
384
|
-
if (
|
|
382
|
+
if (Le.call(l, "ref")) {
|
|
383
|
+
var g = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
384
|
+
if (g && g.isReactWarning)
|
|
385
385
|
return !1;
|
|
386
386
|
}
|
|
387
387
|
return l.ref !== void 0;
|
|
388
388
|
}
|
|
389
389
|
function Ve(l) {
|
|
390
|
-
if (
|
|
391
|
-
var
|
|
392
|
-
if (
|
|
390
|
+
if (Le.call(l, "key")) {
|
|
391
|
+
var g = Object.getOwnPropertyDescriptor(l, "key").get;
|
|
392
|
+
if (g && g.isReactWarning)
|
|
393
393
|
return !1;
|
|
394
394
|
}
|
|
395
395
|
return l.key !== void 0;
|
|
396
396
|
}
|
|
397
|
-
function St(l,
|
|
398
|
-
if (typeof l.ref == "string" && A.current &&
|
|
397
|
+
function St(l, g) {
|
|
398
|
+
if (typeof l.ref == "string" && A.current && g && A.current.stateNode !== g) {
|
|
399
399
|
var T = k(A.current.type);
|
|
400
400
|
Y[T] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(A.current.type), l.ref), Y[T] = !0);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function Mt(l,
|
|
403
|
+
function Mt(l, g) {
|
|
404
404
|
{
|
|
405
405
|
var T = function() {
|
|
406
|
-
qe || (qe = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
406
|
+
qe || (qe = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
|
|
407
407
|
};
|
|
408
408
|
T.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
409
409
|
get: T,
|
|
@@ -411,10 +411,10 @@ function Mi() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function yi(l,
|
|
414
|
+
function yi(l, g) {
|
|
415
415
|
{
|
|
416
416
|
var T = function() {
|
|
417
|
-
Me || (Me = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
417
|
+
Me || (Me = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
|
|
418
418
|
};
|
|
419
419
|
T.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
420
420
|
get: T,
|
|
@@ -422,13 +422,13 @@ function Mi() {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var Oi = function(l,
|
|
425
|
+
var Oi = function(l, g, T, D, X, se, K) {
|
|
426
426
|
var H = {
|
|
427
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
428
|
$$typeof: t,
|
|
429
429
|
// Built-in properties that belong on the element
|
|
430
430
|
type: l,
|
|
431
|
-
key:
|
|
431
|
+
key: g,
|
|
432
432
|
ref: T,
|
|
433
433
|
props: K,
|
|
434
434
|
// Record the component responsible for creating this element.
|
|
@@ -451,16 +451,16 @@ function Mi() {
|
|
|
451
451
|
value: X
|
|
452
452
|
}), Object.freeze && (Object.freeze(H.props), Object.freeze(H)), H;
|
|
453
453
|
};
|
|
454
|
-
function ki(l,
|
|
454
|
+
function ki(l, g, T, D, X) {
|
|
455
455
|
{
|
|
456
456
|
var se, K = {}, H = null, Ie = null;
|
|
457
|
-
T !== void 0 && (J(T), H = "" + T), Ve(
|
|
458
|
-
for (se in
|
|
459
|
-
|
|
457
|
+
T !== void 0 && (J(T), H = "" + T), Ve(g) && (J(g.key), H = "" + g.key), N(g) && (Ie = g.ref, St(g, X));
|
|
458
|
+
for (se in g)
|
|
459
|
+
Le.call(g, se) && !ie.hasOwnProperty(se) && (K[se] = g[se]);
|
|
460
460
|
if (l && l.defaultProps) {
|
|
461
|
-
var
|
|
462
|
-
for (se in
|
|
463
|
-
K[se] === void 0 && (K[se] =
|
|
461
|
+
var we = l.defaultProps;
|
|
462
|
+
for (se in we)
|
|
463
|
+
K[se] === void 0 && (K[se] = we[se]);
|
|
464
464
|
}
|
|
465
465
|
if (H || Ie) {
|
|
466
466
|
var Oe = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
@@ -469,10 +469,10 @@ function Mi() {
|
|
|
469
469
|
return Oi(l, H, Ie, X, D, A.current, K);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
var tr =
|
|
472
|
+
var tr = w.ReactCurrentOwner, Ir = w.ReactDebugCurrentFrame;
|
|
473
473
|
function ht(l) {
|
|
474
474
|
if (l) {
|
|
475
|
-
var
|
|
475
|
+
var g = l._owner, T = De(l.type, l._source, g ? g.type : null);
|
|
476
476
|
Ir.setExtraStackFrame(T);
|
|
477
477
|
} else
|
|
478
478
|
Ir.setExtraStackFrame(null);
|
|
@@ -497,10 +497,10 @@ Check the render method of \`` + l + "`.";
|
|
|
497
497
|
function Si(l) {
|
|
498
498
|
{
|
|
499
499
|
if (l !== void 0) {
|
|
500
|
-
var
|
|
500
|
+
var g = l.fileName.replace(/^.*[\\\/]/, ""), T = l.lineNumber;
|
|
501
501
|
return `
|
|
502
502
|
|
|
503
|
-
Check your code at ` +
|
|
503
|
+
Check your code at ` + g + ":" + T + ".";
|
|
504
504
|
}
|
|
505
505
|
return "";
|
|
506
506
|
}
|
|
@@ -508,22 +508,22 @@ Check your code at ` + w + ":" + T + ".";
|
|
|
508
508
|
var Lr = {};
|
|
509
509
|
function Ei(l) {
|
|
510
510
|
{
|
|
511
|
-
var
|
|
512
|
-
if (!
|
|
511
|
+
var g = jr();
|
|
512
|
+
if (!g) {
|
|
513
513
|
var T = typeof l == "string" ? l : l.displayName || l.name;
|
|
514
|
-
T && (
|
|
514
|
+
T && (g = `
|
|
515
515
|
|
|
516
516
|
Check the top-level render call using <` + T + ">.");
|
|
517
517
|
}
|
|
518
|
-
return
|
|
518
|
+
return g;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function Fr(l,
|
|
521
|
+
function Fr(l, g) {
|
|
522
522
|
{
|
|
523
523
|
if (!l._store || l._store.validated || l.key != null)
|
|
524
524
|
return;
|
|
525
525
|
l._store.validated = !0;
|
|
526
|
-
var T = Ei(
|
|
526
|
+
var T = Ei(g);
|
|
527
527
|
if (Lr[T])
|
|
528
528
|
return;
|
|
529
529
|
Lr[T] = !0;
|
|
@@ -531,14 +531,14 @@ Check the top-level render call using <` + T + ">.");
|
|
|
531
531
|
l && l._owner && l._owner !== tr.current && (D = " It was passed a child from " + k(l._owner.type) + "."), ht(l), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, D), ht(null);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function Ar(l,
|
|
534
|
+
function Ar(l, g) {
|
|
535
535
|
{
|
|
536
536
|
if (typeof l != "object")
|
|
537
537
|
return;
|
|
538
538
|
if (Pe(l))
|
|
539
539
|
for (var T = 0; T < l.length; T++) {
|
|
540
540
|
var D = l[T];
|
|
541
|
-
nr(D) && Fr(D,
|
|
541
|
+
nr(D) && Fr(D, g);
|
|
542
542
|
}
|
|
543
543
|
else if (nr(l))
|
|
544
544
|
l._store && (l._store.validated = !0);
|
|
@@ -546,39 +546,39 @@ Check the top-level render call using <` + T + ">.");
|
|
|
546
546
|
var X = p(l);
|
|
547
547
|
if (typeof X == "function" && X !== l.entries)
|
|
548
548
|
for (var se = X.call(l), K; !(K = se.next()).done; )
|
|
549
|
-
nr(K.value) && Fr(K.value,
|
|
549
|
+
nr(K.value) && Fr(K.value, g);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
function Ti(l) {
|
|
554
554
|
{
|
|
555
|
-
var
|
|
556
|
-
if (
|
|
555
|
+
var g = l.type;
|
|
556
|
+
if (g == null || typeof g == "string")
|
|
557
557
|
return;
|
|
558
558
|
var T;
|
|
559
|
-
if (typeof
|
|
560
|
-
T =
|
|
561
|
-
else if (typeof
|
|
559
|
+
if (typeof g == "function")
|
|
560
|
+
T = g.propTypes;
|
|
561
|
+
else if (typeof g == "object" && (g.$$typeof === b || // Note: Memo only checks outer props here.
|
|
562
562
|
// Inner props are checked in the reconciler.
|
|
563
|
-
|
|
564
|
-
T =
|
|
563
|
+
g.$$typeof === h))
|
|
564
|
+
T = g.propTypes;
|
|
565
565
|
else
|
|
566
566
|
return;
|
|
567
567
|
if (T) {
|
|
568
|
-
var D = k(
|
|
568
|
+
var D = k(g);
|
|
569
569
|
Nt(T, l.props, "prop", D, l);
|
|
570
|
-
} else if (
|
|
570
|
+
} else if (g.PropTypes !== void 0 && !rr) {
|
|
571
571
|
rr = !0;
|
|
572
|
-
var X = k(
|
|
572
|
+
var X = k(g);
|
|
573
573
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", X || "Unknown");
|
|
574
574
|
}
|
|
575
|
-
typeof
|
|
575
|
+
typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
function _i(l) {
|
|
579
579
|
{
|
|
580
|
-
for (var
|
|
581
|
-
var D =
|
|
580
|
+
for (var g = Object.keys(l.props), T = 0; T < g.length; T++) {
|
|
581
|
+
var D = g[T];
|
|
582
582
|
if (D !== "children" && D !== "key") {
|
|
583
583
|
ht(l), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), ht(null);
|
|
584
584
|
break;
|
|
@@ -587,7 +587,7 @@ Check the top-level render call using <` + T + ">.");
|
|
|
587
587
|
l.ref !== null && (ht(l), S("Invalid attribute `ref` supplied to `React.Fragment`."), ht(null));
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
function Nr(l,
|
|
590
|
+
function Nr(l, g, T, D, X, se) {
|
|
591
591
|
{
|
|
592
592
|
var K = z(l);
|
|
593
593
|
if (!K) {
|
|
@@ -595,19 +595,19 @@ Check the top-level render call using <` + T + ">.");
|
|
|
595
595
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (H += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
596
596
|
var Ie = Si(X);
|
|
597
597
|
Ie ? H += Ie : H += jr();
|
|
598
|
-
var
|
|
599
|
-
l === null ?
|
|
598
|
+
var we;
|
|
599
|
+
l === null ? we = "null" : Pe(l) ? we = "array" : l !== void 0 && l.$$typeof === t ? (we = "<" + (k(l.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : we = typeof l, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", we, H);
|
|
600
600
|
}
|
|
601
|
-
var Oe = ki(l,
|
|
601
|
+
var Oe = ki(l, g, T, X, se);
|
|
602
602
|
if (Oe == null)
|
|
603
603
|
return Oe;
|
|
604
604
|
if (K) {
|
|
605
|
-
var Be =
|
|
605
|
+
var Be = g.children;
|
|
606
606
|
if (Be !== void 0)
|
|
607
607
|
if (D)
|
|
608
608
|
if (Pe(Be)) {
|
|
609
|
-
for (var
|
|
610
|
-
Ar(Be[
|
|
609
|
+
for (var wt = 0; wt < Be.length; wt++)
|
|
610
|
+
Ar(Be[wt], l);
|
|
611
611
|
Object.freeze && Object.freeze(Be);
|
|
612
612
|
} else
|
|
613
613
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -617,11 +617,11 @@ Check the top-level render call using <` + T + ">.");
|
|
|
617
617
|
return l === n ? _i(Oe) : Ti(Oe), Oe;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function Ci(l,
|
|
621
|
-
return Nr(l,
|
|
620
|
+
function Ci(l, g, T) {
|
|
621
|
+
return Nr(l, g, T, !0);
|
|
622
622
|
}
|
|
623
|
-
function Ri(l,
|
|
624
|
-
return Nr(l,
|
|
623
|
+
function Ri(l, g, T) {
|
|
624
|
+
return Nr(l, g, T, !1);
|
|
625
625
|
}
|
|
626
626
|
var Pi = Ri, Ii = Ci;
|
|
627
627
|
Tt.Fragment = n, Tt.jsx = Pi, Tt.jsxs = Ii;
|
|
@@ -745,7 +745,7 @@ const Yi = "_checkboxLayout_1jaci_1", Ki = "_checkboxLabel_1jaci_4", Gi = "_chec
|
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
const
|
|
748
|
+
const w = c ? Ye.checkboxDisabled : "", S = [Ye.checkboxLayout, Ye[r], w, o].filter(Boolean).join(" "), x = (y) => {
|
|
749
749
|
y.key != "Enter" && (y.preventDefault(), f?.(y.target.checked), d(!s));
|
|
750
750
|
};
|
|
751
751
|
return /* @__PURE__ */ O.jsx(O.Fragment, { children: /* @__PURE__ */ O.jsx("div", { className: S, "data-testid": "checkbox", children: /* @__PURE__ */ O.jsxs("label", { className: Ye.checkboxLabel, htmlFor: n, onClick: (y) => x(y), children: [
|
|
@@ -815,7 +815,7 @@ const ao = "_textInputWrapper_1i9m6_1", so = "_textInput_1i9m6_1", Wr = {
|
|
|
815
815
|
var R = {}, dr = { exports: {} };
|
|
816
816
|
(function(e, t) {
|
|
817
817
|
(function(r, n) {
|
|
818
|
-
var i = "1.0.37", c = "", o = "?", f = "function", b = "undefined", v = "object", m = "string", h = "major", s = "model", d = "name", a = "type", u = "vendor", p = "version",
|
|
818
|
+
var i = "1.0.37", c = "", o = "?", f = "function", b = "undefined", v = "object", m = "string", h = "major", s = "model", d = "name", a = "type", u = "vendor", p = "version", w = "architecture", S = "console", x = "mobile", y = "tablet", F = "smarttv", P = "wearable", q = "embedded", $ = 500, C = "Amazon", z = "Apple", de = "ASUS", Z = "BlackBerry", k = "Browser", G = "Chrome", re = "Edge", pe = "Firefox", B = "Google", fe = "Huawei", ne = "LG", Q = "Microsoft", me = "Motorola", ve = "Opera", le = "Samsung", _ = "Sharp", I = "Sony", V = "Xiaomi", xe = "Zebra", Ce = "Facebook", ot = "Chromium OS", Xe = "Mac OS", E = function(U, J) {
|
|
819
819
|
var A = {};
|
|
820
820
|
for (var ie in U)
|
|
821
821
|
J[ie] && J[ie].length % 2 === 0 ? A[ie] = J[ie].concat(U[ie]) : A[ie] = U[ie];
|
|
@@ -830,7 +830,7 @@ var R = {}, dr = { exports: {} };
|
|
|
830
830
|
return U.toLowerCase();
|
|
831
831
|
}, De = function(U) {
|
|
832
832
|
return typeof U === m ? U.replace(/[^\d\.]/g, c).split(".")[0] : n;
|
|
833
|
-
},
|
|
833
|
+
}, Le = function(U, J) {
|
|
834
834
|
if (typeof U === m)
|
|
835
835
|
return U = U.replace(/^\s\s*/, c), typeof J === b ? U : U.substring(0, $);
|
|
836
836
|
}, We = function(U, J) {
|
|
@@ -851,7 +851,7 @@ var R = {}, dr = { exports: {} };
|
|
|
851
851
|
} else if (ye(J[A], U))
|
|
852
852
|
return A === o ? n : A;
|
|
853
853
|
return U;
|
|
854
|
-
}, Ze = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Nt = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Dt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [p, [d, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [d, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [d, p], [/opios[\/ ]+([\w\.]+)/i], [p, [d, ve + " Mini"]], [/\bopr\/([\w\.]+)/i], [p, [d, ve]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [d, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [d, p], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [d, "UC" + k]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [d, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [d, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [d, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [d, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [d, "Smart Lenovo " + k]], [/(avast|avg)\/([\w\.]+)/i], [[d, /(.+)/, "$1 Secure " + k], p], [/\bfocus\/([\w\.]+)/i], [p, [d, pe + " Focus"]], [/\bopt\/([\w\.]+)/i], [p, [d, ve + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [d, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [d, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [d, ve + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [d, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [p, [d, pe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[d, "360 " + k]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[d, /(.+)/, "$1 " + k], p], [/samsungbrowser\/([\w\.]+)/i], [p, [d, le + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[d, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [d, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[d, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [d, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [d], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[d, Ce], p], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [d, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [d, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [d, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [d, G + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[d, G + " WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [d, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [d, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [d, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, d], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [d, [p, Re, Ze]], [/(webkit|khtml)\/([\w\.]+)/i], [d, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[d, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [d, pe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [d, p], [/(cobalt)\/([\w\.]+)/i], [d, [p, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[g, "amd64"]], [/(ia32(?=;))/i], [[g, he]], [/((?:i[346]|x)86)[;\)]/i], [[g, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[g, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[g, "armhf"]], [/windows (ce|mobile); ppc;/i], [[g, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[g, /ower/, c, he]], [/(sun4\w)[;\)]/i], [[g, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[g, he]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [s, [u, le], [a, y]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [s, [u, le], [a, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [s, [u, z], [a, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [s, [u, z], [a, y]], [/(macintosh);/i], [s, [u, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [s, [u, _], [a, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [s, [u, fe], [a, y]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [s, [u, fe], [a, x]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, x]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, y]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [s, [u, "OPPO"], [a, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [s, [u, "Vivo"], [a, x]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [s, [u, "Realme"], [a, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [s, [u, me], [a, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [s, [u, me], [a, y]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [s, [u, ne], [a, y]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [s, [u, ne], [a, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [s, [u, "Lenovo"], [a, y]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[s, /_/g, " "], [u, "Nokia"], [a, x]], [/(pixel c)\b/i], [s, [u, B], [a, y]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [s, [u, B], [a, x]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [s, [u, I], [a, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[s, "Xperia Tablet"], [u, I], [a, y]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [s, [u, "OnePlus"], [a, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [s, [u, C], [a, y]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[s, /(.+)/g, "Fire Phone $1"], [u, C], [a, x]], [/(playbook);[-\w\),; ]+(rim)/i], [s, u, [a, y]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [s, [u, Z], [a, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [s, [u, de], [a, y]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [s, [u, de], [a, x]], [/(nexus 9)/i], [s, [u, "HTC"], [a, y]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [s, /_/g, " "], [a, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [s, [u, "Acer"], [a, y]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [s, [u, "Meizu"], [a, x]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [s, [u, "Ulefone"], [a, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, s, [a, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [u, s, [a, y]], [/(surface duo)/i], [s, [u, Q], [a, y]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [s, [u, "Fairphone"], [a, x]], [/(u304aa)/i], [s, [u, "AT&T"], [a, x]], [/\bsie-(\w*)/i], [s, [u, "Siemens"], [a, x]], [/\b(rct\w+) b/i], [s, [u, "RCA"], [a, y]], [/\b(venue[\d ]{2,7}) b/i], [s, [u, "Dell"], [a, y]], [/\b(q(?:mv|ta)\w+) b/i], [s, [u, "Verizon"], [a, y]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [s, [u, "Barnes & Noble"], [a, y]], [/\b(tm\d{3}\w+) b/i], [s, [u, "NuVision"], [a, y]], [/\b(k88) b/i], [s, [u, "ZTE"], [a, y]], [/\b(nx\d{3}j) b/i], [s, [u, "ZTE"], [a, x]], [/\b(gen\d{3}) b.+49h/i], [s, [u, "Swiss"], [a, x]], [/\b(zur\d{3}) b/i], [s, [u, "Swiss"], [a, y]], [/\b((zeki)?tb.*\b) b/i], [s, [u, "Zeki"], [a, y]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], s, [a, y]], [/\b(ns-?\w{0,9}) b/i], [s, [u, "Insignia"], [a, y]], [/\b((nxa|next)-?\w{0,9}) b/i], [s, [u, "NextBook"], [a, y]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], s, [a, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], s, [a, x]], [/\b(ph-1) /i], [s, [u, "Essential"], [a, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [s, [u, "Envizen"], [a, y]], [/\b(trio[-\w\. ]+) b/i], [s, [u, "MachSpeed"], [a, y]], [/\btu_(1491) b/i], [s, [u, "Rotor"], [a, y]], [/(shield[\w ]+) b/i], [s, [u, "Nvidia"], [a, y]], [/(sprint) (\w+)/i], [u, s, [a, x]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [u, Q], [a, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [s, [u, xe], [a, y]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [s, [u, xe], [a, x]], [/smart-tv.+(samsung)/i], [u, [a, F]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [u, le], [a, F]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, ne], [a, F]], [/(apple) ?tv/i], [u, [s, z + " TV"], [a, F]], [/crkey/i], [[s, G + "cast"], [u, B], [a, F]], [/droid.+aft(\w+)( bui|\))/i], [s, [u, C], [a, F]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [s, [u, _], [a, F]], [/(bravia[\w ]+)( bui|\))/i], [s, [u, I], [a, F]], [/(mitv-\w{5}) bui/i], [s, [u, V], [a, F]], [/Hbbtv.*(technisat) (.*);/i], [u, s, [a, F]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[u, Fe], [s, Fe], [a, F]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, F]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, s, [a, S]], [/droid.+; (shield) bui/i], [s, [u, "Nvidia"], [a, S]], [/(playstation [345portablevi]+)/i], [s, [u, I], [a, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [s, [u, Q], [a, S]], [/((pebble))app/i], [u, s, [a, P]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [s, [u, z], [a, P]], [/droid.+; (glass) \d/i], [s, [u, B], [a, P]], [/droid.+; (wt63?0{2,3})\)/i], [s, [u, xe], [a, P]], [/(quest( 2| pro)?)/i], [s, [u, Ce], [a, P]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [a, q]], [/(aeobc)\b/i], [s, [u, C], [a, q]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [s, [a, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [s, [a, y]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[a, y]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[a, x]], [/(android[-\w\. ]{0,9});.+buil/i], [s, [u, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [d, re + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [d, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [d, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, d]], os: [[/microsoft (windows) (vista|xp)/i], [d, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [d, [p, Re, Nt]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, Re, Nt], [d, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [d, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[d, Xe], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, d], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [d, p], [/\(bb(10);/i], [p, [d, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [d, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [d, pe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [d, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [d, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [d, G + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[d, ot], p], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [d, p], [/(sunos) ?([\w\.\d]*)/i], [[d, "Solaris"], p], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [d, p]] }, Pe = function(U, J) {
|
|
854
|
+
}, Ze = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Nt = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Dt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [p, [d, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [d, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [d, p], [/opios[\/ ]+([\w\.]+)/i], [p, [d, ve + " Mini"]], [/\bopr\/([\w\.]+)/i], [p, [d, ve]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [d, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [d, p], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [d, "UC" + k]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [d, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [d, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [d, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [d, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [d, "Smart Lenovo " + k]], [/(avast|avg)\/([\w\.]+)/i], [[d, /(.+)/, "$1 Secure " + k], p], [/\bfocus\/([\w\.]+)/i], [p, [d, pe + " Focus"]], [/\bopt\/([\w\.]+)/i], [p, [d, ve + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [d, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [d, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [d, ve + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [d, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [p, [d, pe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[d, "360 " + k]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[d, /(.+)/, "$1 " + k], p], [/samsungbrowser\/([\w\.]+)/i], [p, [d, le + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[d, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [d, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[d, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [d, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [d], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[d, Ce], p], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [d, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [d, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [d, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [d, G + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[d, G + " WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [d, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [d, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [d, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, d], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [d, [p, Re, Ze]], [/(webkit|khtml)\/([\w\.]+)/i], [d, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[d, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [d, pe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [d, p], [/(cobalt)\/([\w\.]+)/i], [d, [p, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[w, "amd64"]], [/(ia32(?=;))/i], [[w, he]], [/((?:i[346]|x)86)[;\)]/i], [[w, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[w, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[w, "armhf"]], [/windows (ce|mobile); ppc;/i], [[w, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[w, /ower/, c, he]], [/(sun4\w)[;\)]/i], [[w, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[w, he]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [s, [u, le], [a, y]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [s, [u, le], [a, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [s, [u, z], [a, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [s, [u, z], [a, y]], [/(macintosh);/i], [s, [u, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [s, [u, _], [a, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [s, [u, fe], [a, y]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [s, [u, fe], [a, x]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, x]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, y]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [s, [u, "OPPO"], [a, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [s, [u, "Vivo"], [a, x]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [s, [u, "Realme"], [a, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [s, [u, me], [a, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [s, [u, me], [a, y]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [s, [u, ne], [a, y]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [s, [u, ne], [a, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [s, [u, "Lenovo"], [a, y]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[s, /_/g, " "], [u, "Nokia"], [a, x]], [/(pixel c)\b/i], [s, [u, B], [a, y]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [s, [u, B], [a, x]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [s, [u, I], [a, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[s, "Xperia Tablet"], [u, I], [a, y]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [s, [u, "OnePlus"], [a, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [s, [u, C], [a, y]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[s, /(.+)/g, "Fire Phone $1"], [u, C], [a, x]], [/(playbook);[-\w\),; ]+(rim)/i], [s, u, [a, y]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [s, [u, Z], [a, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [s, [u, de], [a, y]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [s, [u, de], [a, x]], [/(nexus 9)/i], [s, [u, "HTC"], [a, y]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [s, /_/g, " "], [a, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [s, [u, "Acer"], [a, y]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [s, [u, "Meizu"], [a, x]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [s, [u, "Ulefone"], [a, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, s, [a, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [u, s, [a, y]], [/(surface duo)/i], [s, [u, Q], [a, y]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [s, [u, "Fairphone"], [a, x]], [/(u304aa)/i], [s, [u, "AT&T"], [a, x]], [/\bsie-(\w*)/i], [s, [u, "Siemens"], [a, x]], [/\b(rct\w+) b/i], [s, [u, "RCA"], [a, y]], [/\b(venue[\d ]{2,7}) b/i], [s, [u, "Dell"], [a, y]], [/\b(q(?:mv|ta)\w+) b/i], [s, [u, "Verizon"], [a, y]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [s, [u, "Barnes & Noble"], [a, y]], [/\b(tm\d{3}\w+) b/i], [s, [u, "NuVision"], [a, y]], [/\b(k88) b/i], [s, [u, "ZTE"], [a, y]], [/\b(nx\d{3}j) b/i], [s, [u, "ZTE"], [a, x]], [/\b(gen\d{3}) b.+49h/i], [s, [u, "Swiss"], [a, x]], [/\b(zur\d{3}) b/i], [s, [u, "Swiss"], [a, y]], [/\b((zeki)?tb.*\b) b/i], [s, [u, "Zeki"], [a, y]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], s, [a, y]], [/\b(ns-?\w{0,9}) b/i], [s, [u, "Insignia"], [a, y]], [/\b((nxa|next)-?\w{0,9}) b/i], [s, [u, "NextBook"], [a, y]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], s, [a, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], s, [a, x]], [/\b(ph-1) /i], [s, [u, "Essential"], [a, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [s, [u, "Envizen"], [a, y]], [/\b(trio[-\w\. ]+) b/i], [s, [u, "MachSpeed"], [a, y]], [/\btu_(1491) b/i], [s, [u, "Rotor"], [a, y]], [/(shield[\w ]+) b/i], [s, [u, "Nvidia"], [a, y]], [/(sprint) (\w+)/i], [u, s, [a, x]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [u, Q], [a, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [s, [u, xe], [a, y]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [s, [u, xe], [a, x]], [/smart-tv.+(samsung)/i], [u, [a, F]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [u, le], [a, F]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, ne], [a, F]], [/(apple) ?tv/i], [u, [s, z + " TV"], [a, F]], [/crkey/i], [[s, G + "cast"], [u, B], [a, F]], [/droid.+aft(\w+)( bui|\))/i], [s, [u, C], [a, F]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [s, [u, _], [a, F]], [/(bravia[\w ]+)( bui|\))/i], [s, [u, I], [a, F]], [/(mitv-\w{5}) bui/i], [s, [u, V], [a, F]], [/Hbbtv.*(technisat) (.*);/i], [u, s, [a, F]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[u, Le], [s, Le], [a, F]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, F]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, s, [a, S]], [/droid.+; (shield) bui/i], [s, [u, "Nvidia"], [a, S]], [/(playstation [345portablevi]+)/i], [s, [u, I], [a, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [s, [u, Q], [a, S]], [/((pebble))app/i], [u, s, [a, P]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [s, [u, z], [a, P]], [/droid.+; (glass) \d/i], [s, [u, B], [a, P]], [/droid.+; (wt63?0{2,3})\)/i], [s, [u, xe], [a, P]], [/(quest( 2| pro)?)/i], [s, [u, Ce], [a, P]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [a, q]], [/(aeobc)\b/i], [s, [u, C], [a, q]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [s, [a, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [s, [a, y]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[a, y]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[a, x]], [/(android[-\w\. ]{0,9});.+buil/i], [s, [u, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [d, re + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [d, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [d, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, d]], os: [[/microsoft (windows) (vista|xp)/i], [d, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [d, [p, Re, Nt]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, Re, Nt], [d, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [d, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[d, Xe], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, d], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [d, p], [/\(bb(10);/i], [p, [d, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [d, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [d, pe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [d, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [d, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [d, G + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[d, ot], p], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [d, p], [/(sunos) ?([\w\.\d]*)/i], [[d, "Solaris"], p], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [d, p]] }, Pe = function(U, J) {
|
|
855
855
|
if (typeof U === v && (J = U, U = n), !(this instanceof Pe))
|
|
856
856
|
return new Pe(U, J).getResult();
|
|
857
857
|
var A = typeof r !== b && r.navigator ? r.navigator : n, ie = U || (A && A.userAgent ? A.userAgent : c), qe = A && A.userAgentData ? A.userAgentData : n, Me = J ? E(Dt, J) : Dt, Y = A && A.userAgent == ie;
|
|
@@ -860,7 +860,7 @@ var R = {}, dr = { exports: {} };
|
|
|
860
860
|
return N[d] = n, N[p] = n, We.call(N, ie, Me.browser), N[h] = De(N[p]), Y && A && A.brave && typeof A.brave.isBrave == f && (N[d] = "Brave"), N;
|
|
861
861
|
}, this.getCPU = function() {
|
|
862
862
|
var N = {};
|
|
863
|
-
return N[
|
|
863
|
+
return N[w] = n, We.call(N, ie, Me.cpu), N;
|
|
864
864
|
}, this.getDevice = function() {
|
|
865
865
|
var N = {};
|
|
866
866
|
return N[u] = n, N[s] = n, N[a] = n, We.call(N, ie, Me.device), Y && !N[a] && qe && qe.mobile && (N[a] = x), Y && N[s] == "Macintosh" && A && typeof A.standalone !== b && A.maxTouchPoints && A.maxTouchPoints > 2 && (N[s] = "iPad", N[a] = y), N;
|
|
@@ -875,10 +875,10 @@ var R = {}, dr = { exports: {} };
|
|
|
875
875
|
}, this.getUA = function() {
|
|
876
876
|
return ie;
|
|
877
877
|
}, this.setUA = function(N) {
|
|
878
|
-
return ie = typeof N === m && N.length > $ ?
|
|
878
|
+
return ie = typeof N === m && N.length > $ ? Le(N, $) : N, this;
|
|
879
879
|
}, this.setUA(ie), this;
|
|
880
880
|
};
|
|
881
|
-
Pe.VERSION = i, Pe.BROWSER = W([d, p, h]), Pe.CPU = W([
|
|
881
|
+
Pe.VERSION = i, Pe.BROWSER = W([d, p, h]), Pe.CPU = W([w]), Pe.DEVICE = W([s, u, a, S, x, F, y, P, q]), Pe.ENGINE = Pe.OS = W([d, p]), e.exports && (t = e.exports = Pe), t.UAParser = Pe;
|
|
882
882
|
var at = typeof r !== b && (r.jQuery || r.Zepto);
|
|
883
883
|
if (at && !at.ua) {
|
|
884
884
|
var mt = new Pe();
|
|
@@ -1034,14 +1034,14 @@ function Ut(e) {
|
|
|
1034
1034
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1035
1035
|
return e;
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function wo(e, t) {
|
|
1038
1038
|
if (t && (typeof t == "object" || typeof t == "function"))
|
|
1039
1039
|
return t;
|
|
1040
1040
|
if (t !== void 0)
|
|
1041
1041
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1042
1042
|
return Ut(e);
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function go(e, t) {
|
|
1045
1045
|
return xo(e) || yo(e, t) || Oo(e, t) || ko();
|
|
1046
1046
|
}
|
|
1047
1047
|
function xo(e) {
|
|
@@ -1162,10 +1162,10 @@ var Ee = {
|
|
|
1162
1162
|
}, M = function(t) {
|
|
1163
1163
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
1164
1164
|
return t || r;
|
|
1165
|
-
},
|
|
1165
|
+
}, wr = function() {
|
|
1166
1166
|
return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
1167
|
-
},
|
|
1168
|
-
var r =
|
|
1167
|
+
}, gr = function(t) {
|
|
1168
|
+
var r = wr();
|
|
1169
1169
|
return r && r.platform && (r.platform.indexOf(t) !== -1 || r.platform === "MacIntel" && r.maxTouchPoints > 1 && !window.MSStream);
|
|
1170
1170
|
}, _o = function(t, r, n, i, c) {
|
|
1171
1171
|
return {
|
|
@@ -1274,10 +1274,10 @@ var ln = function(t) {
|
|
|
1274
1274
|
}, hn = function(t) {
|
|
1275
1275
|
var r = t.type;
|
|
1276
1276
|
return M(r, "browser");
|
|
1277
|
-
},
|
|
1277
|
+
}, wn = function(t) {
|
|
1278
1278
|
var r = t.name;
|
|
1279
1279
|
return r === Ot.Android;
|
|
1280
|
-
},
|
|
1280
|
+
}, gn = function(t) {
|
|
1281
1281
|
var r = t.name;
|
|
1282
1282
|
return r === Ot.Windows;
|
|
1283
1283
|
}, xn = function(t) {
|
|
@@ -1344,19 +1344,19 @@ var ln = function(t) {
|
|
|
1344
1344
|
var r = t.version;
|
|
1345
1345
|
return M(r);
|
|
1346
1346
|
}, Wn = function() {
|
|
1347
|
-
var t =
|
|
1347
|
+
var t = wr(), r = t && t.userAgent && t.userAgent.toLowerCase();
|
|
1348
1348
|
return typeof r == "string" ? /electron/.test(r) : !1;
|
|
1349
1349
|
}, xt = function(t) {
|
|
1350
1350
|
return typeof t == "string" && t.indexOf("Edg/") !== -1;
|
|
1351
1351
|
}, Vn = function() {
|
|
1352
|
-
var t =
|
|
1352
|
+
var t = wr();
|
|
1353
1353
|
return t && (/iPad|iPhone|iPod/.test(t.platform) || t.platform === "MacIntel" && t.maxTouchPoints > 1) && !window.MSStream;
|
|
1354
1354
|
}, Ge = function() {
|
|
1355
|
-
return
|
|
1355
|
+
return gr("iPad");
|
|
1356
1356
|
}, Bn = function() {
|
|
1357
|
-
return
|
|
1357
|
+
return gr("iPhone");
|
|
1358
1358
|
}, Un = function() {
|
|
1359
|
-
return
|
|
1359
|
+
return gr("iPod");
|
|
1360
1360
|
}, Hn = function(t) {
|
|
1361
1361
|
return M(t);
|
|
1362
1362
|
};
|
|
@@ -1374,7 +1374,7 @@ function qn(e) {
|
|
|
1374
1374
|
isTablet: cn(r) || Ge(),
|
|
1375
1375
|
isBrowser: Ht(r),
|
|
1376
1376
|
isDesktop: Ht(r),
|
|
1377
|
-
isAndroid:
|
|
1377
|
+
isAndroid: wn(i),
|
|
1378
1378
|
isWinPhone: yn(i),
|
|
1379
1379
|
isIOS: On(i) || Ge(),
|
|
1380
1380
|
isChrome: En(n),
|
|
@@ -1402,13 +1402,13 @@ function qn(e) {
|
|
|
1402
1402
|
isElectron: Wn(),
|
|
1403
1403
|
isEdgeChromium: xt(o),
|
|
1404
1404
|
isLegacyEdge: qt(n) && !xt(o),
|
|
1405
|
-
isWindows:
|
|
1405
|
+
isWindows: gn(i),
|
|
1406
1406
|
isMacOs: xn(i),
|
|
1407
1407
|
isMIUI: Ln(n),
|
|
1408
1408
|
isSamsungBrowser: Fn(n)
|
|
1409
1409
|
};
|
|
1410
1410
|
}
|
|
1411
|
-
var zn = dn($e), Yn = pn($e), Kn = fn($e), Lo = bn($e), Fo = Pn(_e) || Ge(), Ao = _n(_e), Gt = un($e) || Ge(), Gn = ln($e), Jn = cn($e) || Ge(), Qn = Ht($e), No = Ht($e), Xn =
|
|
1411
|
+
var zn = dn($e), Yn = pn($e), Kn = fn($e), Lo = bn($e), Fo = Pn(_e) || Ge(), Ao = _n(_e), Gt = un($e) || Ge(), Gn = ln($e), Jn = cn($e) || Ge(), Qn = Ht($e), No = Ht($e), Xn = wn(pt), Zn = yn(pt), ei = On(pt) || Ge(), Do = En(_e), Mo = Tn(_e), $o = Rn(_e), Wo = In(_e), ti = jn(_e), Vo = kn(pt), Bo = Sn(pt), Uo = An(_e), Ho = Nn(_e), qo = Dn(_e), zo = vn($e), Yo = mn($e), Ko = Mn(hr), Go = $n(hr), Jo = Hn(Pt), Qo = qt(_e) || xt(Pt), Xo = Cn(_e), Zo = hn($e), ea = Vn(), ta = Ge(), ra = Bn(), na = Un(), ia = Wn(), oa = xt(Pt), aa = qt(_e) && !xt(Pt), sa = gn(pt), la = xn(pt), ca = Ln(_e), ua = Fn(_e), da = function(t) {
|
|
1412
1412
|
if (!t || typeof t != "string") {
|
|
1413
1413
|
console.error("No valid user agent string was provided");
|
|
1414
1414
|
return;
|
|
@@ -1439,10 +1439,10 @@ var zn = dn($e), Yn = pn($e), Kn = fn($e), Lo = bn($e), Fo = Pn(_e) || Ge(), Ao
|
|
|
1439
1439
|
}, ha = function(t) {
|
|
1440
1440
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1441
1441
|
return Jn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1442
|
-
},
|
|
1442
|
+
}, wa = function(t) {
|
|
1443
1443
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1444
1444
|
return Zn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1445
|
-
},
|
|
1445
|
+
}, ga = function(t) {
|
|
1446
1446
|
var r = t.renderWithFragment, n = t.children;
|
|
1447
1447
|
t.viewClassName, t.style;
|
|
1448
1448
|
var i = Ue(t, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
@@ -1467,7 +1467,7 @@ function Sa(e) {
|
|
|
1467
1467
|
mo(r, t);
|
|
1468
1468
|
function r(n) {
|
|
1469
1469
|
var i;
|
|
1470
|
-
return po(this, r), i =
|
|
1470
|
+
return po(this, r), i = wo(this, pr(r).call(this, n)), i.isEventListenerAdded = !1, i.handleOrientationChange = i.handleOrientationChange.bind(Ut(i)), i.onOrientationChange = i.onOrientationChange.bind(Ut(i)), i.onPageLoad = i.onPageLoad.bind(Ut(i)), i.state = {
|
|
1471
1471
|
isLandscape: !1,
|
|
1472
1472
|
isPortrait: !1
|
|
1473
1473
|
}, i;
|
|
@@ -1521,7 +1521,7 @@ function Ea() {
|
|
|
1521
1521
|
isLandscape: c === 90,
|
|
1522
1522
|
orientation: c === 0 ? "portrait" : "landscape"
|
|
1523
1523
|
};
|
|
1524
|
-
}), t =
|
|
1524
|
+
}), t = go(e, 2), r = t[0], n = t[1], i = Te.useCallback(function() {
|
|
1525
1525
|
var c = window.innerWidth > window.innerHeight ? 90 : 0, o = {
|
|
1526
1526
|
isPortrait: c === 0,
|
|
1527
1527
|
isLandscape: c === 90,
|
|
@@ -1550,13 +1550,13 @@ R.ConsoleView = ya;
|
|
|
1550
1550
|
R.CustomView = ka;
|
|
1551
1551
|
R.IEView = ba;
|
|
1552
1552
|
R.IOSView = va;
|
|
1553
|
-
R.MobileOnlyView =
|
|
1553
|
+
R.MobileOnlyView = ga;
|
|
1554
1554
|
R.MobileView = ma;
|
|
1555
1555
|
R.OsTypes = Ot;
|
|
1556
1556
|
R.SmartTVView = xa;
|
|
1557
1557
|
R.TabletView = ha;
|
|
1558
1558
|
R.WearableView = Oa;
|
|
1559
|
-
R.WinPhoneView =
|
|
1559
|
+
R.WinPhoneView = wa;
|
|
1560
1560
|
R.browserName = qo;
|
|
1561
1561
|
R.browserVersion = Ho;
|
|
1562
1562
|
R.deviceDetect = jo;
|
|
@@ -1608,7 +1608,7 @@ R.useDeviceData = ri;
|
|
|
1608
1608
|
R.useDeviceSelectors = Ta;
|
|
1609
1609
|
R.useMobileOrientation = Ea;
|
|
1610
1610
|
R.withOrientationChange = Sa;
|
|
1611
|
-
const
|
|
1611
|
+
const Xl = ce.memo(
|
|
1612
1612
|
ct(
|
|
1613
1613
|
({ themeColor: e = "", onSubmit: t, style: r = {}, className: n = "", onInput: i, onFocus: c, onBlur: o, ...f }, b) => {
|
|
1614
1614
|
const [v, m] = oe(!0), [h, s] = oe(!1);
|
|
@@ -1621,7 +1621,7 @@ const Zl = ce.memo(
|
|
|
1621
1621
|
i?.(x), x.target.style.height = "40px", x.target.style.height = 2 + x.target.scrollHeight + "px";
|
|
1622
1622
|
};
|
|
1623
1623
|
let u = {};
|
|
1624
|
-
const p = [Wr.textInput, n].filter(Boolean).join(" "),
|
|
1624
|
+
const p = [Wr.textInput, n].filter(Boolean).join(" "), w = () => {
|
|
1625
1625
|
s(!0);
|
|
1626
1626
|
}, S = () => {
|
|
1627
1627
|
s(!1);
|
|
@@ -1635,7 +1635,7 @@ const Zl = ce.memo(
|
|
|
1635
1635
|
ref: b,
|
|
1636
1636
|
className: p,
|
|
1637
1637
|
style: { ...u, ...r },
|
|
1638
|
-
onFocus:
|
|
1638
|
+
onFocus: w,
|
|
1639
1639
|
onBlur: S,
|
|
1640
1640
|
onInput: (x) => a(x),
|
|
1641
1641
|
onKeyDown: d,
|
|
@@ -1644,28 +1644,27 @@ const Zl = ce.memo(
|
|
|
1644
1644
|
) });
|
|
1645
1645
|
}
|
|
1646
1646
|
)
|
|
1647
|
-
), Ca = "
|
|
1647
|
+
), Ca = "_multiSelectContainer_o3j9t_1", Ra = "_listOptionsWrap_o3j9t_4", Pa = "_selectedValuesWrap_o3j9t_7", Ia = "_selectedValues_o3j9t_7", ja = "_focused_o3j9t_13", La = "_dropDownIcon_o3j9t_16", Fa = "_optionsListContainer_o3j9t_20", Aa = "_top_o3j9t_23", Na = "_optionsListWrap_o3j9t_26", Da = "_searchInputWrap_o3j9t_29", Ma = "_searchInput_o3j9t_29", $a = "_optionsList_o3j9t_20", Wa = "_btnContainer_o3j9t_47", Fe = {
|
|
1648
1648
|
multiSelectContainer: Ca,
|
|
1649
1649
|
listOptionsWrap: Ra,
|
|
1650
1650
|
selectedValuesWrap: Pa,
|
|
1651
1651
|
selectedValues: Ia,
|
|
1652
1652
|
focused: ja,
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
checkboxDisabled: Ya
|
|
1653
|
+
dropDownIcon: La,
|
|
1654
|
+
optionsListContainer: Fa,
|
|
1655
|
+
top: Aa,
|
|
1656
|
+
optionsListWrap: Na,
|
|
1657
|
+
searchInputWrap: Da,
|
|
1658
|
+
searchInput: Ma,
|
|
1659
|
+
optionsList: $a,
|
|
1660
|
+
btnContainer: Wa
|
|
1661
|
+
}, Va = "_pseudoCheckbox_1tuhb_1", Ba = "_checkboxCheckMark_1tuhb_4", Ua = "_checkboxCheckMarkPath_1tuhb_7", Ha = "_checked_1tuhb_12", qa = "_checkboxUncheckedChecked_1tuhb_1", za = "_checkboxDisabled_1tuhb_22", _t = {
|
|
1662
|
+
pseudoCheckbox: Va,
|
|
1663
|
+
checkboxCheckMark: Ba,
|
|
1664
|
+
checkboxCheckMarkPath: Ua,
|
|
1665
|
+
checked: Ha,
|
|
1666
|
+
checkboxUncheckedChecked: qa,
|
|
1667
|
+
checkboxDisabled: za
|
|
1669
1668
|
}, ni = ({ checked: e = !1, themeColor: t = "", disabled: r = !1 }) => {
|
|
1670
1669
|
let n = {}, i = "#006bb1", c = r ? "#9b9b9b" : "#ffffff";
|
|
1671
1670
|
const o = r ? _t.checkboxDisabled : "", f = e ? _t.checked : "", b = [_t.pseudoCheckbox, f, o].filter(Boolean).join(" ");
|
|
@@ -1701,7 +1700,7 @@ const Zl = ce.memo(
|
|
|
1701
1700
|
);
|
|
1702
1701
|
};
|
|
1703
1702
|
ni.displayName = "Checkbox";
|
|
1704
|
-
const
|
|
1703
|
+
const Zl = ({
|
|
1705
1704
|
options: e,
|
|
1706
1705
|
checkedValue: t,
|
|
1707
1706
|
onSelectionChange: r,
|
|
@@ -1710,7 +1709,7 @@ const ec = ({
|
|
|
1710
1709
|
className: c = "",
|
|
1711
1710
|
style: o = {}
|
|
1712
1711
|
}) => {
|
|
1713
|
-
const f = j(e), [b, v] = oe(t), [m, h] = oe(""), [s, d] = oe(!1), [a, u] = oe(!1), p = j(null),
|
|
1712
|
+
const f = j(e), [b, v] = oe(t), [m, h] = oe(""), [s, d] = oe(!1), [a, u] = oe(!1), p = j(null), w = j(null), S = j(null), x = j(null), y = j(null), F = j(null), [P, q] = oe(-1), $ = j(0), C = j(0), [z, de] = oe(!1);
|
|
1714
1713
|
let Z = {};
|
|
1715
1714
|
const [k, G] = oe({ left: 0, top: 0 }), [re, pe] = oe(null), B = j(!1), fe = () => {
|
|
1716
1715
|
setTimeout(() => {
|
|
@@ -1719,7 +1718,7 @@ const ec = ({
|
|
|
1719
1718
|
};
|
|
1720
1719
|
ae(() => {
|
|
1721
1720
|
const E = (W) => {
|
|
1722
|
-
|
|
1721
|
+
w.current && !w.current.contains(W.target) && (d(!1), h(""), fe());
|
|
1723
1722
|
};
|
|
1724
1723
|
return document.addEventListener("mousedown", E), () => {
|
|
1725
1724
|
document.removeEventListener("mousedown", E);
|
|
@@ -1741,13 +1740,13 @@ const ec = ({
|
|
|
1741
1740
|
const E = e.filter((W) => W.text.toLowerCase().includes(m.toLowerCase()));
|
|
1742
1741
|
f.current = E;
|
|
1743
1742
|
}, [e, m]);
|
|
1744
|
-
const me = b.
|
|
1743
|
+
const me = b.map((E) => {
|
|
1745
1744
|
const W = e.find((ye) => ye.id === E);
|
|
1746
1745
|
return W?.text !== null ? W?.text : "";
|
|
1747
|
-
}).filter((E) => E !== "").join(", ")
|
|
1746
|
+
}).filter((E) => E !== "").join(", "), ve = (E) => {
|
|
1748
1747
|
const W = e.find((ye) => ye.id === E);
|
|
1749
1748
|
if (W && !W.disabled && (n === void 0 || b.length <= n)) {
|
|
1750
|
-
const he = b.includes(E) ? b.filter((
|
|
1749
|
+
const he = b.includes(E) ? b.filter((Le) => Le !== E) : [...b, E];
|
|
1751
1750
|
(n === void 0 || he.length <= n) && s && (v(he), r(he), Q(`${W?.text} ${he.includes(E) ? "selected" : "not selected"}`));
|
|
1752
1751
|
}
|
|
1753
1752
|
}, le = (E) => {
|
|
@@ -1758,11 +1757,11 @@ const ec = ({
|
|
|
1758
1757
|
if (p.current) {
|
|
1759
1758
|
const E = p.current.getBoundingClientRect();
|
|
1760
1759
|
setTimeout(() => {
|
|
1761
|
-
const W =
|
|
1760
|
+
const W = w?.current?.getBoundingClientRect(), ye = _(), he = $.current - E.bottom;
|
|
1762
1761
|
let De;
|
|
1763
1762
|
if (W) {
|
|
1764
|
-
const
|
|
1765
|
-
We < Re && (Ze || Ze && he < Re || ye > Re || he > Re) || We > Re && he > Re ? De = E.y +
|
|
1763
|
+
const Le = E.height, We = E.top, Re = W.height, Ze = Re > We + window.scrollY;
|
|
1764
|
+
We < Re && (Ze || Ze && he < Re || ye > Re || he > Re) || We > Re && he > Re ? De = E.y + Le : De = E.y - Re, G({
|
|
1766
1765
|
left: E.left,
|
|
1767
1766
|
top: De ?? E.top
|
|
1768
1767
|
});
|
|
@@ -1789,8 +1788,8 @@ const ec = ({
|
|
|
1789
1788
|
}, 0);
|
|
1790
1789
|
let ye = P;
|
|
1791
1790
|
if (W === "ArrowDown" ? ye = Math.min(P + 1, f.current.length - 1) : W === "ArrowUp" && (ye = Math.max(P - 1, 0)), P === 0 && E.key === "ArrowUp" ? ye = f.current.length - 1 : P === f.current.length - 1 && E.key === "ArrowDown" && (ye = 0), q(ye), F.current && ye >= 0) {
|
|
1792
|
-
const he = F.current.querySelectorAll(`.${
|
|
1793
|
-
Q(
|
|
1791
|
+
const he = F.current.querySelectorAll(`.${Fe.optionsList}`)[ye], De = he.children[0].getAttribute("aria-checked"), Le = `${he.textContent} ${De === "true" ? "selected" : "not selected"} ${ye + 1} out of ${f.current.length}`;
|
|
1792
|
+
Q(Le), he && he.scrollIntoView({
|
|
1794
1793
|
block: "nearest",
|
|
1795
1794
|
inline: "nearest"
|
|
1796
1795
|
});
|
|
@@ -1820,12 +1819,12 @@ const ec = ({
|
|
|
1820
1819
|
const Xe = () => {
|
|
1821
1820
|
d(!1);
|
|
1822
1821
|
};
|
|
1823
|
-
return /* @__PURE__ */ O.jsx("div", { className:
|
|
1824
|
-
/* @__PURE__ */ O.jsxs("div", { className: `${c} ${
|
|
1822
|
+
return /* @__PURE__ */ O.jsx("div", { className: Fe.multiSelectContainer, children: /* @__PURE__ */ O.jsxs("div", { className: Fe.listOptionsWrap, children: [
|
|
1823
|
+
/* @__PURE__ */ O.jsxs("div", { className: `${c} ${Fe.selectedValuesWrap}`, ref: p, children: [
|
|
1825
1824
|
/* @__PURE__ */ O.jsx(
|
|
1826
1825
|
"div",
|
|
1827
1826
|
{
|
|
1828
|
-
className: `${
|
|
1827
|
+
className: `${Fe.selectedValues} ${s ? Fe.focused : ""}`,
|
|
1829
1828
|
onFocus: Ce,
|
|
1830
1829
|
onBlur: ot,
|
|
1831
1830
|
onClick: () => le(!s),
|
|
@@ -1846,7 +1845,7 @@ const ec = ({
|
|
|
1846
1845
|
/* @__PURE__ */ O.jsx(
|
|
1847
1846
|
"span",
|
|
1848
1847
|
{
|
|
1849
|
-
className:
|
|
1848
|
+
className: Fe.dropDownIcon,
|
|
1850
1849
|
onClick: () => le(!s),
|
|
1851
1850
|
"data-testid": "arrow-button",
|
|
1852
1851
|
children: /* @__PURE__ */ O.jsx("svg", { width: "12px", height: "7px", viewBox: "0 0 12 7", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ O.jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ O.jsx("g", { transform: "translate(-2360.000000, -295.000000)", fill: "#666666", children: /* @__PURE__ */ O.jsx("g", { transform: "translate(2006.000000, 248.000000)", children: /* @__PURE__ */ O.jsx(
|
|
@@ -1882,8 +1881,8 @@ const ec = ({
|
|
|
1882
1881
|
children: /* @__PURE__ */ O.jsxs(
|
|
1883
1882
|
"div",
|
|
1884
1883
|
{
|
|
1885
|
-
className: `${
|
|
1886
|
-
ref:
|
|
1884
|
+
className: `${Fe.optionsListContainer}`,
|
|
1885
|
+
ref: w,
|
|
1887
1886
|
onClick: (E) => E.stopPropagation(),
|
|
1888
1887
|
style: {
|
|
1889
1888
|
opacity: k.left ? 1 : 0,
|
|
@@ -1892,14 +1891,14 @@ const ec = ({
|
|
|
1892
1891
|
top: k.top
|
|
1893
1892
|
},
|
|
1894
1893
|
children: [
|
|
1895
|
-
/* @__PURE__ */ O.jsxs("div", { className:
|
|
1896
|
-
e.length >= 6 && /* @__PURE__ */ O.jsx("div", { className:
|
|
1894
|
+
/* @__PURE__ */ O.jsxs("div", { className: Fe.optionsListWrap, children: [
|
|
1895
|
+
e.length >= 6 && /* @__PURE__ */ O.jsx("div", { className: Fe.searchInputWrap, children: /* @__PURE__ */ O.jsx(
|
|
1897
1896
|
"input",
|
|
1898
1897
|
{
|
|
1899
1898
|
type: "text",
|
|
1900
1899
|
ref: S,
|
|
1901
1900
|
placeholder: "Type to filter",
|
|
1902
|
-
className:
|
|
1901
|
+
className: Fe.searchInput,
|
|
1903
1902
|
value: m,
|
|
1904
1903
|
onChange: (E) => h(E.target.value),
|
|
1905
1904
|
"data-testid": "search-input",
|
|
@@ -1913,7 +1912,7 @@ const ec = ({
|
|
|
1913
1912
|
/* @__PURE__ */ O.jsxs(
|
|
1914
1913
|
"li",
|
|
1915
1914
|
{
|
|
1916
|
-
className: `${
|
|
1915
|
+
className: `${Fe.optionsList} ${W === P ? Fe.focused : ""}`,
|
|
1917
1916
|
onClick: () => ve(E.id),
|
|
1918
1917
|
"aria-selected": W === P,
|
|
1919
1918
|
role: "option",
|
|
@@ -1933,7 +1932,7 @@ const ec = ({
|
|
|
1933
1932
|
)
|
|
1934
1933
|
)) })
|
|
1935
1934
|
] }),
|
|
1936
|
-
/* @__PURE__ */ O.jsxs("div", { className:
|
|
1935
|
+
/* @__PURE__ */ O.jsxs("div", { className: Fe.btnContainer, children: [
|
|
1937
1936
|
/* @__PURE__ */ O.jsx(
|
|
1938
1937
|
"input",
|
|
1939
1938
|
{
|
|
@@ -1970,12 +1969,12 @@ const ec = ({
|
|
|
1970
1969
|
document.body
|
|
1971
1970
|
) : null
|
|
1972
1971
|
] }) });
|
|
1973
|
-
},
|
|
1974
|
-
multiSelectContainer:
|
|
1975
|
-
quickOptionsWrap:
|
|
1976
|
-
selected:
|
|
1977
|
-
disabled:
|
|
1978
|
-
},
|
|
1972
|
+
}, Ya = "_multiSelectContainer_owbxn_1", Ka = "_quickOptionsWrap_owbxn_4", Ga = "_selected_owbxn_10", Ja = "_disabled_owbxn_16", Wt = {
|
|
1973
|
+
multiSelectContainer: Ya,
|
|
1974
|
+
quickOptionsWrap: Ka,
|
|
1975
|
+
selected: Ga,
|
|
1976
|
+
disabled: Ja
|
|
1977
|
+
}, ec = ({
|
|
1979
1978
|
options: e,
|
|
1980
1979
|
checkedValue: t,
|
|
1981
1980
|
onSelectionChange: r,
|
|
@@ -2041,21 +2040,21 @@ const ec = ({
|
|
|
2041
2040
|
},
|
|
2042
2041
|
a.id
|
|
2043
2042
|
)) }) });
|
|
2044
|
-
},
|
|
2045
|
-
singleSelectWrapper:
|
|
2046
|
-
quickOption:
|
|
2047
|
-
selected:
|
|
2048
|
-
triangle:
|
|
2049
|
-
loader:
|
|
2043
|
+
}, Qa = "_singleSelectWrapper_j8hf5_1", Xa = "_quickOption_j8hf5_4", Za = "_selected_j8hf5_10", es = "_triangle_j8hf5_16", ts = "_loader_j8hf5_19", rs = "_checkmarkWrap_j8hf5_22", ns = "_checkmark_j8hf5_22", is = "_fill_j8hf5_1", os = "_scale_j8hf5_1", as = "_checkmarkCheck_j8hf5_29", ss = "_stroke_j8hf5_1", ls = "_disabled_j8hf5_34", Ke = {
|
|
2044
|
+
singleSelectWrapper: Qa,
|
|
2045
|
+
quickOption: Xa,
|
|
2046
|
+
selected: Za,
|
|
2047
|
+
triangle: es,
|
|
2048
|
+
loader: ts,
|
|
2050
2049
|
"tw-spin": "_tw-spin_j8hf5_1",
|
|
2051
|
-
checkmarkWrap:
|
|
2052
|
-
checkmark:
|
|
2053
|
-
fill:
|
|
2054
|
-
scale:
|
|
2055
|
-
checkmarkCheck:
|
|
2056
|
-
stroke:
|
|
2057
|
-
disabled:
|
|
2058
|
-
},
|
|
2050
|
+
checkmarkWrap: rs,
|
|
2051
|
+
checkmark: ns,
|
|
2052
|
+
fill: is,
|
|
2053
|
+
scale: os,
|
|
2054
|
+
checkmarkCheck: as,
|
|
2055
|
+
stroke: ss,
|
|
2056
|
+
disabled: ls
|
|
2057
|
+
}, tc = ({
|
|
2059
2058
|
options: e,
|
|
2060
2059
|
onSelect: t,
|
|
2061
2060
|
selected: r,
|
|
@@ -2129,17 +2128,17 @@ const ec = ({
|
|
|
2129
2128
|
},
|
|
2130
2129
|
a.id
|
|
2131
2130
|
)) }) }) });
|
|
2132
|
-
},
|
|
2133
|
-
scrollbarContainer:
|
|
2134
|
-
},
|
|
2131
|
+
}, cs = "_scrollbarContainer_zhyhn_1", us = {
|
|
2132
|
+
scrollbarContainer: cs
|
|
2133
|
+
}, ds = ct(
|
|
2135
2134
|
({ children: e, className: t = "", style: r = {}, ...n }, i) => {
|
|
2136
|
-
const c = [
|
|
2135
|
+
const c = [us.scrollbarContainer, t].filter(Boolean).join(" ");
|
|
2137
2136
|
return /* @__PURE__ */ O.jsx(O.Fragment, { children: /* @__PURE__ */ O.jsx("div", { ref: i, style: { ...r }, className: c, ...n, children: e }) });
|
|
2138
2137
|
}
|
|
2139
2138
|
);
|
|
2140
|
-
|
|
2141
|
-
var
|
|
2142
|
-
let
|
|
2139
|
+
ds.displayName = "Scrollbar";
|
|
2140
|
+
var fs = Object.defineProperty, ps = (e, t, r) => t in e ? fs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ir = (e, t, r) => (ps(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
2141
|
+
let bs = class {
|
|
2143
2142
|
constructor() {
|
|
2144
2143
|
ir(this, "current", this.detect()), ir(this, "handoffState", "pending"), ir(this, "currentId", 0);
|
|
2145
2144
|
}
|
|
@@ -2167,20 +2166,20 @@ let vs = class {
|
|
|
2167
2166
|
get isHandoffComplete() {
|
|
2168
2167
|
return this.handoffState === "complete";
|
|
2169
2168
|
}
|
|
2170
|
-
}, bt = new
|
|
2169
|
+
}, bt = new bs(), ge = (e, t) => {
|
|
2171
2170
|
bt.isServer ? ae(e, t) : ji(e, t);
|
|
2172
2171
|
};
|
|
2173
2172
|
function ze(e) {
|
|
2174
2173
|
let t = j(e);
|
|
2175
|
-
return
|
|
2174
|
+
return ge(() => {
|
|
2176
2175
|
t.current = e;
|
|
2177
2176
|
}, [e]), t;
|
|
2178
2177
|
}
|
|
2179
2178
|
function jt(e, t) {
|
|
2180
2179
|
let [r, n] = oe(e), i = ze(e);
|
|
2181
|
-
return
|
|
2180
|
+
return ge(() => n(i.current), [i, n, ...t]), r;
|
|
2182
2181
|
}
|
|
2183
|
-
function
|
|
2182
|
+
function vs(e) {
|
|
2184
2183
|
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((t) => setTimeout(() => {
|
|
2185
2184
|
throw t;
|
|
2186
2185
|
}));
|
|
@@ -2198,7 +2197,7 @@ function Je() {
|
|
|
2198
2197
|
return t.add(() => clearTimeout(n));
|
|
2199
2198
|
}, microTask(...r) {
|
|
2200
2199
|
let n = { current: !0 };
|
|
2201
|
-
return
|
|
2200
|
+
return vs(() => {
|
|
2202
2201
|
n.current && r[0]();
|
|
2203
2202
|
}), t.add(() => {
|
|
2204
2203
|
n.current = !1;
|
|
@@ -2232,13 +2231,13 @@ let L = function(e) {
|
|
|
2232
2231
|
let t = ze(e);
|
|
2233
2232
|
return ce.useCallback((...r) => t.current(...r), [t]);
|
|
2234
2233
|
};
|
|
2235
|
-
function
|
|
2234
|
+
function ms() {
|
|
2236
2235
|
let e = typeof document > "u";
|
|
2237
2236
|
return "useSyncExternalStore" in tt ? ((t) => t.useSyncExternalStore)(tt)(() => () => {
|
|
2238
2237
|
}, () => !1, () => !e) : !1;
|
|
2239
2238
|
}
|
|
2240
2239
|
function xr() {
|
|
2241
|
-
let e =
|
|
2240
|
+
let e = ms(), [t, r] = tt.useState(bt.isHandoffComplete);
|
|
2242
2241
|
return t && bt.isHandoffComplete === !1 && r(!1), tt.useEffect(() => {
|
|
2243
2242
|
t !== !0 && r(!0);
|
|
2244
2243
|
}, [t]), tt.useEffect(() => bt.handoff(), []), e ? !1 : t;
|
|
@@ -2246,7 +2245,7 @@ function xr() {
|
|
|
2246
2245
|
var qr;
|
|
2247
2246
|
let it = (qr = ce.useId) != null ? qr : function() {
|
|
2248
2247
|
let e = xr(), [t, r] = ce.useState(e ? () => bt.nextId() : null);
|
|
2249
|
-
return
|
|
2248
|
+
return ge(() => {
|
|
2250
2249
|
t === null && r(bt.nextId());
|
|
2251
2250
|
}, [t]), t != null ? "" + t : void 0;
|
|
2252
2251
|
};
|
|
@@ -2262,7 +2261,7 @@ function Jt(e) {
|
|
|
2262
2261
|
return bt.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
|
|
2263
2262
|
}
|
|
2264
2263
|
let zr = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
2265
|
-
var
|
|
2264
|
+
var hs = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(hs || {}), ws = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(ws || {}), gs = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(gs || {}), yr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(yr || {});
|
|
2266
2265
|
function ii(e, t = 0) {
|
|
2267
2266
|
var r;
|
|
2268
2267
|
return e === ((r = Jt(e)) == null ? void 0 : r.body) ? !1 : be(t, { 0() {
|
|
@@ -2277,7 +2276,7 @@ function ii(e, t = 0) {
|
|
|
2277
2276
|
return !1;
|
|
2278
2277
|
} });
|
|
2279
2278
|
}
|
|
2280
|
-
var
|
|
2279
|
+
var xs = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(xs || {});
|
|
2281
2280
|
typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => {
|
|
2282
2281
|
e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
2283
2282
|
}, !0), document.addEventListener("click", (e) => {
|
|
@@ -2301,7 +2300,7 @@ function Vt(e, t, r) {
|
|
|
2301
2300
|
return document.addEventListener(e, i, r), () => document.removeEventListener(e, i, r);
|
|
2302
2301
|
}, [e, r]);
|
|
2303
2302
|
}
|
|
2304
|
-
function
|
|
2303
|
+
function ys(e, t, r) {
|
|
2305
2304
|
let n = ze(t);
|
|
2306
2305
|
ae(() => {
|
|
2307
2306
|
function i(c) {
|
|
@@ -2344,7 +2343,7 @@ function ai(e, t, r = !0) {
|
|
|
2344
2343
|
n.current && (c.current = ((b = (f = o.composedPath) == null ? void 0 : f.call(o)) == null ? void 0 : b[0]) || o.target);
|
|
2345
2344
|
}, !0), Vt("click", (o) => {
|
|
2346
2345
|
c.current && (i(o, () => c.current), c.current = null);
|
|
2347
|
-
}, !0), Vt("touchend", (o) => i(o, () => o.target instanceof HTMLElement ? o.target : null), !0),
|
|
2346
|
+
}, !0), Vt("touchend", (o) => i(o, () => o.target instanceof HTMLElement ? o.target : null), !0), ys("blur", (o) => i(o, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
2348
2347
|
}
|
|
2349
2348
|
function Yr(e) {
|
|
2350
2349
|
var t;
|
|
@@ -2356,13 +2355,13 @@ function Yr(e) {
|
|
|
2356
2355
|
}
|
|
2357
2356
|
function si(e, t) {
|
|
2358
2357
|
let [r, n] = oe(() => Yr(e));
|
|
2359
|
-
return
|
|
2358
|
+
return ge(() => {
|
|
2360
2359
|
n(Yr(e));
|
|
2361
|
-
}, [e.type, e.as]),
|
|
2360
|
+
}, [e.type, e.as]), ge(() => {
|
|
2362
2361
|
r || t.current && t.current instanceof HTMLButtonElement && !t.current.hasAttribute("type") && n("button");
|
|
2363
2362
|
}, [r, t]), r;
|
|
2364
2363
|
}
|
|
2365
|
-
let
|
|
2364
|
+
let Os = Symbol();
|
|
2366
2365
|
function He(...e) {
|
|
2367
2366
|
let t = j(e);
|
|
2368
2367
|
ae(() => {
|
|
@@ -2372,13 +2371,13 @@ function He(...e) {
|
|
|
2372
2371
|
for (let i of t.current)
|
|
2373
2372
|
i != null && (typeof i == "function" ? i(n) : i.current = n);
|
|
2374
2373
|
});
|
|
2375
|
-
return e.every((n) => n == null || n?.[
|
|
2374
|
+
return e.every((n) => n == null || n?.[Os]) ? void 0 : r;
|
|
2376
2375
|
}
|
|
2377
|
-
function
|
|
2376
|
+
function ks({ container: e, accept: t, walk: r, enabled: n = !0 }) {
|
|
2378
2377
|
let i = j(t), c = j(r);
|
|
2379
2378
|
ae(() => {
|
|
2380
2379
|
i.current = t, c.current = r;
|
|
2381
|
-
}, [t, r]),
|
|
2380
|
+
}, [t, r]), ge(() => {
|
|
2382
2381
|
if (!e || !n)
|
|
2383
2382
|
return;
|
|
2384
2383
|
let o = Jt(e);
|
|
@@ -2389,7 +2388,7 @@ function Ss({ container: e, accept: t, walk: r, enabled: n = !0 }) {
|
|
|
2389
2388
|
b(m.currentNode);
|
|
2390
2389
|
}, [e, n, i, c]);
|
|
2391
2390
|
}
|
|
2392
|
-
function
|
|
2391
|
+
function Ss(e) {
|
|
2393
2392
|
throw new Error("Unexpected object: " + e);
|
|
2394
2393
|
}
|
|
2395
2394
|
var te = ((e) => (e[e.First = 0] = "First", e[e.Previous = 1] = "Previous", e[e.Next = 2] = "Next", e[e.Last = 3] = "Last", e[e.Specific = 4] = "Specific", e[e.Nothing = 5] = "Nothing", e))(te || {});
|
|
@@ -2416,7 +2415,7 @@ function li(e, t) {
|
|
|
2416
2415
|
case 5:
|
|
2417
2416
|
return null;
|
|
2418
2417
|
default:
|
|
2419
|
-
|
|
2418
|
+
Ss(e);
|
|
2420
2419
|
}
|
|
2421
2420
|
})();
|
|
2422
2421
|
return c === -1 ? n : c;
|
|
@@ -2462,11 +2461,11 @@ function Bt(e, t = {}, r, n) {
|
|
|
2462
2461
|
`)].join(`
|
|
2463
2462
|
`));
|
|
2464
2463
|
let h = v.props, s = typeof h?.className == "function" ? (...a) => zt(h?.className(...a), f.className) : zt(h?.className, f.className), d = s ? { className: s } : {};
|
|
2465
|
-
return Fi(v, Object.assign({}, ci(v.props, Yt(or(f, ["ref"]))), m, b,
|
|
2464
|
+
return Fi(v, Object.assign({}, ci(v.props, Yt(or(f, ["ref"]))), m, b, Es(v.ref, b.ref), d));
|
|
2466
2465
|
}
|
|
2467
2466
|
return Ai(i, Object.assign({}, or(f, ["ref"]), i !== rt && b, i !== rt && m), v);
|
|
2468
2467
|
}
|
|
2469
|
-
function
|
|
2468
|
+
function Es(...e) {
|
|
2470
2469
|
return { ref: e.every((t) => t == null) ? void 0 : (t) => {
|
|
2471
2470
|
for (let r of e)
|
|
2472
2471
|
r != null && (typeof r == "function" ? r(t) : r.current = t);
|
|
@@ -2494,7 +2493,7 @@ function ci(...e) {
|
|
|
2494
2493
|
} });
|
|
2495
2494
|
return t;
|
|
2496
2495
|
}
|
|
2497
|
-
function
|
|
2496
|
+
function je(e) {
|
|
2498
2497
|
var t;
|
|
2499
2498
|
return Object.assign(ct(e), { displayName: (t = e.displayName) != null ? t : e.name });
|
|
2500
2499
|
}
|
|
@@ -2515,9 +2514,9 @@ function ui(e) {
|
|
|
2515
2514
|
for (; t && !(t instanceof HTMLFieldSetElement); )
|
|
2516
2515
|
t instanceof HTMLLegendElement && (r = t), t = t.parentElement;
|
|
2517
2516
|
let n = t?.getAttribute("disabled") === "";
|
|
2518
|
-
return n &&
|
|
2517
|
+
return n && Ts(r) ? !1 : n;
|
|
2519
2518
|
}
|
|
2520
|
-
function
|
|
2519
|
+
function Ts(e) {
|
|
2521
2520
|
if (!e)
|
|
2522
2521
|
return !1;
|
|
2523
2522
|
let t = e.previousElementSibling;
|
|
@@ -2543,13 +2542,13 @@ function fi(e, t, r) {
|
|
|
2543
2542
|
else
|
|
2544
2543
|
r instanceof Date ? e.push([t, r.toISOString()]) : typeof r == "boolean" ? e.push([t, r ? "1" : "0"]) : typeof r == "string" ? e.push([t, r]) : typeof r == "number" ? e.push([t, `${r}`]) : r == null ? e.push([t, ""]) : Or(r, t, e);
|
|
2545
2544
|
}
|
|
2546
|
-
let
|
|
2545
|
+
let _s = "div";
|
|
2547
2546
|
var kr = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(kr || {});
|
|
2548
|
-
function
|
|
2547
|
+
function Cs(e, t) {
|
|
2549
2548
|
let { features: r = 1, ...n } = e, i = { ref: t, "aria-hidden": (r & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
|
|
2550
|
-
return Ne({ ourProps: i, theirProps: n, slot: {}, defaultTag:
|
|
2549
|
+
return Ne({ ourProps: i, theirProps: n, slot: {}, defaultTag: _s, name: "Hidden" });
|
|
2551
2550
|
}
|
|
2552
|
-
let pi =
|
|
2551
|
+
let pi = je(Cs), Sr = vt(null);
|
|
2553
2552
|
Sr.displayName = "OpenClosedContext";
|
|
2554
2553
|
var Se = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(Se || {});
|
|
2555
2554
|
function Qt() {
|
|
@@ -2586,24 +2585,24 @@ function vi() {
|
|
|
2586
2585
|
e.current = Gr(t);
|
|
2587
2586
|
} };
|
|
2588
2587
|
}
|
|
2589
|
-
function
|
|
2588
|
+
function Rs() {
|
|
2590
2589
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
2591
2590
|
}
|
|
2592
|
-
function
|
|
2591
|
+
function Ps() {
|
|
2593
2592
|
return /Android/gi.test(window.navigator.userAgent);
|
|
2594
2593
|
}
|
|
2595
|
-
function
|
|
2596
|
-
return
|
|
2594
|
+
function Is() {
|
|
2595
|
+
return Rs() || Ps();
|
|
2597
2596
|
}
|
|
2598
|
-
function
|
|
2597
|
+
function js(...e) {
|
|
2599
2598
|
return ke(() => Jt(...e), [...e]);
|
|
2600
2599
|
}
|
|
2601
|
-
var
|
|
2600
|
+
var Ls = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Ls || {}), Fs = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(Fs || {}), As = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(As || {}), Ns = ((e) => (e[e.OpenCombobox = 0] = "OpenCombobox", e[e.CloseCombobox = 1] = "CloseCombobox", e[e.GoToOption = 2] = "GoToOption", e[e.RegisterOption = 3] = "RegisterOption", e[e.UnregisterOption = 4] = "UnregisterOption", e[e.RegisterLabel = 5] = "RegisterLabel", e))(Ns || {});
|
|
2602
2601
|
function ar(e, t = (r) => r) {
|
|
2603
2602
|
let r = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, n = oi(t(e.options.slice()), (c) => c.dataRef.current.domRef.current), i = r ? n.indexOf(r) : null;
|
|
2604
2603
|
return i === -1 && (i = null), { options: n, activeOptionIndex: i };
|
|
2605
2604
|
}
|
|
2606
|
-
let
|
|
2605
|
+
let Ds = { 1(e) {
|
|
2607
2606
|
var t;
|
|
2608
2607
|
return (t = e.dataRef.current) != null && t.disabled || e.comboboxState === 1 ? e : { ...e, activeOptionIndex: null, comboboxState: 1 };
|
|
2609
2608
|
}, 0(e) {
|
|
@@ -2659,16 +2658,16 @@ function kt(e) {
|
|
|
2659
2658
|
}
|
|
2660
2659
|
return t;
|
|
2661
2660
|
}
|
|
2662
|
-
function
|
|
2663
|
-
return be(t.type,
|
|
2661
|
+
function Ms(e, t) {
|
|
2662
|
+
return be(t.type, Ds, e, t);
|
|
2664
2663
|
}
|
|
2665
|
-
let
|
|
2666
|
-
function
|
|
2667
|
-
let { value: r, defaultValue: n, onChange: i, form: c, name: o, by: f = (_, I) => _ === I, disabled: b = !1, __demoMode: v = !1, nullable: m = !1, multiple: h = !1, ...s } = e, [d = h ? [] : void 0, a] = bi(r, i, n), [u, p] = en(
|
|
2664
|
+
let $s = rt;
|
|
2665
|
+
function Ws(e, t) {
|
|
2666
|
+
let { value: r, defaultValue: n, onChange: i, form: c, name: o, by: f = (_, I) => _ === I, disabled: b = !1, __demoMode: v = !1, nullable: m = !1, multiple: h = !1, ...s } = e, [d = h ? [] : void 0, a] = bi(r, i, n), [u, p] = en(Ms, { dataRef: tn(), comboboxState: v ? 0 : 1, options: [], activeOptionIndex: null, activationTrigger: 1, labelId: null }), w = j(!1), S = j({ static: !1, hold: !1 }), x = j(null), y = j(null), F = j(null), P = j(null), q = L(typeof f == "string" ? (_, I) => {
|
|
2668
2667
|
let V = f;
|
|
2669
2668
|
return _?.[V] === I?.[V];
|
|
2670
|
-
} : f), $ =
|
|
2671
|
-
if (
|
|
2669
|
+
} : f), $ = gt((_) => be(C.mode, { 1: () => d.some((I) => q(I, _)), 0: () => q(d, _) }), [d]), C = ke(() => ({ ...u, optionsPropsRef: S, labelRef: x, inputRef: y, buttonRef: F, optionsRef: P, value: d, defaultValue: n, disabled: b, mode: h ? 1 : 0, get activeOptionIndex() {
|
|
2670
|
+
if (w.current && u.activeOptionIndex === null && u.options.length > 0) {
|
|
2672
2671
|
let _ = u.options.findIndex((I) => !I.dataRef.current.disabled);
|
|
2673
2672
|
if (_ !== -1)
|
|
2674
2673
|
return _;
|
|
@@ -2678,7 +2677,7 @@ function Vs(e, t) {
|
|
|
2678
2677
|
ae(() => {
|
|
2679
2678
|
let _ = C.activeOptionIndex !== null ? C.options[C.activeOptionIndex] : null;
|
|
2680
2679
|
z.current !== _ && (z.current = _);
|
|
2681
|
-
}),
|
|
2680
|
+
}), ge(() => {
|
|
2682
2681
|
u.dataRef.current = C;
|
|
2683
2682
|
}, [C]), ai([C.buttonRef, C.inputRef, C.optionsRef], () => Q.closeCombobox(), C.comboboxState === 0);
|
|
2684
2683
|
let de = ke(() => ({ open: C.comboboxState === 0, disabled: b, activeIndex: C.activeOptionIndex, activeOption: C.activeOptionIndex === null ? null : C.options[C.activeOptionIndex].dataRef.current.value, value: d }), [C, b, d]), Z = L((_) => {
|
|
@@ -2690,12 +2689,12 @@ function Vs(e, t) {
|
|
|
2690
2689
|
ne(_.current.value), Q.goToOption(te.Specific, I);
|
|
2691
2690
|
}
|
|
2692
2691
|
}), G = L(() => {
|
|
2693
|
-
p({ type: 0 }),
|
|
2692
|
+
p({ type: 0 }), w.current = !0;
|
|
2694
2693
|
}), re = L(() => {
|
|
2695
|
-
p({ type: 1 }),
|
|
2696
|
-
}), pe = L((_, I, V) => (
|
|
2694
|
+
p({ type: 1 }), w.current = !1;
|
|
2695
|
+
}), pe = L((_, I, V) => (w.current = !1, _ === te.Specific ? p({ type: 2, focus: te.Specific, id: I, trigger: V }) : p({ type: 2, focus: _, trigger: V }))), B = L((_, I) => (p({ type: 3, id: _, dataRef: I }), () => {
|
|
2697
2696
|
var V;
|
|
2698
|
-
((V = z.current) == null ? void 0 : V.id) === _ && (
|
|
2697
|
+
((V = z.current) == null ? void 0 : V.id) === _ && (w.current = !0), p({ type: 4, id: _ });
|
|
2699
2698
|
})), fe = L((_) => (p({ type: 5, id: _ }), () => p({ type: 5, id: null }))), ne = L((_) => be(C.mode, { 0() {
|
|
2700
2699
|
return a?.(_);
|
|
2701
2700
|
}, 1() {
|
|
@@ -2709,12 +2708,12 @@ function Vs(e, t) {
|
|
|
2709
2708
|
}, [ve, a]), ce.createElement(Tr.Provider, { value: Q }, ce.createElement(_r.Provider, { value: C }, ce.createElement(Er, { value: be(C.comboboxState, { 0: Se.Open, 1: Se.Closed }) }, o != null && d != null && Or({ [o]: d }).map(([_, I], V) => ce.createElement(pi, { features: kr.Hidden, ref: V === 0 ? (xe) => {
|
|
2710
2709
|
var Ce;
|
|
2711
2710
|
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
2712
|
-
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: c, name: _, value: I }) })), Ne({ ourProps: me, theirProps: s, slot: de, defaultTag:
|
|
2711
|
+
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: c, name: _, value: I }) })), Ne({ ourProps: me, theirProps: s, slot: de, defaultTag: $s, name: "Combobox" }))));
|
|
2713
2712
|
}
|
|
2714
|
-
let
|
|
2715
|
-
function
|
|
2713
|
+
let Vs = "input";
|
|
2714
|
+
function Bs(e, t) {
|
|
2716
2715
|
var r, n, i, c;
|
|
2717
|
-
let o = it(), { id: f = `headlessui-combobox-input-${o}`, onChange: b, displayValue: v, type: m = "text", ...h } = e, s = kt("Combobox.Input"), d = Lt("Combobox.Input"), a = He(s.inputRef, t), u =
|
|
2716
|
+
let o = it(), { id: f = `headlessui-combobox-input-${o}`, onChange: b, displayValue: v, type: m = "text", ...h } = e, s = kt("Combobox.Input"), d = Lt("Combobox.Input"), a = He(s.inputRef, t), u = js(s.inputRef), p = j(!1), w = nt(), S = L(() => {
|
|
2718
2717
|
d.onChange(null), s.optionsRef.current && (s.optionsRef.current.scrollTop = 0), d.goToOption(te.Nothing);
|
|
2719
2718
|
}), x = function() {
|
|
2720
2719
|
var k;
|
|
@@ -2744,7 +2743,7 @@ function Us(e, t) {
|
|
|
2744
2743
|
let y = j(!1), F = L(() => {
|
|
2745
2744
|
y.current = !0;
|
|
2746
2745
|
}), P = L(() => {
|
|
2747
|
-
|
|
2746
|
+
w.nextFrame(() => {
|
|
2748
2747
|
y.current = !1;
|
|
2749
2748
|
});
|
|
2750
2749
|
}), q = L((k) => {
|
|
@@ -2768,7 +2767,7 @@ function Us(e, t) {
|
|
|
2768
2767
|
return p.current = !1, k.preventDefault(), k.stopPropagation(), be(s.comboboxState, { 0: () => {
|
|
2769
2768
|
d.goToOption(te.Previous);
|
|
2770
2769
|
}, 1: () => {
|
|
2771
|
-
d.openCombobox(),
|
|
2770
|
+
d.openCombobox(), w.nextFrame(() => {
|
|
2772
2771
|
s.value || d.goToOption(te.Last);
|
|
2773
2772
|
});
|
|
2774
2773
|
} });
|
|
@@ -2800,10 +2799,10 @@ function Us(e, t) {
|
|
|
2800
2799
|
if (s.labelId)
|
|
2801
2800
|
return [s.labelId].join(" ");
|
|
2802
2801
|
}, [s.labelId]), de = ke(() => ({ open: s.comboboxState === 0, disabled: s.disabled }), [s]), Z = { ref: a, id: f, role: "combobox", type: m, "aria-controls": (r = s.optionsRef.current) == null ? void 0 : r.id, "aria-expanded": s.comboboxState === 0, "aria-activedescendant": s.activeOptionIndex === null || (n = s.options[s.activeOptionIndex]) == null ? void 0 : n.id, "aria-labelledby": z, "aria-autocomplete": "list", defaultValue: (c = (i = e.defaultValue) != null ? i : s.defaultValue !== void 0 ? v?.(s.defaultValue) : null) != null ? c : s.defaultValue, disabled: s.disabled, onCompositionStart: F, onCompositionEnd: P, onKeyDown: q, onChange: $, onBlur: C };
|
|
2803
|
-
return Ne({ ourProps: Z, theirProps: h, slot: de, defaultTag:
|
|
2802
|
+
return Ne({ ourProps: Z, theirProps: h, slot: de, defaultTag: Vs, name: "Combobox.Input" });
|
|
2804
2803
|
}
|
|
2805
|
-
let
|
|
2806
|
-
function
|
|
2804
|
+
let Us = "button";
|
|
2805
|
+
function Hs(e, t) {
|
|
2807
2806
|
var r;
|
|
2808
2807
|
let n = kt("Combobox.Button"), i = Lt("Combobox.Button"), c = He(n.buttonRef, t), o = it(), { id: f = `headlessui-combobox-button-${o}`, ...b } = e, v = nt(), m = L((u) => {
|
|
2809
2808
|
switch (u.key) {
|
|
@@ -2838,27 +2837,27 @@ function qs(e, t) {
|
|
|
2838
2837
|
if (n.labelId)
|
|
2839
2838
|
return [n.labelId, f].join(" ");
|
|
2840
2839
|
}, [n.labelId, f]), d = ke(() => ({ open: n.comboboxState === 0, disabled: n.disabled, value: n.value }), [n]), a = { ref: c, id: f, type: si(e, n.buttonRef), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": (r = n.optionsRef.current) == null ? void 0 : r.id, "aria-expanded": n.comboboxState === 0, "aria-labelledby": s, disabled: n.disabled, onClick: h, onKeyDown: m };
|
|
2841
|
-
return Ne({ ourProps: a, theirProps: b, slot: d, defaultTag:
|
|
2840
|
+
return Ne({ ourProps: a, theirProps: b, slot: d, defaultTag: Us, name: "Combobox.Button" });
|
|
2842
2841
|
}
|
|
2843
|
-
let
|
|
2844
|
-
function
|
|
2842
|
+
let qs = "label";
|
|
2843
|
+
function zs(e, t) {
|
|
2845
2844
|
let r = it(), { id: n = `headlessui-combobox-label-${r}`, ...i } = e, c = kt("Combobox.Label"), o = Lt("Combobox.Label"), f = He(c.labelRef, t);
|
|
2846
|
-
|
|
2845
|
+
ge(() => o.registerLabel(n), [n]);
|
|
2847
2846
|
let b = L(() => {
|
|
2848
2847
|
var m;
|
|
2849
2848
|
return (m = c.inputRef.current) == null ? void 0 : m.focus({ preventScroll: !0 });
|
|
2850
2849
|
}), v = ke(() => ({ open: c.comboboxState === 0, disabled: c.disabled }), [c]);
|
|
2851
|
-
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag:
|
|
2850
|
+
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag: qs, name: "Combobox.Label" });
|
|
2852
2851
|
}
|
|
2853
|
-
let
|
|
2854
|
-
function
|
|
2852
|
+
let Ys = "ul", Ks = yt.RenderStrategy | yt.Static;
|
|
2853
|
+
function Gs(e, t) {
|
|
2855
2854
|
let r = it(), { id: n = `headlessui-combobox-options-${r}`, hold: i = !1, ...c } = e, o = kt("Combobox.Options"), f = He(o.optionsRef, t), b = Qt(), v = (() => b !== null ? (b & Se.Open) === Se.Open : o.comboboxState === 0)();
|
|
2856
|
-
|
|
2855
|
+
ge(() => {
|
|
2857
2856
|
var d;
|
|
2858
2857
|
o.optionsPropsRef.current.static = (d = e.static) != null ? d : !1;
|
|
2859
|
-
}, [o.optionsPropsRef, e.static]),
|
|
2858
|
+
}, [o.optionsPropsRef, e.static]), ge(() => {
|
|
2860
2859
|
o.optionsPropsRef.current.hold = i;
|
|
2861
|
-
}, [o.optionsPropsRef, i]),
|
|
2860
|
+
}, [o.optionsPropsRef, i]), ks({ container: o.optionsRef.current, enabled: o.comboboxState === 0, accept(d) {
|
|
2862
2861
|
return d.getAttribute("role") === "option" ? NodeFilter.FILTER_REJECT : d.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
2863
2862
|
}, walk(d) {
|
|
2864
2863
|
d.setAttribute("role", "none");
|
|
@@ -2867,23 +2866,23 @@ function Js(e, t) {
|
|
|
2867
2866
|
var d, a;
|
|
2868
2867
|
return (a = o.labelId) != null ? a : (d = o.buttonRef.current) == null ? void 0 : d.id;
|
|
2869
2868
|
}, [o.labelId, o.buttonRef.current]), h = ke(() => ({ open: o.comboboxState === 0 }), [o]), s = { "aria-labelledby": m, role: "listbox", "aria-multiselectable": o.mode === 1 ? !0 : void 0, id: n, ref: f };
|
|
2870
|
-
return Ne({ ourProps: s, theirProps: c, slot: h, defaultTag:
|
|
2869
|
+
return Ne({ ourProps: s, theirProps: c, slot: h, defaultTag: Ys, features: Ks, visible: v, name: "Combobox.Options" });
|
|
2871
2870
|
}
|
|
2872
|
-
let
|
|
2873
|
-
function
|
|
2871
|
+
let Js = "li";
|
|
2872
|
+
function Qs(e, t) {
|
|
2874
2873
|
var r, n;
|
|
2875
2874
|
let i = it(), { id: c = `headlessui-combobox-option-${i}`, disabled: o = !1, value: f, ...b } = e, v = kt("Combobox.Option"), m = Lt("Combobox.Option"), h = v.activeOptionIndex !== null ? v.options[v.activeOptionIndex].id === c : !1, s = v.isSelected(f), d = j(null), a = ze({ disabled: o, value: f, domRef: d, textValue: (n = (r = d.current) == null ? void 0 : r.textContent) == null ? void 0 : n.toLowerCase() }), u = He(t, d), p = L(() => m.selectOption(c));
|
|
2876
|
-
|
|
2877
|
-
let
|
|
2878
|
-
|
|
2875
|
+
ge(() => m.registerOption(c, a), [a, c]);
|
|
2876
|
+
let w = j(!v.__demoMode);
|
|
2877
|
+
ge(() => {
|
|
2879
2878
|
if (!v.__demoMode)
|
|
2880
2879
|
return;
|
|
2881
2880
|
let C = Je();
|
|
2882
2881
|
return C.requestAnimationFrame(() => {
|
|
2883
|
-
|
|
2882
|
+
w.current = !0;
|
|
2884
2883
|
}), C.dispose;
|
|
2885
|
-
}, []),
|
|
2886
|
-
if (v.comboboxState !== 0 || !h || !
|
|
2884
|
+
}, []), ge(() => {
|
|
2885
|
+
if (v.comboboxState !== 0 || !h || !w.current || v.activationTrigger === 0)
|
|
2887
2886
|
return;
|
|
2888
2887
|
let C = Je();
|
|
2889
2888
|
return C.requestAnimationFrame(() => {
|
|
@@ -2894,7 +2893,7 @@ function Xs(e, t) {
|
|
|
2894
2893
|
let S = L((C) => {
|
|
2895
2894
|
if (o)
|
|
2896
2895
|
return C.preventDefault();
|
|
2897
|
-
p(), v.mode === 0 && m.closeCombobox(),
|
|
2896
|
+
p(), v.mode === 0 && m.closeCombobox(), Is() || requestAnimationFrame(() => {
|
|
2898
2897
|
var z;
|
|
2899
2898
|
return (z = v.inputRef.current) == null ? void 0 : z.focus();
|
|
2900
2899
|
});
|
|
@@ -2907,12 +2906,12 @@ function Xs(e, t) {
|
|
|
2907
2906
|
}), q = L((C) => {
|
|
2908
2907
|
y.wasMoved(C) && (o || h && (v.optionsPropsRef.current.hold || m.goToOption(te.Nothing)));
|
|
2909
2908
|
}), $ = ke(() => ({ active: h, selected: s, disabled: o }), [h, s, o]);
|
|
2910
|
-
return Ne({ ourProps: { id: c, ref: u, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": s, disabled: void 0, onClick: S, onFocus: x, onPointerEnter: F, onMouseEnter: F, onPointerMove: P, onMouseMove: P, onPointerLeave: q, onMouseLeave: q }, theirProps: b, slot: $, defaultTag:
|
|
2909
|
+
return Ne({ ourProps: { id: c, ref: u, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": s, disabled: void 0, onClick: S, onFocus: x, onPointerEnter: F, onMouseEnter: F, onPointerMove: P, onMouseMove: P, onPointerLeave: q, onMouseLeave: q }, theirProps: b, slot: $, defaultTag: Js, name: "Combobox.Option" });
|
|
2911
2910
|
}
|
|
2912
|
-
let
|
|
2911
|
+
let Xs = je(Ws), Zs = je(Hs), el = je(Bs), tl = je(zs), rl = je(Gs), nl = je(Qs), Rt = Object.assign(Xs, { Input: el, Button: Zs, Label: tl, Options: rl, Option: nl });
|
|
2913
2912
|
function Cr() {
|
|
2914
2913
|
let e = j(!1);
|
|
2915
|
-
return
|
|
2914
|
+
return ge(() => (e.current = !0, () => {
|
|
2916
2915
|
e.current = !1;
|
|
2917
2916
|
}), []), e;
|
|
2918
2917
|
}
|
|
@@ -2928,7 +2927,7 @@ function Qr(e) {
|
|
|
2928
2927
|
let o = c ? (r = i.innerText) != null ? r : "" : n;
|
|
2929
2928
|
return Jr.test(o) && (o = o.replace(Jr, "")), o;
|
|
2930
2929
|
}
|
|
2931
|
-
function
|
|
2930
|
+
function il(e) {
|
|
2932
2931
|
let t = e.getAttribute("aria-label");
|
|
2933
2932
|
if (typeof t == "string")
|
|
2934
2933
|
return t.trim();
|
|
@@ -2947,7 +2946,7 @@ function ol(e) {
|
|
|
2947
2946
|
}
|
|
2948
2947
|
return Qr(e).trim();
|
|
2949
2948
|
}
|
|
2950
|
-
function
|
|
2949
|
+
function ol(e) {
|
|
2951
2950
|
let t = j(""), r = j("");
|
|
2952
2951
|
return L(() => {
|
|
2953
2952
|
let n = e.current;
|
|
@@ -2956,16 +2955,16 @@ function al(e) {
|
|
|
2956
2955
|
let i = n.innerText;
|
|
2957
2956
|
if (t.current === i)
|
|
2958
2957
|
return r.current;
|
|
2959
|
-
let c =
|
|
2958
|
+
let c = il(n).trim().toLowerCase();
|
|
2960
2959
|
return t.current = i, r.current = c, c;
|
|
2961
2960
|
});
|
|
2962
2961
|
}
|
|
2963
|
-
var
|
|
2962
|
+
var al = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(al || {}), sl = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(sl || {}), ll = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(ll || {}), cl = ((e) => (e[e.OpenListbox = 0] = "OpenListbox", e[e.CloseListbox = 1] = "CloseListbox", e[e.GoToOption = 2] = "GoToOption", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.RegisterOption = 5] = "RegisterOption", e[e.UnregisterOption = 6] = "UnregisterOption", e[e.RegisterLabel = 7] = "RegisterLabel", e))(cl || {});
|
|
2964
2963
|
function sr(e, t = (r) => r) {
|
|
2965
2964
|
let r = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, n = oi(t(e.options.slice()), (c) => c.dataRef.current.domRef.current), i = r ? n.indexOf(r) : null;
|
|
2966
2965
|
return i === -1 && (i = null), { options: n, activeOptionIndex: i };
|
|
2967
2966
|
}
|
|
2968
|
-
let
|
|
2967
|
+
let ul = { 1(e) {
|
|
2969
2968
|
return e.dataRef.current.disabled || e.listboxState === 1 ? e : { ...e, activeOptionIndex: null, listboxState: 1 };
|
|
2970
2969
|
}, 0(e) {
|
|
2971
2970
|
if (e.dataRef.current.disabled || e.listboxState === 0)
|
|
@@ -3017,22 +3016,22 @@ function At(e) {
|
|
|
3017
3016
|
}
|
|
3018
3017
|
return t;
|
|
3019
3018
|
}
|
|
3020
|
-
function
|
|
3021
|
-
return be(t.type,
|
|
3019
|
+
function dl(e, t) {
|
|
3020
|
+
return be(t.type, ul, e, t);
|
|
3022
3021
|
}
|
|
3023
|
-
let
|
|
3024
|
-
function
|
|
3022
|
+
let fl = rt;
|
|
3023
|
+
function pl(e, t) {
|
|
3025
3024
|
let { value: r, defaultValue: n, form: i, name: c, onChange: o, by: f = (_, I) => _ === I, disabled: b = !1, horizontal: v = !1, multiple: m = !1, ...h } = e;
|
|
3026
3025
|
const s = v ? "horizontal" : "vertical";
|
|
3027
|
-
let d = He(t), [a = m ? [] : void 0, u] = bi(r, o, n), [p,
|
|
3026
|
+
let d = He(t), [a = m ? [] : void 0, u] = bi(r, o, n), [p, w] = en(dl, { dataRef: tn(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }), S = j({ static: !1, hold: !1 }), x = j(null), y = j(null), F = j(null), P = L(typeof f == "string" ? (_, I) => {
|
|
3028
3027
|
let V = f;
|
|
3029
3028
|
return _?.[V] === I?.[V];
|
|
3030
|
-
} : f), q =
|
|
3031
|
-
|
|
3029
|
+
} : f), q = gt((_) => be($.mode, { 1: () => a.some((I) => P(I, _)), 0: () => P(a, _) }), [a]), $ = ke(() => ({ ...p, value: a, disabled: b, mode: m ? 1 : 0, orientation: s, compare: P, isSelected: q, optionsPropsRef: S, labelRef: x, buttonRef: y, optionsRef: F }), [a, b, m, p]);
|
|
3030
|
+
ge(() => {
|
|
3032
3031
|
p.dataRef.current = $;
|
|
3033
3032
|
}, [$]), ai([$.buttonRef, $.optionsRef], (_, I) => {
|
|
3034
3033
|
var V;
|
|
3035
|
-
|
|
3034
|
+
w({ type: 1 }), ii(I, yr.Loose) || (_.preventDefault(), (V = $.buttonRef.current) == null || V.focus());
|
|
3036
3035
|
}, $.listboxState === 0);
|
|
3037
3036
|
let C = ke(() => ({ open: $.listboxState === 0, disabled: b, value: a }), [$, b, a]), z = L((_) => {
|
|
3038
3037
|
let I = $.options.find((V) => V.id === _);
|
|
@@ -3040,14 +3039,14 @@ function bl(e, t) {
|
|
|
3040
3039
|
}), de = L(() => {
|
|
3041
3040
|
if ($.activeOptionIndex !== null) {
|
|
3042
3041
|
let { dataRef: _, id: I } = $.options[$.activeOptionIndex];
|
|
3043
|
-
B(_.current.value),
|
|
3042
|
+
B(_.current.value), w({ type: 2, focus: te.Specific, id: I });
|
|
3044
3043
|
}
|
|
3045
|
-
}), Z = L(() =>
|
|
3044
|
+
}), Z = L(() => w({ type: 0 })), k = L(() => w({ type: 1 })), G = L((_, I, V) => _ === te.Specific ? w({ type: 2, focus: te.Specific, id: I, trigger: V }) : w({ type: 2, focus: _, trigger: V })), re = L((_, I) => (w({ type: 5, id: _, dataRef: I }), () => w({ type: 6, id: _ }))), pe = L((_) => (w({ type: 7, id: _ }), () => w({ type: 7, id: null }))), B = L((_) => be($.mode, { 0() {
|
|
3046
3045
|
return u?.(_);
|
|
3047
3046
|
}, 1() {
|
|
3048
3047
|
let I = $.value.slice(), V = I.findIndex((xe) => P(xe, _));
|
|
3049
3048
|
return V === -1 ? I.push(_) : I.splice(V, 1), u?.(I);
|
|
3050
|
-
} })), fe = L((_) =>
|
|
3049
|
+
} })), fe = L((_) => w({ type: 3, value: _ })), ne = L(() => w({ type: 4 })), Q = ke(() => ({ onChange: B, registerOption: re, registerLabel: pe, goToOption: G, closeListbox: k, openListbox: Z, selectActiveOption: de, selectOption: z, search: fe, clearSearch: ne }), []), me = { ref: d }, ve = j(null), le = nt();
|
|
3051
3050
|
return ae(() => {
|
|
3052
3051
|
ve.current && n !== void 0 && le.addEventListener(ve.current, "reset", () => {
|
|
3053
3052
|
u?.(n);
|
|
@@ -3055,10 +3054,10 @@ function bl(e, t) {
|
|
|
3055
3054
|
}, [ve, u]), ce.createElement(Rr.Provider, { value: Q }, ce.createElement(Pr.Provider, { value: $ }, ce.createElement(Er, { value: be($.listboxState, { 0: Se.Open, 1: Se.Closed }) }, c != null && a != null && Or({ [c]: a }).map(([_, I], V) => ce.createElement(pi, { features: kr.Hidden, ref: V === 0 ? (xe) => {
|
|
3056
3055
|
var Ce;
|
|
3057
3056
|
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
3058
|
-
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: _, value: I }) })), Ne({ ourProps: me, theirProps: h, slot: C, defaultTag:
|
|
3057
|
+
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: _, value: I }) })), Ne({ ourProps: me, theirProps: h, slot: C, defaultTag: fl, name: "Listbox" }))));
|
|
3059
3058
|
}
|
|
3060
|
-
let
|
|
3061
|
-
function
|
|
3059
|
+
let bl = "button";
|
|
3060
|
+
function vl(e, t) {
|
|
3062
3061
|
var r;
|
|
3063
3062
|
let n = it(), { id: i = `headlessui-listbox-button-${n}`, ...c } = e, o = At("Listbox.Button"), f = Ft("Listbox.Button"), b = He(o.buttonRef, t), v = nt(), m = L((p) => {
|
|
3064
3063
|
switch (p.key) {
|
|
@@ -3085,41 +3084,41 @@ function ml(e, t) {
|
|
|
3085
3084
|
if (ui(p.currentTarget))
|
|
3086
3085
|
return p.preventDefault();
|
|
3087
3086
|
o.listboxState === 0 ? (f.closeListbox(), v.nextFrame(() => {
|
|
3088
|
-
var
|
|
3089
|
-
return (
|
|
3087
|
+
var w;
|
|
3088
|
+
return (w = o.buttonRef.current) == null ? void 0 : w.focus({ preventScroll: !0 });
|
|
3090
3089
|
})) : (p.preventDefault(), f.openListbox());
|
|
3091
3090
|
}), d = jt(() => {
|
|
3092
3091
|
if (o.labelId)
|
|
3093
3092
|
return [o.labelId, i].join(" ");
|
|
3094
3093
|
}, [o.labelId, i]), a = ke(() => ({ open: o.listboxState === 0, disabled: o.disabled, value: o.value }), [o]), u = { ref: b, id: i, type: si(e, o.buttonRef), "aria-haspopup": "listbox", "aria-controls": (r = o.optionsRef.current) == null ? void 0 : r.id, "aria-expanded": o.listboxState === 0, "aria-labelledby": d, disabled: o.disabled, onKeyDown: m, onKeyUp: h, onClick: s };
|
|
3095
|
-
return Ne({ ourProps: u, theirProps: c, slot: a, defaultTag:
|
|
3094
|
+
return Ne({ ourProps: u, theirProps: c, slot: a, defaultTag: bl, name: "Listbox.Button" });
|
|
3096
3095
|
}
|
|
3097
|
-
let
|
|
3098
|
-
function
|
|
3096
|
+
let ml = "label";
|
|
3097
|
+
function hl(e, t) {
|
|
3099
3098
|
let r = it(), { id: n = `headlessui-listbox-label-${r}`, ...i } = e, c = At("Listbox.Label"), o = Ft("Listbox.Label"), f = He(c.labelRef, t);
|
|
3100
|
-
|
|
3099
|
+
ge(() => o.registerLabel(n), [n]);
|
|
3101
3100
|
let b = L(() => {
|
|
3102
3101
|
var m;
|
|
3103
3102
|
return (m = c.buttonRef.current) == null ? void 0 : m.focus({ preventScroll: !0 });
|
|
3104
3103
|
}), v = ke(() => ({ open: c.listboxState === 0, disabled: c.disabled }), [c]);
|
|
3105
|
-
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag:
|
|
3104
|
+
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag: ml, name: "Listbox.Label" });
|
|
3106
3105
|
}
|
|
3107
|
-
let wl = "ul",
|
|
3108
|
-
function
|
|
3106
|
+
let wl = "ul", gl = yt.RenderStrategy | yt.Static;
|
|
3107
|
+
function xl(e, t) {
|
|
3109
3108
|
var r;
|
|
3110
3109
|
let n = it(), { id: i = `headlessui-listbox-options-${n}`, ...c } = e, o = At("Listbox.Options"), f = Ft("Listbox.Options"), b = He(o.optionsRef, t), v = nt(), m = nt(), h = Qt(), s = (() => h !== null ? (h & Se.Open) === Se.Open : o.listboxState === 0)();
|
|
3111
3110
|
ae(() => {
|
|
3112
|
-
var
|
|
3111
|
+
var w;
|
|
3113
3112
|
let S = o.optionsRef.current;
|
|
3114
|
-
S && o.listboxState === 0 && S !== ((
|
|
3113
|
+
S && o.listboxState === 0 && S !== ((w = Jt(S)) == null ? void 0 : w.activeElement) && S.focus({ preventScroll: !0 });
|
|
3115
3114
|
}, [o.listboxState, o.optionsRef]);
|
|
3116
|
-
let d = L((
|
|
3117
|
-
switch (m.dispose(),
|
|
3115
|
+
let d = L((w) => {
|
|
3116
|
+
switch (m.dispose(), w.key) {
|
|
3118
3117
|
case ee.Space:
|
|
3119
3118
|
if (o.searchQuery !== "")
|
|
3120
|
-
return
|
|
3119
|
+
return w.preventDefault(), w.stopPropagation(), f.search(w.key);
|
|
3121
3120
|
case ee.Enter:
|
|
3122
|
-
if (
|
|
3121
|
+
if (w.preventDefault(), w.stopPropagation(), o.activeOptionIndex !== null) {
|
|
3123
3122
|
let { dataRef: S } = o.options[o.activeOptionIndex];
|
|
3124
3123
|
f.onChange(S.current.value);
|
|
3125
3124
|
}
|
|
@@ -3129,39 +3128,39 @@ function yl(e, t) {
|
|
|
3129
3128
|
}));
|
|
3130
3129
|
break;
|
|
3131
3130
|
case be(o.orientation, { vertical: ee.ArrowDown, horizontal: ee.ArrowRight }):
|
|
3132
|
-
return
|
|
3131
|
+
return w.preventDefault(), w.stopPropagation(), f.goToOption(te.Next);
|
|
3133
3132
|
case be(o.orientation, { vertical: ee.ArrowUp, horizontal: ee.ArrowLeft }):
|
|
3134
|
-
return
|
|
3133
|
+
return w.preventDefault(), w.stopPropagation(), f.goToOption(te.Previous);
|
|
3135
3134
|
case ee.Home:
|
|
3136
3135
|
case ee.PageUp:
|
|
3137
|
-
return
|
|
3136
|
+
return w.preventDefault(), w.stopPropagation(), f.goToOption(te.First);
|
|
3138
3137
|
case ee.End:
|
|
3139
3138
|
case ee.PageDown:
|
|
3140
|
-
return
|
|
3139
|
+
return w.preventDefault(), w.stopPropagation(), f.goToOption(te.Last);
|
|
3141
3140
|
case ee.Escape:
|
|
3142
|
-
return
|
|
3141
|
+
return w.preventDefault(), w.stopPropagation(), f.closeListbox(), v.nextFrame(() => {
|
|
3143
3142
|
var S;
|
|
3144
3143
|
return (S = o.buttonRef.current) == null ? void 0 : S.focus({ preventScroll: !0 });
|
|
3145
3144
|
});
|
|
3146
3145
|
case ee.Tab:
|
|
3147
|
-
|
|
3146
|
+
w.preventDefault(), w.stopPropagation();
|
|
3148
3147
|
break;
|
|
3149
3148
|
default:
|
|
3150
|
-
|
|
3149
|
+
w.key.length === 1 && (f.search(w.key), m.setTimeout(() => f.clearSearch(), 350));
|
|
3151
3150
|
break;
|
|
3152
3151
|
}
|
|
3153
3152
|
}), a = jt(() => {
|
|
3154
|
-
var
|
|
3155
|
-
return (x = (
|
|
3153
|
+
var w, S, x;
|
|
3154
|
+
return (x = (w = o.labelRef.current) == null ? void 0 : w.id) != null ? x : (S = o.buttonRef.current) == null ? void 0 : S.id;
|
|
3156
3155
|
}, [o.labelRef.current, o.buttonRef.current]), u = ke(() => ({ open: o.listboxState === 0 }), [o]), p = { "aria-activedescendant": o.activeOptionIndex === null || (r = o.options[o.activeOptionIndex]) == null ? void 0 : r.id, "aria-multiselectable": o.mode === 1 ? !0 : void 0, "aria-labelledby": a, "aria-orientation": o.orientation, id: i, onKeyDown: d, role: "listbox", tabIndex: 0, ref: b };
|
|
3157
|
-
return Ne({ ourProps: p, theirProps: c, slot: u, defaultTag: wl, features:
|
|
3156
|
+
return Ne({ ourProps: p, theirProps: c, slot: u, defaultTag: wl, features: gl, visible: s, name: "Listbox.Options" });
|
|
3158
3157
|
}
|
|
3159
|
-
let
|
|
3160
|
-
function
|
|
3161
|
-
let r = it(), { id: n = `headlessui-listbox-option-${r}`, disabled: i = !1, value: c, ...o } = e, f = At("Listbox.Option"), b = Ft("Listbox.Option"), v = f.activeOptionIndex !== null ? f.options[f.activeOptionIndex].id === n : !1, m = f.isSelected(c), h = j(null), s =
|
|
3158
|
+
let yl = "li";
|
|
3159
|
+
function Ol(e, t) {
|
|
3160
|
+
let r = it(), { id: n = `headlessui-listbox-option-${r}`, disabled: i = !1, value: c, ...o } = e, f = At("Listbox.Option"), b = Ft("Listbox.Option"), v = f.activeOptionIndex !== null ? f.options[f.activeOptionIndex].id === n : !1, m = f.isSelected(c), h = j(null), s = ol(h), d = ze({ disabled: i, value: c, domRef: h, get textValue() {
|
|
3162
3161
|
return s();
|
|
3163
3162
|
} }), a = He(t, h);
|
|
3164
|
-
|
|
3163
|
+
ge(() => {
|
|
3165
3164
|
if (f.listboxState !== 0 || !v || f.activationTrigger === 0)
|
|
3166
3165
|
return;
|
|
3167
3166
|
let P = Je();
|
|
@@ -3169,7 +3168,7 @@ function kl(e, t) {
|
|
|
3169
3168
|
var q, $;
|
|
3170
3169
|
($ = (q = h.current) == null ? void 0 : q.scrollIntoView) == null || $.call(q, { block: "nearest" });
|
|
3171
3170
|
}), P.dispose;
|
|
3172
|
-
}, [h, v, f.listboxState, f.activationTrigger, f.activeOptionIndex]),
|
|
3171
|
+
}, [h, v, f.listboxState, f.activationTrigger, f.activeOptionIndex]), ge(() => b.registerOption(n, d), [d, n]);
|
|
3173
3172
|
let u = L((P) => {
|
|
3174
3173
|
if (i)
|
|
3175
3174
|
return P.preventDefault();
|
|
@@ -3181,25 +3180,25 @@ function kl(e, t) {
|
|
|
3181
3180
|
if (i)
|
|
3182
3181
|
return b.goToOption(te.Nothing);
|
|
3183
3182
|
b.goToOption(te.Specific, n);
|
|
3184
|
-
}),
|
|
3185
|
-
|
|
3183
|
+
}), w = vi(), S = L((P) => w.update(P)), x = L((P) => {
|
|
3184
|
+
w.wasMoved(P) && (i || v || b.goToOption(te.Specific, n, 0));
|
|
3186
3185
|
}), y = L((P) => {
|
|
3187
|
-
|
|
3186
|
+
w.wasMoved(P) && (i || v && b.goToOption(te.Nothing));
|
|
3188
3187
|
}), F = ke(() => ({ active: v, selected: m, disabled: i }), [v, m, i]);
|
|
3189
|
-
return Ne({ ourProps: { id: n, ref: a, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": m, disabled: void 0, onClick: u, onFocus: p, onPointerEnter: S, onMouseEnter: S, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, theirProps: o, slot: F, defaultTag:
|
|
3188
|
+
return Ne({ ourProps: { id: n, ref: a, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": m, disabled: void 0, onClick: u, onFocus: p, onPointerEnter: S, onMouseEnter: S, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, theirProps: o, slot: F, defaultTag: yl, name: "Listbox.Option" });
|
|
3190
3189
|
}
|
|
3191
|
-
let
|
|
3192
|
-
function
|
|
3193
|
-
let [t, r] = oe(e), n = Cr(), i =
|
|
3190
|
+
let kl = je(pl), Sl = je(vl), El = je(hl), Tl = je(xl), _l = je(Ol), Kt = Object.assign(kl, { Button: Sl, Label: El, Options: Tl, Option: _l });
|
|
3191
|
+
function Cl(e = 0) {
|
|
3192
|
+
let [t, r] = oe(e), n = Cr(), i = gt((b) => {
|
|
3194
3193
|
n.current && r((v) => v | b);
|
|
3195
|
-
}, [t, n]), c =
|
|
3194
|
+
}, [t, n]), c = gt((b) => !!(t & b), [t]), o = gt((b) => {
|
|
3196
3195
|
n.current && r((v) => v & ~b);
|
|
3197
|
-
}, [r, n]), f =
|
|
3196
|
+
}, [r, n]), f = gt((b) => {
|
|
3198
3197
|
n.current && r((v) => v ^ b);
|
|
3199
3198
|
}, [r]);
|
|
3200
3199
|
return { flags: t, addFlag: i, hasFlag: c, removeFlag: o, toggleFlag: f };
|
|
3201
3200
|
}
|
|
3202
|
-
function
|
|
3201
|
+
function Rl(e) {
|
|
3203
3202
|
let t = { called: !1 };
|
|
3204
3203
|
return (...r) => {
|
|
3205
3204
|
if (!t.called)
|
|
@@ -3212,7 +3211,7 @@ function lr(e, ...t) {
|
|
|
3212
3211
|
function cr(e, ...t) {
|
|
3213
3212
|
e && t.length > 0 && e.classList.remove(...t);
|
|
3214
3213
|
}
|
|
3215
|
-
function
|
|
3214
|
+
function Pl(e, t) {
|
|
3216
3215
|
let r = Je();
|
|
3217
3216
|
if (!e)
|
|
3218
3217
|
return r.dispose;
|
|
@@ -3235,25 +3234,25 @@ function Il(e, t) {
|
|
|
3235
3234
|
t();
|
|
3236
3235
|
return r.add(() => t()), r.dispose;
|
|
3237
3236
|
}
|
|
3238
|
-
function
|
|
3239
|
-
let i = r ? "enter" : "leave", c = Je(), o = n !== void 0 ?
|
|
3237
|
+
function Il(e, t, r, n) {
|
|
3238
|
+
let i = r ? "enter" : "leave", c = Je(), o = n !== void 0 ? Rl(n) : () => {
|
|
3240
3239
|
};
|
|
3241
3240
|
i === "enter" && (e.removeAttribute("hidden"), e.style.display = "");
|
|
3242
3241
|
let f = be(i, { enter: () => t.enter, leave: () => t.leave }), b = be(i, { enter: () => t.enterTo, leave: () => t.leaveTo }), v = be(i, { enter: () => t.enterFrom, leave: () => t.leaveFrom });
|
|
3243
3242
|
return cr(e, ...t.base, ...t.enter, ...t.enterTo, ...t.enterFrom, ...t.leave, ...t.leaveFrom, ...t.leaveTo, ...t.entered), lr(e, ...t.base, ...f, ...v), c.nextFrame(() => {
|
|
3244
|
-
cr(e, ...t.base, ...f, ...v), lr(e, ...t.base, ...f, ...b),
|
|
3243
|
+
cr(e, ...t.base, ...f, ...v), lr(e, ...t.base, ...f, ...b), Pl(e, () => (cr(e, ...t.base, ...f), lr(e, ...t.base, ...t.entered), o()));
|
|
3245
3244
|
}), c.dispose;
|
|
3246
3245
|
}
|
|
3247
|
-
function
|
|
3246
|
+
function jl({ immediate: e, container: t, direction: r, classes: n, onStart: i, onStop: c }) {
|
|
3248
3247
|
let o = Cr(), f = nt(), b = ze(r);
|
|
3249
|
-
|
|
3248
|
+
ge(() => {
|
|
3250
3249
|
e && (b.current = "enter");
|
|
3251
|
-
}, [e]),
|
|
3250
|
+
}, [e]), ge(() => {
|
|
3252
3251
|
let v = Je();
|
|
3253
3252
|
f.add(v.dispose);
|
|
3254
3253
|
let m = t.current;
|
|
3255
3254
|
if (m && b.current !== "idle" && o.current)
|
|
3256
|
-
return v.dispose(), i.current(b.current), v.add(
|
|
3255
|
+
return v.dispose(), i.current(b.current), v.add(Il(m, n.current, b.current === "enter", () => {
|
|
3257
3256
|
v.dispose(), c.current(b.current);
|
|
3258
3257
|
})), v.dispose;
|
|
3259
3258
|
}, [r]);
|
|
@@ -3263,14 +3262,14 @@ function st(e = "") {
|
|
|
3263
3262
|
}
|
|
3264
3263
|
let Xt = vt(null);
|
|
3265
3264
|
Xt.displayName = "TransitionContext";
|
|
3266
|
-
var
|
|
3267
|
-
function
|
|
3265
|
+
var Ll = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Ll || {});
|
|
3266
|
+
function Fl() {
|
|
3268
3267
|
let e = ut(Xt);
|
|
3269
3268
|
if (e === null)
|
|
3270
3269
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
3271
3270
|
return e;
|
|
3272
3271
|
}
|
|
3273
|
-
function
|
|
3272
|
+
function Al() {
|
|
3274
3273
|
let e = ut(Zt);
|
|
3275
3274
|
if (e === null)
|
|
3276
3275
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
@@ -3299,36 +3298,36 @@ function mi(e, t) {
|
|
|
3299
3298
|
b.current.splice(0), t && (t.chains.current[a] = t.chains.current[a].filter(([p]) => p !== d)), t?.chains.current[a].push([d, new Promise((p) => {
|
|
3300
3299
|
b.current.push(p);
|
|
3301
3300
|
})]), t?.chains.current[a].push([d, new Promise((p) => {
|
|
3302
|
-
Promise.all(m.current[a].map(([
|
|
3301
|
+
Promise.all(m.current[a].map(([w, S]) => S)).then(() => p());
|
|
3303
3302
|
})]), a === "enter" ? v.current = v.current.then(() => t?.wait.current).then(() => u(a)) : u(a);
|
|
3304
3303
|
}), s = L((d, a, u) => {
|
|
3305
|
-
Promise.all(m.current[a].splice(0).map(([p,
|
|
3304
|
+
Promise.all(m.current[a].splice(0).map(([p, w]) => w)).then(() => {
|
|
3306
3305
|
var p;
|
|
3307
3306
|
(p = b.current.shift()) == null || p();
|
|
3308
3307
|
}).then(() => u(a));
|
|
3309
3308
|
});
|
|
3310
3309
|
return ke(() => ({ children: n, register: f, unregister: o, onStart: h, onStop: s, wait: v, chains: m }), [f, o, n, h, s, m, v]);
|
|
3311
3310
|
}
|
|
3312
|
-
function
|
|
3311
|
+
function Nl() {
|
|
3313
3312
|
}
|
|
3314
|
-
let
|
|
3313
|
+
let Dl = ["beforeEnter", "afterEnter", "beforeLeave", "afterLeave"];
|
|
3315
3314
|
function Xr(e) {
|
|
3316
3315
|
var t;
|
|
3317
3316
|
let r = {};
|
|
3318
|
-
for (let n of
|
|
3319
|
-
r[n] = (t = e[n]) != null ? t :
|
|
3317
|
+
for (let n of Dl)
|
|
3318
|
+
r[n] = (t = e[n]) != null ? t : Nl;
|
|
3320
3319
|
return r;
|
|
3321
3320
|
}
|
|
3322
|
-
function
|
|
3321
|
+
function Ml(e) {
|
|
3323
3322
|
let t = j(Xr(e));
|
|
3324
3323
|
return ae(() => {
|
|
3325
3324
|
t.current = Xr(e);
|
|
3326
3325
|
}, [e]), t;
|
|
3327
3326
|
}
|
|
3328
|
-
let
|
|
3329
|
-
function
|
|
3327
|
+
let $l = "div", hi = yt.RenderStrategy;
|
|
3328
|
+
function Wl(e, t) {
|
|
3330
3329
|
var r, n;
|
|
3331
|
-
let { beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f, enter: b, enterFrom: v, enterTo: m, entered: h, leave: s, leaveFrom: d, leaveTo: a, ...u } = e, p = j(null),
|
|
3330
|
+
let { beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f, enter: b, enterFrom: v, enterTo: m, entered: h, leave: s, leaveFrom: d, leaveTo: a, ...u } = e, p = j(null), w = He(p, t), S = (r = u.unmount) == null || r ? lt.Unmount : lt.Hidden, { show: x, appear: y, initial: F } = Fl(), [P, q] = oe(x ? "visible" : "hidden"), $ = Al(), { register: C, unregister: z } = $;
|
|
3332
3331
|
ae(() => C(p), [C, p]), ae(() => {
|
|
3333
3332
|
if (S === lt.Hidden && p.current) {
|
|
3334
3333
|
if (x && P !== "visible") {
|
|
@@ -3338,12 +3337,12 @@ function Vl(e, t) {
|
|
|
3338
3337
|
return be(P, { hidden: () => z(p), visible: () => C(p) });
|
|
3339
3338
|
}
|
|
3340
3339
|
}, [P, p, C, z, x, S]);
|
|
3341
|
-
let de = ze({ base: st(u.className), enter: st(b), enterFrom: st(v), enterTo: st(m), entered: st(h), leave: st(s), leaveFrom: st(d), leaveTo: st(a) }), Z =
|
|
3340
|
+
let de = ze({ base: st(u.className), enter: st(b), enterFrom: st(v), enterTo: st(m), entered: st(h), leave: st(s), leaveFrom: st(d), leaveTo: st(a) }), Z = Ml({ beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f }), k = xr();
|
|
3342
3341
|
ae(() => {
|
|
3343
3342
|
if (k && P === "visible" && p.current === null)
|
|
3344
3343
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
3345
3344
|
}, [p, P, k]);
|
|
3346
|
-
let G = F && !y, re = y && x && F, pe = (() => !k || G ? "idle" : x ? "enter" : "leave")(), B =
|
|
3345
|
+
let G = F && !y, re = y && x && F, pe = (() => !k || G ? "idle" : x ? "enter" : "leave")(), B = Cl(0), fe = L((le) => be(le, { enter: () => {
|
|
3347
3346
|
B.addFlag(Se.Opening), Z.current.beforeEnter();
|
|
3348
3347
|
}, leave: () => {
|
|
3349
3348
|
B.addFlag(Se.Closing), Z.current.beforeLeave();
|
|
@@ -3356,15 +3355,15 @@ function Vl(e, t) {
|
|
|
3356
3355
|
} })), Q = mi(() => {
|
|
3357
3356
|
q("hidden"), z(p);
|
|
3358
3357
|
}, $);
|
|
3359
|
-
|
|
3358
|
+
jl({ immediate: re, container: p, classes: de, direction: pe, onStart: ze((le) => {
|
|
3360
3359
|
Q.onStart(p, le, fe);
|
|
3361
3360
|
}), onStop: ze((le) => {
|
|
3362
3361
|
Q.onStop(p, le, ne), le === "leave" && !er(Q) && (q("hidden"), z(p));
|
|
3363
3362
|
}) });
|
|
3364
|
-
let me = u, ve = { ref:
|
|
3365
|
-
return re ? me = { ...me, className: zt(u.className, ...de.current.enter, ...de.current.enterFrom) } : (me.className = zt(u.className, (n = p.current) == null ? void 0 : n.className), me.className === "" && delete me.className), ce.createElement(Zt.Provider, { value: Q }, ce.createElement(Er, { value: be(P, { visible: Se.Open, hidden: Se.Closed }) | B.flags }, Ne({ ourProps: ve, theirProps: me, defaultTag:
|
|
3363
|
+
let me = u, ve = { ref: w };
|
|
3364
|
+
return re ? me = { ...me, className: zt(u.className, ...de.current.enter, ...de.current.enterFrom) } : (me.className = zt(u.className, (n = p.current) == null ? void 0 : n.className), me.className === "" && delete me.className), ce.createElement(Zt.Provider, { value: Q }, ce.createElement(Er, { value: be(P, { visible: Se.Open, hidden: Se.Closed }) | B.flags }, Ne({ ourProps: ve, theirProps: me, defaultTag: $l, features: hi, visible: P === "visible", name: "Transition.Child" })));
|
|
3366
3365
|
}
|
|
3367
|
-
function
|
|
3366
|
+
function Vl(e, t) {
|
|
3368
3367
|
let { show: r, appear: n = !1, unmount: i = !0, ...c } = e, o = j(null), f = He(o, t);
|
|
3369
3368
|
xr();
|
|
3370
3369
|
let b = Qt();
|
|
@@ -3373,7 +3372,7 @@ function Bl(e, t) {
|
|
|
3373
3372
|
let [v, m] = oe(r ? "visible" : "hidden"), h = mi(() => {
|
|
3374
3373
|
m("hidden");
|
|
3375
3374
|
}), [s, d] = oe(!0), a = j([r]);
|
|
3376
|
-
|
|
3375
|
+
ge(() => {
|
|
3377
3376
|
s !== !1 && a.current[a.current.length - 1] !== r && (a.current.push(r), d(!1));
|
|
3378
3377
|
}, [a, r]);
|
|
3379
3378
|
let u = ke(() => ({ show: r, appear: n, initial: s }), [r, n, s]);
|
|
@@ -3390,21 +3389,21 @@ function Bl(e, t) {
|
|
|
3390
3389
|
y.x === 0 && y.y === 0 && y.width === 0 && y.height === 0 && m("hidden");
|
|
3391
3390
|
}
|
|
3392
3391
|
}, [r, h]);
|
|
3393
|
-
let p = { unmount: i },
|
|
3392
|
+
let p = { unmount: i }, w = L(() => {
|
|
3394
3393
|
var x;
|
|
3395
3394
|
s && d(!1), (x = e.beforeEnter) == null || x.call(e);
|
|
3396
3395
|
}), S = L(() => {
|
|
3397
3396
|
var x;
|
|
3398
3397
|
s && d(!1), (x = e.beforeLeave) == null || x.call(e);
|
|
3399
3398
|
});
|
|
3400
|
-
return ce.createElement(Zt.Provider, { value: h }, ce.createElement(Xt.Provider, { value: u }, Ne({ ourProps: { ...p, as: rt, children: ce.createElement(
|
|
3399
|
+
return ce.createElement(Zt.Provider, { value: h }, ce.createElement(Xt.Provider, { value: u }, Ne({ ourProps: { ...p, as: rt, children: ce.createElement(wi, { ref: f, ...p, ...c, beforeEnter: w, beforeLeave: S }) }, theirProps: {}, defaultTag: rt, features: hi, visible: v === "visible", name: "Transition" })));
|
|
3401
3400
|
}
|
|
3402
|
-
function
|
|
3401
|
+
function Bl(e, t) {
|
|
3403
3402
|
let r = ut(Xt) !== null, n = Qt() !== null;
|
|
3404
|
-
return ce.createElement(ce.Fragment, null, !r && n ? ce.createElement(vr, { ref: t, ...e }) : ce.createElement(
|
|
3403
|
+
return ce.createElement(ce.Fragment, null, !r && n ? ce.createElement(vr, { ref: t, ...e }) : ce.createElement(wi, { ref: t, ...e }));
|
|
3405
3404
|
}
|
|
3406
|
-
let vr =
|
|
3407
|
-
function
|
|
3405
|
+
let vr = je(Vl), wi = je(Wl), Ul = je(Bl), gi = Object.assign(vr, { Child: Ul, Root: vr });
|
|
3406
|
+
function Hl({
|
|
3408
3407
|
title: e,
|
|
3409
3408
|
titleId: t,
|
|
3410
3409
|
...r
|
|
@@ -3424,14 +3423,14 @@ function ql({
|
|
|
3424
3423
|
clipRule: "evenodd"
|
|
3425
3424
|
}));
|
|
3426
3425
|
}
|
|
3427
|
-
const
|
|
3426
|
+
const ql = tt.forwardRef(Hl), xi = ql, nc = ({ children: e, selected: t, onSelect: r, themeColor: n }) => {
|
|
3428
3427
|
const [i, c] = oe(!1), [o, f] = oe(!1), b = j(null), v = j(null), [m, h] = oe({ left: 0, top: 0 }), s = j(0), d = j(0);
|
|
3429
3428
|
let a = "#333333";
|
|
3430
3429
|
const u = (F) => {
|
|
3431
3430
|
r(F);
|
|
3432
3431
|
}, p = () => {
|
|
3433
3432
|
c(!0);
|
|
3434
|
-
},
|
|
3433
|
+
}, w = () => {
|
|
3435
3434
|
c(!1);
|
|
3436
3435
|
}, S = () => {
|
|
3437
3436
|
s.current = window.innerHeight, d.current = document.body.scrollHeight, f(!0);
|
|
@@ -3468,7 +3467,7 @@ const zl = tt.forwardRef(ql), xi = zl, ic = ({ children: e, selected: t, onSelec
|
|
|
3468
3467
|
{
|
|
3469
3468
|
"data-testid": "select-options",
|
|
3470
3469
|
onFocus: p,
|
|
3471
|
-
onBlur:
|
|
3470
|
+
onBlur: w,
|
|
3472
3471
|
onClick: y,
|
|
3473
3472
|
onKeyDown: (P) => {
|
|
3474
3473
|
(P.key === " " || P.code === "Space" || P.code === "Enter") && y();
|
|
@@ -3513,8 +3512,8 @@ const zl = tt.forwardRef(ql), xi = zl, ic = ({ children: e, selected: t, onSelec
|
|
|
3513
3512
|
document.body
|
|
3514
3513
|
) : null
|
|
3515
3514
|
] }) });
|
|
3516
|
-
},
|
|
3517
|
-
|
|
3515
|
+
}, ic = ({ children: e, setQuery: t }) => /* @__PURE__ */ O.jsx(
|
|
3516
|
+
gi,
|
|
3518
3517
|
{
|
|
3519
3518
|
as: rt,
|
|
3520
3519
|
leave: "tw-transition tw-ease-in tw-duration-100",
|
|
@@ -3523,9 +3522,9 @@ const zl = tt.forwardRef(ql), xi = zl, ic = ({ children: e, selected: t, onSelec
|
|
|
3523
3522
|
afterLeave: () => t(""),
|
|
3524
3523
|
children: /* @__PURE__ */ O.jsx(Kt.Options, { className: "tw-max-h-[200px] tw-w-full tw-overflow-auto tw-bg-white tw-pb-[10px] tw-pt-[10px] tw-text-base tw-shadow-[0_1px_6px_0_rgba(0,0,0,0.5)] focus:tw-outline-none sm:tw-text-sm [&::-webkit-scrollbar-thumb]:tw-rounded-md [&::-webkit-scrollbar-thumb]:tw-bg-[#a9a9a9] [&::-webkit-scrollbar]:tw-w-[6px]", children: e })
|
|
3525
3524
|
}
|
|
3526
|
-
),
|
|
3527
|
-
|
|
3528
|
-
const
|
|
3525
|
+
), zl = ct((e, t) => /* @__PURE__ */ O.jsx(Kt.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
|
|
3526
|
+
zl.displayName = "SelectOption";
|
|
3527
|
+
const oc = ({
|
|
3529
3528
|
children: e,
|
|
3530
3529
|
selected: t,
|
|
3531
3530
|
onSelect: r,
|
|
@@ -3534,22 +3533,22 @@ const ac = ({
|
|
|
3534
3533
|
clearSearch: c = !1,
|
|
3535
3534
|
themeColor: o
|
|
3536
3535
|
}) => {
|
|
3537
|
-
const f = j(null), b = j(null), [v, m] = oe(!1), [h, s] = oe(!1), d = j(null), a = j(null), [u, p] = oe({ left: 0, top: 0 }),
|
|
3536
|
+
const f = j(null), b = j(null), [v, m] = oe(!1), [h, s] = oe(!1), d = j(null), a = j(null), [u, p] = oe({ left: 0, top: 0 }), w = j(0), S = j(0);
|
|
3538
3537
|
let x = {};
|
|
3539
3538
|
ae(() => {
|
|
3540
3539
|
f.current && t && (f.current.value = t.label || "");
|
|
3541
3540
|
}, [t]);
|
|
3542
3541
|
const y = () => {
|
|
3543
|
-
|
|
3542
|
+
w.current = window.innerHeight, S.current = document.body.scrollHeight, s(!0);
|
|
3544
3543
|
};
|
|
3545
3544
|
ae(() => (y(), window.addEventListener("resize", y), () => {
|
|
3546
3545
|
window.addEventListener("resize", y);
|
|
3547
3546
|
}), []);
|
|
3548
|
-
const F = () => S.current - (
|
|
3547
|
+
const F = () => S.current - (w.current + window.scrollY), P = () => {
|
|
3549
3548
|
if (d.current) {
|
|
3550
3549
|
const k = d.current.getBoundingClientRect();
|
|
3551
3550
|
setTimeout(() => {
|
|
3552
|
-
const G = a?.current?.getBoundingClientRect(), re = F(), pe =
|
|
3551
|
+
const G = a?.current?.getBoundingClientRect(), re = F(), pe = w.current - k.bottom;
|
|
3553
3552
|
let B;
|
|
3554
3553
|
if (G) {
|
|
3555
3554
|
const fe = k.height, ne = k.top, Q = G.height, me = Q > ne + window.scrollY;
|
|
@@ -3658,8 +3657,8 @@ const ac = ({
|
|
|
3658
3657
|
document.body
|
|
3659
3658
|
) : null
|
|
3660
3659
|
] }) });
|
|
3661
|
-
},
|
|
3662
|
-
|
|
3660
|
+
}, ac = ({ children: e, setQuery: t }) => /* @__PURE__ */ O.jsx(
|
|
3661
|
+
gi,
|
|
3663
3662
|
{
|
|
3664
3663
|
as: rt,
|
|
3665
3664
|
leave: "tw-transition tw-ease-in tw-duration-100",
|
|
@@ -3668,12 +3667,12 @@ const ac = ({
|
|
|
3668
3667
|
afterLeave: () => t(""),
|
|
3669
3668
|
children: /* @__PURE__ */ O.jsx(Rt.Options, { className: "tw-max-h-[210px] tw-w-full tw-overflow-auto tw-bg-white tw-pb-[10px] tw-pt-[10px] tw-text-base tw-shadow-[0_1px_6px_0_rgba(0,0,0,0.5)] focus:tw-outline-none sm:tw-text-sm [&::-webkit-scrollbar-thumb]:tw-rounded-md [&::-webkit-scrollbar-thumb]:tw-bg-[#a9a9a9] [&::-webkit-scrollbar]:tw-w-[6px]", children: e })
|
|
3670
3669
|
}
|
|
3671
|
-
),
|
|
3672
|
-
|
|
3673
|
-
const
|
|
3674
|
-
textInputWrapper:
|
|
3675
|
-
textInput:
|
|
3676
|
-
},
|
|
3670
|
+
), Yl = ct((e, t) => /* @__PURE__ */ O.jsx(Rt.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
|
|
3671
|
+
Yl.displayName = "AutoCompleteOption";
|
|
3672
|
+
const Kl = "_textInputWrapper_gym4n_1", Gl = "_textInput_gym4n_1", Zr = {
|
|
3673
|
+
textInputWrapper: Kl,
|
|
3674
|
+
textInput: Gl
|
|
3675
|
+
}, sc = ce.memo(
|
|
3677
3676
|
ct(
|
|
3678
3677
|
({ themeColor: e = "", style: t = {}, className: r = "", onFocus: n, onBlur: i, ...c }, o) => {
|
|
3679
3678
|
const [f, b] = oe(!1);
|
|
@@ -3704,20 +3703,20 @@ const Gl = "_textInputWrapper_gym4n_1", Jl = "_textInput_gym4n_1", Zr = {
|
|
|
3704
3703
|
)
|
|
3705
3704
|
);
|
|
3706
3705
|
export {
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3706
|
+
oc as AutoComplete,
|
|
3707
|
+
Yl as AutoCompleteOption,
|
|
3708
|
+
ac as AutoCompleteOptions,
|
|
3710
3709
|
rn as Button,
|
|
3711
3710
|
nn as Checkbox,
|
|
3712
3711
|
Qe as ColorsService,
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3712
|
+
Xl as MultiLineInput,
|
|
3713
|
+
Zl as MultiSelect,
|
|
3714
|
+
ec as QuickMultiSelect,
|
|
3715
|
+
tc as QuickSelect,
|
|
3716
|
+
ds as Scrollbar,
|
|
3717
|
+
nc as Select,
|
|
3718
|
+
zl as SelectOption,
|
|
3719
|
+
ic as SelectOptions,
|
|
3720
|
+
sc as SingleLineInput
|
|
3722
3721
|
};
|
|
3723
3722
|
//# sourceMappingURL=ui-react.es.js.map
|