@flarehr/benefits-plan-assessment 1.0.135 → 1.0.136
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,4 +1,4 @@
|
|
|
1
|
-
var e,t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,y,v,b,_,w,x,k,E,S,O,C,A,T,R,I,N,P,D,M,F,L,j,U,B,V,z,W,H,q,K,$,Q,G,Y,J,X,Z,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de,fe,he,pe,me,ge,ye,ve,be,_e,we,xe,ke,Ee,Se,Oe,Ce,Ae,Te=e=>{throw TypeError(e)},Re=(e,t,n)=>t.has(e)||Te("Cannot "+n),Ie=(e,t,n)=>(Re(e,t,"read from private field"),n?n.call(e):t.get(e)),Ne=(e,t,n)=>t.has(e)?Te("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Pe=(e,t,n,r)=>(Re(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),De=(e,t,n)=>(Re(e,t,"access private method"),n),Me=(e,t,n,r)=>({set _(r){Pe(e,t,r,n)},get _(){return Ie(e,t,r)}}),Fe={},Le=[],je=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ue=Array.isArray;function Be(e,t){for(var n in t)e[n]=t[n];return e}function Ve(e){var t=e.parentNode;t&&t.removeChild(e)}function ze(e,t,n){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?ve.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return We(e,a,r,i,null)}function We(e,t,n,r,i){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++_e:i,__i:-1,__u:0};return null==i&&null!=be.vnode&&be.vnode(o),o}function He(){return{current:null}}function qe(e){return e.children}function Ke(e,t){this.props=e,this.context=t}function $e(e,t){if(null==t)return e.__?$e(e.__,e.__i+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?$e(e):null}function Qe(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 Qe(e)}}function Ge(e){(!e.__d&&(e.__d=!0)&&we.push(e)&&!Ye.__r++||xe!==be.debounceRendering)&&((xe=be.debounceRendering)||ke)(Ye)}function Ye(){var e,t,n,r,i,o,a,s;for(we.sort(Ee);e=we.shift();)e.__d&&(t=we.length,r=void 0,o=(i=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Be({},i)).__v=i.__v+1,be.vnode&&be.vnode(r),it(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,a,null==o?$e(i):o,!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,ot(a,r,s),r.__e!=o&&Qe(r)),we.length>t&&we.sort(Ee));Ye.__r=0}function Je(e,t,n,r,i,o,a,s,l,c,u){var d,f,h,p,m,g=r&&r.__k||Le,y=t.length;for(n.__d=l,function(e,t,n){var r,i,o,a,s,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)a=r+d,null!=(i=e.__k[r]=null==(i=t[r])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?We(null,i,null,null,null):Ue(i)?We(qe,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?We(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=e,i.__b=e.__b+1,s=et(i,n,a,u),i.__i=s,o=null,-1!==s&&(u--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?d--:s==a+1?d++:s>a?u>l-a?d+=s-a:d--:s<a&&(s==a-d?d-=s-a:d++),s!==r+d&&(i.__u|=65536))):(o=n[a])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=$e(o)),st(o,o,!1),n[a]=null,u--);if(u)for(r=0;r<c;r++)null!=(o=n[r])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=$e(o)),st(o,o))}(n,t,g),l=n.__d,d=0;d<y;d++)null!=(h=n.__k[d])&&"boolean"!=typeof h&&"function"!=typeof h&&(f=-1===h.__i?Fe:g[h.__i]||Fe,h.__i=d,it(e,h,f,i,o,a,s,l,c,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&at(f.ref,null,h),u.push(h.ref,h.__c||p,h)),null==m&&null!=p&&(m=p),65536&h.__u||f.__k===h.__k?l=Xe(h,l,e):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:p&&(l=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=l,n.__e=m}function Xe(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=Xe(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=$e(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function Ze(e,t){return t=t||[],null==e||"boolean"==typeof e||(Ue(e)?e.some((function(e){Ze(e,t)})):t.push(e)),t}function et(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function tt(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||je.test(t)?n:n+"px"}function nt(e,t,n,r,i){var o;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||tt(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||tt(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=Se,e.addEventListener(t,o?Ce:Oe,o)):e.removeEventListener(t,o?Ce:Oe,o);else{if("http://www.w3.org/2000/svg"==i)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&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(a){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function rt(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=Se++;else if(t.t<n.u)return;return n(be.event?be.event(t):t)}}}function it(e,t,n,r,i,o,a,s,l,c){var u,d,f,h,p,m,g,y,v,b,_,w,x,k,E,S,O=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[s=t.__e=n.__e]),(u=be.__b)&&u(t);e:if("function"==typeof O)try{if(y=t.props,v="prototype"in O&&O.prototype.render,b=(u=O.contextType)&&r[u.__c],_=u?b?b.props.value:u.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:(v?t.__c=d=new O(y,_):(t.__c=d=new Ke(y,_),d.constructor=O,d.render=lt),b&&b.sub(d),d.props=y,d.state||(d.state={}),d.context=_,d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),v&&null==d.__s&&(d.__s=d.state),v&&null!=O.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Be({},d.__s)),Be(d.__s,O.getDerivedStateFromProps(y,d.__s))),h=d.props,p=d.state,d.__v=t,f)v&&null==O.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),v&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(v&&null==O.getDerivedStateFromProps&&y!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(y,_),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(y,d.__s,_)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[],d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(y,d.__s,_),v&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,p,m)}))}if(d.context=_,d.props=y,d.__P=e,d.__e=!1,x=be.__r,k=0,v){for(d.state=d.__s,d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),E=0;E<d._sb.length;E++)d.__h.push(d._sb[E]);d._sb=[]}else do{d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(r=Be(Be({},r),d.getChildContext())),v&&!f&&null!=d.getSnapshotBeforeUpdate&&(m=d.getSnapshotBeforeUpdate(h,p)),Je(e,Ue(S=null!=u&&u.type===qe&&null==u.key?u.props.children:u)?S:[S],t,n,r,i,o,a,s,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&a.push(d),g&&(d.__E=d.__=null)}catch(C){if(t.__v=null,l||null!=o){for(t.__u|=l?160:32;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;o[o.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;be.__e(C,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,i,o,a,s,l){var c,u,d,f,h,p,m,g=n.props,y=t.props,v=t.type;if("svg"===v?i="http://www.w3.org/2000/svg":"math"===v?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(c=0;c<o.length;c++)if((h=o[c])&&"setAttribute"in h==!!v&&(v?h.localName===v:3===h.nodeType)){e=h,o[c]=null;break}if(null==e){if(null===v)return document.createTextNode(y);e=document.createElementNS(i,v,y.is&&y),o=null,s=!1}if(null===v)g===y||s&&e.data===y||(e.data=y);else{if(o=o&&ve.call(e.childNodes),g=n.props||Fe,!s&&null!=o)for(g={},c=0;c<e.attributes.length;c++)g[(h=e.attributes[c]).name]=h.value;for(c in g)if(h=g[c],"children"==c);else if("dangerouslySetInnerHTML"==c)d=h;else if("key"!==c&&!(c in y)){if("value"==c&&"defaultValue"in y||"checked"==c&&"defaultChecked"in y)continue;nt(e,c,null,h,i)}for(c in y)h=y[c],"children"==c?f=h:"dangerouslySetInnerHTML"==c?u=h:"value"==c?p=h:"checked"==c?m=h:"key"===c||s&&"function"!=typeof h||g[c]===h||nt(e,c,h,g[c],i);if(u)s||d&&(u.__html===d.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),Je(e,Ue(f)?f:[f],t,n,r,"foreignObject"===v?"http://www.w3.org/1999/xhtml":i,o,a,o?o[0]:n.__k&&$e(n,0),s,l),null!=o)for(c=o.length;c--;)null!=o[c]&&Ve(o[c]);s||(c="value",void 0!==p&&(p!==e[c]||"progress"===v&&!p||"option"===v&&p!==g[c])&&nt(e,c,p,g[c],i),c="checked",void 0!==m&&m!==e[c]&&nt(e,c,m,g[c],i))}return e}(n.__e,t,n,r,i,o,a,l,c);(u=be.diffed)&&u(t)}function ot(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)at(n[r],n[++r],n[++r]);be.__c&&be.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(n){be.__e(n,t.__v)}}))}function at(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(i){be.__e(i,n)}}function st(e,t,n){var r,i;if(be.unmount&&be.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||at(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){be.__e(o,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&st(r[i],t,n||"function"!=typeof e.type);n||null==e.__e||Ve(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function lt(e,t,n){return this.constructor(e,n)}function ct(e,t,n){var r,i,o,a;be.__&&be.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,o=[],a=[],it(t,e=(!r&&n||t).__k=ze(qe,null,[e]),i||Fe,Fe,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?ve.call(t.childNodes):null,o,!r&&n?n:i?i.__e:t.firstChild,r,a),ot(o,e,a)}function ut(e,t){ct(e,t,ut)}function dt(e,t,n){var r,i,o,a,s=Be({},e.props);for(o in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=void 0===t[o]&&void 0!==a?a[o]:t[o];return arguments.length>2&&(s.children=arguments.length>3?ve.call(arguments,2):n),We(e.type,s,r||e.key,i||e.ref,null)}function ft(e,t){var n={__c:t="__cC"+Ae++,__: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.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,Ge(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}function ht(){return(ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}ve=Le.slice,be={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(s){e=s}throw e}},_e=0,Ke.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Be({},this.state),"function"==typeof e&&(e=e(Be({},n),this.props)),e&&Be(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Ge(this))},Ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ge(this))},Ke.prototype.render=qe,we=[],ke="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ee=function(e,t){return e.__v.__b-t.__v.__b},Ye.__r=0,Se=0,Oe=rt(!1),Ce=rt(!0),Ae=0;var pt=["context","children"];function mt(e){return this.getChildContext=function(){return e.context},dt(e.children,function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,pt))}function gt(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=ze(mt,ht({},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=[],i={},o=0,a=t.attributes,s=t.childNodes;for(o=a.length;o--;)"slot"!==a[o].name&&(i[a[o].name]=a[o].value,i[yt(a[o].name)]=a[o].value);for(o=s.length;o--;){var l=e(s[o],null),c=s[o].slot;c?i[c]=ze(_t,{name:c},l):r[o]=l}var u=n?ze(_t,null,r):r;return ze(n||t.nodeName.toLowerCase(),i,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?ut:ct)(this._vdom,this._root)}function yt(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function vt(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[yt(e)]=n,this._vdom=dt(this._vdom,r),ct(this._vdom,this._root)}}function bt(){ct(this._vdom=null,this._root)}function _t(e,t){var n=this;return ze("slot",ht({},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)}}))}var wt=0;function xt(e,t,n,r,i,o){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)"ref"==s?a=t[s]:l[s]=t[s];var c={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--wt,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof e&&(a=e.defaultProps))for(s in a)void 0===l[s]&&(l[s]=a[s]);return be.vnode&&be.vnode(c),c}var kt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Et="undefined"==typeof window||"Deno"in globalThis;function St(){}function Ot(e){return"number"==typeof e&&e>=0&&e!==1/0}function Ct(e,t){return Math.max(e+(t||0)-Date.now(),0)}function At(e,t){return"function"==typeof e?e(t):e}function Tt(e,t){return"function"==typeof e?e(t):e}function Rt(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==Nt(a,t.options))return!1}else if(!Dt(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((!i||i===t.state.fetchStatus)&&!(o&&!o(t)))}function It(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Pt(t.options.mutationKey)!==Pt(o))return!1}else if(!Dt(t.options.mutationKey,o))return!1}return(!r||t.state.status===r)&&!(i&&!i(t))}function Nt(e,t){return((null==t?void 0:t.queryKeyHashFn)||Pt)(e)}function Pt(e){return JSON.stringify(e,((e,t)=>jt(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Dt(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!Dt(e[n],t[n]))))}function Mt(e,t){if(e===t)return e;const n=Lt(e)&&Lt(t);if(n||jt(e)&&jt(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),a=o.length,s=n?[]:{};let l=0;for(let c=0;c<a;c++){const i=n?c:o[c];(!n&&r.includes(i)||n)&&void 0===e[i]&&void 0===t[i]?(s[i]=void 0,l++):(s[i]=Mt(e[i],t[i]),s[i]===e[i]&&void 0!==e[i]&&l++)}return i===a&&l===i?e:s}return t}function Ft(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Lt(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function jt(e){if(!Ut(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Ut(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function Ut(e){return"[object Object]"===Object.prototype.toString.call(e)}function Bt(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Mt(e,t):t}function Vt(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function zt(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Wt=Symbol();function Ht(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==Wt?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var qt=new(r=class extends kt{constructor(){super(),Ne(this,e),Ne(this,t),Ne(this,n),Pe(this,n,(e=>{if(!Et&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}))}onSubscribe(){Ie(this,t)||this.setEventListener(Ie(this,n))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Ie(this,t))||e.call(this),Pe(this,t,void 0))}setEventListener(e){var r;Pe(this,n,e),null==(r=Ie(this,t))||r.call(this),Pe(this,t,e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})))}setFocused(t){Ie(this,e)!==t&&(Pe(this,e,t),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){var t;return"boolean"==typeof Ie(this,e)?Ie(this,e):"hidden"!==(null==(t=globalThis.document)?void 0:t.visibilityState)}},e=new WeakMap,t=new WeakMap,n=new WeakMap,r),Kt=new(s=class extends kt{constructor(){super(),Ne(this,i,!0),Ne(this,o),Ne(this,a),Pe(this,a,(e=>{if(!Et&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}))}onSubscribe(){Ie(this,o)||this.setEventListener(Ie(this,a))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Ie(this,o))||e.call(this),Pe(this,o,void 0))}setEventListener(e){var t;Pe(this,a,e),null==(t=Ie(this,o))||t.call(this),Pe(this,o,e(this.setOnline.bind(this)))}setOnline(e){Ie(this,i)!==e&&(Pe(this,i,e),this.listeners.forEach((t=>{t(e)})))}isOnline(){return Ie(this,i)}},i=new WeakMap,o=new WeakMap,a=new WeakMap,s);function $t(e){return Math.min(1e3*2**e,3e4)}function Qt(e){return"online"!==(e??"online")||Kt.isOnline()}var Gt=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function Yt(e){return e instanceof Gt}function Jt(e){let t,n,r,i=!1,o=0,a=!1;const s=new Promise(((e,t)=>{n=e,r=t})),l=()=>qt.isFocused()&&("always"===e.networkMode||Kt.isOnline())&&e.canRun(),c=()=>Qt(e.networkMode)&&e.canRun(),u=r=>{var i;a||(a=!0,null==(i=e.onSuccess)||i.call(e,r),null==t||t(),n(r))},d=n=>{var i;a||(a=!0,null==(i=e.onError)||i.call(e,n),null==t||t(),r(n))},f=()=>new Promise((n=>{var r;t=e=>{(a||l())&&n(e)},null==(r=e.onPause)||r.call(e)})).then((()=>{var n;t=void 0,a||null==(n=e.onContinue)||n.call(e)})),h=()=>{if(a)return;let t;const n=0===o?e.initialPromise:void 0;try{t=n??e.fn()}catch(r){t=Promise.reject(r)}Promise.resolve(t).then(u).catch((t=>{var n;if(a)return;const r=e.retry??(Et?0:3),s=e.retryDelay??$t,c="function"==typeof s?s(o,t):s,u=!0===r||"number"==typeof r&&o<r||"function"==typeof r&&r(o,t);var p;!i&&u?(o++,null==(n=e.onFail)||n.call(e,o,t),(p=c,new Promise((e=>{setTimeout(e,p)}))).then((()=>l()?void 0:f())).then((()=>{i?d(t):h()}))):d(t)}))};return{promise:s,cancel:t=>{var n;a||(d(new Gt(t)),null==(n=e.abort)||n.call(e))},continue:()=>(null==t||t(),s),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:c,start:()=>(c()?h():f().then(h),s)}}var Xt=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=e=>setTimeout(e,0);const o=r=>{t?e.push(r):i((()=>{n(r)}))},a=()=>{const t=e;e=[],t.length&&i((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||a()}return n},batchCalls:e=>(...t)=>{o((()=>{e(...t)}))},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}(),Zt=(c=class{constructor(){Ne(this,l)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ot(this.gcTime)&&Pe(this,l,setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Et?1/0:3e5))}clearGcTimeout(){Ie(this,l)&&(clearTimeout(Ie(this,l)),Pe(this,l,void 0))}},l=new WeakMap,c),en=(v=class extends Zt{constructor(e){super(),Ne(this,g),Ne(this,u),Ne(this,d),Ne(this,f),Ne(this,h),Ne(this,p),Ne(this,m),Pe(this,m,!1),Pe(this,p,e.defaultOptions),this.setOptions(e.options),this.observers=[],Pe(this,f,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,Pe(this,u,function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=e.state??Ie(this,u),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return null==(e=Ie(this,h))?void 0:e.promise}setOptions(e){this.options={...Ie(this,p),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||Ie(this,f).remove(this)}setData(e,t){const n=Bt(this.state.data,e,this.options);return De(this,g,y).call(this,{data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){De(this,g,y).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var t,n;const r=null==(t=Ie(this,h))?void 0:t.promise;return null==(n=Ie(this,h))||n.cancel(e),r?r.then(St).catch(St):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Ie(this,u))}isActive(){return this.observers.some((e=>!1!==Tt(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!Ct(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));null==t||t.refetch({cancelRefetch:!1}),null==(e=Ie(this,h))||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));null==t||t.refetch({cancelRefetch:!1}),null==(e=Ie(this,h))||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),Ie(this,f).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(Ie(this,h)&&(Ie(this,m)?Ie(this,h).cancel({revert:!0}):Ie(this,h).cancelRetry()),this.scheduleGc()),Ie(this,f).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||De(this,g,y).call(this,{type:"invalidate"})}fetch(e,t){var n,r,i;if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(Ie(this,h))return Ie(this,h).continueRetry(),Ie(this,h).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const o=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(Pe(this,m,!0),o.signal)})},s={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=Ht(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return a(n),Pe(this,m,!1),this.options.persister?this.options.persister(e,n,this):e(n)}};a(s),null==(n=this.options.behavior)||n.onFetch(s,this),Pe(this,d,this.state),"idle"!==this.state.fetchStatus&&this.state.fetchMeta===(null==(r=s.fetchOptions)?void 0:r.meta)||De(this,g,y).call(this,{type:"fetch",meta:null==(i=s.fetchOptions)?void 0:i.meta});const l=e=>{var t,n,r,i;Yt(e)&&e.silent||De(this,g,y).call(this,{type:"error",error:e}),Yt(e)||(null==(n=(t=Ie(this,f).config).onError)||n.call(t,e,this),null==(i=(r=Ie(this,f).config).onSettled)||i.call(r,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Pe(this,h,Jt({initialPromise:null==t?void 0:t.initialPromise,fn:s.fetchFn,abort:o.abort.bind(o),onSuccess:e=>{var t,n,r,i;void 0!==e?(this.setData(e),null==(n=(t=Ie(this,f).config).onSuccess)||n.call(t,e,this),null==(i=(r=Ie(this,f).config).onSettled)||i.call(r,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):l(new Error(`${this.queryHash} data is undefined`))},onError:l,onFail:(e,t)=>{De(this,g,y).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{De(this,g,y).call(this,{type:"pause"})},onContinue:()=>{De(this,g,y).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),Ie(this,h).start()}},u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap,g=new WeakSet,y=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...tn(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return Yt(n)&&n.revert&&Ie(this,d)?{...Ie(this,d),fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Xt.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),Ie(this,f).notify({query:this,type:"updated",action:e})}))},v);function tn(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Qt(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var nn=(_=class extends kt{constructor(e={}){super(),Ne(this,b),this.config=e,Pe(this,b,new Map)}build(e,t,n){const r=t.queryKey,i=t.queryHash??Nt(r,t);let o=this.get(i);return o||(o=new en({cache:this,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(o)),o}add(e){Ie(this,b).has(e.queryHash)||(Ie(this,b).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=Ie(this,b).get(e.queryHash);t&&(e.destroy(),t===e&&Ie(this,b).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Xt.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return Ie(this,b).get(e)}getAll(){return[...Ie(this,b).values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>Rt(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>Rt(e,t))):t}notify(e){Xt.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){Xt.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){Xt.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},b=new WeakMap,_),rn=(O=class extends Zt{constructor(e){super(),Ne(this,E),Ne(this,w),Ne(this,x),Ne(this,k),this.mutationId=e.mutationId,Pe(this,x,e.mutationCache),Pe(this,w,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){Ie(this,w).includes(e)||(Ie(this,w).push(e),this.clearGcTimeout(),Ie(this,x).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){Pe(this,w,Ie(this,w).filter((t=>t!==e))),this.scheduleGc(),Ie(this,x).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){Ie(this,w).length||("pending"===this.state.status?this.scheduleGc():Ie(this,x).remove(this))}continue(){var e;return(null==(e=Ie(this,k))?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,y,v,b,_;Pe(this,k,Jt({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{De(this,E,S).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{De(this,E,S).call(this,{type:"pause"})},onContinue:()=>{De(this,E,S).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Ie(this,x).canRun(this)}));const w="pending"===this.state.status,O=!Ie(this,k).canStart();try{if(!w){De(this,E,S).call(this,{type:"pending",variables:e,isPaused:O}),await(null==(n=(t=Ie(this,x).config).onMutate)?void 0:n.call(t,e,this));const o=await(null==(i=(r=this.options).onMutate)?void 0:i.call(r,e));o!==this.state.context&&De(this,E,S).call(this,{type:"pending",context:o,variables:e,isPaused:O})}const h=await Ie(this,k).start();return await(null==(a=(o=Ie(this,x).config).onSuccess)?void 0:a.call(o,h,e,this.state.context,this)),await(null==(l=(s=this.options).onSuccess)?void 0:l.call(s,h,e,this.state.context)),await(null==(u=(c=Ie(this,x).config).onSettled)?void 0:u.call(c,h,null,this.state.variables,this.state.context,this)),await(null==(f=(d=this.options).onSettled)?void 0:f.call(d,h,null,e,this.state.context)),De(this,E,S).call(this,{type:"success",data:h}),h}catch(C){try{throw await(null==(p=(h=Ie(this,x).config).onError)?void 0:p.call(h,C,e,this.state.context,this)),await(null==(g=(m=this.options).onError)?void 0:g.call(m,C,e,this.state.context)),await(null==(v=(y=Ie(this,x).config).onSettled)?void 0:v.call(y,void 0,C,this.state.variables,this.state.context,this)),await(null==(_=(b=this.options).onSettled)?void 0:_.call(b,void 0,C,e,this.state.context)),C}finally{De(this,E,S).call(this,{type:"error",error:C})}}finally{Ie(this,x).runNext(this)}}},w=new WeakMap,x=new WeakMap,k=new WeakMap,E=new WeakSet,S=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),Xt.batch((()=>{Ie(this,w).forEach((t=>{t.onMutationUpdate(e)})),Ie(this,x).notify({mutation:this,type:"updated",action:e})}))},O);var on=(T=class extends kt{constructor(e={}){super(),Ne(this,C),Ne(this,A),this.config=e,Pe(this,C,new Map),Pe(this,A,Date.now())}build(e,t,n){const r=new rn({mutationCache:this,mutationId:++Me(this,A)._,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){const t=an(e),n=Ie(this,C).get(t)??[];n.push(e),Ie(this,C).set(t,n),this.notify({type:"added",mutation:e})}remove(e){var t;const n=an(e);if(Ie(this,C).has(n)){const r=null==(t=Ie(this,C).get(n))?void 0:t.filter((t=>t!==e));r&&(0===r.length?Ie(this,C).delete(n):Ie(this,C).set(n,r))}this.notify({type:"removed",mutation:e})}canRun(e){var t;const n=null==(t=Ie(this,C).get(an(e)))?void 0:t.find((e=>"pending"===e.state.status));return!n||n===e}runNext(e){var t;const n=null==(t=Ie(this,C).get(an(e)))?void 0:t.find((t=>t!==e&&t.state.isPaused));return(null==n?void 0:n.continue())??Promise.resolve()}clear(){Xt.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}getAll(){return[...Ie(this,C).values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find((e=>It(t,e)))}findAll(e={}){return this.getAll().filter((t=>It(e,t)))}notify(e){Xt.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return Xt.batch((()=>Promise.all(e.map((e=>e.continue().catch(St))))))}},C=new WeakMap,A=new WeakMap,T);function an(e){var t;return(null==(t=e.options.scope)?void 0:t.id)??String(e.mutationId)}function sn(e){return{onFetch:(t,n)=>{const r=async()=>{var n,r,i,o,a;const s=t.options,l=null==(i=null==(r=null==(n=t.fetchOptions)?void 0:n.meta)?void 0:r.fetchMore)?void 0:i.direction,c=(null==(o=t.state.data)?void 0:o.pages)||[],u=(null==(a=t.state.data)?void 0:a.pageParams)||[],d={pages:[],pageParams:[]};let f=!1;const h=Ht(t.options,t.fetchOptions),p=async(e,n,r)=>{if(f)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const i={queryKey:t.queryKey,pageParam:n,direction:r?"backward":"forward",meta:t.options.meta};var o;o=i,Object.defineProperty(o,"signal",{enumerable:!0,get:()=>(t.signal.aborted?f=!0:t.signal.addEventListener("abort",(()=>{f=!0})),t.signal)});const a=await h(i),{maxPages:s}=t.options,l=r?zt:Vt;return{pages:l(e.pages,a,s),pageParams:l(e.pageParams,n,s)}};let m;if(l&&c.length){const e="backward"===l,t={pages:c,pageParams:u},n=(e?cn:ln)(s,t);m=await p(t,n,e)}else{m=await p(d,u[0]??s.initialPageParam);const t=e??c.length;for(let e=1;e<t;e++){const e=ln(s,m);if(null==e)break;m=await p(m,e)}}return m};t.options.persister?t.fetchFn=()=>{var e,i;return null==(i=(e=t.options).persister)?void 0:i.call(e,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function ln(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function cn(e,{pages:t,pageParams:n}){var r;return t.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,t[0],t,n[0],n):void 0}var un=(j=class{constructor(e={}){Ne(this,R),Ne(this,I),Ne(this,N),Ne(this,P),Ne(this,D),Ne(this,M),Ne(this,F),Ne(this,L),Pe(this,R,e.queryCache||new nn),Pe(this,I,e.mutationCache||new on),Pe(this,N,e.defaultOptions||{}),Pe(this,P,new Map),Pe(this,D,new Map),Pe(this,M,0)}mount(){Me(this,M)._++,1===Ie(this,M)&&(Pe(this,F,qt.subscribe((async e=>{e&&(await this.resumePausedMutations(),Ie(this,R).onFocus())}))),Pe(this,L,Kt.subscribe((async e=>{e&&(await this.resumePausedMutations(),Ie(this,R).onOnline())}))))}unmount(){var e,t;Me(this,M)._--,0===Ie(this,M)&&(null==(e=Ie(this,F))||e.call(this),Pe(this,F,void 0),null==(t=Ie(this,L))||t.call(this),Pe(this,L,void 0))}isFetching(e){return Ie(this,R).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Ie(this,I).findAll({...e,status:"pending"}).length}getQueryData(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null==(t=Ie(this,R).get(n.queryHash))?void 0:t.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Ie(this,R).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(At(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Ie(this,R).findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=Ie(this,R).get(r.queryHash),o=function(e,t){return"function"==typeof e?e(t):e}(t,null==i?void 0:i.state.data);if(void 0!==o)return Ie(this,R).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Xt.batch((()=>Ie(this,R).findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null==(t=Ie(this,R).get(n.queryHash))?void 0:t.state}removeQueries(e){const t=Ie(this,R);Xt.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=Ie(this,R),r={type:"active",...e};return Xt.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(r,t))))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Xt.batch((()=>Ie(this,R).findAll(e).map((e=>e.cancel(n)))));return Promise.all(r).then(St).catch(St)}invalidateQueries(e={},t={}){return Xt.batch((()=>{if(Ie(this,R).findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(e={},t){const n={...t,cancelRefetch:(null==t?void 0:t.cancelRefetch)??!0},r=Xt.batch((()=>Ie(this,R).findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(St)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(r).then(St)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=Ie(this,R).build(this,t);return n.isStaleByTime(At(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(St).catch(St)}fetchInfiniteQuery(e){return e.behavior=sn(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(St).catch(St)}resumePausedMutations(){return Kt.isOnline()?Ie(this,I).resumePausedMutations():Promise.resolve()}getQueryCache(){return Ie(this,R)}getMutationCache(){return Ie(this,I)}getDefaultOptions(){return Ie(this,N)}setDefaultOptions(e){Pe(this,N,e)}setQueryDefaults(e,t){Ie(this,P).set(Pt(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Ie(this,P).values()];let n={};return t.forEach((t=>{Dt(e,t.queryKey)&&(n={...n,...t.defaultOptions})})),n}setMutationDefaults(e,t){Ie(this,D).set(Pt(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Ie(this,D).values()];let n={};return t.forEach((t=>{Dt(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Ie(this,N).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Nt(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===Wt&&(t.enabled=!1),t}defaultMutationOptions(e){return(null==e?void 0:e._defaulted)?e:{...Ie(this,N).mutations,...(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Ie(this,R).clear(),Ie(this,I).clear()}},R=new WeakMap,I=new WeakMap,N=new WeakMap,P=new WeakMap,D=new WeakMap,M=new WeakMap,F=new WeakMap,L=new WeakMap,j),dn=(ce=class extends kt{constructor(e,t){super(),Ne(this,Z),Ne(this,U),Ne(this,B),Ne(this,V),Ne(this,z),Ne(this,W),Ne(this,H),Ne(this,q),Ne(this,K),Ne(this,$),Ne(this,Q),Ne(this,G),Ne(this,Y),Ne(this,J),Ne(this,X,new Set),this.options=t,Pe(this,U,e),Pe(this,q,null),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(Ie(this,B).addObserver(this),fn(Ie(this,B),this.options)?De(this,Z,ee).call(this):this.updateResult(),De(this,Z,ie).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return hn(Ie(this,B),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return hn(Ie(this,B),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,De(this,Z,oe).call(this),De(this,Z,ae).call(this),Ie(this,B).removeObserver(this)}setOptions(e,t){const n=this.options,r=Ie(this,B);if(this.options=Ie(this,U).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof Tt(this.options.enabled,Ie(this,B)))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");De(this,Z,se).call(this),Ie(this,B).setOptions(this.options),n._defaulted&&!Ft(this.options,n)&&Ie(this,U).getQueryCache().notify({type:"observerOptionsUpdated",query:Ie(this,B),observer:this});const i=this.hasListeners();i&&pn(Ie(this,B),r,this.options,n)&&De(this,Z,ee).call(this),this.updateResult(t),!i||Ie(this,B)===r&&Tt(this.options.enabled,Ie(this,B))===Tt(n.enabled,Ie(this,B))&&At(this.options.staleTime,Ie(this,B))===At(n.staleTime,Ie(this,B))||De(this,Z,te).call(this);const o=De(this,Z,ne).call(this);!i||Ie(this,B)===r&&Tt(this.options.enabled,Ie(this,B))===Tt(n.enabled,Ie(this,B))&&o===Ie(this,J)||De(this,Z,re).call(this,o)}getOptimisticResult(e){const t=Ie(this,U).getQueryCache().build(Ie(this,U),e),n=this.createResult(t,e);return function(e,t){if(!Ft(e.getCurrentResult(),t))return!0;return!1}(this,n)&&(Pe(this,z,n),Pe(this,H,this.options),Pe(this,W,Ie(this,B).state)),n}getCurrentResult(){return Ie(this,z)}trackResult(e,t){const n={};return Object.keys(e).forEach((r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),null==t||t(r),e[r])})})),n}trackProp(e){Ie(this,X).add(e)}getCurrentQuery(){return Ie(this,B)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=Ie(this,U).defaultQueryOptions(e),n=Ie(this,U).getQueryCache().build(Ie(this,U),t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){return De(this,Z,ee).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),Ie(this,z))))}createResult(e,t){var n;const r=Ie(this,B),i=this.options,o=Ie(this,z),a=Ie(this,W),s=Ie(this,H),l=e!==r?e.state:Ie(this,V),{state:c}=e;let u,d={...c},f=!1;if(t._optimisticResults){const n=this.hasListeners(),o=!n&&fn(e,t),a=n&&pn(e,r,t,i);(o||a)&&(d={...d,...tn(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:p,status:m}=d;if(t.select&&void 0!==d.data)if(o&&d.data===(null==a?void 0:a.data)&&t.select===Ie(this,K))u=Ie(this,$);else try{Pe(this,K,t.select),u=t.select(d.data),u=Bt(null==o?void 0:o.data,u,t),Pe(this,$,u),Pe(this,q,null)}catch(w){Pe(this,q,w)}else u=d.data;if(void 0!==t.placeholderData&&void 0===u&&"pending"===m){let e;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(null==(n=Ie(this,Q))?void 0:n.state.data,Ie(this,Q)):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),Pe(this,q,null)}catch(w){Pe(this,q,w)}void 0!==e&&(m="success",u=Bt(null==o?void 0:o.data,e,t),f=!0)}Ie(this,q)&&(h=Ie(this,q),u=Ie(this,$),p=Date.now(),m="error");const g="fetching"===d.fetchStatus,y="pending"===m,v="error"===m,b=y&&g,_=void 0!==u;return{status:m,fetchStatus:d.fetchStatus,isPending:y,isSuccess:"success"===m,isError:v,isInitialLoading:b,isLoading:b,data:u,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:p,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!_,isPaused:"paused"===d.fetchStatus,isPlaceholderData:f,isRefetchError:v&&_,isStale:mn(e,t),refetch:this.refetch}}updateResult(e){const t=Ie(this,z),n=this.createResult(Ie(this,B),this.options);if(Pe(this,W,Ie(this,B).state),Pe(this,H,this.options),void 0!==Ie(this,W).data&&Pe(this,Q,Ie(this,B)),Ft(n,t))return;Pe(this,z,n);const r={};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!Ie(this,X).size)return!0;const r=new Set(n??Ie(this,X));return this.options.throwOnError&&r.add("error"),Object.keys(Ie(this,z)).some((e=>{const n=e;return Ie(this,z)[n]!==t[n]&&r.has(n)}))})()&&(r.listeners=!0),De(this,Z,le).call(this,{...r,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&De(this,Z,ie).call(this)}},U=new WeakMap,B=new WeakMap,V=new WeakMap,z=new WeakMap,W=new WeakMap,H=new WeakMap,q=new WeakMap,K=new WeakMap,$=new WeakMap,Q=new WeakMap,G=new WeakMap,Y=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakSet,ee=function(e){De(this,Z,se).call(this);let t=Ie(this,B).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(St)),t},te=function(){De(this,Z,oe).call(this);const e=At(this.options.staleTime,Ie(this,B));if(Et||Ie(this,z).isStale||!Ot(e))return;const t=Ct(Ie(this,z).dataUpdatedAt,e);Pe(this,G,setTimeout((()=>{Ie(this,z).isStale||this.updateResult()}),t+1))},ne=function(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(Ie(this,B)):this.options.refetchInterval)??!1},re=function(e){De(this,Z,ae).call(this),Pe(this,J,e),!Et&&!1!==Tt(this.options.enabled,Ie(this,B))&&Ot(Ie(this,J))&&0!==Ie(this,J)&&Pe(this,Y,setInterval((()=>{(this.options.refetchIntervalInBackground||qt.isFocused())&&De(this,Z,ee).call(this)}),Ie(this,J)))},ie=function(){De(this,Z,te).call(this),De(this,Z,re).call(this,De(this,Z,ne).call(this))},oe=function(){Ie(this,G)&&(clearTimeout(Ie(this,G)),Pe(this,G,void 0))},ae=function(){Ie(this,Y)&&(clearInterval(Ie(this,Y)),Pe(this,Y,void 0))},se=function(){const e=Ie(this,U).getQueryCache().build(Ie(this,U),this.options);if(e===Ie(this,B))return;const t=Ie(this,B);Pe(this,B,e),Pe(this,V,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))},le=function(e){Xt.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(Ie(this,z))})),Ie(this,U).getQueryCache().notify({query:Ie(this,B),type:"observerResultsUpdated"})}))},ce);function fn(e,t){return function(e,t){return!1!==Tt(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&hn(e,t,t.refetchOnMount)}function hn(e,t,n){if(!1!==Tt(t.enabled,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&mn(e,t)}return!1}function pn(e,t,n,r){return(e!==t||!1===Tt(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&mn(e,n)}function mn(e,t){return!1!==Tt(t.enabled,e)&&e.isStaleByTime(At(t.staleTime,e))}var gn,yn,vn,bn,_n=(ye=class extends kt{constructor(e,t){super(),Ne(this,pe),Ne(this,ue),Ne(this,de),Ne(this,fe),Ne(this,he),Pe(this,ue,e),this.setOptions(t),this.bindMethods(),De(this,pe,me).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=Ie(this,ue).defaultMutationOptions(e),Ft(this.options,n)||Ie(this,ue).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Ie(this,fe),observer:this}),(null==n?void 0:n.mutationKey)&&this.options.mutationKey&&Pt(n.mutationKey)!==Pt(this.options.mutationKey)?this.reset():"pending"===(null==(t=Ie(this,fe))?void 0:t.state.status)&&Ie(this,fe).setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||null==(e=Ie(this,fe))||e.removeObserver(this)}onMutationUpdate(e){De(this,pe,me).call(this),De(this,pe,ge).call(this,e)}getCurrentResult(){return Ie(this,de)}reset(){var e;null==(e=Ie(this,fe))||e.removeObserver(this),Pe(this,fe,void 0),De(this,pe,me).call(this),De(this,pe,ge).call(this)}mutate(e,t){var n;return Pe(this,he,t),null==(n=Ie(this,fe))||n.removeObserver(this),Pe(this,fe,Ie(this,ue).getMutationCache().build(Ie(this,ue),this.options)),Ie(this,fe).addObserver(this),Ie(this,fe).execute(e)}},ue=new WeakMap,de=new WeakMap,fe=new WeakMap,he=new WeakMap,pe=new WeakSet,me=function(){var e;const t=(null==(e=Ie(this,fe))?void 0:e.state)??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};Pe(this,de,{...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset})},ge=function(e){Xt.batch((()=>{var t,n,r,i,o,a,s,l;if(Ie(this,he)&&this.hasListeners()){const c=Ie(this,de).variables,u=Ie(this,de).context;"success"===(null==e?void 0:e.type)?(null==(n=(t=Ie(this,he)).onSuccess)||n.call(t,e.data,c,u),null==(i=(r=Ie(this,he)).onSettled)||i.call(r,e.data,null,c,u)):"error"===(null==e?void 0:e.type)&&(null==(a=(o=Ie(this,he)).onError)||a.call(o,e.error,c,u),null==(l=(s=Ie(this,he)).onSettled)||l.call(s,void 0,e.error,c,u))}this.listeners.forEach((e=>{e(Ie(this,de))}))}))},ye),wn=0,xn=[],kn=be,En=kn.__b,Sn=kn.__r,On=kn.diffed,Cn=kn.__c,An=kn.unmount,Tn=kn.__;function Rn(e,t){kn.__h&&kn.__h(yn,e,wn||t),wn=0;var n=yn.__H||(yn.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function In(e){return wn=1,Nn(Qn,e)}function Nn(e,t,n){var r=Rn(gn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Qn(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=yn,!yn.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.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)&&(!o||o.call(this,e,t,n))};yn.u=!0;var o=yn.shouldComponentUpdate,a=yn.componentWillUpdate;yn.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},yn.shouldComponentUpdate=i}return r.__N||r.__}function Pn(e,t){var n=Rn(gn++,3);!kn.__s&&$n(n.__H,t)&&(n.__=e,n.i=t,yn.__H.__h.push(n))}function Dn(e,t){var n=Rn(gn++,4);!kn.__s&&$n(n.__H,t)&&(n.__=e,n.i=t,yn.__h.push(n))}function Mn(e){return wn=5,Ln((function(){return{current:e}}),[])}function Fn(e,t,n){wn=6,Dn((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 Ln(e,t){var n=Rn(gn++,7);return $n(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function jn(e,t){return wn=8,Ln((function(){return e}),t)}function Un(e){var t=yn.context[e.__c],n=Rn(gn++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(yn)),t.props.value):e.__}function Bn(e,t){kn.useDebugValue&&kn.useDebugValue(t?t(e):e)}function Vn(){var e=Rn(gn++,11);if(!e.__){for(var t=yn.__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.__}function zn(){for(var e;e=xn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qn),e.__H.__h.forEach(Kn),e.__H.__h=[]}catch(t){e.__H.__h=[],kn.__e(t,e.__v)}}kn.__b=function(e){yn=null,En&&En(e)},kn.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Tn&&Tn(e,t)},kn.__r=function(e){Sn&&Sn(e),gn=0;var t=(yn=e.__c).__H;t&&(vn===yn?(t.__h=[],yn.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(qn),t.__h.forEach(Kn),t.__h=[],gn=0)),vn=yn},kn.diffed=function(e){On&&On(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==xn.push(t)&&bn===kn.requestAnimationFrame||((bn=kn.requestAnimationFrame)||Hn)(zn)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),vn=yn=null},kn.__c=function(e,t){t.some((function(e){try{e.__h.forEach(qn),e.__h=e.__h.filter((function(e){return!e.__||Kn(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],kn.__e(n,e.__v)}})),Cn&&Cn(e,t)},kn.unmount=function(e){An&&An(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{qn(e)}catch(n){t=n}})),n.__H=void 0,t&&kn.__e(t,n.__v))};var Wn="function"==typeof requestAnimationFrame;function Hn(e){var t,n=function(){clearTimeout(r),Wn&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Wn&&(t=requestAnimationFrame(n))}function qn(e){var t=yn,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),yn=t}function Kn(e){var t=yn;e.__c=e.__(),yn=t}function $n(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Qn(e,t){return"function"==typeof t?t(e):t}function Gn(e,t){for(var n in t)e[n]=t[n];return e}function Yn(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 Jn(e,t){this.props=e,this.context=t}function Xn(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:Yn(this.props,e)}function r(t){return this.shouldComponentUpdate=n,ze(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Jn.prototype=new Ke).isPureReactComponent=!0,Jn.prototype.shouldComponentUpdate=function(e,t){return Yn(this.props,e)||Yn(this.state,t)};var Zn=be.__b;be.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Zn&&Zn(e)};var er="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function tr(e){function t(t){var n=Gn({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=er,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var nr=function(e,t){return null==e?null:Ze(Ze(e).map(t))},rr={map:nr,forEach:nr,count:function(e){return e?Ze(e).length:0},only:function(e){var t=Ze(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:Ze},ir=be.__e;be.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);ir(e,t,n,r)};var or=be.unmount;function ar(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=Gn({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ar(e,t,n)}))),e}function sr(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return sr(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function lr(){this.__u=0,this.t=null,this.__b=null}function cr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ur(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 ze(n,i)}return i.displayName="Lazy",i.__f=!0,i}function dr(){this.u=null,this.o=null}be.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),or&&or(e)},(lr.prototype=new Ke).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=cr(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=sr(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},lr.prototype.componentWillUnmount=function(){this.t=[]},lr.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]=ar(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&ze(qe,null,e.fallback);return i&&(i.__u&=-33),[ze(qe,null,t.__a?null:e.children),i]};var fr=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 hr(e){return this.getChildContext=function(){return e.context},e.children}function pr(e){var t=this,n=e.i;t.componentWillUnmount=function(){ct(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},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)}}),ct(ze(hr,{context:t.context},e.__v),t.l)}function mr(e,t){var n=ze(pr,{__v:e,i:t});return n.containerInfo=t,n}(dr.prototype=new Ke).__a=function(e){var t=this,n=cr(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),fr(t,e,r)):i()};n?n(o):o()}},dr.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ze(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},dr.prototype.componentDidUpdate=dr.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){fr(e,n,t)}))};var gr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,yr=/^(?: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]/,vr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,br=/[A-Z0-9]/g,_r="undefined"!=typeof document,wr=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function xr(e,t,n){return null==t.__k&&(t.textContent=""),ct(e,t),"function"==typeof n&&n(),e?e.__c:null}function kr(e,t,n){return ut(e,t),"function"==typeof n&&n(),e?e.__c:null}Ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(Ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Er=be.event;function Sr(){}function Or(){return this.cancelBubble}function Cr(){return this.defaultPrevented}be.event=function(e){return Er&&(e=Er(e)),e.persist=Sr,e.isPropagationStopped=Or,e.isDefaultPrevented=Cr,e.nativeEvent=e};var Ar,Tr={enumerable:!1,configurable:!0,get:function(){return this.class}},Rr=be.vnode;be.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||_r&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||wr(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":vr.test(o)&&(o=s):s=o="oninput":i&&yr.test(o)?o=o.replace(br,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=Ze(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=Ze(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",Tr)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=gr,Rr&&Rr(e)};var Ir=be.__r;be.__r=function(e){Ir&&Ir(e),Ar=e.__c};var Nr=be.diffed;be.diffed=function(e){Nr&&Nr(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),Ar=null};var Pr={ReactCurrentDispatcher:{current:{readContext:function(e){return Ar.__n[e.__c].props.value},useCallback:jn,useContext:Un,useDebugValue:Bn,useDeferredValue:qr,useEffect:Pn,useId:Vn,useImperativeHandle:Fn,useInsertionEffect:$r,useLayoutEffect:Dn,useMemo:Ln,useReducer:Nn,useRef:Mn,useState:In,useSyncExternalStore:Gr,useTransition:Kr}}};function Dr(e){return ze.bind(null,e)}function Mr(e){return!!e&&e.$$typeof===gr}function Fr(e){return Mr(e)&&e.type===qe}function Lr(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function jr(e){return Mr(e)?dt.apply(null,arguments):e}function Ur(e){return!!e.__k&&(ct(null,e),!0)}function Br(e){return e&&(e.base||1===e.nodeType&&e)||null}var Vr=function(e,t){return e(t)},zr=function(e,t){return e(t)},Wr=qe;function Hr(e){e()}function qr(e){return e}function Kr(){return[!1,Hr]}var $r=Dn,Qr=Mr;function Gr(e,t){var n=t(),r=In({h:{__:n,v:t}}),i=r[0].h,o=r[1];return Dn((function(){i.__=n,i.v=t,Yr(i)&&o({h:i})}),[e,n,t]),Pn((function(){return Yr(i)&&o({h:i}),e((function(){Yr(i)&&o({h:i})}))}),[e]),n}function Yr(e){var t,n,r=e.v,i=e.__;try{var o=r();return!((t=i)===(n=o)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(a){return!0}}var Jr={useState:In,useId:Vn,useReducer:Nn,useEffect:Pn,useLayoutEffect:Dn,useInsertionEffect:$r,useTransition:Kr,useDeferredValue:qr,useSyncExternalStore:Gr,startTransition:Hr,useRef:Mn,useImperativeHandle:Fn,useMemo:Ln,useCallback:jn,useContext:Un,useDebugValue:Bn,version:"17.0.2",Children:rr,render:xr,hydrate:kr,unmountComponentAtNode:Ur,createPortal:mr,createElement:ze,createContext:ft,createFactory:Dr,cloneElement:jr,createRef:He,Fragment:qe,isValidElement:Mr,isElement:Qr,isFragment:Fr,isMemo:Lr,findDOMNode:Br,Component:Ke,PureComponent:Jn,memo:Xn,forwardRef:tr,flushSync:zr,unstable_batchedUpdates:Vr,StrictMode:Wr,Suspense:lr,SuspenseList:dr,lazy:ur,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pr};const Xr=Object.freeze(Object.defineProperty({__proto__:null,Children:rr,Component:Ke,Fragment:qe,PureComponent:Jn,StrictMode:Wr,Suspense:lr,SuspenseList:dr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pr,cloneElement:jr,createContext:ft,createElement:ze,createFactory:Dr,createPortal:mr,createRef:He,default:Jr,findDOMNode:Br,flushSync:zr,forwardRef:tr,hydrate:kr,isElement:Qr,isFragment:Fr,isMemo:Lr,isValidElement:Mr,lazy:ur,memo:Xn,render:xr,startTransition:Hr,unmountComponentAtNode:Ur,unstable_batchedUpdates:Vr,useCallback:jn,useContext:Un,useDebugValue:Bn,useDeferredValue:qr,useEffect:Pn,useErrorBoundary:function(e){var t=Rn(gn++,10),n=In();return t.__=e,yn.componentDidCatch||(yn.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:Vn,useImperativeHandle:Fn,useInsertionEffect:$r,useLayoutEffect:Dn,useMemo:Ln,useReducer:Nn,useRef:Mn,useState:In,useSyncExternalStore:Gr,useTransition:Kr,version:"17.0.2"},Symbol.toStringTag,{value:"Module"}));var Zr=ft(void 0),ei=e=>{const t=Un(Zr);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},ti=({client:e,children:t})=>(Pn((()=>(e.mount(),()=>{e.unmount()})),[e]),xt(Zr.Provider,{value:e,children:t})),ni=ft(!1),ri=()=>Un(ni);ni.Provider;var ii=ft(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),oi=()=>Un(ii);function ai(e,t){return"function"==typeof e?e(...t):!!e}function si(){}var li,ci,ui,di,fi=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},hi=e=>{Pn((()=>{e.clearReset()}),[e])},pi=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&ai(n,[e.error,r]),mi=e=>{e.suspense&&("number"!=typeof e.staleTime&&(e.staleTime=1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))},gi=(e,t)=>(null==e?void 0:e.suspense)&&t.isPending,yi=(e,t,n)=>t.fetchOptimistic(e).catch((()=>{n.clearReset()}));function vi(e,t){return function(e,t){var n,r,i,o;const a=ei(),s=ri(),l=oi(),c=a.defaultQueryOptions(e);null==(r=null==(n=a.getDefaultOptions().queries)?void 0:n._experimental_beforeQuery)||r.call(n,c),c._optimisticResults=s?"isRestoring":"optimistic",mi(c),fi(c,l),hi(l);const[u]=In((()=>new t(a,c))),d=u.getOptimisticResult(c);if(Gr(jn((e=>{const t=s?()=>{}:u.subscribe(Xt.batchCalls(e));return u.updateResult(),t}),[u,s]),(()=>u.getCurrentResult())),Pn((()=>{u.setOptions(c,{listeners:!1})}),[c,u]),gi(c,d))throw yi(c,u,l);if(pi({result:d,errorResetBoundary:l,throwOnError:c.throwOnError,query:a.getQueryCache().get(c.queryHash)}))throw d.error;return null==(o=null==(i=a.getDefaultOptions().queries)?void 0:i._experimental_afterQuery)||o.call(i,c,d),c.notifyOnChangeProps?d:u.trackResult(d)}(e,dn)}function bi(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=bi(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _i(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=bi(e))&&(r&&(r+=" "),r+=t);return r}
|
|
1
|
+
var e,t,n,r,i,a,o,s,l,c,u,d,f,h,p,m,g,y,v,b,_,w,x,k,E,S,O,A,C,T,R,I,N,P,D,M,F,L,j,U,B,V,z,W,H,q,$,K,Q,G,Y,J,X,Z,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,de,fe,he,pe,me,ge,ye,ve,be,_e,we,xe,ke,Ee,Se,Oe,Ae,Ce,Te=e=>{throw TypeError(e)},Re=(e,t,n)=>t.has(e)||Te("Cannot "+n),Ie=(e,t,n)=>(Re(e,t,"read from private field"),n?n.call(e):t.get(e)),Ne=(e,t,n)=>t.has(e)?Te("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Pe=(e,t,n,r)=>(Re(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),De=(e,t,n)=>(Re(e,t,"access private method"),n),Me=(e,t,n,r)=>({set _(r){Pe(e,t,r,n)},get _(){return Ie(e,t,r)}}),Fe={},Le=[],je=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ue=Array.isArray;function Be(e,t){for(var n in t)e[n]=t[n];return e}function Ve(e){var t=e.parentNode;t&&t.removeChild(e)}function ze(e,t,n){var r,i,a,o={};for(a in t)"key"==a?r=t[a]:"ref"==a?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?ve.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===o[a]&&(o[a]=e.defaultProps[a]);return We(e,o,r,i,null)}function We(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++_e:i,__i:-1,__u:0};return null==i&&null!=be.vnode&&be.vnode(a),a}function He(){return{current:null}}function qe(e){return e.children}function $e(e,t){this.props=e,this.context=t}function Ke(e,t){if(null==t)return e.__?Ke(e.__,e.__i+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?Ke(e):null}function Qe(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 Qe(e)}}function Ge(e){(!e.__d&&(e.__d=!0)&&we.push(e)&&!Ye.__r++||xe!==be.debounceRendering)&&((xe=be.debounceRendering)||ke)(Ye)}function Ye(){var e,t,n,r,i,a,o,s;for(we.sort(Ee);e=we.shift();)e.__d&&(t=we.length,r=void 0,a=(i=(n=e).__v).__e,o=[],s=[],n.__P&&((r=Be({},i)).__v=i.__v+1,be.vnode&&be.vnode(r),it(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[a]:null,o,null==a?Ke(i):a,!!(32&i.__u),s),r.__v=i.__v,r.__.__k[r.__i]=r,at(o,r,s),r.__e!=a&&Qe(r)),we.length>t&&we.sort(Ee));Ye.__r=0}function Je(e,t,n,r,i,a,o,s,l,c,u){var d,f,h,p,m,g=r&&r.__k||Le,y=t.length;for(n.__d=l,function(e,t,n){var r,i,a,o,s,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)o=r+d,null!=(i=e.__k[r]=null==(i=t[r])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?We(null,i,null,null,null):Ue(i)?We(qe,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?We(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=e,i.__b=e.__b+1,s=et(i,n,o,u),i.__i=s,a=null,-1!==s&&(u--,(a=n[s])&&(a.__u|=131072)),null==a||null===a.__v?(-1==s&&d--,"function"!=typeof i.type&&(i.__u|=65536)):s!==o&&(s==o-1?d--:s==o+1?d++:s>o?u>l-o?d+=s-o:d--:s<o&&(s==o-d?d-=s-o:d++),s!==r+d&&(i.__u|=65536))):(a=n[o])&&null==a.key&&a.__e&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=Ke(a)),st(a,a,!1),n[o]=null,u--);if(u)for(r=0;r<c;r++)null!=(a=n[r])&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=Ke(a)),st(a,a))}(n,t,g),l=n.__d,d=0;d<y;d++)null!=(h=n.__k[d])&&"boolean"!=typeof h&&"function"!=typeof h&&(f=-1===h.__i?Fe:g[h.__i]||Fe,h.__i=d,it(e,h,f,i,a,o,s,l,c,u),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&ot(f.ref,null,h),u.push(h.ref,h.__c||p,h)),null==m&&null!=p&&(m=p),65536&h.__u||f.__k===h.__k?l=Xe(h,l,e):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:p&&(l=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=l,n.__e=m}function Xe(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=Xe(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Ke(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function Ze(e,t){return t=t||[],null==e||"boolean"==typeof e||(Ue(e)?e.some((function(e){Ze(e,t)})):t.push(e)),t}function et(e,t,n,r){var i=e.key,a=e.type,o=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&a===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;o>=0||s<t.length;){if(o>=0){if((l=t[o])&&!(131072&l.__u)&&i==l.key&&a===l.type)return o;o--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&a===l.type)return s;s++}}return-1}function tt(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||je.test(t)?n:n+"px"}function nt(e,t,n,r,i){var a;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||tt(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||tt(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r?n.u=r.u:(n.u=Se,e.addEventListener(t,a?Ae:Oe,a)):e.removeEventListener(t,a?Ae:Oe,a);else{if("http://www.w3.org/2000/svg"==i)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&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(o){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function rt(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=Se++;else if(t.t<n.u)return;return n(be.event?be.event(t):t)}}}function it(e,t,n,r,i,a,o,s,l,c){var u,d,f,h,p,m,g,y,v,b,_,w,x,k,E,S,O=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),a=[s=t.__e=n.__e]),(u=be.__b)&&u(t);e:if("function"==typeof O)try{if(y=t.props,v="prototype"in O&&O.prototype.render,b=(u=O.contextType)&&r[u.__c],_=u?b?b.props.value:u.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:(v?t.__c=d=new O(y,_):(t.__c=d=new $e(y,_),d.constructor=O,d.render=lt),b&&b.sub(d),d.props=y,d.state||(d.state={}),d.context=_,d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),v&&null==d.__s&&(d.__s=d.state),v&&null!=O.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Be({},d.__s)),Be(d.__s,O.getDerivedStateFromProps(y,d.__s))),h=d.props,p=d.state,d.__v=t,f)v&&null==O.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),v&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(v&&null==O.getDerivedStateFromProps&&y!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(y,_),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(y,d.__s,_)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[],d.__h.length&&o.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(y,d.__s,_),v&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,p,m)}))}if(d.context=_,d.props=y,d.__P=e,d.__e=!1,x=be.__r,k=0,v){for(d.state=d.__s,d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),E=0;E<d._sb.length;E++)d.__h.push(d._sb[E]);d._sb=[]}else do{d.__d=!1,x&&x(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(r=Be(Be({},r),d.getChildContext())),v&&!f&&null!=d.getSnapshotBeforeUpdate&&(m=d.getSnapshotBeforeUpdate(h,p)),Je(e,Ue(S=null!=u&&u.type===qe&&null==u.key?u.props.children:u)?S:[S],t,n,r,i,a,o,s,l,c),d.base=t.__e,t.__u&=-161,d.__h.length&&o.push(d),g&&(d.__E=d.__=null)}catch(A){if(t.__v=null,l||null!=a){for(t.__u|=l?160:32;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;a[a.indexOf(s)]=null,t.__e=s}else t.__e=n.__e,t.__k=n.__k;be.__e(A,t,n)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,i,a,o,s,l){var c,u,d,f,h,p,m,g=n.props,y=t.props,v=t.type;if("svg"===v?i="http://www.w3.org/2000/svg":"math"===v?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=a)for(c=0;c<a.length;c++)if((h=a[c])&&"setAttribute"in h==!!v&&(v?h.localName===v:3===h.nodeType)){e=h,a[c]=null;break}if(null==e){if(null===v)return document.createTextNode(y);e=document.createElementNS(i,v,y.is&&y),a=null,s=!1}if(null===v)g===y||s&&e.data===y||(e.data=y);else{if(a=a&&ve.call(e.childNodes),g=n.props||Fe,!s&&null!=a)for(g={},c=0;c<e.attributes.length;c++)g[(h=e.attributes[c]).name]=h.value;for(c in g)if(h=g[c],"children"==c);else if("dangerouslySetInnerHTML"==c)d=h;else if("key"!==c&&!(c in y)){if("value"==c&&"defaultValue"in y||"checked"==c&&"defaultChecked"in y)continue;nt(e,c,null,h,i)}for(c in y)h=y[c],"children"==c?f=h:"dangerouslySetInnerHTML"==c?u=h:"value"==c?p=h:"checked"==c?m=h:"key"===c||s&&"function"!=typeof h||g[c]===h||nt(e,c,h,g[c],i);if(u)s||d&&(u.__html===d.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=""),Je(e,Ue(f)?f:[f],t,n,r,"foreignObject"===v?"http://www.w3.org/1999/xhtml":i,a,o,a?a[0]:n.__k&&Ke(n,0),s,l),null!=a)for(c=a.length;c--;)null!=a[c]&&Ve(a[c]);s||(c="value",void 0!==p&&(p!==e[c]||"progress"===v&&!p||"option"===v&&p!==g[c])&&nt(e,c,p,g[c],i),c="checked",void 0!==m&&m!==e[c]&&nt(e,c,m,g[c],i))}return e}(n.__e,t,n,r,i,a,o,l,c);(u=be.diffed)&&u(t)}function at(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)ot(n[r],n[++r],n[++r]);be.__c&&be.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(n){be.__e(n,t.__v)}}))}function ot(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(i){be.__e(i,n)}}function st(e,t,n){var r,i;if(be.unmount&&be.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ot(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){be.__e(a,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&st(r[i],t,n||"function"!=typeof e.type);n||null==e.__e||Ve(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function lt(e,t,n){return this.constructor(e,n)}function ct(e,t,n){var r,i,a,o;be.__&&be.__(e,t),i=(r="function"==typeof n)?null:n&&n.__k||t.__k,a=[],o=[],it(t,e=(!r&&n||t).__k=ze(qe,null,[e]),i||Fe,Fe,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?ve.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),at(a,e,o)}function ut(e,t){ct(e,t,ut)}function dt(e,t,n){var r,i,a,o,s=Be({},e.props);for(a in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)"key"==a?r=t[a]:"ref"==a?i=t[a]:s[a]=void 0===t[a]&&void 0!==o?o[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?ve.call(arguments,2):n),We(e.type,s,r||e.key,i||e.ref,null)}function ft(e,t){var n={__c:t="__cC"+Ce++,__: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.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,Ge(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}function ht(){return(ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}ve=Le.slice,be={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&null!=a.getDerivedStateFromError&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(s){e=s}throw e}},_e=0,$e.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Be({},this.state),"function"==typeof e&&(e=e(Be({},n),this.props)),e&&Be(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),Ge(this))},$e.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ge(this))},$e.prototype.render=qe,we=[],ke="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ee=function(e,t){return e.__v.__b-t.__v.__b},Ye.__r=0,Se=0,Oe=rt(!1),Ae=rt(!0),Ce=0;var pt=["context","children"];function mt(e){return this.getChildContext=function(){return e.context},dt(e.children,function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}(e,pt))}function gt(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=ze(mt,ht({},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=[],i={},a=0,o=t.attributes,s=t.childNodes;for(a=o.length;a--;)"slot"!==o[a].name&&(i[o[a].name]=o[a].value,i[yt(o[a].name)]=o[a].value);for(a=s.length;a--;){var l=e(s[a],null),c=s[a].slot;c?i[c]=ze(_t,{name:c},l):r[a]=l}var u=n?ze(_t,null,r):r;return ze(n||t.nodeName.toLowerCase(),i,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?ut:ct)(this._vdom,this._root)}function yt(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function vt(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[yt(e)]=n,this._vdom=dt(this._vdom,r),ct(this._vdom,this._root)}}function bt(){ct(this._vdom=null,this._root)}function _t(e,t){var n=this;return ze("slot",ht({},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)}}))}var wt=0;function xt(e,t,n,r,i,a){t||(t={});var o,s,l=t;if("ref"in l)for(s in l={},t)"ref"==s?o=t[s]:l[s]=t[s];var c={type:e,props:l,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--wt,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(o=e.defaultProps))for(s in o)void 0===l[s]&&(l[s]=o[s]);return be.vnode&&be.vnode(c),c}var kt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Et="undefined"==typeof window||"Deno"in globalThis;function St(){}function Ot(e){return"number"==typeof e&&e>=0&&e!==1/0}function At(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ct(e,t){return"function"==typeof e?e(t):e}function Tt(e,t){return"function"==typeof e?e(t):e}function Rt(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o)if(r){if(t.queryHash!==Nt(o,t.options))return!1}else if(!Dt(t.queryKey,o))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((!i||i===t.state.fetchStatus)&&!(a&&!a(t)))}function It(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Pt(t.options.mutationKey)!==Pt(a))return!1}else if(!Dt(t.options.mutationKey,a))return!1}return(!r||t.state.status===r)&&!(i&&!i(t))}function Nt(e,t){return((null==t?void 0:t.queryKeyHashFn)||Pt)(e)}function Pt(e){return JSON.stringify(e,((e,t)=>jt(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Dt(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!Dt(e[n],t[n]))))}function Mt(e,t){if(e===t)return e;const n=Lt(e)&&Lt(t);if(n||jt(e)&&jt(t)){const r=n?e:Object.keys(e),i=r.length,a=n?t:Object.keys(t),o=a.length,s=n?[]:{};let l=0;for(let c=0;c<o;c++){const i=n?c:a[c];(!n&&r.includes(i)||n)&&void 0===e[i]&&void 0===t[i]?(s[i]=void 0,l++):(s[i]=Mt(e[i],t[i]),s[i]===e[i]&&void 0!==e[i]&&l++)}return i===o&&l===i?e:s}return t}function Ft(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Lt(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function jt(e){if(!Ut(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Ut(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function Ut(e){return"[object Object]"===Object.prototype.toString.call(e)}function Bt(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Mt(e,t):t}function Vt(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function zt(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Wt=Symbol();function Ht(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==Wt?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var qt=new(r=class extends kt{constructor(){super(),Ne(this,e),Ne(this,t),Ne(this,n),Pe(this,n,(e=>{if(!Et&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}))}onSubscribe(){Ie(this,t)||this.setEventListener(Ie(this,n))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Ie(this,t))||e.call(this),Pe(this,t,void 0))}setEventListener(e){var r;Pe(this,n,e),null==(r=Ie(this,t))||r.call(this),Pe(this,t,e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})))}setFocused(t){Ie(this,e)!==t&&(Pe(this,e,t),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){var t;return"boolean"==typeof Ie(this,e)?Ie(this,e):"hidden"!==(null==(t=globalThis.document)?void 0:t.visibilityState)}},e=new WeakMap,t=new WeakMap,n=new WeakMap,r),$t=new(s=class extends kt{constructor(){super(),Ne(this,i,!0),Ne(this,a),Ne(this,o),Pe(this,o,(e=>{if(!Et&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}))}onSubscribe(){Ie(this,a)||this.setEventListener(Ie(this,o))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Ie(this,a))||e.call(this),Pe(this,a,void 0))}setEventListener(e){var t;Pe(this,o,e),null==(t=Ie(this,a))||t.call(this),Pe(this,a,e(this.setOnline.bind(this)))}setOnline(e){Ie(this,i)!==e&&(Pe(this,i,e),this.listeners.forEach((t=>{t(e)})))}isOnline(){return Ie(this,i)}},i=new WeakMap,a=new WeakMap,o=new WeakMap,s);function Kt(e){return Math.min(1e3*2**e,3e4)}function Qt(e){return"online"!==(e??"online")||$t.isOnline()}var Gt=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function Yt(e){return e instanceof Gt}function Jt(e){let t,n,r,i=!1,a=0,o=!1;const s=new Promise(((e,t)=>{n=e,r=t})),l=()=>qt.isFocused()&&("always"===e.networkMode||$t.isOnline())&&e.canRun(),c=()=>Qt(e.networkMode)&&e.canRun(),u=r=>{var i;o||(o=!0,null==(i=e.onSuccess)||i.call(e,r),null==t||t(),n(r))},d=n=>{var i;o||(o=!0,null==(i=e.onError)||i.call(e,n),null==t||t(),r(n))},f=()=>new Promise((n=>{var r;t=e=>{(o||l())&&n(e)},null==(r=e.onPause)||r.call(e)})).then((()=>{var n;t=void 0,o||null==(n=e.onContinue)||n.call(e)})),h=()=>{if(o)return;let t;const n=0===a?e.initialPromise:void 0;try{t=n??e.fn()}catch(r){t=Promise.reject(r)}Promise.resolve(t).then(u).catch((t=>{var n;if(o)return;const r=e.retry??(Et?0:3),s=e.retryDelay??Kt,c="function"==typeof s?s(a,t):s,u=!0===r||"number"==typeof r&&a<r||"function"==typeof r&&r(a,t);var p;!i&&u?(a++,null==(n=e.onFail)||n.call(e,a,t),(p=c,new Promise((e=>{setTimeout(e,p)}))).then((()=>l()?void 0:f())).then((()=>{i?d(t):h()}))):d(t)}))};return{promise:s,cancel:t=>{var n;o||(d(new Gt(t)),null==(n=e.abort)||n.call(e))},continue:()=>(null==t||t(),s),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:c,start:()=>(c()?h():f().then(h),s)}}var Xt=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=e=>setTimeout(e,0);const a=r=>{t?e.push(r):i((()=>{n(r)}))},o=()=>{const t=e;e=[],t.length&&i((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}(),Zt=(c=class{constructor(){Ne(this,l)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ot(this.gcTime)&&Pe(this,l,setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Et?1/0:3e5))}clearGcTimeout(){Ie(this,l)&&(clearTimeout(Ie(this,l)),Pe(this,l,void 0))}},l=new WeakMap,c),en=(v=class extends Zt{constructor(e){super(),Ne(this,g),Ne(this,u),Ne(this,d),Ne(this,f),Ne(this,h),Ne(this,p),Ne(this,m),Pe(this,m,!1),Pe(this,p,e.defaultOptions),this.setOptions(e.options),this.observers=[],Pe(this,f,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,Pe(this,u,function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=e.state??Ie(this,u),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return null==(e=Ie(this,h))?void 0:e.promise}setOptions(e){this.options={...Ie(this,p),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||Ie(this,f).remove(this)}setData(e,t){const n=Bt(this.state.data,e,this.options);return De(this,g,y).call(this,{data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){De(this,g,y).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var t,n;const r=null==(t=Ie(this,h))?void 0:t.promise;return null==(n=Ie(this,h))||n.cancel(e),r?r.then(St).catch(St):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Ie(this,u))}isActive(){return this.observers.some((e=>!1!==Tt(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!At(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));null==t||t.refetch({cancelRefetch:!1}),null==(e=Ie(this,h))||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));null==t||t.refetch({cancelRefetch:!1}),null==(e=Ie(this,h))||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),Ie(this,f).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(Ie(this,h)&&(Ie(this,m)?Ie(this,h).cancel({revert:!0}):Ie(this,h).cancelRetry()),this.scheduleGc()),Ie(this,f).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||De(this,g,y).call(this,{type:"invalidate"})}fetch(e,t){var n,r,i;if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(Ie(this,h))return Ie(this,h).continueRetry(),Ie(this,h).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const a=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(Pe(this,m,!0),a.signal)})},s={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=Ht(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return o(n),Pe(this,m,!1),this.options.persister?this.options.persister(e,n,this):e(n)}};o(s),null==(n=this.options.behavior)||n.onFetch(s,this),Pe(this,d,this.state),"idle"!==this.state.fetchStatus&&this.state.fetchMeta===(null==(r=s.fetchOptions)?void 0:r.meta)||De(this,g,y).call(this,{type:"fetch",meta:null==(i=s.fetchOptions)?void 0:i.meta});const l=e=>{var t,n,r,i;Yt(e)&&e.silent||De(this,g,y).call(this,{type:"error",error:e}),Yt(e)||(null==(n=(t=Ie(this,f).config).onError)||n.call(t,e,this),null==(i=(r=Ie(this,f).config).onSettled)||i.call(r,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Pe(this,h,Jt({initialPromise:null==t?void 0:t.initialPromise,fn:s.fetchFn,abort:a.abort.bind(a),onSuccess:e=>{var t,n,r,i;void 0!==e?(this.setData(e),null==(n=(t=Ie(this,f).config).onSuccess)||n.call(t,e,this),null==(i=(r=Ie(this,f).config).onSettled)||i.call(r,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):l(new Error(`${this.queryHash} data is undefined`))},onError:l,onFail:(e,t)=>{De(this,g,y).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{De(this,g,y).call(this,{type:"pause"})},onContinue:()=>{De(this,g,y).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),Ie(this,h).start()}},u=new WeakMap,d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap,g=new WeakSet,y=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...tn(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return Yt(n)&&n.revert&&Ie(this,d)?{...Ie(this,d),fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Xt.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),Ie(this,f).notify({query:this,type:"updated",action:e})}))},v);function tn(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Qt(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var nn=(_=class extends kt{constructor(e={}){super(),Ne(this,b),this.config=e,Pe(this,b,new Map)}build(e,t,n){const r=t.queryKey,i=t.queryHash??Nt(r,t);let a=this.get(i);return a||(a=new en({cache:this,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){Ie(this,b).has(e.queryHash)||(Ie(this,b).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=Ie(this,b).get(e.queryHash);t&&(e.destroy(),t===e&&Ie(this,b).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Xt.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return Ie(this,b).get(e)}getAll(){return[...Ie(this,b).values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>Rt(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>Rt(e,t))):t}notify(e){Xt.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){Xt.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){Xt.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},b=new WeakMap,_),rn=(O=class extends Zt{constructor(e){super(),Ne(this,E),Ne(this,w),Ne(this,x),Ne(this,k),this.mutationId=e.mutationId,Pe(this,x,e.mutationCache),Pe(this,w,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){Ie(this,w).includes(e)||(Ie(this,w).push(e),this.clearGcTimeout(),Ie(this,x).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){Pe(this,w,Ie(this,w).filter((t=>t!==e))),this.scheduleGc(),Ie(this,x).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){Ie(this,w).length||("pending"===this.state.status?this.scheduleGc():Ie(this,x).remove(this))}continue(){var e;return(null==(e=Ie(this,k))?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var t,n,r,i,a,o,s,l,c,u,d,f,h,p,m,g,y,v,b,_;Pe(this,k,Jt({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{De(this,E,S).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{De(this,E,S).call(this,{type:"pause"})},onContinue:()=>{De(this,E,S).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Ie(this,x).canRun(this)}));const w="pending"===this.state.status,O=!Ie(this,k).canStart();try{if(!w){De(this,E,S).call(this,{type:"pending",variables:e,isPaused:O}),await(null==(n=(t=Ie(this,x).config).onMutate)?void 0:n.call(t,e,this));const a=await(null==(i=(r=this.options).onMutate)?void 0:i.call(r,e));a!==this.state.context&&De(this,E,S).call(this,{type:"pending",context:a,variables:e,isPaused:O})}const h=await Ie(this,k).start();return await(null==(o=(a=Ie(this,x).config).onSuccess)?void 0:o.call(a,h,e,this.state.context,this)),await(null==(l=(s=this.options).onSuccess)?void 0:l.call(s,h,e,this.state.context)),await(null==(u=(c=Ie(this,x).config).onSettled)?void 0:u.call(c,h,null,this.state.variables,this.state.context,this)),await(null==(f=(d=this.options).onSettled)?void 0:f.call(d,h,null,e,this.state.context)),De(this,E,S).call(this,{type:"success",data:h}),h}catch(A){try{throw await(null==(p=(h=Ie(this,x).config).onError)?void 0:p.call(h,A,e,this.state.context,this)),await(null==(g=(m=this.options).onError)?void 0:g.call(m,A,e,this.state.context)),await(null==(v=(y=Ie(this,x).config).onSettled)?void 0:v.call(y,void 0,A,this.state.variables,this.state.context,this)),await(null==(_=(b=this.options).onSettled)?void 0:_.call(b,void 0,A,e,this.state.context)),A}finally{De(this,E,S).call(this,{type:"error",error:A})}}finally{Ie(this,x).runNext(this)}}},w=new WeakMap,x=new WeakMap,k=new WeakMap,E=new WeakSet,S=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),Xt.batch((()=>{Ie(this,w).forEach((t=>{t.onMutationUpdate(e)})),Ie(this,x).notify({mutation:this,type:"updated",action:e})}))},O);var an=(T=class extends kt{constructor(e={}){super(),Ne(this,A),Ne(this,C),this.config=e,Pe(this,A,new Map),Pe(this,C,Date.now())}build(e,t,n){const r=new rn({mutationCache:this,mutationId:++Me(this,C)._,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){const t=on(e),n=Ie(this,A).get(t)??[];n.push(e),Ie(this,A).set(t,n),this.notify({type:"added",mutation:e})}remove(e){var t;const n=on(e);if(Ie(this,A).has(n)){const r=null==(t=Ie(this,A).get(n))?void 0:t.filter((t=>t!==e));r&&(0===r.length?Ie(this,A).delete(n):Ie(this,A).set(n,r))}this.notify({type:"removed",mutation:e})}canRun(e){var t;const n=null==(t=Ie(this,A).get(on(e)))?void 0:t.find((e=>"pending"===e.state.status));return!n||n===e}runNext(e){var t;const n=null==(t=Ie(this,A).get(on(e)))?void 0:t.find((t=>t!==e&&t.state.isPaused));return(null==n?void 0:n.continue())??Promise.resolve()}clear(){Xt.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}getAll(){return[...Ie(this,A).values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find((e=>It(t,e)))}findAll(e={}){return this.getAll().filter((t=>It(e,t)))}notify(e){Xt.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return Xt.batch((()=>Promise.all(e.map((e=>e.continue().catch(St))))))}},A=new WeakMap,C=new WeakMap,T);function on(e){var t;return(null==(t=e.options.scope)?void 0:t.id)??String(e.mutationId)}function sn(e){return{onFetch:(t,n)=>{const r=async()=>{var n,r,i,a,o;const s=t.options,l=null==(i=null==(r=null==(n=t.fetchOptions)?void 0:n.meta)?void 0:r.fetchMore)?void 0:i.direction,c=(null==(a=t.state.data)?void 0:a.pages)||[],u=(null==(o=t.state.data)?void 0:o.pageParams)||[],d={pages:[],pageParams:[]};let f=!1;const h=Ht(t.options,t.fetchOptions),p=async(e,n,r)=>{if(f)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);const i={queryKey:t.queryKey,pageParam:n,direction:r?"backward":"forward",meta:t.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(t.signal.aborted?f=!0:t.signal.addEventListener("abort",(()=>{f=!0})),t.signal)});const o=await h(i),{maxPages:s}=t.options,l=r?zt:Vt;return{pages:l(e.pages,o,s),pageParams:l(e.pageParams,n,s)}};let m;if(l&&c.length){const e="backward"===l,t={pages:c,pageParams:u},n=(e?cn:ln)(s,t);m=await p(t,n,e)}else{m=await p(d,u[0]??s.initialPageParam);const t=e??c.length;for(let e=1;e<t;e++){const e=ln(s,m);if(null==e)break;m=await p(m,e)}}return m};t.options.persister?t.fetchFn=()=>{var e,i;return null==(i=(e=t.options).persister)?void 0:i.call(e,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function ln(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function cn(e,{pages:t,pageParams:n}){var r;return t.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,t[0],t,n[0],n):void 0}var un=(j=class{constructor(e={}){Ne(this,R),Ne(this,I),Ne(this,N),Ne(this,P),Ne(this,D),Ne(this,M),Ne(this,F),Ne(this,L),Pe(this,R,e.queryCache||new nn),Pe(this,I,e.mutationCache||new an),Pe(this,N,e.defaultOptions||{}),Pe(this,P,new Map),Pe(this,D,new Map),Pe(this,M,0)}mount(){Me(this,M)._++,1===Ie(this,M)&&(Pe(this,F,qt.subscribe((async e=>{e&&(await this.resumePausedMutations(),Ie(this,R).onFocus())}))),Pe(this,L,$t.subscribe((async e=>{e&&(await this.resumePausedMutations(),Ie(this,R).onOnline())}))))}unmount(){var e,t;Me(this,M)._--,0===Ie(this,M)&&(null==(e=Ie(this,F))||e.call(this),Pe(this,F,void 0),null==(t=Ie(this,L))||t.call(this),Pe(this,L,void 0))}isFetching(e){return Ie(this,R).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Ie(this,I).findAll({...e,status:"pending"}).length}getQueryData(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null==(t=Ie(this,R).get(n.queryHash))?void 0:t.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Ie(this,R).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Ct(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Ie(this,R).findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=Ie(this,R).get(r.queryHash),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==i?void 0:i.state.data);if(void 0!==a)return Ie(this,R).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Xt.batch((()=>Ie(this,R).findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null==(t=Ie(this,R).get(n.queryHash))?void 0:t.state}removeQueries(e){const t=Ie(this,R);Xt.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=Ie(this,R),r={type:"active",...e};return Xt.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(r,t))))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Xt.batch((()=>Ie(this,R).findAll(e).map((e=>e.cancel(n)))));return Promise.all(r).then(St).catch(St)}invalidateQueries(e={},t={}){return Xt.batch((()=>{if(Ie(this,R).findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(e={},t){const n={...t,cancelRefetch:(null==t?void 0:t.cancelRefetch)??!0},r=Xt.batch((()=>Ie(this,R).findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(St)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(r).then(St)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=Ie(this,R).build(this,t);return n.isStaleByTime(Ct(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(St).catch(St)}fetchInfiniteQuery(e){return e.behavior=sn(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(St).catch(St)}resumePausedMutations(){return $t.isOnline()?Ie(this,I).resumePausedMutations():Promise.resolve()}getQueryCache(){return Ie(this,R)}getMutationCache(){return Ie(this,I)}getDefaultOptions(){return Ie(this,N)}setDefaultOptions(e){Pe(this,N,e)}setQueryDefaults(e,t){Ie(this,P).set(Pt(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Ie(this,P).values()];let n={};return t.forEach((t=>{Dt(e,t.queryKey)&&(n={...n,...t.defaultOptions})})),n}setMutationDefaults(e,t){Ie(this,D).set(Pt(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Ie(this,D).values()];let n={};return t.forEach((t=>{Dt(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Ie(this,N).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Nt(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===Wt&&(t.enabled=!1),t}defaultMutationOptions(e){return(null==e?void 0:e._defaulted)?e:{...Ie(this,N).mutations,...(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Ie(this,R).clear(),Ie(this,I).clear()}},R=new WeakMap,I=new WeakMap,N=new WeakMap,P=new WeakMap,D=new WeakMap,M=new WeakMap,F=new WeakMap,L=new WeakMap,j),dn=(ce=class extends kt{constructor(e,t){super(),Ne(this,Z),Ne(this,U),Ne(this,B),Ne(this,V),Ne(this,z),Ne(this,W),Ne(this,H),Ne(this,q),Ne(this,$),Ne(this,K),Ne(this,Q),Ne(this,G),Ne(this,Y),Ne(this,J),Ne(this,X,new Set),this.options=t,Pe(this,U,e),Pe(this,q,null),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(Ie(this,B).addObserver(this),fn(Ie(this,B),this.options)?De(this,Z,ee).call(this):this.updateResult(),De(this,Z,ie).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return hn(Ie(this,B),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return hn(Ie(this,B),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,De(this,Z,ae).call(this),De(this,Z,oe).call(this),Ie(this,B).removeObserver(this)}setOptions(e,t){const n=this.options,r=Ie(this,B);if(this.options=Ie(this,U).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof Tt(this.options.enabled,Ie(this,B)))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");De(this,Z,se).call(this),Ie(this,B).setOptions(this.options),n._defaulted&&!Ft(this.options,n)&&Ie(this,U).getQueryCache().notify({type:"observerOptionsUpdated",query:Ie(this,B),observer:this});const i=this.hasListeners();i&&pn(Ie(this,B),r,this.options,n)&&De(this,Z,ee).call(this),this.updateResult(t),!i||Ie(this,B)===r&&Tt(this.options.enabled,Ie(this,B))===Tt(n.enabled,Ie(this,B))&&Ct(this.options.staleTime,Ie(this,B))===Ct(n.staleTime,Ie(this,B))||De(this,Z,te).call(this);const a=De(this,Z,ne).call(this);!i||Ie(this,B)===r&&Tt(this.options.enabled,Ie(this,B))===Tt(n.enabled,Ie(this,B))&&a===Ie(this,J)||De(this,Z,re).call(this,a)}getOptimisticResult(e){const t=Ie(this,U).getQueryCache().build(Ie(this,U),e),n=this.createResult(t,e);return function(e,t){if(!Ft(e.getCurrentResult(),t))return!0;return!1}(this,n)&&(Pe(this,z,n),Pe(this,H,this.options),Pe(this,W,Ie(this,B).state)),n}getCurrentResult(){return Ie(this,z)}trackResult(e,t){const n={};return Object.keys(e).forEach((r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),null==t||t(r),e[r])})})),n}trackProp(e){Ie(this,X).add(e)}getCurrentQuery(){return Ie(this,B)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=Ie(this,U).defaultQueryOptions(e),n=Ie(this,U).getQueryCache().build(Ie(this,U),t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){return De(this,Z,ee).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),Ie(this,z))))}createResult(e,t){var n;const r=Ie(this,B),i=this.options,a=Ie(this,z),o=Ie(this,W),s=Ie(this,H),l=e!==r?e.state:Ie(this,V),{state:c}=e;let u,d={...c},f=!1;if(t._optimisticResults){const n=this.hasListeners(),a=!n&&fn(e,t),o=n&&pn(e,r,t,i);(a||o)&&(d={...d,...tn(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:p,status:m}=d;if(t.select&&void 0!==d.data)if(a&&d.data===(null==o?void 0:o.data)&&t.select===Ie(this,$))u=Ie(this,K);else try{Pe(this,$,t.select),u=t.select(d.data),u=Bt(null==a?void 0:a.data,u,t),Pe(this,K,u),Pe(this,q,null)}catch(w){Pe(this,q,w)}else u=d.data;if(void 0!==t.placeholderData&&void 0===u&&"pending"===m){let e;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(null==(n=Ie(this,Q))?void 0:n.state.data,Ie(this,Q)):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),Pe(this,q,null)}catch(w){Pe(this,q,w)}void 0!==e&&(m="success",u=Bt(null==a?void 0:a.data,e,t),f=!0)}Ie(this,q)&&(h=Ie(this,q),u=Ie(this,K),p=Date.now(),m="error");const g="fetching"===d.fetchStatus,y="pending"===m,v="error"===m,b=y&&g,_=void 0!==u;return{status:m,fetchStatus:d.fetchStatus,isPending:y,isSuccess:"success"===m,isError:v,isInitialLoading:b,isLoading:b,data:u,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:p,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!_,isPaused:"paused"===d.fetchStatus,isPlaceholderData:f,isRefetchError:v&&_,isStale:mn(e,t),refetch:this.refetch}}updateResult(e){const t=Ie(this,z),n=this.createResult(Ie(this,B),this.options);if(Pe(this,W,Ie(this,B).state),Pe(this,H,this.options),void 0!==Ie(this,W).data&&Pe(this,Q,Ie(this,B)),Ft(n,t))return;Pe(this,z,n);const r={};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!Ie(this,X).size)return!0;const r=new Set(n??Ie(this,X));return this.options.throwOnError&&r.add("error"),Object.keys(Ie(this,z)).some((e=>{const n=e;return Ie(this,z)[n]!==t[n]&&r.has(n)}))})()&&(r.listeners=!0),De(this,Z,le).call(this,{...r,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&De(this,Z,ie).call(this)}},U=new WeakMap,B=new WeakMap,V=new WeakMap,z=new WeakMap,W=new WeakMap,H=new WeakMap,q=new WeakMap,$=new WeakMap,K=new WeakMap,Q=new WeakMap,G=new WeakMap,Y=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakSet,ee=function(e){De(this,Z,se).call(this);let t=Ie(this,B).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(St)),t},te=function(){De(this,Z,ae).call(this);const e=Ct(this.options.staleTime,Ie(this,B));if(Et||Ie(this,z).isStale||!Ot(e))return;const t=At(Ie(this,z).dataUpdatedAt,e);Pe(this,G,setTimeout((()=>{Ie(this,z).isStale||this.updateResult()}),t+1))},ne=function(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(Ie(this,B)):this.options.refetchInterval)??!1},re=function(e){De(this,Z,oe).call(this),Pe(this,J,e),!Et&&!1!==Tt(this.options.enabled,Ie(this,B))&&Ot(Ie(this,J))&&0!==Ie(this,J)&&Pe(this,Y,setInterval((()=>{(this.options.refetchIntervalInBackground||qt.isFocused())&&De(this,Z,ee).call(this)}),Ie(this,J)))},ie=function(){De(this,Z,te).call(this),De(this,Z,re).call(this,De(this,Z,ne).call(this))},ae=function(){Ie(this,G)&&(clearTimeout(Ie(this,G)),Pe(this,G,void 0))},oe=function(){Ie(this,Y)&&(clearInterval(Ie(this,Y)),Pe(this,Y,void 0))},se=function(){const e=Ie(this,U).getQueryCache().build(Ie(this,U),this.options);if(e===Ie(this,B))return;const t=Ie(this,B);Pe(this,B,e),Pe(this,V,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))},le=function(e){Xt.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(Ie(this,z))})),Ie(this,U).getQueryCache().notify({query:Ie(this,B),type:"observerResultsUpdated"})}))},ce);function fn(e,t){return function(e,t){return!1!==Tt(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&hn(e,t,t.refetchOnMount)}function hn(e,t,n){if(!1!==Tt(t.enabled,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&mn(e,t)}return!1}function pn(e,t,n,r){return(e!==t||!1===Tt(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&mn(e,n)}function mn(e,t){return!1!==Tt(t.enabled,e)&&e.isStaleByTime(Ct(t.staleTime,e))}var gn,yn,vn,bn,_n=(ye=class extends kt{constructor(e,t){super(),Ne(this,pe),Ne(this,ue),Ne(this,de),Ne(this,fe),Ne(this,he),Pe(this,ue,e),this.setOptions(t),this.bindMethods(),De(this,pe,me).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=Ie(this,ue).defaultMutationOptions(e),Ft(this.options,n)||Ie(this,ue).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Ie(this,fe),observer:this}),(null==n?void 0:n.mutationKey)&&this.options.mutationKey&&Pt(n.mutationKey)!==Pt(this.options.mutationKey)?this.reset():"pending"===(null==(t=Ie(this,fe))?void 0:t.state.status)&&Ie(this,fe).setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||null==(e=Ie(this,fe))||e.removeObserver(this)}onMutationUpdate(e){De(this,pe,me).call(this),De(this,pe,ge).call(this,e)}getCurrentResult(){return Ie(this,de)}reset(){var e;null==(e=Ie(this,fe))||e.removeObserver(this),Pe(this,fe,void 0),De(this,pe,me).call(this),De(this,pe,ge).call(this)}mutate(e,t){var n;return Pe(this,he,t),null==(n=Ie(this,fe))||n.removeObserver(this),Pe(this,fe,Ie(this,ue).getMutationCache().build(Ie(this,ue),this.options)),Ie(this,fe).addObserver(this),Ie(this,fe).execute(e)}},ue=new WeakMap,de=new WeakMap,fe=new WeakMap,he=new WeakMap,pe=new WeakSet,me=function(){var e;const t=(null==(e=Ie(this,fe))?void 0:e.state)??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};Pe(this,de,{...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset})},ge=function(e){Xt.batch((()=>{var t,n,r,i,a,o,s,l;if(Ie(this,he)&&this.hasListeners()){const c=Ie(this,de).variables,u=Ie(this,de).context;"success"===(null==e?void 0:e.type)?(null==(n=(t=Ie(this,he)).onSuccess)||n.call(t,e.data,c,u),null==(i=(r=Ie(this,he)).onSettled)||i.call(r,e.data,null,c,u)):"error"===(null==e?void 0:e.type)&&(null==(o=(a=Ie(this,he)).onError)||o.call(a,e.error,c,u),null==(l=(s=Ie(this,he)).onSettled)||l.call(s,void 0,e.error,c,u))}this.listeners.forEach((e=>{e(Ie(this,de))}))}))},ye),wn=0,xn=[],kn=be,En=kn.__b,Sn=kn.__r,On=kn.diffed,An=kn.__c,Cn=kn.unmount,Tn=kn.__;function Rn(e,t){kn.__h&&kn.__h(yn,e,wn||t),wn=0;var n=yn.__H||(yn.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function In(e){return wn=1,Nn(Qn,e)}function Nn(e,t,n){var r=Rn(gn++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Qn(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=yn,!yn.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var o=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}})),!(!o&&r.__c.props===e)&&(!a||a.call(this,e,t,n))};yn.u=!0;var a=yn.shouldComponentUpdate,o=yn.componentWillUpdate;yn.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},yn.shouldComponentUpdate=i}return r.__N||r.__}function Pn(e,t){var n=Rn(gn++,3);!kn.__s&&Kn(n.__H,t)&&(n.__=e,n.i=t,yn.__H.__h.push(n))}function Dn(e,t){var n=Rn(gn++,4);!kn.__s&&Kn(n.__H,t)&&(n.__=e,n.i=t,yn.__h.push(n))}function Mn(e){return wn=5,Ln((function(){return{current:e}}),[])}function Fn(e,t,n){wn=6,Dn((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 Ln(e,t){var n=Rn(gn++,7);return Kn(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function jn(e,t){return wn=8,Ln((function(){return e}),t)}function Un(e){var t=yn.context[e.__c],n=Rn(gn++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(yn)),t.props.value):e.__}function Bn(e,t){kn.useDebugValue&&kn.useDebugValue(t?t(e):e)}function Vn(){var e=Rn(gn++,11);if(!e.__){for(var t=yn.__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.__}function zn(){for(var e;e=xn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qn),e.__H.__h.forEach($n),e.__H.__h=[]}catch(t){e.__H.__h=[],kn.__e(t,e.__v)}}kn.__b=function(e){yn=null,En&&En(e)},kn.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Tn&&Tn(e,t)},kn.__r=function(e){Sn&&Sn(e),gn=0;var t=(yn=e.__c).__H;t&&(vn===yn?(t.__h=[],yn.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(qn),t.__h.forEach($n),t.__h=[],gn=0)),vn=yn},kn.diffed=function(e){On&&On(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==xn.push(t)&&bn===kn.requestAnimationFrame||((bn=kn.requestAnimationFrame)||Hn)(zn)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),vn=yn=null},kn.__c=function(e,t){t.some((function(e){try{e.__h.forEach(qn),e.__h=e.__h.filter((function(e){return!e.__||$n(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],kn.__e(n,e.__v)}})),An&&An(e,t)},kn.unmount=function(e){Cn&&Cn(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{qn(e)}catch(n){t=n}})),n.__H=void 0,t&&kn.__e(t,n.__v))};var Wn="function"==typeof requestAnimationFrame;function Hn(e){var t,n=function(){clearTimeout(r),Wn&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Wn&&(t=requestAnimationFrame(n))}function qn(e){var t=yn,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),yn=t}function $n(e){var t=yn;e.__c=e.__(),yn=t}function Kn(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Qn(e,t){return"function"==typeof t?t(e):t}function Gn(e,t){for(var n in t)e[n]=t[n];return e}function Yn(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 Jn(e,t){this.props=e,this.context=t}function Xn(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:Yn(this.props,e)}function r(t){return this.shouldComponentUpdate=n,ze(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Jn.prototype=new $e).isPureReactComponent=!0,Jn.prototype.shouldComponentUpdate=function(e,t){return Yn(this.props,e)||Yn(this.state,t)};var Zn=be.__b;be.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Zn&&Zn(e)};var er="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function tr(e){function t(t){var n=Gn({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=er,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var nr=function(e,t){return null==e?null:Ze(Ze(e).map(t))},rr={map:nr,forEach:nr,count:function(e){return e?Ze(e).length:0},only:function(e){var t=Ze(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:Ze},ir=be.__e;be.__e=function(e,t,n,r){if(e.then)for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);ir(e,t,n,r)};var ar=be.unmount;function or(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=Gn({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return or(e,t,n)}))),e}function sr(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return sr(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function lr(){this.__u=0,this.t=null,this.__b=null}function cr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ur(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 ze(n,i)}return i.displayName="Lazy",i.__f=!0,i}function dr(){this.u=null,this.o=null}be.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ar&&ar(e)},(lr.prototype=new $e).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=cr(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(s):s())};n.__R=o;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=sr(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},lr.prototype.componentWillUnmount=function(){this.t=[]},lr.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]=or(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&ze(qe,null,e.fallback);return i&&(i.__u&=-33),[ze(qe,null,t.__a?null:e.children),i]};var fr=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 hr(e){return this.getChildContext=function(){return e.context},e.children}function pr(e){var t=this,n=e.i;t.componentWillUnmount=function(){ct(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},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)}}),ct(ze(hr,{context:t.context},e.__v),t.l)}function mr(e,t){var n=ze(pr,{__v:e,i:t});return n.containerInfo=t,n}(dr.prototype=new $e).__a=function(e){var t=this,n=cr(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),fr(t,e,r)):i()};n?n(a):a()}},dr.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ze(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},dr.prototype.componentDidUpdate=dr.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){fr(e,n,t)}))};var gr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,yr=/^(?: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]/,vr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,br=/[A-Z0-9]/g,_r="undefined"!=typeof document,wr=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function xr(e,t,n){return null==t.__k&&(t.textContent=""),ct(e,t),"function"==typeof n&&n(),e?e.__c:null}function kr(e,t,n){return ut(e,t),"function"==typeof n&&n(),e?e.__c:null}$e.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty($e.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Er=be.event;function Sr(){}function Or(){return this.cancelBubble}function Ar(){return this.defaultPrevented}be.event=function(e){return Er&&(e=Er(e)),e.persist=Sr,e.isPropagationStopped=Or,e.isDefaultPrevented=Ar,e.nativeEvent=e};var Cr,Tr={enumerable:!1,configurable:!0,get:function(){return this.class}},Rr=be.vnode;be.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var a in t){var o=t[a];if(!("value"===a&&"defaultValue"in t&&null==o||_r&&"children"===a&&"noscript"===n||"class"===a||"className"===a)){var s=a.toLowerCase();"defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===o?o="":"translate"===s&&"no"===o?o=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?a="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||wr(t.type)?"onfocus"===s?a="onfocusin":"onblur"===s?a="onfocusout":vr.test(a)&&(a=s):s=a="oninput":i&&yr.test(a)?a=a.replace(br,"-$&").toLowerCase():null===o&&(o=void 0),"oninput"===s&&r[a=s]&&(a="oninputCapture"),r[a]=o}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=Ze(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=Ze(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",Tr)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=gr,Rr&&Rr(e)};var Ir=be.__r;be.__r=function(e){Ir&&Ir(e),Cr=e.__c};var Nr=be.diffed;be.diffed=function(e){Nr&&Nr(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),Cr=null};var Pr={ReactCurrentDispatcher:{current:{readContext:function(e){return Cr.__n[e.__c].props.value},useCallback:jn,useContext:Un,useDebugValue:Bn,useDeferredValue:qr,useEffect:Pn,useId:Vn,useImperativeHandle:Fn,useInsertionEffect:Kr,useLayoutEffect:Dn,useMemo:Ln,useReducer:Nn,useRef:Mn,useState:In,useSyncExternalStore:Gr,useTransition:$r}}};function Dr(e){return ze.bind(null,e)}function Mr(e){return!!e&&e.$$typeof===gr}function Fr(e){return Mr(e)&&e.type===qe}function Lr(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function jr(e){return Mr(e)?dt.apply(null,arguments):e}function Ur(e){return!!e.__k&&(ct(null,e),!0)}function Br(e){return e&&(e.base||1===e.nodeType&&e)||null}var Vr=function(e,t){return e(t)},zr=function(e,t){return e(t)},Wr=qe;function Hr(e){e()}function qr(e){return e}function $r(){return[!1,Hr]}var Kr=Dn,Qr=Mr;function Gr(e,t){var n=t(),r=In({h:{__:n,v:t}}),i=r[0].h,a=r[1];return Dn((function(){i.__=n,i.v=t,Yr(i)&&a({h:i})}),[e,n,t]),Pn((function(){return Yr(i)&&a({h:i}),e((function(){Yr(i)&&a({h:i})}))}),[e]),n}function Yr(e){var t,n,r=e.v,i=e.__;try{var a=r();return!((t=i)===(n=a)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(o){return!0}}var Jr={useState:In,useId:Vn,useReducer:Nn,useEffect:Pn,useLayoutEffect:Dn,useInsertionEffect:Kr,useTransition:$r,useDeferredValue:qr,useSyncExternalStore:Gr,startTransition:Hr,useRef:Mn,useImperativeHandle:Fn,useMemo:Ln,useCallback:jn,useContext:Un,useDebugValue:Bn,version:"17.0.2",Children:rr,render:xr,hydrate:kr,unmountComponentAtNode:Ur,createPortal:mr,createElement:ze,createContext:ft,createFactory:Dr,cloneElement:jr,createRef:He,Fragment:qe,isValidElement:Mr,isElement:Qr,isFragment:Fr,isMemo:Lr,findDOMNode:Br,Component:$e,PureComponent:Jn,memo:Xn,forwardRef:tr,flushSync:zr,unstable_batchedUpdates:Vr,StrictMode:Wr,Suspense:lr,SuspenseList:dr,lazy:ur,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pr};const Xr=Object.freeze(Object.defineProperty({__proto__:null,Children:rr,Component:$e,Fragment:qe,PureComponent:Jn,StrictMode:Wr,Suspense:lr,SuspenseList:dr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pr,cloneElement:jr,createContext:ft,createElement:ze,createFactory:Dr,createPortal:mr,createRef:He,default:Jr,findDOMNode:Br,flushSync:zr,forwardRef:tr,hydrate:kr,isElement:Qr,isFragment:Fr,isMemo:Lr,isValidElement:Mr,lazy:ur,memo:Xn,render:xr,startTransition:Hr,unmountComponentAtNode:Ur,unstable_batchedUpdates:Vr,useCallback:jn,useContext:Un,useDebugValue:Bn,useDeferredValue:qr,useEffect:Pn,useErrorBoundary:function(e){var t=Rn(gn++,10),n=In();return t.__=e,yn.componentDidCatch||(yn.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:Vn,useImperativeHandle:Fn,useInsertionEffect:Kr,useLayoutEffect:Dn,useMemo:Ln,useReducer:Nn,useRef:Mn,useState:In,useSyncExternalStore:Gr,useTransition:$r,version:"17.0.2"},Symbol.toStringTag,{value:"Module"}));var Zr=ft(void 0),ei=e=>{const t=Un(Zr);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},ti=({client:e,children:t})=>(Pn((()=>(e.mount(),()=>{e.unmount()})),[e]),xt(Zr.Provider,{value:e,children:t})),ni=ft(!1),ri=()=>Un(ni);ni.Provider;var ii=ft(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),ai=()=>Un(ii);function oi(e,t){return"function"==typeof e?e(...t):!!e}function si(){}var li,ci,ui,di,fi=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},hi=e=>{Pn((()=>{e.clearReset()}),[e])},pi=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&oi(n,[e.error,r]),mi=e=>{e.suspense&&("number"!=typeof e.staleTime&&(e.staleTime=1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))},gi=(e,t)=>(null==e?void 0:e.suspense)&&t.isPending,yi=(e,t,n)=>t.fetchOptimistic(e).catch((()=>{n.clearReset()}));function vi(e,t){return function(e,t){var n,r,i,a;const o=ei(),s=ri(),l=ai(),c=o.defaultQueryOptions(e);null==(r=null==(n=o.getDefaultOptions().queries)?void 0:n._experimental_beforeQuery)||r.call(n,c),c._optimisticResults=s?"isRestoring":"optimistic",mi(c),fi(c,l),hi(l);const[u]=In((()=>new t(o,c))),d=u.getOptimisticResult(c);if(Gr(jn((e=>{const t=s?()=>{}:u.subscribe(Xt.batchCalls(e));return u.updateResult(),t}),[u,s]),(()=>u.getCurrentResult())),Pn((()=>{u.setOptions(c,{listeners:!1})}),[c,u]),gi(c,d))throw yi(c,u,l);if(pi({result:d,errorResetBoundary:l,throwOnError:c.throwOnError,query:o.getQueryCache().get(c.queryHash)}))throw d.error;return null==(a=null==(i=o.getDefaultOptions().queries)?void 0:i._experimental_afterQuery)||a.call(i,c,d),c.notifyOnChangeProps?d:u.trackResult(d)}(e,dn)}function bi(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=bi(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _i(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=bi(e))&&(r&&(r+=" "),r+=t);return r}
|
|
2
2
|
/**
|
|
3
3
|
* @remix-run/router v1.19.1
|
|
4
4
|
*
|
|
@@ -8,7 +8,7 @@ var e,t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,y,v,b,_,w,x,k,E,S,O,C,A,T,R,I,N,P,D,M,F,L,
|
|
|
8
8
|
* LICENSE.md file in the root directory of this source tree.
|
|
9
9
|
*
|
|
10
10
|
* @license MIT
|
|
11
|
-
*/function wi(){return wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wi.apply(this,arguments)}function xi(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:i=!1}=e;t=n.map(((e,t)=>u(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let
|
|
11
|
+
*/function wi(){return wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wi.apply(this,arguments)}function xi(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:i=!1}=e;t=n.map(((e,t)=>u(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let a=l(null==r?t.length-1:r),o=li.Pop,s=null;function l(e){return Math.min(Math.max(e,0),t.length-1)}function c(){return t[a]}function u(e,n,r){void 0===n&&(n=null);let i=function(e,t,n,r){void 0===n&&(n=null);let i=wi({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?Oi(t):t,{state:n,key:t&&t.key||r||Si()});return i}(t?c().pathname:"/",e,n,r);return Ei("/"===i.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),i}function d(e){return"string"==typeof e?e:function(e){let{pathname:t="/",search:n="",hash:r=""}=e;n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n);r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r);return t}(e)}return{get index(){return a},get action(){return o},get location(){return c()},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?Oi(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){o=li.Push;let r=u(e,n);a+=1,t.splice(a,t.length,r),i&&s&&s({action:o,location:r,delta:1})},replace(e,n){o=li.Replace;let r=u(e,n);t[a]=r,i&&s&&s({action:o,location:r,delta:0})},go(e){o=li.Pop;let n=l(a+e),r=t[n];a=n,s&&s({action:o,location:r,delta:e})},listen:e=>(s=e,()=>{s=null})}}function ki(e,t){if(!1===e||null==e)throw new Error(t)}function Ei(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Si(){return Math.random().toString(36).substr(2,8)}function Oi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Ai(e,t,n){return void 0===n&&(n="/"),function(e,t,n,r){let i="string"==typeof t?Oi(t):t,a=Vi(i.pathname||"/",n);if(null==a)return null;let o=Ci(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let s=null;for(let l=0;null==s&&l<o.length;++l){let e=Bi(a);s=ji(o[l],e,r)}return s}(e,t,n,!1)}function Ci(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,a)=>{let o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(ki(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let s=qi([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(ki(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),Ci(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Li(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of Ti(e.path))i(e,t,r);else i(e,t)})),t}function Ti(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return i?[a,""]:[a];let o=Ti(r.join("/")),s=[];return s.push(...o.map((e=>""===e?a:[a,e].join("/")))),i&&s.push(...o),s.map((t=>e.startsWith("/")&&""===t?"/":t))}(ci=li||(li={})).Pop="POP",ci.Push="PUSH",ci.Replace="REPLACE",(di=ui||(ui={})).data="data",di.deferred="deferred",di.redirect="redirect",di.error="error";const Ri=/^:[\w-]+$/,Ii=3,Ni=2,Pi=1,Di=10,Mi=-2,Fi=e=>"*"===e;function Li(e,t){let n=e.split("/"),r=n.length;return n.some(Fi)&&(r+=Mi),t&&(r+=Ni),n.filter((e=>!Fi(e))).reduce(((e,t)=>e+(Ri.test(t)?Ii:""===t?Pi:Di)),r)}function ji(e,t,n){let{routesMeta:r}=e,i={},a="/",o=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,c="/"===a?t:t.slice(a.length)||"/",u=Ui({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),d=e.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=Ui({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:qi([a,u.pathname]),pathnameBase:$i(qi([a,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(a=qi([a,u.pathnameBase]))}return o}function Ui(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);Ei("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let a=new RegExp(i,t?void 0:"i");return[a,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:o,pattern:e}}function Bi(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return Ei(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function Vi(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function zi(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function Wi(e,t){let n=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function Hi(e,t,n,r){let i;void 0===r&&(r=!1),"string"==typeof e?i=Oi(e):(i=wi({},e),ki(!i.pathname||!i.pathname.includes("?"),zi("?","pathname","search",i)),ki(!i.pathname||!i.pathname.includes("#"),zi("#","pathname","hash",i)),ki(!i.search||!i.search.includes("#"),zi("#","search","hash",i)));let a,o=""===e||""===i.pathname,s=o?"/":i.pathname;if(null==s)a=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof e?Oi(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:Ki(r),hash:Qi(i)}}(i,a),c=s&&"/"!==s&&s.endsWith("/"),u=(o||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}const qi=e=>e.join("/").replace(/\/\/+/g,"/"),$i=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ki=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Qi=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";const Gi=["post","put","patch","delete"];new Set(Gi);const Yi=["get",...Gi];
|
|
12
12
|
/**
|
|
13
13
|
* React Router v6.26.1
|
|
14
14
|
*
|
|
@@ -19,8 +19,8 @@ var e,t,n,r,i,o,a,s,l,c,u,d,f,h,p,m,g,y,v,b,_,w,x,k,E,S,O,C,A,T,R,I,N,P,D,M,F,L,
|
|
|
19
19
|
*
|
|
20
20
|
* @license MIT
|
|
21
21
|
*/
|
|
22
|
-
function Ji(){return Ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ji.apply(this,arguments)}new Set(Yi);const Xi=ft(null),Zi=ft(null),eo=ft(null),to=ft(null),no=ft({outlet:null,matches:[],isDataRoute:!1}),ro=ft(null);function io(){return null!=Un(to)}function oo(){return io()||ki(!1),Un(to).location}function ao(e){Un(eo).static||Dn(e)}function so(){let{isDataRoute:e}=Un(no);return e?function(){let{router:e}=function(){let e=Un(Xi);return e||ki(!1),e}(po.UseNavigateStable),t=go(mo.UseNavigateStable),n=Mn(!1);return ao((()=>{n.current=!0})),jn((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,Ji({fromRouteId:t},i)))}),[e,t])}():function(){io()||ki(!1);let e=Un(Xi),{basename:t,future:n,navigator:r}=Un(eo),{matches:i}=Un(no),{pathname:o}=oo(),a=JSON.stringify(Wi(i,n.v7_relativeSplatPath)),s=Mn(!1);return ao((()=>{s.current=!0})),jn((function(n,i){if(void 0===i&&(i={}),!s.current)return;if("number"==typeof n)return void r.go(n);let l=Hi(n,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:qi([t,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)}),[t,r,a,o,e])}()}function lo(e,t){return function(e,t,n,r){io()||ki(!1);let{navigator:i}=Un(eo),{matches:o}=Un(no),a=o[o.length-1],s=a?a.params:{};!a||a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c,u=oo();if(t){var d;let e="string"==typeof t?Oi(t):t;"/"===l||(null==(d=e.pathname)?void 0:d.startsWith(l))||ki(!1),c=e}else c=u;let f=c.pathname||"/",h=f;if("/"!==l){let e=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let p=Ci(e,{pathname:h}),m=function(e,t,n,r){var i;void 0===t&&(t=[]);void 0===n&&(n=null);void 0===r&&(r=null);if(null==e){var o;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(o=r)&&o.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let a=e,s=null==(i=n)?void 0:i.errors;if(null!=s){let e=a.findIndex((e=>e.route.id&&void 0!==(null==s?void 0:s[e.route.id])));e>=0||ki(!1),a=a.slice(0,Math.min(a.length,e+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<a.length;u++){let e=a[u];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(c=u),e.route.id){let{loaderData:t,errors:r}=n,i=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||i){l=!0,a=c>=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight(((e,r,i)=>{let o,u=!1,d=null,f=null;n&&(o=s&&r.route.id?s[r.route.id]:void 0,d=r.route.errorElement||uo,l&&(c<0&&0===i?(u=!0,f=null):c===i&&(u=!0,f=r.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,i+1)),p=()=>{let t;return t=o?d:u?f:r.route.Component?ze(r.route.Component,null):r.route.element?r.route.element:e,ze(ho,{match:r,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?ze(fo,{location:n.location,revalidation:n.revalidation,component:d,error:o,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()}),null)}(p&&p.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:qi([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:qi([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,n,r);if(t&&m)return ze(to.Provider,{value:{location:Ji({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:li.Pop}},m);return m}(e,t)}function co(){let e=function(){var e;let t=Un(ro),n=function(){let e=Un(Zi);return e||ki(!1),e}(mo.UseRouteError),r=go(mo.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return ze(qe,null,ze("h2",null,"Unexpected Application Error!"),ze("h3",{style:{fontStyle:"italic"}},t),n?ze("pre",{style:r},n):null,null)}const uo=ze(co,null);class fo extends Ke{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?ze(no.Provider,{value:this.props.routeContext},ze(ro.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ho(e){let{routeContext:t,match:n,children:r}=e,i=Un(Xi);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),ze(no.Provider,{value:t},r)}var po=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(po||{}),mo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(mo||{});function go(e){let t=function(){let e=Un(no);return e||ki(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||ki(!1),n.route.id}const yo=Xr.startTransition;function vo(e){let{basename:t,children:n,initialEntries:r,initialIndex:i,future:o}=e,a=Mn();null==a.current&&(a.current=xi({initialEntries:r,initialIndex:i,v5Compat:!0}));let s=a.current,[l,c]=In({action:s.action,location:s.location}),{v7_startTransition:u}=o||{},d=jn((e=>{u&&yo?yo((()=>c(e))):c(e)}),[c,u]);return Dn((()=>s.listen(d)),[s,d]),ze(wo,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:o})}function bo(e){let{to:t,replace:n,state:r,relative:i}=e;io()||ki(!1);let{future:o,static:a}=Un(eo),{matches:s}=Un(no),{pathname:l}=oo(),c=so(),u=Hi(t,Wi(s,o.v7_relativeSplatPath),l,"path"===i),d=JSON.stringify(u);return Pn((()=>c(JSON.parse(d),{replace:n,state:r,relative:i})),[c,d,i,n,r]),null}function _o(e){ki(!1)}function wo(e){let{basename:t="/",children:n=null,location:r,navigationType:i=li.Pop,navigator:o,static:a=!1,future:s}=e;io()&&ki(!1);let l=t.replace(/^\/*/,"/"),c=Ln((()=>({basename:l,navigator:o,static:a,future:Ji({v7_relativeSplatPath:!1},s)})),[l,s,o,a]);"string"==typeof r&&(r=Oi(r));let{pathname:u="/",search:d="",hash:f="",state:h=null,key:p="default"}=r,m=Ln((()=>{let e=Vi(u,l);return null==e?null:{location:{pathname:e,search:d,hash:f,state:h,key:p},navigationType:i}}),[l,u,d,f,h,p,i]);return null==m?null:ze(eo.Provider,{value:c},ze(to.Provider,{children:n,value:m}))}function xo(e){let{children:t,location:n}=e;return lo(ko(t),n)}function ko(e,t){void 0===t&&(t=[]);let n=[];return rr.forEach(e,((e,r)=>{if(!Mr(e))return;let i=[...t,r];if(e.type===qe)return void n.push.apply(n,ko(e.props.children,i));e.type!==_o&&ki(!1),e.props.index&&e.props.children&&ki(!1);let o={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=ko(e.props.children,i)),n.push(o)})),n}function Eo(){return Eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Eo.apply(null,arguments)}function So(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Oo(e,t){return(Oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Co(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Oo(e,t)}function Ao(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}new Promise((()=>{}));var To={exports:{}};function Ro(){}function Io(){}Io.resetWarningCache=Ro;To.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Io,resetWarningCache:Ro};return n.PropTypes=n,n}();const No=Ao(To.exports);function Po(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Do=!1,Mo=Jr.createContext(null);var Fo=function(e){return e.scrollTop},Lo="unmounted",jo="exited",Uo="entering",Bo="entered",Vo="exiting",zo=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=jo,r.appearStatus=Uo):i=Bo:i=t.unmountOnExit||t.mountOnEnter?Lo:jo,r.state={status:i},r.nextCallback=null,r}Co(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Lo?{status:jo}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Uo&&n!==Bo&&(t=Uo):n!==Uo&&n!==Bo||(t=Vo)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Uo){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Jr.findDOMNode(this);n&&Fo(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===jo&&this.setState({status:Lo})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Jr.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||Do?this.safeSetState({status:Bo},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:Uo},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Bo},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Jr.findDOMNode(this);t&&!Do?(this.props.onExit(r),this.safeSetState({status:Vo},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:jo},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:jo},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Jr.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Lo)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=So(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Jr.createElement(Mo.Provider,{value:null},"function"==typeof n?n(e,r):Jr.cloneElement(Jr.Children.only(n),r))},t}(Jr.Component);function Wo(){}zo.contextType=Mo,zo.propTypes={},zo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wo,onEntering:Wo,onEntered:Wo,onExit:Wo,onExiting:Wo,onExited:Wo},zo.UNMOUNTED=Lo,zo.EXITED=jo,zo.ENTERING=Uo,zo.ENTERED=Bo,zo.EXITING=Vo;var Ho=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Po(n.className,r):n.setAttribute("class",Po(n.className&&n.className.baseVal||"",r)));var n,r}))},qo=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}Co(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&Fo(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&Ho(e,r),i&&Ho(e,i),o&&Ho(e,o)},n.render=function(){var e=this.props;e.classNames;var t=So(e,["classNames"]);return Jr.createElement(zo,Eo({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(Jr.Component);function Ko(e,t){var n=Object.create(null);return e&&rr.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Mr(e)?t(e):e}(e)})),n}function $o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Qo(e,t,n){var r=Ko(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var c=i[l][r];s[i[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(Mr(a)){var s=o in t,l=o in r,c=t[o],u=Mr(c)&&!c.props.in;!l||s&&!u?l||!s||u?l&&s&&Mr(c)&&(i[o]=jr(a,{onExited:n.bind(null,a),in:c.props.in,exit:$o(a,"exit",e),enter:$o(a,"enter",e)})):i[o]=jr(a,{in:!1}):i[o]=jr(a,{onExited:n.bind(null,a),in:!0,exit:$o(a,"exit",e),enter:$o(a,"enter",e)})}})),i}qo.defaultProps={classNames:""},qo.propTypes={};var Go=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Yo=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Co(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,Ko(n.children,(function(e){return jr(e,{onExited:r.bind(null,e),in:!0,appear:$o(e,"appear",n),enter:$o(e,"enter",n),exit:$o(e,"exit",n)})}))):Qo(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=Ko(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Eo({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=So(e,["component","childFactory"]),i=this.state.contextValue,o=Go(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?Jr.createElement(Mo.Provider,{value:i},o):Jr.createElement(Mo.Provider,{value:i},Jr.createElement(t,r,o))},t}(Jr.Component);Yo.propTypes={},Yo.defaultProps={component:"div",childFactory:function(e){return e}};const Jo=()=>{};let Xo={},Zo={},ea=null,ta={mark:Jo,measure:Jo};try{"undefined"!=typeof window&&(Xo=window),"undefined"!=typeof document&&(Zo=document),"undefined"!=typeof MutationObserver&&(ea=MutationObserver),"undefined"!=typeof performance&&(ta=performance)}catch(Zg){}const{userAgent:na=""}=Xo.navigator||{},ra=Xo,ia=Zo,oa=ea,aa=ta;ra.document;const sa=!!ia.documentElement&&!!ia.head&&"function"==typeof ia.addEventListener&&"function"==typeof ia.createElement,la=~na.indexOf("MSIE")||~na.indexOf("Trident/");var ca="classic",ua="duotone",da="sharp",fa="sharp-duotone",ha=[ca,ua,da,fa],pa={fak:"kit","fa-kit":"kit"},ma={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"},ga={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},ya=[1,2,3,4,5,6,7,8,9,10],va=ya.concat([11,12,13,14,15,16,17,18,19,20]),ba={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},_a=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",ba.GROUP,ba.SWAP_OPACITY,ba.PRIMARY,ba.SECONDARY].concat(ya.map((e=>"".concat(e,"x")))).concat(va.map((e=>"w-".concat(e)))),wa={kit:"fak"},xa={"kit-duotone":"fakd"};const ka="___FONT_AWESOME___",Ea=16,Sa="fa",Oa="svg-inline--fa",Ca="data-fa-i2svg",Aa="data-fa-pseudo-element",Ta="data-fa-pseudo-element-pending",Ra="data-prefix",Ia="data-icon",Na="fontawesome-i2svg",Pa="async",Da=["HTML","HEAD","STYLE","SCRIPT"],Ma=(()=>{try{return!0}catch(e){return!1}})(),Fa=[ca,da,fa];function La(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[ca]})}const ja={...ga};ja[ca]={...ga[ca],...pa,...ma};const Ua=La(ja),Ba={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};Ba[ca]={...Ba[ca],...wa,...xa};const Va=La(Ba),za={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};za[ca]={...za[ca],fak:"fa-kit"};const Wa=La(za),Ha={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};Ha[ca]={...Ha[ca],"fa-kit":"fak"};const qa=La(Ha),Ka=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,$a="fa-layers-text",Qa=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i;La({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}});const Ga=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ya=ba,Ja=new Set;Object.keys(Va[ca]).map(Ja.add.bind(Ja)),Object.keys(Va[da]).map(Ja.add.bind(Ja)),Object.keys(Va[fa]).map(Ja.add.bind(Ja));const Xa=["kit",..._a],Za=ra.FontAwesomeConfig||{};if(ia&&"function"==typeof ia.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((e=>{let[t,n]=e;const r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=ia.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=r&&(Za[n]=r)}))}const es={styleDefault:"solid",familyDefault:"classic",cssPrefix:Sa,replacementClass:Oa,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Za.familyPrefix&&(Za.cssPrefix=Za.familyPrefix);const ts={...es,...Za};ts.autoReplaceSvg||(ts.observeMutations=!1);const ns={};Object.keys(es).forEach((e=>{Object.defineProperty(ns,e,{enumerable:!0,set:function(t){ts[e]=t,rs.forEach((e=>e(ns)))},get:function(){return ts[e]}})})),Object.defineProperty(ns,"familyPrefix",{enumerable:!0,set:function(e){ts.cssPrefix=e,rs.forEach((e=>e(ns)))},get:function(){return ts.cssPrefix}}),ra.FontAwesomeConfig=ns;const rs=[];const is=Ea,os={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};const as="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ss(){let e=12,t="";for(;e-- >0;)t+=as[62*Math.random()|0];return t}function ls(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function cs(e){return e.classList?ls(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function us(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ds(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function fs(e){return e.size!==os.size||e.x!==os.x||e.y!==os.y||e.rotate!==os.rotate||e.flipX||e.flipY}var hs=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function ps(){const e=Sa,t=Oa,n=ns.cssPrefix,r=ns.replacementClass;let i=hs;if(n!==e||r!==t){const o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let ms=!1;function gs(){ns.autoAddCss&&!ms&&(!function(e){if(!e||!sa)return;const t=ia.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=ia.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const e=n[i],t=(e.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(t)>-1&&(r=e)}ia.head.insertBefore(t,r)}(ps()),ms=!0)}var ys={mixout:()=>({dom:{css:ps,insertCss:gs}}),hooks:()=>({beforeDOMElementCreation(){gs()},beforeI2svg(){gs()}})};const vs=ra||{};vs[ka]||(vs[ka]={}),vs[ka].styles||(vs[ka].styles={}),vs[ka].hooks||(vs[ka].hooks={}),vs[ka].shims||(vs[ka].shims=[]);var bs=vs[ka];const _s=[],ws=function(){ia.removeEventListener("DOMContentLoaded",ws),xs=1,_s.map((e=>e()))};let xs=!1;function ks(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"==typeof e?us(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(us(e[n]),'" ')),"").trim()}(n),">").concat(r.map(ks).join(""),"</").concat(t,">")}function Es(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}sa&&(xs=(ia.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ia.readyState),xs||ia.addEventListener("DOMContentLoaded",ws));var Ss=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,c=t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)a=c(a,e[o=s[i]],o,e);return a};function Os(e){const t=function(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function Cs(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function As(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,i=Cs(t);"function"!=typeof bs.hooks.addPack||r?bs.styles[e]={...bs.styles[e]||{},...i}:bs.hooks.addPack(e,Cs(t)),"fas"===e&&As("fa",t)}const{styles:Ts,shims:Rs}=bs,Is={[ca]:Object.values(Wa[ca]),[da]:Object.values(Wa[da]),[fa]:Object.values(Wa[fa])};let Ns=null,Ps={},Ds={},Ms={},Fs={},Ls={};const js={[ca]:Object.keys(Ua[ca]),[da]:Object.keys(Ua[da]),[fa]:Object.keys(Ua[fa])};function Us(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r!==e||""===i||(o=i,~Xa.indexOf(o))?null:i;var o}const Bs=()=>{const e=e=>Ss(Ts,((t,n,r)=>(t[r]=Ss(n,e,{}),t)),{});Ps=e(((e,t,n)=>{if(t[3]&&(e[t[3]]=n),t[2]){t[2].filter((e=>"number"==typeof e)).forEach((t=>{e[t.toString(16)]=n}))}return e})),Ds=e(((e,t,n)=>{if(e[n]=n,t[2]){t[2].filter((e=>"string"==typeof e)).forEach((t=>{e[t]=n}))}return e})),Ls=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in Ts||ns.autoFetchSvg,n=Ss(Rs,((e,n)=>{const r=n[0];let i=n[1];const o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});Ms=n.names,Fs=n.unicodes,Ns=$s(ns.styleDefault,{family:ns.familyDefault})};var Vs;function zs(e,t){return(Ps[e]||{})[t]}function Ws(e,t){return(Ls[e]||{})[t]}function Hs(e){return Ms[e]||{prefix:null,iconName:null}}function qs(){return Ns}Vs=e=>{Ns=$s(e.styleDefault,{family:ns.familyDefault})},rs.push(Vs),Bs();const Ks=()=>({prefix:null,iconName:null,rest:[]});function $s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=ca}=t,r=Ua[n][e],i=Va[n][e]||Va[n][r],o=e in bs.styles?e:null;return i||o||null}const Qs={[ca]:Object.keys(Wa[ca]),[da]:Object.keys(Wa[da]),[fa]:Object.keys(Wa[fa])};function Gs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t,r={[ca]:"".concat(ns.cssPrefix,"-").concat(ca),[da]:"".concat(ns.cssPrefix,"-").concat(da),[fa]:"".concat(ns.cssPrefix,"-").concat(fa)};let i=null,o=ca;const a=ha.filter((e=>e!==ua));a.forEach((t=>{(e.includes(r[t])||e.some((e=>Qs[t].includes(e))))&&(o=t)}));const s=e.reduce(((e,t)=>{const s=Us(ns.cssPrefix,t);if(Ts[t]?(t=Is[o].includes(t)?qa[o][t]:t,i=t,e.prefix=t):js[o].indexOf(t)>-1?(i=t,e.prefix=$s(t,{family:o})):s?e.iconName=s:t===ns.replacementClass||a.some((e=>t===r[e]))||e.rest.push(t),!n&&e.prefix&&e.iconName){const t="fa"===i?Hs(e.iconName):{},n=Ws(e.prefix,e.iconName);t.prefix&&(i=null),e.iconName=t.iconName||n||e.iconName,e.prefix=t.prefix||e.prefix,"far"!==e.prefix||Ts.far||!Ts.fas||ns.autoFetchSvg||(e.prefix="fas")}return e}),Ks());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||o!==da||!Ts.fass&&!ns.autoFetchSvg||(s.prefix="fass",s.iconName=Ws(s.prefix,s.iconName)||s.iconName),s.prefix||o!==fa||!Ts.fasds&&!ns.autoFetchSvg||(s.prefix="fasds",s.iconName=Ws(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==i||(s.prefix=qs()||"fas"),s}let Ys=[],Js={};const Xs={},Zs=Object.keys(Xs);function el(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(Js[e]||[]).forEach((e=>{t=e.apply(null,[t,...r])})),t}function tl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Js[e]||[]).forEach((e=>{e.apply(null,n)}))}function nl(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Xs[e]?Xs[e].apply(null,t):void 0}function rl(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||qs();if(t)return t=Ws(n,t)||t,Es(il.definitions,n,t)||Es(bs.styles,n,t)}const il=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(this._pullDefinitions,{});Object.keys(r).forEach((e=>{this.definitions[e]={...this.definitions[e]||{},...r[e]},As(e,r[e]);const t=Wa[ca][e];t&&As(t,r[e]),Bs()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:i,icon:o}=n[t],a=o[2];e[r]||(e[r]={}),a.length>0&&a.forEach((t=>{"string"==typeof t&&(e[r][t]=o)})),e[r][i]=o})),e}},ol={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return sa?(tl("beforeI2svg",e),nl("pseudoElements2svg",e),nl("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var n;!1===ns.autoReplaceSvg&&(ns.autoReplaceSvg=!0),ns.observeMutations=!0,n=()=>{sl({autoReplaceSvgRoot:t}),tl("watch",e)},sa&&(xs?setTimeout(n,0):_s.push(n))}},al={noAuto:()=>{ns.autoReplaceSvg=!1,ns.observeMutations=!1,tl("noAuto")},config:ns,dom:ol,parse:{icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ws(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=$s(e[0]);return{prefix:n,iconName:Ws(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ns.cssPrefix,"-"))>-1||e.match(Ka))){const t=Gs(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||qs(),iconName:Ws(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=qs();return{prefix:t,iconName:Ws(t,e)||e}}}},library:il,findIconDefinition:rl,toHtml:ks},sl=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=ia}=e;(Object.keys(bs.styles).length>0||ns.autoFetchSvg)&&sa&&ns.autoReplaceSvg&&al.dom.i2svg({node:t})};function ll(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>ks(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!sa)return;const t=ia.createElement("div");return t.innerHTML=e.html,t.children}}),e}function cl(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:o,symbol:a,title:s,maskId:l,titleId:c,extra:u,watchable:d=!1}=e,{width:f,height:h}=n.found?n:t,p="fak"===r,m=[ns.replacementClass,i?"".concat(ns.cssPrefix,"-").concat(i):""].filter((e=>-1===u.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(u.classes).join(" ");let g={children:[],attributes:{...u.attributes,"data-prefix":r,"data-icon":i,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(h)}};const y=p&&!~u.classes.indexOf("fa-fw")?{width:"".concat(f/h*16*.0625,"em")}:{};d&&(g.attributes[Ca]=""),s&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(c||ss())},children:[s]}),delete g.attributes.title);const v={...g,prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:o,symbol:a,styles:{...y,...u.styles}},{children:b,attributes:_}=n.found&&t.found?nl("generateAbstractMask",v)||{children:[],attributes:{}}:nl("generateAbstractIcon",v)||{children:[],attributes:{}};return v.children=b,v.attributes=_,a?function(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:o}=e;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...i,id:!0===o?"".concat(t,"-").concat(ns.cssPrefix,"-").concat(n):o},children:r}]}]}(v):function(e){let{children:t,main:n,mask:r,attributes:i,styles:o,transform:a}=e;if(fs(a)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};i.style=ds({...o,"transform-origin":"".concat(r.x+a.x/16,"em ").concat(r.y+a.y/16,"em")})}return[{tag:"svg",attributes:i,children:t}]}(v)}function ul(e){const{content:t,width:n,height:r,transform:i,title:o,extra:a,watchable:s=!1}=e,l={...a.attributes,...o?{title:o}:{},class:a.classes.join(" ")};s&&(l[Ca]="");const c={...a.styles};fs(i)&&(c.transform=function(e){let{transform:t,width:n=Ea,height:r=Ea,startCentered:i=!1}=e,o="";return o+=i&&la?"translate(".concat(t.x/is-n/2,"em, ").concat(t.y/is-r/2,"em) "):i?"translate(calc(-50% + ".concat(t.x/is,"em), calc(-50% + ").concat(t.y/is,"em)) "):"translate(".concat(t.x/is,"em, ").concat(t.y/is,"em) "),o+="scale(".concat(t.size/is*(t.flipX?-1:1),", ").concat(t.size/is*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const u=ds(c);u.length>0&&(l.style=u);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}const{styles:dl}=bs;function fl(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return i=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ns.cssPrefix,"-").concat(Ya.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ns.cssPrefix,"-").concat(Ya.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ns.cssPrefix,"-").concat(Ya.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const hl={found:!1,width:512,height:512};function pl(e,t){let n=t;return"fa"===t&&null!==ns.styleDefault&&(t=qs()),new Promise(((r,i)=>{if("fa"===n){const n=Hs(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&dl[t]&&dl[t][e]){return r(fl(dl[t][e]))}!function(e,t){Ma||ns.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r({...hl,icon:ns.showMissingIcons&&e&&nl("missingIconAbstract")||{}})}))}const ml=()=>{},gl=ns.measurePerformance&&aa&&aa.mark&&aa.measure?aa:{mark:ml,measure:ml},yl='FA "6.6.0"',vl=e=>{gl.mark("".concat(yl," ").concat(e," ends")),gl.measure("".concat(yl," ").concat(e),"".concat(yl," ").concat(e," begins"),"".concat(yl," ").concat(e," ends"))};var bl={begin:e=>(gl.mark("".concat(yl," ").concat(e," begins")),()=>vl(e)),end:vl};const _l=()=>{};function wl(e){return"string"==typeof(e.getAttribute?e.getAttribute(Ca):null)}function xl(e){return ia.createElementNS("http://www.w3.org/2000/svg",e)}function kl(e){return ia.createElement(e)}function El(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?xl:kl)}=t;if("string"==typeof e)return ia.createTextNode(e);const r=n(e.tag);Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])}));return(e.children||[]).forEach((function(e){r.appendChild(El(e,{ceFn:n}))})),r}const Sl={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(El(e),t)})),null===t.getAttribute(Ca)&&ns.keepOriginalSource){let e=ia.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~cs(t).indexOf(ns.replacementClass))return Sl.replace(e);const r=new RegExp("".concat(ns.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===ns.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const i=n.map((e=>ks(e))).join("\n");t.setAttribute(Ca,""),t.innerHTML=i}};function Ol(e){e()}function Cl(e,t){const n="function"==typeof t?t:_l;if(0===e.length)n();else{let t=Ol;ns.mutateApproach===Pa&&(t=ra.requestAnimationFrame||Ol),t((()=>{const t=!0===ns.autoReplaceSvg?Sl.replace:Sl[ns.autoReplaceSvg]||Sl.replace,r=bl.begin("mutate");e.map(t),r(),n()}))}}let Al=!1;function Tl(){Al=!0}function Rl(){Al=!1}let Il=null;function Nl(e){if(!oa)return;if(!ns.observeMutations)return;const{treeCallback:t=_l,nodeCallback:n=_l,pseudoElementsCallback:r=_l,observeMutationsRoot:i=ia}=e;Il=new oa((e=>{if(Al)return;const i=qs();ls(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!wl(e.addedNodes[0])&&(ns.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&ns.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&wl(e.target)&&~Ga.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(Ra):null,n=e.getAttribute?e.getAttribute(Ia):null;return t&&n}(e.target)){const{prefix:t,iconName:n}=Gs(cs(e.target));e.target.setAttribute(Ra,t||i),n&&e.target.setAttribute(Ia,n)}else(o=e.target)&&o.classList&&o.classList.contains&&o.classList.contains(ns.replacementClass)&&n(e.target);var o}))})),sa&&Il.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Pl(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let i=Gs(cs(e));return i.prefix||(i.prefix=qs()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=(o=i.prefix,a=e.innerText,(Ds[o]||{})[a]||zs(i.prefix,Os(e.innerText)))),!i.iconName&&ns.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i;var o,a}function Dl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=Pl(e),o=function(e){const t=ls(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ns.autoA11y&&(n?t["aria-labelledby"]="".concat(ns.replacementClass,"-title-").concat(r||ss()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=el("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:os,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:o},...a}}const{styles:Ml}=bs;function Fl(e){const t="nest"===ns.autoReplaceSvg?Dl(e,{styleParser:!1}):Dl(e);return~t.extra.classes.indexOf($a)?nl("generateLayersText",e,t):nl("generateSvgReplacementMutation",e,t)}let Ll=new Set;function jl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!sa)return Promise.resolve();const n=ia.documentElement.classList,r=e=>n.add("".concat(Na,"-").concat(e)),i=e=>n.remove("".concat(Na,"-").concat(e)),o=ns.autoFetchSvg?Ll:Fa.map((e=>"fa-".concat(e))).concat(Object.keys(Ml));o.includes("fa")||o.push("fa");const a=[".".concat($a,":not([").concat(Ca,"])")].concat(o.map((e=>".".concat(e,":not([").concat(Ca,"])")))).join(", ");if(0===a.length)return Promise.resolve();let s=[];try{s=ls(e.querySelectorAll(a))}catch(u){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");const l=bl.begin("onTree"),c=s.reduce(((e,t)=>{try{const n=Fl(t);n&&e.push(n)}catch(u){Ma||"MissingIcon"===u.name&&console.error(u)}return e}),[]);return new Promise(((e,n)=>{Promise.all(c).then((n=>{Cl(n,(()=>{r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((e=>{l(),n(e)}))}))}function Ul(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Fl(e).then((e=>{e&&Cl([e],t)}))}Fa.map((e=>{Ll.add("fa-".concat(e))})),Object.keys(Ua[ca]).map(Ll.add.bind(Ll)),Object.keys(Ua[da]).map(Ll.add.bind(Ll)),Object.keys(Ua[fa]).map(Ll.add.bind(Ll)),Ll=[...Ll];const Bl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=os,symbol:r=!1,mask:i=null,maskId:o=null,title:a=null,titleId:s=null,classes:l=[],attributes:c={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:f,icon:h}=e;return ll({type:"icon",...e},(()=>(tl("beforeDOMElementCreation",{iconDefinition:e,params:t}),ns.autoA11y&&(a?c["aria-labelledby"]="".concat(ns.replacementClass,"-title-").concat(s||ss()):(c["aria-hidden"]="true",c.focusable="false")),cl({icons:{main:fl(h),mask:i?fl(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:f,transform:{...os,...n},symbol:r,title:a,maskId:o,titleId:s,extra:{attributes:c,styles:u,classes:l}}))))};var Vl={mixout(){return{icon:(e=Bl,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:rl(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:rl(i||{})),e(r,{...n,mask:i})})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=jl,e.nodeCallback=Ul,e)}),provides(e){e.i2svg=function(e){const{node:t=ia,callback:n=()=>{}}=e;return jl(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:i,prefix:o,transform:a,symbol:s,mask:l,maskId:c,extra:u}=t;return new Promise(((t,d)=>{Promise.all([pl(n,o),l.iconName?pl(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,f]=l;t([e,cl({icons:{main:d,mask:f},prefix:o,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:i,styles:o}=e;const a=ds(o);let s;return a.length>0&&(n.style=a),fs(i)&&(s=nl("generateAbstractTransformGrouping",{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},zl={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return ll({type:"layer"},(()=>{tl("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(ns.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}})},Wl={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:o={}}=t;return ll({type:"counter",content:e},(()=>(tl("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:n,extra:r}=e,i={...r.attributes,...n?{title:n}:{},class:r.classes.join(" ")},o=ds(r.styles);o.length>0&&(i.style=o);const a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:n,extra:{attributes:i,styles:o,classes:["".concat(ns.cssPrefix,"-layers-counter"),...r]}}))))}})},Hl={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=os,title:r=null,classes:i=[],attributes:o={},styles:a={}}=t;return ll({type:"text",content:e},(()=>(tl("beforeDOMElementCreation",{content:e,params:t}),ul({content:e,transform:{...os,...n},title:r,extra:{attributes:o,styles:a,classes:["".concat(ns.cssPrefix,"-layers-text"),...i]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:i}=t;let o=null,a=null;if(la){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();o=n.width/t,a=n.height/t}return ns.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,ul({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}};const ql=new RegExp('"',"ug"),Kl=[1105920,1112319],$l={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Ql=Object.keys($l).reduce(((e,t)=>(e[t.toLowerCase()]=$l[t],e)),{}),Gl=Object.keys(Ql).reduce(((e,t)=>{const n=Ql[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function Yl(e,t){const n="".concat(Ta).concat(t.replace(":","-"));return new Promise(((r,i)=>{if(null!==e.getAttribute(n))return r();const o=ls(e.children).filter((e=>e.getAttribute(Aa)===t))[0],a=ra.getComputedStyle(e,t),s=a.getPropertyValue("font-family"),l=s.match(Qa),c=a.getPropertyValue("font-weight"),u=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&"none"!==u&&""!==u){const u=a.getPropertyValue("content");let d=function(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(Ql[n]||{})[i]||Gl[n]}(s,c);const{value:f,isSecondary:h}=function(e){const t=e.replace(ql,""),n=function(e,t){const n=e.length;let r,i=e.charCodeAt(t);return i>=55296&&i<=56319&&n>t+1&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?1024*(i-55296)+r-56320+65536:i}(t,0),r=n>=Kl[0]&&n<=Kl[1],i=2===t.length&&t[0]===t[1];return{value:Os(i?t[0]:t),isSecondary:r||i}}(u),p=l[0].startsWith("FontAwesome");let m=zs(d,f),g=m;if(p){const e=function(e){const t=Fs[e],n=zs("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(f);e.iconName&&e.prefix&&(m=e.iconName,d=e.prefix)}if(!m||h||o&&o.getAttribute(Ra)===d&&o.getAttribute(Ia)===g)r();else{e.setAttribute(n,g),o&&e.removeChild(o);const a={iconName:null,title:null,titleId:null,prefix:null,transform:os,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=a;s.attributes[Aa]=t,pl(m,d).then((i=>{const o=cl({...a,icons:{main:i,mask:Ks()},prefix:d,iconName:g,extra:s,watchable:!0}),l=ia.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=o.map((e=>ks(e))).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Jl(e){return Promise.all([Yl(e,"::before"),Yl(e,"::after")])}function Xl(e){return!(e.parentNode===document.head||~Da.indexOf(e.tagName.toUpperCase())||e.getAttribute(Aa)||e.parentNode&&"svg"===e.parentNode.tagName)}function Zl(e){if(sa)return new Promise(((t,n)=>{const r=ls(e.querySelectorAll("*")).filter(Xl).map(Jl),i=bl.begin("searchPseudoElements");Tl(),Promise.all(r).then((()=>{i(),Rl(),t()})).catch((()=>{i(),Rl(),n()}))}))}let ec=!1;const tc=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});const nc={x:0,y:0,width:"100%",height:"100%"};function rc(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}!function(e,t){let{mixoutsTo:n}=t;Ys=e,Js={},Object.keys(Xs).forEach((e=>{-1===Zs.indexOf(e)&&delete Xs[e]})),Ys.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"==typeof t[e]&&(n[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{Js[e]||(Js[e]=[]),Js[e].push(t[e])}))}e.provides&&e.provides(Xs)}))}([ys,Vl,zl,Wl,Hl,{hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=Zl,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=ia}=e;ns.searchPseudoElements&&Zl(t)}}},{mixout:()=>({dom:{unwatch(){Tl(),ec=!0}}}),hooks:()=>({bootstrap(){Nl(el("mutationObserverCallbacks",{}))},noAuto(){Il&&Il.disconnect()},watch(e){const{observeMutationsRoot:t}=e;ec?Rl():Nl(el("mutationObserverCallbacks",{observeMutationsRoot:t}))}})},{mixout:()=>({parse:{transform:e=>tc(e)}}),hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=tc(n)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:i}=e;const o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(a," ").concat(s," ").concat(l)},u={transform:"translate(".concat(i/2*-1," -256)")};return{tag:"g",attributes:{...o},children:[{tag:"g",attributes:{...c},children:[{tag:t.icon.tag,children:t.icon.children,attributes:{...t.icon.attributes,...u}}]}]}}}},{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Gs(n.split(" ").map((e=>e.trim()))):Ks();return r.prefix||(r.prefix=qs()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:i,maskId:o,transform:a}=e;const{width:s,icon:l}=r,{width:c,icon:u}=i,d=function(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:a,containerWidth:c,iconWidth:s}),f={tag:"rect",attributes:{...nc,fill:"white"}},h=l.children?{children:l.children.map(rc)}:{},p={tag:"g",attributes:{...d.inner},children:[rc({tag:l.tag,attributes:{...l.attributes,...d.path},...h})]},m={tag:"g",attributes:{...d.outer},children:[p]},g="mask-".concat(o||ss()),y="clip-".concat(o||ss()),v={tag:"mask",attributes:{...nc,id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[f,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(_=u,"g"===_.tag?_.children:[_])},v]};var _;return t.push(b,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")"),...nc}}),{children:t,attributes:n}}}},{provides(e){let t=!1;ra.matchMedia&&(t=ra.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:{...n,d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}});const i={...r,attributeName:"opacity"},o={tag:"circle",attributes:{...n,cx:"256",cy:"364",r:"28"},children:[]};return t||o.children.push({tag:"animate",attributes:{...r,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...i,values:"1;0;1;1;0;1;"}}),e.push(o),e.push({tag:"path",attributes:{...n,opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"},children:t?[]:[{tag:"animate",attributes:{...i,values:"1;0;0;0;0;1;"}}]}),t||e.push({tag:"path",attributes:{...n,opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"},children:[{tag:"animate",attributes:{...i,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}})}],{mixoutsTo:al});const ic=al.config,oc=al.library,ac=al.dom,sc=al.parse,lc=al.icon,cc={prefix:"far",iconName:"hexagon-xmark",icon:[512,512,["times-hexagon","xmark-hexagon"],"f2ee","M17.1 292c-12.9-22.3-12.9-49.7 0-72L105.4 67.1c12.9-22.3 36.6-36 62.4-36l176.6 0c25.7 0 49.5 13.7 62.4 36L494.9 220c12.9 22.3 12.9 49.7 0 72L406.6 444.9c-12.9 22.3-36.6 36-62.4 36l-176.6 0c-25.7 0-49.5-13.7-62.4-36L17.1 292zm41.6-48c-4.3 7.4-4.3 16.6 0 24l88.3 152.9c4.3 7.4 12.2 12 20.8 12l176.6 0c8.6 0 16.5-4.6 20.8-12L453.4 268c4.3-7.4 4.3-16.6 0-24L365.1 91.1c-4.3-7.4-12.2-12-20.8-12l-176.6 0c-8.6 0-16.5 4.6-20.8 12L58.6 244zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},uc={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},dc={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},fc=({class:e,children:t,...n})=>{const r=Object.keys(n).find((e=>n[e])),i={class:_i(r?hc[r]:void 0,e),children:t};return n.heading1?xt(vc,{...i}):n.paragraph1?xt(bc,{...i}):n.label?xt(_c,{...i}):n.field?xt(wc,{...i}):n.hint?xt(xc,{...i}):n.terms?xt(kc,{...i}):n.link?xt(Ec,{...i}):n.h1?xt("h1",{...i}):n.h2?xt("h2",{...i}):n.h3?xt("h3",{...i}):n.p?xt("p",{...i}):n.span?xt("span",{...i}):xt("p",{...i})},hc={brand:"text-primary-base",danger:"text-red-500",dark:"text-gray-700",darker:"text-gray-900",light:"text-gray-400",default:"text-gray-600"},pc=`text-3xl font-bold leading-9 ${hc.darker}`,mc=`text-base font-medium leading-6 ${hc.dark}`,gc=`text-sm font-medium leading-5 ${hc.dark}`,yc=`underline ${hc.brand}`,vc=e=>xt("h1",{...e,class:_i(pc,e.class)}),bc=e=>xt("p",{...e,class:_i("text-lg leading-7",e.class)}),_c=e=>xt("span",{...e,class:_i(mc,e.class)}),wc=e=>xt("span",{...e,class:_i(gc,e.class)}),xc=e=>xt("p",{...e,class:_i("text-sm",e.class)}),kc=e=>xt("p",{...e,class:_i("text-xs",e.class)}),Ec=e=>xt("a",{...e,class:_i(yc,e.class)});oc.add(dc,uc),ic.autoAddCss=!1;const Sc=({children:e})=>xt(qe,{children:[xt("style",{children:'@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}a{text-decoration-line:underline}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-3{left:.75rem}.right-2{right:.5rem}.right-2\\.5{right:.625rem}.top-2{top:.5rem}.top-3{top:.75rem}.z-10{z-index:10}.z-20{z-index:20}.m-0\\.5{margin:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-6{margin-bottom:1.5rem}.mr-2\\.5{margin-right:.625rem}.mt-1{margin-top:.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-full{height:100%}.min-h-\\[23rem\\]{min-height:23rem}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-60{min-width:15rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[58rem\\]{max-width:58rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3\\.5{gap:.875rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-x-clip{overflow-x:clip}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-secondary-base{background-color:var(--fl-color-secondary)}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[rgba\\(255\\,135\\,111\\,0\\.10\\)\\]{--tw-gradient-from: rgba(255,135,111,.1) var(--tw-gradient-from-position);--tw-gradient-to: rgba(255, 135, 111, 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\\[rgba\\(166\\,80\\,255\\,0\\.10\\)\\]{--tw-gradient-to: rgba(166,80,255,.1) var(--tw-gradient-to-position)}.p-6{padding:1.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pr-8{padding-right:2rem}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:Inter,sans-serif}.text-3xl{font-size:1.875rem;line-height:2.25rem}.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}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-9{line-height:2.25rem}.leading-\\[38px\\]{line-height:38px}.leading-tight{line-height:1.25}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / 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-inherit{color:inherit}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-primary-text{color:var(--fl-color-primary-text)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-secondary-text{color:var(--fl-color-secondary-text)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:host{--fl-color-primary_from_host: var(--fl-color-primary);--fl-color-primary-hover_from_host: var(--fl-color-primary-hover);--fl-color-primary-focus_from_host: var(--fl-color-primary-focus);--fl-color-primary-text_from_host: var(--fl-color-primary-text);--fl-color-secondary_from_host: var(--fl-color-secondary);--fl-color-secondary-hover_from_host: var(--fl-color-secondary-hover);--fl-color-secondary-focus_from_host: var(--fl-color-secondary-focus);--fl-color-secondary-text_from_host: var(--fl-color-secondary-text);--fl-color-secondary-disabled_from_host: var(--fl-color-secondary-disabled)}*{--fl-color-primary: var(--fl-color-primary_from_host, #2E66F7);--fl-color-primary-hover: var(--fl-color-primary-hover_from_host, #0048fe);--fl-color-primary-focus: var(--fl-color-primary-focus_from_host, #40a9ff);--fl-color-primary-text: var(--fl-color-primary-text_from_host, #ffffff);--fl-color-secondary: var(--fl-color-secondary_from_host, #ffffff);--fl-color-secondary-hover: var(--fl-color-secondary-hover_from_host, #ebebeb);--fl-color-secondary-focus: var(--fl-color-secondary-focus_from_host, #ebebeb);--fl-color-secondary-text: var(--fl-color-secondary-text_from_host, #262626);--fl-color-secondary-disabled: var(--fl-color-secondary-disabled_from_host, #f5f5f5)}.slide-exit,.slide-exit-active{position:absolute;top:0;left:0;bottom:0;right:0}.slide-enter{transform:translate(100%)}.slide-enter-active{transform:translate(0);transition:transform .3s ease-out}.slide-exit{transform:translate(0)}.slide-exit-active{transform:translate(-100%);transition:transform .3s ease-out}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\\:bg-secondary-hover:hover{background-color:var(--fl-color-secondary-hover)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-1: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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-primary-base:focus{--tw-ring-color: var(--fl-color-primary)}.focus\\:ring-secondary-hover:focus{--tw-ring-color: var(--fl-color-secondary-hover)}.focus\\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.focus-visible\\:border-gray-700:focus-visible{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.focus-visible\\:border-red-600:focus-visible{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.data-\\[highlighted\\]\\:bg-primary-base[data-highlighted]{background-color:var(--fl-color-primary)}.data-\\[highlighted\\]\\:text-primary-text[data-highlighted]{color:var(--fl-color-primary-text)}@media (min-width: 768px){.md\\:block{display:block}.md\\:min-w-\\[41rem\\]{min-width:41rem}.md\\:grid-cols-\\[9fr_8fr\\]{grid-template-columns:9fr 8fr}}@media (min-width: 1024px){.lg\\:min-h-\\[33rem\\]{min-height:33rem}.lg\\:min-w-\\[58rem\\]{min-width:58rem}.lg\\:p-8{padding:2rem}}'+ac.css()}),xt("div",{class:_i("font-sans",hc.default),children:e})]})
|
|
23
|
-
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */,{entries:Oc,setPrototypeOf:Cc,isFrozen:Ac,getPrototypeOf:Tc,getOwnPropertyDescriptor:Rc}=Object;let{freeze:Ic,seal:Nc,create:Pc}=Object,{apply:Dc,construct:Mc}="undefined"!=typeof Reflect&&Reflect;Ic||(Ic=function(e){return e}),Nc||(Nc=function(e){return e}),Dc||(Dc=function(e,t,n){return e.apply(t,n)}),Mc||(Mc=function(e,t){return new e(...t)});const Fc=Gc(Array.prototype.forEach),Lc=Gc(Array.prototype.pop),jc=Gc(Array.prototype.push),Uc=Gc(String.prototype.toLowerCase),Bc=Gc(String.prototype.toString),Vc=Gc(String.prototype.match),zc=Gc(String.prototype.replace),Wc=Gc(String.prototype.indexOf),Hc=Gc(String.prototype.trim),qc=Gc(Object.prototype.hasOwnProperty),Kc=Gc(RegExp.prototype.test),$c=(Qc=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mc(Qc,t)});var Qc;function Gc(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Dc(e,t,r)}}function Yc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Uc;Cc&&Cc(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(Ac(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Jc(e){for(let t=0;t<e.length;t++){qc(e,t)||(e[t]=null)}return e}function Xc(e){const t=Pc(null);for(const[n,r]of Oc(e)){qc(e,n)&&(Array.isArray(r)?t[n]=Jc(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Xc(r):t[n]=r)}return t}function Zc(e,t){for(;null!==e;){const n=Rc(e,t);if(n){if(n.get)return Gc(n.get);if("function"==typeof n.value)return Gc(n.value)}e=Tc(e)}return function(){return null}}const eu=Ic(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),tu=Ic(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),nu=Ic(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ru=Ic(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),iu=Ic(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ou=Ic(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),au=Ic(["#text"]),su=Ic(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),lu=Ic(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),cu=Ic(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),uu=Ic(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),du=Nc(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fu=Nc(/<%[\w\W]*|[\w\W]*%>/gm),hu=Nc(/\${[\w\W]*}/gm),pu=Nc(/^data-[\-\w.\u00B7-\uFFFF]/),mu=Nc(/^aria-[\-\w]+$/),gu=Nc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),yu=Nc(/^(?:\w+script|data):/i),vu=Nc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),bu=Nc(/^html$/i),_u=Nc(/^[a-z][.\w]*(-[.\w]+)+$/i);var wu=Object.freeze({__proto__:null,MUSTACHE_EXPR:du,ERB_EXPR:fu,TMPLIT_EXPR:hu,DATA_ATTR:pu,ARIA_ATTR:mu,IS_ALLOWED_URI:gu,IS_SCRIPT_OR_DATA:yu,ATTR_WHITESPACE:vu,DOCTYPE_NAME:bu,CUSTOM_ELEMENT:_u});const xu=1,ku=3,Eu=7,Su=8,Ou=9;var Cu=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.1.6",n.removed=[],!t||!t.document||t.document.nodeType!==Ou)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:p}=t,m=c.prototype,g=Zc(m,"cloneNode"),y=Zc(m,"remove"),v=Zc(m,"nextSibling"),b=Zc(m,"childNodes"),_=Zc(m,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,x="";const{implementation:k,createNodeIterator:E,createDocumentFragment:S,getElementsByTagName:O}=r,{importNode:C}=i;let A={};n.isSupported="function"==typeof Oc&&"function"==typeof _&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:T,ERB_EXPR:R,TMPLIT_EXPR:I,DATA_ATTR:N,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:M,CUSTOM_ELEMENT:F}=wu;let{IS_ALLOWED_URI:L}=wu,j=null;const U=Yc({},[...eu,...tu,...nu,...iu,...au]);let B=null;const V=Yc({},[...su,...lu,...cu,...uu]);let z=Object.seal(Pc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,H=null,q=!0,K=!0,$=!1,Q=!0,G=!1,Y=!0,J=!1,X=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!0,ie=!1,oe=!0,ae=!1,se={},le=null;const ce=Yc({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const de=Yc({},["audio","video","img","source","image","track"]);let fe=null;const he=Yc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let ye=ge,ve=!1,be=null;const _e=Yc({},[pe,me,ge],Bc);let we=null;const xe=["application/xhtml+xml","text/html"];let ke=null,Ee=null;const Se=r.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},Ce=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&"object"==typeof e||(e={}),e=Xc(e),we=-1===xe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ke="application/xhtml+xml"===we?Bc:Uc,j=qc(e,"ALLOWED_TAGS")?Yc({},e.ALLOWED_TAGS,ke):U,B=qc(e,"ALLOWED_ATTR")?Yc({},e.ALLOWED_ATTR,ke):V,be=qc(e,"ALLOWED_NAMESPACES")?Yc({},e.ALLOWED_NAMESPACES,Bc):_e,fe=qc(e,"ADD_URI_SAFE_ATTR")?Yc(Xc(he),e.ADD_URI_SAFE_ATTR,ke):he,ue=qc(e,"ADD_DATA_URI_TAGS")?Yc(Xc(de),e.ADD_DATA_URI_TAGS,ke):de,le=qc(e,"FORBID_CONTENTS")?Yc({},e.FORBID_CONTENTS,ke):ce,W=qc(e,"FORBID_TAGS")?Yc({},e.FORBID_TAGS,ke):{},H=qc(e,"FORBID_ATTR")?Yc({},e.FORBID_ATTR,ke):{},se=!!qc(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,K=!1!==e.ALLOW_DATA_ATTR,$=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,G=e.SAFE_FOR_TEMPLATES||!1,Y=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,L=e.ALLOWED_URI_REGEXP||gu,ye=e.NAMESPACE||ge,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),G&&(K=!1),te&&(ee=!0),se&&(j=Yc({},au),B=[],!0===se.html&&(Yc(j,eu),Yc(B,su)),!0===se.svg&&(Yc(j,tu),Yc(B,lu),Yc(B,uu)),!0===se.svgFilters&&(Yc(j,nu),Yc(B,lu),Yc(B,uu)),!0===se.mathMl&&(Yc(j,iu),Yc(B,cu),Yc(B,uu))),e.ADD_TAGS&&(j===U&&(j=Xc(j)),Yc(j,e.ADD_TAGS,ke)),e.ADD_ATTR&&(B===V&&(B=Xc(B)),Yc(B,e.ADD_ATTR,ke)),e.ADD_URI_SAFE_ATTR&&Yc(fe,e.ADD_URI_SAFE_ATTR,ke),e.FORBID_CONTENTS&&(le===ce&&(le=Xc(le)),Yc(le,e.FORBID_CONTENTS,ke)),oe&&(j["#text"]=!0),J&&Yc(j,["html","head","body"]),j.table&&(Yc(j,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw $c('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw $c('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(o){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,o)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));Ic&&Ic(e),Ee=e}},Ae=Yc({},["mi","mo","mn","ms","mtext"]),Te=Yc({},["foreignobject","annotation-xml"]),Re=Yc({},["title","style","font","a","script"]),Ie=Yc({},[...tu,...nu,...ru]),Ne=Yc({},[...iu,...ou]),Pe=function(e){jc(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){y(e)}},De=function(e,t){try{jc(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){jc(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!B[e])if(ee||te)try{Pe(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},Me=function(e){let t=null,n=null;if(Z)e="<remove></remove>"+e;else{const t=Vc(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===we&&ye===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=w?w.createHTML(e):e;if(ye===ge)try{t=(new h).parseFromString(i,we)}catch(a){}if(!t||!t.documentElement){t=k.createDocument(ye,"template",null);try{t.documentElement.innerHTML=ve?x:i}catch(a){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ye===ge?O.call(t,J?"html":"body")[0]:J?t.documentElement:o},Fe=function(e){return E.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},je=function(e){return"function"==typeof l&&e instanceof l},Ue=function(e,t,r){A[e]&&Fc(A[e],(e=>{e.call(n,t,r,Ee)}))},Be=function(e){let t=null;if(Ue("beforeSanitizeElements",e,null),Le(e))return Pe(e),!0;const r=ke(e.nodeName);if(Ue("uponSanitizeElement",e,{tagName:r,allowedTags:j}),e.hasChildNodes()&&!je(e.firstElementChild)&&Kc(/<[/\w]/g,e.innerHTML)&&Kc(/<[/\w]/g,e.textContent))return Pe(e),!0;if(e.nodeType===Eu)return Pe(e),!0;if(Y&&e.nodeType===Su&&Kc(/<[/\w]/g,e.data))return Pe(e),!0;if(!j[r]||W[r]){if(!W[r]&&ze(r)){if(z.tagNameCheck instanceof RegExp&&Kc(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}if(oe&&!le[r]){const t=_(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,v(e))}}}return Pe(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=Uc(e.tagName),r=Uc(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ge?"svg"===n:t.namespaceURI===pe?"svg"===n&&("annotation-xml"===r||Ae[r]):Boolean(Ie[n]):e.namespaceURI===pe?t.namespaceURI===ge?"math"===n:t.namespaceURI===me?"math"===n&&Te[r]:Boolean(Ne[n]):e.namespaceURI===ge?!(t.namespaceURI===me&&!Te[r])&&!(t.namespaceURI===pe&&!Ae[r])&&!Ne[n]&&(Re[n]||!Ie[n]):!("application/xhtml+xml"!==we||!be[e.namespaceURI]))}(e)?(Pe(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Kc(/<\/no(script|embed|frames)/i,e.innerHTML)?(G&&e.nodeType===ku&&(t=e.textContent,Fc([T,R,I],(e=>{t=zc(t,e," ")})),e.textContent!==t&&(jc(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ue("afterSanitizeElements",e,null),!1):(Pe(e),!0)},Ve=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in r||n in Se))return!1;if(K&&!H[t]&&Kc(N,t));else if(q&&Kc(P,t));else if(!B[t]||H[t]){if(!(ze(e)&&(z.tagNameCheck instanceof RegExp&&Kc(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&Kc(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t))||"is"===t&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&Kc(z.tagNameCheck,n)||z.tagNameCheck instanceof Function&&z.tagNameCheck(n))))return!1}else if(fe[t]);else if(Kc(L,zc(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Wc(n,"data:")||!ue[e]){if($&&!Kc(D,zc(n,M,"")));else if(n)return!1}else;return!0},ze=function(e){return"annotation-xml"!==e&&Vc(e,F)},We=function(e){Ue("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};let i=t.length;for(;i--;){const a=t[i],{name:s,namespaceURI:l,value:c}=a,u=ke(s);let d="value"===s?c:Hc(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Ue("uponSanitizeAttribute",e,r),d=r.attrValue,Y&&Kc(/((--!?|])>)|<\/(style|title)/i,d)){De(s,e);continue}if(r.forceKeepAttr)continue;if(De(s,e),!r.keepAttr)continue;if(!Q&&Kc(/\/>/i,d)){De(s,e);continue}G&&Fc([T,R,I],(e=>{d=zc(d,e," ")}));const f=ke(e.nodeName);if(Ve(f,u,d)){if(!ie||"id"!==u&&"name"!==u||(De(s,e),d="user-content-"+d),w&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(l);else switch(p.getAttributeType(f,u)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),Le(e)?Pe(e):Lc(n.removed)}catch(o){}}}Ue("afterSanitizeAttributes",e,null)},He=function e(t){let n=null;const r=Fe(t);for(Ue("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ue("uponSanitizeShadowNode",n,null),Be(n)||(n.content instanceof a&&e(n.content),We(n));Ue("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,c=null;if(ve=!e,ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!je(e)){if("function"!=typeof e.toString)throw $c("toString is not a function");if("string"!=typeof(e=e.toString()))throw $c("dirty is not a string, aborting")}if(!n.isSupported)return e;if(X||Ce(t),n.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=ke(e.nodeName);if(!j[t]||W[t])throw $c("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Me("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===xu&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!ee&&!G&&!J&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(r=Me(e),!r)return ee?null:ne?x:""}r&&Z&&Pe(r.firstChild);const u=Fe(ae?e:r);for(;s=u.nextNode();)Be(s)||(s.content instanceof a&&He(s.content),We(s));if(ae)return e;if(ee){if(te)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(B.shadowroot||B.shadowrootmode)&&(c=C.call(i,c,!0)),c}let d=J?r.outerHTML:r.innerHTML;return J&&j["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Kc(bu,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),G&&Fc([T,R,I],(e=>{d=zc(d,e," ")})),w&&ne?w.createHTML(d):d},n.setConfig=function(){Ce(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),X=!0},n.clearConfig=function(){Ee=null,X=!1},n.isValidAttribute=function(e,t,n){Ee||Ce({});const r=ke(e),i=ke(t);return Ve(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(A[e]=A[e]||[],jc(A[e],t))},n.removeHook=function(e){if(A[e])return Lc(A[e])},n.removeHooks=function(e){A[e]&&(A[e]=[])},n.removeAllHooks=function(){A={}},n}();function Au(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Au(Object(n),!0).forEach((function(t){Iu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Au(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ru(e){return(Ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Pu(e){return function(e){if(Array.isArray(e))return Du(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Du(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Du(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Du(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mu(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var Fu=["style"];var Lu=!1;try{Lu=!0}catch(Zg){}function ju(e){return e&&"object"===Ru(e)&&e.prefix&&e.iconName&&e.icon?e:sc.icon?sc.icon(e):null===e?null:e&&"object"===Ru(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Uu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Iu({},e,t):{}}var Bu={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Vu=Jr.forwardRef((function(e,t){var n=Tu(Tu({},Bu),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,u=ju(r),d=Uu("classes",[].concat(Pu(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,h=e.inverse,p=e.border,m=e.listItem,g=e.flip,y=e.size,v=e.rotation,b=e.pull,_=(Iu(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":h,"fa-border":p,"fa-li":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(y),null!=y),Iu(t,"fa-rotate-".concat(v),null!=v&&0!==v),Iu(t,"fa-pull-".concat(b),null!=b),Iu(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(_).map((function(e){return _[e]?e:null})).filter((function(e){return e}))}(n)),Pu((a||"").split(" ")))),f=Uu("transform","string"==typeof n.transform?sc.transform(n.transform):n.transform),h=Uu("mask",ju(i)),p=lc(u,Tu(Tu(Tu(Tu({},d),f),h),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!p)return function(){var e;!Lu&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=p.abstract,g={ref:t};return Object.keys(n).forEach((function(e){Bu.hasOwnProperty(e)||(g[e]=n[e])})),zu(m[0],g)}));Vu.displayName="FontAwesomeIcon",Vu.propTypes={beat:No.bool,border:No.bool,beatFade:No.bool,bounce:No.bool,className:No.string,fade:No.bool,flash:No.bool,mask:No.oneOfType([No.object,No.array,No.string]),maskId:No.string,fixedWidth:No.bool,inverse:No.bool,flip:No.oneOf([!0,!1,"horizontal","vertical","both"]),icon:No.oneOfType([No.object,No.array,No.string]),listItem:No.bool,pull:No.oneOf(["right","left"]),pulse:No.bool,rotation:No.oneOf([0,90,180,270]),shake:No.bool,size:No.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:No.bool,spinPulse:No.bool,spinReverse:No.bool,symbol:No.oneOfType([No.bool,No.string]),title:No.string,titleId:No.string,transform:No.oneOfType([No.string,No.object]),swapOpacity:No.bool};var zu=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Mu(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Mu(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=Nu(r,Fu);return o.attrs.style=Tu(Tu({},o.attrs.style),s),t.apply(void 0,[n.tag,Tu(Tu({},o.attrs),l)].concat(Pu(i)))}.bind(null,Jr.createElement);const Wu=e=>xt("div",{class:_i("flex px-5 py-3.5 rounded-lg gap-3.5 items-center","completed"===e.type?"bg-teal-50":"bg-gradient-to-r from-[rgba(255,135,111,0.10)] to-[rgba(166,80,255,0.10)]",e.class),children:["completed"===e.type?xt("div",{class:"flex flex-shrink-0 items-center justify-center bg-teal-400 rounded-full w-6 h-6",children:xt(Vu,{className:"text-white text-sm self-center",icon:dc})}):null,xt("div",{class:"flex-auto flex-col",children:[e.title?xt(fc,{class:"flex-auto font-semibold leading-tight",darker:!0,paragraph1:!0,children:e.title}):null,e.subtitle?xt(fc,{class:"text-sm",darker:!0,children:e.subtitle}):null]})]}),Hu=e=>xt("svg",{class:_i("animate-spin",e.class),fill:"none",viewBox:"0 0 24 24",children:[xt("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),xt("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})]}),qu=()=>xt("div",{class:"flex flex-col gap-8 items-center justify-center h-full",children:xt(Hu,{class:_i("w-10 h-10",hc.brand)})}),Ku=({status:e="idle",...t})=>xt("button",{class:_i(["relative items-center px-4 py-2 border border-transparent font-medium rounded-md text-base focus:outline-none focus:ring-1 focus:ring-offset-1 m-0.5",t.secondary?"text-secondary-text hover:bg-secondary-hover focus:ring-secondary-hover":"bg-primary-base text-primary-text shadow-sm hover:bg-primary-hover focus:ring-primary-base",t.disabled?"bg-secondary-base text-secondary-text opacity-30":"","pending"===e||t.disabled?"pointer-events-none":"",t.class]),disabled:"pending"===e||t.disabled,onClick:t.onClick,tabindex:"pending"===e||t.disabled?-1:void 0,type:"button",children:[xt("span",{class:_i(["pending"===e?"opacity-0":""]),children:t.children}),"pending"===e?xt("div",{class:"absolute inset-0 flex justify-center items-center",children:xt(Hu,{class:"h-5 w-5"})}):null]}),$u=e=>xt("div",{class:"flex flex-col gap-8 items-center justify-center h-full",children:[xt(Vu,{className:hc.danger,icon:cc,size:"4x"}),xt("div",{class:" max-w-[30rem]",children:[xt(fc,{class:"text-center",heading1:!0,children:"Sorry about that!"}),xt(fc,{class:"text-center",paragraph1:!0,children:"Something unexpected has occurred and we are working hard to fix it. Please try again later."})]}),xt(Ku,{onClick:e.retry,children:"Retry"})]}),Qu=({class:e,...t})=>xt("div",{class:_i("flex-1 md:min-w-[41rem] min-h-[23rem] lg:min-w-[58rem] lg:min-h-[33rem] lg:p-8",e),...t});var Gu=(e=>(e.Ineligible="Ineligible",e.Completion="Completion",e.Consent="Consent",e.Question="Question",e))(Gu||{}),Yu=(e=>(e.TriviaSingleSelect="TriviaSingleSelect",e.SingleSelect="SingleSelect",e.Lookup="Lookup",e.MultiSelect="MultiSelect",e.Text="Text",e.Date="Date",e.Currency="Currency",e.Slider="Slider",e))(Yu||{}),Ju=(e=>(e.Weekends="Weekends",e.PublicHolidays="PublicHolidays",e))(Ju||{}),Xu=(e=>(e.SalaryPackagingCars="SalaryPackagingCars",e.Health="Health",e.Everyday="Everyday",e.Devices="Devices",e.HomeLoan="HomeLoan",e.Trivia="Trivia",e.Energy="Energy",e.Broadband="Broadband",e))(Xu||{}),Zu=(e=>(e.ProgressStep="ProgressStep",e.UpdateAnswersOfCompletedActivity="UpdateAnswersOfCompletedActivity",e.ProgressStartToComplete="ProgressStartToComplete",e))(Zu||{}),ed=(e=>(e.Standard="standard",e.Lookup="lookup",e))(ed||{}),td=(e=>(e.ACT="ACT",e.NSW="NSW",e.NT="NT",e.QLD="QLD",e.SA="SA",e.TAS="TAS",e.VIC="VIC",e.WA="WA",e))(td||{}),nd=(e=>(e.AssessmentViewed="Assessment Viewed",e.AssessmentSkipped="Assessment Skipped",e.AssessmentFieldUpdated="AssessmentField Updated",e.AssessmentSubmitted="Assessment Submitted",e.AssessmentSummaryViewed="AssessmentSummary Viewed",e))(nd||{});function rd(e,t){return function(){return e.apply(t,arguments)}}const{toString:id}=Object.prototype,{getPrototypeOf:od}=Object,ad=(e=>t=>{const n=id.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),sd=e=>(e=e.toLowerCase(),t=>ad(t)===e),ld=e=>t=>typeof t===e,{isArray:cd}=Array,ud=ld("undefined");const dd=sd("ArrayBuffer");const fd=ld("string"),hd=ld("function"),pd=ld("number"),md=e=>null!==e&&"object"==typeof e,gd=e=>{if("object"!==ad(e))return!1;const t=od(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},yd=sd("Date"),vd=sd("File"),bd=sd("Blob"),_d=sd("FileList"),wd=sd("URLSearchParams"),[xd,kd,Ed,Sd]=["ReadableStream","Request","Response","Headers"].map(sd);function Od(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),cd(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function Cd(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const Ad="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Td=e=>!ud(e)&&e!==Ad;const Rd=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&od(Uint8Array)),Id=sd("HTMLFormElement"),Nd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Pd=sd("RegExp"),Dd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Od(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},Md="abcdefghijklmnopqrstuvwxyz",Fd="0123456789",Ld={DIGIT:Fd,ALPHA:Md,ALPHA_DIGIT:Md+Md.toUpperCase()+Fd};const jd=sd("AsyncFunction"),Ud=(Bd="function"==typeof setImmediate,Vd=hd(Ad.postMessage),Bd?setImmediate:Vd?(zd=`axios@${Math.random()}`,Wd=[],Ad.addEventListener("message",(({source:e,data:t})=>{e===Ad&&t===zd&&Wd.length&&Wd.shift()()}),!1),e=>{Wd.push(e),Ad.postMessage(zd,"*")}):e=>setTimeout(e));var Bd,Vd,zd,Wd;const Hd="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Ad):"undefined"!=typeof process&&process.nextTick||Ud,qd={isArray:cd,isArrayBuffer:dd,isBuffer:function(e){return null!==e&&!ud(e)&&null!==e.constructor&&!ud(e.constructor)&&hd(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||hd(e.append)&&("formdata"===(t=ad(e))||"object"===t&&hd(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&dd(e.buffer),t},isString:fd,isNumber:pd,isBoolean:e=>!0===e||!1===e,isObject:md,isPlainObject:gd,isReadableStream:xd,isRequest:kd,isResponse:Ed,isHeaders:Sd,isUndefined:ud,isDate:yd,isFile:vd,isBlob:bd,isRegExp:Pd,isFunction:hd,isStream:e=>md(e)&&hd(e.pipe),isURLSearchParams:wd,isTypedArray:Rd,isFileList:_d,forEach:Od,merge:function e(){const{caseless:t}=Td(this)&&this||{},n={},r=(r,i)=>{const o=t&&Cd(n,i)||i;gd(n[o])&&gd(r)?n[o]=e(n[o],r):gd(r)?n[o]=e({},r):cd(r)?n[o]=r.slice():n[o]=r};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&Od(arguments[i],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Od(t,((t,r)=>{n&&hd(t)?e[r]=rd(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 i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&od(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ad,kindOfTest:sd,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(cd(e))return e;let t=e.length;if(!pd(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:Id,hasOwnProperty:Nd,hasOwnProp:Nd,reduceDescriptors:Dd,freezeMethods:e=>{Dd(e,((t,n)=>{if(hd(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];hd(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 cd(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)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Cd,global:Ad,isContextDefined:Td,ALPHABET:Ld,generateString:(e=16,t=Ld.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&hd(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(md(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=cd(e)?[]:{};return Od(e,((e,t)=>{const o=n(e,r+1);!ud(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:jd,isThenable:e=>e&&(md(e)||hd(e))&&hd(e.then)&&hd(e.catch),setImmediate:Ud,asap:Hd};function Kd(e,t,n,r,i){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),i&&(this.response=i,this.status=i.status?i.status:null)}qd.inherits(Kd,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:qd.toJSONObject(this.config),code:this.code,status:this.status}}});const $d=Kd.prototype,Qd={};["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=>{Qd[e]={value:e}})),Object.defineProperties(Kd,Qd),Object.defineProperty($d,"isAxiosError",{value:!0}),Kd.from=(e,t,n,r,i,o)=>{const a=Object.create($d);return qd.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Kd.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};function Gd(e){return qd.isPlainObject(e)||qd.isArray(e)}function Yd(e){return qd.endsWith(e,"[]")?e.slice(0,-2):e}function Jd(e,t,n){return e?e.concat(t).map((function(e,t){return e=Yd(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Xd=qd.toFlatObject(qd,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Zd(e,t,n){if(!qd.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=qd.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!qd.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&qd.isSpecCompliantForm(t);if(!qd.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(qd.isDate(e))return e.toISOString();if(!s&&qd.isBlob(e))throw new Kd("Blob is not supported. Use a Buffer instead.");return qd.isArrayBuffer(e)||qd.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(qd.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(qd.isArray(e)&&function(e){return qd.isArray(e)&&!e.some(Gd)}(e)||(qd.isFileList(e)||qd.endsWith(n,"[]"))&&(s=qd.toArray(e)))return n=Yd(n),s.forEach((function(e,r){!qd.isUndefined(e)&&null!==e&&t.append(!0===a?Jd([n],r,o):null===a?n:n+"[]",l(e))})),!1;return!!Gd(e)||(t.append(Jd(i,n,o),l(e)),!1)}const u=[],d=Object.assign(Xd,{defaultVisitor:c,convertValue:l,isVisitable:Gd});if(!qd.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!qd.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),qd.forEach(n,(function(n,o){!0===(!(qd.isUndefined(n)||null===n)&&i.call(t,n,qd.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),u.pop()}}(e),t}function ef(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function tf(e,t){this._pairs=[],e&&Zd(e,this,t)}const nf=tf.prototype;function rf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function of(e,t,n){if(!t)return e;const r=n&&n.encode||rf,i=n&&n.serialize;let o;if(o=i?i(t,n):qd.isURLSearchParams(t)?t.toString():new tf(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}nf.append=function(e,t){this._pairs.push([e,t])},nf.toString=function(e){const t=e?function(t){return e.call(this,t,ef)}:ef;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class af{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){qd.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const sf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lf={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:tf,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},cf="undefined"!=typeof window&&"undefined"!=typeof document,uf="object"==typeof navigator&&navigator||void 0,df=cf&&(!uf||["ReactNative","NativeScript","NS"].indexOf(uf.product)<0),ff="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,hf=cf&&window.location.href||"http://localhost",pf={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:cf,hasStandardBrowserEnv:df,hasStandardBrowserWebWorkerEnv:ff,navigator:uf,origin:hf},Symbol.toStringTag,{value:"Module"})),...lf};function mf(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&qd.isArray(r)?r.length:o,s)return qd.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&qd.isObject(r[o])||(r[o]=[]);return t(e,n,r[o],i)&&qd.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a}if(qd.isFormData(e)&&qd.isFunction(e.entries)){const n={};return qd.forEachEntry(e,((e,r)=>{t(function(e){return qd.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const gf={transitional:sf,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=qd.isObject(e);i&&qd.isHTMLForm(e)&&(e=new FormData(e));if(qd.isFormData(e))return r?JSON.stringify(mf(e)):e;if(qd.isArrayBuffer(e)||qd.isBuffer(e)||qd.isStream(e)||qd.isFile(e)||qd.isBlob(e)||qd.isReadableStream(e))return e;if(qd.isArrayBufferView(e))return e.buffer;if(qd.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Zd(e,new pf.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return pf.isNode&&qd.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=qd.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Zd(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(qd.isString(e))try{return(t||JSON.parse)(e),qd.trim(e)}catch(Zg){if("SyntaxError"!==Zg.name)throw Zg}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||gf.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(qd.isResponse(e)||qd.isReadableStream(e))return e;if(e&&qd.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(Zg){if(n){if("SyntaxError"===Zg.name)throw Kd.from(Zg,Kd.ERR_BAD_RESPONSE,this,null,this.response);throw Zg}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pf.classes.FormData,Blob:pf.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qd.forEach(["delete","get","head","post","put","patch"],(e=>{gf.headers[e]={}}));const yf=qd.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"]),vf=Symbol("internals");function bf(e){return e&&String(e).trim().toLowerCase()}function _f(e){return!1===e||null==e?e:qd.isArray(e)?e.map(_f):String(e)}function wf(e,t,n,r,i){return qd.isFunction(r)?r.call(this,t,n):(i&&(t=n),qd.isString(t)?qd.isString(r)?-1!==t.indexOf(r):qd.isRegExp(r)?r.test(t):void 0:void 0)}class xf{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=bf(t);if(!i)throw new Error("header name must be a non-empty string");const o=qd.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=_f(e))}const o=(e,t)=>qd.forEach(e,((e,n)=>i(e,n,t)));if(qd.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(qd.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&yf[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(qd.isHeaders(e))for(const[a,s]of e.entries())i(s,a,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=bf(e)){const n=qd.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(qd.isFunction(t))return t.call(this,e,n);if(qd.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=bf(e)){const n=qd.findKey(this,e);return!(!n||void 0===this[n]||t&&!wf(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=bf(e)){const i=qd.findKey(n,e);!i||t&&!wf(0,n[i],i,t)||(delete n[i],r=!0)}}return qd.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!wf(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return qd.forEach(this,((r,i)=>{const o=qd.findKey(n,i);if(o)return t[o]=_f(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=_f(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return qd.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&qd.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[vf]=this[vf]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=bf(e);t[r]||(!function(e,t){const n=qd.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return qd.isArray(e)?e.forEach(r):r(e),this}}function kf(e,t){const n=this||gf,r=t||n,i=xf.from(r.headers);let o=r.data;return qd.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Ef(e){return!(!e||!e.__CANCEL__)}function Sf(e,t,n){Kd.call(this,null==e?"canceled":e,Kd.ERR_CANCELED,t,n),this.name="CanceledError"}function Of(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Kd("Request failed with status code "+n.status,[Kd.ERR_BAD_REQUEST,Kd.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}xf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qd.reduceDescriptors(xf.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),qd.freezeMethods(xf),qd.inherits(Sf,Kd,{__CANCEL__:!0});const Cf=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];i||(i=l),n[o]=s,r[o]=l;let u=a,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,r,i=0,o=1e3/t;const a=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),o-s)))},()=>n&&a(n)]}((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,l=i(s);r=o;e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Af=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Tf=e=>(...t)=>qd.asap((()=>e(...t))),Rf=pf.hasStandardBrowserEnv?function(){const e=pf.navigator&&/(msie|trident)/i.test(pf.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=qd.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),If=pf.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];qd.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),qd.isString(r)&&a.push("path="+r),qd.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Nf(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 Pf=e=>e instanceof xf?{...e}:e;function Df(e,t){t=t||{};const n={};function r(e,t,n){return qd.isPlainObject(e)&&qd.isPlainObject(t)?qd.merge.call({caseless:n},e,t):qd.isPlainObject(t)?qd.merge({},t):qd.isArray(t)?t.slice():t}function i(e,t,n){return qd.isUndefined(t)?qd.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!qd.isUndefined(t))return r(void 0,t)}function a(e,t){return qd.isUndefined(t)?qd.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken: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)=>i(Pf(e),Pf(t),!0)};return qd.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||i,a=o(e[r],t[r],r);qd.isUndefined(a)&&o!==s||(n[r]=a)})),n}const Mf=e=>{const t=Df({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=xf.from(s),t.url=of(Nf(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),qd.isFormData(r))if(pf.hasStandardBrowserEnv||pf.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(pf.hasStandardBrowserEnv&&(i&&qd.isFunction(i)&&(i=i(t)),i||!1!==i&&Rf(t.url))){const e=o&&a&&If.read(a);e&&s.set(o,e)}return t},Ff="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Mf(e);let i=r.data;const o=xf.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:h}=r;function p(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=xf.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Of((function(e){t(e),p()}),(function(e){n(e),p()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Kd("Request aborted",Kd.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Kd("Network Error",Kd.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||sf;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Kd(t,i.clarifyTimeoutError?Kd.ETIMEDOUT:Kd.ECONNABORTED,e,m)),m=null},void 0===i&&o.setContentType(null),"setRequestHeader"in m&&qd.forEach(o.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),qd.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),h&&([l,u]=Cf(h,!0),m.addEventListener("progress",l)),f&&m.upload&&([s,c]=Cf(f),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new Sf(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===pf.protocols.indexOf(y)?n(new Kd("Unsupported protocol "+y+":",Kd.ERR_BAD_REQUEST,e)):m.send(i||null)}))},Lf=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Kd?t:new Sf(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new Kd(`timeout ${t} of ms exceeded`,Kd.ETIMEDOUT))}),t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=()=>qd.asap(a),s}},jf=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Uf=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Bf=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of Uf(e))yield*jf(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},Vf="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,zf=Vf&&"function"==typeof ReadableStream,Wf=Vf&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Hf=(e,...t)=>{try{return!!e(...t)}catch(Zg){return!1}},qf=zf&&Hf((()=>{let e=!1;const t=new Request(pf.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Kf=zf&&Hf((()=>qd.isReadableStream(new Response("").body))),$f={stream:Kf&&(e=>e.body)};var Qf;Vf&&(Qf=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!$f[e]&&($f[e]=qd.isFunction(Qf[e])?t=>t[e]():(t,n)=>{throw new Kd(`Response type '${e}' is not supported`,Kd.ERR_NOT_SUPPORT,n)})})));const Gf=async(e,t)=>{const n=qd.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(qd.isBlob(e))return e.size;if(qd.isSpecCompliantForm(e)){const t=new Request(pf.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return qd.isArrayBufferView(e)||qd.isArrayBuffer(e)?e.byteLength:(qd.isURLSearchParams(e)&&(e+=""),qd.isString(e)?(await Wf(e)).byteLength:void 0)})(t):n},Yf={http:null,xhr:Ff,fetch:Vf&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Mf(e);c=c?(c+"").toLowerCase():"text";let h,p=Lf([i,o&&o.toAbortSignal()],a);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&qf&&"get"!==n&&"head"!==n&&0!==(g=await Gf(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(qd.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Af(g,Cf(Tf(l)));r=Bf(n.body,65536,e,t)}}qd.isString(d)||(d=d?"include":"omit");const i="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:i?d:void 0});let o=await fetch(h);const a=Kf&&("stream"===c||"response"===c);if(Kf&&(s||a&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=qd.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&Af(t,Cf(Tf(s),!0))||[];o=new Response(Bf(o.body,65536,n,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let y=await $f[qd.findKey($f,c)||"text"](o,e);return!a&&m&&m(),await new Promise(((t,n)=>{Of(t,n,{data:y,headers:xf.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:h})}))}catch(y){if(m&&m(),y&&"TypeError"===y.name&&/fetch/i.test(y.message))throw Object.assign(new Kd("Network Error",Kd.ERR_NETWORK,e,h),{cause:y.cause||y});throw Kd.from(y,y&&y.code,e,h)}})};qd.forEach(Yf,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Zg){}Object.defineProperty(e,"adapterName",{value:t})}}));const Jf=e=>`- ${e}`,Xf=e=>qd.isFunction(e)||null===e||!1===e,Zf=e=>{e=qd.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Xf(n)&&(r=Yf[(t=String(n)).toLowerCase()],void 0===r))throw new Kd(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Kd("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Jf).join("\n"):" "+Jf(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function eh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Sf(null,e)}function th(e){eh(e),e.headers=xf.from(e.headers),e.data=kf.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Zf(e.adapter||gf.adapter)(e).then((function(t){return eh(e),t.data=kf.call(e,e.transformResponse,t),t.headers=xf.from(t.headers),t}),(function(t){return Ef(t)||(eh(e),t&&t.response&&(t.response.data=kf.call(e,e.transformResponse,t.response),t.response.headers=xf.from(t.response.headers))),Promise.reject(t)}))}const nh="1.7.7",rh={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{rh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ih={};rh.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new Kd(r(i," has been removed"+(t?" in "+t:"")),Kd.ERR_DEPRECATED);return t&&!ih[i]&&(ih[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};const oh={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Kd("options must be an object",Kd.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new Kd("option "+o+" must be "+n,Kd.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Kd("Unknown option "+o,Kd.ERR_BAD_OPTION)}},validators:rh},ah=oh.validators;class sh{constructor(e){this.defaults=e,this.interceptors={request:new af,response:new af}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Zg){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Df(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&oh.assertOptions(n,{silentJSONParsing:ah.transitional(ah.boolean),forcedJSONParsing:ah.transitional(ah.boolean),clarifyTimeoutError:ah.transitional(ah.boolean)},!1),null!=r&&(qd.isFunction(r)?t.paramsSerializer={serialize:r}:oh.assertOptions(r,{encode:ah.function,serialize:ah.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&qd.merge(i.common,i[t.method]);i&&qd.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=xf.concat(o,i);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,d=0;if(!s){const e=[th.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(h){t.call(this,h);break}}try{c=th.call(this,f)}catch(h){return Promise.reject(h)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return of(Nf((e=Df(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}qd.forEach(["delete","get","head","options"],(function(e){sh.prototype[e]=function(t,n){return this.request(Df(n||{},{method:e,url:t,data:(n||{}).data}))}})),qd.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Df(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}sh.prototype[e]=t(),sh.prototype[e+"Form"]=t(!0)}));class lh{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,i){n.reason||(n.reason=new Sf(e,r,i),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)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new lh((function(t){e=t})),cancel:e}}}const ch={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(ch).forEach((([e,t])=>{ch[t]=e}));const uh=function e(t){const n=new sh(t),r=rd(sh.prototype.request,n);return qd.extend(r,sh.prototype,n,{allOwnKeys:!0}),qd.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Df(t,n))},r}(gf);let dh;uh.Axios=sh,uh.CanceledError=Sf,uh.CancelToken=lh,uh.isCancel=Ef,uh.VERSION=nh,uh.toFormData=Zd,uh.AxiosError=Kd,uh.Cancel=uh.CanceledError,uh.all=function(e){return Promise.all(e)},uh.spread=function(e){return function(t){return e.apply(null,t)}},uh.isAxiosError=function(e){return qd.isObject(e)&&!0===e.isAxiosError},uh.mergeConfig=Df,uh.AxiosHeaders=xf,uh.formToJSON=e=>mf(qd.isHTMLForm(e)?new FormData(e):e),uh.getAdapter=Zf,uh.HttpStatusCode=ch,uh.default=uh;const fh=async(e,t)=>{var n;return null==(n=await(null==dh?void 0:dh.get(e,t)))?void 0:n.data},hh=async(e,t,n)=>{var r;return null==(r=await(null==dh?void 0:dh.post(e,t,n)))?void 0:r.data};let ph;const mh=()=>{if(ph)return ph;return ph=new un({defaultOptions:{queries:{retry:(e,t)=>{var n;return 0===e&&![401,403].includes((null==(n=t.response)?void 0:n.status)||0)}}}}),ph},gh="/benefits-plan/workplace-backend",yh=e=>fh(`${gh}/v2.0/activities/${e.activityId}/steps`),vh=e=>{var t;const n=null==(t=e.progressEvents)?void 0:t.map((({dataType:e,...t})=>e===ed.Standard?t:{dataType:e,...t}));return(async(e,t,n)=>{var r;return null==(r=await(null==dh?void 0:dh.put(e,t,n)))?void 0:r.data})(`${gh}/v1.0/customer/activities/${e.activityId}`,{activityAction:e.activityAction,progressEvents:n})},bh=e=>hh(`${gh}/v2.0/analytics/track`,e),_h=()=>fh("/benefits-plan/customer-backend/v1.0/public-holidays"),wh=e=>{var t,n,r,i,o;const{data:a,isError:s,isLoading:l,isSuccess:c,refetch:u}=vi({queryKey:["benefitsPlanGetCalculate",e.assessmentId],queryFn:()=>(async e=>fh(`${gh}/v1.0/activities/${e.activityId}/calculate`))({activityId:e.assessmentId}),staleTime:1/0});Pn((()=>{bh({event:nd.AssessmentSummaryViewed,properties:{id:e.assessmentId,name:e.title}})}),[e.assessmentId,e.title]);const d=(null==a?void 0:a.calculationType)===Xu.SalaryPackagingCars||(null==a?void 0:a.calculationType)===Xu.Trivia,f=d?"All done":(null==(t=null==a?void 0:a.estimates)?void 0:t.primary.title)||"",h=(null==a?void 0:a.calculationType)===Xu.SalaryPackagingCars?"A Flare Cars expert will be in touch soon to discuss your estimate and your novated leasing options.":(null==a?void 0:a.calculationType)===Xu.Trivia||null==(n=null==a?void 0:a.estimates)?void 0:n.blurb.text,p=d||null==(r=null==a?void 0:a.estimates)?void 0:r.blurb.imageUrl,m=d||"true"===e.skipMoreDetails||null==(i=null==a?void 0:a.estimates)?void 0:i.moreDetailsUrl,g=xh(e.specialBannerType&&(null==a?void 0:a.calculationType));return xt(Qu,{children:[l&&xt(qu,{}),s&&xt($u,{retry:u}),c?xt("div",{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{class:"flex flex-col gap-6",children:[xt(fc,{heading1:!0,children:f}),g?xt(Wu,{title:g,type:"completed"}):null,xt(fc,{paragraph1:!0,children:h}),p?xt("img",{loading:"lazy",src:p}):null,xt("div",{class:"flex gap-1 flex-wrap",children:[m?xt(Ku,{class:_i(e.onComplete?"flex-grow":""),onClick:()=>window.open(m,"_blank"),children:"See your plans"}):null,e.onComplete?xt(Ku,{class:_i(m?"flex-grow":""),onClick:e.onComplete,children:"View next benefit"}):null]}),(null==(o=e.terms)?void 0:o.length)?xt(fc,{terms:!0,children:e.terms.map(((e,t)=>xt("span",{dangerouslySetInnerHTML:{__html:Cu.sanitize(e,{ADD_ATTR:["target"]})}},t)))}):null]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]}):null]})},xh=e=>{if(void 0===e||e===Xu.Trivia)return;let t;return t=e===Xu.SalaryPackagingCars?"car":e.toLowerCase(),`Your estimated ${t} reimbursement will be calculated and sent to your email*`},kh=e=>{var t,n;const r=so(),i=e.declineButtonLabel&&e.onDecline;return xt(Qu,{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{class:"flex flex-col gap-6",children:[xt("div",{children:[xt(fc,{class:"mb-2",heading1:!0,children:e.title}),xt(fc,{paragraph1:!0,children:e.description})]}),(null==(t=e.details)?void 0:t.length)?xt("div",{class:"flex flex-col p-6 rounded-lg border border-gray-200 shadow-sm gap-2",children:e.details.map(((e,t)=>xt("div",{class:"flex",children:[xt(Vu,{className:"text-primary-base mt-1 mr-2.5 text-sm",icon:dc}),e]},t)))}):null,e.specialBannerType?xt(Wu,{subtitle:e.specialBannerSubtitle,title:e.specialBannerTitle,type:e.specialBannerType}):null,xt("div",{class:"flex gap-1 flex-wrap",children:[xt(Ku,{class:_i(i?"flex-grow":""),onClick:()=>{var t;r("/question"),null==(t=e.onAccept)||t.call(e)},children:e.acceptButtonLabel}),i&&xt(Ku,{class:"flex-grow",onClick:()=>{var t;null==(t=e.onDecline)||t.call(e),bh({event:nd.AssessmentSkipped,properties:{id:e.assessmentId,name:e.title}})},secondary:!0,children:e.declineButtonLabel})]}),(null==(n=e.terms)?void 0:n.length)?xt(fc,{terms:!0,children:e.terms.map(((e,t)=>xt("span",{dangerouslySetInnerHTML:{__html:Cu.sanitize(e,{ADD_ATTR:["target"]})}},t)))}):null]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]})},Eh=e=>{const{data:t,isError:n,isLoading:r,refetch:i}=vi({queryKey:["benefitsPlanGetSteps",e.assessmentId],queryFn:()=>yh({activityId:e.assessmentId})}),{id:o}=function(){let{matches:e}=Un(no),t=e[e.length-1];return t?t.params:{}}(),a=null==t?void 0:t.steps.find((e=>e.id===o));return xt(Qu,{children:[r&&xt(qu,{}),n&&xt($u,{retry:i}),!a||r||n?null:xt(qe,{children:xt("div",{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{children:[xt(fc,{class:"mb-2",heading1:!0,children:a.title}),xt(fc,{class:"mb-6",paragraph1:!0,children:a.description}),e.onComplete?xt(Ku,{onClick:e.onComplete,children:"Next"}):null]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]})})]})};var Sh=e=>"checkbox"===e.type,Oh=e=>e instanceof Date,Ch=e=>null==e;const Ah=e=>"object"==typeof e;var Th=e=>!Ch(e)&&!Array.isArray(e)&&Ah(e)&&!Oh(e),Rh=e=>Th(e)&&e.target?Sh(e.target)?e.target.checked:e.target.value:e,Ih=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Nh=e=>{const t=e.constructor&&e.constructor.prototype;return Th(t)&&t.hasOwnProperty("isPrototypeOf")},Ph="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function Dh(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Ph&&(e instanceof Blob||e instanceof FileList)||!n&&!Th(e))return e;if(t=n?[]:{},n||Nh(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=Dh(e[n]));else t=e}return t}var Mh=e=>Array.isArray(e)?e.filter(Boolean):[],Fh=e=>void 0===e,Lh=(e,t,n)=>{if(!t||!Th(e))return n;const r=Mh(t.split(/[,[\].]+?/)).reduce(((e,t)=>Ch(e)?e:e[t]),e);return Fh(r)||r===e?Fh(e[t])?n:e[t]:r},jh=e=>"boolean"==typeof e,Uh=e=>/^\w*$/.test(e),Bh=e=>Mh(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Vh=(e,t,n)=>{let r=-1;const i=Uh(t)?[t]:Bh(t),o=i.length,a=o-1;for(;++r<o;){const t=i[r];let o=n;if(r!==a){const n=e[t];o=Th(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t)return;e[t]=o,e=e[t]}return e};const zh={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Wh={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Hh="max",qh="min",Kh="maxLength",$h="minLength",Qh="pattern",Gh="required",Yh="validate",Jh=Jr.createContext(null),Xh=()=>Jr.useContext(Jh);var Zh=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const o in e)Object.defineProperty(i,o,{get:()=>{const i=o;return t._proxyFormState[i]!==Wh.all&&(t._proxyFormState[i]=!r||Wh.all),n&&(n[i]=!0),e[i]}});return i},ep=e=>Th(e)&&!Object.keys(e).length,tp=(e,t,n,r)=>{n(e);const{name:i,...o}=e;return ep(o)||Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find((e=>t[e]===(!r||Wh.all)))},np=e=>Array.isArray(e)?e:[e],rp=(e,t,n)=>!e||!t||e===t||np(e).some((e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))));function ip(e){const t=Jr.useRef(e);t.current=e,Jr.useEffect((()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}}),[e.disabled])}var op=e=>"string"==typeof e,ap=(e,t,n,r,i)=>op(e)?(r&&t.watch.add(e),Lh(n,e,i)):Array.isArray(e)?e.map((e=>(r&&t.watch.add(e),Lh(n,e)))):(r&&(t.watchAll=!0),n);function sp(e){const t=Xh(),{control:n=t.control,name:r,defaultValue:i,disabled:o,exact:a}=e||{},s=Jr.useRef(r);s.current=r,ip({disabled:o,subject:n._subjects.values,next:e=>{rp(s.current,e.name,a)&&c(Dh(ap(s.current,n._names,e.values||n._formValues,!1,i)))}});const[l,c]=Jr.useState(n._getWatch(r,i));return Jr.useEffect((()=>n._removeUnmounted())),l}function lp(e){const t=Xh(),{name:n,disabled:r,control:i=t.control,shouldUnregister:o}=e,a=Ih(i._names.array,n),s=sp({control:i,name:n,defaultValue:Lh(i._formValues,n,Lh(i._defaultValues,n,e.defaultValue)),exact:!0}),l=function(e){const t=Xh(),{control:n=t.control,disabled:r,name:i,exact:o}=e||{},[a,s]=Jr.useState(n._formState),l=Jr.useRef(!0),c=Jr.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=Jr.useRef(i);return u.current=i,ip({disabled:r,next:e=>l.current&&rp(u.current,e.name,o)&&tp(e,c.current,n._updateFormState)&&s({...n._formState,...e}),subject:n._subjects.state}),Jr.useEffect((()=>(l.current=!0,c.current.isValid&&n._updateValid(!0),()=>{l.current=!1})),[n]),Zh(a,n,c.current,!1)}({control:i,name:n,exact:!0}),c=Jr.useRef(i.register(n,{...e.rules,value:s,...jh(e.disabled)?{disabled:e.disabled}:{}}));return Jr.useEffect((()=>{const e=i._options.shouldUnregister||o,t=(e,t)=>{const n=Lh(i._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){const e=Dh(Lh(i._options.defaultValues,n));Vh(i._defaultValues,n,e),Fh(Lh(i._formValues,n))&&Vh(i._formValues,n,e)}return()=>{(a?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}}),[n,i,a,o]),Jr.useEffect((()=>{Lh(i._fields,n)&&i._updateDisabledField({disabled:r,fields:i._fields,name:n,value:Lh(i._fields,n)._f.value})}),[r,n,i]),{field:{name:n,value:s,...jh(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:Jr.useCallback((e=>c.current.onChange({target:{value:Rh(e),name:n},type:zh.CHANGE})),[n]),onBlur:Jr.useCallback((()=>c.current.onBlur({target:{value:Lh(i._formValues,n),name:n},type:zh.BLUR})),[n,i]),ref:Jr.useCallback((e=>{const t=Lh(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}),[i._fields,n])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Lh(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!Lh(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Lh(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Lh(l.validatingFields,n)},error:{enumerable:!0,get:()=>Lh(l.errors,n)}})}}const cp=e=>e.render(lp(e));var up=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},dp=e=>({isOnSubmit:!e||e===Wh.onSubmit,isOnBlur:e===Wh.onBlur,isOnChange:e===Wh.onChange,isOnAll:e===Wh.all,isOnTouch:e===Wh.onTouched}),fp=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const hp=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const n=Lh(e,i);if(n){const{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(hp(o,t))break}else if(Th(o)&&hp(o,t))break}}};var pp=(e,t,n)=>{const r=np(Lh(e,n));return Vh(r,"root",t[n]),Vh(e,n,r),e},mp=e=>"file"===e.type,gp=e=>"function"==typeof e,yp=e=>{if(!Ph)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},vp=e=>op(e),bp=e=>"radio"===e.type,_p=e=>e instanceof RegExp;const wp={value:!1,isValid:!1},xp={value:!0,isValid:!0};var kp=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Fh(e[0].attributes.value)?Fh(e[0].value)||""===e[0].value?xp:{value:e[0].value,isValid:!0}:xp:wp}return wp};const Ep={isValid:!1,value:null};var Sp=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Ep):Ep;function Op(e,t,n="validate"){if(vp(e)||Array.isArray(e)&&e.every(vp)||jh(e)&&!e)return{type:n,message:vp(e)?e:"",ref:t}}var Cp=e=>Th(e)&&!_p(e)?e:{value:e,message:""},Ap=async(e,t,n,r,i)=>{const{ref:o,refs:a,required:s,maxLength:l,minLength:c,min:u,max:d,pattern:f,validate:h,name:p,valueAsNumber:m,mount:g,disabled:y}=e._f,v=Lh(t,p);if(!g||y)return{};const b=a?a[0]:o,_=e=>{r&&b.reportValidity&&(b.setCustomValidity(jh(e)?"":e||""),b.reportValidity())},w={},x=bp(o),k=Sh(o),E=x||k,S=(m||mp(o))&&Fh(o.value)&&Fh(v)||yp(o)&&""===o.value||""===v||Array.isArray(v)&&!v.length,O=up.bind(null,p,n,w),C=(e,t,n,r=Kh,i=$h)=>{const a=e?t:n;w[p]={type:e?r:i,message:a,ref:o,...O(e?r:i,a)}};if(i?!Array.isArray(v)||!v.length:s&&(!E&&(S||Ch(v))||jh(v)&&!v||k&&!kp(a).isValid||x&&!Sp(a).isValid)){const{value:e,message:t}=vp(s)?{value:!!s,message:s}:Cp(s);if(e&&(w[p]={type:Gh,message:t,ref:b,...O(Gh,t)},!n))return _(t),w}if(!(S||Ch(u)&&Ch(d))){let e,t;const r=Cp(d),i=Cp(u);if(Ch(v)||isNaN(v)){const n=o.valueAsDate||new Date(v),a=e=>new Date((new Date).toDateString()+" "+e),s="time"==o.type,l="week"==o.type;op(r.value)&&v&&(e=s?a(v)>a(r.value):l?v>r.value:n>new Date(r.value)),op(i.value)&&v&&(t=s?a(v)<a(i.value):l?v<i.value:n<new Date(i.value))}else{const n=o.valueAsNumber||(v?+v:v);Ch(r.value)||(e=n>r.value),Ch(i.value)||(t=n<i.value)}if((e||t)&&(C(!!e,r.message,i.message,Hh,qh),!n))return _(w[p].message),w}if((l||c)&&!S&&(op(v)||i&&Array.isArray(v))){const e=Cp(l),t=Cp(c),r=!Ch(e.value)&&v.length>+e.value,i=!Ch(t.value)&&v.length<+t.value;if((r||i)&&(C(r,e.message,t.message),!n))return _(w[p].message),w}if(f&&!S&&op(v)){const{value:e,message:t}=Cp(f);if(_p(e)&&!v.match(e)&&(w[p]={type:Qh,message:t,ref:o,...O(Qh,t)},!n))return _(t),w}if(h)if(gp(h)){const e=Op(await h(v,t),b);if(e&&(w[p]={...e,...O(Yh,e.message)},!n))return _(e.message),w}else if(Th(h)){let e={};for(const r in h){if(!ep(e)&&!n)break;const i=Op(await h[r](v,t),b,r);i&&(e={...i,...O(r,i.message)},_(i.message),n&&(w[p]=e))}if(!ep(e)&&(w[p]={ref:b,...e},!n))return w}return _(!0),w};function Tp(e,t){const n=Array.isArray(t)?t:Uh(t)?[t]:Bh(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=Fh(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(Th(r)&&ep(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!Fh(e[t]))return!1;return!0}(r))&&Tp(e,n.slice(0,-1)),e}var Rp=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},Ip=e=>Ch(e)||!Ah(e);function Np(e,t){if(Ip(e)||Ip(t))return e===t;if(Oh(e)&&Oh(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const n=e[i];if(!r.includes(i))return!1;if("ref"!==i){const e=t[i];if(Oh(n)&&Oh(e)||Th(n)&&Th(e)||Array.isArray(n)&&Array.isArray(e)?!Np(n,e):n!==e)return!1}}return!0}var Pp=e=>"select-multiple"===e.type,Dp=e=>bp(e)||Sh(e),Mp=e=>yp(e)&&e.isConnected,Fp=e=>{for(const t in e)if(gp(e[t]))return!0;return!1};function Lp(e,t={}){const n=Array.isArray(e);if(Th(e)||n)for(const r in e)Array.isArray(e[r])||Th(e[r])&&!Fp(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Lp(e[r],t[r])):Ch(e[r])||(t[r]=!0);return t}function jp(e,t,n){const r=Array.isArray(e);if(Th(e)||r)for(const i in e)Array.isArray(e[i])||Th(e[i])&&!Fp(e[i])?Fh(t)||Ip(n[i])?n[i]=Array.isArray(e[i])?Lp(e[i],[]):{...Lp(e[i])}:jp(e[i],Ch(t)?{}:t[i],n[i]):n[i]=!Np(e[i],t[i]);return n}var Up=(e,t)=>jp(e,t,Lp(t)),Bp=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Fh(e)?e:t?""===e?NaN:e?+e:e:n&&op(e)?new Date(e):r?r(e):e;function Vp(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return mp(t)?t.files:bp(t)?Sp(e.refs).value:Pp(t)?[...t.selectedOptions].map((({value:e})=>e)):Sh(t)?kp(e.refs).value:Bp(Fh(t.value)?e.ref.value:t.value,e)}var zp=(e,t,n,r)=>{const i={};for(const o of e){const e=Lh(t,o);e&&Vh(i,o,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},Wp=e=>Fh(e)?e:_p(e)?e.source:Th(e)?_p(e.value)?e.value.source:e.value:e;const Hp="AsyncFunction";var qp=e=>!(e&&e.validate||!(gp(e.validate)&&e.validate.constructor.name===Hp||Th(e.validate)&&Object.values(e.validate).find((e=>e.constructor.name===Hp)))),Kp=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function $p(e,t,n){const r=Lh(e,n);if(r||Uh(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const r=i.join("."),o=Lh(t,r),a=Lh(e,r);if(o&&!Array.isArray(o)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};i.pop()}return{name:n}}var Qp=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e),Gp=(e,t)=>!Mh(Lh(e,t)).length&&Tp(e,t);const Yp={mode:Wh.onSubmit,reValidateMode:Wh.onChange,shouldFocusError:!0};function Jp(e={}){let t,n={...Yp,...e},r={submitCount:0,isDirty:!1,isLoading:gp(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},i={},o=(Th(n.defaultValues)||Th(n.values))&&Dh(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:Dh(o),s={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:Rp(),array:Rp(),state:Rp()},f=dp(n.mode),h=dp(n.reValidateMode),p=n.criteriaMode===Wh.all,m=async e=>{if(u.isValid||e){const e=n.resolver?ep((await _()).errors):await w(i,!0);e!==r.isValid&&d.state.next({isValid:e})}},g=(e,t)=>{(u.isValidating||u.validatingFields)&&((e||Array.from(l.mount)).forEach((e=>{e&&(t?Vh(r.validatingFields,e,t):Tp(r.validatingFields,e))})),d.state.next({validatingFields:r.validatingFields,isValidating:!ep(r.validatingFields)}))},y=(e,t,n,r)=>{const l=Lh(i,e);if(l){const i=Lh(a,e,Fh(n)?Lh(o,e):n);Fh(i)||r&&r.defaultChecked||t?Vh(a,e,t?i:Vp(l._f)):E(e,i),s.mount&&m()}},v=(e,t,n,a,s)=>{let l=!1,c=!1;const f={name:e},h=!!(Lh(i,e)&&Lh(i,e)._f&&Lh(i,e)._f.disabled);if(!n||a){u.isDirty&&(c=r.isDirty,r.isDirty=f.isDirty=x(),l=c!==f.isDirty);const n=h||Np(Lh(o,e),t);c=!(h||!Lh(r.dirtyFields,e)),n||h?Tp(r.dirtyFields,e):Vh(r.dirtyFields,e,!0),f.dirtyFields=r.dirtyFields,l=l||u.dirtyFields&&c!==!n}if(n){const t=Lh(r.touchedFields,e);t||(Vh(r.touchedFields,e,n),f.touchedFields=r.touchedFields,l=l||u.touchedFields&&t!==n)}return l&&s&&d.state.next(f),l?f:{}},b=(n,i,o,a)=>{const s=Lh(r.errors,n),l=u.isValid&&jh(i)&&r.isValid!==i;var f;if(e.delayError&&o?(f=()=>((e,t)=>{Vh(r.errors,e,t),d.state.next({errors:r.errors})})(n,o),t=e=>{clearTimeout(c),c=setTimeout(f,e)},t(e.delayError)):(clearTimeout(c),t=null,o?Vh(r.errors,n,o):Tp(r.errors,n)),(o?!Np(s,o):s)||!ep(a)||l){const e={...a,...l&&jh(i)?{isValid:i}:{},errors:r.errors,name:n};r={...r,...e},d.state.next(e)}},_=async e=>{g(e,!0);const t=await n.resolver(a,n.context,zp(e||l.mount,i,n.criteriaMode,n.shouldUseNativeValidation));return g(e),t},w=async(e,t,i={valid:!0})=>{for(const o in e){const s=e[o];if(s){const{_f:e,...c}=s;if(e){const c=l.array.has(e.name),d=s._f&&qp(s._f);d&&u.validatingFields&&g([o],!0);const f=await Ap(s,a,p,n.shouldUseNativeValidation&&!t,c);if(d&&u.validatingFields&&g([o]),f[e.name]&&(i.valid=!1,t))break;!t&&(Lh(f,e.name)?c?pp(r.errors,f,e.name):Vh(r.errors,e.name,f[e.name]):Tp(r.errors,e.name))}!ep(c)&&await w(c,t,i)}}return i.valid},x=(e,t)=>(e&&t&&Vh(a,e,t),!Np(R(),o)),k=(e,t,n)=>ap(e,l,{...s.mount?a:Fh(t)?o:op(e)?{[e]:t}:t},n,t),E=(e,t,n={})=>{const r=Lh(i,e);let o=t;if(r){const n=r._f;n&&(!n.disabled&&Vh(a,e,Bp(t,n)),o=yp(n.ref)&&Ch(t)?"":t,Pp(n.ref)?[...n.ref.options].forEach((e=>e.selected=o.includes(e.value))):n.refs?Sh(n.ref)?n.refs.length>1?n.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(o)?!!o.find((t=>t===e.value)):o===e.value))):n.refs[0]&&(n.refs[0].checked=!!o):n.refs.forEach((e=>e.checked=e.value===o)):mp(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||d.values.next({name:e,values:{...a}})))}(n.shouldDirty||n.shouldTouch)&&v(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&T(e)},S=(e,t,n)=>{for(const r in t){const o=t[r],a=`${e}.${r}`,s=Lh(i,a);!l.array.has(e)&&Ip(o)&&(!s||s._f)||Oh(o)?E(a,o,n):S(a,o,n)}},O=(e,t,n={})=>{const c=Lh(i,e),f=l.array.has(e),h=Dh(t);Vh(a,e,h),f?(d.array.next({name:e,values:{...a}}),(u.isDirty||u.dirtyFields)&&n.shouldDirty&&d.state.next({name:e,dirtyFields:Up(o,a),isDirty:x(e,h)})):!c||c._f||Ch(h)?E(e,h,n):S(e,h,n),fp(e,l)&&d.state.next({...r}),d.values.next({name:s.mount?e:void 0,values:{...a}})},C=async o=>{s.mount=!0;const c=o.target;let y=c.name,x=!0;const k=Lh(i,y),E=e=>{x=Number.isNaN(e)||Np(e,Lh(a,y,e))};if(k){let s,S;const O=c.type?Vp(k._f):Rh(o),C=o.type===zh.BLUR||o.type===zh.FOCUS_OUT,A=!Kp(k._f)&&!n.resolver&&!Lh(r.errors,y)&&!k._f.deps||Qp(C,Lh(r.touchedFields,y),r.isSubmitted,h,f),R=fp(y,l,C);Vh(a,y,O),C?(k._f.onBlur&&k._f.onBlur(o),t&&t(0)):k._f.onChange&&k._f.onChange(o);const I=v(y,O,C,!1),N=!ep(I)||R;if(!C&&d.values.next({name:y,type:o.type,values:{...a}}),A)return u.isValid&&("onBlur"===e.mode?C&&m():m()),N&&d.state.next({name:y,...R?{}:I});if(!C&&R&&d.state.next({...r}),n.resolver){const{errors:e}=await _([y]);if(E(O),x){const t=$p(r.errors,i,y),n=$p(e,i,t.name||y);s=n.error,y=n.name,S=ep(e)}}else g([y],!0),s=(await Ap(k,a,p,n.shouldUseNativeValidation))[y],g([y]),E(O),x&&(s?S=!1:u.isValid&&(S=await w(i,!0)));x&&(k._f.deps&&T(k._f.deps),b(y,S,s,I))}},A=(e,t)=>{if(Lh(r.errors,t)&&e.focus)return e.focus(),1},T=async(e,t={})=>{let o,a;const s=np(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await _(e);if(e)for(const n of e){const e=Lh(t,n);e?Vh(r.errors,n,e):Tp(r.errors,n)}else r.errors=t;return t})(Fh(e)?e:s);o=ep(t),a=e?!s.some((e=>Lh(t,e))):o}else e?(a=(await Promise.all(s.map((async e=>{const t=Lh(i,e);return await w(t&&t._f?{[e]:t}:t)})))).every(Boolean),(a||r.isValid)&&m()):a=o=await w(i);return d.state.next({...!op(e)||u.isValid&&o!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:o}:{},errors:r.errors}),t.shouldFocus&&!a&&hp(i,A,e?s:l.mount),a},R=e=>{const t={...s.mount?a:o};return Fh(e)?t:op(e)?Lh(t,e):e.map((e=>Lh(t,e)))},I=(e,t)=>({invalid:!!Lh((t||r).errors,e),isDirty:!!Lh((t||r).dirtyFields,e),error:Lh((t||r).errors,e),isValidating:!!Lh(r.validatingFields,e),isTouched:!!Lh((t||r).touchedFields,e)}),N=(e,t,n)=>{const o=(Lh(i,e,{_f:{}})._f||{}).ref,a=Lh(r.errors,e)||{},{ref:s,message:l,type:c,...u}=a;Vh(r.errors,e,{...u,...t,ref:o}),d.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&o&&o.focus&&o.focus()},P=(e,t={})=>{for(const s of e?np(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(Tp(i,s),Tp(a,s)),!t.keepError&&Tp(r.errors,s),!t.keepDirty&&Tp(r.dirtyFields,s),!t.keepTouched&&Tp(r.touchedFields,s),!t.keepIsValidating&&Tp(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&Tp(o,s);d.values.next({values:{...a}}),d.state.next({...r,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&m()},D=({disabled:e,name:t,field:n,fields:r,value:i})=>{if(jh(e)&&s.mount||e){const o=e?void 0:Fh(i)?Vp(n?n._f:Lh(r,t)._f):i;Vh(a,t,o),v(t,o,!1,!1,!0)}},M=(t,r={})=>{let a=Lh(i,t);const c=jh(r.disabled)||jh(e.disabled);return Vh(i,t,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:t}},name:t,mount:!0,...r}}),l.mount.add(t),a?D({field:a,disabled:jh(r.disabled)?r.disabled:e.disabled,name:t,value:r.value}):y(t,!0,r.value),{...c?{disabled:r.disabled||e.disabled}:{},...n.progressive?{required:!!r.required,min:Wp(r.min),max:Wp(r.max),minLength:Wp(r.minLength),maxLength:Wp(r.maxLength),pattern:Wp(r.pattern)}:{},name:t,onChange:C,onBlur:C,ref:e=>{if(e){M(t,r),a=Lh(i,t);const n=Fh(e.value)&&e.querySelectorAll&&e.querySelectorAll("input,select,textarea")[0]||e,s=Dp(n),l=a._f.refs||[];if(s?l.find((e=>e===n)):n===a._f.ref)return;Vh(i,t,{_f:{...a._f,...s?{refs:[...l.filter(Mp),n,...Array.isArray(Lh(o,t))?[{}]:[]],ref:{type:n.type,name:t}}:{ref:n}}}),y(t,!1,void 0,n)}else a=Lh(i,t,{}),a._f&&(a._f.mount=!1),(n.shouldUnregister||r.shouldUnregister)&&(!Ih(l.array,t)||!s.action)&&l.unMount.add(t)}}},F=()=>n.shouldFocusError&&hp(i,A,l.mount),L=(e,t)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let l=Dh(a);if(d.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await _();r.errors=e,l=t}else await w(i);if(Tp(r.errors,"root"),ep(r.errors)){d.state.next({errors:{}});try{await e(l,o)}catch(c){s=c}}else t&&await t({...r.errors},o),F(),setTimeout(F);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ep(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},j=(t,n={})=>{const c=t?Dh(t):o,f=Dh(c),h=ep(t),p=h?o:f;if(n.keepDefaultValues||(o=c),!n.keepValues){if(n.keepDirtyValues)for(const e of l.mount)Lh(r.dirtyFields,e)?Vh(p,e,Lh(a,e)):O(e,Lh(p,e));else{if(Ph&&Fh(t))for(const e of l.mount){const t=Lh(i,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(yp(e)){const t=e.closest("form");if(t){t.reset();break}}}}i={}}a=e.shouldUnregister?n.keepDefaultValues?Dh(o):{}:Dh(p),d.array.next({values:{...p}}),d.values.next({values:{...p}})}l={mount:n.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!u.isValid||!!n.keepIsValid||!!n.keepDirtyValues,s.watch=!!e.shouldUnregister,d.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:!h&&(n.keepDirty?r.isDirty:!(!n.keepDefaultValues||Np(t,o))),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:h?{}:n.keepDirtyValues?n.keepDefaultValues&&a?Up(o,a):r.dirtyFields:n.keepDefaultValues&&t?Up(o,t):n.keepDirty?r.dirtyFields:{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},U=(e,t)=>j(gp(e)?e(a):e,t);return{control:{register:M,unregister:P,getFieldState:I,handleSubmit:L,setError:N,_executeSchema:_,_getWatch:k,_getDirty:x,_updateValid:m,_removeUnmounted:()=>{for(const e of l.unMount){const t=Lh(i,e);t&&(t._f.refs?t._f.refs.every((e=>!Mp(e))):!Mp(t._f.ref))&&P(e)}l.unMount=new Set},_updateFieldArray:(e,t=[],n,l,c=!0,f=!0)=>{if(l&&n){if(s.action=!0,f&&Array.isArray(Lh(i,e))){const t=n(Lh(i,e),l.argA,l.argB);c&&Vh(i,e,t)}if(f&&Array.isArray(Lh(r.errors,e))){const t=n(Lh(r.errors,e),l.argA,l.argB);c&&Vh(r.errors,e,t),Gp(r.errors,e)}if(u.touchedFields&&f&&Array.isArray(Lh(r.touchedFields,e))){const t=n(Lh(r.touchedFields,e),l.argA,l.argB);c&&Vh(r.touchedFields,e,t)}u.dirtyFields&&(r.dirtyFields=Up(o,a)),d.state.next({name:e,isDirty:x(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Vh(a,e,t)},_updateDisabledField:D,_getFieldArray:t=>Mh(Lh(s.mount?a:o,t,e.shouldUnregister?Lh(o,t,[]):[])),_reset:j,_resetDefaultValues:()=>gp(n.defaultValues)&&n.defaultValues().then((e=>{U(e,n.resetOptions),d.state.next({isLoading:!1})})),_updateFormState:e=>{r={...r,...e}},_disableForm:e=>{jh(e)&&(d.state.next({disabled:e}),hp(i,((t,n)=>{const r=Lh(i,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach((t=>{t.disabled=r._f.disabled||e})))}),0,!1))},_subjects:d,_proxyFormState:u,_setErrors:e=>{r.errors=e,d.state.next({errors:r.errors,isValid:!1})},get _fields(){return i},get _formValues(){return a},get _state(){return s},set _state(e){s=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return r},set _formState(e){r=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:T,register:M,handleSubmit:L,watch:(e,t)=>gp(e)?d.values.subscribe({next:n=>e(k(void 0,t),n)}):k(e,t,!0),setValue:O,getValues:R,reset:U,resetField:(e,t={})=>{Lh(i,e)&&(Fh(t.defaultValue)?O(e,Dh(Lh(o,e))):(O(e,t.defaultValue),Vh(o,e,Dh(t.defaultValue))),t.keepTouched||Tp(r.touchedFields,e),t.keepDirty||(Tp(r.dirtyFields,e),r.isDirty=t.defaultValue?x(e,Dh(Lh(o,e))):x()),t.keepError||(Tp(r.errors,e),u.isValid&&m()),d.state.next({...r}))},clearErrors:e=>{e&&np(e).forEach((e=>Tp(r.errors,e))),d.state.next({errors:e?r.errors:{}})},unregister:P,setError:N,setFocus:(e,t={})=>{const n=Lh(i,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:I}}function Xp(e,t){return e===t}function Zp(e,t){return t}function em(e,t,n){var r=n&&n.equalityFn||Xp,i=Nn(Zp,e),o=i[0],a=i[1],s=function(e,t,n){var r=this,i=Mn(null),o=Mn(0),a=Mn(null),s=Mn([]),l=Mn(),c=Mn(),u=Mn(e),d=Mn(!0);u.current=e;var f="undefined"!=typeof window,h=!t&&0!==t&&f;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var p=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,y="debounceOnServer"in n&&!!n.debounceOnServer,v=g?Math.max(+n.maxWait||0,t):null;Pn((function(){return d.current=!0,function(){d.current=!1}}),[]);var b=Ln((function(){var e=function(e){var t=s.current,n=l.current;return s.current=l.current=null,o.current=e,c.current=u.current.apply(n,t)},n=function(e,t){h&&cancelAnimationFrame(a.current),a.current=h?requestAnimationFrame(e):setTimeout(e,t)},b=function(e){if(!d.current)return!1;var n=e-i.current;return!i.current||n>=t||n<0||g&&e-o.current>=v},_=function(t){return a.current=null,m&&s.current?e(t):(s.current=l.current=null,c.current)},w=function e(){var r=Date.now();if(b(r))return _(r);if(d.current){var a=t-(r-i.current),s=g?Math.min(a,v-(r-o.current)):a;n(e,s)}},x=function(){if(f||y){var u=Date.now(),h=b(u);if(s.current=[].slice.call(arguments),l.current=r,i.current=u,h){if(!a.current&&d.current)return o.current=i.current,n(w,t),p?e(i.current):c.current;if(g)return n(w,t),e(i.current)}return a.current||n(w,t),c.current}};return x.cancel=function(){a.current&&(h?cancelAnimationFrame(a.current):clearTimeout(a.current)),o.current=0,s.current=i.current=l.current=a.current=null},x.isPending=function(){return!!a.current},x.flush=function(){return a.current?_(Date.now()):c.current},x}),[p,g,t,v,m,h,f,y]);return b}(jn((function(e){return a(e)}),[a]),t,n),l=Mn(e);return r(l.current,e)||(s(e),l.current=e),r(o,e)&&s.cancel(),[o,s]}const tm=({label:e,error:t,hint:n,class:r,...i})=>xt("div",{class:r,children:xt("div",{class:"flex flex-col gap-2",children:[xt(fc,{label:!0,children:e}),xt("div",{children:i.children}),t&&xt(fc,{danger:!0,hint:!0,children:t}),n&&xt(fc,{hint:!0,children:n})]})});var nm,rm={},im=Symbol.for("react.element"),om=Symbol.for("react.portal"),am=Symbol.for("react.fragment"),sm=Symbol.for("react.strict_mode"),lm=Symbol.for("react.profiler"),cm=Symbol.for("react.provider"),um=Symbol.for("react.context"),dm=Symbol.for("react.server_context"),fm=Symbol.for("react.forward_ref"),hm=Symbol.for("react.suspense"),pm=Symbol.for("react.suspense_list"),mm=Symbol.for("react.memo"),gm=Symbol.for("react.lazy"),ym=Symbol.for("react.offscreen");
|
|
22
|
+
function Ji(){return Ji=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ji.apply(this,arguments)}new Set(Yi);const Xi=ft(null),Zi=ft(null),ea=ft(null),ta=ft(null),na=ft({outlet:null,matches:[],isDataRoute:!1}),ra=ft(null);function ia(){return null!=Un(ta)}function aa(){return ia()||ki(!1),Un(ta).location}function oa(e){Un(ea).static||Dn(e)}function sa(){let{isDataRoute:e}=Un(na);return e?function(){let{router:e}=function(){let e=Un(Xi);return e||ki(!1),e}(ha.UseNavigateStable),t=ma(pa.UseNavigateStable),n=Mn(!1);return oa((()=>{n.current=!0})),jn((function(r,i){void 0===i&&(i={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,Ji({fromRouteId:t},i)))}),[e,t])}():function(){ia()||ki(!1);let e=Un(Xi),{basename:t,future:n,navigator:r}=Un(ea),{matches:i}=Un(na),{pathname:a}=aa(),o=JSON.stringify(Wi(i,n.v7_relativeSplatPath)),s=Mn(!1);return oa((()=>{s.current=!0})),jn((function(n,i){if(void 0===i&&(i={}),!s.current)return;if("number"==typeof n)return void r.go(n);let l=Hi(n,JSON.parse(o),a,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:qi([t,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)}),[t,r,o,a,e])}()}function la(e,t){return function(e,t,n,r){ia()||ki(!1);let{navigator:i}=Un(ea),{matches:a}=Un(na),o=a[a.length-1],s=o?o.params:{};!o||o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let c,u=aa();if(t){var d;let e="string"==typeof t?Oi(t):t;"/"===l||(null==(d=e.pathname)?void 0:d.startsWith(l))||ki(!1),c=e}else c=u;let f=c.pathname||"/",h=f;if("/"!==l){let e=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let p=Ai(e,{pathname:h}),m=function(e,t,n,r){var i;void 0===t&&(t=[]);void 0===n&&(n=null);void 0===r&&(r=null);if(null==e){var a;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(a=r)&&a.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let o=e,s=null==(i=n)?void 0:i.errors;if(null!=s){let e=o.findIndex((e=>e.route.id&&void 0!==(null==s?void 0:s[e.route.id])));e>=0||ki(!1),o=o.slice(0,Math.min(o.length,e+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<o.length;u++){let e=o[u];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(c=u),e.route.id){let{loaderData:t,errors:r}=n,i=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||i){l=!0,o=c>=0?o.slice(0,c+1):[o[0]];break}}}return o.reduceRight(((e,r,i)=>{let a,u=!1,d=null,f=null;n&&(a=s&&r.route.id?s[r.route.id]:void 0,d=r.route.errorElement||ua,l&&(c<0&&0===i?(u=!0,f=null):c===i&&(u=!0,f=r.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,i+1)),p=()=>{let t;return t=a?d:u?f:r.route.Component?ze(r.route.Component,null):r.route.element?r.route.element:e,ze(fa,{match:r,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?ze(da,{location:n.location,revalidation:n.revalidation,component:d,error:a,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()}),null)}(p&&p.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:qi([l,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:qi([l,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,n,r);if(t&&m)return ze(ta.Provider,{value:{location:Ji({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:li.Pop}},m);return m}(e,t)}function ca(){let e=function(){var e;let t=Un(ra),n=function(){let e=Un(Zi);return e||ki(!1),e}(pa.UseRouteError),r=ma(pa.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return ze(qe,null,ze("h2",null,"Unexpected Application Error!"),ze("h3",{style:{fontStyle:"italic"}},t),n?ze("pre",{style:r},n):null,null)}const ua=ze(ca,null);class da extends $e{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?ze(na.Provider,{value:this.props.routeContext},ze(ra.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function fa(e){let{routeContext:t,match:n,children:r}=e,i=Un(Xi);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),ze(na.Provider,{value:t},r)}var ha=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ha||{}),pa=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(pa||{});function ma(e){let t=function(){let e=Un(na);return e||ki(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||ki(!1),n.route.id}const ga=Xr.startTransition;function ya(e){let{basename:t,children:n,initialEntries:r,initialIndex:i,future:a}=e,o=Mn();null==o.current&&(o.current=xi({initialEntries:r,initialIndex:i,v5Compat:!0}));let s=o.current,[l,c]=In({action:s.action,location:s.location}),{v7_startTransition:u}=a||{},d=jn((e=>{u&&ga?ga((()=>c(e))):c(e)}),[c,u]);return Dn((()=>s.listen(d)),[s,d]),ze(_a,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:a})}function va(e){let{to:t,replace:n,state:r,relative:i}=e;ia()||ki(!1);let{future:a,static:o}=Un(ea),{matches:s}=Un(na),{pathname:l}=aa(),c=sa(),u=Hi(t,Wi(s,a.v7_relativeSplatPath),l,"path"===i),d=JSON.stringify(u);return Pn((()=>c(JSON.parse(d),{replace:n,state:r,relative:i})),[c,d,i,n,r]),null}function ba(e){ki(!1)}function _a(e){let{basename:t="/",children:n=null,location:r,navigationType:i=li.Pop,navigator:a,static:o=!1,future:s}=e;ia()&&ki(!1);let l=t.replace(/^\/*/,"/"),c=Ln((()=>({basename:l,navigator:a,static:o,future:Ji({v7_relativeSplatPath:!1},s)})),[l,s,a,o]);"string"==typeof r&&(r=Oi(r));let{pathname:u="/",search:d="",hash:f="",state:h=null,key:p="default"}=r,m=Ln((()=>{let e=Vi(u,l);return null==e?null:{location:{pathname:e,search:d,hash:f,state:h,key:p},navigationType:i}}),[l,u,d,f,h,p,i]);return null==m?null:ze(ea.Provider,{value:c},ze(ta.Provider,{children:n,value:m}))}function wa(e){let{children:t,location:n}=e;return la(xa(t),n)}function xa(e,t){void 0===t&&(t=[]);let n=[];return rr.forEach(e,((e,r)=>{if(!Mr(e))return;let i=[...t,r];if(e.type===qe)return void n.push.apply(n,xa(e.props.children,i));e.type!==ba&&ki(!1),e.props.index&&e.props.children&&ki(!1);let a={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=xa(e.props.children,i)),n.push(a)})),n}function ka(){return ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ka.apply(null,arguments)}function Ea(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Sa(e,t){return(Sa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Oa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Sa(e,t)}function Aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}new Promise((()=>{}));var Ca={exports:{}};function Ta(){}function Ra(){}Ra.resetWarningCache=Ta;Ca.exports=function(){function e(e,t,n,r,i,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ra,resetWarningCache:Ta};return n.PropTypes=n,n}();const Ia=Aa(Ca.exports);function Na(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Pa=!1,Da=Jr.createContext(null);var Ma=function(e){return e.scrollTop},Fa="unmounted",La="exited",ja="entering",Ua="entered",Ba="exiting",Va=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i=La,r.appearStatus=ja):i=Ua:i=t.unmountOnExit||t.mountOnEnter?Fa:La,r.state={status:i},r.nextCallback=null,r}Oa(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Fa?{status:La}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ja&&n!==Ua&&(t=ja):n!==ja&&n!==Ua||(t=Ba)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ja){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Jr.findDOMNode(this);n&&Ma(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===La&&this.setState({status:Fa})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Jr.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||Pa?this.safeSetState({status:Ua},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,o),this.safeSetState({status:ja},(function(){t.props.onEntering(a,o),t.onTransitionEnd(l,(function(){t.safeSetState({status:Ua},(function(){t.props.onEntered(a,o)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Jr.findDOMNode(this);t&&!Pa?(this.props.onExit(r),this.safeSetState({status:Ba},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:La},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:La},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Jr.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Fa)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=Ea(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Jr.createElement(Da.Provider,{value:null},"function"==typeof n?n(e,r):Jr.cloneElement(Jr.Children.only(n),r))},t}(Jr.Component);function za(){}Va.contextType=Da,Va.propTypes={},Va.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:za,onEntering:za,onEntered:za,onExit:za,onExiting:za,onExited:za},Va.UNMOUNTED=Fa,Va.EXITED=La,Va.ENTERING=ja,Va.ENTERED=Ua,Va.EXITING=Ba;var Wa=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Na(n.className,r):n.setAttribute("class",Na(n.className&&n.className.baseVal||"",r)));var n,r}))},Ha=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,"exit"),t.addClass(i,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?"appear":"enter";t.addClass(i,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?"appear":"enter";t.removeClasses(i,a),t.addClass(i,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}Oa(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&Ma(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&Wa(e,r),i&&Wa(e,i),a&&Wa(e,a)},n.render=function(){var e=this.props;e.classNames;var t=Ea(e,["classNames"]);return Jr.createElement(Va,ka({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(Jr.Component);function qa(e,t){var n=Object.create(null);return e&&rr.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Mr(e)?t(e):e}(e)})),n}function $a(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Ka(e,t,n){var r=qa(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),a=[];for(var o in e)o in t?a.length&&(i[o]=a,a=[]):a.push(o);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var c=i[l][r];s[i[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<a.length;r++)s[a[r]]=n(a[r]);return s}(t,r);return Object.keys(i).forEach((function(a){var o=i[a];if(Mr(o)){var s=a in t,l=a in r,c=t[a],u=Mr(c)&&!c.props.in;!l||s&&!u?l||!s||u?l&&s&&Mr(c)&&(i[a]=jr(o,{onExited:n.bind(null,o),in:c.props.in,exit:$a(o,"exit",e),enter:$a(o,"enter",e)})):i[a]=jr(o,{in:!1}):i[a]=jr(o,{onExited:n.bind(null,o),in:!0,exit:$a(o,"exit",e),enter:$a(o,"enter",e)})}})),i}Ha.defaultProps={classNames:""},Ha.propTypes={};var Qa=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ga=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Oa(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,qa(n.children,(function(e){return jr(e,{onExited:r.bind(null,e),in:!0,appear:$a(e,"appear",n),enter:$a(e,"enter",n),exit:$a(e,"exit",n)})}))):Ka(e,i,a),firstRender:!1}},n.handleExited=function(e,t){var n=qa(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=ka({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ea(e,["component","childFactory"]),i=this.state.contextValue,a=Qa(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?Jr.createElement(Da.Provider,{value:i},a):Jr.createElement(Da.Provider,{value:i},Jr.createElement(t,r,a))},t}(Jr.Component);Ga.propTypes={},Ga.defaultProps={component:"div",childFactory:function(e){return e}};const Ya=()=>{};let Ja={},Xa={},Za=null,eo={mark:Ya,measure:Ya};try{"undefined"!=typeof window&&(Ja=window),"undefined"!=typeof document&&(Xa=document),"undefined"!=typeof MutationObserver&&(Za=MutationObserver),"undefined"!=typeof performance&&(eo=performance)}catch(Zg){}const{userAgent:to=""}=Ja.navigator||{},no=Ja,ro=Xa,io=Za,ao=eo;no.document;const oo=!!ro.documentElement&&!!ro.head&&"function"==typeof ro.addEventListener&&"function"==typeof ro.createElement,so=~to.indexOf("MSIE")||~to.indexOf("Trident/");var lo="classic",co="duotone",uo="sharp",fo="sharp-duotone",ho=[lo,co,uo,fo],po={fak:"kit","fa-kit":"kit"},mo={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"},go={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},yo=[1,2,3,4,5,6,7,8,9,10],vo=yo.concat([11,12,13,14,15,16,17,18,19,20]),bo={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},_o=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",bo.GROUP,bo.SWAP_OPACITY,bo.PRIMARY,bo.SECONDARY].concat(yo.map((e=>"".concat(e,"x")))).concat(vo.map((e=>"w-".concat(e)))),wo={kit:"fak"},xo={"kit-duotone":"fakd"};const ko="___FONT_AWESOME___",Eo=16,So="fa",Oo="svg-inline--fa",Ao="data-fa-i2svg",Co="data-fa-pseudo-element",To="data-fa-pseudo-element-pending",Ro="data-prefix",Io="data-icon",No="fontawesome-i2svg",Po="async",Do=["HTML","HEAD","STYLE","SCRIPT"],Mo=(()=>{try{return!0}catch(e){return!1}})(),Fo=[lo,uo,fo];function Lo(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[lo]})}const jo={...go};jo[lo]={...go[lo],...po,...mo};const Uo=Lo(jo),Bo={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};Bo[lo]={...Bo[lo],...wo,...xo};const Vo=Lo(Bo),zo={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};zo[lo]={...zo[lo],fak:"fa-kit"};const Wo=Lo(zo),Ho={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};Ho[lo]={...Ho[lo],"fa-kit":"fak"};const qo=Lo(Ho),$o=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,Ko="fa-layers-text",Qo=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i;Lo({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}});const Go=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Yo=bo,Jo=new Set;Object.keys(Vo[lo]).map(Jo.add.bind(Jo)),Object.keys(Vo[uo]).map(Jo.add.bind(Jo)),Object.keys(Vo[fo]).map(Jo.add.bind(Jo));const Xo=["kit",..._o],Zo=no.FontAwesomeConfig||{};if(ro&&"function"==typeof ro.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((e=>{let[t,n]=e;const r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=ro.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=r&&(Zo[n]=r)}))}const es={styleDefault:"solid",familyDefault:"classic",cssPrefix:So,replacementClass:Oo,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Zo.familyPrefix&&(Zo.cssPrefix=Zo.familyPrefix);const ts={...es,...Zo};ts.autoReplaceSvg||(ts.observeMutations=!1);const ns={};Object.keys(es).forEach((e=>{Object.defineProperty(ns,e,{enumerable:!0,set:function(t){ts[e]=t,rs.forEach((e=>e(ns)))},get:function(){return ts[e]}})})),Object.defineProperty(ns,"familyPrefix",{enumerable:!0,set:function(e){ts.cssPrefix=e,rs.forEach((e=>e(ns)))},get:function(){return ts.cssPrefix}}),no.FontAwesomeConfig=ns;const rs=[];const is=Eo,as={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};const os="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ss(){let e=12,t="";for(;e-- >0;)t+=os[62*Math.random()|0];return t}function ls(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function cs(e){return e.classList?ls(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function us(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ds(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function fs(e){return e.size!==as.size||e.x!==as.x||e.y!==as.y||e.rotate!==as.rotate||e.flipX||e.flipY}var hs=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function ps(){const e=So,t=Oo,n=ns.cssPrefix,r=ns.replacementClass;let i=hs;if(n!==e||r!==t){const a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let ms=!1;function gs(){ns.autoAddCss&&!ms&&(!function(e){if(!e||!oo)return;const t=ro.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=ro.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const e=n[i],t=(e.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(t)>-1&&(r=e)}ro.head.insertBefore(t,r)}(ps()),ms=!0)}var ys={mixout:()=>({dom:{css:ps,insertCss:gs}}),hooks:()=>({beforeDOMElementCreation(){gs()},beforeI2svg(){gs()}})};const vs=no||{};vs[ko]||(vs[ko]={}),vs[ko].styles||(vs[ko].styles={}),vs[ko].hooks||(vs[ko].hooks={}),vs[ko].shims||(vs[ko].shims=[]);var bs=vs[ko];const _s=[],ws=function(){ro.removeEventListener("DOMContentLoaded",ws),xs=1,_s.map((e=>e()))};let xs=!1;function ks(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"==typeof e?us(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(us(e[n]),'" ')),"").trim()}(n),">").concat(r.map(ks).join(""),"</").concat(t,">")}function Es(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}oo&&(xs=(ro.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ro.readyState),xs||ro.addEventListener("DOMContentLoaded",ws));var Ss=function(e,t,n,r){var i,a,o,s=Object.keys(e),l=s.length,c=t;for(void 0===n?(i=1,o=e[s[0]]):(i=0,o=n);i<l;i++)o=c(o,e[a=s[i]],a,e);return o};function Os(e){const t=function(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function As(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Cs(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,i=As(t);"function"!=typeof bs.hooks.addPack||r?bs.styles[e]={...bs.styles[e]||{},...i}:bs.hooks.addPack(e,As(t)),"fas"===e&&Cs("fa",t)}const{styles:Ts,shims:Rs}=bs,Is={[lo]:Object.values(Wo[lo]),[uo]:Object.values(Wo[uo]),[fo]:Object.values(Wo[fo])};let Ns=null,Ps={},Ds={},Ms={},Fs={},Ls={};const js={[lo]:Object.keys(Uo[lo]),[uo]:Object.keys(Uo[uo]),[fo]:Object.keys(Uo[fo])};function Us(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r!==e||""===i||(a=i,~Xo.indexOf(a))?null:i;var a}const Bs=()=>{const e=e=>Ss(Ts,((t,n,r)=>(t[r]=Ss(n,e,{}),t)),{});Ps=e(((e,t,n)=>{if(t[3]&&(e[t[3]]=n),t[2]){t[2].filter((e=>"number"==typeof e)).forEach((t=>{e[t.toString(16)]=n}))}return e})),Ds=e(((e,t,n)=>{if(e[n]=n,t[2]){t[2].filter((e=>"string"==typeof e)).forEach((t=>{e[t]=n}))}return e})),Ls=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in Ts||ns.autoFetchSvg,n=Ss(Rs,((e,n)=>{const r=n[0];let i=n[1];const a=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:a}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:a}),e}),{names:{},unicodes:{}});Ms=n.names,Fs=n.unicodes,Ns=Ks(ns.styleDefault,{family:ns.familyDefault})};var Vs;function zs(e,t){return(Ps[e]||{})[t]}function Ws(e,t){return(Ls[e]||{})[t]}function Hs(e){return Ms[e]||{prefix:null,iconName:null}}function qs(){return Ns}Vs=e=>{Ns=Ks(e.styleDefault,{family:ns.familyDefault})},rs.push(Vs),Bs();const $s=()=>({prefix:null,iconName:null,rest:[]});function Ks(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=lo}=t,r=Uo[n][e],i=Vo[n][e]||Vo[n][r],a=e in bs.styles?e:null;return i||a||null}const Qs={[lo]:Object.keys(Wo[lo]),[uo]:Object.keys(Wo[uo]),[fo]:Object.keys(Wo[fo])};function Gs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t,r={[lo]:"".concat(ns.cssPrefix,"-").concat(lo),[uo]:"".concat(ns.cssPrefix,"-").concat(uo),[fo]:"".concat(ns.cssPrefix,"-").concat(fo)};let i=null,a=lo;const o=ho.filter((e=>e!==co));o.forEach((t=>{(e.includes(r[t])||e.some((e=>Qs[t].includes(e))))&&(a=t)}));const s=e.reduce(((e,t)=>{const s=Us(ns.cssPrefix,t);if(Ts[t]?(t=Is[a].includes(t)?qo[a][t]:t,i=t,e.prefix=t):js[a].indexOf(t)>-1?(i=t,e.prefix=Ks(t,{family:a})):s?e.iconName=s:t===ns.replacementClass||o.some((e=>t===r[e]))||e.rest.push(t),!n&&e.prefix&&e.iconName){const t="fa"===i?Hs(e.iconName):{},n=Ws(e.prefix,e.iconName);t.prefix&&(i=null),e.iconName=t.iconName||n||e.iconName,e.prefix=t.prefix||e.prefix,"far"!==e.prefix||Ts.far||!Ts.fas||ns.autoFetchSvg||(e.prefix="fas")}return e}),$s());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||a!==uo||!Ts.fass&&!ns.autoFetchSvg||(s.prefix="fass",s.iconName=Ws(s.prefix,s.iconName)||s.iconName),s.prefix||a!==fo||!Ts.fasds&&!ns.autoFetchSvg||(s.prefix="fasds",s.iconName=Ws(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==i||(s.prefix=qs()||"fas"),s}let Ys=[],Js={};const Xs={},Zs=Object.keys(Xs);function el(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(Js[e]||[]).forEach((e=>{t=e.apply(null,[t,...r])})),t}function tl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Js[e]||[]).forEach((e=>{e.apply(null,n)}))}function nl(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Xs[e]?Xs[e].apply(null,t):void 0}function rl(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||qs();if(t)return t=Ws(n,t)||t,Es(il.definitions,n,t)||Es(bs.styles,n,t)}const il=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(this._pullDefinitions,{});Object.keys(r).forEach((e=>{this.definitions[e]={...this.definitions[e]||{},...r[e]},Cs(e,r[e]);const t=Wo[lo][e];t&&Cs(t,r[e]),Bs()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:i,icon:a}=n[t],o=a[2];e[r]||(e[r]={}),o.length>0&&o.forEach((t=>{"string"==typeof t&&(e[r][t]=a)})),e[r][i]=a})),e}},al={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return oo?(tl("beforeI2svg",e),nl("pseudoElements2svg",e),nl("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var n;!1===ns.autoReplaceSvg&&(ns.autoReplaceSvg=!0),ns.observeMutations=!0,n=()=>{sl({autoReplaceSvgRoot:t}),tl("watch",e)},oo&&(xs?setTimeout(n,0):_s.push(n))}},ol={noAuto:()=>{ns.autoReplaceSvg=!1,ns.observeMutations=!1,tl("noAuto")},config:ns,dom:al,parse:{icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ws(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Ks(e[0]);return{prefix:n,iconName:Ws(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(ns.cssPrefix,"-"))>-1||e.match($o))){const t=Gs(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||qs(),iconName:Ws(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=qs();return{prefix:t,iconName:Ws(t,e)||e}}}},library:il,findIconDefinition:rl,toHtml:ks},sl=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=ro}=e;(Object.keys(bs.styles).length>0||ns.autoFetchSvg)&&oo&&ns.autoReplaceSvg&&ol.dom.i2svg({node:t})};function ll(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>ks(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!oo)return;const t=ro.createElement("div");return t.innerHTML=e.html,t.children}}),e}function cl(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:a,symbol:o,title:s,maskId:l,titleId:c,extra:u,watchable:d=!1}=e,{width:f,height:h}=n.found?n:t,p="fak"===r,m=[ns.replacementClass,i?"".concat(ns.cssPrefix,"-").concat(i):""].filter((e=>-1===u.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(u.classes).join(" ");let g={children:[],attributes:{...u.attributes,"data-prefix":r,"data-icon":i,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(h)}};const y=p&&!~u.classes.indexOf("fa-fw")?{width:"".concat(f/h*16*.0625,"em")}:{};d&&(g.attributes[Ao]=""),s&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(c||ss())},children:[s]}),delete g.attributes.title);const v={...g,prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:a,symbol:o,styles:{...y,...u.styles}},{children:b,attributes:_}=n.found&&t.found?nl("generateAbstractMask",v)||{children:[],attributes:{}}:nl("generateAbstractIcon",v)||{children:[],attributes:{}};return v.children=b,v.attributes=_,o?function(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:a}=e;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...i,id:!0===a?"".concat(t,"-").concat(ns.cssPrefix,"-").concat(n):a},children:r}]}]}(v):function(e){let{children:t,main:n,mask:r,attributes:i,styles:a,transform:o}=e;if(fs(o)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};i.style=ds({...a,"transform-origin":"".concat(r.x+o.x/16,"em ").concat(r.y+o.y/16,"em")})}return[{tag:"svg",attributes:i,children:t}]}(v)}function ul(e){const{content:t,width:n,height:r,transform:i,title:a,extra:o,watchable:s=!1}=e,l={...o.attributes,...a?{title:a}:{},class:o.classes.join(" ")};s&&(l[Ao]="");const c={...o.styles};fs(i)&&(c.transform=function(e){let{transform:t,width:n=Eo,height:r=Eo,startCentered:i=!1}=e,a="";return a+=i&&so?"translate(".concat(t.x/is-n/2,"em, ").concat(t.y/is-r/2,"em) "):i?"translate(calc(-50% + ".concat(t.x/is,"em), calc(-50% + ").concat(t.y/is,"em)) "):"translate(".concat(t.x/is,"em, ").concat(t.y/is,"em) "),a+="scale(".concat(t.size/is*(t.flipX?-1:1),", ").concat(t.size/is*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const u=ds(c);u.length>0&&(l.style=u);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),a&&d.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),d}const{styles:dl}=bs;function fl(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return i=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(ns.cssPrefix,"-").concat(Yo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ns.cssPrefix,"-").concat(Yo.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(ns.cssPrefix,"-").concat(Yo.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const hl={found:!1,width:512,height:512};function pl(e,t){let n=t;return"fa"===t&&null!==ns.styleDefault&&(t=qs()),new Promise(((r,i)=>{if("fa"===n){const n=Hs(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&dl[t]&&dl[t][e]){return r(fl(dl[t][e]))}!function(e,t){Mo||ns.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r({...hl,icon:ns.showMissingIcons&&e&&nl("missingIconAbstract")||{}})}))}const ml=()=>{},gl=ns.measurePerformance&&ao&&ao.mark&&ao.measure?ao:{mark:ml,measure:ml},yl='FA "6.6.0"',vl=e=>{gl.mark("".concat(yl," ").concat(e," ends")),gl.measure("".concat(yl," ").concat(e),"".concat(yl," ").concat(e," begins"),"".concat(yl," ").concat(e," ends"))};var bl={begin:e=>(gl.mark("".concat(yl," ").concat(e," begins")),()=>vl(e)),end:vl};const _l=()=>{};function wl(e){return"string"==typeof(e.getAttribute?e.getAttribute(Ao):null)}function xl(e){return ro.createElementNS("http://www.w3.org/2000/svg",e)}function kl(e){return ro.createElement(e)}function El(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?xl:kl)}=t;if("string"==typeof e)return ro.createTextNode(e);const r=n(e.tag);Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])}));return(e.children||[]).forEach((function(e){r.appendChild(El(e,{ceFn:n}))})),r}const Sl={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(El(e),t)})),null===t.getAttribute(Ao)&&ns.keepOriginalSource){let e=ro.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~cs(t).indexOf(ns.replacementClass))return Sl.replace(e);const r=new RegExp("".concat(ns.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===ns.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const i=n.map((e=>ks(e))).join("\n");t.setAttribute(Ao,""),t.innerHTML=i}};function Ol(e){e()}function Al(e,t){const n="function"==typeof t?t:_l;if(0===e.length)n();else{let t=Ol;ns.mutateApproach===Po&&(t=no.requestAnimationFrame||Ol),t((()=>{const t=!0===ns.autoReplaceSvg?Sl.replace:Sl[ns.autoReplaceSvg]||Sl.replace,r=bl.begin("mutate");e.map(t),r(),n()}))}}let Cl=!1;function Tl(){Cl=!0}function Rl(){Cl=!1}let Il=null;function Nl(e){if(!io)return;if(!ns.observeMutations)return;const{treeCallback:t=_l,nodeCallback:n=_l,pseudoElementsCallback:r=_l,observeMutationsRoot:i=ro}=e;Il=new io((e=>{if(Cl)return;const i=qs();ls(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!wl(e.addedNodes[0])&&(ns.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&ns.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&wl(e.target)&&~Go.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(Ro):null,n=e.getAttribute?e.getAttribute(Io):null;return t&&n}(e.target)){const{prefix:t,iconName:n}=Gs(cs(e.target));e.target.setAttribute(Ro,t||i),n&&e.target.setAttribute(Io,n)}else(a=e.target)&&a.classList&&a.classList.contains&&a.classList.contains(ns.replacementClass)&&n(e.target);var a}))})),oo&&Il.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Pl(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let i=Gs(cs(e));return i.prefix||(i.prefix=qs()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=(a=i.prefix,o=e.innerText,(Ds[a]||{})[o]||zs(i.prefix,Os(e.innerText)))),!i.iconName&&ns.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i;var a,o}function Dl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=Pl(e),a=function(e){const t=ls(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ns.autoA11y&&(n?t["aria-labelledby"]="".concat(ns.replacementClass,"-title-").concat(r||ss()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),o=el("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:as,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:a},...o}}const{styles:Ml}=bs;function Fl(e){const t="nest"===ns.autoReplaceSvg?Dl(e,{styleParser:!1}):Dl(e);return~t.extra.classes.indexOf(Ko)?nl("generateLayersText",e,t):nl("generateSvgReplacementMutation",e,t)}let Ll=new Set;function jl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!oo)return Promise.resolve();const n=ro.documentElement.classList,r=e=>n.add("".concat(No,"-").concat(e)),i=e=>n.remove("".concat(No,"-").concat(e)),a=ns.autoFetchSvg?Ll:Fo.map((e=>"fa-".concat(e))).concat(Object.keys(Ml));a.includes("fa")||a.push("fa");const o=[".".concat(Ko,":not([").concat(Ao,"])")].concat(a.map((e=>".".concat(e,":not([").concat(Ao,"])")))).join(", ");if(0===o.length)return Promise.resolve();let s=[];try{s=ls(e.querySelectorAll(o))}catch(u){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");const l=bl.begin("onTree"),c=s.reduce(((e,t)=>{try{const n=Fl(t);n&&e.push(n)}catch(u){Mo||"MissingIcon"===u.name&&console.error(u)}return e}),[]);return new Promise(((e,n)=>{Promise.all(c).then((n=>{Al(n,(()=>{r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((e=>{l(),n(e)}))}))}function Ul(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Fl(e).then((e=>{e&&Al([e],t)}))}Fo.map((e=>{Ll.add("fa-".concat(e))})),Object.keys(Uo[lo]).map(Ll.add.bind(Ll)),Object.keys(Uo[uo]).map(Ll.add.bind(Ll)),Object.keys(Uo[fo]).map(Ll.add.bind(Ll)),Ll=[...Ll];const Bl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=as,symbol:r=!1,mask:i=null,maskId:a=null,title:o=null,titleId:s=null,classes:l=[],attributes:c={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:f,icon:h}=e;return ll({type:"icon",...e},(()=>(tl("beforeDOMElementCreation",{iconDefinition:e,params:t}),ns.autoA11y&&(o?c["aria-labelledby"]="".concat(ns.replacementClass,"-title-").concat(s||ss()):(c["aria-hidden"]="true",c.focusable="false")),cl({icons:{main:fl(h),mask:i?fl(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:f,transform:{...as,...n},symbol:r,title:o,maskId:a,titleId:s,extra:{attributes:c,styles:u,classes:l}}))))};var Vl={mixout(){return{icon:(e=Bl,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:rl(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:rl(i||{})),e(r,{...n,mask:i})})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=jl,e.nodeCallback=Ul,e)}),provides(e){e.i2svg=function(e){const{node:t=ro,callback:n=()=>{}}=e;return jl(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:i,prefix:a,transform:o,symbol:s,mask:l,maskId:c,extra:u}=t;return new Promise(((t,d)=>{Promise.all([pl(n,a),l.iconName?pl(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,f]=l;t([e,cl({icons:{main:d,mask:f},prefix:a,iconName:n,transform:o,symbol:s,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:i,styles:a}=e;const o=ds(a);let s;return o.length>0&&(n.style=o),fs(i)&&(s=nl("generateAbstractTransformGrouping",{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},zl={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return ll({type:"layer"},(()=>{tl("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(ns.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}})},Wl={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:a={}}=t;return ll({type:"counter",content:e},(()=>(tl("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:n,extra:r}=e,i={...r.attributes,...n?{title:n}:{},class:r.classes.join(" ")},a=ds(r.styles);a.length>0&&(i.style=a);const o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}({content:e.toString(),title:n,extra:{attributes:i,styles:a,classes:["".concat(ns.cssPrefix,"-layers-counter"),...r]}}))))}})},Hl={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=as,title:r=null,classes:i=[],attributes:a={},styles:o={}}=t;return ll({type:"text",content:e},(()=>(tl("beforeDOMElementCreation",{content:e,params:t}),ul({content:e,transform:{...as,...n},title:r,extra:{attributes:a,styles:o,classes:["".concat(ns.cssPrefix,"-layers-text"),...i]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:i}=t;let a=null,o=null;if(so){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();a=n.width/t,o=n.height/t}return ns.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,ul({content:e.innerHTML,width:a,height:o,transform:r,title:n,extra:i,watchable:!0})])}}};const ql=new RegExp('"',"ug"),$l=[1105920,1112319],Kl={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Ql=Object.keys(Kl).reduce(((e,t)=>(e[t.toLowerCase()]=Kl[t],e)),{}),Gl=Object.keys(Ql).reduce(((e,t)=>{const n=Ql[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function Yl(e,t){const n="".concat(To).concat(t.replace(":","-"));return new Promise(((r,i)=>{if(null!==e.getAttribute(n))return r();const a=ls(e.children).filter((e=>e.getAttribute(Co)===t))[0],o=no.getComputedStyle(e,t),s=o.getPropertyValue("font-family"),l=s.match(Qo),c=o.getPropertyValue("font-weight"),u=o.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&"none"!==u&&""!==u){const u=o.getPropertyValue("content");let d=function(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(Ql[n]||{})[i]||Gl[n]}(s,c);const{value:f,isSecondary:h}=function(e){const t=e.replace(ql,""),n=function(e,t){const n=e.length;let r,i=e.charCodeAt(t);return i>=55296&&i<=56319&&n>t+1&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?1024*(i-55296)+r-56320+65536:i}(t,0),r=n>=$l[0]&&n<=$l[1],i=2===t.length&&t[0]===t[1];return{value:Os(i?t[0]:t),isSecondary:r||i}}(u),p=l[0].startsWith("FontAwesome");let m=zs(d,f),g=m;if(p){const e=function(e){const t=Fs[e],n=zs("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(f);e.iconName&&e.prefix&&(m=e.iconName,d=e.prefix)}if(!m||h||a&&a.getAttribute(Ro)===d&&a.getAttribute(Io)===g)r();else{e.setAttribute(n,g),a&&e.removeChild(a);const o={iconName:null,title:null,titleId:null,prefix:null,transform:as,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=o;s.attributes[Co]=t,pl(m,d).then((i=>{const a=cl({...o,icons:{main:i,mask:$s()},prefix:d,iconName:g,extra:s,watchable:!0}),l=ro.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=a.map((e=>ks(e))).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Jl(e){return Promise.all([Yl(e,"::before"),Yl(e,"::after")])}function Xl(e){return!(e.parentNode===document.head||~Do.indexOf(e.tagName.toUpperCase())||e.getAttribute(Co)||e.parentNode&&"svg"===e.parentNode.tagName)}function Zl(e){if(oo)return new Promise(((t,n)=>{const r=ls(e.querySelectorAll("*")).filter(Xl).map(Jl),i=bl.begin("searchPseudoElements");Tl(),Promise.all(r).then((()=>{i(),Rl(),t()})).catch((()=>{i(),Rl(),n()}))}))}let ec=!1;const tc=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});const nc={x:0,y:0,width:"100%",height:"100%"};function rc(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}!function(e,t){let{mixoutsTo:n}=t;Ys=e,Js={},Object.keys(Xs).forEach((e=>{-1===Zs.indexOf(e)&&delete Xs[e]})),Ys.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"==typeof t[e]&&(n[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{Js[e]||(Js[e]=[]),Js[e].push(t[e])}))}e.provides&&e.provides(Xs)}))}([ys,Vl,zl,Wl,Hl,{hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=Zl,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=ro}=e;ns.searchPseudoElements&&Zl(t)}}},{mixout:()=>({dom:{unwatch(){Tl(),ec=!0}}}),hooks:()=>({bootstrap(){Nl(el("mutationObserverCallbacks",{}))},noAuto(){Il&&Il.disconnect()},watch(e){const{observeMutationsRoot:t}=e;ec?Rl():Nl(el("mutationObserverCallbacks",{observeMutationsRoot:t}))}})},{mixout:()=>({parse:{transform:e=>tc(e)}}),hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=tc(n)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:i}=e;const a={transform:"translate(".concat(r/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(o," ").concat(s," ").concat(l)},u={transform:"translate(".concat(i/2*-1," -256)")};return{tag:"g",attributes:{...a},children:[{tag:"g",attributes:{...c},children:[{tag:t.icon.tag,children:t.icon.children,attributes:{...t.icon.attributes,...u}}]}]}}}},{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Gs(n.split(" ").map((e=>e.trim()))):$s();return r.prefix||(r.prefix=qs()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:i,maskId:a,transform:o}=e;const{width:s,icon:l}=r,{width:c,icon:u}=i,d=function(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(a," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:o,containerWidth:c,iconWidth:s}),f={tag:"rect",attributes:{...nc,fill:"white"}},h=l.children?{children:l.children.map(rc)}:{},p={tag:"g",attributes:{...d.inner},children:[rc({tag:l.tag,attributes:{...l.attributes,...d.path},...h})]},m={tag:"g",attributes:{...d.outer},children:[p]},g="mask-".concat(a||ss()),y="clip-".concat(a||ss()),v={tag:"mask",attributes:{...nc,id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[f,m]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(_=u,"g"===_.tag?_.children:[_])},v]};var _;return t.push(b,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")"),...nc}}),{children:t,attributes:n}}}},{provides(e){let t=!1;no.matchMedia&&(t=no.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:{...n,d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}});const i={...r,attributeName:"opacity"},a={tag:"circle",attributes:{...n,cx:"256",cy:"364",r:"28"},children:[]};return t||a.children.push({tag:"animate",attributes:{...r,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...i,values:"1;0;1;1;0;1;"}}),e.push(a),e.push({tag:"path",attributes:{...n,opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"},children:t?[]:[{tag:"animate",attributes:{...i,values:"1;0;0;0;0;1;"}}]}),t||e.push({tag:"path",attributes:{...n,opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"},children:[{tag:"animate",attributes:{...i,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}})}],{mixoutsTo:ol});const ic=ol.config,ac=ol.library,oc=ol.dom,sc=ol.parse,lc=ol.icon,cc={prefix:"far",iconName:"hexagon-xmark",icon:[512,512,["times-hexagon","xmark-hexagon"],"f2ee","M17.1 292c-12.9-22.3-12.9-49.7 0-72L105.4 67.1c12.9-22.3 36.6-36 62.4-36l176.6 0c25.7 0 49.5 13.7 62.4 36L494.9 220c12.9 22.3 12.9 49.7 0 72L406.6 444.9c-12.9 22.3-36.6 36-62.4 36l-176.6 0c-25.7 0-49.5-13.7-62.4-36L17.1 292zm41.6-48c-4.3 7.4-4.3 16.6 0 24l88.3 152.9c4.3 7.4 12.2 12 20.8 12l176.6 0c8.6 0 16.5-4.6 20.8-12L453.4 268c4.3-7.4 4.3-16.6 0-24L365.1 91.1c-4.3-7.4-12.2-12-20.8-12l-176.6 0c-8.6 0-16.5 4.6-20.8 12L58.6 244zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},uc={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},dc={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},fc=({class:e,children:t,...n})=>{const r=Object.keys(n).find((e=>n[e])),i={class:_i(r?hc[r]:void 0,e),children:t};return n.heading1?xt(vc,{...i}):n.paragraph1?xt(bc,{...i}):n.label?xt(_c,{...i}):n.field?xt(wc,{...i}):n.hint?xt(xc,{...i}):n.terms?xt(kc,{...i}):n.link?xt(Ec,{...i}):n.h1?xt("h1",{...i}):n.h2?xt("h2",{...i}):n.h3?xt("h3",{...i}):n.p?xt("p",{...i}):n.span?xt("span",{...i}):xt("p",{...i})},hc={brand:"text-primary-base",danger:"text-red-500",dark:"text-gray-700",darker:"text-gray-900",light:"text-gray-400",default:"text-gray-600"},pc=`text-3xl font-bold leading-9 ${hc.darker}`,mc=`text-base font-medium leading-6 ${hc.dark}`,gc=`text-sm font-medium leading-5 ${hc.dark}`,yc=`underline ${hc.brand}`,vc=e=>xt("h1",{...e,class:_i(pc,e.class)}),bc=e=>xt("p",{...e,class:_i("text-lg leading-7",e.class)}),_c=e=>xt("span",{...e,class:_i(mc,e.class)}),wc=e=>xt("span",{...e,class:_i(gc,e.class)}),xc=e=>xt("p",{...e,class:_i("text-sm",e.class)}),kc=e=>xt("p",{...e,class:_i("text-xs",e.class)}),Ec=e=>xt("a",{...e,class:_i(yc,e.class)});ac.add(dc,uc),ic.autoAddCss=!1;const Sc=({children:e})=>xt(qe,{children:[xt("style",{children:'@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}a{text-decoration-line:underline}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-3{left:.75rem}.right-2{right:.5rem}.right-2\\.5{right:.625rem}.top-2{top:.5rem}.top-3{top:.75rem}.z-10{z-index:10}.z-20{z-index:20}.m-0\\.5{margin:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-6{margin-bottom:1.5rem}.mr-2\\.5{margin-right:.625rem}.mt-1{margin-top:.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-full{height:100%}.min-h-\\[23rem\\]{min-height:23rem}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-60{min-width:15rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[58rem\\]{max-width:58rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3\\.5{gap:.875rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-x-clip{overflow-x:clip}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-secondary-base{background-color:var(--fl-color-secondary)}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\\[rgba\\(255\\,135\\,111\\,0\\.10\\)\\]{--tw-gradient-from: rgba(255,135,111,.1) var(--tw-gradient-from-position);--tw-gradient-to: rgba(255, 135, 111, 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-\\[rgba\\(166\\,80\\,255\\,0\\.10\\)\\]{--tw-gradient-to: rgba(166,80,255,.1) var(--tw-gradient-to-position)}.p-6{padding:1.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pr-8{padding-right:2rem}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:Inter,sans-serif}.text-3xl{font-size:1.875rem;line-height:2.25rem}.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}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-9{line-height:2.25rem}.leading-\\[38px\\]{line-height:38px}.leading-tight{line-height:1.25}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / 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-inherit{color:inherit}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-primary-text{color:var(--fl-color-primary-text)}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-secondary-text{color:var(--fl-color-secondary-text)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:host{--fl-color-primary_from_host: var(--fl-color-primary);--fl-color-primary-hover_from_host: var(--fl-color-primary-hover);--fl-color-primary-focus_from_host: var(--fl-color-primary-focus);--fl-color-primary-text_from_host: var(--fl-color-primary-text);--fl-color-secondary_from_host: var(--fl-color-secondary);--fl-color-secondary-hover_from_host: var(--fl-color-secondary-hover);--fl-color-secondary-focus_from_host: var(--fl-color-secondary-focus);--fl-color-secondary-text_from_host: var(--fl-color-secondary-text);--fl-color-secondary-disabled_from_host: var(--fl-color-secondary-disabled)}*{--fl-color-primary: var(--fl-color-primary_from_host, #2E66F7);--fl-color-primary-hover: var(--fl-color-primary-hover_from_host, #0048fe);--fl-color-primary-focus: var(--fl-color-primary-focus_from_host, #40a9ff);--fl-color-primary-text: var(--fl-color-primary-text_from_host, #ffffff);--fl-color-secondary: var(--fl-color-secondary_from_host, #ffffff);--fl-color-secondary-hover: var(--fl-color-secondary-hover_from_host, #ebebeb);--fl-color-secondary-focus: var(--fl-color-secondary-focus_from_host, #ebebeb);--fl-color-secondary-text: var(--fl-color-secondary-text_from_host, #262626);--fl-color-secondary-disabled: var(--fl-color-secondary-disabled_from_host, #f5f5f5)}.slide-exit,.slide-exit-active{position:absolute;top:0;left:0;bottom:0;right:0}.slide-enter{transform:translate(100%)}.slide-enter-active{transform:translate(0);transition:transform .3s ease-out}.slide-exit{transform:translate(0)}.slide-exit-active{transform:translate(-100%);transition:transform .3s ease-out}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\\:bg-secondary-hover:hover{background-color:var(--fl-color-secondary-hover)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-1: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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-primary-base:focus{--tw-ring-color: var(--fl-color-primary)}.focus\\:ring-secondary-hover:focus{--tw-ring-color: var(--fl-color-secondary-hover)}.focus\\:ring-offset-1:focus{--tw-ring-offset-width: 1px}.focus-visible\\:border-gray-700:focus-visible{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.focus-visible\\:border-red-600:focus-visible{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.data-\\[highlighted\\]\\:bg-primary-base[data-highlighted]{background-color:var(--fl-color-primary)}.data-\\[highlighted\\]\\:text-primary-text[data-highlighted]{color:var(--fl-color-primary-text)}@media (min-width: 768px){.md\\:block{display:block}.md\\:min-w-\\[41rem\\]{min-width:41rem}.md\\:grid-cols-\\[9fr_8fr\\]{grid-template-columns:9fr 8fr}}@media (min-width: 1024px){.lg\\:min-h-\\[33rem\\]{min-height:33rem}.lg\\:min-w-\\[58rem\\]{min-width:58rem}.lg\\:p-8{padding:2rem}}'+oc.css()}),xt("div",{class:_i("font-sans",hc.default),children:e})]})
|
|
23
|
+
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */,{entries:Oc,setPrototypeOf:Ac,isFrozen:Cc,getPrototypeOf:Tc,getOwnPropertyDescriptor:Rc}=Object;let{freeze:Ic,seal:Nc,create:Pc}=Object,{apply:Dc,construct:Mc}="undefined"!=typeof Reflect&&Reflect;Ic||(Ic=function(e){return e}),Nc||(Nc=function(e){return e}),Dc||(Dc=function(e,t,n){return e.apply(t,n)}),Mc||(Mc=function(e,t){return new e(...t)});const Fc=Gc(Array.prototype.forEach),Lc=Gc(Array.prototype.pop),jc=Gc(Array.prototype.push),Uc=Gc(String.prototype.toLowerCase),Bc=Gc(String.prototype.toString),Vc=Gc(String.prototype.match),zc=Gc(String.prototype.replace),Wc=Gc(String.prototype.indexOf),Hc=Gc(String.prototype.trim),qc=Gc(Object.prototype.hasOwnProperty),$c=Gc(RegExp.prototype.test),Kc=(Qc=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mc(Qc,t)});var Qc;function Gc(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Dc(e,t,r)}}function Yc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Uc;Ac&&Ac(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(Cc(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Jc(e){for(let t=0;t<e.length;t++){qc(e,t)||(e[t]=null)}return e}function Xc(e){const t=Pc(null);for(const[n,r]of Oc(e)){qc(e,n)&&(Array.isArray(r)?t[n]=Jc(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Xc(r):t[n]=r)}return t}function Zc(e,t){for(;null!==e;){const n=Rc(e,t);if(n){if(n.get)return Gc(n.get);if("function"==typeof n.value)return Gc(n.value)}e=Tc(e)}return function(){return null}}const eu=Ic(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),tu=Ic(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),nu=Ic(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ru=Ic(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),iu=Ic(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),au=Ic(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ou=Ic(["#text"]),su=Ic(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),lu=Ic(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),cu=Ic(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),uu=Ic(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),du=Nc(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fu=Nc(/<%[\w\W]*|[\w\W]*%>/gm),hu=Nc(/\${[\w\W]*}/gm),pu=Nc(/^data-[\-\w.\u00B7-\uFFFF]/),mu=Nc(/^aria-[\-\w]+$/),gu=Nc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),yu=Nc(/^(?:\w+script|data):/i),vu=Nc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),bu=Nc(/^html$/i),_u=Nc(/^[a-z][.\w]*(-[.\w]+)+$/i);var wu=Object.freeze({__proto__:null,MUSTACHE_EXPR:du,ERB_EXPR:fu,TMPLIT_EXPR:hu,DATA_ATTR:pu,ARIA_ATTR:mu,IS_ALLOWED_URI:gu,IS_SCRIPT_OR_DATA:yu,ATTR_WHITESPACE:vu,DOCTYPE_NAME:bu,CUSTOM_ELEMENT:_u});const xu=1,ku=3,Eu=7,Su=8,Ou=9;var Au=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.1.6",n.removed=[],!t||!t.document||t.document.nodeType!==Ou)return n.isSupported=!1,n;let{document:r}=t;const i=r,a=i.currentScript,{DocumentFragment:o,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:p}=t,m=c.prototype,g=Zc(m,"cloneNode"),y=Zc(m,"remove"),v=Zc(m,"nextSibling"),b=Zc(m,"childNodes"),_=Zc(m,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,x="";const{implementation:k,createNodeIterator:E,createDocumentFragment:S,getElementsByTagName:O}=r,{importNode:A}=i;let C={};n.isSupported="function"==typeof Oc&&"function"==typeof _&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:T,ERB_EXPR:R,TMPLIT_EXPR:I,DATA_ATTR:N,ARIA_ATTR:P,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:M,CUSTOM_ELEMENT:F}=wu;let{IS_ALLOWED_URI:L}=wu,j=null;const U=Yc({},[...eu,...tu,...nu,...iu,...ou]);let B=null;const V=Yc({},[...su,...lu,...cu,...uu]);let z=Object.seal(Pc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,H=null,q=!0,$=!0,K=!1,Q=!0,G=!1,Y=!0,J=!1,X=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!0,ie=!1,ae=!0,oe=!1,se={},le=null;const ce=Yc({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const de=Yc({},["audio","video","img","source","image","track"]);let fe=null;const he=Yc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let ye=ge,ve=!1,be=null;const _e=Yc({},[pe,me,ge],Bc);let we=null;const xe=["application/xhtml+xml","text/html"];let ke=null,Ee=null;const Se=r.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},Ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&"object"==typeof e||(e={}),e=Xc(e),we=-1===xe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ke="application/xhtml+xml"===we?Bc:Uc,j=qc(e,"ALLOWED_TAGS")?Yc({},e.ALLOWED_TAGS,ke):U,B=qc(e,"ALLOWED_ATTR")?Yc({},e.ALLOWED_ATTR,ke):V,be=qc(e,"ALLOWED_NAMESPACES")?Yc({},e.ALLOWED_NAMESPACES,Bc):_e,fe=qc(e,"ADD_URI_SAFE_ATTR")?Yc(Xc(he),e.ADD_URI_SAFE_ATTR,ke):he,ue=qc(e,"ADD_DATA_URI_TAGS")?Yc(Xc(de),e.ADD_DATA_URI_TAGS,ke):de,le=qc(e,"FORBID_CONTENTS")?Yc({},e.FORBID_CONTENTS,ke):ce,W=qc(e,"FORBID_TAGS")?Yc({},e.FORBID_TAGS,ke):{},H=qc(e,"FORBID_ATTR")?Yc({},e.FORBID_ATTR,ke):{},se=!!qc(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,K=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,G=e.SAFE_FOR_TEMPLATES||!1,Y=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,L=e.ALLOWED_URI_REGEXP||gu,ye=e.NAMESPACE||ge,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),G&&($=!1),te&&(ee=!0),se&&(j=Yc({},ou),B=[],!0===se.html&&(Yc(j,eu),Yc(B,su)),!0===se.svg&&(Yc(j,tu),Yc(B,lu),Yc(B,uu)),!0===se.svgFilters&&(Yc(j,nu),Yc(B,lu),Yc(B,uu)),!0===se.mathMl&&(Yc(j,iu),Yc(B,cu),Yc(B,uu))),e.ADD_TAGS&&(j===U&&(j=Xc(j)),Yc(j,e.ADD_TAGS,ke)),e.ADD_ATTR&&(B===V&&(B=Xc(B)),Yc(B,e.ADD_ATTR,ke)),e.ADD_URI_SAFE_ATTR&&Yc(fe,e.ADD_URI_SAFE_ATTR,ke),e.FORBID_CONTENTS&&(le===ce&&(le=Xc(le)),Yc(le,e.FORBID_CONTENTS,ke)),ae&&(j["#text"]=!0),J&&Yc(j,["html","head","body"]),j.table&&(Yc(j,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Kc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Kc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(a){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,a)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));Ic&&Ic(e),Ee=e}},Ce=Yc({},["mi","mo","mn","ms","mtext"]),Te=Yc({},["foreignobject","annotation-xml"]),Re=Yc({},["title","style","font","a","script"]),Ie=Yc({},[...tu,...nu,...ru]),Ne=Yc({},[...iu,...au]),Pe=function(e){jc(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){y(e)}},De=function(e,t){try{jc(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){jc(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!B[e])if(ee||te)try{Pe(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},Me=function(e){let t=null,n=null;if(Z)e="<remove></remove>"+e;else{const t=Vc(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===we&&ye===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=w?w.createHTML(e):e;if(ye===ge)try{t=(new h).parseFromString(i,we)}catch(o){}if(!t||!t.documentElement){t=k.createDocument(ye,"template",null);try{t.documentElement.innerHTML=ve?x:i}catch(o){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),ye===ge?O.call(t,J?"html":"body")[0]:J?t.documentElement:a},Fe=function(e){return E.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},je=function(e){return"function"==typeof l&&e instanceof l},Ue=function(e,t,r){C[e]&&Fc(C[e],(e=>{e.call(n,t,r,Ee)}))},Be=function(e){let t=null;if(Ue("beforeSanitizeElements",e,null),Le(e))return Pe(e),!0;const r=ke(e.nodeName);if(Ue("uponSanitizeElement",e,{tagName:r,allowedTags:j}),e.hasChildNodes()&&!je(e.firstElementChild)&&$c(/<[/\w]/g,e.innerHTML)&&$c(/<[/\w]/g,e.textContent))return Pe(e),!0;if(e.nodeType===Eu)return Pe(e),!0;if(Y&&e.nodeType===Su&&$c(/<[/\w]/g,e.data))return Pe(e),!0;if(!j[r]||W[r]){if(!W[r]&&ze(r)){if(z.tagNameCheck instanceof RegExp&&$c(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}if(ae&&!le[r]){const t=_(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,v(e))}}}return Pe(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=Uc(e.tagName),r=Uc(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ge?"svg"===n:t.namespaceURI===pe?"svg"===n&&("annotation-xml"===r||Ce[r]):Boolean(Ie[n]):e.namespaceURI===pe?t.namespaceURI===ge?"math"===n:t.namespaceURI===me?"math"===n&&Te[r]:Boolean(Ne[n]):e.namespaceURI===ge?!(t.namespaceURI===me&&!Te[r])&&!(t.namespaceURI===pe&&!Ce[r])&&!Ne[n]&&(Re[n]||!Ie[n]):!("application/xhtml+xml"!==we||!be[e.namespaceURI]))}(e)?(Pe(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!$c(/<\/no(script|embed|frames)/i,e.innerHTML)?(G&&e.nodeType===ku&&(t=e.textContent,Fc([T,R,I],(e=>{t=zc(t,e," ")})),e.textContent!==t&&(jc(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ue("afterSanitizeElements",e,null),!1):(Pe(e),!0)},Ve=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in r||n in Se))return!1;if($&&!H[t]&&$c(N,t));else if(q&&$c(P,t));else if(!B[t]||H[t]){if(!(ze(e)&&(z.tagNameCheck instanceof RegExp&&$c(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&$c(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t))||"is"===t&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&$c(z.tagNameCheck,n)||z.tagNameCheck instanceof Function&&z.tagNameCheck(n))))return!1}else if(fe[t]);else if($c(L,zc(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Wc(n,"data:")||!ue[e]){if(K&&!$c(D,zc(n,M,"")));else if(n)return!1}else;return!0},ze=function(e){return"annotation-xml"!==e&&Vc(e,F)},We=function(e){Ue("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:l,value:c}=o,u=ke(s);let d="value"===s?c:Hc(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Ue("uponSanitizeAttribute",e,r),d=r.attrValue,Y&&$c(/((--!?|])>)|<\/(style|title)/i,d)){De(s,e);continue}if(r.forceKeepAttr)continue;if(De(s,e),!r.keepAttr)continue;if(!Q&&$c(/\/>/i,d)){De(s,e);continue}G&&Fc([T,R,I],(e=>{d=zc(d,e," ")}));const f=ke(e.nodeName);if(Ve(f,u,d)){if(!ie||"id"!==u&&"name"!==u||(De(s,e),d="user-content-"+d),w&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(l);else switch(p.getAttributeType(f,u)){case"TrustedHTML":d=w.createHTML(d);break;case"TrustedScriptURL":d=w.createScriptURL(d)}try{l?e.setAttributeNS(l,s,d):e.setAttribute(s,d),Le(e)?Pe(e):Lc(n.removed)}catch(a){}}}Ue("afterSanitizeAttributes",e,null)},He=function e(t){let n=null;const r=Fe(t);for(Ue("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ue("uponSanitizeShadowNode",n,null),Be(n)||(n.content instanceof o&&e(n.content),We(n));Ue("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,a=null,s=null,c=null;if(ve=!e,ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!je(e)){if("function"!=typeof e.toString)throw Kc("toString is not a function");if("string"!=typeof(e=e.toString()))throw Kc("dirty is not a string, aborting")}if(!n.isSupported)return e;if(X||Ae(t),n.removed=[],"string"==typeof e&&(oe=!1),oe){if(e.nodeName){const t=ke(e.nodeName);if(!j[t]||W[t])throw Kc("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Me("\x3c!----\x3e"),a=r.ownerDocument.importNode(e,!0),a.nodeType===xu&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!ee&&!G&&!J&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(r=Me(e),!r)return ee?null:ne?x:""}r&&Z&&Pe(r.firstChild);const u=Fe(oe?e:r);for(;s=u.nextNode();)Be(s)||(s.content instanceof o&&He(s.content),We(s));if(oe)return e;if(ee){if(te)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(B.shadowroot||B.shadowrootmode)&&(c=A.call(i,c,!0)),c}let d=J?r.outerHTML:r.innerHTML;return J&&j["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&$c(bu,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),G&&Fc([T,R,I],(e=>{d=zc(d,e," ")})),w&&ne?w.createHTML(d):d},n.setConfig=function(){Ae(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),X=!0},n.clearConfig=function(){Ee=null,X=!1},n.isValidAttribute=function(e,t,n){Ee||Ae({});const r=ke(e),i=ke(t);return Ve(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&(C[e]=C[e]||[],jc(C[e],t))},n.removeHook=function(e){if(C[e])return Lc(C[e])},n.removeHooks=function(e){C[e]&&(C[e]=[])},n.removeAllHooks=function(){C={}},n}();function Cu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(n),!0).forEach((function(t){Iu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ru(e){return(Ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Pu(e){return function(e){if(Array.isArray(e))return Du(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Du(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Du(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Du(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mu(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var Fu=["style"];var Lu=!1;try{Lu=!0}catch(Zg){}function ju(e){return e&&"object"===Ru(e)&&e.prefix&&e.iconName&&e.icon?e:sc.icon?sc.icon(e):null===e?null:e&&"object"===Ru(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Uu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Iu({},e,t):{}}var Bu={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Vu=Jr.forwardRef((function(e,t){var n=Tu(Tu({},Bu),e),r=n.icon,i=n.mask,a=n.symbol,o=n.className,s=n.title,l=n.titleId,c=n.maskId,u=ju(r),d=Uu("classes",[].concat(Pu(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,h=e.inverse,p=e.border,m=e.listItem,g=e.flip,y=e.size,v=e.rotation,b=e.pull,_=(Iu(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":h,"fa-border":p,"fa-li":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(y),null!=y),Iu(t,"fa-rotate-".concat(v),null!=v&&0!==v),Iu(t,"fa-pull-".concat(b),null!=b),Iu(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(_).map((function(e){return _[e]?e:null})).filter((function(e){return e}))}(n)),Pu((o||"").split(" ")))),f=Uu("transform","string"==typeof n.transform?sc.transform(n.transform):n.transform),h=Uu("mask",ju(i)),p=lc(u,Tu(Tu(Tu(Tu({},d),f),h),{},{symbol:a,title:s,titleId:l,maskId:c}));if(!p)return function(){var e;!Lu&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=p.abstract,g={ref:t};return Object.keys(n).forEach((function(e){Bu.hasOwnProperty(e)||(g[e]=n[e])})),zu(m[0],g)}));Vu.displayName="FontAwesomeIcon",Vu.propTypes={beat:Ia.bool,border:Ia.bool,beatFade:Ia.bool,bounce:Ia.bool,className:Ia.string,fade:Ia.bool,flash:Ia.bool,mask:Ia.oneOfType([Ia.object,Ia.array,Ia.string]),maskId:Ia.string,fixedWidth:Ia.bool,inverse:Ia.bool,flip:Ia.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Ia.oneOfType([Ia.object,Ia.array,Ia.string]),listItem:Ia.bool,pull:Ia.oneOf(["right","left"]),pulse:Ia.bool,rotation:Ia.oneOf([0,90,180,270]),shake:Ia.bool,size:Ia.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ia.bool,spinPulse:Ia.bool,spinReverse:Ia.bool,symbol:Ia.oneOfType([Ia.bool,Ia.string]),title:Ia.string,titleId:Ia.string,transform:Ia.oneOfType([Ia.string,Ia.object]),swapOpacity:Ia.bool};var zu=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Mu(t.slice(0,r)),a=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[i]=a,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Mu(t)]=r}return e}),{attrs:{}}),o=r.style,s=void 0===o?{}:o,l=Nu(r,Fu);return a.attrs.style=Tu(Tu({},a.attrs.style),s),t.apply(void 0,[n.tag,Tu(Tu({},a.attrs),l)].concat(Pu(i)))}.bind(null,Jr.createElement);const Wu=e=>xt("div",{class:_i("flex px-5 py-3.5 rounded-lg gap-3.5 items-center","completed"===e.type?"bg-teal-50":"bg-gradient-to-r from-[rgba(255,135,111,0.10)] to-[rgba(166,80,255,0.10)]",e.class),children:["completed"===e.type?xt("div",{class:"flex flex-shrink-0 items-center justify-center bg-teal-400 rounded-full w-6 h-6",children:xt(Vu,{className:"text-white text-sm self-center",icon:dc})}):null,xt("div",{class:"flex-auto flex-col",children:[e.title?xt(fc,{class:"flex-auto font-semibold leading-tight",darker:!0,paragraph1:!0,children:e.title}):null,e.subtitle?xt(fc,{class:"text-sm",darker:!0,children:e.subtitle}):null]})]}),Hu=e=>xt("svg",{class:_i("animate-spin",e.class),fill:"none",viewBox:"0 0 24 24",children:[xt("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),xt("path",{class:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"currentColor"})]}),qu=()=>xt("div",{class:"flex flex-col gap-8 items-center justify-center h-full",children:xt(Hu,{class:_i("w-10 h-10",hc.brand)})}),$u=({status:e="idle",...t})=>xt("button",{class:_i(["relative items-center px-4 py-2 border border-transparent font-medium rounded-md text-base focus:outline-none focus:ring-1 focus:ring-offset-1 m-0.5",t.secondary?"text-secondary-text hover:bg-secondary-hover focus:ring-secondary-hover":"bg-primary-base text-primary-text shadow-sm hover:bg-primary-hover focus:ring-primary-base",t.disabled?"bg-secondary-base text-secondary-text opacity-30":"","pending"===e||t.disabled?"pointer-events-none":"",t.class]),"data-testid":t.testId,disabled:"pending"===e||t.disabled,onClick:t.onClick,tabindex:"pending"===e||t.disabled?-1:void 0,type:"button",children:[xt("span",{class:_i(["pending"===e?"opacity-0":""]),children:t.children}),"pending"===e?xt("div",{class:"absolute inset-0 flex justify-center items-center",children:xt(Hu,{class:"h-5 w-5"})}):null]}),Ku=e=>xt("div",{class:"flex flex-col gap-8 items-center justify-center h-full",children:[xt(Vu,{className:hc.danger,icon:cc,size:"4x"}),xt("div",{class:" max-w-[30rem]",children:[xt(fc,{class:"text-center",heading1:!0,children:"Sorry about that!"}),xt(fc,{class:"text-center",paragraph1:!0,children:"Something unexpected has occurred and we are working hard to fix it. Please try again later."})]}),xt($u,{onClick:e.retry,children:"Retry"})]}),Qu=({class:e,...t})=>xt("div",{class:_i("flex-1 md:min-w-[41rem] min-h-[23rem] lg:min-w-[58rem] lg:min-h-[33rem] lg:p-8",e),...t});var Gu=(e=>(e.Ineligible="Ineligible",e.Completion="Completion",e.Consent="Consent",e.Question="Question",e))(Gu||{}),Yu=(e=>(e.TriviaSingleSelect="TriviaSingleSelect",e.SingleSelect="SingleSelect",e.Lookup="Lookup",e.MultiSelect="MultiSelect",e.Text="Text",e.Date="Date",e.Currency="Currency",e.Slider="Slider",e))(Yu||{}),Ju=(e=>(e.Weekends="Weekends",e.PublicHolidays="PublicHolidays",e))(Ju||{}),Xu=(e=>(e.SalaryPackagingCars="SalaryPackagingCars",e.Health="Health",e.Everyday="Everyday",e.Devices="Devices",e.HomeLoan="HomeLoan",e.Trivia="Trivia",e.Energy="Energy",e.Broadband="Broadband",e))(Xu||{}),Zu=(e=>(e.ProgressStep="ProgressStep",e.UpdateAnswersOfCompletedActivity="UpdateAnswersOfCompletedActivity",e.ProgressStartToComplete="ProgressStartToComplete",e))(Zu||{}),ed=(e=>(e.Standard="standard",e.Lookup="lookup",e))(ed||{}),td=(e=>(e.ACT="ACT",e.NSW="NSW",e.NT="NT",e.QLD="QLD",e.SA="SA",e.TAS="TAS",e.VIC="VIC",e.WA="WA",e))(td||{}),nd=(e=>(e.AssessmentViewed="Assessment Viewed",e.AssessmentSkipped="Assessment Skipped",e.AssessmentFieldUpdated="AssessmentField Updated",e.AssessmentSubmitted="Assessment Submitted",e.AssessmentSummaryViewed="AssessmentSummary Viewed",e))(nd||{});function rd(e,t){return function(){return e.apply(t,arguments)}}const{toString:id}=Object.prototype,{getPrototypeOf:ad}=Object,od=(e=>t=>{const n=id.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),sd=e=>(e=e.toLowerCase(),t=>od(t)===e),ld=e=>t=>typeof t===e,{isArray:cd}=Array,ud=ld("undefined");const dd=sd("ArrayBuffer");const fd=ld("string"),hd=ld("function"),pd=ld("number"),md=e=>null!==e&&"object"==typeof e,gd=e=>{if("object"!==od(e))return!1;const t=ad(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},yd=sd("Date"),vd=sd("File"),bd=sd("Blob"),_d=sd("FileList"),wd=sd("URLSearchParams"),[xd,kd,Ed,Sd]=["ReadableStream","Request","Response","Headers"].map(sd);function Od(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),cd(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function Ad(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const Cd="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Td=e=>!ud(e)&&e!==Cd;const Rd=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&ad(Uint8Array)),Id=sd("HTMLFormElement"),Nd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Pd=sd("RegExp"),Dd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Od(n,((n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)})),Object.defineProperties(e,r)},Md="abcdefghijklmnopqrstuvwxyz",Fd="0123456789",Ld={DIGIT:Fd,ALPHA:Md,ALPHA_DIGIT:Md+Md.toUpperCase()+Fd};const jd=sd("AsyncFunction"),Ud=(Bd="function"==typeof setImmediate,Vd=hd(Cd.postMessage),Bd?setImmediate:Vd?(zd=`axios@${Math.random()}`,Wd=[],Cd.addEventListener("message",(({source:e,data:t})=>{e===Cd&&t===zd&&Wd.length&&Wd.shift()()}),!1),e=>{Wd.push(e),Cd.postMessage(zd,"*")}):e=>setTimeout(e));var Bd,Vd,zd,Wd;const Hd="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Cd):"undefined"!=typeof process&&process.nextTick||Ud,qd={isArray:cd,isArrayBuffer:dd,isBuffer:function(e){return null!==e&&!ud(e)&&null!==e.constructor&&!ud(e.constructor)&&hd(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||hd(e.append)&&("formdata"===(t=od(e))||"object"===t&&hd(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&dd(e.buffer),t},isString:fd,isNumber:pd,isBoolean:e=>!0===e||!1===e,isObject:md,isPlainObject:gd,isReadableStream:xd,isRequest:kd,isResponse:Ed,isHeaders:Sd,isUndefined:ud,isDate:yd,isFile:vd,isBlob:bd,isRegExp:Pd,isFunction:hd,isStream:e=>md(e)&&hd(e.pipe),isURLSearchParams:wd,isTypedArray:Rd,isFileList:_d,forEach:Od,merge:function e(){const{caseless:t}=Td(this)&&this||{},n={},r=(r,i)=>{const a=t&&Ad(n,i)||i;gd(n[a])&&gd(r)?n[a]=e(n[a],r):gd(r)?n[a]=e({},r):cd(r)?n[a]=r.slice():n[a]=r};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&Od(arguments[i],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(Od(t,((t,r)=>{n&&hd(t)?e[r]=rd(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 i,a,o;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],r&&!r(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&ad(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:od,kindOfTest:sd,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(cd(e))return e;let t=e.length;if(!pd(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:Id,hasOwnProperty:Nd,hasOwnProp:Nd,reduceDescriptors:Dd,freezeMethods:e=>{Dd(e,((t,n)=>{if(hd(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];hd(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 cd(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)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ad,global:Cd,isContextDefined:Td,ALPHABET:Ld,generateString:(e=16,t=Ld.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&hd(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(md(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=cd(e)?[]:{};return Od(e,((e,t)=>{const a=n(e,r+1);!ud(a)&&(i[t]=a)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:jd,isThenable:e=>e&&(md(e)||hd(e))&&hd(e.then)&&hd(e.catch),setImmediate:Ud,asap:Hd};function $d(e,t,n,r,i){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),i&&(this.response=i,this.status=i.status?i.status:null)}qd.inherits($d,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:qd.toJSONObject(this.config),code:this.code,status:this.status}}});const Kd=$d.prototype,Qd={};["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=>{Qd[e]={value:e}})),Object.defineProperties($d,Qd),Object.defineProperty(Kd,"isAxiosError",{value:!0}),$d.from=(e,t,n,r,i,a)=>{const o=Object.create(Kd);return qd.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),$d.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};function Gd(e){return qd.isPlainObject(e)||qd.isArray(e)}function Yd(e){return qd.endsWith(e,"[]")?e.slice(0,-2):e}function Jd(e,t,n){return e?e.concat(t).map((function(e,t){return e=Yd(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Xd=qd.toFlatObject(qd,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Zd(e,t,n){if(!qd.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=qd.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!qd.isUndefined(t[e])}))).metaTokens,i=n.visitor||c,a=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&qd.isSpecCompliantForm(t);if(!qd.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(qd.isDate(e))return e.toISOString();if(!s&&qd.isBlob(e))throw new $d("Blob is not supported. Use a Buffer instead.");return qd.isArrayBuffer(e)||qd.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(qd.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(qd.isArray(e)&&function(e){return qd.isArray(e)&&!e.some(Gd)}(e)||(qd.isFileList(e)||qd.endsWith(n,"[]"))&&(s=qd.toArray(e)))return n=Yd(n),s.forEach((function(e,r){!qd.isUndefined(e)&&null!==e&&t.append(!0===o?Jd([n],r,a):null===o?n:n+"[]",l(e))})),!1;return!!Gd(e)||(t.append(Jd(i,n,a),l(e)),!1)}const u=[],d=Object.assign(Xd,{defaultVisitor:c,convertValue:l,isVisitable:Gd});if(!qd.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!qd.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),qd.forEach(n,(function(n,a){!0===(!(qd.isUndefined(n)||null===n)&&i.call(t,n,qd.isString(a)?a.trim():a,r,d))&&e(n,r?r.concat(a):[a])})),u.pop()}}(e),t}function ef(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function tf(e,t){this._pairs=[],e&&Zd(e,this,t)}const nf=tf.prototype;function rf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function af(e,t,n){if(!t)return e;const r=n&&n.encode||rf,i=n&&n.serialize;let a;if(a=i?i(t,n):qd.isURLSearchParams(t)?t.toString():new tf(t,n).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}nf.append=function(e,t){this._pairs.push([e,t])},nf.toString=function(e){const t=e?function(t){return e.call(this,t,ef)}:ef;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class of{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){qd.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const sf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lf={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:tf,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},cf="undefined"!=typeof window&&"undefined"!=typeof document,uf="object"==typeof navigator&&navigator||void 0,df=cf&&(!uf||["ReactNative","NativeScript","NS"].indexOf(uf.product)<0),ff="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,hf=cf&&window.location.href||"http://localhost",pf={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:cf,hasStandardBrowserEnv:df,hasStandardBrowserWebWorkerEnv:ff,navigator:uf,origin:hf},Symbol.toStringTag,{value:"Module"})),...lf};function mf(e){function t(e,n,r,i){let a=e[i++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),s=i>=e.length;if(a=!a&&qd.isArray(r)?r.length:a,s)return qd.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o;r[a]&&qd.isObject(r[a])||(r[a]=[]);return t(e,n,r[a],i)&&qd.isArray(r[a])&&(r[a]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}(r[a])),!o}if(qd.isFormData(e)&&qd.isFunction(e.entries)){const n={};return qd.forEachEntry(e,((e,r)=>{t(function(e){return qd.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const gf={transitional:sf,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=qd.isObject(e);i&&qd.isHTMLForm(e)&&(e=new FormData(e));if(qd.isFormData(e))return r?JSON.stringify(mf(e)):e;if(qd.isArrayBuffer(e)||qd.isBuffer(e)||qd.isStream(e)||qd.isFile(e)||qd.isBlob(e)||qd.isReadableStream(e))return e;if(qd.isArrayBufferView(e))return e.buffer;if(qd.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Zd(e,new pf.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return pf.isNode&&qd.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=qd.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Zd(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(qd.isString(e))try{return(t||JSON.parse)(e),qd.trim(e)}catch(Zg){if("SyntaxError"!==Zg.name)throw Zg}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||gf.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(qd.isResponse(e)||qd.isReadableStream(e))return e;if(e&&qd.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(Zg){if(n){if("SyntaxError"===Zg.name)throw $d.from(Zg,$d.ERR_BAD_RESPONSE,this,null,this.response);throw Zg}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pf.classes.FormData,Blob:pf.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};qd.forEach(["delete","get","head","post","put","patch"],(e=>{gf.headers[e]={}}));const yf=qd.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"]),vf=Symbol("internals");function bf(e){return e&&String(e).trim().toLowerCase()}function _f(e){return!1===e||null==e?e:qd.isArray(e)?e.map(_f):String(e)}function wf(e,t,n,r,i){return qd.isFunction(r)?r.call(this,t,n):(i&&(t=n),qd.isString(t)?qd.isString(r)?-1!==t.indexOf(r):qd.isRegExp(r)?r.test(t):void 0:void 0)}class xf{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=bf(t);if(!i)throw new Error("header name must be a non-empty string");const a=qd.findKey(r,i);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=_f(e))}const a=(e,t)=>qd.forEach(e,((e,n)=>i(e,n,t)));if(qd.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(qd.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&yf[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(qd.isHeaders(e))for(const[o,s]of e.entries())i(s,o,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=bf(e)){const n=qd.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(qd.isFunction(t))return t.call(this,e,n);if(qd.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=bf(e)){const n=qd.findKey(this,e);return!(!n||void 0===this[n]||t&&!wf(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=bf(e)){const i=qd.findKey(n,e);!i||t&&!wf(0,n[i],i,t)||(delete n[i],r=!0)}}return qd.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!wf(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return qd.forEach(this,((r,i)=>{const a=qd.findKey(n,i);if(a)return t[a]=_f(r),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();o!==i&&delete t[i],t[o]=_f(r),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return qd.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&qd.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[vf]=this[vf]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=bf(e);t[r]||(!function(e,t){const n=qd.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return qd.isArray(e)?e.forEach(r):r(e),this}}function kf(e,t){const n=this||gf,r=t||n,i=xf.from(r.headers);let a=r.data;return qd.forEach(e,(function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function Ef(e){return!(!e||!e.__CANCEL__)}function Sf(e,t,n){$d.call(this,null==e?"canceled":e,$d.ERR_CANCELED,t,n),this.name="CanceledError"}function Of(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new $d("Request failed with status code "+n.status,[$d.ERR_BAD_REQUEST,$d.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}xf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),qd.reduceDescriptors(xf.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),qd.freezeMethods(xf),qd.inherits(Sf,$d,{__CANCEL__:!0});const Af=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,a=0,o=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[o];i||(i=l),n[a]=s,r[a]=l;let u=o,d=0;for(;u!==a;)d+=n[u++],u%=e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),l-i<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,r,i=0,a=1e3/t;const o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=a?o(e,t):(n=e,r||(r=setTimeout((()=>{r=null,o(n)}),a-s)))},()=>n&&o(n)]}((n=>{const a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,l=i(s);r=a;e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&a<=o?(o-a)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},Cf=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Tf=e=>(...t)=>qd.asap((()=>e(...t))),Rf=pf.hasStandardBrowserEnv?function(){const e=pf.navigator&&/(msie|trident)/i.test(pf.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=qd.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),If=pf.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];qd.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),qd.isString(r)&&o.push("path="+r),qd.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Nf(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 Pf=e=>e instanceof xf?{...e}:e;function Df(e,t){t=t||{};const n={};function r(e,t,n){return qd.isPlainObject(e)&&qd.isPlainObject(t)?qd.merge.call({caseless:n},e,t):qd.isPlainObject(t)?qd.merge({},t):qd.isArray(t)?t.slice():t}function i(e,t,n){return qd.isUndefined(t)?qd.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function a(e,t){if(!qd.isUndefined(t))return r(void 0,t)}function o(e,t){return qd.isUndefined(t)?qd.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t)=>i(Pf(e),Pf(t),!0)};return qd.forEach(Object.keys(Object.assign({},e,t)),(function(r){const a=l[r]||i,o=a(e[r],t[r],r);qd.isUndefined(o)&&a!==s||(n[r]=o)})),n}const Mf=e=>{const t=Df({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:o,headers:s,auth:l}=t;if(t.headers=s=xf.from(s),t.url=af(Nf(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),qd.isFormData(r))if(pf.hasStandardBrowserEnv||pf.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(pf.hasStandardBrowserEnv&&(i&&qd.isFunction(i)&&(i=i(t)),i||!1!==i&&Rf(t.url))){const e=a&&o&&If.read(o);e&&s.set(a,e)}return t},Ff="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Mf(e);let i=r.data;const a=xf.from(r.headers).normalize();let o,s,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:h}=r;function p(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=xf.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Of((function(e){t(e),p()}),(function(e){n(e),p()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new $d("Request aborted",$d.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new $d("Network Error",$d.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||sf;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new $d(t,i.clarifyTimeoutError?$d.ETIMEDOUT:$d.ECONNABORTED,e,m)),m=null},void 0===i&&a.setContentType(null),"setRequestHeader"in m&&qd.forEach(a.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),qd.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),h&&([l,u]=Af(h,!0),m.addEventListener("progress",l)),f&&m.upload&&([s,c]=Af(f),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(o=t=>{m&&(n(!t||t.type?new Sf(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===pf.protocols.indexOf(y)?n(new $d("Unsupported protocol "+y+":",$d.ERR_BAD_REQUEST,e)):m.send(i||null)}))},Lf=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;r.abort(t instanceof $d?t:new Sf(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,i(new $d(`timeout ${t} of ms exceeded`,$d.ETIMEDOUT))}),t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=()=>qd.asap(o),s}},jf=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Uf=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Bf=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of Uf(e))yield*jf(n,t)}(e,t);let a,o=0,s=e=>{a||(a=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let a=r.byteLength;if(n){let e=o+=a;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},Vf="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,zf=Vf&&"function"==typeof ReadableStream,Wf=Vf&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Hf=(e,...t)=>{try{return!!e(...t)}catch(Zg){return!1}},qf=zf&&Hf((()=>{let e=!1;const t=new Request(pf.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),$f=zf&&Hf((()=>qd.isReadableStream(new Response("").body))),Kf={stream:$f&&(e=>e.body)};var Qf;Vf&&(Qf=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Kf[e]&&(Kf[e]=qd.isFunction(Qf[e])?t=>t[e]():(t,n)=>{throw new $d(`Response type '${e}' is not supported`,$d.ERR_NOT_SUPPORT,n)})})));const Gf=async(e,t)=>{const n=qd.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(qd.isBlob(e))return e.size;if(qd.isSpecCompliantForm(e)){const t=new Request(pf.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return qd.isArrayBufferView(e)||qd.isArrayBuffer(e)?e.byteLength:(qd.isURLSearchParams(e)&&(e+=""),qd.isString(e)?(await Wf(e)).byteLength:void 0)})(t):n},Yf={http:null,xhr:Ff,fetch:Vf&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Mf(e);c=c?(c+"").toLowerCase():"text";let h,p=Lf([i,a&&a.toAbortSignal()],o);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&qf&&"get"!==n&&"head"!==n&&0!==(g=await Gf(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(qd.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Cf(g,Af(Tf(l)));r=Bf(n.body,65536,e,t)}}qd.isString(d)||(d=d?"include":"omit");const i="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:i?d:void 0});let a=await fetch(h);const o=$f&&("stream"===c||"response"===c);if($f&&(s||o&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=qd.toFiniteNumber(a.headers.get("content-length")),[n,r]=s&&Cf(t,Af(Tf(s),!0))||[];a=new Response(Bf(a.body,65536,n,(()=>{r&&r(),m&&m()})),e)}c=c||"text";let y=await Kf[qd.findKey(Kf,c)||"text"](a,e);return!o&&m&&m(),await new Promise(((t,n)=>{Of(t,n,{data:y,headers:xf.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:h})}))}catch(y){if(m&&m(),y&&"TypeError"===y.name&&/fetch/i.test(y.message))throw Object.assign(new $d("Network Error",$d.ERR_NETWORK,e,h),{cause:y.cause||y});throw $d.from(y,y&&y.code,e,h)}})};qd.forEach(Yf,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(Zg){}Object.defineProperty(e,"adapterName",{value:t})}}));const Jf=e=>`- ${e}`,Xf=e=>qd.isFunction(e)||null===e||!1===e,Zf=e=>{e=qd.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){let t;if(n=e[a],r=n,!Xf(n)&&(r=Yf[(t=String(n)).toLowerCase()],void 0===r))throw new $d(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+a]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new $d("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Jf).join("\n"):" "+Jf(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function eh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Sf(null,e)}function th(e){eh(e),e.headers=xf.from(e.headers),e.data=kf.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Zf(e.adapter||gf.adapter)(e).then((function(t){return eh(e),t.data=kf.call(e,e.transformResponse,t),t.headers=xf.from(t.headers),t}),(function(t){return Ef(t)||(eh(e),t&&t.response&&(t.response.data=kf.call(e,e.transformResponse,t.response),t.response.headers=xf.from(t.response.headers))),Promise.reject(t)}))}const nh="1.7.7",rh={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{rh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ih={};rh.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new $d(r(i," has been removed"+(t?" in "+t:"")),$d.ERR_DEPRECATED);return t&&!ih[i]&&(ih[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}};const ah={assertOptions:function(e,t,n){if("object"!=typeof e)throw new $d("options must be an object",$d.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new $d("option "+a+" must be "+n,$d.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new $d("Unknown option "+a,$d.ERR_BAD_OPTION)}},validators:rh},oh=ah.validators;class sh{constructor(e){this.defaults=e,this.interceptors={request:new of,response:new of}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(Zg){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Df(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&ah.assertOptions(n,{silentJSONParsing:oh.transitional(oh.boolean),forcedJSONParsing:oh.transitional(oh.boolean),clarifyTimeoutError:oh.transitional(oh.boolean)},!1),null!=r&&(qd.isFunction(r)?t.paramsSerializer={serialize:r}:ah.assertOptions(r,{encode:oh.function,serialize:oh.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&qd.merge(i.common,i[t.method]);i&&qd.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=xf.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[th.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=o.length;let f=t;for(d=0;d<u;){const e=o[d++],t=o[d++];try{f=e(f)}catch(h){t.call(this,h);break}}try{c=th.call(this,f)}catch(h){return Promise.reject(h)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return af(Nf((e=Df(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}qd.forEach(["delete","get","head","options"],(function(e){sh.prototype[e]=function(t,n){return this.request(Df(n||{},{method:e,url:t,data:(n||{}).data}))}})),qd.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Df(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}sh.prototype[e]=t(),sh.prototype[e+"Form"]=t(!0)}));class lh{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,i){n.reason||(n.reason=new Sf(e,r,i),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)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new lh((function(t){e=t})),cancel:e}}}const ch={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(ch).forEach((([e,t])=>{ch[t]=e}));const uh=function e(t){const n=new sh(t),r=rd(sh.prototype.request,n);return qd.extend(r,sh.prototype,n,{allOwnKeys:!0}),qd.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Df(t,n))},r}(gf);let dh;uh.Axios=sh,uh.CanceledError=Sf,uh.CancelToken=lh,uh.isCancel=Ef,uh.VERSION=nh,uh.toFormData=Zd,uh.AxiosError=$d,uh.Cancel=uh.CanceledError,uh.all=function(e){return Promise.all(e)},uh.spread=function(e){return function(t){return e.apply(null,t)}},uh.isAxiosError=function(e){return qd.isObject(e)&&!0===e.isAxiosError},uh.mergeConfig=Df,uh.AxiosHeaders=xf,uh.formToJSON=e=>mf(qd.isHTMLForm(e)?new FormData(e):e),uh.getAdapter=Zf,uh.HttpStatusCode=ch,uh.default=uh;const fh=async(e,t)=>{var n;return null==(n=await(null==dh?void 0:dh.get(e,t)))?void 0:n.data},hh=async(e,t,n)=>{var r;return null==(r=await(null==dh?void 0:dh.post(e,t,n)))?void 0:r.data};let ph;const mh=()=>{if(ph)return ph;return ph=new un({defaultOptions:{queries:{retry:(e,t)=>{var n;return 0===e&&![401,403].includes((null==(n=t.response)?void 0:n.status)||0)}}}}),ph},gh="/benefits-plan/workplace-backend",yh=e=>fh(`${gh}/v2.0/activities/${e.activityId}/steps`),vh=e=>{var t;const n=null==(t=e.progressEvents)?void 0:t.map((({dataType:e,...t})=>e===ed.Standard?t:{dataType:e,...t}));return(async(e,t,n)=>{var r;return null==(r=await(null==dh?void 0:dh.put(e,t,n)))?void 0:r.data})(`${gh}/v1.0/customer/activities/${e.activityId}`,{activityAction:e.activityAction,progressEvents:n})},bh=e=>hh(`${gh}/v2.0/analytics/track`,e),_h=()=>fh("/benefits-plan/customer-backend/v1.0/public-holidays"),wh=e=>{var t,n,r,i,a;const{data:o,isError:s,isLoading:l,isSuccess:c,refetch:u}=vi({queryKey:["benefitsPlanGetCalculate",e.assessmentId],queryFn:()=>(async e=>fh(`${gh}/v1.0/activities/${e.activityId}/calculate`))({activityId:e.assessmentId}),staleTime:1/0});Pn((()=>{bh({event:nd.AssessmentSummaryViewed,properties:{id:e.assessmentId,name:e.title}})}),[e.assessmentId,e.title]);const d=(null==o?void 0:o.calculationType)===Xu.SalaryPackagingCars||(null==o?void 0:o.calculationType)===Xu.Trivia,f=d?"All done":(null==(t=null==o?void 0:o.estimates)?void 0:t.primary.title)||"",h=(null==o?void 0:o.calculationType)===Xu.SalaryPackagingCars?"A Flare Cars expert will be in touch soon to discuss your estimate and your novated leasing options.":(null==o?void 0:o.calculationType)===Xu.Trivia||null==(n=null==o?void 0:o.estimates)?void 0:n.blurb.text,p=d||null==(r=null==o?void 0:o.estimates)?void 0:r.blurb.imageUrl,m=d||"true"===e.skipMoreDetails||null==(i=null==o?void 0:o.estimates)?void 0:i.moreDetailsUrl,g=xh(e.specialBannerType&&(null==o?void 0:o.calculationType));return xt(Qu,{children:[l&&xt(qu,{}),s&&xt(Ku,{retry:u}),c?xt("div",{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{class:"flex flex-col gap-6",children:[xt(fc,{heading1:!0,children:f}),g?xt(Wu,{title:g,type:"completed"}):null,xt(fc,{paragraph1:!0,children:h}),p?xt("img",{loading:"lazy",src:p}):null,xt("div",{class:"flex gap-1 flex-wrap",children:[m?xt($u,{class:_i(e.onComplete?"flex-grow":""),onClick:()=>window.open(m,"_blank"),children:"See your plans"}):null,e.onComplete?xt($u,{class:_i(m?"flex-grow":""),onClick:e.onComplete,children:"View next benefit"}):null]}),(null==(a=e.terms)?void 0:a.length)?xt(fc,{terms:!0,children:e.terms.map(((e,t)=>xt("span",{dangerouslySetInnerHTML:{__html:Au.sanitize(e,{ADD_ATTR:["target"]})}},t)))}):null]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]}):null]})},xh=e=>{if(void 0===e||e===Xu.Trivia)return;let t;return t=e===Xu.SalaryPackagingCars?"car":e.toLowerCase(),`Your estimated ${t} reimbursement will be calculated and sent to your email*`},kh=e=>{var t,n;const r=sa(),i=e.declineButtonLabel&&e.onDecline;return xt(Qu,{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{class:"flex flex-col gap-6",children:[xt("div",{children:[xt(fc,{class:"mb-2",heading1:!0,children:e.title}),xt(fc,{paragraph1:!0,children:e.description})]}),(null==(t=e.details)?void 0:t.length)?xt("div",{class:"flex flex-col p-6 rounded-lg border border-gray-200 shadow-sm gap-2",children:e.details.map(((e,t)=>xt("div",{class:"flex",children:[xt(Vu,{className:"text-primary-base mt-1 mr-2.5 text-sm",icon:dc}),e]},t)))}):null,e.specialBannerType?xt(Wu,{subtitle:e.specialBannerSubtitle,title:e.specialBannerTitle,type:e.specialBannerType}):null,xt("div",{class:"flex gap-1 flex-wrap",children:[xt($u,{class:_i(i?"flex-grow":""),onClick:()=>{var t;r("/question"),null==(t=e.onAccept)||t.call(e)},testId:`offer_${e.marketplaceOfferName}_button_accept`,children:e.acceptButtonLabel}),i&&xt($u,{class:"flex-grow",onClick:()=>{var t;null==(t=e.onDecline)||t.call(e),bh({event:nd.AssessmentSkipped,properties:{id:e.assessmentId,name:e.title}})},secondary:!0,testId:`offer_${e.marketplaceOfferName}_button_decline`,children:e.declineButtonLabel})]}),(null==(n=e.terms)?void 0:n.length)?xt(fc,{terms:!0,children:e.terms.map(((e,t)=>xt("span",{dangerouslySetInnerHTML:{__html:Au.sanitize(e,{ADD_ATTR:["target"]})}},t)))}):null]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]})},Eh=e=>{const{data:t,isError:n,isLoading:r,refetch:i}=vi({queryKey:["benefitsPlanGetSteps",e.assessmentId],queryFn:()=>yh({activityId:e.assessmentId})}),{id:a}=function(){let{matches:e}=Un(na),t=e[e.length-1];return t?t.params:{}}(),o=null==t?void 0:t.steps.find((e=>e.id===a));return xt(Qu,{children:[r&&xt(qu,{}),n&&xt(Ku,{retry:i}),!o||r||n?null:xt(qe,{children:xt("div",{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{children:[xt(fc,{class:"mb-2",heading1:!0,children:o.title}),xt(fc,{class:"mb-6",paragraph1:!0,children:o.description}),e.onComplete?xt($u,{onClick:e.onComplete,children:"Next"}):null]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]})})]})};var Sh=e=>"checkbox"===e.type,Oh=e=>e instanceof Date,Ah=e=>null==e;const Ch=e=>"object"==typeof e;var Th=e=>!Ah(e)&&!Array.isArray(e)&&Ch(e)&&!Oh(e),Rh=e=>Th(e)&&e.target?Sh(e.target)?e.target.checked:e.target.value:e,Ih=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),Nh=e=>{const t=e.constructor&&e.constructor.prototype;return Th(t)&&t.hasOwnProperty("isPrototypeOf")},Ph="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function Dh(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Ph&&(e instanceof Blob||e instanceof FileList)||!n&&!Th(e))return e;if(t=n?[]:{},n||Nh(e))for(const n in e)e.hasOwnProperty(n)&&(t[n]=Dh(e[n]));else t=e}return t}var Mh=e=>Array.isArray(e)?e.filter(Boolean):[],Fh=e=>void 0===e,Lh=(e,t,n)=>{if(!t||!Th(e))return n;const r=Mh(t.split(/[,[\].]+?/)).reduce(((e,t)=>Ah(e)?e:e[t]),e);return Fh(r)||r===e?Fh(e[t])?n:e[t]:r},jh=e=>"boolean"==typeof e,Uh=e=>/^\w*$/.test(e),Bh=e=>Mh(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Vh=(e,t,n)=>{let r=-1;const i=Uh(t)?[t]:Bh(t),a=i.length,o=a-1;for(;++r<a;){const t=i[r];let a=n;if(r!==o){const n=e[t];a=Th(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if("__proto__"===t)return;e[t]=a,e=e[t]}return e};const zh={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Wh={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Hh="max",qh="min",$h="maxLength",Kh="minLength",Qh="pattern",Gh="required",Yh="validate",Jh=Jr.createContext(null),Xh=()=>Jr.useContext(Jh);var Zh=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const i=a;return t._proxyFormState[i]!==Wh.all&&(t._proxyFormState[i]=!r||Wh.all),n&&(n[i]=!0),e[i]}});return i},ep=e=>Th(e)&&!Object.keys(e).length,tp=(e,t,n,r)=>{n(e);const{name:i,...a}=e;return ep(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find((e=>t[e]===(!r||Wh.all)))},np=e=>Array.isArray(e)?e:[e],rp=(e,t,n)=>!e||!t||e===t||np(e).some((e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))));function ip(e){const t=Jr.useRef(e);t.current=e,Jr.useEffect((()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}}),[e.disabled])}var ap=e=>"string"==typeof e,op=(e,t,n,r,i)=>ap(e)?(r&&t.watch.add(e),Lh(n,e,i)):Array.isArray(e)?e.map((e=>(r&&t.watch.add(e),Lh(n,e)))):(r&&(t.watchAll=!0),n);function sp(e){const t=Xh(),{control:n=t.control,name:r,defaultValue:i,disabled:a,exact:o}=e||{},s=Jr.useRef(r);s.current=r,ip({disabled:a,subject:n._subjects.values,next:e=>{rp(s.current,e.name,o)&&c(Dh(op(s.current,n._names,e.values||n._formValues,!1,i)))}});const[l,c]=Jr.useState(n._getWatch(r,i));return Jr.useEffect((()=>n._removeUnmounted())),l}function lp(e){const t=Xh(),{name:n,disabled:r,control:i=t.control,shouldUnregister:a}=e,o=Ih(i._names.array,n),s=sp({control:i,name:n,defaultValue:Lh(i._formValues,n,Lh(i._defaultValues,n,e.defaultValue)),exact:!0}),l=function(e){const t=Xh(),{control:n=t.control,disabled:r,name:i,exact:a}=e||{},[o,s]=Jr.useState(n._formState),l=Jr.useRef(!0),c=Jr.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=Jr.useRef(i);return u.current=i,ip({disabled:r,next:e=>l.current&&rp(u.current,e.name,a)&&tp(e,c.current,n._updateFormState)&&s({...n._formState,...e}),subject:n._subjects.state}),Jr.useEffect((()=>(l.current=!0,c.current.isValid&&n._updateValid(!0),()=>{l.current=!1})),[n]),Zh(o,n,c.current,!1)}({control:i,name:n,exact:!0}),c=Jr.useRef(i.register(n,{...e.rules,value:s,...jh(e.disabled)?{disabled:e.disabled}:{}}));return Jr.useEffect((()=>{const e=i._options.shouldUnregister||a,t=(e,t)=>{const n=Lh(i._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){const e=Dh(Lh(i._options.defaultValues,n));Vh(i._defaultValues,n,e),Fh(Lh(i._formValues,n))&&Vh(i._formValues,n,e)}return()=>{(o?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}}),[n,i,o,a]),Jr.useEffect((()=>{Lh(i._fields,n)&&i._updateDisabledField({disabled:r,fields:i._fields,name:n,value:Lh(i._fields,n)._f.value})}),[r,n,i]),{field:{name:n,value:s,...jh(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:Jr.useCallback((e=>c.current.onChange({target:{value:Rh(e),name:n},type:zh.CHANGE})),[n]),onBlur:Jr.useCallback((()=>c.current.onBlur({target:{value:Lh(i._formValues,n),name:n},type:zh.BLUR})),[n,i]),ref:Jr.useCallback((e=>{const t=Lh(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}),[i._fields,n])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Lh(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!Lh(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Lh(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Lh(l.validatingFields,n)},error:{enumerable:!0,get:()=>Lh(l.errors,n)}})}}const cp=e=>e.render(lp(e));var up=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},dp=e=>({isOnSubmit:!e||e===Wh.onSubmit,isOnBlur:e===Wh.onBlur,isOnChange:e===Wh.onChange,isOnAll:e===Wh.all,isOnTouch:e===Wh.onTouched}),fp=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const hp=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const n=Lh(e,i);if(n){const{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(hp(a,t))break}else if(Th(a)&&hp(a,t))break}}};var pp=(e,t,n)=>{const r=np(Lh(e,n));return Vh(r,"root",t[n]),Vh(e,n,r),e},mp=e=>"file"===e.type,gp=e=>"function"==typeof e,yp=e=>{if(!Ph)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},vp=e=>ap(e),bp=e=>"radio"===e.type,_p=e=>e instanceof RegExp;const wp={value:!1,isValid:!1},xp={value:!0,isValid:!0};var kp=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Fh(e[0].attributes.value)?Fh(e[0].value)||""===e[0].value?xp:{value:e[0].value,isValid:!0}:xp:wp}return wp};const Ep={isValid:!1,value:null};var Sp=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),Ep):Ep;function Op(e,t,n="validate"){if(vp(e)||Array.isArray(e)&&e.every(vp)||jh(e)&&!e)return{type:n,message:vp(e)?e:"",ref:t}}var Ap=e=>Th(e)&&!_p(e)?e:{value:e,message:""},Cp=async(e,t,n,r,i)=>{const{ref:a,refs:o,required:s,maxLength:l,minLength:c,min:u,max:d,pattern:f,validate:h,name:p,valueAsNumber:m,mount:g,disabled:y}=e._f,v=Lh(t,p);if(!g||y)return{};const b=o?o[0]:a,_=e=>{r&&b.reportValidity&&(b.setCustomValidity(jh(e)?"":e||""),b.reportValidity())},w={},x=bp(a),k=Sh(a),E=x||k,S=(m||mp(a))&&Fh(a.value)&&Fh(v)||yp(a)&&""===a.value||""===v||Array.isArray(v)&&!v.length,O=up.bind(null,p,n,w),A=(e,t,n,r=$h,i=Kh)=>{const o=e?t:n;w[p]={type:e?r:i,message:o,ref:a,...O(e?r:i,o)}};if(i?!Array.isArray(v)||!v.length:s&&(!E&&(S||Ah(v))||jh(v)&&!v||k&&!kp(o).isValid||x&&!Sp(o).isValid)){const{value:e,message:t}=vp(s)?{value:!!s,message:s}:Ap(s);if(e&&(w[p]={type:Gh,message:t,ref:b,...O(Gh,t)},!n))return _(t),w}if(!(S||Ah(u)&&Ah(d))){let e,t;const r=Ap(d),i=Ap(u);if(Ah(v)||isNaN(v)){const n=a.valueAsDate||new Date(v),o=e=>new Date((new Date).toDateString()+" "+e),s="time"==a.type,l="week"==a.type;ap(r.value)&&v&&(e=s?o(v)>o(r.value):l?v>r.value:n>new Date(r.value)),ap(i.value)&&v&&(t=s?o(v)<o(i.value):l?v<i.value:n<new Date(i.value))}else{const n=a.valueAsNumber||(v?+v:v);Ah(r.value)||(e=n>r.value),Ah(i.value)||(t=n<i.value)}if((e||t)&&(A(!!e,r.message,i.message,Hh,qh),!n))return _(w[p].message),w}if((l||c)&&!S&&(ap(v)||i&&Array.isArray(v))){const e=Ap(l),t=Ap(c),r=!Ah(e.value)&&v.length>+e.value,i=!Ah(t.value)&&v.length<+t.value;if((r||i)&&(A(r,e.message,t.message),!n))return _(w[p].message),w}if(f&&!S&&ap(v)){const{value:e,message:t}=Ap(f);if(_p(e)&&!v.match(e)&&(w[p]={type:Qh,message:t,ref:a,...O(Qh,t)},!n))return _(t),w}if(h)if(gp(h)){const e=Op(await h(v,t),b);if(e&&(w[p]={...e,...O(Yh,e.message)},!n))return _(e.message),w}else if(Th(h)){let e={};for(const r in h){if(!ep(e)&&!n)break;const i=Op(await h[r](v,t),b,r);i&&(e={...i,...O(r,i.message)},_(i.message),n&&(w[p]=e))}if(!ep(e)&&(w[p]={ref:b,...e},!n))return w}return _(!0),w};function Tp(e,t){const n=Array.isArray(t)?t:Uh(t)?[t]:Bh(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=Fh(e)?r++:e[t[r++]];return e}(e,n),i=n.length-1,a=n[i];return r&&delete r[a],0!==i&&(Th(r)&&ep(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!Fh(e[t]))return!1;return!0}(r))&&Tp(e,n.slice(0,-1)),e}var Rp=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},Ip=e=>Ah(e)||!Ch(e);function Np(e,t){if(Ip(e)||Ip(t))return e===t;if(Oh(e)&&Oh(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const n=e[i];if(!r.includes(i))return!1;if("ref"!==i){const e=t[i];if(Oh(n)&&Oh(e)||Th(n)&&Th(e)||Array.isArray(n)&&Array.isArray(e)?!Np(n,e):n!==e)return!1}}return!0}var Pp=e=>"select-multiple"===e.type,Dp=e=>bp(e)||Sh(e),Mp=e=>yp(e)&&e.isConnected,Fp=e=>{for(const t in e)if(gp(e[t]))return!0;return!1};function Lp(e,t={}){const n=Array.isArray(e);if(Th(e)||n)for(const r in e)Array.isArray(e[r])||Th(e[r])&&!Fp(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Lp(e[r],t[r])):Ah(e[r])||(t[r]=!0);return t}function jp(e,t,n){const r=Array.isArray(e);if(Th(e)||r)for(const i in e)Array.isArray(e[i])||Th(e[i])&&!Fp(e[i])?Fh(t)||Ip(n[i])?n[i]=Array.isArray(e[i])?Lp(e[i],[]):{...Lp(e[i])}:jp(e[i],Ah(t)?{}:t[i],n[i]):n[i]=!Np(e[i],t[i]);return n}var Up=(e,t)=>jp(e,t,Lp(t)),Bp=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Fh(e)?e:t?""===e?NaN:e?+e:e:n&&ap(e)?new Date(e):r?r(e):e;function Vp(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return mp(t)?t.files:bp(t)?Sp(e.refs).value:Pp(t)?[...t.selectedOptions].map((({value:e})=>e)):Sh(t)?kp(e.refs).value:Bp(Fh(t.value)?e.ref.value:t.value,e)}var zp=(e,t,n,r)=>{const i={};for(const a of e){const e=Lh(t,a);e&&Vh(i,a,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},Wp=e=>Fh(e)?e:_p(e)?e.source:Th(e)?_p(e.value)?e.value.source:e.value:e;const Hp="AsyncFunction";var qp=e=>!(e&&e.validate||!(gp(e.validate)&&e.validate.constructor.name===Hp||Th(e.validate)&&Object.values(e.validate).find((e=>e.constructor.name===Hp)))),$p=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function Kp(e,t,n){const r=Lh(e,n);if(r||Uh(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const r=i.join("."),a=Lh(t,r),o=Lh(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};i.pop()}return{name:n}}var Qp=(e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e),Gp=(e,t)=>!Mh(Lh(e,t)).length&&Tp(e,t);const Yp={mode:Wh.onSubmit,reValidateMode:Wh.onChange,shouldFocusError:!0};function Jp(e={}){let t,n={...Yp,...e},r={submitCount:0,isDirty:!1,isLoading:gp(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},i={},a=(Th(n.defaultValues)||Th(n.values))&&Dh(n.defaultValues||n.values)||{},o=n.shouldUnregister?{}:Dh(a),s={action:!1,mount:!1,watch:!1},l={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:Rp(),array:Rp(),state:Rp()},f=dp(n.mode),h=dp(n.reValidateMode),p=n.criteriaMode===Wh.all,m=async e=>{if(u.isValid||e){const e=n.resolver?ep((await _()).errors):await w(i,!0);e!==r.isValid&&d.state.next({isValid:e})}},g=(e,t)=>{(u.isValidating||u.validatingFields)&&((e||Array.from(l.mount)).forEach((e=>{e&&(t?Vh(r.validatingFields,e,t):Tp(r.validatingFields,e))})),d.state.next({validatingFields:r.validatingFields,isValidating:!ep(r.validatingFields)}))},y=(e,t,n,r)=>{const l=Lh(i,e);if(l){const i=Lh(o,e,Fh(n)?Lh(a,e):n);Fh(i)||r&&r.defaultChecked||t?Vh(o,e,t?i:Vp(l._f)):E(e,i),s.mount&&m()}},v=(e,t,n,o,s)=>{let l=!1,c=!1;const f={name:e},h=!!(Lh(i,e)&&Lh(i,e)._f&&Lh(i,e)._f.disabled);if(!n||o){u.isDirty&&(c=r.isDirty,r.isDirty=f.isDirty=x(),l=c!==f.isDirty);const n=h||Np(Lh(a,e),t);c=!(h||!Lh(r.dirtyFields,e)),n||h?Tp(r.dirtyFields,e):Vh(r.dirtyFields,e,!0),f.dirtyFields=r.dirtyFields,l=l||u.dirtyFields&&c!==!n}if(n){const t=Lh(r.touchedFields,e);t||(Vh(r.touchedFields,e,n),f.touchedFields=r.touchedFields,l=l||u.touchedFields&&t!==n)}return l&&s&&d.state.next(f),l?f:{}},b=(n,i,a,o)=>{const s=Lh(r.errors,n),l=u.isValid&&jh(i)&&r.isValid!==i;var f;if(e.delayError&&a?(f=()=>((e,t)=>{Vh(r.errors,e,t),d.state.next({errors:r.errors})})(n,a),t=e=>{clearTimeout(c),c=setTimeout(f,e)},t(e.delayError)):(clearTimeout(c),t=null,a?Vh(r.errors,n,a):Tp(r.errors,n)),(a?!Np(s,a):s)||!ep(o)||l){const e={...o,...l&&jh(i)?{isValid:i}:{},errors:r.errors,name:n};r={...r,...e},d.state.next(e)}},_=async e=>{g(e,!0);const t=await n.resolver(o,n.context,zp(e||l.mount,i,n.criteriaMode,n.shouldUseNativeValidation));return g(e),t},w=async(e,t,i={valid:!0})=>{for(const a in e){const s=e[a];if(s){const{_f:e,...c}=s;if(e){const c=l.array.has(e.name),d=s._f&&qp(s._f);d&&u.validatingFields&&g([a],!0);const f=await Cp(s,o,p,n.shouldUseNativeValidation&&!t,c);if(d&&u.validatingFields&&g([a]),f[e.name]&&(i.valid=!1,t))break;!t&&(Lh(f,e.name)?c?pp(r.errors,f,e.name):Vh(r.errors,e.name,f[e.name]):Tp(r.errors,e.name))}!ep(c)&&await w(c,t,i)}}return i.valid},x=(e,t)=>(e&&t&&Vh(o,e,t),!Np(R(),a)),k=(e,t,n)=>op(e,l,{...s.mount?o:Fh(t)?a:ap(e)?{[e]:t}:t},n,t),E=(e,t,n={})=>{const r=Lh(i,e);let a=t;if(r){const n=r._f;n&&(!n.disabled&&Vh(o,e,Bp(t,n)),a=yp(n.ref)&&Ah(t)?"":t,Pp(n.ref)?[...n.ref.options].forEach((e=>e.selected=a.includes(e.value))):n.refs?Sh(n.ref)?n.refs.length>1?n.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find((t=>t===e.value)):a===e.value))):n.refs[0]&&(n.refs[0].checked=!!a):n.refs.forEach((e=>e.checked=e.value===a)):mp(n.ref)?n.ref.value="":(n.ref.value=a,n.ref.type||d.values.next({name:e,values:{...o}})))}(n.shouldDirty||n.shouldTouch)&&v(e,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&T(e)},S=(e,t,n)=>{for(const r in t){const a=t[r],o=`${e}.${r}`,s=Lh(i,o);!l.array.has(e)&&Ip(a)&&(!s||s._f)||Oh(a)?E(o,a,n):S(o,a,n)}},O=(e,t,n={})=>{const c=Lh(i,e),f=l.array.has(e),h=Dh(t);Vh(o,e,h),f?(d.array.next({name:e,values:{...o}}),(u.isDirty||u.dirtyFields)&&n.shouldDirty&&d.state.next({name:e,dirtyFields:Up(a,o),isDirty:x(e,h)})):!c||c._f||Ah(h)?E(e,h,n):S(e,h,n),fp(e,l)&&d.state.next({...r}),d.values.next({name:s.mount?e:void 0,values:{...o}})},A=async a=>{s.mount=!0;const c=a.target;let y=c.name,x=!0;const k=Lh(i,y),E=e=>{x=Number.isNaN(e)||Np(e,Lh(o,y,e))};if(k){let s,S;const O=c.type?Vp(k._f):Rh(a),A=a.type===zh.BLUR||a.type===zh.FOCUS_OUT,C=!$p(k._f)&&!n.resolver&&!Lh(r.errors,y)&&!k._f.deps||Qp(A,Lh(r.touchedFields,y),r.isSubmitted,h,f),R=fp(y,l,A);Vh(o,y,O),A?(k._f.onBlur&&k._f.onBlur(a),t&&t(0)):k._f.onChange&&k._f.onChange(a);const I=v(y,O,A,!1),N=!ep(I)||R;if(!A&&d.values.next({name:y,type:a.type,values:{...o}}),C)return u.isValid&&("onBlur"===e.mode?A&&m():m()),N&&d.state.next({name:y,...R?{}:I});if(!A&&R&&d.state.next({...r}),n.resolver){const{errors:e}=await _([y]);if(E(O),x){const t=Kp(r.errors,i,y),n=Kp(e,i,t.name||y);s=n.error,y=n.name,S=ep(e)}}else g([y],!0),s=(await Cp(k,o,p,n.shouldUseNativeValidation))[y],g([y]),E(O),x&&(s?S=!1:u.isValid&&(S=await w(i,!0)));x&&(k._f.deps&&T(k._f.deps),b(y,S,s,I))}},C=(e,t)=>{if(Lh(r.errors,t)&&e.focus)return e.focus(),1},T=async(e,t={})=>{let a,o;const s=np(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await _(e);if(e)for(const n of e){const e=Lh(t,n);e?Vh(r.errors,n,e):Tp(r.errors,n)}else r.errors=t;return t})(Fh(e)?e:s);a=ep(t),o=e?!s.some((e=>Lh(t,e))):a}else e?(o=(await Promise.all(s.map((async e=>{const t=Lh(i,e);return await w(t&&t._f?{[e]:t}:t)})))).every(Boolean),(o||r.isValid)&&m()):o=a=await w(i);return d.state.next({...!ap(e)||u.isValid&&a!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:a}:{},errors:r.errors}),t.shouldFocus&&!o&&hp(i,C,e?s:l.mount),o},R=e=>{const t={...s.mount?o:a};return Fh(e)?t:ap(e)?Lh(t,e):e.map((e=>Lh(t,e)))},I=(e,t)=>({invalid:!!Lh((t||r).errors,e),isDirty:!!Lh((t||r).dirtyFields,e),error:Lh((t||r).errors,e),isValidating:!!Lh(r.validatingFields,e),isTouched:!!Lh((t||r).touchedFields,e)}),N=(e,t,n)=>{const a=(Lh(i,e,{_f:{}})._f||{}).ref,o=Lh(r.errors,e)||{},{ref:s,message:l,type:c,...u}=o;Vh(r.errors,e,{...u,...t,ref:a}),d.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&a&&a.focus&&a.focus()},P=(e,t={})=>{for(const s of e?np(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(Tp(i,s),Tp(o,s)),!t.keepError&&Tp(r.errors,s),!t.keepDirty&&Tp(r.dirtyFields,s),!t.keepTouched&&Tp(r.touchedFields,s),!t.keepIsValidating&&Tp(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&Tp(a,s);d.values.next({values:{...o}}),d.state.next({...r,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&m()},D=({disabled:e,name:t,field:n,fields:r,value:i})=>{if(jh(e)&&s.mount||e){const a=e?void 0:Fh(i)?Vp(n?n._f:Lh(r,t)._f):i;Vh(o,t,a),v(t,a,!1,!1,!0)}},M=(t,r={})=>{let o=Lh(i,t);const c=jh(r.disabled)||jh(e.disabled);return Vh(i,t,{...o||{},_f:{...o&&o._f?o._f:{ref:{name:t}},name:t,mount:!0,...r}}),l.mount.add(t),o?D({field:o,disabled:jh(r.disabled)?r.disabled:e.disabled,name:t,value:r.value}):y(t,!0,r.value),{...c?{disabled:r.disabled||e.disabled}:{},...n.progressive?{required:!!r.required,min:Wp(r.min),max:Wp(r.max),minLength:Wp(r.minLength),maxLength:Wp(r.maxLength),pattern:Wp(r.pattern)}:{},name:t,onChange:A,onBlur:A,ref:e=>{if(e){M(t,r),o=Lh(i,t);const n=Fh(e.value)&&e.querySelectorAll&&e.querySelectorAll("input,select,textarea")[0]||e,s=Dp(n),l=o._f.refs||[];if(s?l.find((e=>e===n)):n===o._f.ref)return;Vh(i,t,{_f:{...o._f,...s?{refs:[...l.filter(Mp),n,...Array.isArray(Lh(a,t))?[{}]:[]],ref:{type:n.type,name:t}}:{ref:n}}}),y(t,!1,void 0,n)}else o=Lh(i,t,{}),o._f&&(o._f.mount=!1),(n.shouldUnregister||r.shouldUnregister)&&(!Ih(l.array,t)||!s.action)&&l.unMount.add(t)}}},F=()=>n.shouldFocusError&&hp(i,C,l.mount),L=(e,t)=>async a=>{let s;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let l=Dh(o);if(d.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await _();r.errors=e,l=t}else await w(i);if(Tp(r.errors,"root"),ep(r.errors)){d.state.next({errors:{}});try{await e(l,a)}catch(c){s=c}}else t&&await t({...r.errors},a),F(),setTimeout(F);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ep(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},j=(t,n={})=>{const c=t?Dh(t):a,f=Dh(c),h=ep(t),p=h?a:f;if(n.keepDefaultValues||(a=c),!n.keepValues){if(n.keepDirtyValues)for(const e of l.mount)Lh(r.dirtyFields,e)?Vh(p,e,Lh(o,e)):O(e,Lh(p,e));else{if(Ph&&Fh(t))for(const e of l.mount){const t=Lh(i,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(yp(e)){const t=e.closest("form");if(t){t.reset();break}}}}i={}}o=e.shouldUnregister?n.keepDefaultValues?Dh(a):{}:Dh(p),d.array.next({values:{...p}}),d.values.next({values:{...p}})}l={mount:n.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!u.isValid||!!n.keepIsValid||!!n.keepDirtyValues,s.watch=!!e.shouldUnregister,d.state.next({submitCount:n.keepSubmitCount?r.submitCount:0,isDirty:!h&&(n.keepDirty?r.isDirty:!(!n.keepDefaultValues||Np(t,a))),isSubmitted:!!n.keepIsSubmitted&&r.isSubmitted,dirtyFields:h?{}:n.keepDirtyValues?n.keepDefaultValues&&o?Up(a,o):r.dirtyFields:n.keepDefaultValues&&t?Up(a,t):n.keepDirty?r.dirtyFields:{},touchedFields:n.keepTouched?r.touchedFields:{},errors:n.keepErrors?r.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1})},U=(e,t)=>j(gp(e)?e(o):e,t);return{control:{register:M,unregister:P,getFieldState:I,handleSubmit:L,setError:N,_executeSchema:_,_getWatch:k,_getDirty:x,_updateValid:m,_removeUnmounted:()=>{for(const e of l.unMount){const t=Lh(i,e);t&&(t._f.refs?t._f.refs.every((e=>!Mp(e))):!Mp(t._f.ref))&&P(e)}l.unMount=new Set},_updateFieldArray:(e,t=[],n,l,c=!0,f=!0)=>{if(l&&n){if(s.action=!0,f&&Array.isArray(Lh(i,e))){const t=n(Lh(i,e),l.argA,l.argB);c&&Vh(i,e,t)}if(f&&Array.isArray(Lh(r.errors,e))){const t=n(Lh(r.errors,e),l.argA,l.argB);c&&Vh(r.errors,e,t),Gp(r.errors,e)}if(u.touchedFields&&f&&Array.isArray(Lh(r.touchedFields,e))){const t=n(Lh(r.touchedFields,e),l.argA,l.argB);c&&Vh(r.touchedFields,e,t)}u.dirtyFields&&(r.dirtyFields=Up(a,o)),d.state.next({name:e,isDirty:x(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Vh(o,e,t)},_updateDisabledField:D,_getFieldArray:t=>Mh(Lh(s.mount?o:a,t,e.shouldUnregister?Lh(a,t,[]):[])),_reset:j,_resetDefaultValues:()=>gp(n.defaultValues)&&n.defaultValues().then((e=>{U(e,n.resetOptions),d.state.next({isLoading:!1})})),_updateFormState:e=>{r={...r,...e}},_disableForm:e=>{jh(e)&&(d.state.next({disabled:e}),hp(i,((t,n)=>{const r=Lh(i,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach((t=>{t.disabled=r._f.disabled||e})))}),0,!1))},_subjects:d,_proxyFormState:u,_setErrors:e=>{r.errors=e,d.state.next({errors:r.errors,isValid:!1})},get _fields(){return i},get _formValues(){return o},get _state(){return s},set _state(e){s=e},get _defaultValues(){return a},get _names(){return l},set _names(e){l=e},get _formState(){return r},set _formState(e){r=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:T,register:M,handleSubmit:L,watch:(e,t)=>gp(e)?d.values.subscribe({next:n=>e(k(void 0,t),n)}):k(e,t,!0),setValue:O,getValues:R,reset:U,resetField:(e,t={})=>{Lh(i,e)&&(Fh(t.defaultValue)?O(e,Dh(Lh(a,e))):(O(e,t.defaultValue),Vh(a,e,Dh(t.defaultValue))),t.keepTouched||Tp(r.touchedFields,e),t.keepDirty||(Tp(r.dirtyFields,e),r.isDirty=t.defaultValue?x(e,Dh(Lh(a,e))):x()),t.keepError||(Tp(r.errors,e),u.isValid&&m()),d.state.next({...r}))},clearErrors:e=>{e&&np(e).forEach((e=>Tp(r.errors,e))),d.state.next({errors:e?r.errors:{}})},unregister:P,setError:N,setFocus:(e,t={})=>{const n=Lh(i,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:I}}function Xp(e,t){return e===t}function Zp(e,t){return t}function em(e,t,n){var r=n&&n.equalityFn||Xp,i=Nn(Zp,e),a=i[0],o=i[1],s=function(e,t,n){var r=this,i=Mn(null),a=Mn(0),o=Mn(null),s=Mn([]),l=Mn(),c=Mn(),u=Mn(e),d=Mn(!0);u.current=e;var f="undefined"!=typeof window,h=!t&&0!==t&&f;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var p=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,y="debounceOnServer"in n&&!!n.debounceOnServer,v=g?Math.max(+n.maxWait||0,t):null;Pn((function(){return d.current=!0,function(){d.current=!1}}),[]);var b=Ln((function(){var e=function(e){var t=s.current,n=l.current;return s.current=l.current=null,a.current=e,c.current=u.current.apply(n,t)},n=function(e,t){h&&cancelAnimationFrame(o.current),o.current=h?requestAnimationFrame(e):setTimeout(e,t)},b=function(e){if(!d.current)return!1;var n=e-i.current;return!i.current||n>=t||n<0||g&&e-a.current>=v},_=function(t){return o.current=null,m&&s.current?e(t):(s.current=l.current=null,c.current)},w=function e(){var r=Date.now();if(b(r))return _(r);if(d.current){var o=t-(r-i.current),s=g?Math.min(o,v-(r-a.current)):o;n(e,s)}},x=function(){if(f||y){var u=Date.now(),h=b(u);if(s.current=[].slice.call(arguments),l.current=r,i.current=u,h){if(!o.current&&d.current)return a.current=i.current,n(w,t),p?e(i.current):c.current;if(g)return n(w,t),e(i.current)}return o.current||n(w,t),c.current}};return x.cancel=function(){o.current&&(h?cancelAnimationFrame(o.current):clearTimeout(o.current)),a.current=0,s.current=i.current=l.current=o.current=null},x.isPending=function(){return!!o.current},x.flush=function(){return o.current?_(Date.now()):c.current},x}),[p,g,t,v,m,h,f,y]);return b}(jn((function(e){return o(e)}),[o]),t,n),l=Mn(e);return r(l.current,e)||(s(e),l.current=e),r(a,e)&&s.cancel(),[a,s]}const tm=({label:e,error:t,hint:n,class:r,...i})=>xt("div",{class:r,children:xt("div",{class:"flex flex-col gap-2",children:[xt(fc,{label:!0,children:e}),xt("div",{children:i.children}),t&&xt(fc,{danger:!0,hint:!0,children:t}),n&&xt(fc,{hint:!0,children:n})]})});var nm,rm={},im=Symbol.for("react.element"),am=Symbol.for("react.portal"),om=Symbol.for("react.fragment"),sm=Symbol.for("react.strict_mode"),lm=Symbol.for("react.profiler"),cm=Symbol.for("react.provider"),um=Symbol.for("react.context"),dm=Symbol.for("react.server_context"),fm=Symbol.for("react.forward_ref"),hm=Symbol.for("react.suspense"),pm=Symbol.for("react.suspense_list"),mm=Symbol.for("react.memo"),gm=Symbol.for("react.lazy"),ym=Symbol.for("react.offscreen");
|
|
24
24
|
/**
|
|
25
25
|
* @license React
|
|
26
26
|
* react-is.production.min.js
|
|
@@ -29,4 +29,4 @@ function Ji(){return Ji=Object.assign?Object.assign.bind():function(e){for(var t
|
|
|
29
29
|
*
|
|
30
30
|
* This source code is licensed under the MIT license found in the
|
|
31
31
|
* LICENSE file in the root directory of this source tree.
|
|
32
|
-
*/function vm(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case im:switch(e=e.type){case am:case lm:case sm:case hm:case pm:return e;default:switch(e=e&&e.$$typeof){case dm:case um:case fm:case gm:case mm:case cm:return e;default:return t}}case om:return t}}}nm=Symbol.for("react.module.reference"),rm.ContextConsumer=um,rm.ContextProvider=cm,rm.Element=im,rm.ForwardRef=fm,rm.Fragment=am,rm.Lazy=gm,rm.Memo=mm,rm.Portal=om,rm.Profiler=lm,rm.StrictMode=sm,rm.Suspense=hm,rm.SuspenseList=pm,rm.isAsyncMode=function(){return!1},rm.isConcurrentMode=function(){return!1},rm.isContextConsumer=function(e){return vm(e)===um},rm.isContextProvider=function(e){return vm(e)===cm},rm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===im},rm.isForwardRef=function(e){return vm(e)===fm},rm.isFragment=function(e){return vm(e)===am},rm.isLazy=function(e){return vm(e)===gm},rm.isMemo=function(e){return vm(e)===mm},rm.isPortal=function(e){return vm(e)===om},rm.isProfiler=function(e){return vm(e)===lm},rm.isStrictMode=function(e){return vm(e)===sm},rm.isSuspense=function(e){return vm(e)===hm},rm.isSuspenseList=function(e){return vm(e)===pm},rm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===am||e===lm||e===sm||e===hm||e===pm||e===ym||"object"==typeof e&&null!==e&&(e.$$typeof===gm||e.$$typeof===mm||e.$$typeof===cm||e.$$typeof===um||e.$$typeof===fm||e.$$typeof===nm||void 0!==e.getModuleId)},rm.typeOf=vm;const bm=e=>"object"==typeof e&&null!=e&&1===e.nodeType,_m=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,wm=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return _m(n.overflowY,t)||_m(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},xm=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,km=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var Em=function(){return Em=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Em.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var Sm=0;function Om(){}function Cm(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Am(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}return i.cancel=r,i}function Tm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Rm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function Im(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{}):e}function Nm(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(0===o)return-1;var a=o-1;("number"!=typeof e||e<0||e>a)&&(e=t>0?-1:a+1);var s=e+t;s<0?s=i?a:0:s>a&&(s=i?0:a);var l=Pm(s,t<0,n,r,i);return-1===l?e>=o?-1:e:l}function Pm(e,t,n,r,i){void 0===i&&(i=!1);var o=n.length;if(t){for(var a=e;a>=0;a--)if(!r(n[a],a))return a}else for(var s=e;s<o;s++)if(!r(n[s],s))return s;return i?Pm(t?o-1:0,t,n,r):-1}function Dm(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(Cm(t,e,n)||r&&Cm(t,n.document.activeElement,n))}))}var Mm=Am((function(e){Fm(e).textContent=""}),500);function Fm(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var Lm={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function jm(e,t,n){var r=e.props,i=e.type,o={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,o=t.type,a="on"+zm(e)+"Change";i[a]&&void 0!==r[e]&&r[e]!==n[e]&&i[a](Eo({type:o},r))}(r,e,t,n),n[r]!==t[r]&&(o[r]=n[r])})),r.onStateChange&&Object.keys(o).length&&r.onStateChange(Eo({type:i},o))}var Um=Am((function(e,t){!function(e,t){e&&t&&(Fm(t).textContent=e,Mm(t))}(e,t)}),200),Bm="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?Dn:Pn,Vm="useId"in Jr?function(e){var t=e.id,n=e.labelId,r=e.menuId,i=e.getItemId,o=e.toggleButtonId,a=e.inputId,s="downshift-"+Jr.useId();return t||(t=s),Mn({labelId:n||t+"-label",menuId:r||t+"-menu",getItemId:i||function(e){return t+"-item-"+e},toggleButtonId:o||t+"-toggle-button",inputId:a||t+"-input"}).current}:function(e){var t=e.id,n=void 0===t?"downshift-"+String(Sm++):t,r=e.labelId,i=e.menuId,o=e.getItemId,a=e.toggleButtonId,s=e.inputId;return Mn({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:a||n+"-toggle-button",inputId:s||n+"-input"}).current};function zm(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Wm(e){var t=Mn(e);return t.current=e,t}function Hm(e,t,n,r){var i=function(e,t,n,r){var i=Mn(),o=Mn(),a=Nn(jn((function(t,n){o.current=n,t=Im(t,n.props);var r=e(t,n);return n.props.stateReducer(t,Eo({},n,{changes:r}))}),[e]),t,n),s=a[0],l=a[1],c=Wm(t),u=jn((function(e){return l(Eo({props:c.current},e))}),[c]),d=o.current;return Pn((function(){var e=Im(i.current,null==d?void 0:d.props);d&&i.current&&!r(e,s)&&jm(d,e,s),i.current=s}),[s,d,r]),[s,u]}(e,t,n,r),o=i[0],a=i[1];return[Im(o,t),a]}var qm={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){e&&((e,t)=>{var n,r,i,o;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!bm(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,h=[];let p=e;for(;bm(p)&&d(p);){if(p=km(p),p===f){h.push(p);break}null!=p&&p===document.body&&wm(p)&&!wm(document.documentElement)||null!=p&&wm(p,u)&&h.push(p)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,{scrollX:y,scrollY:v}=window,{height:b,width:_,top:w,right:x,bottom:k,left:E}=e.getBoundingClientRect(),{top:S,right:O,bottom:C,left:A}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let T="start"===s||"nearest"===s?w-S:"end"===s?k+C:w+b/2-S+C,R="center"===l?E+_/2-A+O:"end"===l?x+O:E-A;const I=[];for(let N=0;N<h.length;N++){const e=h[N],{height:t,width:n,top:r,right:i,bottom:o,left:c}=e.getBoundingClientRect();if("if-needed"===a&&w>=0&&E>=0&&k<=g&&x<=m&&w>=r&&k<=o&&E>=c&&x<=i)return I;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),p=parseInt(u.borderTopWidth,10),S=parseInt(u.borderRightWidth,10),O=parseInt(u.borderBottomWidth,10);let C=0,A=0;const P="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-S:0,D="offsetHeight"in e?e.offsetHeight-e.clientHeight-p-O:0,M="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,F="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(f===e)C="start"===s?T:"end"===s?T-g:"nearest"===s?xm(v,v+g,g,p,O,v+T,v+T+b,b):T-g/2,A="start"===l?R:"center"===l?R-m/2:"end"===l?R-m:xm(y,y+m,m,d,S,y+R,y+R+_,_),C=Math.max(0,C+v),A=Math.max(0,A+y);else{C="start"===s?T-r-p:"end"===s?T-o+O+D:"nearest"===s?xm(r,o,t,p,O+D,T,T+b,b):T-(r+t/2)+D/2,A="start"===l?R-c-d:"center"===l?R-(c+n/2)+P/2:"end"===l?R-i+S+P:xm(c,i,n,d,S+P,R,R+_,_);const{scrollLeft:a,scrollTop:u}=e;C=0===F?0:Math.max(0,Math.min(u+C/F,e.scrollHeight-t/F+D)),A=0===M?0:Math.max(0,Math.min(a+A/M,e.scrollWidth-n/M+P)),T+=u-C,R+=a-A}I.push({el:e,top:C,left:A})}return I})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))},environment:"undefined"==typeof window?void 0:window};function Km(e,t,n){void 0===n&&(n=Lm);var r=e["default"+zm(t)];return void 0!==r?r:n[t]}function $m(e,t,n){void 0===n&&(n=Lm);var r=e[t];if(void 0!==r)return r;var i=e["initial"+zm(t)];return void 0!==i?i:Km(e,t,n)}function Qm(e){var t=$m(e,"selectedItem"),n=$m(e,"isOpen"),r=function(e){var t=$m(e,"highlightedIndex");if(t>-1&&e.isItemDisabled(e.items[t],t))return-1;return t}(e),i=$m(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:i}}function Gm(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,c=t.highlightedIndex;return 0===r.length?-1:void 0===i||c!==i||a(r[i],i)?void 0===o||a(r[o],o)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!a(r[r.length-1],r.length-1)?r.length-1:n>0&&!a(r[0],0)?0:-1:o:i}function Ym(e,t,n,r){void 0===r&&(r={});var i,o=r.document,a=(i=Jr.useRef(!0),Jr.useEffect((function(){return i.current=!1,function(){i.current=!0}}),[]),i.current);Pn((function(){if(e&&!a&&o){var n=e(t);Um(n,o)}}),n),Pn((function(){return function(){var e,t;Um.cancel(),(t=null==(e=o)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[o])}function Jm(e,t,n){var r;return Eo({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&Eo({selectedItem:e.items[t],isOpen:Km(e,"isOpen"),highlightedIndex:Km(e,"highlightedIndex")},n))}function Xm(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function Zm(e){var t=Km(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var eg={environment:No.shape({addEventListener:No.func.isRequired,removeEventListener:No.func.isRequired,document:No.shape({createElement:No.func.isRequired,getElementById:No.func.isRequired,activeElement:No.any.isRequired,body:No.any.isRequired}).isRequired,Node:No.func.isRequired}),itemToString:No.func,itemToKey:No.func,stateReducer:No.func},tg=Eo({},eg,{getA11yStatusMessage:No.func,highlightedIndex:No.number,defaultHighlightedIndex:No.number,initialHighlightedIndex:No.number,isOpen:No.bool,defaultIsOpen:No.bool,initialIsOpen:No.bool,selectedItem:No.any,initialSelectedItem:No.any,defaultSelectedItem:No.any,id:No.string,labelId:No.string,menuId:No.string,getItemId:No.func,toggleButtonId:No.string,onSelectedItemChange:No.func,onHighlightedIndexChange:No.func,onStateChange:No.func,onIsOpenChange:No.func,scrollIntoView:No.func});Em(Em({},tg),{items:No.array.isRequired,isItemDisabled:No.func});var ng=Em(Em({},qm),{isItemDisabled:function(){return!1}}),rg=1,ig=2,og=3,ag=4,sg=5,lg=6,cg=7,ug=8,dg=9,fg=10,hg=11,pg=14,mg=19,gg=Object.freeze({__proto__:null,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:mg,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,ItemClick:pg,ItemMouseMove:13,MenuMouseLeave:12,ToggleButtonBlur:hg,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:rg,ToggleButtonKeyDownArrowUp:ig,ToggleButtonKeyDownCharacter:og,ToggleButtonKeyDownEnd:lg,ToggleButtonKeyDownEnter:cg,ToggleButtonKeyDownEscape:ag,ToggleButtonKeyDownHome:sg,ToggleButtonKeyDownPageDown:fg,ToggleButtonKeyDownPageUp:dg,ToggleButtonKeyDownSpaceButton:ug});function yg(e,t){var n,r,i=t.type,o=t.props,a=t.altKey;switch(i){case pg:r={isOpen:Km(o,"isOpen"),highlightedIndex:Zm(o),selectedItem:o.items[t.index]};break;case og:var s=t.key,l=""+e.inputValue+s;r={inputValue:l,highlightedIndex:function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.isItemDisabled,a=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(a)&&!o(c,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?o.items.findIndex((function(t){return o.itemToKey(t)===o.itemToKey(e.selectedItem)})):e.highlightedIndex,items:o.items,itemToString:o.itemToString,isItemDisabled:o.isItemDisabled}),isOpen:!0};break;case rg:r={highlightedIndex:e.isOpen?Nm(e.highlightedIndex,1,o.items,o.isItemDisabled):a&&null==e.selectedItem?-1:Gm(o,e,1),isOpen:!0};break;case ig:if(e.isOpen&&a)r=Jm(o,e.highlightedIndex,!1);else r={highlightedIndex:e.isOpen?Nm(e.highlightedIndex,-1,o.items,o.isItemDisabled):Gm(o,e,-1),isOpen:!0};break;case cg:case ug:r=Jm(o,e.highlightedIndex,!1);break;case sg:r={highlightedIndex:Pm(0,!1,o.items,o.isItemDisabled),isOpen:!0};break;case lg:r={highlightedIndex:Pm(o.items.length-1,!0,o.items,o.isItemDisabled),isOpen:!0};break;case dg:r={highlightedIndex:Nm(e.highlightedIndex,-10,o.items,o.isItemDisabled)};break;case fg:r={highlightedIndex:Nm(e.highlightedIndex,10,o.items,o.isItemDisabled)};break;case ag:r={isOpen:!1,highlightedIndex:-1};break;case hg:r=Eo({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=o.items)?void 0:n.length)&&{selectedItem:o.items[e.highlightedIndex]});break;case mg:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,i=t.type,o=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Gm(o,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Gm(o,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:o.isItemDisabled(o.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:Zm(o),isOpen:Km(o,"isOpen"),selectedItem:Km(o,"selectedItem"),inputValue:Km(o,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return Eo({},e,r)}(e,t,gg)}return Eo({},e,r)}var vg=["onClick"],bg=["onMouseLeave","refKey","ref"],_g=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],wg=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function xg(e){void 0===e&&(e={});var t=Eo({},ng,e),n=t.scrollIntoView,r=t.environment,i=t.getA11yStatusMessage,o=Hm(yg,t,Qm,Xm),a=o[0],s=o[1],l=a.isOpen,c=a.highlightedIndex,u=a.selectedItem,d=a.inputValue,f=Mn(null),h=Mn(null),p=Mn({}),m=Mn(null),g=Vm(t),y=Wm({state:a,props:t}),v=jn((function(e){return p.current[g.getItemId(e)]}),[g]);Ym(i,a,[l,c,u,d],r);var b=function(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,a=e.scrollIntoView,s=Mn(!0);return Bm((function(){t<0||!n||!Object.keys(r.current).length||(!1===s.current?s.current=!0:a(i(t),o))}),[t]),s}({menuElement:h.current,highlightedIndex:c,isOpen:l,itemRefs:p,scrollIntoView:n,getItemNodeFromIndex:v});Pn((function(){return m.current=Am((function(e){e({type:20,inputValue:""})}),500),function(){m.current.cancel()}}),[]),Pn((function(){d&&m.current(s)}),[s,d]),Pn((function(){$m(t,"isOpen")&&f.current&&f.current.focus()}),[]);var _=function(e,t,n){var r=Mn({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return Pn((function(){if(!e)return Om;var i=n.map((function(e){return e.current}));function o(){r.current.isTouchEnd=!1,r.current.isMouseDown=!0}function a(n){r.current.isMouseDown=!1,Dm(n.target,i,e)||t()}function s(){r.current.isTouchEnd=!1,r.current.isTouchMove=!1}function l(){r.current.isTouchMove=!0}function c(n){r.current.isTouchEnd=!0,r.current.isTouchMove||Dm(n.target,i,e,!1)||t()}return e.addEventListener("mousedown",o),e.addEventListener("mouseup",a),e.addEventListener("touchstart",s),e.addEventListener("touchmove",l),e.addEventListener("touchend",c),function(){e.removeEventListener("mousedown",o),e.removeEventListener("mouseup",a),e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",l),e.removeEventListener("touchend",c)}}),[n,e,t]),r.current}(r,jn((function(){y.current.state.isOpen&&s({type:hg})}),[s,y]),Ln((function(){return[h,f]}),[h.current,f.current])),w=Om;Pn((function(){l||(p.current={})}),[l]);var x=Ln((function(){return{ArrowDown:function(e){e.preventDefault(),s({type:rg,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),s({type:ig,altKey:e.altKey})},Home:function(e){e.preventDefault(),s({type:sg})},End:function(e){e.preventDefault(),s({type:lg})},Escape:function(){y.current.state.isOpen&&s({type:ag})},Enter:function(e){e.preventDefault(),s({type:y.current.state.isOpen?cg:0})},PageUp:function(e){y.current.state.isOpen&&(e.preventDefault(),s({type:dg}))},PageDown:function(e){y.current.state.isOpen&&(e.preventDefault(),s({type:fg}))}," ":function(e){e.preventDefault();var t=y.current.state;t.isOpen?t.inputValue?s({type:og,key:" "}):s({type:ug}):s({type:0})}}}),[s,y]),k=jn((function(){s({type:15})}),[s]),E=jn((function(){s({type:17})}),[s]),S=jn((function(){s({type:16})}),[s]),O=jn((function(e){s({type:18,highlightedIndex:e})}),[s]),C=jn((function(e){s({type:mg,selectedItem:e})}),[s]),A=jn((function(){s({type:21})}),[s]),T=jn((function(e){s({type:20,inputValue:e})}),[s]),R=jn((function(e){var t=void 0===e?{}:e,n=t.onClick,r=So(t,vg);return Eo({id:g.labelId,htmlFor:g.toggleButtonId,onClick:Tm(n,(function(){var e;null==(e=f.current)||e.focus()}))},r)}),[g]),I=jn((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o,l=r.ref,c=So(r,bg);(void 0===t?{}:t).suppressRefError;return Eo(((n={})[a]=Rm(l,(function(e){h.current=e})),n.id=g.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+g.labelId,n.onMouseLeave=Tm(i,(function(){s({type:12})})),n),c)}),[s,w,g]);return{getToggleButtonProps:jn((function(e,t){var n,r=void 0===e?{}:e,i=r.onBlur,o=r.onClick;r.onPress;var a=r.onKeyDown,l=r.refKey,c=void 0===l?"ref":l,u=r.ref,d=So(r,_g);(void 0===t?{}:t).suppressRefError;var h=y.current.state,p=Eo(((n={})[c]=Rm(u,(function(e){f.current=e})),n["aria-activedescendant"]=h.isOpen&&h.highlightedIndex>-1?g.getItemId(h.highlightedIndex):"",n["aria-controls"]=g.menuId,n["aria-expanded"]=y.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+g.labelId,n.id=g.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=Tm(i,(function(){h.isOpen&&!_.isMouseDown&&s({type:hg})})),n),d);return d.disabled||(p.onClick=Tm(o,(function(){s({type:0})})),p.onKeyDown=Tm(a,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&x[t]?x[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&s({type:og,key:t})}))),p}),[s,g,y,_,w,x]),getLabelProps:R,getMenuProps:I,getItemProps:jn((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,o=n.onMouseMove,a=n.onClick,l=n.onMouseDown;n.onPress;var c=n.refKey,u=void 0===c?"ref":c,d=n.disabled,f=n.ref,h=So(n,wg);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var m=y.current,v=m.state,w=m.props,x=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(r,i,w.items,"Pass either item or index to getItemProps!"),k=x[0],E=x[1],S=w.isItemDisabled(k,E),O=Eo(((t={})[u]=Rm(f,(function(e){e&&(p.current[g.getItemId(E)]=e)})),t["aria-disabled"]=S,t["aria-selected"]=k===v.selectedItem,t.id=g.getItemId(E),t.role="option",t),h);return S||(O.onClick=Tm(a,(function(){s({type:pg,index:E})}))),O.onMouseMove=Tm(o,(function(){_.isTouchEnd||E===v.highlightedIndex||(b.current=!1,s({type:13,index:E,disabled:S}))})),O.onMouseDown=Tm(l,(function(e){return e.preventDefault()})),O}),[y,g,_,b,s]),toggleMenu:k,openMenu:S,closeMenu:E,setHighlightedIndex:O,selectItem:C,reset:A,setInputValue:T,highlightedIndex:c,isOpen:l,selectedItem:u,inputValue:d}}xg.stateChangeTypes=gg,Eo({},tg,{items:No.array.isRequired,isItemDisabled:No.func,inputValue:No.string,defaultInputValue:No.string,initialInputValue:No.string,inputId:No.string,onInputValueChange:No.func}),Eo({},qm,{isItemDisabled:function(){return!1}}),No.array,No.array,No.array,No.func,No.number,No.number,No.number,No.func,No.func,No.string,No.string;const kg=ft(null),Eg=()=>{const e=Un(kg);if(!e)throw new Error("Listbox components must be used within a Listbox");return e},Sg=({value:e,onChange:t,options:n,children:r})=>{const i=xg({items:n,selectedItem:n.find((t=>t.label===(null==e?void 0:e.label)))||null,onSelectedItemChange:({selectedItem:e})=>{t(e)},itemToString:e=>e?e.label:""});return xt(kg.Provider,{value:{state:i,options:n},children:r})},Og=({children:e,class:t,suppressKeyDown:n})=>{const{state:r}=Eg(),{getToggleButtonProps:i}=r,{onKeyDown:o,...a}=i();return xt("button",{type:"button",...a,class:t,onKeyDown:n?void 0:o,children:e})},Cg=({children:e,class:t,openOnOptionsChange:n})=>{const{state:r,options:i}=Eg(),{getMenuProps:o,isOpen:a,openMenu:s}=r;return Pn((()=>{n&&s()}),[s,n,i.length]),xt("ul",{...o({},{suppressRefError:!0}),class:_i(t,(!a||!i.length)&&"hidden"),children:a&&e})},Ag=({value:e,children:t,class:n})=>{const{state:r,options:i}=Eg(),{getItemProps:o,highlightedIndex:a}=r,s=i.findIndex((t=>t.label===e.label)),l=i[s],c=a===s,{onClick:u,...d}=o({item:l,index:s});return xt("li",{...d,class:n,"data-highlighted":c?"true":void 0,onTouchEnd:e=>{e.stopPropagation(),e.preventDefault(),u(e)},children:t})},Tg=({label:e,error:t,hint:n,options:r,class:i,value:o,onChange:a,onChangeText:s,query:l,...c})=>xt(tm,{class:i,error:t,hint:n,label:e,children:xt(Sg,{onChange:e=>{a(r.find((t=>t.label===e.label)))},options:r,value:o,children:xt("div",{class:"relative",children:[xt(Og,{class:"w-full",suppressKeyDown:!0,children:[xt("input",{class:_i(Rg,gc,t&&Ng,Ig),onChange:e=>{a(),s(e.currentTarget.value)},type:"text",value:(null==o?void 0:o.label)||l}),c.loading?xt(Hu,{class:"absolute top-2 right-2 w-5 h-5 text-primary-base"}):null]}),xt(Cg,{class:_i("absolute z-20 mt-1 w-full rounded-md border border-gray-300 bg-white shadow-lg max-h-70 overflow-auto focus:outline-none","transition duration-100 ease-in-out"),openOnOptionsChange:!0,children:r.map((e=>xt(Ag,{class:"group flex cursor-default items-center gap-2 py-2 px-3 select-none data-[highlighted]:bg-primary-base data-[highlighted]:text-primary-text",value:e,children:xt(fc,{class:"text-inherit",field:!0,children:e.label})},e.label)))})]})})}),Rg="relative block w-full py-2 pl-3 pr-8 rounded-md shadow-sm text-left border border-gray-300 bg-white",Ig="focus:outline-none focus-visible:border-gray-700",Ng="text-red-900 border-red-300 focus-visible:border-red-600",Pg=({label:e,error:t,hint:n,options:r,class:i,onChange:o,value:a})=>{const s=r.find((e=>e.value===a));return xt(tm,{class:i,error:t,hint:n,label:e,children:xt("div",{class:"relative w-fit min-w-60",children:xt(Sg,{onChange:e=>{var t;o(null==(t=r.find((t=>t.label===e.label)))?void 0:t.value)},options:r,value:s,children:[xt(Og,{class:_i(Dg,t&&Fg,Mg,!(null==s?void 0:s.label)&&"text-gray-500"),children:[xt(fc,{class:_i(!(null==s?void 0:s.label)&&"text-inherit"),field:!0,children:(null==s?void 0:s.label)||"Select"}),xt(Vu,{className:"pointer-events-none absolute top-3 right-2.5 text-gray-500",icon:uc,size:"xs"})]}),xt(Cg,{class:_i("absolute z-20 mt-1 w-full rounded-md border border-gray-300 bg-white shadow-lg max-h-70 overflow-auto focus:outline-none","transition duration-100 ease-in-out"),children:r.map((e=>xt(Ag,{class:"group flex cursor-default items-center gap-2 py-2 px-3 select-none data-[highlighted]:bg-primary-base data-[highlighted]:text-primary-text",value:e,children:xt(fc,{class:"text-inherit",field:!0,children:e.label})},e.label)))})]})})})},Dg="relative block w-full py-1.5 pl-3 pr-8 rounded-md shadow-sm text-left border border-gray-300 bg-white",Mg="focus:outline-none focus-visible:border-gray-700",Fg="text-red-900 border-red-300 focus-visible:border-red-600",Lg=({prefix:e,label:t,error:n,hint:r,leadingSymbol:i,type:o,class:a,...s})=>xt(tm,{class:_i(i,a),error:n,hint:r,label:t,children:xt("div",{class:"relative",children:[xt("input",{class:_i(jg,gc,n&&Bg,Ug,i&&"pl-6"),type:o,...s}),i?xt(fc,{class:"absolute text-neutral-500 w-6 leading-[38px] left-3",field:!0,children:i}):null]})}),jg="self-start py-2 px-3 rounded-md border border-gray-300 bg-white shadow-sm",Ug="focus:outline-none focus-visible:border-gray-700",Bg="text-red-900 border-red-300 focus-visible:border-red-600",Vg=({label:e,error:t,hint:n,options:r,class:i,...o})=>{const a=r.findIndex((e=>e.value===o.value)),s=Mn([]);return xt(tm,{class:i,error:t,hint:n,label:e,children:xt("div",{className:"flex items-start",children:xt("div",{className:"relative flex gap-2 bg-gray-100 rounded-lg",children:[xt("span",{className:"absolute rounded-md border border-gray-200 bg-white shadow-sm transition-transform ease-out duration-200 h-full w-1/2 "+(0===a?"translate-x-0":"translate-x-full")}),r.map(((e,t)=>xt("button",{className:_i("relative z-10 focus:outline-none py-2 px-12",t===a?"text-gray-900":"text-gray-500"),onClick:()=>(e=>{o.onChange(r[e].value)})(t),ref:e=>s.current[t]=e,tabIndex:a===t?0:-1,type:"button",children:xt(fc,{class:"text-inherit",field:!0,children:e.label})},e.label)))]})})})},zg=e=>{const{data:t,isSuccess:n,isError:r,isLoading:i,refetch:o}=vi({queryKey:["benefitsPlanGetSteps",e.assessmentId],queryFn:()=>yh({activityId:e.assessmentId}),staleTime:1/0});return Pn((()=>{bh({event:nd.AssessmentViewed,properties:{id:e.assessmentId,name:e.title}})}),[e.assessmentId,e.title]),xt(Qu,{children:[i&&xt(qu,{}),r&&xt($u,{retry:o}),n&&xt("div",{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{children:[xt(fc,{class:"mb-2",heading1:!0,children:e.title}),xt(fc,{class:"mb-6",paragraph1:!0,children:e.assessmentInstructions||e.description}),xt(Wg,{...{...t,...e}})]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]})]})},Wg=e=>{const t=Jg(e),{control:n,formState:r,handleSubmit:i}=function(e={}){const t=Jr.useRef(),n=Jr.useRef(),[r,i]=Jr.useState({isDirty:!1,isValidating:!1,isLoading:gp(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:gp(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...Jp(e),formState:r});const o=t.current.control;return o._options=e,ip({subject:o._subjects.state,next:e=>{tp(e,o._proxyFormState,o._updateFormState,!0)&&i({...o._formState})}}),Jr.useEffect((()=>o._disableForm(e.disabled)),[o,e.disabled]),Jr.useEffect((()=>{if(o._proxyFormState.isDirty){const e=o._getDirty();e!==r.isDirty&&o._subjects.state.next({isDirty:e})}}),[o,r.isDirty]),Jr.useEffect((()=>{e.values&&!Np(e.values,n.current)?(o._reset(e.values,o._options.resetOptions),n.current=e.values,i((e=>({...e})))):o._resetDefaultValues()}),[e.values,o]),Jr.useEffect((()=>{e.errors&&o._setErrors(e.errors)}),[e.errors,o]),Jr.useEffect((()=>{o._state.mount||(o._updateValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()})),Jr.useEffect((()=>{e.shouldUnregister&&o._subjects.values.next({values:o._getWatch()})}),[e.shouldUnregister,o]),t.current.formState=Zh(r,o),t.current}({mode:"onSubmit",defaultValues:t,shouldFocusError:!1}),o=sp({control:n}),a=Gg(e,o),s=a.filter((e=>e.stepType===Gu.Question)),l=so(),{mutate:c,status:u}=function(e){const t=ei(),[n]=In((()=>new _n(t,e)));Pn((()=>{n.setOptions(e)}),[n,e]);const r=Gr(jn((e=>n.subscribe(Xt.batchCalls(e))),[n]),(()=>n.getCurrentResult())),i=jn(((e,t)=>{n.mutate(e,t).catch(si)}),[n]);if(r.error&&ai(n.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:i,mutateAsync:r.mutate}}({mutationFn:vh,onSuccess:()=>{const e=a[a.length-1];l(e.stepType===Gu.Ineligible?`/ineligible/${e.id}`:"/completion")}}),[d,f]=In();Pn((()=>{const e=(e=>{for(const t of Object.values(td))if(new RegExp(`\\b${t}\\b`,"i").test(e))return t})(JSON.stringify(o));f(e)}),[o]);const h=Mn(o);return Pn((()=>{const t=Object.keys(o).find((e=>JSON.stringify(h.current[e])!==JSON.stringify(o[e]))),n=a.find((e=>e.id===t));if((null==n?void 0:n.stepType)===Gu.Question){const t=n.customerAttribute;t&&bh({event:nd.AssessmentFieldUpdated,properties:{id:e.assessmentId,name:e.title,attribute:t}})}h.current=o}),[o]),xt(qe,{children:[xt("form",{class:"flex flex-col gap-4",children:s.map((e=>{var t;const i=null==(t=r.errors[e.id])?void 0:t.message;switch(e.template){case Yu.Text:return xt(Hg,{control:n,error:i,step:e},e.id);case Yu.Currency:return xt(qg,{control:n,error:i,step:e},e.id);case Yu.Date:return xt(Kg,{australianState:d,control:n,error:i,step:e},e.id);case Yu.SingleSelect:return xt($g,{control:n,error:i,step:e},e.id);case Yu.Lookup:return xt(Qg,{control:n,error:i,step:e},e.id);default:return null}}))}),xt(Ku,{class:"mt-6 min-w-60",onClick:i((t=>{const n=a[a.length-1].stepType===Gu.Ineligible,r=(n?a:s).map((e=>e.id)),i=Object.fromEntries(Object.entries(t).filter((([e])=>r.includes(e)))),o=Object.entries(i).map((([e,t])=>{var n;return(null==(n=s.find((t=>t.id===e)))?void 0:n.template)===Yu.Lookup?{dataType:ed.Lookup,stepId:e,id:t.id,label:t.label}:{dataType:ed.Standard,stepId:e,value:t}})),l={activityAction:n?Zu.ProgressStep:Zu.ProgressStartToComplete,activityId:e.assessmentId,progressEvents:o};bh({event:nd.AssessmentSubmitted,properties:{id:e.assessmentId,name:e.title,experiment:e.trackExperiment,treatment:e.trackTreatment,responses:o.reduce(((e,t)=>{var n;const r=null==(n=s.find((e=>e.id===t.stepId)))?void 0:n.customerAttribute,i=t.dataType===ed.Lookup?t.label:t.value;return{...e,...r&&i?{[r]:i}:null}}),{})}}),c(l)})),status:u,children:"Submit"})]})},Hg=({control:e,step:t,error:n})=>xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Lg,{error:n,hint:t.hint,label:t.title,type:"text",...e}),rules:{required:{value:!0,message:"This field is required"},validate:e=>{const n=t.invalidMessage||!1,r=t.matchExpression;return!r||(!!RegExp(r).test(e)||n)}}}),qg=({control:e,step:t,error:n})=>xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Lg,{error:n,hint:t.hint,label:t.title,leadingSymbol:"$",type:"text",...e}),rules:{required:{value:!0,message:"This field is required"},validate:e=>{const n=t.invalidMessage||!1;if(!/^-?\d+(\.\d+)?$/.test(e))return n;const r=parseFloat(e);return t.maximumValue&&r>parseInt(t.maximumValue,10)?n:!(t.minimumValue&&r<parseInt(t.minimumValue,10))||n}}}),Kg=({control:e,step:t,australianState:n,error:r})=>{const i=vi({queryKey:["benefitsPlanGetPublicHolidays"],queryFn:_h,staleTime:1/0});return xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Lg,{error:r,hint:t.hint,label:t.title,type:"date",...e}),rules:{required:{value:!0,message:"This field is required"},validate:e=>{var r,o,a;const s=new Date(e);s.setHours(0,0,0,0);const l=null==(r=t.invalidDays)?void 0:r.includes(Ju.Weekends),c=s.getDay();if(l&&(0===c||6===c))return t.invalidMessage;if(null==(o=t.invalidDays)?void 0:o.includes(Ju.PublicHolidays)){const e=null==(a=i.data)?void 0:a.holidays.filter((e=>e.state.toUpperCase()===(null==n?void 0:n.toUpperCase()))).map((e=>{const t=new Date(e.date);return t.setHours(0,0,0,0),t}));if(null==e?void 0:e.some((e=>e.getTime()===s.getTime())))return t.invalidMessage}let u,d;return t.maximumValue&&(u=new Date(t.maximumValue),u.setHours(0,0,0,0),s>u)?t.invalidMessage:!(t.minimumValue&&("today"===t.minimumValue.toLowerCase()?(d=new Date,d.setDate(d.getDate()+(t.minimumValueAddDays||0)),d.setHours(0,0,0,0)):(d=new Date(t.minimumValue),d.setHours(0,0,0,0)),s<d))||t.invalidMessage}}})},$g=({control:e,step:t,error:n})=>xt(cp,{control:e,name:t.id,render:({field:e})=>Yg(t)?xt(Vg,{error:n,hint:t.hint,label:t.title,options:t.options,...e}):xt(Pg,{error:n,hint:t.hint,label:t.title,options:t.options,...e}),rules:{required:{value:!0,message:"This field is required"}}}),Qg=({control:e,step:t,error:n})=>{const[r,i]=In(),[o]=em(r,300,{trailing:!0}),[a,s]=In(!1),[l,c]=In([]);return Pn((()=>{o&&o.length>=t.minimumCharacters?(async()=>{let e;try{s(!0),e=await(n={url:(r=t.url,r.replace(/^[a-zA-Z]+:\/\/[^/]+\/?/,"")),query:o||""},hh(n.url,{query:n.query}))}catch(Zg){}var n,r;s(!1),(null==e?void 0:e.addresses)?c(e.addresses):c([])})():c([])}),[o,t.minimumCharacters,t.url]),xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Tg,{error:n,hint:t.hint,label:t.title,loading:a,onChangeText:i,options:l,query:r,...e}),rules:{validate:e=>!(!(null==e?void 0:e.id)||!(null==e?void 0:e.label))||"This field is required"}})},Gg=(e,t)=>{const{firstStepId:n,steps:r}=e,i=r.reduce(((e,t)=>({...e,[t.id]:t})),{}),o=(e,n)=>{var r,a;if(!e)return n;const s=i[e],l=[...n,s];if(s.stepType===Gu.Completion||s.stepType===Gu.Ineligible)return l;if(s.stepType===Gu.Consent)return o(s.nextStepId,l);const c=null==t?void 0:t[s.id];if(s.stepType===Gu.Question&&s.template===Yu.SingleSelect&&!c)return l;const u=s.stepType===Gu.Question&&s.template===Yu.SingleSelect?null==(a=null==(r=s.options)?void 0:r.find((e=>e.value===c)))?void 0:a.nextStepId:s.nextStepId;return o(u,l)};return o(n,[])},Yg=e=>2===e.options.length&&e.options.some((e=>"yes"===e.label.toLowerCase()))&&e.options.some((e=>"no"===e.label.toLowerCase())),Jg=e=>e.steps.reduce(((e,t)=>{var n;let r;return r=t.stepType===Gu.Question&&t.template===Yu.SingleSelect?Yg(t)&&void 0===t.defaultValue?null==(n=t.options.find((({label:e})=>"yes"===e.toLowerCase())))?void 0:n.value:t.defaultValue:t.stepType===Gu.Ineligible||t.stepType===Gu.Completion||t.stepType===Gu.Consent||t.template===Yu.TriviaSingleSelect?void 0:t.defaultValue,{...e,[t.id]:r}}),{}),Xg=({props:e})=>{const t=oo(),n="true"===e.skipIntro?"/question":"/consent";return xt(Yo,{class:_i("relative flex flex-1 overflow-x-clip",!1),children:xt(qo,{classNames:{enter:n===t.pathname?"":"slide-enter",enterActive:n===t.pathname?"":"slide-enter-active",exit:"slide-exit",exitActive:"slide-exit-active"},timeout:300,children:xt(xo,{location:t,children:[xt(_o,{element:xt(kh,{acceptButtonLabel:e.acceptButton,assessmentId:e.assessmentId,declineButtonLabel:e.declineButton,description:e.description,details:e.details,imageUrl:e.imageUrl,onAccept:e.onAccept,onDecline:e.onDecline,terms:e.terms,title:e.title,verticalAlignment:e.verticalAlignment}),path:"consent"}),xt(_o,{element:xt(zg,{assessmentId:e.assessmentId,assessmentInstructions:e.assessmentInstructions,description:e.description,imageUrl:e.imageUrl,title:e.title,trackExperiment:e.trackExperiment,trackTreatment:e.trackTreatment,verticalAlignment:e.verticalAlignment}),path:"question"}),xt(_o,{element:xt(wh,{assessmentId:e.assessmentId,imageUrl:e.imageUrl,onComplete:e.onComplete,skipMoreDetails:e.skipMoreDetails,specialBannerType:e.specialBannerType,terms:e.terms,title:e.title,verticalAlignment:e.verticalAlignment}),path:"completion"}),xt(_o,{element:xt(Eh,{assessmentId:e.assessmentId,imageUrl:e.imageUrl,onComplete:e.onComplete,verticalAlignment:e.verticalAlignment}),path:"ineligible/:id"}),xt(_o,{element:xt(bo,{to:n}),path:"*"})]})},t.pathname)})};!function(e,t,n,r){function i(){var t=Reflect.construct(HTMLElement,[],i);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:r.mode||"open"}):t,t}(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=gt,i.prototype.attributeChangedCallback=vt,i.prototype.disconnectedCallback=bt,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=n,n.forEach((function(e){Object.defineProperty(i.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,i)}((e=>(Pn((()=>{var t;t={baseUrl:e.baseUrl,accessToken:e.accessToken,profileId:e.profileId,trackClient:e.trackClient,trackSource:e.trackSource,trackChannel:e.trackChannel},dh||(dh=uh.create({baseURL:t.baseUrl}),dh.interceptors.request.use((e=>(e.headers.Authorization=`Bearer ${t.accessToken}`,e.headers["X-PROFILE-ID"]=t.profileId,e.params={client:t.trackClient,source:t.trackSource,channel:t.trackChannel},e))))}),[]),xt(Wr,{children:xt(Sc,{children:xt(ti,{client:mh(),children:xt(vo,{children:xt(Xg,{props:e})})})})}))),"benefits-plan-assessment",["terms","details","on-accept","on-decline","on-complete"],{shadow:!0});
|
|
32
|
+
*/function vm(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case im:switch(e=e.type){case om:case lm:case sm:case hm:case pm:return e;default:switch(e=e&&e.$$typeof){case dm:case um:case fm:case gm:case mm:case cm:return e;default:return t}}case am:return t}}}nm=Symbol.for("react.module.reference"),rm.ContextConsumer=um,rm.ContextProvider=cm,rm.Element=im,rm.ForwardRef=fm,rm.Fragment=om,rm.Lazy=gm,rm.Memo=mm,rm.Portal=am,rm.Profiler=lm,rm.StrictMode=sm,rm.Suspense=hm,rm.SuspenseList=pm,rm.isAsyncMode=function(){return!1},rm.isConcurrentMode=function(){return!1},rm.isContextConsumer=function(e){return vm(e)===um},rm.isContextProvider=function(e){return vm(e)===cm},rm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===im},rm.isForwardRef=function(e){return vm(e)===fm},rm.isFragment=function(e){return vm(e)===om},rm.isLazy=function(e){return vm(e)===gm},rm.isMemo=function(e){return vm(e)===mm},rm.isPortal=function(e){return vm(e)===am},rm.isProfiler=function(e){return vm(e)===lm},rm.isStrictMode=function(e){return vm(e)===sm},rm.isSuspense=function(e){return vm(e)===hm},rm.isSuspenseList=function(e){return vm(e)===pm},rm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===om||e===lm||e===sm||e===hm||e===pm||e===ym||"object"==typeof e&&null!==e&&(e.$$typeof===gm||e.$$typeof===mm||e.$$typeof===cm||e.$$typeof===um||e.$$typeof===fm||e.$$typeof===nm||void 0!==e.getModuleId)},rm.typeOf=vm;const bm=e=>"object"==typeof e&&null!=e&&1===e.nodeType,_m=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,wm=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return _m(n.overflowY,t)||_m(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},xm=(e,t,n,r,i,a,o,s)=>a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0,km=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t};var Em=function(){return Em=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Em.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var Sm=0;function Om(){}function Am(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function Cm(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];r(),n=setTimeout((function(){n=null,e.apply(void 0,a)}),t)}return i.cancel=r,i}function Tm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function Rm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function Im(e,t){return e&&t?Object.keys(e).reduce((function(n,r){return n[r]=function(e,t){return void 0!==e[t]}(t,r)?t[r]:e[r],n}),{}):e}function Nm(e,t,n,r,i){void 0===i&&(i=!1);var a=n.length;if(0===a)return-1;var o=a-1;("number"!=typeof e||e<0||e>o)&&(e=t>0?-1:o+1);var s=e+t;s<0?s=i?o:0:s>o&&(s=i?0:o);var l=Pm(s,t<0,n,r,i);return-1===l?e>=a?-1:e:l}function Pm(e,t,n,r,i){void 0===i&&(i=!1);var a=n.length;if(t){for(var o=e;o>=0;o--)if(!r(n[o],o))return o}else for(var s=e;s<a;s++)if(!r(n[s],s))return s;return i?Pm(t?a-1:0,t,n,r):-1}function Dm(e,t,n,r){return void 0===r&&(r=!0),n&&t.some((function(t){return t&&(Am(t,e,n)||r&&Am(t,n.document.activeElement,n))}))}var Mm=Cm((function(e){Fm(e).textContent=""}),500);function Fm(e){var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var Lm={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function jm(e,t,n){var r=e.props,i=e.type,a={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var i=t.props,a=t.type,o="on"+zm(e)+"Change";i[o]&&void 0!==r[e]&&r[e]!==n[e]&&i[o](ka({type:a},r))}(r,e,t,n),n[r]!==t[r]&&(a[r]=n[r])})),r.onStateChange&&Object.keys(a).length&&r.onStateChange(ka({type:i},a))}var Um=Cm((function(e,t){!function(e,t){e&&t&&(Fm(t).textContent=e,Mm(t))}(e,t)}),200),Bm="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?Dn:Pn,Vm="useId"in Jr?function(e){var t=e.id,n=e.labelId,r=e.menuId,i=e.getItemId,a=e.toggleButtonId,o=e.inputId,s="downshift-"+Jr.useId();return t||(t=s),Mn({labelId:n||t+"-label",menuId:r||t+"-menu",getItemId:i||function(e){return t+"-item-"+e},toggleButtonId:a||t+"-toggle-button",inputId:o||t+"-input"}).current}:function(e){var t=e.id,n=void 0===t?"downshift-"+String(Sm++):t,r=e.labelId,i=e.menuId,a=e.getItemId,o=e.toggleButtonId,s=e.inputId;return Mn({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:a||function(e){return n+"-item-"+e},toggleButtonId:o||n+"-toggle-button",inputId:s||n+"-input"}).current};function zm(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function Wm(e){var t=Mn(e);return t.current=e,t}function Hm(e,t,n,r){var i=function(e,t,n,r){var i=Mn(),a=Mn(),o=Nn(jn((function(t,n){a.current=n,t=Im(t,n.props);var r=e(t,n);return n.props.stateReducer(t,ka({},n,{changes:r}))}),[e]),t,n),s=o[0],l=o[1],c=Wm(t),u=jn((function(e){return l(ka({props:c.current},e))}),[c]),d=a.current;return Pn((function(){var e=Im(i.current,null==d?void 0:d.props);d&&i.current&&!r(e,s)&&jm(d,e,s),i.current=s}),[s,d,r]),[s,u]}(e,t,n,r),a=i[0],o=i[1];return[Im(a,t),o]}var qm={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:function(e,t){return t.changes},scrollIntoView:function(e,t){e&&((e,t)=>{var n,r,i,a;if("undefined"==typeof document)return[];const{scrollMode:o,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!bm(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,h=[];let p=e;for(;bm(p)&&d(p);){if(p=km(p),p===f){h.push(p);break}null!=p&&p===document.body&&wm(p)&&!wm(document.documentElement)||null!=p&&wm(p,u)&&h.push(p)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(a=null==(i=window.visualViewport)?void 0:i.height)?a:innerHeight,{scrollX:y,scrollY:v}=window,{height:b,width:_,top:w,right:x,bottom:k,left:E}=e.getBoundingClientRect(),{top:S,right:O,bottom:A,left:C}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let T="start"===s||"nearest"===s?w-S:"end"===s?k+A:w+b/2-S+A,R="center"===l?E+_/2-C+O:"end"===l?x+O:E-C;const I=[];for(let N=0;N<h.length;N++){const e=h[N],{height:t,width:n,top:r,right:i,bottom:a,left:c}=e.getBoundingClientRect();if("if-needed"===o&&w>=0&&E>=0&&k<=g&&x<=m&&w>=r&&k<=a&&E>=c&&x<=i)return I;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),p=parseInt(u.borderTopWidth,10),S=parseInt(u.borderRightWidth,10),O=parseInt(u.borderBottomWidth,10);let A=0,C=0;const P="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-S:0,D="offsetHeight"in e?e.offsetHeight-e.clientHeight-p-O:0,M="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,F="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(f===e)A="start"===s?T:"end"===s?T-g:"nearest"===s?xm(v,v+g,g,p,O,v+T,v+T+b,b):T-g/2,C="start"===l?R:"center"===l?R-m/2:"end"===l?R-m:xm(y,y+m,m,d,S,y+R,y+R+_,_),A=Math.max(0,A+v),C=Math.max(0,C+y);else{A="start"===s?T-r-p:"end"===s?T-a+O+D:"nearest"===s?xm(r,a,t,p,O+D,T,T+b,b):T-(r+t/2)+D/2,C="start"===l?R-c-d:"center"===l?R-(c+n/2)+P/2:"end"===l?R-i+S+P:xm(c,i,n,d,S+P,R,R+_,_);const{scrollLeft:o,scrollTop:u}=e;A=0===F?0:Math.max(0,Math.min(u+A/F,e.scrollHeight-t/F+D)),C=0===M?0:Math.max(0,Math.min(o+C/M,e.scrollWidth-n/M+P)),T+=u-A,R+=o-C}I.push({el:e,top:A,left:C})}return I})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))},environment:"undefined"==typeof window?void 0:window};function $m(e,t,n){void 0===n&&(n=Lm);var r=e["default"+zm(t)];return void 0!==r?r:n[t]}function Km(e,t,n){void 0===n&&(n=Lm);var r=e[t];if(void 0!==r)return r;var i=e["initial"+zm(t)];return void 0!==i?i:$m(e,t,n)}function Qm(e){var t=Km(e,"selectedItem"),n=Km(e,"isOpen"),r=function(e){var t=Km(e,"highlightedIndex");if(t>-1&&e.isItemDisabled(e.items[t],t))return-1;return t}(e),i=Km(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.findIndex((function(n){return e.itemToKey(n)===e.itemToKey(t)})):r,isOpen:n,selectedItem:t,inputValue:i}}function Gm(e,t,n){var r=e.items,i=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,o=e.isItemDisabled,s=e.itemToKey,l=t.selectedItem,c=t.highlightedIndex;return 0===r.length?-1:void 0===i||c!==i||o(r[i],i)?void 0===a||o(r[a],a)?l?r.findIndex((function(e){return s(l)===s(e)})):n<0&&!o(r[r.length-1],r.length-1)?r.length-1:n>0&&!o(r[0],0)?0:-1:a:i}function Ym(e,t,n,r){void 0===r&&(r={});var i,a=r.document,o=(i=Jr.useRef(!0),Jr.useEffect((function(){return i.current=!1,function(){i.current=!0}}),[]),i.current);Pn((function(){if(e&&!o&&a){var n=e(t);Um(n,a)}}),n),Pn((function(){return function(){var e,t;Um.cancel(),(t=null==(e=a)?void 0:e.getElementById("a11y-status-message"))&&t.remove()}}),[a])}function Jm(e,t,n){var r;return ka({isOpen:!1,highlightedIndex:-1},(null==(r=e.items)?void 0:r.length)&&t>=0&&ka({selectedItem:e.items[t],isOpen:$m(e,"isOpen"),highlightedIndex:$m(e,"highlightedIndex")},n))}function Xm(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function Zm(e){var t=$m(e,"highlightedIndex");return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}var eg={environment:Ia.shape({addEventListener:Ia.func.isRequired,removeEventListener:Ia.func.isRequired,document:Ia.shape({createElement:Ia.func.isRequired,getElementById:Ia.func.isRequired,activeElement:Ia.any.isRequired,body:Ia.any.isRequired}).isRequired,Node:Ia.func.isRequired}),itemToString:Ia.func,itemToKey:Ia.func,stateReducer:Ia.func},tg=ka({},eg,{getA11yStatusMessage:Ia.func,highlightedIndex:Ia.number,defaultHighlightedIndex:Ia.number,initialHighlightedIndex:Ia.number,isOpen:Ia.bool,defaultIsOpen:Ia.bool,initialIsOpen:Ia.bool,selectedItem:Ia.any,initialSelectedItem:Ia.any,defaultSelectedItem:Ia.any,id:Ia.string,labelId:Ia.string,menuId:Ia.string,getItemId:Ia.func,toggleButtonId:Ia.string,onSelectedItemChange:Ia.func,onHighlightedIndexChange:Ia.func,onStateChange:Ia.func,onIsOpenChange:Ia.func,scrollIntoView:Ia.func});Em(Em({},tg),{items:Ia.array.isRequired,isItemDisabled:Ia.func});var ng=Em(Em({},qm),{isItemDisabled:function(){return!1}}),rg=1,ig=2,ag=3,og=4,sg=5,lg=6,cg=7,ug=8,dg=9,fg=10,hg=11,pg=14,mg=19,gg=Object.freeze({__proto__:null,FunctionCloseMenu:17,FunctionOpenMenu:16,FunctionReset:21,FunctionSelectItem:mg,FunctionSetHighlightedIndex:18,FunctionSetInputValue:20,FunctionToggleMenu:15,ItemClick:pg,ItemMouseMove:13,MenuMouseLeave:12,ToggleButtonBlur:hg,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:rg,ToggleButtonKeyDownArrowUp:ig,ToggleButtonKeyDownCharacter:ag,ToggleButtonKeyDownEnd:lg,ToggleButtonKeyDownEnter:cg,ToggleButtonKeyDownEscape:og,ToggleButtonKeyDownHome:sg,ToggleButtonKeyDownPageDown:fg,ToggleButtonKeyDownPageUp:dg,ToggleButtonKeyDownSpaceButton:ug});function yg(e,t){var n,r,i=t.type,a=t.props,o=t.altKey;switch(i){case pg:r={isOpen:$m(a,"isOpen"),highlightedIndex:Zm(a),selectedItem:a.items[t.index]};break;case ag:var s=t.key,l=""+e.inputValue+s;r={inputValue:l,highlightedIndex:function(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,a=e.isItemDisabled,o=t.toLowerCase(),s=0;s<r.length;s++){var l=(s+n+(t.length<2?1:0))%r.length,c=r[l];if(void 0!==c&&i(c).toLowerCase().startsWith(o)&&!a(c,l))return l}return n}({keysSoFar:l,highlightedIndex:!e.isOpen&&e.selectedItem?a.items.findIndex((function(t){return a.itemToKey(t)===a.itemToKey(e.selectedItem)})):e.highlightedIndex,items:a.items,itemToString:a.itemToString,isItemDisabled:a.isItemDisabled}),isOpen:!0};break;case rg:r={highlightedIndex:e.isOpen?Nm(e.highlightedIndex,1,a.items,a.isItemDisabled):o&&null==e.selectedItem?-1:Gm(a,e,1),isOpen:!0};break;case ig:if(e.isOpen&&o)r=Jm(a,e.highlightedIndex,!1);else r={highlightedIndex:e.isOpen?Nm(e.highlightedIndex,-1,a.items,a.isItemDisabled):Gm(a,e,-1),isOpen:!0};break;case cg:case ug:r=Jm(a,e.highlightedIndex,!1);break;case sg:r={highlightedIndex:Pm(0,!1,a.items,a.isItemDisabled),isOpen:!0};break;case lg:r={highlightedIndex:Pm(a.items.length-1,!0,a.items,a.isItemDisabled),isOpen:!0};break;case dg:r={highlightedIndex:Nm(e.highlightedIndex,-10,a.items,a.isItemDisabled)};break;case fg:r={highlightedIndex:Nm(e.highlightedIndex,10,a.items,a.isItemDisabled)};break;case og:r={isOpen:!1,highlightedIndex:-1};break;case hg:r=ka({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=a.items)?void 0:n.length)&&{selectedItem:a.items[e.highlightedIndex]});break;case mg:r={selectedItem:t.selectedItem};break;default:return function(e,t,n){var r,i=t.type,a=t.props;switch(i){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Gm(a,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:Gm(a,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:a.isItemDisabled(a.items[t.highlightedIndex],t.highlightedIndex)?-1:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:Zm(a),isOpen:$m(a,"isOpen"),selectedItem:$m(a,"selectedItem"),inputValue:$m(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return ka({},e,r)}(e,t,gg)}return ka({},e,r)}var vg=["onClick"],bg=["onMouseLeave","refKey","ref"],_g=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],wg=["item","index","onMouseMove","onClick","onMouseDown","onPress","refKey","disabled","ref"];function xg(e){void 0===e&&(e={});var t=ka({},ng,e),n=t.scrollIntoView,r=t.environment,i=t.getA11yStatusMessage,a=Hm(yg,t,Qm,Xm),o=a[0],s=a[1],l=o.isOpen,c=o.highlightedIndex,u=o.selectedItem,d=o.inputValue,f=Mn(null),h=Mn(null),p=Mn({}),m=Mn(null),g=Vm(t),y=Wm({state:o,props:t}),v=jn((function(e){return p.current[g.getItemId(e)]}),[g]);Ym(i,o,[l,c,u,d],r);var b=function(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,a=e.menuElement,o=e.scrollIntoView,s=Mn(!0);return Bm((function(){t<0||!n||!Object.keys(r.current).length||(!1===s.current?s.current=!0:o(i(t),a))}),[t]),s}({menuElement:h.current,highlightedIndex:c,isOpen:l,itemRefs:p,scrollIntoView:n,getItemNodeFromIndex:v});Pn((function(){return m.current=Cm((function(e){e({type:20,inputValue:""})}),500),function(){m.current.cancel()}}),[]),Pn((function(){d&&m.current(s)}),[s,d]),Pn((function(){Km(t,"isOpen")&&f.current&&f.current.focus()}),[]);var _=function(e,t,n){var r=Mn({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1});return Pn((function(){if(!e)return Om;var i=n.map((function(e){return e.current}));function a(){r.current.isTouchEnd=!1,r.current.isMouseDown=!0}function o(n){r.current.isMouseDown=!1,Dm(n.target,i,e)||t()}function s(){r.current.isTouchEnd=!1,r.current.isTouchMove=!1}function l(){r.current.isTouchMove=!0}function c(n){r.current.isTouchEnd=!0,r.current.isTouchMove||Dm(n.target,i,e,!1)||t()}return e.addEventListener("mousedown",a),e.addEventListener("mouseup",o),e.addEventListener("touchstart",s),e.addEventListener("touchmove",l),e.addEventListener("touchend",c),function(){e.removeEventListener("mousedown",a),e.removeEventListener("mouseup",o),e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",l),e.removeEventListener("touchend",c)}}),[n,e,t]),r.current}(r,jn((function(){y.current.state.isOpen&&s({type:hg})}),[s,y]),Ln((function(){return[h,f]}),[h.current,f.current])),w=Om;Pn((function(){l||(p.current={})}),[l]);var x=Ln((function(){return{ArrowDown:function(e){e.preventDefault(),s({type:rg,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),s({type:ig,altKey:e.altKey})},Home:function(e){e.preventDefault(),s({type:sg})},End:function(e){e.preventDefault(),s({type:lg})},Escape:function(){y.current.state.isOpen&&s({type:og})},Enter:function(e){e.preventDefault(),s({type:y.current.state.isOpen?cg:0})},PageUp:function(e){y.current.state.isOpen&&(e.preventDefault(),s({type:dg}))},PageDown:function(e){y.current.state.isOpen&&(e.preventDefault(),s({type:fg}))}," ":function(e){e.preventDefault();var t=y.current.state;t.isOpen?t.inputValue?s({type:ag,key:" "}):s({type:ug}):s({type:0})}}}),[s,y]),k=jn((function(){s({type:15})}),[s]),E=jn((function(){s({type:17})}),[s]),S=jn((function(){s({type:16})}),[s]),O=jn((function(e){s({type:18,highlightedIndex:e})}),[s]),A=jn((function(e){s({type:mg,selectedItem:e})}),[s]),C=jn((function(){s({type:21})}),[s]),T=jn((function(e){s({type:20,inputValue:e})}),[s]),R=jn((function(e){var t=void 0===e?{}:e,n=t.onClick,r=Ea(t,vg);return ka({id:g.labelId,htmlFor:g.toggleButtonId,onClick:Tm(n,(function(){var e;null==(e=f.current)||e.focus()}))},r)}),[g]),I=jn((function(e,t){var n,r=void 0===e?{}:e,i=r.onMouseLeave,a=r.refKey,o=void 0===a?"ref":a,l=r.ref,c=Ea(r,bg);(void 0===t?{}:t).suppressRefError;return ka(((n={})[o]=Rm(l,(function(e){h.current=e})),n.id=g.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+g.labelId,n.onMouseLeave=Tm(i,(function(){s({type:12})})),n),c)}),[s,w,g]);return{getToggleButtonProps:jn((function(e,t){var n,r=void 0===e?{}:e,i=r.onBlur,a=r.onClick;r.onPress;var o=r.onKeyDown,l=r.refKey,c=void 0===l?"ref":l,u=r.ref,d=Ea(r,_g);(void 0===t?{}:t).suppressRefError;var h=y.current.state,p=ka(((n={})[c]=Rm(u,(function(e){f.current=e})),n["aria-activedescendant"]=h.isOpen&&h.highlightedIndex>-1?g.getItemId(h.highlightedIndex):"",n["aria-controls"]=g.menuId,n["aria-expanded"]=y.current.state.isOpen,n["aria-haspopup"]="listbox",n["aria-labelledby"]=d&&d["aria-label"]?void 0:""+g.labelId,n.id=g.toggleButtonId,n.role="combobox",n.tabIndex=0,n.onBlur=Tm(i,(function(){h.isOpen&&!_.isMouseDown&&s({type:hg})})),n),d);return d.disabled||(p.onClick=Tm(a,(function(){s({type:0})})),p.onKeyDown=Tm(o,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&x[t]?x[t](e):function(e){return/^\S{1}$/.test(e)}(t)&&s({type:ag,key:t})}))),p}),[s,g,y,_,w,x]),getLabelProps:R,getMenuProps:I,getItemProps:jn((function(e){var t,n=void 0===e?{}:e,r=n.item,i=n.index,a=n.onMouseMove,o=n.onClick,l=n.onMouseDown;n.onPress;var c=n.refKey,u=void 0===c?"ref":c,d=n.disabled,f=n.ref,h=Ea(n,wg);void 0!==d&&console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.');var m=y.current,v=m.state,w=m.props,x=function(e,t,n,r){var i,a;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],a=t}else a=void 0===t?n.indexOf(e):t,i=e;return[i,a]}(r,i,w.items,"Pass either item or index to getItemProps!"),k=x[0],E=x[1],S=w.isItemDisabled(k,E),O=ka(((t={})[u]=Rm(f,(function(e){e&&(p.current[g.getItemId(E)]=e)})),t["aria-disabled"]=S,t["aria-selected"]=k===v.selectedItem,t.id=g.getItemId(E),t.role="option",t),h);return S||(O.onClick=Tm(o,(function(){s({type:pg,index:E})}))),O.onMouseMove=Tm(a,(function(){_.isTouchEnd||E===v.highlightedIndex||(b.current=!1,s({type:13,index:E,disabled:S}))})),O.onMouseDown=Tm(l,(function(e){return e.preventDefault()})),O}),[y,g,_,b,s]),toggleMenu:k,openMenu:S,closeMenu:E,setHighlightedIndex:O,selectItem:A,reset:C,setInputValue:T,highlightedIndex:c,isOpen:l,selectedItem:u,inputValue:d}}xg.stateChangeTypes=gg,ka({},tg,{items:Ia.array.isRequired,isItemDisabled:Ia.func,inputValue:Ia.string,defaultInputValue:Ia.string,initialInputValue:Ia.string,inputId:Ia.string,onInputValueChange:Ia.func}),ka({},qm,{isItemDisabled:function(){return!1}}),Ia.array,Ia.array,Ia.array,Ia.func,Ia.number,Ia.number,Ia.number,Ia.func,Ia.func,Ia.string,Ia.string;const kg=ft(null),Eg=()=>{const e=Un(kg);if(!e)throw new Error("Listbox components must be used within a Listbox");return e},Sg=({value:e,onChange:t,options:n,children:r})=>{const i=xg({items:n,selectedItem:n.find((t=>t.label===(null==e?void 0:e.label)))||null,onSelectedItemChange:({selectedItem:e})=>{t(e)},itemToString:e=>e?e.label:""});return xt(kg.Provider,{value:{state:i,options:n},children:r})},Og=({children:e,class:t,suppressKeyDown:n})=>{const{state:r}=Eg(),{getToggleButtonProps:i}=r,{onKeyDown:a,...o}=i();return xt("button",{type:"button",...o,class:t,onKeyDown:n?void 0:a,children:e})},Ag=({children:e,class:t,openOnOptionsChange:n})=>{const{state:r,options:i}=Eg(),{getMenuProps:a,isOpen:o,openMenu:s}=r;return Pn((()=>{n&&s()}),[s,n,i.length]),xt("ul",{...a({},{suppressRefError:!0}),class:_i(t,(!o||!i.length)&&"hidden"),children:o&&e})},Cg=({value:e,children:t,class:n})=>{const{state:r,options:i}=Eg(),{getItemProps:a,highlightedIndex:o}=r,s=i.findIndex((t=>t.label===e.label)),l=i[s],c=o===s,{onClick:u,...d}=a({item:l,index:s});return xt("li",{...d,class:n,"data-highlighted":c?"true":void 0,onTouchEnd:e=>{e.stopPropagation(),e.preventDefault(),u(e)},children:t})},Tg=({label:e,error:t,hint:n,options:r,class:i,value:a,onChange:o,onChangeText:s,query:l,testId:c,...u})=>xt(tm,{class:i,error:t,hint:n,label:e,children:xt(Sg,{onChange:e=>{o(r.find((t=>t.label===e.label)))},options:r,value:a,children:xt("div",{class:"relative",children:[xt(Og,{class:"w-full",suppressKeyDown:!0,children:[xt("input",{class:_i(Rg,gc,t&&Ng,Ig),"data-testid":c,onChange:e=>{o(),s(e.currentTarget.value)},type:"text",value:(null==a?void 0:a.label)||l}),u.loading?xt(Hu,{class:"absolute top-2 right-2 w-5 h-5 text-primary-base"}):null]}),xt(Ag,{class:_i("absolute z-20 mt-1 w-full rounded-md border border-gray-300 bg-white shadow-lg max-h-70 overflow-auto focus:outline-none","transition duration-100 ease-in-out"),openOnOptionsChange:!0,children:r.map((e=>xt(Cg,{class:"group flex cursor-default items-center gap-2 py-2 px-3 select-none data-[highlighted]:bg-primary-base data-[highlighted]:text-primary-text",value:e,children:xt(fc,{class:"text-inherit",field:!0,children:e.label})},e.label)))})]})})}),Rg="relative block w-full py-2 pl-3 pr-8 rounded-md shadow-sm text-left border border-gray-300 bg-white",Ig="focus:outline-none focus-visible:border-gray-700",Ng="text-red-900 border-red-300 focus-visible:border-red-600",Pg=({label:e,error:t,hint:n,options:r,class:i,onChange:a,value:o})=>{const s=r.find((e=>e.value===o));return xt(tm,{class:i,error:t,hint:n,label:e,children:xt("div",{class:"relative w-fit min-w-60",children:xt(Sg,{onChange:e=>{var t;a(null==(t=r.find((t=>t.label===e.label)))?void 0:t.value)},options:r,value:s,children:[xt(Og,{class:_i(Dg,t&&Fg,Mg,!(null==s?void 0:s.label)&&"text-gray-500"),children:[xt(fc,{class:_i(!(null==s?void 0:s.label)&&"text-inherit"),field:!0,children:(null==s?void 0:s.label)||"Select"}),xt(Vu,{className:"pointer-events-none absolute top-3 right-2.5 text-gray-500",icon:uc,size:"xs"})]}),xt(Ag,{class:_i("absolute z-20 mt-1 w-full rounded-md border border-gray-300 bg-white shadow-lg max-h-70 overflow-auto focus:outline-none","transition duration-100 ease-in-out"),children:r.map((e=>xt(Cg,{class:"group flex cursor-default items-center gap-2 py-2 px-3 select-none data-[highlighted]:bg-primary-base data-[highlighted]:text-primary-text",value:e,children:xt(fc,{class:"text-inherit",field:!0,children:e.label})},e.label)))})]})})})},Dg="relative block w-full py-1.5 pl-3 pr-8 rounded-md shadow-sm text-left border border-gray-300 bg-white",Mg="focus:outline-none focus-visible:border-gray-700",Fg="text-red-900 border-red-300 focus-visible:border-red-600",Lg=({prefix:e,label:t,error:n,hint:r,leadingSymbol:i,type:a,class:o,testId:s,...l})=>xt(tm,{class:_i(i,o),error:n,hint:r,label:t,children:xt("div",{class:"relative",children:[xt("input",{class:_i(jg,gc,n&&Bg,Ug,i&&"pl-6"),"data-testid":s,type:a,...l}),i?xt(fc,{class:"absolute text-neutral-500 w-6 leading-[38px] left-3",field:!0,children:i}):null]})}),jg="self-start py-2 px-3 rounded-md border border-gray-300 bg-white shadow-sm",Ug="focus:outline-none focus-visible:border-gray-700",Bg="text-red-900 border-red-300 focus-visible:border-red-600",Vg=({label:e,error:t,hint:n,options:r,class:i,...a})=>{const o=r.findIndex((e=>e.value===a.value)),s=Mn([]);return xt(tm,{class:i,error:t,hint:n,label:e,children:xt("div",{className:"flex items-start",children:xt("div",{className:"relative flex gap-2 bg-gray-100 rounded-lg",children:[xt("span",{className:"absolute rounded-md border border-gray-200 bg-white shadow-sm transition-transform ease-out duration-200 h-full w-1/2 "+(0===o?"translate-x-0":"translate-x-full")}),r.map(((e,t)=>xt("button",{className:_i("relative z-10 focus:outline-none py-2 px-12",t===o?"text-gray-900":"text-gray-500"),onClick:()=>(e=>{a.onChange(r[e].value)})(t),ref:e=>s.current[t]=e,tabIndex:o===t?0:-1,type:"button",children:xt(fc,{class:"text-inherit",field:!0,children:e.label})},e.label)))]})})})},zg=e=>{const{data:t,isSuccess:n,isError:r,isLoading:i,refetch:a}=vi({queryKey:["benefitsPlanGetSteps",e.assessmentId],queryFn:()=>yh({activityId:e.assessmentId}),staleTime:1/0});return Pn((()=>{bh({event:nd.AssessmentViewed,properties:{id:e.assessmentId,name:e.title}})}),[e.assessmentId,e.title]),xt(Qu,{children:[i&&xt(qu,{}),r&&xt(Ku,{retry:a}),n&&xt("div",{class:"grid md:grid-cols-[9fr_8fr]",children:[xt("div",{children:[xt(fc,{class:"mb-2",heading1:!0,children:e.title}),xt(fc,{class:"mb-6",paragraph1:!0,children:e.assessmentInstructions||e.description}),xt(Wg,{...{...t,...e}})]}),xt("div",{class:_i("flex",e.verticalAlignment),children:xt("img",{class:"max-w-[30rem] w-full hidden md:block",loading:"lazy",src:e.imageUrl})})]})]})},Wg=e=>{const t=Jg(e),{control:n,formState:r,handleSubmit:i}=function(e={}){const t=Jr.useRef(),n=Jr.useRef(),[r,i]=Jr.useState({isDirty:!1,isValidating:!1,isLoading:gp(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:gp(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...Jp(e),formState:r});const a=t.current.control;return a._options=e,ip({subject:a._subjects.state,next:e=>{tp(e,a._proxyFormState,a._updateFormState,!0)&&i({...a._formState})}}),Jr.useEffect((()=>a._disableForm(e.disabled)),[a,e.disabled]),Jr.useEffect((()=>{if(a._proxyFormState.isDirty){const e=a._getDirty();e!==r.isDirty&&a._subjects.state.next({isDirty:e})}}),[a,r.isDirty]),Jr.useEffect((()=>{e.values&&!Np(e.values,n.current)?(a._reset(e.values,a._options.resetOptions),n.current=e.values,i((e=>({...e})))):a._resetDefaultValues()}),[e.values,a]),Jr.useEffect((()=>{e.errors&&a._setErrors(e.errors)}),[e.errors,a]),Jr.useEffect((()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()})),Jr.useEffect((()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})}),[e.shouldUnregister,a]),t.current.formState=Zh(r,a),t.current}({mode:"onSubmit",defaultValues:t,shouldFocusError:!1}),a=sp({control:n}),o=Gg(e,a),s=o.filter((e=>e.stepType===Gu.Question)),l=sa(),{mutate:c,status:u}=function(e){const t=ei(),[n]=In((()=>new _n(t,e)));Pn((()=>{n.setOptions(e)}),[n,e]);const r=Gr(jn((e=>n.subscribe(Xt.batchCalls(e))),[n]),(()=>n.getCurrentResult())),i=jn(((e,t)=>{n.mutate(e,t).catch(si)}),[n]);if(r.error&&oi(n.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:i,mutateAsync:r.mutate}}({mutationFn:vh,onSuccess:()=>{const e=o[o.length-1];l(e.stepType===Gu.Ineligible?`/ineligible/${e.id}`:"/completion")}}),[d,f]=In();Pn((()=>{const e=(e=>{for(const t of Object.values(td))if(new RegExp(`\\b${t}\\b`,"i").test(e))return t})(JSON.stringify(a));f(e)}),[a]);const h=Mn(a);return Pn((()=>{const t=Object.keys(a).find((e=>JSON.stringify(h.current[e])!==JSON.stringify(a[e]))),n=o.find((e=>e.id===t));if((null==n?void 0:n.stepType)===Gu.Question){const t=n.customerAttribute;t&&bh({event:nd.AssessmentFieldUpdated,properties:{id:e.assessmentId,name:e.title,attribute:t}})}h.current=a}),[a]),xt(qe,{children:[xt("form",{class:"flex flex-col gap-4",children:s.map((t=>{var i;const a=null==(i=r.errors[t.id])?void 0:i.message;switch(t.template){case Yu.Text:return xt(Hg,{control:n,error:a,marketplaceOfferName:e.marketplaceOfferName,step:t},t.id);case Yu.Currency:return xt(qg,{control:n,error:a,marketplaceOfferName:e.marketplaceOfferName,step:t},t.id);case Yu.Date:return xt($g,{australianState:d,control:n,error:a,marketplaceOfferName:e.marketplaceOfferName,step:t},t.id);case Yu.SingleSelect:return xt(Kg,{control:n,error:a,step:t},t.id);case Yu.Lookup:return xt(Qg,{control:n,error:a,marketplaceOfferName:e.marketplaceOfferName,step:t},t.id);default:return null}}))}),xt($u,{class:"mt-6 min-w-60",onClick:i((t=>{const n=o[o.length-1].stepType===Gu.Ineligible,r=(n?o:s).map((e=>e.id)),i=Object.fromEntries(Object.entries(t).filter((([e])=>r.includes(e)))),a=Object.entries(i).map((([e,t])=>{var n;return(null==(n=s.find((t=>t.id===e)))?void 0:n.template)===Yu.Lookup?{dataType:ed.Lookup,stepId:e,id:t.id,label:t.label}:{dataType:ed.Standard,stepId:e,value:t}})),l={activityAction:n?Zu.ProgressStep:Zu.ProgressStartToComplete,activityId:e.assessmentId,progressEvents:a};bh({event:nd.AssessmentSubmitted,properties:{id:e.assessmentId,name:e.title,experiment:e.trackExperiment,treatment:e.trackTreatment,responses:a.reduce(((e,t)=>{var n;const r=null==(n=s.find((e=>e.id===t.stepId)))?void 0:n.customerAttribute,i=t.dataType===ed.Lookup?t.label:t.value;return{...e,...r&&i?{[r]:i}:null}}),{})}}),c(l)})),status:u,testId:`offer_${e.marketplaceOfferName}_assessment_button_submit`,children:"Submit"})]})},Hg=({control:e,step:t,error:n,marketplaceOfferName:r})=>xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Lg,{error:n,hint:t.hint,label:t.title,testId:`offer_${r}_assessment_input_${t.customerAttribute}`,type:"text",...e}),rules:{required:{value:!0,message:"This field is required"},validate:e=>{const n=t.invalidMessage||!1,r=t.matchExpression;return!r||(!!RegExp(r).test(e)||n)}}}),qg=({control:e,step:t,error:n,marketplaceOfferName:r})=>xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Lg,{error:n,hint:t.hint,label:t.title,leadingSymbol:"$",testId:`offer_${r}_assessment_input_${t.customerAttribute}`,type:"text",...e}),rules:{required:{value:!0,message:"This field is required"},validate:e=>{const n=t.invalidMessage||!1;if(!/^-?\d+(\.\d+)?$/.test(e))return n;const r=parseFloat(e);return t.maximumValue&&r>parseInt(t.maximumValue,10)?n:!(t.minimumValue&&r<parseInt(t.minimumValue,10))||n}}}),$g=({control:e,step:t,australianState:n,error:r,marketplaceOfferName:i})=>{const a=vi({queryKey:["benefitsPlanGetPublicHolidays"],queryFn:_h,staleTime:1/0});return xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Lg,{error:r,hint:t.hint,label:t.title,testId:`offer_${i}_assessment_input_${t.customerAttribute}`,type:"date",...e}),rules:{required:{value:!0,message:"This field is required"},validate:e=>{var r,i,o;const s=new Date(e);s.setHours(0,0,0,0);const l=null==(r=t.invalidDays)?void 0:r.includes(Ju.Weekends),c=s.getDay();if(l&&(0===c||6===c))return t.invalidMessage;if(null==(i=t.invalidDays)?void 0:i.includes(Ju.PublicHolidays)){const e=null==(o=a.data)?void 0:o.holidays.filter((e=>e.state.toUpperCase()===(null==n?void 0:n.toUpperCase()))).map((e=>{const t=new Date(e.date);return t.setHours(0,0,0,0),t}));if(null==e?void 0:e.some((e=>e.getTime()===s.getTime())))return t.invalidMessage}let u,d;return t.maximumValue&&(u=new Date(t.maximumValue),u.setHours(0,0,0,0),s>u)?t.invalidMessage:!(t.minimumValue&&("today"===t.minimumValue.toLowerCase()?(d=new Date,d.setDate(d.getDate()+(t.minimumValueAddDays||0)),d.setHours(0,0,0,0)):(d=new Date(t.minimumValue),d.setHours(0,0,0,0)),s<d))||t.invalidMessage}}})},Kg=({control:e,step:t,error:n})=>xt(cp,{control:e,name:t.id,render:({field:e})=>Yg(t)?xt(Vg,{error:n,hint:t.hint,label:t.title,options:t.options,...e}):xt(Pg,{error:n,hint:t.hint,label:t.title,options:t.options,...e}),rules:{required:{value:!0,message:"This field is required"}}}),Qg=({control:e,step:t,error:n,marketplaceOfferName:r})=>{const[i,a]=In(),[o]=em(i,300,{trailing:!0}),[s,l]=In(!1),[c,u]=In([]);return Pn((()=>{o&&o.length>=t.minimumCharacters?(async()=>{let e;try{l(!0),e=await(n={url:(r=t.url,r.replace(/^[a-zA-Z]+:\/\/[^/]+\/?/,"")),query:o||""},hh(n.url,{query:n.query}))}catch(Zg){}var n,r;l(!1),(null==e?void 0:e.addresses)?u(e.addresses):u([])})():u([])}),[o,t.minimumCharacters,t.url]),xt(cp,{control:e,name:t.id,render:({field:e})=>xt(Tg,{error:n,hint:t.hint,label:t.title,loading:s,onChangeText:a,options:c,query:i,testId:`offer_${r}_assessment_input_${t.customerAttribute}`,...e}),rules:{validate:e=>!(!(null==e?void 0:e.id)||!(null==e?void 0:e.label))||"This field is required"}})},Gg=(e,t)=>{const{firstStepId:n,steps:r}=e,i=r.reduce(((e,t)=>({...e,[t.id]:t})),{}),a=(e,n)=>{var r,o;if(!e)return n;const s=i[e],l=[...n,s];if(s.stepType===Gu.Completion||s.stepType===Gu.Ineligible)return l;if(s.stepType===Gu.Consent)return a(s.nextStepId,l);const c=null==t?void 0:t[s.id];if(s.stepType===Gu.Question&&s.template===Yu.SingleSelect&&!c)return l;const u=s.stepType===Gu.Question&&s.template===Yu.SingleSelect?null==(o=null==(r=s.options)?void 0:r.find((e=>e.value===c)))?void 0:o.nextStepId:s.nextStepId;return a(u,l)};return a(n,[])},Yg=e=>2===e.options.length&&e.options.some((e=>"yes"===e.label.toLowerCase()))&&e.options.some((e=>"no"===e.label.toLowerCase())),Jg=e=>e.steps.reduce(((e,t)=>{var n;let r;return r=t.stepType===Gu.Question&&t.template===Yu.SingleSelect?Yg(t)&&void 0===t.defaultValue?null==(n=t.options.find((({label:e})=>"yes"===e.toLowerCase())))?void 0:n.value:t.defaultValue:t.stepType===Gu.Ineligible||t.stepType===Gu.Completion||t.stepType===Gu.Consent||t.template===Yu.TriviaSingleSelect?void 0:t.defaultValue,{...e,[t.id]:r}}),{}),Xg=({props:e})=>{const t=aa(),n="true"===e.skipIntro?"/question":"/consent";return xt(Ga,{class:_i("relative flex flex-1 overflow-x-clip",!1),children:xt(Ha,{classNames:{enter:n===t.pathname?"":"slide-enter",enterActive:n===t.pathname?"":"slide-enter-active",exit:"slide-exit",exitActive:"slide-exit-active"},timeout:300,children:xt(wa,{location:t,children:[xt(ba,{element:xt(kh,{acceptButtonLabel:e.acceptButton,assessmentId:e.assessmentId,declineButtonLabel:e.declineButton,description:e.description,details:e.details,imageUrl:e.imageUrl,marketplaceOfferName:e.marketplaceOfferName,onAccept:e.onAccept,onDecline:e.onDecline,terms:e.terms,title:e.title,verticalAlignment:e.verticalAlignment}),path:"consent"}),xt(ba,{element:xt(zg,{assessmentId:e.assessmentId,assessmentInstructions:e.assessmentInstructions,description:e.description,imageUrl:e.imageUrl,marketplaceOfferName:e.marketplaceOfferName,title:e.title,trackExperiment:e.trackExperiment,trackTreatment:e.trackTreatment,verticalAlignment:e.verticalAlignment}),path:"question"}),xt(ba,{element:xt(wh,{assessmentId:e.assessmentId,imageUrl:e.imageUrl,onComplete:e.onComplete,skipMoreDetails:e.skipMoreDetails,specialBannerType:e.specialBannerType,terms:e.terms,title:e.title,verticalAlignment:e.verticalAlignment}),path:"completion"}),xt(ba,{element:xt(Eh,{assessmentId:e.assessmentId,imageUrl:e.imageUrl,onComplete:e.onComplete,verticalAlignment:e.verticalAlignment}),path:"ineligible/:id"}),xt(ba,{element:xt(va,{to:n}),path:"*"})]})},t.pathname)})};!function(e,t,n,r){function i(){var t=Reflect.construct(HTMLElement,[],i);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:r.mode||"open"}):t,t}(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=gt,i.prototype.attributeChangedCallback=vt,i.prototype.disconnectedCallback=bt,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),i.observedAttributes=n,n.forEach((function(e){Object.defineProperty(i.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,i)}((e=>(Pn((()=>{var t;t={baseUrl:e.baseUrl,accessToken:e.accessToken,profileId:e.profileId,trackClient:e.trackClient,trackSource:e.trackSource,trackChannel:e.trackChannel},dh||(dh=uh.create({baseURL:t.baseUrl}),dh.interceptors.request.use((e=>(e.headers.Authorization=`Bearer ${t.accessToken}`,e.headers["X-PROFILE-ID"]=t.profileId,e.params={client:t.trackClient,source:t.trackSource,channel:t.trackChannel},e))))}),[]),xt(Wr,{children:xt(Sc,{children:xt(ti,{client:mh(),children:xt(ya,{children:xt(Xg,{props:e})})})})}))),"benefits-plan-assessment",["terms","details","on-accept","on-decline","on-complete"],{shadow:!0});
|