@flarehr/superhero-benefits-onboarding 0.1.6 → 0.1.90-3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (()=>{"use strict";var e={383:(e,t,n)=>{n.d(t,{Z:()=>b});var r=n(81),o=n.n(r),i=n(645),a=n.n(i),s=n(667),l=n.n(s),c=new URL(n(578),n.b),u=new URL(n(716),n.b),f=new URL(n(995),n.b),d=new URL(n(421),n.b),p=a()(o()),h=l()(c),m=l()(u),_=l()(f),g=l()(d);p.push([e.id,'/*! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}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,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-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,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--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);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{background-image:url('+h+");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--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);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("+m+")}[type=radio]:checked{background-image:url("+_+")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("+g+");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:after,:before{--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:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(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: }.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.z-10{z-index:10}.col-span-3{grid-column:span 3/span 3}.m-4{margin:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-bottom:1rem;margin-top:1rem}.my-auto{margin-bottom:auto;margin-top:auto}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-5{margin-top:1.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\\[1\\.25rem\\]{height:1.25rem}.h-\\[1\\.5rem\\]{height:1.5rem}.h-\\[3rem\\]{height:3rem}.h-full{height:100%}.min-h-full{min-height:100%}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-\\[1\\.25rem\\]{width:1.25rem}.w-\\[2\\.75rem\\]{width:2.75rem}.w-full{width:100%}.max-w-lg{max-width:32rem}.flex-shrink-0,.shrink-0{flex-shrink:0}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-x-\\[1\\.25rem\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[1\\.25rem\\]{--tw-translate-x:1.25rem}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.space-x-10>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(2.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(2.5rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/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:0.75}.fill-gray-200{fill:#e5e7eb}.fill-teal-500{fill:#14b8a6}.fill-white{fill:#fff}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-4{padding-bottom:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{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 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-0{--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(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)}.transition{transition-duration:.15s;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-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity))}.hover\\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.focus\\:border-indigo-500:focus{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity))}.focus\\:ring-red-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:ring-white:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))}.focus-visible\\:ring-opacity-75:focus-visible{--tw-ring-opacity:0.75}@media (min-width:640px){.sm\\:col-span-2{grid-column:span 2/span 2}.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-bottom:2rem;margin-top:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-4{margin-top:1rem}.sm\\:mt-px{margin-top:1px}.sm\\:flex{display:flex}.sm\\:grid{display:grid}.sm\\:h-10{height:2.5rem}.sm\\:w-10{width:2.5rem}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:max-w-xs{max-width:20rem}.sm\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-center{align-items:center}.sm\\:gap-4{gap:1rem}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:pt-2{padding-top:.5rem}.sm\\:text-left{text-align:left}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}",""]);const b=p},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},667:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},81:e=>{e.exports=function(e){return e[1]}},995:e=>{e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 16 16%27%3E%3Ccircle cx=%278%27 cy=%278%27 r=%273%27/%3E%3C/svg%3E"},716:e=>{e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23fff%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z%27/%3E%3C/svg%3E"},421:e=>{e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 16 16%27%3E%3Cpath stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M4 8h8%27/%3E%3C/svg%3E"},578:e=>{e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27m6 8 4 4 4-4%27/%3E%3C/svg%3E"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.b=document.baseURI||self.location.href,(()=>{var e,t,r,o,i,a,s,l,c={},u=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function p(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function m(t,n,r){var o,i,a,s={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return _(t,s,o,i,null)}function _(e,n,o,i,a){var s={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++r:a};return null==a&&null!=t.vnode&&t.vnode(s),s}function g(e){return e.children}function b(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function v(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return v(e)}}function y(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!x.__r++||i!==t.debounceRendering)&&((i=t.debounceRendering)||a)(x)}function x(){var e,t,n,r,i,a,l,c;for(o.sort(s);e=o.shift();)e.__d&&(t=o.length,r=void 0,i=void 0,l=(a=(n=e).__v).__e,(c=n.__P)&&(r=[],(i=p({},a)).__v=a.__v+1,A(c,a,i,n.__n,void 0!==c.ownerSVGElement,null!=a.__h?[l]:null,r,null==l?w(a):l,a.__h),j(r,a),a.__e!=l&&v(a)),o.length>t&&o.sort(s));x.__r=0}function k(e,t,n,r,o,i,a,s,l,f){var p,h,m,b,v,y,x,k=r&&r.__k||u,C=k.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(b=n.__k[p]=null==(b=t[p])||"boolean"==typeof b||"function"==typeof b?null:"string"==typeof b||"number"==typeof b||"bigint"==typeof b?_(null,b,null,null,b):d(b)?_(g,{children:b},null,null,null):b.__b>0?_(b.type,b.props,b.key,b.ref?b.ref:null,b.__v):b)){if(b.__=n,b.__b=n.__b+1,null===(m=k[p])||m&&b.key==m.key&&b.type===m.type)k[p]=void 0;else for(h=0;h<C;h++){if((m=k[h])&&b.key==m.key&&b.type===m.type){k[h]=void 0;break}m=null}A(e,b,m=m||c,o,i,a,s,l,f),v=b.__e,(h=b.ref)&&m.ref!=h&&(x||(x=[]),m.ref&&x.push(m.ref,null,b),x.push(h,b.__c||v,b)),null!=v?(null==y&&(y=v),"function"==typeof b.type&&b.__k===m.__k?b.__d=l=E(b,l,e):l=O(e,b,m,k,v,l),"function"==typeof n.type&&(n.__d=l)):l&&m.__e==l&&l.parentNode!=e&&(l=w(m))}for(n.__e=y,p=C;p--;)null!=k[p]&&("function"==typeof n.type&&null!=k[p].__e&&k[p].__e==n.__d&&(n.__d=S(r).nextSibling),U(k[p],k[p]));if(x)for(p=0;p<x.length;p++)D(x[p],x[++p],x[++p])}function E(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):O(n,r,r,o,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(d(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function O(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=1)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function S(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=S(n)))return r;return null}function T(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function P(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||T(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||T(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?N:R,i):e.removeEventListener(t,i?N:R,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function R(e){return this.l[e.type+!1](t.event?t.event(e):e)}function N(e){return this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,o,i,a,s,l,c){var u,f,h,m,_,w,v,y,x,E,C,O,S,T,P,R=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,l=n.__e=r.__e,n.__h=null,a=[l]),(u=t.__b)&&u(n);try{e:if("function"==typeof R){if(y=n.props,x=(u=R.contextType)&&o[u.__c],E=u?x?x.props.value:u.__:o,r.__c?v=(f=n.__c=r.__c).__=f.__E:("prototype"in R&&R.prototype.render?n.__c=f=new R(y,E):(n.__c=f=new b(y,E),f.constructor=R,f.render=F),x&&x.sub(f),f.props=y,f.state||(f.state={}),f.context=E,f.__n=o,h=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=R.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=p({},f.__s)),p(f.__s,R.getDerivedStateFromProps(y,f.__s))),m=f.props,_=f.state,f.__v=n,h)null==R.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==R.getDerivedStateFromProps&&y!==m&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(y,E),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(y,f.__s,E)||n.__v===r.__v){for(n.__v!==r.__v&&(f.props=y,f.state=f.__s,f.__d=!1),f.__e=!1,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),C=0;C<f._sb.length;C++)f.__h.push(f._sb[C]);f._sb=[],f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(y,f.__s,E),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(m,_,w)}))}if(f.context=E,f.props=y,f.__P=e,O=t.__r,S=0,"prototype"in R&&R.prototype.render){for(f.state=f.__s,f.__d=!1,O&&O(n),u=f.render(f.props,f.state,f.context),T=0;T<f._sb.length;T++)f.__h.push(f._sb[T]);f._sb=[]}else do{f.__d=!1,O&&O(n),u=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++S<25);f.state=f.__s,null!=f.getChildContext&&(o=p(p({},o),f.getChildContext())),h||null==f.getSnapshotBeforeUpdate||(w=f.getSnapshotBeforeUpdate(m,_)),k(e,d(P=null!=u&&u.type===g&&null==u.key?u.props.children:u)?P:[P],n,r,o,i,a,s,l,c),f.base=n.__e,n.__h=null,f.__h.length&&s.push(f),v&&(f.__E=f.__=null),f.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=L(r.__e,n,r,o,i,a,s,c);(u=t.diffed)&&u(n)}catch(e){n.__v=null,(c||null!=a)&&(n.__e=l,n.__h=!!c,a[a.indexOf(l)]=null),t.__e(e,n,r)}}function j(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function L(t,n,r,o,i,a,s,l){var u,f,p,m=r.props,_=n.props,g=n.type,b=0;if("svg"===g&&(i=!0),null!=a)for(;b<a.length;b++)if((u=a[b])&&"setAttribute"in u==!!g&&(g?u.localName===g:3===u.nodeType)){t=u,a[b]=null;break}if(null==t){if(null===g)return document.createTextNode(_);t=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,_.is&&_),a=null,l=!1}if(null===g)m===_||l&&t.data===_||(t.data=_);else{if(a=a&&e.call(t.childNodes),f=(m=r.props||c).dangerouslySetInnerHTML,p=_.dangerouslySetInnerHTML,!l){if(null!=a)for(m={},b=0;b<t.attributes.length;b++)m[t.attributes[b].name]=t.attributes[b].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||P(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||P(e,i,t[i],n[i],r)}(t,_,m,i,l),p)n.__k=[];else if(k(t,d(b=n.props.children)?b:[b],n,r,o,i&&"foreignObject"!==g,a,s,a?a[0]:r.__k&&w(r,0),l),null!=a)for(b=a.length;b--;)null!=a[b]&&h(a[b]);l||("value"in _&&void 0!==(b=_.value)&&(b!==t.value||"progress"===g&&!b||"option"===g&&b!==m.value)&&P(t,"value",b,m.value,!1),"checked"in _&&void 0!==(b=_.checked)&&b!==t.checked&&P(t,"checked",b,m.checked,!1))}return t}function D(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function U(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||D(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&U(o[i],n,r||"function"!=typeof e.type);r||null==e.__e||h(e.__e),e.__=e.__e=e.__d=void 0}function F(e,t,n){return this.constructor(e,n)}function I(n,r,o){var i,a,s;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,s=[],A(r,n=(!i&&o||r).__k=m(g,null,[n]),a||c,c,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,s,!i&&o?o:a?a.__e:r.firstChild,i),j(s,n)}function B(e,t){I(e,t,B)}function z(t,n,r){var o,i,a,s,l=p({},t.props);for(a in t.type&&t.type.defaultProps&&(s=t.type.defaultProps),n)"key"==a?o=n[a]:"ref"==a?i=n[a]:l[a]=void 0===n[a]&&void 0!==s?s[a]:n[a];return arguments.length>2&&(l.children=arguments.length>3?e.call(arguments,2):r),_(t.type,l,o||t.key,i||t.ref,null)}function H(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,y(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}e=u.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},r=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),y(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),y(this))},b.prototype.render=g,o=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,l=0;var M=0;function q(e,n,r,o,i,a){var s,l,c={};for(l in n)"ref"==l?s=n[l]:c[l]=n[l];var u={type:e,props:c,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--M,__source:i,__self:a};if("function"==typeof e&&(s=e.defaultProps))for(l in s)void 0===c[l]&&(c[l]=s[l]);return t.vnode&&t.vnode(u),u}var W=n(383),V=function(){return V=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},V.apply(this,arguments)};function $(e){return function(t){return q(g,{children:[q("style",{children:W.Z.toString()}),q(e,V({},t))]})}}const J=$((function(e){return q(g,{children:q("div",{children:q("p",{children:"Hello, Superhero."})})})}));var G,K,X,Y,Z=0,Q=[],ee=[],te=t.__b,ne=t.__r,re=t.diffed,oe=t.__c,ie=t.unmount;function ae(e,n){t.__h&&t.__h(K,e,Z||n),Z=0;var r=K.__H||(K.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:ee}),r.__[e]}function se(e){return Z=1,le(ve,e)}function le(e,t,n){var r=ae(G++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ve(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};K.u=!0;var i=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},K.shouldComponentUpdate=o}return r.__N||r.__}function ce(e,n){var r=ae(G++,3);!t.__s&&we(r.__H,n)&&(r.__=e,r.i=n,K.__H.__h.push(r))}function ue(e,n){var r=ae(G++,4);!t.__s&&we(r.__H,n)&&(r.__=e,r.i=n,K.__h.push(r))}function fe(e){return Z=5,de((function(){return{current:e}}),[])}function de(e,t){var n=ae(G++,7);return we(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function pe(e){var t=K.context[e.__c],n=ae(G++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function he(){for(var e;e=Q.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(be),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){K=null,te&&te(e)},t.__r=function(e){ne&&ne(e),G=0;var t=(K=e.__c).__H;t&&(X===K?(t.__h=[],K.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=ee,e.__N=e.i=void 0}))):(t.__h.forEach(ge),t.__h.forEach(be),t.__h=[],G=0)),X=K},t.diffed=function(e){re&&re(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==Q.push(n)&&Y===t.requestAnimationFrame||((Y=t.requestAnimationFrame)||_e)(he)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==ee&&(e.__=e.__V),e.i=void 0,e.__V=ee}))),X=K=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter((function(e){return!e.__||be(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),oe&&oe(e,n)},t.unmount=function(e){ie&&ie(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{ge(e)}catch(e){n=e}})),r.__H=void 0,n&&t.__e(n,r.__v))};var me="function"==typeof requestAnimationFrame;function _e(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function ge(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function be(e){var t=K;e.__c=e.__(),K=t}function we(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ve(e,t){return"function"==typeof t?t(e):t}function ye(e,t){for(var n in t)e[n]=t[n];return e}function xe(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ke(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function Ee(e){this.props=e}(Ee.prototype=new b).isPureReactComponent=!0,Ee.prototype.shouldComponentUpdate=function(e,t){return xe(this.props,e)||xe(this.state,t)};var Ce=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ce&&Ce(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Se(e){function t(t){var n=ye({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Te=function(e,t){return null==e?null:C(C(e).map(t))},Pe={map:Te,forEach:Te,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},Re=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Re(e,t,n,r)};var Ne=t.unmount;function Ae(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=ye({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Ae(e,t,n)}))),e}function je(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return je(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Le(){this.__u=0,this.t=null,this.__b=null}function De(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ue(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Ne&&Ne(e)},(Le.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=De(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=je(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Le.prototype.componentWillUnmount=function(){this.t=[]},Le.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]=Ae(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&m(g,null,e.fallback);return o&&(o.__h=null),[m(g,null,t.__a?null:e.children),o]};var Fe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!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 Ie(e){return this.getChildContext=function(){return e.context},e.children}function Be(e){var t=this,n=e.i;t.componentWillUnmount=function(){I(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),I(m(Ie,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(Ue.prototype=new b).__a=function(e){var t=this,n=De(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Fe(t,e,r)):o()};n?n(i):i()}},Ue.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ue.prototype.componentDidUpdate=Ue.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Fe(e,n,t)}))};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,He=/^(?: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]/,Me=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,qe=/[A-Z0-9]/g,We="undefined"!=typeof document,Ve=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var $e=t.event;function Je(){}function Ge(){return this.cancelBubble}function Ke(){return this.defaultPrevented}t.event=function(e){return $e&&(e=$e(e)),e.persist=Je,e.isPropagationStopped=Ge,e.isDefaultPrevented=Ke,e.nativeEvent=e};var Xe,Ye={enumerable:!1,configurable:!0,get:function(){return this.class}},Ze=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||We&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||Ve(t.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":Me.test(o)?o=a:-1===n.indexOf("-")&&He.test(o)?o=o.replace(qe,"-$&").toLowerCase():null===i&&(i=void 0):a=o="oninput","oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Ye)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=ze,Ze&&Ze(e)};var Qe=t.__r;t.__r=function(e){Qe&&Qe(e),Xe=e.__c};var et=t.diffed;t.diffed=function(e){et&&et(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Xe=null};var tt={ReactCurrentDispatcher:{current:{readContext:function(e){return Xe.__n[e.__c].props.value}}}};function nt(e){return!!e&&e.$$typeof===ze}function rt(e){return nt(e)?z.apply(null,arguments):e}function ot(e){e()}var it={useState:se,useId:function(){var e=ae(G++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useReducer:le,useEffect:ce,useLayoutEffect:ue,useInsertionEffect:ue,useTransition:function(){return[!1,ot]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=se({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ue((function(){o.__=n,o.v=t,ke(o.__,t())||i({h:o})}),[e,n,t]),ce((function(){return ke(o.__,o.v())||i({h:o}),e((function(){ke(o.__,o.v())||i({h:o})}))}),[e]),n},startTransition:ot,useRef:fe,useImperativeHandle:function(e,t,n){Z=6,ue((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:de,useCallback:function(e,t){return Z=8,de((function(){return e}),t)},useContext:pe,useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:Pe,render:function(e,t,n){return null==t.__k&&(t.textContent=""),I(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return B(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(I(null,e),!0)},createPortal:function(e,t){var n=m(Be,{__v:e,i:t});return n.containerInfo=t,n},createElement:m,createContext:H,createFactory:function(e){return m.bind(null,e)},cloneElement:rt,createRef:function(){return{current:null}},Fragment:g,isValidElement:nt,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:b,PureComponent:Ee,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:xe(this.props,e)}function r(t){return this.shouldComponentUpdate=n,m(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:Se,flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:g,Suspense:Le,SuspenseList:Ue,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return m(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:tt};function at(...e){return e.filter(Boolean).join(" ")}function st(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,st),r}var lt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(lt||{}),ct=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(ct||{});function ut({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a}){let s=dt(t,e);if(i)return ft(s,n,r,a);let l=null!=o?o:0;if(2&l){let{static:e=!1,...t}=s;if(e)return ft(t,n,r,a)}if(1&l){let{unmount:e=!0,...t}=s;return st(e?0:1,{0:()=>null,1:()=>ft({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return ft(s,n,r,a)}function ft(e,t={},n,r){let{as:o=n,children:i,refName:a="ref",...s}=mt(e,["unmount","static"]),l=void 0!==e.ref?{[a]:e.ref}:{},c="function"==typeof i?i(t):i;"className"in s&&s.className&&"function"==typeof s.className&&(s.className=s.className(t));let u={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(u["data-headlessui-state"]=n.join(" "))}if(o===g&&Object.keys(ht(s)).length>0){if(!nt(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=c.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>at(null==e?void 0:e.className(...t),s.className):at(null==e?void 0:e.className,s.className),n=t?{className:t}:{};return rt(c,Object.assign({},dt(c.props,ht(mt(s,["ref"]))),u,l,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(c.ref,l.ref),n))}return m(o,Object.assign({},mt(s,["ref"]),o!==g&&l,o!==g&&u),c)}function dt(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let o=n[e];for(let e of o){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function pt(e){var t;return Object.assign(Se(e),{displayName:null!=(t=e.displayName)?t:e.name})}function ht(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function mt(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var _t=Object.defineProperty,gt=(e,t,n)=>(((e,t,n)=>{t in e?_t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let bt=new class{constructor(){gt(this,"current",this.detect()),gt(this,"handoffState","pending"),gt(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},wt=(e,t)=>{bt.isServer?ce(e,t):ue(e,t)};var vt;let yt=null!=(vt=it.useId)?vt:function(){let e=function(){let[e,t]=se(bt.isHandoffComplete);return e&&!1===bt.isHandoffComplete&&t(!1),ce((()=>{!0!==e&&t(!0)}),[e]),ce((()=>bt.handoff()),[]),e}(),[t,n]=it.useState(e?()=>bt.nextId():null);return wt((()=>{null===t&&n(bt.nextId())}),[t]),null!=t?""+t:void 0};var xt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(xt||{});let kt=function(e){let t=function(e){let t=fe(e);return wt((()=>{t.current=e}),[e]),t}(e);return it.useCallback(((...e)=>t.current(...e)),[t])},Et=Symbol();function Ct(...e){let t=fe(e);ce((()=>{t.current=e}),[e]);let n=kt((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Et])))?void 0:n}let Ot=H(null);function St(){let e=pe(Ot);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,St),e}return e}let Tt=pt((function(e,t){let n=yt(),{id:r=`headlessui-label-${n}`,passive:o=!1,...i}=e,a=St(),s=Ct(t);wt((()=>a.register(r)),[r,a.register]);let l={ref:s,...a.props,id:r};return o&&("onClick"in l&&(delete l.htmlFor,delete l.onClick),"onClick"in i&&delete i.onClick),ut({ourProps:l,theirProps:i,slot:a.slot||{},defaultTag:"label",name:a.name||"Label"})})),Pt=Object.assign(Tt,{}),Rt=H(null);function Nt(){let e=pe(Rt);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Nt),e}return e}let At=pt((function(e,t){let n=yt(),{id:r=`headlessui-description-${n}`,...o}=e,i=Nt(),a=Ct(t);return wt((()=>i.register(r)),[r,i.register]),ut({ourProps:{ref:a,...i.props,id:r},theirProps:o,slot:i.slot||{},defaultTag:"p",name:i.name||"Description"})})),jt=Object.assign(At,{});function Lt(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function Dt(e,t){let[n,r]=se((()=>Lt(e)));return wt((()=>{r(Lt(e))}),[e.type,e.as]),wt((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")}),[n,t]),n}var Ut=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ut||{});let Ft=pt((function(e,t){let{features:n=1,...r}=e;return ut({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})}));function It(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add((()=>e.removeEventListener(n,r,o)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=It();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}let Bt=H(null);Bt.displayName="GroupContext";let zt=g,Ht=pt((function(e,t){let n=yt(),{id:r=`headlessui-switch-${n}`,checked:o,defaultChecked:i=!1,onChange:a,name:s,value:l,form:c,...u}=e,f=pe(Bt),d=fe(null),p=Ct(d,t,null===f?null:f.setSwitch),[h,m]=function(e,t,n){let[r,o]=se(n),i=void 0!==e,a=fe(i),s=fe(!1),l=fe(!1);return!i||a.current||s.current?!i&&a.current&&!l.current&&(l.current=!0,a.current=i,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,a.current=i,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[i?e:r,kt((e=>(i||o(e),null==t?void 0:t(e))))]}(o,a,i),_=kt((()=>null==m?void 0:m(!h))),g=kt((e=>{if(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}(e.currentTarget))return e.preventDefault();e.preventDefault(),_()})),b=kt((e=>{e.key===xt.Space?(e.preventDefault(),_()):e.key===xt.Enter&&function(e){var t;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n)for(let e of n.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)})),w=kt((e=>e.preventDefault())),v=de((()=>({checked:h})),[h]),y={id:r,ref:p,role:"switch",type:Dt(e,d),tabIndex:0,"aria-checked":h,"aria-labelledby":null==f?void 0:f.labelledby,"aria-describedby":null==f?void 0:f.describedby,onClick:g,onKeyUp:b,onKeyPress:w},x=function(){let[e]=se(It);return ce((()=>()=>e.dispose()),[e]),e}();return ce((()=>{var e;let t=null==(e=d.current)?void 0:e.closest("form");t&&void 0!==i&&x.addEventListener(t,"reset",(()=>{m(i)}))}),[d,m]),it.createElement(it.Fragment,null,null!=s&&h&&it.createElement(Ft,{features:Ut.Hidden,...ht({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:h,name:s,value:l})}),ut({ourProps:y,theirProps:u,slot:v,defaultTag:"button",name:"Switch"}))})),Mt=Object.assign(Ht,{Group:function(e){var t;let[n,r]=se(null),[o,i]=function(){let[e,t]=se([]);return[e.length>0?e.join(" "):void 0,de((()=>function(e){let n=kt((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),r=de((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return it.createElement(Ot.Provider,{value:r},e.children)}),[t])]}(),[a,s]=function(){let[e,t]=se([]);return[e.length>0?e.join(" "):void 0,de((()=>function(e){let n=kt((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),r=de((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return it.createElement(Rt.Provider,{value:r},e.children)}),[t])]}(),l=de((()=>({switch:n,setSwitch:r,labelledby:o,describedby:a})),[n,r,o,a]),c=e;return it.createElement(s,{name:"Switch.Description"},it.createElement(i,{name:"Switch.Label",props:{htmlFor:null==(t=l.switch)?void 0:t.id,onClick(e){n&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},it.createElement(Bt.Provider,{value:l},ut({ourProps:{},theirProps:c,defaultTag:zt,name:"Switch.Group"}))))},Label:Pt,Description:jt});var qt=function(){return qt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qt.apply(this,arguments)};const Wt=function(e){return q("svg",qt({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"lg"===e.size?"h-10 w-10":"h-5 w-5"},{children:[q("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",class:"light"===e.theme?"fill-white":"fill-gray-200","fill-opacity":"light"===e.theme?"0.3":"1"}),q("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",class:"light"===e.theme?"fill-white":"fill-teal-500"})]}))},Vt=Se((function({title:e,titleId:t,...n},r){return m("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?m("title",{id:t},e):null,m("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))})),$t=Se((function({title:e,titleId:t,...n},r){return m("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?m("title",{id:t},e):null,m("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"}))})),Jt=Se((function({title:e,titleId:t,...n},r){return m("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?m("title",{id:t},e):null,m("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))}));var Gt,Kt=function(){return Kt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Kt.apply(this,arguments)};!function(e){e[e.Pencil=0]="Pencil",e[e.Trash=1]="Trash",e[e.ExclamationTriangle=2]="ExclamationTriangle"}(Gt||(Gt={}));var Xt=function(e){switch(e.iconType){case Gt.Pencil:return q($t,Kt({},e));case Gt.Trash:return q(Jt,Kt({},e));case Gt.ExclamationTriangle:return q(Vt,Kt({},e))}},Yt=function(){return Yt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Yt.apply(this,arguments)},Zt=function(e){var t=se(!1),n=t[0],r=t[1],o=e.class,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["class"]);return q("div",Yt({class:"".concat(e.hidden?"hidden":"")},{children:q("button",Yt({type:"button"},i,{class:o,onClick:e.onClickPromise?function(){return function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}(this,(function(t){switch(t.label){case 0:if(!e.onClickPromise||n)return[3,6];r(!0),t.label=1;case 1:return t.trys.push([1,4,,5]),e.onClickPromise?[4,e.onClickPromise()]:[3,3];case 2:t.sent(),t.label=3;case 3:return[3,5];case 4:return t.sent(),[3,5];case 5:r(!1),t.label=6;case 6:return[2]}}))}))}:e.onClick},{children:[q("div",Yt({class:"relative ".concat(n?"invisible":"")},{children:e.children})),n&&q("div",Yt({class:"absolute animate-spin"},{children:q(Wt,{theme:"light"})}))]}))}))},Qt=function(e){return q(Zt,Yt({},e,{children:[null!=e.iconType&&q(Xt,{iconType:e.iconType,class:"h-4 w-6"}),e.children]}))};const en=Zt;function tn(e,t){return function(){return e.apply(t,arguments)}}const{toString:nn}=Object.prototype,{getPrototypeOf:rn}=Object,on=(an=Object.create(null),e=>{const t=nn.call(e);return an[t]||(an[t]=t.slice(8,-1).toLowerCase())});var an;const sn=e=>(e=e.toLowerCase(),t=>on(t)===e),ln=e=>t=>typeof t===e,{isArray:cn}=Array,un=ln("undefined"),fn=sn("ArrayBuffer"),dn=ln("string"),pn=ln("function"),hn=ln("number"),mn=e=>null!==e&&"object"==typeof e,_n=e=>{if("object"!==on(e))return!1;const t=rn(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},gn=sn("Date"),bn=sn("File"),wn=sn("Blob"),vn=sn("FileList"),yn=sn("URLSearchParams");function xn(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),cn(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function kn(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const En="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Cn=e=>!un(e)&&e!==En,On=(Sn="undefined"!=typeof Uint8Array&&rn(Uint8Array),e=>Sn&&e instanceof Sn);var Sn;const Tn=sn("HTMLFormElement"),Pn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Rn=sn("RegExp"),Nn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};xn(n,((n,o)=>{!1!==t(n,o,e)&&(r[o]=n)})),Object.defineProperties(e,r)},An="abcdefghijklmnopqrstuvwxyz",jn="0123456789",Ln={DIGIT:jn,ALPHA:An,ALPHA_DIGIT:An+An.toUpperCase()+jn},Dn=sn("AsyncFunction"),Un={isArray:cn,isArrayBuffer:fn,isBuffer:function(e){return null!==e&&!un(e)&&null!==e.constructor&&!un(e.constructor)&&pn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||pn(e.append)&&("formdata"===(t=on(e))||"object"===t&&pn(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&fn(e.buffer),t},isString:dn,isNumber:hn,isBoolean:e=>!0===e||!1===e,isObject:mn,isPlainObject:_n,isUndefined:un,isDate:gn,isFile:bn,isBlob:wn,isRegExp:Rn,isFunction:pn,isStream:e=>mn(e)&&pn(e.pipe),isURLSearchParams:yn,isTypedArray:On,isFileList:vn,forEach:xn,merge:function e(){const{caseless:t}=Cn(this)&&this||{},n={},r=(r,o)=>{const i=t&&kn(n,o)||o;_n(n[i])&&_n(r)?n[i]=e(n[i],r):_n(r)?n[i]=e({},r):cn(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&xn(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(xn(t,((t,r)=>{n&&pn(t)?e[r]=tn(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&rn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:on,kindOfTest:sn,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(cn(e))return e;let t=e.length;if(!hn(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Tn,hasOwnProperty:Pn,hasOwnProp:Pn,reduceDescriptors:Nn,freezeMethods:e=>{Nn(e,((t,n)=>{if(pn(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];pn(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return cn(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:kn,global:En,isContextDefined:Cn,ALPHABET:Ln,generateString:(e=16,t=Ln.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&pn(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(mn(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=cn(e)?[]:{};return xn(e,((e,t)=>{const i=n(e,r+1);!un(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:Dn,isThenable:e=>e&&(mn(e)||pn(e))&&pn(e.then)&&pn(e.catch)};function Fn(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Un.inherits(Fn,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Un.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const In=Fn.prototype,Bn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Bn[e]={value:e}})),Object.defineProperties(Fn,Bn),Object.defineProperty(In,"isAxiosError",{value:!0}),Fn.from=(e,t,n,r,o,i)=>{const a=Object.create(In);return Un.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Fn.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const zn=Fn;function Hn(e){return Un.isPlainObject(e)||Un.isArray(e)}function Mn(e){return Un.endsWith(e,"[]")?e.slice(0,-2):e}function qn(e,t,n){return e?e.concat(t).map((function(e,t){return e=Mn(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Wn=Un.toFlatObject(Un,{},null,(function(e){return/^is[A-Z]/.test(e)})),Vn=function(e,t,n){if(!Un.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Un.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Un.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Un.isSpecCompliantForm(t);if(!Un.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Un.isDate(e))return e.toISOString();if(!s&&Un.isBlob(e))throw new zn("Blob is not supported. Use a Buffer instead.");return Un.isArrayBuffer(e)||Un.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(Un.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Un.isArray(e)&&function(e){return Un.isArray(e)&&!e.some(Hn)}(e)||(Un.isFileList(e)||Un.endsWith(n,"[]"))&&(s=Un.toArray(e)))return n=Mn(n),s.forEach((function(e,r){!Un.isUndefined(e)&&null!==e&&t.append(!0===a?qn([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Hn(e)||(t.append(qn(o,n,i),l(e)),!1)}const u=[],f=Object.assign(Wn,{defaultVisitor:c,convertValue:l,isVisitable:Hn});if(!Un.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Un.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Un.forEach(n,(function(n,i){!0===(!(Un.isUndefined(n)||null===n)&&o.call(t,n,Un.isString(i)?i.trim():i,r,f))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function $n(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Jn(e,t){this._pairs=[],e&&Vn(e,this,t)}const Gn=Jn.prototype;Gn.append=function(e,t){this._pairs.push([e,t])},Gn.toString=function(e){const t=e?function(t){return e.call(this,t,$n)}:$n;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const Kn=Jn;function Xn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Yn(e,t,n){if(!t)return e;const r=n&&n.encode||Xn,o=n&&n.serialize;let i;if(i=o?o(t,n):Un.isURLSearchParams(t)?t.toString():new Kn(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const Zn=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Un.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Qn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},er={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Kn,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]},tr=function(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&Un.isArray(r)?r.length:i,s?(Un.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&Un.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&Un.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(Un.isFormData(e)&&Un.isFunction(e.entries)){const n={};return Un.forEachEntry(e,((e,r)=>{t(function(e){return Un.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},nr={"Content-Type":void 0},rr={transitional:Qn,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Un.isObject(e);if(o&&Un.isHTMLForm(e)&&(e=new FormData(e)),Un.isFormData(e))return r&&r?JSON.stringify(tr(e)):e;if(Un.isArrayBuffer(e)||Un.isBuffer(e)||Un.isStream(e)||Un.isFile(e)||Un.isBlob(e))return e;if(Un.isArrayBufferView(e))return e.buffer;if(Un.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Vn(e,new er.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return er.isNode&&Un.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Un.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Vn(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Un.isString(e))try{return(0,JSON.parse)(e),Un.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||rr.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&Un.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw zn.from(e,zn.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:er.classes.FormData,Blob:er.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Un.forEach(["delete","get","head"],(function(e){rr.headers[e]={}})),Un.forEach(["post","put","patch"],(function(e){rr.headers[e]=Un.merge(nr)}));const or=rr,ir=Un.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ar=Symbol("internals");function sr(e){return e&&String(e).trim().toLowerCase()}function lr(e){return!1===e||null==e?e:Un.isArray(e)?e.map(lr):String(e)}function cr(e,t,n,r,o){return Un.isFunction(r)?r.call(this,t,n):(o&&(t=n),Un.isString(t)?Un.isString(r)?-1!==t.indexOf(r):Un.isRegExp(r)?r.test(t):void 0:void 0)}class ur{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=sr(t);if(!o)throw new Error("header name must be a non-empty string");const i=Un.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=lr(e))}const i=(e,t)=>Un.forEach(e,((e,n)=>o(e,n,t)));return Un.isPlainObject(e)||e instanceof this.constructor?i(e,t):Un.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ir[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=sr(e)){const n=Un.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Un.isFunction(t))return t.call(this,e,n);if(Un.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=sr(e)){const n=Un.findKey(this,e);return!(!n||void 0===this[n]||t&&!cr(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=sr(e)){const o=Un.findKey(n,e);!o||t&&!cr(0,n[o],o,t)||(delete n[o],r=!0)}}return Un.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!cr(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Un.forEach(this,((r,o)=>{const i=Un.findKey(n,o);if(i)return t[i]=lr(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=lr(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Un.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Un.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[ar]=this[ar]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=sr(e);t[r]||(function(e,t){const n=Un.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return Un.isArray(e)?e.forEach(r):r(e),this}}ur.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Un.freezeMethods(ur.prototype),Un.freezeMethods(ur);const fr=ur;function dr(e,t){const n=this||or,r=t||n,o=fr.from(r.headers);let i=r.data;return Un.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function pr(e){return!(!e||!e.__CANCEL__)}function hr(e,t,n){zn.call(this,null==e?"canceled":e,zn.ERR_CANCELED,t,n),this.name="CanceledError"}Un.inherits(hr,zn,{__CANCEL__:!0});const mr=hr,_r=er.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){const a=[];a.push(e+"="+encodeURIComponent(t)),Un.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Un.isString(r)&&a.push("path="+r),Un.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function gr(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const br=er.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Un.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function wr(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,f=0;for(;u!==i;)f+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const d=c&&l-c;return d?Math.round(1e3*f/d):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const vr="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=fr.from(e.headers).normalize(),i=e.responseType;let a;function s(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}Un.isFormData(r)&&(er.isStandardBrowserEnv||er.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const c=gr(e.baseURL,e.url);function u(){if(!l)return;const r=fr.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new zn("Request failed with status code "+n.status,[zn.ERR_BAD_REQUEST,zn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),s()}),(function(e){n(e),s()}),{data:i&&"text"!==i&&"json"!==i?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:r,config:e,request:l}),l=null}if(l.open(e.method.toUpperCase(),Yn(c,e.params,e.paramsSerializer),!0),l.timeout=e.timeout,"onloadend"in l?l.onloadend=u:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(u)},l.onabort=function(){l&&(n(new zn("Request aborted",zn.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new zn("Network Error",zn.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Qn;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new zn(t,r.clarifyTimeoutError?zn.ETIMEDOUT:zn.ECONNABORTED,e,l)),l=null},er.isStandardBrowserEnv){const t=(e.withCredentials||br(c))&&e.xsrfCookieName&&_r.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in l&&Un.forEach(o.toJSON(),(function(e,t){l.setRequestHeader(t,e)})),Un.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),i&&"json"!==i&&(l.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&l.addEventListener("progress",wr(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",wr(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{l&&(n(!t||t.type?new mr(null,e,l):t),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const f=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);f&&-1===er.protocols.indexOf(f)?n(new zn("Unsupported protocol "+f+":",zn.ERR_BAD_REQUEST,e)):l.send(r||null)}))},yr={http:null,xhr:vr};Un.forEach(yr,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function xr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mr(null,e)}function kr(e){return xr(e),e.headers=fr.from(e.headers),e.data=dr.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=Un.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;o<t&&(n=e[o],!(r=Un.isString(n)?yr[n.toLowerCase()]:n));o++);if(!r){if(!1===r)throw new zn(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(Un.hasOwnProp(yr,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!Un.isFunction(r))throw new TypeError("adapter is not a function");return r})(e.adapter||or.adapter)(e).then((function(t){return xr(e),t.data=dr.call(e,e.transformResponse,t),t.headers=fr.from(t.headers),t}),(function(t){return pr(t)||(xr(e),t&&t.response&&(t.response.data=dr.call(e,e.transformResponse,t.response),t.response.headers=fr.from(t.response.headers))),Promise.reject(t)}))}const Er=e=>e instanceof fr?e.toJSON():e;function Cr(e,t){t=t||{};const n={};function r(e,t,n){return Un.isPlainObject(e)&&Un.isPlainObject(t)?Un.merge.call({caseless:n},e,t):Un.isPlainObject(t)?Un.merge({},t):Un.isArray(t)?t.slice():t}function o(e,t,n){return Un.isUndefined(t)?Un.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Un.isUndefined(t))return r(void 0,t)}function a(e,t){return Un.isUndefined(t)?Un.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(Er(e),Er(t),!0)};return Un.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);Un.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Or={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Or[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Sr={};Or.transitional=function(e,t,n){function r(e,t){return"[Axios v1.4.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new zn(r(o," has been removed"+(t?" in "+t:"")),zn.ERR_DEPRECATED);return t&&!Sr[o]&&(Sr[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const Tr={assertOptions:function(e,t,n){if("object"!=typeof e)throw new zn("options must be an object",zn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new zn("option "+i+" must be "+n,zn.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new zn("Unknown option "+i,zn.ERR_BAD_OPTION)}},validators:Or},Pr=Tr.validators;class Rr{constructor(e){this.defaults=e,this.interceptors={request:new Zn,response:new Zn}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Cr(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;let i;void 0!==n&&Tr.assertOptions(n,{silentJSONParsing:Pr.transitional(Pr.boolean),forcedJSONParsing:Pr.transitional(Pr.boolean),clarifyTimeoutError:Pr.transitional(Pr.boolean)},!1),null!=r&&(Un.isFunction(r)?t.paramsSerializer={serialize:r}:Tr.assertOptions(r,{encode:Pr.function,serialize:Pr.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),i=o&&Un.merge(o.common,o[t.method]),i&&Un.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=fr.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,f=0;if(!s){const e=[kr.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);f<u;)c=c.then(e[f++],e[f++]);return c}u=a.length;let d=t;for(f=0;f<u;){const e=a[f++],t=a[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{c=kr.call(this,d)}catch(e){return Promise.reject(e)}for(f=0,u=l.length;f<u;)c=c.then(l[f++],l[f++]);return c}getUri(e){return Yn(gr((e=Cr(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Un.forEach(["delete","get","head","options"],(function(e){Rr.prototype[e]=function(t,n){return this.request(Cr(n||{},{method:e,url:t,data:(n||{}).data}))}})),Un.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Cr(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Rr.prototype[e]=t(),Rr.prototype[e+"Form"]=t(!0)}));const Nr=Rr;class Ar{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new mr(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Ar((function(t){e=t}));return{token:t,cancel:e}}}const jr=Ar,Lr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Lr).forEach((([e,t])=>{Lr[t]=e}));const Dr=Lr,Ur=function e(t){const n=new Nr(t),r=tn(Nr.prototype.request,n);return Un.extend(r,Nr.prototype,n,{allOwnKeys:!0}),Un.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Cr(t,n))},r}(or);Ur.Axios=Nr,Ur.CanceledError=mr,Ur.CancelToken=jr,Ur.isCancel=pr,Ur.VERSION="1.4.0",Ur.toFormData=Vn,Ur.AxiosError=zn,Ur.Cancel=Ur.CanceledError,Ur.all=function(e){return Promise.all(e)},Ur.spread=function(e){return function(t){return e.apply(null,t)}},Ur.isAxiosError=function(e){return Un.isObject(e)&&!0===e.isAxiosError},Ur.mergeConfig=Cr,Ur.AxiosHeaders=fr,Ur.formToJSON=e=>tr(Un.isHTMLForm(e)?new FormData(e):e),Ur.HttpStatusCode=Dr,Ur.default=Ur;const Fr=Ur;var Ir,Br=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},zr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},Hr=function(){function e(){}return e.initClient=function(e,t){this.axiosInstance=Fr.create({baseURL:"".concat(e,"/benefits-onboarding/admin"),headers:{Authorization:"Bearer ".concat(t)}})},e.getConfig=function(e,t){return Br(this,void 0,void 0,(function(){return zr(this,(function(n){switch(n.label){case 0:return t?[4,this.getAccountConfig(e,t)]:[3,2];case 1:case 3:return[2,n.sent()];case 2:return[4,this.getPartnerConfig(e)]}}))}))},e.getPartnerConfig=function(e){return Br(this,void 0,void 0,(function(){return zr(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.get("/partners/".concat(e,"/config"),{})];case 1:return[2,t.sent().data]}}))}))},e.getAccountConfig=function(e,t){return Br(this,void 0,void 0,(function(){return zr(this,(function(n){switch(n.label){case 0:return[4,this.axiosInstance.get("/partners/".concat(e,"/accounts/").concat(t,"/config"),{})];case 1:return[2,n.sent().data]}}))}))},e.updateConfig=function(e,t,n){return Br(this,void 0,void 0,(function(){return zr(this,(function(r){switch(r.label){case 0:return n?[4,this.updateAccountConfig(e,n,t)]:[3,2];case 1:return r.sent(),[3,4];case 2:return[4,this.updatePartnerConfig(e,t)];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))},e.updatePartnerConfig=function(e,t){return Br(this,void 0,void 0,(function(){return zr(this,(function(n){switch(n.label){case 0:return[4,this.axiosInstance.put("/partners/".concat(e,"/config"),t)];case 1:return n.sent(),[2]}}))}))},e.updateAccountConfig=function(e,t,n){return Br(this,void 0,void 0,(function(){return zr(this,(function(r){switch(r.label){case 0:return[4,this.axiosInstance.put("/partners/".concat(e,"/accounts/").concat(t,"/config"),n)];case 1:return r.sent(),[2]}}))}))},e.deleteConfig=function(e,t){return Br(this,void 0,void 0,(function(){return zr(this,(function(n){switch(n.label){case 0:return t?[4,this.deleteAccountConfig(e,t)]:[3,2];case 1:return n.sent(),[3,4];case 2:return[4,this.deletePartnerConfig(e)];case 3:n.sent(),n.label=4;case 4:return[2]}}))}))},e.deletePartnerConfig=function(e){return Br(this,void 0,void 0,(function(){return zr(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.delete("/partners/".concat(e,"/config"))];case 1:return t.sent(),[2]}}))}))},e.deleteAccountConfig=function(e,t){return Br(this,void 0,void 0,(function(){return zr(this,(function(n){switch(n.label){case 0:return[4,this.axiosInstance.delete("/partners/".concat(e,"/accounts/").concat(t,"/config"))];case 1:return n.sent(),[2]}}))}))},e}(),Mr=function(){return Mr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mr.apply(this,arguments)};!function(e){e.Default="Default",e.Ineligible="Ineligible employee base",e.Ineligible_Account_Constraints="Ineligible due to account constraints",e.Existing_Provider="Has existing benefit provider",e.Not_Offer="Does not offer benefit",e.Not_Offer_Flare="Does not offer any Flare benefits"}(Ir||(Ir={}));var qr,Wr=Object.entries(Ir).map((function(e){return{name:e[0],value:e[1]}})),Vr={isEnabled:!1,steps:[],ownership:"Default"};!function(e){e.Default="Default",e.Ineligible="Ineligible employee base",e.Ineligible_Account_Constraints="Ineligible due to account constraints",e.Existing_Provider="Has existing benefit provider",e.Not_Offer="Does not offer benefit",e.Not_Offer_Flare="Does not offer any Flare benefits",e.DEPRECATED_Existing_Provider="Existing novated lease provider",e.DEPRECATED_Not_Offer="Does not offer a novated lease benefit",e.DEPRECATED_Not_Offer_Flare="Does not wish to offer any Flare premium benefits"}(qr||(qr={}));var $r=function(e){switch(e){case Ir.Ineligible:return qr.Ineligible;case Ir.Ineligible_Account_Constraints:return qr.Ineligible_Account_Constraints;case Ir.Existing_Provider:return qr.Existing_Provider;case Ir.Not_Offer:return qr.Not_Offer;case Ir.Not_Offer_Flare:return qr.Not_Offer_Flare;case Ir.Default:default:return qr.Default}},Jr=function(e){switch(e){case qr.Ineligible:return Ir.Ineligible;case qr.Ineligible_Account_Constraints:return Ir.Ineligible_Account_Constraints;case qr.Existing_Provider:case qr.DEPRECATED_Existing_Provider:return Ir.Existing_Provider;case qr.Not_Offer:case qr.DEPRECATED_Not_Offer:return Ir.Not_Offer;case qr.Not_Offer_Flare:case qr.DEPRECATED_Not_Offer_Flare:return Ir.Not_Offer_Flare;case qr.Default:default:return Ir.Default}},Gr=function(e){return{isEnabled:e.isEnabled,ownership:e.ownership,steps:e.steps.map((function(e){return e.isEnabled?{name:e.name,isEnabled:!0}:{name:e.name,isEnabled:!1,disabledReason:$r(e.disabledReason)}}))}},Kr=function(e){return{isEnabled:e.isEnabled,ownership:e.ownership,steps:e.steps.map((function(e){return e.isEnabled?{name:e.name,isEnabled:!0}:{name:e.name,isEnabled:!1,disabledReason:Jr(e.disabledReason)}}))}};function Xr(e){this.message=e}Xr.prototype=new Error,Xr.prototype.name="InvalidCharacterError";var Yr="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Xr("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function Zr(e){this.message=e}Zr.prototype=new Error,Zr.prototype.name="InvalidTokenError";var Qr=function(){function e(e){this.roles=e}return e.create=function(t){if("string"==typeof t)return new e(function(e,t){if("string"!=typeof e)throw new Zr("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(Yr(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return Yr(t)}}(e.split(".")[n]))}catch(e){throw new Zr("Invalid token specified: "+e.message)}}(t).roles||[]);throw new Error("Failed to identify the user")},e.prototype.hasRole=function(e){return this.roles.includes(e)},e}(),eo=function(){return eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},eo.apply(this,arguments)};const to=function(e){var t,n;return q("div",eo({class:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},{children:[q("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"}),q("div",eo({class:"fixed inset-0 z-10 overflow-y-auto"},{children:q("div",eo({class:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},{children:q("div",eo({class:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6"},{children:[q("div",eo({class:"sm:flex sm:items-start"},{children:[q("div",eo({class:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},{children:q(Xt,{iconType:Gt.ExclamationTriangle,className:"h-6 w-6 text-red-600"})})),q("div",eo({class:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},{children:[q("h3",eo({class:"text-lg font-medium leading-6 text-gray-900",id:"modal-title"},{children:e.headingText})),q("div",eo({class:"mt-2"},{children:q("p",eo({class:"text-sm text-gray-500"},{children:e.bodyTest}))}))]}))]})),q("div",eo({class:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},{children:[q(en,eo({class:"inline-flex w-full justify-center rounded-md border border-transparent bg-red-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",onClickPromise:e.confirm.handler},{children:null!==(t=e.confirm.text)&&void 0!==t?t:"Confirm"})),q(en,eo({class:"mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:mt-0 sm:w-auto sm:text-sm",onClick:e.cancel.handler},{children:null!==(n=e.cancel.text)&&void 0!==n?n:"Cancel"}))]}))]}))}))}))]}))};var no=function(){return no=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},no.apply(this,arguments)};const ro=function(e){var t=e.editable,n=e.step,r=e.onChange;return q("div",no({class:"flex flex-row items-center justify-start space-x-10 h-[3rem] ".concat(t?"":"pointer-events-none")},{children:[q(Mt.Group,{children:q("div",no({class:"flex"},{children:[q(Mt,no({disabled:!t,checked:n.isEnabled,onChange:function(e){return r(e?{isEnabled:!0}:{isEnabled:!1,disabledReason:Ir.Default})},class:"".concat(n.isEnabled?"bg-gray-900":"bg-gray-300","\n inline-flex h-[1.5rem] w-[2.75rem] shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 my-auto")},{children:q("span",{class:"".concat(n.isEnabled?"translate-x-[1.25rem]":"translate-x-0","\n pointer-events-none inline-block h-[1.25rem] w-[1.25rem] transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out")})})),q(Mt.Label,{children:q("div",no({class:"flex items-center h-full text-sm leading-5 text-gray-900 cursor-pointer ml-3"},{children:[n.name," Screen"]}))})]}))}),!n.isEnabled&&q("div",no({class:"flex flex-row space-x-2 w-1/2"},{children:[q("label",no({for:"reason",class:"block text-sm font-medium text-gray-900 sm:mt-px sm:pt-2"},{children:"Reason"})),q("div",no({class:"mt-1 sm:mt-0 sm:col-span-2"},{children:q("select",no({id:"reason",name:"reason",readOnly:!t,disabled:!t,autocomplete:"off",value:n.disabledReason,class:"max-w-lg block focus:ring-indigo-500 focus:border-indigo-500 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-300 rounded-md",onChange:function(e){r({isEnabled:!1,disabledReason:e.currentTarget.value})}},{children:[Wr.map((function(e){return q("option",{children:e.value},e.name)})),";"]}))}))]}))]}))};var oo=function(){return oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oo.apply(this,arguments)},io=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ao=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}};const so=$((function(e){var t=se(Vr),n=t[0],r=t[1],o=se(!1),i=o[0],a=o[1],s=se(!0),l=s[0],c=s[1],u=se(""),f=u[0],d=u[1],p=se(Qr.create(e.accessToken))[0],h=se(Gr(Vr)),m=h[0],_=h[1],g=se(!1),b=g[0],w=g[1],v=function(){return p.hasRole("BenefitsOnboarding.EditConfig")},y=function(){return v()||p.hasRole("BenefitsOnboarding.Access")},x=function(){return io(void 0,void 0,void 0,(function(){var t;return ao(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,3,4]),c(!0),Hr.initClient(e.backendUrl,e.accessToken),[4,Hr.getConfig(e.partnerId,e.accountId)];case 1:return t=n.sent(),_(t),r(Kr(t)),[3,4];case 2:return n.sent(),d("Unable to load config"),[3,4];case 3:return c(!1),[7];case 4:return[2]}}))}))};return ce((function(){io(void 0,void 0,void 0,(function(){return ao(this,(function(e){switch(e.label){case 0:return y()?[4,x()]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))}),[e.backendUrl,e.accessToken,e.partnerId,e.accountId]),y()?l?q("div",oo({class:"flex justify-center"},{children:q("span",oo({class:"animate-spin"},{children:q(Wt,{size:"lg"})}))})):f?q("h1",oo({class:"text-red-500"},{children:f})):b?q(to,{bodyTest:"Are you sure you want to reset the current benefits onboarding configuration? This action cannot be undone.",headingText:"Reset Benefits Onboarding Configuration",cancel:{handler:function(){return w(!1)}},confirm:{text:"Reset",handler:function(){return io(void 0,void 0,void 0,(function(){return ao(this,(function(t){switch(t.label){case 0:return w(!1),[4,Hr.deleteConfig(e.partnerId,e.accountId)];case 1:return t.sent(),[4,x()];case 2:return t.sent(),[2]}}))}))}}}):q("form",oo({class:"px-4 py-5 h-full m-4"},{children:[q("div",oo({class:"sm:grid sm:grid-cols-5 sm:gap-4 "},{children:[q("dt",oo({class:"col-span-3 text-sm font-medium text-gray-500"},{children:"Onboarding Settings".concat(i?" (*)":"Specific"==n.ownership?"":"(".concat(n.ownership,")"))})),q("div",oo({class:"flex flex-row justify-start space-x-2"},{children:[q(en,oo({disabled:!function(){if(n.isEnabled)for(var e in n.steps){var t=n.steps[e];if(!t.isEnabled&&("string"!=typeof t.disabledReason||0==t.disabledReason.trim().length))return!1}return!0}(),hidden:!i,class:"ml-3 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClickPromise:function(){return io(void 0,void 0,void 0,(function(){return ao(this,(function(t){switch(t.label){case 0:return[4,Hr.updateConfig(e.partnerId,Gr(n),e.accountId)];case 1:return t.sent(),[4,x()];case 2:return t.sent(),a(!1),[2]}}))}))}},{children:"Save"})),q(en,oo({className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",hidden:!i,onClick:function(){a(!1),r(Kr(m))}},{children:"Cancel"})),q(Qt,{hidden:!v()||i,class:"w-14 px-4 py-2 border border-transparent shadow-sm font-medium rounded-md text-white focus:outline-none focus:ring-2 focus:ring-offset-2 sm:text-sm bg-indigo-600 hover:bg-indigo-700 focus:ring-bg-indigo-500",iconType:Gt.Pencil,onClick:function(){a(!0),r(oo(oo({},n),{ownership:"Specific"}))}}),q(Qt,{class:"w-14 px-4 py-2 border border-transparent shadow-sm font-medium rounded-md text-white focus:outline-none focus:ring-2 focus:ring-offset-2 sm:text-sm bg-red-600 hover:bg-red-700 focus:ring-bg-red-500",hidden:!("Specific"==n.ownership&&v()&&!i),onClick:function(){w(!0)},iconType:Gt.Trash})]}))]})),q(Mt.Group,{children:q("div",oo({class:"my-4 flex ".concat(i?"":"pointer-events-none")},{children:[q(Mt,oo({disabled:!i,checked:n.isEnabled,onChange:function(e){return r(e?function(e){return{isEnabled:!0,steps:e.steps.map((function(e){return{name:e.name,isEnabled:!0}})),ownership:e.ownership}}(n):function(e){return{isEnabled:!1,steps:e.steps.map((function(e){return{name:e.name,isEnabled:!1,disabledReason:Ir.Default}})),ownership:e.ownership}}(n))},class:"".concat(n.isEnabled?"bg-gray-900":"bg-gray-300","\n inline-flex h-[1.5rem] w-[2.75rem] shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 my-auto")},{children:q("span",{class:"".concat(n.isEnabled?"translate-x-[1.25rem]":"translate-x-0","\n pointer-events-none inline-block h-[1.25rem] w-[1.25rem] transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out")})})),q(Mt.Label,{children:q("div",oo({class:"text-sm leading-5 text-gray-900 cursor-pointer ml-3"},{children:"Benefits step in onboarding"}))})]}))}),n.isEnabled&&n.steps.map((function(e){return q(ro,{editable:i,step:e,onChange:function(t){return r(t.isEnabled?function(e,t){var n=e.steps.map((function(e){return e.name===t?{name:t,isEnabled:!0}:e}));return Mr(Mr({},e),{steps:n})}(n,e.name):function(e,t,n){var r=e.steps.map((function(e){return e.name===t?{name:t,isEnabled:!1,disabledReason:n}:e}));return Mr(Mr({},e),{steps:r})}(n,e.name,t.disabledReason))}},e.name)}))]})):q("h1",oo({class:"text-gray-500"},{children:"Access denied."}))}));function lo(){return(lo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function co(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,["context","children"]);return z(t,n)}function uo(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=m(co,lo({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],o={},i=0,a=t.attributes,s=t.childNodes;for(i=a.length;i--;)"slot"!==a[i].name&&(o[a[i].name]=a[i].value,o[fo(a[i].name)]=a[i].value);for(i=s.length;i--;){var l=e(s[i],null),c=s[i].slot;c?o[c]=m(mo,{name:c},l):r[i]=l}var u=n?m(mo,null,r):r;return m(n||t.nodeName.toLowerCase(),o,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?B:I)(this._vdom,this._root)}function fo(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function po(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[fo(e)]=n,this._vdom=z(this._vdom,r),I(this._vdom,this._root)}}function ho(){I(this._vdom=null,this._root)}function mo(e,t){var n=this;return m("slot",lo({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function _o(e,t,n,r){function o(){var t=Reflect.construct(HTMLElement,[],o);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:"open"}):t,t}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=uo,o.prototype.attributeChangedCallback=po,o.prototype.disconnectedCallback=ho,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach((function(e){Object.defineProperty(o.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=typeof t;null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define(t||e.tagName||e.displayName||e.name,o)}_o(J,"superhero-benefits-onboarding",[],{shadow:!0}),_o(so,"superhero-benefits-onboarding-configuration",[],{shadow:!0})})()})();
1
+ (()=>{var e={608:(e,t,n)=>{const r=n(661),o=r.forwardRef((function({title:e,titleId:t,...n},o){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"}))}));e.exports=o},783:(e,t,n)=>{const r=n(661),o=r.forwardRef((function({title:e,titleId:t,...n},o){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:o,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))}));e.exports=o},669:(e,t,n)=>{e.exports=n(609)},448:(e,t,n)=>{"use strict";var r=n(867),o=n(26),i=n(372),a=n(327),s=n(97),c=n(109),l=n(985),u=n(874),f=n(648),d=n(644),p=n(205);e.exports=function(e){return new Promise((function(t,n){var h,_=e.data,m=e.headers,g=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(_)&&r.isStandardBrowserEnv()&&delete m["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(v+":"+y)}var x=s(e.baseURL,e.url);function k(){if(w){var r="getAllResponseHeaders"in w?c(w.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:r,config:e,request:w};o((function(e){t(e),b()}),(function(e){n(e),b()}),i),w=null}}if(w.open(e.method.toUpperCase(),a(x,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=k:w.onreadystatechange=function(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(k)},w.onabort=function(){w&&(n(new f("Request aborted",f.ECONNABORTED,e,w)),w=null)},w.onerror=function(){n(new f("Network Error",f.ERR_NETWORK,e,w,w)),w=null},w.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new f(t,r.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,w)),w=null},r.isStandardBrowserEnv()){var E=(e.withCredentials||l(x))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(m[e.xsrfHeaderName]=E)}"setRequestHeader"in w&&r.forEach(m,(function(e,t){void 0===_&&"content-type"===t.toLowerCase()?delete m[t]:w.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),g&&"json"!==g&&(w.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){w&&(n(!e||e&&e.type?new d:e),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),_||(_=null);var C=p(x);C&&-1===["http","https","file"].indexOf(C)?n(new f("Unsupported protocol "+C+":",f.ERR_BAD_REQUEST,e)):w.send(_)}))}},609:(e,t,n)=>{"use strict";var r=n(867),o=n(849),i=n(321),a=n(185),s=function e(t){var n=new i(t),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(546));s.Axios=i,s.CanceledError=n(644),s.CancelToken=n(972),s.isCancel=n(502),s.VERSION=n(288).version,s.toFormData=n(675),s.AxiosError=n(648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(713),s.isAxiosError=n(268),e.exports=s,e.exports.default=s},972:(e,t,n)=>{"use strict";var r=n(644);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},644:(e,t,n)=>{"use strict";var r=n(648);function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}n(867).inherits(o,r,{__CANCEL__:!0}),e.exports=o},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(867),o=n(327),i=n(782),a=n(572),s=n(185),c=n(97),l=n(875),u=l.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var i,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,r),f=f.concat(c),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;r.length;){var p=r.shift(),h=r.shift();try{d=p(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;c.length;)i=i.then(c.shift(),c.shift());return i},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=c(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},648:(e,t,n)=>{"use strict";var r=n(867);function o(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}r.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,n,a,s,c){var l=Object.create(i);return r.toFlatObject(e,l,(function(e){return e!==Error.prototype})),o.call(l,e.message,t,n,a,s),l.name=e.name,c&&Object.assign(l,c),l},e.exports=o},782:(e,t,n)=>{"use strict";var r=n(867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},97:(e,t,n)=>{"use strict";var r=n(793),o=n(303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},572:(e,t,n)=>{"use strict";var r=n(867),o=n(527),i=n(502),a=n(546),s=n(644);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},185:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||i,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},26:(e,t,n)=>{"use strict";var r=n(648);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},527:(e,t,n)=>{"use strict";var r=n(867),o=n(546);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},546:(e,t,n)=>{"use strict";var r=n(867),o=n(16),i=n(648),a=n(874),s=n(675),c={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,f={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(448)),u),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,i=r.isObject(e),a=t&&t["Content-Type"];if((n=r.isFileList(e))||i&&"multipart/form-data"===a){var c=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,c&&new c)}return i||"application/json"===a?(l(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(0,JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i.from(e,i.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){f.headers[e]=r.merge(c)})),e.exports=f},874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},288:e=>{e.exports={version:"0.27.2"}},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},327:(e,t,n)=>{"use strict";var r=n(867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,n)=>{"use strict";var r=n(867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},268:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},985:(e,t,n)=>{"use strict";var r=n(867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},623:e=>{e.exports=null},109:(e,t,n)=>{"use strict";var r=n(867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},205:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},675:(e,t,n)=>{"use strict";var r=n(867);e.exports=function(e,t){t=t||new FormData;var n=[];function o(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(i,a){if(r.isPlainObject(i)||r.isArray(i)){if(-1!==n.indexOf(i))throw Error("Circular reference detected in "+a);n.push(i),r.forEach(i,(function(n,i){if(!r.isUndefined(n)){var s,c=a?a+"."+i:i;if(n&&!a&&"object"==typeof n)if(r.endsWith(i,"{}"))n=JSON.stringify(n);else if(r.endsWith(i,"[]")&&(s=r.toArray(n)))return void s.forEach((function(e){!r.isUndefined(e)&&t.append(c,o(e))}));e(n,c)}})),n.pop()}else t.append(a,o(i))}(e),t}},875:(e,t,n)=>{"use strict";var r=n(288).version,o=n(648),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new o(i(r," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],s=t[a];if(s){var c=e[a],l=void 0===c||s(c,a,e);if(!0!==l)throw new o("option "+a+" must be "+l,o.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},867:(e,t,n)=>{"use strict";var r,o=n(849),i=Object.prototype.toString,a=(r=Object.create(null),function(e){var t=i.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function c(e){return Array.isArray(e)}function l(e){return void 0===e}var u=s("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=s("Date"),h=s("File"),_=s("Blob"),m=s("FileList");function g(e){return"[object Function]"===i.call(e)}var b=s("URLSearchParams");function w(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),c(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var v,y=(v="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return v&&e instanceof v});e.exports={isArray:c,isArrayBuffer:u,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:l,isDate:p,isFile:h,isBlob:_,isFunction:g,isStream:function(e){return f(e)&&g(e.pipe)},isURLSearchParams:b,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:w,merge:function e(){var t={};function n(n,r){d(t[r])&&d(n)?t[r]=e(t[r],n):d(n)?t[r]=e({},n):c(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)w(arguments[r],n);return t},extend:function(e,t,n){return w(t,(function(t,r){e[r]=n&&"function"==typeof t?o(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var r,o,i,a={};t=t||{};do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=r[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;var t=e.length;if(l(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:y,isFileList:m}},383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(81),o=n.n(r),i=n(645),a=n.n(i),s=n(667),c=n.n(s),l=new URL(n(578),n.b),u=new URL(n(254),n.b),f=new URL(n(184),n.b),d=new URL(n(421),n.b),p=a()(o()),h=c()(l),_=c()(u),m=c()(f),g=c()(d);p.push([e.id,'/*! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}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,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-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,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--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);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{color-adjust:exact;background-image:url('+h+");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]{color-adjust:unset;background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{color-adjust:exact;--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--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);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("+_+")}[type=radio]:checked{background-image:url("+m+")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("+g+");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(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: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(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: }.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;left:0;right:0;top:0}.z-10{z-index:10}.col-span-3{grid-column:span 3/span 3}.m-4{margin:1rem}.my-4{margin-bottom:1rem;margin-top:1rem}.my-auto{margin-bottom:auto;margin-top:auto}.mx-auto{margin-left:auto;margin-right:auto}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.mt-2{margin-top:.5rem}.mt-5{margin-top:1.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-4{height:1rem}.h-full{height:100%}.h-\\[1\\.5rem\\]{height:1.5rem}.h-\\[1\\.25rem\\]{height:1.25rem}.h-\\[3rem\\]{height:3rem}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-12{height:3rem}.h-6{height:1.5rem}.min-h-full{min-height:100%}.w-6{width:1.5rem}.w-14{width:3.5rem}.w-\\[2\\.75rem\\]{width:2.75rem}.w-\\[1\\.25rem\\]{width:1.25rem}.w-1\\/2{width:50%}.w-full{width:100%}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-12{width:3rem}.max-w-lg{max-width:32rem}.flex-shrink-0,.shrink-0{flex-shrink:0}.translate-x-\\[1\\.25rem\\]{--tw-translate-x:1.25rem}.translate-x-0,.translate-x-\\[1\\.25rem\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-10>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(2.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(2.5rem*var(--tw-space-x-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-md{border-radius:.375rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-transparent{border-color:transparent}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-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-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.fill-white{fill:#fff}.fill-gray-200{fill:#e5e7eb}.fill-teal-500{fill:#14b8a6}.p-4{padding:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-5{padding-bottom:1.25rem}.pt-5,.py-5{padding-top:1.25rem}.pb-4{padding-bottom:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{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 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-0{--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(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)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-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-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.focus\\:border-indigo-500:focus{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity))}.focus\\:ring-red-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\\:ring-white:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255/var(--tw-ring-opacity))}.focus-visible\\:ring-opacity-75:focus-visible{--tw-ring-opacity:0.75}@media (min-width:640px){.sm\\:col-span-2{grid-column:span 2/span 2}.sm\\:my-8{margin-bottom:2rem;margin-top:2rem}.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:mt-px{margin-top:1px}.sm\\:mt-0{margin-top:0}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-4{margin-top:1rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:flex{display:flex}.sm\\:grid{display:grid}.sm\\:h-10{height:2.5rem}.sm\\:w-full{width:100%}.sm\\:w-10{width:2.5rem}.sm\\:w-auto{width:auto}.sm\\:max-w-xs{max-width:20rem}.sm\\:max-w-lg{max-width:32rem}.sm\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-center{align-items:center}.sm\\:gap-4{gap:1rem}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:pt-2{padding-top:.5rem}.sm\\:text-left{text-align:left}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}",""]);const b=p},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},81:e=>{"use strict";e.exports=function(e){return e[1]}},661:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Children:()=>p,Component:()=>o.wA,Fragment:()=>o.HY,PureComponent:()=>s,StrictMode:()=>$,Suspense:()=>m,SuspenseList:()=>w,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>I,cloneElement:()=>Y,createContext:()=>o.kr,createElement:()=>o.az,createFactory:()=>B,createPortal:()=>k,createRef:()=>o.Vf,default:()=>K,findDOMNode:()=>V,flushSync:()=>q,forwardRef:()=>f,hydrate:()=>P,isValidElement:()=>H,lazy:()=>b,memo:()=>c,render:()=>R,startTransition:()=>J,unmountComponentAtNode:()=>F,unstable_batchedUpdates:()=>W,useCallback:()=>r.I4,useContext:()=>r.qp,useDebugValue:()=>r.Qb,useDeferredValue:()=>G,useEffect:()=>r.d4,useErrorBoundary:()=>r.cO,useImperativeHandle:()=>r.aP,useInsertionEffect:()=>X,useLayoutEffect:()=>r.bt,useMemo:()=>r.Ye,useReducer:()=>r._Y,useRef:()=>r.sO,useState:()=>r.eJ,useSyncExternalStore:()=>Q,useTransition:()=>Z,version:()=>z});var r=n(396),o=n(400);function i(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function s(e){this.props=e}function c(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:a(this.props,e)}function r(t){return this.shouldComponentUpdate=n,(0,o.az)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(s.prototype=new o.wA).isPureReactComponent=!0,s.prototype.shouldComponentUpdate=function(e,t){return a(this.props,e)||a(this.state,t)};var l=o.YM.__b;o.YM.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),l&&l(e)};var u="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function f(e){function t(t){var n=i({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=u,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var d=function(e,t){return null==e?null:(0,o.bR)((0,o.bR)(e).map(t))},p={map:d,forEach:d,count:function(e){return e?(0,o.bR)(e).length:0},only:function(e){var t=(0,o.bR)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:o.bR},h=o.YM.__e;o.YM.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);h(e,t,n,r)};var _=o.YM.unmount;function m(){this.__u=0,this.t=null,this.__b=null}function g(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function b(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return(0,o.az)(n,i)}return i.displayName="Lazy",i.__f=!0,i}function w(){this.u=null,this.o=null}o.YM.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),_&&_(e)},(m.prototype=new o.wA).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=g(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},m.prototype.componentWillUnmount=function(){this.t=[]},m.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]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=i({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var a=t.__a&&(0,o.az)(o.HY,null,e.fallback);return a&&(a.__h=null),[(0,o.az)(o.HY,null,t.__a?null:e.children),a]};var v=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!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 y(e){return this.getChildContext=function(){return e.context},e.children}function x(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,o.sY)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,o.sY)((0,o.az)(y,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function k(e,t){var n=(0,o.az)(x,{__v:e,i:t});return n.containerInfo=t,n}(w.prototype=new o.wA).__a=function(e){var t=this,n=g(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),v(t,e,r)):o()};n?n(i):i()}},w.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,o.bR)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},w.prototype.componentDidUpdate=w.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){v(e,n,t)}))};var E="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,C=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,O="undefined"!=typeof document,S=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function R(e,t,n){return null==t.__k&&(t.textContent=""),(0,o.sY)(e,t),"function"==typeof n&&n(),e?e.__c:null}function P(e,t,n){return(0,o.ZB)(e,t),"function"==typeof n&&n(),e?e.__c:null}o.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(o.wA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var T=o.YM.event;function N(){}function A(){return this.cancelBubble}function j(){return this.defaultPrevented}o.YM.event=function(e){return T&&(e=T(e)),e.persist=N,e.isPropagationStopped=A,e.isDefaultPrevented=j,e.nativeEvent=e};var D,U={configurable:!0,get:function(){return this.class}},L=o.YM.vnode;o.YM.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var a in r={},n){var s=n[a];O&&"children"===a&&"noscript"===t||"value"===a&&"defaultValue"in n&&null==s||("defaultValue"===a&&"value"in n&&null==n.value?a="value":"download"===a&&!0===s?s="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!S(n.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():i&&C.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),r[a]&&(a="oninputCapture")),r[a]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,o.bR)(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=(0,o.bR)(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(U.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",U))}e.$$typeof=E,L&&L(e)};var M=o.YM.__r;o.YM.__r=function(e){M&&M(e),D=e.__c};var I={ReactCurrentDispatcher:{current:{readContext:function(e){return D.__n[e.__c].props.value}}}},z="17.0.2";function B(e){return o.az.bind(null,e)}function H(e){return!!e&&e.$$typeof===E}function Y(e){return H(e)?o.Tm.apply(null,arguments):e}function F(e){return!!e.__k&&((0,o.sY)(null,e),!0)}function V(e){return e&&(e.base||1===e.nodeType&&e)||null}var W=function(e,t){return e(t)},q=function(e,t){return e(t)},$=o.HY;function J(e){e()}function G(e){return e}function Z(){return[!1,J]}var X=r.bt;function Q(e,t){var n=(0,r.eJ)(t),o=n[0],i=n[1];return(0,r.d4)((function(){return e((function(){i((function(){return t()}))}))}),[e,t]),o}const K={useState:r.eJ,useReducer:r._Y,useEffect:r.d4,useLayoutEffect:r.bt,useInsertionEffect:r.bt,useTransition:Z,useDeferredValue:G,useSyncExternalStore:Q,startTransition:J,useRef:r.sO,useImperativeHandle:r.aP,useMemo:r.Ye,useCallback:r.I4,useContext:r.qp,useDebugValue:r.Qb,version:"17.0.2",Children:p,render:R,hydrate:P,unmountComponentAtNode:F,createPortal:k,createElement:o.az,createContext:o.kr,createFactory:B,cloneElement:Y,createRef:o.Vf,Fragment:o.HY,isValidElement:H,findDOMNode:V,Component:o.wA,PureComponent:s,memo:c,forwardRef:f,flushSync:q,unstable_batchedUpdates:W,StrictMode:o.HY,Suspense:m,SuspenseList:w,lazy:b,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:I}},400:(e,t,n)=>{"use strict";n.d(t,{HY:()=>g,Tm:()=>z,Vf:()=>m,YM:()=>o,ZB:()=>I,az:()=>h,bR:()=>C,h:()=>h,kr:()=>B,sY:()=>M,wA:()=>b});var r,o,i,a,s,c,l={},u=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var o,i,a,s={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return _(e,s,o,i,null)}function _(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null==a&&null!=o.vnode&&o.vnode(s),s}function m(){return{current:null}}function g(e){return e.children}function b(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function v(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return v(e)}}function y(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!x.__r++||s!==o.debounceRendering)&&((s=o.debounceRendering)||setTimeout)(x)}function x(){for(var e;x.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=d({},o)).__v=o.__v+1,N(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?w(o):i,o.__h),A(n,o),o.__e!=i&&v(o)))}))}function k(e,t,n,r,o,i,a,s,c,f){var d,p,h,m,b,v,y,x=r&&r.__k||u,k=x.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(m=n.__k[d]=null==(m=t[d])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m||"bigint"==typeof m?_(null,m,null,null,m):Array.isArray(m)?_(g,{children:m},null,null,null):m.__b>0?_(m.type,m.props,m.key,null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(h=x[d])||h&&m.key==h.key&&m.type===h.type)x[d]=void 0;else for(p=0;p<k;p++){if((h=x[p])&&m.key==h.key&&m.type===h.type){x[p]=void 0;break}h=null}N(e,m,h=h||l,o,i,a,s,c,f),b=m.__e,(p=m.ref)&&h.ref!=p&&(y||(y=[]),h.ref&&y.push(h.ref,null,m),y.push(p,m.__c||b,m)),null!=b?(null==v&&(v=b),"function"==typeof m.type&&m.__k===h.__k?m.__d=c=E(m,c,e):c=O(e,m,h,x,b,c),"function"==typeof n.type&&(n.__d=c)):c&&h.__e==c&&c.parentNode!=e&&(c=w(h))}for(n.__e=v,d=k;d--;)null!=x[d]&&("function"==typeof n.type&&null!=x[d].__e&&x[d].__e==n.__d&&(n.__d=w(r,d+1)),U(x[d],x[d]));if(y)for(d=0;d<y.length;d++)D(y[d],y[++d],y[++d])}function E(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):O(n,r,r,o,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function O(e,t,n,r,o,i){var a,s,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,c=0;(s=s.nextSibling)&&c<r.length;c+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function S(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function R(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||S(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||S(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?T:P,i):e.removeEventListener(t,i?T:P,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function P(e){this.l[e.type+!1](o.event?o.event(e):e)}function T(e){this.l[e.type+!0](o.event?o.event(e):e)}function N(e,t,n,r,i,a,s,c,l){var u,f,p,h,_,m,w,v,y,x,E,C,O,S=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,c=t.__e=n.__e,t.__h=null,a=[c]),(u=o.__b)&&u(t);try{e:if("function"==typeof S){if(v=t.props,y=(u=S.contextType)&&r[u.__c],x=u?y?y.props.value:u.__:r,n.__c?w=(f=t.__c=n.__c).__=f.__E:("prototype"in S&&S.prototype.render?t.__c=f=new S(v,x):(t.__c=f=new b(v,x),f.constructor=S,f.render=L),y&&y.sub(f),f.props=v,f.state||(f.state={}),f.context=x,f.__n=r,p=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=S.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=d({},f.__s)),d(f.__s,S.getDerivedStateFromProps(v,f.__s))),h=f.props,_=f.state,p)null==S.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==S.getDerivedStateFromProps&&v!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(v,x),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(v,f.__s,x)||t.__v===n.__v){f.props=v,f.state=f.__s,t.__v!==n.__v&&(f.__d=!1),f.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(v,f.__s,x),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(h,_,m)}))}if(f.context=x,f.props=v,f.__v=t,f.__P=e,E=o.__r,C=0,"prototype"in S&&S.prototype.render)f.state=f.__s,f.__d=!1,E&&E(t),u=f.render(f.props,f.state,f.context);else do{f.__d=!1,E&&E(t),u=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++C<25);f.state=f.__s,null!=f.getChildContext&&(r=d(d({},r),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(m=f.getSnapshotBeforeUpdate(h,_)),O=null!=u&&u.type===g&&null==u.key?u.props.children:u,k(e,Array.isArray(O)?O:[O],t,n,r,i,a,s,c,l),f.base=t.__e,t.__h=null,f.__h.length&&s.push(f),w&&(f.__E=f.__=null),f.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=j(n.__e,t,n,r,i,a,s,l);(u=o.diffed)&&u(t)}catch(e){t.__v=null,(l||null!=a)&&(t.__e=c,t.__h=!!l,a[a.indexOf(c)]=null),o.__e(e,t,n)}}function A(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function j(e,t,n,o,i,a,s,c){var u,f,d,h=n.props,_=t.props,m=t.type,g=0;if("svg"===m&&(i=!0),null!=a)for(;g<a.length;g++)if((u=a[g])&&"setAttribute"in u==!!m&&(m?u.localName===m:3===u.nodeType)){e=u,a[g]=null;break}if(null==e){if(null===m)return document.createTextNode(_);e=i?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,_.is&&_),a=null,c=!1}if(null===m)h===_||c&&e.data===_||(e.data=_);else{if(a=a&&r.call(e.childNodes),f=(h=n.props||l).dangerouslySetInnerHTML,d=_.dangerouslySetInnerHTML,!c){if(null!=a)for(h={},g=0;g<e.attributes.length;g++)h[e.attributes[g].name]=e.attributes[g].value;(d||f)&&(d&&(f&&d.__html==f.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||R(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||R(e,i,t[i],n[i],r)}(e,_,h,i,c),d)t.__k=[];else if(g=t.props.children,k(e,Array.isArray(g)?g:[g],t,n,o,i&&"foreignObject"!==m,a,s,a?a[0]:n.__k&&w(n,0),c),null!=a)for(g=a.length;g--;)null!=a[g]&&p(a[g]);c||("value"in _&&void 0!==(g=_.value)&&(g!==e.value||"progress"===m&&!g||"option"===m&&g!==h.value)&&R(e,"value",g,h.value,!1),"checked"in _&&void 0!==(g=_.checked)&&g!==e.checked&&R(e,"checked",g,h.checked,!1))}return e}function D(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function U(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||D(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&U(r[i],t,"function"!=typeof e.type);n||null==e.__e||p(e.__e),e.__e=e.__d=void 0}function L(e,t,n){return this.constructor(e,n)}function M(e,t,n){var i,a,s;o.__&&o.__(e,t),a=(i="function"==typeof n)?null:n&&n.__k||t.__k,s=[],N(t,e=(!i&&n||t).__k=h(g,null,[e]),a||l,l,void 0!==t.ownerSVGElement,!i&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,s,!i&&n?n:a?a.__e:t.firstChild,i),A(s,e)}function I(e,t){M(e,t,I)}function z(e,t,n){var o,i,a,s=d({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:s[a]=t[a];return arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),_(e.type,s,o||e.key,i||e.ref,null)}function B(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(y)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=u.slice,o={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},i=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},n),this.props)),e&&d(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),y(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),y(this))},b.prototype.render=g,a=[],x.__r=0,c=0},396:(e,t,n)=>{"use strict";n.d(t,{I4:()=>E,Qb:()=>O,Ye:()=>k,_Y:()=>b,aP:()=>x,bt:()=>v,cO:()=>S,d4:()=>w,eJ:()=>g,qp:()=>C,sO:()=>y});var r,o,i,a,s=n(400),c=0,l=[],u=[],f=s.YM.__b,d=s.YM.__r,p=s.YM.diffed,h=s.YM.__c,_=s.YM.unmount;function m(e,t){s.YM.__h&&s.YM.__h(o,e,c||t),c=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:u}),n.__[e]}function g(e){return c=1,b(j,e)}function b(e,t,n){var i=m(r++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):j(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=o,!i.__c.u)){i.__c.__H.u=!0;var a=i.__c.shouldComponentUpdate;i.__c.shouldComponentUpdate=function(e,t,n){var r=i.__c.__H.__.filter((function(e){return e.__c}));return(r.every((function(e){return!e.__N}))||!r.every((function(e){if(!e.__N)return!0;var t=e.__[0];return e.__=e.__N,e.__N=void 0,t===e.__[0]})))&&(!a||a(e,t,n))}}return i.__N||i.__}function w(e,t){var n=m(r++,3);!s.YM.__s&&A(n.__H,t)&&(n.__=e,n.o=t,o.__H.__h.push(n))}function v(e,t){var n=m(r++,4);!s.YM.__s&&A(n.__H,t)&&(n.__=e,n.o=t,o.__h.push(n))}function y(e){return c=5,k((function(){return{current:e}}),[])}function x(e,t,n){c=6,v((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function k(e,t){var n=m(r++,7);return A(n.__H,t)?(n.__V=e(),n.o=t,n.__h=e,n.__V):n.__}function E(e,t){return c=8,k((function(){return e}),t)}function C(e){var t=o.context[e.__c],n=m(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function O(e,t){s.YM.useDebugValue&&s.YM.useDebugValue(t?t(e):e)}function S(e){var t=m(r++,10),n=g();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function R(){for(var e;e=l.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(T),e.__H.__h.forEach(N),e.__H.__h=[]}catch(t){e.__H.__h=[],s.YM.__e(t,e.__v)}}s.YM.__b=function(e){o=null,f&&f(e)},s.YM.__r=function(e){d&&d(e),r=0;var t=(o=e.__c).__H;t&&(i===o?(t.__h=[],o.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=u,e.__N=e.o=void 0}))):(t.__h.forEach(T),t.__h.forEach(N),t.__h=[])),i=o},s.YM.diffed=function(e){p&&p(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==l.push(t)&&a===s.YM.requestAnimationFrame||((a=s.YM.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),P&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);P&&(t=requestAnimationFrame(n))})(R)),t.__H.__.forEach((function(e){e.o&&(e.__H=e.o),e.__V!==u&&(e.__=e.__V),e.o=void 0,e.__V=u}))),i=o=null},s.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach(T),e.__h=e.__h.filter((function(e){return!e.__||N(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],s.YM.__e(n,e.__v)}})),h&&h(e,t)},s.YM.unmount=function(e){_&&_(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{T(e)}catch(e){t=e}})),t&&s.YM.__e(t,n.__v))};var P="function"==typeof requestAnimationFrame;function T(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function N(e){var t=o;e.__c=e.__(),o=t}function A(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function j(e,t){return"function"==typeof t?t(e):t}},184:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 16 16%27 fill=%27%23fff%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Ccircle cx=%278%27 cy=%278%27 r=%273%27/%3E%3C/svg%3E"},254:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg viewBox=%270 0 16 16%27 fill=%27%23fff%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z%27/%3E%3C/svg%3E"},421:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 16 16%27%3E%3Cpath stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M4 8h8%27/%3E%3C/svg%3E"},578:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3E%3Cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27m6 8 4 4 4-4%27/%3E%3C/svg%3E"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.b=document.baseURI||self.location.href,(()=>{"use strict";var e=n(400),t=0;function r(n,r,o,i,a){var s,c,l={};for(c in r)"ref"==c?s=r[c]:l[c]=r[c];var u={type:n,props:l,key:o,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--t,__source:a,__self:i};if("function"==typeof n&&(s=n.defaultProps))for(c in s)void 0===l[c]&&(l[c]=s[c]);return e.YM.vnode&&e.YM.vnode(u),u}var o=n(383),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(t){return function(n){return r(e.HY,{children:[r("style",{children:o.Z.toString()}),r(t,i({},n))]})}}const s=a((function(t){return r(e.HY,{children:r("div",{children:r("p",{children:"Hello, Superhero."})})})}));var c=n(396),l=n(661);function u(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,u),r}var f,d=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(d||{}),p=((f=p||{})[f.Unmount=0]="Unmount",f[f.Hidden=1]="Hidden",f);function h({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a}){let s=m(t,e);if(i)return _(s,n,r,a);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=s;if(e)return _(t,n,r,a)}if(1&c){let{unmount:e=!0,...t}=s;return u(e?0:1,{0:()=>null,1:()=>_({...t,hidden:!0,style:{display:"none"}},n,r,a)})}return _(s,n,r,a)}function _(e,t={},n,r){let{as:o=n,children:i,refName:a="ref",...s}=w(e,["unmount","static"]),c=void 0!==e.ref?{[a]:e.ref}:{},u="function"==typeof i?i(t):i;s.className&&"function"==typeof s.className&&(s.className=s.className(t));let f={};if(o===l.Fragment&&Object.keys(b(s)).length>0){if(!(0,l.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return(0,l.cloneElement)(u,Object.assign({},m(u.props,b(w(s,["ref"]))),f,c))}return(0,l.createElement)(o,Object.assign({},w(s,["ref"]),o!==l.Fragment&&c,o!==l.Fragment&&f),u)}function m(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let e in n)Object.assign(t,{[e](t,...r){let o=n[e];for(let e of o){if(t.defaultPrevented)return;e(t,...r)}}});return t}function g(e){var t;return Object.assign((0,l.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function b(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function w(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}let v="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,y={serverHandoffComplete:!1};var x;let k=0;function E(){return++k}let C=null!=(x=l.default.useId)?x:function(){let e=function(){let[e,t]=(0,l.useState)(y.serverHandoffComplete);return(0,l.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,l.useEffect)((()=>{!1===y.serverHandoffComplete&&(y.serverHandoffComplete=!0)}),[]),e}(),[t,n]=l.default.useState(e?E:null);return v((()=>{null===t&&n(E())}),[t]),null!=t?""+t:void 0};var O=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(O||{});let S=function(e){let t=function(e){let t=(0,l.useRef)(e);return v((()=>{t.current=e}),[e]),t}(e);return l.default.useCallback(((...e)=>t.current(...e)),[t])},R=Symbol();function P(...e){let t=(0,l.useRef)(e);(0,l.useEffect)((()=>{t.current=e}),[e]);let n=S((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[R])))?void 0:n}let T=(0,l.createContext)(null);function N(){let e=(0,l.useContext)(T);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,N),e}return e}let A=g((function(e,t){let{passive:n=!1,...r}=e,o=N(),i=`headlessui-label-${C()}`,a=P(t);v((()=>o.register(i)),[i,o.register]);let s={ref:a,...o.props,id:i};return n&&("onClick"in s&&delete s.onClick,"onClick"in r&&delete r.onClick),h({ourProps:s,theirProps:r,slot:o.slot||{},defaultTag:"label",name:o.name||"Label"})})),j=(0,l.createContext)(null);function D(){let e=(0,l.useContext)(j);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,D),e}return e}function U(){let[e,t]=(0,l.useState)([]);return[e.length>0?e.join(" "):void 0,(0,l.useMemo)((()=>function(e){let n=S((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),r=(0,l.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return l.default.createElement(j.Provider,{value:r},e.children)}),[t])]}let L=g((function(e,t){let n=D(),r=`headlessui-description-${C()}`,o=P(t);v((()=>n.register(r)),[r,n.register]);let i=e;return h({ourProps:{ref:o,...n.props,id:r},theirProps:i,slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})}));function M(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function I(e,t){let[n,r]=(0,l.useState)((()=>M(e)));return v((()=>{r(M(e))}),[e.type,e.as]),v((()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")}),[n,t]),n}var z=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(z||{});let B=g((function(e,t){let{features:n=1,...r}=e;return h({ourProps:{ref:t,"aria-hidden":2==(2&n)||void 0,style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})})),H=(0,l.createContext)(null);H.displayName="GroupContext";let Y=l.Fragment,F=g((function(e,t){let{checked:n,onChange:r,name:o,value:i,...a}=e,s=`headlessui-switch-${C()}`,c=(0,l.useContext)(H),u=(0,l.useRef)(null),f=P(u,t,null===c?null:c.setSwitch),d=S((()=>r(!n))),p=S((e=>{if(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}(e.currentTarget))return e.preventDefault();e.preventDefault(),d()})),_=S((e=>{e.key===O.Space?(e.preventDefault(),d()):e.key===O.Enter&&function(e){var t;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n)for(let e of n.elements)if("INPUT"===e.tagName&&"submit"===e.type||"BUTTON"===e.tagName&&"submit"===e.type||"INPUT"===e.nodeName&&"image"===e.type)return void e.click()}(e.currentTarget)})),m=S((e=>e.preventDefault())),g=(0,l.useMemo)((()=>({checked:n})),[n]),w={id:s,ref:f,role:"switch",type:I(e,u),tabIndex:0,"aria-checked":n,"aria-labelledby":null==c?void 0:c.labelledby,"aria-describedby":null==c?void 0:c.describedby,onClick:p,onKeyUp:_,onKeyPress:m};return l.default.createElement(l.default.Fragment,null,null!=o&&n&&l.default.createElement(B,{features:z.Hidden,...b({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:n,name:o,value:i})}),h({ourProps:w,theirProps:a,slot:g,defaultTag:"button",name:"Switch"}))})),V=Object.assign(F,{Group:function(e){let[t,n]=(0,l.useState)(null),[r,o]=function(){let[e,t]=(0,l.useState)([]);return[e.length>0?e.join(" "):void 0,(0,l.useMemo)((()=>function(e){let n=S((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),r=(0,l.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return l.default.createElement(T.Provider,{value:r},e.children)}),[t])]}(),[i,a]=U(),s=(0,l.useMemo)((()=>({switch:t,setSwitch:n,labelledby:r,describedby:i})),[t,n,r,i]),c=e;return l.default.createElement(a,{name:"Switch.Description"},l.default.createElement(o,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},l.default.createElement(H.Provider,{value:s},h({ourProps:{},theirProps:c,defaultTag:Y,name:"Switch.Group"}))))},Label:A,Description:L});var W=function(){return W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},W.apply(this,arguments)};const q=function(e){return r("svg",W({viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"lg"===e.size?"h-10 w-10":"h-5 w-5"},{children:[r("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",class:"light"===e.theme?"fill-white":"fill-gray-200","fill-opacity":"light"===e.theme?"0.3":"1"}),r("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",class:"light"===e.theme?"fill-white":"fill-teal-500"})]}))},$=l.forwardRef((function({title:e,titleId:t,...n},r){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}));var J,G=n(608),Z=n.n(G),X=n(783),Q=n.n(X),K=function(){return K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},K.apply(this,arguments)};!function(e){e[e.Pencil=0]="Pencil",e[e.Trash=1]="Trash",e[e.ExclamationTriangle=2]="ExclamationTriangle"}(J||(J={}));var ee=function(e){switch(e.iconType){case J.Pencil:return r(Z(),K({},e));case J.Trash:return r(Q(),K({},e));case J.ExclamationTriangle:return r($,K({},e))}},te=function(){return te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},te.apply(this,arguments)},ne=function(e){var t=(0,c.eJ)(!1),n=t[0],o=t[1],i=e.class,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["class"]);return r("div",te({class:"".concat(e.hidden?"hidden":"")},{children:r("button",te({type:"button"},a,{class:i,onClick:e.onClickPromise?function(){return t=void 0,r=void 0,a=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(t){switch(t.label){case 0:if(!e.onClickPromise||n)return[3,6];o(!0),t.label=1;case 1:return t.trys.push([1,4,,5]),e.onClickPromise?[4,e.onClickPromise()]:[3,3];case 2:t.sent(),t.label=3;case 3:return[3,5];case 4:return t.sent(),[3,5];case 5:o(!1),t.label=6;case 6:return[2]}}))},new((i=void 0)||(i=Promise))((function(e,n){function o(e){try{c(a.next(e))}catch(e){n(e)}}function s(e){try{c(a.throw(e))}catch(e){n(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(o,s)}c((a=a.apply(t,r||[])).next())}));var t,r,i,a}:e.onClick},{children:[r("div",te({class:"relative ".concat(n?"invisible":"")},{children:e.children})),n&&r("div",te({class:"absolute animate-spin"},{children:r(q,{theme:"light"})}))]}))}))},re=function(e){return r(ne,te({},e,{children:[null!=e.iconType&&r(ee,{iconType:e.iconType,class:"h-4 w-6"}),e.children]}))};const oe=ne;var ie,ae=n(669),se=n.n(ae),ce=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},le=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},ue=function(){function e(){}return e.initClient=function(e,t){this.axiosInstance=se().create({baseURL:"".concat(e,"/benefits-onboarding/admin"),headers:{Authorization:"Bearer ".concat(t)}})},e.getConfig=function(e,t){return ce(this,void 0,void 0,(function(){return le(this,(function(n){switch(n.label){case 0:return t?[4,this.getAccountConfig(e,t)]:[3,2];case 1:case 3:return[2,n.sent()];case 2:return[4,this.getPartnerConfig(e)]}}))}))},e.getPartnerConfig=function(e){return ce(this,void 0,void 0,(function(){return le(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.get("/partners/".concat(e,"/config"),{})];case 1:return[2,t.sent().data]}}))}))},e.getAccountConfig=function(e,t){return ce(this,void 0,void 0,(function(){return le(this,(function(n){switch(n.label){case 0:return[4,this.axiosInstance.get("/partners/".concat(e,"/accounts/").concat(t,"/config"),{})];case 1:return[2,n.sent().data]}}))}))},e.updateConfig=function(e,t,n){return ce(this,void 0,void 0,(function(){return le(this,(function(r){switch(r.label){case 0:return n?[4,this.updateAccountConfig(e,n,t)]:[3,2];case 1:return r.sent(),[3,4];case 2:return[4,this.updatePartnerConfig(e,t)];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))},e.updatePartnerConfig=function(e,t){return ce(this,void 0,void 0,(function(){return le(this,(function(n){switch(n.label){case 0:return[4,this.axiosInstance.put("/partners/".concat(e,"/config"),t)];case 1:return n.sent(),[2]}}))}))},e.updateAccountConfig=function(e,t,n){return ce(this,void 0,void 0,(function(){return le(this,(function(r){switch(r.label){case 0:return[4,this.axiosInstance.put("/partners/".concat(e,"/accounts/").concat(t,"/config"),n)];case 1:return r.sent(),[2]}}))}))},e.deleteConfig=function(e,t){return ce(this,void 0,void 0,(function(){return le(this,(function(n){switch(n.label){case 0:return t?[4,this.deleteAccountConfig(e,t)]:[3,2];case 1:return n.sent(),[3,4];case 2:return[4,this.deletePartnerConfig(e)];case 3:n.sent(),n.label=4;case 4:return[2]}}))}))},e.deletePartnerConfig=function(e){return ce(this,void 0,void 0,(function(){return le(this,(function(t){switch(t.label){case 0:return[4,this.axiosInstance.delete("/partners/".concat(e,"/config"))];case 1:return t.sent(),[2]}}))}))},e.deleteAccountConfig=function(e,t){return ce(this,void 0,void 0,(function(){return le(this,(function(n){switch(n.label){case 0:return[4,this.axiosInstance.delete("/partners/".concat(e,"/accounts/").concat(t,"/config"))];case 1:return n.sent(),[2]}}))}))},e}(),fe=function(){return fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},fe.apply(this,arguments)};!function(e){e.Default="Default",e.Ineligible="Ineligible employee base",e.Ineligible_Account_Constraints="Ineligible due to account constraints",e.Existing_Provider="Has existing benefit provider",e.Not_Offer="Does not offer benefit",e.Not_Offer_Flare="Does not offer any Flare benefits"}(ie||(ie={}));var de,pe=Object.entries(ie).map((function(e){return{name:e[0],value:e[1]}})),he={isEnabled:!1,steps:[],ownership:"Default"};!function(e){e.Default="Default",e.Ineligible="Ineligible employee base",e.Ineligible_Account_Constraints="Ineligible due to account constraints",e.Existing_Provider="Has existing benefit provider",e.Not_Offer="Does not offer benefit",e.Not_Offer_Flare="Does not offer any Flare benefits",e.DEPRECATED_Existing_Provider="Existing novated lease provider",e.DEPRECATED_Not_Offer="Does not offer a novated lease benefit",e.DEPRECATED_Not_Offer_Flare="Does not wish to offer any Flare premium benefits"}(de||(de={}));var _e=function(e){switch(e){case ie.Ineligible:return de.Ineligible;case ie.Ineligible_Account_Constraints:return de.Ineligible_Account_Constraints;case ie.Existing_Provider:return de.Existing_Provider;case ie.Not_Offer:return de.Not_Offer;case ie.Not_Offer_Flare:return de.Not_Offer_Flare;case ie.Default:default:return de.Default}},me=function(e){switch(e){case de.Ineligible:return ie.Ineligible;case de.Ineligible_Account_Constraints:return ie.Ineligible_Account_Constraints;case de.Existing_Provider:case de.DEPRECATED_Existing_Provider:return ie.Existing_Provider;case de.Not_Offer:case de.DEPRECATED_Not_Offer:return ie.Not_Offer;case de.Not_Offer_Flare:case de.DEPRECATED_Not_Offer_Flare:return ie.Not_Offer_Flare;case de.Default:default:return ie.Default}},ge=function(e){return{isEnabled:e.isEnabled,ownership:e.ownership,steps:e.steps.map((function(e){return e.isEnabled?{name:e.name,isEnabled:!0}:{name:e.name,isEnabled:!1,disabledReason:_e(e.disabledReason)}}))}},be=function(e){return{isEnabled:e.isEnabled,ownership:e.ownership,steps:e.steps.map((function(e){return e.isEnabled?{name:e.name,isEnabled:!0}:{name:e.name,isEnabled:!1,disabledReason:me(e.disabledReason)}}))}};function we(e){this.message=e}we.prototype=new Error,we.prototype.name="InvalidCharacterError";var ve="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new we("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function ye(e){this.message=e}ye.prototype=new Error,ye.prototype.name="InvalidTokenError";var xe=function(){function e(e){this.roles=e}return e.create=function(t){if("string"==typeof t)return new e(function(e,t){if("string"!=typeof e)throw new ye("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(ve(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return ve(t)}}(e.split(".")[n]))}catch(e){throw new ye("Invalid token specified: "+e.message)}}(t).roles||[]);throw new Error("Failed to identify the user")},e.prototype.hasRole=function(e){return this.roles.includes(e)},e}(),ke=function(){return ke=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ke.apply(this,arguments)};const Ee=function(e){var t,n;return r("div",ke({class:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},{children:[r("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"}),r("div",ke({class:"fixed inset-0 z-10 overflow-y-auto"},{children:r("div",ke({class:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},{children:r("div",ke({class:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6"},{children:[r("div",ke({class:"sm:flex sm:items-start"},{children:[r("div",ke({class:"mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10"},{children:r(ee,{iconType:J.ExclamationTriangle,className:"h-6 w-6 text-red-600"})})),r("div",ke({class:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},{children:[r("h3",ke({class:"text-lg font-medium leading-6 text-gray-900",id:"modal-title"},{children:e.headingText})),r("div",ke({class:"mt-2"},{children:r("p",ke({class:"text-sm text-gray-500"},{children:e.bodyTest}))}))]}))]})),r("div",ke({class:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse"},{children:[r(oe,ke({class:"inline-flex w-full justify-center rounded-md border border-transparent bg-red-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",onClickPromise:e.confirm.handler},{children:null!==(t=e.confirm.text)&&void 0!==t?t:"Confirm"})),r(oe,ke({class:"mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:mt-0 sm:w-auto sm:text-sm",onClick:e.cancel.handler},{children:null!==(n=e.cancel.text)&&void 0!==n?n:"Cancel"}))]}))]}))}))}))]}))};var Ce=function(){return Ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ce.apply(this,arguments)};const Oe=function(e){var t=e.editable,n=e.step,o=e.onChange;return r("div",Ce({class:"flex flex-row items-center justify-start space-x-10 h-[3rem] ".concat(t?"":"pointer-events-none")},{children:[r(V.Group,{children:r("div",Ce({class:"flex"},{children:[r(V,Ce({disabled:!t,checked:n.isEnabled,onChange:function(e){return o(e?{isEnabled:!0}:{isEnabled:!1,disabledReason:ie.Default})},class:"".concat(n.isEnabled?"bg-gray-900":"bg-gray-300","\n inline-flex h-[1.5rem] w-[2.75rem] shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 my-auto")},{children:r("span",{class:"".concat(n.isEnabled?"translate-x-[1.25rem]":"translate-x-0","\n pointer-events-none inline-block h-[1.25rem] w-[1.25rem] transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out")})})),r(V.Label,{children:r("div",Ce({class:"flex items-center h-full text-sm leading-5 text-gray-900 cursor-pointer ml-3"},{children:[n.name," Screen"]}))})]}))}),!n.isEnabled&&r("div",Ce({class:"flex flex-row space-x-2 w-1/2"},{children:[r("label",Ce({for:"reason",class:"block text-sm font-medium text-gray-900 sm:mt-px sm:pt-2"},{children:"Reason"})),r("div",Ce({class:"mt-1 sm:mt-0 sm:col-span-2"},{children:r("select",Ce({id:"reason",name:"reason",readOnly:!t,disabled:!t,autocomplete:"off",value:n.disabledReason,class:"max-w-lg block focus:ring-indigo-500 focus:border-indigo-500 w-full shadow-sm sm:max-w-xs sm:text-sm border-gray-300 rounded-md",onChange:function(e){o({isEnabled:!1,disabledReason:e.currentTarget.value})}},{children:[pe.map((function(e){return r("option",{children:e.value},e.name)})),";"]}))}))]}))]}))};var Se=function(){return Se=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Se.apply(this,arguments)},Re=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Pe=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};const Te=a((function(e){var t=(0,c.eJ)(he),n=t[0],o=t[1],i=(0,c.eJ)(!1),a=i[0],s=i[1],l=(0,c.eJ)(!0),u=l[0],f=l[1],d=(0,c.eJ)(""),p=d[0],h=d[1],_=(0,c.eJ)(xe.create(e.accessToken))[0],m=(0,c.eJ)(ge(he)),g=m[0],b=m[1],w=(0,c.eJ)(!1),v=w[0],y=w[1],x=function(){return _.hasRole("BenefitsOnboarding.EditConfig")},k=function(){return x()||_.hasRole("BenefitsOnboarding.Access")},E=function(){return Re(void 0,void 0,void 0,(function(){var t;return Pe(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,3,4]),f(!0),ue.initClient(e.backendUrl,e.accessToken),[4,ue.getConfig(e.partnerId,e.accountId)];case 1:return t=n.sent(),b(t),o(be(t)),[3,4];case 2:return n.sent(),h("Unable to load config"),[3,4];case 3:return f(!1),[7];case 4:return[2]}}))}))};return(0,c.d4)((function(){Re(void 0,void 0,void 0,(function(){return Pe(this,(function(e){switch(e.label){case 0:return k()?[4,E()]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))}),[e.backendUrl,e.accessToken,e.partnerId,e.accountId]),k()?u?r("div",Se({class:"flex justify-center"},{children:r("span",Se({class:"animate-spin"},{children:r(q,{size:"lg"})}))})):p?r("h1",Se({class:"text-red-500"},{children:p})):v?r(Ee,{bodyTest:"Are you sure you want to reset the current benefits onboarding configuration? This action cannot be undone.",headingText:"Reset Benefits Onboarding Configuration",cancel:{handler:function(){return y(!1)}},confirm:{text:"Reset",handler:function(){return Re(void 0,void 0,void 0,(function(){return Pe(this,(function(t){switch(t.label){case 0:return y(!1),[4,ue.deleteConfig(e.partnerId,e.accountId)];case 1:return t.sent(),[4,E()];case 2:return t.sent(),[2]}}))}))}}}):r("form",Se({class:"px-4 py-5 h-full m-4"},{children:[r("div",Se({class:"sm:grid sm:grid-cols-5 sm:gap-4 "},{children:[r("dt",Se({class:"col-span-3 text-sm font-medium text-gray-500"},{children:"Onboarding Settings".concat(a?" (*)":"Specific"==n.ownership?"":"(".concat(n.ownership,")"))})),r("div",Se({class:"flex flex-row justify-start space-x-2"},{children:[r(oe,Se({disabled:!function(){if(n.isEnabled)for(var e in n.steps){var t=n.steps[e];if(!t.isEnabled&&("string"!=typeof t.disabledReason||0==t.disabledReason.trim().length))return!1}return!0}(),hidden:!a,class:"ml-3 inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",onClickPromise:function(){return Re(void 0,void 0,void 0,(function(){return Pe(this,(function(t){switch(t.label){case 0:return[4,ue.updateConfig(e.partnerId,ge(n),e.accountId)];case 1:return t.sent(),[4,E()];case 2:return t.sent(),s(!1),[2]}}))}))}},{children:"Save"})),r(oe,Se({className:"rounded-md border border-gray-300 bg-white py-2 px-4 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",hidden:!a,onClick:function(){s(!1),o(be(g))}},{children:"Cancel"})),r(re,{hidden:!x()||a,class:"w-14 px-4 py-2 border border-transparent shadow-sm font-medium rounded-md text-white focus:outline-none focus:ring-2 focus:ring-offset-2 sm:text-sm bg-indigo-600 hover:bg-indigo-700 focus:ring-bg-indigo-500",iconType:J.Pencil,onClick:function(){s(!0),o(Se(Se({},n),{ownership:"Specific"}))}}),r(re,{class:"w-14 px-4 py-2 border border-transparent shadow-sm font-medium rounded-md text-white focus:outline-none focus:ring-2 focus:ring-offset-2 sm:text-sm bg-red-600 hover:bg-red-700 focus:ring-bg-red-500",hidden:!("Specific"==n.ownership&&x()&&!a),onClick:function(){y(!0)},iconType:J.Trash})]}))]})),r(V.Group,{children:r("div",Se({class:"my-4 flex ".concat(a?"":"pointer-events-none")},{children:[r(V,Se({disabled:!a,checked:n.isEnabled,onChange:function(e){return o(e?function(e){return{isEnabled:!0,steps:e.steps.map((function(e){return{name:e.name,isEnabled:!0}})),ownership:e.ownership}}(n):function(e){return{isEnabled:!1,steps:e.steps.map((function(e){return{name:e.name,isEnabled:!1,disabledReason:ie.Default}})),ownership:e.ownership}}(n))},class:"".concat(n.isEnabled?"bg-gray-900":"bg-gray-300","\n inline-flex h-[1.5rem] w-[2.75rem] shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-opacity-75 my-auto")},{children:r("span",{class:"".concat(n.isEnabled?"translate-x-[1.25rem]":"translate-x-0","\n pointer-events-none inline-block h-[1.25rem] w-[1.25rem] transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out")})})),r(V.Label,{children:r("div",Se({class:"text-sm leading-5 text-gray-900 cursor-pointer ml-3"},{children:"Benefits step in onboarding"}))})]}))}),n.isEnabled&&n.steps.map((function(e){return r(Oe,{editable:a,step:e,onChange:function(t){return o(t.isEnabled?function(e,t){var n=e.steps.map((function(e){return e.name===t?{name:t,isEnabled:!0}:e}));return fe(fe({},e),{steps:n})}(n,e.name):function(e,t,n){var r=e.steps.map((function(e){return e.name===t?{name:t,isEnabled:!1,disabledReason:n}:e}));return fe(fe({},e),{steps:r})}(n,e.name,t.disabledReason))}},e.name)}))]})):r("h1",Se({class:"text-gray-500"},{children:"Access denied."}))}));function Ne(){return(Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ae(t){this.getChildContext=function(){return t.context};var n=t.children,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,["context","children"]);return(0,e.Tm)(n,r)}function je(){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=(0,e.h)(Ae,Ne({},this._props,{context:t.detail.context}),function t(n,r){if(3===n.nodeType)return n.data;if(1!==n.nodeType)return null;var o=[],i={},a=0,s=n.attributes,c=n.childNodes;for(a=s.length;a--;)"slot"!==s[a].name&&(i[s[a].name]=s[a].value,i[De(s[a].name)]=s[a].value);for(a=c.length;a--;){var l=t(c[a],null),u=c[a].slot;u?i[u]=(0,e.h)(Me,{name:u},l):o[a]=l}var f=r?(0,e.h)(Me,null,o):o;return(0,e.h)(r||n.nodeName.toLowerCase(),i,f)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?e.ZB:e.sY)(this._vdom,this._root)}function De(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function Ue(t,n,r){if(this._vdom){var o={};o[t]=r=null==r?void 0:r,o[De(t)]=r,this._vdom=(0,e.Tm)(this._vdom,o),(0,e.sY)(this._vdom,this._root)}}function Le(){(0,e.sY)(this._vdom=null,this._root)}function Me(t,n){var r=this;return(0,e.h)("slot",Ne({},t,{ref:function(e){e?(r.ref=e,r._listener||(r._listener=function(e){e.stopPropagation(),e.detail.context=n},e.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}function Ie(e,t,n,r){function o(){var t=Reflect.construct(HTMLElement,[],o);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:"open"}):t,t}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=je,o.prototype.attributeChangedCallback=Ue,o.prototype.disconnectedCallback=Le,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach((function(e){Object.defineProperty(o.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=typeof t;null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define(t||e.tagName||e.displayName||e.name,o)}Ie(s,"superhero-benefits-onboarding",[],{shadow:!0}),Ie(Te,"superhero-benefits-onboarding-configuration",[],{shadow:!0})})()})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/superhero-benefits-onboarding",
3
- "version": "0.1.6",
3
+ "version": "0.1.90-3.0",
4
4
  "description": "Flare Superhero Benefits Onboarding Component",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -14,36 +14,36 @@
14
14
  "lint:fix": "eslint src/**/*.{js,jsx,ts,tsx} --fix"
15
15
  },
16
16
  "dependencies": {
17
- "@headlessui/react": "^1.7.14",
18
- "@heroicons/react": "^2.0.18",
19
- "axios": "^1.4.0",
17
+ "@headlessui/react": "^1.6.6",
18
+ "@heroicons/react": "^2.0.10",
19
+ "axios": "^0.27.2",
20
20
  "jwt-decode": "^3.1.2",
21
- "preact": "^10.15.1",
21
+ "preact": "^10.10.1",
22
22
  "preact-custom-element": "^4.2.1"
23
23
  },
24
24
  "devDependencies": {
25
- "@svgr/webpack": "^8.0.1",
26
- "@tailwindcss/forms": "^0.5.3",
25
+ "@svgr/webpack": "^6.3.1",
26
+ "@tailwindcss/forms": "^0.5.2",
27
27
  "@types/preact-custom-element": "^4.0.1",
28
- "@typescript-eslint/eslint-plugin": "^5.59.7",
29
- "@typescript-eslint/parser": "^5.59.7",
30
- "autoprefixer": "^10.4.14",
31
- "css-loader": "^6.8.1",
32
- "cssnano": "^6.0.1",
33
- "eslint": "^8.41.0",
28
+ "@typescript-eslint/eslint-plugin": "^5.33.0",
29
+ "@typescript-eslint/parser": "^5.33.0",
30
+ "autoprefixer": "^10.4.7",
31
+ "css-loader": "^6.7.1",
32
+ "cssnano": "^5.1.12",
33
+ "eslint": "^8.21.0",
34
34
  "eslint-config-preact": "^1.3.0",
35
- "eslint-config-prettier": "^8.8.0",
35
+ "eslint-config-prettier": "^8.5.0",
36
36
  "eslint-plugin-prettier": "^4.2.1",
37
- "html-webpack-plugin": "^5.5.1",
38
- "jest": "^29.5.0",
39
- "postcss": "^8.4.24",
40
- "postcss-loader": "^7.3.2",
41
- "prettier": "^2.8.8",
42
- "tailwindcss": "^3.3.2",
43
- "ts-loader": "^9.4.3",
44
- "typescript": "^5.0.4",
45
- "webpack": "^5.84.1",
46
- "webpack-cli": "^5.1.1",
47
- "webpack-dev-server": "^4.15.0"
37
+ "html-webpack-plugin": "^5.5.0",
38
+ "jest": "^28.1.3",
39
+ "postcss": "^8.4.14",
40
+ "postcss-loader": "^7.0.1",
41
+ "prettier": "^2.7.1",
42
+ "tailwindcss": "^3.1.6",
43
+ "ts-loader": "^9.3.1",
44
+ "typescript": "^4.7.4",
45
+ "webpack": "^5.74.0",
46
+ "webpack-cli": "^4.10.0",
47
+ "webpack-dev-server": "^4.9.3"
48
48
  }
49
49
  }