@flarehr/superhero-import-app 0.1.65 → 0.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/superhero-import-app.js +42 -4
- package/package.json +5 -2
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
(function(){"use strict";var Pe=document.createElement("style");Pe.textContent=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-variation-settings:normal;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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}dialog{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],input:where(:not([type])),[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,input:where(:not([type])):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;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-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],[size]:where(select:not([size="1"])){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")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[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")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[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}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.border{border-width:1px}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.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)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}
|
|
2
|
-
`,document.head.appendChild(Pe);var M,p,je,z,ze,He,se,le,ce,ue,Te,U={},Ae=[],Lt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,J=Array.isArray;function E(e,t){for(var r in t)e[r]=t[r];return e}function Le(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,r){var n,o,i,a={};for(i in t)i=="key"?n=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?M.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return I(e,a,n,o,null)}function I(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,constructor:void 0,__v:o??++je,__i:-1,__u:0};return o==null&&p.vnode!=null&&p.vnode(i),i}function Mt(){return{current:null}}function S(e){return e.children}function C(e,t){this.props=e,this.context=t}function H(e,t){if(t==null)return e.__?H(e.__,e.__i+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"?H(e):null}function Me(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 Me(e)}}function _e(e){(!e.__d&&(e.__d=!0)&&z.push(e)&&!K.__r++||ze!==p.debounceRendering)&&((ze=p.debounceRendering)||He)(K)}function K(){var e,t,r,n,o,i,a,l;for(z.sort(se);e=z.shift();)e.__d&&(t=z.length,n=void 0,i=(o=(r=e).__v).__e,a=[],l=[],r.__P&&((n=E({},o)).__v=o.__v+1,p.vnode&&p.vnode(n),fe(r.__P,n,o,r.__n,r.__P.namespaceURI,32&o.__u?[i]:null,a,i??H(o),!!(32&o.__u),l),n.__v=o.__v,n.__.__k[n.__i]=n,Ve(a,n,l),n.__e!=i&&Me(n)),z.length>t&&z.sort(se));K.__r=0}function Ue(e,t,r,n,o,i,a,l,u,c,f){var s,d,_,b,x,g=n&&n.__k||Ae,w=t.length;for(r.__d=u,Ut(r,t,g),u=r.__d,s=0;s<w;s++)(_=r.__k[s])!=null&&typeof _!="boolean"&&typeof _!="function"&&(d=_.__i===-1?U:g[_.__i]||U,_.__i=s,fe(e,_,d,o,i,a,l,u,c,f),b=_.__e,_.ref&&d.ref!=_.ref&&(d.ref&&pe(d.ref,null,_),f.push(_.ref,_.__c||b,_)),x==null&&b!=null&&(x=b),65536&_.__u||d.__k===_.__k?(u&&!u.isConnected&&(u=H(d)),u=Ie(_,u,e)):typeof _.type=="function"&&_.__d!==void 0?u=_.__d:b&&(u=b.nextSibling),_.__d=void 0,_.__u&=-196609);r.__d=u,r.__e=x}function Ut(e,t,r){var n,o,i,a,l,u=t.length,c=r.length,f=c,s=0;for(e.__k=[],n=0;n<u;n++)a=n+s,(o=e.__k[n]=(o=t[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?I(null,o,null,null,null):J(o)?I(S,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?I(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,l=It(o,r,a,f),o.__i=l,i=null,l!==-1&&(f--,(i=r[l])&&(i.__u|=131072)),i==null||i.__v===null?(l==-1&&s--,typeof o.type!="function"&&(o.__u|=65536)):l!==a&&(l===a+1?s++:l>a?f>u-a?s+=l-a:s--:l<a?l==a-1&&(s=l-a):s=0,l!==n+s&&(o.__u|=65536))):(i=r[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=H(i)),de(i,i,!1),r[a]=null,f--);if(f)for(n=0;n<c;n++)(i=r[n])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=H(i)),de(i,i))}function Ie(e,t,r){var n,o;if(typeof e.type=="function"){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,t=Ie(n[o],t,r));return t}e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function O(e,t){return t=t||[],e==null||typeof e=="boolean"||(J(e)?e.some(function(r){O(r,t)}):t.push(e)),t}function It(e,t,r,n){var o=e.key,i=e.type,a=r-1,l=r+1,u=t[r];if(u===null||u&&o==u.key&&i===u.type&&!(131072&u.__u))return r;if(n>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||l<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(l<t.length){if((u=t[l])&&!(131072&u.__u)&&o==u.key&&i===u.type)return l;l++}}return-1}function De(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Lt.test(t)?r:r+"px"}function Y(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||De(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||De(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n?r.u=n.u:(r.u=le,e.addEventListener(t,i?ue:ce,i)):e.removeEventListener(t,i?ue:ce,i);else{if(o=="http://www.w3.org/2000/svg")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!="rowSpan"&&t!="colSpan"&&t!="role"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function Re(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=le++;else if(t.t<r.u)return;return r(p.event?p.event(t):t)}}}function fe(e,t,r,n,o,i,a,l,u,c){var f,s,d,_,b,x,g,w,y,j,oe,G,At,ie,Ne,k=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),i=[l=t.__e=r.__e]),(f=p.__b)&&f(t);e:if(typeof k=="function")try{if(w=t.props,y=(f=k.contextType)&&n[f.__c],j=f?y?y.props.value:f.__:n,r.__c?g=(s=t.__c=r.__c).__=s.__E:("prototype"in k&&k.prototype.render?t.__c=s=new k(w,j):(t.__c=s=new C(w,j),s.constructor=k,s.render=Rt),y&&y.sub(s),s.props=w,s.state||(s.state={}),s.context=j,s.__n=n,d=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),k.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=E({},s.__s)),E(s.__s,k.getDerivedStateFromProps(w,s.__s))),_=s.props,b=s.state,s.__v=t,d)k.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(k.getDerivedStateFromProps==null&&w!==_&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(w,j),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(w,s.__s,j)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(s.props=w,s.state=s.__s,s.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(ae){ae&&(ae.__=t)}),oe=0;oe<s._sb.length;oe++)s.__h.push(s._sb[oe]);s._sb=[],s.__h.length&&a.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(w,s.__s,j),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(_,b,x)})}if(s.context=j,s.props=w,s.__P=e,s.__e=!1,G=p.__r,At=0,"prototype"in k&&k.prototype.render){for(s.state=s.__s,s.__d=!1,G&&G(t),f=s.render(s.props,s.state,s.context),ie=0;ie<s._sb.length;ie++)s.__h.push(s._sb[ie]);s._sb=[]}else do s.__d=!1,G&&G(t),f=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++At<25);s.state=s.__s,s.getChildContext!=null&&(n=E(E({},n),s.getChildContext())),d||s.getSnapshotBeforeUpdate==null||(x=s.getSnapshotBeforeUpdate(_,b)),Ue(e,J(Ne=f!=null&&f.type===S&&f.key==null?f.props.children:f)?Ne:[Ne],t,r,n,o,i,a,l,u,c),s.base=t.__e,t.__u&=-161,s.__h.length&&a.push(s),g&&(s.__E=s.__=null)}catch(ae){t.__v=null,u||i!=null?(t.__e=l,t.__u|=u?160:32,i[i.indexOf(l)]=null):(t.__e=r.__e,t.__k=r.__k),p.__e(ae,t,r)}else i==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Dt(r.__e,t,r,n,o,i,a,u,c);(f=p.diffed)&&f(t)}function Ve(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)pe(r[n],r[++n],r[++n]);p.__c&&p.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){p.__e(i,o.__v)}})}function Dt(e,t,r,n,o,i,a,l,u){var c,f,s,d,_,b,x,g=r.props,w=t.props,y=t.type;if(y==="svg"?o="http://www.w3.org/2000/svg":y==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(c=0;c<i.length;c++)if((_=i[c])&&"setAttribute"in _==!!y&&(y?_.localName===y:_.nodeType===3)){e=_,i[c]=null;break}}if(e==null){if(y===null)return document.createTextNode(w);e=document.createElementNS(o,y,w.is&&w),i=null,l=!1}if(y===null)g===w||l&&e.data===w||(e.data=w);else{if(i=i&&M.call(e.childNodes),g=r.props||U,!l&&i!=null)for(g={},c=0;c<e.attributes.length;c++)g[(_=e.attributes[c]).name]=_.value;for(c in g)if(_=g[c],c!="children"){if(c=="dangerouslySetInnerHTML")s=_;else if(c!=="key"&&!(c in w)){if(c=="value"&&"defaultValue"in w||c=="checked"&&"defaultChecked"in w)continue;Y(e,c,null,_,o)}}for(c in w)_=w[c],c=="children"?d=_:c=="dangerouslySetInnerHTML"?f=_:c=="value"?b=_:c=="checked"?x=_:c==="key"||l&&typeof _!="function"||g[c]===_||Y(e,c,_,g[c],o);if(f)l||s&&(f.__html===s.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(s&&(e.innerHTML=""),Ue(e,J(d)?d:[d],t,r,n,y==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:r.__k&&H(r,0),l,u),i!=null)for(c=i.length;c--;)i[c]!=null&&Le(i[c]);l||(c="value",b!==void 0&&(b!==e[c]||y==="progress"&&!b||y==="option"&&b!==g[c])&&Y(e,c,b,g[c],o),c="checked",x!==void 0&&x!==e[c]&&Y(e,c,x,g[c],o))}return e}function pe(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){p.__e(n,r)}}function de(e,t,r){var n,o;if(p.unmount&&p.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||pe(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){p.__e(i,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&de(n[o],t,r||typeof e.type!="function");r||e.__e==null||Le(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Rt(e,t,r){return this.constructor(e,r)}function $(e,t,r){var n,o,i,a;p.__&&p.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,i=[],a=[],fe(t,e=(!n&&r||t).__k=v(S,null,[e]),o||U,U,t.namespaceURI,!n&&r?[r]:o?null:t.firstChild?M.call(t.childNodes):null,i,!n&&r?r:o?o.__e:t.firstChild,n,a),Ve(i,e,a)}function he(e,t){$(e,t,he)}function we(e,t,r){var n,o,i,a,l=E({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?n=t[i]:i=="ref"?o=t[i]:l[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?M.call(arguments,2):r),I(e.type,l,n||e.key,o||e.ref,null)}function Vt(e,t){var r={__c:t="__cC"+Te++,__: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(a){this.props.value!==a.value&&o.some(function(l){l.__e=!0,_e(l)})},this.sub=function(a){o.push(a);var l=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),l&&l.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}M=Ae.slice,p={__e:function(e,t,r,n){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),a=o.__d),a)return o.__E=o}catch(l){e=l}throw e}},je=0,C.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=E({},this.state),typeof e=="function"&&(e=e(E({},r),this.props)),e&&E(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),_e(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_e(this))},C.prototype.render=S,z=[],He=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,se=function(e,t){return e.__v.__b-t.__v.__b},K.__r=0,le=0,ce=Re(!1),ue=Re(!0),Te=0;var N,h,me,Fe,T=0,We=[],Z=[],m=p,qe=m.__b,Be=m.__r,Ge=m.diffed,Je=m.__c,Ke=m.unmount,Ye=m.__;function A(e,t){m.__h&&m.__h(h,e,T||t),T=0;var r=h.__H||(h.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Z}),r.__[e]}function ve(e){return T=1,be(ot,e)}function be(e,t,r){var n=A(N++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):ot(void 0,t),function(l){var u=n.__N?n.__N[0]:n.__[0],c=n.t(u,l);u!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=h,!h.u)){var o=function(l,u,c){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(d){return!!d.__c});if(f.every(function(d){return!d.__N}))return!i||i.call(this,l,u,c);var s=!1;return f.forEach(function(d){if(d.__N){var _=d.__[0];d.__=d.__N,d.__N=void 0,_!==d.__[0]&&(s=!0)}}),!(!s&&n.__c.props===l)&&(!i||i.call(this,l,u,c))};h.u=!0;var i=h.shouldComponentUpdate,a=h.componentWillUpdate;h.componentWillUpdate=function(l,u,c){if(this.__e){var f=i;i=void 0,o(l,u,c),i=f}a&&a.call(this,l,u,c)},h.shouldComponentUpdate=o}return n.__N||n.__}function ge(e,t){var r=A(N++,3);!m.__s&&ke(r.__H,t)&&(r.__=e,r.i=t,h.__H.__h.push(r))}function D(e,t){var r=A(N++,4);!m.__s&&ke(r.__H,t)&&(r.__=e,r.i=t,h.__h.push(r))}function Ze(e){return T=5,X(function(){return{current:e}},[])}function Xe(e,t,r){T=6,D(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 X(e,t){var r=A(N++,7);return ke(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Qe(e,t){return T=8,X(function(){return e},t)}function et(e){var t=h.context[e.__c],r=A(N++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(h)),t.props.value):e.__}function tt(e,t){m.useDebugValue&&m.useDebugValue(t?t(e):e)}function rt(){var e=A(N++,11);if(!e.__){for(var t=h.__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 Ft(){for(var e;e=We.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Q),e.__H.__h.forEach(ye),e.__H.__h=[]}catch(t){e.__H.__h=[],m.__e(t,e.__v)}}m.__b=function(e){h=null,qe&&qe(e)},m.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ye&&Ye(e,t)},m.__r=function(e){Be&&Be(e),N=0;var t=(h=e.__c).__H;t&&(me===h?(t.__h=[],h.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Z,r.__N=r.i=void 0})):(t.__h.forEach(Q),t.__h.forEach(ye),t.__h=[],N=0)),me=h},m.diffed=function(e){Ge&&Ge(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(We.push(t)!==1&&Fe===m.requestAnimationFrame||((Fe=m.requestAnimationFrame)||Wt)(Ft)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Z&&(r.__=r.__V),r.i=void 0,r.__V=Z})),me=h=null},m.__c=function(e,t){t.some(function(r){try{r.__h.forEach(Q),r.__h=r.__h.filter(function(n){return!n.__||ye(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],m.__e(n,r.__v)}}),Je&&Je(e,t)},m.unmount=function(e){Ke&&Ke(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Q(n)}catch(o){t=o}}),r.__H=void 0,t&&m.__e(t,r.__v))};var nt=typeof requestAnimationFrame=="function";function Wt(e){var t,r=function(){clearTimeout(n),nt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);nt&&(t=requestAnimationFrame(r))}function Q(e){var t=h,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),h=t}function ye(e){var t=h;e.__c=e.__(),h=t}function ke(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ot(e,t){return typeof t=="function"?t(e):t}function it(e,t){for(var r in t)e[r]=t[r];return e}function xe(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 Ce(e,t){this.props=e,this.context=t}function qt(e,t){function r(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:xe(this.props,o)}function n(o){return this.shouldComponentUpdate=r,v(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(Ce.prototype=new C).isPureReactComponent=!0,Ce.prototype.shouldComponentUpdate=function(e,t){return xe(this.props,e)||xe(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 Bt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Gt(e){function t(r){var n=it({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=Bt,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:O(O(e).map(t))},Jt={map:st,forEach:st,count:function(e){return e?O(e).length:0},only:function(e){var t=O(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:O},Kt=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)}Kt(e,t,r,n)};var lt=p.unmount;function ct(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=it({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return ct(n,t,r)})),e}function ut(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return ut(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function ee(){this.__u=0,this.t=null,this.__b=null}function _t(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Yt(e){var t,r,n;function o(i){if(t||(t=e()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw t;return v(r,i)}return o.displayName="Lazy",o.__f=!0,o}function R(){this.u=null,this.o=null}p.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),lt&<(e)},(ee.prototype=new C).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=_t(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(l):l())};r.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var u=n.state.__a;n.__v.__k[0]=ut(u,u.__c.__P,u.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.t.pop();)c.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},ee.prototype.componentWillUnmount=function(){this.t=[]},ee.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]=ct(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&v(S,null,e.fallback);return o&&(o.__u&=-33),[v(S,null,t.__a?null:e.children),o]};var ft=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 Zt(e){return this.getChildContext=function(){return e.context},e.children}function Xt(e){var t=this,r=e.i;t.componentWillUnmount=function(){$(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),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)}}),$(v(Zt,{context:t.context},e.__v),t.l)}function Qt(e,t){var r=v(Xt,{__v:e,i:t});return r.containerInfo=t,r}(R.prototype=new C).__a=function(e){var t=this,r=_t(t.__v),n=t.o.get(e);return n[0]++,function(o){var i=function(){t.props.revealOrder?(n.push(o),ft(t,e,n)):o()};r?r(i):i()}},R.prototype.render=function(e){this.u=null,this.o=new Map;var t=O(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},R.prototype.componentDidUpdate=R.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){ft(e,r,t)})};var pt=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,er=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|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)/,rr=/[A-Z0-9]/g,nr=typeof document<"u",or=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ir(e,t,r){return t.__k==null&&(t.textContent=""),$(e,t),typeof r=="function"&&r(),e?e.__c:null}function ar(e,t,r){return he(e,t),typeof r=="function"&&r(),e?e.__c:null}C.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(C.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var dt=p.event;function sr(){}function lr(){return this.cancelBubble}function cr(){return this.defaultPrevented}p.event=function(e){return dt&&(e=dt(e)),e.persist=sr,e.isPropagationStopped=lr,e.isDefaultPrevented=cr,e.nativeEvent=e};var Ee,ur={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 a=r[i];if(!(i==="value"&&"defaultValue"in r&&a==null||nr&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||or(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":tr.test(i)?i=l:n.indexOf("-")===-1&&er.test(i)?i=i.replace(rr,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=a}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=O(r.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=O(r.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",ur)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=pt,ht&&ht(e)};var wt=p.__r;p.__r=function(e){wt&&wt(e),Ee=e.__c};var mt=p.diffed;p.diffed=function(e){mt&&mt(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),Ee=null};var _r={ReactCurrentDispatcher:{current:{readContext:function(e){return Ee.__n[e.__c].props.value},useCallback:Qe,useContext:et,useDebugValue:tt,useDeferredValue:bt,useEffect:ge,useId:rt,useImperativeHandle:Xe,useInsertionEffect:yt,useLayoutEffect:D,useMemo:X,useReducer:be,useRef:Ze,useState:ve,useSyncExternalStore:kt,useTransition:gt}}};function fr(e){return v.bind(null,e)}function te(e){return!!e&&e.$$typeof===pt}function pr(e){return te(e)&&e.type===S}function dr(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function hr(e){return te(e)?we.apply(null,arguments):e}function wr(e){return!!e.__k&&($(null,e),!0)}function mr(e){return e&&(e.base||e.nodeType===1&&e)||null}var vr=function(e,t){return e(t)},br=function(e,t){return e(t)},gr=S;function vt(e){e()}function bt(e){return e}function gt(){return[!1,vt]}var yt=D,yr=te;function kt(e,t){var r=t(),n=ve({h:{__:r,v:t}}),o=n[0].h,i=n[1];return D(function(){o.__=r,o.v=t,Se(o)&&i({h:o})},[e,r,t]),ge(function(){return Se(o)&&i({h:o}),e(function(){Se(o)&&i({h:o})})},[e]),r}function Se(e){var t,r,n=e.v,o=e.__;try{var i=n();return!((t=o)===(r=i)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var kr={useState:ve,useId:rt,useReducer:be,useEffect:ge,useLayoutEffect:D,useInsertionEffect:yt,useTransition:gt,useDeferredValue:bt,useSyncExternalStore:kt,startTransition:vt,useRef:Ze,useImperativeHandle:Xe,useMemo:X,useCallback:Qe,useContext:et,useDebugValue:tt,version:"17.0.2",Children:Jt,render:ir,hydrate:ar,unmountComponentAtNode:wr,createPortal:Qt,createElement:v,createContext:Vt,createFactory:fr,cloneElement:hr,createRef:Mt,Fragment:S,isValidElement:te,isElement:yr,isFragment:pr,isMemo:dr,findDOMNode:mr,Component:C,PureComponent:Ce,memo:qt,forwardRef:Gt,flushSync:br,unstable_batchedUpdates:vr,StrictMode:gr,Suspense:ee,SuspenseList:R,lazy:Yt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_r};const xr=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));function V(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Cr(e){return e!=null&&typeof e.GetEnumerator=="function"}function Er(e){return e!=null&&typeof e.CompareTo=="function"}function Sr(e){return e!=null&&typeof e.Equals=="function"}function Or(e){return e!=null&&typeof e.GetHashCode=="function"}function re(){return null}function xt(e,t){var r,n;return((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===((n=Object.getPrototypeOf(t))==null?void 0:n.constructor)}class $r{constructor(t){this.iter=t,this.current=re()}"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 Ct(e){return Cr(e)?e.GetEnumerator():new $r(e[Symbol.iterator]())}function Nr(e){return{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 Et(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}class P{static id(t){return P.idMap.has(t)||P.idMap.set(t,++P.count),P.idMap.get(t)}}P.idMap=new WeakMap,P.count=0;function St(e){let t=0,r=5381;const n=e.length;for(;t<n;)r=r*33^e.charCodeAt(t++);return r}function Ot(e){return e*2654435761|0}function Pr(e){return St(e.toString(32))}function Oe(e){let t=0;const r=e.length;for(let n=0;n<r;n++){const o=e[n];t=(t<<5)+t^o}return t}function jr(e){return e.getTime()}function zr(e){const t=e.length,r=new Array(t);for(let n=0;n<t;n++)r[n]=F(e[n]);return Oe(r)}function F(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ot(e);case"bigint":return Pr(e);case"string":return St(e);default:{if(Or(e))return e.GetHashCode();if(V(e))return zr(e);if(e instanceof Date)return jr(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const r=Object.values(e).map(n=>F(n));return Oe(r)}else return Ot(P.id(e))}}}function Hr(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 Tr(e,t){return Hr(e,t,W)}function Ar(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]||!W(e[r[o]],t[n[o]]))return!1;return!0}function W(e,t){var r;return e===t?!0:e==null?t==null:t==null?!1:Sr(e)?e.Equals(t):V(e)?V(t)&&Tr(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&$t(e,t)===0:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object&&Ar(e,t)}function $t(e,t){let r,n;return"offset"in e&&"offset"in t?(r=e.getTime(),n=t.getTime()):(r=e.getTime()+Et(e),n=t.getTime()+Et(t)),r===n?0:r<n?-1:1}function Lr(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 Mr(e,t){return Lr(e,t,q)}function Ur(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 a=r[o];if(a!==n[o])return a<n[o]?-1:1;if(i=q(e[a],t[a]),i!==0)return i}return 0}function q(e,t){var r;return e===t?0:e==null?t==null?0:-1:t==null?1:Er(e)?e.CompareTo(t):V(e)?V(t)?Mr(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?$t(e,t):-1:((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)===Object?Ur(e,t):-1}function Ir(e){const t={};for(const r of e)t[r[0]]=r[1];return t}function Dr(e){let t=0,r="[";for(const n of e){if(t===0)r+=B(n);else if(t===100){r+="; ...";break}else r+="; "+B(n);t++}return r+"]"}function B(e,t=0){var r;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return Dr(e);{const n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([o,i])=>o+" = "+B(i,t+1)).join(`
|
|
3
|
-
`)+" }":(
|
|
4
|
-
`)+" }"}function Fr(e){const t=Object.values(e).map(r=>F(r));return Oe(t)}function Wr(e,t){if(e===t)return!0;if(xt(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++)if(!W(e[r[n]],t[r[n]]))return!1;return!0}else return!1}function qr(e,t){if(e===t)return 0;if(xt(e,t)){const r=Object.keys(e);for(let n=0;n<r.length;n++){const o=q(e[r[n]],t[r[n]]);if(o!==0)return o}return 0}else return-1}class Br{toJSON(){return Rr(this)}toString(){return Vr(this)}GetHashCode(){return Fr(this)}Equals(t){return Wr(this,t)}CompareTo(t){return qr(this,t)}}const Gr=B(xr);class ne{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return F(this.value)}Equals(t){return t==null?!1:W(this.value,t instanceof ne?t.value:t)}CompareTo(t){return t==null?1:q(this.value,t instanceof ne?t.value:t)}}function L(e){if(e==null)throw new Error("Option has no value");return e instanceof ne?e.value:e}function Jr(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Kr(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}const Nt=kr;class Pt extends Br{constructor(t,r){super(),this.head=t,this.tail=r}toString(){return"["+Jr("; ",this)+"]"}Equals(t){const r=this;return r===t?!0:((o,i)=>{e:for(;;){const a=o,l=i,u=a.tail,c=l.tail;if(u!=null)if(c!=null){const f=L(u),s=L(c);if(W(a.head,l.head)){o=f,i=s;continue e}else return!1}else return!1;else return c==null}})(r,t)}GetHashCode(){return((n,o,i)=>{e:for(;;){const a=n,l=o,u=i,c=u.tail;if(c!=null){const f=L(c);if(a>18)return l|0;n=a+1,o=(l<<1)+F(u.head)+631*a,i=f;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 a=o,l=i,u=a.tail,c=l.tail;if(u!=null)if(c!=null){const f=L(u),s=L(c),d=q(a.head,l.head)|0;if(d===0){o=f,i=s;continue e}else return d|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return Zr(this)}[Symbol.iterator](){return Nr(Ct(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Ct(this)}}class Yr{constructor(t){this.xs=t,this.it=this.xs,this.current=re()}"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=L(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=re()}Dispose(){}}function Zr(e){return new Yr(e)}function jt(){return new Pt(re(),void 0)}function zt(e,t){return new Pt(e,t)}function Xr(e){return zt(e,jt())}function Qr(e,t){let r=t;for(let n=e.length-1;n>=0;n--)r=zt(Kr(n,e),r);return r}function en(e){return Qr(e,jt())}function $e(){return($e=Object.assign?Object.assign.bind():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)}var tn=["context","children"];function rn(e){this.getChildContext=function(){return e.context};var t=e.children,r=function(n,o){if(n==null)return{};var i,a,l={},u=Object.keys(n);for(a=0;a<u.length;a++)o.indexOf(i=u[a])>=0||(l[i]=n[i]);return l}(e,tn);return we(t,r)}function nn(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=v(rn,$e({},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={},a=0,l=r.attributes,u=r.childNodes;for(a=l.length;a--;)l[a].name!=="slot"&&(i[l[a].name]=l[a].value,i[Ht(l[a].name)]=l[a].value);for(a=u.length;a--;){var c=t(u[a],null),f=u[a].slot;f?i[f]=v(Tt,{name:f},c):o[a]=c}var s=n?v(Tt,null,o):o;return v(n||r.nodeName.toLowerCase(),i,s)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?he:$)(this._vdom,this._root)}function Ht(e){return e.replace(/-(\w)/g,function(t,r){return r?r.toUpperCase():""})}function on(e,t,r){if(this._vdom){var n={};n[e]=r=r??void 0,n[Ht(e)]=r,this._vdom=we(this._vdom,n),$(this._vdom,this._root)}}function an(){$(this._vdom=null,this._root)}function Tt(e,t){var r=this;return v("slot",$e({},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 sn(e,t,r,n){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=nn,o.prototype.attributeChangedCallback=on,o.prototype.disconnectedCallback=an,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(a){this._vdom?this.attributeChangedCallback(i,null,a):(this._props||(this._props={}),this._props[i]=a,this.connectedCallback());var l=typeof a;a!=null&&l!=="string"&&l!=="boolean"&&l!=="number"||this.setAttribute(i,a)}})}),customElements.define(t,o)}function ln(e,t){sn(e,t)}function cn(e){let t;const r=en([v("style",{children:[Gr]}),v("div",Ir(Xr((t=[v("h2",{className:"font-bold text-gray-900 text-2xl",children:"Hello, world."}),v("div",{children:[e.accessToken]}),v("div",{children:[e.backendUrl]})],["children",Nt.Children.toArray(Array.from(t))]))))]);return v("div",{children:Nt.Children.toArray(Array.from(r))})}ln(e=>v(cn,e),"superhero-import-app")})();
|
|
1
|
+
(function(){"use strict";var Ko=document.createElement("style");Ko.textContent=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-variation-settings:normal;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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}dialog{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],input:where(:not([type])),[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,input:where(:not([type])):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;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-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],[size]:where(select:not([size="1"])){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")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[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")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[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}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.z-10{z-index:10}.m-2{margin:.5rem}.-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}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.min-h-full{min-height:100%}.w-full{width:100%}.min-w-full{min-width:100%}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.flex-wrap{flex-wrap:wrap}.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))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.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}.text-justify{text-align:justify}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.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))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.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)}.outline{outline-style:solid}.ring{--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(3px + 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-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}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.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}}
|
|
2
|
+
`,document.head.appendChild(Ko);var un,R,Xo,bt,Yo,ei,Cr,Er,kr,Dr,ti,fn={},ni=[],jl=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Nn=Array.isArray;function st(e,t){for(var n in t)e[n]=t[n];return e}function ri(e){var t=e.parentNode;t&&t.removeChild(e)}function p(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?un.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 dn(e,s,r,o,null)}function dn(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,constructor:void 0,__v:o??++Xo,__i:-1,__u:0};return o==null&&R.vnode!=null&&R.vnode(i),i}function oi(){return{current:null}}function ve(e){return e.children}function He(e,t){this.props=e,this.context=t}function vt(e,t){if(t==null)return e.__?vt(e.__,e.__i+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"?vt(e):null}function ii(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 ii(e)}}function Ir(e){(!e.__d&&(e.__d=!0)&&bt.push(e)&&!Bn.__r++||Yo!==R.debounceRendering)&&((Yo=R.debounceRendering)||ei)(Bn)}function Bn(){var e,t,n,r,o,i,s,a;for(bt.sort(Cr);e=bt.shift();)e.__d&&(t=bt.length,r=void 0,i=(o=(n=e).__v).__e,s=[],a=[],n.__P&&((r=st({},o)).__v=o.__v+1,R.vnode&&R.vnode(r),Tr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,s,i??vt(o),!!(32&o.__u),a),r.__v=o.__v,r.__.__k[r.__i]=r,ui(s,r,a),r.__e!=i&&ii(r)),bt.length>t&&bt.sort(Cr));Bn.__r=0}function si(e,t,n,r,o,i,s,a,u,l,f){var c,m,d,g,_,w=r&&r.__k||ni,y=t.length;for(n.__d=u,Hl(n,t,w),u=n.__d,c=0;c<y;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(m=d.__i===-1?fn:w[d.__i]||fn,d.__i=c,Tr(e,d,m,o,i,s,a,u,l,f),g=d.__e,d.ref&&m.ref!=d.ref&&(m.ref&&Rr(m.ref,null,d),f.push(d.ref,d.__c||g,d)),_==null&&g!=null&&(_=g),65536&d.__u||m.__k===d.__k?(u&&!u.isConnected&&(u=vt(m)),u=ai(d,u,e)):typeof d.type=="function"&&d.__d!==void 0?u=d.__d:g&&(u=g.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=_}function Hl(e,t,n){var r,o,i,s,a,u=t.length,l=n.length,f=l,c=0;for(e.__k=[],r=0;r<u;r++)s=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?dn(null,o,null,null,null):Nn(o)?dn(ve,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?dn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,a=$l(o,n,s,f),o.__i=a,i=null,a!==-1&&(f--,(i=n[a])&&(i.__u|=131072)),i==null||i.__v===null?(a==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):a!==s&&(a===s+1?c++:a>s?f>u-s?c+=a-s:c--:a<s?a==s-1&&(c=a-s):c=0,a!==r+c&&(o.__u|=65536))):(i=n[s])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=vt(i)),Mr(i,i,!1),n[s]=null,f--);if(f)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=vt(i)),Mr(i,i))}function ai(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=ai(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function at(e,t){return t=t||[],e==null||typeof e=="boolean"||(Nn(e)?e.some(function(n){at(n,t)}):t.push(e)),t}function $l(e,t,n,r){var o=e.key,i=e.type,s=n-1,a=n+1,u=t[n];if(u===null||u&&o==u.key&&i===u.type&&!(131072&u.__u))return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s--}if(a<t.length){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a++}}return-1}function li(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||jl.test(t)?n:n+"px"}function jn(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||li(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||li(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Er,e.addEventListener(t,i?Dr:kr,i)):e.removeEventListener(t,i?Dr:kr,i);else{if(o=="http://www.w3.org/2000/svg")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!="rowSpan"&&t!="colSpan"&&t!="role"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function ci(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Er++;else if(t.t<n.u)return;return n(R.event?R.event(t):t)}}}function Tr(e,t,n,r,o,i,s,a,u,l){var f,c,m,d,g,_,w,y,S,I,ue,ee,gt,ye,Ke,K=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[a=t.__e=n.__e]),(f=R.__b)&&f(t);e:if(typeof K=="function")try{if(y=t.props,S=(f=K.contextType)&&r[f.__c],I=f?S?S.props.value:f.__:r,n.__c?w=(c=t.__c=n.__c).__=c.__E:("prototype"in K&&K.prototype.render?t.__c=c=new K(y,I):(t.__c=c=new He(y,I),c.constructor=K,c.render=Ul),S&&S.sub(c),c.props=y,c.state||(c.state={}),c.context=I,c.__n=r,m=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),K.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=st({},c.__s)),st(c.__s,K.getDerivedStateFromProps(y,c.__s))),d=c.props,g=c.state,c.__v=t,m)K.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(K.getDerivedStateFromProps==null&&y!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(y,I),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(y,c.__s,I)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=y,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(it){it&&(it.__=t)}),ue=0;ue<c._sb.length;ue++)c.__h.push(c._sb[ue]);c._sb=[],c.__h.length&&s.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(y,c.__s,I),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,g,_)})}if(c.context=I,c.props=y,c.__P=e,c.__e=!1,ee=R.__r,gt=0,"prototype"in K&&K.prototype.render){for(c.state=c.__s,c.__d=!1,ee&&ee(t),f=c.render(c.props,c.state,c.context),ye=0;ye<c._sb.length;ye++)c.__h.push(c._sb[ye]);c._sb=[]}else do c.__d=!1,ee&&ee(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++gt<25);c.state=c.__s,c.getChildContext!=null&&(r=st(st({},r),c.getChildContext())),m||c.getSnapshotBeforeUpdate==null||(_=c.getSnapshotBeforeUpdate(d,g)),si(e,Nn(Ke=f!=null&&f.type===ve&&f.key==null?f.props.children:f)?Ke:[Ke],t,n,r,o,i,s,a,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&s.push(c),w&&(c.__E=c.__=null)}catch(it){t.__v=null,u||i!=null?(t.__e=a,t.__u|=u?160:32,i[i.indexOf(a)]=null):(t.__e=n.__e,t.__k=n.__k),R.__e(it,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Vl(n.__e,t,n,r,o,i,s,u,l);(f=R.diffed)&&f(t)}function ui(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)Rr(n[r],n[++r],n[++r]);R.__c&&R.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){R.__e(i,o.__v)}})}function Vl(e,t,n,r,o,i,s,a,u){var l,f,c,m,d,g,_,w=n.props,y=t.props,S=t.type;if(S==="svg"?o="http://www.w3.org/2000/svg":S==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(l=0;l<i.length;l++)if((d=i[l])&&"setAttribute"in d==!!S&&(S?d.localName===S:d.nodeType===3)){e=d,i[l]=null;break}}if(e==null){if(S===null)return document.createTextNode(y);e=document.createElementNS(o,S,y.is&&y),i=null,a=!1}if(S===null)w===y||a&&e.data===y||(e.data=y);else{if(i=i&&un.call(e.childNodes),w=n.props||fn,!a&&i!=null)for(w={},l=0;l<e.attributes.length;l++)w[(d=e.attributes[l]).name]=d.value;for(l in w)if(d=w[l],l!="children"){if(l=="dangerouslySetInnerHTML")c=d;else if(l!=="key"&&!(l in y)){if(l=="value"&&"defaultValue"in y||l=="checked"&&"defaultChecked"in y)continue;jn(e,l,null,d,o)}}for(l in y)d=y[l],l=="children"?m=d:l=="dangerouslySetInnerHTML"?f=d:l=="value"?g=d:l=="checked"?_=d:l==="key"||a&&typeof d!="function"||w[l]===d||jn(e,l,d,w[l],o);if(f)a||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),si(e,Nn(m)?m:[m],t,n,r,S==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,s,i?i[0]:n.__k&&vt(n,0),a,u),i!=null)for(l=i.length;l--;)i[l]!=null&&ri(i[l]);a||(l="value",g!==void 0&&(g!==e[l]||S==="progress"&&!g||S==="option"&&g!==w[l])&&jn(e,l,g,w[l],o),l="checked",_!==void 0&&_!==e[l]&&jn(e,l,_,w[l],o))}return e}function Rr(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){R.__e(r,n)}}function Mr(e,t,n){var r,o;if(R.unmount&&R.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Rr(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){R.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Mr(r[o],t,n||typeof e.type!="function");n||e.__e==null||ri(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Ul(e,t,n){return this.constructor(e,n)}function wt(e,t,n){var r,o,i,s;R.__&&R.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],s=[],Tr(t,e=(!r&&n||t).__k=p(ve,null,[e]),o||fn,fn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?un.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,s),ui(i,e,s)}function Fr(e,t){wt(e,t,Fr)}function Or(e,t,n){var r,o,i,s,a=st({},e.props);for(i in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i]===void 0&&s!==void 0?s[i]:t[i];return arguments.length>2&&(a.children=arguments.length>3?un.call(arguments,2):n),dn(e.type,a,r||e.key,o||e.ref,null)}function fi(e,t){var n={__c:t="__cC"+ti++,__: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(a){a.__e=!0,Ir(a)})},this.sub=function(s){o.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){o.splice(o.indexOf(s),1),a&&a.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}un=ni.slice,R={__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(a){e=a}throw e}},Xo=0,He.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=st({},this.state),typeof e=="function"&&(e=e(st({},n),this.props)),e&&st(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Ir(this))},He.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ir(this))},He.prototype.render=ve,bt=[],ei=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Cr=function(e,t){return e.__v.__b-t.__v.__b},Bn.__r=0,Er=0,kr=ci(!1),Dr=ci(!0),ti=0;var lt,j,Pr,di,Ft=0,pi=[],Hn=[],G=R,hi=G.__b,mi=G.__r,gi=G.diffed,wi=G.__c,_i=G.unmount,yi=G.__;function At(e,t){G.__h&&G.__h(j,e,Ft||t),Ft=0;var n=j.__H||(j.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Hn}),n.__[e]}function Ot(e){return Ft=1,pn(vi,e)}function pn(e,t,n){var r=At(lt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):vi(void 0,t),function(a){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,a);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=j,!j.u)){var o=function(a,u,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(m){return!!m.__c});if(f.every(function(m){return!m.__N}))return!i||i.call(this,a,u,l);var c=!1;return f.forEach(function(m){if(m.__N){var d=m.__[0];m.__=m.__N,m.__N=void 0,d!==m.__[0]&&(c=!0)}}),!(!c&&r.__c.props===a)&&(!i||i.call(this,a,u,l))};j.u=!0;var i=j.shouldComponentUpdate,s=j.componentWillUpdate;j.componentWillUpdate=function(a,u,l){if(this.__e){var f=i;i=void 0,o(a,u,l),i=f}s&&s.call(this,a,u,l)},j.shouldComponentUpdate=o}return r.__N||r.__}function _t(e,t){var n=At(lt++,3);!G.__s&&$r(n.__H,t)&&(n.__=e,n.i=t,j.__H.__h.push(n))}function Pt(e,t){var n=At(lt++,4);!G.__s&&$r(n.__H,t)&&(n.__=e,n.i=t,j.__h.push(n))}function xt(e){return Ft=5,$e(function(){return{current:e}},[])}function $n(e,t,n){Ft=6,Pt(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 $e(e,t){var n=At(lt++,7);return $r(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function de(e,t){return Ft=8,$e(function(){return e},t)}function Nr(e){var t=j.context[e.__c],n=At(lt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(j)),t.props.value):e.__}function Br(e,t){G.useDebugValue&&G.useDebugValue(t?t(e):e)}function Ll(e){var t=At(lt++,10),n=Ot();return t.__=e,j.componentDidCatch||(j.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function jr(){var e=At(lt++,11);if(!e.__){for(var t=j.__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 zl(){for(var e;e=pi.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Vn),e.__H.__h.forEach(Hr),e.__H.__h=[]}catch(t){e.__H.__h=[],G.__e(t,e.__v)}}G.__b=function(e){j=null,hi&&hi(e)},G.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),yi&&yi(e,t)},G.__r=function(e){mi&&mi(e),lt=0;var t=(j=e.__c).__H;t&&(Pr===j?(t.__h=[],j.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Hn,n.__N=n.i=void 0})):(t.__h.forEach(Vn),t.__h.forEach(Hr),t.__h=[],lt=0)),Pr=j},G.diffed=function(e){gi&&gi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(pi.push(t)!==1&&di===G.requestAnimationFrame||((di=G.requestAnimationFrame)||Gl)(zl)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Hn&&(n.__=n.__V),n.i=void 0,n.__V=Hn})),Pr=j=null},G.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Vn),n.__h=n.__h.filter(function(r){return!r.__||Hr(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],G.__e(r,n.__v)}}),wi&&wi(e,t)},G.unmount=function(e){_i&&_i(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Vn(r)}catch(o){t=o}}),n.__H=void 0,t&&G.__e(t,n.__v))};var bi=typeof requestAnimationFrame=="function";function Gl(e){var t,n=function(){clearTimeout(r),bi&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);bi&&(t=requestAnimationFrame(n))}function Vn(e){var t=j,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),j=t}function Hr(e){var t=j;e.__c=e.__(),j=t}function $r(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function vi(e,t){return typeof t=="function"?t(e):t}function Ai(e,t){for(var n in t)e[n]=t[n];return e}function Vr(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 Un(e,t){this.props=e,this.context=t}function xi(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:Vr(this.props,o)}function r(o){return this.shouldComponentUpdate=n,p(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Un.prototype=new He).isPureReactComponent=!0,Un.prototype.shouldComponentUpdate=function(e,t){return Vr(this.props,e)||Vr(this.state,t)};var Si=R.__b;R.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Si&&Si(e)};var Ql=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ur(e){function t(n){var r=Ai({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ql,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ci=function(e,t){return e==null?null:at(at(e).map(t))},Ei={map:Ci,forEach:Ci,count:function(e){return e?at(e).length:0},only:function(e){var t=at(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:at},Wl=R.__e;R.__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)}Wl(e,t,n,r)};var ki=R.unmount;function Di(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=Ai({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Di(r,t,n)})),e}function Ii(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ii(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function hn(){this.__u=0,this.t=null,this.__b=null}function Ti(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ri(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 p(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Nt(){this.u=null,this.o=null}R.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ki&&ki(e)},(hn.prototype=new He).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ti(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Ii(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},hn.prototype.componentWillUnmount=function(){this.t=[]},hn.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]=Di(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&p(ve,null,e.fallback);return o&&(o.__u&=-33),[p(ve,null,t.__a?null:e.children),o]};var Mi=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 Jl(e){return this.getChildContext=function(){return e.context},e.children}function Zl(e){var t=this,n=e.i;t.componentWillUnmount=function(){wt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),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)}}),wt(p(Jl,{context:t.context},e.__v),t.l)}function Fi(e,t){var n=p(Zl,{__v:e,i:t});return n.containerInfo=t,n}(Nt.prototype=new He).__a=function(e){var t=this,n=Ti(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Mi(t,e,r)):o()};n?n(i):i()}},Nt.prototype.render=function(e){this.u=null,this.o=new Map;var t=at(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},Nt.prototype.componentDidUpdate=Nt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Mi(e,n,t)})};var Oi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ql=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|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]/,Kl=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Xl=/[A-Z0-9]/g,Yl=typeof document<"u",ec=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Pi(e,t,n){return t.__k==null&&(t.textContent=""),wt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ni(e,t,n){return Fr(e,t),typeof n=="function"&&n(),e?e.__c:null}He.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(He.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Bi=R.event;function tc(){}function nc(){return this.cancelBubble}function rc(){return this.defaultPrevented}R.event=function(e){return Bi&&(e=Bi(e)),e.persist=tc,e.isPropagationStopped=nc,e.isDefaultPrevented=rc,e.nativeEvent=e};var Lr,oc={enumerable:!1,configurable:!0,get:function(){return this.class}},ji=R.vnode;R.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||Yl&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var a=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&s===!0?s="":a==="translate"&&s==="no"?s=!1:a==="ondoubleclick"?i="ondblclick":a!=="onchange"||r!=="input"&&r!=="textarea"||ec(n.type)?a==="onfocus"?i="onfocusin":a==="onblur"?i="onfocusout":Kl.test(i)?i=a:r.indexOf("-")===-1&&ql.test(i)?i=i.replace(Xl,"-$&").toLowerCase():s===null&&(s=void 0):a=i="oninput",a==="oninput"&&o[i=a]&&(i="oninputCapture"),o[i]=s}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=at(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=at(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",oc)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Oi,ji&&ji(e)};var Hi=R.__r;R.__r=function(e){Hi&&Hi(e),Lr=e.__c};var $i=R.diffed;R.diffed=function(e){$i&&$i(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),Lr=null};var Vi={ReactCurrentDispatcher:{current:{readContext:function(e){return Lr.__n[e.__c].props.value},useCallback:de,useContext:Nr,useDebugValue:Br,useDeferredValue:Gr,useEffect:_t,useId:jr,useImperativeHandle:$n,useInsertionEffect:Wr,useLayoutEffect:Pt,useMemo:$e,useReducer:pn,useRef:xt,useState:Ot,useSyncExternalStore:Jr,useTransition:Qr}}},ic="17.0.2";function Ui(e){return p.bind(null,e)}function mn(e){return!!e&&e.$$typeof===Oi}function Li(e){return mn(e)&&e.type===ve}function zi(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Gi(e){return mn(e)?Or.apply(null,arguments):e}function Qi(e){return!!e.__k&&(wt(null,e),!0)}function Wi(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ji=function(e,t){return e(t)},Zi=function(e,t){return e(t)},qi=ve;function zr(e){e()}function Gr(e){return e}function Qr(){return[!1,zr]}var Wr=Pt,Ki=mn;function Jr(e,t){var n=t(),r=Ot({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Pt(function(){o.__=n,o.v=t,Zr(o)&&i({h:o})},[e,n,t]),_t(function(){return Zr(o)&&i({h:o}),e(function(){Zr(o)&&i({h:o})})},[e]),n}function Zr(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var qr={useState:Ot,useId:jr,useReducer:pn,useEffect:_t,useLayoutEffect:Pt,useInsertionEffect:Wr,useTransition:Qr,useDeferredValue:Gr,useSyncExternalStore:Jr,startTransition:zr,useRef:xt,useImperativeHandle:$n,useMemo:$e,useCallback:de,useContext:Nr,useDebugValue:Br,version:"17.0.2",Children:Ei,render:Pi,hydrate:Ni,unmountComponentAtNode:Qi,createPortal:Fi,createElement:p,createContext:fi,createFactory:Ui,cloneElement:Gi,createRef:oi,Fragment:ve,isValidElement:mn,isElement:Ki,isFragment:Li,isMemo:zi,findDOMNode:Wi,Component:He,PureComponent:Un,memo:xi,forwardRef:Ur,flushSync:Zi,unstable_batchedUpdates:Ji,StrictMode:qi,Suspense:hn,SuspenseList:Nt,lazy:Ri,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Vi};const sc=Object.freeze(Object.defineProperty({__proto__:null,Children:Ei,Component:He,Fragment:ve,PureComponent:Un,StrictMode:qi,Suspense:hn,SuspenseList:Nt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Vi,cloneElement:Gi,createContext:fi,createElement:p,createFactory:Ui,createPortal:Fi,createRef:oi,default:qr,findDOMNode:Wi,flushSync:Zi,forwardRef:Ur,hydrate:Ni,isElement:Ki,isFragment:Li,isMemo:zi,isValidElement:mn,lazy:Ri,memo:xi,render:Pi,startTransition:zr,unmountComponentAtNode:Qi,unstable_batchedUpdates:Ji,useCallback:de,useContext:Nr,useDebugValue:Br,useDeferredValue:Gr,useEffect:_t,useErrorBoundary:Ll,useId:jr,useImperativeHandle:$n,useInsertionEffect:Wr,useLayoutEffect:Pt,useMemo:$e,useReducer:pn,useRef:xt,useState:Ot,useSyncExternalStore:Jr,useTransition:Qr,version:ic},Symbol.toStringTag,{value:"Module"}));function Ve(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function ac(e){return e!=null&&typeof e.GetEnumerator=="function"}function lc(e){return e!=null&&typeof e.CompareTo=="function"}function cc(e){return e!=null&&typeof e.Equals=="function"}function Xi(e){return e!=null&&typeof e.GetHashCode=="function"}function Kr(e){return e!=null&&typeof e.Dispose=="function"}function z(e){Kr(e)&&e.Dispose()}function St(){return null}function Ln(e,t){var n,r;return((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(t))==null?void 0:r.constructor)}class uc{constructor(t){this.iter=t,this.current=St()}"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 q(e){return ac(e)?e.GetEnumerator():new uc(e[Symbol.iterator]())}function zn(e){return{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 L(e,t){return e.toString(10).padStart(t,"0")}function Yi(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function fc(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function Xe(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class ct{static id(t){return ct.idMap.has(t)||ct.idMap.set(t,++ct.count),ct.idMap.get(t)}}ct.idMap=new WeakMap,ct.count=0;function Gn(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Ue(e){return e*2654435761|0}function es(e){return Gn(e.toString(32))}function gn(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const o=e[r];t=(t<<5)+t^o}return t}function dc(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ue(e);case"bigint":return es(e);case"string":return Gn(e);default:return Ue(ct.id(e))}}function pc(e){return Xi(e)?e.GetHashCode():dc(e)}function hc(e){return e.getTime()}function mc(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=ut(e[r]);return gn(n)}function ut(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ue(e);case"bigint":return es(e);case"string":return Gn(e);default:{if(Xi(e))return e.GetHashCode();if(Ve(e))return mc(e);if(e instanceof Date)return hc(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>ut(r));return gn(n)}else return Ue(ct.id(e))}}}function ts(e){return pc(e)}function Xr(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 ns(e,t){return Xr(e,t,Ae)}function gc(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]||!Ae(e[n[o]],t[r[o]]))return!1;return!0}function Ae(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:cc(e)?e.Equals(t):Ve(e)?Ve(t)&&ns(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&rs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&gc(e,t)}function rs(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Yi(e),r=t.getTime()+Yi(t)),n===r?0:n<r?-1:1}function Yr(e,t){return e===t?0:e<t?-1:1}function wc(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 os(e,t){return wc(e,t,Me)}function _c(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=Me(e[s],t[s]),i!==0)return i}return 0}function Me(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:lc(e)?e.CompareTo(t):Ve(e)?Ve(t)?os(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?rs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?_c(e,t):-1}function M(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function yc(e){Ve(e)?e.splice(0):e.clear()}const Qn=new WeakMap;function V(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return Qn.set(t,e),t}function Ct(e){return Qn.get(e)??(t=>n=>e(t,n))}function eo(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return Qn.set(t,e),t}function to(e){return Qn.get(e)??(t=>n=>r=>e(t,n,r))}function bc(e){let t=0,n="[";for(const r of e){if(t===0)n+=pe(r);else if(t===100){n+="; ...";break}else n+="; "+pe(r);t++}return n+"]"}function pe(e,t=0){var n;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return bc(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,i])=>o+" = "+pe(i,t+1)).join(`
|
|
3
|
+
`)+" }":(r==null?void 0:r.name)??""}}return String(e)}function vc(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=pe(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>pe(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class Z{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return vc(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>ut(n));return t.splice(0,0,Ue(this.tag)),gn(t)}Equals(t){return this===t?!0:Ln(this,t)&&this.tag===t.tag?ns(this.fields,t.fields):!1}CompareTo(t){return this===t?0:Ln(this,t)?this.tag===t.tag?os(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Ac(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function xc(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+pe(n)).join(`
|
|
4
|
+
`)+" }"}function Sc(e){const t=Object.values(e).map(n=>ut(n));return gn(t)}function Cc(e,t){if(e===t)return!0;if(Ln(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Ae(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function Ec(e,t){if(e===t)return 0;if(Ln(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=Me(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class Q{toJSON(){return Ac(this)}toString(){return xc(this)}GetHashCode(){return Sc(this)}Equals(t){return Cc(this,t)}CompareTo(t){return Ec(this,t)}}class Le{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 kc{constructor(t){this.message=t}}function Dc(e){return e instanceof kc||e instanceof Error}function Ic(e){return e instanceof Promise}function Wn(e){return Dc(e)||Ic(e)?e:new Error(String(e))}const Bt=Symbol("numeric");function is(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[Bt])}function Tc(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function no(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[Bt]().multiply(t)}function Jn(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[Bt]().toFixed(t)}function Zn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[Bt]().toPrecision(t)}function qn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[Bt]().toExponential(t)}function Kn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[Bt]().toHex()}class Rc{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class he{constructor(t,n,r,o,i,s,a){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=i,this.cases=s,this.enumCases=a}toString(){return se(this)}GetHashCode(){return ss(this)}Equals(t){return ro(this,t)}}function ft(e){return e.generics!=null?e.generics:[]}function ss(e){const t=Gn(e.fullname),n=ft(e).map(ss);return gn([t,...n])}function ro(e,t){return e.fullname===""?t.fullname===""&&Xr(Yn(e),Yn(t),([n,r],[o,i])=>n===o&&ro(r,i)):e.fullname===t.fullname&&Xr(ft(e),ft(t),ro)}function dt(e,t,n,r){return new he(e,t,n,r)}function Fe(e,t,n,r){return new he(e,t,n,void 0,r)}function oo(...e){return new he("",void 0,void 0,void 0,()=>e)}function wn(e,t,n,r){const o=new he(e,t,n,void 0,void 0,()=>{const i=n.prototype.cases();return r().map((s,a)=>new Rc(o,a,i[a],s))});return o}function jt(e){return new he("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Ye(e){return new he("Microsoft.FSharp.Collections.FSharpList`1",[e])}function Mc(e){return new he("[]",[e])}const Fc=new he("System.Object"),te=new he("System.String"),Oc=new he("System.Boolean"),ne=new he("System.Int32");function io(e){if(Array.isArray(e))return e[0];if(e instanceof he){const t=Xn(e);if(t!=null)return io(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function se(e){const t=Xn(e);return t!=null?se(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>se(n)).join(",")+"]"}function Pc(e){return Xn(e)!=null}function Xn(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Nc(e){return e.generics!=null&&e.generics.length>0}function as(e){return e.enumCases!=null&&e.enumCases.length>0}function Bc(e){return e.generics==null?e:new he(e.fullname,e.generics.map(()=>Fc))}function jc(e){var t;return(t=e.generics)==null?void 0:t[0]}function Ht(e){if(as(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Hc(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 $t(e,t){const n=parseInt(t,10);return Hc(e,isNaN(n)?t:n)[1]}function $c(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Yn(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Vc(e){if(ls(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Uc(e){return e instanceof he?e.cases!=null:e instanceof Z}function Lc(e){return e instanceof he?e.fields!=null:e instanceof Q}function ls(e){return e.fullname.startsWith("System.Tuple")}function zc(e){return e.fields==null?[]:e.fields}function Gc(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return r==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new r(...t):new r(e.tag,t)}function Qc(e,t){const n=Yn(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 Wc(e,t){return e}const Jc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Zc=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],qc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Kc=["January","February","March","April","May","June","July","August","September","October","November","December"];function Ce(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function cs(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Xc(e,t){let n=t;const r=e[t];let o="",i=!1;for(;t<e.length;){t++;const s=e[t];if(s===r){i=!0;break}else if(s==="\\")if(t<e.length)t++,o+=e[t];else throw new Error("Invalid string format");else o+=s}if(!i)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function so(e,t,n){let r=0,o=0,i="";const s=n?_n(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(o=Ce(t,r,"d"),r+=o,o){case 1:i+=ps(s);break;case 2:i+=L(ps(s),2);break;case 3:i+=Jc[gs(s)];break;case 4:i+=Zc[gs(s)];break}break;case"f":if(o=Ce(t,r,"f"),r+=o,o<=3){const w=10**(3-o);i+=L(Math.floor(nr(s)/w),o)}else o<=7&&(i+=(""+nr(s)).padEnd(o,"0"));break;case"F":if(o=Ce(t,r,"F"),r+=o,o<=3){const w=10**(3-o),y=Math.floor(nr(s)/w);y!=0&&(i+=L(y,o))}else if(o<=7){const w=nr(s);w!=0&&(i+=L(w,3))}break;case"g":o=Ce(t,r,"g"),r+=o,o<=2&&(i+="A.D.");break;case"h":switch(o=Ce(t,r,"h"),r+=o,o){case 1:i+=tr(s)%12;break;case 2:i+=L(tr(s)%12,2);break}break;case"H":switch(o=Ce(t,r,"H"),r+=o,o){case 1:i+=tr(s);break;case 2:i+=L(tr(s),2);break}break;case"K":switch(o=Ce(t,r,"K"),r+=o,o){case 1:switch(us(s)){case 1:i+="Z";break;case 2:i+=Vt(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(o=Ce(t,r,"m"),r+=o,o){case 1:i+=hs(s);break;case 2:i+=L(hs(s),2);break}break;case"M":switch(o=Ce(t,r,"M"),r+=o,o){case 1:i+=rr(s);break;case 2:i+=L(rr(s),2);break;case 3:i+=qc[rr(s)-1];break;case 4:i+=Kc[rr(s)-1];break}break;case"s":switch(o=Ce(t,r,"s"),r+=o,o){case 1:i+=ms(s);break;case 2:i+=L(ms(s),2);break}break;case"t":switch(o=Ce(t,r,"t"),r+=o,o){case 1:i+=s.getHours()<12?"A":"P";break;case 2:i+=s.getHours()<12?"AM":"PM";break}break;case"y":switch(o=Ce(t,r,"y"),r+=o,o){case 1:i+=s.getFullYear()%100;break;case 2:i+=L(s.getFullYear()%100,2);break;case 3:i+=L(s.getFullYear(),3);break;case 4:i+=L(s.getFullYear(),4);break;case 5:i+=L(s.getFullYear(),5);break}break;case"z":o=Ce(t,r,"z"),r+=o;let u="";switch(us(s)){case 1:u="+00:00";break;case 2:u=Vt(s.getTimezoneOffset()*-6e4);break;case 0:u=Vt(au(s).getTimezoneOffset()*-6e4);break}const l=u[0]==="-"?"-":"+",f=parseInt(u.substring(1,3),10),c=parseInt(u.substring(4,6),10);switch(o){case 1:i+=`${l}${f}`;break;case 2:i+=`${l}${L(f,2)}`;break;default:i+=`${l}${L(f,2)}:${L(c,2)}`;break}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[m,d]=Xc(t,r);i+=m,r+=d;break;case"%":const g=cs(t,r);if(g>=0&&g!==37)r+=2,i+=so(s,String.fromCharCode(g),n);else throw new Error("Invalid format string");break;case"\\":const _=cs(t,r);if(_>=0)r+=2,i+=String.fromCharCode(_);else throw new Error("Invalid format string");break;default:r++,i+=a;break}}return i}function us(e){return e.kind||0}function Vt(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+L(n,2)+":"+L(r,2)}function er(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 Yc(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return L(e.getFullYear(),4)+"-"+L(e.getMonth()+1,2)+"-"+L(e.getDate(),2)+"T"+L(e.getHours(),2)+":"+L(e.getMinutes(),2)+":"+L(e.getSeconds(),2)+"."+L(e.getMilliseconds(),3)+(n?Vt(e.getTimezoneOffset()*-6e4):"")}}function eu(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Vt(t)}function tu(e,t){const n=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Vt(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return er(n,"first");case"T":case"t":return er(n,"second");case"O":case"o":return eu(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return so(n,t,!0)}function nu(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?er(e,"first"):e.toLocaleDateString();case"T":case"t":return n?er(e,"second"):e.toLocaleTimeString();case"O":case"o":return Yc(e,n);default:throw new Error("Unrecognized Date print format")}else return so(e,t,n)}function fs(e,t,n){return e.offset!=null?tu(e,t):nu(e,t)}function _n(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function ru(){return _n(-621355968e5,1)}function ds(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 a=o[2].split(":"),u=parseInt(a[0],10);s=u*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&u<12&&(s+=720)}if(o[4]!=null){if(o[1]!=null)i=new Date(o[1]+" UTC");else{const a=new Date;i=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(o[4]==="Z")r="Z";else{let a=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(a*=-1),r=a,s-=a*60}}else if(o[1]!=null)i=new Date(o[1]);else{const a=new Date;i=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.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 ou(e,t=!1){const[n,r]=ds(e),o=r!=null?t&&r==="Z"?1:2:0;return _n(n.getTime(),o)}function iu(e,t){try{return t.contents=ou(e),!0}catch{return!1}}function su(e){return e.kind===1?e:_n(e.getTime(),1)}function au(e){return e.kind===2?e:_n(e.getTime(),2)}function ps(e){return e.kind===1?e.getUTCDate():e.getDate()}function tr(e){return e.kind===1?e.getUTCHours():e.getHours()}function nr(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function hs(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function rr(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function ms(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function gs(e){return e.kind===1?e.getUTCDay():e.getDay()}function lu(e,t=0){if(t&-284)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 ao(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 cu(e,t,n,r,o=0){function i(){let s=arguments[0];if(r){r--;const a=[],u=arguments.length,l=typeof arguments[u-1]!="string";let f=l?u-3:u-2;for(let c=0;c<f;c++)a.push(arguments[c]);a.index=arguments[f++],a.input=arguments[f++],l&&(a.groups=arguments[f]),s=n(a)}return s}if(typeof e=="string"){const s=e;e=lu(t,r??0),t=s,r=void 0}if(typeof n=="function")return r=r??-1,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 a=t.substring(o),u=ws(e,a),l=ws.length>r?(s=u[r-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,o)+l.replace(e,n)+t.substring(o+l.length)}else return t.replace(e,n)}const yn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,uu=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function _s(e,t){return Tc(e,t)<0}function ze(e){return{input:e,cont:pu(e)}}function ys(e,t){return typeof t=="string"?e(t):t.cont(e)}function et(e){return ys(t=>t,e)}function fu(e){return ys(t=>{throw new Error(t)},e)}function du(e,t,n,r,o){let i="";if(t=t||"",o=o||"",is(e))switch(o.toLowerCase()!=="x"&&(_s(e,0)?(e=no(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??6,e=Jn(e,r);break;case"g":case"G":e=r!=null?Zn(e,r):Zn(e);break;case"e":case"E":e=r!=null?qn(e,r):qn(e);break;case"x":e=Kn(e);break;case"X":e=Kn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=fs(e):e=pe(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=i+e;else{const s=t.indexOf("0")>=0,a=t.indexOf("-")>=0,u=a||!s?" ":"0";u==="0"?(e=bn(e,n-i.length,u,a),e=i+e):e=bn(i+e,n,u,a)}return e}function bs(e,t,n,r="",o=-1){return(...i)=>{let s=r;const a=t.slice(),u=n.slice();for(const l of i){const[,,f,c,m,d]=u[0];let g=c;if(o>=0)g=o,o=-1;else if(g==="*"){if(l<0)throw new Error("Non-negative number required");o=l;continue}s+=a[0],s+=du(l,f,g,m,d),a.splice(0,1),u.splice(0,1)}return u.length===0?(s+=a[0],e(s)):bs(e,a,u,s,o)}}function pu(e){return t=>{yn.lastIndex=0;const n=[],r=[];let o=0,i=yn.exec(e);for(;i;){const s=i.index+(i[1]||"").length;n.push(e.substring(o,s).replace(/%%/g,"%")),r.push(i),o=yn.lastIndex,yn.lastIndex-=1,i=yn.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),bs(t,n,r))}}function hu(e,...t){let n;return n=e,n.replace(uu,(r,o,i,s,a,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 l=t[o];if(is(l))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,l=Jn(l,a);break;case"g":case"G":l=a!=null?Zn(l,a):Zn(l);break;case"e":case"E":l=a!=null?qn(l,a):qn(l);break;case"p":case"P":a=a??2,l=Jn(no(l,100),a)+" %";break;case"d":case"D":l=a!=null?lo(String(l),a,"0"):String(l);break;case"x":case"X":l=a!=null?lo(Kn(l),a,"0"):Kn(l),s==="X"&&(l=l.toUpperCase());break;default:if(u){let f="";l=u.replace(/([0#,]+)(\.[0#]+)?/,(c,m,d)=>{_s(l,0)&&(l=no(l,-1),f="-"),d=d==null?"":d.substring(1),l=Jn(l,Math.max(d.length,0));let[g,_]=l.split(".");_||(_="");const w=m.replace(/,/g,"").replace(/^#+/,"").length;g=lo(g,w,"0");const y=d.replace(/#+$/,"").length;if(y>_.length?_=gu(_,y,"0"):y<_.length&&(_=_.substring(0,y)+_.substring(y).replace(/0+$/,"")),m.indexOf(",")>0){const S=g.length%3,I=Math.floor(g.length/3);let ue=S>0?g.substr(0,S)+(I>0?",":""):"";for(let ee=0;ee<I;ee++)ue+=g.substr(S+ee*3,3)+(ee<I-1?",":"");g=ue}return _.length>0?g+"."+_:g}),l=f+l}}else l instanceof Date?l=fs(l,u||s):l=pe(l);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(l=bn(String(l),Math.abs(i)," ",i<0)),l})}function mu(e){return typeof e!="string"||e.length===0}function Ee(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function bn(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 lo(e,t,n){return bn(e,t,n)}function gu(e,t,n){return bn(e,t,n,!0)}function vs(e,t,n){return e.replace(new RegExp(ao(t),"g"),n)}function co(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(f=>f).map(ao),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let u=!0,l=0;do{const f=a.exec(e);if(f===null){const c=i?e.substring(l).trim():e.substring(l);(!o||c.length>0)&&s.push(c),u=!1}else{const c=i?e.substring(l,f.index).trim():e.substring(l,f.index);(!o||c.length>0)&&(n!=null&&s.length+1===n?(s.push(i?e.substring(l).trim():e.substring(l)),u=!1):s.push(c)),l=a.lastIndex}}while(u);return s}function wu(e,...t){if(t.length===0)return e.trim();const n="["+ao(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}class Ut{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return ut(this.value)}Equals(t){return t==null?!1:Ae(this.value,t instanceof Ut?t.value:t)}CompareTo(t){return t==null?1:Me(this.value,t instanceof Ut?t.value:t)}}function b(e){if(e==null)throw new Error("Option has no value");return e instanceof Ut?e.value:e}function Oe(e){return e==null||e instanceof Ut?new Ut(e):e}function As(e,t){return e!=null?b(e):t}function _u(e,t){return t!=null?Oe(e(b(t))):void 0}function yu(e,t,n){return t!=null&&n!=null?e(b(t),b(n)):void 0}const xs="Collection was empty.";function Ss(e,t){return new Array(t)}function Cs(e,t){return e>t?e:t}function uo(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function pt(e,t,n){const r=t.length|0,o=Ss(n,r);for(let i=0;i<=r-1;i++)yt(o,i,e(ae(i,t)));return o}function bu(e,t){const n=Ss(t,1);return yt(n,0,e),n}function vu(e){return e.slice().reverse()}function Au(e,t){return t.find(e)}function xu(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const i=e(ae(o,t));if(i!=null){const s=b(i);r.push(s)}}return Ae(n,St())?r:pt(o=>o,r,n)}function or(e,t,n){const r=e;return n.reduce(r,t)}function Su(e,t,n){return t==null}function ae(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function yt(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function Es(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class me extends Q{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+Ee("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,i)=>{e:for(;;){const s=o,a=i,u=s.tail,l=a.tail;if(u!=null)if(l!=null){const f=b(u),c=b(l);if(Ae(s.head,a.head)){o=f,i=c;continue e}else return!1}else return!1;else return l==null}})(n,t)}GetHashCode(){return((r,o,i)=>{e:for(;;){const s=r,a=o,u=i,l=u.tail;if(l!=null){const f=b(l);if(s>18)return a|0;r=s+1,o=(a<<1)+ut(u.head)+631*s,i=f;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,i)=>{e:for(;;){const s=o,a=i,u=s.tail,l=a.tail;if(u!=null)if(l!=null){const f=b(u),c=b(l),m=Me(s.head,a.head)|0;if(m===0){o=f,i=c;continue e}else return m|0}else return 1;else return l!=null?-1:0}})(this,t)|0}GetEnumerator(){return Eu(this)}[Symbol.iterator](){return zn(q(this))}"System.Collections.IEnumerable.GetEnumerator"(){return q(this)}}class Cu{constructor(t){this.xs=t,this.it=this.xs,this.current=St()}"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=b(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=St()}Dispose(){}}function Eu(e){return new Cu(e)}function re(){return new me(St(),void 0)}function vn(e,t){return new me(e,t)}function ir(e){return e.tail==null}function ks(e){return((n,r)=>{e:for(;;){const o=n,s=r.tail;if(s!=null){n=o+1,r=b(s);continue e}else return o|0}})(0,e)|0}function fo(e){if(e.tail!=null)return e.head;throw new Error(xs+"\\nParameter name: list")}function Ge(e){const t=e.tail;if(t!=null)return b(t);throw new Error(xs+"\\nParameter name: list")}function le(){return re()}function Pe(e,t){return vn(e,t)}function oe(e){return vn(e,re())}function N(e){return ir(e)}function Ds(e){return ks(e)}function E(e){return fo(e)}function P(e){return Ge(e)}function An(e){const t=ks(e)|0,n=uo(new Array(t),0,t,null);return((o,i)=>{e:for(;;){const s=o,a=i;if(!ir(a)){yt(n,s,fo(a)),o=s+1,i=Ge(a);continue e}break}})(0,e),n}function tt(e,t,n){let r=t,o=n;for(;!ir(o);)r=e(r,E(o)),o=Ge(o);return r}function po(e){return tt((t,n)=>vn(n,t),re(),e)}function ku(e,t,n){return Es(e,An(t),n)}function xn(e,t){tt((n,r)=>{e(r)},void 0,t)}function W(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=vn(ae(r,e),n);return n}function C(e){return W(e,re())}function Du(e){let t,n;if(Ve(e))return C(e);if(e instanceof me)return e;{const r=re();let o=r;const i=q(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new me(u,void 0),t.tail=n,n)}}finally{z(i)}const s=o,a=re();return s.tail=a,Ge(r)}}function Iu(e){const t=re();let n=t;const r=s=>{n=tt((a,u)=>{const l=new me(u,void 0);return a.tail=l,l},n,s)};if(Ve(e))e.forEach(r);else if(e instanceof me)xn(r,e);else{const s=q(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)r(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{z(s)}}const o=n,i=re();return o.tail=i,Ge(t)}function Sn(e,t){return tt((n,r)=>vn(r,n),t,po(e))}function Et(e,t){const n=re(),r=tt((i,s)=>{const a=new me(e(s),void 0);return i.tail=a,a},n,t),o=re();return r.tail=o,Ge(n)}function Tu(e,t){return((r,o)=>{e:for(;;){const i=r,s=o;if(ir(s))return;if(e(fo(s)))return i;r=i+1,o=Ge(s);continue e}})(0,t)}function Ru(e,t){const n=re(),r=tt((i,s)=>{if(e(s)){const a=new me(s,void 0);return i.tail=a,a}else return i},n,t),o=re();return r.tail=o,Ge(n)}function Mu(e,t){const n=re(),r=re(),o=n,i=tt((u,l)=>{let f,c;const m=u[0],d=u[1];return e(l)?[(f=new me(l,void 0),m.tail=f,f),d]:[m,(c=new me(l,void 0),d.tail=c,c)]},[o,r],t),s=re();i[0].tail=s;const a=re();return i[1].tail=a,[Ge(o),Ge(r)]}function Fu(e,t){const n=re(),r=tt((i,s)=>{const a=e(s);if(a==null)return i;{const u=new me(b(a),void 0);return i.tail=u,u}},n,t),o=re();return r.tail=o,Ge(n)}function Is(e,t,n){return Tu(r=>n.Equals(e,r),t)!=null}function Ou(e){return new h(0,[e])}function Ts(e){return new h(1,[e])}class h extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function ht(e,t){return t.tag===0?Ou(e(t.fields[0])):Ts(t.fields[0])}function Pu(e,t){return t.tag===0?e(t.fields[0]):Ts(t.fields[0])}class x extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class kt extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Rs(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Nu(e,t){switch(e.tag){case 2:return cu(Rs(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Rs(t)}}const Bu=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Ms=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,ju=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Hu(e){function t(r){return r.replace(Ms,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Bu.test(n))return wu(n,"{","}","(",")");if(Ms.test(n))return t(n);if(ju.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 $u(e,t){try{return t.contents=Hu(e),!0}catch{return!1}}var ho;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(ho||(ho={}));function Vu(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function Fs(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 Uu(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 Lu(e,t){if(t&ho.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 zu(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||Lu(i,t),!Uu(n).test(s))return Vu(o,n)}return null}function Gu(e,t,n,r,o){const i=zu(e,t,o);if(i!=null){let s=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(s)){const[a,u]=Fs(!0,r);!n&&i.radix!==10&&s>=a&&s<=u&&(s=s<<32-r>>32-r);const[l,f]=Fs(n,r);if(s>=l&&s<=f)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function Lt(e,t,n,r,o){try{return o.contents=Gu(e,t,n,r),!0}catch{return!1}}function Os(e,t){Qu(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Qu(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 Wu(){return Os(-621355968e5,0)}function Ju(e){const[t,n]=ds(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Os(t.getTime(),r)}function Zu(e,t){try{return t.contents=Ju(e),!0}catch{return!1}}function Ps(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return qu(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 qu(e){return Number(BigInt(e)/10000n)}function Ku(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 Ps(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 a=r[1]!=null&&r[1]==="-"?-1:1,u=+r[4],l=+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 a*Ps(o,u,l,s,i)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Xu(e,t){try{return t.contents=Ku(e),!0}catch{return!1}}function Yu(e){throw new Error(e)}const ef="Enumeration already finished.",tf="Enumeration has not started. Call MoveNext.",Ns="The input sequence has an insufficient number of elements.",nf="Reset is not supported on this enumerator.";function rf(){throw new Error(nf)}function mo(){throw new Error(tf)}function go(){throw new Error(ef)}class of{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=q(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+pe(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{z(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return zn(q(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function sf(e){return new of(e)}class af{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"(){rf()}Dispose(){this.dispose()}}function sr(e,t,n){return new af(e,t,n)}function lf(e){let t,n,r=!1,o=!1,i;const s=()=>{if(o=!0,n!=null){const a=b(n);try{z(a)}finally{n=void 0}}if(t!=null){const a=b(t);try{z(a)}finally{t=void 0}}};return sr(()=>(r?o&&go():mo(),i!=null?b(i):go()),()=>{let a;if(r||(r=!0),o)return!1;{let u;for(;u==null;){const l=t,f=n;if(l!=null)if(f!=null){const c=b(f);if(c["System.Collections.IEnumerator.MoveNext"]())i=Oe(c["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{z(c)}finally{n=void 0}}else{const c=b(l);c["System.Collections.IEnumerator.MoveNext"]()?n=(a=c["System.Collections.Generic.IEnumerator`1.get_Current"](),q(a)):(s(),u=!1)}else t=q(e)}return b(u)}},()=>{o||s()})}function cf(e,t){return sr(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{z(t)}finally{}})}function Bs(e,t,n){let r=!1,o,i=Oe(e());const s=()=>{if(i!=null){const u=b(i);try{n(u)}finally{i=void 0}}},a=()=>{try{s()}finally{o=void 0}};return sr(()=>(r||mo(),o!=null?b(o):go()),()=>{if(r||(r=!0),i!=null){const u=b(i);let l;try{l=t(u)}catch(f){throw a(),f}return l!=null?(o=l,!0):(a(),!1)}else return!1},s)}function uf(e,t){let n,r=t;return sr(()=>{if(n!=null){const o=b(n)[0];return b(n)[1],o}else return mo()},()=>(n=e(r),n!=null?(b(n)[0],r=b(n)[1],!0):!1),()=>{})}function ff(e,t){t==null&&Yu(e)}function zt(e){return sf(e)}function Dt(e){return ff("source",e),q(e)}function F(e){return zt(()=>q(e()))}function js(e){return zt(()=>lf(e))}function df(e,t){return zt(()=>uf(e,t))}function Hs(){return F(()=>new Array(0))}function O(e){return F(()=>bu(e))}function l0(e){return e}function pf(e){return e instanceof me?An(e):Array.from(e)}function nt(e){return Ve(e)?C(e):e instanceof me?e:Du(e)}function hf(e,t,n){return zt(()=>Bs(e,t,n))}function mf(e,t,n){return zt(()=>{let r=-1;return Bs(e,o=>(r=r+1|0,t(r,o)),n)})}function ie(e,t){return js([e,t])}function gf(e,t,n){const r=Dt(t);try{const o=Dt(n);try{let i=0,s=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]();for(;i===0&&s&&a;)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"](),a=o["System.Collections.IEnumerator.MoveNext"]());return(i!==0?i:s?1:a?-1:0)|0}finally{z(o)}}finally{z(r)}}function Gt(e,t,n){const r=Dt(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{z(r)}}function $s(e,t,n){const r=Dt(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{z(r)}}function Vs(e,t){$s((n,r)=>{e(r)},void 0,t)}function Qe(e,t){return hf(()=>Dt(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?Oe(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{z(n)})}function wf(e){return F(()=>vu(pf(e)))}function _f(e,t){return zt(()=>{const n=Dt(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Ns+"\\nParameter name: source");return cf(()=>{},n)}catch(r){throw z(n),r}})}function yf(e,t){return mf(()=>Dt(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return Oe(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Ns+"\\nParameter name: source")}else return},n=>{z(n)})}function ar(e,t){return F(()=>js(Qe(e,t)))}class Us{constructor(t,n){this.k=t,this.v=n}}function lr(e,t){return new Us(e,t)}function ge(e){return e.k}function ke(e){return e.v}class Y extends Us{constructor(t,n,r,o,i){super(t,n),this.left=r,this.right=o,this.h=i|0}}function cr(e,t,n,r,o){return new Y(e,t,n,r,o)}function we(e){return e.left}function _e(e){return e.right}function It(e){return e.h}function c0(){}function Ls(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=b(r);if(o instanceof Y){const i=o;e=Ls(n+1,we(i)),t=_e(i);continue e}else return n+1|0}else return n|0}}function bf(e){return Ls(0,e)}function We(e,t,n,r){let o,i,s;const a=e;if(a!=null){const c=b(a);s=c instanceof Y?(o=c,It(o)):1}else s=0;let u;const l=r;if(l!=null){const c=b(l);u=c instanceof Y?(i=c,It(i)):1}else u=0;const f=(s<u?u:s)|0;return f===0?lr(t,n):cr(t,n,e,r,f+1)}function zs(e,t,n,r){let o,i,s,a,u,l,f,c,m;const d=e;if(d!=null){const w=b(d);m=w instanceof Y?(o=w,It(o)):1}else m=0;let g;const _=r;if(_!=null){const w=b(_);g=w instanceof Y?(i=w,It(i)):1}else g=0;if(g>m+2){const w=b(r);if(w instanceof Y){const y=w;if(s=we(y),(s!=null?(a=b(s),a instanceof Y?(u=a,It(u)):1):0)>m+1){const S=b(we(y));if(S instanceof Y){const I=S;return We(We(e,t,n,we(I)),ge(I),ke(I),We(_e(I),ge(y),ke(y),_e(y)))}else throw new Error("internal error: Map.rebalance")}else return We(We(e,t,n,we(y)),ge(y),ke(y),_e(y))}else throw new Error("internal error: Map.rebalance")}else if(m>g+2){const w=b(e);if(w instanceof Y){const y=w;if(l=_e(y),(l!=null?(f=b(l),f instanceof Y?(c=f,It(c)):1):0)>g+1){const S=b(_e(y));if(S instanceof Y){const I=S;return We(We(we(y),ge(y),ke(y),we(I)),ge(I),ke(I),We(_e(I),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return We(we(y),ge(y),ke(y),We(_e(y),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return We(e,t,n,r)}function Qt(e,t,n,r){if(r!=null){const o=b(r),i=e.Compare(t,ge(o))|0;if(o instanceof Y){const s=o;return i<0?zs(Qt(e,t,n,we(s)),ge(s),ke(s),_e(s)):i===0?cr(t,n,we(s),_e(s),It(s)):zs(we(s),ge(s),ke(s),Qt(e,t,n,_e(s)))}else return i<0?cr(t,n,void 0,r,2):i===0?lr(t,n):cr(t,n,r,void 0,2)}else return lr(t,n)}function Gs(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=b(i),a=r.Compare(o,ge(s))|0;if(a===0)return Oe(ke(s));if(s instanceof Y){const u=s;e=r,t=o,n=a<0?we(u):_e(u);continue e}else return}else return}}function vf(e,t,n){const r=Gs(e,t,n);if(r==null)throw new Error;return b(r)}function Af(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=b(i),a=r.Compare(o,ge(s))|0;if(s instanceof Y){const u=s;if(a<0){e=r,t=o,n=we(u);continue e}else{if(a===0)return!0;e=r,t=o,n=_e(u);continue e}}else return a===0}else return!1}}function Qs(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=b(r);if(o instanceof Y){const i=o;Qs(n,we(i)),n(ge(i),ke(i)),e=n,t=_e(i);continue e}else n(ge(o),ke(o))}break}}function xf(e,t){Qs(e,t)}function Sf(e,t,n){let r=n;xf((o,i)=>{yt(t,r,[o,i]),r=r+1|0},e)}function Cf(e,t){return tt((n,r)=>Qt(e,r[0],r[1],n),void 0,t)}function Ef(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=Qt(r,s[0],s[1],o),n=i;continue e}else return o}}function kf(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=ae(r,t);n=Qt(e,o[0],o[1],n)}return n}function Ws(e,t){if(Ve(t))return kf(e,t);if(t instanceof me)return Cf(e,t);{const n=q(t);try{return Ef(e,void 0,n)}finally{z(n)}}}class Df extends Q{constructor(t,n){super(),this.stack=t,this.started=n}}function Js(e){e:for(;;){const t=e;if(N(t))return le();{const n=P(t),r=E(t);if(r!=null){const o=b(r);if(o instanceof Y){const i=o;e=W([we(i),lr(ge(i),ke(i)),_e(i)],n);continue e}else return t}else{e=n;continue e}}}}function Zs(e){return new Df(Js(oe(e)),!1)}function If(){throw new Error("enumeration not started")}function Tf(){throw new Error("enumeration already finished")}function qs(e){if(e.started){const t=e.stack;if(N(t))return Tf();if(E(t)!=null){const n=b(E(t));if(n instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for current");return[ge(n),ke(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return If()}function Rf(e){if(e.started){const t=e.stack;if(N(t))return!1;if(E(t)!=null){if(b(E(t))instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Js(P(t)),!N(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!N(e.stack)}function Ks(e){let t=Zs(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return qs(t)},"System.Collections.IEnumerator.get_Current"(){return qs(t)},"System.Collections.IEnumerator.MoveNext"(){return Rf(t)},"System.Collections.IEnumerator.Reset"(){t=Zs(e)},Dispose(){}}}class ur{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Pf(this)|0}Equals(t){const n=this;if(t instanceof ur){const r=t,o=q(n);try{const i=q(r);try{const s=()=>{const a=o["System.Collections.IEnumerator.MoveNext"]();if(a===i["System.Collections.IEnumerator.MoveNext"]())if(a){const u=o["System.Collections.Generic.IEnumerator`1.get_Current"](),l=i["System.Collections.Generic.IEnumerator`1.get_Current"]();return Ae(u[0],l[0])&&Ae(u[1],l[1])?s():!1}else return!0;else return!1};return s()}finally{z(i)}}finally{z(o)}}else return!1}toString(){return"map ["+Ee("; ",Qe(n=>hu("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return Ks(this.tree)}[Symbol.iterator](){return zn(q(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Ks(this.tree)}CompareTo(t){const n=this;if(t instanceof ur)return gf((o,i)=>{const s=n.comparer.Compare(o[0],i[0])|0;return(s!==0?s:Me(o[1],i[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 Ys(n,t[0])&&Ae(Xs(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Sf(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return wo(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return wo(this)|0}get size(){return wo(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Qe(n=>[n[0],n[1]],this)}get(t){return Xs(this,t)}has(t){return Ys(this,t)}keys(){return Qe(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Qe(n=>n[1],this)}forEach(t,n){const r=this;Vs(o=>{t(o[1],o[0],r)},r)}}function fr(e,t){return new ur(e,t)}function Mf(e){return fr(e,void 0)}function Ff(e,t,n){return fr(e.comparer,Qt(e.comparer,t,n,e.tree))}function Xs(e,t){return vf(e.comparer,t,e.tree)}function wo(e){return bf(e.tree)}function Ys(e,t){return Af(e.comparer,t,e.tree)}function Of(e,t){return Gs(e.comparer,t,e.tree)}function Pf(e){const t=(o,i)=>(o<<1)+i+631;let n=0;const r=q(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,ut(o[0]))|0,n=t(n,ut(o[1]))|0}}finally{z(r)}return n|0}function Nf(e,t,n){return Ff(n,e,t)}function Bf(e,t){return Of(t,e)}function jf(e,t){return fr(t,Ws(t,e))}function Hf(e,t){return fr(t,Ws(t,e))}function ea(e){return Mf(e)}class ta{constructor(t){this.k=t}}function De(e){return new ta(e)}function T(e){return e.k}class B extends ta{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function Ie(e,t,n,r){return new B(e,t,n,r)}function U(e){return e.left}function H(e){return e.right}function Wt(e){return e.h}function u0(){}function na(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=b(n);if(o instanceof B){const i=o;e=U(i),t=na(H(i),r+1);continue e}else return r+1|0}else return r|0}}function $f(e){return na(e,0)}function Je(e,t,n){let r,o,i;const s=e;if(s!=null){const f=b(s);i=f instanceof B?(r=f,Wt(r)):1}else i=0;let a;const u=n;if(u!=null){const f=b(u);a=f instanceof B?(o=f,Wt(o)):1}else a=0;const l=(i<a?a:i)|0;return l===0?De(t):Ie(t,e,n,l+1)}function ra(e,t,n){let r,o,i,s,a,u,l,f,c;const m=e;if(m!=null){const _=b(m);c=_ instanceof B?(r=_,Wt(r)):1}else c=0;let d;const g=n;if(g!=null){const _=b(g);d=_ instanceof B?(o=_,Wt(o)):1}else d=0;if(d>c+2){const _=b(n);if(_ instanceof B){const w=_;if(i=U(w),(i!=null?(s=b(i),s instanceof B?(a=s,Wt(a)):1):0)>c+1){const y=b(U(w));if(y instanceof B){const S=y;return Je(Je(e,t,U(S)),T(S),Je(H(S),T(w),H(w)))}else throw new Error("internal error: Set.rebalance")}else return Je(Je(e,t,U(w)),T(w),H(w))}else throw new Error("internal error: Set.rebalance")}else if(c>d+2){const _=b(e);if(_ instanceof B){const w=_;if(u=H(w),(u!=null?(l=b(u),l instanceof B?(f=l,Wt(f)):1):0)>d+1){const y=b(H(w));if(y instanceof B){const S=y;return Je(Je(U(w),T(w),U(S)),T(S),Je(H(S),t,n))}else throw new Error("internal error: Set.rebalance")}else return Je(U(w),T(w),Je(H(w),t,n))}else throw new Error("internal error: Set.rebalance")}else return Je(e,t,n)}function Jt(e,t,n){if(n!=null){const r=b(n),o=e.Compare(t,T(r))|0;if(r instanceof B){const i=r;return o<0?ra(Jt(e,t,U(i)),T(i),H(i)):o===0?n:ra(U(i),T(i),Jt(e,t,H(i)))}else{const i=e.Compare(t,T(r))|0;return i<0?Ie(t,void 0,n,2):i===0?n:Ie(t,n,void 0,2)}}else return De(t)}function oa(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=b(i),a=r.Compare(o,T(s))|0;if(s instanceof B){const u=s;if(a<0){e=r,t=o,n=U(u);continue e}else{if(a===0)return!0;e=r,t=o,n=H(u);continue e}}else return a===0}else return!1}}function ia(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=b(r);if(o instanceof B){const i=o;ia(n,U(i)),n(T(i)),e=n,t=H(i);continue e}else n(T(o))}break}}class Vf extends Q{constructor(t,n){super(),this.stack=t,this.started=n}}function sa(e){e:for(;;){const t=e;if(N(t))return le();{const n=E(t),r=P(t);if(n!=null){const o=b(n);if(o instanceof B){const i=o;e=W([U(i),De(T(i)),H(i)],r);continue e}else return t}else{e=r;continue e}}}}function aa(e){return new Vf(sa(oe(e)),!1)}function Uf(){throw new Error("Enumeration not started")}function Lf(){throw new Error("Enumeration already started")}function la(e){if(e.started){const t=e.stack;if(N(t))return Lf();if(E(t)!=null){const n=b(E(t));return T(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Uf()}function zf(e){if(e.started){const t=e.stack;if(N(t))return!1;if(E(t)!=null){if(b(E(t))instanceof B)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=sa(P(t)),!N(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!N(e.stack)}function ca(e){let t=aa(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return la(t)},"System.Collections.IEnumerator.get_Current"(){return la(t)},"System.Collections.IEnumerator.MoveNext"(){return zf(t)},"System.Collections.IEnumerator.Reset"(){t=aa(e)},Dispose(){}}}function Gf(e,t,n){e:for(;;){const r=e,o=t,i=n;if(N(o))return N(i)?0:-1;if(N(i))return 1;if(E(i)!=null)if(E(o)!=null){const s=b(E(o)),a=b(E(i));if(s instanceof B){const u=s;if(U(u)==null)if(a instanceof B){const l=a;if(U(l)==null){const f=r.Compare(T(u),T(l))|0;if(f!==0)return f|0;e=r,t=Pe(H(u),P(o)),n=Pe(H(l),P(i));continue e}else{let f,c,m,d,g;switch(N(o)?N(i)?f=2:E(i)!=null?(f=1,d=P(i),g=b(E(i))):f=2:E(o)!=null?(f=0,c=P(o),m=b(E(o))):N(i)?f=2:E(i)!=null?(f=1,d=P(i),g=b(E(i))):f=2,f){case 0:if(m instanceof B){const _=m;e=r,t=W([U(_),Ie(T(_),void 0,H(_),0)],c),n=i;continue e}else{e=r,t=W([void 0,De(T(m))],c),n=i;continue e}case 1:if(g instanceof B){const _=g;e=r,t=o,n=W([U(_),Ie(T(_),void 0,H(_),0)],d);continue e}else{e=r,t=o,n=W([void 0,De(T(g))],d);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(T(u),T(a))|0;if(l!==0)return l|0;e=r,t=Pe(H(u),P(o)),n=Pe(void 0,P(i));continue e}else{let l,f,c,m,d;switch(N(o)?N(i)?l=2:E(i)!=null?(l=1,m=P(i),d=b(E(i))):l=2:E(o)!=null?(l=0,f=P(o),c=b(E(o))):N(i)?l=2:E(i)!=null?(l=1,m=P(i),d=b(E(i))):l=2,l){case 0:if(c instanceof B){const g=c;e=r,t=W([U(g),Ie(T(g),void 0,H(g),0)],f),n=i;continue e}else{e=r,t=W([void 0,De(T(c))],f),n=i;continue e}case 1:if(d instanceof B){const g=d;e=r,t=o,n=W([U(g),Ie(T(g),void 0,H(g),0)],m);continue e}else{e=r,t=o,n=W([void 0,De(T(d))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof B){const u=a;if(U(u)==null){const l=r.Compare(T(s),T(u))|0;if(l!==0)return l|0;e=r,t=Pe(void 0,P(o)),n=Pe(H(u),P(i));continue e}else{let l,f,c,m,d;switch(N(o)?N(i)?l=2:E(i)!=null?(l=1,m=P(i),d=b(E(i))):l=2:E(o)!=null?(l=0,f=P(o),c=b(E(o))):N(i)?l=2:E(i)!=null?(l=1,m=P(i),d=b(E(i))):l=2,l){case 0:if(c instanceof B){const g=c;e=r,t=W([U(g),Ie(T(g),void 0,H(g),0)],f),n=i;continue e}else{e=r,t=W([void 0,De(T(c))],f),n=i;continue e}case 1:if(d instanceof B){const g=d;e=r,t=o,n=W([U(g),Ie(T(g),void 0,H(g),0)],m);continue e}else{e=r,t=o,n=W([void 0,De(T(d))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const u=r.Compare(T(s),T(a))|0;if(u!==0)return u|0;e=r,t=P(o),n=P(i);continue e}}else{b(E(i));let s,a,u,l,f;switch(N(o)?N(i)?s=2:E(i)!=null?(s=1,l=P(i),f=b(E(i))):s=2:E(o)!=null?(s=0,a=P(o),u=b(E(o))):N(i)?s=2:E(i)!=null?(s=1,l=P(i),f=b(E(i))):s=2,s){case 0:if(u instanceof B){const c=u;e=r,t=W([U(c),Ie(T(c),void 0,H(c),0)],a),n=i;continue e}else{e=r,t=W([void 0,De(T(u))],a),n=i;continue e}case 1:if(f instanceof B){const c=f;e=r,t=o,n=W([U(c),Ie(T(c),void 0,H(c),0)],l);continue e}else{e=r,t=o,n=W([void 0,De(T(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(E(o)!=null){b(E(o));let s,a,u,l,f;switch(N(o)?N(i)?s=2:E(i)!=null?(s=1,l=P(i),f=b(E(i))):s=2:E(o)!=null?(s=0,a=P(o),u=b(E(o))):N(i)?s=2:E(i)!=null?(s=1,l=P(i),f=b(E(i))):s=2,s){case 0:if(u instanceof B){const c=u;e=r,t=W([U(c),Ie(T(c),void 0,H(c),0)],a),n=i;continue e}else{e=r,t=W([void 0,De(T(u))],a),n=i;continue e}case 1:if(f instanceof B){const c=f;e=r,t=o,n=W([U(c),Ie(T(c),void 0,H(c),0)],l);continue e}else{e=r,t=o,n=W([void 0,De(T(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=P(o),n=P(i);continue e}}}function ua(e,t,n){return t==null?n==null?0:-1:n==null?1:Gf(e,oe(t),oe(n))|0}function Qf(e,t,n){let r=n;ia(o=>{yt(t,r,o),r=r+1|0},e)}function Wf(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){e=r,t=Jt(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i;continue e}else return o}}function Jf(e,t){return or((n,r)=>Jt(e,r,n),void 0,t)}function Zf(e,t){return tt((n,r)=>Jt(e,r,n),void 0,t)}function fa(e,t){if(Ve(t))return Jf(e,t);if(t instanceof me)return Zf(e,t);{const n=q(t);try{return Wf(e,void 0,n)}finally{z(n)}}}class _o{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Xf(this)|0}Equals(t){let n;const r=this;return t instanceof _o&&(n=t,ua(Zt(r),Ze(r),Ze(n))===0)}toString(){return"set ["+Ee("; ",Qe(n=>pe(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return ua(Zt(n),Ze(n),Ze(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 oa(Zt(n),t,Ze(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Qf(Ze(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return yo(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return yo(this)|0}GetEnumerator(){return ca(Ze(this))}[Symbol.iterator](){return zn(q(this))}"System.Collections.IEnumerable.GetEnumerator"(){return ca(Ze(this))}get size(){return yo(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 da(this,t)}keys(){return Qe(n=>n,this)}values(){return Qe(n=>n,this)}entries(){return Qe(n=>[n,n],this)}forEach(t,n){const r=this;Vs(o=>{t(o,o,r)},r)}}function dr(e,t){return new _o(e,t)}function Zt(e){return e.comparer}function Ze(e){return e.tree}function qf(e){return dr(e,void 0)}function Kf(e,t){return dr(Zt(e),Jt(Zt(e),t,Ze(e)))}function yo(e){return $f(Ze(e))}function da(e,t){return oa(Zt(e),t,Ze(e))}function Xf(e){let t=0;const n=q(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+ut(r)+631|0}}finally{z(n)}return Math.abs(t)|0}function bo(e,t){return da(t,e)}function Yf(e,t){return Kf(t,e)}function ed(e){return qf(e)}function td(e,t){return dr(t,fa(t,e))}function nd(e,t){return dr(t,fa(t,e))}function Cn(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 rd(e,t){const n=t.tag===2?Cn(t.fields[0],t.fields[1],!0):t.tag===1?Cn(t.fields[0],t.fields[1],!1)+`
|
|
7
|
+
Reason: `+t.fields[2]:t.tag===3?Cn(t.fields[0],t.fields[1],!0):t.tag===4?Cn(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
|
+
`+Ee(`
|
|
11
|
+
|
|
12
|
+
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:Cn(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function pa(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new h(1,[rd(o[0],o[1])])}else return new h(0,[r.fields[0]])}function qt(e,t){try{return pa("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new h(1,["Given an invalid JSON: "+n.message]);throw n}}function ha(e,t){return typeof t=="string"?new h(0,[t]):new h(1,[[e,new x(0,["a string",t])]])}function od(e,t){if(typeof t=="string"){const n=t;return n.length===1?new h(0,[n[0]]):new h(1,[[e,new x(0,["a single character string",t])]])}else return new h(1,[[e,new x(0,["a char",t])]])}function id(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[$u(t,new Le(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new x(0,["a guid",t])]])}else return new h(1,[[e,new x(0,["a guid",t])]])}function sd(e,t){return t==null?new h(0,[void 0]):new h(1,[[e,new x(0,["null",t])]])}const ma=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-128<=o&&o<=127?new h(0,[(o+128&255)-128]):new h(1,[[n,new x(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new h(1,[[n,new x(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[Lt(r,511,!1,8,new Le(()=>i,s=>{i=s|0})),i],o[0]?new h(0,[o[1]]):new h(1,[[n,new x(0,["a sbyte",r])]])}else return new h(1,[[n,new x(0,["a sbyte",r])]])},ga=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=255?new h(0,[o&255]):new h(1,[[n,new x(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new h(1,[[n,new x(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[Lt(r,511,!0,8,new Le(()=>i,s=>{i=s})),i],o[0]?new h(0,[o[1]]):new h(1,[[n,new x(0,["a byte",r])]])}else return new h(1,[[n,new x(0,["a byte",r])]])},wa=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-32768<=o&&o<=32767?new h(0,[(o+32768&65535)-32768]):new h(1,[[n,new x(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new h(1,[[n,new x(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[Lt(r,511,!1,16,new Le(()=>i,s=>{i=s|0})),i],o[0]?new h(0,[o[1]]):new h(1,[[n,new x(0,["an int16",r])]])}else return new h(1,[[n,new x(0,["an int16",r])]])},_a=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=65535?new h(0,[o&65535]):new h(1,[[n,new x(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new h(1,[[n,new x(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[Lt(r,511,!0,16,new Le(()=>i,s=>{i=s})),i],o[0]?new h(0,[o[1]]):new h(1,[[n,new x(0,["an uint16",r])]])}else return new h(1,[[n,new x(0,["an uint16",r])]])},ya=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-2147483648<=o&&o<=2147483647?new h(0,[~~o]):new h(1,[[n,new x(1,["an int",o,"Value was either too large or too small for an int"])]]):new h(1,[[n,new x(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[Lt(r,511,!1,32,new Le(()=>i,s=>{i=s|0})),i],o[0]?new h(0,[o[1]]):new h(1,[[n,new x(0,["an int",r])]])}else return new h(1,[[n,new x(0,["an int",r])]])},ba=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=4294967295?new h(0,[o>>>0]):new h(1,[[n,new x(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new h(1,[[n,new x(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[Lt(r,511,!0,32,new Le(()=>i,s=>{i=s})),i],o[0]?new h(0,[o[1]]):new h(1,[[n,new x(0,["an uint32",r])]])}else return new h(1,[[n,new x(0,["an uint32",r])]])};function ad(e,t){return typeof t=="boolean"?new h(0,[t]):new h(1,[[e,new x(0,["a boolean",t])]])}function ld(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new x(0,["a float",t])]])}function cd(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new x(0,["a float32",t])]])}function ud(e,t){if(typeof t=="string"){let n,r=ru();return n=[iu(t,new Le(()=>r,o=>{r=o})),r],n[0]?new h(0,[su(n[1])]):new h(1,[[e,new x(0,["a datetime",t])]])}else return new h(1,[[e,new x(0,["a datetime",t])]])}function fd(e,t){if(typeof t=="string"){let n,r=Wu();return n=[Zu(t,new Le(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new x(0,["a datetimeoffset",t])]])}else return new h(1,[[e,new x(0,["a datetime",t])]])}function dd(e,t){if(typeof t=="string"){let n,r=0;return n=[Xu(t,new Le(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new x(0,["a timespan",t])]])}else return new h(1,[[e,new x(0,["a timespan",t])]])}function va(e,t,n,r){let o;const i=n+".["+Xe(e)+"]";if(Array.isArray(r)){const s=r;return e<s.length?t(i,ae(e,s)):new h(1,[[i,new x(5,["a longer array. Need index `"+Xe(e)+"` but there are only `"+(o=s.length,Xe(o))+"` entries",r])]])}else return new h(1,[[i,new x(0,["an array",r])]])}function pd(e,t,n){return n==null?new h(0,[void 0]):ht(Oe,e(t,n))}function Aa(e,t,n){if(Array.isArray(n)){let r=-1;return ht(po,or((o,i)=>{if(r=r+1|0,o.tag===0){const s=e(t+".["+Xe(r)+"]",i);return s.tag===0?new h(0,[Pe(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 x(0,["a list",n])]])}function hd(e,t,n){if(Array.isArray(n)){let r=-1;return ht(wf,or((o,i)=>{if(r=r+1|0,o.tag===0){const s=e(t+".["+Xe(r)+"]",i);return s.tag===0?new h(0,[ie([s.fields[0]],o.fields[0])]):new h(1,[s.fields[0]])}else return o},new h(0,[[]]),n))}else return new h(1,[[t,new x(0,["a seq",n])]])}function xa(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return or((i,s)=>{if(r=r+1|0,i.tag===0){const a=i.fields[0],u=e(t+".["+Xe(r)+"]",s);return u.tag===0?(yt(a,r,u.fields[0]),new h(0,[a])):new h(1,[u.fields[0]])}else return i},new h(0,[uo(new Array(o.length),0,o.length,null)]),o)}else return new h(1,[[t,new x(0,["an array",n])]])}function md(e,t,n){return((o,i)=>{e:for(;;){const s=o,a=i;if(N(s))return new h(1,[[t,new x(7,[a])]]);{const u=pa(t,V(E(s)),n);if(u.tag===1){o=P(s),i=Sn(a,oe(u.fields[0]));continue e}else return new h(0,[u.fields[0]])}}})(e,le())}function gd(e,t,n){return new h(0,[e])}function Sa(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 wd(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 _d(e,t){let n;const r=e;return n=o=>i=>va(0,r,o,i),o=>i=>Sa(eo(s=>{let a;const u=t;return a=l=>f=>va(1,u,l,f),l=>f=>Sa((c,m,d)=>gd([s,c]),V(a),l,f)}),V(n),o,i)}function yd(e){return jf(e,{Compare:Me})}function bd(e){return nd(e,{Compare:Me})}function vd(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?Es((r,o)=>{const i=r[0];return o.tag===0?ht(s=>Pe(s,o.fields[0]),r[1](t+"."+i)(n[i])):o},e,new h(0,[le()])):new h(1,[[t,new x(0,["an object",n])]])}function Ad(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?$s((o,i)=>{if(o.tag===0){const s=e(n,i);if(s.tag===0){const a=t(n+"."+i,r[i]);return a.tag===0?new h(0,[Pe([s.fields[0],a.fields[0]],o.fields[0])]):new h(1,[a.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 x(0,["an object",r])]])}function Ca(e,t,n,r){let o;const i=t.length+e|0;if(i!==r.length)return new h(1,[[n,new x(6,[(o=r.length|0,et(ze("Expected array of length %i but got %i"))(i)(o))])]]);{let s=new h(0,[le()]);for(let a=e;a<=r.length-1;a++)if(s.tag===0){const u=s.fields[0],l=et(ze("%s[%i]"))(n)(a),f=ae(a-e,t),c=ae(a,r);s=ht(m=>Pe(m,u),f(l)(c))}return ht(po,s)}}function Ea(e,t,n,r,o,i){const s=Au(a=>io(a)===r,$c(n));if(s!=null){const a=s,u=pt(l=>qe(e,t,!1,l[1]),zc(a));return ht(l=>Gc(a,An(l)),u.length===0&&i.length<=1?new h(0,[le()]):Ca(1,u,o,i))}else return new h(1,[[o,new x(6,["Cannot find case "+r+" in "+se(n)])]])}function ka(e,t,n,r){let o;const i=new Le(St());let s;const a=se(r);s=a===""?e:Nf(a,i,e);let u;if(Lc(r)){const l=pt(f=>[Nu(t,io(f)),qe(s,t,!1,f[1])],Yn(r));u=f=>c=>ht(m=>Qc(r,An(m)),vd(l,f,c))}else if(Uc(r))u=l=>f=>{if(typeof f=="string")return Ea(s,t,r,f,l,[]);if(Array.isArray(f)){const c=f;return Pu(m=>Ea(s,t,r,m,l,c),ha(l+"[0]",ae(0,c)))}else return new h(1,[[l,new x(0,["a string or array",f])]])};else if(n)u=l=>f=>new h(1,[[l,new x(2,["an extra coder for "+se(r),f])]]);else throw new Error((o=se(r),et(ze(`Cannot generate auto decoder for %s. Please pass an extra decoder.
|
|
13
|
+
|
|
14
|
+
Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(o)));return i.contents=u,u}function qe(e,t,n,r){let o,i,s,a;const u=se(r),l=Bf(u,e);if(l==null)if(Pc(r)){const f=qe(e,t,!1,Xn(r));return c=>m=>xa(V(f),c,m)}else if(as(r))switch(se(jc(r))){case"System.SByte":return c=>m=>{const d=r,g=c,_=m,w=ma(g)(_);if(w.tag===1)return new h(1,[w.fields[0]]);{const y=w.fields[0]|0;return Gt(y,Ht(d),{Equals:(S,I)=>S===I,GetHashCode:Ue})?new h(0,[$t(d,y.toString())]):new h(1,[[g,new x(1,[se(d),_,"Unkown value provided for the enum"])]])}};case"System.Byte":return c=>m=>{const d=r,g=c,_=m,w=ga(g)(_);if(w.tag===1)return new h(1,[w.fields[0]]);{const y=w.fields[0];return Gt(y,Ht(d),{Equals:(S,I)=>S===I,GetHashCode:Ue})?new h(0,[$t(d,y.toString())]):new h(1,[[g,new x(1,[se(d),_,"Unkown value provided for the enum"])]])}};case"System.Int16":return c=>m=>{const d=r,g=c,_=m,w=wa(g)(_);if(w.tag===1)return new h(1,[w.fields[0]]);{const y=w.fields[0]|0;return Gt(y,Ht(d),{Equals:(S,I)=>S===I,GetHashCode:Ue})?new h(0,[$t(d,fc(y))]):new h(1,[[g,new x(1,[se(d),_,"Unkown value provided for the enum"])]])}};case"System.UInt16":return c=>m=>{const d=r,g=c,_=m,w=_a(g)(_);if(w.tag===1)return new h(1,[w.fields[0]]);{const y=w.fields[0];return Gt(y,Ht(d),{Equals:(S,I)=>S===I,GetHashCode:Ue})?new h(0,[$t(d,y.toString())]):new h(1,[[g,new x(1,[se(d),_,"Unkown value provided for the enum"])]])}};case"System.Int32":return c=>m=>{const d=r,g=c,_=m,w=ya(g)(_);if(w.tag===1)return new h(1,[w.fields[0]]);{const y=w.fields[0]|0;return Gt(y,Ht(d),{Equals:(S,I)=>S===I,GetHashCode:Ue})?new h(0,[$t(d,Xe(y))]):new h(1,[[g,new x(1,[se(d),_,"Unkown value provided for the enum"])]])}};case"System.UInt32":return c=>m=>{const d=r,g=c,_=m,w=ba(g)(_);if(w.tag===1)return new h(1,[w.fields[0]]);{const y=w.fields[0];return Gt(y,Ht(d),{Equals:(S,I)=>S===I,GetHashCode:Ue})?new h(0,[$t(d,y.toString())]):new h(1,[[g,new x(1,[se(d),_,"Unkown value provided for the enum"])]])}};default:{const c=se(r),m=fu(ze(`Cannot generate auto decoder for %s.
|
|
15
|
+
Thoth.Json.Net only support the following enum types:
|
|
16
|
+
- sbyte
|
|
17
|
+
- byte
|
|
18
|
+
- int16
|
|
19
|
+
- uint16
|
|
20
|
+
- int
|
|
21
|
+
- uint32
|
|
22
|
+
If you can't use one of these types, please pass an extra decoder.
|
|
23
|
+
`))(c);return d=>m(d)}}else if(Nc(r))if(ls(r)){const f=pt(c=>qe(e,t,!1,c),Vc(r));return c=>m=>Array.isArray(m)?ht(d=>Wc(An(d)),Ca(0,f,c,m)):new h(1,[[c,new x(0,["an array",m])]])}else switch(se(Bc(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=qe(e,t,!0,ae(0,ft(r))),c=>m=>pd(V(o),c,m);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return i=qe(e,t,!1,ae(0,ft(r))),c=>m=>Aa(V(i),c,m);case"System.Collections.Generic.IEnumerable`1[System.Object]":return s=qe(e,t,!1,ae(0,ft(r))),c=>m=>hd(V(s),c,m);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const c=qe(e,t,!1,ae(0,ft(r))),m=qe(e,t,!1,ae(1,ft(r)));let d;const g=C([_=>w=>Ad(V(c),V(m),_,w),(a=_d(V(c),V(m)),_=>w=>Aa(V(a),_,w))]);return d=_=>w=>md(g,_,w),_=>w=>wd(yd,V(d),_,w)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const c=qe(e,t,!1,ae(0,ft(r)));return m=>d=>{const g=xa(V(c),m,d);return g.tag===0?new h(0,[bd(g.fields[0])]):new h(1,[g.fields[0]])}}default:return ka(e,t,n,r)}else switch(u){case"System.Boolean":return f=>c=>ad(f,c);case"Microsoft.FSharp.Core.Unit":return f=>c=>sd(f,c);case"System.String":return f=>c=>ha(f,c);case"System.Char":return f=>c=>od(f,c);case"System.SByte":return ma;case"System.Byte":return ga;case"System.Int16":return wa;case"System.UInt16":return _a;case"System.Int32":return ya;case"System.UInt32":return ba;case"System.Double":return f=>c=>ld(f,c);case"System.Single":return f=>c=>cd(f,c);case"System.DateTime":return f=>c=>ud(f,c);case"System.DateTimeOffset":return f=>c=>fd(f,c);case"System.TimeSpan":return f=>c=>dd(f,c);case"System.Guid":return f=>c=>id(f,c);case"System.Object":return f=>c=>new h(0,[c]);default:return ka(e,t,n,r)}else{const f=l;return c=>m=>f.contents(c)(m)}}function xd(e){return ea({Compare:Yr})}function Kt(e,t,n){const r=As(t,new kt(0,[]));return qe(xd(),r,!1,e)}class vo extends Z{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AccessRole"]}}function Sd(e){return new vo(e)}const Cd=new vo("Import.RunInvites"),Ed=new vo("Import.RunImports");class kd extends Q{constructor(t,n){super(),this.UserName=t,this.Roles=n}}function Dd(e){return Is(Cd,e.Roles,{Equals:Ae,GetHashCode:ts})}function Da(e){return Is(Ed,e.Roles,{Equals:Ae,GetHashCode:ts})}function Id(e){let t;const n=co(e??"",["."],void 0,0);if(!Su((r,o)=>r===o,n)&&n.length===3){const r=ae(1,n),o=atob(r);t=qt(V(Kt(oo(["Name",te],["Roles",Mc(te)]),new kt(1,[]))),o)}else t=new h(1,["Failed to identify the user"]);if(t.tag!==1){const r=t.fields[0];return new kd(r.Name,C(pt(Sd,r.Roles)))}}class Td extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Profiles","Tax"]}}function Ao(){return wn("Import.Domain.AdminApi.Read.ImportStageDto",[],Td,()=>[[],[]])}class Rd extends Q{constructor(t,n){super(),this.RowId=t|0,this.Reason=n}}function Md(){return Fe("Import.Domain.AdminApi.Read.FailedRowInfoDto",[],Rd,()=>[["RowId",ne],["Reason",te]])}class Fd extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Invite","RevokeInvite"]}}function Od(){return wn("Import.Domain.AdminApi.Read.BenefitsRequestTypeDto",[],Fd,()=>[[],[]])}class Pd extends Q{constructor(t,n,r,o){super(),this.User=t,this.ProfileCount=n|0,this.RequestType=r,this.RequestedAt=o}}function Nd(){return Fe("Import.Domain.AdminApi.Read.BenefitsRequestInfoDto",[],Pd,()=>[["User",te],["ProfileCount",ne],["RequestType",Od()],["RequestedAt",dt("System.DateTime")]])}class Bd extends Q{constructor(t,n,r,o,i,s){super(),this.Stage=t,this.InputRowCount=n|0,this.StartTime=r,this.SucceededRowCount=o,this.FailedRowCount=i,this.RemainingRowCount=s}}function jd(){return Fe("Import.Domain.AdminApi.Read.RunningStageDto",[],Bd,()=>[["Stage",Ao()],["InputRowCount",ne],["StartTime",dt("System.DateTime")],["SucceededRowCount",jt(ne)],["FailedRowCount",jt(ne)],["RemainingRowCount",jt(ne)]])}class Hd extends Q{constructor(t,n,r,o,i,s){super(),this.Stage=t,this.InputRowCount=n|0,this.SucceededRowCount=r|0,this.FailedRowCount=o|0,this.StartTime=i,this.StopTime=s}}function Ia(){return Fe("Import.Domain.AdminApi.Read.CompletedStageDto",[],Hd,()=>[["Stage",Ao()],["InputRowCount",ne],["SucceededRowCount",ne],["FailedRowCount",ne],["StartTime",dt("System.DateTime")],["StopTime",dt("System.DateTime")]])}class $d extends Q{constructor(t,n,r,o,i,s,a){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CurrentStage=i,this.CompletedStages=s,this.StartTime=a}}function Ta(){return Fe("Import.Domain.AdminApi.Read.ActiveImportDto",[],$d,()=>[["ImportId",ne],["User",te],["Filename",te],["NumberOfRecords",ne],["CurrentStage",jt(jd())],["CompletedStages",Ye(Ia())],["StartTime",dt("System.DateTime")]])}class Vd extends Q{constructor(t,n,r,o,i,s,a,u){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CompletedStages=i,this.BenefitsRequests=s,this.StartTime=a,this.StopTime=u}}function Ra(){return Fe("Import.Domain.AdminApi.Read.PastImportDto",[],Vd,()=>[["ImportId",ne],["User",te],["Filename",te],["NumberOfRecords",ne],["CompletedStages",Ye(Ia())],["BenefitsRequests",Ye(Nd())],["StartTime",dt("System.DateTime")],["StopTime",dt("System.DateTime")]])}class Ma extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Active","Complete"]}}function Ud(){return wn("Import.Domain.AdminApi.Read.ImportStatusDto",[],Ma,()=>[[["Item",Ta()]],[["Item",Ra()]]])}class Ld extends Q{constructor(t,n){super(),this.ActiveImport=t,this.ImportHistory=n}}function zd(){return Fe("Import.Domain.AdminApi.Read.AccountImportsDto",[],Ld,()=>[["ActiveImport",jt(Ta())],["ImportHistory",Ye(Ra())]])}class Gd extends Q{constructor(t,n){super(),this.Column=t,this.Message=n}}function Qd(){return Fe("Import.Domain.AdminApi.Read.FieldError",[],Gd,()=>[["Column",te],["Message",te]])}class Wd extends Q{constructor(t,n){super(),this.RowId=t|0,this.FieldErrors=n}}function Jd(){return Fe("Import.Domain.AdminApi.Read.RowValidationError",[],Wd,()=>[["RowId",ne],["FieldErrors",Ye(Qd())]])}class Zd extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["InvalidFileContentType","InvalidImportStages","InvalidImportStage","StageNotCompleted","InvalidFileName","ExceedsMaxRows","FileFormatError","NoData","NoFile","MultipleFiles","RowValidationErrors","UnknownAccount","ImportInProgress","BadInternalRequestPayload","DuplicateRowId","InternalApiDeserializationError","InternalApiClientError"]}}function qd(){return wn("Import.Domain.AdminApi.Read.ApiError",[],Zd,()=>[[],[],[],[],[],[],[["Item",te]],[],[],[],[["Item",Ye(Jd())]],[],[],[],[],[["Item",oo(["Message",te])]],[["Item",oo(["Message",te])]]])}class Kd extends Q{constructor(t,n,r,o,i,s,a){super(),this.Stage=t,this.FailedRows=n,this.TotalRowCount=r|0,this.SucceededRowCount=o|0,this.FailedRowCount=i|0,this.StartTime=s,this.StopTime=a}}function Xd(){return Fe("Import.Domain.AdminApi.Read.CompletedStageDetailsDto",[],Kd,()=>[["Stage",Ao()],["FailedRows",Ye(Md())],["TotalRowCount",ne],["SucceededRowCount",ne],["FailedRowCount",ne],["StartTime",dt("System.DateTime")],["StopTime",dt("System.DateTime")]])}class Yd extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["MaxLength","Pattern","AllowedValues"]}}function ep(){return wn("Import.Domain.AdminApi.Read.ValidationRule",[],Yd,()=>[[["Item",ne]],[["Item",te]],[["Item",Ye(te)]]])}class tp extends Q{constructor(t,n,r,o,i){super(),this.DisplayName=t,this.PropName=n,this.Description=r,this.Required=o,this.ValidationRules=i}}function np(){return Fe("Import.Domain.AdminApi.Read.ColumnDefinitionDto",[],tp,()=>[["DisplayName",te],["PropName",te],["Description",jt(te)],["Required",Oc],["ValidationRules",Ye(ep())]])}class rp extends Q{constructor(t){super(),this.ColumnsInfo=t}}function op(){return Fe("Import.Domain.AdminApi.Read.ImportSchemaDto",[],rp,()=>[["ColumnsInfo",Ye(np())]])}class ip{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 pr extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,pr.prototype)}}class xo{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>xo.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function mt(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new pr);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(Wn(n))}});else try{e(t)}catch(n){t.onError(Wn(n))}}}function sp(e,t){return mt(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(Wn(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function ap(e){return mt(t=>t.onSuccess(e))}class lp{Bind(t,n){return sp(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return mt(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 ap(t)}ReturnFrom(t){return t}TryFinally(t,n){return mt(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 mt(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(i){r.onError(Wn(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 mt(t=>t.onSuccess(void 0))}}const A=new lp;function cp(e){return new Fa(0,[e])}function up(e){return new Fa(1,[e])}class Fa extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function fp(e){return cp(e)}function dp(e){return up(e)}function So(e){}const pp=new ip;function hp(e){return mt(t=>{e({onSuccess:n=>t.onSuccess(fp(n)),onError:n=>t.onSuccess(dp(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function mp(e){return mt(t=>e([t.onSuccess,t.onError,t.onCancel]))}function gp(e){return mt(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new pr)})})}function wp(e,t){return _p(e,t)}function Co(e,t){return wp(e,t)}function _p(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const i=new xo;e({onSuccess:t||So,onError:So,onCancel:So,cancelToken:o||pp,trampoline:i})}class Xt extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class yp extends Z{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class Oa extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class En extends Q{constructor(t,n,r,o,i,s,a,u){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=i,this.overridenResponseType=s,this.timeout=a,this.content=u}}class Yt extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Pa extends Q{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}}function kn(e){return new yp("Authorization",e)}const Tt=new En("",new Xt(0,[]),le(),!1,void 0,void 0,void 0,new Oa(0,[]));new Pa(0,"","","",ea({Compare:Yr}),new Yt(0,[""]));function Na(e,t){return mu(t)?new Array(0):co(t,[e],void 0,0)}function bp(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 Dn(e){return new En(e,Tt.method,Tt.headers,Tt.withCredentials,Tt.overridenMimeType,Tt.overridenResponseType,Tt.timeout,Tt.content)}function In(e,t){return new En(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Tn(e,t){return new En(t.url,t.method,Sn(t.headers,oe(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function vp(e,t){return new En(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function Rn(e){return mp(t=>{const n=new XMLHttpRequest;n.open(bp(e.method),e.url),n.onreadystatechange=()=>{let u,l,f,c,m,d,g;n.readyState===4&&t[0]((u=(l=n.responseType,l===""||l==="text"?n.responseText:""),f=n.status|0,c=n.responseType,m=(d=n.responseType,d===""?new Yt(0,[n.responseText]):d==="text"?new Yt(0,[n.responseText]):d==="arraybuffer"?new Yt(2,[n.response]):d==="blob"?new Yt(1,[n.response]):new Yt(3,[n.response])),g=Hf(xu(_=>{const w=C(Na(":",_));if(!N(w))return[E(w).toLocaleLowerCase(),Ee(":",P(w)).trim()]},Na(`\r
|
|
24
|
+
`,n.getAllResponseHeaders())),{Compare:Yr}),new Pa(f,u,c,n.responseURL,g,m)))};const r=q(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{z(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const u=o;n.overrideMimeType(u)}const i=e.overridenResponseType;if(i!=null)switch(i.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const s=e.timeout;if(s!=null){const u=s|0;n.timeout=u|0}const a=e.content;switch(a.tag){case 1:{n.send(Oe(a.fields[0]));break}case 3:{n.send(Oe(a.fields[0]));break}case 2:{n.send(Oe(a.fields[0]));break}default:n.send()}})}class Eo extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadRequest","OtherError"]}}class Ap{constructor(t,n,r,o){this.backendUrl=t,this.accessToken=o,this.baseUrl=`${this.backendUrl}/import/admin/partners/${n}/accounts/${r}/imports`}}function xp(e,t,n,r){return new Ap(e,t,n,r)}function Sp(e){return A.Delay(()=>{let t,n;const r=Rn((t=In(new Xt(0,[]),Dn(`${e.backendUrl}/import/admin/schema`)),Tn(kn(et(ze("Bearer %s"))(e.accessToken)),t)));return n=A.Bind(r,o=>A.Return(new h(0,[o]))),A.Bind(n,o=>{const i=o;if(i.tag===1)return A.Return(new h(1,[i.fields[0]]));{const s=i.fields[0];if(s.statusCode===200){const a=qt(V(Kt(op(),new kt(1,[]))),s.responseText);return A.Return(a)}else return A.Return(new h(1,["Failed to get import schema"]))}})})}function Cp(e,t){return A.Delay(()=>{let n,r;const o=Rn((n=In(new Xt(0,[]),Dn(`${e.baseUrl}/${t}/status`)),Tn(kn(et(ze("Bearer %s"))(e.accessToken)),n)));return r=A.Bind(o,i=>A.Return(new h(0,[i]))),A.Bind(r,i=>{const s=i;if(s.tag===1)return A.Return(new h(1,[s.fields[0]]));{const a=s.fields[0];if(a.statusCode===200){const u=qt(V(Kt(Ud(),new kt(1,[]))),a.responseText);return A.Return(u)}else return A.Return(new h(1,["Failed to get import status"]))}})})}function Ep(e,t,n){return A.Delay(()=>{let r,o;const i=Rn((r=In(new Xt(0,[]),Dn(`${e.baseUrl}/${t}/stages/${n}`)),Tn(kn(et(ze("Bearer %s"))(e.accessToken)),r)));return o=A.Bind(i,s=>A.Return(new h(0,[s]))),A.Bind(o,s=>{const a=s;if(a.tag===1)return A.Return(new h(1,[a.fields[0]]));{const u=a.fields[0];if(u.statusCode===200){const l=qt(V(Kt(Xd(),new kt(1,[]))),u.responseText);return A.Return(l)}else return A.Return(new h(1,["Failed to get import stage details"]))}})})}function kp(e){return A.Delay(()=>{let t,n;const r=Rn((t=In(new Xt(0,[]),Dn(e.baseUrl)),Tn(kn(et(ze("Bearer %s"))(e.accessToken)),t)));return n=A.Bind(r,o=>A.Return(new h(0,[o]))),A.Bind(n,o=>{const i=o;if(i.tag===1)return A.Return(new h(1,[i.fields[0]]));{const s=i.fields[0];switch(s.statusCode|0){case 200:{let u;const l=qt(V(Kt(zd(),new kt(1,[]))),s.responseText);return u=l.tag===1?new h(1,[l.fields[0]]):new h(0,[l.fields[0]]),A.Return(u)}case 404:return A.Return(new h(0,[void 0]));default:return A.Return(new h(1,["Failed to get account imports"]))}}})})}function Dp(e,t){return A.Delay(()=>{let n,r;const o=Rn((n=vp(new Oa(3,[t]),In(new Xt(1,[]),Dn(e.baseUrl))),Tn(kn(et(ze("Bearer %s"))(e.accessToken)),n)));return r=A.Bind(o,i=>A.Return(new h(0,[i]))),A.Bind(r,i=>{const s=i;if(s.tag===1)return A.Return(new h(1,[s.fields[0]]));{const a=s.fields[0];switch(a.statusCode|0){case 202:return A.Return(new h(0,[void 0]));case 400:{let l,f;const c=qt(V(Kt(qd(),new kt(1,[]))),a.responseText);return f=c.tag===1?new h(1,[new Eo(1,[c.fields[0]])]):new h(0,[c.fields[0]]),l=A.Return(f),A.Bind(l,m=>{const d=m;return d.tag===1?A.Return(new h(1,[d.fields[0]])):A.Return(new h(1,[new Eo(0,[d.fields[0]])]))})}default:return A.Return(new h(1,[new Eo(1,["Failed to start import"])]))}}})})}class Ip{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function Tp(e,t){t.Subscribe(new Ip(e))}class Rp{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}get Publish(){return Fp(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,n){let r=null;const o=n===void 0?t:(r=t,n);this.delegates.forEach(i=>{i(r,o)})}}class Mp extends Rp{}function Fp(e,t){return{AddHandler(n){e(n)},RemoveHandler(n){t(n)},Subscribe(n){const r=(o,i)=>n.OnNext(i);return e(r),{Dispose(){t(r)}}}}}class Op{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 Mp}Elapsed(){return this._elapsed.Publish}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 Pp(e,t){console.error(Oe(e),t)}function Np(e,t){let n,r=new Op(e);r.AutoReset=!1,n=r,Tp(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Ba(e,t,n){xn(r=>{try{r(t)}catch(o){e(o)}},n)}function Ne(){return le()}function ko(e,t,n,r){return oe(o=>{e(A.Delay(()=>A.Bind(hp(t(n)),i=>{const s=i;return s.tag===0&&o(r(s.fields[0])),A.Zero()})))})}function Do(e){Np(1,t=>{Co(e)})}function Io(e){return e.tag===1?"tax":"profiles"}class rt extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Requested","Finished"]}}class en extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ActiveImport","PastImports"]}}function ja(e){return e.tag===1?"Past Imports":"Active Import"}class Bp extends Q{constructor(t,n){super(),this.AccountId=t,this.PartnerId=n}}class Be extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Initialising","FileSelection","Validating","ValidationError","ImportInProgress","UnexpectedError"]}}class Mn extends Q{constructor(t,n){super(),this.PastImports=t,this.ImportSummary=n}}class xe extends Q{constructor(t,n,r,o,i,s){super(),this.ImportService=t,this.User=n,this.CurrentTab=r,this.AccountInfo=o,this.ActiveImportTabState=i,this.ImportHistoryTabState=s}}class Se extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetCurrentTab","SelectFile","ShowImportSummary","ShowImportHistory","GetImports","StartImport","GetImportStatus"]}}function jp(e,t,n){return[new xe(n,e,new en(0,[]),t,new Be(0,[]),new Mn(le(),void 0)),oe(r=>{r(new Se(4,[new rt(0,[void 0])]))})]}function Hp(e,t){let n;switch(e.tag){case 4:if(e.fields[0].tag===1){if(e.fields[0].fields[0].tag===1)return[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(5,[e.fields[0].fields[0].fields[0]]),t.ImportHistoryTabState),Ne()];if(e.fields[0].fields[0].fields[0]==null)return[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(1,[]),t.ImportHistoryTabState),Ne()];{const r=e.fields[0].fields[0].fields[0];let o;const i=r.ActiveImport;if(i==null)o=[new Be(1,[]),Ne()];else{const s=i;o=[new Be(4,[new Ma(0,[s])]),oe(a=>{a(new Se(6,[new rt(0,[s.ImportId])]))})]}return[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,o[0],new Mn(r.ImportHistory,t.ImportHistoryTabState.ImportSummary)),o[1]]}}else return[t,ko(r=>{Do(r)},()=>kp(t.ImportService),e.fields[0].fields[0],r=>new Se(4,[new rt(1,[r])]))];case 6:return e.fields[0].tag===1?e.fields[0].fields[0].tag===1?[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(5,[e.fields[0].fields[0].fields[0]]),t.ImportHistoryTabState),(n=t.ActiveImportTabState,n.tag===4&&n.fields[0].tag===0?oe(r=>{r(new Se(6,[new rt(0,[n.fields[0].fields[0].ImportId])]))}):Ne())]:e.fields[0].fields[0].fields[0].tag===1?[new xe(t.ImportService,t.User,new en(1,[]),t.AccountInfo,new Be(1,[]),new Mn(t.ImportHistoryTabState.PastImports,e.fields[0].fields[0].fields[0].fields[0])),oe(r=>{r(new Se(4,[new rt(0,[void 0])]))})]:[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(4,[e.fields[0].fields[0].fields[0]]),t.ImportHistoryTabState),oe(r=>{r(new Se(6,[new rt(0,[e.fields[0].fields[0].fields[0].fields[0].ImportId])]))})]:[t,ko(r=>{Do(r)},r=>A.Delay(()=>A.Bind(gp(1e4),()=>A.ReturnFrom(Cp(t.ImportService,r)))),e.fields[0].fields[0],r=>new Se(6,[new rt(1,[r])]))];case 1:return[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(1,[]),t.ImportHistoryTabState),Ne()];case 5:return e.fields[0].tag===1?e.fields[0].fields[0].tag===1?e.fields[0].fields[0].fields[0].tag===1?[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(5,[e.fields[0].fields[0].fields[0].fields[0]]),t.ImportHistoryTabState),Ne()]:[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(3,[e.fields[0].fields[0].fields[0].fields[0]]),t.ImportHistoryTabState),Ne()]:[t,oe(r=>{r(new Se(4,[new rt(0,[void 0])]))})]:[new xe(t.ImportService,t.User,t.CurrentTab,t.AccountInfo,new Be(2,[]),t.ImportHistoryTabState),ko(r=>{Do(r)},r=>Dp(t.ImportService,r),e.fields[0].fields[0],r=>new Se(5,[new rt(1,[r])]))];case 2:return[new xe(t.ImportService,t.User,new en(1,[]),t.AccountInfo,t.ActiveImportTabState,new Mn(t.ImportHistoryTabState.PastImports,e.fields[0])),Ne()];case 3:return[new xe(t.ImportService,t.User,new en(1,[]),t.AccountInfo,t.ActiveImportTabState,new Mn(t.ImportHistoryTabState.PastImports,void 0)),Ne()];default:return[new xe(t.ImportService,t.User,e.fields[0],t.AccountInfo,t.ActiveImportTabState,t.ImportHistoryTabState),Ne()]}}function $p(){return le()}function To(e){return Ee("/",e)}function Vp(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+To(t),n])}function Ha(e,t,n){try{z(n)}catch(r){e(["Error stopping subscription: "+To(t),r])}}function Up(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+To(n),o]);return}}function Lp(e,t){xn(n=>{Ha(e,n[0],n[1])},t)}function $a(e,t,n,r,o,i){return xn(s=>{Vp(e,s)},n),xn(s=>{Ha(e,s[0],s[1])},r),Sn(o,Fu(s=>Up(e,t,s[0],s[1]),i))}function zp(){return[le(),ed({Compare:Me}),le()]}function Gp(e,t,n,r,o){return bo(e,r)?[Pe(e,n),r,o]:[n,Yf(e,r),Pe([e,t],o)]}function Qp(e){return ku((t,n)=>Gp(t[0],t[1],n[0],n[1],n[2]),e,zp())}const Wp=le();function Va(e,t){const n=td(Et(s=>s[0],e),{Compare:Me}),r=Qp(t),o=r[1],i=r[0];if(n.Equals(o))return[i,le(),e,le()];{const s=Mu(a=>bo(a[0],o),e);return[i,s[1],s[0],Ru(a=>!bo(a[0],n),r[2])]}}function Jp(e,t,n,r){const o=Me(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const i=o>0;return s=>{const a=Me(s,t)|0;return i&&a<=0||!i&&a>=0?[s,r(s,e)]:void 0}}function Zp(e,t,n,r,o){const i=Jp(t,n,r,o);return F(()=>df(i,e))}function qp(e,t,n){return Zp(e,t,n,0,(r,o)=>r+o)}class tn extends Z{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class Kp{constructor(t){this.state=new tn(0,[uo(new Array(Cs(t,10)),0,Cs(t,10),null),0])}}function Xp(e){return new Kp(e)}function Ua(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 tn(0,[o,n]):e.state=new tn(1,[o,n,i]),Oe(ae(r,o))}else return}function Yp(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];yt(i,r,t);const s=(r+1)%i.length|0;s===o?e.state=new tn(1,[eh(e,o,i),i.length,0]):e.state=new tn(1,[i,s,o])}else{const r=n.fields[1]|0,o=n.fields[0];yt(o,r,t);const i=(r+1)%o.length|0;e.state=new tn(1,[o,i,r])}}function eh(e,t,n){return Array.from(F(()=>ie(_f(t,n),F(()=>ie(yf(t,n),F(()=>ar(r=>O(St()),qp(0,1,n.length))))))))}class Ro extends Q{constructor(t,n,r,o,i,s,a){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=i,this.onError=s,this.termination=a}}function th(e,t,n){return new Ro(e,t,r=>$p(),n,V(r=>{const o=Ct(n)(r);return i=>{o(i)}}),r=>{Pp(r[0],r[1])},[r=>!1,r=>{}])}function nh(e,t){return new Ro(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function rh(e){return e.init}function oh(e,t,n,r,o,i,s){const a=Ct(e)(s.init),u=to(t)(Ct(s.update)),l=to(n)(Ct(s.view)),f=to(r)(Ct(s.setState));return new Ro(a,V(u),Ct(o)(s.subscribe),V(l),V(f),s.onError,i(s.termination))}function ih(e,t,n){let r;const o=n.init(t),i=o[0],s=n.subscribe(i),a=n.termination,u=Xp(10);let l=!1,f=i,c=Wp,m=!1;const d=w=>{m||(Yp(u,w),l||(l=!0,_(),l=!1))},g=Ct(e)(d),_=()=>{let w,y=Ua(u);for(;!m&&y!=null;){const S=b(y);if(a[0](S))Lp(n.onError,c),a[1](f),m=!0;else{const I=n.update(S,f),ue=I[0],ee=n.subscribe(ue);n.setState(ue,g),Ba(gt=>{n.onError([et(ze("Error handling the message: %A"))(S),gt])},g,I[1]),f=ue,c=(w=Va(c,ee),$a(n.onError,g,w[0],w[1],w[2],w[3])),y=Ua(u)}}};l=!0,n.setState(i,g),Ba(w=>{n.onError([et(ze("Error intitializing:")),w])},g,o[1]),c=(r=Va(c,s),$a(n.onError,g,r[0],r[1],r[2],r[3])),_(),l=!1}function sh(e,t){ih(V(n=>n),e,t)}function ah(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function lh(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var La={exports:{}},za={};const ch=lh(sc);/**
|
|
25
|
+
* @license React
|
|
26
|
+
* use-sync-external-store-shim.production.min.js
|
|
27
|
+
*
|
|
28
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/var nn=ch;function uh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fh=typeof Object.is=="function"?Object.is:uh,dh=nn.useState,ph=nn.useEffect,hh=nn.useLayoutEffect,mh=nn.useDebugValue;function gh(e,t){var n=t(),r=dh({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return hh(function(){o.value=n,o.getSnapshot=t,Mo(o)&&i({inst:o})},[e,n,t]),ph(function(){return Mo(o)&&i({inst:o}),e(function(){Mo(o)&&i({inst:o})})},[e]),mh(n),n}function Mo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fh(e,n)}catch{return!0}}function wh(e,t){return t()}var _h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?wh:gh;za.useSyncExternalStore=nn.useSyncExternalStore!==void 0?nn.useSyncExternalStore:_h,La.exports=za;var yh=La.exports;class bh{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),i=[];this.finalDispatch=void 0;let s;const a=rh(o)(this.arg);let u=a[0],l=a[1];s=[[u,f=>{const c=this.finalDispatch;c==null?i.push(f):c(f)},!1,i],l],this.state=s[0],this.cmd=s[1],this.subscribe=f=>{let c=!1;const m=Kr(this.state[0]);return sh(this.arg,nh((d,g)=>{const _=this.state;this.finalDispatch=g,this.state=[d,_[1],!0,i],d!==_[0]&&f()},oh((d,g)=>{const _=this.cmd;return this.cmd=Ne(),[this.state[0],_]},(d,g,_)=>d(g)(this.state[0]),eo(d=>d),eo(d=>d),V(d=>d),d=>[g=>d[0](g)?!0:m&&c,g=>{const _=g;Kr(_)?z(_):d[1](g)}],o))),()=>{c=!0}}}}function Ga(e,t,n){return new bh(e,t,n)}function vh(e){return e.state}function Ah(e){return e.subscribe}function xh(e,t,n){return Ae(e.arg,t)?!Ae(e.dependencies,n):!0}function Sh(e,t,n){const r=Ot(()=>Ga(e,t,n)),o=r[0];xh(o,t,n)&&r[1](Ga(e,t,n));const i=yh.useSyncExternalStore(Ah(o),()=>vh(o)),s=i[2],a=i[3],u=i[1];return _t(()=>{if(s&&a.length>0){let l=q(a);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const f=l["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{u(f)})}}finally{z(l)}yc(a)}},[s,a]),[i[0],u]}const Ch=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Qa=pe(Ch),k=qr;function Eh(e){return Ee(", ",Et(Io,Et(t=>t.Stage,e.CompletedStages)))}function kh(e){let t,n,r,o,i,s,a;const u=e.dispatch,l=e.pastImports;return p("div",M(C([["className","-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"],(t=[p("div",M(C([["className","inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"],(n=[p("div",M(C([["className","overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg"],(r=[p("table",M(C([["className","min-w-full divide-y divide-gray-300"],(o=[p("thead",M(C([["className","bg-gray-100"],(i=[(s=C([p("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"}),p("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"Date"}),p("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"User"}),p("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"# of Records"}),p("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"Stages"}),p("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"Invites sent"})]),p("tr",{children:k.Children.toArray(Array.from(s))}))],["children",k.Children.toArray(Array.from(i))])]))),p("tbody",M(C([["className","divide-y divide-gray-200 bg-white"],(a=nt(F(()=>ar(f=>{let c;const m=Eh(f),d=Ds(f.BenefitsRequests)>0?"Yes":"No";return O(p("tr",M(C([["key",f.ImportId],["className","cursor-pointer hover:bg-gray-50"],["onClick",g=>{u(new Se(2,[f]))}],(c=[p("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-sm text-gray-500 sm:pl-6",children:f.ImportId}),p("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:pe(f.StartTime)}),p("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:f.User}),p("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:f.NumberOfRecords}),p("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:m}),p("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:d})],["children",k.Children.toArray(Array.from(c))])]))))},l))),["children",k.Children.toArray(Array.from(a))])])))],["children",k.Children.toArray(Array.from(o))])])))],["children",k.Children.toArray(Array.from(r))])])))],["children",k.Children.toArray(Array.from(n))])])))],["children",k.Children.toArray(Array.from(t))])])))}function Wa(e,t){return A.Delay(()=>{const n=document.createElement("a");let r;const o=new Blob([e],{type:"text/csv;charset=utf-8;"});return r=window.URL.createObjectURL(o),n.setAttribute("href",r),n.setAttribute("download",t),document.body.appendChild(n),n.click(),document.body.removeChild(n),A.Zero()})}function Dh(e,t,n){return A.Delay(()=>A.Bind(Ep(n,e,t),r=>{const o=r;if(o.tag===1)return A.Return(void 0);{const i=Ee(`\r
|
|
33
|
+
`,Sn(oe("Row,Reason"),Et(s=>Ee(",",pt(a=>`"${a}"`,pt(a=>vs(a,'"','""'),[Xe(s.RowId),s.Reason]))),o.fields[0].FailedRows)));return A.Bind(Wa(i,`${t}_stage_failed_rows.csv`),()=>A.Return(void 0))}}))}function Ja(e){let t,n,r;const o=e.dispatch,i=e.importService,s=e.import;return p("div",M(C([["className","text-center"],(t=[p("p",{children:[`Import ID: ${s.ImportId}`]}),p("p",{children:[`Creator: ${s.User}`]}),p("p",{children:[`Filename: ${s.Filename}`]}),p("p",{children:[`Date started: ${pe(s.StartTime)}`]}),p("p",{children:[`Date completed: ${pe(s.StopTime)}`]}),p("p",{children:[`Total rows: ${s.NumberOfRecords}`]}),p("div",M(C([["className","mt-4"],(n=nt(F(()=>{let a;return ie(O((a=oe(p("b",{children:["Completed stages"]})),p("p",{children:k.Children.toArray(Array.from(a))}))),F(()=>ar(u=>{let l;const f=Io(u.Stage);return O(p("div",M(C([["className","mt-4"],(l=nt(F(()=>ie(O(p("p",{children:[`Stage: ${f}`]})),F(()=>ie(O(p("p",{children:[`Row count: ${u.InputRowCount}`]})),F(()=>ie(O(p("p",{children:[`Successful count: ${u.SucceededRowCount}`]})),F(()=>ie(O(p("p",{children:[`Failed count: ${u.FailedRowCount}`]})),F(()=>ie(O(p("p",{children:[`Date started: ${pe(u.StartTime)}`]})),F(()=>ie(O(p("p",{children:[`Date completed: ${pe(u.StopTime)}`]})),F(()=>{let c;return u.FailedRowCount>0?O(p("button",M(C([["type","button"],["children","Download Errors"],(c="mt-4 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",["className",c]),["onClick",m=>{Co(Dh(s.ImportId,f,i))}]])))):Hs()})))))))))))))),["children",k.Children.toArray(Array.from(l))])]))))},s.CompletedStages)))})),["children",k.Children.toArray(Array.from(n))])]))),p("button",M(C([["type","button"],["children","Done"],(r="mt-4 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",["className",r]),["onClick",a=>{o(new Se(3,[]))}]])))],["children",k.Children.toArray(Array.from(t))])])))}function Ih(e){const t=e.dispatch,n=e.importService,r=e.state,o=r.ImportSummary;return o==null?p(kh,{pastImports:r.PastImports,dispatch:t}):p(Ja,{import:o,importService:n,dispatch:t})}const Za="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";var qa={exports:{}},Th="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Rh=Th,Mh=Rh;function Ka(){}function Xa(){}Xa.resetWarningCache=Ka;var Fh=function(){function e(r,o,i,s,a,u){if(u!==Mh){var l=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 l.name="Invariant Violation",l}}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:Xa,resetWarningCache:Ka};return n.PropTypes=n,n};qa.exports=Fh();var Oh=qa.exports;const $=ah(Oh);function rn(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 a(f){try{l(r.next(f))}catch(c){s(c)}}function u(f){try{l(r.throw(f))}catch(c){s(c)}}function l(f){f.done?i(f.value):o(f.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}function on(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:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(f){return u([l,f])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(n=0)),n;)try{if(r=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,o=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(f){l=[6,f],o=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ya(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(a){s={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function el(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))}typeof SuppressedError=="function"&&SuppressedError;var Ph=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 Fn(e,t){var n=Nh(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 Nh(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),o=Ph.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var Bh=[".DS_Store","Thumbs.db"];function jh(e){return rn(this,void 0,void 0,function(){return on(this,function(t){return hr(e)&&Hh(e.dataTransfer)?[2,Lh(e.dataTransfer,e.type)]:$h(e)?[2,Vh(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,Uh(e)]:[2,[]]})})}function Hh(e){return hr(e)}function $h(e){return hr(e)&&hr(e.target)}function hr(e){return typeof e=="object"&&e!==null}function Vh(e){return Fo(e.target.files).map(function(t){return Fn(t)})}function Uh(e){return rn(this,void 0,void 0,function(){var t;return on(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 Fn(r)})]}})})}function Lh(e,t){return rn(this,void 0,void 0,function(){var n,r;return on(this,function(o){switch(o.label){case 0:return e.items?(n=Fo(e.items).filter(function(i){return i.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(zh))]):[3,2];case 1:return r=o.sent(),[2,tl(nl(r))];case 2:return[2,tl(Fo(e.files).map(function(i){return Fn(i)}))]}})})}function tl(e){return e.filter(function(t){return Bh.indexOf(t.name)===-1})}function Fo(e){if(e===null)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function zh(e){if(typeof e.webkitGetAsEntry!="function")return rl(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?ol(t):rl(e)}function nl(e){return e.reduce(function(t,n){return el(el([],Ya(t),!1),Ya(Array.isArray(n)?nl(n):[n]),!1)},[])}function rl(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=Fn(t);return Promise.resolve(n)}function Gh(e){return rn(this,void 0,void 0,function(){return on(this,function(t){return[2,e.isDirectory?ol(e):Qh(e)]})})}function ol(e){var t=e.createReader();return new Promise(function(n,r){var o=[];function i(){var s=this;t.readEntries(function(a){return rn(s,void 0,void 0,function(){var u,l,f;return on(this,function(c){switch(c.label){case 0:if(a.length)return[3,5];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,Promise.all(o)];case 2:return u=c.sent(),n(u),[3,4];case 3:return l=c.sent(),r(l),[3,4];case 4:return[3,6];case 5:f=Promise.all(a.map(Gh)),o.push(f),i(),c.label=6;case 6:return[2]}})})},function(a){r(a)})}i()})}function Qh(e){return rn(this,void 0,void 0,function(){return on(this,function(t){return[2,new Promise(function(n,r){e.file(function(o){var i=Fn(o,e.fullPath);n(i)},function(o){r(o)})})]})})}var Wh=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 a=s.trim().toLowerCase();return a.charAt(0)==="."?r.toLowerCase().endsWith(a):a.endsWith("/*")?i===a.replace(/\/.*$/,""):o===a})}return!0};function il(e){return qh(e)||Zh(e)||cl(e)||Jh()}function Jh(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
34
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zh(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qh(e){if(Array.isArray(e))return Oo(e)}function sl(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 al(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sl(Object(n),!0).forEach(function(r){ll(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ll(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function On(e,t){return Yh(e)||Xh(e,t)||cl(e,t)||Kh()}function Kh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
35
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cl(e,t){if(e){if(typeof e=="string")return Oo(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 Oo(e,t)}}function Oo(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 Xh(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,a;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,a=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function Yh(e){if(Array.isArray(e))return e}var em="file-invalid-type",tm="file-too-large",nm="file-too-small",rm="too-many-files",om=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:em,message:"File type must be ".concat(n)}},ul=function(t){return{code:tm,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},fl=function(t){return{code:nm,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},im={code:rm,message:"Too many files"};function dl(e,t){var n=e.type==="application/x-moz-file"||Wh(e,t);return[n,n?null:om(t)]}function pl(e,t,n){if(Rt(e.size))if(Rt(t)&&Rt(n)){if(e.size>n)return[!1,ul(n)];if(e.size<t)return[!1,fl(t)]}else{if(Rt(t)&&e.size<t)return[!1,fl(t)];if(Rt(n)&&e.size>n)return[!1,ul(n)]}return[!0,null]}function Rt(e){return e!=null}function sm(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,s=e.maxFiles,a=e.validator;return!i&&t.length>1||i&&s>=1&&t.length>s?!1:t.every(function(u){var l=dl(u,n),f=On(l,1),c=f[0],m=pl(u,r,o),d=On(m,1),g=d[0],_=a?a(u):null;return c&&g&&!_})}function mr(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function gr(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 hl(e){e.preventDefault()}function am(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function lm(e){return e.indexOf("Edge/")!==-1}function cm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return am(e)||lm(e)}function ot(){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(a){return!mr(r)&&a&&a.apply(void 0,[r].concat(i)),mr(r)})}}function um(){return"showOpenFilePicker"in window}function fm(e){if(Rt(e)){var t=Object.entries(e).filter(function(n){var r=On(n,2),o=r[0],i=r[1],s=!0;return ml(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(gl))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),s=!1),s}).reduce(function(n,r){var o=On(r,2),i=o[0],s=o[1];return al(al({},n),{},ll({},i,s))},{});return[{description:"Files",accept:t}]}return e}function dm(e){if(Rt(e))return Object.entries(e).reduce(function(t,n){var r=On(n,2),o=r[0],i=r[1];return[].concat(il(t),[o],il(i))},[]).filter(function(t){return ml(t)||gl(t)}).join(",")}function pm(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function hm(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function ml(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function gl(e){return/^.*\.[\w]+$/.test(e)}var mm=["children"],gm=["open"],wm=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],_m=["refKey","onChange","onClick"];function ym(e){return Am(e)||vm(e)||wl(e)||bm()}function bm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
36
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vm(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Am(e){if(Array.isArray(e))return No(e)}function Po(e,t){return Cm(e)||Sm(e,t)||wl(e,t)||xm()}function xm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
37
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wl(e,t){if(e){if(typeof e=="string")return No(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 No(e,t)}}function No(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 Sm(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,a;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,a=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function Cm(e){if(Array.isArray(e))return e}function _l(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 J(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_l(Object(n),!0).forEach(function(r){Bo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_l(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e,t){if(e==null)return{};var n=Em(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 Em(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 jo=Ur(function(e,t){var n=e.children,r=wr(e,mm),o=bl(r),i=o.open,s=wr(o,gm);return $n(t,function(){return{open:i}},[i]),qr.createElement(ve,null,n(J(J({},s),{},{open:i})))});jo.displayName="Dropzone";var yl={disabled:!1,getFilesFromEvent:jh,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};jo.defaultProps=yl,jo.propTypes={children:$.func,accept:$.objectOf($.arrayOf($.string)),multiple:$.bool,preventDropOnDocument:$.bool,noClick:$.bool,noKeyboard:$.bool,noDrag:$.bool,noDragEventsBubbling:$.bool,minSize:$.number,maxSize:$.number,maxFiles:$.number,disabled:$.bool,getFilesFromEvent:$.func,onFileDialogCancel:$.func,onFileDialogOpen:$.func,useFsAccessApi:$.bool,autoFocus:$.bool,onDragEnter:$.func,onDragLeave:$.func,onDragOver:$.func,onDrop:$.func,onDropAccepted:$.func,onDropRejected:$.func,onError:$.func,validator:$.func};var Ho={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function bl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=J(J({},yl),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,a=t.multiple,u=t.maxFiles,l=t.onDragEnter,f=t.onDragLeave,c=t.onDragOver,m=t.onDrop,d=t.onDropAccepted,g=t.onDropRejected,_=t.onFileDialogCancel,w=t.onFileDialogOpen,y=t.useFsAccessApi,S=t.autoFocus,I=t.preventDropOnDocument,ue=t.noClick,ee=t.noKeyboard,gt=t.noDrag,ye=t.noDragEventsBubbling,Ke=t.onError,K=t.validator,it=$e(function(){return dm(n)},[n]),El=$e(function(){return fm(n)},[n]),Vo=$e(function(){return typeof w=="function"?w:vl},[w]),_r=$e(function(){return typeof _=="function"?_:vl},[_]),be=xt(null),je=xt(null),n0=pn(km,Ho),kl=Po(n0,2),Uo=kl[0],Te=kl[1],r0=Uo.isFocused,Dl=Uo.isFileDialogActive,yr=xt(typeof window<"u"&&window.isSecureContext&&y&&um()),Il=function(){!yr.current&&Dl&&setTimeout(function(){if(je.current){var D=je.current.files;D.length||(Te({type:"closeDialog"}),_r())}},300)};_t(function(){return window.addEventListener("focus",Il,!1),function(){window.removeEventListener("focus",Il,!1)}},[je,Dl,_r,yr]);var sn=xt([]),Tl=function(D){be.current&&be.current.contains(D.target)||(D.preventDefault(),sn.current=[])};_t(function(){return I&&(document.addEventListener("dragover",hl,!1),document.addEventListener("drop",Tl,!1)),function(){I&&(document.removeEventListener("dragover",hl),document.removeEventListener("drop",Tl))}},[be,I]),_t(function(){return!r&&S&&be.current&&be.current.focus(),function(){}},[be,S,r]);var Mt=de(function(v){Ke?Ke(v):console.error(v)},[Ke]),Rl=de(function(v){v.preventDefault(),v.persist(),xr(v),sn.current=[].concat(ym(sn.current),[v.target]),gr(v)&&Promise.resolve(o(v)).then(function(D){if(!(mr(v)&&!ye)){var X=D.length,fe=X>0&&sm({files:D,accept:it,minSize:s,maxSize:i,multiple:a,maxFiles:u,validator:K}),Re=X>0&&!fe;Te({isDragAccept:fe,isDragReject:Re,isDragActive:!0,type:"setDraggedFiles"}),l&&l(v)}}).catch(function(D){return Mt(D)})},[o,l,Mt,ye,it,s,i,a,u,K]),Ml=de(function(v){v.preventDefault(),v.persist(),xr(v);var D=gr(v);if(D&&v.dataTransfer)try{v.dataTransfer.dropEffect="copy"}catch{}return D&&c&&c(v),!1},[c,ye]),Fl=de(function(v){v.preventDefault(),v.persist(),xr(v);var D=sn.current.filter(function(fe){return be.current&&be.current.contains(fe)}),X=D.indexOf(v.target);X!==-1&&D.splice(X,1),sn.current=D,!(D.length>0)&&(Te({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),gr(v)&&f&&f(v))},[be,f,ye]),br=de(function(v,D){var X=[],fe=[];v.forEach(function(Re){var Pn=dl(Re,it),cn=Po(Pn,2),zo=cn[0],Go=cn[1],Qo=pl(Re,s,i),Sr=Po(Qo,2),Wo=Sr[0],Jo=Sr[1],Zo=K?K(Re):null;if(zo&&Wo&&!Zo)X.push(Re);else{var qo=[Go,Jo];Zo&&(qo=qo.concat(Zo)),fe.push({file:Re,errors:qo.filter(function(a0){return a0})})}}),(!a&&X.length>1||a&&u>=1&&X.length>u)&&(X.forEach(function(Re){fe.push({file:Re,errors:[im]})}),X.splice(0)),Te({acceptedFiles:X,fileRejections:fe,type:"setFiles"}),m&&m(X,fe,D),fe.length>0&&g&&g(fe,D),X.length>0&&d&&d(X,D)},[Te,a,it,s,i,u,m,d,g,K]),vr=de(function(v){v.preventDefault(),v.persist(),xr(v),sn.current=[],gr(v)&&Promise.resolve(o(v)).then(function(D){mr(v)&&!ye||br(D,v)}).catch(function(D){return Mt(D)}),Te({type:"reset"})},[o,br,Mt,ye]),an=de(function(){if(yr.current){Te({type:"openDialog"}),Vo();var v={multiple:a,types:El};window.showOpenFilePicker(v).then(function(D){return o(D)}).then(function(D){br(D,null),Te({type:"closeDialog"})}).catch(function(D){pm(D)?(_r(D),Te({type:"closeDialog"})):hm(D)?(yr.current=!1,je.current?(je.current.value=null,je.current.click()):Mt(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."))):Mt(D)});return}je.current&&(Te({type:"openDialog"}),Vo(),je.current.value=null,je.current.click())},[Te,Vo,_r,y,br,Mt,El,a]),Ol=de(function(v){!be.current||!be.current.isEqualNode(v.target)||(v.key===" "||v.key==="Enter"||v.keyCode===32||v.keyCode===13)&&(v.preventDefault(),an())},[be,an]),Pl=de(function(){Te({type:"focus"})},[]),Nl=de(function(){Te({type:"blur"})},[]),Bl=de(function(){ue||(cm()?setTimeout(an,0):an())},[ue,an]),ln=function(D){return r?null:D},Lo=function(D){return ee?null:ln(D)},Ar=function(D){return gt?null:ln(D)},xr=function(D){ye&&D.stopPropagation()},o0=$e(function(){return function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=v.refKey,X=D===void 0?"ref":D,fe=v.role,Re=v.onKeyDown,Pn=v.onFocus,cn=v.onBlur,zo=v.onClick,Go=v.onDragEnter,Qo=v.onDragOver,Sr=v.onDragLeave,Wo=v.onDrop,Jo=wr(v,wm);return J(J(Bo({onKeyDown:Lo(ot(Re,Ol)),onFocus:Lo(ot(Pn,Pl)),onBlur:Lo(ot(cn,Nl)),onClick:ln(ot(zo,Bl)),onDragEnter:Ar(ot(Go,Rl)),onDragOver:Ar(ot(Qo,Ml)),onDragLeave:Ar(ot(Sr,Fl)),onDrop:Ar(ot(Wo,vr)),role:typeof fe=="string"&&fe!==""?fe:"presentation"},X,be),!r&&!ee?{tabIndex:0}:{}),Jo)}},[be,Ol,Pl,Nl,Bl,Rl,Ml,Fl,vr,ee,gt,r]),i0=de(function(v){v.stopPropagation()},[]),s0=$e(function(){return function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=v.refKey,X=D===void 0?"ref":D,fe=v.onChange,Re=v.onClick,Pn=wr(v,_m),cn=Bo({accept:it,multiple:a,type:"file",style:{display:"none"},onChange:ln(ot(fe,vr)),onClick:ln(ot(Re,i0)),tabIndex:-1},X,je);return J(J({},cn),Pn)}},[je,n,a,vr,r]);return J(J({},Uo),{},{isFocused:r0&&!r,getRootProps:o0,getInputProps:s0,rootRef:be,inputRef:je,open:ln(an)})}function km(e,t){switch(t.type){case"focus":return J(J({},e),{},{isFocused:!0});case"blur":return J(J({},e),{},{isFocused:!1});case"openDialog":return J(J({},Ho),{},{isFileDialogActive:!0});case"closeDialog":return J(J({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return J(J({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return J(J({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return J({},Ho);default:return e}}function vl(){}const Dm="data:image/jpeg;base64,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",Im="data:image/jpeg;base64,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";var Tm=0;function ce(e,t,n,r,o,i){t||(t={});var s,a,u=t;if("ref"in u)for(a in u={},t)a=="ref"?s=t[a]:u[a]=t[a];var l={type:e,props:u,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Tm,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)u[a]===void 0&&(u[a]=s[a]);return R.vnode&&R.vnode(l),l}function Rm({onCancel:e,onSubmit:t,onFileDrop:n}){const r=de(c=>{const m=c[0];n(m,m.path)},[]),{getRootProps:o,getInputProps:i,open:s,acceptedFiles:a,fileRejections:u}=bl({onDrop:r,accept:{"text/csv":[".csv"]},maxFiles:1,noClick:!0,noKeyboard:!0,multiple:!1,maxSize:4e6}),l=a.map(c=>ce("p",{children:c.path},c.path)),f=u.map(({file:c,errors:m})=>ce("li",{children:[c.path," - ",c.size," bytes",ce("ul",{children:m.map(d=>ce("li",{children:d.message},d.code))})]},c.path));return ce("div",{...o(),children:[ce("input",{...i(),name:"file"}),ce("img",{src:l.length?Im:Dm,className:"mx-auto mb-2"}),u.length?ce("div",{className:"mb-2",children:[ce("div",{className:"mb-2 font-semibold",children:"Rejected files"}),ce("ul",{children:f})]}):ce(ve,{}),l.length?ce(ve,{children:[l,ce("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"}),ce("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"})]}):ce(ve,{children:[ce("p",{className:"mb-6 text-gray-500",children:"Drag a file to upload"}),ce("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"})]})]})}const Mm=Za;function Fm(e){let t;const n=e.dispatch,r=k.useState(!1),o=r[1],i=k.useState(0),s=i[0]|0;let a;const u=new FormData;a=k.useState(u);const l=a[0],f=k.useState("profiles");return p("form",M(C([["key",s],(t=nt(F(()=>ie(O(p("label",{for:"importStages"})),F(()=>{let c;return ie(O(p("select",M(C([["className","m-2"],["name","importStages"],["id","importStages"],(c=[p("option",{children:"Profiles",value:"profiles"}),p("option",{children:"Profiles and Tax",value:"profiles,tax"})],["children",k.Children.toArray(Array.from(c))]),["onChange",m=>{f[1](m.target.value)}]])))),F(()=>ie(O(p(Rm,{onCancel:()=>{i[1](s+1),a[1](new FormData)},onSubmit:()=>{o(!0)},onFileDrop:(m,d)=>{l.set("file",m,d)}})),F(()=>{let m,d,g,_,w,y,S,I,ue,ee;return r[0]?O((m=C([p("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75"}),p("div",M(C([["className","fixed inset-0 z-10 overflow-y-auto"],(d=[p("div",M(C([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(g=[p("div",M(C([(_="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",["className",_]),(w=[(y=C([p("div",M(C([["className","mt-3 text-center sm:mt-5 space-y-6"],(S=[p("img",{src:Mm,className:"mx-auto"}),p("p",{children:["Please check and confirm this file is being uploaded to the correct account."]}),p("p",{children:["Uploading files to the wrong account can cause a security breach."]})],["children",k.Children.toArray(Array.from(S))])]))),p("div",M(C([["className","mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3"],(I=[p("button",M(C([["type","button"],(ue="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",["className",ue]),["children","I confirm"],["onClick",gt=>{const ye=co(f[0],[","],void 0,0);for(let Ke=0;Ke<=ye.length-1;Ke++){const K=ae(Ke,ye);l.append("importStages",K)}n(new Se(5,[new rt(0,[l])]))}]]))),p("button",M(C([["type","button"],(ee="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",["className",ee]),["children","Cancel"],["onClick",gt=>{o(!1)}]])))],["children",k.Children.toArray(Array.from(I))])])))]),p("div",{children:k.Children.toArray(Array.from(y))}))],["children",k.Children.toArray(Array.from(w))])])))],["children",k.Children.toArray(Array.from(g))])])))],["children",k.Children.toArray(Array.from(d))])])))]),p("div",{children:k.Children.toArray(Array.from(m))}))):Hs()}))))})))),["children",k.Children.toArray(Array.from(t))])])))}const Al="data:image/jpeg;base64,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",Om=Al;function Pm(){const e=C([p("img",{src:Om,className:"mx-auto animate-spin"}),p("p",{className:"mt-2",children:"Validating data"})]);return p("div",{children:k.Children.toArray(Array.from(e))})}const Nm=Za;function Bm(e,t,n){let r;return p("a",{className:"font-medium text-blue-600 underline cursor-pointer",href:(r=new Blob([e],{type:"text/csv;charset=utf-8;"}),window.URL.createObjectURL(r)),download:t,children:n})}function xl(e,t){let n;return p("p",M(C([["className","mt-6"],(n=["Download the full error report ",Bm(Ee(`\r
|
|
38
|
+
`,Iu(Sn(oe(oe("Row,Column,Error")),Et(r=>Et(o=>Ee(",",pt(i=>`"${i}"`,pt(i=>vs(i,'"','""'),[Xe(r.RowId),o.Column,o.Message]))),r.FieldErrors),t)))),`${e}_validation_errors.csv`,"here"),"."],["children",k.Children.toArray(Array.from(n))])])))}function jm(e,t){switch(t.tag){case 15:return p("p",{children:["Internal API deserialization error"]});case 16:return p("p",{children:["Internal API client error"]});case 0:return p("p",{children:["Invalid file type"]});case 4:return p("p",{children:["Invalid file name"]});case 5:return p("p",{children:["CSV exceeds max row limit"]});case 14:return p("p",{children:["Duplicate row id"]});case 6:return p("p",{children:[t.fields[0]]});case 7:return p("p",{children:["CSV does not contain any data"]});case 8:return p("p",{children:["File not uploaded, ensure a file is selected"]});case 9:return p("p",{children:["Only a single file is allowed"]});case 11:return p("p",{children:["Unknown account"]});case 10:if(Ds(t.fields[0])<=10){const n=nt(F(()=>ie(O(p("p",{className:"mb-3",children:"The file contains the following validation error(s)"})),F(()=>ie(ar(r=>Qe(o=>p("li",{children:[`Row ${r.RowId}, Column ${o.Column}: ${o.Message}`]}),r.FieldErrors),t.fields[0]),F(()=>O(xl(e,t.fields[0]))))))));return p("div",{children:k.Children.toArray(Array.from(n))})}else{const n=C([p("p",{children:["The file contains more than 10 validation errors"]}),xl(e,t.fields[0])]);return p("div",{children:k.Children.toArray(Array.from(n))})}case 12:return p("p",{children:["An import is already in progress"]});case 3:return p("p",{children:["Stage not completed"]});case 2:return p("p",{children:["Invalid import stage"]});case 1:return p("p",{children:["Invalid import stages"]});default:return p("p",{children:["Bad internal request payload"]})}}function Hm(e){const t=e.dispatch,n=e.accountId,r=e.error,o=nt(F(()=>{const i=jm(n,r);return ie(O(p("img",{src:Nm,className:"mx-auto"})),F(()=>ie(O(p("div",{className:"mt-2",children:k.Children.toArray([i])})),F(()=>{let s;return O(p("button",M(C([["type","button"],["children","Upload another file"],(s="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",["className",s]),["onClick",a=>{t(new Se(1,[]))}]]))))}))))}));return p("div",{children:k.Children.toArray(Array.from(o))})}const $m="data:image/jpeg;base64,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";function Vm(e){const t=e.dispatch,n=e.importService,r=e.import,o=C([p("img",{src:$m,className:"mx-auto"}),p("p",{className:"mt-2 mb-6",children:"Import has finished"}),p(Ja,{import:r,importService:n,dispatch:t})]);return p("div",{children:k.Children.toArray(Array.from(o))})}const Um=Al;function Lm(e){const t=e.CurrentStage;if(t==null)return p("p",{children:["No running stage"]});{const n=t,r=Io(n.Stage),o=As(_u(Xe,yu((s,a)=>s+a,n.SucceededRowCount,n.FailedRowCount)),"N/A"),i=C([p("img",{src:Um,className:"mx-auto animate-spin"}),p("p",{className:"mt-2 mb-6",children:`Running stage: ${r}`}),p("p",{children:[`Creator: ${e.User}`]}),p("p",{children:[`Filename: ${e.Filename}`]}),p("p",{children:[`Rows processed: ${o}`]}),p("p",{children:[`Total rows: ${e.NumberOfRecords}`]})]);return p("div",{children:k.Children.toArray(Array.from(i))})}}function zm(e){let t,n;const r=e.errorText;return p("div",M(C([["className","text-center"],(t=[p("p",{children:["Oops, something went wrong."]}),p("p",{children:[`Error: ${r}.`]}),p("p",{children:["Please refresh the page and try again."]}),p("button",M(C([(n="mt-4 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",["className",n]),["onClick",o=>{window.location.reload()}],["children","Refresh"]])))],["children",k.Children.toArray(Array.from(t))])])))}function Gm(e){return A.Delay(()=>A.Bind(Sp(e),t=>{const n=t;if(n.tag===1)return A.Return(void 0);{const r=Ee(",",Et(o=>o.DisplayName,n.fields[0].ColumnsInfo));return A.Bind(Wa(r,"schema.csv"),()=>A.Return(void 0))}}))}function Qm(e){let t,n,r,o,i,s,a,u,l,f;const c=e.dispatch,m=e.accountId,d=e.importService,g=e.tabState,_=e.user,w=C([p("div",M(C([["className","space-y-6"],(t=[(n=C([(r=`Upload a CSV file with required information (first name, last name, email) to create new partial profiles.
|
|
39
|
+
Optionally include employment info.
|
|
40
|
+
The file will be validated `,r),p("b",{children:["before"]}),(o=` creating the profiles.
|
|
41
|
+
If validation fails, the file will be rejected, and no profiles or tax records created.
|
|
42
|
+
You'll get an error report to fix the information before re-uploading.`,o)]),p("p",{children:k.Children.toArray(Array.from(n))})),p("p",{children:"This feature doesn't update existing profiles or tax information in the account."}),(i=C([p("span",{children:["Not sure how to get started?"]}),p("ul",M(C([["className","ml-6 list-disc list-outside"],(s=[(a=C([p("a",{className:"cursor-pointer font-medium text-blue-600 underline",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"]),p("li",{children:k.Children.toArray(Array.from(a))})),p("button",M(C([["type","button"],["children","Download Template"],(u="mt-4 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",["className",u]),["onClick",y=>{Co(Gm(d))}]])))],["children",k.Children.toArray(Array.from(s))])])))]),p("div",{children:k.Children.toArray(Array.from(i))}))],["children",k.Children.toArray(Array.from(t))])]))),p("div",M(C([["className","px-8 mt-10"],(l=[p("div",M(C([["className","border border-gray-300 w-full py-12 rounded text-center bg-white"],(f=nt(F(()=>{switch(g.tag){case 1:return Da(_)?O(p(Fm,{dispatch:c})):O(p("div",{children:["You are not authorised to run imports"]}));case 2:return O(p(Pm,null));case 3:return O(p(Hm,{error:g.fields[0],accountId:m,dispatch:c}));case 4:{const y=g.fields[0];return y.tag===1?O(p(Vm,{import:y.fields[0],importService:d,dispatch:c})):O(p(Lm,y.fields[0]))}case 5:return O(p(zm,{errorText:g.fields[0]}));default:return O(p("div",{children:["Please wait..."]}))}})),["children",k.Children.toArray(Array.from(f))])])))],["children",k.Children.toArray(Array.from(l))])])))]);return p("div",{children:k.Children.toArray(Array.from(w))})}function Wm(e){let t,n,r;const o=e.dispatch,i=e.state,s=e.tabs,a=C([p("style",{children:[Qa]}),p("div",M(C([["className","border-b border-gray-200"],(t=[p("nav",M(C([["className","-mb-px flex space-x-8"],(n=nt(F(()=>Qe(u=>p("a",{key:ja(u),className:Ee(" ",nt(F(()=>ie(Ae(i.CurrentTab,u)?O("border-indigo-500 text-indigo-600"):O("border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 cursor-pointer"),F(()=>O("whitespace-nowrap border-b-2 py-4 px-1 text-sm font-medium")))))),onClick:l=>{o(new Se(0,[u]))},children:ja(u)}),s))),["children",k.Children.toArray(Array.from(n))])])))],["children",k.Children.toArray(Array.from(t))])]))),p("div",M(C([["className","mt-4"],(r=nt(F(()=>{let u;return i.CurrentTab.tag===1?O(p(Ih,{state:i.ImportHistoryTabState,importService:i.ImportService,dispatch:o})):O((u=oe(p(Qm,{user:i.User,tabState:i.ActiveImportTabState,importService:i.ImportService,accountId:i.AccountInfo.AccountId,dispatch:o})),p("div",{children:k.Children.toArray(Array.from(u))})))})),["children",k.Children.toArray(Array.from(r))])])))]);return p("div",{children:k.Children.toArray(Array.from(a))})}function $o(){return($o=Object.assign?Object.assign.bind():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)}var Jm=["context","children"];function Zm(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var i,s,a={},u=Object.keys(r);for(s=0;s<u.length;s++)o.indexOf(i=u[s])>=0||(a[i]=r[i]);return a}(e,Jm);return Or(t,n)}function qm(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=p(Zm,$o({},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,a=n.attributes,u=n.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(i[a[s].name]=a[s].value,i[Sl(a[s].name)]=a[s].value);for(s=u.length;s--;){var l=t(u[s],null),f=u[s].slot;f?i[f]=p(Cl,{name:f},l):o[s]=l}var c=r?p(Cl,null,o):o;return p(r||n.nodeName.toLowerCase(),i,c)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Fr:wt)(this._vdom,this._root)}function Sl(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function Km(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Sl(e)]=n,this._vdom=Or(this._vdom,r),wt(this._vdom,this._root)}}function Xm(){wt(this._vdom=null,this._root)}function Cl(e,t){var n=this;return p("slot",$o({},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 Ym(e,t,n,r){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=qm,o.prototype.attributeChangedCallback=Km,o.prototype.disconnectedCallback=Xm,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 a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(i,s)}})}),customElements.define(t,o)}function e0(e,t){Ym(e,t)}function t0(e){let t;const n=Id(e.accessToken),r=e.accountId,o=e.partnerId,i=new Bp(r,o);let s,a;switch(n!=null?(t=n,(Dd(t)?!0:Da(t))?(s=0,a=n):s=1):s=1,s){case 0:{let u;const l=jp(a,i,xp(e.backendUrl,o,r,e.accessToken));return u=Sh(()=>th(()=>l,Hp,(f,c)=>{}),void 0,void 0),p(Wm,{tabs:C([new en(0,[]),new en(1,[])]),state:u[0],dispatch:u[1]})}default:{const u=C([p("style",{children:[Qa]}),p("div",{children:"You do not have the appropriate permissions to view or do the imports."})]);return p("div",{children:k.Children.toArray(Array.from(u))})}}}e0(e=>p(t0,e),"superhero-import-app")})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarehr/superhero-import-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.71",
|
|
4
4
|
"description": "Flare Superhero Import App",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -14,8 +14,11 @@
|
|
|
14
14
|
"clean": "dotnet fable clean src --yes"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
+
"@headlessui/react": "^1.7.8",
|
|
17
18
|
"preact": "^10.22.0",
|
|
18
|
-
"preact-custom-element": "^4.3.0"
|
|
19
|
+
"preact-custom-element": "^4.3.0",
|
|
20
|
+
"react-dropzone": "^14.2.3",
|
|
21
|
+
"use-sync-external-store": "^1.2.2"
|
|
19
22
|
},
|
|
20
23
|
"devDependencies": {
|
|
21
24
|
"@preact/preset-vite": "^2.8.2",
|