@flarehr/superhero-basic-profile 3.63.50 → 3.64.51
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,: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-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-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: }.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,: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-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-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: }.fixed{position:fixed}.relative{position:relative}.inset-0{top:0px;right:0px;bottom:0px;left:0px}.z-10{z-index:10}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-auto{margin-left:auto;margin-right:auto}.-mb-px{margin-bottom:-1px}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-6{margin-left:1.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.min-h-full{min-height:100%}.w-full{width:100%}.min-w-full{min-width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.items-end{align-items:flex-end}.justify-center{justify-content:center}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-4{padding-bottom:1rem}.pl-4{padding-left:1rem}.pr-3{padding-right:.75rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 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)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--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)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}@media (min-width: 640px){.sm\:col-start-1{grid-column-start:1}.sm\:col-start-2{grid-column-start:2}.sm\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:mt-0{margin-top:0}.sm\:mt-5{margin-top:1.25rem}.sm\:mt-6{margin-top:1.5rem}.sm\:grid{display:grid}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:items-center{align-items:center}.sm\:gap-3{gap:.75rem}.sm\:rounded-lg{border-radius:.5rem}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pl-6{padding-left:1.5rem}}@media (min-width: 1024px){.lg\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}}
|
package/dist/index.html
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
8
|
<script type="module" crossorigin src="/superhero-basic-profile.js"></script>
|
|
9
|
-
<link rel="stylesheet" href="/assets/index.
|
|
9
|
+
<link rel="stylesheet" href="/assets/index.42edcbf8.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div>
|
|
13
13
|
<superhero-profile-directory-app
|
|
14
14
|
access-token="TOKEN_IGNORED_FOR_DEV"
|
|
15
|
-
backend-url="
|
|
15
|
+
backend-url="http://localhost:7071"
|
|
16
16
|
partner-id="123"
|
|
17
17
|
account-id="74C6D04D-95D7-4D4B-84CB-12630C57751F">
|
|
18
18
|
</superhero-profile-directory-app>
|
|
@@ -1,4 +1,30 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var ge,p,Pt,J,Qe,At,Re,jt,Ee={},Mt=[],sr=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function H(e,t){for(var r in t)e[r]=t[r];return e}function Tt(e){var t=e.parentNode;t&&t.removeChild(e)}function k(e,t,r){var n,o,i,c={};for(i in t)i=="key"?n=t[i]:i=="ref"?o=t[i]:c[i]=t[i];if(arguments.length>2&&(c.children=arguments.length>3?ge.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)c[i]===void 0&&(c[i]=e.defaultProps[i]);return ae(e,c,n,o,null)}function ae(e,t,r,n,o){var i={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o==null?++Pt:o};return o==null&&p.vnode!=null&&p.vnode(i),i}function fr(){return{current:null}}function q(e){return e.children}function j(e,t){this.props=e,this.context=t}function se(e,t){if(t==null)return e.__?se(e.__,e.__.__k.indexOf(e)+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?se(e):null}function Ht(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return Ht(e)}}function ze(e){(!e.__d&&(e.__d=!0)&&J.push(e)&&!Fe.__r++||Qe!==p.debounceRendering)&&((Qe=p.debounceRendering)||At)(Fe)}function Fe(){var e,t,r,n,o,i,c,l;for(J.sort(Re);e=J.shift();)e.__d&&(t=J.length,n=void 0,o=void 0,c=(i=(r=e).__v).__e,(l=r.__P)&&(n=[],(o=H({},i)).__v=i.__v+1,Be(l,i,o,r.__n,l.ownerSVGElement!==void 0,i.__h!=null?[c]:null,n,c==null?se(i):c,i.__h),Rt(n,i),i.__e!=c&&Ht(i)),J.length>t&&J.sort(Re));Fe.__r=0}function Dt(e,t,r,n,o,i,c,l,a,s){var u,h,f,_,d,L,g,v=n&&n.__k||Mt,y=v.length;for(r.__k=[],u=0;u<t.length;u++)if((_=r.__k[u]=(_=t[u])==null||typeof _=="boolean"||typeof _=="function"?null:typeof _=="string"||typeof _=="number"||typeof _=="bigint"?ae(null,_,null,null,_):Array.isArray(_)?ae(q,{children:_},null,null,null):_.__b>0?ae(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)!=null){if(_.__=r,_.__b=r.__b+1,(f=v[u])===null||f&&_.key==f.key&&_.type===f.type)v[u]=void 0;else for(h=0;h<y;h++){if((f=v[h])&&_.key==f.key&&_.type===f.type){v[h]=void 0;break}f=null}Be(e,_,f=f||Ee,o,i,c,l,a,s),d=_.__e,(h=_.ref)&&f.ref!=h&&(g||(g=[]),f.ref&&g.push(f.ref,null,_),g.push(h,_.__c||d,_)),d!=null?(L==null&&(L=d),typeof _.type=="function"&&_.__k===f.__k?_.__d=a=It(_,a,e):a=Lt(e,_,f,v,d,a),typeof r.type=="function"&&(r.__d=a)):a&&f.__e==a&&a.parentNode!=e&&(a=se(f))}for(r.__e=L,u=y;u--;)v[u]!=null&&(typeof r.type=="function"&&v[u].__e!=null&&v[u].__e==r.__d&&(r.__d=Ut(n).nextSibling),Wt(v[u],v[u]));if(g)for(u=0;u<g.length;u++)zt(g[u],g[++u],g[++u])}function It(e,t,r){for(var n,o=e.__k,i=0;o&&i<o.length;i++)(n=o[i])&&(n.__=e,t=typeof n.type=="function"?It(n,t,r):Lt(r,n,n,o,n.__e,t));return t}function D(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(r){D(r,t)}):t.push(e)),t}function Lt(e,t,r,n,o,i){var c,l,a;if(t.__d!==void 0)c=t.__d,t.__d=void 0;else if(r==null||o!=i||o.parentNode==null)e:if(i==null||i.parentNode!==e)e.appendChild(o),c=null;else{for(l=i,a=0;(l=l.nextSibling)&&a<n.length;a+=1)if(l==o)break e;e.insertBefore(o,i),c=i}return c!==void 0?c:o.nextSibling}function Ut(e){var t,r,n;if(e.type==null||typeof e.type=="string")return e.__e;if(e.__k){for(t=e.__k.length-1;t>=0;t--)if((r=e.__k[t])&&(n=Ut(r)))return n}return null}function _r(e,t,r,n,o){var i;for(i in r)i==="children"||i==="key"||i in t||Ce(e,i,null,r[i],n);for(i in t)o&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||r[i]===t[i]||Ce(e,i,t[i],r[i],n)}function $e(e,t,r){t[0]==="-"?e.setProperty(t,r==null?"":r):e[t]=r==null?"":typeof r!="number"||sr.test(t)?r:r+"px"}function Ce(e,t,r,n,o){var i;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||$e(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||$e(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n||e.addEventListener(t,i?tt:et,i):e.removeEventListener(t,i?tt:et,i);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=r==null?"":r;break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function et(e){return this.l[e.type+!1](p.event?p.event(e):e)}function tt(e){return this.l[e.type+!0](p.event?p.event(e):e)}function Be(e,t,r,n,o,i,c,l,a){var s,u,h,f,_,d,L,g,v,y,U,T,R,we,me,E=t.type;if(t.constructor!==void 0)return null;r.__h!=null&&(a=r.__h,l=t.__e=r.__e,t.__h=null,i=[l]),(s=p.__b)&&s(t);try{e:if(typeof E=="function"){if(g=t.props,v=(s=E.contextType)&&n[s.__c],y=s?v?v.props.value:s.__:n,r.__c?L=(u=t.__c=r.__c).__=u.__E:("prototype"in E&&E.prototype.render?t.__c=u=new E(g,y):(t.__c=u=new j(g,y),u.constructor=E,u.render=hr),v&&v.sub(u),u.props=g,u.state||(u.state={}),u.context=y,u.__n=n,h=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),E.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=H({},u.__s)),H(u.__s,E.getDerivedStateFromProps(g,u.__s))),f=u.props,_=u.state,u.__v=t,h)E.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(E.getDerivedStateFromProps==null&&g!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(g,y),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(g,u.__s,y)===!1||t.__v===r.__v){for(t.__v!==r.__v&&(u.props=g,u.state=u.__s,u.__d=!1),u.__e=!1,t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(be){be&&(be.__=t)}),U=0;U<u._sb.length;U++)u.__h.push(u._sb[U]);u._sb=[],u.__h.length&&c.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(g,u.__s,y),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,_,d)})}if(u.context=y,u.props=g,u.__P=e,T=p.__r,R=0,"prototype"in E&&E.prototype.render){for(u.state=u.__s,u.__d=!1,T&&T(t),s=u.render(u.props,u.state,u.context),we=0;we<u._sb.length;we++)u.__h.push(u._sb[we]);u._sb=[]}else do u.__d=!1,T&&T(t),s=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++R<25);u.state=u.__s,u.getChildContext!=null&&(n=H(H({},n),u.getChildContext())),h||u.getSnapshotBeforeUpdate==null||(d=u.getSnapshotBeforeUpdate(f,_)),me=s!=null&&s.type===q&&s.key==null?s.props.children:s,Dt(e,Array.isArray(me)?me:[me],t,r,n,o,i,c,l,a),u.base=t.__e,t.__h=null,u.__h.length&&c.push(u),L&&(u.__E=u.__=null),u.__e=!1}else i==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=pr(r.__e,t,r,n,o,i,c,a);(s=p.diffed)&&s(t)}catch(be){t.__v=null,(a||i!=null)&&(t.__e=l,t.__h=!!a,i[i.indexOf(l)]=null),p.__e(be,t,r)}}function Rt(e,t){p.__c&&p.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(n){n.call(r)})}catch(n){p.__e(n,r.__v)}})}function pr(e,t,r,n,o,i,c,l){var a,s,u,h=r.props,f=t.props,_=t.type,d=0;if(_==="svg"&&(o=!0),i!=null){for(;d<i.length;d++)if((a=i[d])&&"setAttribute"in a==!!_&&(_?a.localName===_:a.nodeType===3)){e=a,i[d]=null;break}}if(e==null){if(_===null)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,f.is&&f),i=null,l=!1}if(_===null)h===f||l&&e.data===f||(e.data=f);else{if(i=i&&ge.call(e.childNodes),s=(h=r.props||Ee).dangerouslySetInnerHTML,u=f.dangerouslySetInnerHTML,!l){if(i!=null)for(h={},d=0;d<e.attributes.length;d++)h[e.attributes[d].name]=e.attributes[d].value;(u||s)&&(u&&(s&&u.__html==s.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(_r(e,f,h,o,l),u)t.__k=[];else if(d=t.props.children,Dt(e,Array.isArray(d)?d:[d],t,r,n,o&&_!=="foreignObject",i,c,i?i[0]:r.__k&&se(r,0),l),i!=null)for(d=i.length;d--;)i[d]!=null&&Tt(i[d]);l||("value"in f&&(d=f.value)!==void 0&&(d!==e.value||_==="progress"&&!d||_==="option"&&d!==h.value)&&Ce(e,"value",d,h.value,!1),"checked"in f&&(d=f.checked)!==void 0&&d!==e.checked&&Ce(e,"checked",d,h.checked,!1))}return e}function zt(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){p.__e(n,r)}}function Wt(e,t,r){var n,o;if(p.unmount&&p.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||zt(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){p.__e(i,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&Wt(n[o],t,r||typeof e.type!="function");r||e.__e==null||Tt(e.__e),e.__=e.__e=e.__d=void 0}function hr(e,t,r){return this.constructor(e,r)}function B(e,t,r){var n,o,i;p.__&&p.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,i=[],Be(t,e=(!n&&r||t).__k=k(q,null,[e]),o||Ee,Ee,t.ownerSVGElement!==void 0,!n&&r?[r]:o?null:t.firstChild?ge.call(t.childNodes):null,i,!n&&r?r:o?o.__e:t.firstChild,n),Rt(i,e)}function Ge(e,t){B(e,t,Ge)}function Ze(e,t,r){var n,o,i,c=H({},e.props);for(i in t)i=="key"?n=t[i]:i=="ref"?o=t[i]:c[i]=t[i];return arguments.length>2&&(c.children=arguments.length>3?ge.call(arguments,2):r),ae(e.type,c,n||e.key,o||e.ref,null)}function dr(e,t){var r={__c:t="__cC"+jt++,__:e,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(c){this.props.value!==c.value&&o.some(function(l){l.__e=!0,ze(l)})},this.sub=function(c){o.push(c);var l=c.componentWillUnmount;c.componentWillUnmount=function(){o.splice(o.indexOf(c),1),l&&l.call(c)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}ge=Mt.slice,p={__e:function(e,t,r,n){for(var o,i,c;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),c=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),c=o.__d),c)return o.__E=o}catch(l){e=l}throw e}},Pt=0,j.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=H({},this.state),typeof e=="function"&&(e=e(H({},r),this.props)),e&&H(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),ze(this))},j.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ze(this))},j.prototype.render=q,J=[],At=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Re=function(e,t){return e.__v.__b-t.__v.__b},Fe.__r=0,jt=0;var Q,m,Ie,rt,ee=0,Vt=[],ye=[],nt=p.__b,ot=p.__r,it=p.diffed,ut=p.__c,ct=p.unmount;function ne(e,t){p.__h&&p.__h(m,e,ee||t),ee=0;var r=m.__H||(m.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:ye}),r.__[e]}function qt(e){return ee=1,Bt(Zt,e)}function Bt(e,t,r){var n=ne(Q++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Zt(void 0,t),function(l){var a=n.__N?n.__N[0]:n.__[0],s=n.t(a,l);a!==s&&(n.__N=[s,n.__[1]],n.__c.setState({}))}],n.__c=m,!m.u)){var o=function(l,a,s){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(f){return f.__c});if(u.every(function(f){return!f.__N}))return!i||i.call(this,l,a,s);var h=!1;return u.forEach(function(f){if(f.__N){var _=f.__[0];f.__=f.__N,f.__N=void 0,_!==f.__[0]&&(h=!0)}}),!(!h&&n.__c.props===l)&&(!i||i.call(this,l,a,s))};m.u=!0;var i=m.shouldComponentUpdate,c=m.componentWillUpdate;m.componentWillUpdate=function(l,a,s){if(this.__e){var u=i;i=void 0,o(l,a,s),i=u}c&&c.call(this,l,a,s)},m.shouldComponentUpdate=o}return n.__N||n.__}function Gt(e,t){var r=ne(Q++,3);!p.__s&&Ke(r.__H,t)&&(r.__=e,r.i=t,m.__H.__h.push(r))}function Pe(e,t){var r=ne(Q++,4);!p.__s&&Ke(r.__H,t)&&(r.__=e,r.i=t,m.__h.push(r))}function gr(e){return ee=5,Je(function(){return{current:e}},[])}function vr(e,t,r){ee=6,Pe(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function Je(e,t){var r=ne(Q++,7);return Ke(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function wr(e,t){return ee=8,Je(function(){return e},t)}function mr(e){var t=m.context[e.__c],r=ne(Q++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(m)),t.props.value):e.__}function br(e,t){p.useDebugValue&&p.useDebugValue(t?t(e):e)}function yr(){var e=ne(Q++,11);if(!e.__){for(var t=m.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function kr(){for(var e;e=Vt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ke),e.__H.__h.forEach(We),e.__H.__h=[]}catch(t){e.__H.__h=[],p.__e(t,e.__v)}}p.__b=function(e){m=null,nt&&nt(e)},p.__r=function(e){ot&&ot(e),Q=0;var t=(m=e.__c).__H;t&&(Ie===m?(t.__h=[],m.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=ye,r.__N=r.i=void 0})):(t.__h.forEach(ke),t.__h.forEach(We),t.__h=[])),Ie=m},p.diffed=function(e){it&&it(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Vt.push(t)!==1&&rt===p.requestAnimationFrame||((rt=p.requestAnimationFrame)||xr)(kr)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==ye&&(r.__=r.__V),r.i=void 0,r.__V=ye})),Ie=m=null},p.__c=function(e,t){t.some(function(r){try{r.__h.forEach(ke),r.__h=r.__h.filter(function(n){return!n.__||We(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],p.__e(n,r.__v)}}),ut&&ut(e,t)},p.unmount=function(e){ct&&ct(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{ke(n)}catch(o){t=o}}),r.__H=void 0,t&&p.__e(t,r.__v))};var lt=typeof requestAnimationFrame=="function";function xr(e){var t,r=function(){clearTimeout(n),lt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);lt&&(t=requestAnimationFrame(r))}function ke(e){var t=m,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),m=t}function We(e){var t=m;e.__c=e.__(),m=t}function Ke(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function Zt(e,t){return typeof t=="function"?t(e):t}function Jt(e,t){for(var r in t)e[r]=t[r];return e}function Ve(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Le(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function qe(e){this.props=e}function Er(e,t){function r(o){var i=this.props.ref,c=i==o.ref;return!c&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!c:Ve(this.props,o)}function n(o){return this.shouldComponentUpdate=r,k(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(qe.prototype=new j).isPureReactComponent=!0,qe.prototype.shouldComponentUpdate=function(e,t){return Ve(this.props,e)||Ve(this.state,t)};var at=p.__b;p.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),at&&at(e)};var Fr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Cr(e){function t(r){var n=Jt({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=Fr,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var st=function(e,t){return e==null?null:D(D(e).map(t))},Nr={map:st,forEach:st,count:function(e){return e?D(e).length:0},only:function(e){var t=D(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:D},Sr=p.__e;p.__e=function(e,t,r,n){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}Sr(e,t,r,n)};var ft=p.unmount;function Kt(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=Jt({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Kt(n,t,r)})),e}function Xt(e,t,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Xt(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}function xe(){this.__u=0,this.t=null,this.__b=null}function Yt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Or(e){var t,r,n;function o(i){if(t||(t=e()).then(function(c){r=c.default||c},function(c){n=c}),n)throw n;if(!r)throw t;return k(r,i)}return o.displayName="Lazy",o.__f=!0,o}function ce(){this.u=null,this.o=null}p.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),ft&&ft(e)},(xe.prototype=new j).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=Yt(n.__v),i=!1,c=function(){i||(i=!0,r.__R=null,o?o(l):l())};r.__R=c;var l=function(){if(!--n.__u){if(n.state.__a){var s=n.state.__a;n.__v.__k[0]=Xt(s,s.__c.__P,s.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},a=t.__h===!0;n.__u++||a||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(c,c)},xe.prototype.componentWillUnmount=function(){this.t=[]},xe.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Kt(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&k(q,null,e.fallback);return o&&(o.__h=null),[k(q,null,t.__a?null:e.children),o]};var _t=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function Pr(e){return this.getChildContext=function(){return e.context},e.children}function Ar(e){var t=this,r=e.i;t.componentWillUnmount=function(){B(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),e.__v?(t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),B(k(Pr,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function jr(e,t){var r=k(Ar,{__v:e,i:t});return r.containerInfo=t,r}(ce.prototype=new j).__a=function(e){var t=this,r=Yt(t.__v),n=t.o.get(e);return n[0]++,function(o){var i=function(){t.props.revealOrder?(n.push(o),_t(t,e,n)):o()};r?r(i):i()}},ce.prototype.render=function(e){this.u=null,this.o=new Map;var t=D(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},ce.prototype.componentDidUpdate=ce.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){_t(e,r,t)})};var Qt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Mr=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Tr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Hr=/[A-Z0-9]/g,Dr=typeof document<"u",Ir=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Lr(e,t,r){return t.__k==null&&(t.textContent=""),B(e,t),typeof r=="function"&&r(),e?e.__c:null}function Ur(e,t,r){return Ge(e,t),typeof r=="function"&&r(),e?e.__c:null}j.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(j.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var pt=p.event;function Rr(){}function zr(){return this.cancelBubble}function Wr(){return this.defaultPrevented}p.event=function(e){return pt&&(e=pt(e)),e.persist=Rr,e.isPropagationStopped=zr,e.isDefaultPrevented=Wr,e.nativeEvent=e};var Xe,Vr={enumerable:!1,configurable:!0,get:function(){return this.class}},ht=p.vnode;p.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,o={};for(var i in r){var c=r[i];if(!(i==="value"&&"defaultValue"in r&&c==null||Dr&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&c===!0?c="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||Ir(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Tr.test(i)?i=l:n.indexOf("-")===-1&&Mr.test(i)?i=i.replace(Hr,"-$&").toLowerCase():c===null&&(c=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=c}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=D(r.children).forEach(function(a){a.props.selected=o.value.indexOf(a.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=D(r.children).forEach(function(a){a.props.selected=o.multiple?o.defaultValue.indexOf(a.props.value)!=-1:o.defaultValue==a.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",Vr)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=Qt,ht&&ht(e)};var dt=p.__r;p.__r=function(e){dt&&dt(e),Xe=e.__c};var gt=p.diffed;p.diffed=function(e){gt&>(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Xe=null};var qr={ReactCurrentDispatcher:{current:{readContext:function(e){return Xe.__n[e.__c].props.value}}}};function Br(e){return k.bind(null,e)}function $t(e){return!!e&&e.$$typeof===Qt}function Gr(e){return $t(e)?Ze.apply(null,arguments):e}function Zr(e){return!!e.__k&&(B(null,e),!0)}function Jr(e){return e&&(e.base||e.nodeType===1&&e)||null}var Kr=function(e,t){return e(t)},Xr=function(e,t){return e(t)},Yr=q;function er(e){e()}function Qr(e){return e}function $r(){return[!1,er]}var en=Pe;function tn(e,t){var r=t(),n=qt({h:{__:r,v:t}}),o=n[0].h,i=n[1];return Pe(function(){o.__=r,o.v=t,Le(o.__,t())||i({h:o})},[e,r,t]),Gt(function(){return Le(o.__,o.v())||i({h:o}),e(function(){Le(o.__,o.v())||i({h:o})})},[e]),r}var rn={useState:qt,useId:yr,useReducer:Bt,useEffect:Gt,useLayoutEffect:Pe,useInsertionEffect:en,useTransition:$r,useDeferredValue:Qr,useSyncExternalStore:tn,startTransition:er,useRef:gr,useImperativeHandle:vr,useMemo:Je,useCallback:wr,useContext:mr,useDebugValue:br,version:"17.0.2",Children:Nr,render:Lr,hydrate:Ur,unmountComponentAtNode:Zr,createPortal:jr,createElement:k,createContext:dr,createFactory:Br,cloneElement:Gr,createRef:fr,Fragment:q,isValidElement:$t,findDOMNode:Jr,Component:j,PureComponent:qe,memo:Er,forwardRef:Cr,flushSync:Xr,unstable_batchedUpdates:Kr,StrictMode:Yr,Suspense:xe,SuspenseList:ce,lazy:Or,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr};function fe(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function nn(e){return e!=null&&typeof e.GetEnumerator=="function"}function on(e){return e!=null&&typeof e.CompareTo=="function"}function un(e){return e!=null&&typeof e.Equals=="function"}function cn(e){return e!=null&&typeof e.GetHashCode=="function"}function Ne(){return null}function tr(e,t){var r,n;return((r=Object.getPrototypeOf(e))===null||r===void 0?void 0:r.constructor)===((n=Object.getPrototypeOf(t))===null||n===void 0?void 0:n.constructor)}class ln{constructor(t){this.iter=t,this.current=Ne()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function an(e){return nn(e)?e.GetEnumerator():new ln(e[Symbol.iterator]())}function sn(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"](),r=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:r}}}}function vt(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}class z{static id(t){return z.idMap.has(t)||z.idMap.set(t,++z.count),z.idMap.get(t)}}z.idMap=new WeakMap;z.count=0;function fn(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function wt(e){return e*2654435761|0}function Ae(e){return e.length===0?0:e.reduce((t,r)=>(t<<5)+t^r)}function _n(e){return e.getTime()}function pn(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=je(e[n]);return Ae(r)}function je(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return wt(e);case"string":return fn(e);default:{if(cn(e))return e.GetHashCode();if(fe(e))return pn(e);if(e instanceof Date)return _n(e);if(((t=Object.getPrototypeOf(e))===null||t===void 0?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>je(n));return Ae(r)}else return wt(z.id(e))}}}function hn(e,t,r){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function dn(e,t){return hn(e,t,Me)}function gn(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;r.sort(),n.sort();for(let o=0;o<r.length;o++)if(r[o]!==n[o]||!Me(e[r[o]],t[n[o]]))return!1;return!0}function Me(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:un(e)?e.Equals(t):fe(e)?fe(t)&&dn(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&rr(e,t)===0:((r=Object.getPrototypeOf(e))===null||r===void 0?void 0:r.constructor)===Object&&gn(e,t)}function rr(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+vt(e),n=t.getTime()+vt(t)),r===n?0:r<n?-1:1}function vn(e,t,r){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let n=0,o=0;n<e.length;n++)if(o=r(e[n],t[n]),o!==0)return o;return 0}function wn(e,t){return vn(e,t,Te)}function mn(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return r.length<n.length?-1:1;r.sort(),n.sort();for(let o=0,i=0;o<r.length;o++){const c=r[o];if(c!==n[o])return c<n[o]?-1:1;if(i=Te(e[c],t[c]),i!==0)return i}return 0}function Te(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:on(e)?e.CompareTo(t):fe(e)?fe(t)?wn(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?rr(e,t):-1:((r=Object.getPrototypeOf(e))===null||r===void 0?void 0:r.constructor)===Object?mn(e,t):-1}function bn(e){const t={};for(const r of e)t[r[0]]=r[1];return t}const yn=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,: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-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-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: }.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}
|
|
2
|
-
|
|
3
|
-
`)+" }":(n=o==null?void 0:o.name)!==null&&n!==void 0?n:""}}return String(e)}function xn(e){const t={},r=Object.keys(e);for(let n=0;n<r.length;n++)t[r[n]]=e[r[n]];return t}function En(e){return"{ "+Object.entries(e).map(([t,r])=>t+" = "+_e(r)).join(`
|
|
4
|
-
`)+" }"}function Fn(e){const t=Object.values(e).map(r=>je(r));return Ae(t)}function Cn(e,t){if(e===t)return!0;if(tr(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!Me(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function Nn(e,t){if(e===t)return 0;if(tr(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const o=Te(e[r[n]],t[r[n]]);if(o!==0)return o}return 0}else return-1}class Sn{toJSON(){return xn(this)}toString(){return En(this)}GetHashCode(){return Fn(this)}Equals(t){return Cn(this,t)}CompareTo(t){return Nn(this,t)}}const On=(()=>_e(yn))();var mt;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(mt||(mt={}));const nr=Symbol("numeric");var W=null;try{W=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function A(e,t,r){this.low=e|0,this.high=t|0,this.unsigned=!!r}A.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e};A.prototype.Equals=function(e){return F(this,e)};A.prototype.CompareTo=function(e){return He(this,e)};A.prototype.toString=function(e){return he(this,e)};A.prototype.toJSON=function(){return he(this)};A.prototype[nr]=function(){const e=this;return{multiply:t=>P(e,t),toPrecision:t=>String(e)+0 .toPrecision(t).substr(1),toExponential:t=>String(e)+0 .toExponential(t).substr(1),toFixed:t=>String(e)+0 .toFixed(t).substr(1),toHex:()=>he(e.unsigned?e:Vn(Rn(e),!0),16)}};A.prototype.__isLong__;Object.defineProperty(A.prototype,"__isLong__",{value:!0});function I(e){return(e&&e.__isLong__)===!0}var bt={},yt={};function oe(e,t){var r,n,o;return t?(e>>>=0,(o=0<=e&&e<256)&&(n=yt[e],n)?n:(r=b(e,(e|0)<0?-1:0,!0),o&&(yt[e]=r),r)):(e|=0,(o=-128<=e&&e<128)&&(n=bt[e],n)?n:(r=b(e,e<0?-1:0,!1),o&&(bt[e]=r),r))}function S(e,t){if(isNaN(e))return t?V:O;if(t){if(e<0)return V;if(e>=ir)return Mn}else{if(e<=-xt)return N;if(e+1>=xt)return jn}return e<0?x(S(-e,t)):b(e%te|0,e/te|0,t)}function b(e,t,r){return new A(e,t,r)}var Se=Math.pow;function or(e,t,r){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return O;if(typeof t=="number"?(r=t,t=!1):t=!!t,r=r||10,r<2||36<r)throw RangeError("radix");var n=e.indexOf("-");if(n>0)throw Error("interior hyphen");if(n===0)return x(or(e.substring(1),t,r));for(var o=S(Se(r,8)),i=O,c=0;c<e.length;c+=8){var l=Math.min(8,e.length-c),a=parseInt(e.substring(c,c+l),r);if(l<8){var s=S(Se(r,l));i=re(P(i,s),S(a))}else i=P(i,o),i=re(i,S(a))}return i.unsigned=t,i}function ie(e,t){return typeof e=="number"?S(e,t):typeof e=="string"?or(e,t):b(e.low,e.high,typeof t=="boolean"?t:e.unsigned)}var kt=1<<16,Pn=1<<24,te=kt*kt,ir=te*te,xt=ir/2,Et=oe(Pn),O=oe(0),V=oe(0,!0),le=oe(1),An=oe(1,!0),Ft=oe(-1),jn=b(-1,2147483647,!1),Mn=b(-1,-1,!0),N=b(0,-2147483648,!1);function pe(e){return e.unsigned?e.low>>>0:e.low}function Oe(e){return e.unsigned?(e.high>>>0)*te+(e.low>>>0):e.high*te+(e.low>>>0)}function he(e,t){if(t=t||10,t<2||36<t)throw RangeError("radix");if(X(e))return"0";if(C(e))if(F(e,N)){var r=S(t),n=K(e,r),o=de(P(n,r),e);return he(n,t)+pe(o).toString(t)}else return"-"+he(x(e),t);for(var i=S(Se(t,6),e.unsigned),c=e,l="";;){var a=K(c,i),s=pe(de(c,P(a,i)))>>>0,u=s.toString(t);if(c=a,X(c))return u+l;for(;u.length<6;)u="0"+u;l=""+u+l}}function X(e){return e.high===0&&e.low===0}function C(e){return!e.unsigned&&e.high<0}function Ct(e){return(e.low&1)===1}function F(e,t){return I(t)||(t=ie(t)),e.unsigned!==t.unsigned&&e.high>>>31===1&&t.high>>>31===1?!1:e.high===t.high&&e.low===t.low}function Nt(e,t){return He(e,t)<0}function Ue(e,t){return He(e,t)>0}function Tn(e,t){return He(e,t)>=0}function He(e,t){if(I(t)||(t=ie(t)),F(e,t))return 0;var r=C(e),n=C(t);return r&&!n?-1:!r&&n?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:C(de(e,t))?-1:1}function x(e){return!e.unsigned&&F(e,N)?N:re(Hn(e),le)}function re(e,t){I(t)||(t=ie(t));var r=e.high>>>16,n=e.high&65535,o=e.low>>>16,i=e.low&65535,c=t.high>>>16,l=t.high&65535,a=t.low>>>16,s=t.low&65535,u=0,h=0,f=0,_=0;return _+=i+s,f+=_>>>16,_&=65535,f+=o+a,h+=f>>>16,f&=65535,h+=n+l,u+=h>>>16,h&=65535,u+=r+c,u&=65535,b(f<<16|_,u<<16|h,e.unsigned)}function de(e,t){return I(t)||(t=ie(t)),re(e,x(t))}function P(e,t){if(X(e))return e.unsigned?V:O;if(I(t)||(t=ie(t)),W){var r=W.mul(e.low,e.high,t.low,t.high);return b(r,W.get_high(),e.unsigned)}if(X(t))return e.unsigned?V:O;if(F(e,N))return Ct(t)?N:O;if(F(t,N))return Ct(e)?N:O;if(C(e))return C(t)?P(x(e),x(t)):x(P(x(e),t));if(C(t))return x(P(e,x(t)));if(Nt(e,Et)&&Nt(t,Et))return S(Oe(e)*Oe(t),e.unsigned);var n=e.high>>>16,o=e.high&65535,i=e.low>>>16,c=e.low&65535,l=t.high>>>16,a=t.high&65535,s=t.low>>>16,u=t.low&65535,h=0,f=0,_=0,d=0;return d+=c*u,_+=d>>>16,d&=65535,_+=i*u,f+=_>>>16,_&=65535,_+=c*s,f+=_>>>16,_&=65535,f+=o*u,h+=f>>>16,f&=65535,f+=i*s,h+=f>>>16,f&=65535,f+=c*a,h+=f>>>16,f&=65535,h+=n*u+o*s+i*a+c*l,h&=65535,b(_<<16|d,h<<16|f,e.unsigned)}function K(e,t){if(I(t)||(t=ie(t)),X(t))throw Error("division by zero");if(W){if(!e.unsigned&&e.high===-2147483648&&t.low===-1&&t.high===-1)return e;var r=(e.unsigned?W.div_u:W.div_s)(e.low,e.high,t.low,t.high);return b(r,W.get_high(),e.unsigned)}if(X(e))return e.unsigned?V:O;var n,o,i;if(e.unsigned){if(t.unsigned||(t=Un(t)),Ue(t,e))return V;if(Ue(t,Ln(e,1)))return An;i=V}else{if(F(e,N)){if(F(t,le)||F(t,Ft))return N;if(F(t,N))return le;var c=In(e,1);return n=Dn(K(c,t),1),F(n,O)?C(t)?le:Ft:(o=de(e,P(t,n)),i=re(n,K(o,t)),i)}else if(F(t,N))return e.unsigned?V:O;if(C(e))return C(t)?K(x(e),x(t)):x(K(x(e),t));if(C(t))return x(K(e,x(t)));i=O}for(o=e;Tn(o,t);){n=Math.max(1,Math.floor(Oe(o)/Oe(t)));for(var l=Math.ceil(Math.log(n)/Math.LN2),a=l<=48?1:Se(2,l-48),s=S(n),u=P(s,t);C(u)||Ue(u,o);)n-=a,s=S(n,e.unsigned),u=P(s,t);X(s)&&(s=le),i=re(i,s),o=de(o,u)}return i}function Hn(e){return b(~e.low,~e.high,e.unsigned)}function Dn(e,t){return I(t)&&(t=pe(t)),(t&=63)===0?e:t<32?b(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):b(0,e.low<<t-32,e.unsigned)}function In(e,t){return I(t)&&(t=pe(t)),(t&=63)===0?e:t<32?b(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):b(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function Ln(e,t){if(I(t)&&(t=pe(t)),t&=63,t===0)return e;var r=e.high;if(t<32){var n=e.low;return b(n>>>t|r<<32-t,r>>>t,e.unsigned)}else return b(t===32?r:r>>>t-32,0,e.unsigned)}function Un(e){return e.unsigned?e:b(e.low,e.high,!0)}function Rn(e,t){return t?zn(e):Wn(e)}function zn(e){var t=e.high,r=e.low;return[r&255,r>>>8&255,r>>>16&255,r>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]}function Wn(e){var t=e.high,r=e.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,r>>>24,r>>>16&255,r>>>8&255,r&255]}function Vn(e,t,r){return r?qn(e,t):Bn(e,t)}function qn(e,t){return new A(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}function Bn(e,t){return new A(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}function Gn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}const Zn=rn;var w={GetHashCode(){return Ae([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[nr](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},Jn=28,Kn=1,Y=1e6,St=1e6,Xn=-29,Yn=29,Qn=!1,ve="[big.js] ",$=ve+"Invalid ",De=$+"decimal places",$n=$+"rounding mode",ur=ve+"Division by zero",M=void 0,eo=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function cr(){function e(t){var r=this;if(!(r instanceof e))return t===M?cr():new e(t);if(t instanceof e)r.s=t.s,r.e=t.e,r.c=t.c.slice(),to(r);else{if(typeof t!="string"){if(e.strict===!0)throw TypeError($+"number");t=t===0&&1/t<0?"-0":String(t)}ro(r,t)}r.constructor=e}return e.prototype=w,e.DP=Jn,e.RM=Kn,e.NE=Xn,e.PE=Yn,e.strict=Qn,e}function to(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(r=>r);e.c=e.c.slice(t),e.e=e.e-t}}function ro(e,t){var r,n,o;if(!eo.test(t))throw Error($+"number");for(e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),o=t.length,n=0;n<r&&n<o&&t.charAt(n)=="0";)++n;if(n==o)e.c=[e.e=0];else for(e.e=r-n-1,e.c=[],r=0;n<o;)e.c[r++]=+t.charAt(n++);return e=Z(e,G.DP+1,G.RM),e}function Z(e,t,r,n){var o=e.c;if(r===M&&(r=G.RM),r!==0&&r!==1&&r!==2&&r!==3)throw Error($n);if(t<1)n=r===3&&(n||!!o[0])||t===0&&(r===1&&o[0]>=5||r===2&&(o[0]>5||o[0]===5&&(n||o[1]!==M))),o.length=1,n?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){const i=o.findIndex((c,l)=>l>=t&&c>0)<0;if(n=r===1&&o[t]>=5||r===2&&(o[t]>5||o[t]===5&&(n||o[t+1]!==M||o[t-1]&1))||r===3&&(n||!i),o.length=t--,n)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function ue(e,t,r){var n=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)o="0"+o;o="0."+o}else if(n>0)if(++n>i)for(n-=i;n--;)o+="0";else n<i&&(o=o.slice(0,n)+"."+o.slice(n));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&r?"-"+o:o}w.abs=function(){var e=new this.constructor(this);return e.s=1,e};w.cmp=function(o){var t,r=this.constructor,n=new r(this),o=new r(o),i=n.c,c=o.c,l=n.s,a=o.s,s=n.e,u=o.e;if(!i[0]||!c[0])return i[0]?l:c[0]?-a:0;if(l!=a)return l;if(t=l<0,s!=u)return s>u^t?1:-1;for(a=Math.max(i.length,c.length),l=0;l<a;l++)if(s=l<i.length?i[l]:0,u=l<c.length?c[l]:0,s!=u)return s>u^t?1:-1;return 0};w.div=function(n){var t=this.constructor,r=new t(this),n=new t(n),o=r.c,i=n.c,c=r.s==n.s?1:-1,l=t.DP;if(l!==~~l||l<0||l>Y)throw Error(De);if(!i[0])throw Error(ur);if(!o[0])return n.s=c,n.c=[n.e=0],n;var a,s,u,h,f,_=i.slice(),d=a=i.length,L=o.length,g=o.slice(0,a),v=g.length,y=n,U=y.c=[],T=0,R=l+(y.e=r.e-n.e)+1;for(y.s=c,c=R<0?0:R,_.unshift(0);v++<a;)g.push(0);do{for(u=0;u<10;u++){if(a!=(v=g.length))h=a>v?1:-1;else for(f=-1,h=0;++f<a;)if(i[f]!=g[f]){h=i[f]>g[f]?1:-1;break}if(h<0){for(s=v==a?i:_;v;){if(g[--v]<s[v]){for(f=v;f&&!g[--f];)g[f]=9;--g[f],g[v]+=10}g[v]-=s[v]}for(;!g[0];)g.shift()}else break}U[T++]=h?u:++u,g[0]&&h?g[v]=o[d]||0:g=[o[d]]}while((d++<L||g[0]!==M)&&c--);return!U[0]&&T!=1&&(U.shift(),y.e--,R--),T>R&&Z(y,R,t.RM,g[0]!==M),y};w.eq=function(e){return this.cmp(e)===0};w.gt=function(e){return this.cmp(e)>0};w.gte=function(e){return this.cmp(e)>-1};w.lt=function(e){return this.cmp(e)<0};w.lte=function(e){return this.cmp(e)<1};w.minus=w.sub=function(l){var t,r,n,o,i=this.constructor,c=new i(this),l=new i(l),a=c.s,s=l.s;if(a!=s)return l.s=-s,c.plus(l);var u=c.c.slice(),h=c.e,f=l.c,_=l.e;if(!u[0]||!f[0])return f[0]?l.s=-s:u[0]?l=new i(c):l.s=1,l;if(a=h-_){for((o=a<0)?(a=-a,n=u):(_=h,n=f),n.reverse(),s=a;s--;)n.push(0);n.reverse()}else for(r=((o=u.length<f.length)?u:f).length,a=s=0;s<r;s++)if(u[s]!=f[s]){o=u[s]<f[s];break}if(o&&(n=u,u=f,f=n,l.s=-l.s),(s=(r=f.length)-(t=u.length))>0)for(;s--;)u[t++]=0;for(s=t;r>a;){if(u[--r]<f[r]){for(t=r;t&&!u[--t];)u[t]=9;--u[t],u[r]+=10}u[r]-=f[r]}for(;u[--s]===0;)u.pop();for(;u[0]===0;)u.shift(),--_;return u[0]||(l.s=1,u=[_=0]),l.c=u,l.e=_,l};w.mod=function(o){var t,r=this.constructor,n=new r(this),o=new r(o),i=n.s,c=o.s;if(!o.c[0])throw Error(ur);return n.s=o.s=1,t=o.cmp(n)==1,n.s=i,o.s=c,t?new r(n):(i=r.DP,c=r.RM,r.DP=r.RM=0,n=n.div(o),r.DP=i,r.RM=c,this.minus(n.times(o)))};w.plus=w.add=function(c){var t,r,n,o=this.constructor,i=new o(this),c=new o(c);if(i.s!=c.s)return c.s=-c.s,i.minus(c);var l=i.e,a=i.c,s=c.e,u=c.c;if(!a[0]||!u[0])return u[0]||(a[0]?c=new o(i):c.s=i.s),c;if(a=a.slice(),t=l-s){for(t>0?(s=l,n=u):(t=-t,n=a),n.reverse();t--;)n.push(0);n.reverse()}for(a.length-u.length<0&&(n=u,u=a,a=n),t=u.length,r=0;t;a[t]%=10)r=(a[--t]=a[t]+u[t]+r)/10|0;for(r&&(a.unshift(r),++s),t=a.length;a[--t]===0;)a.pop();return c.c=a,c.e=s,c};w.pow=function(e){var t=this.constructor,r=new t(this),n=new t("1"),o=new t("1"),i=e<0;if(e!==~~e||e<-St||e>St)throw Error($+"exponent");for(i&&(e=-e);e&1&&(n=n.times(r)),e>>=1,!!e;)r=r.times(r);return i?o.div(n):n};w.prec=function(e,t){if(e!==~~e||e<1||e>Y)throw Error($+"precision");return Z(new this.constructor(this),e,t)};w.round=function(e,t){if(e===M)e=0;else if(e!==~~e||e<-Y||e>Y)throw Error(De);return Z(new this.constructor(this),e+this.e+1,t)};w.sqrt=function(){var e,t,r,n=this.constructor,o=new n(this),i=o.s,c=o.e,l=new n("0.5");if(!o.c[0])return new n(o);if(i<0)throw Error(ve+"No square root");i=Math.sqrt(o+""),i===0||i===1/0?(t=o.c.join(""),t.length+c&1||(t+="0"),i=Math.sqrt(t),c=((c+1)/2|0)-(c<0||c&1),e=new n((i==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+c)):e=new n(i+""),c=e.e+(n.DP+=4);do r=e,e=l.times(r.plus(o.div(r)));while(r.c.slice(0,c).join("")!==e.c.slice(0,c).join(""));return Z(e,(n.DP-=4)+e.e+1,n.RM)};w.times=w.mul=function(o){var t,r=this.constructor,n=new r(this),o=new r(o),i=n.c,c=o.c,l=i.length,a=c.length,s=n.e,u=o.e;if(o.s=n.s==o.s?1:-1,!i[0]||!c[0])return o.c=[o.e=0],o;for(o.e=s+u,l<a&&(t=i,i=c,c=t,u=l,l=a,a=u),t=new Array(u=l+a);u--;)t[u]=0;for(s=a;s--;){for(a=0,u=l+s;u>s;)a=t[u]+c[s]*i[u-s-1]+a,t[u--]=a%10,a=a/10|0;t[u]=a}for(a?++o.e:t.shift(),s=t.length;!t[--s];)t.pop();return o.c=t,o};w.toExponential=function(e,t){var r=this,n=r.c[0];if(e!==M){if(e!==~~e||e<0||e>Y)throw Error(De);for(r=Z(new r.constructor(r),++e,t);r.c.length<e;)r.c.push(0)}return ue(r,!0,!!n)};w.toFixed=function(e,t){var r=this,n=r.c[0];if(e!==M){if(e!==~~e||e<0||e>Y)throw Error(De);for(r=Z(new r.constructor(r),e+r.e+1,t),e=e+r.e+1;r.c.length<e;)r.c.push(0)}return ue(r,!1,!!n)};w.toJSON=w.toString=function(){var e=this,t=e.constructor;return ue(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])};w.toNumber=function(){var e=Number(ue(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(ve+"Imprecise conversion");return e};w.toPrecision=function(e,t){var r=this,n=r.constructor,o=r.c[0];if(e!==M){if(e!==~~e||e<1||e>Y)throw Error($+"precision");for(r=Z(new n(r),e,t);r.c.length<e;)r.c.push(0)}return ue(r,e<=r.e||r.e<=n.NE||r.e>=n.PE,!!o)};w.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(ve+"valueOf disallowed");return ue(e,e.e<=t.NE||e.e>=t.PE,!0)};var G=cr();new G(0);new G(1);new G(-1);new G("79228162514264337593543950335");new G("-79228162514264337593543950335");class lr extends Sn{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+Gn("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((o,i)=>{e:for(;;){const c=o,l=i,a=c.tail,s=l.tail;if(a!=null)if(s!=null){const u=a,h=s;if(Me(c.head,l.head)){o=u,i=h;continue e}else return!1}else return!1;else return s==null}})(r,t)}GetHashCode(){return((n,o,i)=>{e:for(;;){const c=n,l=o,a=i,s=a.tail;if(s!=null){const u=s;if(c>18)return l|0;n=c+1,o=(l<<1)+je(a.head)+631*c,i=u;continue e}else return l|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,i)=>{e:for(;;){const c=o,l=i,a=c.tail,s=l.tail;if(a!=null)if(s!=null){const u=a,h=s,f=Te(c.head,l.head)|0;if(f===0){o=u,i=h;continue e}else return f|0}else return 1;else return s!=null?-1:0}})(this,t)|0}GetEnumerator(){return oo(this)}[Symbol.iterator](){return sn(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return an(this)}}class no{constructor(t){this.xs=t,this.it=this.xs,this.current=Ne()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,r=t.it.tail;if(r!=null){const n=r;return t.current=t.it.head,t.it=n,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Ne()}Dispose(){}}function oo(e){return new no(e)}function io(){return new lr(Ne(),void 0)}function uo(e,t){return new lr(e,t)}function co(e){return uo(e,io())}function Ye(){return(Ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function lo(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,o){if(n==null)return{};var i,c,l={},a=Object.keys(n);for(c=0;c<a.length;c++)o.indexOf(i=a[c])>=0||(l[i]=n[i]);return l}(e,["context","children"]);return Ze(t,r)}function ao(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=k(lo,Ye({},this._props,{context:e.detail.context}),function t(r,n){if(r.nodeType===3)return r.data;if(r.nodeType!==1)return null;var o=[],i={},c=0,l=r.attributes,a=r.childNodes;for(c=l.length;c--;)l[c].name!=="slot"&&(i[l[c].name]=l[c].value,i[ar(l[c].name)]=l[c].value);for(c=a.length;c--;){var s=t(a[c],null),u=a[c].slot;u?i[u]=k(Ot,{name:u},s):o[c]=s}var h=n?k(Ot,null,o):o;return k(n||r.nodeName.toLowerCase(),i,h)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ge:B)(this._vdom,this._root)}function ar(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function so(e,t,r){if(this._vdom){var n={};n[e]=r=r==null?void 0:r,n[ar(e)]=r,this._vdom=Ze(this._vdom,n),B(this._vdom,this._root)}}function fo(){B(this._vdom=null,this._root)}function Ot(e,t){var r=this;return k("slot",Ye({},e,{ref:function(n){n?(r.ref=n,r._listener||(r._listener=function(o){o.stopPropagation(),o.detail.context=t},n.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function _o(e,t,r,n){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=n&&n.shadow?i.attachShadow({mode:"open"}):i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=ao,o.prototype.attributeChangedCallback=so,o.prototype.disconnectedCallback=fo,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=r,r.forEach(function(i){Object.defineProperty(o.prototype,i,{get:function(){return this._vdom.props[i]},set:function(c){this._vdom?this.attributeChangedCallback(i,null,c):(this._props||(this._props={}),this._props[i]=c,this.connectedCallback());var l=typeof c;c!=null&&l!=="string"&&l!=="boolean"&&l!=="number"||this.setAttribute(i,c)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function po(e,t){_o(e,t,void 0,{shadow:!0})}function ho(e){let t;return k("div",bn(co((t=[k("style",{children:[On]}),k("h1",{children:["Hello, Directory."]})],["children",Zn.Children.toArray(Array.from(t))]))))}function go(){po(e=>k(ho,e),"superhero-profile-directory-app")}go();
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var ar,A,_l,zt,Vi,yl,ko,bl,Ir={},Al=[],Dc=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function bt(e,t){for(var n in t)e[n]=t[n];return e}function vl(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?ar.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return Kn(e,s,r,o,null)}function Kn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o==null?++_l:o};return o==null&&A.vnode!=null&&A.vnode(i),i}function Fc(){return{current:null}}function $e(e){return e.children}function ot(e,t){this.props=e,this.context=t}function qn(e,t){if(t==null)return e.__?qn(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?qn(e):null}function xl(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return xl(e)}}function Mo(e){(!e.__d&&(e.__d=!0)&&zt.push(e)&&!kr.__r++||Vi!==A.debounceRendering)&&((Vi=A.debounceRendering)||yl)(kr)}function kr(){var e,t,n,r,o,i,s,l;for(zt.sort(ko);e=zt.shift();)e.__d&&(t=zt.length,r=void 0,o=void 0,s=(i=(n=e).__v).__e,(l=n.__P)&&(r=[],(o=bt({},i)).__v=i.__v+1,Yo(l,i,o,n.__n,l.ownerSVGElement!==void 0,i.__h!=null?[s]:null,r,s==null?qn(i):s,i.__h),Fl(r,i),i.__e!=s&&xl(i)),zt.length>t&&zt.sort(ko));kr.__r=0}function El(e,t,n,r,o,i,s,l,u,c){var a,d,f,p,g,_,w,b=r&&r.__k||Al,I=b.length;for(n.__k=[],a=0;a<t.length;a++)if((p=n.__k[a]=(p=t[a])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?Kn(null,p,null,null,p):Array.isArray(p)?Kn($e,{children:p},null,null,null):p.__b>0?Kn(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null){if(p.__=n,p.__b=n.__b+1,(f=b[a])===null||f&&p.key==f.key&&p.type===f.type)b[a]=void 0;else for(d=0;d<I;d++){if((f=b[d])&&p.key==f.key&&p.type===f.type){b[d]=void 0;break}f=null}Yo(e,p,f=f||Ir,o,i,s,l,u,c),g=p.__e,(d=p.ref)&&f.ref!=d&&(w||(w=[]),f.ref&&w.push(f.ref,null,p),w.push(d,p.__c||g,p)),g!=null?(_==null&&(_=g),typeof p.type=="function"&&p.__k===f.__k?p.__d=u=Cl(p,u,e):u=Sl(e,p,f,b,g,u),typeof n.type=="function"&&(n.__d=u)):u&&f.__e==u&&u.parentNode!=e&&(u=qn(f))}for(n.__e=_,a=I;a--;)b[a]!=null&&(typeof n.type=="function"&&b[a].__e!=null&&b[a].__e==n.__d&&(n.__d=Dl(r).nextSibling),kl(b[a],b[a]));if(w)for(a=0;a<w.length;a++)Il(w[a],w[++a],w[++a])}function Cl(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t=typeof r.type=="function"?Cl(r,t,n):Sl(n,r,r,o,r.__e,t));return t}function xt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(n){xt(n,t)}):t.push(e)),t}function Sl(e,t,n,r,o,i){var s,l,u;if(t.__d!==void 0)s=t.__d,t.__d=void 0;else if(n==null||o!=i||o.parentNode==null)e:if(i==null||i.parentNode!==e)e.appendChild(o),s=null;else{for(l=i,u=0;(l=l.nextSibling)&&u<r.length;u+=1)if(l==o)break e;e.insertBefore(o,i),s=i}return s!==void 0?s:o.nextSibling}function Dl(e){var t,n,r;if(e.type==null||typeof e.type=="string")return e.__e;if(e.__k){for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=Dl(n)))return r}return null}function Ic(e,t,n,r,o){var i;for(i in n)i==="children"||i==="key"||i in t||Mr(e,i,null,n[i],r);for(i in t)o&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||n[i]===t[i]||Mr(e,i,t[i],n[i],r)}function Ui(e,t,n){t[0]==="-"?e.setProperty(t,n==null?"":n):e[t]=n==null?"":typeof n!="number"||Dc.test(t)?n:n+"px"}function Mr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Ui(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ui(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?zi:Li,i):e.removeEventListener(t,i?zi:Li,i);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=n==null?"":n;break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Li(e){return this.l[e.type+!1](A.event?A.event(e):e)}function zi(e){return this.l[e.type+!0](A.event?A.event(e):e)}function Yo(e,t,n,r,o,i,s,l,u){var c,a,d,f,p,g,_,w,b,I,ne,oe,G,O,ae,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(u=n.__h,l=t.__e=n.__e,t.__h=null,i=[l]),(c=A.__b)&&c(t);try{e:if(typeof P=="function"){if(w=t.props,b=(c=P.contextType)&&r[c.__c],I=c?b?b.props.value:c.__:r,n.__c?_=(a=t.__c=n.__c).__=a.__E:("prototype"in P&&P.prototype.render?t.__c=a=new P(w,I):(t.__c=a=new ot(w,I),a.constructor=P,a.render=Mc),b&&b.sub(a),a.props=w,a.state||(a.state={}),a.context=I,a.__n=r,d=a.__d=!0,a.__h=[],a._sb=[]),a.__s==null&&(a.__s=a.state),P.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=bt({},a.__s)),bt(a.__s,P.getDerivedStateFromProps(w,a.__s))),f=a.props,p=a.state,a.__v=t,d)P.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(P.getDerivedStateFromProps==null&&w!==f&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(w,I),!a.__e&&a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(w,a.__s,I)===!1||t.__v===n.__v){for(t.__v!==n.__v&&(a.props=w,a.state=a.__s,a.__d=!1),a.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(ce){ce&&(ce.__=t)}),ne=0;ne<a._sb.length;ne++)a.__h.push(a._sb[ne]);a._sb=[],a.__h.length&&s.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(w,a.__s,I),a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(f,p,g)})}if(a.context=I,a.props=w,a.__P=e,oe=A.__r,G=0,"prototype"in P&&P.prototype.render){for(a.state=a.__s,a.__d=!1,oe&&oe(t),c=a.render(a.props,a.state,a.context),O=0;O<a._sb.length;O++)a.__h.push(a._sb[O]);a._sb=[]}else do a.__d=!1,oe&&oe(t),c=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++G<25);a.state=a.__s,a.getChildContext!=null&&(r=bt(bt({},r),a.getChildContext())),d||a.getSnapshotBeforeUpdate==null||(g=a.getSnapshotBeforeUpdate(f,p)),ae=c!=null&&c.type===$e&&c.key==null?c.props.children:c,El(e,Array.isArray(ae)?ae:[ae],t,n,r,o,i,s,l,u),a.base=t.__e,t.__h=null,a.__h.length&&s.push(a),_&&(a.__E=a.__=null),a.__e=!1}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=kc(n.__e,t,n,r,o,i,s,u);(c=A.diffed)&&c(t)}catch(ce){t.__v=null,(u||i!=null)&&(t.__e=l,t.__h=!!u,i[i.indexOf(l)]=null),A.__e(ce,t,n)}}function Fl(e,t){A.__c&&A.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(r){r.call(n)})}catch(r){A.__e(r,n.__v)}})}function kc(e,t,n,r,o,i,s,l){var u,c,a,d=n.props,f=t.props,p=t.type,g=0;if(p==="svg"&&(o=!0),i!=null){for(;g<i.length;g++)if((u=i[g])&&"setAttribute"in u==!!p&&(p?u.localName===p:u.nodeType===3)){e=u,i[g]=null;break}}if(e==null){if(p===null)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,f.is&&f),i=null,l=!1}if(p===null)d===f||l&&e.data===f||(e.data=f);else{if(i=i&&ar.call(e.childNodes),c=(d=n.props||Ir).dangerouslySetInnerHTML,a=f.dangerouslySetInnerHTML,!l){if(i!=null)for(d={},g=0;g<e.attributes.length;g++)d[e.attributes[g].name]=e.attributes[g].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(Ic(e,f,d,o,l),a)t.__k=[];else if(g=t.props.children,El(e,Array.isArray(g)?g:[g],t,n,r,o&&p!=="foreignObject",i,s,i?i[0]:n.__k&&qn(n,0),l),i!=null)for(g=i.length;g--;)i[g]!=null&&vl(i[g]);l||("value"in f&&(g=f.value)!==void 0&&(g!==e.value||p==="progress"&&!g||p==="option"&&g!==d.value)&&Mr(e,"value",g,d.value,!1),"checked"in f&&(g=f.checked)!==void 0&&g!==e.checked&&Mr(e,"checked",g,d.checked,!1))}return e}function Il(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){A.__e(r,n)}}function kl(e,t,n){var r,o;if(A.unmount&&A.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Il(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){A.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&kl(r[o],t,n||typeof e.type!="function");n||e.__e==null||vl(e.__e),e.__=e.__e=e.__d=void 0}function Mc(e,t,n){return this.constructor(e,n)}function Nt(e,t,n){var r,o,i;A.__&&A.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],Yo(t,e=(!r&&n||t).__k=m($e,null,[e]),o||Ir,Ir,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?ar.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),Fl(i,e)}function ei(e,t){Nt(e,t,ei)}function ti(e,t,n){var r,o,i,s=bt({},e.props);for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];return arguments.length>2&&(s.children=arguments.length>3?ar.call(arguments,2):n),Kn(e.type,s,r||e.key,o||e.ref,null)}function Tc(e,t){var n={__c:t="__cC"+bl++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.some(function(l){l.__e=!0,Mo(l)})},this.sub=function(s){o.push(s);var l=s.componentWillUnmount;s.componentWillUnmount=function(){o.splice(o.indexOf(s),1),l&&l.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}ar=Al.slice,A={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(l){e=l}throw e}},_l=0,ot.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=bt({},this.state),typeof e=="function"&&(e=e(bt({},n),this.props)),e&&bt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Mo(this))},ot.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Mo(this))},ot.prototype.render=$e,zt=[],yl=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ko=function(e,t){return e.__v.__b-t.__v.__b},kr.__r=0,bl=0;var Yt,L,wo,Wi,wn=0,Ml=[],xr=[],Gi=A.__b,Qi=A.__r,Zi=A.diffed,Ki=A.__c,Ji=A.unmount;function Dn(e,t){A.__h&&A.__h(L,e,wn||t),wn=0;var n=L.__H||(L.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:xr}),n.__[e]}function Tl(e){return wn=1,ni(Nl,e)}function ni(e,t,n){var r=Dn(Yt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Nl(void 0,t),function(l){var u=r.__N?r.__N[0]:r.__[0],c=r.t(u,l);u!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){var o=function(l,u,c){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter(function(f){return f.__c});if(a.every(function(f){return!f.__N}))return!i||i.call(this,l,u,c);var d=!1;return a.forEach(function(f){if(f.__N){var p=f.__[0];f.__=f.__N,f.__N=void 0,p!==f.__[0]&&(d=!0)}}),!(!d&&r.__c.props===l)&&(!i||i.call(this,l,u,c))};L.u=!0;var i=L.shouldComponentUpdate,s=L.componentWillUpdate;L.componentWillUpdate=function(l,u,c){if(this.__e){var a=i;i=void 0,o(l,u,c),i=a}s&&s.call(this,l,u,c)},L.shouldComponentUpdate=o}return r.__N||r.__}function mn(e,t){var n=Dn(Yt++,3);!A.__s&&ri(n.__H,t)&&(n.__=e,n.i=t,L.__H.__h.push(n))}function Jr(e,t){var n=Dn(Yt++,4);!A.__s&&ri(n.__H,t)&&(n.__=e,n.i=t,L.__h.push(n))}function Wn(e){return wn=5,wt(function(){return{current:e}},[])}function Rl(e,t,n){wn=6,Jr(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function wt(e,t){var n=Dn(Yt++,7);return ri(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Se(e,t){return wn=8,wt(function(){return e},t)}function Rc(e){var t=L.context[e.__c],n=Dn(Yt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(L)),t.props.value):e.__}function Nc(e,t){A.useDebugValue&&A.useDebugValue(t?t(e):e)}function Oc(){var e=Dn(Yt++,11);if(!e.__){for(var t=L.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Bc(){for(var e;e=Ml.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Er),e.__H.__h.forEach(To),e.__H.__h=[]}catch(t){e.__H.__h=[],A.__e(t,e.__v)}}A.__b=function(e){L=null,Gi&&Gi(e)},A.__r=function(e){Qi&&Qi(e),Yt=0;var t=(L=e.__c).__H;t&&(wo===L?(t.__h=[],L.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=xr,n.__N=n.i=void 0})):(t.__h.forEach(Er),t.__h.forEach(To),t.__h=[])),wo=L},A.diffed=function(e){Zi&&Zi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ml.push(t)!==1&&Wi===A.requestAnimationFrame||((Wi=A.requestAnimationFrame)||Pc)(Bc)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==xr&&(n.__=n.__V),n.i=void 0,n.__V=xr})),wo=L=null},A.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Er),n.__h=n.__h.filter(function(r){return!r.__||To(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],A.__e(r,n.__v)}}),Ki&&Ki(e,t)},A.unmount=function(e){Ji&&Ji(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Er(r)}catch(o){t=o}}),n.__H=void 0,t&&A.__e(t,n.__v))};var $i=typeof requestAnimationFrame=="function";function Pc(e){var t,n=function(){clearTimeout(r),$i&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);$i&&(t=requestAnimationFrame(n))}function Er(e){var t=L,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),L=t}function To(e){var t=L;e.__c=e.__(),L=t}function ri(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Nl(e,t){return typeof t=="function"?t(e):t}function Ol(e,t){for(var n in t)e[n]=t[n];return e}function Ro(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function _o(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function No(e){this.props=e}function Hc(e,t){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!s:Ro(this.props,o)}function r(o){return this.shouldComponentUpdate=n,m(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(No.prototype=new ot).isPureReactComponent=!0,No.prototype.shouldComponentUpdate=function(e,t){return Ro(this.props,e)||Ro(this.state,t)};var Xi=A.__b;A.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Xi&&Xi(e)};var jc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Bl(e){function t(n){var r=Ol({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=jc,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qi=function(e,t){return e==null?null:xt(xt(e).map(t))},Vc={map:qi,forEach:qi,count:function(e){return e?xt(e).length:0},only:function(e){var t=xt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:xt},Uc=A.__e;A.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Uc(e,t,n,r)};var Yi=A.unmount;function Pl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Ol({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Pl(r,t,n)})),e}function Hl(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Hl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Cr(){this.__u=0,this.t=null,this.__b=null}function jl(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Lc(e){var t,n,r;function o(i){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return m(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Gn(){this.u=null,this.o=null}A.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Yi&&Yi(e)},(Cr.prototype=new ot).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=jl(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=s;var l=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Hl(c,c.__c.__P,c.__c.__O)}var a;for(r.setState({__a:r.__b=null});a=r.t.pop();)a.forceUpdate()}},u=t.__h===!0;r.__u++||u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},Cr.prototype.componentWillUnmount=function(){this.t=[]},Cr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Pl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&m($e,null,e.fallback);return o&&(o.__h=null),[m($e,null,t.__a?null:e.children),o]};var es=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function zc(e){return this.getChildContext=function(){return e.context},e.children}function Wc(e){var t=this,n=e.i;t.componentWillUnmount=function(){Nt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Nt(m(zc,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Gc(e,t){var n=m(Wc,{__v:e,i:t});return n.containerInfo=t,n}(Gn.prototype=new ot).__a=function(e){var t=this,n=jl(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),es(t,e,r)):o()};n?n(i):i()}},Gn.prototype.render=function(e){this.u=null,this.o=new Map;var t=xt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Gn.prototype.componentDidUpdate=Gn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){es(e,n,t)})};var Vl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Qc=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Zc=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Kc=/[A-Z0-9]/g,Jc=typeof document<"u",$c=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Xc(e,t,n){return t.__k==null&&(t.textContent=""),Nt(e,t),typeof n=="function"&&n(),e?e.__c:null}function qc(e,t,n){return ei(e,t),typeof n=="function"&&n(),e?e.__c:null}ot.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ot.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ts=A.event;function Yc(){}function eu(){return this.cancelBubble}function tu(){return this.defaultPrevented}A.event=function(e){return ts&&(e=ts(e)),e.persist=Yc,e.isPropagationStopped=eu,e.isDefaultPrevented=tu,e.nativeEvent=e};var oi,nu={enumerable:!1,configurable:!0,get:function(){return this.class}},ns=A.vnode;A.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var s=n[i];if(!(i==="value"&&"defaultValue"in n&&s==null||Jc&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&s===!0?s="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||$c(n.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Zc.test(i)?i=l:r.indexOf("-")===-1&&Qc.test(i)?i=i.replace(Kc,"-$&").toLowerCase():s===null&&(s=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=s}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=xt(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=xt(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",nu)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Vl,ns&&ns(e)};var rs=A.__r;A.__r=function(e){rs&&rs(e),oi=e.__c};var os=A.diffed;A.diffed=function(e){os&&os(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),oi=null};var ru={ReactCurrentDispatcher:{current:{readContext:function(e){return oi.__n[e.__c].props.value}}}};function ou(e){return m.bind(null,e)}function Ul(e){return!!e&&e.$$typeof===Vl}function iu(e){return Ul(e)?ti.apply(null,arguments):e}function su(e){return!!e.__k&&(Nt(null,e),!0)}function lu(e){return e&&(e.base||e.nodeType===1&&e)||null}var au=function(e,t){return e(t)},cu=function(e,t){return e(t)},uu=$e;function Ll(e){e()}function fu(e){return e}function du(){return[!1,Ll]}var pu=Jr;function hu(e,t){var n=t(),r=Tl({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Jr(function(){o.__=n,o.v=t,_o(o.__,t())||i({h:o})},[e,n,t]),mn(function(){return _o(o.__,o.v())||i({h:o}),e(function(){_o(o.__,o.v())||i({h:o})})},[e]),n}var zl={useState:Tl,useId:Oc,useReducer:ni,useEffect:mn,useLayoutEffect:Jr,useInsertionEffect:pu,useTransition:du,useDeferredValue:fu,useSyncExternalStore:hu,startTransition:Ll,useRef:Wn,useImperativeHandle:Rl,useMemo:wt,useCallback:Se,useContext:Rc,useDebugValue:Nc,version:"17.0.2",Children:Vc,render:Xc,hydrate:qc,unmountComponentAtNode:su,createPortal:Gc,createElement:m,createContext:Tc,createFactory:ou,cloneElement:iu,createRef:Fc,Fragment:$e,isValidElement:Ul,findDOMNode:lu,Component:ot,PureComponent:No,memo:Hc,forwardRef:Bl,flushSync:cu,unstable_batchedUpdates:au,StrictMode:uu,Suspense:Cr,SuspenseList:Gn,lazy:Lc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ru};class _n{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ct(this.value)}Equals(t){return t==null?!1:it(this.value,t instanceof _n?t.value:t)}CompareTo(t){return t==null?1:ct(this.value,t instanceof _n?t.value:t)}}function $(e){if(e==null)throw new Error("Option has no value");return e instanceof _n?e.value:e}function at(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function mu(e){return e!=null&&typeof e.GetEnumerator=="function"}function gu(e){return e!=null&&typeof e.CompareTo=="function"}function wu(e){return e!=null&&typeof e.Equals=="function"}function _u(e){return e!=null&&typeof e.GetHashCode=="function"}function Wl(e){return e!=null&&typeof e.Dispose=="function"}function J(e){Wl(e)&&e.Dispose()}function Et(){return null}function Tr(e,t){var n,r;return((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===((r=Object.getPrototypeOf(t))===null||r===void 0?void 0:r.constructor)}class yu{constructor(t){this.iter=t,this.current=Et()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ee(e){return mu(e)?e.GetEnumerator():new yu(e[Symbol.iterator]())}function $r(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function nt(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function is(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function bu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function Rt(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class kt{static id(t){return kt.idMap.has(t)||kt.idMap.set(t,++kt.count),kt.idMap.get(t)}}kt.idMap=new WeakMap;kt.count=0;function Gl(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function _t(e){return e*2654435761|0}function Fn(e){return e.length===0?0:e.reduce((t,n)=>(t<<5)+t^n)}function Au(e){return e.getTime()}function vu(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ct(e[r]);return Fn(n)}function Ct(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return _t(e);case"string":return Gl(e);default:{if(_u(e))return e.GetHashCode();if(at(e))return vu(e);if(e instanceof Date)return Au(e);if(((t=Object.getPrototypeOf(e))===null||t===void 0?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Ct(r));return Fn(n)}else return _t(kt.id(e))}}}function Oo(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Ql(e,t){return Oo(e,t,it)}function xu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!it(e[n[o]],t[r[o]]))return!1;return!0}function it(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:wu(e)?e.Equals(t):at(e)?at(t)&&Ql(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Zl(e,t)===0:((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===Object&&xu(e,t)}function Zl(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+is(e),r=t.getTime()+is(t)),n===r?0:n<r?-1:1}function yn(e,t){return e===t?0:e<t?-1:1}function Eu(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),o!==0)return o;return 0}function Kl(e,t){return Eu(e,t,ct)}function Cu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const s=n[o];if(s!==r[o])return s<r[o]?-1:1;if(i=ct(e[s],t[s]),i!==0)return i}return 0}function ct(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:gu(e)?e.CompareTo(t):at(e)?at(t)?Kl(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Zl(e,t):-1:((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===Object?Cu(e,t):-1}function Bo(e,t,n){return e(t,n)>0?t:n}function K(e){const t={};for(const n of e)t[n[0]]=n[1];return t}const Po=Symbol("curried");function q(e,t){if(t==null)return t;const n=$(t);if(n.length>1)return n;const r=(...o)=>{let i=n;for(let s=0;s<e;s++)i=i(o[s]);return i};return r[Po]=n,r}function Jl(e,t,n){return r=>t===1?n(...e.concat([r])):Jl(e.concat([r]),t-1,n)}function In(e,t,n){if(t!=null)if(Po in t){t=t[Po];for(let r=0;r<n.length;r++)t=t(n[r]);return t}else return Jl(n,e,t)}function Su(e){let t=0,n="[";for(const r of e){if(t===0)n+=Ce(r);else if(t===100){n+="; ...";break}else n+="; "+Ce(r);t++}return n+"]"}function Ce(e,t=0){var n,r;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return Su(e);{const o=(n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map(([i,s])=>i+" = "+Ce(s,t+1)).join(`
|
|
2
|
+
`)+" }":(r=o==null?void 0:o.name)!==null&&r!==void 0?r:""}}return String(e)}function Du(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Ce(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>Ce(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class te{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Du(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Ct(n));return t.splice(0,0,_t(this.tag)),Fn(t)}Equals(t){return this===t?!0:Tr(this,t)&&this.tag===t.tag?Ql(this.fields,t.fields):!1}CompareTo(t){return this===t?0:Tr(this,t)?this.tag===t.tag?Kl(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Fu(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Iu(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+Ce(n)).join(`
|
|
3
|
+
`)+" }"}function ku(e){const t=Object.values(e).map(n=>Ct(n));return Fn(t)}function Mu(e,t){if(e===t)return!0;if(Tr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!it(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function Tu(e,t){if(e===t)return 0;if(Tr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=ct(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class le{toJSON(){return Fu(this)}toString(){return Iu(this)}GetHashCode(){return ku(this)}Equals(t){return Mu(this,t)}CompareTo(t){return Tu(this,t)}}class ze{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class Ru{constructor(t){this.message=t}}function Nu(e){return e instanceof Ru||e instanceof Error}function Ou(e){return e instanceof Promise}function Rr(e){return Nu(e)||Ou(e)?e:new Error(String(e))}const Bt=Symbol("numeric");function $l(e){return typeof e=="number"||(e==null?void 0:e[Bt])}function Bu(e,t){return typeof e=="number"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Ho(e,t){return typeof e=="number"?e*t:e[Bt]().multiply(t)}function Sr(e,t){return typeof e=="number"?e.toFixed(t):e[Bt]().toFixed(t)}function Nr(e,t){return typeof e=="number"?e.toPrecision(t):e[Bt]().toPrecision(t)}function Or(e,t){return typeof e=="number"?e.toExponential(t):e[Bt]().toExponential(t)}function Br(e){return typeof e=="number"?(Number(e)>>>0).toString(16):e[Bt]().toHex()}var V={GetHashCode(){return Fn([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[Bt](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},Pu=28,Hu=1,Zt=1e6,ss=1e6,ju=-29,Vu=29,Uu=!1,cr="[big.js] ",en=cr+"Invalid ",Xr=en+"decimal places",Lu=en+"rounding mode",Xl=cr+"Division by zero",st=void 0,zu=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function ql(){function e(t){var n=this;if(!(n instanceof e))return t===st?ql():new e(t);if(t instanceof e)n.s=t.s,n.e=t.e,n.c=t.c.slice(),Wu(n);else{if(typeof t!="string"){if(e.strict===!0)throw TypeError(en+"number");t=t===0&&1/t<0?"-0":String(t)}Gu(n,t)}n.constructor=e}return e.prototype=V,e.DP=Pu,e.RM=Hu,e.NE=ju,e.PE=Vu,e.strict=Uu,e}function Wu(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(n=>n);e.c=e.c.slice(t),e.e=e.e-t}}function Gu(e,t){var n,r,o;if(!zu.test(t))throw Error(en+"number");for(e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),o=t.length,r=0;r<n&&r<o&&t.charAt(r)=="0";)++r;if(r==o)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<o;)e.c[n++]=+t.charAt(r++);return e=Pt(e,Ot.DP+1,Ot.RM),e}function Pt(e,t,n,r){var o=e.c;if(n===st&&(n=Ot.RM),n!==0&&n!==1&&n!==2&&n!==3)throw Error(Lu);if(t<1)r=n===3&&(r||!!o[0])||t===0&&(n===1&&o[0]>=5||n===2&&(o[0]>5||o[0]===5&&(r||o[1]!==st))),o.length=1,r?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){const i=o.findIndex((s,l)=>l>=t&&s>0)<0;if(r=n===1&&o[t]>=5||n===2&&(o[t]>5||o[t]===5&&(r||o[t+1]!==st||o[t-1]&1))||n===3&&(r||!i),o.length=t--,r)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function kn(e,t,n){var r=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>i)for(r-=i;r--;)o+="0";else r<i&&(o=o.slice(0,r)+"."+o.slice(r));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&n?"-"+o:o}V.abs=function(){var e=new this.constructor(this);return e.s=1,e};V.cmp=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.c,s=o.c,l=r.s,u=o.s,c=r.e,a=o.e;if(!i[0]||!s[0])return i[0]?l:s[0]?-u:0;if(l!=u)return l;if(t=l<0,c!=a)return c>a^t?1:-1;for(u=Math.max(i.length,s.length),l=0;l<u;l++)if(c=l<i.length?i[l]:0,a=l<s.length?s[l]:0,c!=a)return c>a^t?1:-1;return 0};V.div=function(r){var t=this.constructor,n=new t(this),r=new t(r),o=n.c,i=r.c,s=n.s==r.s?1:-1,l=t.DP;if(l!==~~l||l<0||l>Zt)throw Error(Xr);if(!i[0])throw Error(Xl);if(!o[0])return r.s=s,r.c=[r.e=0],r;var u,c,a,d,f,p=i.slice(),g=u=i.length,_=o.length,w=o.slice(0,u),b=w.length,I=r,ne=I.c=[],oe=0,G=l+(I.e=n.e-r.e)+1;for(I.s=s,s=G<0?0:G,p.unshift(0);b++<u;)w.push(0);do{for(a=0;a<10;a++){if(u!=(b=w.length))d=u>b?1:-1;else for(f=-1,d=0;++f<u;)if(i[f]!=w[f]){d=i[f]>w[f]?1:-1;break}if(d<0){for(c=b==u?i:p;b;){if(w[--b]<c[b]){for(f=b;f&&!w[--f];)w[f]=9;--w[f],w[b]+=10}w[b]-=c[b]}for(;!w[0];)w.shift()}else break}ne[oe++]=d?a:++a,w[0]&&d?w[b]=o[g]||0:w=[o[g]]}while((g++<_||w[0]!==st)&&s--);return!ne[0]&&oe!=1&&(ne.shift(),I.e--,G--),oe>G&&Pt(I,G,t.RM,w[0]!==st),I};V.eq=function(e){return this.cmp(e)===0};V.gt=function(e){return this.cmp(e)>0};V.gte=function(e){return this.cmp(e)>-1};V.lt=function(e){return this.cmp(e)<0};V.lte=function(e){return this.cmp(e)<1};V.minus=V.sub=function(l){var t,n,r,o,i=this.constructor,s=new i(this),l=new i(l),u=s.s,c=l.s;if(u!=c)return l.s=-c,s.plus(l);var a=s.c.slice(),d=s.e,f=l.c,p=l.e;if(!a[0]||!f[0])return f[0]?l.s=-c:a[0]?l=new i(s):l.s=1,l;if(u=d-p){for((o=u<0)?(u=-u,r=a):(p=d,r=f),r.reverse(),c=u;c--;)r.push(0);r.reverse()}else for(n=((o=a.length<f.length)?a:f).length,u=c=0;c<n;c++)if(a[c]!=f[c]){o=a[c]<f[c];break}if(o&&(r=a,a=f,f=r,l.s=-l.s),(c=(n=f.length)-(t=a.length))>0)for(;c--;)a[t++]=0;for(c=t;n>u;){if(a[--n]<f[n]){for(t=n;t&&!a[--t];)a[t]=9;--a[t],a[n]+=10}a[n]-=f[n]}for(;a[--c]===0;)a.pop();for(;a[0]===0;)a.shift(),--p;return a[0]||(l.s=1,a=[p=0]),l.c=a,l.e=p,l};V.mod=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.s,s=o.s;if(!o.c[0])throw Error(Xl);return r.s=o.s=1,t=o.cmp(r)==1,r.s=i,o.s=s,t?new n(r):(i=n.DP,s=n.RM,n.DP=n.RM=0,r=r.div(o),n.DP=i,n.RM=s,this.minus(r.times(o)))};V.plus=V.add=function(s){var t,n,r,o=this.constructor,i=new o(this),s=new o(s);if(i.s!=s.s)return s.s=-s.s,i.minus(s);var l=i.e,u=i.c,c=s.e,a=s.c;if(!u[0]||!a[0])return a[0]||(u[0]?s=new o(i):s.s=i.s),s;if(u=u.slice(),t=l-c){for(t>0?(c=l,r=a):(t=-t,r=u),r.reverse();t--;)r.push(0);r.reverse()}for(u.length-a.length<0&&(r=a,a=u,u=r),t=a.length,n=0;t;u[t]%=10)n=(u[--t]=u[t]+a[t]+n)/10|0;for(n&&(u.unshift(n),++c),t=u.length;u[--t]===0;)u.pop();return s.c=u,s.e=c,s};V.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),o=new t("1"),i=e<0;if(e!==~~e||e<-ss||e>ss)throw Error(en+"exponent");for(i&&(e=-e);e&1&&(r=r.times(n)),e>>=1,!!e;)n=n.times(n);return i?o.div(r):r};V.prec=function(e,t){if(e!==~~e||e<1||e>Zt)throw Error(en+"precision");return Pt(new this.constructor(this),e,t)};V.round=function(e,t){if(e===st)e=0;else if(e!==~~e||e<-Zt||e>Zt)throw Error(Xr);return Pt(new this.constructor(this),e+this.e+1,t)};V.sqrt=function(){var e,t,n,r=this.constructor,o=new r(this),i=o.s,s=o.e,l=new r("0.5");if(!o.c[0])return new r(o);if(i<0)throw Error(cr+"No square root");i=Math.sqrt(o+""),i===0||i===1/0?(t=o.c.join(""),t.length+s&1||(t+="0"),i=Math.sqrt(t),s=((s+1)/2|0)-(s<0||s&1),e=new r((i==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+s)):e=new r(i+""),s=e.e+(r.DP+=4);do n=e,e=l.times(n.plus(o.div(n)));while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return Pt(e,(r.DP-=4)+e.e+1,r.RM)};V.times=V.mul=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.c,s=o.c,l=i.length,u=s.length,c=r.e,a=o.e;if(o.s=r.s==o.s?1:-1,!i[0]||!s[0])return o.c=[o.e=0],o;for(o.e=c+a,l<u&&(t=i,i=s,s=t,a=l,l=u,u=a),t=new Array(a=l+u);a--;)t[a]=0;for(c=u;c--;){for(u=0,a=l+c;a>c;)u=t[a]+s[c]*i[a-c-1]+u,t[a--]=u%10,u=u/10|0;t[a]=u}for(u?++o.e:t.shift(),c=t.length;!t[--c];)t.pop();return o.c=t,o};V.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==st){if(e!==~~e||e<0||e>Zt)throw Error(Xr);for(n=Pt(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return kn(n,!0,!!r)};V.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==st){if(e!==~~e||e<0||e>Zt)throw Error(Xr);for(n=Pt(new n.constructor(n),e+n.e+1,t),e=e+n.e+1;n.c.length<e;)n.c.push(0)}return kn(n,!1,!!r)};V.toJSON=V.toString=function(){var e=this,t=e.constructor;return kn(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])};V.toNumber=function(){var e=Number(kn(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(cr+"Imprecise conversion");return e};V.toPrecision=function(e,t){var n=this,r=n.constructor,o=n.c[0];if(e!==st){if(e!==~~e||e<1||e>Zt)throw Error(en+"precision");for(n=Pt(new r(n),e,t);n.c.length<e;)n.c.push(0)}return kn(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!o)};V.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(cr+"valueOf disallowed");return kn(e,e.e<=t.NE||e.e>=t.PE,!0)};var Ot=ql();new Ot(0);new Ot(1);new Ot(-1);new Ot("79228162514264337593543950335");new Ot("-79228162514264337593543950335");var jo;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(jo||(jo={}));function Qu(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function ls(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Zu(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function Ku(e,t){if(t&jo.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function Ju(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(o!=null){const[,,i,s]=o;if(n=n||Ku(i,t),!Zu(n).test(s))return Qu(o,n)}return null}function $u(e,t,n,r,o){const i=Ju(e,t,o);if(i!=null){let s=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(s)){const[l,u]=ls(!0,r);!n&&i.radix!==10&&s>=l&&s<=u&&(s=s<<32-r>>32-r);const[c,a]=ls(n,r);if(s>=c&&s<=a)return s}}throw new Error("Input string was not in a correct format.")}function Mn(e,t,n,r,o){try{return o.contents=$u(e,t,n,r),!0}catch{return!1}}function Xu(e){return e===-2147483648?e:-e}var He=null;try{He=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function Xe(e,t,n){this.low=e|0,this.high=t|0,this.unsigned=!!n}Xe.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e};Xe.prototype.Equals=function(e){return Be(this,e)};Xe.prototype.CompareTo=function(e){return ur(this,e)};Xe.prototype.toString=function(e){return er(this,e)};Xe.prototype.toJSON=function(){return er(this)};Xe.prototype[Bt]=function(){const e=this;return{multiply:t=>Oe(e,t),toPrecision:t=>String(e)+0 .toPrecision(t).substr(1),toExponential:t=>String(e)+0 .toExponential(t).substr(1),toFixed:t=>String(e)+0 .toFixed(t).substr(1),toHex:()=>er(e.unsigned?e:hf(ff(e),!0),16)}};Xe.prototype.__isLong__;Object.defineProperty(Xe.prototype,"__isLong__",{value:!0});function qe(e){return(e&&e.__isLong__)===!0}var as={},cs={};function Tn(e,t){var n,r,o;return t?(e>>>=0,(o=0<=e&&e<256)&&(r=cs[e],r)?r:(n=W(e,(e|0)<0?-1:0,!0),o&&(cs[e]=n),n)):(e|=0,(o=-128<=e&&e<128)&&(r=as[e],r)?r:(n=W(e,e<0?-1:0,!1),o&&(as[e]=n),n))}function Ke(e,t){if(isNaN(e))return t?Mt:Je;if(t){if(e<0)return Mt;if(e>=ea)return tf}else{if(e<=-fs)return je;if(e+1>=fs)return ef}return e<0?de(Ke(-e,t)):W(e%bn|0,e/bn|0,t)}function W(e,t,n){return new Xe(e,t,n)}var Pr=Math.pow;function Yl(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return Je;if(typeof t=="number"?(n=t,t=!1):t=!!t,n=n||10,n<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(r===0)return de(Yl(e.substring(1),t,n));for(var o=Ke(Pr(n,8)),i=Je,s=0;s<e.length;s+=8){var l=Math.min(8,e.length-s),u=parseInt(e.substring(s,s+l),n);if(l<8){var c=Ke(Pr(n,l));i=Kt(Oe(i,c),Ke(u))}else i=Oe(i,o),i=Kt(i,Ke(u))}return i.unsigned=t,i}function Ht(e,t){return typeof e=="number"?Ke(e,t):typeof e=="string"?Yl(e,t):W(e.low,e.high,typeof t=="boolean"?t:e.unsigned)}var us=1<<16,qu=1<<24,bn=us*us,ea=bn*bn,fs=ea/2,ds=Tn(qu),Je=Tn(0),Mt=Tn(0,!0),Qn=Tn(1),Yu=Tn(1,!0),ps=Tn(-1),ef=W(-1,2147483647,!1),tf=W(-1,-1,!0),je=W(0,-2147483648,!1);function An(e){return e.unsigned?e.low>>>0:e.low}function Yn(e){return e.unsigned?(e.high>>>0)*bn+(e.low>>>0):e.high*bn+(e.low>>>0)}function er(e,t){if(t=t||10,t<2||36<t)throw RangeError("radix");if(Gt(e))return"0";if(Pe(e))if(Be(e,je)){var n=Ke(t),r=yt(e,n),o=vn(Oe(r,n),e);return er(r,t)+An(o).toString(t)}else return"-"+er(de(e),t);for(var i=Ke(Pr(t,6),e.unsigned),s=e,l="";;){var u=yt(s,i),c=An(vn(s,Oe(u,i)))>>>0,a=c.toString(t);if(s=u,Gt(s))return a+l;for(;a.length<6;)a="0"+a;l=""+a+l}}function Gt(e){return e.high===0&&e.low===0}function Pe(e){return!e.unsigned&&e.high<0}function hs(e){return(e.low&1)===1}function Be(e,t){return qe(t)||(t=Ht(t)),e.unsigned!==t.unsigned&&e.high>>>31===1&&t.high>>>31===1?!1:e.high===t.high&&e.low===t.low}function ms(e,t){return ur(e,t)<0}function yo(e,t){return ur(e,t)>0}function nf(e,t){return ur(e,t)>=0}function ur(e,t){if(qe(t)||(t=Ht(t)),Be(e,t))return 0;var n=Pe(e),r=Pe(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:Pe(vn(e,t))?-1:1}function de(e){return!e.unsigned&&Be(e,je)?je:Kt(of(e),Qn)}function Kt(e,t){qe(t)||(t=Ht(t));var n=e.high>>>16,r=e.high&65535,o=e.low>>>16,i=e.low&65535,s=t.high>>>16,l=t.high&65535,u=t.low>>>16,c=t.low&65535,a=0,d=0,f=0,p=0;return p+=i+c,f+=p>>>16,p&=65535,f+=o+u,d+=f>>>16,f&=65535,d+=r+l,a+=d>>>16,d&=65535,a+=n+s,a&=65535,W(f<<16|p,a<<16|d,e.unsigned)}function vn(e,t){return qe(t)||(t=Ht(t)),Kt(e,de(t))}function Oe(e,t){if(Gt(e))return e.unsigned?Mt:Je;if(qe(t)||(t=Ht(t)),He){var n=He.mul(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}if(Gt(t))return e.unsigned?Mt:Je;if(Be(e,je))return hs(t)?je:Je;if(Be(t,je))return hs(e)?je:Je;if(Pe(e))return Pe(t)?Oe(de(e),de(t)):de(Oe(de(e),t));if(Pe(t))return de(Oe(e,de(t)));if(ms(e,ds)&&ms(t,ds))return Ke(Yn(e)*Yn(t),e.unsigned);var r=e.high>>>16,o=e.high&65535,i=e.low>>>16,s=e.low&65535,l=t.high>>>16,u=t.high&65535,c=t.low>>>16,a=t.low&65535,d=0,f=0,p=0,g=0;return g+=s*a,p+=g>>>16,g&=65535,p+=i*a,f+=p>>>16,p&=65535,p+=s*c,f+=p>>>16,p&=65535,f+=o*a,d+=f>>>16,f&=65535,f+=i*c,d+=f>>>16,f&=65535,f+=s*u,d+=f>>>16,f&=65535,d+=r*a+o*c+i*u+s*l,d&=65535,W(p<<16|g,d<<16|f,e.unsigned)}function yt(e,t){if(qe(t)||(t=Ht(t)),Gt(t))throw Error("division by zero");if(He){if(!e.unsigned&&e.high===-2147483648&&t.low===-1&&t.high===-1)return e;var n=(e.unsigned?He.div_u:He.div_s)(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}if(Gt(e))return e.unsigned?Mt:Je;var r,o,i;if(e.unsigned){if(t.unsigned||(t=uf(t)),yo(t,e))return Mt;if(yo(t,cf(e,1)))return Yu;i=Mt}else{if(Be(e,je)){if(Be(t,Qn)||Be(t,ps))return je;if(Be(t,je))return Qn;var s=af(e,1);return r=lf(yt(s,t),1),Be(r,Je)?Pe(t)?Qn:ps:(o=vn(e,Oe(t,r)),i=Kt(r,yt(o,t)),i)}else if(Be(t,je))return e.unsigned?Mt:Je;if(Pe(e))return Pe(t)?yt(de(e),de(t)):de(yt(de(e),t));if(Pe(t))return de(yt(e,de(t)));i=Je}for(o=e;nf(o,t);){r=Math.max(1,Math.floor(Yn(o)/Yn(t)));for(var l=Math.ceil(Math.log(r)/Math.LN2),u=l<=48?1:Pr(2,l-48),c=Ke(r),a=Oe(c,t);Pe(a)||yo(a,o);)r-=u,c=Ke(r,e.unsigned),a=Oe(c,t);Gt(c)&&(c=Qn),i=Kt(i,c),o=vn(o,a)}return i}function rf(e,t){if(qe(t)||(t=Ht(t)),He){var n=(e.unsigned?He.rem_u:He.rem_s)(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}return vn(e,Oe(yt(e,t),t))}function of(e){return W(~e.low,~e.high,e.unsigned)}function sf(e,t){return qe(t)||(t=Ht(t)),W(e.low&t.low,e.high&t.high,e.unsigned)}function lf(e,t){return qe(t)&&(t=An(t)),(t&=63)===0?e:t<32?W(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):W(0,e.low<<t-32,e.unsigned)}function af(e,t){return qe(t)&&(t=An(t)),(t&=63)===0?e:t<32?W(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):W(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function cf(e,t){if(qe(t)&&(t=An(t)),t&=63,t===0)return e;var n=e.high;if(t<32){var r=e.low;return W(r>>>t|n<<32-t,n>>>t,e.unsigned)}else return W(t===32?n:n>>>t-32,0,e.unsigned)}function uf(e){return e.unsigned?e:W(e.low,e.high,!0)}function ff(e,t){return t?df(e):pf(e)}function df(e){var t=e.high,n=e.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]}function pf(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,n>>>24,n>>>16&255,n>>>8&255,n&255]}function hf(e,t,n){return n?mf(e,t):gf(e,t)}function mf(e,t){return new Xe(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}function gf(e,t){return new Xe(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}const Ve=Kt,Ue=Oe,ut=yt,wf=rf,_f=de,Rn=sf,qr=ur,pe=W,ft=An,yf=Yn;function ee(e,t,n){let r=e,o=0;switch(n){case 0:r=e<<24>>24,o=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,o=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,o=r;break;case 6:r=e>>>0;break}return W(r,o>>31,t)}class bf{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class N{constructor(t,n,r,o,i,s,l){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=i,this.cases=s,this.enumCases=l}toString(){return fe(this)}GetHashCode(){return ta(this)}Equals(t){return Vo(this,t)}}function It(e){return e.generics!=null?e.generics:[]}function ta(e){const t=Gl(e.fullname),n=It(e).map(ta);return Fn([t,...n])}function Vo(e,t){return e.fullname===""?t.fullname===""&&Oo(Hr(e),Hr(t),([n,r],[o,i])=>n===o&&Vo(r,i)):e.fullname===t.fullname&&Oo(It(e),It(t),Vo)}function tr(e,t,n,r){return new N(e,t,n,r)}function tn(e,t,n,r){return new N(e,t,n,void 0,r)}function Af(e,t,n,r){const o=new N(e,t,n,void 0,void 0,()=>{const i=n.prototype.cases();return r().map((s,l)=>new bf(o,l,i[l],s))});return o}function ii(e){return new N("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Yr(e){return new N("Microsoft.FSharp.Collections.FSharpList`1",[e])}const vf=new N("System.Object");new N("Microsoft.FSharp.Core.Unit");new N("System.Char");const dt=new N("System.String");new N("System.Boolean");new N("System.SByte");new N("System.Byte");new N("System.Int16");new N("System.UInt16");const _e=new N("System.Int32");new N("System.UInt32");new N("System.Int64");new N("System.UInt64");new N("System.Int128");new N("System.UInt128");new N("System.IntPtr");new N("System.UIntPtr");new N("System.Half");new N("System.Single");new N("System.Double");new N("System.Decimal");new N("System.Numerics.BigInteger");function si(e){if(Array.isArray(e))return e[0];if(e instanceof N){const t=eo(e);if(t!=null)return si(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function fe(e){const t=eo(e);return t!=null?fe(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>fe(n)).join(",")+"]"}function xf(e){return eo(e)!=null}function eo(e){var t;return e.fullname==="[]"&&((t=e.generics)===null||t===void 0?void 0:t.length)===1?e.generics[0]:void 0}function Ef(e){return e.generics!=null&&e.generics.length>0}function na(e){return e.enumCases!=null&&e.enumCases.length>0}function Cf(e){return e.generics==null?e:new N(e.fullname,e.generics.map(()=>vf))}function Sf(e){var t;return(t=e.generics)===null||t===void 0?void 0:t[0]}function cn(e){if(na(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Df(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function un(e,t){const n=parseInt(t,10);return Df(e,isNaN(n)?t:n)[1]}function Ff(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Hr(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function If(e){if(ra(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function kf(e){return e instanceof N?e.cases!=null:e instanceof te}function Mf(e){return e instanceof N?e.fields!=null:e instanceof le}function ra(e){return e.fullname.startsWith("System.Tuple")}function Tf(e){return e.fields==null?[]:e.fields}function gs(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return e.declaringType.construct!=null?new e.declaringType.construct(e.tag,t):{}}function Rf(e,t){const n=Hr(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[o,i],s)=>(r[o]=t[s],r),{})}function Nf(e,t){return e}function li(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+nt(n,2)+":"+nt(r,2)}function jr(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Of(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return nt(e.getFullYear(),4)+"-"+nt(e.getMonth()+1,2)+"-"+nt(e.getDate(),2)+"T"+nt(e.getHours(),2)+":"+nt(e.getMinutes(),2)+":"+nt(e.getSeconds(),2)+"."+nt(e.getMilliseconds(),3)+(n?li(e.getTimezoneOffset()*-6e4):"")}}function Bf(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+li(t)}function oa(e,t,n){return t.replace(/(\w)\1*/g,r=>{let o=Number.NaN;switch(r.substring(0,1)){case"y":const i=n?e.getUTCFullYear():e.getFullYear();o=r.length<4?i%100:i;break;case"M":o=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":o=n?e.getUTCDate():e.getDate();break;case"H":o=n?e.getUTCHours():e.getHours();break;case"h":const s=n?e.getUTCHours():e.getHours();o=s>12?s%12:s;break;case"m":o=n?e.getUTCMinutes():e.getMinutes();break;case"s":o=n?e.getUTCSeconds():e.getSeconds();break;case"f":o=n?e.getUTCMilliseconds():e.getMilliseconds();break}return Number.isNaN(o)?r:nt(o,r.length)})}function Pf(e,t){var n,r,o;const i=new Date(e.getTime()+((n=e.offset)!==null&&n!==void 0?n:0));if(typeof t!="string")return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+li((r=e.offset)!==null&&r!==void 0?r:0);if(t.length===1)switch(t){case"D":case"d":return jr(i,"first");case"T":case"t":return jr(i,"second");case"O":case"o":return Bf(i,(o=e.offset)!==null&&o!==void 0?o:0);default:throw new Error("Unrecognized Date print format")}else return oa(i,t,!0)}function Hf(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?jr(e,"first"):e.toLocaleDateString();case"T":case"t":return n?jr(e,"second"):e.toLocaleTimeString();case"O":case"o":return Of(e,n);default:throw new Error("Unrecognized Date print format")}else return oa(e,t,n)}function ia(e,t,n){return e.offset!=null?Pf(e,t):Hf(e,t)}function ai(e,t){const n=new Date(e);return n.kind=(t==null?0:t)|0,n}function jf(){return ai(-621355968e5,0)}function sa(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(o!=null){let i,s=0;if(o[2]!=null){const l=o[2].split(":");s=parseInt(l[0],10)*3600+parseInt(l[1]||"0",10)*60+parseFloat(l[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&(s+=720)}if(o[4]!=null){if(o[1]!=null)i=new Date(o[1]+" UTC");else{const l=new Date;i=new Date(l.getUTCFullYear()+"/"+(l.getUTCMonth()+1)+"/"+l.getUTCDate())}if(o[4]==="Z")r="Z";else{let l=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(l*=-1),r=l,s-=l*60}}else if(o[1]!=null)i=new Date(o[1]);else{const l=new Date;i=new Date(l.getFullYear()+"/"+(l.getMonth()+1)+"/"+l.getDate())}n=new Date(i.getTime()+s*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-i.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function Vf(e,t=!1){const[n,r]=sa(e),o=r!=null?t&&r==="Z"?1:2:0;return ai(n.getTime(),o)}function Uf(e,t){try{return t.contents=Vf(e),!0}catch{return!1}}function Lf(e){return e.kind===1?e:ai(e.getTime(),1)}function zf(e,t=0){if((t&-284)!==0)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function ci(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function ws(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;(o=e.exec(t))!=null;)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function Wf(e,t,n,r,o=0){function i(){let s=arguments[0];if(r){r--;const l=[],u=arguments.length,c=typeof arguments[u-1]!="string";let a=c?u-3:u-2;for(let d=0;d<a;d++)l.push(arguments[d]);l.index=arguments[a++],l.input=arguments[a++],c&&(l.groups=arguments[a]),s=n(l)}return s}if(typeof e=="string"){const s=e;e=zf(t,r!=null?r:0),t=s,r=void 0}if(typeof n=="function")return r=r==null?-1:r,t.substring(0,o)+t.substring(o).replace(e,i);if(n=n.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let s;const l=t.substring(o),u=ws(e,l),c=ws.length>r?(s=u[r-1],l.substring(0,s.index+s[0].length)):l;return t.substring(0,o)+c.replace(e,n)+t.substring(o+c.length)}else return t.replace(e,n)}const Ln=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Gf=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function la(e,t){return Bu(e,t)<0}function nn(e){return{input:e,cont:Kf(e)}}function aa(e,t){return typeof t=="string"?e(t):t.cont(e)}function Nn(e){return aa(t=>t,e)}function Qf(e){return aa(t=>{throw new Error(t)},e)}function Zf(e,t,n,r,o){let i="";if(t=t||"",o=o||"",$l(e))switch(o.toLowerCase()!=="x"&&(la(e,0)?(e=Ho(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r!=null?r:6,e=Sr(e,r);break;case"g":case"G":e=r!=null?Nr(e,r):Nr(e);break;case"e":case"E":e=r!=null?Or(e,r):Or(e);break;case"x":e=Br(e);break;case"X":e=Br(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=ia(e):e=Ce(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=i+e;else{const s=t.indexOf("0")>=0,l=t.indexOf("-")>=0,u=l||!s?" ":"0";u==="0"?(e=nr(e,n-i.length,u,l),e=i+e):e=nr(i+e,n,u,l)}return e}function ca(e,t,n,r="",o=-1){return(...i)=>{let s=r;const l=t.slice(),u=n.slice();for(const c of i){const[,,a,d,f,p]=u[0];let g=d;if(o>=0)g=o,o=-1;else if(g==="*"){if(c<0)throw new Error("Non-negative number required");o=c;continue}s+=l[0],s+=Zf(c,a,g,f,p),l.splice(0,1),u.splice(0,1)}return u.length===0?(s+=l[0],e(s)):ca(e,l,u,s,o)}}function Kf(e){return t=>{Ln.lastIndex=0;const n=[],r=[];let o=0,i=Ln.exec(e);for(;i;){const s=i.index+(i[1]||"").length;n.push(e.substring(o,s).replace(/%%/g,"%")),r.push(i),o=Ln.lastIndex,Ln.lastIndex-=1,i=Ln.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),ca(t,n,r))}}function Jf(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(Gf,(r,o,i,s,l,u)=>{if(o<0||o>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let c=t[o];if($l(c))switch(l=l==null?null:parseInt(l,10),s){case"f":case"F":l=l!=null?l:2,c=Sr(c,l);break;case"g":case"G":c=l!=null?Nr(c,l):Nr(c);break;case"e":case"E":c=l!=null?Or(c,l):Or(c);break;case"p":case"P":l=l!=null?l:2,c=Sr(Ho(c,100),l)+" %";break;case"d":case"D":c=l!=null?bo(String(c),l,"0"):String(c);break;case"x":case"X":c=l!=null?bo(Br(c),l,"0"):Br(c),s==="X"&&(c=c.toUpperCase());break;default:if(u){let a="";c=u.replace(/([0#,]+)(\.[0#]+)?/,(d,f,p)=>{la(c,0)&&(c=Ho(c,-1),a="-"),p=p==null?"":p.substring(1),c=Sr(c,Math.max(p.length,0));let[g,_]=c.split(".");_||(_="");const w=f.replace(/,/g,"").replace(/^#+/,"").length;g=bo(g,w,"0");const b=p.replace(/#+$/,"").length;if(b>_.length?_=Xf(_,b,"0"):b<_.length&&(_=_.substring(0,b)+_.substring(b).replace(/0+$/,"")),f.indexOf(",")>0){const I=g.length%3,ne=Math.floor(g.length/3);let oe=I>0?g.substr(0,I)+(ne>0?",":""):"";for(let G=0;G<ne;G++)oe+=g.substr(I+G*3,3)+(G<ne-1?",":"");g=oe}return _.length>0?g+"."+_:g}),c=a+c}}else c instanceof Date?c=ia(c,u||s):c=Ce(c);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(c=nr(String(c),Math.abs(i)," ",i<0)),c})}function $f(e){return typeof e!="string"||e.length===0}function St(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function nr(e,t,n,r){n=n||" ",t=t-e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function bo(e,t,n){return nr(e,t,n)}function Xf(e,t,n){return nr(e,t,n,!0)}function qf(e,t,n){return e.replace(new RegExp(ci(t),"g"),n)}function Yf(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,i=(r&2)===2;t=t||[],t=t.filter(a=>a).map(ci),t=t.length>0?t:["\\s"];const s=[],l=new RegExp(t.join("|"),"g");let u=!0,c=0;do{const a=l.exec(e);if(a===null){const d=i?e.substring(c).trim():e.substring(c);(!o||d.length>0)&&s.push(d),u=!1}else{const d=i?e.substring(c,a.index).trim():e.substring(c,a.index);(!o||d.length>0)&&(n!=null&&s.length+1===n?(s.push(i?e.substring(c).trim():e.substring(c)),u=!1):s.push(d)),c=l.lastIndex}}while(u);return s}function ed(e,...t){if(t.length===0)return e.trim();const n="["+ci(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}const ua="Collection was empty.",td="An index satisfying the predicate was not found in the collection.";function xe(e){return e==null||e instanceof _n?new _n(e):e}function nd(e){return e==null?[]:[$(e)]}function fa(e,t){return e!=null?$(e):t}function ui(e,t){return typeof e=="function"?new e(t):new Array(t)}function rd(){throw new Error("Arrays had different lengths")}function fi(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function xn(e,t,n){const r=t.length|0,o=ui(n,r);for(let i=0;i<=r-1;i++)o[i]=e(t[i]);return o}function od(e,t){const n=ui(t,1);return n[0]=e,n}function On(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=ui(n,e);for(let o=0;o<=e-1;o++)r[o]=t(o);return r}function id(e){return e.slice()}function sd(e,t){return t.find(e)}function ld(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const i=e(t[o]);if(i!=null){const s=$(i);r.push(s)}}return it(n,Et())?r:xn(o=>o,r,n)}function di(e,t,n){return n.reduce(e,t)}function ad(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}function cd(e,t,n,r){let o=r;t.length!==n.length&&rd();const i=t.length|0;for(let s=1;s<=i;s++)o=e(s-1,t[i-s],n[i-s],o);return o}function ud(e,t,n,r){return cd((o,i,s,l)=>e(i,s,l),t,n,r)}class pt extends le{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+St("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,i)=>{e:for(;;){const s=o,l=i,u=s.tail,c=l.tail;if(u!=null)if(c!=null){const a=u,d=c;if(it(s.head,l.head)){o=a,i=d;continue e}else return!1}else return!1;else return c==null}})(n,t)}GetHashCode(){return((r,o,i)=>{e:for(;;){const s=r,l=o,u=i,c=u.tail;if(c!=null){const a=c;if(s>18)return l|0;r=s+1,o=(l<<1)+Ct(u.head)+631*s,i=a;continue e}else return l|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,i)=>{e:for(;;){const s=o,l=i,u=s.tail,c=l.tail;if(u!=null)if(c!=null){const a=u,d=c,f=ct(s.head,l.head)|0;if(f===0){o=a,i=d;continue e}else return f|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return dd(this)}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ee(this)}}class fd{constructor(t){this.xs=t,this.it=this.xs,this.current=Et()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=n;return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Et()}Dispose(){}}function dd(e){return new fd(e)}function ht(){return new pt(Et(),void 0)}function fr(e,t){return new pt(e,t)}function to(e){return e.tail==null}function da(e){return((n,r)=>{e:for(;;){const o=n,s=r.tail;if(s!=null){n=o+1,r=s;continue e}else return o|0}})(0,e)|0}function pi(e){if(e.tail!=null)return e.head;throw new Error(ua+"\\nParameter name: list")}function rn(e){const t=e.tail;if(t!=null)return t;throw new Error(ua+"\\nParameter name: list")}function pd(){throw new Error(td)}function Le(){return ht()}function Re(e,t){return fr(e,t)}function ve(e){return fr(e,ht())}function R(e){return to(e)}function hd(e){return da(e)}function x(e){return pi(e)}function T(e){return rn(e)}function no(e){const t=da(e)|0,n=fi(new Array(t),0,t,null);return((o,i)=>{e:for(;;){const s=o,l=i;if(!to(l)){n[s]=pi(l),o=s+1,i=rn(l);continue e}break}})(0,e),n}function jt(e,t,n){let r=t,o=n;for(;!to(o);)r=e(r,x(o)),o=rn(o);return r}function pa(e){return jt((t,n)=>fr(n,t),ht(),e)}function ha(e,t){jt((n,r)=>{e(r)},void 0,t)}function Q(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=fr(e[r],n);return n}function S(e){return Q(e,ht())}function md(e){let t,n;if(at(e))return S(e);if(e instanceof pt)return e;{const r=ht();let o=r;const i=Ee(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new pt(u,void 0),t.tail=n,n)}}finally{J(i)}const s=o,l=ht();return s.tail=l,rn(r)}}function ma(e){const t=ht();let n=t;const r=s=>{n=jt((l,u)=>{const c=new pt(u,void 0);return l.tail=c,c},n,s)};if(at(e))e.forEach(r);else if(e instanceof pt)ha(r,e);else{const s=Ee(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)r(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{J(s)}}const o=n,i=ht();return o.tail=i,rn(t)}function ro(e,t){return jt((n,r)=>fr(r,n),t,pa(e))}function Vr(e,t){const n=ht(),r=jt((i,s)=>{const l=new pt(e(s),void 0);return i.tail=l,l},n,t),o=ht();return r.tail=o,rn(n)}function gd(e,t){return(r=>{e:for(;;){const o=r;if(to(o))return;{const i=e(pi(o));if(i==null){r=rn(o);continue e}else return i}}})(t)}function wd(e,t){return gd(n=>e(n)?xe(n):void 0,t)}function _d(e,t){const n=wd(e,t);return n==null?pd():$(n)}class h extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Dt(e,t){return t.tag===0?new h(0,[e(t.fields[0])]):new h(1,[t.fields[0]])}class ga extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function yd(e){return new ga(0,[e])}function bd(e){return new ga(1,[e])}function Ad(e){throw new Error(e)}const vd="Enumeration already finished.",xd="Enumeration has not started. Call MoveNext.",wa="The input sequence has an insufficient number of elements.",Ed="Reset is not supported on this enumerator.";function Cd(){throw new Error(Ed)}function hi(){throw new Error(xd)}function Uo(){throw new Error(vd)}class Sd{constructor(t){this.f=t}toString(){const t=this,n=4;let r=0,o="seq [";const i=Ee(t);try{for(;r<n&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(o=o+"; "),o=o+Ce(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===n&&(o=o+"; ..."),o+"]"}finally{J(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Dd(e){return new Sd(e)}class Fd{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){Cd()}Dispose(){this.dispose()}}function oo(e,t,n){return new Fd(e,t,n)}function Id(e){let t,n,r=!1,o=!1,i;const s=()=>{if(o=!0,n!=null){const l=n;try{J(l)}finally{n=void 0}}if(t!=null){const l=t;try{J(l)}finally{t=void 0}}};return oo(()=>(r?o&&Uo():hi(),i!=null?$(i):Uo()),()=>{let l;if(r||(r=!0),o)return!1;{let u;for(;u==null;){const c=t,a=n;if(c!=null)if(a!=null){const d=a;if(d["System.Collections.IEnumerator.MoveNext"]())i=xe(d["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{J(d)}finally{n=void 0}}else{const d=c;d["System.Collections.IEnumerator.MoveNext"]()?n=(l=d["System.Collections.Generic.IEnumerator`1.get_Current"](),Ee(l)):(s(),u=!1)}else t=Ee(e)}return $(u)}},()=>{o||s()})}function kd(e,t){return oo(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{J(t)}finally{e()}})}function _a(e,t,n){let r=!1,o,i=xe(e());const s=()=>{if(i!=null){const u=$(i);try{n(u)}finally{i=void 0}}},l=()=>{try{s()}finally{o=void 0}};return oo(()=>(r||hi(),o!=null?$(o):Uo()),()=>{if(r||(r=!0),i!=null){const u=$(i);let c;try{c=t(u)}catch(a){throw l(),a}return c!=null?(o=c,!0):(l(),!1)}else return!1},s)}function Md(e,t){let n,r=t;return oo(()=>{if(n!=null){const o=n[0];return n[1],o}else return hi()},()=>(n=e(r),n!=null?(n[0],r=n[1],!0):!1),()=>{})}function Td(e,t){t==null&&Ad(e)}function Bn(e){return Dd(e)}function Jt(e){return Td("source",e),Ee(e)}function M(e){return Bn(()=>Ee(e()))}function ya(e){return Bn(()=>Id(e))}function Rd(e,t){return Bn(()=>Md(e,t))}function ba(){return M(()=>new Array(0))}function k(e){return M(()=>od(e,null))}function lt(e){return at(e)?S(e):e instanceof pt?e:md(e)}function Nd(e,t,n){return Bn(()=>_a(e,t,n))}function Od(e,t,n){return Bn(()=>{let r=-1;return _a(e,o=>(r=r+1|0,t(r,o)),n)})}function se(e,t){return ya([e,t])}function Bd(e,t,n){const r=Jt(t);try{const o=Jt(n);try{let i=0,s=r["System.Collections.IEnumerator.MoveNext"](),l=o["System.Collections.IEnumerator.MoveNext"]();for(;i===0&&s&&l;)i=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,i===0&&(s=r["System.Collections.IEnumerator.MoveNext"](),l=o["System.Collections.IEnumerator.MoveNext"]());return(i!==0?i:s?1:l?-1:0)|0}finally{J(o)}}finally{J(r)}}function fn(e,t,n){const r=Jt(t);try{let o=!1;for(;!o&&r["System.Collections.IEnumerator.MoveNext"]();)o=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{J(r)}}function Aa(e,t,n){const r=Jt(n);try{let o=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=e(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{J(r)}}function mi(e,t){Aa((n,r)=>{e(r)},void 0,t)}function Ne(e,t){return Nd(()=>Jt(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?xe(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{J(n)})}function Pd(e,t){return Bn(()=>{const n=Jt(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(wa+"\\nParameter name: source");return kd(()=>{},n)}catch(r){throw J(n),r}})}function Hd(e,t){return Od(()=>Jt(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return xe(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(wa+"\\nParameter name: source")}else return},n=>{J(n)})}function va(e,t){return M(()=>ya(Ne(e,t)))}class xa{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,o=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(o)}}}Dispose(){}}class io extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,io.prototype)}}class gi{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>gi.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function At(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new io);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(Rr(n))}});else try{e(t)}catch(n){t.onError(Rr(n))}}}function jd(e,t){return At(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(Rr(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Vd(e){return At(t=>t.onSuccess(e))}class Ud{Bind(t,n){return jd(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return At(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let o=r.next();return this.While(()=>!o.done,this.Delay(()=>{const i=n(o.value);return o=r.next(),i}))}Return(t){return Vd(t)}ReturnFrom(t){return t}TryFinally(t,n){return At(r=>{t({onSuccess:o=>{n(),r.onSuccess(o)},onError:o=>{n(),r.onError(o)},onCancel:o=>{n(),r.onCancel(o)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return At(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(i){r.onError(Rr(i))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return At(t=>t.onSuccess(void 0))}}const F=new Ud;class Ea extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ImportId"]}}function Ld(){return new Ea(0,[1])}(()=>{const e=Ld();return t=>jt((n,r)=>new Ea(0,[1+Bo(yn,n.fields[0],r.fields[0])]),e,t)})();class zd extends le{constructor(t,n,r,o,i,s,l,u){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CompletedSuccessfully=i|0,this.CompletedFailed=s|0,this.NextRow=l,this.StartTime=u}}function Wd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ActiveImportDto",[],zd,()=>[["ImportId",_e],["User",dt],["Filename",dt],["NumberOfRecords",_e],["CompletedSuccessfully",_e],["CompletedFailed",_e],["NextRow",ii(_e)],["StartTime",tr("System.DateTime")]])}class Gd extends le{constructor(t,n,r,o,i,s,l,u){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.Succeeded=i|0,this.Failed=s|0,this.StartTime=l,this.StopTime=u}}function Qd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ImportHistoryDto",[],Gd,()=>[["ImportId",_e],["User",dt],["Filename",dt],["NumberOfRecords",_e],["Succeeded",_e],["Failed",_e],["StartTime",tr("System.DateTime")],["StopTime",tr("System.DateTime")]])}class Ca extends le{constructor(t,n){super(),this.ActiveImport=t,this.ImportHistory=n}}function Sa(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.AccountImportsDto",[],Ca,()=>[["ActiveImport",ii(Wd())],["ImportHistory",Yr(Qd())]])}new Ca(void 0,Le());class Zd extends le{constructor(t,n){super(),this.Column=t,this.Message=n}}function Kd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.FieldError",[],Zd,()=>[["Column",dt],["Message",dt]])}class Jd extends le{constructor(t,n){super(),this.RowId=t|0,this.FieldErrors=n}}function $d(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.RowValidationError",[],Jd,()=>[["RowId",_e],["FieldErrors",Yr(Kd())]])}class Xd extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["InvalidFileContentType","InvalidFileName","ExceedsMaxRows","FileFormatError","NoData","NoFile","MultipleFiles","RowValidationErrors","UnknownAccount"]}}function qd(){return Af("Basic.Profile.Domain.Import.Api.Admin.Read.PostImportError",[],Xd,()=>[[],[],[],[["Item",dt]],[],[],[],[["Item",Yr($d())]],[]])}class Yd extends le{constructor(t,n,r,o,i,s,l,u,c,a){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.TotalRecordCount=o|0,this.SucceededRecordCount=i|0,this.FailedRecordCount=s|0,this.FailedRecords=l,this.RemainingRecordCount=u|0,this.StartTime=c,this.StopTime=a}}function ep(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ImportDto",[],Yd,()=>[["ImportId",_e],["User",dt],["Filename",dt],["TotalRecordCount",_e],["SucceededRecordCount",_e],["FailedRecordCount",_e],["FailedRecords",Yr(np())],["RemainingRecordCount",_e],["StartTime",tr("System.DateTime")],["StopTime",ii(tr("System.DateTime"))]])}class tp extends le{constructor(t,n){super(),this.RowId=t|0,this.Reason=n}}function np(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.FailedImportRecordDto",[],tp,()=>[["RowId",_e],["Reason",dt]])}class rp{constructor(){}}function op(){return new rp}function wi(e,t){return F.Delay(t)}const _i=op();function Ao(e){}function ip(e){const t=new xa(typeof e=="boolean"?e:!1);return typeof e=="number"&&setTimeout(()=>{t.cancel()},e),t}function sp(e){e.cancel()}const lp=new xa;function ap(e){return At(t=>{e({onSuccess:n=>t.onSuccess(yd(n)),onError:n=>t.onSuccess(bd(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function cp(e){return At(t=>e([t.onSuccess,t.onError,t.onCancel]))}function up(e){return At(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new io)})})}function fp(e,t){return dp(e,t)}function Da(e,t){return fp(e,t)}function dp(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const i=new gi;e({onSuccess:t||Ao,onError:n||Ao,onCancel:r||Ao,cancelToken:o||lp,trampoline:i})}class so extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class pp extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Header"]}}class Fa extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class dr extends le{constructor(t,n,r,o,i,s,l,u){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=i,this.overridenResponseType=s,this.timeout=l,this.content=u}}class dn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ia extends le{constructor(t,n,r,o,i,s){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=o,this.responseHeaders=i,this.content=s}}class ka{constructor(t,n){this.k=t,this.v=n}}function rr(e,t){return new ka(e,t)}function re(e){return e.k}function be(e){return e.v}class Y extends ka{constructor(t,n,r,o,i){super(t,n),this.left=r,this.right=o,this.h=i|0}}function Jn(e,t,n,r,o){return new Y(e,t,n,r,o)}function ge(e){return e.left}function we(e){return e.right}function Tt(e){return e.h}function Ma(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof Y){e=Ma(n+1,ge(o)),t=we(o);continue e}else return n+1|0}else return n|0}}function hp(e){return Ma(0,e)}function Ge(e,t,n,r){let o;const i=e;if(i!=null){const c=i;o=c instanceof Y?Tt(c):1}else o=0;let s;const l=r;if(l!=null){const c=l;s=c instanceof Y?Tt(c):1}else s=0;const u=(o<s?s:o)|0;return u===0?rr(t,n):Jn(t,n,e,r,u+1)}function _s(e,t,n,r){let o,i,s,l,u;const c=e;if(c!=null){const f=c;u=f instanceof Y?Tt(f):1}else u=0;let a;const d=r;if(d!=null){const f=d;a=f instanceof Y?Tt(f):1}else a=0;if(a>u+2){const f=$(r);if(f instanceof Y)if(o=ge(f),(o!=null?(i=o,i instanceof Y?Tt(i):1):0)>u+1){const p=$(ge(f));if(p instanceof Y)return Ge(Ge(e,t,n,ge(p)),re(p),be(p),Ge(we(p),re(f),be(f),we(f)));throw new Error("internal error: Map.rebalance")}else return Ge(Ge(e,t,n,ge(f)),re(f),be(f),we(f));else throw new Error("internal error: Map.rebalance")}else if(u>a+2){const f=$(e);if(f instanceof Y)if(s=we(f),(s!=null?(l=s,l instanceof Y?Tt(l):1):0)>a+1){const p=$(we(f));if(p instanceof Y)return Ge(Ge(ge(f),re(f),be(f),ge(p)),re(p),be(p),Ge(we(p),t,n,r));throw new Error("internal error: Map.rebalance")}else return Ge(ge(f),re(f),be(f),Ge(we(f),t,n,r));else throw new Error("internal error: Map.rebalance")}else return Ge(e,t,n,r)}function En(e,t,n,r){if(r!=null){const o=r,i=e.Compare(t,re(o))|0;return o instanceof Y?i<0?_s(En(e,t,n,ge(o)),re(o),be(o),we(o)):i===0?Jn(t,n,ge(o),we(o),Tt(o)):_s(ge(o),re(o),be(o),En(e,t,n,we(o))):i<0?Jn(t,n,void 0,r,2):i===0?rr(t,n):Jn(t,n,r,void 0,2)}else return rr(t,n)}function Ta(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,re(s))|0;if(l===0)return xe(be(s));if(s instanceof Y){e=r,t=o,n=l<0?ge(s):we(s);continue e}else return}else return}}function mp(e,t,n){const r=Ta(e,t,n);if(r==null)throw new Error;return $(r)}function gp(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,re(s))|0;if(s instanceof Y)if(l<0){e=r,t=o,n=ge(s);continue e}else{if(l===0)return!0;e=r,t=o,n=we(s);continue e}else return l===0}else return!1}}function Ra(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof Y){Ra(n,ge(o)),n(re(o),be(o)),e=n,t=we(o);continue e}else n(re(o),be(o))}break}}function wp(e,t){Ra(e,t)}function Lo(e,t){if(t!=null){const n=t;if(n instanceof Y){const r=Lo(e,ge(n)),o=e(re(n),be(n)),i=Lo(e,we(n));return Jn(re(n),o,r,i,Tt(n))}else return rr(re(n),e(re(n),be(n)))}else return void 0}function _p(e,t){return Lo(e,t)}function yp(e,t,n){let r=n;wp((o,i)=>{t[r]=[o,i],r=r+1|0},e)}function bp(e,t){return jt((n,r)=>En(e,r[0],r[1],n),void 0,t)}function Ap(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){const s=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=En(r,s[0],s[1],o),n=i;continue e}else return o}}function vp(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=En(e,o[0],o[1],n)}return n}function Na(e,t){if(at(t))return vp(e,t);if(t instanceof pt)return bp(e,t);{const n=Ee(t);try{return Ap(e,void 0,n)}finally{J(n)}}}class xp extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function Oa(e){e:for(;;){const t=e;if(R(t))return Le();{const n=T(t),r=x(t);if(r!=null){const o=r;if(o instanceof Y){e=Q([ge(o),rr(re(o),be(o)),we(o)],n);continue e}else return t}else{e=n;continue e}}}}function ys(e){return new xp(Oa(ve(e)),!1)}function Ep(){throw new Error("enumeration not started")}function Cp(){throw new Error("enumeration already finished")}function bs(e){if(e.started){const t=e.stack;if(R(t))return Cp();if(x(t)!=null){const n=x(t);if(n instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for current");return[re(n),be(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return Ep()}function Sp(e){if(e.started){const t=e.stack;if(R(t))return!1;if(x(t)!=null){if(x(t)instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Oa(T(t)),!R(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!R(e.stack)}function As(e){let t=ys(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return bs(t)},"System.Collections.IEnumerator.get_Current"(){return bs(t)},"System.Collections.IEnumerator.MoveNext"(){return Sp(t)},"System.Collections.IEnumerator.Reset"(){t=ys(e)},Dispose(){}}}class Ur{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Mp(this)|0}Equals(t){const n=this;if(t instanceof Ur){const r=Ee(n);try{const o=Ee(t);try{const i=()=>{const s=r["System.Collections.IEnumerator.MoveNext"]();if(s===o["System.Collections.IEnumerator.MoveNext"]())if(s){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"](),u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return it(l[0],u[0])&&it(l[1],u[1])?i():!1}else return!0;else return!1};return i()}finally{J(o)}}finally{J(r)}}else return!1}toString(){return"map ["+St("; ",Ne(n=>Jf("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return As(this.tree)}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return As(this.tree)}CompareTo(t){const n=this;if(t instanceof Ur)return Bd((r,o)=>{const i=n.comparer.Compare(r[0],o[0])|0;return(i!==0?i:ct(r[1],o[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return xs(n,t[0])&&it(vs(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){yp(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return vo(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return vo(this)|0}get size(){return vo(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Ne(n=>[n[0],n[1]],this)}get(t){return vs(this,t)}has(t){return xs(this,t)}keys(){return Ne(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Ne(n=>n[1],this)}forEach(t,n){const r=this;mi(o=>{In(2,t,[o[1]])(o[0])(r)},r)}}function pr(e,t){return new Ur(e,t)}function Dp(e){return pr(e,void 0)}function Fp(e,t,n){return pr(e.comparer,En(e.comparer,t,n,e.tree))}function vs(e,t){return mp(e.comparer,t,e.tree)}function Ip(e,t){return pr(e.comparer,_p(t,e.tree))}function vo(e){return hp(e.tree)}function xs(e,t){return gp(e.comparer,t,e.tree)}function kp(e,t){return Ta(e.comparer,t,e.tree)}function Mp(e){const t=(o,i)=>(o<<1)+i+631;let n=0;const r=Ee(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Ct(o[0]))|0,n=t(n,Ct(o[1]))|0}}finally{J(r)}return n|0}function Tp(e,t,n){return Fp(n,e,t)}function Rp(e,t){return kp(t,e)}function Np(e,t){return Ip(t,e)}function Op(e,t){return pr(t,Na(t,e))}function Bp(e,t){return pr(t,Na(t,e))}function Ba(e){return Dp(e)}function yi(e){return new pp(0,["Authorization",e])}const Lt=new dr("",new so(0,[]),Le(),!1,void 0,void 0,void 0,new Fa(0,[]));new Ia(0,"","","",Ba({Compare:yn}),new dn(0,[""]));function Es(e,t){return $f(t)?[t]:Yf(t,[e],void 0,0)}function Pp(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function bi(e){return new dr(e,Lt.method,Lt.headers,Lt.withCredentials,Lt.overridenMimeType,Lt.overridenResponseType,Lt.timeout,Lt.content)}function Ai(e,t){return new dr(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function vi(e,t){return new dr(t.url,t.method,ro(t.headers,ve(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Hp(e,t){return new dr(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function xi(e){return cp(t=>{const n=new XMLHttpRequest;n.open(Pp(e.method),e.url),n.onreadystatechange=()=>{let u,c,a,d,f,p,g;n.readyState===4&&t[0]((u=(c=n.responseType,c===""||c==="text"?n.responseText:""),a=n.status|0,d=n.responseType,f=(p=n.responseType,p===""?new dn(0,[n.responseText]):p==="text"?new dn(0,[n.responseText]):p==="arraybuffer"?new dn(2,[n.response]):p==="blob"?new dn(1,[n.response]):new dn(3,[n.response])),g=Bp(ld(_=>{const w=S(Es(":",_));if(!R(w))return[x(w).toLocaleLowerCase(),St(":",T(w)).trim()]},Es(`\r
|
|
4
|
+
`,n.getAllResponseHeaders()),null),{Compare:yn}),new Ia(a,u,d,n.responseURL,g,f)))};const r=Ee(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const u=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(u.fields[0],u.fields[1])}}finally{J(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const u=o;n.overrideMimeType(u)}const i=e.overridenResponseType;i==null||(i.tag===1?n.responseType="blob":i.tag===2?n.responseType="arraybuffer":n.responseType="text");const s=e.timeout;if(s!=null){const u=s|0;n.timeout=u|0}const l=e.content;switch(l.tag){case 1:{n.send(xe(l.fields[0]));break}case 3:{n.send(xe(l.fields[0]));break}case 2:{n.send(xe(l.fields[0]));break}default:n.send()}})}class v extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class or extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Cs(e){return e.slice(void 0,0+1).toLowerCase()+e.slice(1,e.length)}function jp(e,t){switch(e.tag){case 2:return Wf(Cs(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Cs(t)}}const Vp=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Ss=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Up=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Lp(e){function t(r){return r.replace(Ss,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Vp.test(n))return ed(n,"{","}","(",")");if(Ss.test(n))return t(n);if(Up.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function zp(e,t){try{return t.contents=Lp(e),!0}catch{return!1}}class Pa extends le{constructor(t,n){super(),this.bound=t|0,this.digits=n}}function Ha(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Ha(n*n,~~(r/2))|0}}pe(2013265921,0,!1);pe(2013265921,0,!0);const Wp=29;On(Wp-1,e=>Ha(2,e),Int32Array);function zo(e){return e.bound}function Zn(e,t){return e.digits[t]}function Wo(e,t){return ee(Zn(e,t),!1,2)}function Lr(e,t,n){e.digits[t]=n|0}function Ei(e,t){e:for(;;){const n=e,r=t;if(r===0)return pe(1,0,!1);if(r%2===0){e=Ue(n,n),t=~~(r/2);continue e}else return Ue(n,Ei(Ue(n,n),~~(r/2)))}}function Cn(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Cn(n*n,~~(r/2))|0}}function Gp(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return t|0}const Sn=24,Qt=16777216,mt=pe(16777216,0,!1),Pn=pe(16777215,0,!1);pe(16777215,0,!0);function $t(e){return new Pa(e,new Int32Array(e))}function Qp(e){return new Pa(e.bound,id(e.digits))}function gt(e){const n=((r,o)=>{e:for(;;){const i=r,s=o;if(s===-1||i[s]!==0)return s+1|0;r=i,o=s-1;continue e}})(e.digits,e.bound-1)|0;return e.bound=n|0,e}const Ds=2,Fs=3;function hr(e){const t=(e<0?0:e)|0;if(t<Qt){const n=$t(1);return n.digits[0]=t|0,gt(n)}else{const n=$t(Ds);for(let r=0;r<=Ds-1;r++)n.digits[r]=~~(t/Cn(Qt,r))%Qt|0;return gt(n)}}function Zp(e){const t=qr(e,pe(0,0,!1))<0?pe(0,0,!1):e,n=$t(Fs);for(let r=0;r<=Fs-1;r++)n.digits[r]=~~ft(wf(ut(t,Ei(mt,r)),mt))|0;return gt(n)}function Kp(e){if(e.bound===1)return e.digits[0]|0;{let t=0;for(let n=e.bound-1;n>=0;n--)t=e.digits[n]+Qt*t|0;return t|0}}const Jp=hr(1),$p=hr(0);function De(e){return e.bound-1}function ye(e){return e.bound===0}function Is(e,t){return e.bound===t.bound?((r,o,i)=>{e:for(;;){const s=r,l=o,u=i;if(u===-1)return!0;if(s[u]===l[u]){r=s,o=l,i=u-1;continue e}else return!1}})(e.digits,t.digits,e.bound-1):!1}function Xp(e,t,n,r){return e.bound+t<n.bound+r?-1:e.bound+t>n.bound+t?1:((i,s,l)=>{e:for(;;){const u=i,c=s,a=l;if(a===-1)return 0;{const d=(a<t?0:u[a-t])|0,f=(a<r?0:c[a-r])|0;if(d===f){i=u,s=c,l=a-1;continue e}else return d<f?-1:1}}})(e.digits,n.digits,e.bound+t-1)|0}function qp(e,t){return e.bound<t.bound?-1:e.bound>t.bound?1:((r,o,i)=>{e:for(;;){const s=r,l=o,u=i;if(u===-1)return 0;if(s[u]===l[u]){r=s,o=l,i=u-1;continue e}else return s[u]<l[u]?-1:1}})(e.digits,t.digits,e.bound-1)|0}function ks(e,t){return qp(e,t)===-1}function Yp(e,t){const n=$t(2),r=Ue(ee(e,!1,2),ee(t,!1,2));return Lr(n,0,~~ft(Rn(r,Pn))),Lr(n,1,~~ft(ut(r,mt))),gt(n)}function ja(e,t,n){e:for(;;){const r=e,o=t,i=n;if(qr(o,pe(0,0,!1))>0){const s=Ve(Wo(r,i),o);Lr(r,i,~~ft(Rn(s,Pn))),e=r,t=ut(s,mt),n=i+1;continue e}break}}function Ms(e,t){const n=zo(e)|0,r=$t(n+1),o=ee(t,!1,2);let i=pe(0,0,!1);for(let s=0;s<=n-1;s++){const l=Ve(Ve(i,Wo(r,s)),Ue(Wo(e,s),o));Lr(r,s,~~ft(Rn(l,Pn))),i=ut(l,mt)}return ja(r,i,n),gt(r)}function eh(e,t){const n=$t(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=ee(e.digits[o],!1,2);let s=pe(0,0,!1),l=o;for(let u=0;u<=t.bound-1;u++){const c=ee(t.digits[u],!1,2),a=Ve(Ve(ee(r[l],!1,2),s),Ue(i,c));r[l]=~~ft(Rn(a,Pn))|0,s=ut(a,mt),l=l+1|0}ja(n,s,l)}return gt(n)}function th(e,t){const n=zo(e)===1,r=zo(t)===1;return n&&r?Yp(Zn(e,0),Zn(t,0)):n?Ms(t,Zn(e,0)):r?Ms(e,Zn(t,0)):eh(e,t)}class nh extends le{constructor(t,n,r,o,i,s,l){super(),this.bigL=t|0,this.twoToBigL=n|0,this.k=r|0,this.bigK=o|0,this.bigN=i|0,this.split=s|0,this.splits=l}}function ke(e,t,n,r){return new nh(e,Cn(2,e),t,n,r,~~(Sn/e),On(~~(Sn/e),o=>Cn(2,e*o),Int32Array))}const rh=[ke(1,28,268435456,268435456),ke(2,26,67108864,134217728),ke(3,24,16777216,50331648),ke(4,22,4194304,16777216),ke(5,20,1048576,5242880),ke(6,18,262144,1572864),ke(7,16,65536,458752),ke(8,14,16384,131072),ke(9,12,4096,36864),ke(10,10,1024,10240),ke(11,8,256,2816),ke(12,6,64,768),ke(13,4,16,208)];On(Sn,e=>Cn(2,e)-1,Int32Array);On(Sn,e=>Cn(2,e),Int32Array);On(Sn,e=>Ei(pe(2,0,!1),e),null);~~(rh[0].bigN/Sn);function oh(e,t){return th(e,t)}function ih(e,t,n,r){const o=De(e)|0,i=e.digits,s=De(n)|0,l=n.digits,u=ee(t,!1,2);let c=0,a=Ue(u,ee(l[0],!1,2));for(;qr(a,pe(0,0,!1))>0||c<s;){if(c>o)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~ft(Rn(a,Pn)),f=ut(a,mt);d<=i[c+r]?i[c+r]=i[c+r]-d|0:(i[c+r]=i[c+r]+(Qt-d)|0,f=Ve(f,pe(1,0,!1))),c<s?a=Ve(f,Ue(u,ee(l[c+1],!1,2))):a=f,c=c+1|0}gt(e)}function sh(e,t,n,r){const o=De(e)|0,i=e.digits,s=De(n)|0,l=n.digits,u=ee(t,!1,2);let c=0,a=Ue(u,ee(l[0],!1,2));for(;qr(a,pe(0,0,!1))>0||c<s;){if(c>o)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~ft(Rn(a,Pn)),f=ut(a,mt);d<Qt-i[c+r]?i[c+r]=i[c+r]+d|0:(i[c+r]=d-(Qt-i[c+r])|0,f=Ve(f,pe(1,0,!1))),c<s?a=Ve(f,Ue(u,ee(l[c+1],!1,2))):a=f,c=c+1|0}gt(e)}function lh(e,t,n){const r=De(t)|0,o=De(e)|0,i=r|0;if(o<i+n)return 0;{const s=e.digits,l=t.digits,u=(i===0?o===n?~~(s[n]/l[0]):~~ft(ut(Ve(Ue(ee(s[o],!1,2),mt),ee(s[o-1],!1,2)),ee(l[0],!1,2))):o===i+n?~~(s[o]/(l[i]+1)):~~ft(ut(Ve(Ue(ee(s[o],!1,2),mt),ee(s[o-1],!1,2)),Ve(ee(l[i],!1,2),pe(1,0,!1)))))|0;return u===0?Xp(t,n,e,0)!==1?1:0:u|0}}function ah(e,t){if(ye(t))throw new Error;if(De(e)<De(t))return[$p,e];{const n=Qp(e),r=$t(De(e)-De(t)+1+1);let o=De(e);const i=De(t)|0;let s=o-i,l=!1;for(;!l;){const u=lh(n,t,s)|0;u>0?(ih(n,u,t,s),sh(r,u,Jp,s)):(l=u===0&&s===0,l||(o===i+s?s=s-1|0:(s=s-1|0,o=o-1|0)))}return[gt(r),gt(n)]}}hr(2);function Go(e){return hr(e)}function ch(e){return Zp(e)}function Ts(e){const t=De(e)|0,n=(i,s,l)=>{e:for(;;){const u=i,c=s,a=l;if(De(a)>t)return Re([c,a],u);i=Re([c,a],u),s=c+1,l=oh(a,a);continue e}},r=(i,s,l,u)=>{e:for(;;){const c=i,a=s,d=l,f=u;if(R(f)){const p=Kp(d)|0;return c&&p===0?a:Re(Rt(p),a)}else{const p=T(f),g=ah(d,x(f)[1]),_=g[1],w=g[0];if(c&&ye(w)){i=c,s=a,l=_,u=p;continue e}else{i=c,s=r(!1,a,_,p),l=w,u=p;continue e}}}},o=r(!0,Le(),e,n(Le(),0,hr(10)));return R(o)?"0":St("",no(o))}function uh(e){return e.bound<=1}function Rs(e){const t=e,n=0;return n<t.bound?t.digits[n]|0:0}class Ae{constructor(t,n){this.signInt=t|0,this.v=n}toString(){const t=this,n=Xt(t)|0;if(n===-1)return ye(z(t))?"0":"-"+Ts(z(t));if(n===0)return"0";if(n===1)return Ts(z(t));throw new Error("signs should be +/- 1 or 0")}Equals(t){const n=this;return t instanceof Ae&&Va(n,t)}GetHashCode(){return ph(this)|0}toJSON(){return Ce(this)}CompareTo(t){const n=this;if(t instanceof Ae)return dh(n,t)|0;throw new Error("the objects are not comparable\\nParameter name: obj")}}function xo(e,t){return new Ae(e,t)}Ae.smallLim=4096,Ae.smallPosTab=On(Ae.smallLim,Go,null),Ae.one=Co(1),Ae.two=Co(2),Ae.zero=Co(0);function Eo(e){return uh(e)&&Rs(e)<Ae.smallLim?Ae.smallPosTab[Rs(e)]:e}function Xt(e){return e.signInt}function z(e){return e.v}function Va(e,t){const n=Xt(e)|0,r=Xt(t)|0;let o;switch(n===-1?r===-1?o=1:r===0?o=8:r===1?o=3:o=9:n===0?r===-1?o=6:r===0?o=4:r===1?o=5:o=9:n===1?r===-1?o=2:r===0?o=7:r===1?o=0:o=9:o=9,o){case 0:return Is(z(e),z(t));case 1:return Is(z(e),z(t));case 2:return ye(z(e))?ye(z(t)):!1;case 3:return ye(z(e))?ye(z(t)):!1;case 4:return!0;case 5:return ye(z(t));case 6:return ye(z(t));case 7:return ye(z(e));case 8:return ye(z(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function fh(e,t){const n=Xt(e)|0,r=Xt(t)|0;let o;switch(n===-1?r===-1?o=1:r===0?o=8:r===1?o=3:o=9:n===0?r===-1?o=6:r===0?o=4:r===1?o=5:o=9:n===1?r===-1?o=2:r===0?o=7:r===1?o=0:o=9:o=9,o){case 0:return ks(z(e),z(t));case 1:return ks(z(t),z(e));case 2:return!1;case 3:return ye(z(e))?!ye(z(t)):!0;case 4:return!1;case 5:return!ye(z(t));case 6:return!1;case 7:return!1;case 8:return!ye(z(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function dh(e,t){return fh(e,t)?-1:Va(e,t)?0:1}function ph(e){return Xt(e)===0?1:Xt(e)+Gp(z(e))|0}function Co(e){return e>=0?xo(1,Eo(Go(e))):e===-2147483648?xo(-1,Eo(ch(_f(ee(e,!1,2))))):xo(-1,Eo(Go(Xu(e))))}function Ua(){return Ae.one}function hh(){return Ae.two}function La(){return Ae.zero}La();Ua();hh();La();Ua();function za(e,t){mh(t);const n=new Date(e);return n.offset=t!=null?t:new Date().getTimezoneOffset()*-6e4,n}function mh(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function gh(){return za(-621355968e5,0)}function wh(e){const[t,n]=sa(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return za(t.getTime(),r)}function _h(e,t){try{return t.contents=wh(e),!0}catch{return!1}}function Ns(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return yh(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+o}function yh(e){return yf(ut(e,1e4))}function bh(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return Ns(r,0,0,0,0)}if(n>0){const r=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(r!=null&&r[4]!=null&&r[5]!=null){let o=0,i=0,s=0;const l=r[1]!=null&&r[1]==="-"?-1:1,u=+r[4],c=+r[5];if(r[3]!=null&&(o=+r[3]),r[7]!=null&&(s=+r[7]),r[8]!=null)switch(r[8].length){case 1:i=+r[8]*100;break;case 2:i=+r[8]*10;break;case 3:i=+r[8];break;case 4:i=+r[8]/10;break;case 5:i=+r[8]/100;break;case 6:i=+r[8]/1e3;break;case 7:i=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return l*Ns(o,u,c,s,i)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Ah(e,t){try{return t.contents=bh(e),!0}catch{return!1}}class Wa{constructor(t){this.k=t}}function Me(e){return new Wa(e)}function D(e){return e.k}class B extends Wa{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function Te(e,t,n,r){return new B(e,t,n,r)}function U(e){return e.left}function j(e){return e.right}function pn(e){return e.h}function Ga(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=n;if(o instanceof B){e=U(o),t=Ga(j(o),r+1);continue e}else return r+1|0}else return r|0}}function vh(e){return Ga(e,0)}function Qe(e,t,n){let r;const o=e;if(o!=null){const u=o;r=u instanceof B?pn(u):1}else r=0;let i;const s=n;if(s!=null){const u=s;i=u instanceof B?pn(u):1}else i=0;const l=(r<i?i:r)|0;return l===0?Me(t):Te(t,e,n,l+1)}function Os(e,t,n){let r,o,i,s,l;const u=e;if(u!=null){const d=u;l=d instanceof B?pn(d):1}else l=0;let c;const a=n;if(a!=null){const d=a;c=d instanceof B?pn(d):1}else c=0;if(c>l+2){const d=$(n);if(d instanceof B)if(r=U(d),(r!=null?(o=r,o instanceof B?pn(o):1):0)>l+1){const f=$(U(d));if(f instanceof B)return Qe(Qe(e,t,U(f)),D(f),Qe(j(f),D(d),j(d)));throw new Error("internal error: Set.rebalance")}else return Qe(Qe(e,t,U(d)),D(d),j(d));else throw new Error("internal error: Set.rebalance")}else if(l>c+2){const d=$(e);if(d instanceof B)if(i=j(d),(i!=null?(s=i,s instanceof B?pn(s):1):0)>c+1){const f=$(j(d));if(f instanceof B)return Qe(Qe(U(d),D(d),U(f)),D(f),Qe(j(f),t,n));throw new Error("internal error: Set.rebalance")}else return Qe(U(d),D(d),Qe(j(d),t,n));else throw new Error("internal error: Set.rebalance")}else return Qe(e,t,n)}function ir(e,t,n){if(n!=null){const r=n,o=e.Compare(t,D(r))|0;if(r instanceof B)return o<0?Os(ir(e,t,U(r)),D(r),j(r)):o===0?n:Os(U(r),D(r),ir(e,t,j(r)));{const i=e.Compare(t,D(r))|0;return i<0?Te(t,void 0,n,2):i===0?n:Te(t,n,void 0,2)}}else return Me(t)}function Qa(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,D(s))|0;if(s instanceof B)if(l<0){e=r,t=o,n=U(s);continue e}else{if(l===0)return!0;e=r,t=o,n=j(s);continue e}else return l===0}else return!1}}function Za(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof B){Za(n,U(o)),n(D(o)),e=n,t=j(o);continue e}else n(D(o))}break}}class xh extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function Ka(e){e:for(;;){const t=e;if(R(t))return Le();{const n=x(t),r=T(t);if(n!=null){const o=n;if(o instanceof B){e=Q([U(o),Me(D(o)),j(o)],r);continue e}else return t}else{e=r;continue e}}}}function Bs(e){return new xh(Ka(ve(e)),!1)}function Eh(){throw new Error("Enumeration not started")}function Ch(){throw new Error("Enumeration already started")}function Ps(e){if(e.started){const t=e.stack;if(R(t))return Ch();if(x(t)!=null){const n=x(t);return D(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Eh()}function Sh(e){if(e.started){const t=e.stack;if(R(t))return!1;if(x(t)!=null){if(x(t)instanceof B)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ka(T(t)),!R(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!R(e.stack)}function Hs(e){let t=Bs(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Ps(t)},"System.Collections.IEnumerator.get_Current"(){return Ps(t)},"System.Collections.IEnumerator.MoveNext"(){return Sh(t)},"System.Collections.IEnumerator.Reset"(){t=Bs(e)},Dispose(){}}}function Dh(e,t,n){e:for(;;){const r=e,o=t,i=n;if(R(o))return R(i)?0:-1;if(R(i))return 1;if(x(i)!=null)if(x(o)!=null){const s=x(o),l=x(i);if(s instanceof B)if(U(s)==null)if(l instanceof B)if(U(l)==null){const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=Re(j(s),T(o)),n=Re(j(l),T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2:x(o)!=null?(u=0,c=T(o),a=x(o)):R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([U(a),Te(D(a),void 0,j(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,Me(D(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([U(f),Te(D(f),void 0,j(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,Me(D(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=Re(j(s),T(o)),n=Re(void 0,T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2:x(o)!=null?(u=0,c=T(o),a=x(o)):R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([U(a),Te(D(a),void 0,j(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,Me(D(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([U(f),Te(D(f),void 0,j(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,Me(D(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(l instanceof B)if(U(l)==null){const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=Re(void 0,T(o)),n=Re(j(l),T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2:x(o)!=null?(u=0,c=T(o),a=x(o)):R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([U(a),Te(D(a),void 0,j(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,Me(D(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([U(f),Te(D(f),void 0,j(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,Me(D(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=T(o),n=T(i);continue e}}else{x(i);let s,l,u,c,a;switch(R(o)?R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2:x(o)!=null?(s=0,l=T(o),u=x(o)):R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2,s){case 0:if(u instanceof B){e=r,t=Q([U(u),Te(D(u),void 0,j(u),0)],l),n=i;continue e}else{e=r,t=Q([void 0,Me(D(u))],l),n=i;continue e}case 1:if(a instanceof B){e=r,t=o,n=Q([U(a),Te(D(a),void 0,j(a),0)],c);continue e}else{e=r,t=o,n=Q([void 0,Me(D(a))],c);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(x(o)!=null){x(o);let s,l,u,c,a;switch(R(o)?R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2:x(o)!=null?(s=0,l=T(o),u=x(o)):R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2,s){case 0:if(u instanceof B){e=r,t=Q([U(u),Te(D(u),void 0,j(u),0)],l),n=i;continue e}else{e=r,t=Q([void 0,Me(D(u))],l),n=i;continue e}case 1:if(a instanceof B){e=r,t=o,n=Q([U(a),Te(D(a),void 0,j(a),0)],c);continue e}else{e=r,t=o,n=Q([void 0,Me(D(a))],c);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=T(o),n=T(i);continue e}break}}function js(e,t,n){return t==null?n==null?0:-1:n==null?1:Dh(e,ve(t),ve(n))|0}function Fh(e,t,n){let r=n;Za(o=>{t[r]=o,r=r+1|0},e)}function Ih(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){e=r,t=ir(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i;continue e}else return o}}function kh(e,t){return di((n,r)=>ir(e,r,n),void 0,t)}function Mh(e,t){return jt((n,r)=>ir(e,r,n),void 0,t)}function Th(e,t){if(at(t))return kh(e,t);if(t instanceof pt)return Mh(e,t);{const n=Ee(t);try{return Ih(e,void 0,n)}finally{J(n)}}}class Ci{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Oh(this)|0}Equals(t){const n=this;return t instanceof Ci&&js(Dr(n),tt(n),tt(t))===0}toString(){return"set ["+St("; ",Ne(n=>Ce(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return js(Dr(n),tt(n),tt(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Qa(Dr(n),t,tt(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Fh(tt(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return So(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return So(this)|0}GetEnumerator(){return Hs(tt(this))}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Hs(tt(this))}get size(){return So(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return Nh(this,t)}keys(){return Ne(n=>n,this)}values(){return Ne(n=>n,this)}entries(){return Ne(n=>[n,n],this)}forEach(t,n){const r=this;mi(o=>{In(2,t,[o])(o)(r)},r)}}function Rh(e,t){return new Ci(e,t)}function Dr(e){return e.comparer}function tt(e){return e.tree}function So(e){return vh(tt(e))}function Nh(e,t){return Qa(Dr(e),t,tt(e))}function Oh(e){let t=0;const n=Ee(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Ct(r)+631|0}}finally{J(n)}return Math.abs(t)|0}function Bh(e,t){return Rh(t,Th(t,e))}function zn(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
|
|
5
|
+
`:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?`
|
|
6
|
+
`:" ")}}function Ph(e,t){const n=t.tag===2?zn(t.fields[0],t.fields[1],!0):t.tag===1?zn(t.fields[0],t.fields[1],!1)+`
|
|
7
|
+
Reason: `+t.fields[2]:t.tag===3?zn(t.fields[0],t.fields[1],!0):t.tag===4?zn(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
|
|
8
|
+
`+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
|
|
9
|
+
|
|
10
|
+
`+St(`
|
|
11
|
+
|
|
12
|
+
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:zn(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Ja(e,t,n){let r;if(r=In(1,t,[e])(n),r.tag===1){const i=r.fields[0];return new h(1,[Ph(i[0],i[1])])}else return new h(0,[r.fields[0]])}function zr(e,t){try{return Ja("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new h(1,["Given an invalid JSON: "+n.message]);throw n}}function Hh(e,t){return typeof t=="string"?new h(0,[t]):new h(1,[[e,new v(0,["a string",t])]])}function jh(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[zp(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a guid",t])]])}else return new h(1,[[e,new v(0,["a guid",t])]])}function Vh(e,t){return t==null?new h(0,[void 0]):new h(1,[[e,new v(0,["null",t])]])}const Vs=e=>t=>{const n="a sbyte",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-128<=i&&i<=127?new h(0,[(i+128&255)-128]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!1,8,new ze(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Us=e=>t=>{const n="a byte",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=255?new h(0,[i&255]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!0,8,new ze(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Ls=e=>t=>{const n="an int16",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-32768<=i&&i<=32767?new h(0,[(i+32768&65535)-32768]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!1,16,new ze(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},zs=e=>t=>{const n="an uint16",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=65535?new h(0,[i&65535]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!0,16,new ze(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Ws=e=>t=>{const n="an int",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-2147483648<=i&&i<=2147483647?new h(0,[~~i]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!1,32,new ze(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Gs=e=>t=>{const n="an uint32",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=4294967295?new h(0,[i>>>0]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!0,32,new ze(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])};function Uh(e,t){return typeof t=="boolean"?new h(0,[t]):new h(1,[[e,new v(0,["a boolean",t])]])}function Lh(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new v(0,["a float",t])]])}function zh(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new v(0,["a float32",t])]])}function Wh(e,t){if(typeof t=="string"){let n,r=jf();return n=[Uf(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[Lf(n[1])]):new h(1,[[e,new v(0,["a datetime",t])]])}else return new h(1,[[e,new v(0,["a datetime",t])]])}function Gh(e,t){if(typeof t=="string"){let n,r=gh();return n=[_h(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a datetimeoffset",t])]])}else return new h(1,[[e,new v(0,["a datetime",t])]])}function Qh(e,t){if(typeof t=="string"){let n,r=0;return n=[Ah(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a timespan",t])]])}else return new h(1,[[e,new v(0,["a timespan",t])]])}function Qs(e,t,n,r){let o;const i=n+".["+Rt(e)+"]";if(Array.isArray(r)){const s=r;return e<s.length?t(i,s[e]):new h(1,[[i,new v(5,["a longer array. Need index `"+Rt(e)+"` but there are only `"+(o=s.length,Rt(o))+"` entries",r])]])}else return new h(1,[[i,new v(0,["an array",r])]])}function Zh(e,t,n){return n==null?new h(0,[void 0]):Dt(xe,e(t,n))}function Zs(e,t,n){if(Array.isArray(n)){let r=-1;return Dt(pa,di((o,i)=>{if(r=r+1|0,o.tag===0){const s=e(t+".["+Rt(r)+"]",i);return s.tag===0?new h(0,[Re(s.fields[0],o.fields[0])]):new h(1,[s.fields[0]])}else return o},new h(0,[Le()]),n))}else return new h(1,[[t,new v(0,["a list",n])]])}function Ks(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return di((i,s)=>{if(r=r+1|0,i.tag===0){const l=i.fields[0],u=e(t+".["+Rt(r)+"]",s);return u.tag===0?(l[r]=u.fields[0],new h(0,[l])):new h(1,[u.fields[0]])}else return i},new h(0,[fi(new Array(o.length),0,o.length,null)]),o)}else return new h(1,[[t,new v(0,["an array",n])]])}function Kh(e,t,n){return((o,i)=>{e:for(;;){const s=o,l=i;if(R(s))return new h(1,[[t,new v(7,[l])]]);{const u=Ja(t,q(2,x(s)),n);if(u.tag===1){o=T(s),i=ro(l,ve(u.fields[0]));continue e}else return new h(0,[u.fields[0]])}}})(e,Le())}function Jh(e,t,n){return new h(0,[e])}function Js(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new h(1,[o.fields[0]])}function $h(e,t,n,r){const o=t(n,r);return o.tag===1?new h(1,[o.fields[0]]):new h(0,[e(o.fields[0])])}function Xh(e,t){let n;const r=e;return n=o=>i=>Qs(0,r,o,i),o=>i=>Js(q(3,s=>{let l;const u=t;return l=c=>a=>Qs(1,u,c,a),c=>a=>Js((d,f,p)=>Jh([s,d]),q(2,l),c,a)}),q(2,n),o,i)}function qh(e){return Op(e,{Compare:ct})}function Yh(e){return Bh(e,{Compare:ct})}function e0(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?ad((r,o)=>{const i=r[0];return o.tag===0?Dt(s=>Re(s,o.fields[0]),r[1](t+"."+i)(n[i])):o},e,new h(0,[Le()])):new h(1,[[t,new v(0,["an object",n])]])}function t0(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?Aa((o,i)=>{if(o.tag===0){let s;if(s=In(1,e,[n])(i),s.tag===0){const u=t(n+"."+i,r[i]);return u.tag===0?new h(0,[Re([s.fields[0],u.fields[0]],o.fields[0])]):new h(1,[u.fields[0]])}else return new h(1,[s.fields[0]])}else return o},new h(0,[Le()]),Object.keys(r)):new h(1,[[n,new v(0,["an object",r])]])}function $a(e,t,n,r){let o,i,s,l,u;return t.length!==r.length?new h(1,[[n,new v(6,[(o=t.length|0,i=r.length|0,s=Nn(nn("Expected %i %s but got %i")),l=s(o),u=l(e),u(i))])]]):ud((c,a,d)=>d.tag===0?Dt(f=>Re(f,d.fields[0]),a(n)(c)):d,r,t,new h(0,[Le()]))}function $s(e,t,n,r,o,i){const s=sd(l=>si(l)===r,Ff(n));if(s!=null){const l=s;return i.length===0?new h(0,[gs(l,[])]):Dt(u=>gs(l,no(u)),$a("union fields",xn(u=>rt(e,t,!1,u[1]),Tf(l),null),o,i))}else return new h(1,[[o,new v(6,["Cannot find case "+r+" in "+fe(n)])]])}function Xs(e,t,n,r){let o,i;const s=new ze(Et());let l;const u=fe(r);l=Tp(u,s,e);let c;if(Mf(r)){const a=xn(d=>[jp(t,si(d)),rt(l,t,!1,d[1])],Hr(r),null);c=d=>f=>Dt(p=>Rf(r,no(p)),e0(a,d,f))}else if(kf(r))c=a=>d=>{if(typeof d=="string")return $s(l,t,r,d,a,[]);if(Array.isArray(d)){const f=d;return $s(l,t,r,f[0],a,f.slice(1,f.length))}else return new h(1,[[a,new v(0,["a string or array",d])]])};else if(n)c=a=>d=>new h(1,[[a,new v(2,["an extra coder for "+fe(r),d])]]);else throw new Error((o=fe(r),i=Nn(nn("Cannot generate auto decoder for %s. Please pass an extra decoder.")),i(o)));return s.contents=c,c}function rt(e,t,n,r){let o,i,s;const l=fe(r),u=Rp(l,e);if(u==null)if(xf(r)){const c=rt(e,t,!1,eo(r));return a=>d=>Ks(q(2,c),a,d)}else if(na(r)){const c=fe(Sf(r));if(c==="System.SByte")return a=>d=>{const f=r,p=a,g=d,_=Vs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Byte")return a=>d=>{const f=r,p=a,g=d,_=Us(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Int16")return a=>d=>{const f=r,p=a,g=d,_=Ls(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,bu(w))]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.UInt16")return a=>d=>{const f=r,p=a,g=d,_=zs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Int32")return a=>d=>{const f=r,p=a,g=d,_=Ws(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,Rt(w))]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.UInt32")return a=>d=>{const f=r,p=a,g=d,_=Gs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};{const a=fe(r),f=Qf(nn(`Cannot generate auto decoder for %s.
|
|
13
|
+
Thoth.Json.Net only support the folluwing enum types:
|
|
14
|
+
- sbyte
|
|
15
|
+
- byte
|
|
16
|
+
- int16
|
|
17
|
+
- uint16
|
|
18
|
+
- int
|
|
19
|
+
- uint32
|
|
20
|
+
If you can't use one of these types, please pass an extra decoder.
|
|
21
|
+
`))(a);return p=>f(p)}}else if(Ef(r))if(ra(r)){const c=xn(a=>rt(e,t,!1,a),If(r),null);return a=>d=>Array.isArray(d)?Dt(f=>Nf(no(f)),$a("tuple elements",c,a,d)):new h(1,[[a,new v(0,["an array",d])]])}else{const c=fe(Cf(r));if(c==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]")return o=rt(e,t,!0,It(r)[0]),a=>d=>Zh(q(2,o),a,d);if(c==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]")return i=rt(e,t,!1,It(r)[0]),a=>d=>Zs(q(2,i),a,d);if(c==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=rt(e,t,!1,It(r)[0]),d=rt(e,t,!1,It(r)[1]);let f;const p=S([g=>_=>t0(q(2,a),q(2,d),g,_),(s=Xh(q(2,a),q(2,d)),g=>_=>Zs(q(2,s),g,_))]);return f=g=>_=>Kh(p,g,_),g=>_=>$h(qh,q(2,f),g,_)}else if(c==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"){const a=rt(e,t,!1,It(r)[0]);return d=>f=>{const p=Ks(q(2,a),d,f);return p.tag===0?new h(0,[Yh(p.fields[0])]):new h(1,[p.fields[0]])}}else return Xs(e,t,n,r)}else return l==="System.Boolean"?c=>a=>Uh(c,a):l==="Microsoft.FSharp.Core.Unit"?c=>a=>Vh(c,a):l==="System.String"?c=>a=>Hh(c,a):l==="System.SByte"?Vs:l==="System.Byte"?Us:l==="System.Int16"?Ls:l==="System.UInt16"?zs:l==="System.Int32"?Ws:l==="System.UInt32"?Gs:l==="System.Double"?c=>a=>Lh(c,a):l==="System.Single"?c=>a=>zh(c,a):l==="System.DateTime"?c=>a=>Wh(c,a):l==="System.DateTimeOffset"?c=>a=>Gh(c,a):l==="System.TimeSpan"?c=>a=>Qh(c,a):l==="System.Guid"?c=>a=>jh(c,a):l==="System.Object"?c=>a=>new h(0,[a]):Xs(e,t,n,r);else{const c=u;return a=>d=>c.contents(a)(d)}}function n0(e){return e!=null?Np((t,n)=>new ze(n[1]),e.Coders):Ba({Compare:yn})}function Wr(e,t,n){const r=fa(t,new or(0,[]));return rt(n0(n),r,!1,e)}class qs extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Success","ImportError"]}}class r0{constructor(t,n,r){this.accessToken=r,this.baseUrl=`${t}/profiles/admin/accounts/${n}/imports`}}function o0(e,t,n){return new r0(e,t,n)}function Xa(e,t){return wi(_i,()=>{let n,r,o,i;const s=xi((n=Ai(new so(0,[]),bi(`${e.baseUrl}/${t}`)),r=yi((o=Nn(nn("Bearer %s")),o(e.accessToken))),vi(r,n)));return i=F.Bind(s,l=>F.Return(new h(0,[l]))),F.Delay(()=>F.Bind(i,l=>{let u,c;const a=l;return a.tag===1?F.Return(new h(1,[a.fields[0]])):F.ReturnFrom((u=a.fields[0],u.statusCode===200?(c=zr(q(2,Wr(ep(),new or(1,[]),void 0)),u.responseText),F.Return(c)):F.Return(new h(1,["Failed to fetch import"]))))}))})}function i0(e){return wi(_i,()=>{let t,n,r,o;const i=xi((t=Ai(new so(0,[]),bi(e.baseUrl)),n=yi((r=Nn(nn("Bearer %s")),r(e.accessToken))),vi(n,t)));return o=F.Bind(i,s=>F.Return(new h(0,[s]))),F.Delay(()=>F.Bind(o,s=>{let l,u;const c=s;return c.tag===1?F.Return(new h(1,[c.fields[0]])):F.ReturnFrom((l=c.fields[0],l.statusCode===200?(u=zr(q(2,Wr(Sa(),new or(1,[]),void 0)),l.responseText),F.Return(u)):F.Return(new h(1,["Failed to fetch account imports"]))))}))})}function s0(e,t){return wi(_i,()=>{let n,r,o,i;const s=xi((n=Hp(new Fa(3,[t]),Ai(new so(1,[]),bi(e.baseUrl))),r=yi((o=Nn(nn("Bearer %s")),o(e.accessToken))),vi(r,n)));return i=F.Bind(s,l=>F.Return(new h(0,[l]))),F.Delay(()=>F.Bind(i,l=>{let u,c,a,d,f,p;const g=l;return g.tag===1?F.Return(new h(1,[g.fields[0]])):F.ReturnFrom((u=g.fields[0],c=u.statusCode|0,c===200?(a=(d=zr(q(2,Wr(Sa(),new or(1,[]),void 0)),u.responseText),F.Return(d)),F.Bind(a,_=>{const w=Dt(b=>new qs(0,[b]),_);return F.Return(w)})):c===400?(f=(p=zr(q(2,Wr(qd(),new or(1,[]),void 0)),u.responseText),F.Return(p)),F.Bind(f,_=>{const w=Dt(b=>new qs(1,[b]),_);return F.Return(w)})):F.Return(new h(1,["Failed to create account import"]))))}))})}class l0{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function a0(e,t){t.Subscribe(new l0(e))}class c0{constructor(){this.delegates=[]}Add(t){this._addHandler(t)}get Publish(){return this}Trigger(t,n){let r,o;n===void 0?(r=null,o=t):(r=t,o=n),this.delegates.forEach(i=>i.length===1?i(o):i(r,o))}AddHandler(t){this._addHandler(t)}RemoveHandler(t){this._removeHandler(t)}Subscribe(t){const n=typeof t=="function"?t:t.OnNext;return this._addHandler(n),{Dispose:()=>{this._removeHandler(n)}}}_addHandler(t){this.delegates.push(t)}_removeHandler(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}}class u0{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new c0}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function f0(e,t){console.error(xe(e),t)}function d0(e,t){let n,r=new u0(e);r.AutoReset=!1,n=r,a0(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Ys(e,t){ha(n=>{n(e)},t)}function qt(){return Le()}function Do(e){return ma(e)}function Fr(e){return ve(t=>{t(e)})}function qa(e,t,n,r){return ve(o=>{e(F.Delay(()=>F.Bind(ap(t(n)),i=>{const s=i;return s.tag===0&&o(r(s.fields[0])),F.Zero()})))})}function Qo(e){d0(0,t=>{Da(e)})}function p0(e,t,n,r){const o=ct(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const i=o>0;return s=>{const l=ct(s,t)|0;return i&&l<=0||!i&&l>=0?[s,r(s,e)]:void 0}}function h0(e,t,n,r,o){const i=p0(t,n,r,o);return M(()=>Rd(i,e))}function m0(e,t,n){return h0(e,t,n,0,(r,o)=>r+o)}class gn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class g0{constructor(t){this.state=new gn(0,[fi(new Array(Bo(yn,t,10)),0,Bo(yn,t,10),null),0])}}function w0(e){return new g0(e)}function _0(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,o=t.fields[0],i=(r+1)%o.length|0;return i===n?e.state=new gn(0,[o,n]):e.state=new gn(1,[o,n,i]),xe(o[r])}else return}function y0(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,i=n.fields[0];i[r]=t;const s=(r+1)%i.length|0;s===o?e.state=new gn(1,[b0(e,o,i),i.length,0]):e.state=new gn(1,[i,s,o])}else{const r=n.fields[1]|0,o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new gn(1,[o,i,r])}}function b0(e,t,n){return Array.from(M(()=>se(Pd(t,n),M(()=>se(Hd(t,n),M(()=>va(r=>k(Et()),m0(0,1,n.length))))))))}class Ya extends le{constructor(t,n,r,o,i,s,l){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=i,this.onError=s,this.syncDispatch=l}}function A0(e,t,n){return new Ya(e,t,r=>qt(),n,q(2,r=>{const o=In(1,n,[r]);return i=>{o(i)}}),r=>{f0(r[0],r[1])},q(2,r=>r))}function v0(e,t){return new Ya(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function x0(e,t){const n=t.init(e),r=n[0],o=w0(10);let i=!1,s=r;const l=c=>{let a;if(i)y0(o,c);else{i=!0;let d=xe(c);for(;d!=null;){const f=$(d);try{const p=t.update(f,s),g=p[0];t.setState(g,u),Ys(u,p[1]),s=g}catch(p){t.onError([(a=Nn(nn("Unable to process the message: %A")),a(f)),p])}d=_0(o)}i=!1}},u=In(1,t.syncDispatch,[l]);t.setState(r,u),Ys(u,ro((()=>{try{return t.subscribe(r)}catch(c){return t.onError(["Unable to subscribe:",c]),qt()}})(),n[1]))}const E0=(e,t)=>{mn(()=>{const n=e();return()=>{n.Dispose()}},t)},C=zl,ec=E0;function Si(e){return{Dispose(){e()}}}function el(e){return C.useState(e)}function tc(e,t){ec(e,t)}function C0(e){const t=C.useRef(void 0),n=C.useRef(!1),r=C.useRef(!1);n.current&&(r.current=!0),tc(()=>{let o;return n.current?o=void 0:(n.current=!0,t.current=xe(e()),o=r.current?t.current:void 0),{Dispose(){mi(i=>{J(i)},nd(o))}}},[])}function nc(e,t){ec(n=>(e(),Si(()=>{})),t)}function tl(e){return C.useRef(e)}function $n(e){return C.useState(e)}class S0{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function D0(){return new S0}function F0(e){return e.state}function I0(e){return e.hasDisposedOnce}function k0(e,t,n){e.state=xe(t),e.dispatcher=n;const r=e.listener;r!=null&&r(t)}function M0(e,t){const n=e.dispatcher;n!=null&&n(t)}function T0(e,t){e.listener==null&&(e.listener=t)}function R0(e){const t=e.state;if(t!=null){const n=$(t);Wl(n)&&J(n)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}function nl(e,t,n,r){x0(t,v0((i,s)=>{k0(n,i,s)},e()));const o=F0(n);if(o!=null)return $(o);throw new Error("Elmish program has not initialized")}function N0(e,t,n){const r=el(D0)[0],o=el(()=>nl(e,t,r)),i=o[1];return tc(()=>(I0(r)&&i(nl(e,t,r)),Si(()=>{R0(r)})),fa(n,[])),T0(r,i),[o[0],s=>{M0(r,s)}]}function O0(e,t){return N0(e,void 0,t)}function rc(e,t,n){return O0(()=>A0(()=>e,t,(r,o)=>{}),n)}class hn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function B0(e,t){const n=$n(new hn(0,[])),r=n[1];let o;const i=tl(ip()),s=tl(i.current);C0(()=>Si(()=>{sp(i.current)})),o=s;const l=F.Delay(()=>F.TryWith(F.Delay(()=>(r(new hn(1,[])),F.Bind(e,u=>(r(new hn(2,[u])),F.Zero())))),u=>(r(new hn(3,[u])),F.Zero())));return nc(()=>{Da(l,o.current)},t),n[0]}class vt extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class Gr extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ProfileImport","PastImports"]}}function rl(e){return e.tag===1?"Past Imports":"Profile Import"}class Zo extends le{constructor(t,n){super(),this.CurrentTab=t,this.AccountImports=n}}class Xn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetCurrentTab","FetchImports"]}}const P0=[new Zo(new Gr(0,[]),new hn(0,[])),Fr(new Xn(1,[new vt(0,[void 0])]))];function H0(e,t,n){return t.tag===1?t.fields[0].tag===1?[new Zo(n.CurrentTab,new hn(2,[t.fields[0].fields[0]])),qt()]:[n,qa(r=>{Qo(r)},e,void 0,r=>new Xn(1,[new vt(1,[r])]))]:[new Zo(t.fields[0],n.AccountImports),qt()]}const j0=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,: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-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-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: }.fixed{position:fixed}.relative{position:relative}.inset-0{top:0px;right:0px;bottom:0px;left:0px}.z-10{z-index:10}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-auto{margin-left:auto;margin-right:auto}.-mb-px{margin-bottom:-1px}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-6{margin-left:1.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.min-h-full{min-height:100%}.w-full{width:100%}.min-w-full{min-width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.items-end{align-items:flex-end}.justify-center{justify-content:center}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-4{padding-bottom:1rem}.pl-4{padding-left:1rem}.pr-3{padding-right:.75rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 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)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--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)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.hover\\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-indigo-600:focus-visible{outline-color:#4f46e5}@media (min-width: 640px){.sm\\:col-start-1{grid-column-start:1}.sm\\:col-start-2{grid-column-start:2}.sm\\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-5{margin-top:1.25rem}.sm\\:mt-6{margin-top:1.5rem}.sm\\:grid{display:grid}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:items-center{align-items:center}.sm\\:gap-3{gap:.75rem}.sm\\:rounded-lg{border-radius:.5rem}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:pl-6{padding-left:1.5rem}}@media (min-width: 1024px){.lg\\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\\:px-8{padding-left:2rem;padding-right:2rem}}
|
|
22
|
+
`,V0=(()=>Ce(j0))();function U0(e){let t,n;const r=e.setCurrentTab,o=e.currentTab;return m("div",K(S([["className","border-b border-gray-200"],(t=[m("nav",K(S([["className","-mb-px flex space-x-8"],(n=lt(M(()=>Ne(i=>m("a",{key:rl(i),className:St(" ",lt(M(()=>se(it(o,i)?k("border-indigo-500 text-indigo-600"):k("border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 cursor-pointer"),M(()=>k("whitespace-nowrap border-b-2 py-4 px-1 text-sm font-medium")))))),onClick:s=>{r(i)},children:rl(i)}),[new Gr(0,[]),new Gr(1,[])]))),["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function sr(e){const t=S([m("p",{children:["Oops, something went wrong."]}),m("p",{children:[`Error: ${e}.`]}),m("p",{children:["Please refresh the page and try again."]})]);return m("div",{children:C.Children.toArray(Array.from(t))})}function oc(e){let t;const n=e.onDone,r=e.fetchImport,o=e.importId,i=B0(r(o),[]);let s,l,u,c;switch(i.tag===1?s=0:i.tag===3?(s=1,l=i.fields[0]):i.tag===2?i.fields[0].tag===0?(s=3,c=i.fields[0].fields[0]):(s=2,u=i.fields[0].fields[0]):s=0,s){case 0:return Et();case 1:return sr(l.message);case 2:return sr(u);case 3:return m("div",K(S([["className","text-center"],(t=lt(M(()=>se(k(m("p",{children:[`Import ID: ${c.ImportId}`]})),M(()=>se(k(m("p",{children:[`Creator: ${c.User}`]})),M(()=>se(k(m("p",{children:[`Filename: ${c.Filename}`]})),M(()=>se(k(m("p",{children:[`Date started: ${Ce(c.StartTime)}`]})),M(()=>{let a;return se((a=c.StopTime,a==null?k(Et()):k(m("p",{children:[`Date completed: ${Ce(a)}`]}))),M(()=>se(k(m("p",{children:[`Total rows: ${c.TotalRecordCount}`]})),M(()=>se(k(m("p",{children:[`Succeeded rows: ${c.SucceededRecordCount}`]})),M(()=>se(k(m("p",{children:[`Failed rows: ${c.FailedRecordCount}`]})),M(()=>{let d;return se(c.FailedRecordCount>0?k((d=lt(M(()=>se(k(m("p",{children:["The following profiles could not be created"]})),M(()=>Ne(f=>m("li",{children:[`${f.RowId}: ${f.Reason}`]}),c.FailedRecords))))),m("div",{children:C.Children.toArray(Array.from(d))}))):ba(),M(()=>k(m("button",{type:"button",children:"Done",className:"mt-8 rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",onClick:f=>{n()}}))))}))))))))})))))))))),["children",C.Children.toArray(Array.from(t))])])))}}class Fo extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HistoryTable","ImportSummary"]}}function L0(e){let t,n,r,o,i,s,l,u;const c=e.fetchImport,a=e.accountImports,d=$n(new Fo(0,[])),f=d[0],p=d[1];return f.tag===0?m("div",K(S([["className","-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"],(t=[m("div",K(S([["className","inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"],(n=[m("div",K(S([["className","overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg"],(r=[m("table",K(S([["className","min-w-full divide-y divide-gray-300"],(o=[m("thead",K(S([["className","bg-gray-100"],(i=[(s=S([m("th",{scope:"col",className:"py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6",children:"Import ID"}),m("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"Date"}),m("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"User"}),m("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"# of Profiles"})]),m("tr",{children:C.Children.toArray(Array.from(s))}))],["children",C.Children.toArray(Array.from(i))])]))),m("tbody",K(S([["className","divide-y divide-gray-200 bg-white"],(l=lt(M(()=>Ne(g=>{let _;return m("tr",K(S([["key",g.ImportId],["className","cursor-pointer hover:bg-gray-50"],["onClick",w=>{p(new Fo(1,[g.ImportId]))}],(_=[m("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-sm text-gray-500 sm:pl-6",children:g.ImportId}),m("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:Ce(g.StartTime)}),m("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:g.User}),m("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:g.Succeeded})],["children",C.Children.toArray(Array.from(_))])])))},a.ImportHistory))),["children",C.Children.toArray(Array.from(l))])])))],["children",C.Children.toArray(Array.from(o))])])))],["children",C.Children.toArray(Array.from(r))])])))],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])]))):m("div",K(S([["className","border border-gray-300 w-full py-12 rounded text-center bg-white"],(u=[m(oc,{importId:f.fields[0],fetchImport:c,onDone:()=>{p(new Fo(0,[]))}})],["children",C.Children.toArray(Array.from(u))])])))}const z0="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAxADcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDz/wCKH7XPxUvfiT4glb4keOYy+o3B2Ra5cxxr+8bhVVwFA9AMCsL/AIav+KX/AEUrx/8A+FDd/wDxyuY+In/JQNd/7CFx/wCjGrHr6WMY22PmXKV9z6y/4J2/8FK/GX7P/wC01o994w8XeIvEHhHVz/ZurQapqU12lvFIwxOgkZtrRsFbIxldw71+8Vlew6lZw3FvIk0FwgkjkQ5V1IyCD6EHNfy11754I/4Ki/Hz4c+ENN0HR/iTrFrpOj2yWlnA1vbTeREg2ogZ42YhVAAyTgADtXJisH7R80NDswuM9muWep/Q5RX8/H/D3j9o7/oqGq/+ANn/APGaP+HvH7R3/RUNV/8AAGz/APjNcv8AZ1Tujq/tGn2Z/QPRX4//APBLf/gpb8aPjF+2Hofhvxd4zuPEWh6ja3jTWtzaQIN0dvJIpDRopBDKO9FctahKnLlZ1Ua8akeZH5//ABE/5KBrv/YQuP8A0Y1Y9bHxE/5KBrv/AGELj/0Y1Y9fQx2PnQr74/b28C+G9A/4JT/s76xpvh/Q9P1jWIoftt/bWMUN1eFbYg+ZIqhn55+YnmvgevvX9vPUvtP/AASP/ZhXP3hcr/3wpWsK3xQ9f0Oij8M/T9UfBVFFFdBzn1D/AMEcv+T+/Cn/AF6ah/6SS0Uf8Ecv+T+/Cn/XpqH/AKSS0V5GO/ifI9fA/wAP5nzt8RP+Sga7/wBhC4/9GNWPXdftL/C7W/g38d/FXh/xBYXGn6jZ6lOSk0ZTzEMjFJF9VZcEEcEGuFr1Y7Hky0dmFe8fHf8AaX8RfEv9jv4S+BdQ8H3Wj6D4La8/s3W38zy9aLvlwu5AnyE4O1mx3xXg9enfE79rvxp8XfgV4N+HetXVlL4b8C7hpaR2qxzKCMAO45bA4H15zSlG7TKjKyZ5jRRRVkH1D/wRy/5P78Kf9emof+kktFdX/wAENvg3rvxC/bVsdbsbOY6L4bsbp9Rvdh8m3MsDxRoT03MzcDrhWPaivHx8l7T5HsYGL9n8z2z/AIOK/wDkevCX/YNT/wBHT1+Y9FFd+D/hI4cZ/FYUUUV0nKFFFFAH7r/8ERP+TJ7D/r7b/wBASiiivncR/El6n0WH/hx9D//Z",W0="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAA0ADQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9+2cIpZiFVRkk9q+MP2pf+Cqb6d42k+H/AMFdFbx740kYwNdQRNcWlrJnaQir/rWU9TkID1J5FT/8FXP2l9a0TTtD+DvgZnfxl8RHWCZonKyW1qzbAAQcqZGyM9lV/Xj139if9iTw1+xv8OIbGxgt73xJeRq2rauYx5t1JjlUJ5WIHO1fxPJNfomU5Zl2U5dDOs5p+1nVv7Gjeykk7OpUa15b6KP2rdjGUnJ8sT5n079gf9pX9oqKLUviT8Xrrwybj95/Z1hMzNb5/hKwFIgR6At9av3X/BIHx94dXz/Dvx88UR3i8r9oE8aZ/wCAzH+VfetFTLxOzxO1D2dOHSEaVNRS7WcW/vY/YxPz2vfjJ+01/wAE7pUuvH8MPxU+HqgLJfwOHmsh6mTaJFP/AF1DIegYGs/9p3/gt9bXKeH7P4VwzQtcSQ3GrX+pWgzbpuBe3RGyC2OGfoAfl55HuP8AwVI8OfGr4gfDGHw18L9IjvdF1eGRNcmt7lI75lyMQqrEfIwzkqST0OB1/JT4i/s9+OvhIW/4Sbwj4g0WNDgy3VjIkX/feNv61+xcB5HkHEdKnmebU6KxF2uSnJJSWydSleyle7VrJ6Nroc9WUoe7G9j+gvR9RXV9ItbtMbLqFJlx6MAf60V5z+xd46X4k/smfDvWAxeS50C0SYnvLHGI5P8Ax9Gor+Z8wwssNiqmGlvCUov5Nr9Dsi7q58m/sg6Qn7Sf/BVz4teOtVLXcPgGR9P0pWxtiYO1tEwHtHFMf9589a/QCvIv2a/2NvDf7MHjHxxrWh3ep3dx441D7dcC7dWFsMswiQgAlQ0jnLZOCAScZPrtfRcaZ1QzHHxlg2/Y06dOEE1ayjBJq3+LmIpxaWoUUUV8iaBSOiyoysoZWGCCMgilrI8f66vhfwJrWpSSeSmn2M9yZP7gSNmz+GKunBzmoR3bsBo2NrBY2kcFtHDDBCNiRxKFSMDjAA4GPSivz3/4Jd6Z4w+JH7Pur6xHreuSLd+JLtwWu3OSY4Sep7sSfqTRX2OdcJ08vx1XBVMTFuDs3ZrX72ZxqXV7HZ/t1/8ABUHxV+xj+0kvhlfC+ka5oFxpsF9C0k0kFwdxdXG8ZXhkP8J7U/4W/wDBdH4W+LFji8SaP4k8J3TY3OYlvrVf+BxkOf8Av2K8f/4L4eBZD8Rvh5rVvDJJJqVncaeAi7mkeORGAAHJP7zp714v8Gfgxq37BfxX8J+OvjH8MdU1TwtdQrPbnAZdPnJBRpU5XzUxnypCp5z1XFfsmS8F8L5jwxhsZWo/7TOErKE+WdSUG01FSfK27a6HPKpNTaWx+zGj6tBr2kWt9asz215Ck8TFSpZGAZSQeRwRweasV5D8Iv29PhH8bLOFtF8daCl1MAfsV9crZ3Sn08uUqWI/2cj3rvfEfxc8K+DtKN9q3ibw/pdmq7vPutQihjx67mYCv55xWU43D1/YVqM4yv8AC4tP8lf7jqUk1dHQ18gf8FfP2lJPh78GIPhzoEjTeL/iMy2MdvET5yWjPtcgD/nof3Y9dzelUf2lP+Cw/hPwos3h/wCFtrP8QfGF2Tb2bWsDvZRyngHgbpsH+GPg/wB4VF+w7+wd4ru/i1N8aPjZcf2l46u2EunafIwcaZ8uA7j7qsqnCIvCYz16ffZBw7/YnLn3EEeSMPep0paTqzXw+7uoJ2cpNbaJO5nKfN7sD339in9nuL9mD9mrwz4R+Vr61t/tOoyD/lpdynfL+AY7R/soKK9Vor86zDHVsZiamLxDvOpJyb827s1SsrIxfFPw50HxvqmkX2saTYald6BcG706W4hEjWcpUqXTPQ4P8u4FX9d0Gx8UaTcafqVnbX9jdIY5re4iEkcqnqCp4NFFY+3qWiuZ+7trtrfTtrrp1GfNHxY/4I+/BD4mXE11DoepeF7qTLO+iXphUn2jkEka/wDAVFeaeD/+CI/wjuvEDi41jx5cw20mfKfULZVlA7MVtw2D/skH3oor974T4gzSpk7nPE1G0nZucm1+Jy1Irm2PqP4JfsffDX9nUI3g/wAI6XpN0i7ftZVp7puMHMshZ+frivSqKK/CsdjcRiqzrYqpKcn1k3J/e7s6kktEFFFFcgH/2Q==",G0="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAA0ADQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9/GbaMngDkk9q+Gf22/8Agsro/wAGdZvvC/w6tbPxNr1qDFPqcr7tPtJOQVXaQZWXvghc8ZPIpv8AwWV/bdvPg54Qt/hv4ZufI1rxRavJqtyjYks7M/KEUjo0vzAnsqn+9x+Udf0R4U+FOHzDDxznOY81OXwQ2TS+1Lra+y67vRo5K9Zp8sT1j4l/t0fFz4t6g1xrXj7xExydsVpcmzhTPYJDtUflXL6X+0J480S5E1r408VQSK2/K6rP19fvVx9Ff0tRyfAUafsaVCEY9lGKX3WOTme59ifszf8ABZr4lfCPUY7XxjL/AMJ5oRwpW62xX1uPVJlHzfSQNn1FfqF+zr+0t4R/aj+H8HiLwjqcd5bsAtzbt8txYyd45U6qw9ehHIJBBr+fmvW/2MP2s9c/ZB+Mtn4g0yaR9LuCtvq9iTmK9tiRkEf31+8rDkEY6Fgfyfj7why/M8PPFZTTVLEJXSjpGfk0tE30atrvfdbUsQ07S2P3porP8JeKrDxz4W07WtLuI7zTdVto7u1njOVljdQykfUGiv47nCUJOElZrRo9A/C//goH8U5/i/8AtkfEDVZmzFb6tNptsAeBDbN5CEfUR7vqxrxuu2/aU8OTeEP2iPHml3AkE2n+IL+Al/vNtuHAP4jBz3zTPgRp3gvW/H8Wn+O7zVNM0TUInt11CywzadO2BHM6EHfGp+8owcZxzX+imWexweU0fYxbhCnGyirtpRVrLq7dN2eTLWWpxla3gXwLq3xL8XWGg6FYXGpatqcwgtraFdzSMf5AdSTwBya7T4hfsoeMvAnxktPBcemyavf6w6nR57EeZb6xC/KTQuOGQjknPy4OcYNek+OfGuj/ALE3hC/8E+DLyz1b4japF5HiTxRbNuXSkI+ewsn9e0ko5JBA9scVnkJwhDLrVKlRXjr7qj/PJ9Ir72/dWuxy9zO+L114V/Zb+HOofDvQ107xJ481ZfJ8U69tWa304Agmxsye4IxJKOSRge3z7SsxdizElicknvSV35bl/wBVptSk5zk7yk92/TZJbKK0SVvMTdz9hP8AgkF8av7Y/Yq0mxv5Gkk0C/udOiJbkRgrKo/DzcfQCivOf+CPnw0vNV/ZRu7xPOEd34guXXBOMCKBOPxU0V/FnHWX4GPEOMSlb95J2827v8Wz0acnyI8T/wCC2f7PFz8Ov2j4/HFvb/8AEn8bQqXkRcLHdwoqOp7ZZQre/wAx9a+La/oQ/aC+Avh/9pX4V6l4R8TW5m0/UFykiY820lGdk0ZIOHUng+5ByCRX4ufth/sG+Nv2OfFDQ6vayap4fmYiy1y1hb7LcDsr9fKkx1Rj9Cw5r918IPEDC4/L6eTYuajXpLlin9uK2t5paNb6XXW3NiKTT5lsZ3w//ba8efDX4PXng3Tb+H7HMkkNneyxCS+0mGXHnRW0p+aJJNoyB7kYJJryRnLsWYlmY5JPekor9jwuX4bDTnUoU1Fzd5NK133f9btvds57t7hVrQ9FuvEms2mn2MElzeX0yQQRIMtI7EBVH1JFP8PeHNQ8Xazb6dpVjealqF04jhtrWFpZZWPQKqgkn6V+p3/BMv8A4JZSfAnUbbx98QobafxUqB9M00fOukZHMjno02DgAZCepPT5vjLjTAcO4J4jEyTqNPkh1k/0Xd7Jedk7p03N2R9O/sdfAdf2av2bvCvg9mSS7020D3sijiS5kJklI9gzED2UUV6ZRX8E47GVcXiKmKru85ycm+7bu/xPTSsrIKqa5oNj4n0mew1Kztr+xulKTQXEQkjkU9QVPBoornjJxfNHRjPmf4t/8Ee/gj8Ur03UOi6l4VuGyZG0O88lJP8AtnIska/8BUV594J/4Ig/CG4vZpbrVfHl5HbS7fJk1G3VJB6Epbq35EUUV++cL8QZpPJeeeJqNq9m5yvv6nLUjHm2PqH4JfsofDv9nSDb4N8J6XosrLse5VTLcyD/AGpZCzn869Door8LxmMr4qq62Jm5ye7k22/m7s6kktEFFFFcoH//2Q==";var H={exports:{}},Q0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Z0=Q0,K0=Z0;function ic(){}function sc(){}sc.resetWarningCache=ic;var J0=function(){function e(r,o,i,s,l,u){if(u!==K0){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:sc,resetWarningCache:ic};return n.PropTypes=n,n};H.exports=J0();function Hn(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(a){try{c(r.next(a))}catch(d){s(d)}}function u(a){try{c(r.throw(a))}catch(d){s(d)}}function c(a){a.done?i(a.value):o(a.value).then(l,u)}c((r=r.apply(e,t||[])).next())})}function jn(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(c){return function(a){return u([c,a])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(n=0)),n;)try{if(r=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){n.label=c[1];break}if(c[0]===6&&n.label<i[1]){n.label=i[1],i=c;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(c);break}i[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(a){c=[6,a],o=0}finally{r=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function ol(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function il(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var $0=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function mr(e,t){var n=X0(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function X0(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),o=$0.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var q0=[".DS_Store","Thumbs.db"];function Y0(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return Qr(e)&&em(e.dataTransfer)?[2,om(e.dataTransfer,e.type)]:tm(e)?[2,nm(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,rm(e)]:[2,[]]})})}function em(e){return Qr(e)}function tm(e){return Qr(e)&&Qr(e.target)}function Qr(e){return typeof e=="object"&&e!==null}function nm(e){return Ko(e.target.files).map(function(t){return mr(t)})}function rm(e){return Hn(this,void 0,void 0,function(){var t;return jn(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return mr(r)})]}})})}function om(e,t){return Hn(this,void 0,void 0,function(){var n,r;return jn(this,function(o){switch(o.label){case 0:return e.items?(n=Ko(e.items).filter(function(i){return i.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(im))]):[3,2];case 1:return r=o.sent(),[2,sl(lc(r))];case 2:return[2,sl(Ko(e.files).map(function(i){return mr(i)}))]}})})}function sl(e){return e.filter(function(t){return q0.indexOf(t.name)===-1})}function Ko(e){if(e===null)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function im(e){if(typeof e.webkitGetAsEntry!="function")return ll(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?ac(t):ll(e)}function lc(e){return e.reduce(function(t,n){return il(il([],ol(t),!1),ol(Array.isArray(n)?lc(n):[n]),!1)},[])}function ll(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=mr(t);return Promise.resolve(n)}function sm(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return[2,e.isDirectory?ac(e):lm(e)]})})}function ac(e){var t=e.createReader();return new Promise(function(n,r){var o=[];function i(){var s=this;t.readEntries(function(l){return Hn(s,void 0,void 0,function(){var u,c,a;return jn(this,function(d){switch(d.label){case 0:if(l.length)return[3,5];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,Promise.all(o)];case 2:return u=d.sent(),n(u),[3,4];case 3:return c=d.sent(),r(c),[3,4];case 4:return[3,6];case 5:a=Promise.all(l.map(sm)),o.push(a),i(),d.label=6;case 6:return[2]}})})},function(l){r(l)})}i()})}function lm(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return[2,new Promise(function(n,r){e.file(function(o){var i=mr(o,e.fullPath);n(i)},function(o){r(o)})})]})})}var am=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some(function(s){var l=s.trim().toLowerCase();return l.charAt(0)==="."?r.toLowerCase().endsWith(l):l.endsWith("/*")?i===l.replace(/\/.*$/,""):o===l})}return!0};function al(e){return fm(e)||um(e)||uc(e)||cm()}function cm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function um(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fm(e){if(Array.isArray(e))return Jo(e)}function cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cl(Object(n),!0).forEach(function(r){cc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e,t){return hm(e)||pm(e,t)||uc(e,t)||dm()}function dm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uc(e,t){if(!!e){if(typeof e=="string")return Jo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jo(e,t)}}function Jo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pm(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function hm(e){if(Array.isArray(e))return e}var mm="file-invalid-type",gm="file-too-large",wm="file-too-small",_m="too-many-files",ym=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var n=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:mm,message:"File type must be ".concat(n)}},fl=function(t){return{code:gm,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},dl=function(t){return{code:wm,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},bm={code:_m,message:"Too many files"};function fc(e,t){var n=e.type==="application/x-moz-file"||am(e,t);return[n,n?null:ym(t)]}function dc(e,t,n){if(Wt(e.size))if(Wt(t)&&Wt(n)){if(e.size>n)return[!1,fl(n)];if(e.size<t)return[!1,dl(t)]}else{if(Wt(t)&&e.size<t)return[!1,dl(t)];if(Wt(n)&&e.size>n)return[!1,fl(n)]}return[!0,null]}function Wt(e){return e!=null}function Am(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,s=e.maxFiles,l=e.validator;return!i&&t.length>1||i&&s>=1&&t.length>s?!1:t.every(function(u){var c=fc(u,n),a=lr(c,1),d=a[0],f=dc(u,r,o),p=lr(f,1),g=p[0],_=l?l(u):null;return d&&g&&!_})}function Zr(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function vr(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function pl(e){e.preventDefault()}function vm(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function xm(e){return e.indexOf("Edge/")!==-1}function Em(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return vm(e)||xm(e)}function Ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];return t.some(function(l){return!Zr(r)&&l&&l.apply(void 0,[r].concat(i)),Zr(r)})}}function Cm(){return"showOpenFilePicker"in window}function Sm(e){if(Wt(e)){var t=Object.entries(e).filter(function(n){var r=lr(n,2),o=r[0],i=r[1],s=!0;return pc(o)||(console.warn('Skipped "'.concat(o,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),s=!1),(!Array.isArray(i)||!i.every(hc))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),s=!1),s}).reduce(function(n,r){var o=lr(r,2),i=o[0],s=o[1];return ul(ul({},n),{},cc({},i,s))},{});return[{description:"Files",accept:t}]}return e}function Dm(e){if(Wt(e))return Object.entries(e).reduce(function(t,n){var r=lr(n,2),o=r[0],i=r[1];return[].concat(al(t),[o],al(i))},[]).filter(function(t){return pc(t)||hc(t)}).join(",")}function Fm(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function Im(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function pc(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function hc(e){return/^.*\.[\w]+$/.test(e)}var km=["children"],Mm=["open"],Tm=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Rm=["refKey","onChange","onClick"];function Nm(e){return Pm(e)||Bm(e)||mc(e)||Om()}function Om(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bm(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pm(e){if(Array.isArray(e))return $o(e)}function Io(e,t){return Vm(e)||jm(e,t)||mc(e,t)||Hm()}function Hm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mc(e,t){if(!!e){if(typeof e=="string")return $o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $o(e,t)}}function $o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jm(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function Vm(e){if(Array.isArray(e))return e}function hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hl(Object(n),!0).forEach(function(r){Xo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e,t){if(e==null)return{};var n=Um(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Um(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Di=Bl(function(e,t){var n=e.children,r=Kr(e,km),o=wc(r),i=o.open,s=Kr(o,Mm);return Rl(t,function(){return{open:i}},[i]),zl.createElement($e,null,n(Z(Z({},s),{},{open:i})))});Di.displayName="Dropzone";var gc={disabled:!1,getFilesFromEvent:Y0,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};Di.defaultProps=gc;Di.propTypes={children:H.exports.func,accept:H.exports.objectOf(H.exports.arrayOf(H.exports.string)),multiple:H.exports.bool,preventDropOnDocument:H.exports.bool,noClick:H.exports.bool,noKeyboard:H.exports.bool,noDrag:H.exports.bool,noDragEventsBubbling:H.exports.bool,minSize:H.exports.number,maxSize:H.exports.number,maxFiles:H.exports.number,disabled:H.exports.bool,getFilesFromEvent:H.exports.func,onFileDialogCancel:H.exports.func,onFileDialogOpen:H.exports.func,useFsAccessApi:H.exports.bool,autoFocus:H.exports.bool,onDragEnter:H.exports.func,onDragLeave:H.exports.func,onDragOver:H.exports.func,onDrop:H.exports.func,onDropAccepted:H.exports.func,onDropRejected:H.exports.func,onError:H.exports.func,validator:H.exports.func};var qo={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function wc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Z(Z({},gc),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,u=t.maxFiles,c=t.onDragEnter,a=t.onDragLeave,d=t.onDragOver,f=t.onDrop,p=t.onDropAccepted,g=t.onDropRejected,_=t.onFileDialogCancel,w=t.onFileDialogOpen,b=t.useFsAccessApi,I=t.autoFocus,ne=t.preventDropOnDocument,oe=t.noClick,G=t.noKeyboard,O=t.noDrag,ae=t.noDragEventsBubbling,P=t.onError,ce=t.validator,We=wt(function(){return Dm(n)},[n]),Ft=wt(function(){return Sm(n)},[n]),Vn=wt(function(){return typeof w=="function"?w:ml},[w]),Vt=wt(function(){return typeof _=="function"?_:ml},[_]),ie=Wn(null),he=Wn(null),Ac=ni(Lm,qo),Ii=Io(Ac,2),lo=Ii[0],Fe=Ii[1],vc=lo.isFocused,ki=lo.isFileDialogActive,gr=Wn(typeof window<"u"&&window.isSecureContext&&b&&Cm()),Mi=function(){!gr.current&&ki&&setTimeout(function(){if(he.current){var E=he.current.files;E.length||(Fe({type:"closeDialog"}),Vt())}},300)};mn(function(){return window.addEventListener("focus",Mi,!1),function(){window.removeEventListener("focus",Mi,!1)}},[he,ki,Vt,gr]);var on=Wn([]),Ti=function(E){ie.current&&ie.current.contains(E.target)||(E.preventDefault(),on.current=[])};mn(function(){return ne&&(document.addEventListener("dragover",pl,!1),document.addEventListener("drop",Ti,!1)),function(){ne&&(document.removeEventListener("dragover",pl),document.removeEventListener("drop",Ti))}},[ie,ne]),mn(function(){return!r&&I&&ie.current&&ie.current.focus(),function(){}},[ie,I,r]);var Ut=Se(function(y){P?P(y):console.error(y)},[P]),Ri=Se(function(y){y.preventDefault(),y.persist(),br(y),on.current=[].concat(Nm(on.current),[y.target]),vr(y)&&Promise.resolve(o(y)).then(function(E){if(!(Zr(y)&&!ae)){var X=E.length,ue=X>0&&Am({files:E,accept:We,minSize:s,maxSize:i,multiple:l,maxFiles:u,validator:ce}),Ie=X>0&&!ue;Fe({isDragAccept:ue,isDragReject:Ie,isDragActive:!0,type:"setDraggedFiles"}),c&&c(y)}}).catch(function(E){return Ut(E)})},[o,c,Ut,ae,We,s,i,l,u,ce]),Ni=Se(function(y){y.preventDefault(),y.persist(),br(y);var E=vr(y);if(E&&y.dataTransfer)try{y.dataTransfer.dropEffect="copy"}catch{}return E&&d&&d(y),!1},[d,ae]),Oi=Se(function(y){y.preventDefault(),y.persist(),br(y);var E=on.current.filter(function(ue){return ie.current&&ie.current.contains(ue)}),X=E.indexOf(y.target);X!==-1&&E.splice(X,1),on.current=E,!(E.length>0)&&(Fe({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),vr(y)&&a&&a(y))},[ie,a,ae]),wr=Se(function(y,E){var X=[],ue=[];y.forEach(function(Ie){var Un=fc(Ie,We),an=Io(Un,2),co=an[0],uo=an[1],fo=dc(Ie,s,i),Ar=Io(fo,2),po=Ar[0],ho=Ar[1],mo=ce?ce(Ie):null;if(co&&po&&!mo)X.push(Ie);else{var go=[uo,ho];mo&&(go=go.concat(mo)),ue.push({file:Ie,errors:go.filter(function(Sc){return Sc})})}}),(!l&&X.length>1||l&&u>=1&&X.length>u)&&(X.forEach(function(Ie){ue.push({file:Ie,errors:[bm]})}),X.splice(0)),Fe({acceptedFiles:X,fileRejections:ue,type:"setFiles"}),f&&f(X,ue,E),ue.length>0&&g&&g(ue,E),X.length>0&&p&&p(X,E)},[Fe,l,We,s,i,u,f,p,g,ce]),_r=Se(function(y){y.preventDefault(),y.persist(),br(y),on.current=[],vr(y)&&Promise.resolve(o(y)).then(function(E){Zr(y)&&!ae||wr(E,y)}).catch(function(E){return Ut(E)}),Fe({type:"reset"})},[o,wr,Ut,ae]),sn=Se(function(){if(gr.current){Fe({type:"openDialog"}),Vn();var y={multiple:l,types:Ft};window.showOpenFilePicker(y).then(function(E){return o(E)}).then(function(E){wr(E,null),Fe({type:"closeDialog"})}).catch(function(E){Fm(E)?(Vt(E),Fe({type:"closeDialog"})):Im(E)?(gr.current=!1,he.current?(he.current.value=null,he.current.click()):Ut(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):Ut(E)});return}he.current&&(Fe({type:"openDialog"}),Vn(),he.current.value=null,he.current.click())},[Fe,Vn,Vt,b,wr,Ut,Ft,l]),Bi=Se(function(y){!ie.current||!ie.current.isEqualNode(y.target)||(y.key===" "||y.key==="Enter"||y.keyCode===32||y.keyCode===13)&&(y.preventDefault(),sn())},[ie,sn]),Pi=Se(function(){Fe({type:"focus"})},[]),Hi=Se(function(){Fe({type:"blur"})},[]),ji=Se(function(){oe||(Em()?setTimeout(sn,0):sn())},[oe,sn]),ln=function(E){return r?null:E},ao=function(E){return G?null:ln(E)},yr=function(E){return O?null:ln(E)},br=function(E){ae&&E.stopPropagation()},xc=wt(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=y.refKey,X=E===void 0?"ref":E,ue=y.role,Ie=y.onKeyDown,Un=y.onFocus,an=y.onBlur,co=y.onClick,uo=y.onDragEnter,fo=y.onDragOver,Ar=y.onDragLeave,po=y.onDrop,ho=Kr(y,Tm);return Z(Z(Xo({onKeyDown:ao(Ye(Ie,Bi)),onFocus:ao(Ye(Un,Pi)),onBlur:ao(Ye(an,Hi)),onClick:ln(Ye(co,ji)),onDragEnter:yr(Ye(uo,Ri)),onDragOver:yr(Ye(fo,Ni)),onDragLeave:yr(Ye(Ar,Oi)),onDrop:yr(Ye(po,_r)),role:typeof ue=="string"&&ue!==""?ue:"presentation"},X,ie),!r&&!G?{tabIndex:0}:{}),ho)}},[ie,Bi,Pi,Hi,ji,Ri,Ni,Oi,_r,G,O,r]),Ec=Se(function(y){y.stopPropagation()},[]),Cc=wt(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=y.refKey,X=E===void 0?"ref":E,ue=y.onChange,Ie=y.onClick,Un=Kr(y,Rm),an=Xo({accept:We,multiple:l,type:"file",style:{display:"none"},onChange:ln(Ye(ue,_r)),onClick:ln(Ye(Ie,Ec)),tabIndex:-1},X,he);return Z(Z({},an),Un)}},[he,n,l,_r,r]);return Z(Z({},lo),{},{isFocused:vc&&!r,getRootProps:xc,getInputProps:Cc,rootRef:ie,inputRef:he,open:ln(sn)})}function Lm(e,t){switch(t.type){case"focus":return Z(Z({},e),{},{isFocused:!0});case"blur":return Z(Z({},e),{},{isFocused:!1});case"openDialog":return Z(Z({},qo),{},{isFileDialogActive:!0});case"closeDialog":return Z(Z({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Z(Z({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Z(Z({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Z({},qo);default:return e}}function ml(){}const zm="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAA6AEEDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDuvit4r1LVfibr9xcX1zNNJqExLNIf75rB/tm8/wCfqf8A7+GtD4jn/iv9c/6/pv8A0M1j19NHax85LcsJrt9E6st3cKyncCJG4xX6Zf8ABLL9pm8+M3wwv9D16+F1rmgTYRnbM01swG1j6kNuHHbFfmJ95a7H4GfG/Wf2fviDD4i0WRkuo43idd3yyqwxgjnI6Hn0rDEUPaU7dTooVvZyP22VstS1+YX/AA9s+ICgfubfPr8vP/jtH/D234hf88bf/wAd/wDia8xYGqej9cp9Wfp9SKNtfmF/w9t+IP8Azxt/zX/4mrnh/wD4K6eN7fXLR7yzt7i0WVRNGHVd6kjPO2plg6iVwjjKb0R+mVFcP/wuOD/n3k/OisfZy7G/tIn4z/Eb/kf9c/6/pv8A0M1j1sfEb/kf9c/6/pv/AEM1j19FE+fluJXcfAT9n3xF+0Z4zXR9AgUMozPdzErBajtubHUngDqazPhD8OH+LHxC0/RF1Cz0tbli0t3dSBI4I1BZmJPoAcDvX0l4B+MXhn4WeP8Awn8NfhrcyX2mX2t20uta1IuHv3DjEcfogxye9Y1qrjdRWprSpptOWx4b+0X+zB4n/Zk8TR6fr8MM0NwC1vfWxLW9we4DY4Ydwea85FfZ3xw+M+heJvjl43+FvxBka38MXmprcadqkYzJo9yUXDH1jJPPpn8vmP46fCT/AIUx4+k0qPVrDXLOaIXNnfWkgdLiFs4Jx91uOQaKNSUrKe5VanFNuDOOPFPtlxdQ8/8ALQE+/I60zvUlt/x8w/76/wAxW0trGMXqj9a99FNorlsdx+VfxG/5H/XP+v6b/wBDNY9bHxHOPH2ue99N/wChmseuqOxwS3DJHRmX3U4+td3+zAc/tF+DP+wvb4x/viuEPSu6/Ze/5OK8F/8AYXt//QxU1PgbLpS99I6H9u3j9rbxn/19r/6LWvJCWP3mZuf4jnFeuft2/wDJ2fjT/r8X/wBFrXkdFH4EFb42B5p1sf8ASYuv+sX+YptOtTm6i/31/mKuXwkxeqP1qooorkudnMfl58dPDlx4P+MnibTbqOSOa11OcYddpYbzhvxGPzrls1+qH7fngTQ9R8C3WoXGi6TPfhUxcyWkbTD/AIGRn9a+H18L6btH/Eusen/Pun+FXQrc8bmFalySseHE8VLpupXGkX8N1a3E1rdW7B4pon2SRsOhDDoRXtw8L6Zn/kHWP/gOn+FB8LaZj/kG2P8A4Dp/hW/NpYyS1ueLa1rt74k1Wa+1K8uL+9uDuluJ5TJJKegJY8mq26vcv+EX0zH/ACDbH/wHT/Cj/hF9M/6B1j/4Dp/hRzBY8NzWl4J8N3XjPxfpuk2MfmXWoXUUEagZySwA6elewf8ACL6Z/wBA6x/8B0/wr7G/4J5eAdCi8IRagui6St+s7bbkWcYmHPZ8Z/Wsa9Xljc0o0+aaR7F/wq+b+89Feh729TRXje2n3PW9jE//2Q==",Wm="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAA7AEEDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD2T4//ABv8Yav8bfFkk3ibXAU1a5iRY72SNERJWVVCqQAAABxXH/8AC2vFX/QzeIP/AAYzf/FVN8a/+Sy+Lv8AsNXn/o965mvpYxVlofPSk7s6D/hbXir/AKGbxB/4MZv/AIqv0d/4Jc/tXzfGr4bS+FdevGuvEnhlBsllbdJeWhOFYnuyEhSfTaTya/MKus+B/wAZtY+APxN0zxTocire6c+TG+fLuYzw8TgdVYceo6jkA1liKCqQstzWhWcJ3ex+3lFfnD/w+j8b/wDQp+Ff++rj/wCLo/4fR+N/+hT8K/8AfVx/8XXl/Ua3Y9L65S7n6PUV+cP/AA+j8b/9Cn4V/wC+rj/4un23/BaXxmtwhm8IeGJIgw3qkk6sw7gEscH3wfpR9Rrdg+uUu5+jdFfJv/D1vQP+hb1D/v8AL/hRWX1ap2NPrFPufnf8a/8Aksvi7/sNXn/o965mum+Nf/JZfF3/AGGrz/0e9czXvx2R4ct2FaXhvwdq3jG6aHSdL1DVJl+8lrbvMV+u0HFdJ+zv8HZ/j18X9H8MxTfZYr12e6ucZFtAil5JD9FU9e+K9Z+J/wC29cfDxm8J/B2GPwZ4V0t/JF5DCn9oas6/KZ5ZCCfmPIHXGPoJlN35Y7lRirc0tjw3xb8MPEngJVbWtB1bSlc4Vrq1eJWPoCRisKvr39in9oH4l/Hv4h/8Iv4k1bTPFXg24iKavF4kMbxpC3B2ORvMh6KASPpjIv8A/BUH9nrwr8APhl8PbHwnp0NnZveag8sobzJbhnWAgu55bAXAyeAKy+sNTVOS1NHRvD2kdj4zooorpOc9QooornOg5X41/wDJZfF3/YavP/R71zNdN8a/+Sy+Lv8AsNXn/o965mto7Ixluz1b9j74Z+Lvi18ULzR/BetR6HrM2k3BMsjlFnhOxZIiQD94Nnp2pvx4/Y08ffs46el94o0+xt7GaTyoriLUIJBM3oqbvMPr93gcmpP2NP2gLX9mb4wSeKrq1kvlt9NuYI7dDtM0jgBAT2G7BJ9Aa9Y+J/xn+G37dkFjqXjHxFqXw38X6fF5DExSahpNwnYogO6Mnvj8d3WsJSnGpe3u+htGMHT394+UEdo3DKxVlOQQcEV6n8Y/hfqvgL4KeA9W1jxFeXdz4uWe+i0iZnb7FChVI5eSfvgnHA6Hriu38N/D74G/BS5/tjxB40m+JV1ZkPbaLpFlJbW88gOR5ssnVOBkAD8eleTfHf42ar8fPiHda9qmyEMogs7SLiGwt1z5cKDsqg/iST3q1JykrbEcqitdzjaKKK2Mj1Ciiiuc6DK/ad8H33gT9oPxhp2oQtDcJq1xLhhjckjmRGHsVYH8a4Sv16/bC/Zy8D/E/wANSa1rnhywvdXtlEaXg3Qzleys6FSwHYNkDJxivlr/AIZS8Af9C+n/AIF3H/xdY0cZFx1RpVwslLRnxVRX2r/wyl4A/wChfT/wLuP/AIuj/hlLwB/0L6f+Bdx/8XWv1qPmZ/V5HxVRX2r/AMMpeAP+hfT/AMC7j/4uj/hlLwB/0L6f+Bdx/wDF0fWo+YfV5HxVUlnZy6hdxW8EbTTTuI40UZZ2JwAB6k19o/8ADKXgD/oX0/8AAu4/+Lr3H9jr9lD4d6NrEmuQ+F7F9U02QNazzvJP5DcYZVdioYdQ2Mg8gionjIxV7FQwspO1z54/4YD8ff8APg//AH7NFfpTRXn/AF2Z6H1SB//Z";var Gm=0;function et(e,t,n,r,o,i){var s,l,u={};for(l in t)l=="ref"?s=t[l]:u[l]=t[l];var c={type:e,props:u,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Gm,__source:o,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(l in s)u[l]===void 0&&(u[l]=s[l]);return A.vnode&&A.vnode(c),c}function Qm({onCancel:e,onSubmit:t,onFileDrop:n}){const r=Se(c=>{const a=c[0];n(a,a.path)},[]),{getRootProps:o,getInputProps:i,open:s,acceptedFiles:l}=wc({onDrop:r,accept:{"text/csv":[".csv"]},maxFiles:1,noClick:!0,noKeyboard:!0,multiple:!1,maxSize:35e5}),u=l.map(c=>et("p",{children:c.path},c.path));return et("div",{...o(),children:[et("input",{...i(),name:"file"}),et("img",{src:u.length?Wm:zm,className:"mx-auto mb-2"}),u.length?et($e,{children:[u,et("button",{type:"reset",onClick:e,className:"mt-6 mr-6 rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50",children:"Cancel"}),et("button",{type:"button",onClick:t,className:"rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Import file"})]}):et($e,{children:[et("p",{className:"mb-6 text-gray-500",children:"Drag a file to upload"}),et("button",{type:"button",onClick:s,className:"rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Browse"})]})]})}class Ze extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["FileSelection","Validating","ValidationError","ImportInProgress","ImportComplete","UnexpectedError"]}}class _c extends le{constructor(t){super(),this.View=t}}class me extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetView","CreateImport","FetchImports"]}}function Zm(){return[new _c(new Ze(0,[])),qt()]}function Km(e,t,n,r){let o,i,s;return n.tag===1?n.fields[0].tag===1?[r,Do(Vr(Fr,n.fields[0].fields[0].tag===1?ve(new me(0,[new Ze(5,[n.fields[0].fields[0].fields[0]])])):n.fields[0].fields[0].fields[0].tag===1?ve(new me(0,[new Ze(2,[n.fields[0].fields[0].fields[0].fields[0]])])):n.fields[0].fields[0].fields[0].fields[0].ActiveImport==null?ve(new me(0,[new Ze(5,["New import not active"])])):(o=n.fields[0].fields[0].fields[0].fields[0].ActiveImport,S([new me(0,[new Ze(3,[o])]),new me(2,[new vt(0,[void 0])])]))))]:[r,Do(S([Fr(new me(0,[new Ze(1,[])])),qa(l=>{Qo(l)},l=>s0(t,l),n.fields[0].fields[0],l=>new me(1,[new vt(1,[l])]))]))]:n.tag===2?n.fields[0].tag===1?[r,Do(Vr(Fr,(i=r.View,i.tag===3?n.fields[0].fields[0].ActiveImport!=null?(s=n.fields[0].fields[0].ActiveImport,S([new me(0,[new Ze(3,[s])]),new me(2,[new vt(0,[void 0])])])):ve(new me(0,[new Ze(4,[_d(l=>l.ImportId===i.fields[0].ImportId,n.fields[0].fields[0].ImportHistory)])])):n.fields[0].fields[0].ActiveImport!=null?(s=n.fields[0].fields[0].ActiveImport,S([new me(0,[new Ze(3,[s])]),new me(2,[new vt(0,[void 0])])])):ve(new me(0,[new Ze(0,[])])))))]:(Qo(F.Delay(()=>F.Bind(up(1e4),()=>(e(),F.Zero())))),[r,qt()]):[new _c(n.fields[0]),qt()]}const yc=z0,gl=W0,Jm=G0;function $m(e){let t;const n=e.dispatch,r=$n(!1),o=r[1],i=$n(0),s=i[0]|0,l=$n(new FormData),u=l[0];return m("form",K(S([["key",s],(t=lt(M(()=>se(k(m(Qm,{onCancel:()=>{i[1](s+1),l[1](new FormData)},onSubmit:()=>{o(!0)},onFileDrop:(c,a)=>{u.set("file",c,a)}})),M(()=>{let c,a,d,f,p,g,_;return r[0]?k((c=S([m("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75"}),m("div",K(S([["className","fixed inset-0 z-10 overflow-y-auto"],(a=[m("div",K(S([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(d=[m("div",K(S([["className","relative overflow-hidden rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"],(f=[(p=S([m("div",K(S([["className","mt-3 text-center sm:mt-5 space-y-6"],(g=[m("img",{src:yc,className:"mx-auto"}),m("p",{children:["Please check and confirm this file is being uploaded to the correct account."]}),m("p",{children:["Uploading files to the wrong account can cause a security breach."]})],["children",C.Children.toArray(Array.from(g))])]))),m("div",K(S([["className","mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3"],(_=[m("button",{type:"button",className:"inline-flex w-full justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 sm:col-start-2",children:"I confirm",onClick:w=>{n(new me(1,[new vt(0,[u])]))}}),m("button",{type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:col-start-1 sm:mt-0",children:"Cancel",onClick:w=>{o(!1)}})],["children",C.Children.toArray(Array.from(_))])])))]),m("div",{children:C.Children.toArray(Array.from(p))}))],["children",C.Children.toArray(Array.from(f))])])))],["children",C.Children.toArray(Array.from(d))])])))],["children",C.Children.toArray(Array.from(a))])])))]),m("div",{children:C.Children.toArray(Array.from(c))}))):ba()})))),["children",C.Children.toArray(Array.from(t))])])))}function Xm(e){let t,n,r,o,i,s,l,u;const c=e.onDone,a=e.backendService,d=e.dispatchFetchImports,f=e.accountImports,p=e.accountId,g=rc(Zm(),(b,I)=>Km(d,a,b,I)),_=g[1];nc(()=>{_(new me(2,[new vt(1,[f])]))},[f]);const w=S([m("div",K(S([["className","space-y-6"],(t=[(n=S([`Upload a CSV file with required information (first name, last name, email) to create new partial profiles.
|
|
27
|
+
The file will be validated `,m("b",{children:["before"]}),` creating the profiles.
|
|
28
|
+
If validation fails, the file will be rejected, and no profiles created.
|
|
29
|
+
You'll get an error report to fix the information before re-uploading.`]),m("p",{children:C.Children.toArray(Array.from(n))})),m("p",{children:"This feature doesn't update existing profiles in the account."}),(r=S([m("span",{children:["Not sure how to get started?"]}),m("ul",K(S([["className","ml-6 list-disc list-outside"],(o=[(i=S([m("a",{className:"cursor-pointer font-bold",children:"Download",target:"_blank",rel:"noreferrer",href:"https://docs.google.com/spreadsheets/d/1BGRolDj6dBKf4ZyzACln60DhBY2dHxZdXdwtm0uxK2M"})," a blank CSV template"]),m("li",{children:C.Children.toArray(Array.from(i))})),(s=S([m("a",{className:"cursor-pointer font-bold",children:"Read the guide",target:"_blank",rel:"noreferrer",href:"https://coda.io/d/Network-Partners_duJlEDaJduS/How-to-import-existing-employees_suumX#_lu5Lq"})," to using the CSV importer"]),m("li",{children:C.Children.toArray(Array.from(s))}))],["children",C.Children.toArray(Array.from(o))])])))]),m("div",{children:C.Children.toArray(Array.from(r))}))],["children",C.Children.toArray(Array.from(t))])]))),m("div",K(S([["className","px-8 mt-10"],(l=[m("div",K(S([["className","border border-gray-300 w-full py-12 rounded text-center bg-white"],(u=lt(M(()=>{let b,I,ne,oe;const G=g[0].View;switch(G.tag){case 1:return k((b=S([m("img",{src:gl,className:"mx-auto animate-spin"}),m("p",{className:"mt-2",children:"Validating data"})]),m("div",{children:C.Children.toArray(Array.from(b))})));case 2:{const O=G.fields[0];return k((I=lt(M(()=>{const ae=ce=>{let We,Ft;const Vn=St(`\r
|
|
30
|
+
`,ma(ro(ve(ve("Row,Column,Error")),Vr(Vt=>Vr(ie=>St(",",xn(he=>`"${he}"`,xn(he=>qf(he,'"','""'),[Rt(Vt.RowId),ie.Column,ie.Message],null),null)),Vt.FieldErrors),ce))));return m("p",K(S([["className","mt-6"],(We=["Download the full error report ",m("a",{className:"font-bold cursor-pointer",href:(Ft=new Blob([Vn],{type:"text/csv;charset=utf-8;"}),window.URL.createObjectURL(Ft)),download:`${p}_validation_errors.csv`,children:"here"}),"."],["children",C.Children.toArray(Array.from(We))])])))};let P;if(O.tag===1)P=m("p",{children:["Invalid file name"]});else if(O.tag===2)P=m("p",{children:["CSV exceeds max row limit"]});else if(O.tag===3)P=m("p",{children:[O.fields[0]]});else if(O.tag===4)P=m("p",{children:["CSV does not contain any data"]});else if(O.tag===5)P=m("p",{children:["File not uploaded, ensure a file is selected"]});else if(O.tag===6)P=m("p",{children:["Only a single file is allowed"]});else if(O.tag===8)P=m("p",{children:["Unknown account"]});else if(O.tag===7)if(hd(O.fields[0])<=10){const ce=lt(M(()=>se(k(m("p",{className:"mb-3",children:"The file contains the following validation error(s)"})),M(()=>se(va(We=>Ne(Ft=>m("li",{children:[`Row ${We.RowId}, Column ${Ft.Column}: ${Ft.Message}`]}),We.FieldErrors),O.fields[0]),M(()=>k(ae(O.fields[0]))))))));P=m("div",{children:C.Children.toArray(Array.from(ce))})}else{const ce=S([m("p",{children:["The file contains more than 10 validation errors"]}),ae(O.fields[0])]);P=m("div",{children:C.Children.toArray(Array.from(ce))})}else P=m("p",{children:["Invalid file type"]});return se(k(m("img",{src:yc,className:"mx-auto"})),M(()=>se(k(m("div",{className:"mt-2",children:C.Children.toArray([P])})),M(()=>k(m("button",{type:"button",children:"Upload another file",className:"mt-8 rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",onClick:ce=>{_(new me(0,[new Ze(0,[])]))}}))))))})),m("div",{children:C.Children.toArray(Array.from(I))})))}case 3:{const O=G.fields[0];return k((ne=S([m("img",{src:gl,className:"mx-auto animate-spin"}),m("p",{className:"mt-2 mb-6",children:"Creating profiles"}),m("p",{children:[`Creator: ${O.User}`]}),m("p",{children:[`Filename: ${O.Filename}`]}),m("p",{children:[`Rows processed: ${O.CompletedSuccessfully+O.CompletedFailed}`]}),m("p",{children:[`Total rows: ${O.NumberOfRecords}`]})]),m("div",{children:C.Children.toArray(Array.from(ne))})))}case 4:{const O=G.fields[0];return k((oe=S([m("img",{src:Jm,className:"mx-auto"}),m("p",{className:"mt-2 mb-6",children:`${O.Succeeded} Profiles successfully created`}),m(oc,{importId:O.ImportId,fetchImport:ae=>Xa(a,ae),onDone:c})]),m("div",{children:C.Children.toArray(Array.from(oe))})))}case 5:return k(sr(G.fields[0]));default:return k(m($m,{dispatch:_}))}})),["children",C.Children.toArray(Array.from(u))])])))],["children",C.Children.toArray(Array.from(l))])])))]);return m("div",{children:C.Children.toArray(Array.from(w))})}function Fi(){return(Fi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qm(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var i,s,l={},u=Object.keys(r);for(s=0;s<u.length;s++)o.indexOf(i=u[s])>=0||(l[i]=r[i]);return l}(e,["context","children"]);return ti(t,n)}function Ym(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=m(qm,Fi({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],i={},s=0,l=n.attributes,u=n.childNodes;for(s=l.length;s--;)l[s].name!=="slot"&&(i[l[s].name]=l[s].value,i[bc(l[s].name)]=l[s].value);for(s=u.length;s--;){var c=t(u[s],null),a=u[s].slot;a?i[a]=m(wl,{name:a},c):o[s]=c}var d=r?m(wl,null,o):o;return m(r||n.nodeName.toLowerCase(),i,d)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?ei:Nt)(this._vdom,this._root)}function bc(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function eg(e,t,n){if(this._vdom){var r={};r[e]=n=n==null?void 0:n,r[bc(e)]=n,this._vdom=ti(this._vdom,r),Nt(this._vdom,this._root)}}function tg(){Nt(this._vdom=null,this._root)}function wl(e,t){var n=this;return m("slot",Fi({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function ng(e,t,n,r){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=r&&r.shadow?i.attachShadow({mode:"open"}):i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=Ym,o.prototype.attributeChangedCallback=eg,o.prototype.disconnectedCallback=tg,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(i){Object.defineProperty(o.prototype,i,{get:function(){return this._vdom.props[i]},set:function(s){this._vdom?this.attributeChangedCallback(i,null,s):(this._props||(this._props={}),this._props[i]=s,this.connectedCallback());var l=typeof s;s!=null&&l!=="string"&&l!=="boolean"&&l!=="number"||this.setAttribute(i,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function rg(e,t){ng(e,t,void 0,{shadow:!0})}function og(e){let t;const n=o0(e.backendUrl,e.accountId,e.accessToken),r=rc(P0,(l,u)=>H0(()=>i0(n),l,u)),o=r[0],i=r[1],s=S([m("style",{children:[V0]}),m(U0,{currentTab:o.CurrentTab,setCurrentTab:l=>{i(new Xn(0,[l]))}}),m("div",K(S([["className","mt-4"],(t=lt(M(()=>{const l=o.AccountImports;let u,c,a,d;switch(l.tag===1?u=0:l.tag===3?(u=1,c=l.fields[0]):l.tag===2?l.fields[0].tag===0?(u=3,d=l.fields[0].fields[0]):(u=2,a=l.fields[0].fields[0]):u=0,u){case 0:return k(m("div",{children:["Please wait..."]}));case 1:return k(sr(c.message));case 2:return k(sr(a));case 3:return o.CurrentTab.tag===1?k(m(L0,{accountImports:d,fetchImport:f=>Xa(n,f)})):k(m(Xm,{accountId:e.accountId,accountImports:d,dispatchFetchImports:()=>{i(new Xn(1,[new vt(0,[void 0])]))},backendService:n,onDone:()=>{i(new Xn(0,[new Gr(1,[])]))}}))}})),["children",C.Children.toArray(Array.from(t))])])))]);return m("div",{children:C.Children.toArray(Array.from(s))})}function ig(){rg(e=>m(og,e),"superhero-profile-directory-app")}ig();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarehr/superhero-basic-profile",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.64.51",
|
|
4
4
|
"description": "Flare Superhero Basic Profile Components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"files": [
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"preact": "^10.13.1",
|
|
16
|
-
"preact-custom-element": "^4.2.1"
|
|
16
|
+
"preact-custom-element": "^4.2.1",
|
|
17
|
+
"react-dropzone": "^14.2.3"
|
|
17
18
|
},
|
|
18
19
|
"devDependencies": {
|
|
19
20
|
"@preact/preset-vite": "^2.5.0",
|