@flarehr/apollo-benefits 1.4.3746 → 1.4.3890

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.
@@ -0,0 +1,799 @@
1
+ import{g as pi,c as J,a as Kd,i as Gl,b as Li}from"./lodash-5d893f8c.js";const Xi={type:null,entityIds:null,skip:!1,payload:null};let Os=!1;function Ay(){Os=!1}function tr(e,t,n){We(e,t,n),Os=!0}function We(e,t,n){Os===!1&&(Xi.type=e,Xi.entityIds=t,Xi.payload=n)}function Ty(e,t){return function(n,r,i){const a=i.value;return i.value=function(...o){return tr(e,t),a.apply(this,o)},i}}function Zr(e,t){return e.hasOwnProperty(t)}function At(e){return Array.isArray(e)}function Wd(e){return e.hasOwnProperty("active")}function zd(e){return At(e)}function qd({active:e,ids:t,entities:n}){return zd(e)?Cy(e,t):Zr(n,e)===!1?null:e}function Cy(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function Iy({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const s of t)if(Zr(e.entities,s[n])===!1){const c=i(s),f=c[n];a[f]=c,r.prepend?o.unshift(f):o.push(f),u=!0}return u?{newState:{...e,entities:{...e.entities,...a},ids:r.prepend?[...o,...e.ids]:[...e.ids,...o]},newIds:o}:null}function bt(e){return e==null}function Ze(e){return bt(e)?[]:Array.isArray(e)?e:[e]}var _u=function(e,t){return _u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},_u(e,t)};function Lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_u(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function Ps(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function jt(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function Ry(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function u(f){try{c(r.next(f))}catch(l){o(l)}}function s(f){try{c(r.throw(f))}catch(l){o(l)}}function c(f){f.done?a(f.value):i(f.value).then(u,s)}c((r=r.apply(e,t||[])).next())})}function Gd(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(c){return function(f){return s([c,f])}}function s(c){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(n=0)),n;)try{if(r=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(f){c=[6,f],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function or(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ln(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(u){o={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function Ln(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function nr(e){return this instanceof nr?(this.v=e,this):new nr(e)}function Ly(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(v){return new Promise(function(p,h){a.push([d,v,p,h])>1||u(d,v)})})}function u(d,v){try{s(r[d](v))}catch(p){l(a[0][3],p)}}function s(d){d.value instanceof nr?Promise.resolve(d.value.v).then(c,f):l(a[0][2],d)}function c(d){u("next",d)}function f(d){u("throw",d)}function l(d,v){d(v),a.shift(),a.length&&u(a[0][0],a[0][1])}}function ky(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof or=="function"?or(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(a){n[a]=e[a]&&function(o){return new Promise(function(u,s){o=e[a](o),i(u,s,o.done,o.value)})}}function i(a,o,u,s){Promise.resolve(s).then(function(c){a({value:c,done:u})},o)}}function fe(e){return typeof e=="function"}function Vd(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var _o=Vd(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
2
+ `+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=n}});function da(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var hi=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var u=or(o),s=u.next();!s.done;s=u.next()){var c=s.value;c.remove(this)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}else o.remove(this);var f=this.initialTeardown;if(fe(f))try{f()}catch(h){a=h instanceof _o?h.errors:[h]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var d=or(l),v=d.next();!v.done;v=d.next()){var p=v.value;try{Vl(p)}catch(h){a=a??[],h instanceof _o?a=Ln(Ln([],ln(a)),ln(h.errors)):a.push(h)}}}catch(h){r={error:h}}finally{try{v&&!v.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}if(a)throw new _o(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Vl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&da(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&da(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Yd=hi.EMPTY;function Xd(e){return e instanceof hi||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Vl(e){fe(e)?e():e.unsubscribe()}var Qd={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wu={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=wu.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,Ln([e,t],ln(n))):setTimeout.apply(void 0,Ln([e,t],ln(n)))},clearTimeout:function(e){var t=wu.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Jd(e){wu.setTimeout(function(){throw e})}function Eu(){}function Qi(e){e()}var As=function(e){Lt(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Xd(n)&&n.add(r)):r.destination=$y,r}return t.create=function(n,r,i){return new Su(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(hi),Ny=Function.prototype.bind;function wo(e,t){return Ny.call(e,t)}var My=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){ki(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){ki(r)}else ki(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){ki(n)}},e}(),Su=function(e){Lt(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(fe(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&Qd.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&wo(n.next,u),error:n.error&&wo(n.error,u),complete:n.complete&&wo(n.complete,u)}):o=n}return a.destination=new My(o),a}return t}(As);function ki(e){Jd(e)}function Dy(e){throw e}var $y={closed:!0,next:Eu,error:Dy,complete:Eu},Ts=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function wr(e){return e}function jy(e){return e.length===0?wr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var qe=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,a=Fy(t)?t:new Su(t,n,r);return Qi(function(){var o=i,u=o.operator,s=o.source;a.add(u?u.call(a,s):s?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Yl(n),new n(function(i,a){var o=new Su({next:function(u){try{t(u)}catch(s){a(s),o.unsubscribe()}},error:a,complete:i});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Ts]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return jy(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Yl(t),new t(function(r,i){var a;n.subscribe(function(o){return a=o},function(o){return i(o)},function(){return r(a)})})},e.create=function(t){return new e(t)},e}();function Yl(e){var t;return(t=e??Qd.Promise)!==null&&t!==void 0?t:Promise}function By(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}function Fy(e){return e&&e instanceof As||By(e)&&Xd(e)}function Uy(e){return fe(e==null?void 0:e.lift)}function ct(e){return function(t){if(Uy(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ge(e,t,n,r,i){return new xy(e,t,n,r,i)}var xy=function(e){Lt(t,e);function t(n,r,i,a,o,u){var s=e.call(this,n)||this;return s.onFinalize=o,s.shouldUnsubscribe=u,s._next=r?function(c){try{r(c)}catch(f){n.error(f)}}:e.prototype._next,s._error=a?function(c){try{a(c)}catch(f){n.error(f)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t}(As),Hy=Vd(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ht=function(e){Lt(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Xl(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Hy},t.prototype.next=function(n){var r=this;Qi(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=or(r.currentObservers),u=o.next();!u.done;u=o.next()){var s=u.value;s.next(n)}}catch(c){i={error:c}}finally{try{u&&!u.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;Qi(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;Qi(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,a=i.hasError,o=i.isStopped,u=i.observers;return a||o?Yd:(this.currentObservers=null,u.push(n),new hi(function(){r.currentObservers=null,da(u,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,a=r.thrownError,o=r.isStopped;i?n.error(a):o&&n.complete()},t.prototype.asObservable=function(){var n=new qe;return n.source=this,n},t.create=function(n,r){return new Xl(n,r)},t}(qe),Xl=function(e){Lt(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:Yd},t}(Ht),pa=function(e){Lt(t,e);function t(n){var r=e.call(this)||this;return r._value=n,r}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(n){var r=e.prototype._subscribe.call(this,n);return!r.closed&&n.next(this._value),r},t.prototype.getValue=function(){var n=this,r=n.hasError,i=n.thrownError,a=n._value;if(r)throw i;return this._throwIfClosed(),a},t.prototype.next=function(n){e.prototype.next.call(this,this._value=n)},t}(Ht),Cs={now:function(){return(Cs.delegate||Date).now()},delegate:void 0},Zd=function(e){Lt(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Cs);var a=e.call(this)||this;return a._bufferSize=n,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,n),a._windowTime=Math.max(1,r),a}return t.prototype.next=function(n){var r=this,i=r.isStopped,a=r._buffer,o=r._infiniteTimeWindow,u=r._timestampProvider,s=r._windowTime;i||(a.push(n),!o&&a.push(u.now()+s)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,a=i._infiniteTimeWindow,o=i._buffer,u=o.slice(),s=0;s<u.length&&!n.closed;s+=a?1:2)n.next(u[s]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,a=n._buffer,o=n._infiniteTimeWindow,u=(o?1:2)*r;if(r<1/0&&u<a.length&&a.splice(0,a.length-u),!o){for(var s=i.now(),c=0,f=1;f<a.length&&a[f]<=s;f+=2)c=f;c&&a.splice(0,c+1)}},t}(Ht),Ky=function(e){Lt(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(hi),ha={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ha.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,Ln([e,t],ln(n))):setInterval.apply(void 0,Ln([e,t],ln(n)))},clearInterval:function(e){var t=ha.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Wy=function(e){Lt(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.scheduler=n,i.work=r,i.pending=!1,i}return t.prototype.schedule=function(n,r){var i;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var a=this.id,o=this.scheduler;return a!=null&&(this.id=this.recycleAsyncId(o,a,r)),this.pending=!0,this.delay=r,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,r),this},t.prototype.requestAsyncId=function(n,r,i){return i===void 0&&(i=0),ha.setInterval(n.flush.bind(n,this),i)},t.prototype.recycleAsyncId=function(n,r,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return r;r!=null&&ha.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(n,r);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var i=!1,a;try{this.work(n)}catch(o){i=!0,a=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),a},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,i=n.scheduler,a=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,da(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Ky),Ql=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=Cs.now,e}(),zy=function(e){Lt(t,e);function t(n,r){r===void 0&&(r=Ql.now);var i=e.call(this,n,r)||this;return i.actions=[],i._active=!1,i}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,i){for(;n=r.shift();)n.unsubscribe();throw i}},t}(Ql),Ua=new zy(Wy),qy=Ua,Gy=new qe(function(e){return e.complete()});function ep(e){return e&&fe(e.schedule)}function tp(e){return e[e.length-1]}function Vy(e){return fe(tp(e))?e.pop():void 0}function Is(e){return ep(tp(e))?e.pop():void 0}var Rs=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function np(e){return fe(e==null?void 0:e.then)}function rp(e){return fe(e[Ts])}function ip(e){return Symbol.asyncIterator&&fe(e==null?void 0:e[Symbol.asyncIterator])}function ap(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Yy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var op=Yy();function up(e){return fe(e==null?void 0:e[op])}function sp(e){return Ly(this,arguments,function(){var n,r,i,a;return Gd(this,function(o){switch(o.label){case 0:n=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,nr(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,nr(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,nr(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function lp(e){return fe(e==null?void 0:e.getReader)}function Gt(e){if(e instanceof qe)return e;if(e!=null){if(rp(e))return Xy(e);if(Rs(e))return Qy(e);if(np(e))return Jy(e);if(ip(e))return cp(e);if(up(e))return Zy(e);if(lp(e))return eg(e)}throw ap(e)}function Xy(e){return new qe(function(t){var n=e[Ts]();if(fe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Qy(e){return new qe(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Jy(e){return new qe(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,Jd)})}function Zy(e){return new qe(function(t){var n,r;try{for(var i=or(e),a=i.next();!a.done;a=i.next()){var o=a.value;if(t.next(o),t.closed)return}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()})}function cp(e){return new qe(function(t){tg(e,t).catch(function(n){return t.error(n)})})}function eg(e){return cp(sp(e))}function tg(e,t){var n,r,i,a;return Ry(this,void 0,void 0,function(){var o,u;return Gd(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),n=ky(e),s.label=1;case 1:return[4,n.next()];case 2:if(r=s.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=s.sent(),i={error:u},[3,11];case 6:return s.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function Bt(e,t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var a=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(a),!i)return a}function fp(e,t){return t===void 0&&(t=0),ct(function(n,r){n.subscribe(Ge(r,function(i){return Bt(r,e,function(){return r.next(i)},t)},function(){return Bt(r,e,function(){return r.complete()},t)},function(i){return Bt(r,e,function(){return r.error(i)},t)}))})}function dp(e,t){return t===void 0&&(t=0),ct(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function ng(e,t){return Gt(e).pipe(dp(t),fp(t))}function rg(e,t){return Gt(e).pipe(dp(t),fp(t))}function ig(e,t){return new qe(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ag(e,t){return new qe(function(n){var r;return Bt(n,t,function(){r=e[op](),Bt(n,t,function(){var i,a,o;try{i=r.next(),a=i.value,o=i.done}catch(u){n.error(u);return}o?n.complete():n.next(a)},0,!0)}),function(){return fe(r==null?void 0:r.return)&&r.return()}})}function pp(e,t){if(!e)throw new Error("Iterable cannot be null");return new qe(function(n){Bt(n,t,function(){var r=e[Symbol.asyncIterator]();Bt(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function og(e,t){return pp(sp(e),t)}function ug(e,t){if(e!=null){if(rp(e))return ng(e,t);if(Rs(e))return ig(e,t);if(np(e))return rg(e,t);if(ip(e))return pp(e,t);if(up(e))return ag(e,t);if(lp(e))return og(e,t)}throw ap(e)}function Er(e,t){return t?ug(e,t):Gt(e)}function Ls(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Is(e);return Er(e,n)}function hp(e){return!!e&&(e instanceof qe||fe(e.lift)&&fe(e.subscribe))}function sg(e){return e instanceof Date&&!isNaN(e)}function Ye(e,t){return ct(function(n,r){var i=0;n.subscribe(Ge(r,function(a){r.next(e.call(t,a,i++))}))})}var lg=Array.isArray;function cg(e,t){return lg(t)?e.apply(void 0,Ln([],ln(t))):e(t)}function vp(e){return Ye(function(t){return cg(e,t)})}var fg=Array.isArray,dg=Object.getPrototypeOf,pg=Object.prototype,hg=Object.keys;function vg(e){if(e.length===1){var t=e[0];if(fg(t))return{args:t,keys:null};if(mg(t)){var n=hg(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function mg(e){return e&&typeof e=="object"&&dg(e)===pg}function yg(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function gg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Is(e),r=Vy(e),i=vg(e),a=i.args,o=i.keys;if(a.length===0)return Er([],n);var u=new qe(bg(a,n,o?function(s){return yg(o,s)}:wr));return r?u.pipe(vp(r)):u}function bg(e,t,n){return n===void 0&&(n=wr),function(r){Jl(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,s=function(f){Jl(t,function(){var l=Er(e[f],t),d=!1;l.subscribe(Ge(r,function(v){a[f]=v,d||(d=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)s(c)},r)}}function Jl(e,t,n){e?Bt(n,e,t):t()}function _g(e,t,n,r,i,a,o,u){var s=[],c=0,f=0,l=!1,d=function(){l&&!s.length&&!c&&t.complete()},v=function(h){return c<r?p(h):s.push(h)},p=function(h){a&&t.next(h),c++;var b=!1;Gt(n(h,f++)).subscribe(Ge(t,function(_){i==null||i(_),a?v(_):t.next(_)},function(){b=!0},void 0,function(){if(b)try{c--;for(var _=function(){var y=s.shift();o?Bt(t,o,function(){return p(y)}):p(y)};s.length&&c<r;)_();d()}catch(y){t.error(y)}}))};return e.subscribe(Ge(t,v,function(){l=!0,d()})),function(){u==null||u()}}function xa(e,t,n){return n===void 0&&(n=1/0),fe(t)?xa(function(r,i){return Ye(function(a,o){return t(r,a,i,o)})(Gt(e(r,i)))},n):(typeof t=="number"&&(n=t),ct(function(r,i){return _g(r,i,e,n)}))}function wg(e){return e===void 0&&(e=1/0),xa(wr,e)}function Eg(){return wg(1)}function Sg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Eg()(Er(e,Is(e)))}var Og=["addListener","removeListener"],Pg=["addEventListener","removeEventListener"],Ag=["on","off"];function Zl(e,t,n,r){if(fe(n)&&(r=n,n=void 0),r)return Zl(e,t,n).pipe(vp(r));var i=ln(Ig(e)?Pg.map(function(u){return function(s){return e[u](t,s,n)}}):Tg(e)?Og.map(ec(e,t)):Cg(e)?Ag.map(ec(e,t)):[],2),a=i[0],o=i[1];if(!a&&Rs(e))return xa(function(u){return Zl(u,t,n)})(Gt(e));if(!a)throw new TypeError("Invalid event target");return new qe(function(u){var s=function(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return u.next(1<c.length?c:c[0])};return a(s),function(){return o(s)}})}function ec(e,t){return function(n){return function(r){return e[n](t,r)}}}function Tg(e){return fe(e.addListener)&&fe(e.removeListener)}function Cg(e){return fe(e.on)&&fe(e.off)}function Ig(e){return fe(e.addEventListener)&&fe(e.removeEventListener)}function mp(e,t,n){e===void 0&&(e=0),n===void 0&&(n=qy);var r=-1;return t!=null&&(ep(t)?n=t:r=t),new qe(function(i){var a=sg(e)?+e-n.now():e;a<0&&(a=0);var o=0;return n.schedule(function(){i.closed||(i.next(o++),0<=r?this.schedule(void 0,r):i.complete())},a)})}function Ha(e,t){return ct(function(n,r){var i=0;n.subscribe(Ge(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function Rg(e){return ct(function(t,n){var r=!1,i=null,a=null,o=!1,u=function(){if(a==null||a.unsubscribe(),a=null,r){r=!1;var c=i;i=null,n.next(c)}o&&n.complete()},s=function(){a=null,o&&n.complete()};t.subscribe(Ge(n,function(c){r=!0,i=c,a||Gt(e(c)).subscribe(a=Ge(n,u,s))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function Lg(e,t){return t===void 0&&(t=Ua),Rg(function(){return mp(e,t)})}function DR(e,t){return t===void 0&&(t=Ua),ct(function(n,r){var i=null,a=null,o=null,u=function(){if(i){i.unsubscribe(),i=null;var c=a;a=null,r.next(c)}};function s(){var c=o+e,f=t.now();if(f<c){i=this.schedule(void 0,c-f),r.add(i);return}u()}n.subscribe(Ge(r,function(c){a=c,o=t.now(),i||(i=t.schedule(s,e),r.add(i))},function(){u(),r.complete()},void 0,function(){a=i=null}))})}function Ou(e){return e<=0?function(){return Gy}:ct(function(t,n){var r=0;t.subscribe(Ge(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function kg(){return ct(function(e,t){e.subscribe(Ge(t,Eu))})}function Ng(e){return Ye(function(){return e})}function yp(e,t){return t?function(n){return Sg(t.pipe(Ou(1),kg()),n.pipe(yp(e)))}:xa(function(n,r){return Gt(e(n,r)).pipe(Ou(1),Ng(n))})}function Mg(e,t){t===void 0&&(t=Ua);var n=mp(e,t);return yp(function(){return n})}function ei(e,t){return t===void 0&&(t=wr),e=e??Dg,ct(function(n,r){var i,a=!0;n.subscribe(Ge(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function Dg(e,t){return e===t}function $R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;if(n===0)throw new Error("list of properties cannot be empty.");return Ye(function(r){for(var i=r,a=0;a<n;a++){var o=i==null?void 0:i[e[a]];if(typeof o<"u")i=o;else return}return i})}function $g(e){return Ha(function(t,n){return e<=n})}function Ji(e,t){return ct(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(Ge(r,function(s){i==null||i.unsubscribe();var c=0,f=a++;Gt(e(s,f)).subscribe(i=Ge(r,function(l){return r.next(t?t(s,l,f,c++):l)},function(){i=null,u()}))},function(){o=!0,u()}))})}function jR(e,t,n){var r=fe(e)||t||n?{next:e,error:t,complete:n}:e;return r?ct(function(i,a){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var u=!0;i.subscribe(Ge(a,function(s){var c;(c=r.next)===null||c===void 0||c.call(r,s),a.next(s)},function(){var s;u=!1,(s=r.complete)===null||s===void 0||s.call(r),a.complete()},function(s){var c;u=!1,(c=r.error)===null||c===void 0||c.call(r,s),a.error(s)},function(){var s,c;u&&((s=r.unsubscribe)===null||s===void 0||s.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):wr}const jg="id";function kt(e){return At(e)?e.length===0:!1}function Le(e){return typeof e=="function"}function Bg(){return ei((e,t)=>e===t?!0:!At(e)||!At(t)?!1:kt(e)&&kt(t)?!0:e.length!==t.length?!1:t.some((r,i)=>e[i]!==r)===!1)}function ks(e){const t=typeof e;return e!=null&&(t=="object"||t=="function")}function BR(e){return gg(e).pipe(Lg(0))}let gp={resettable:!1,ttl:null,producerFn:void 0};function tc(){return gp}function Fg(){return gp.producerFn}function va(e){return bt(e)===!1}const bp=new Ht,_p=new Zd(50,5e3),Ug=new Ht;function xg(e){bp.next(e)}function Hg(e){_p.next(e)}function Kg(e,t){Ug.next({storeName:e,action:t})}const Ka=typeof window<"u",Wg=!Ka,nc=()=>{try{return typeof localStorage<"u"}catch{return!1}},zg=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},Tt={},wp={};Ka&&(window.$$stores=Tt,window.$$queries=wp);var ma;(function(e){e.ASC="asc",e.DESC="desc"})(ma||(ma={}));function qg(e,t=ma.ASC){return function(n,r){if(!n.hasOwnProperty(e)||!r.hasOwnProperty(e))return 0;const i=typeof n[e]=="string"?n[e].toUpperCase():n[e],a=typeof r[e]=="string"?r[e].toUpperCase():r[e];let o=0;return i>a?o=1:i<a&&(o=-1),t==ma.DESC?o*-1:o}}function Gg(e,t){let n=[];const{ids:r,entities:i}=e,{filterBy:a,limitTo:o,sortBy:u,sortByOrder:s}=t;for(let f=0;f<r.length;f++){const l=i[r[f]];if(!a){n.push(l);continue}Ze(a).every(p=>p(l,f))&&n.push(l)}if(u){let f=Le(u)?u:qg(u,s);n=n.sort((l,d)=>f(l,d,e))}const c=Math.min(o||n.length,n.length);return c===n.length?n:n.slice(0,c)}function Vg(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=bt(i)===!1;if(r&&u){let s=0;for(let c=0,f=a.length;c<f&&s!==i;c++){const l=a[c],d=o[l];Ze(r).every(p=>p(d,c))&&(n[l]=d,s++)}}else{const s=Math.min(i||a.length,a.length);for(let c=0;c<s;c++){const f=a[c],l=o[f];if(!r){n[f]=l;continue}Ze(r).every(v=>v(l,c))&&(n[f]=l)}}return n}var Qt;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(Qt||(Qt={}));let Ns=!0;function FR(){Ns=!1,Ka&&(delete window.$$stores,delete window.$$queries)}function Ie(){return Ns}function Yg(e,t,n){let r;if(At(e))r=e;else if(ks(e)){if(bt(n))return;e=Object.assign({wrap:!0},e);const i=t.indexOf(n);if(e.prev){const a=i===0;if(a&&!e.wrap)return;r=a?t[t.length-1]:t[i-1]}else if(e.next){const a=t.length===i+1;if(a&&!e.wrap)return;r=a?t[0]:t[i+1]}}else{if(e===n)return;r=e}return r}const Xg=()=>({entities:{},ids:[],loading:!0,error:null});function Gn(e){return e===void 0}function Qg({state:e,ids:t}){if(bt(t))return Jg(e);const n=e.entities;let r={};for(const a of e.ids)t.includes(a)===!1&&(r[a]=n[a]);const i={...e,entities:r,ids:e.ids.filter(a=>t.includes(a)===!1)};return Wd(e)&&(i.active=qd(i)),i}function Jg(e){return{...e,entities:{},ids:[],active:zd(e.active)?[]:null}}function Zg(e,t,n){const r={entities:{},ids:[]};for(const i of e){const a=n(i);r.entities[a[t]]=a,r.ids.push(a[t])}return r}function e0(e){return e.entities&&e.ids}function rc(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function t0({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(At(t)){const s=Zg(t,n,r);a=s.entities,o=s.ids}else e0(t)?(a=i?t.entities:rc(t.entities,r),o=t.ids):(a=i?t:rc(t,r),o=Object.keys(a).map(s=>isNaN(s)?s:Number(s)));const u={...e,entities:a,ids:o,loading:!1};return Wd(e)&&(u.active=qd(u)),u}function Ep(e){Object.freeze(e);const t=typeof e=="function",n=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(e).forEach(function(r){n.call(e,r)&&(!t||r!=="caller"&&r!=="callee"&&r!=="arguments")&&e[r]!==null&&(typeof e[r]=="object"||typeof e[r]=="function")&&!Object.isFrozen(e[r])&&Ep(e[r])}),e}function n0(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function Ms(e){return e!=null&&`${e}`!="false"}function Pu(e){return Ms(e)&&e.constructor.name==="Object"}const Zi="akitaConfig";function UR(e){return function(t){t[Zi]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[Zi].storeName=e[i]:t[Zi][i]=e[i]}}}const r0=new Ht,Sp=new pa(!1),an={activeTransactions:0,batchTransaction:null};function i0(){Op()||(an.batchTransaction=new Ht),an.activeTransactions++,Sp.next(!0)}function a0(){--an.activeTransactions===0&&(an.batchTransaction.next(!0),an.batchTransaction.complete(),Sp.next(!1),r0.next(!0))}function Op(){return an.activeTransactions>0}function o0(){return an.batchTransaction?an.batchTransaction.asObservable():Ls(!0)}function Ds(e,t=void 0){i0();try{return e.apply(t)}finally{tr("@Transaction"),a0()}}function Pp(){return function(e,t,n){const r=n.value;return n.value=function(...i){return Ds(()=>r.apply(this,i),this)},n}}class u0{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new pa(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Ie()&&We("Set Loading"),this._setState(n=>({...n,loading:t})))}setHasCache(t,n={restartTTL:!1}){if(t!==this.cache.active.value&&this.cache.active.next(t),n.restartTTL){const r=this.getCacheTTL();r&&(this.cache.ttl!==null&&clearTimeout(this.cache.ttl),this.cache.ttl=setTimeout(()=>this.setHasCache(!1),r))}}getValue(){return this.storeValue}setError(t){t!==this._value().error&&(Ie()&&We("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(Ye(n=>t(n.state)),ei())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[Zi]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||Ep}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Fg()}get resettable(){return va(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Le(t)){const r=t(this._value());this.storeValue=Ns?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new pa({state:this.storeValue}),Ie()&&this.store.subscribe(({action:r})=>{r&&Kg(this.storeName,r)});return}if(Op()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Ie()&&We("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Ie()&&We("Update");let n;const r=this._value();Le(t)?n=Le(this._producerFn)?this._producerFn(r,t):t(r):n=t;const i=this.akitaPreUpdate(r,{...r,...n}),a=Pu(r)?i:new r.constructor(i);this._setState(a)}updateStoreConfig(t){this.options={...this.options,...t}}akitaPreUpdate(t,n){return n}destroy(){!(Ka?window.hmrEnabled:!1)&&this===Tt[this.storeName]&&(delete Tt[this.storeName],xg(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){Tt[this.storeName]=this,this._setState(()=>t),Hg(this.storeName),this.isResettable()&&(this._initialState=t),Ie()&&n0(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=Xi,Ay()),this.store.next({state:t,action:r})}watchTransaction(){o0().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||tc().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||tc().ttl}}function s0({state:e,ids:t,idKey:n,newStateOrFn:r,preUpdateEntity:i,producerFn:a,onEntityIdChanges:o}){const u={};let s=!1,c;for(const d of t){if(Zr(e.entities,d)===!1)continue;const v=e.entities[d];let p;Le(r)?p=Le(a)?a(v,r):r(v):p=r;const h=p.hasOwnProperty(n)&&p[n]!==v[n];let b;c=d,h&&(s=!0,c=p[n]);const _={...v,...p};Pu(v)?b=_:Pu(p)?b=new v.constructor(_):b=new p.constructor(_),u[c]=i(v,b)}let f=e.ids,l=e.entities;if(s){const[d]=t,{[d]:v,...p}=e.entities;l=p,f=e.ids.map(h=>h===d?c:h),o(d,c)}return{...e,entities:{...l,...u},ids:f}}var ic;class ur extends u0{constructor(t={},n={}){super({...Xg(),...t},n),this.options=n,this.entityActions=new Ht,this.entityIdChanges=new Ht}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||jg}set(t,n={}){if(bt(t))return;Ie()&&We("Set Entity");const r=this.akitaPreAddEntity===ur.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=t0({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return Gn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:Qt.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Ze(t);if(kt(r))return;const i=Iy({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Ie()&&We("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:Qt.Add,ids:i.newIds}))}update(t,n){if(Gn(n)){super.update(t);return}let r=[];if(Le(t)?r=this.ids.filter(a=>t(this.entities[a])):r=bt(t)?this.ids:Ze(t),kt(r))return;Ie()&&We("Update Entity",r);let i;this._setState(a=>s0({idKey:this.idKey,ids:r,preUpdateEntity:this.akitaPreUpdateEntity.bind(this),state:a,newStateOrFn:n,producerFn:this._producerFn,onEntityIdChanges:(o,u)=>{i={oldId:o,newId:u},this.entityIdChanges.next({...i,pending:!0})}})),i&&this.entityIdChanges.next({...i,pending:!1}),this.entityActions.next({type:Qt.Update,ids:r})}upsert(t,n,r,i={}){const a=Ze(t),o=l=>d=>Zr(this.entities,d)===l,u=Le(r)?i.baseClass:r?r.baseClass:void 0,s=Le(u),c=a.filter(o(!0)),f=a.filter(o(!1)).map(l=>{const d=typeof n=="function"?n({}):n,p={...Le(r)?r(l,d):d,[this.idKey]:l};return s?new u(p):p});this.update(c,n),this.add(f),Ie()&&tr("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),s=u[this.idKey];if(Zr(this.entities,s)){const c=this._value().entities[s],f={...this._value().entities[s],...u},l=n.baseClass?new n.baseClass(f):f,d=this.akitaPreUpdateEntity(c,l),v=d[this.idKey];a[v]=d,i.push(v)}else{const c=n.baseClass?new n.baseClass(u):u,f=this.akitaPreAddEntity(c),l=f[this.idKey];r.push(l),a[l]=f}}Ie()&&tr("Upsert Many"),this._setState(o=>({...o,ids:r.length?[...o.ids,...r]:o.ids,entities:{...o.entities,...a},loading:!!n.loading})),i.length&&this.entityActions.next({type:Qt.Update,ids:i}),r.length&&this.entityActions.next({type:Qt.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Ze(t);if(kt(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Ie()&&We("Replace Entity",t),this._setState(a=>({...a,entities:{...a.entities,...i}}))}move(t,n){const r=this.ids.slice();r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),Ie()&&We("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(kt(this.ids))return;const n=va(t);let r=[];Le(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Ze(t):this.ids,!kt(r)&&(Ie()&&We("Remove Entity",r),this._setState(i=>Qg({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:Qt.Remove,ids:r}))}updateActive(t){const n=Ze(this.active);Ie()&&We("Update Active",n),this.update(n,t)}setActive(t){const n=Yg(t,this.ids,this.active);n!==void 0&&(Ie()&&We("Set Active",n),this._setActive(n))}addActive(t){const n=Ze(t);kt(n)||n.every(i=>this.active.indexOf(i)>-1)||(Ie()&&We("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Ze(t);kt(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Ie()&&We("Remove Active",t),this._setState(i=>({...i,active:Array.isArray(i.active)?i.active.filter(a=>n.indexOf(a)===-1):null})))}toggleActive(t){const n=Ze(t),r=o=>u=>this.active.includes(u)===o,i=n.filter(r(!0)),a=n.filter(r(!1));this.removeActive(i),this.addActive(a),Ie()&&tr("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new ac(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof ur&&this.ui.destroy(),this.entityActions.complete()}akitaPreUpdateEntity(t,n){return n}akitaPreAddEntity(t){return t}akitaPreCheckEntity(t){return t}get ids(){return this._value().ids}get entities(){return this._value().entities}get active(){return this._value().active}_setActive(t){this._setState(n=>({...n,active:t}))}handleUICreation(t=!1){const n=this.ids,r=Le(this.ui._akitaCreateEntityFn);let i;const a=o=>{const u=this.entities[o],s=r?this.ui._akitaCreateEntityFn(u):this.ui._akitaCreateEntityFn;return{[this.idKey]:u[this.idKey],...s}};t?i=this.ids.filter(o=>Gn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&Gn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof ac}}Ps([Pp(),jt("design:type",Function),jt("design:paramtypes",[Object,Object,Object,Object]),jt("design:returntype",void 0)],ur.prototype,"upsert",null);Ps([Pp(),jt("design:type",Function),jt("design:paramtypes",[typeof(ic=typeof T<"u"&&T)=="function"?ic:Object]),jt("design:returntype",void 0)],ur.prototype,"toggleActive",null);class ac extends ur{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function l0(){return Ha(e=>e!=null)}function c0(e){return function(t,n){const r=Le(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Ap(e){return typeof e=="string"}const f0="akitaQueryConfig";class d0{constructor(t){this.store=t,this.__store__=t,Ie()&&(wp[t.storeName]=this)}select(t){let n;if(Le(t))n=t;else if(Ap(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(ei(c0(t)),Ye(r=>Le(t[0])?t.map(i=>i(r)):t.reduce((i,a)=>(i[a]=r[a],i),{})));n=r=>r}return this.store._select(n)}selectLoading(){return this.select(t=>t.loading)}selectError(){return this.select(t=>t.error)}getValue(){return this.store._value()}selectHasCache(){return this.store._cache().asObservable()}getHasCache(){return this.store._cache().value}get config(){return this.constructor[f0]}}function p0(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function oc(e,t){return function(n){const r=n[e];if(!Gn(r))return t?Ap(t)?r[t]:t(r):r}}function h0(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function v0(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class m0 extends d0{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(Ye(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?Vg(this.getValue(),t):(v0(t,this.config||this.options),Gg(this.getValue(),t))}selectMany(t,n){return!t||!t.length?Ls([]):this.select(r=>r.entities).pipe(Ye(r=>h0(t,i=>oc(i,n)(r))),Bg())}selectEntity(t,n){let r=t;return Le(t)&&(r=p0(t,this.getValue().entities)),this.select(i=>i.entities).pipe(Ye(oc(r,n)),ei())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return At(this.getActive())?this.selectActiveId().pipe(Ji(n=>this.selectMany(n,t))):this.selectActiveId().pipe(Ji(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return At(t)?t.map(n=>this.getValue().entities[n]):Ms(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(Ye(()=>this.getCount(t)))}getCount(t){return Le(t)?this.getAll().filter(t).length:this.getValue().ids.length}selectLast(t){return this.selectAt(n=>n[n.length-1],t)}selectFirst(t){return this.selectAt(n=>n[0],t)}selectEntityAction(t){if(bt(t))return this.store.selectEntityAction$;const n=At(t)?i=>i:({ids:i})=>i,r=Ze(t);return this.store.selectEntityAction$.pipe(Ha(({type:i})=>r.includes(i)),Ye(i=>n(i)))}hasEntity(t){return bt(t)?this.getValue().ids.length>0:Le(t)?this.getAll().some(t):At(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=va(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:va(n)}createUIQuery(){this.ui=new y0(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(Ye(t),ei(),Ji(r=>this.selectEntity(r,n)))}}class y0 extends m0{constructor(t){super(t)}}function Au(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function Tp(e,t,n,r=!1){const i=t.split(".");if(i.length===1)return{...e,...n};e={...e};const a=i.length-2;return t.split(".").slice(1).reduce((u,s,c)=>c!==a?(u[s]={...u[s]},u&&u[s]):(u[s]=r||Array.isArray(u[s])||!ks(u[s])?n:{...u[s],...n},u&&u[s]),e),e}let g0=!1;const b0=new Zd(1);function _0(){return g0}function w0(e){return e&&Le(e.then)}function Nr(e){return w0(e)||hp(e)?Er(e):Ls(e)}function xR(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:nc()?localStorage:e.storage,deserialize:JSON.parse,serialize:JSON.stringify,include:[],select:[],persistOnDestroy:!1,preStorageUpdate:function(w,P){return P},preStoreUpdate:function(w,P){return P},skipStorageUpdate:_0,preStorageUpdateOperator:()=>w=>w},{storage:n,enableInNonBrowser:r,deserialize:i,serialize:a,include:o,select:u,key:s,preStorageUpdate:c,persistOnDestroy:f,preStorageUpdateOperator:l,preStoreUpdate:d,skipStorageUpdate:v}=Object.assign({},t,e);if(Wg&&!r||!n)return;const p=o.length>0,h=u.length>0;let b,_;p&&(b=o.reduce((w,P)=>{if(Le(P))w.fns.push(P);else{const A=P.split(".")[0];w[A]=P}return w},{fns:[]})),h&&(_=u.reduce((w,P)=>(w[P.storeName]=P,w),{}));let y={};const m={},g=[],E=[];function O(w){Nr(w).subscribe(()=>{const P=E.shift();P&&O(P)})}const S=nc()&&n===localStorage||zg()&&n===sessionStorage;return Nr(n.getItem(s)).subscribe(w=>{let P=ks(w)?w:i(w||"{}");function A(j){P.$cache={...P.$cache||{},...j},P=Object.assign({},P,m),E.push(n.setItem(s,S?a(P):P)),O(E.shift())}function R(j,I){y[j]=Tt[j]._select(C=>Au(C,I)).pipe($g(1),Ye(C=>h&&_[j]?_[j](C):C),Ha(()=>v()===!1),l()).subscribe(C=>{m[j]=c(j,C),Promise.resolve().then(()=>A({[j]:Tt[j]._cache().getValue()}))})}function $(j,I,C){if(j in P){We("@PersistState"),I._setState(M=>Tp(M,C,d(j,P[j],M)));const L=P.$cache?P.$cache[j]:!1;Tt[j].setHasCache(L,{restartTTL:!0})}}g.push(bp.subscribe(j=>{y[j]&&(f===!1&&A({[j]:!1}),y[j].unsubscribe(),delete y[j])})),g.push(_p.subscribe(j=>{if(j==="router")return;const I=Tt[j];if(p){let C=b[j];if(!C)if(b.fns.some(M=>M(j)))C=j;else return;$(j,I,C),R(j,C)}else $(j,I,j),R(j,j)})),b0.next(!0)}),{destroy(){g.forEach(w=>w.unsubscribe());for(let w=0,P=Object.keys(y);w<P.length;w++){const A=P[w];y[A].unsubscribe()}y={}},clear(){n.clear()},clearStore(w){if(bt(w)){Nr(n.setItem(s,"{}")).subscribe();return}const P=n.getItem(s);Nr(P).subscribe(A=>{const R=i(A||"{}");R[w]&&(delete R[w],Nr(n.setItem(s,a(R))).subscribe())})}}}class E0{constructor(t,n){this.query=t,n&&n.resetFn}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return Ms(t)}selectSource(t,n){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(l0()):n?this.getQuery().select(r=>Au(r,this.withStoreName(n))):this.getQuery().select()}getSource(t,n){if(this.isEntityBased(t))return this.getQuery().getEntity(t);const r=this.getQuery().getValue();return n?Au(r,this.withStoreName(n)):r}withStoreName(t){return`${this.storeName}.${t}`}get storeName(){return this.getStore().storeName}updateStore(t,n,r,i=!1){if(this.isEntityBased(n)){const a=this.getStore();i?a.replace(n,t):a.update(n,t)}else{if(r){this.getStore()._setState(o=>Tp(o,this.withStoreName(r),t,!0));return}const a=i?t:o=>({...o,...t});this.getStore()._setState(a)}}onReset(t){const n=this.getStore().reset;this.getStore().reset=(...r)=>{setTimeout(()=>{n.apply(this.getStore(),r),t()})}}}const S0={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class O0 extends E0{constructor(t,n={}){super(t,{resetFn:()=>{this.initial=!1,this.destroy({clearCache:!0,currentPage:1})}}),this.query=t,this.config=n,this.metadata=new Map,this.pages=new Map,this.pagination={currentPage:1,perPage:0,total:0,lastPage:0,data:[]},this.initial=!0,this.isLoading$=this.query.selectLoading().pipe(Mg(0)),this.config={...S0,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new pa(r),hp(i)&&(this.clearCacheSubscription=i.subscribe(()=>this.clearCache()))}get pageChanges(){return this.page.asObservable()}get currentPage(){return this.pagination.currentPage}get isFirst(){return this.currentPage===1}get isLast(){return this.currentPage===this.pagination.lastPage}withControls(){return this.config.pagesControls=!0,this}withRange(){return this.config.range=!0,this}setLoading(t=!0){this.getStore().setLoading(t)}update(t){this.pagination=t,this.addPage(t.data)}addPage(t){this.pages.set(this.currentPage,{ids:t.map(n=>n[this.getStore().idKey])}),this.getStore().upsertMany(t)}clearCache(t={}){this.initial||(tr("@Pagination - Clear Cache"),t.clearStore!==!1&&(this.config.clearStoreWithCache||t.clearStore)&&this.getStore().remove(),this.pages=new Map,this.metadata=new Map),this.initial=!1}clearPage(t){this.pages.delete(t)}destroy({clearCache:t,currentPage:n}={}){this.clearCacheSubscription&&this.clearCacheSubscription.unsubscribe(),t&&this.clearCache(),Gn(n)||this.setPage(n),this.initial=!0}isPageActive(t){return this.currentPage===t}setPage(t){(t!==this.currentPage||!this.hasPage(t))&&this.page.next(this.pagination.currentPage=t)}nextPage(){this.currentPage!==this.pagination.lastPage&&this.setPage(this.pagination.currentPage+1)}prevPage(){this.pagination.currentPage>1&&this.setPage(this.pagination.currentPage-1)}setLastPage(){this.setPage(this.pagination.lastPage)}setFirstPage(){this.setPage(1)}hasPage(t){return this.pages.has(t)}getPage(t){let n=this.pagination.currentPage;return this.hasPage(n)?this.selectPage(n):(this.setLoading(!0),Er(t()).pipe(Ji(r=>(n=r.currentPage,Ds(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){bt(this.currentPage)===!1&&(this.clearPage(this.currentPage),this.setPage(this.currentPage))}getFrom(){return this.isFirst?1:(this.currentPage-1)*this.pagination.perPage+1}getTo(){return this.isLast?this.pagination.total:this.currentPage*this.pagination.perPage}selectPage(t){return this.query.selectAll({asObject:!0}).pipe(Ou(1),Ye(n=>{const r={...this.pagination,data:this.pages.get(t).ids.map(o=>n[o])},{range:i,pagesControls:a}=this.config;return isNaN(this.pagination.total)&&(r.lastPage===1?r.total=r.data?r.data.length:0:r.total=r.perPage*r.lastPage,this.pagination.total=r.total),i&&(r.from=this.getFrom(),r.to=this.getTo()),a&&(r.pageControls=P0(this.pagination.total,this.pagination.perPage)),r}))}}Ps([Ty("@Pagination - New Page"),jt("design:type",Function),jt("design:paramtypes",[Object]),jt("design:returntype",void 0)],O0.prototype,"update",null);function P0(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function HR(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(Tt);Ds(()=>{for(const r of n){const i=Tt[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var Tu;(function(e){e.Update="UPDATE"})(Tu||(Tu={}));Tu.Update+"";var Nt;(function(e){e.Update="UPDATE",e.AddEntities="ADD_ENTITIES",e.SetEntities="SET_ENTITIES",e.UpdateEntities="UPDATE_ENTITIES",e.RemoveEntities="REMOVE_ENTITIES",e.UpsertEntities="UPSERT_ENTITIES",e.UpsertManyEntities="UPSERT_MANY_ENTITIES"})(Nt||(Nt={}));Nt.Update+"",Nt.AddEntities+"",Nt.SetEntities+"",Nt.UpdateEntities+"",Nt.RemoveEntities+"",Nt.UpsertEntities+"",Nt.UpsertManyEntities+"";const A0="modulepreload",T0=function(e){return"/benefits/app/"+e},uc={},KR=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=T0(a),a in uc)return;uc[a]=!0;const o=a.endsWith(".css"),u=o?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const l=i[f];if(l.href===a&&(!o||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":A0,o||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),o)return new Promise((f,l)=>{c.addEventListener("load",f),c.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})};var vi,Y,Cp,_n,sc,Ip,Cu,Rp,rr={},Lp=[],C0=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Wa=Array.isArray;function $t(e,t){for(var n in t)e[n]=t[n];return e}function kp(e){var t=e.parentNode;t&&t.removeChild(e)}function F(e,t,n){var r,i,a,o={};for(a in t)a=="key"?r=t[a]:a=="ref"?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?vi.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return Kr(e,o,r,i,null)}function Kr(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,__h:null,constructor:void 0,__v:i??++Cp};return i==null&&Y.vnode!=null&&Y.vnode(a),a}function ti(){return{current:null}}function Ee(e){return e.children}function nt(e,t){this.props=e,this.context=t}function ni(e,t){if(t==null)return e.__?ni(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__d||n.__e;return typeof e.type=="function"?ni(e):null}function Np(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Np(e)}}function Iu(e){(!e.__d&&(e.__d=!0)&&_n.push(e)&&!ya.__r++||sc!==Y.debounceRendering)&&((sc=Y.debounceRendering)||Ip)(ya)}function ya(){var e,t,n,r,i,a,o,u,s;for(_n.sort(Cu);e=_n.shift();)e.__d&&(t=_n.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(s=n.__P)&&(r=[],i=[],(a=$t({},o)).__v=o.__v+1,$s(s,o,a,n.__n,s.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??ni(o),o.__h,i),jp(r,o,i),o.__e!=u&&Np(o)),_n.length>t&&_n.sort(Cu));ya.__r=0}function Mp(e,t,n,r,i,a,o,u,s,c,f){var l,d,v,p,h,b,_,y,m,g=0,E=r&&r.__k||Lp,O=E.length,S=O,w=t.length;for(n.__k=[],l=0;l<w;l++)(p=n.__k[l]=(p=t[l])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?Kr(null,p,null,null,p):Wa(p)?Kr(Ee,{children:p},null,null,null):p.__b>0?Kr(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null?(p.__=n,p.__b=n.__b+1,(y=I0(p,E,_=l+g,S))===-1?v=rr:(v=E[y]||rr,E[y]=void 0,S--),$s(e,p,v,i,a,o,u,s,c,f),h=p.__e,(d=p.ref)&&v.ref!=d&&(v.ref&&js(v.ref,null,p),f.push(d,p.__c||h,p)),h!=null&&(b==null&&(b=h),(m=v===rr||v.__v===null)?y==-1&&g--:y!==_&&(y===_+1?g++:y>_?S>w-_?g+=y-_:g--:g=y<_&&y==_-1?y-_:0),_=l+g,typeof p.type!="function"||y===_&&v.__k!==p.__k?typeof p.type=="function"||y===_&&!m?p.__d!==void 0?(s=p.__d,p.__d=void 0):s=h.nextSibling:s=$p(e,h,s):s=Dp(p,s,e),typeof n.type=="function"&&(n.__d=s))):(v=E[l])&&v.key==null&&v.__e&&(v.__e==s&&(v.__=r,s=ni(v)),Ru(v,v,!1),E[l]=null);for(n.__e=b,l=O;l--;)E[l]!=null&&(typeof n.type=="function"&&E[l].__e!=null&&E[l].__e==n.__d&&(n.__d=E[l].__e.nextSibling),Ru(E[l],E[l]))}function Dp(e,t,n){for(var r,i=e.__k,a=0;i&&a<i.length;a++)(r=i[a])&&(r.__=e,t=typeof r.type=="function"?Dp(r,t,n):$p(n,r.__e,t));return t}function yt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Wa(e)?e.some(function(n){yt(n,t)}):t.push(e)),t}function $p(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function I0(e,t,n,r){var i=e.key,a=e.type,o=n-1,u=n+1,s=t[n];if(s===null||s&&i==s.key&&a===s.type)return n;if(r>(s!=null?1:0))for(;o>=0||u<t.length;){if(o>=0){if((s=t[o])&&i==s.key&&a===s.type)return o;o--}if(u<t.length){if((s=t[u])&&i==s.key&&a===s.type)return u;u++}}return-1}function R0(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||ga(e,a,null,n[a],r);for(a in t)i&&typeof t[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||n[a]===t[a]||ga(e,a,t[a],n[a],r)}function lc(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||C0.test(t)?n:n+"px"}function ga(e,t,n,r,i){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||lc(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||lc(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,a?fc:cc,a)):e.removeEventListener(t,a?fc:cc,a);else if(t!=="dangerouslySetInnerHTML"){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function cc(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(Y.event?Y.event(e):e)}function fc(e){return this.l[e.type+!0](Y.event?Y.event(e):e)}function $s(e,t,n,r,i,a,o,u,s,c){var f,l,d,v,p,h,b,_,y,m,g,E,O,S,w,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(s=n.__h,u=t.__e=n.__e,t.__h=null,a=[u]),(f=Y.__b)&&f(t);e:if(typeof P=="function")try{if(_=t.props,y=(f=P.contextType)&&r[f.__c],m=f?y?y.props.value:f.__:r,n.__c?b=(l=t.__c=n.__c).__=l.__E:("prototype"in P&&P.prototype.render?t.__c=l=new P(_,m):(t.__c=l=new nt(_,m),l.constructor=P,l.render=k0),y&&y.sub(l),l.props=_,l.state||(l.state={}),l.context=m,l.__n=r,d=l.__d=!0,l.__h=[],l._sb=[]),l.__s==null&&(l.__s=l.state),P.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=$t({},l.__s)),$t(l.__s,P.getDerivedStateFromProps(_,l.__s))),v=l.props,p=l.state,l.__v=t,d)P.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(P.getDerivedStateFromProps==null&&_!==v&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(_,m),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(_,l.__s,m)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(l.props=_,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),g=0;g<l._sb.length;g++)l.__h.push(l._sb[g]);l._sb=[],l.__h.length&&o.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(_,l.__s,m),l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(v,p,h)})}if(l.context=m,l.props=_,l.__P=e,l.__e=!1,E=Y.__r,O=0,"prototype"in P&&P.prototype.render){for(l.state=l.__s,l.__d=!1,E&&E(t),f=l.render(l.props,l.state,l.context),S=0;S<l._sb.length;S++)l.__h.push(l._sb[S]);l._sb=[]}else do l.__d=!1,E&&E(t),f=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++O<25);l.state=l.__s,l.getChildContext!=null&&(r=$t($t({},r),l.getChildContext())),d||l.getSnapshotBeforeUpdate==null||(h=l.getSnapshotBeforeUpdate(v,p)),Mp(e,Wa(w=f!=null&&f.type===Ee&&f.key==null?f.props.children:f)?w:[w],t,n,r,i,a,o,u,s,c),l.base=t.__e,t.__h=null,l.__h.length&&o.push(l),b&&(l.__E=l.__=null)}catch(A){t.__v=null,(s||a!=null)&&(t.__e=u,t.__h=!!s,a[a.indexOf(u)]=null),Y.__e(A,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L0(n.__e,t,n,r,i,a,o,s,c);(f=Y.diffed)&&f(t)}function jp(e,t,n){for(var r=0;r<n.length;r++)js(n[r],n[++r],n[++r]);Y.__c&&Y.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(a){a.call(i)})}catch(a){Y.__e(a,i.__v)}})}function L0(e,t,n,r,i,a,o,u,s){var c,f,l,d=n.props,v=t.props,p=t.type,h=0;if(p==="svg"&&(i=!0),a!=null){for(;h<a.length;h++)if((c=a[h])&&"setAttribute"in c==!!p&&(p?c.localName===p:c.nodeType===3)){e=c,a[h]=null;break}}if(e==null){if(p===null)return document.createTextNode(v);e=i?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,v.is&&v),a=null,u=!1}if(p===null)d===v||u&&e.data===v||(e.data=v);else{if(a=a&&vi.call(e.childNodes),f=(d=n.props||rr).dangerouslySetInnerHTML,l=v.dangerouslySetInnerHTML,!u){if(a!=null)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(l||f)&&(l&&(f&&l.__html==f.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(R0(e,v,d,i,u),l)t.__k=[];else if(Mp(e,Wa(h=t.props.children)?h:[h],t,n,r,i&&p!=="foreignObject",a,o,a?a[0]:n.__k&&ni(n,0),u,s),a!=null)for(h=a.length;h--;)a[h]!=null&&kp(a[h]);u||("value"in v&&(h=v.value)!==void 0&&(h!==e.value||p==="progress"&&!h||p==="option"&&h!==d.value)&&ga(e,"value",h,d.value,!1),"checked"in v&&(h=v.checked)!==void 0&&h!==e.checked&&ga(e,"checked",h,d.checked,!1))}return e}function js(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){Y.__e(r,n)}}function Ru(e,t,n){var r,i;if(Y.unmount&&Y.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||js(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){Y.__e(a,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&Ru(r[i],t,n||typeof e.type!="function");n||e.__e==null||kp(e.__e),e.__=e.__e=e.__d=void 0}function k0(e,t,n){return this.constructor(e,n)}function sr(e,t,n){var r,i,a,o;Y.__&&Y.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],o=[],$s(t,e=(!r&&n||t).__k=F(Ee,null,[e]),i||rr,rr,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?vi.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),jp(a,e,o)}function Bs(e,t){sr(e,t,Bs)}function Bp(e,t,n){var r,i,a,o,u=$t({},e.props);for(a in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)a=="key"?r=t[a]:a=="ref"?i=t[a]:u[a]=t[a]===void 0&&o!==void 0?o[a]:t[a];return arguments.length>2&&(u.children=arguments.length>3?vi.call(arguments,2):n),Kr(e.type,u,r||e.key,i||e.ref,null)}function Fe(e,t){var n={__c:t="__cC"+Rp++,__:e,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,a;return this.getChildContext||(i=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(function(u){u.__e=!0,Iu(u)})},this.sub=function(o){i.push(o);var u=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),u&&u.call(o)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}vi=Lp.slice,Y={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(u){e=u}throw e}},Cp=0,nt.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=$t({},this.state),typeof e=="function"&&(e=e($t({},n),this.props)),e&&$t(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Iu(this))},nt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Iu(this))},nt.prototype.render=Ee,_n=[],Ip=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Cu=function(e,t){return e.__v.__b-t.__v.__b},ya.__r=0,Rp=0;var Kt,he,Eo,dc,lr=0,Fp=[],ea=[],pc=Y.__b,hc=Y.__r,vc=Y.diffed,mc=Y.__c,yc=Y.unmount;function $n(e,t){Y.__h&&Y.__h(he,e,lr||t),lr=0;var n=he.__H||(he.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:ea}),n.__[e]}function He(e){return lr=1,jn(Kp,e)}function jn(e,t,n){var r=$n(Kt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Kp(void 0,t),function(u){var s=r.__N?r.__N[0]:r.__[0],c=r.t(s,u);s!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=he,!he.u)){var i=function(u,s,c){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(d){return d.__c});if(f.every(function(d){return!d.__N}))return!a||a.call(this,u,s,c);var l=!1;return f.forEach(function(d){if(d.__N){var v=d.__[0];d.__=d.__N,d.__N=void 0,v!==d.__[0]&&(l=!0)}}),!(!l&&r.__c.props===u)&&(!a||a.call(this,u,s,c))};he.u=!0;var a=he.shouldComponentUpdate,o=he.componentWillUpdate;he.componentWillUpdate=function(u,s,c){if(this.__e){var f=a;a=void 0,i(u,s,c),a=f}o&&o.call(this,u,s,c)},he.shouldComponentUpdate=i}return r.__N||r.__}function de(e,t){var n=$n(Kt++,3);!Y.__s&&Fs(n.__H,t)&&(n.__=e,n.i=t,he.__H.__h.push(n))}function Bn(e,t){var n=$n(Kt++,4);!Y.__s&&Fs(n.__H,t)&&(n.__=e,n.i=t,he.__h.push(n))}function ie(e){return lr=5,ce(function(){return{current:e}},[])}function Up(e,t,n){lr=6,Bn(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function ce(e,t){var n=$n(Kt++,7);return Fs(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function en(e,t){return lr=8,ce(function(){return e},t)}function Ne(e){var t=he.context[e.__c],n=$n(Kt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(he)),t.props.value):e.__}function xp(e,t){Y.useDebugValue&&Y.useDebugValue(t?t(e):e)}function N0(e){var t=$n(Kt++,10),n=He();return t.__=e,he.componentDidCatch||(he.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Hp(){var e=$n(Kt++,11);if(!e.__){for(var t=he.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function M0(){for(var e;e=Fp.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ta),e.__H.__h.forEach(Lu),e.__H.__h=[]}catch(t){e.__H.__h=[],Y.__e(t,e.__v)}}Y.__b=function(e){he=null,pc&&pc(e)},Y.__r=function(e){hc&&hc(e),Kt=0;var t=(he=e.__c).__H;t&&(Eo===he?(t.__h=[],he.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=ea,n.__N=n.i=void 0})):(t.__h.forEach(ta),t.__h.forEach(Lu),t.__h=[],Kt=0)),Eo=he},Y.diffed=function(e){vc&&vc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Fp.push(t)!==1&&dc===Y.requestAnimationFrame||((dc=Y.requestAnimationFrame)||D0)(M0)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==ea&&(n.__=n.__V),n.i=void 0,n.__V=ea})),Eo=he=null},Y.__c=function(e,t){t.some(function(n){try{n.__h.forEach(ta),n.__h=n.__h.filter(function(r){return!r.__||Lu(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],Y.__e(r,n.__v)}}),mc&&mc(e,t)},Y.unmount=function(e){yc&&yc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{ta(r)}catch(i){t=i}}),n.__H=void 0,t&&Y.__e(t,n.__v))};var gc=typeof requestAnimationFrame=="function";function D0(e){var t,n=function(){clearTimeout(r),gc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);gc&&(t=requestAnimationFrame(n))}function ta(e){var t=he,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),he=t}function Lu(e){var t=he;e.__c=e.__(),he=t}function Fs(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Kp(e,t){return typeof t=="function"?t(e):t}let Wn;const $0=(e,t)=>{if(Wn=void 0,t&&t.type==="click"){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;const n=t.target.closest("a[href]");if(!n||n.origin!=location.origin||/^#/.test(n.getAttribute("href"))||!/^(_?self)?$/i.test(n.target))return e;Wn=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?Wn=!0:t=location.pathname+location.search;return Wn===!0?history.pushState(null,"",t):Wn===!1&&history.replaceState(null,"",t),t};function Wp(e){const[t,n]=jn($0,e.url||location.pathname+location.search),r=Wn===!0,i=ce(()=>{const a=new URL(t,location.origin),o=a.pathname.replace(/(.)\/$/g,"$1");return{url:t,path:o,query:Object.fromEntries(a.searchParams),route:n,wasPush:r}},[t]);return Bn(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),F(Wp.ctx.Provider,{value:i},e.children)}Promise.resolve();Wp.ctx=Fe({});Fe({});const bc=Y.__e;Y.__e=(e,t,n)=>{if(e&&e.then){let r=t;for(;r=r.__;)if(r.__c&&r.__c.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),t.__k||(t.__k=[]),r.__c.__c(e,t)}bc&&bc(e,t,n)};let _c;function WR(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!_c&&n?Bs(e,t):sr(e,t),_c=!0}function zp(e,t){for(var n in t)e[n]=t[n];return e}function ku(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function So(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function ba(e){this.props=e}function qp(e,t){function n(i){var a=this.props.ref,o=a==i.ref;return!o&&a&&(a.call?a(null):a.current=null),t?!t(this.props,i)||!o:ku(this.props,i)}function r(i){return this.shouldComponentUpdate=n,F(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ba.prototype=new nt).isPureReactComponent=!0,ba.prototype.shouldComponentUpdate=function(e,t){return ku(this.props,e)||ku(this.state,t)};var wc=Y.__b;Y.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),wc&&wc(e)};var j0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function pe(e){function t(n){var r=zp({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=j0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ec=function(e,t){return e==null?null:yt(yt(e).map(t))},Gp={map:Ec,forEach:Ec,count:function(e){return e?yt(e).length:0},only:function(e){var t=yt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:yt},B0=Y.__e;Y.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}B0(e,t,n,r)};var Sc=Y.unmount;function Vp(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=zp({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Vp(r,t,n)})),e}function Yp(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Yp(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Wr(){this.__u=0,this.t=null,this.__b=null}function Xp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Qp(e){var t,n,r;function i(a){if(t||(t=e()).then(function(o){n=o.default||o},function(o){r=o}),r)throw r;if(!n)throw t;return F(n,a)}return i.displayName="Lazy",i.__f=!0,i}function Vn(){this.u=null,this.o=null}Y.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Sc&&Sc(e)},(Wr.prototype=new nt).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=Xp(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(u):u())};n.__R=o;var u=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Yp(c,c.__c.__P,c.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}},s=t.__h===!0;r.__u++||s||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},Wr.prototype.componentWillUnmount=function(){this.t=[]},Wr.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]=Vp(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&F(Ee,null,e.fallback);return i&&(i.__h=null),[F(Ee,null,t.__a?null:e.children),i]};var Oc=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function F0(e){return this.getChildContext=function(){return e.context},e.children}function U0(e){var t=this,n=e.i;t.componentWillUnmount=function(){sr(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),sr(F(F0,{context:t.context},e.__v),t.l)}function Us(e,t){var n=F(U0,{__v:e,i:t});return n.containerInfo=t,n}(Vn.prototype=new nt).__a=function(e){var t=this,n=Xp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),Oc(t,e,r)):i()};n?n(a):a()}},Vn.prototype.render=function(e){this.u=null,this.o=new Map;var t=yt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Vn.prototype.componentDidUpdate=Vn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Oc(e,n,t)})};var Jp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,x0=/^(?: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]/,H0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,K0=/[A-Z0-9]/g,W0=typeof document<"u",z0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Zp(e,t,n){return t.__k==null&&(t.textContent=""),sr(e,t),typeof n=="function"&&n(),e?e.__c:null}function eh(e,t,n){return Bs(e,t),typeof n=="function"&&n(),e?e.__c:null}nt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(nt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Pc=Y.event;function q0(){}function G0(){return this.cancelBubble}function V0(){return this.defaultPrevented}Y.event=function(e){return Pc&&(e=Pc(e)),e.persist=q0,e.isPropagationStopped=G0,e.isDefaultPrevented=V0,e.nativeEvent=e};var xs,Y0={enumerable:!1,configurable:!0,get:function(){return this.class}},Ac=Y.vnode;Y.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,i={};for(var a in n){var o=n[a];if(!(a==="value"&&"defaultValue"in n&&o==null||W0&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&o===!0?o="":u==="ondoubleclick"?a="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||z0(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":H0.test(a)?a=u:r.indexOf("-")===-1&&x0.test(a)?a=a.replace(K0,"-$&").toLowerCase():o===null&&(o=void 0):u=a="oninput",u==="oninput"&&i[a=u]&&(a="oninputCapture"),i[a]=o}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=yt(n.children).forEach(function(s){s.props.selected=i.value.indexOf(s.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=yt(n.children).forEach(function(s){s.props.selected=i.multiple?i.defaultValue.indexOf(s.props.value)!=-1:i.defaultValue==s.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",Y0)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=Jp,Ac&&Ac(e)};var Tc=Y.__r;Y.__r=function(e){Tc&&Tc(e),xs=e.__c};var Cc=Y.diffed;Y.diffed=function(e){Cc&&Cc(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),xs=null};var th={ReactCurrentDispatcher:{current:{readContext:function(e){return xs.__n[e.__c].props.value}}}},X0="17.0.2";function nh(e){return F.bind(null,e)}function Sr(e){return!!e&&e.$$typeof===Jp}function rh(e){return Sr(e)&&e.type===Ee}function Hs(e){return Sr(e)?Bp.apply(null,arguments):e}function ih(e){return!!e.__k&&(sr(null,e),!0)}function ah(e){return e&&(e.base||e.nodeType===1&&e)||null}var oh=function(e,t){return e(t)},uh=function(e,t){return e(t)},sh=Ee;function Ks(e){e()}function lh(e){return e}function ch(){return[!1,Ks]}var fh=Bn,dh=Sr;function ph(e,t){var n=t(),r=He({h:{__:n,v:t}}),i=r[0].h,a=r[1];return Bn(function(){i.__=n,i.v=t,So(i.__,t())||a({h:i})},[e,n,t]),de(function(){return So(i.__,i.v())||a({h:i}),e(function(){So(i.__,i.v())||a({h:i})})},[e]),n}var Z={useState:He,useId:Hp,useReducer:jn,useEffect:de,useLayoutEffect:Bn,useInsertionEffect:fh,useTransition:ch,useDeferredValue:lh,useSyncExternalStore:ph,startTransition:Ks,useRef:ie,useImperativeHandle:Up,useMemo:ce,useCallback:en,useContext:Ne,useDebugValue:xp,version:"17.0.2",Children:Gp,render:Zp,hydrate:eh,unmountComponentAtNode:ih,createPortal:Us,createElement:F,createContext:Fe,createFactory:nh,cloneElement:Hs,createRef:ti,Fragment:Ee,isValidElement:Sr,isElement:dh,isFragment:rh,findDOMNode:ah,Component:nt,PureComponent:ba,memo:qp,forwardRef:pe,flushSync:uh,unstable_batchedUpdates:oh,StrictMode:sh,Suspense:Wr,SuspenseList:Vn,lazy:Qp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:th};const cr=Object.freeze(Object.defineProperty({__proto__:null,Children:Gp,Component:nt,Fragment:Ee,PureComponent:ba,StrictMode:sh,Suspense:Wr,SuspenseList:Vn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:th,cloneElement:Hs,createContext:Fe,createElement:F,createFactory:nh,createPortal:Us,createRef:ti,default:Z,findDOMNode:ah,flushSync:uh,forwardRef:pe,hydrate:eh,isElement:dh,isFragment:rh,isValidElement:Sr,lazy:Qp,memo:qp,render:Zp,startTransition:Ks,unmountComponentAtNode:ih,unstable_batchedUpdates:oh,useCallback:en,useContext:Ne,useDebugValue:xp,useDeferredValue:lh,useEffect:de,useErrorBoundary:N0,useId:Hp,useImperativeHandle:Up,useInsertionEffect:fh,useLayoutEffect:Bn,useMemo:ce,useReducer:jn,useRef:ie,useState:He,useSyncExternalStore:ph,useTransition:ch,version:X0},Symbol.toStringTag,{value:"Module"}));var hh={exports:{}};(function(e,t){(function(){function n(){var r=window,i=document;if("scrollBehavior"in i.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var a=r.HTMLElement||r.Element,o=468,u={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:a.prototype.scroll||l,scrollIntoView:a.prototype.scrollIntoView},s=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(g){var E=["MSIE ","Trident/","Edge/"];return new RegExp(E.join("|")).test(g)}var f=c(r.navigator.userAgent)?1:0;function l(g,E){this.scrollLeft=g,this.scrollTop=E}function d(g){return .5*(1-Math.cos(Math.PI*g))}function v(g){if(g===null||typeof g!="object"||g.behavior===void 0||g.behavior==="auto"||g.behavior==="instant")return!0;if(typeof g=="object"&&g.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+g.behavior+" is not a valid value for enumeration ScrollBehavior.")}function p(g,E){if(E==="Y")return g.clientHeight+f<g.scrollHeight;if(E==="X")return g.clientWidth+f<g.scrollWidth}function h(g,E){var O=r.getComputedStyle(g,null)["overflow"+E];return O==="auto"||O==="scroll"}function b(g){var E=p(g,"Y")&&h(g,"Y"),O=p(g,"X")&&h(g,"X");return E||O}function _(g){for(;g!==i.body&&b(g)===!1;)g=g.parentNode||g.host;return g}function y(g){var E=s(),O,S,w,P=(E-g.startTime)/o;P=P>1?1:P,O=d(P),S=g.startX+(g.x-g.startX)*O,w=g.startY+(g.y-g.startY)*O,g.method.call(g.scrollable,S,w),(S!==g.x||w!==g.y)&&r.requestAnimationFrame(y.bind(r,g))}function m(g,E,O){var S,w,P,A,R=s();g===i.body?(S=r,w=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(S=g,w=g.scrollLeft,P=g.scrollTop,A=l),y({scrollable:S,method:A,startTime:R,startX:w,startY:P,x:E,y:O})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(v(arguments[0])===!0){u.scroll.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:r.scrollY||r.pageYOffset);return}m.call(r,i.body,arguments[0].left!==void 0?~~arguments[0].left:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:r.scrollY||r.pageYOffset)}},r.scrollBy=function(){if(arguments[0]!==void 0){if(v(arguments[0])){u.scrollBy.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}m.call(r,i.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},a.prototype.scroll=a.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(v(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");u.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var g=arguments[0].left,E=arguments[0].top;m.call(this,this,typeof g>"u"?this.scrollLeft:~~g,typeof E>"u"?this.scrollTop:~~E)}},a.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(v(arguments[0])===!0){u.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},a.prototype.scrollIntoView=function(){if(v(arguments[0])===!0){u.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var g=_(this),E=g.getBoundingClientRect(),O=this.getBoundingClientRect();g!==i.body?(m.call(this,g,g.scrollLeft+O.left-E.left,g.scrollTop+O.top-E.top),r.getComputedStyle(g).position!=="fixed"&&r.scrollBy({left:E.left,top:E.top,behavior:"smooth"})):r.scrollBy({left:O.left,top:O.top,behavior:"smooth"})}}e.exports={polyfill:n}})()})(hh);var Q0=hh.exports;const zR=pi(Q0);globalThis&&globalThis.__spreadArray;function J0(e){return e}function Z0(e){return function(){return e}}var eb=Z0(void 0);function qR(e,t,n,r,i,a,o,u,s){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return i(r(n(t(e))));case 6:return a(i(r(n(t(e)))));case 7:return o(a(i(r(n(t(e))))));case 8:return u(o(a(i(r(n(t(e)))))));case 9:return s(u(o(a(i(r(n(t(e))))))));default:{for(var c=arguments[0],f=1;f<arguments.length;f++)c=arguments[f](c);return c}}}globalThis&&globalThis.__spreadArray;var tb=function(e){return e._tag==="Some"},nb={_tag:"None"},rb=function(e){return{_tag:"Some",value:e}},Ws=nb,vh=rb,GR=function(e){return function(t){return za(t)?Ws:vh(e(t.value))}},VR=tb,za=function(e){return e._tag==="None"},ib=function(e,t){return function(n){return za(n)?e():t(n.value)}},mh=ib,YR=mh,ab=function(e){return function(t){return za(t)?e():t.value}},XR=ab,ob=function(e){return e==null?Ws:vh(e)},QR=function(e){return function(t){return za(t)?Ws:ob(e(t.value))}},JR=mh(eb,J0);function fr(){return fr=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},fr.apply(null,arguments)}var Yn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Yn||(Yn={}));var Ic=function(e){return e},Rc="beforeunload",ub="hashchange",sb="popstate";function ZR(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function a(){var w=Nc(r.location.hash.substr(1)),P=w.pathname,A=P===void 0?"/":P,R=w.search,$=R===void 0?"":R,j=w.hash,I=j===void 0?"":j,C=i.state||{};return[C.idx,Ic({pathname:A,search:$,hash:I,state:C.usr||null,key:C.key||"default"})]}var o=null;function u(){if(o)v.call(o),o=null;else{var w=Yn.Pop,P=a(),A=P[0],R=P[1];if(v.length){if(A!=null){var $=f-A;$&&(o={action:w,location:R,retry:function(){O($*-1)}},O($))}}else m(w)}}r.addEventListener(sb,u),r.addEventListener(ub,function(){var w=a(),P=w[1];Oo(P)!==Oo(l)&&u()});var s=Yn.Pop,c=a(),f=c[0],l=c[1],d=kc(),v=kc();f==null&&(f=0,i.replaceState(fr({},i.state,{idx:f}),""));function p(){var w=document.querySelector("base"),P="";if(w&&w.getAttribute("href")){var A=r.location.href,R=A.indexOf("#");P=R===-1?A:A.slice(0,R)}return P}function h(w){return p()+"#"+(typeof w=="string"?w:Oo(w))}function b(w,P){return P===void 0&&(P=null),Ic(fr({pathname:l.pathname,hash:"",search:""},typeof w=="string"?Nc(w):w,{state:P,key:lb()}))}function _(w,P){return[{usr:w.state,key:w.key,idx:P},h(w)]}function y(w,P,A){return!v.length||(v.call({action:w,location:P,retry:A}),!1)}function m(w){s=w;var P=a();f=P[0],l=P[1],d.call({action:s,location:l})}function g(w,P){var A=Yn.Push,R=b(w,P);function $(){g(w,P)}if(y(A,R,$)){var j=_(R,f+1),I=j[0],C=j[1];try{i.pushState(I,"",C)}catch{r.location.assign(C)}m(A)}}function E(w,P){var A=Yn.Replace,R=b(w,P);function $(){E(w,P)}if(y(A,R,$)){var j=_(R,f),I=j[0],C=j[1];i.replaceState(I,"",C),m(A)}}function O(w){i.go(w)}var S={get action(){return s},get location(){return l},createHref:h,push:g,replace:E,go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(P){return d.push(P)},block:function(P){var A=v.push(P);return v.length===1&&r.addEventListener(Rc,Lc),function(){A(),v.length||r.removeEventListener(Rc,Lc)}}};return S}function Lc(e){e.preventDefault(),e.returnValue=""}function kc(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function lb(){return Math.random().toString(36).substr(2,8)}function Oo(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,a=e.hash,o=a===void 0?"":a;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(n+=o.charAt(0)==="#"?o:"#"+o),n}function Nc(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var cb={};function yh(e,t){for(var n in t)e[n]=t[n];return e}function gh(e,t,n){var r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),a={},o;if(i&&i[1])for(var u=i[1].split("&"),s=0;s<u.length;s++){var c=u[s].split("=");a[decodeURIComponent(c[0])]=decodeURIComponent(c.slice(1).join("="))}e=Nu(e.replace(r,"")),t=Nu(t||"");for(var f=Math.max(e.length,t.length),l=0;l<f;l++)if(t[l]&&t[l].charAt(0)===":"){var d=t[l].replace(/(^:|[+*?]+$)/g,""),v=(t[l].match(/[+*?]+$/)||cb)[0]||"",p=~v.indexOf("+"),h=~v.indexOf("*"),b=e[l]||"";if(!b&&!h&&(v.indexOf("?")<0||p)){o=!1;break}if(a[d]=decodeURIComponent(b),p||h){a[d]=e.slice(l).map(decodeURIComponent).join("/");break}}else if(t[l]!==e[l]){o=!1;break}return n.default!==!0&&o===!1?!1:a}function fb(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function db(e,t){return e.index=t,e.rank=vb(e),e.props}function Nu(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function pb(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function hb(e){return Nu(e).map(pb).join("")}function vb(e){return e.props.default?0:hb(e.props.path)}var et=null,Tn=[],Mu=[],mb={};function yb(e,t){t===void 0&&(t="push"),et&&et[t]?et[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function zs(){var e;return et&&et.location?e=et.location:et&&et.getCurrentLocation?e=et.getCurrentLocation():e=typeof location<"u"?location:mb,""+(e.pathname||"")+(e.search||"")}function bh(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),gb(e)&&yb(e,t?"replace":"push"),_h(e)}function gb(e){for(var t=Tn.length;t--;)if(Tn[t].canRoute(e))return!0;return!1}function _h(e){for(var t=!1,n=0;n<Tn.length;n++)Tn[n].routeTo(e)===!0&&(t=!0);for(var r=Mu.length;r--;)Mu[r](e);return t}function wh(e){if(!(!e||!e.getAttribute)){var t=e.getAttribute("href"),n=e.getAttribute("target");if(!(!t||!t.match(/^\//g)||n&&!n.match(/^_?self$/i)))return bh(t)}}function bb(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return wh(e.currentTarget||e.target||this),Eh(e)}function Eh(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function _b(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)){var t=e.target;do if(String(t.nodeName).toUpperCase()==="A"&&t.getAttribute("href")){if(t.hasAttribute("native"))return;if(wh(t))return Eh(e)}while(t=t.parentNode)}}var Mc=!1;function wb(){Mc||(typeof addEventListener=="function"&&(et||addEventListener("popstate",function(){_h(zs())}),addEventListener("click",_b)),Mc=!0)}var cn=function(e){function t(n){e.call(this,n),n.history&&(et=n.history),this.state={url:n.url||zs()},wb()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.shouldComponentUpdate=function(r){return r.static!==!0?!0:r.url!==this.props.url||r.onChange!==this.props.onChange},t.prototype.canRoute=function(r){var i=yt(this.props.children);return this.getMatchingChildren(i,r,!1).length>0},t.prototype.routeTo=function(r){this.setState({url:r});var i=this.canRoute(r);return this.updating||this.forceUpdate(),i},t.prototype.componentWillMount=function(){Tn.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;et&&(this.unlisten=et.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),Tn.splice(Tn.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(r,i,a){return r.filter(db).sort(fb).map(function(o){var u=gh(i,o.props.path,o.props);if(u){if(a!==!1){var s={url:i,matches:u};return yh(s,u),delete s.ref,delete s.key,Bp(o,s)}return o}}).filter(Boolean)},t.prototype.render=function(r,i){var a=r.children,o=r.onChange,u=i.url,s=this.getMatchingChildren(yt(a),u,!0),c=s[0]||null,f=this.previousUrl;return u!==f&&(this.previousUrl=u,typeof o=="function"&&o({router:this,url:u,previous:f,active:s,current:c})),c},t}(nt),Eb=function(e){return F("a",yh({onClick:bb},e))},Sb=function(e){return F(e.component,e)};cn.subscribers=Mu;cn.getCurrentUrl=zs;cn.route=bh;cn.Router=cn;cn.Route=Sb;cn.Link=Eb;cn.exec=gh;const Ob="application/json",Sh="Content-Type",xn=Symbol(),Oh=Symbol();function Dc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===Sh.toLowerCase()))===null||t===void 0?void 0:t[1]}function $c(e){return/^application\/.*json.*/.test(e)}const Cn=function(e,t,n=!1){return Object.entries(t).reduce((r,[i,a])=>{const o=e[i];return Array.isArray(o)&&Array.isArray(a)?r[i]=n?[...o,...a]:a:typeof o=="object"&&typeof a=="object"?r[i]=Cn(o,a,n):r[i]=a,r},{...e})},dr={options:{},errorType:"text",polyfills:{},polyfill(e,t=!0,n=!1,...r){const i=this.polyfills[e]||(typeof self<"u"?self[e]:null)||(typeof global<"u"?global[e]:null);if(t&&!i)throw new Error(e+" is not defined");return n&&i?new i(...r):i}};function Pb(e,t=!1){dr.options=t?e:Cn(dr.options,e)}function Ab(e,t=!1){dr.polyfills=t?e:Cn(dr.polyfills,e)}function Tb(e){dr.errorType=e}const Cb=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Ph extends Error{}const Ib=e=>{const t=Object.create(null);e=e._addons.reduce((m,g)=>g.beforeRequest&&g.beforeRequest(m,e._options,t)||m,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:s}=e,c=new Map(a),f=Cn(i.options,r);let l=n;const d=Cb(u)((m,g)=>(l=m,i.polyfill("fetch")(m,g)))(n,f),v=new Error,p=d.catch(m=>{throw{[xn]:m}}).then(m=>{if(!m.ok){const g=new Ph;if(g.cause=v,g.stack=g.stack+`
4
+ CAUSE: `+v.stack,g.response=m,g.url=l,m.type==="opaque")throw g;return m.text().then(E=>{var O;if(g.message=E,i.errorType==="json"||((O=m.headers.get("Content-Type"))===null||O===void 0?void 0:O.split(";")[0])==="application/json")try{g.json=JSON.parse(E)}catch{}throw g.text=E,g.status=m.status,g})}return m}),h=m=>m.catch(g=>{const E=g.hasOwnProperty(xn),O=E?g[xn]:g,S=(O==null?void 0:O.status)&&c.get(O.status)||c.get(O==null?void 0:O.name)||E&&c.has(xn)&&c.get(xn);if(S)return S(O,e);const w=c.get(Oh);if(w)return w(O,e);throw O}),b=m=>g=>h(m?p.then(E=>E&&E[m]()).then(E=>g?g(E):E):p.then(E=>g?g(E):E)),_={_wretchReq:e,_fetchReq:d,_sharedState:t,res:b(null),json:b("json"),blob:b("blob"),formData:b("formData"),arrayBuffer:b("arrayBuffer"),text:b("text"),error(m,g){return c.set(m,g),this},badRequest(m){return this.error(400,m)},unauthorized(m){return this.error(401,m)},forbidden(m){return this.error(403,m)},notFound(m){return this.error(404,m)},timeout(m){return this.error(408,m)},internalError(m){return this.error(500,m)},fetchError(m){return this.error(xn,m)}},y=s.reduce((m,g)=>({...m,...typeof g.resolver=="function"?g.resolver(m):g.resolver}),_);return o.reduce((m,g)=>g(m,e),y)},Rb={_url:"",_options:{},_config:dr,_catchers:new Map,_resolvers:[],_deferred:[],_middlewares:[],_addons:[],addon(e){return{...this,_addons:[...this._addons,e],...e.wretch}},errorType(e){return{...this,_config:{...this._config,errorType:e}}},polyfills(e,t=!1){return{...this,_config:{...this._config,polyfills:t?e:Cn(this._config.polyfills,e)}}},url(e,t=!1){if(t)return{...this,_url:e};const n=this._url.split("?");return{...this,_url:n.length>1?n[0]+e+"?"+n[1]:this._url+e}},options(e,t=!1){return{...this,_options:t?e:Cn(this._options,e)}},headers(e){const t=e?Array.isArray(e)?Object.fromEntries(e):"entries"in e?Object.fromEntries(e.entries()):e:{};return{...this,_options:Cn(this._options,{headers:t})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[Sh]:e})},auth(e){return this.headers({Authorization:e})},catcher(e,t){const n=new Map(this._catchers);return n.set(e,t),{...this,_catchers:n}},catcherFallback(e){return this.catcher(Oh,e)},resolve(e,t=!1){return{...this,_resolvers:t?[e]:[...this._resolvers,e]}},defer(e,t=!1){return{...this,_deferred:t?[e]:[...this._deferred,e]}},middlewares(e,t=!1){return{...this,_middlewares:t?e:[...this._middlewares,...e]}},fetch(e=this._options.method,t="",n=null){let r=this.url(t).options({method:e});const i=Dc(r._options.headers),a=this._config.polyfill("FormData",!1),o=typeof n=="object"&&!(a&&n instanceof a)&&(!r._options.headers||!i||$c(i));return r=n?o?r.json(n,i):r.body(n):r,Ib(r._deferred.reduce((u,s)=>s(u,u._url,u._options),r))},get(e=""){return this.fetch("GET",e)},delete(e=""){return this.fetch("DELETE",e)},put(e,t=""){return this.fetch("PUT",t,e)},post(e,t=""){return this.fetch("POST",t,e)},patch(e,t=""){return this.fetch("PATCH",t,e)},head(e=""){return this.fetch("HEAD",e)},opts(e=""){return this.fetch("OPTIONS",e)},body(e){return{...this,_options:{...this._options,body:e}}},json(e,t){const n=Dc(this._options.headers);return this.content(t||$c(n)&&n||Ob).body(JSON.stringify(e))}};function pr(e="",t={}){return{...Rb,_url:e,_options:t}}pr.default=pr;pr.options=Pb;pr.errorType=Tb;pr.polyfills=Ab;pr.WretchError=Ph;function jc(e){return typeof e<"u"?e:""}const Lb=(e,t,n,r,i)=>{let a;if(typeof t=="string")a=t;else{const u=i.polyfill("URLSearchParams",!0,!0);for(const s in t){const c=t[s];if(!(r&&c==null))if(t[s]instanceof Array)for(const f of c)u.append(s,jc(f));else u.append(s,jc(c))}a=u.toString()}const o=e.split("?");return a?n||o.length<2?o[0]+"?"+a:e+"&"+a:n?o[0]:e},kb={wretch:{query(e,t=!1,n=!1){return{...this,_url:Lb(this._url,e,t,n,this._config)}}}},eL=kb;var Nb=0;function tL(e,t,n,r,i,a){var o,u,s={};for(u in t)u=="ref"?o=t[u]:s[u]=t[u];var c={type:e,props:s,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Nb,__source:i,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(u in o)s[u]===void 0&&(s[u]=o[u]);return Y.vnode&&Y.vnode(c),c}var ft={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,R=w.length,$;A<R;A++)($||!(A in w))&&($||($=Array.prototype.slice.call(w,0,A)),$[A]=w[A]);return S.concat($||Array.prototype.slice.call(w))};Object.defineProperty(e,"__esModule",{value:!0}),e.dual=e.getEndomorphismMonoid=e.not=e.SK=e.hole=e.pipe=e.untupled=e.tupled=e.absurd=e.decrement=e.increment=e.tuple=e.flow=e.flip=e.constVoid=e.constUndefined=e.constNull=e.constFalse=e.constTrue=e.constant=e.unsafeCoerce=e.identity=e.apply=e.getRing=e.getSemiring=e.getMonoid=e.getSemigroup=e.getBooleanAlgebra=void 0;var n=function(S){return function(){return{meet:function(w,P){return function(A){return S.meet(w(A),P(A))}},join:function(w,P){return function(A){return S.join(w(A),P(A))}},zero:function(){return S.zero},one:function(){return S.one},implies:function(w,P){return function(A){return S.implies(w(A),P(A))}},not:function(w){return function(P){return S.not(w(P))}}}}};e.getBooleanAlgebra=n;var r=function(S){return function(){return{concat:function(w,P){return function(A){return S.concat(w(A),P(A))}}}}};e.getSemigroup=r;var i=function(S){var w=(0,e.getSemigroup)(S);return function(){return{concat:w().concat,empty:function(){return S.empty}}}};e.getMonoid=i;var a=function(S){return{add:function(w,P){return function(A){return S.add(w(A),P(A))}},zero:function(){return S.zero},mul:function(w,P){return function(A){return S.mul(w(A),P(A))}},one:function(){return S.one}}};e.getSemiring=a;var o=function(S){var w=(0,e.getSemiring)(S);return{add:w.add,mul:w.mul,one:w.one,zero:w.zero,sub:function(P,A){return function(R){return S.sub(P(R),A(R))}}}};e.getRing=o;var u=function(S){return function(w){return w(S)}};e.apply=u;function s(S){return S}e.identity=s,e.unsafeCoerce=s;function c(S){return function(){return S}}e.constant=c,e.constTrue=c(!0),e.constFalse=c(!1),e.constNull=c(null),e.constUndefined=c(void 0),e.constVoid=e.constUndefined;function f(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return w.length>1?S(w[1],w[0]):function(A){return S(A)(w[0])}}}e.flip=f;function l(S,w,P,A,R,$,j,I,C){switch(arguments.length){case 1:return S;case 2:return function(){return w(S.apply(this,arguments))};case 3:return function(){return P(w(S.apply(this,arguments)))};case 4:return function(){return A(P(w(S.apply(this,arguments))))};case 5:return function(){return R(A(P(w(S.apply(this,arguments)))))};case 6:return function(){return $(R(A(P(w(S.apply(this,arguments))))))};case 7:return function(){return j($(R(A(P(w(S.apply(this,arguments)))))))};case 8:return function(){return I(j($(R(A(P(w(S.apply(this,arguments))))))))};case 9:return function(){return C(I(j($(R(A(P(w(S.apply(this,arguments)))))))))}}}e.flow=l;function d(){for(var S=[],w=0;w<arguments.length;w++)S[w]=arguments[w];return S}e.tuple=d;function v(S){return S+1}e.increment=v;function p(S){return S-1}e.decrement=p;function h(S){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=h;function b(S){return function(w){return S.apply(void 0,w)}}e.tupled=b;function _(S){return function(){for(var w=[],P=0;P<arguments.length;P++)w[P]=arguments[P];return S(w)}}e.untupled=_;function y(S,w,P,A,R,$,j,I,C){switch(arguments.length){case 1:return S;case 2:return w(S);case 3:return P(w(S));case 4:return A(P(w(S)));case 5:return R(A(P(w(S))));case 6:return $(R(A(P(w(S)))));case 7:return j($(R(A(P(w(S))))));case 8:return I(j($(R(A(P(w(S)))))));case 9:return C(I(j($(R(A(P(w(S))))))));default:{for(var L=arguments[0],M=1;M<arguments.length;M++)L=arguments[M](L);return L}}}e.pipe=y,e.hole=h;var m=function(S,w){return w};e.SK=m;function g(S){return function(w){return!S(w)}}e.not=g;var E=function(){return{concat:function(S,w){return l(S,w)},empty:s}};e.getEndomorphismMonoid=E;var O=function(S,w){var P=typeof S=="number"?function(A){return A.length>=S}:S;return function(){var A=Array.from(arguments);return P(arguments)?w.apply(this,A):function(R){return w.apply(void 0,t([R],A,!1))}}};e.dual=O})(ft);function ht(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function hr(e){return!!e&&!!e[rt]}function kn(e){var t;return!!e&&(function(n){if(!n||typeof n!="object")return!1;var r=Object.getPrototypeOf(n);if(r===null)return!0;var i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===xb}(e)||Array.isArray(e)||!!e[zc]||!!(!((t=e.constructor)===null||t===void 0)&&t[zc])||qs(e)||Gs(e))}function ri(e,t,n){n===void 0&&(n=!1),Or(e)===0?(n?Object.keys:Js)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function Or(e){var t=e[rt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:qs(e)?2:Gs(e)?3:0}function Du(e,t){return Or(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Mb(e,t){return Or(e)===2?e.get(t):e[t]}function Ah(e,t,n){var r=Or(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Db(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function qs(e){return Fb&&e instanceof Map}function Gs(e){return Ub&&e instanceof Set}function gn(e){return e.o||e.t}function Vs(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Hb(e);delete t[rt];for(var n=Js(t),r=0;r<n.length;r++){var i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Ys(e,t){return t===void 0&&(t=!1),Xs(e)||hr(e)||!kn(e)||(Or(e)>1&&(e.set=e.add=e.clear=e.delete=$b),Object.freeze(e),t&&ri(e,function(n,r){return Ys(r,!0)},!0)),e}function $b(){ht(2)}function Xs(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function It(e){var t=Kb[e];return t||ht(18,e),t}function Bc(){return ii}function Po(e,t){t&&(It("Patches"),e.u=[],e.s=[],e.v=t)}function _a(e){$u(e),e.p.forEach(jb),e.p=null}function $u(e){e===ii&&(ii=e.l)}function Fc(e){return ii={p:[],l:ii,h:e,m:!0,_:0}}function jb(e){var t=e[rt];t.i===0||t.i===1?t.j():t.g=!0}function Ao(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||It("ES5").S(t,e,r),r?(n[rt].P&&(_a(t),ht(4)),kn(e)&&(e=wa(t,e),t.l||Ea(t,e)),t.u&&It("Patches").M(n[rt].t,e,t.u,t.s)):e=wa(t,n,[]),_a(t),t.u&&t.v(t.u,t.s),e!==Th?e:void 0}function wa(e,t,n){if(Xs(t))return t;var r=t[rt];if(!r)return ri(t,function(u,s){return Uc(e,r,t,u,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Ea(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=Vs(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),ri(a,function(u,s){return Uc(e,r,i,u,s,n,o)}),Ea(e,i,!1),n&&e.u&&It("Patches").N(r,n,e.u,e.s)}return r.o}function Uc(e,t,n,r,i,a,o){if(hr(i)){var u=wa(e,i,a&&t&&t.i!==3&&!Du(t.R,r)?a.concat(r):void 0);if(Ah(n,r,u),!hr(u))return;e.m=!1}else o&&n.add(i);if(kn(i)&&!Xs(i)){if(!e.h.D&&e._<1)return;wa(e,i),t&&t.A.l||Ea(e,i)}}function Ea(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&Ys(t,n)}function To(e,t){var n=e[rt];return(n?gn(n):e)[t]}function xc(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function ju(e){e.P||(e.P=!0,e.l&&ju(e.l))}function Co(e){e.o||(e.o=Vs(e.t))}function Bu(e,t,n){var r=qs(t)?It("MapSet").F(t,n):Gs(t)?It("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:Bc(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},s=u,c=Fu;o&&(s=[u],c=Fr);var f=Proxy.revocable(s,c),l=f.revoke,d=f.proxy;return u.k=d,u.j=l,d}(t,n):It("ES5").J(t,n);return(n?n.A:Bc()).p.push(r),r}function Bb(e){return hr(e)||ht(22,e),function t(n){if(!kn(n))return n;var r,i=n[rt],a=Or(n);if(i){if(!i.P&&(i.i<4||!It("ES5").K(i)))return i.t;i.I=!0,r=Hc(n,a),i.I=!1}else r=Hc(n,a);return ri(r,function(o,u){i&&Mb(i.t,o)===u||Ah(r,o,t(u))}),a===3?new Set(r):r}(e)}function Hc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Vs(e)}var Kc,ii,Qs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Fb=typeof Map<"u",Ub=typeof Set<"u",Wc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Th=Qs?Symbol.for("immer-nothing"):((Kc={})["immer-nothing"]=!0,Kc),zc=Qs?Symbol.for("immer-draftable"):"__$immer_draftable",rt=Qs?Symbol.for("immer-state"):"__$immer_state",xb=""+Object.prototype.constructor,Js=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Hb=Object.getOwnPropertyDescriptors||function(e){var t={};return Js(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},Kb={},Fu={get:function(e,t){if(t===rt)return e;var n=gn(e);if(!Du(n,t))return function(i,a,o){var u,s=xc(a,o);return s?"value"in s?s.value:(u=s.get)===null||u===void 0?void 0:u.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!kn(r)?r:r===To(e.t,t)?(Co(e),e.o[t]=Bu(e.A.h,r,e)):r},has:function(e,t){return t in gn(e)},ownKeys:function(e){return Reflect.ownKeys(gn(e))},set:function(e,t,n){var r=xc(gn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=To(gn(e),t),a=i==null?void 0:i[rt];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Db(n,i)&&(n!==void 0||Du(e.t,t)))return!0;Co(e),ju(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return To(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Co(e),ju(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=gn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){ht(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ht(12)}},Fr={};ri(Fu,function(e,t){Fr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Fr.deleteProperty=function(e,t){return Fr.set.call(this,e,t,void 0)},Fr.set=function(e,t,n){return Fu.set.call(this,e[0],t,n,e[0])};var Wb=function(){function e(n){var r=this;this.O=Wc,this.D=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var u=a;a=i;var s=r;return function(h){var b=this;h===void 0&&(h=u);for(var _=arguments.length,y=Array(_>1?_-1:0),m=1;m<_;m++)y[m-1]=arguments[m];return s.produce(h,function(g){var E;return(E=a).call.apply(E,[b,g].concat(y))})}}var c;if(typeof a!="function"&&ht(6),o!==void 0&&typeof o!="function"&&ht(7),kn(i)){var f=Fc(r),l=Bu(r,i,void 0),d=!0;try{c=a(l),d=!1}finally{d?_a(f):$u(f)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return Po(f,o),Ao(h,f)},function(h){throw _a(f),h}):(Po(f,o),Ao(c,f))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===Th&&(c=void 0),r.D&&Ys(c,!0),o){var v=[],p=[];It("Patches").M(i,c,v,p),o(v,p)}return c}ht(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(c){for(var f=arguments.length,l=Array(f>1?f-1:0),d=1;d<f;d++)l[d-1]=arguments[d];return r.produceWithPatches(c,function(v){return i.apply(void 0,[v].concat(l))})};var o,u,s=r.produce(i,a,function(c,f){o=c,u=f});return typeof Promise<"u"&&s instanceof Promise?s.then(function(c){return[c,o,u]}):[s,o,u]},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){kn(n)||ht(8),hr(n)&&(n=Bb(n));var r=Fc(this),i=Bu(this,n,void 0);return i[rt].C=!0,$u(r),i},t.finishDraft=function(n,r){var i=n&&n[rt],a=i.A;return Po(a,r),Ao(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!Wc&&ht(20),this.O=n},t.applyPatches=function(n,r){var i;for(i=r.length-1;i>=0;i--){var a=r[i];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}i>-1&&(r=r.slice(i+1));var o=It("Patches").$;return hr(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),it=new Wb,nL=it.produce;it.produceWithPatches.bind(it);it.setAutoFreeze.bind(it);it.setUseProxies.bind(it);it.applyPatches.bind(it);it.createDraft.bind(it);it.finishDraft.bind(it);var zb={},vr={},Ke={},Pr={};(function(e){var t=J&&J.__spreadArray||function(S,w,P){if(P||arguments.length===2)for(var A=0,R=w.length,$;A<R;A++)($||!(A in w))&&($||($=Array.prototype.slice.call(w,0,A)),$[A]=w[A]);return S.concat($||Array.prototype.slice.call(w))};Object.defineProperty(e,"__esModule",{value:!0}),e.flatMapReader=e.flatMapTask=e.flatMapIO=e.flatMapEither=e.flatMapOption=e.flatMapNullable=e.liftOption=e.liftNullable=e.fromReadonlyNonEmptyArray=e.has=e.emptyRecord=e.emptyReadonlyArray=e.tail=e.head=e.isNonEmpty=e.singleton=e.right=e.left=e.isRight=e.isLeft=e.some=e.none=e.isSome=e.isNone=void 0;var n=ft,r=function(S){return S._tag==="None"};e.isNone=r;var i=function(S){return S._tag==="Some"};e.isSome=i,e.none={_tag:"None"};var a=function(S){return{_tag:"Some",value:S}};e.some=a;var o=function(S){return S._tag==="Left"};e.isLeft=o;var u=function(S){return S._tag==="Right"};e.isRight=u;var s=function(S){return{_tag:"Left",left:S}};e.left=s;var c=function(S){return{_tag:"Right",right:S}};e.right=c;var f=function(S){return[S]};e.singleton=f;var l=function(S){return S.length>0};e.isNonEmpty=l;var d=function(S){return S[0]};e.head=d;var v=function(S){return S.slice(1)};e.tail=v,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var p=function(S){return t([S[0]],S.slice(1),!0)};e.fromReadonlyNonEmptyArray=p;var h=function(S){return function(w,P){return function(){for(var A=[],R=0;R<arguments.length;R++)A[R]=arguments[R];var $=w.apply(void 0,A);return S.fromEither($==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)($))}}};e.liftNullable=h;var b=function(S){return function(w,P){return function(){for(var A=[],R=0;R<arguments.length;R++)A[R]=arguments[R];var $=w.apply(void 0,A);return S.fromEither((0,e.isNone)($)?(0,e.left)(P.apply(void 0,A)):(0,e.right)($.value))}}};e.liftOption=b;var _=function(S,w){return(0,n.dual)(3,function(P,A,R){return w.flatMap(P,(0,e.liftNullable)(S)(A,R))})};e.flatMapNullable=_;var y=function(S,w){return(0,n.dual)(3,function(P,A,R){return w.flatMap(P,(0,e.liftOption)(S)(A,R))})};e.flatMapOption=y;var m=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(R){return S.fromEither(A(R))})})};e.flatMapEither=m;var g=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(R){return S.fromIO(A(R))})})};e.flatMapIO=g;var E=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(R){return S.fromTask(A(R))})})};e.flatMapTask=E;var O=function(S,w){return(0,n.dual)(2,function(P,A){return w.flatMap(P,function(R){return S.fromReader(A(R))})})};e.flatMapReader=O})(Pr);var qb=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),Gb=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Vb=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&qb(t,e,n);return Gb(t,e),t};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.sequenceS=Ke.sequenceT=Ke.getApplySemigroup=Ke.apS=Ke.apSecond=Ke.apFirst=Ke.ap=void 0;var Yb=ft,Xb=Vb(Pr);function Qb(e,t){return function(n){return function(r){return e.ap(e.map(r,function(i){return function(a){return t.ap(i,a)}}),n)}}}Ke.ap=Qb;function Jb(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}Ke.apFirst=Jb;function Zb(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}Ke.apSecond=Zb;function e1(e){return function(t,n){return function(r){return e.ap(e.map(r,function(i){return function(a){var o;return Object.assign({},i,(o={},o[t]=a,o))}}),n)}}}Ke.apS=e1;function t1(e){return function(t){return{concat:function(n,r){return e.ap(e.map(n,function(i){return function(a){return t.concat(i,a)}}),r)}}}}Ke.getApplySemigroup=t1;function Zs(e,t,n){return function(r){for(var i=Array(n.length+1),a=0;a<n.length;a++)i[a]=n[a];return i[n.length]=r,t===0?e.apply(null,i):Zs(e,t-1,i)}}var Io={1:function(e){return[e]},2:function(e){return function(t){return[e,t]}},3:function(e){return function(t){return function(n){return[e,t,n]}}},4:function(e){return function(t){return function(n){return function(r){return[e,t,n,r]}}}},5:function(e){return function(t){return function(n){return function(r){return function(i){return[e,t,n,r,i]}}}}}};function n1(e){return Xb.has.call(Io,e)||(Io[e]=Zs(Yb.tuple,e-1,[])),Io[e]}function r1(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=n1(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}Ke.sequenceT=r1;function i1(e){var t=e.length;switch(t){case 1:return function(n){var r;return r={},r[e[0]]=n,r};case 2:return function(n){return function(r){var i;return i={},i[e[0]]=n,i[e[1]]=r,i}};case 3:return function(n){return function(r){return function(i){var a;return a={},a[e[0]]=n,a[e[1]]=r,a[e[2]]=i,a}}};case 4:return function(n){return function(r){return function(i){return function(a){var o;return o={},o[e[0]]=n,o[e[1]]=r,o[e[2]]=i,o[e[3]]=a,o}}}};case 5:return function(n){return function(r){return function(i){return function(a){return function(o){var u;return u={},u[e[0]]=n,u[e[1]]=r,u[e[2]]=i,u[e[3]]=a,u[e[4]]=o,u}}}}};default:return Zs(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var i={},a=0;a<t;a++)i[e[a]]=n[a];return i},t-1,[])}}function a1(e){return function(t){for(var n=Object.keys(t),r=n.length,i=i1(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}Ke.sequenceS=a1;var xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.asUnit=xe.as=xe.getFunctorComposition=xe.let=xe.bindTo=xe.flap=xe.map=void 0;var o1=ft;function Ch(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}xe.map=Ch;function u1(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}xe.flap=u1;function s1(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}xe.bindTo=s1;function l1(e){return function(t,n){return function(r){return e.map(r,function(i){var a;return Object.assign({},i,(a={},a[t]=n(i),a))})}}}xe.let=l1;function c1(e,t){var n=Ch(e,t);return{map:function(r,i){return(0,o1.pipe)(r,n(i))}}}xe.getFunctorComposition=c1;function Ih(e){return function(t,n){return e.map(t,function(){return n})}}xe.as=Ih;function f1(e){var t=Ih(e);return function(n){return t(n,void 0)}}xe.asUnit=f1;Object.defineProperty(vr,"__esModule",{value:!0});vr.getApplicativeComposition=vr.getApplicativeMonoid=void 0;var Rh=Ke,d1=ft,p1=xe;function h1(e){var t=(0,Rh.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}vr.getApplicativeMonoid=h1;function v1(e,t){var n=(0,p1.getFunctorComposition)(e,t).map,r=(0,Rh.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,d1.pipe)(i,r(a))}}}vr.getApplicativeComposition=v1;var Ft={};Object.defineProperty(Ft,"__esModule",{value:!0});Ft.bind=Ft.tap=Ft.chainFirst=void 0;function m1(e){var t=Lh(e);return function(n){return function(r){return t(r,n)}}}Ft.chainFirst=m1;function Lh(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}Ft.tap=Lh;function y1(e){return function(t,n){return function(r){return e.chain(r,function(i){return e.map(n(i),function(a){var o;return Object.assign({},i,(o={},o[t]=a,o))})})}}}Ft.bind=y1;var Re={},g1=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),b1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),_1=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&g1(t,e,n);return b1(t,e),t};Object.defineProperty(Re,"__esModule",{value:!0});Re.tapEither=Re.filterOrElse=Re.chainFirstEitherK=Re.chainEitherK=Re.fromEitherK=Re.chainOptionK=Re.fromOptionK=Re.fromPredicate=Re.fromOption=void 0;var w1=Ft,kh=ft,In=_1(Pr);function Nh(e){return function(t){return function(n){return e.fromEither(In.isNone(n)?In.left(t()):In.right(n.value))}}}Re.fromOption=Nh;function E1(e){return function(t,n){return function(r){return e.fromEither(t(r)?In.right(r):In.left(n(r)))}}}Re.fromPredicate=E1;function Mh(e){var t=Nh(e);return function(n){var r=t(n);return function(i){return(0,kh.flow)(i,r)}}}Re.fromOptionK=Mh;function S1(e,t){var n=Mh(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Re.chainOptionK=S1;function el(e){return function(t){return(0,kh.flow)(t,e.fromEither)}}Re.fromEitherK=el;function O1(e,t){var n=el(e);return function(r){return function(i){return t.chain(i,n(r))}}}Re.chainEitherK=O1;function P1(e,t){var n=Dh(e,t);return function(r){return function(i){return n(i,r)}}}Re.chainFirstEitherK=P1;function A1(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?In.right(a):In.left(r(a)))})}}}Re.filterOrElse=A1;function Dh(e,t){var n=el(e),r=(0,w1.tap)(t);return function(i,a){return r(i,n(a))}}Re.tapEither=Dh;var $h={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.and=e.or=e.not=e.Contravariant=e.getMonoidAll=e.getSemigroupAll=e.getMonoidAny=e.getSemigroupAny=e.URI=e.contramap=void 0;var t=ft,n=function(l,d){return(0,t.pipe)(l,(0,e.contramap)(d))},r=function(l){return function(d){return(0,t.flow)(l,d)}};e.contramap=r,e.URI="Predicate";var i=function(){return{concat:function(l,d){return(0,t.pipe)(l,(0,e.or)(d))}}};e.getSemigroupAny=i;var a=function(){return{concat:(0,e.getSemigroupAny)().concat,empty:t.constFalse}};e.getMonoidAny=a;var o=function(){return{concat:function(l,d){return(0,t.pipe)(l,(0,e.and)(d))}}};e.getSemigroupAll=o;var u=function(){return{concat:(0,e.getSemigroupAll)().concat,empty:t.constTrue}};e.getMonoidAll=u,e.Contravariant={URI:e.URI,contramap:n};var s=function(l){return function(d){return!l(d)}};e.not=s;var c=function(l){return function(d){return function(v){return d(v)||l(v)}}};e.or=c;var f=function(l){return function(d){return function(v){return d(v)&&l(v)}}};e.and=f})($h);var jh={},lt={};Object.defineProperty(lt,"__esModule",{value:!0});lt.concatAll=lt.endo=lt.filterSecond=lt.filterFirst=lt.reverse=void 0;var T1=function(e){return{concat:function(t,n){return e.concat(n,t)}}};lt.reverse=T1;var C1=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};lt.filterFirst=C1;var I1=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};lt.filterSecond=I1;var R1=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};lt.endo=R1;var L1=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};lt.concatAll=L1;var Bh={},Fh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.eqDate=e.eqNumber=e.eqString=e.eqBoolean=e.eq=e.strictEqual=e.getStructEq=e.getTupleEq=e.Contravariant=e.getMonoid=e.getSemigroup=e.eqStrict=e.URI=e.contramap=e.tuple=e.struct=e.fromEquals=void 0;var t=ft,n=function(f){return{equals:function(l,d){return l===d||f(l,d)}}};e.fromEquals=n;var r=function(f){return(0,e.fromEquals)(function(l,d){for(var v in f)if(!f[v].equals(l[v],d[v]))return!1;return!0})};e.struct=r;var i=function(){for(var f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];return(0,e.fromEquals)(function(d,v){return f.every(function(p,h){return p.equals(d[h],v[h])})})};e.tuple=i;var a=function(f,l){return(0,t.pipe)(f,(0,e.contramap)(l))},o=function(f){return function(l){return(0,e.fromEquals)(function(d,v){return l.equals(f(d),f(v))})}};e.contramap=o,e.URI="Eq",e.eqStrict={equals:function(f,l){return f===l}};var u={equals:function(){return!0}},s=function(){return{concat:function(f,l){return(0,e.fromEquals)(function(d,v){return f.equals(d,v)&&l.equals(d,v)})}}};e.getSemigroup=s;var c=function(){return{concat:(0,e.getSemigroup)().concat,empty:u}};e.getMonoid=c,e.Contravariant={URI:e.URI,contramap:a},e.getTupleEq=e.tuple,e.getStructEq=e.struct,e.strictEqual=e.eqStrict.equals,e.eq=e.Contravariant,e.eqBoolean=e.eqStrict,e.eqString=e.eqStrict,e.eqNumber=e.eqStrict,e.eqDate={equals:function(f,l){return f.valueOf()===l.valueOf()}}})(Fh);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ordDate=e.ordNumber=e.ordString=e.ordBoolean=e.ord=e.getDualOrd=e.getTupleOrd=e.between=e.clamp=e.max=e.min=e.geq=e.leq=e.gt=e.lt=e.equals=e.trivial=e.Contravariant=e.getMonoid=e.getSemigroup=e.URI=e.contramap=e.reverse=e.tuple=e.fromCompare=e.equalsDefault=void 0;var t=Fh,n=ft,r=function(O){return function(S,w){return S===w||O(S,w)===0}};e.equalsDefault=r;var i=function(O){return{equals:(0,e.equalsDefault)(O),compare:function(S,w){return S===w?0:O(S,w)}}};e.fromCompare=i;var a=function(){for(var O=[],S=0;S<arguments.length;S++)O[S]=arguments[S];return(0,e.fromCompare)(function(w,P){for(var A=0;A<O.length-1;A++){var R=O[A].compare(w[A],P[A]);if(R!==0)return R}return O[A].compare(w[A],P[A])})};e.tuple=a;var o=function(O){return(0,e.fromCompare)(function(S,w){return O.compare(w,S)})};e.reverse=o;var u=function(O,S){return(0,n.pipe)(O,(0,e.contramap)(S))},s=function(O){return function(S){return(0,e.fromCompare)(function(w,P){return S.compare(O(w),O(P))})}};e.contramap=s,e.URI="Ord";var c=function(){return{concat:function(O,S){return(0,e.fromCompare)(function(w,P){var A=O.compare(w,P);return A!==0?A:S.compare(w,P)})}}};e.getSemigroup=c;var f=function(){return{concat:(0,e.getSemigroup)().concat,empty:(0,e.fromCompare)(function(){return 0})}};e.getMonoid=f,e.Contravariant={URI:e.URI,contramap:u},e.trivial={equals:n.constTrue,compare:(0,n.constant)(0)};var l=function(O){return function(S){return function(w){return w===S||O.compare(w,S)===0}}};e.equals=l;var d=function(O){return function(S,w){return O.compare(S,w)===-1}};e.lt=d;var v=function(O){return function(S,w){return O.compare(S,w)===1}};e.gt=v;var p=function(O){return function(S,w){return O.compare(S,w)!==1}};e.leq=p;var h=function(O){return function(S,w){return O.compare(S,w)!==-1}};e.geq=h;var b=function(O){return function(S,w){return S===w||O.compare(S,w)<1?S:w}};e.min=b;var _=function(O){return function(S,w){return S===w||O.compare(S,w)>-1?S:w}};e.max=_;var y=function(O){var S=(0,e.min)(O),w=(0,e.max)(O);return function(P,A){return function(R){return w(S(R,A),P)}}};e.clamp=y;var m=function(O){var S=(0,e.lt)(O),w=(0,e.gt)(O);return function(P,A){return function(R){return!(S(R,P)||w(R,A))}}};e.between=m,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function g(O,S){return O<S?-1:O>S?1:0}var E={equals:t.eqStrict.equals,compare:g};e.ordBoolean=E,e.ordString=E,e.ordNumber=E,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(O){return O.valueOf()}))})(Bh);(function(e){var t=J&&J.__createBinding||(Object.create?function(y,m,g,E){E===void 0&&(E=g);var O=Object.getOwnPropertyDescriptor(m,g);(!O||("get"in O?!m.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return m[g]}}),Object.defineProperty(y,E,O)}:function(y,m,g,E){E===void 0&&(E=g),y[E]=m[g]}),n=J&&J.__setModuleDefault||(Object.create?function(y,m){Object.defineProperty(y,"default",{enumerable:!0,value:m})}:function(y,m){y.default=m}),r=J&&J.__importStar||function(y){if(y&&y.__esModule)return y;var m={};if(y!=null)for(var g in y)g!=="default"&&Object.prototype.hasOwnProperty.call(y,g)&&t(m,y,g);return n(m,y),m};Object.defineProperty(e,"__esModule",{value:!0}),e.semigroupProduct=e.semigroupSum=e.semigroupString=e.getFunctionSemigroup=e.semigroupAny=e.semigroupAll=e.fold=e.getIntercalateSemigroup=e.getMeetSemigroup=e.getJoinSemigroup=e.getDualSemigroup=e.getStructSemigroup=e.getTupleSemigroup=e.getFirstSemigroup=e.getLastSemigroup=e.getObjectSemigroup=e.semigroupVoid=e.concatAll=e.last=e.first=e.intercalate=e.tuple=e.struct=e.reverse=e.constant=e.max=e.min=void 0;var i=ft,a=r(Pr),o=r(lt),u=r(Bh),s=function(y){return{concat:u.min(y)}};e.min=s;var c=function(y){return{concat:u.max(y)}};e.max=c;var f=function(y){return{concat:function(){return y}}};e.constant=f,e.reverse=o.reverse;var l=function(y){return{concat:function(m,g){var E={};for(var O in y)a.has.call(y,O)&&(E[O]=y[O].concat(m[O],g[O]));return E}}};e.struct=l;var d=function(){for(var y=[],m=0;m<arguments.length;m++)y[m]=arguments[m];return{concat:function(g,E){return y.map(function(O,S){return O.concat(g[S],E[S])})}}};e.tuple=d;var v=function(y){return function(m){return{concat:function(g,E){return m.concat(g,m.concat(y,E))}}}};e.intercalate=v;var p=function(){return{concat:i.identity}};e.first=p;var h=function(){return{concat:function(y,m){return m}}};e.last=h,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var b=function(){return{concat:function(y,m){return Object.assign({},y,m)}}};e.getObjectSemigroup=b,e.getLastSemigroup=e.last,e.getFirstSemigroup=e.first,e.getTupleSemigroup=e.tuple,e.getStructSemigroup=e.struct,e.getDualSemigroup=e.reverse,e.getJoinSemigroup=e.max,e.getMeetSemigroup=e.min,e.getIntercalateSemigroup=e.intercalate;function _(y){var m=(0,e.concatAll)(y);return function(g,E){return E===void 0?m(g):m(g)(E)}}e.fold=_,e.semigroupAll={concat:function(y,m){return y&&m}},e.semigroupAny={concat:function(y,m){return y||m}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(y,m){return y+m}},e.semigroupSum={concat:function(y,m){return y+m}},e.semigroupProduct={concat:function(y,m){return y*m}}})(jh);var Uh={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.right=e.left=e.flap=e.Functor=e.Bifunctor=e.URI=e.bimap=e.mapLeft=e.map=e.separated=void 0;var t=ft,n=xe,r=function(d,v){return{left:d,right:v}};e.separated=r;var i=function(d,v){return(0,t.pipe)(d,(0,e.map)(v))},a=function(d,v){return(0,t.pipe)(d,(0,e.mapLeft)(v))},o=function(d,v,p){return(0,t.pipe)(d,(0,e.bimap)(v,p))},u=function(d){return function(v){return(0,e.separated)((0,e.left)(v),d((0,e.right)(v)))}};e.map=u;var s=function(d){return function(v){return(0,e.separated)(d((0,e.left)(v)),(0,e.right)(v))}};e.mapLeft=s;var c=function(d,v){return function(p){return(0,e.separated)(d((0,e.left)(p)),v((0,e.right)(p)))}};e.bimap=c,e.URI="Separated",e.Bifunctor={URI:e.URI,mapLeft:a,bimap:o},e.Functor={URI:e.URI,map:i},e.flap=(0,n.flap)(e.Functor);var f=function(d){return d.left};e.left=f;var l=function(d){return d.right};e.right=l})(Uh);var on={},k1=J&&J.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),N1=J&&J.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),M1=J&&J.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&k1(t,e,n);return N1(t,e),t};Object.defineProperty(on,"__esModule",{value:!0});on.filterE=on.witherDefault=on.wiltDefault=void 0;var qc=M1(Pr);function D1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}on.wiltDefault=D1;function $1(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}on.witherDefault=$1;function j1(e){return function(t){var n=e.wither(t);return function(r){return function(i){return n(i,function(a){return t.map(r(a),function(o){return o?qc.some(a):qc.none})})}}}}on.filterE=j1;var qa={};Object.defineProperty(qa,"__esModule",{value:!0});qa.guard=void 0;function B1(e,t){return function(n){return n?t.of(void 0):e.zero()}}qa.guard=B1;(function(e){var t=J&&J.__createBinding||(Object.create?function(N,D,z,Te){Te===void 0&&(Te=z);var Je=Object.getOwnPropertyDescriptor(D,z);(!Je||("get"in Je?!D.__esModule:Je.writable||Je.configurable))&&(Je={enumerable:!0,get:function(){return D[z]}}),Object.defineProperty(N,Te,Je)}:function(N,D,z,Te){Te===void 0&&(Te=z),N[Te]=D[z]}),n=J&&J.__setModuleDefault||(Object.create?function(N,D){Object.defineProperty(N,"default",{enumerable:!0,value:D})}:function(N,D){N.default=D}),r=J&&J.__importStar||function(N){if(N&&N.__esModule)return N;var D={};if(N!=null)for(var z in N)z!=="default"&&Object.prototype.hasOwnProperty.call(N,z)&&t(D,N,z);return n(D,N),D};Object.defineProperty(e,"__esModule",{value:!0}),e.Witherable=e.wilt=e.wither=e.Traversable=e.sequence=e.traverse=e.Filterable=e.partitionMap=e.partition=e.filterMap=e.filter=e.Compactable=e.separate=e.compact=e.Extend=e.extend=e.Alternative=e.guard=e.Zero=e.zero=e.Alt=e.alt=e.altW=e.orElse=e.Foldable=e.reduceRight=e.foldMap=e.reduce=e.Monad=e.Chain=e.flatMap=e.Applicative=e.Apply=e.ap=e.Pointed=e.of=e.asUnit=e.as=e.Functor=e.map=e.getMonoid=e.getOrd=e.getEq=e.getShow=e.URI=e.getRight=e.getLeft=e.fromPredicate=e.some=e.none=void 0,e.getFirstMonoid=e.getApplyMonoid=e.getApplySemigroup=e.option=e.mapNullable=e.getRefinement=e.chainFirst=e.chain=e.sequenceArray=e.traverseArray=e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex=e.traverseReadonlyNonEmptyArrayWithIndex=e.ApT=e.apS=e.bind=e.let=e.bindTo=e.Do=e.exists=e.elem=e.toUndefined=e.toNullable=e.chainNullableK=e.fromNullableK=e.tryCatchK=e.tryCatch=e.fromNullable=e.chainFirstEitherK=e.chainEitherK=e.fromEitherK=e.duplicate=e.tapEither=e.tap=e.flatten=e.apSecond=e.apFirst=e.flap=e.getOrElse=e.getOrElseW=e.fold=e.match=e.foldW=e.matchW=e.isNone=e.isSome=e.FromEither=e.fromEither=e.MonadThrow=e.throwError=void 0,e.getLastMonoid=void 0;var i=vr,a=Ke,o=r(Ft),u=Re,s=ft,c=xe,f=r(Pr),l=$h,d=jh,v=Uh,p=on,h=qa;e.none=f.none,e.some=f.some;function b(N){return function(D){return N(D)?(0,e.some)(D):e.none}}e.fromPredicate=b;var _=function(N){return N._tag==="Right"?e.none:(0,e.some)(N.left)};e.getLeft=_;var y=function(N){return N._tag==="Left"?e.none:(0,e.some)(N.right)};e.getRight=y;var m=function(N,D){return(0,s.pipe)(N,(0,e.map)(D))},g=function(N,D){return(0,s.pipe)(N,(0,e.ap)(D))},E=function(N,D,z){return(0,s.pipe)(N,(0,e.reduce)(D,z))},O=function(N){var D=(0,e.foldMap)(N);return function(z,Te){return(0,s.pipe)(z,D(Te))}},S=function(N,D,z){return(0,s.pipe)(N,(0,e.reduceRight)(D,z))},w=function(N){var D=(0,e.traverse)(N);return function(z,Te){return(0,s.pipe)(z,D(Te))}},P=function(N,D){return(0,s.pipe)(N,(0,e.alt)(D))},A=function(N,D){return(0,s.pipe)(N,(0,e.filter)(D))},R=function(N,D){return(0,s.pipe)(N,(0,e.filterMap)(D))},$=function(N,D){return(0,s.pipe)(N,(0,e.extend)(D))},j=function(N,D){return(0,s.pipe)(N,(0,e.partition)(D))},I=function(N,D){return(0,s.pipe)(N,(0,e.partitionMap)(D))};e.URI="Option";var C=function(N){return{show:function(D){return(0,e.isNone)(D)?"none":"some(".concat(N.show(D.value),")")}}};e.getShow=C;var L=function(N){return{equals:function(D,z){return D===z||((0,e.isNone)(D)?(0,e.isNone)(z):(0,e.isNone)(z)?!1:N.equals(D.value,z.value))}}};e.getEq=L;var M=function(N){return{equals:(0,e.getEq)(N).equals,compare:function(D,z){return D===z?0:(0,e.isSome)(D)?(0,e.isSome)(z)?N.compare(D.value,z.value):1:-1}}};e.getOrd=M;var B=function(N){return{concat:function(D,z){return(0,e.isNone)(D)?z:(0,e.isNone)(z)?D:(0,e.some)(N.concat(D.value,z.value))},empty:e.none}};e.getMonoid=B;var V=function(N){return function(D){return(0,e.isNone)(D)?e.none:(0,e.some)(N(D.value))}};e.map=V,e.Functor={URI:e.URI,map:m},e.as=(0,s.dual)(2,(0,c.as)(e.Functor)),e.asUnit=(0,c.asUnit)(e.Functor),e.of=e.some,e.Pointed={URI:e.URI,of:e.of};var K=function(N){return function(D){return(0,e.isNone)(D)||(0,e.isNone)(N)?e.none:(0,e.some)(D.value(N.value))}};e.ap=K,e.Apply={URI:e.URI,map:m,ap:g},e.Applicative={URI:e.URI,map:m,ap:g,of:e.of},e.flatMap=(0,s.dual)(2,function(N,D){return(0,e.isNone)(N)?e.none:D(N.value)}),e.Chain={URI:e.URI,map:m,ap:g,chain:e.flatMap},e.Monad={URI:e.URI,map:m,ap:g,of:e.of,chain:e.flatMap};var G=function(N,D){return function(z){return(0,e.isNone)(z)?N:D(N,z.value)}};e.reduce=G;var x=function(N){return function(D){return function(z){return(0,e.isNone)(z)?N.empty:D(z.value)}}};e.foldMap=x;var U=function(N,D){return function(z){return(0,e.isNone)(z)?N:D(z.value,N)}};e.reduceRight=U,e.Foldable={URI:e.URI,reduce:E,foldMap:O,reduceRight:S},e.orElse=(0,s.dual)(2,function(N,D){return(0,e.isNone)(N)?D():N}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:m,alt:P};var W=function(){return e.none};e.zero=W,e.Zero={URI:e.URI,zero:e.zero},e.guard=(0,h.guard)(e.Zero,e.Pointed),e.Alternative={URI:e.URI,map:m,ap:g,of:e.of,alt:P,zero:e.zero};var H=function(N){return function(D){return(0,e.isNone)(D)?e.none:(0,e.some)(N(D))}};e.extend=H,e.Extend={URI:e.URI,map:m,extend:$},e.compact=(0,e.flatMap)(s.identity);var ne=(0,v.separated)(e.none,e.none),le=function(N){return(0,e.isNone)(N)?ne:(0,v.separated)((0,e.getLeft)(N.value),(0,e.getRight)(N.value))};e.separate=le,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var te=function(N){return function(D){return(0,e.isNone)(D)?e.none:N(D.value)?D:e.none}};e.filter=te;var Q=function(N){return function(D){return(0,e.isNone)(D)?e.none:N(D.value)}};e.filterMap=Q;var ae=function(N){return function(D){return(0,v.separated)(A(D,(0,l.not)(N)),A(D,N))}};e.partition=ae;var re=function(N){return(0,s.flow)((0,e.map)(N),e.separate)};e.partitionMap=re,e.Filterable={URI:e.URI,map:m,compact:e.compact,separate:e.separate,filter:A,filterMap:R,partition:j,partitionMap:I};var ge=function(N){return function(D){return function(z){return(0,e.isNone)(z)?N.of(e.none):N.map(D(z.value),e.some)}}};e.traverse=ge;var dt=function(N){return function(D){return(0,e.isNone)(D)?N.of(e.none):N.map(D.value,e.some)}};e.sequence=dt,e.Traversable={URI:e.URI,map:m,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence};var be=(0,p.witherDefault)(e.Traversable,e.Compactable),mn=(0,p.wiltDefault)(e.Traversable,e.Compactable),Un=function(N){var D=be(N);return function(z){return function(Te){return D(Te,z)}}};e.wither=Un;var bo=function(N){var D=mn(N);return function(z){return function(Te){return D(Te,z)}}};e.wilt=bo,e.Witherable={URI:e.URI,map:m,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,compact:e.compact,separate:e.separate,filter:A,filterMap:R,partition:j,partitionMap:I,wither:be,wilt:mn};var ly=function(){return e.none};e.throwError=ly,e.MonadThrow={URI:e.URI,map:m,ap:g,of:e.of,chain:e.flatMap,throwError:e.throwError},e.fromEither=e.getRight,e.FromEither={URI:e.URI,fromEither:e.fromEither},e.isSome=f.isSome;var cy=function(N){return N._tag==="None"};e.isNone=cy;var fy=function(N,D){return function(z){return(0,e.isNone)(z)?N():D(z.value)}};e.matchW=fy,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var dy=function(N){return function(D){return(0,e.isNone)(D)?N():D.value}};e.getOrElseW=dy,e.getOrElse=e.getOrElseW,e.flap=(0,c.flap)(e.Functor),e.apFirst=(0,a.apFirst)(e.Apply),e.apSecond=(0,a.apSecond)(e.Apply),e.flatten=e.compact,e.tap=(0,s.dual)(2,o.tap(e.Chain)),e.tapEither=(0,s.dual)(2,(0,u.tapEither)(e.FromEither,e.Chain)),e.duplicate=(0,e.extend)(s.identity),e.fromEitherK=(0,u.fromEitherK)(e.FromEither),e.chainEitherK=(0,u.chainEitherK)(e.FromEither,e.Chain),e.chainFirstEitherK=e.tapEither;var py=function(N){return N==null?e.none:(0,e.some)(N)};e.fromNullable=py;var hy=function(N){try{return(0,e.some)(N())}catch{return e.none}};e.tryCatch=hy;var vy=function(N){return function(){for(var D=[],z=0;z<arguments.length;z++)D[z]=arguments[z];return(0,e.tryCatch)(function(){return N.apply(void 0,D)})}};e.tryCatchK=vy;var my=function(N){return(0,s.flow)(N,e.fromNullable)};e.fromNullableK=my;var yy=function(N){return function(D){return(0,e.isNone)(D)?e.none:(0,e.fromNullable)(N(D.value))}};e.chainNullableK=yy,e.toNullable=(0,e.match)(s.constNull,s.identity),e.toUndefined=(0,e.match)(s.constUndefined,s.identity);function zl(N){return function(D,z){if(z===void 0){var Te=zl(N);return function(Je){return Te(D,Je)}}return(0,e.isNone)(z)?!1:N.equals(D,z.value)}}e.elem=zl;var gy=function(N){return function(D){return(0,e.isNone)(D)?!1:N(D.value)}};e.exists=gy,e.Do=(0,e.of)(f.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var by=(0,c.let)(e.Functor);e.let=by,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(f.emptyReadonlyArray);var _y=function(N){return function(D){var z=N(0,f.head(D));if((0,e.isNone)(z))return e.none;for(var Te=[z.value],Je=1;Je<D.length;Je++){var ql=N(Je,D[Je]);if((0,e.isNone)(ql))return e.none;Te.push(ql.value)}return(0,e.some)(Te)}};e.traverseReadonlyNonEmptyArrayWithIndex=_y;var wy=function(N){var D=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(N);return function(z){return f.isNonEmpty(z)?D(z):e.ApT}};e.traverseReadonlyArrayWithIndex=wy,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Ey=function(N){return(0,e.traverseReadonlyArrayWithIndex)(function(D,z){return N(z)})};e.traverseArray=Ey,e.sequenceArray=(0,e.traverseArray)(s.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Sy(N){return function(D){return(0,e.isSome)(N(D))}}e.getRefinement=Sy,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:m,of:e.of,ap:g,chain:e.flatMap,reduce:E,foldMap:O,reduceRight:S,traverse:w,sequence:e.sequence,zero:e.zero,alt:P,extend:$,compact:e.compact,separate:e.separate,filter:A,filterMap:R,partition:j,partitionMap:I,wither:be,wilt:mn,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var Oy=function(){return(0,e.getMonoid)((0,d.first)())};e.getFirstMonoid=Oy;var Py=function(){return(0,e.getMonoid)((0,d.last)())};e.getLastMonoid=Py})(zb);function Uu(e){this.message=e}Uu.prototype=new Error,Uu.prototype.name="InvalidCharacterError";var Gc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Uu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,a=0,o="";r=t.charAt(a++);~r&&(n=i%4?64*n+r:r,i++%4)?o+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function F1(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Gc(n).replace(/(.)/g,function(r,i){var a=i.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(t)}catch{return Gc(t)}}function Sa(e){this.message=e}function rL(e,t){if(typeof e!="string")throw new Sa("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(F1(e.split(".")[n]))}catch(r){throw new Sa("Invalid token specified: "+r.message)}}Sa.prototype=new Error,Sa.prototype.name="InvalidTokenError";var U1=Object.defineProperty,x1=(e,t,n)=>t in e?U1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ro=(e,t,n)=>(x1(e,typeof t!="symbol"?t+"":t,n),n);let H1=class{constructor(){Ro(this,"current",this.detect()),Ro(this,"handoffState","pending"),Ro(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ut=new H1,$e=(e,t)=>{Ut.isServer?de(e,t):Bn(e,t)};function xt(e){let t=ie(e);return $e(()=>{t.current=e},[e]),t}function Ga(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function _t(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Ga(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=_t();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function Ar(){let[e]=He(_t);return de(()=>()=>e.dispose(),[e]),e}let ee=function(e){let t=xt(e);return Z.useCallback((...n)=>t.current(...n),[t])};function K1(){let e=typeof document>"u";return"useSyncExternalStore"in cr?(t=>t.useSyncExternalStore)(cr)(()=>()=>{},()=>!1,()=>!e):!1}function Tr(){let e=K1(),[t,n]=He(Ut.isHandoffComplete);return t&&Ut.isHandoffComplete===!1&&n(!1),de(()=>{t!==!0&&n(!0)},[t]),de(()=>Ut.handoff(),[]),e?!1:t}var Vc;let at=(Vc=Z.useId)!=null?Vc:function(){let e=Tr(),[t,n]=Z.useState(e?()=>Ut.nextId():null);return $e(()=>{t===null&&n(Ut.nextId())},[t]),t!=null?""+t:void 0};function Ae(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ae),r}function mi(e){return Ut.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let xu=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Dt=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Dt||{}),xh=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(xh||{}),W1=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(W1||{});function Hh(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(xu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var tl=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(tl||{});function nl(e,t=0){var n;return e===((n=mi(e))==null?void 0:n.body)?!1:Ae(t,{0(){return e.matches(xu)},1(){let r=e;for(;r!==null;){if(r.matches(xu))return!0;r=r.parentElement}return!1}})}function Kh(e){let t=mi(e);_t().nextFrame(()=>{t&&!nl(t.activeElement,0)&&un(e)})}var z1=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(z1||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function un(e){e==null||e.focus({preventScroll:!0})}let q1=["textarea","input"].join(",");function G1(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,q1))!=null?n:!1}function Wh(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),a=t(r);if(i===null||a===null)return 0;let o=i.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function V1(e,t){return zr(Hh(),t,{relativeTo:e})}function zr(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?Wh(e):e:Hh(e);i.length>0&&o.length>1&&(o=o.filter(v=>!i.includes(v))),r=r??a.activeElement;let u=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},f=0,l=o.length,d;do{if(f>=l||f+l<=0)return 0;let v=s+f;if(t&16)v=(v+l)%l;else{if(v<0)return 3;if(v>=l)return 1}d=o[v],d==null||d.focus(c),f+=u}while(d!==a.activeElement);return t&6&&G1(d)&&d.select(),2}function Ni(e,t,n){let r=xt(t);de(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function zh(e,t,n){let r=xt(t);de(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function qh(e,t,n=!0){let r=ie(!1);de(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,u){if(!r.current||o.defaultPrevented)return;let s=u(o);if(s===null||!s.getRootNode().contains(s)||!s.isConnected)return;let c=function f(l){return typeof l=="function"?f(l()):Array.isArray(l)||l instanceof Set?l:[l]}(e);for(let f of c){if(f===null)continue;let l=f instanceof HTMLElement?f:f.current;if(l!=null&&l.contains(s)||o.composed&&o.composedPath().includes(l))return}return!nl(s,tl.Loose)&&s.tabIndex!==-1&&o.preventDefault(),t(o,s)}let a=ie(null);Ni("pointerdown",o=>{var u,s;r.current&&(a.current=((s=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:s[0])||o.target)},!0),Ni("mousedown",o=>{var u,s;r.current&&(a.current=((s=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:s[0])||o.target)},!0),Ni("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),Ni("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),zh("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Yc(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function rl(e,t){let[n,r]=He(()=>Yc(e));return $e(()=>{r(Yc(e))},[e.type,e.as]),$e(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Gh=Symbol();function Vh(e,t=!0){return Object.assign(e,{[Gh]:t})}function Me(...e){let t=ie(e);de(()=>{t.current=e},[e]);let n=ee(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Gh]))?void 0:n}function Y1({container:e,accept:t,walk:n,enabled:r=!0}){let i=ie(t),a=ie(n);de(()=>{i.current=t,a.current=n},[t,n]),$e(()=>{if(!e||!r)return;let o=mi(e);if(!o)return;let u=i.current,s=a.current,c=Object.assign(l=>u(l),{acceptNode:u}),f=o.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,c,!1);for(;f.nextNode();)s(f.currentNode)},[e,r,i,a])}function X1(e){throw new Error("Unexpected object: "+e)}var vt=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(vt||{});function Q1(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!t.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((u,s,c)=>i!==-1&&c.length-s-1>=i?!1:!t.resolveDisabled(u));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,u)=>u<=i?!1:!t.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(u=>!t.resolveDisabled(u));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>t.resolveId(o)===e.id);case 5:return null;default:X1(e)}})();return a===-1?r:a}function Oa(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var fn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(fn||{}),tn=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(tn||{});function Se({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=Yh(t,e);if(a)return Mi(u,n,r,o);let s=i??0;if(s&2){let{static:c=!1,...f}=u;if(c)return Mi(f,n,r,o)}if(s&1){let{unmount:c=!0,...f}=u;return Ae(c?0:1,{0(){return null},1(){return Mi({...f,hidden:!0,style:{display:"none"}},n,r,o)}})}return Mi(u,n,r,o)}function Mi(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...u}=Lo(e,["unmount","static"]),s=e.ref!==void 0?{[o]:e.ref}:{},c=typeof a=="function"?a(t):a;"className"in u&&u.className&&typeof u.className=="function"&&(u.className=u.className(t));let f={};if(t){let l=!1,d=[];for(let[v,p]of Object.entries(t))typeof p=="boolean"&&(l=!0),p===!0&&d.push(v);l&&(f["data-headlessui-state"]=d.join(" "))}if(i===Ee&&Object.keys(Hu(u)).length>0){if(!Sr(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(p=>` - ${p}`).join(`
5
+ `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(p=>` - ${p}`).join(`
6
+ `)].join(`
7
+ `));let l=c.props,d=typeof(l==null?void 0:l.className)=="function"?(...p)=>Oa(l==null?void 0:l.className(...p),u.className):Oa(l==null?void 0:l.className,u.className),v=d?{className:d}:{};return Hs(c,Object.assign({},Yh(c.props,Hu(Lo(u,["ref"]))),f,s,J1(c.ref,s.ref),v))}return F(i,Object.assign({},Lo(u,["ref"]),i!==Ee&&s,i!==Ee&&f),c)}function J1(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Yh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let o=n[r];for(let u of o){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;u(i,...a)}}});return t}function Oe(e){var t;return Object.assign(pe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Hu(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Lo(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Va(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&Z1(n)?!1:r}function Z1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function e_(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(n=r.requestSubmit)==null||n.call(r)}}let t_="div";var ai=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ai||{});function n_(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Se({ourProps:i,theirProps:r,slot:{},defaultTag:t_,name:"Hidden"})}let Pa=Oe(n_),il=Fe(null);il.displayName="OpenClosedContext";var Pe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Pe||{});function yi(){return Ne(il)}function al({value:e,children:t}){return Z.createElement(il.Provider,{value:e},t)}var ve=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ve||{});function r_(e,t,n){let[r,i]=He(n),a=e!==void 0,o=ie(a),u=ie(!1),s=ie(!1);return a&&!o.current&&!u.current?(u.current=!0,o.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!a&&o.current&&!s.current&&(s.current=!0,o.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[a?e:r,ee(c=>(a||i(c),t==null?void 0:t(c)))]}function ol(e,t){let n=ie([]),r=ee(e);de(()=>{let i=[...n.current];for(let[a,o]of t.entries())if(n.current[a]!==o){let u=r(t,i);return n.current=t,u}},[r,...t])}function Xc(e){return[e.screenX,e.screenY]}function i_(){let e=ie([-1,-1]);return{wasMoved(t){let n=Xc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Xc(t)}}}function a_(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Cr(...e){return ce(()=>mi(...e),[...e])}var Ur=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Ur||{});function o_(){let e=ie(0);return zh("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function gi(){let e=ie(!1);return $e(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Xh(e,t,n,r){let i=xt(n);de(()=>{e=e??window;function a(o){i.current(o)}return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)},[e,t,r])}function u_(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Qh(e){let t=ee(e),n=ie(!1);de(()=>(n.current=!1,()=>{n.current=!0,Ga(()=>{n.current&&t()})}),[t])}function Jh(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let s_="div";var Zh=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Zh||{});function l_(e,t){let n=ie(null),r=Me(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;Tr()||(o=1);let s=Cr(n);d_({ownerDocument:s},!!(o&16));let c=p_({ownerDocument:s,container:n,initialFocus:i},!!(o&2));h_({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=o_(),l=ee(h=>{let b=n.current;b&&(_=>_())(()=>{Ae(f.current,{[Ur.Forwards]:()=>{zr(b,Dt.First,{skipElements:[h.relatedTarget]})},[Ur.Backwards]:()=>{zr(b,Dt.Last,{skipElements:[h.relatedTarget]})}})})}),d=Ar(),v=ie(!1),p={ref:r,onKeyDown(h){h.key=="Tab"&&(v.current=!0,d.requestAnimationFrame(()=>{v.current=!1}))},onBlur(h){let b=Jh(a);n.current instanceof HTMLElement&&b.add(n.current);let _=h.relatedTarget;_ instanceof HTMLElement&&_.dataset.headlessuiFocusGuard!=="true"&&(ev(b,_)||(v.current?zr(n.current,Ae(f.current,{[Ur.Forwards]:()=>Dt.Next,[Ur.Backwards]:()=>Dt.Previous})|Dt.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&un(h.target)))}};return Z.createElement(Z.Fragment,null,!!(o&4)&&Z.createElement(Pa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ai.Focusable}),Se({ourProps:p,theirProps:u,defaultTag:s_,name:"FocusTrap"}),!!(o&4)&&Z.createElement(Pa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ai.Focusable}))}let c_=Oe(l_),Mr=Object.assign(c_,{features:Zh}),Jt=[];u_(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Jt[0]!==t.target&&(Jt.unshift(t.target),Jt=Jt.filter(n=>n!=null&&n.isConnected),Jt.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function f_(e=!0){let t=ie(Jt.slice());return ol(([n],[r])=>{r===!0&&n===!1&&Ga(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Jt.slice())},[e,Jt,t]),ee(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function d_({ownerDocument:e},t){let n=f_(t);ol(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&un(n())},[t]),Qh(()=>{t&&un(n())})}function p_({ownerDocument:e,container:t,initialFocus:n},r){let i=ie(null),a=gi();return ol(()=>{if(!r)return;let o=t.current;o&&Ga(()=>{if(!a.current)return;let u=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===u){i.current=u;return}}else if(o.contains(u)){i.current=u;return}n!=null&&n.current?un(n.current):zr(o,Dt.First)===xh.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function h_({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=gi();Xh(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=Jh(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?ev(u,c)?(r.current=c,un(c)):(o.preventDefault(),o.stopPropagation(),un(s)):un(r.current)},!0)}function ev(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let tv=Fe(!1);function v_(){return Ne(tv)}function Ku(e){return Z.createElement(tv.Provider,{value:e.force},e.children)}function m_(e){let t=v_(),n=Ne(nv),r=Cr(e),[i,a]=He(()=>{if(!t&&n!==null||Ut.isServer)return null;let o=r==null?void 0:r.getElementById("headlessui-portal-root");if(o)return o;if(r===null)return null;let u=r.createElement("div");return u.setAttribute("id","headlessui-portal-root"),r.body.appendChild(u)});return de(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),de(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let y_=Ee;function g_(e,t){let n=e,r=ie(null),i=Me(Vh(f=>{r.current=f}),t),a=Cr(r),o=m_(r),[u]=He(()=>{var f;return Ut.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=Ne(Wu),c=Tr();return $e(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),$e(()=>{if(u&&s)return s.register(u)},[s,u]),Qh(()=>{var f;!o||!u||(u instanceof Node&&o.contains(u)&&o.removeChild(u),o.childNodes.length<=0&&((f=o.parentElement)==null||f.removeChild(o)))}),c?!o||!u?null:Us(Se({ourProps:{ref:i},theirProps:n,defaultTag:y_,name:"Portal"}),u):null}let b_=Ee,nv=Fe(null);function __(e,t){let{target:n,...r}=e,i={ref:Me(t)};return Z.createElement(nv.Provider,{value:n},Se({ourProps:i,theirProps:r,defaultTag:b_,name:"Popover.Group"}))}let Wu=Fe(null);function w_(){let e=Ne(Wu),t=ie([]),n=ee(a=>(t.current.push(a),e&&e.register(a),()=>r(a))),r=ee(a=>{let o=t.current.indexOf(a);o!==-1&&t.current.splice(o,1),e&&e.unregister(a)}),i=ce(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ce(()=>function({children:a}){return Z.createElement(Wu.Provider,{value:i},a)},[i])]}let E_=Oe(g_),S_=Oe(__),zu=Object.assign(E_,{Group:S_}),rv=Fe(null);function iv(){let e=Ne(rv);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,iv),t}return e}function av(){let[e,t]=He([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(rv.Provider,{value:i},n.children)},[t])]}let O_="p";function P_(e,t){let n=at(),{id:r=`headlessui-description-${n}`,...i}=e,a=iv(),o=Me(t);$e(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return Se({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:O_,name:a.name||"Description"})}let A_=Oe(P_),ov=Object.assign(A_,{}),ul=Fe(()=>{});ul.displayName="StackContext";var qu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(qu||{});function T_(){return Ne(ul)}function C_({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=T_(),o=ee((...u)=>{t==null||t(...u),a(...u)});return $e(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),Z.createElement(ul.Provider,{value:o},e)}function I_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const R_=typeof Object.is=="function"?Object.is:I_,{useState:L_,useEffect:k_,useLayoutEffect:N_,useDebugValue:M_}=cr;function D_(e,t,n){const r=t(),[{inst:i},a]=L_({inst:{value:r,getSnapshot:t}});return N_(()=>{i.value=r,i.getSnapshot=t,ko(i)&&a({inst:i})},[e,r,t]),k_(()=>(ko(i)&&a({inst:i}),e(()=>{ko(i)&&a({inst:i})})),[e]),M_(r),r}function ko(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!R_(n,r)}catch{return!0}}function $_(e,t,n){return t()}const j_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",B_=!j_,F_=B_?$_:D_,U_="useSyncExternalStore"in cr?(e=>e.useSyncExternalStore)(cr):F_;function x_(e){return U_(e.subscribe,e.getSnapshot,e.getSnapshot)}function H_(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...a){let o=t[i].call(n,...a);o&&(n=o,r.forEach(u=>u()))}}}function K_(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,"paddingRight",`${a}px`)}}}function W_(){if(!a_())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function i(a){return r.containers.flatMap(o=>o()).some(o=>o.contains(a))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let o=_t();o.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>o.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let a=null;n.addEventListener(t,"click",o=>{if(o.target instanceof HTMLElement)try{let u=o.target.closest("a");if(!u)return;let{hash:s}=new URL(u.href),c=t.querySelector(s);c&&!i(c)&&(a=c)}catch{}},!0),n.addEventListener(t,"touchmove",o=>{o.target instanceof HTMLElement&&!i(o.target)&&o.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}}function z_(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function q_(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Sn=H_(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:_t(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:q_(n)},i=[W_(),K_(),z_()];i.forEach(({before:a})=>a==null?void 0:a(r)),i.forEach(({after:a})=>a==null?void 0:a(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Sn.subscribe(()=>{let e=Sn.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&Sn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Sn.dispatch("TEARDOWN",n)}});function G_(e,t,n){let r=x_(Sn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return $e(()=>{if(!(!e||!t))return Sn.dispatch("PUSH",e,n),()=>Sn.dispatch("POP",e,n)},[t,e]),a}let No=new Map,Dr=new Map;function Qc(e,t=!0){$e(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function i(){var o;if(!r)return;let u=(o=Dr.get(r))!=null?o:1;if(u===1?Dr.delete(r):Dr.set(r,u-1),u!==1)return;let s=No.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,No.delete(r))}let a=(n=Dr.get(r))!=null?n:0;return Dr.set(r,a+1),a!==0||(No.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function V_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ie((r=n==null?void 0:n.current)!=null?r:null),a=Cr(i),o=ee(()=>{var u;let s=[];for(let c of e)c!==null&&(c instanceof HTMLElement?s.push(c):"current"in c&&c.current instanceof HTMLElement&&s.push(c.current));if(t!=null&&t.current)for(let c of t.current)s.push(c);for(let c of(u=a==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?u:[])c!==document.body&&c!==document.head&&c instanceof HTMLElement&&c.id!=="headlessui-portal-root"&&(c.contains(i.current)||s.some(f=>c.contains(f))||s.push(c));return s});return{resolveContainers:o,contains:ee(u=>o().some(s=>s.contains(u))),mainTreeNodeRef:i,MainTreeNode:ce(()=>function(){return n!=null?null:Z.createElement(Pa,{features:ai.Hidden,ref:i})},[i,n])}}var Y_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Y_||{}),X_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(X_||{});let Q_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Aa=Fe(null);Aa.displayName="DialogContext";function bi(e){let t=Ne(Aa);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,bi),n}return t}function J_(e,t,n=()=>[document.body]){G_(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function Z_(e,t){return Ae(t.type,Q_,e,t)}let ew="div",tw=fn.RenderStrategy|fn.Static;function nw(e,t){var n;let r=at(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:s=!1,...c}=e,[f,l]=He(0),d=yi();a===void 0&&d!==null&&(a=(d&Pe.Open)===Pe.Open);let v=ie(null),p=Me(v,t),h=Cr(v),b=e.hasOwnProperty("open")||d!==null,_=e.hasOwnProperty("onClose");if(!b&&!_)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!b)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!_)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof a!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let y=a?0:1,[m,g]=jn(Z_,{titleId:null,descriptionId:null,panelRef:ti()}),E=ee(()=>o(!1)),O=ee(Q=>g({type:0,id:Q})),S=Tr()?s?!1:y===0:!1,w=f>1,P=Ne(Aa)!==null,[A,R]=w_(),{resolveContainers:$,mainTreeNodeRef:j,MainTreeNode:I}=V_({portals:A,defaultContainers:[(n=m.panelRef.current)!=null?n:v.current]}),C=w?"parent":"leaf",L=d!==null?(d&Pe.Closing)===Pe.Closing:!1,M=(()=>P||L?!1:S)(),B=en(()=>{var Q,ae;return(ae=Array.from((Q=h==null?void 0:h.querySelectorAll("body > *"))!=null?Q:[]).find(re=>re.id==="headlessui-portal-root"?!1:re.contains(j.current)&&re instanceof HTMLElement))!=null?ae:null},[j]);Qc(B,M);let V=(()=>w?!0:S)(),K=en(()=>{var Q,ae;return(ae=Array.from((Q=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?Q:[]).find(re=>re.contains(j.current)&&re instanceof HTMLElement))!=null?ae:null},[j]);Qc(K,V);let G=(()=>!(!S||w))();qh($,E,G);let x=(()=>!(w||y!==0))();Xh(h==null?void 0:h.defaultView,"keydown",Q=>{x&&(Q.defaultPrevented||Q.key===ve.Escape&&(Q.preventDefault(),Q.stopPropagation(),E()))});let U=(()=>!(L||y!==0||P))();J_(h,U,$),de(()=>{if(y!==0||!v.current)return;let Q=new ResizeObserver(ae=>{for(let re of ae){let ge=re.target.getBoundingClientRect();ge.x===0&&ge.y===0&&ge.width===0&&ge.height===0&&E()}});return Q.observe(v.current),()=>Q.disconnect()},[y,v,E]);let[W,H]=av(),ne=ce(()=>[{dialogState:y,close:E,setTitleId:O},m],[y,m,E,O]),le=ce(()=>({open:y===0}),[y]),te={ref:p,id:i,role:"dialog","aria-modal":y===0?!0:void 0,"aria-labelledby":m.titleId,"aria-describedby":W};return Z.createElement(C_,{type:"Dialog",enabled:y===0,element:v,onUpdate:ee((Q,ae)=>{ae==="Dialog"&&Ae(Q,{[qu.Add]:()=>l(re=>re+1),[qu.Remove]:()=>l(re=>re-1)})})},Z.createElement(Ku,{force:!0},Z.createElement(zu,null,Z.createElement(Aa.Provider,{value:ne},Z.createElement(zu.Group,{target:v},Z.createElement(Ku,{force:!1},Z.createElement(H,{slot:le,name:"Dialog.Description"},Z.createElement(Mr,{initialFocus:u,containers:$,features:S?Ae(C,{parent:Mr.features.RestoreFocus,leaf:Mr.features.All&~Mr.features.FocusLock}):Mr.features.None},Z.createElement(R,null,Se({ourProps:te,theirProps:c,slot:le,defaultTag:ew,features:tw,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let rw="div";function iw(e,t){let n=at(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=bi("Dialog.Overlay"),u=Me(t),s=ee(f=>{if(f.target===f.currentTarget){if(Va(f.currentTarget))return f.preventDefault();f.preventDefault(),f.stopPropagation(),o()}}),c=ce(()=>({open:a===0}),[a]);return Se({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:c,defaultTag:rw,name:"Dialog.Overlay"})}let aw="div";function ow(e,t){let n=at(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=bi("Dialog.Backdrop"),u=Me(t);de(()=>{if(o.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[o.panelRef]);let s=ce(()=>({open:a===0}),[a]);return Z.createElement(Ku,{force:!0},Z.createElement(zu,null,Se({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:aw,name:"Dialog.Backdrop"})))}let uw="div";function sw(e,t){let n=at(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=bi("Dialog.Panel"),u=Me(t,o.panelRef),s=ce(()=>({open:a===0}),[a]),c=ee(f=>{f.stopPropagation()});return Se({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:s,defaultTag:uw,name:"Dialog.Panel"})}let lw="h2";function cw(e,t){let n=at(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=bi("Dialog.Title"),u=Me(t);de(()=>(o(r),()=>o(null)),[r,o]);let s=ce(()=>({open:a===0}),[a]);return Se({ourProps:{ref:u,id:r},theirProps:i,slot:s,defaultTag:lw,name:"Dialog.Title"})}let fw=Oe(nw),dw=Oe(ow),pw=Oe(sw),hw=Oe(iw),vw=Oe(cw),aL=Object.assign(fw,{Backdrop:dw,Panel:pw,Overlay:hw,Title:vw,Description:ov});var Jc;let mw=(Jc=Z.startTransition)!=null?Jc:function(e){e()};var yw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yw||{}),gw=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(gw||{});let bw={0:e=>({...e,disclosureState:Ae(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},sl=Fe(null);sl.displayName="DisclosureContext";function ll(e){let t=Ne(sl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ll),n}return t}let cl=Fe(null);cl.displayName="DisclosureAPIContext";function uv(e){let t=Ne(cl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,uv),n}return t}let fl=Fe(null);fl.displayName="DisclosurePanelContext";function _w(){return Ne(fl)}function ww(e,t){return Ae(t.type,bw,e,t)}let Ew=Ee;function Sw(e,t){let{defaultOpen:n=!1,...r}=e,i=ie(null),a=Me(t,Vh(b=>{i.current=b},e.as===void 0||e.as===Ee)),o=ie(null),u=ie(null),s=jn(ww,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:f},l]=s,d=ee(b=>{l({type:1});let _=mi(i);if(!_||!f)return;let y=(()=>b?b instanceof HTMLElement?b:b.current instanceof HTMLElement?b.current:_.getElementById(f):_.getElementById(f))();y==null||y.focus()}),v=ce(()=>({close:d}),[d]),p=ce(()=>({open:c===0,close:d}),[c,d]),h={ref:a};return Z.createElement(sl.Provider,{value:s},Z.createElement(cl.Provider,{value:v},Z.createElement(al,{value:Ae(c,{0:Pe.Open,1:Pe.Closed})},Se({ourProps:h,theirProps:r,slot:p,defaultTag:Ew,name:"Disclosure"}))))}let Ow="button";function Pw(e,t){let n=at(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=ll("Disclosure.Button"),u=_w(),s=u===null?!1:u===a.panelId,c=ie(null),f=Me(c,t,s?null:a.buttonRef);de(()=>{if(!s)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}},[r,o,s]);let l=ee(_=>{var y;if(s){if(a.disclosureState===1)return;switch(_.key){case ve.Space:case ve.Enter:_.preventDefault(),_.stopPropagation(),o({type:0}),(y=a.buttonRef.current)==null||y.focus();break}}else switch(_.key){case ve.Space:case ve.Enter:_.preventDefault(),_.stopPropagation(),o({type:0});break}}),d=ee(_=>{switch(_.key){case ve.Space:_.preventDefault();break}}),v=ee(_=>{var y;Va(_.currentTarget)||e.disabled||(s?(o({type:0}),(y=a.buttonRef.current)==null||y.focus()):o({type:0}))}),p=ce(()=>({open:a.disclosureState===0}),[a]),h=rl(e,c),b=s?{ref:f,type:h,onKeyDown:l,onClick:v}:{ref:f,id:r,type:h,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:l,onKeyUp:d,onClick:v};return Se({ourProps:b,theirProps:i,slot:p,defaultTag:Ow,name:"Disclosure.Button"})}let Aw="div",Tw=fn.RenderStrategy|fn.Static;function Cw(e,t){let n=at(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=ll("Disclosure.Panel"),{close:u}=uv("Disclosure.Panel"),s=Me(t,a.panelRef,v=>{mw(()=>o({type:v?4:5}))});de(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=yi(),f=(()=>c!==null?(c&Pe.Open)===Pe.Open:a.disclosureState===0)(),l=ce(()=>({open:a.disclosureState===0,close:u}),[a,u]),d={ref:s,id:r};return Z.createElement(fl.Provider,{value:a.panelId},Se({ourProps:d,theirProps:i,slot:l,defaultTag:Aw,features:Tw,visible:f,name:"Disclosure.Panel"}))}let Iw=Oe(Sw),Rw=Oe(Pw),Lw=Oe(Cw),oL=Object.assign(Iw,{Button:Rw,Panel:Lw}),Zc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function ef(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let u of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))u.remove(),a=!0;let o=a?(n=i.innerText)!=null?n:"":r;return Zc.test(o)&&(o=o.replace(Zc,"")),o}function kw(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let a=document.getElementById(i);if(a){let o=a.getAttribute("aria-label");return typeof o=="string"?o.trim():ef(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return ef(e).trim()}function Nw(e){let t=ie(""),n=ie("");return ee(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=kw(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var Mw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Mw||{}),Dw=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Dw||{}),$w=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))($w||{});function Mo(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=Wh(t(e.items.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{items:r,activeItemIndex:i}}let jw={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,t)=>{var n;let r=Mo(e),i=Q1(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:a=>a.id,resolveDisabled:a=>a.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(o=>{var u;return((u=o.dataRef.current.textValue)==null?void 0:u.startsWith(r))&&!o.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return a===-1||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,t)=>{let n=Mo(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=Mo(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},dl=Fe(null);dl.displayName="MenuContext";function Ya(e){let t=Ne(dl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ya),n}return t}function Bw(e,t){return Ae(t.type,jw,e,t)}let Fw=Ee;function Uw(e,t){let{__demoMode:n=!1,...r}=e,i=jn(Bw,{__demoMode:n,menuState:n?0:1,buttonRef:ti(),itemsRef:ti(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Me(t);qh([u,o],(v,p)=>{var h;s({type:1}),nl(p,tl.Loose)||(v.preventDefault(),(h=u.current)==null||h.focus())},a===0);let f=ee(()=>{s({type:1})}),l=ce(()=>({open:a===0,close:f}),[a,f]),d={ref:c};return Z.createElement(dl.Provider,{value:i},Z.createElement(al,{value:Ae(a,{0:Pe.Open,1:Pe.Closed})},Se({ourProps:d,theirProps:r,slot:l,defaultTag:Fw,name:"Menu"})))}let xw="button";function Hw(e,t){var n;let r=at(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=Ya("Menu.Button"),s=Me(o.buttonRef,t),c=Ar(),f=ee(h=>{switch(h.key){case ve.Space:case ve.Enter:case ve.ArrowDown:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:vt.First}));break;case ve.ArrowUp:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:vt.Last}));break}}),l=ee(h=>{switch(h.key){case ve.Space:h.preventDefault();break}}),d=ee(h=>{if(Va(h.currentTarget))return h.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var b;return(b=o.buttonRef.current)==null?void 0:b.focus({preventScroll:!0})})):(h.preventDefault(),u({type:0})))}),v=ce(()=>({open:o.menuState===0}),[o]),p={ref:s,id:i,type:rl(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:f,onKeyUp:l,onClick:d};return Se({ourProps:p,theirProps:a,slot:v,defaultTag:xw,name:"Menu.Button"})}let Kw="div",Ww=fn.RenderStrategy|fn.Static;function zw(e,t){var n,r;let i=at(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,s]=Ya("Menu.Items"),c=Me(u.itemsRef,t),f=Cr(u.itemsRef),l=Ar(),d=yi(),v=(()=>d!==null?(d&Pe.Open)===Pe.Open:u.menuState===0)();de(()=>{let y=u.itemsRef.current;y&&u.menuState===0&&y!==(f==null?void 0:f.activeElement)&&y.focus({preventScroll:!0})},[u.menuState,u.itemsRef,f]),Y1({container:u.itemsRef.current,enabled:u.menuState===0,accept(y){return y.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:y.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(y){y.setAttribute("role","none")}});let p=ee(y=>{var m,g;switch(l.dispose(),y.key){case ve.Space:if(u.searchQuery!=="")return y.preventDefault(),y.stopPropagation(),s({type:3,value:y.key});case ve.Enter:if(y.preventDefault(),y.stopPropagation(),s({type:1}),u.activeItemIndex!==null){let{dataRef:E}=u.items[u.activeItemIndex];(g=(m=E.current)==null?void 0:m.domRef.current)==null||g.click()}Kh(u.buttonRef.current);break;case ve.ArrowDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:vt.Next});case ve.ArrowUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:vt.Previous});case ve.Home:case ve.PageUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:vt.First});case ve.End:case ve.PageDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:vt.Last});case ve.Escape:y.preventDefault(),y.stopPropagation(),s({type:1}),_t().nextFrame(()=>{var E;return(E=u.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})});break;case ve.Tab:y.preventDefault(),y.stopPropagation(),s({type:1}),_t().nextFrame(()=>{V1(u.buttonRef.current,y.shiftKey?Dt.Previous:Dt.Next)});break;default:y.key.length===1&&(s({type:3,value:y.key}),l.setTimeout(()=>s({type:4}),350));break}}),h=ee(y=>{switch(y.key){case ve.Space:y.preventDefault();break}}),b=ce(()=>({open:u.menuState===0}),[u]),_={"aria-activedescendant":u.activeItemIndex===null||(n=u.items[u.activeItemIndex])==null?void 0:n.id,"aria-labelledby":(r=u.buttonRef.current)==null?void 0:r.id,id:a,onKeyDown:p,onKeyUp:h,role:"menu",tabIndex:0,ref:c};return Se({ourProps:_,theirProps:o,slot:b,defaultTag:Kw,features:Ww,visible:v,name:"Menu.Items"})}let qw=Ee;function Gw(e,t){let n=at(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=Ya("Menu.Item"),s=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ie(null),f=Me(t,c);$e(()=>{if(o.__demoMode||o.menuState!==0||!s||o.activationTrigger===0)return;let E=_t();return E.requestAnimationFrame(()=>{var O,S;(S=(O=c.current)==null?void 0:O.scrollIntoView)==null||S.call(O,{block:"nearest"})}),E.dispose},[o.__demoMode,c,s,o.menuState,o.activationTrigger,o.activeItemIndex]);let l=Nw(c),d=ie({disabled:i,domRef:c,get textValue(){return l()}});$e(()=>{d.current.disabled=i},[d,i]),$e(()=>(u({type:5,id:r,dataRef:d}),()=>u({type:6,id:r})),[d,r]);let v=ee(()=>{u({type:1})}),p=ee(E=>{if(i)return E.preventDefault();u({type:1}),Kh(o.buttonRef.current)}),h=ee(()=>{if(i)return u({type:2,focus:vt.Nothing});u({type:2,focus:vt.Specific,id:r})}),b=i_(),_=ee(E=>b.update(E)),y=ee(E=>{b.wasMoved(E)&&(i||s||u({type:2,focus:vt.Specific,id:r,trigger:0}))}),m=ee(E=>{b.wasMoved(E)&&(i||s&&u({type:2,focus:vt.Nothing}))}),g=ce(()=>({active:s,disabled:i,close:v}),[s,i,v]);return Se({ourProps:{id:r,ref:f,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:p,onFocus:h,onPointerEnter:_,onMouseEnter:_,onPointerMove:y,onMouseMove:y,onPointerLeave:m,onMouseLeave:m},theirProps:a,slot:g,defaultTag:qw,name:"Menu.Item"})}let Vw=Oe(Uw),Yw=Oe(Hw),Xw=Oe(zw),Qw=Oe(Gw),uL=Object.assign(Vw,{Button:Yw,Items:Xw,Item:Qw});function Jw(e=0){let[t,n]=He(e),r=gi(),i=en(s=>{r.current&&n(c=>c|s)},[t,r]),a=en(s=>!!(t&s),[t]),o=en(s=>{r.current&&n(c=>c&~s)},[n,r]),u=en(s=>{r.current&&n(c=>c^s)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let sv=Fe(null);function lv(){let e=Ne(sv);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,lv),t}return e}function Zw(){let[e,t]=He([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(sv.Provider,{value:i},n.children)},[t])]}let eE="label";function tE(e,t){let n=at(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=lv(),u=Me(t);$e(()=>o.register(r),[r,o.register]);let s={ref:u,...o.props,id:r};return i&&("onClick"in s&&(delete s.htmlFor,delete s.onClick),"onClick"in a&&delete a.onClick),Se({ourProps:s,theirProps:a,slot:o.slot||{},defaultTag:eE,name:o.name||"Label"})}let nE=Oe(tE),rE=Object.assign(nE,{}),pl=Fe(null);pl.displayName="GroupContext";let iE=Ee;function aE(e){var t;let[n,r]=He(null),[i,a]=Zw(),[o,u]=av(),s=ce(()=>({switch:n,setSwitch:r,labelledby:i,describedby:o}),[n,r,i,o]),c={},f=e;return Z.createElement(u,{name:"Switch.Description"},Z.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=s.switch)==null?void 0:t.id,onClick(l){n&&(l.currentTarget.tagName==="LABEL"&&l.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},Z.createElement(pl.Provider,{value:s},Se({ourProps:c,theirProps:f,defaultTag:iE,name:"Switch.Group"}))))}let oE="button";function uE(e,t){let n=at(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:s,form:c,...f}=e,l=Ne(pl),d=ie(null),v=Me(d,t,l===null?null:l.setSwitch),[p,h]=r_(i,o,a),b=ee(()=>h==null?void 0:h(!p)),_=ee(S=>{if(Va(S.currentTarget))return S.preventDefault();S.preventDefault(),b()}),y=ee(S=>{S.key===ve.Space?(S.preventDefault(),b()):S.key===ve.Enter&&e_(S.currentTarget)}),m=ee(S=>S.preventDefault()),g=ce(()=>({checked:p}),[p]),E={id:r,ref:v,role:"switch",type:rl(e,d),tabIndex:0,"aria-checked":p,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:_,onKeyUp:y,onKeyPress:m},O=Ar();return de(()=>{var S;let w=(S=d.current)==null?void 0:S.closest("form");w&&a!==void 0&&O.addEventListener(w,"reset",()=>{h(a)})},[d,h]),Z.createElement(Z.Fragment,null,u!=null&&p&&Z.createElement(Pa,{features:ai.Hidden,...Hu({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:p,name:u,value:s})}),Se({ourProps:E,theirProps:f,slot:g,defaultTag:oE,name:"Switch"}))}let sE=Oe(uE),lE=aE,sL=Object.assign(sE,{Group:lE,Label:rE,Description:ov});function cE(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Do(e,...t){e&&t.length>0&&e.classList.add(...t)}function $o(e,...t){e&&t.length>0&&e.classList.remove(...t)}function fE(e,t){let n=_t();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(s=>{let[c=0]=s.split(",").filter(Boolean).map(f=>f.includes("ms")?parseFloat(f):parseFloat(f)*1e3).sort((f,l)=>l-f);return c}),u=a+o;if(u!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},u),c.addEventListener(e,"transitionrun",f=>{f.target===f.currentTarget&&c.dispose()})});let s=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),s())})}else t();return n.add(()=>t()),n.dispose}function dE(e,t,n,r){let i=n?"enter":"leave",a=_t(),o=r!==void 0?cE(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Ae(i,{enter:()=>t.enter,leave:()=>t.leave}),s=Ae(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Ae(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return $o(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),Do(e,...t.base,...u,...c),a.nextFrame(()=>{$o(e,...t.base,...u,...c),Do(e,...t.base,...u,...s),fE(e,()=>($o(e,...t.base,...u),Do(e,...t.base,...t.entered),o()))}),a.dispose}function pE({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=gi(),u=Ar(),s=xt(n);$e(()=>{e&&(s.current="enter")},[e]),$e(()=>{let c=_t();u.add(c.dispose);let f=t.current;if(f&&s.current!=="idle"&&o.current)return c.dispose(),i.current(s.current),c.add(dE(f,r.current,s.current==="enter",()=>{c.dispose(),a.current(s.current)})),c.dispose},[n])}function Yt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Xa=Fe(null);Xa.displayName="TransitionContext";var hE=(e=>(e.Visible="visible",e.Hidden="hidden",e))(hE||{});function vE(){let e=Ne(Xa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function mE(){let e=Ne(Qa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Qa=Fe(null);Qa.displayName="NestingContext";function Ja(e){return"children"in e?Ja(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function cv(e,t){let n=xt(e),r=ie([]),i=gi(),a=Ar(),o=ee((v,p=tn.Hidden)=>{let h=r.current.findIndex(({el:b})=>b===v);h!==-1&&(Ae(p,{[tn.Unmount](){r.current.splice(h,1)},[tn.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var b;!Ja(r)&&i.current&&((b=n.current)==null||b.call(n))}))}),u=ee(v=>{let p=r.current.find(({el:h})=>h===v);return p?p.state!=="visible"&&(p.state="visible"):r.current.push({el:v,state:"visible"}),()=>o(v,tn.Unmount)}),s=ie([]),c=ie(Promise.resolve()),f=ie({enter:[],leave:[],idle:[]}),l=ee((v,p,h)=>{s.current.splice(0),t&&(t.chains.current[p]=t.chains.current[p].filter(([b])=>b!==v)),t==null||t.chains.current[p].push([v,new Promise(b=>{s.current.push(b)})]),t==null||t.chains.current[p].push([v,new Promise(b=>{Promise.all(f.current[p].map(([_,y])=>y)).then(()=>b())})]),p==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>h(p)):h(p)}),d=ee((v,p,h)=>{Promise.all(f.current[p].splice(0).map(([b,_])=>_)).then(()=>{var b;(b=s.current.shift())==null||b()}).then(()=>h(p))});return ce(()=>({children:r,register:u,unregister:o,onStart:l,onStop:d,wait:c,chains:f}),[u,o,r,l,d,f,c])}function yE(){}let gE=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function tf(e){var t;let n={};for(let r of gE)n[r]=(t=e[r])!=null?t:yE;return n}function bE(e){let t=ie(tf(e));return de(()=>{t.current=tf(e)},[e]),t}let _E="div",fv=fn.RenderStrategy;function wE(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u,enter:s,enterFrom:c,enterTo:f,entered:l,leave:d,leaveFrom:v,leaveTo:p,...h}=e,b=ie(null),_=Me(b,t),y=(n=h.unmount)==null||n?tn.Unmount:tn.Hidden,{show:m,appear:g,initial:E}=vE(),[O,S]=He(m?"visible":"hidden"),w=mE(),{register:P,unregister:A}=w;de(()=>P(b),[P,b]),de(()=>{if(y===tn.Hidden&&b.current){if(m&&O!=="visible"){S("visible");return}return Ae(O,{hidden:()=>A(b),visible:()=>P(b)})}},[O,b,P,A,m,y]);let R=xt({base:Yt(h.className),enter:Yt(s),enterFrom:Yt(c),enterTo:Yt(f),entered:Yt(l),leave:Yt(d),leaveFrom:Yt(v),leaveTo:Yt(p)}),$=bE({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=Tr();de(()=>{if(j&&O==="visible"&&b.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[b,O,j]);let I=E&&!g,C=g&&m&&E,L=(()=>!j||I?"idle":m?"enter":"leave")(),M=Jw(0),B=ee(U=>Ae(U,{enter:()=>{M.addFlag(Pe.Opening),$.current.beforeEnter()},leave:()=>{M.addFlag(Pe.Closing),$.current.beforeLeave()},idle:()=>{}})),V=ee(U=>Ae(U,{enter:()=>{M.removeFlag(Pe.Opening),$.current.afterEnter()},leave:()=>{M.removeFlag(Pe.Closing),$.current.afterLeave()},idle:()=>{}})),K=cv(()=>{S("hidden"),A(b)},w);pE({immediate:C,container:b,classes:R,direction:L,onStart:xt(U=>{K.onStart(b,U,B)}),onStop:xt(U=>{K.onStop(b,U,V),U==="leave"&&!Ja(K)&&(S("hidden"),A(b))})});let G=h,x={ref:_};return C?G={...G,className:Oa(h.className,...R.current.enter,...R.current.enterFrom)}:(G.className=Oa(h.className,(r=b.current)==null?void 0:r.className),G.className===""&&delete G.className),Z.createElement(Qa.Provider,{value:K},Z.createElement(al,{value:Ae(O,{visible:Pe.Open,hidden:Pe.Closed})|M.flags},Se({ourProps:x,theirProps:G,defaultTag:_E,features:fv,visible:O==="visible",name:"Transition.Child"})))}function EE(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ie(null),u=Me(o,t);Tr();let s=yi();if(n===void 0&&s!==null&&(n=(s&Pe.Open)===Pe.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=He(n?"visible":"hidden"),l=cv(()=>{f("hidden")}),[d,v]=He(!0),p=ie([n]);$e(()=>{d!==!1&&p.current[p.current.length-1]!==n&&(p.current.push(n),v(!1))},[p,n]);let h=ce(()=>({show:n,appear:r,initial:d}),[n,r,d]);de(()=>{if(n)f("visible");else if(!Ja(l))f("hidden");else{let m=o.current;if(!m)return;let g=m.getBoundingClientRect();g.x===0&&g.y===0&&g.width===0&&g.height===0&&f("hidden")}},[n,l]);let b={unmount:i},_=ee(()=>{var m;d&&v(!1),(m=e.beforeEnter)==null||m.call(e)}),y=ee(()=>{var m;d&&v(!1),(m=e.beforeLeave)==null||m.call(e)});return Z.createElement(Qa.Provider,{value:l},Z.createElement(Xa.Provider,{value:h},Se({ourProps:{...b,as:Ee,children:Z.createElement(dv,{ref:u,...b,...a,beforeEnter:_,beforeLeave:y})},theirProps:{},defaultTag:Ee,features:fv,visible:c==="visible",name:"Transition"})))}function SE(e,t){let n=Ne(Xa)!==null,r=yi()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(Gu,{ref:t,...e}):Z.createElement(dv,{ref:t,...e}))}let Gu=Oe(EE),dv=Oe(wE),OE=Oe(SE),lL=Object.assign(Gu,{Child:OE,Root:Gu});function PE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const AE=pe(PE),cL=AE;function TE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const CE=pe(TE),fL=CE;function IE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5"}))}const RE=pe(IE),dL=RE;function LE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"}))}const kE=pe(LE),pL=kE;function NE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const ME=pe(NE),hL=ME;function DE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"}))}const $E=pe(DE),vL=$E;function jE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))}const BE=pe(jE),mL=BE;function FE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}const UE=pe(FE),yL=UE;function xE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const HE=pe(xE),gL=HE;function KE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 01-1.5 1.5H5.25a1.5 1.5 0 01-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 109.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1114.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z"}))}const WE=pe(KE),bL=WE;function zE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 013 3m3 0a6 6 0 01-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1121.75 8.25z"}))}const qE=pe(zE),_L=qE;function GE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13"}))}const VE=pe(GE),wL=VE;function YE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 012.25-2.25h7.5A2.25 2.25 0 0118 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 004.5 9v.878m13.5-3A2.25 2.25 0 0119.5 9v.878m0 0a2.246 2.246 0 00-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0121 12v6a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 18v-6c0-.98.626-1.813 1.5-2.122"}))}const XE=pe(YE),EL=XE;function QE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))}const JE=pe(QE),SL=JE;function ZE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const eS=pe(ZE),OL=eS,tS=(e,t)=>t.skipDedupe||t.method!=="GET",nS=(e,t)=>t.method+"@"+e,rS=e=>e.clone(),PL=({skip:e=tS,key:t=nS,resolver:n=rS}={})=>{const r=new Map;return i=>(a,o)=>{if(e(a,o))return i(a,o);const u=t(a,o);if(!r.has(u))r.set(u,[]);else return new Promise((s,c)=>{r.get(u).push([s,c])});try{return i(a,o).then(s=>(r.get(u).forEach(([c])=>c(n(s))),r.delete(u),s)).catch(s=>{throw r.get(u).forEach(([c,f])=>f(s)),r.delete(u),s})}catch(s){return r.delete(u),Promise.reject(s)}}},iS=(e,t)=>t.skipCache||t.method!=="GET",aS=(e,t)=>t.method+"@"+e,oS=(e,t)=>!1,uS=(e,t)=>null,sS=e=>e.ok,AL=({throttle:e=1e3,skip:t=iS,key:n=aS,clear:r=oS,invalidate:i=uS,condition:a=sS,flagResponseOnCacheHit:o="__cached"}={})=>{const u=new Map,s=new Map,c=new Set,f=d=>{e&&!c.has(d)&&(c.add(d),setTimeout(()=>{c.delete(d)},e))},l=d=>(v,p)=>{const h=n(v,p);let b=i(v,p);if(b&&(b instanceof Array||(b=[b]),b.forEach(_=>{typeof _=="string"?u.delete(_):_ instanceof RegExp&&u.forEach((y,m)=>{_.test(m)&&u.delete(m)})})),r(v,p)&&u.clear(),t(v,p))return d(v,p);if(c.has(h)){if(u.has(h)){const _=u.get(h).clone();return o&&Object.defineProperty(_,o,{value:h,enumerable:!1}),Promise.resolve(_)}else if(s.has(h))return new Promise((_,y)=>{s.get(h).push([_,y])})}return s.has(h)||s.set(h,[]),f(h),d(v,p).then(_=>(a(_.clone())&&u.set(h,_.clone()),s.get(h).forEach(([y])=>y(_.clone())),s.delete(h),_)).catch(_=>{throw s.get(h).forEach(([y,m])=>m(_)),s.delete(h),_})};return l.cacheResponse=function(d,v){f(d),u.set(d,v)},l.cache=u,l.inflight=s,l.throttling=c,l};function pv(e,t){return function(){return e.apply(t,arguments)}}const{toString:lS}=Object.prototype,{getPrototypeOf:hl}=Object,{iterator:Za,toStringTag:hv}=Symbol,eo=(e=>t=>{const n=lS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),wt=e=>(e=e.toLowerCase(),t=>eo(t)===e),to=e=>t=>typeof t===e,{isArray:Ir}=Array,mr=to("undefined");function _i(e){return e!==null&&!mr(e)&&e.constructor!==null&&!mr(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const vv=wt("ArrayBuffer");function cS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vv(e.buffer),t}const fS=to("string"),Xe=to("function"),mv=to("number"),wi=e=>e!==null&&typeof e=="object",dS=e=>e===!0||e===!1,na=e=>{if(eo(e)!=="object")return!1;const t=hl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(hv in e)&&!(Za in e)},pS=e=>{if(!wi(e)||_i(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},hS=wt("Date"),vS=wt("File"),mS=e=>!!(e&&typeof e.uri<"u"),yS=e=>e&&typeof e.getParts<"u",gS=wt("Blob"),bS=wt("FileList"),_S=e=>wi(e)&&Xe(e.pipe);function wS(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const nf=wS(),rf=typeof nf.FormData<"u"?nf.FormData:void 0,ES=e=>{let t;return e&&(rf&&e instanceof rf||Xe(e.append)&&((t=eo(e))==="formdata"||t==="object"&&Xe(e.toString)&&e.toString()==="[object FormData]"))},SS=wt("URLSearchParams"),[OS,PS,AS,TS]=["ReadableStream","Request","Response","Headers"].map(wt),CS=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ei(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ir(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(_i(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let u;for(r=0;r<o;r++)u=a[r],t.call(null,e[u],u,e)}}function yv(e,t){if(_i(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const On=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),gv=e=>!mr(e)&&e!==On;function Vu(){const{caseless:e,skipUndefined:t}=gv(this)&&this||{},n={},r=(i,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;const o=e&&yv(n,a)||a;na(n[o])&&na(i)?n[o]=Vu(n[o],i):na(i)?n[o]=Vu({},i):Ir(i)?n[o]=i.slice():(!t||!mr(i))&&(n[o]=i)};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&Ei(arguments[i],r);return n}const IS=(e,t,n,{allOwnKeys:r}={})=>(Ei(t,(i,a)=>{n&&Xe(i)?Object.defineProperty(e,a,{value:pv(i,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),RS=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),LS=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},kS=(e,t,n,r)=>{let i,a,o;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=n!==!1&&hl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},NS=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},MS=e=>{if(!e)return null;if(Ir(e))return e;let t=e.length;if(!mv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},DS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&hl(Uint8Array)),$S=(e,t)=>{const r=(e&&e[Za]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},jS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},BS=wt("HTMLFormElement"),FS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),af=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),US=wt("RegExp"),bv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ei(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},xS=e=>{bv(e,(t,n)=>{if(Xe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},HS=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Ir(e)?r(e):r(String(e).split(t)),n},KS=()=>{},WS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function zS(e){return!!(e&&Xe(e.append)&&e[hv]==="FormData"&&e[Za])}const qS=e=>{const t=new Array(10),n=(r,i)=>{if(wi(r)){if(t.indexOf(r)>=0)return;if(_i(r))return r;if(!("toJSON"in r)){t[i]=r;const a=Ir(r)?[]:{};return Ei(r,(o,u)=>{const s=n(o,i+1);!mr(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},GS=wt("AsyncFunction"),VS=e=>e&&(wi(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),_v=((e,t)=>e?setImmediate:t?((n,r)=>(On.addEventListener("message",({source:i,data:a})=>{i===On&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),On.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Xe(On.postMessage)),YS=typeof queueMicrotask<"u"?queueMicrotask.bind(On):typeof process<"u"&&process.nextTick||_v,XS=e=>e!=null&&Xe(e[Za]),k={isArray:Ir,isArrayBuffer:vv,isBuffer:_i,isFormData:ES,isArrayBufferView:cS,isString:fS,isNumber:mv,isBoolean:dS,isObject:wi,isPlainObject:na,isEmptyObject:pS,isReadableStream:OS,isRequest:PS,isResponse:AS,isHeaders:TS,isUndefined:mr,isDate:hS,isFile:vS,isReactNativeBlob:mS,isReactNative:yS,isBlob:gS,isRegExp:US,isFunction:Xe,isStream:_S,isURLSearchParams:SS,isTypedArray:DS,isFileList:bS,forEach:Ei,merge:Vu,extend:IS,trim:CS,stripBOM:RS,inherits:LS,toFlatObject:kS,kindOf:eo,kindOfTest:wt,endsWith:NS,toArray:MS,forEachEntry:$S,matchAll:jS,isHTMLForm:BS,hasOwnProperty:af,hasOwnProp:af,reduceDescriptors:bv,freezeMethods:xS,toObjectSet:HS,toCamelCase:FS,noop:KS,toFiniteNumber:WS,findKey:yv,global:On,isContextDefined:gv,isSpecCompliantForm:zS,toJSONObject:qS,isAsyncFn:GS,isThenable:VS,setImmediate:_v,asap:YS,isIterable:XS};class Ve extends Error{static from(t,n,r,i,a,o){const u=new Ve(t.message,n||t.code,r,i,a);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),o&&Object.assign(u,o),u}constructor(t,n,r,i,a){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a,this.status=a.status)}toJSON(){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:k.toJSONObject(this.config),code:this.code,status:this.status}}}Ve.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ve.ERR_BAD_OPTION="ERR_BAD_OPTION";Ve.ECONNABORTED="ECONNABORTED";Ve.ETIMEDOUT="ETIMEDOUT";Ve.ERR_NETWORK="ERR_NETWORK";Ve.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ve.ERR_DEPRECATED="ERR_DEPRECATED";Ve.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ve.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ve.ERR_CANCELED="ERR_CANCELED";Ve.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ve.ERR_INVALID_URL="ERR_INVALID_URL";const se=Ve,QS=null;function Yu(e){return k.isPlainObject(e)||k.isArray(e)}function wv(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function jo(e,t,n){return e?e.concat(t).map(function(i,a){return i=wv(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function JS(e){return k.isArray(e)&&!e.some(Yu)}const ZS=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function no(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,b){return!k.isUndefined(b[h])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(k.isDate(p))return p.toISOString();if(k.isBoolean(p))return p.toString();if(!s&&k.isBlob(p))throw new se("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(p)||k.isTypedArray(p)?s&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,h,b){let _=p;if(k.isReactNative(t)&&k.isReactNativeBlob(p))return t.append(jo(b,h,a),c(p)),!1;if(p&&!b&&typeof p=="object"){if(k.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(k.isArray(p)&&JS(p)||(k.isFileList(p)||k.endsWith(h,"[]"))&&(_=k.toArray(p)))return h=wv(h),_.forEach(function(m,g){!(k.isUndefined(m)||m===null)&&t.append(o===!0?jo([h],g,a):o===null?h:h+"[]",c(m))}),!1}return Yu(p)?!0:(t.append(jo(b,h,a),c(p)),!1)}const l=[],d=Object.assign(ZS,{defaultVisitor:f,convertValue:c,isVisitable:Yu});function v(p,h){if(!k.isUndefined(p)){if(l.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));l.push(p),k.forEach(p,function(_,y){(!(k.isUndefined(_)||_===null)&&i.call(t,_,k.isString(y)?y.trim():y,h,d))===!0&&v(_,h?h.concat(y):[y])}),l.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return v(e),t}function of(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function vl(e,t){this._pairs=[],e&&no(e,this,t)}const Ev=vl.prototype;Ev.append=function(t,n){this._pairs.push([t,n])};Ev.toString=function(t){const n=t?function(r){return t.call(this,r,of)}:of;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function eO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Sv(e,t,n){if(!t)return e;const r=n&&n.encode||eO,i=k.isFunction(n)?{serialize:n}:n,a=i&&i.serialize;let o;if(a?o=a(t,i):o=k.isURLSearchParams(t)?t.toString():new vl(t,i).toString(r),o){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class tO{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const uf=tO,ml={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},nO=typeof URLSearchParams<"u"?URLSearchParams:vl,rO=typeof FormData<"u"?FormData:null,iO=typeof Blob<"u"?Blob:null,aO={isBrowser:!0,classes:{URLSearchParams:nO,FormData:rO,Blob:iO},protocols:["http","https","file","blob","url","data"]},yl=typeof window<"u"&&typeof document<"u",Xu=typeof navigator=="object"&&navigator||void 0,oO=yl&&(!Xu||["ReactNative","NativeScript","NS"].indexOf(Xu.product)<0),uO=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),sO=yl&&window.location.href||"http://localhost",lO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yl,hasStandardBrowserEnv:oO,hasStandardBrowserWebWorkerEnv:uO,navigator:Xu,origin:sO},Symbol.toStringTag,{value:"Module"})),ze={...lO,...aO};function cO(e,t){return no(e,new ze.classes.URLSearchParams,{visitor:function(n,r,i,a){return ze.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function fO(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function dO(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}function Ov(e){function t(n,r,i,a){let o=n[a++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),s=a>=n.length;return o=!o&&k.isArray(i)?i.length:o,s?(k.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!u):((!i[o]||!k.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&k.isArray(i[o])&&(i[o]=dO(i[o])),!u)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,i)=>{t(fO(r),i,n,0)}),n}return null}function pO(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const gl={transitional:ml,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=k.isObject(t);if(a&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return i?JSON.stringify(Ov(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return cO(t,this.formSerializer).toString();if((u=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return no(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),pO(t)):t}],transformResponse:[function(t){const n=this.transitional||gl.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(u){if(o)throw u.name==="SyntaxError"?se.from(u,se.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{gl.headers[e]={}});const bl=gl,hO=k.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"]),vO=e=>{const t={};let n,r,i;return e&&e.split(`
8
+ `).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&hO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},sf=Symbol("internals"),mO=e=>!/[\r\n]/.test(e);function Pv(e,t){if(!(e===!1||e==null)){if(k.isArray(e)){e.forEach(n=>Pv(n,t));return}if(!mO(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}}function $r(e){return e&&String(e).trim().toLowerCase()}function yO(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(n!==10&&n!==13)break;t-=1}return t===e.length?e:e.slice(0,t)}function ra(e){return e===!1||e==null?e:k.isArray(e)?e.map(ra):yO(String(e))}function gO(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}const bO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bo(e,t,n,r,i){if(k.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function _O(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function wO(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}class ro{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(u,s,c){const f=$r(s);if(!f)throw new Error("header name must be a non-empty string");const l=k.findKey(i,f);(!l||i[l]===void 0||c===!0||c===void 0&&i[l]!==!1)&&(Pv(u,s),i[l||s]=ra(u))}const o=(u,s)=>k.forEach(u,(c,f)=>a(c,f,s));if(k.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(k.isString(t)&&(t=t.trim())&&!bO(t))o(vO(t),n);else if(k.isObject(t)&&k.isIterable(t)){let u={},s,c;for(const f of t){if(!k.isArray(f))throw TypeError("Object iterator must return a key-value pair");u[c=f[0]]=(s=u[c])?k.isArray(s)?[...s,f[1]]:[s,f[1]]:f[1]}o(u,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=$r(t),t){const r=k.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return gO(i);if(k.isFunction(n))return n.call(this,i,r);if(k.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$r(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Bo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=$r(o),o){const u=k.findKey(r,o);u&&(!n||Bo(r,r[u],u,n))&&(delete r[u],i=!0)}}return k.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||Bo(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return k.forEach(this,(i,a)=>{const o=k.findKey(r,a);if(o){n[o]=ra(i),delete n[a];return}const u=t?_O(a):String(a).trim();u!==a&&delete n[a],n[u]=ra(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&k.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
9
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[sf]=this[sf]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=$r(o);r[u]||(wO(i,o),r[u]=!0)}return k.isArray(t)?t.forEach(a):a(t),this}}ro.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(ro.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(ro);const gt=ro;function Fo(e,t){const n=this||bl,r=t||n,i=gt.from(r.headers);let a=r.data;return k.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Av(e){return!!(e&&e.__CANCEL__)}class EO extends se{constructor(t,n,r){super(t??"canceled",se.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}}const Si=EO;function Tv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function SO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function OO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),f=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,d=0;for(;l!==i;)d+=n[l++],l=l%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const v=f&&c-f;return v?Math.round(d*1e3/v):void 0}}function PO(e,t){let n=0,r=1e3/t,i,a;const o=(c,f=Date.now())=>{n=f,i=null,a&&(clearTimeout(a),a=null),e(...c)};return[(...c)=>{const f=Date.now(),l=f-n;l>=r?o(c,f):(i=c,a||(a=setTimeout(()=>{a=null,o(i)},r-l)))},()=>i&&o(i)]}const Ta=(e,t,n=3)=>{let r=0;const i=OO(50,250);return PO(a=>{const o=a.loaded,u=a.lengthComputable?a.total:void 0,s=o-r,c=i(s),f=o<=u;r=o;const l={loaded:o,total:u,progress:u?o/u:void 0,bytes:s,rate:c||void 0,estimated:c&&u&&f?(u-o)/c:void 0,event:a,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(l)},n)},lf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},cf=e=>(...t)=>k.asap(()=>e(...t)),AO=ze.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ze.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ze.origin),ze.navigator&&/(msie|trident)/i.test(ze.navigator.userAgent)):()=>!0,TO=ze.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];k.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),k.isString(r)&&u.push(`path=${r}`),k.isString(i)&&u.push(`domain=${i}`),a===!0&&u.push("secure"),k.isString(o)&&u.push(`SameSite=${o}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function CO(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function IO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Cv(e,t,n){let r=!CO(t);return e&&(r||n==!1)?IO(e,t):t}const ff=e=>e instanceof gt?{...e}:e;function Nn(e,t){t=t||{};const n={};function r(c,f,l,d){return k.isPlainObject(c)&&k.isPlainObject(f)?k.merge.call({caseless:d},c,f):k.isPlainObject(f)?k.merge({},f):k.isArray(f)?f.slice():f}function i(c,f,l,d){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c,l,d)}else return r(c,f,l,d)}function a(c,f){if(!k.isUndefined(f))return r(void 0,f)}function o(c,f){if(k.isUndefined(f)){if(!k.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function u(c,f,l){if(l in t)return r(c,f);if(l in e)return r(void 0,c)}const s={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:u,headers:(c,f,l)=>i(ff(c),ff(f),l,!0)};return k.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const l=k.hasOwnProp(s,f)?s[f]:i,d=l(e[f],t[f],f);k.isUndefined(d)&&l!==u||(n[f]=d)}),n}const Iv=e=>{const t=Nn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:u}=t;if(t.headers=o=gt.from(o),t.url=Sv(Cv(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),k.isFormData(n)){if(ze.hasStandardBrowserEnv||ze.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(k.isFunction(n.getHeaders)){const s=n.getHeaders(),c=["content-type","content-length"];Object.entries(s).forEach(([f,l])=>{c.includes(f.toLowerCase())&&o.set(f,l)})}}if(ze.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&AO(t.url))){const s=i&&a&&TO.read(a);s&&o.set(i,s)}return t},RO=typeof XMLHttpRequest<"u",LO=RO&&function(e){return new Promise(function(n,r){const i=Iv(e);let a=i.data;const o=gt.from(i.headers).normalize();let{responseType:u,onUploadProgress:s,onDownloadProgress:c}=i,f,l,d,v,p;function h(){v&&v(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(f),i.signal&&i.signal.removeEventListener("abort",f)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function _(){if(!b)return;const m=gt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),E={data:!u||u==="text"||u==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:m,config:e,request:b};Tv(function(S){n(S),h()},function(S){r(S),h()},E),b=null}"onloadend"in b?b.onloadend=_:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(_)},b.onabort=function(){b&&(r(new se("Request aborted",se.ECONNABORTED,e,b)),b=null)},b.onerror=function(g){const E=g&&g.message?g.message:"Network Error",O=new se(E,se.ERR_NETWORK,e,b);O.event=g||null,r(O),b=null},b.ontimeout=function(){let g=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||ml;i.timeoutErrorMessage&&(g=i.timeoutErrorMessage),r(new se(g,E.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,b)),b=null},a===void 0&&o.setContentType(null),"setRequestHeader"in b&&k.forEach(o.toJSON(),function(g,E){b.setRequestHeader(E,g)}),k.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),u&&u!=="json"&&(b.responseType=i.responseType),c&&([d,p]=Ta(c,!0),b.addEventListener("progress",d)),s&&b.upload&&([l,v]=Ta(s),b.upload.addEventListener("progress",l),b.upload.addEventListener("loadend",v)),(i.cancelToken||i.signal)&&(f=m=>{b&&(r(!m||m.type?new Si(null,e,b):m),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(f),i.signal&&(i.signal.aborted?f():i.signal.addEventListener("abort",f)));const y=SO(i.url);if(y&&ze.protocols.indexOf(y)===-1){r(new se("Unsupported protocol "+y+":",se.ERR_BAD_REQUEST,e));return}b.send(a||null)})},kO=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const a=function(c){if(!i){i=!0,u();const f=c instanceof Error?c:this.reason;r.abort(f instanceof se?f:new Si(f instanceof Error?f.message:f))}};let o=t&&setTimeout(()=>{o=null,a(new se(`timeout of ${t}ms exceeded`,se.ETIMEDOUT))},t);const u=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener("abort",a)}),e=null)};e.forEach(c=>c.addEventListener("abort",a));const{signal:s}=r;return s.unsubscribe=()=>k.asap(u),s}},NO=kO,MO=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},DO=async function*(e,t){for await(const n of $O(e))yield*MO(n,t)},$O=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},df=(e,t,n,r)=>{const i=DO(e,t);let a=0,o,u=s=>{o||(o=!0,r&&r(s))};return new ReadableStream({async pull(s){try{const{done:c,value:f}=await i.next();if(c){u(),s.close();return}let l=f.byteLength;if(n){let d=a+=l;n(d)}s.enqueue(new Uint8Array(f))}catch(c){throw u(c),c}},cancel(s){return u(s),i.return()}},{highWaterMark:2})},pf=64*1024,{isFunction:Di}=k,jO=(({Request:e,Response:t})=>({Request:e,Response:t}))(k.global),{ReadableStream:hf,TextEncoder:vf}=k.global,mf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},BO=e=>{e=k.merge.call({skipUndefined:!0},jO,e);const{fetch:t,Request:n,Response:r}=e,i=t?Di(t):typeof fetch=="function",a=Di(n),o=Di(r);if(!i)return!1;const u=i&&Di(hf),s=i&&(typeof vf=="function"?(p=>h=>p.encode(h))(new vf):async p=>new Uint8Array(await new n(p).arrayBuffer())),c=a&&u&&mf(()=>{let p=!1;const h=new hf,b=new n(ze.origin,{body:h,method:"POST",get duplex(){return p=!0,"half"}}).headers.has("Content-Type");return h.cancel(),p&&!b}),f=o&&u&&mf(()=>k.isReadableStream(new r("").body)),l={stream:f&&(p=>p.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(p=>{!l[p]&&(l[p]=(h,b)=>{let _=h&&h[p];if(_)return _.call(h);throw new se(`Response type '${p}' is not supported`,se.ERR_NOT_SUPPORT,b)})});const d=async p=>{if(p==null)return 0;if(k.isBlob(p))return p.size;if(k.isSpecCompliantForm(p))return(await new n(ze.origin,{method:"POST",body:p}).arrayBuffer()).byteLength;if(k.isArrayBufferView(p)||k.isArrayBuffer(p))return p.byteLength;if(k.isURLSearchParams(p)&&(p=p+""),k.isString(p))return(await s(p)).byteLength},v=async(p,h)=>{const b=k.toFiniteNumber(p.getContentLength());return b??d(h)};return async p=>{let{url:h,method:b,data:_,signal:y,cancelToken:m,timeout:g,onDownloadProgress:E,onUploadProgress:O,responseType:S,headers:w,withCredentials:P="same-origin",fetchOptions:A}=Iv(p),R=t||fetch;S=S?(S+"").toLowerCase():"text";let $=NO([y,m&&m.toAbortSignal()],g),j=null;const I=$&&$.unsubscribe&&(()=>{$.unsubscribe()});let C;try{if(O&&c&&b!=="get"&&b!=="head"&&(C=await v(w,_))!==0){let G=new n(h,{method:"POST",body:_,duplex:"half"}),x;if(k.isFormData(_)&&(x=G.headers.get("content-type"))&&w.setContentType(x),G.body){const[U,W]=lf(C,Ta(cf(O)));_=df(G.body,pf,U,W)}}k.isString(P)||(P=P?"include":"omit");const L=a&&"credentials"in n.prototype,M={...A,signal:$,method:b.toUpperCase(),headers:w.normalize().toJSON(),body:_,duplex:"half",credentials:L?P:void 0};j=a&&new n(h,M);let B=await(a?R(j,A):R(h,M));const V=f&&(S==="stream"||S==="response");if(f&&(E||V&&I)){const G={};["status","statusText","headers"].forEach(H=>{G[H]=B[H]});const x=k.toFiniteNumber(B.headers.get("content-length")),[U,W]=E&&lf(x,Ta(cf(E),!0))||[];B=new r(df(B.body,pf,U,()=>{W&&W(),I&&I()}),G)}S=S||"text";let K=await l[k.findKey(l,S)||"text"](B,p);return!V&&I&&I(),await new Promise((G,x)=>{Tv(G,x,{data:K,headers:gt.from(B.headers),status:B.status,statusText:B.statusText,config:p,request:j})})}catch(L){throw I&&I(),L&&L.name==="TypeError"&&/Load failed|fetch/i.test(L.message)?Object.assign(new se("Network Error",se.ERR_NETWORK,p,j,L&&L.response),{cause:L.cause||L}):se.from(L,L&&L.code,p,j,L&&L.response)}}},FO=new Map,Rv=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,a=[r,i,n];let o=a.length,u=o,s,c,f=FO;for(;u--;)s=a[u],c=f.get(s),c===void 0&&f.set(s,c=u?new Map:BO(t)),f=c;return c};Rv();const _l={http:QS,xhr:LO,fetch:{get:Rv}};k.forEach(_l,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const yf=e=>`- ${e}`,UO=e=>k.isFunction(e)||e===null||e===!1;function xO(e,t){e=k.isArray(e)?e:[e];const{length:n}=e;let r,i;const a={};for(let o=0;o<n;o++){r=e[o];let u;if(i=r,!UO(r)&&(i=_l[(u=String(r)).toLowerCase()],i===void 0))throw new se(`Unknown adapter '${u}'`);if(i&&(k.isFunction(i)||(i=i.get(t))))break;a[u||"#"+o]=i}if(!i){const o=Object.entries(a).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let u=n?o.length>1?`since :
10
+ `+o.map(yf).join(`
11
+ `):" "+yf(o[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return i}const Lv={getAdapter:xO,adapters:_l};function Uo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Si(null,e)}function gf(e){return Uo(e),e.headers=gt.from(e.headers),e.data=Fo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Lv.getAdapter(e.adapter||bl.adapter,e)(e).then(function(r){return Uo(e),r.data=Fo.call(e,e.transformResponse,r),r.headers=gt.from(r.headers),r},function(r){return Av(r)||(Uo(e),r&&r.response&&(r.response.data=Fo.call(e,e.transformResponse,r.response),r.response.headers=gt.from(r.response.headers))),Promise.reject(r)})}const kv="1.15.0",io={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{io[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const bf={};io.transitional=function(t,n,r){function i(a,o){return"[Axios v"+kv+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,u)=>{if(t===!1)throw new se(i(o," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!bf[o]&&(bf[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,u):!0}};io.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function HO(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.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 u=e[a],s=u===void 0||o(u,a,e);if(s!==!0)throw new se("option "+a+" must be "+s,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+a,se.ERR_BAD_OPTION)}}const ia={assertOptions:HO,validators:io},st=ia.validators;class Ca{constructor(t){this.defaults=t||{},this.interceptors={request:new uf,response:new uf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=(()=>{if(!i.stack)return"";const o=i.stack.indexOf(`
12
+ `);return o===-1?"":i.stack.slice(o+1)})();try{if(!r.stack)r.stack=a;else if(a){const o=a.indexOf(`
13
+ `),u=o===-1?-1:a.indexOf(`
14
+ `,o+1),s=u===-1?"":a.slice(u+1);String(r.stack).endsWith(s)||(r.stack+=`
15
+ `+a)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Nn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&ia.assertOptions(r,{silentJSONParsing:st.transitional(st.boolean),forcedJSONParsing:st.transitional(st.boolean),clarifyTimeoutError:st.transitional(st.boolean),legacyInterceptorReqResOrdering:st.transitional(st.boolean)},!1),i!=null&&(k.isFunction(i)?n.paramsSerializer={serialize:i}:ia.assertOptions(i,{encode:st.function,serialize:st.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ia.assertOptions(n,{baseUrl:st.spelling("baseURL"),withXsrfToken:st.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&k.merge(a.common,a[n.method]);a&&k.forEach(["delete","get","head","post","put","patch","common"],p=>{delete a[p]}),n.headers=gt.concat(o,a);const u=[];let s=!0;this.interceptors.request.forEach(function(h){if(typeof h.runWhen=="function"&&h.runWhen(n)===!1)return;s=s&&h.synchronous;const b=n.transitional||ml;b&&b.legacyInterceptorReqResOrdering?u.unshift(h.fulfilled,h.rejected):u.push(h.fulfilled,h.rejected)});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let f,l=0,d;if(!s){const p=[gf.bind(this),void 0];for(p.unshift(...u),p.push(...c),d=p.length,f=Promise.resolve(n);l<d;)f=f.then(p[l++],p[l++]);return f}d=u.length;let v=n;for(;l<d;){const p=u[l++],h=u[l++];try{v=p(v)}catch(b){h.call(this,b);break}}try{f=gf.call(this,v)}catch(p){return Promise.reject(p)}for(l=0,d=c.length;l<d;)f=f.then(c[l++],c[l++]);return f}getUri(t){t=Nn(this.defaults,t);const n=Cv(t.baseURL,t.url,t.allowAbsoluteUrls);return Sv(n,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){Ca.prototype[t]=function(n,r){return this.request(Nn(r||{},{method:t,url:n,data:(r||{}).data}))}});k.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Nn(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}Ca.prototype[t]=n(),Ca.prototype[t+"Form"]=n(!0)});const aa=Ca;class wl{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(u=>{r.subscribe(u),a=u}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,u){r.reason||(r.reason=new Si(a,o,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new wl(function(i){t=i}),cancel:t}}}const KO=wl;function WO(e){return function(n){return e.apply(null,n)}}function zO(e){return k.isObject(e)&&e.isAxiosError===!0}const Qu={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Qu).forEach(([e,t])=>{Qu[t]=e});const qO=Qu;function Nv(e){const t=new aa(e),n=pv(aa.prototype.request,t);return k.extend(n,aa.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Nv(Nn(e,i))},n}const ke=Nv(bl);ke.Axios=aa;ke.CanceledError=Si;ke.CancelToken=KO;ke.isCancel=Av;ke.VERSION=kv;ke.toFormData=no;ke.AxiosError=se;ke.Cancel=ke.CanceledError;ke.all=function(t){return Promise.all(t)};ke.spread=WO;ke.isAxiosError=zO;ke.mergeConfig=Nn;ke.AxiosHeaders=gt;ke.formToJSON=e=>Ov(k.isHTMLForm(e)?new FormData(e):e);ke.getAdapter=Lv.getAdapter;ke.HttpStatusCode=qO;ke.default=ke;const GO=ke;var VO=Function.prototype.toString,xo=Object.create,YO=Object.defineProperty,XO=Object.getOwnPropertyDescriptor,_f=Object.getOwnPropertyNames,El=Object.getOwnPropertySymbols,QO=Object.getPrototypeOf,Mv=Object.prototype,JO=Mv.hasOwnProperty,ZO=Mv.propertyIsEnumerable,Dv=typeof El=="function",e2=typeof WeakMap=="function",t2=function(){if(e2)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(n){return!!~this._keys.indexOf(n)},t.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},t.prototype.set=function(n,r){this._keys.push(n),this._values.push(r)},t}();return function(){return new e}}(),$v=function(e,t){var n=e.__proto__||QO(e);if(!n)return xo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:xo(n);if(~VO.call(r).indexOf("[native code]"))try{return new r}catch{}return xo(n)},n2=function(e,t,n,r){var i=$v(e,t);r.set(e,i);for(var a in e)JO.call(e,a)&&(i[a]=n(e[a],r));if(Dv)for(var o=El(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],ZO.call(e,c)&&(i[c]=n(e[c],r));return i},wf=function(e,t,n,r){var i=$v(e,t);r.set(e,i);for(var a=Dv?_f(e).concat(El(e)):_f(e),o=0,u=a.length,s=void 0,c=void 0;o<u;++o)if(s=a[o],s!=="callee"&&s!=="caller")if(c=XO(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{YO(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},r2=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},i2=Array.isArray,a2=Object.getPrototypeOf,o2=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function je(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||o2,i=n?wf:n2,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||a2(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(i2(o)){if(n)return wf(o,r,a,u);f=new c,u.set(o,f);for(var l=0,d=o.length;l<d;++l)f[l]=a(o[l],u);return f}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return f=new c(o.source,o.flags||r2(o)),f.lastIndex=o.lastIndex,f;if(r.Map&&o instanceof r.Map)return f=new c,u.set(o,f),o.forEach(function(v,p){f.set(p,a(v,u))}),f;if(r.Set&&o instanceof r.Set)return f=new c,u.set(o,f),o.forEach(function(v){f.add(a(v,u))}),f;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return f=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,f),o.copy(f),f;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return f=new c(o.buffer.slice(0)),u.set(o,f),f;if(o instanceof r.ArrayBuffer)return f=o.slice(0),u.set(o,f),f}return typeof o.then=="function"||o instanceof Error||r.WeakMap&&o instanceof r.WeakMap||r.WeakSet&&o instanceof r.WeakSet?o:i(o,r,a,u)};return a(e,t2())}je.default=je;je.strict=function(t,n){return je(t,{isStrict:!0,realm:n?n.realm:void 0})};var Rr=TypeError;const u2={},s2=Object.freeze(Object.defineProperty({__proto__:null,default:u2},Symbol.toStringTag,{value:"Module"})),l2=Kd(s2);var Sl=typeof Map=="function"&&Map.prototype,Ho=Object.getOwnPropertyDescriptor&&Sl?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ia=Sl&&Ho&&typeof Ho.get=="function"?Ho.get:null,Ef=Sl&&Map.prototype.forEach,Ol=typeof Set=="function"&&Set.prototype,Ko=Object.getOwnPropertyDescriptor&&Ol?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ra=Ol&&Ko&&typeof Ko.get=="function"?Ko.get:null,Sf=Ol&&Set.prototype.forEach,c2=typeof WeakMap=="function"&&WeakMap.prototype,qr=c2?WeakMap.prototype.has:null,f2=typeof WeakSet=="function"&&WeakSet.prototype,Gr=f2?WeakSet.prototype.has:null,d2=typeof WeakRef=="function"&&WeakRef.prototype,Of=d2?WeakRef.prototype.deref:null,p2=Boolean.prototype.valueOf,h2=Object.prototype.toString,v2=Function.prototype.toString,m2=String.prototype.match,Pl=String.prototype.slice,nn=String.prototype.replace,y2=String.prototype.toUpperCase,Pf=String.prototype.toLowerCase,jv=RegExp.prototype.test,Af=Array.prototype.concat,Pt=Array.prototype.join,g2=Array.prototype.slice,Tf=Math.floor,Ju=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Wo=Object.getOwnPropertySymbols,Zu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,yr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Vr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===yr||"symbol")?Symbol.toStringTag:null,Bv=Object.prototype.propertyIsEnumerable,Cf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function If(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||jv.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-Tf(-e):Tf(e);if(r!==e){var i=String(r),a=Pl.call(t,i.length+1);return nn.call(i,n,"$&_")+"."+nn.call(nn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return nn.call(t,n,"$&_")}var es=l2,Rf=es.custom,Lf=xv(Rf)?Rf:null,Fv={__proto__:null,double:'"',single:"'"},b2={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},ao=function e(t,n,r,i){var a=n||{};if(Mt(a,"quoteStyle")&&!Mt(Fv,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Mt(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Mt(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Mt(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Mt(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Kv(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?If(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?If(t,c):c}var f=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof t=="object")return ts(t)?"[Array]":"[Object]";var l=j2(a,r);if(typeof i>"u")i=[];else if(Hv(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=g2.call(i),i.push(I)),C){var L={depth:a.depth};return Mt(a,"quoteStyle")&&(L.quoteStyle=a.quoteStyle),e(j,L,r+1,i)}return e(j,a,r+1,i)}if(typeof t=="function"&&!kf(t)){var v=C2(t),p=$i(t,d);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(p.length>0?" { "+Pt.call(p,", ")+" }":"")}if(xv(t)){var h=yr?nn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Zu.call(t);return typeof t=="object"&&!yr?jr(h):h}if(M2(t)){for(var b="<"+Pf.call(String(t.nodeName)),_=t.attributes||[],y=0;y<_.length;y++)b+=" "+_[y].name+"="+Uv(_2(_[y].value),"double",a);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+Pf.call(String(t.nodeName))+">",b}if(ts(t)){if(t.length===0)return"[]";var m=$i(t,d);return l&&!$2(m)?"["+ns(m,l)+"]":"[ "+Pt.call(m,", ")+" ]"}if(E2(t)){var g=$i(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!Bv.call(t,"cause")?"{ ["+String(t)+"] "+Pt.call(Af.call("[cause]: "+d(t.cause),g),", ")+" }":g.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Pt.call(g,", ")+" }"}if(typeof t=="object"&&o){if(Lf&&typeof t[Lf]=="function"&&es)return es(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(I2(t)){var E=[];return Ef&&Ef.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),Nf("Map",Ia.call(t),E,l)}if(k2(t)){var O=[];return Sf&&Sf.call(t,function(j){O.push(d(j,t))}),Nf("Set",Ra.call(t),O,l)}if(R2(t))return zo("WeakMap");if(N2(t))return zo("WeakSet");if(L2(t))return zo("WeakRef");if(O2(t))return jr(d(Number(t)));if(A2(t))return jr(d(Ju.call(t)));if(P2(t))return jr(p2.call(t));if(S2(t))return jr(d(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof J<"u"&&t===J)return"{ [object globalThis] }";if(!w2(t)&&!kf(t)){var S=$i(t,d),w=Cf?Cf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&Vr&&Object(t)===t&&Vr in t?Pl.call(vn(t),8,-1):P?"Object":"",R=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",$=R+(A||P?"["+Pt.call(Af.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?$+"{}":l?$+"{"+ns(S,l)+"}":$+"{ "+Pt.call(S,", ")+" }"}return String(t)};function Uv(e,t,n){var r=n.quoteStyle||t,i=Fv[r];return i+e+i}function _2(e){return nn.call(String(e),/"/g,"&quot;")}function Fn(e){return!Vr||!(typeof e=="object"&&(Vr in e||typeof e[Vr]<"u"))}function ts(e){return vn(e)==="[object Array]"&&Fn(e)}function w2(e){return vn(e)==="[object Date]"&&Fn(e)}function kf(e){return vn(e)==="[object RegExp]"&&Fn(e)}function E2(e){return vn(e)==="[object Error]"&&Fn(e)}function S2(e){return vn(e)==="[object String]"&&Fn(e)}function O2(e){return vn(e)==="[object Number]"&&Fn(e)}function P2(e){return vn(e)==="[object Boolean]"&&Fn(e)}function xv(e){if(yr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Zu)return!1;try{return Zu.call(e),!0}catch{}return!1}function A2(e){if(!e||typeof e!="object"||!Ju)return!1;try{return Ju.call(e),!0}catch{}return!1}var T2=Object.prototype.hasOwnProperty||function(e){return e in this};function Mt(e,t){return T2.call(e,t)}function vn(e){return h2.call(e)}function C2(e){if(e.name)return e.name;var t=m2.call(v2.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Hv(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function I2(e){if(!Ia||!e||typeof e!="object")return!1;try{Ia.call(e);try{Ra.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function R2(e){if(!qr||!e||typeof e!="object")return!1;try{qr.call(e,qr);try{Gr.call(e,Gr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function L2(e){if(!Of||!e||typeof e!="object")return!1;try{return Of.call(e),!0}catch{}return!1}function k2(e){if(!Ra||!e||typeof e!="object")return!1;try{Ra.call(e);try{Ia.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function N2(e){if(!Gr||!e||typeof e!="object")return!1;try{Gr.call(e,Gr);try{qr.call(e,qr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function M2(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Kv(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Kv(Pl.call(e,0,t.maxStringLength),t)+r}var i=b2[t.quoteStyle||"single"];i.lastIndex=0;var a=nn.call(nn.call(e,i,"\\$1"),/[\x00-\x1f]/g,D2);return Uv(a,"single",t)}function D2(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+y2.call(t.toString(16))}function jr(e){return"Object("+e+")"}function zo(e){return e+" { ? }"}function Nf(e,t,n,r){var i=r?ns(n,r):Pt.call(n,", ");return e+" ("+t+") {"+i+"}"}function $2(e){for(var t=0;t<e.length;t++)if(Hv(e[t],`
16
+ `)>=0)return!1;return!0}function j2(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=Pt.call(Array(e.indent+1)," ");else return null;return{base:n,prev:Pt.call(Array(t+1),n)}}function ns(e,t){if(e.length===0)return"";var n=`
17
+ `+t.prev+t.base;return n+Pt.call(e,","+n)+`
18
+ `+t.prev}function $i(e,t){var n=ts(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Mt(e,i)?t(e[i],e):""}var a=typeof Wo=="function"?Wo(e):[],o;if(yr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Mt(e,s)&&(n&&String(Number(s))===s&&s<e.length||yr&&o["$"+s]instanceof Symbol||(jv.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Wo=="function")for(var c=0;c<a.length;c++)Bv.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var B2=ao,F2=Rr,oo=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},U2=function(e,t){if(e){var n=oo(e,t);return n&&n.value}},x2=function(e,t,n){var r=oo(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},H2=function(e,t){return e?!!oo(e,t):!1},K2=function(e,t){if(e)return oo(e,t,!0)},W2=function(){var t,n={assert:function(r){if(!n.has(r))throw new F2("Side channel does not contain "+B2(r))},delete:function(r){var i=K2(t,r);return i&&t&&!t.next&&(t=void 0),!!i},get:function(r){return U2(t,r)},has:function(r){return H2(t,r)},set:function(r,i){t||(t={next:void 0}),x2(t,r,i)}};return n},Wv=Object,z2=Error,q2=EvalError,G2=RangeError,V2=ReferenceError,Y2=SyntaxError,X2=URIError,Q2=Math.abs,J2=Math.floor,Z2=Math.max,eP=Math.min,tP=Math.pow,nP=Math.round,rP=Number.isNaN||function(t){return t!==t},iP=rP,aP=function(t){return iP(t)||t===0?t:t<0?-1:1},oP=Object.getOwnPropertyDescriptor,oa=oP;if(oa)try{oa([],"length")}catch{oa=null}var zv=oa,ua=Object.defineProperty||!1;if(ua)try{ua({},"a",{value:1})}catch{ua=!1}var uP=ua,qo,Mf;function sP(){return Mf||(Mf=1,qo=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,n);if(u.value!==i||u.enumerable!==!0)return!1}return!0}),qo}var Go,Df;function lP(){if(Df)return Go;Df=1;var e=typeof Symbol<"u"&&Symbol,t=sP();return Go=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Go}var Vo,$f;function qv(){return $f||($f=1,Vo=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Vo}var Yo,jf;function Gv(){if(jf)return Yo;jf=1;var e=Wv;return Yo=e.getPrototypeOf||null,Yo}var Xo,Bf;function cP(){if(Bf)return Xo;Bf=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(s,c){for(var f=[],l=0;l<s.length;l+=1)f[l]=s[l];for(var d=0;d<c.length;d+=1)f[d+s.length]=c[d];return f},a=function(s,c){for(var f=[],l=c||0,d=0;l<s.length;l+=1,d+=1)f[d]=s[l];return f},o=function(u,s){for(var c="",f=0;f<u.length;f+=1)c+=u[f],f+1<u.length&&(c+=s);return c};return Xo=function(s){var c=this;if(typeof c!="function"||t.apply(c)!==r)throw new TypeError(e+c);for(var f=a(arguments,1),l,d=function(){if(this instanceof l){var _=c.apply(this,i(f,arguments));return Object(_)===_?_:this}return c.apply(s,i(f,arguments))},v=n(0,c.length-f.length),p=[],h=0;h<v;h++)p[h]="$"+h;if(l=Function("binder","return function ("+o(p,",")+"){ return binder.apply(this,arguments); }")(d),c.prototype){var b=function(){};b.prototype=c.prototype,l.prototype=new b,b.prototype=null}return l},Xo}var Qo,Ff;function uo(){if(Ff)return Qo;Ff=1;var e=cP();return Qo=Function.prototype.bind||e,Qo}var Jo,Uf;function Al(){return Uf||(Uf=1,Jo=Function.prototype.call),Jo}var Zo,xf;function Vv(){return xf||(xf=1,Zo=Function.prototype.apply),Zo}var fP=typeof Reflect<"u"&&Reflect&&Reflect.apply,dP=uo(),pP=Vv(),hP=Al(),vP=fP,mP=vP||dP.call(hP,pP),yP=uo(),gP=Rr,bP=Al(),_P=mP,Yv=function(t){if(t.length<1||typeof t[0]!="function")throw new gP("a function is required");return _P(yP,bP,t)},eu,Hf;function wP(){if(Hf)return eu;Hf=1;var e=Yv,t=zv,n;try{n=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var r=!!n&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return eu=r&&typeof r.get=="function"?e([r.get]):typeof a=="function"?function(u){return a(u==null?u:i(u))}:!1,eu}var tu,Kf;function EP(){if(Kf)return tu;Kf=1;var e=qv(),t=Gv(),n=wP();return tu=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:n?function(i){return n(i)}:null,tu}var nu,Wf;function SP(){if(Wf)return nu;Wf=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=uo();return nu=n.call(e,t),nu}var ue,OP=Wv,PP=z2,AP=q2,TP=G2,CP=V2,gr=Y2,ir=Rr,IP=X2,RP=Q2,LP=J2,kP=Z2,NP=eP,MP=tP,DP=nP,$P=aP,Xv=Function,ru=function(e){try{return Xv('"use strict"; return ('+e+").constructor;")()}catch{}},oi=zv,jP=uP,iu=function(){throw new ir},BP=oi?function(){try{return arguments.callee,iu}catch{try{return oi(arguments,"callee").get}catch{return iu}}}():iu,Hn=lP()(),Ue=EP(),FP=Gv(),UP=qv(),Qv=Vv(),Oi=Al(),zn={},xP=typeof Uint8Array>"u"||!Ue?ue:Ue(Uint8Array),Rn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ue:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ue:ArrayBuffer,"%ArrayIteratorPrototype%":Hn&&Ue?Ue([][Symbol.iterator]()):ue,"%AsyncFromSyncIteratorPrototype%":ue,"%AsyncFunction%":zn,"%AsyncGenerator%":zn,"%AsyncGeneratorFunction%":zn,"%AsyncIteratorPrototype%":zn,"%Atomics%":typeof Atomics>"u"?ue:Atomics,"%BigInt%":typeof BigInt>"u"?ue:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ue:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ue:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ue:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":PP,"%eval%":eval,"%EvalError%":AP,"%Float16Array%":typeof Float16Array>"u"?ue:Float16Array,"%Float32Array%":typeof Float32Array>"u"?ue:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ue:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ue:FinalizationRegistry,"%Function%":Xv,"%GeneratorFunction%":zn,"%Int8Array%":typeof Int8Array>"u"?ue:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ue:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ue:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Hn&&Ue?Ue(Ue([][Symbol.iterator]())):ue,"%JSON%":typeof JSON=="object"?JSON:ue,"%Map%":typeof Map>"u"?ue:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Hn||!Ue?ue:Ue(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":OP,"%Object.getOwnPropertyDescriptor%":oi,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ue:Promise,"%Proxy%":typeof Proxy>"u"?ue:Proxy,"%RangeError%":TP,"%ReferenceError%":CP,"%Reflect%":typeof Reflect>"u"?ue:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ue:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Hn||!Ue?ue:Ue(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ue:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Hn&&Ue?Ue(""[Symbol.iterator]()):ue,"%Symbol%":Hn?Symbol:ue,"%SyntaxError%":gr,"%ThrowTypeError%":BP,"%TypedArray%":xP,"%TypeError%":ir,"%Uint8Array%":typeof Uint8Array>"u"?ue:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ue:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ue:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ue:Uint32Array,"%URIError%":IP,"%WeakMap%":typeof WeakMap>"u"?ue:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ue:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ue:WeakSet,"%Function.prototype.call%":Oi,"%Function.prototype.apply%":Qv,"%Object.defineProperty%":jP,"%Object.getPrototypeOf%":FP,"%Math.abs%":RP,"%Math.floor%":LP,"%Math.max%":kP,"%Math.min%":NP,"%Math.pow%":MP,"%Math.round%":DP,"%Math.sign%":$P,"%Reflect.getPrototypeOf%":UP};if(Ue)try{null.error}catch(e){var HP=Ue(Ue(e));Rn["%Error.prototype%"]=HP}var KP=function e(t){var n;if(t==="%AsyncFunction%")n=ru("async function () {}");else if(t==="%GeneratorFunction%")n=ru("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=ru("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Ue&&(n=Ue(i.prototype))}return Rn[t]=n,n},zf={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Pi=uo(),La=SP(),WP=Pi.call(Oi,Array.prototype.concat),zP=Pi.call(Qv,Array.prototype.splice),qf=Pi.call(Oi,String.prototype.replace),ka=Pi.call(Oi,String.prototype.slice),qP=Pi.call(Oi,RegExp.prototype.exec),GP=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,VP=/\\(\\)?/g,YP=function(t){var n=ka(t,0,1),r=ka(t,-1);if(n==="%"&&r!=="%")throw new gr("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new gr("invalid intrinsic syntax, expected opening `%`");var i=[];return qf(t,GP,function(a,o,u,s){i[i.length]=u?qf(s,VP,"$1"):o||a}),i},XP=function(t,n){var r=t,i;if(La(zf,r)&&(i=zf[r],r="%"+i[0]+"%"),La(Rn,r)){var a=Rn[r];if(a===zn&&(a=KP(r)),typeof a>"u"&&!n)throw new ir("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new gr("intrinsic "+t+" does not exist!")},Tl=function(t,n){if(typeof t!="string"||t.length===0)throw new ir("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new ir('"allowMissing" argument must be a boolean');if(qP(/^%?[^%]*%?$/,t)===null)throw new gr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=YP(t),i=r.length>0?r[0]:"",a=XP("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],zP(r,WP([0,1],c)));for(var f=1,l=!0;f<r.length;f+=1){var d=r[f],v=ka(d,0,1),p=ka(d,-1);if((v==='"'||v==="'"||v==="`"||p==='"'||p==="'"||p==="`")&&v!==p)throw new gr("property names with quotes must have matching quotes");if((d==="constructor"||!l)&&(s=!0),i+="."+d,o="%"+i+"%",La(Rn,o))u=Rn[o];else if(u!=null){if(!(d in u)){if(!n)throw new ir("base intrinsic for "+t+" exists, but the property is not available.");return}if(oi&&f+1>=r.length){var h=oi(u,d);l=!!h,l&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[d]}else l=La(u,d),u=u[d];l&&!s&&(Rn[o]=u)}}return u},Jv=Tl,Zv=Yv,QP=Zv([Jv("%String.prototype.indexOf%")]),em=function(t,n){var r=Jv(t,!!n);return typeof r=="function"&&QP(t,".prototype.")>-1?Zv([r]):r},JP=Tl,Ai=em,ZP=ao,eA=Rr,Gf=JP("%Map%",!0),tA=Ai("Map.prototype.get",!0),nA=Ai("Map.prototype.set",!0),rA=Ai("Map.prototype.has",!0),iA=Ai("Map.prototype.delete",!0),aA=Ai("Map.prototype.size",!0),tm=!!Gf&&function(){var t,n={assert:function(r){if(!n.has(r))throw new eA("Side channel does not contain "+ZP(r))},delete:function(r){if(t){var i=iA(t,r);return aA(t)===0&&(t=void 0),i}return!1},get:function(r){if(t)return tA(t,r)},has:function(r){return t?rA(t,r):!1},set:function(r,i){t||(t=new Gf),nA(t,r,i)}};return n},oA=Tl,so=em,uA=ao,ji=tm,sA=Rr,Kn=oA("%WeakMap%",!0),lA=so("WeakMap.prototype.get",!0),cA=so("WeakMap.prototype.set",!0),fA=so("WeakMap.prototype.has",!0),dA=so("WeakMap.prototype.delete",!0),pA=Kn?function(){var t,n,r={assert:function(i){if(!r.has(i))throw new sA("Side channel does not contain "+uA(i))},delete:function(i){if(Kn&&i&&(typeof i=="object"||typeof i=="function")){if(t)return dA(t,i)}else if(ji&&n)return n.delete(i);return!1},get:function(i){return Kn&&i&&(typeof i=="object"||typeof i=="function")&&t?lA(t,i):n&&n.get(i)},has:function(i){return Kn&&i&&(typeof i=="object"||typeof i=="function")&&t?fA(t,i):!!n&&n.has(i)},set:function(i,a){Kn&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new Kn),cA(t,i,a)):ji&&(n||(n=ji()),n.set(i,a))}};return r}:ji,hA=Rr,vA=ao,mA=W2,yA=tm,gA=pA,bA=gA||yA||mA,nm=function(){var t,n={assert:function(r){if(!n.has(r))throw new hA("Side channel does not contain "+vA(r))},delete:function(r){return!!t&&t.delete(r)},get:function(r){return t&&t.get(r)},has:function(r){return!!t&&t.has(r)},set:function(r,i){t||(t=bA()),t.set(r,i)}};return n},_A=String.prototype.replace,wA=/%20/g,au={RFC1738:"RFC1738",RFC3986:"RFC3986"},Cl={default:au.RFC3986,formatters:{RFC1738:function(e){return _A.call(e,wA,"+")},RFC3986:function(e){return String(e)}},RFC1738:au.RFC1738,RFC3986:au.RFC3986},EA=Cl,SA=nm,ou=Object.prototype.hasOwnProperty,wn=Array.isArray,lo=SA(),Xn=function(t,n){return lo.set(t,n),t},En=function(t){return lo.has(t)},xr=function(t){return lo.get(t)},rs=function(t,n){lo.set(t,n)},Et=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),OA=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(wn(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&(i[i.length]=r[a]);n.obj[n.prop]=i}}},Yr=function(t,n){for(var r=n&&n.plainObjects?{__proto__:null}:{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},PA=function e(t,n,r){if(!n)return t;if(typeof n!="object"&&typeof n!="function"){if(wn(t)){var i=t.length;if(r&&typeof r.arrayLimit=="number"&&i>r.arrayLimit)return Xn(Yr(t.concat(n),r),i);t[i]=n}else if(t&&typeof t=="object")if(En(t)){var a=xr(t)+1;t[a]=n,rs(t,a)}else{if(r&&r.strictMerge)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!ou.call(Object.prototype,n))&&(t[n]=!0)}else return[t,n];return t}if(!t||typeof t!="object"){if(En(n)){for(var o=Object.keys(n),u=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},s=0;s<o.length;s++){var c=parseInt(o[s],10);u[c+1]=n[o[s]]}return Xn(u,xr(n)+1)}var f=[t].concat(n);return r&&typeof r.arrayLimit=="number"&&f.length>r.arrayLimit?Xn(Yr(f,r),f.length-1):f}var l=t;return wn(t)&&!wn(n)&&(l=Yr(t,r)),wn(t)&&wn(n)?(n.forEach(function(d,v){if(ou.call(t,v)){var p=t[v];p&&typeof p=="object"&&d&&typeof d=="object"?t[v]=e(p,d,r):t[t.length]=d}else t[v]=d}),t):Object.keys(n).reduce(function(d,v){var p=n[v];if(ou.call(d,v)?d[v]=e(d[v],p,r):d[v]=p,En(n)&&!En(d)&&Xn(d,xr(n)),En(d)){var h=parseInt(v,10);String(h)===v&&h>=0&&h>xr(d)&&rs(d,h)}return d},l)},AA=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},TA=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},uu=1024,CA=function(t,n,r,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),r==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(v){return"%26%23"+parseInt(v.slice(2),16)+"%3B"});for(var u="",s=0;s<o.length;s+=uu){for(var c=o.length>=uu?o.slice(s,s+uu):o,f=[],l=0;l<c.length;++l){var d=c.charCodeAt(l);if(d===45||d===46||d===95||d===126||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||a===EA.RFC1738&&(d===40||d===41)){f[f.length]=c.charAt(l);continue}if(d<128){f[f.length]=Et[d];continue}if(d<2048){f[f.length]=Et[192|d>>6]+Et[128|d&63];continue}if(d<55296||d>=57344){f[f.length]=Et[224|d>>12]+Et[128|d>>6&63]+Et[128|d&63];continue}l+=1,d=65536+((d&1023)<<10|c.charCodeAt(l)&1023),f[f.length]=Et[240|d>>18]+Et[128|d>>12&63]+Et[128|d>>6&63]+Et[128|d&63]}u+=f.join("")}return u},IA=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var a=n[i],o=a.obj[a.prop],u=Object.keys(o),s=0;s<u.length;++s){var c=u[s],f=o[c];typeof f=="object"&&f!==null&&r.indexOf(f)===-1&&(n[n.length]={obj:o,prop:c},r[r.length]=f)}return OA(n),t},RA=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},LA=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},kA=function(t,n,r,i){if(En(t)){var a=xr(t)+1;return t[a]=n,rs(t,a),t}var o=[].concat(t,n);return o.length>r?Xn(Yr(o,{plainObjects:i}),o.length-1):o},NA=function(t,n){if(wn(t)){for(var r=[],i=0;i<t.length;i+=1)r[r.length]=n(t[i]);return r}return n(t)},rm={arrayToObject:Yr,assign:AA,combine:kA,compact:IA,decode:TA,encode:CA,isBuffer:LA,isOverflow:En,isRegExp:RA,markOverflow:Xn,maybeMap:NA,merge:PA},im=nm,sa=rm,Xr=Cl,MA=Object.prototype.hasOwnProperty,am={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Ot=Array.isArray,DA=Array.prototype.push,om=function(e,t){DA.apply(e,Ot(t)?t:[t])},$A=Date.prototype.toISOString,Vf=Xr.default,De={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:sa.encode,encodeValuesOnly:!1,filter:void 0,format:Vf,formatter:Xr.formatters[Vf],indices:!1,serializeDate:function(t){return $A.call(t)},skipNulls:!1,strictNullHandling:!1},jA=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},su={},BA=function e(t,n,r,i,a,o,u,s,c,f,l,d,v,p,h,b,_,y){for(var m=t,g=y,E=0,O=!1;(g=g.get(su))!==void 0&&!O;){var S=g.get(t);if(E+=1,typeof S<"u"){if(S===E)throw new RangeError("Cyclic object value");O=!0}typeof g.get(su)>"u"&&(E=0)}if(typeof f=="function"?m=f(n,m):m instanceof Date?m=v(m):r==="comma"&&Ot(m)&&(m=sa.maybeMap(m,function(K){return K instanceof Date?v(K):K})),m===null){if(o)return c&&!b?c(n,De.encoder,_,"key",p):n;m=""}if(jA(m)||sa.isBuffer(m)){if(c){var w=b?n:c(n,De.encoder,_,"key",p);return[h(w)+"="+h(c(m,De.encoder,_,"value",p))]}return[h(n)+"="+h(String(m))]}var P=[];if(typeof m>"u")return P;var A;if(r==="comma"&&Ot(m))b&&c&&(m=sa.maybeMap(m,c)),A=[{value:m.length>0?m.join(",")||null:void 0}];else if(Ot(f))A=f;else{var R=Object.keys(m);A=l?R.sort(l):R}var $=s?String(n).replace(/\./g,"%2E"):String(n),j=i&&Ot(m)&&m.length===1?$+"[]":$;if(a&&Ot(m)&&m.length===0)return j+"[]";for(var I=0;I<A.length;++I){var C=A[I],L=typeof C=="object"&&C&&typeof C.value<"u"?C.value:m[C];if(!(u&&L===null)){var M=d&&s?String(C).replace(/\./g,"%2E"):String(C),B=Ot(m)?typeof r=="function"?r(j,M):j:j+(d?"."+M:"["+M+"]");y.set(t,E);var V=im();V.set(su,y),om(P,e(L,B,r,i,a,o,u,s,r==="comma"&&b&&Ot(m)?null:c,f,l,d,v,p,h,b,_,V))}}return P},FA=function(t){if(!t)return De;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||De.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=Xr.default;if(typeof t.format<"u"){if(!MA.call(Xr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Xr.formatters[r],a=De.filter;(typeof t.filter=="function"||Ot(t.filter))&&(a=t.filter);var o;if(t.arrayFormat in am?o=t.arrayFormat:"indices"in t?o=t.indices?"indices":"repeat":o=De.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:De.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:De.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:De.allowEmptyArrays,arrayFormat:o,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:De.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?De.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:De.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:De.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:De.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:De.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:De.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:De.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:De.strictNullHandling}},UA=function(e,t){var n=e,r=FA(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Ot(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u=am[r.arrayFormat],s=u==="comma"&&r.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var c=im(),f=0;f<i.length;++f){var l=i[f],d=n[l];r.skipNulls&&d===null||om(o,BA(d,l,u,s,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,c))}var v=o.join(r.delimiter),p=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?p+="utf8=%26%2310003%3B&":p+="utf8=%E2%9C%93&"),v.length>0?p+v:""},Rt=rm,la=Object.prototype.hasOwnProperty,lu=Array.isArray,_e={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Rt.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},xA=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},um=function(e,t,n){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},HA="utf8=%26%2310003%3B",KA="utf8=%E2%9C%93",WA=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,n.throwOnLimitExceeded&&typeof a<"u"?a+1:a);if(n.throwOnLimitExceeded&&typeof a<"u"&&o.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var u=-1,s,c=n.charset;if(n.charsetSentinel)for(s=0;s<o.length;++s)o[s].indexOf("utf8=")===0&&(o[s]===KA?c="utf-8":o[s]===HA&&(c="iso-8859-1"),u=s,s=o.length);for(s=0;s<o.length;++s)if(s!==u){var f=o[s],l=f.indexOf("]="),d=l===-1?f.indexOf("="):l+1,v,p;if(d===-1?(v=n.decoder(f,_e.decoder,c,"key"),p=n.strictNullHandling?null:""):(v=n.decoder(f.slice(0,d),_e.decoder,c,"key"),v!==null&&(p=Rt.maybeMap(um(f.slice(d+1),n,lu(r[v])?r[v].length:0),function(b){return n.decoder(b,_e.decoder,c,"value")}))),p&&n.interpretNumericEntities&&c==="iso-8859-1"&&(p=xA(String(p))),f.indexOf("[]=")>-1&&(p=lu(p)?[p]:p),n.comma&&lu(p)&&p.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");p=Rt.combine([],p,n.arrayLimit,n.plainObjects)}if(v!==null){var h=la.call(r,v);h&&(n.duplicates==="combine"||f.indexOf("[]=")>-1)?r[v]=Rt.combine(r[v],p,n.arrayLimit,n.plainObjects):(!h||n.duplicates==="last")&&(r[v]=p)}}return r},zA=function(e,t,n,r){var i=0;if(e.length>0&&e[e.length-1]==="[]"){var a=e.slice(0,-1).join("");i=Array.isArray(t)&&t[a]?t[a].length:0}for(var o=r?t:um(t,n,i),u=e.length-1;u>=0;--u){var s,c=e[u];if(c==="[]"&&n.parseArrays)Rt.isOverflow(o)?s=o:s=n.allowEmptyArrays&&(o===""||n.strictNullHandling&&o===null)?[]:Rt.combine([],o,n.arrayLimit,n.plainObjects);else{s=n.plainObjects?{__proto__:null}:{};var f=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,l=n.decodeDotInKeys?f.replace(/%2E/g,"."):f,d=parseInt(l,10),v=!isNaN(d)&&c!==l&&String(d)===l&&d>=0&&n.parseArrays;if(!n.parseArrays&&l==="")s={0:o};else if(v&&d<n.arrayLimit)s=[],s[d]=o;else{if(v&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");v?(s[d]=o,Rt.markOverflow(s,d)):l!=="__proto__"&&(s[l]=o)}}o=s}return o},qA=function(t,n){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(n.depth<=0)return!n.plainObjects&&la.call(Object.prototype,r)&&!n.allowPrototypes?void 0:[r];var i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,o=i.exec(r),u=o?r.slice(0,o.index):r,s=[];if(u){if(!n.plainObjects&&la.call(Object.prototype,u)&&!n.allowPrototypes)return;s[s.length]=u}for(var c=0;(o=a.exec(r))!==null&&c<n.depth;){c+=1;var f=o[1].slice(1,-1);if(!n.plainObjects&&la.call(Object.prototype,f)&&!n.allowPrototypes)return;s[s.length]=o[1]}if(o){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");s[s.length]="["+r.slice(o.index)+"]"}return s},GA=function(t,n,r,i){if(t){var a=qA(t,r);if(a)return zA(a,n,r,i)}},VA=function(t){if(!t)return _e;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded<"u"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=typeof t.charset>"u"?_e.charset:t.charset,r=typeof t.duplicates>"u"?_e.duplicates:t.duplicates;if(r!=="combine"&&r!=="first"&&r!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:_e.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:_e.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:_e.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:_e.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:_e.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:_e.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:_e.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:_e.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:_e.decoder,delimiter:typeof t.delimiter=="string"||Rt.isRegExp(t.delimiter)?t.delimiter:_e.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:_e.depth,duplicates:r,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:_e.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:_e.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:_e.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:_e.strictDepth,strictMerge:typeof t.strictMerge=="boolean"?!!t.strictMerge:_e.strictMerge,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:_e.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},YA=function(e,t){var n=VA(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?{__proto__:null}:{};for(var r=typeof e=="string"?WA(e,n):e,i=n.plainObjects?{__proto__:null}:{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=GA(u,r[u],n,typeof e=="string");i=Rt.merge(i,s,n)}return n.allowSparse===!0?i:Rt.compact(i)},XA=UA,QA=YA,JA=Cl,ZA={formats:JA,parse:QA,stringify:XA};const e5=pi(ZA);var Il={exports:{}};class sm extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const t5=({limit:e,interval:t,strict:n})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let i=0,a=0;function o(){const f=Date.now();return f-i>t?(a=1,i=f,0):(a<e?a++:(i+=t,a=1),i-f)}const u=[];function s(){const f=Date.now();if(u.length<e)return u.push(f),0;const l=u.shift()+t;return f>=l?(u.push(f),0):(u.push(l),l-f)}const c=n?s:o;return f=>{const l=function(...d){if(!l.isEnabled)return(async()=>f.apply(this,d))();let v;return new Promise((p,h)=>{v=setTimeout(()=>{p(f.apply(this,d)),r.delete(v)},c()),r.set(v,h)})};return l.abort=()=>{for(const d of r.keys())clearTimeout(d),r.get(d)(new sm);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};Il.exports=t5;Il.exports.AbortError=sm;var n5=Il.exports;const r5=pi(n5);function i5(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Yf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yf(Object(n),!0).forEach(function(r){a5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function is(e){"@babel/helpers - typeof";return is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},is(e)}function as(){as=function(i,a){return new n(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function n(i,a,o){var u=new RegExp(i,a);return t.set(u,o||t.get(i)),Na(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,s){var c=o[s];if(typeof c=="number")u[s]=i[c];else{for(var f=0;i[c[f]]===void 0&&f+1<c.length;)f++;u[s]=i[c[f]]}return u},Object.create(null))}return o5(n,RegExp),n.prototype.exec=function(i){var a=e.exec.call(this,i);if(a){a.groups=r(a,this);var o=a.indices;o&&(o.groups=r(o,this))}return a},n.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(s,c){var f=o[c];return"$"+(Array.isArray(f)?f.join("$"):f)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s)).push(r(s,u)),a.apply(this,s)})}return e[Symbol.replace].call(this,i,a)},as.apply(this,arguments)}function a5(e,t,n){return t=d5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Na(e,t)}function Na(e,t){return Na=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Na(e,t)}function u5(e,t){return s5(e)||i5(e,t)||lm(e,t)||l5()}function s5(e){if(Array.isArray(e))return e}function lm(e,t){if(e){if(typeof e=="string")return Xf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xf(e,t)}}function Xf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
19
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c5(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=lm(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
20
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,u;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return a=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function f5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function d5(e){var t=f5(e,"string");return typeof t=="symbol"?t:String(t)}function p5(){return typeof process<"u"&&!process.browser}function h5(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function v5(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function m5(){return window}function os(){}var us=as(/(\d+)(%)/,{value:1});function cu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(us.test(e)){var r,i=(r=e.match(us))===null||r===void 0?void 0:r.groups;if(i&&i.value){var a=parseInt(i.value)/100;n=Math.round(t*a)}}return Math.min(30,Math.max(1,n))}function Qf(e,t){return t("info","Throttle request to ".concat(e,"/s")),r5({limit:e,interval:1e3,strict:!1})}var y5=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?os:n,i=Gl(t)?cu(t):cu("auto",t),a=Qf(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),s=e.interceptors.response.use(function(c){if(!o&&Gl(t)&&(t==="auto"||us.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=cu(t,f);l!==i&&(u&&e.interceptors.request.eject(u),i=l,a=Qf(l,r),u=e.interceptors.request.use(function(d){return a(function(){return d})()},function(d){return Promise.reject(d)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(s)}},g5=function(t){return new Promise(function(n){setTimeout(n,t)})},b5=function(t){return Math.pow(Math.SQRT2,t)};function _5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?os:r,a=n.requestLogger,o=a===void 0?os:a;e.interceptors.request.use(function(u){return o(u),u},function(u){return o(u),Promise.reject(u)}),e.interceptors.response.use(function(u){return i(u),u},function(u){var s=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var f=c.attempts||1;if(f>t)return u.attempts=c.attempts,Promise.reject(u);var l=null,d=b5(f);return s?s.status>=500&&s.status<600?l="Server ".concat(s.status):s.status===429&&(l="Rate limit",s.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(d=s.headers["x-contentful-ratelimit-reset"])):l="Connection",l?(d=Math.floor(d*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(l," error occurred. Waiting for ").concat(d," ms before retrying...")),c.attempts=f+1,delete c.httpAgent,delete c.httpsAgent,g5(d).then(function(){return e(c)})):Promise.reject(u)})}function w5(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=Qn(Qn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var E5=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function cm(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,b){if(h==="error"&&b){var _=[b.name,b.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(_)),console.error(b);return}console.log("[".concat(h,"] ").concat(b))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=Qn(Qn({},n),t);if(!r.accessToken){var i=new TypeError("Expected parameter accessToken");throw r.logHandler("error",i),i}var a=r.insecure?"http":"https",o=r.space?"".concat(r.space,"/"):"",u=r.defaultHostname,s=r.insecure?80:443;if(r.host&&E5.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=u5(c,2);u=f[0],s=f[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var l=t.baseURL||"".concat(a,"://").concat(u,":").concat(s).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var d={baseURL:l,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:e5.stringify,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError},v=e.create(d);return v.httpClientParams=t,v.cloneWithNewParams=function(p){return cm(e,Qn(Qn({},je(t)),p))},r.onBeforeRequest&&v.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&w5(v,r.accessToken),r.throttle&&y5(v,r.throttle),_5(v,r.retryLimit),r.onError&&v.interceptors.response.use(function(p){return p},r.onError),v}function bn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=je(t),n}function fm(e){var t=Object.getOwnPropertyNames(e),n=c5(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&is(a)==="object"&&fm(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function ot(e){return fm(e.sys||{}),e}function Jf(){var e=m5();if(!e)return null;var t=e.navigator.userAgent,n=e.navigator.platform,r=["Macintosh","MacIntel","MacPPC","Mac68K"],i=["Win32","Win64","Windows","WinCE"],a=["iPhone","iPad","iPod"];return r.indexOf(n)!==-1?"macOS":a.indexOf(n)!==-1?"iOS":i.indexOf(n)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function S5(){var e=process.platform||"linux",t=process.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?"".concat(n[e]||"Linux","/").concat(t):null}function O5(e,t,n,r){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),r&&i.push("feature "+r),i.push("sdk ".concat(e));var a=null;try{h5()?(a=Jf(),i.push("platform ReactNative")):p5()?(a=S5(),i.push("platform node.js/".concat(v5()))):(a=Jf(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Qe(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return je(this)}})}function pt(e){var t=e.config,n=e.response,r;if(t&&t.headers&&t.headers.Authorization){var i="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(i)}if(!Li(n)||!Li(t))throw e;var a=n==null?void 0:n.data,o={status:n==null?void 0:n.status,statusText:n==null?void 0:n.statusText,message:"",details:{}};Li(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&Li(a)&&("requestId"in a&&(o.requestId=a.requestId||"UNKNOWN"),"message"in a&&(o.message=a.message||""),"details"in a&&(o.details=a.details||{}),"sys"in a&&"id"in a.sys&&(r=a.sys.id));var u=new Error;u.name=r&&r!=="Unknown"?r:"".concat(n==null?void 0:n.status," ").concat(n==null?void 0:n.statusText);try{u.message=JSON.stringify(o,null," ")}catch{var s;u.message=(s=o==null?void 0:o.message)!==null&&s!==void 0?s:""}throw u}function P5(e){return ot(Qe(e))}const A5=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:P5},Symbol.toStringTag,{value:"Module"}));var ss={exports:{}};(function(e,t){t=e.exports=n,t.getSerialize=r;function n(i,a,o,u){return JSON.stringify(i,r(a,u),o)}function r(i,a){var o=[],u=[];return a==null&&(a=function(s,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(s,c){if(o.length>0){var f=o.indexOf(this);~f?o.splice(f+1):o.push(this),~f?u.splice(f,1/0,s):u.push(s),~o.indexOf(c)&&(c=a.call(this,s,c))}else o.push(c);return i==null?c:i.call(this,s,c)}}})(ss,ss.exports);var T5=ss.exports;const C5=pi(T5);function dm(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return C5(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var I5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R5=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),s;!(i=(s=u.next()).done)&&(r.push(s.value),!(n&&r.length===n));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&u.return&&u.return()}finally{if(a)throw o}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function Br(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var ui={},L5=function(t){return t&&t.sys&&t.sys.type==="Link"},k5=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},N5=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},Zf=function(t,n){var r=n.entryId,i=n.linkType,a=n.spaceId,o=n.environmentId;return a&&o?t.get(a+"!"+o+"!"+i+"!"+r):t.get(i+"!"+r)},M5=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=R5(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,s=i[3];return{spaceId:a,environmentId:u,entryId:s}}},D5=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=M5(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return Zf(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||ui}var d=n.sys.id;return Zf(t,{linkType:a,entryId:d})||ui},$5=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==ui});for(var n in t)t[n]===ui&&delete t[n];return t},j5=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":I5(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=$5(t))}return t},B5=function(t,n,r){var i=D5(t,n);return i===ui?r?i:n:i},F5=function(t,n){if(!Array.isArray(n))return t;var r=Object.keys(t).filter(function(i){return n.indexOf(i)!==-1});return r.reduce(function(i,a){return i[a]=t[a],i},{})},pm=function(t,n){if(n=n||{},!t.items)return[];var r=je(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat(Br(u),Br(t.includes[s]))},[]),a=[].concat(Br(r.items),Br(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=N5(s.sys).map(function(f){return[f,s]});return u.push.apply(u,Br(c)),u},[]));return a.forEach(function(u){var s=F5(u,n.itemEntryPoints);Object.assign(u,j5(s,function(c){return L5(c)||k5(c)},function(c){return B5(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function U5(e){return ot(Qe(je(e)))}function x5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=dm(Qe(je(e)));return n&&(i.items=pm(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),ot(i)}const H5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:U5,wrapEntryCollection:x5},Symbol.toStringTag,{value:"Module"}));function K5(e){return ot(Qe(je(e)))}function W5(e){return ot(Qe(je(e)))}const z5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:K5,wrapAssetCollection:W5},Symbol.toStringTag,{value:"Module"}));function q5(e){return ot(Qe(je(e)))}const G5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:q5},Symbol.toStringTag,{value:"Module"}));function V5(e){return ot(Qe(je(e)))}function Y5(e){return ot(Qe(je(e)))}const X5=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:V5,wrapContentTypeCollection:Y5},Symbol.toStringTag,{value:"Module"}));function Q5(e){return ot(Qe(je(e)))}function J5(e){return ot(Qe(je(e)))}const Z5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:Q5,wrapLocaleCollection:J5},Symbol.toStringTag,{value:"Module"}));function eT(e){return ot(Qe(je(e)))}function tT(e){return ot(Qe(je(e)))}const nT=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:eT,wrapTagCollection:tT},Symbol.toStringTag,{value:"Module"})),yn={space:A5,entry:H5,asset:z5,assetKey:G5,contentType:X5,locale:Z5,tag:nT};function ed(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function td(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ed(Object(n),!0).forEach(function(r){rT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ed(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function rT(e,t,n){return t=iT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iT(e){var t=aT(e,"string");return typeof t=="symbol"?t:String(t)}function aT(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}async function oT(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&t.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const r={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:i,removeUnresolved:a,paginate:o}=td(td({},r),n),s=await hm(e,[],t,{paginate:o});i&&(s.items=pm(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=uT(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),ot(dm(Qe(c)))}function uT(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Qe(i)),r);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}async function hm(e,t,n,r){let{paginate:i}=r;n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type,delete n.limit);const o=(await e.get("sync",bn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=fu(o.nextPageUrl),hm(e,t,n,{paginate:i})):{items:t,nextPageToken:fu(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:fu(o.nextSyncUrl)}:{items:[]}}function fu(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nd(Object(n),!0).forEach(function(r){sT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function sT(e,t,n){return t=lT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lT(e){var t=cT(e,"string");return typeof t=="symbol"?t:String(t)}function cT(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Bi(e){if(!e.select)return e;const t=Array.isArray(e.select)?e.select:e.select.split(",").map(r=>r.trim()),n=new Set(t);return n.has("sys")?e:(n.add("sys.id"),n.add("sys.type"),rd(rd({},e),{},{select:[...n].join(",")}))}class du extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function fT(e,t,n){if(n=n||{},typeof t!="number")throw new du(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new du(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new du(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ad(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?id(Object(n),!0).forEach(function(r){dT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):id(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dT(e,t,n){return t=pT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pT(e){var t=hT(e,"string");return typeof t=="symbol"?t:String(t)}function hT(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const vT=48*60*60;function mT(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=yn.space,{wrapContentType:i,wrapContentTypeCollection:a}=yn.contentType,{wrapEntry:o,wrapEntryCollection:u}=yn.entry,{wrapAsset:s,wrapAssetCollection:c}=yn.asset,{wrapTag:f,wrapTagCollection:l}=yn.tag,{wrapAssetKey:d}=yn.assetKey,{wrapLocaleCollection:v}=yn.locale,p=I=>{const C=new Error("The resource could not be found.");return C.sys={type:"Error",id:"NotFound"},C.details={type:"Entry",id:I,environment:n().environment,space:n().space},C};async function h(){j(t);try{const I=await t.get("/");return r(I.data)}catch(I){pt(I)}}async function b(I){$(t);try{const C=await t.get(`content_types/${I}`);return i(C.data)}catch(C){pt(C)}}async function _(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);try{const C=await t.get("content_types",bn({query:I}));return a(C.data)}catch(C){pt(C)}}async function y(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I)throw p(I);try{const L=await this.getEntries(ad({"sys.id":I},C));if(L.items.length>0)return o(L.items[0]);throw p(I)}catch(L){pt(L)}}async function m(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);const{resolveLinks:C,removeUnresolved:L}=n(I);I=Bi(I);try{const M=await t.get("entries",bn({query:I}));return u(M.data,{resolveLinks:C,removeUnresolved:L})}catch(M){pt(M)}}async function g(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};$(t),C=Bi(C);try{const L=await t.get(`assets/${I}`,bn({query:C}));return s(L.data)}catch(L){pt(L)}}async function E(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t),I=Bi(I);try{const C=await t.get("assets",bn({query:I}));return c(C.data)}catch(C){pt(C)}}async function O(I){$(t);try{const C=await t.get(`tags/${I}`);return f(C.data)}catch(C){pt(C)}}async function S(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t),I=Bi(I);try{const C=await t.get("tags",bn({query:I}));return l(C.data)}catch(C){pt(C)}}async function w(I){$(t);try{const C=Math.floor(Date.now()/1e3),L=C+vT;fT("expiresAt",I,{maximum:L,now:C});const M={expiresAt:I},B=await t.post("asset_keys",M);return d(B.data)}catch(C){pt(C)}}async function P(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$(t);try{const C=await t.get("locales",bn({query:I}));return v(C.data)}catch(C){pt(C)}}async function A(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:L,removeUnresolved:M}=n(I);return $(t),oT(t,I,ad({resolveLinks:L,removeUnresolved:M},C))}function R(I){const{resolveLinks:C,removeUnresolved:L}=n({});return u(I,{resolveLinks:C,removeUnresolved:L})}function $(I){I.defaults.baseURL=n().environmentBaseUrl}function j(I){I.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:b,getContentTypes:_,getEntry:y,getEntries:m,getAsset:g,getAssets:E,getTag:O,getTags:S,createAssetKey:w,getLocales:P,parseEntries:R,sync:A}}function yT(e){return function(n){return Object.assign({},e,n)}}function od(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Fi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?od(Object(n),!0).forEach(function(r){gT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):od(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gT(e,t,n){return t=bT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bT(e){var t=_T(e,"string");return typeof t=="symbol"?t:String(t)}function _T(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function TL(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Fi(Fi({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=O5("contentful.js/9.3.6",n.application,n.integration);n.headers=Fi(Fi({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=cm(GO,n),a=yT({resolveLinks:n.resolveLinks,environment:n.environment,removeUnresolved:n.removeUnresolved,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${n.environment}`});return i.defaults.baseURL=a().environmentBaseUrl,mT({http:i,getGlobalOptions:a})}var wT={};const vm=Kd(cr);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(I){return I&&typeof I=="object"&&"default"in I?I.default:I}var n=vm,r=t(n),i=function(){return i=Object.assign||function(C){for(var L,M=1,B=arguments.length;M<B;M++){L=arguments[M];for(var V in L)Object.prototype.hasOwnProperty.call(L,V)&&(C[V]=L[V])}return C},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof J<"u"?J:typeof self<"u"?self:{};function o(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}function u(I,C){return C={exports:{}},I(C,C.exports),C.exports}var s=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.BLOCKS=void 0,function(L){L.DOCUMENT="document",L.PARAGRAPH="paragraph",L.HEADING_1="heading-1",L.HEADING_2="heading-2",L.HEADING_3="heading-3",L.HEADING_4="heading-4",L.HEADING_5="heading-5",L.HEADING_6="heading-6",L.OL_LIST="ordered-list",L.UL_LIST="unordered-list",L.LIST_ITEM="list-item",L.HR="hr",L.QUOTE="blockquote",L.EMBEDDED_ENTRY="embedded-entry-block",L.EMBEDDED_ASSET="embedded-asset-block",L.EMBEDDED_RESOURCE="embedded-resource-block",L.TABLE="table",L.TABLE_ROW="table-row",L.TABLE_CELL="table-cell",L.TABLE_HEADER_CELL="table-header-cell"}(C.BLOCKS||(C.BLOCKS={}))});o(s),s.BLOCKS;var c=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.INLINES=void 0,function(L){L.HYPERLINK="hyperlink",L.ENTRY_HYPERLINK="entry-hyperlink",L.ASSET_HYPERLINK="asset-hyperlink",L.RESOURCE_HYPERLINK="resource-hyperlink",L.EMBEDDED_ENTRY="embedded-entry-inline",L.EMBEDDED_RESOURCE="embedded-resource-inline"}(C.INLINES||(C.INLINES={}))});o(c),c.INLINES;var f=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var L;(function(M){M.BOLD="bold",M.ITALIC="italic",M.UNDERLINE="underline",M.CODE="code",M.SUPERSCRIPT="superscript",M.SUBSCRIPT="subscript"})(L||(L={})),C.default=L});o(f);var l=u(function(I,C){var L=a&&a.__spreadArray||function(K,G,x){if(x||arguments.length===2)for(var U=0,W=G.length,H;U<W;U++)(H||!(U in G))&&(H||(H=Array.prototype.slice.call(G,0,U)),H[U]=G[U]);return K.concat(H||Array.prototype.slice.call(G))},M=a&&a.__importDefault||function(K){return K&&K.__esModule?K:{default:K}},B;Object.defineProperty(C,"__esModule",{value:!0}),C.V1_MARKS=C.V1_NODE_TYPES=C.TEXT_CONTAINERS=C.HEADINGS=C.CONTAINERS=C.VOID_BLOCKS=C.TABLE_BLOCKS=C.LIST_ITEM_BLOCKS=C.TOP_LEVEL_BLOCKS=void 0;var V=M(f);C.TOP_LEVEL_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE,s.BLOCKS.TABLE],C.LIST_ITEM_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.TABLE_BLOCKS=[s.BLOCKS.TABLE,s.BLOCKS.TABLE_ROW,s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],C.VOID_BLOCKS=[s.BLOCKS.HR,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.CONTAINERS=(B={},B[s.BLOCKS.OL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.UL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.LIST_ITEM]=C.LIST_ITEM_BLOCKS,B[s.BLOCKS.QUOTE]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE]=[s.BLOCKS.TABLE_ROW],B[s.BLOCKS.TABLE_ROW]=[s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],B[s.BLOCKS.TABLE_CELL]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE_HEADER_CELL]=[s.BLOCKS.PARAGRAPH],B),C.HEADINGS=[s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6],C.TEXT_CONTAINERS=L([s.BLOCKS.PARAGRAPH],C.HEADINGS,!0),C.V1_NODE_TYPES=[s.BLOCKS.DOCUMENT,s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.LIST_ITEM,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],C.V1_MARKS=[V.default.BOLD,V.default.CODE,V.default.ITALIC,V.default.UNDERLINE]});o(l),l.V1_MARKS,l.V1_NODE_TYPES,l.TEXT_CONTAINERS,l.HEADINGS,l.CONTAINERS,l.VOID_BLOCKS,l.TABLE_BLOCKS,l.LIST_ITEM_BLOCKS,l.TOP_LEVEL_BLOCKS;var d=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(d);var v=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(v);var p=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var L={nodeType:s.BLOCKS.DOCUMENT,data:{},content:[{nodeType:s.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};C.default=L});o(p);var h=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.isText=C.isBlock=C.isInline=void 0;function L(K,G){for(var x=0,U=Object.keys(K);x<U.length;x++){var W=U[x];if(G===K[W])return!0}return!1}function M(K){return L(c.INLINES,K.nodeType)}C.isInline=M;function B(K){return L(s.BLOCKS,K.nodeType)}C.isBlock=B;function V(K){return K.nodeType==="text"}C.isText=V});o(h),h.isText,h.isBlock,h.isInline;var b=u(function(I,C){var L=a&&a.__createBinding||(Object.create?function(x,U,W,H){H===void 0&&(H=W);var ne=Object.getOwnPropertyDescriptor(U,W);(!ne||("get"in ne?!U.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return U[W]}}),Object.defineProperty(x,H,ne)}:function(x,U,W,H){H===void 0&&(H=W),x[H]=U[W]}),M=a&&a.__setModuleDefault||(Object.create?function(x,U){Object.defineProperty(x,"default",{enumerable:!0,value:U})}:function(x,U){x.default=U}),B=a&&a.__exportStar||function(x,U){for(var W in x)W!=="default"&&!Object.prototype.hasOwnProperty.call(U,W)&&L(U,x,W)},V=a&&a.__importStar||function(x){if(x&&x.__esModule)return x;var U={};if(x!=null)for(var W in x)W!=="default"&&Object.prototype.hasOwnProperty.call(x,W)&&L(U,x,W);return M(U,x),U},K=a&&a.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(C,"__esModule",{value:!0}),C.helpers=C.EMPTY_DOCUMENT=C.MARKS=C.INLINES=C.BLOCKS=void 0,Object.defineProperty(C,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}}),Object.defineProperty(C,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(C,"MARKS",{enumerable:!0,get:function(){return K(f).default}}),B(l,C),B(d,C),B(v,C),Object.defineProperty(C,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return K(p).default}});var G=V(h);C.helpers=G});o(b);var _=b.helpers;b.EMPTY_DOCUMENT;var y=b.MARKS,m=b.INLINES,g=b.BLOCKS;function E(I,C){return n.isValidElement(I)&&I.key===null?n.cloneElement(I,{key:C}):I}function O(I,C){return I.map(function(L,M){return E(S(L,C),M)})}function S(I,C){var L=C.renderNode,M=C.renderMark,B=C.renderText,V=C.preserveWhitespace;if(_.isText(I)){var K=B?B(I.value):I.value;if(V){K=K.replace(/ {2,}/g,function(W){return"&nbsp;".repeat(W.length)});var G=K.split(`
21
+ `),x=[];G.forEach(function(W,H){x.push(W),H!==G.length-1&&x.push(r.createElement("br",null))}),K=x}return I.marks.reduce(function(W,H){return M[H.type]?M[H.type](W):W},K)}else{var U=O(I.content,C);return!I.nodeType||!L[I.nodeType]?r.createElement(r.Fragment,null,U):L[I.nodeType](I,U)}}var w,P,A=(w={},w[g.DOCUMENT]=function(I,C){return C},w[g.PARAGRAPH]=function(I,C){return r.createElement("p",null,C)},w[g.HEADING_1]=function(I,C){return r.createElement("h1",null,C)},w[g.HEADING_2]=function(I,C){return r.createElement("h2",null,C)},w[g.HEADING_3]=function(I,C){return r.createElement("h3",null,C)},w[g.HEADING_4]=function(I,C){return r.createElement("h4",null,C)},w[g.HEADING_5]=function(I,C){return r.createElement("h5",null,C)},w[g.HEADING_6]=function(I,C){return r.createElement("h6",null,C)},w[g.EMBEDDED_ENTRY]=function(I,C){return r.createElement("div",null,C)},w[g.EMBEDDED_RESOURCE]=function(I,C){return r.createElement("div",null,C)},w[g.UL_LIST]=function(I,C){return r.createElement("ul",null,C)},w[g.OL_LIST]=function(I,C){return r.createElement("ol",null,C)},w[g.LIST_ITEM]=function(I,C){return r.createElement("li",null,C)},w[g.QUOTE]=function(I,C){return r.createElement("blockquote",null,C)},w[g.HR]=function(){return r.createElement("hr",null)},w[g.TABLE]=function(I,C){return r.createElement("table",null,r.createElement("tbody",null,C))},w[g.TABLE_ROW]=function(I,C){return r.createElement("tr",null,C)},w[g.TABLE_HEADER_CELL]=function(I,C){return r.createElement("th",null,C)},w[g.TABLE_CELL]=function(I,C){return r.createElement("td",null,C)},w[m.ASSET_HYPERLINK]=function(I){return $(m.ASSET_HYPERLINK,I)},w[m.ENTRY_HYPERLINK]=function(I){return $(m.ENTRY_HYPERLINK,I)},w[m.EMBEDDED_ENTRY]=function(I){return $(m.EMBEDDED_ENTRY,I)},w[m.HYPERLINK]=function(I,C){return r.createElement("a",{href:I.data.uri},C)},w),R=(P={},P[y.BOLD]=function(I){return r.createElement("b",null,I)},P[y.ITALIC]=function(I){return r.createElement("i",null,I)},P[y.UNDERLINE]=function(I){return r.createElement("u",null,I)},P[y.CODE]=function(I){return r.createElement("code",null,I)},P[y.SUPERSCRIPT]=function(I){return r.createElement("sup",null,I)},P[y.SUBSCRIPT]=function(I){return r.createElement("sub",null,I)},P);function $(I,C){return r.createElement("span",{key:C.data.target.sys.id},"type: ",C.nodeType," id: ",C.data.target.sys.id)}function j(I,C){return C===void 0&&(C={}),I?S(I,{renderNode:i(i({},A),C.renderNode),renderMark:i(i({},R),C.renderMark),renderText:C.renderText,preserveWhitespace:C.preserveWhitespace}):null}e.documentToReactComponents=j})(wT);var ET={},Ti={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BLOCKS=void 0,function(t){t.DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell"}(e.BLOCKS||(e.BLOCKS={}))})(Ti);var co={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.INLINES=void 0,function(t){t.HYPERLINK="hyperlink",t.ENTRY_HYPERLINK="entry-hyperlink",t.ASSET_HYPERLINK="asset-hyperlink",t.RESOURCE_HYPERLINK="resource-hyperlink",t.EMBEDDED_ENTRY="embedded-entry-inline",t.EMBEDDED_RESOURCE="embedded-resource-inline"}(e.INLINES||(e.INLINES={}))})(co);var fo={};Object.defineProperty(fo,"__esModule",{value:!0});var ls;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(ls||(ls={}));fo.default=ls;var mm={};(function(e){var t=J&&J.__spreadArray||function(u,s,c){if(c||arguments.length===2)for(var f=0,l=s.length,d;f<l;f++)(d||!(f in s))&&(d||(d=Array.prototype.slice.call(s,0,f)),d[f]=s[f]);return u.concat(d||Array.prototype.slice.call(s))},n=J&&J.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},r;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var i=Ti,a=co,o=n(fo);e.TOP_LEVEL_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE,i.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[i.BLOCKS.TABLE,i.BLOCKS.TABLE_ROW,i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[i.BLOCKS.HR,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(r={},r[i.BLOCKS.OL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.UL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,r[i.BLOCKS.QUOTE]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE]=[i.BLOCKS.TABLE_ROW],r[i.BLOCKS.TABLE_ROW]=[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],r[i.BLOCKS.TABLE_CELL]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE_HEADER_CELL]=[i.BLOCKS.PARAGRAPH],r),e.HEADINGS=[i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([i.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[i.BLOCKS.DOCUMENT,i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.LIST_ITEM,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[o.default.BOLD,o.default.CODE,o.default.ITALIC,o.default.UNDERLINE]})(mm);var ym={};Object.defineProperty(ym,"__esModule",{value:!0});var gm={};Object.defineProperty(gm,"__esModule",{value:!0});var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0});var ud=Ti,ST={nodeType:ud.BLOCKS.DOCUMENT,data:{},content:[{nodeType:ud.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Rl.default=ST;var sn={};Object.defineProperty(sn,"__esModule",{value:!0});sn.isText=sn.isBlock=sn.isInline=void 0;var OT=Ti,PT=co;function bm(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t===e[i])return!0}return!1}function AT(e){return bm(PT.INLINES,e.nodeType)}sn.isInline=AT;function TT(e){return bm(OT.BLOCKS,e.nodeType)}sn.isBlock=TT;function CT(e){return e.nodeType==="text"}sn.isText=CT;(function(e){var t=J&&J.__createBinding||(Object.create?function(l,d,v,p){p===void 0&&(p=v);var h=Object.getOwnPropertyDescriptor(d,v);(!h||("get"in h?!d.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return d[v]}}),Object.defineProperty(l,p,h)}:function(l,d,v,p){p===void 0&&(p=v),l[p]=d[v]}),n=J&&J.__setModuleDefault||(Object.create?function(l,d){Object.defineProperty(l,"default",{enumerable:!0,value:d})}:function(l,d){l.default=d}),r=J&&J.__exportStar||function(l,d){for(var v in l)v!=="default"&&!Object.prototype.hasOwnProperty.call(d,v)&&t(d,l,v)},i=J&&J.__importStar||function(l){if(l&&l.__esModule)return l;var d={};if(l!=null)for(var v in l)v!=="default"&&Object.prototype.hasOwnProperty.call(l,v)&&t(d,l,v);return n(d,l),d},a=J&&J.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var o=Ti;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=co;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var s=fo;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(s).default}}),r(mm,e),r(ym,e),r(gm,e);var c=Rl;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var f=i(sn);e.helpers=f})(ET);var IT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="briefcase",r=512,i=512,a=[128188],o="f0b1",u="M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faBriefcase=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(IT);var RT={},_m={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="heart-pulse",r=512,i=512,a=["heartbeat"],o="f21e",u="M228.3 469.1L47.6 300.4c-4.2-3.9-8.2-8.1-11.9-12.4h87c22.6 0 43-13.6 51.7-34.5l10.5-25.2 49.3 109.5c3.8 8.5 12.1 14 21.4 14.1s17.8-5 22-13.3L320 253.7l1.7 3.4c9.5 19 28.9 31 50.1 31H476.3c-3.7 4.3-7.7 8.5-11.9 12.4L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9zM503.7 240h-132c-3 0-5.8-1.7-7.2-4.4l-23.2-46.3c-4.1-8.1-12.4-13.3-21.5-13.3s-17.4 5.1-21.5 13.3l-41.4 82.8L205.9 158.2c-3.9-8.7-12.7-14.3-22.2-14.1s-18.1 5.9-21.8 14.8l-31.8 76.3c-1.2 3-4.2 4.9-7.4 4.9H16c-2.6 0-5 .4-7.3 1.1C3 225.2 0 208.2 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141C165 36.5 211.4 51.4 244 84l12 12 12-12c32.6-32.6 79-47.5 124.6-39.9C461.5 55.6 512 115.2 512 185.1v5.8c0 16.9-2.8 33.5-8.3 49.1z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faHeartPulse=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(_m);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=_m;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faHeartbeat=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(RT);var LT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="spa",r=576,i=512,a=[],o="f5bb",u="M183.1 235.3c33.7 20.7 62.9 48.1 85.8 80.5c7 9.9 13.4 20.3 19.1 31c5.7-10.8 12.1-21.1 19.1-31c22.9-32.4 52.1-59.8 85.8-80.5C437.6 207.8 490.1 192 546 192h9.9c11.1 0 20.1 9 20.1 20.1C576 360.1 456.1 480 308.1 480H288 267.9C119.9 480 0 360.1 0 212.1C0 201 9 192 20.1 192H30c55.9 0 108.4 15.8 153.1 43.3zM301.5 37.6c15.7 16.9 61.1 71.8 84.4 164.6c-38 21.6-71.4 50.8-97.9 85.6c-26.5-34.8-59.9-63.9-97.9-85.6c23.2-92.8 68.6-147.7 84.4-164.6C278 33.9 282.9 32 288 32s10 1.9 13.5 5.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSpa=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(LT);var kT={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="umbrella-beach",r=576,i=512,a=[127958],o="f5ca",u="M346.3 271.8l-60.1-21.9L214 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H282.1l64.1-176.2zm121.1-.2l-3.3 9.1 67.7 24.6c18.1 6.6 38-4.2 39.6-23.4c6.5-78.5-23.9-155.5-80.8-208.5c2 8 3.2 16.3 3.4 24.8l.2 6c1.8 57-7.3 113.8-26.8 167.4zM462 99.1c-1.1-34.4-22.5-64.8-54.4-77.4c-.9-.4-1.9-.7-2.8-1.1c-33-11.7-69.8-2.4-93.1 23.8l-4 4.5C272.4 88.3 245 134.2 226.8 184l-3.3 9.1L434 269.7l3.3-9.1c18.1-49.8 26.6-102.5 24.9-155.5l-.2-6zM107.2 112.9c-11.1 15.7-2.8 36.8 15.3 43.4l71 25.8 3.3-9.1c19.5-53.6 49.1-103 87.1-145.5l4-4.5c6.2-6.9 13.1-13 20.5-18.2c-79.6 2.5-154.7 42.2-201.2 108z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faUmbrellaBeach=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(kT);var NT={},wm={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="square-dollar",r=448,i=512,a=["dollar-square","usd-square"],o="f2e9",u="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM244.8 133.6v14.2c9.7 1.2 19.4 3.9 29 6.6c1.9 .5 3.7 1 5.6 1.6c11.5 3.2 18.3 15.1 15.1 26.6s-15.1 18.2-26.6 15.1c-1.6-.4-3.1-.9-4.7-1.3c-7-2-14-3.9-21.1-5.3c-13.2-2.5-28.5-1.3-40.8 4c-11 4.8-20.1 16.4-7.6 24.4c9.8 6.3 21.8 9.5 33.2 12.6c2.4 .6 4.7 1.3 7 1.9c15.6 4.4 35.5 10.1 50.4 20.3c19.4 13.3 28.5 34.9 24.2 58.1c-4.1 22.4-19.7 37.1-38.4 44.7c-7.8 3.2-16.3 5.2-25.2 6.2l0 15.2c0 11.9-9.7 21.6-21.6 21.6s-21.6-9.7-21.6-21.6l0-17.4c-14.5-3.3-28.7-7.9-42.8-12.5c-11.3-3.7-17.5-16-13.7-27.3s16-17.5 27.3-13.7c2.5 .8 5 1.7 7.5 2.5c11.3 3.8 22.9 7.7 34.5 9.6c17 2.5 30.6 1 39.5-2.6c12-4.8 17.7-19.1 5.9-27.1c-10.1-6.9-22.6-10.3-34.5-13.5c-2.3-.6-4.5-1.2-6.8-1.9c-15.1-4.3-34-9.6-48.2-18.7c-19.5-12.5-29.4-33.3-25.2-56.4c4-21.8 21-36.3 39-44.1c5.5-2.4 11.4-4.3 17.5-5.7V133.6c0-11.9 9.7-21.6 21.6-21.6s21.6 9.7 21.6 21.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSquareDollar=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(wm);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=wm;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUsdSquare=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(NT);function sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sd(Object(n),!0).forEach(function(r){Be(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ma(e){"@babel/helpers - typeof";return Ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ma(e)}function MT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ld(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function DT(e,t,n){return t&&ld(e.prototype,t),n&&ld(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e,t){return jT(e)||FT(e,t)||Em(e,t)||xT()}function Ci(e){return $T(e)||BT(e)||Em(e)||UT()}function $T(e){if(Array.isArray(e))return cs(e)}function jT(e){if(Array.isArray(e))return e}function BT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function FT(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,o,u;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,u=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function Em(e,t){if(e){if(typeof e=="string")return cs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cs(e,t)}}function cs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
22
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var cd=function(){},kl={},Sm={},Om=null,Pm={mark:cd,measure:cd};try{typeof window<"u"&&(kl=window),typeof document<"u"&&(Sm=document),typeof MutationObserver<"u"&&(Om=MutationObserver),typeof performance<"u"&&(Pm=performance)}catch{}var HT=kl.navigator||{},fd=HT.userAgent,dd=fd===void 0?"":fd,dn=kl,ye=Sm,pd=Om,Ui=Pm;dn.document;var Vt=!!ye.documentElement&&!!ye.head&&typeof ye.addEventListener=="function"&&typeof ye.createElement=="function",Am=~dd.indexOf("MSIE")||~dd.indexOf("Trident/"),xi,Hi,Ki,Wi,zi,Wt="___FONT_AWESOME___",fs=16,Tm="fa",Cm="svg-inline--fa",Mn="data-fa-i2svg",ds="data-fa-pseudo-element",KT="data-fa-pseudo-element-pending",Nl="data-prefix",Ml="data-icon",hd="fontawesome-i2svg",WT="async",zT=["HTML","HEAD","STYLE","SCRIPT"],Im=function(){try{return!0}catch{return!1}}(),me="classic",we="sharp",Dl=[me,we];function Ii(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[me]}})}var si=Ii((xi={},Be(xi,me,{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",fak:"kit","fa-kit":"kit"}),Be(xi,we,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),xi)),li=Ii((Hi={},Be(Hi,me,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Be(Hi,we,{solid:"fass",regular:"fasr",light:"fasl"}),Hi)),ci=Ii((Ki={},Be(Ki,me,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Be(Ki,we,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Ki)),qT=Ii((Wi={},Be(Wi,me,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Be(Wi,we,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Wi)),GT=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Rm="fa-layers-text",VT=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,YT=Ii((zi={},Be(zi,me,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Be(zi,we,{900:"fass",400:"fasr",300:"fasl"}),zi)),Lm=[1,2,3,4,5,6,7,8,9,10],XT=Lm.concat([11,12,13,14,15,16,17,18,19,20]),QT=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},fi=new Set;Object.keys(li[me]).map(fi.add.bind(fi));Object.keys(li[we]).map(fi.add.bind(fi));var JT=[].concat(Dl,Ci(fi),["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",Pn.GROUP,Pn.SWAP_OPACITY,Pn.PRIMARY,Pn.SECONDARY]).concat(Lm.map(function(e){return"".concat(e,"x")})).concat(XT.map(function(e){return"w-".concat(e)})),Qr=dn.FontAwesomeConfig||{};function ZT(e){var t=ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function eC(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ye&&typeof ye.querySelector=="function"){var tC=[["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"]];tC.forEach(function(e){var t=Ll(e,2),n=t[0],r=t[1],i=eC(ZT(n));i!=null&&(Qr[r]=i)})}var km={styleDefault:"solid",familyDefault:"classic",cssPrefix:Tm,replacementClass:Cm,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Qr.familyPrefix&&(Qr.cssPrefix=Qr.familyPrefix);var br=q(q({},km),Qr);br.autoReplaceSvg||(br.observeMutations=!1);var X={};Object.keys(km).forEach(function(e){Object.defineProperty(X,e,{enumerable:!0,set:function(n){br[e]=n,Jr.forEach(function(r){return r(X)})},get:function(){return br[e]}})});Object.defineProperty(X,"familyPrefix",{enumerable:!0,set:function(t){br.cssPrefix=t,Jr.forEach(function(n){return n(X)})},get:function(){return br.cssPrefix}});dn.FontAwesomeConfig=X;var Jr=[];function nC(e){return Jr.push(e),function(){Jr.splice(Jr.indexOf(e),1)}}var Xt=fs,Ct={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function rC(e){if(!(!e||!Vt)){var t=ye.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=ye.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return ye.head.insertBefore(t,r),e}}var iC="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function di(){for(var e=12,t="";e-- >0;)t+=iC[Math.random()*62|0];return t}function Lr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function $l(e){return e.classList?Lr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Nm(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function aC(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Nm(e[n]),'" ')},"").trim()}function po(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function jl(e){return e.size!==Ct.size||e.x!==Ct.x||e.y!==Ct.y||e.rotate!==Ct.rotate||e.flipX||e.flipY}function oC(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),u="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(a," ").concat(o," ").concat(u)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:s,path:c}}function uC(e){var t=e.transform,n=e.width,r=n===void 0?fs:n,i=e.height,a=i===void 0?fs:i,o=e.startCentered,u=o===void 0?!1:o,s="";return u&&Am?s+="translate(".concat(t.x/Xt-r/2,"em, ").concat(t.y/Xt-a/2,"em) "):u?s+="translate(calc(-50% + ".concat(t.x/Xt,"em), calc(-50% + ").concat(t.y/Xt,"em)) "):s+="translate(".concat(t.x/Xt,"em, ").concat(t.y/Xt,"em) "),s+="scale(".concat(t.size/Xt*(t.flipX?-1:1),", ").concat(t.size/Xt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var sC=`:root, :host {
24
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
25
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
26
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
27
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
28
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
29
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
30
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
31
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
32
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
33
+ }
34
+
35
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
36
+ overflow: visible;
37
+ box-sizing: content-box;
38
+ }
39
+
40
+ .svg-inline--fa {
41
+ display: var(--fa-display, inline-block);
42
+ height: 1em;
43
+ overflow: visible;
44
+ vertical-align: -0.125em;
45
+ }
46
+ .svg-inline--fa.fa-2xs {
47
+ vertical-align: 0.1em;
48
+ }
49
+ .svg-inline--fa.fa-xs {
50
+ vertical-align: 0em;
51
+ }
52
+ .svg-inline--fa.fa-sm {
53
+ vertical-align: -0.0714285705em;
54
+ }
55
+ .svg-inline--fa.fa-lg {
56
+ vertical-align: -0.2em;
57
+ }
58
+ .svg-inline--fa.fa-xl {
59
+ vertical-align: -0.25em;
60
+ }
61
+ .svg-inline--fa.fa-2xl {
62
+ vertical-align: -0.3125em;
63
+ }
64
+ .svg-inline--fa.fa-pull-left {
65
+ margin-right: var(--fa-pull-margin, 0.3em);
66
+ width: auto;
67
+ }
68
+ .svg-inline--fa.fa-pull-right {
69
+ margin-left: var(--fa-pull-margin, 0.3em);
70
+ width: auto;
71
+ }
72
+ .svg-inline--fa.fa-li {
73
+ width: var(--fa-li-width, 2em);
74
+ top: 0.25em;
75
+ }
76
+ .svg-inline--fa.fa-fw {
77
+ width: var(--fa-fw-width, 1.25em);
78
+ }
79
+
80
+ .fa-layers svg.svg-inline--fa {
81
+ bottom: 0;
82
+ left: 0;
83
+ margin: auto;
84
+ position: absolute;
85
+ right: 0;
86
+ top: 0;
87
+ }
88
+
89
+ .fa-layers-counter, .fa-layers-text {
90
+ display: inline-block;
91
+ position: absolute;
92
+ text-align: center;
93
+ }
94
+
95
+ .fa-layers {
96
+ display: inline-block;
97
+ height: 1em;
98
+ position: relative;
99
+ text-align: center;
100
+ vertical-align: -0.125em;
101
+ width: 1em;
102
+ }
103
+ .fa-layers svg.svg-inline--fa {
104
+ -webkit-transform-origin: center center;
105
+ transform-origin: center center;
106
+ }
107
+
108
+ .fa-layers-text {
109
+ left: 50%;
110
+ top: 50%;
111
+ -webkit-transform: translate(-50%, -50%);
112
+ transform: translate(-50%, -50%);
113
+ -webkit-transform-origin: center center;
114
+ transform-origin: center center;
115
+ }
116
+
117
+ .fa-layers-counter {
118
+ background-color: var(--fa-counter-background-color, #ff253a);
119
+ border-radius: var(--fa-counter-border-radius, 1em);
120
+ box-sizing: border-box;
121
+ color: var(--fa-inverse, #fff);
122
+ line-height: var(--fa-counter-line-height, 1);
123
+ max-width: var(--fa-counter-max-width, 5em);
124
+ min-width: var(--fa-counter-min-width, 1.5em);
125
+ overflow: hidden;
126
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
127
+ right: var(--fa-right, 0);
128
+ text-overflow: ellipsis;
129
+ top: var(--fa-top, 0);
130
+ -webkit-transform: scale(var(--fa-counter-scale, 0.25));
131
+ transform: scale(var(--fa-counter-scale, 0.25));
132
+ -webkit-transform-origin: top right;
133
+ transform-origin: top right;
134
+ }
135
+
136
+ .fa-layers-bottom-right {
137
+ bottom: var(--fa-bottom, 0);
138
+ right: var(--fa-right, 0);
139
+ top: auto;
140
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
141
+ transform: scale(var(--fa-layers-scale, 0.25));
142
+ -webkit-transform-origin: bottom right;
143
+ transform-origin: bottom right;
144
+ }
145
+
146
+ .fa-layers-bottom-left {
147
+ bottom: var(--fa-bottom, 0);
148
+ left: var(--fa-left, 0);
149
+ right: auto;
150
+ top: auto;
151
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
152
+ transform: scale(var(--fa-layers-scale, 0.25));
153
+ -webkit-transform-origin: bottom left;
154
+ transform-origin: bottom left;
155
+ }
156
+
157
+ .fa-layers-top-right {
158
+ top: var(--fa-top, 0);
159
+ right: var(--fa-right, 0);
160
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
161
+ transform: scale(var(--fa-layers-scale, 0.25));
162
+ -webkit-transform-origin: top right;
163
+ transform-origin: top right;
164
+ }
165
+
166
+ .fa-layers-top-left {
167
+ left: var(--fa-left, 0);
168
+ right: auto;
169
+ top: var(--fa-top, 0);
170
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
171
+ transform: scale(var(--fa-layers-scale, 0.25));
172
+ -webkit-transform-origin: top left;
173
+ transform-origin: top left;
174
+ }
175
+
176
+ .fa-1x {
177
+ font-size: 1em;
178
+ }
179
+
180
+ .fa-2x {
181
+ font-size: 2em;
182
+ }
183
+
184
+ .fa-3x {
185
+ font-size: 3em;
186
+ }
187
+
188
+ .fa-4x {
189
+ font-size: 4em;
190
+ }
191
+
192
+ .fa-5x {
193
+ font-size: 5em;
194
+ }
195
+
196
+ .fa-6x {
197
+ font-size: 6em;
198
+ }
199
+
200
+ .fa-7x {
201
+ font-size: 7em;
202
+ }
203
+
204
+ .fa-8x {
205
+ font-size: 8em;
206
+ }
207
+
208
+ .fa-9x {
209
+ font-size: 9em;
210
+ }
211
+
212
+ .fa-10x {
213
+ font-size: 10em;
214
+ }
215
+
216
+ .fa-2xs {
217
+ font-size: 0.625em;
218
+ line-height: 0.1em;
219
+ vertical-align: 0.225em;
220
+ }
221
+
222
+ .fa-xs {
223
+ font-size: 0.75em;
224
+ line-height: 0.0833333337em;
225
+ vertical-align: 0.125em;
226
+ }
227
+
228
+ .fa-sm {
229
+ font-size: 0.875em;
230
+ line-height: 0.0714285718em;
231
+ vertical-align: 0.0535714295em;
232
+ }
233
+
234
+ .fa-lg {
235
+ font-size: 1.25em;
236
+ line-height: 0.05em;
237
+ vertical-align: -0.075em;
238
+ }
239
+
240
+ .fa-xl {
241
+ font-size: 1.5em;
242
+ line-height: 0.0416666682em;
243
+ vertical-align: -0.125em;
244
+ }
245
+
246
+ .fa-2xl {
247
+ font-size: 2em;
248
+ line-height: 0.03125em;
249
+ vertical-align: -0.1875em;
250
+ }
251
+
252
+ .fa-fw {
253
+ text-align: center;
254
+ width: 1.25em;
255
+ }
256
+
257
+ .fa-ul {
258
+ list-style-type: none;
259
+ margin-left: var(--fa-li-margin, 2.5em);
260
+ padding-left: 0;
261
+ }
262
+ .fa-ul > li {
263
+ position: relative;
264
+ }
265
+
266
+ .fa-li {
267
+ left: calc(var(--fa-li-width, 2em) * -1);
268
+ position: absolute;
269
+ text-align: center;
270
+ width: var(--fa-li-width, 2em);
271
+ line-height: inherit;
272
+ }
273
+
274
+ .fa-border {
275
+ border-color: var(--fa-border-color, #eee);
276
+ border-radius: var(--fa-border-radius, 0.1em);
277
+ border-style: var(--fa-border-style, solid);
278
+ border-width: var(--fa-border-width, 0.08em);
279
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
280
+ }
281
+
282
+ .fa-pull-left {
283
+ float: left;
284
+ margin-right: var(--fa-pull-margin, 0.3em);
285
+ }
286
+
287
+ .fa-pull-right {
288
+ float: right;
289
+ margin-left: var(--fa-pull-margin, 0.3em);
290
+ }
291
+
292
+ .fa-beat {
293
+ -webkit-animation-name: fa-beat;
294
+ animation-name: fa-beat;
295
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
296
+ animation-delay: var(--fa-animation-delay, 0s);
297
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
298
+ animation-direction: var(--fa-animation-direction, normal);
299
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
300
+ animation-duration: var(--fa-animation-duration, 1s);
301
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
302
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
303
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
304
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
305
+ }
306
+
307
+ .fa-bounce {
308
+ -webkit-animation-name: fa-bounce;
309
+ animation-name: fa-bounce;
310
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
311
+ animation-delay: var(--fa-animation-delay, 0s);
312
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
313
+ animation-direction: var(--fa-animation-direction, normal);
314
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
315
+ animation-duration: var(--fa-animation-duration, 1s);
316
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
317
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
318
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
319
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
320
+ }
321
+
322
+ .fa-fade {
323
+ -webkit-animation-name: fa-fade;
324
+ animation-name: fa-fade;
325
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
326
+ animation-delay: var(--fa-animation-delay, 0s);
327
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
328
+ animation-direction: var(--fa-animation-direction, normal);
329
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
330
+ animation-duration: var(--fa-animation-duration, 1s);
331
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
332
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
333
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
334
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
335
+ }
336
+
337
+ .fa-beat-fade {
338
+ -webkit-animation-name: fa-beat-fade;
339
+ animation-name: fa-beat-fade;
340
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
341
+ animation-delay: var(--fa-animation-delay, 0s);
342
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
343
+ animation-direction: var(--fa-animation-direction, normal);
344
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
345
+ animation-duration: var(--fa-animation-duration, 1s);
346
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
347
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
348
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
349
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
350
+ }
351
+
352
+ .fa-flip {
353
+ -webkit-animation-name: fa-flip;
354
+ animation-name: fa-flip;
355
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
356
+ animation-delay: var(--fa-animation-delay, 0s);
357
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
358
+ animation-direction: var(--fa-animation-direction, normal);
359
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
360
+ animation-duration: var(--fa-animation-duration, 1s);
361
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
362
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
363
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
364
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
365
+ }
366
+
367
+ .fa-shake {
368
+ -webkit-animation-name: fa-shake;
369
+ animation-name: fa-shake;
370
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
371
+ animation-delay: var(--fa-animation-delay, 0s);
372
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
373
+ animation-direction: var(--fa-animation-direction, normal);
374
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
375
+ animation-duration: var(--fa-animation-duration, 1s);
376
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
377
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
378
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
379
+ animation-timing-function: var(--fa-animation-timing, linear);
380
+ }
381
+
382
+ .fa-spin {
383
+ -webkit-animation-name: fa-spin;
384
+ animation-name: fa-spin;
385
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
386
+ animation-delay: var(--fa-animation-delay, 0s);
387
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
388
+ animation-direction: var(--fa-animation-direction, normal);
389
+ -webkit-animation-duration: var(--fa-animation-duration, 2s);
390
+ animation-duration: var(--fa-animation-duration, 2s);
391
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
392
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
393
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
394
+ animation-timing-function: var(--fa-animation-timing, linear);
395
+ }
396
+
397
+ .fa-spin-reverse {
398
+ --fa-animation-direction: reverse;
399
+ }
400
+
401
+ .fa-pulse,
402
+ .fa-spin-pulse {
403
+ -webkit-animation-name: fa-spin;
404
+ animation-name: fa-spin;
405
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
406
+ animation-direction: var(--fa-animation-direction, normal);
407
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
408
+ animation-duration: var(--fa-animation-duration, 1s);
409
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
410
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
411
+ -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
412
+ animation-timing-function: var(--fa-animation-timing, steps(8));
413
+ }
414
+
415
+ @media (prefers-reduced-motion: reduce) {
416
+ .fa-beat,
417
+ .fa-bounce,
418
+ .fa-fade,
419
+ .fa-beat-fade,
420
+ .fa-flip,
421
+ .fa-pulse,
422
+ .fa-shake,
423
+ .fa-spin,
424
+ .fa-spin-pulse {
425
+ -webkit-animation-delay: -1ms;
426
+ animation-delay: -1ms;
427
+ -webkit-animation-duration: 1ms;
428
+ animation-duration: 1ms;
429
+ -webkit-animation-iteration-count: 1;
430
+ animation-iteration-count: 1;
431
+ -webkit-transition-delay: 0s;
432
+ transition-delay: 0s;
433
+ -webkit-transition-duration: 0s;
434
+ transition-duration: 0s;
435
+ }
436
+ }
437
+ @-webkit-keyframes fa-beat {
438
+ 0%, 90% {
439
+ -webkit-transform: scale(1);
440
+ transform: scale(1);
441
+ }
442
+ 45% {
443
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
444
+ transform: scale(var(--fa-beat-scale, 1.25));
445
+ }
446
+ }
447
+ @keyframes fa-beat {
448
+ 0%, 90% {
449
+ -webkit-transform: scale(1);
450
+ transform: scale(1);
451
+ }
452
+ 45% {
453
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
454
+ transform: scale(var(--fa-beat-scale, 1.25));
455
+ }
456
+ }
457
+ @-webkit-keyframes fa-bounce {
458
+ 0% {
459
+ -webkit-transform: scale(1, 1) translateY(0);
460
+ transform: scale(1, 1) translateY(0);
461
+ }
462
+ 10% {
463
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
464
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
465
+ }
466
+ 30% {
467
+ -webkit-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));
468
+ 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));
469
+ }
470
+ 50% {
471
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
472
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
473
+ }
474
+ 57% {
475
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
476
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
477
+ }
478
+ 64% {
479
+ -webkit-transform: scale(1, 1) translateY(0);
480
+ transform: scale(1, 1) translateY(0);
481
+ }
482
+ 100% {
483
+ -webkit-transform: scale(1, 1) translateY(0);
484
+ transform: scale(1, 1) translateY(0);
485
+ }
486
+ }
487
+ @keyframes fa-bounce {
488
+ 0% {
489
+ -webkit-transform: scale(1, 1) translateY(0);
490
+ transform: scale(1, 1) translateY(0);
491
+ }
492
+ 10% {
493
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
494
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
495
+ }
496
+ 30% {
497
+ -webkit-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));
498
+ 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));
499
+ }
500
+ 50% {
501
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
502
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
503
+ }
504
+ 57% {
505
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
506
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
507
+ }
508
+ 64% {
509
+ -webkit-transform: scale(1, 1) translateY(0);
510
+ transform: scale(1, 1) translateY(0);
511
+ }
512
+ 100% {
513
+ -webkit-transform: scale(1, 1) translateY(0);
514
+ transform: scale(1, 1) translateY(0);
515
+ }
516
+ }
517
+ @-webkit-keyframes fa-fade {
518
+ 50% {
519
+ opacity: var(--fa-fade-opacity, 0.4);
520
+ }
521
+ }
522
+ @keyframes fa-fade {
523
+ 50% {
524
+ opacity: var(--fa-fade-opacity, 0.4);
525
+ }
526
+ }
527
+ @-webkit-keyframes fa-beat-fade {
528
+ 0%, 100% {
529
+ opacity: var(--fa-beat-fade-opacity, 0.4);
530
+ -webkit-transform: scale(1);
531
+ transform: scale(1);
532
+ }
533
+ 50% {
534
+ opacity: 1;
535
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
536
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
537
+ }
538
+ }
539
+ @keyframes fa-beat-fade {
540
+ 0%, 100% {
541
+ opacity: var(--fa-beat-fade-opacity, 0.4);
542
+ -webkit-transform: scale(1);
543
+ transform: scale(1);
544
+ }
545
+ 50% {
546
+ opacity: 1;
547
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
548
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
549
+ }
550
+ }
551
+ @-webkit-keyframes fa-flip {
552
+ 50% {
553
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
554
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
555
+ }
556
+ }
557
+ @keyframes fa-flip {
558
+ 50% {
559
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
560
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
561
+ }
562
+ }
563
+ @-webkit-keyframes fa-shake {
564
+ 0% {
565
+ -webkit-transform: rotate(-15deg);
566
+ transform: rotate(-15deg);
567
+ }
568
+ 4% {
569
+ -webkit-transform: rotate(15deg);
570
+ transform: rotate(15deg);
571
+ }
572
+ 8%, 24% {
573
+ -webkit-transform: rotate(-18deg);
574
+ transform: rotate(-18deg);
575
+ }
576
+ 12%, 28% {
577
+ -webkit-transform: rotate(18deg);
578
+ transform: rotate(18deg);
579
+ }
580
+ 16% {
581
+ -webkit-transform: rotate(-22deg);
582
+ transform: rotate(-22deg);
583
+ }
584
+ 20% {
585
+ -webkit-transform: rotate(22deg);
586
+ transform: rotate(22deg);
587
+ }
588
+ 32% {
589
+ -webkit-transform: rotate(-12deg);
590
+ transform: rotate(-12deg);
591
+ }
592
+ 36% {
593
+ -webkit-transform: rotate(12deg);
594
+ transform: rotate(12deg);
595
+ }
596
+ 40%, 100% {
597
+ -webkit-transform: rotate(0deg);
598
+ transform: rotate(0deg);
599
+ }
600
+ }
601
+ @keyframes fa-shake {
602
+ 0% {
603
+ -webkit-transform: rotate(-15deg);
604
+ transform: rotate(-15deg);
605
+ }
606
+ 4% {
607
+ -webkit-transform: rotate(15deg);
608
+ transform: rotate(15deg);
609
+ }
610
+ 8%, 24% {
611
+ -webkit-transform: rotate(-18deg);
612
+ transform: rotate(-18deg);
613
+ }
614
+ 12%, 28% {
615
+ -webkit-transform: rotate(18deg);
616
+ transform: rotate(18deg);
617
+ }
618
+ 16% {
619
+ -webkit-transform: rotate(-22deg);
620
+ transform: rotate(-22deg);
621
+ }
622
+ 20% {
623
+ -webkit-transform: rotate(22deg);
624
+ transform: rotate(22deg);
625
+ }
626
+ 32% {
627
+ -webkit-transform: rotate(-12deg);
628
+ transform: rotate(-12deg);
629
+ }
630
+ 36% {
631
+ -webkit-transform: rotate(12deg);
632
+ transform: rotate(12deg);
633
+ }
634
+ 40%, 100% {
635
+ -webkit-transform: rotate(0deg);
636
+ transform: rotate(0deg);
637
+ }
638
+ }
639
+ @-webkit-keyframes fa-spin {
640
+ 0% {
641
+ -webkit-transform: rotate(0deg);
642
+ transform: rotate(0deg);
643
+ }
644
+ 100% {
645
+ -webkit-transform: rotate(360deg);
646
+ transform: rotate(360deg);
647
+ }
648
+ }
649
+ @keyframes fa-spin {
650
+ 0% {
651
+ -webkit-transform: rotate(0deg);
652
+ transform: rotate(0deg);
653
+ }
654
+ 100% {
655
+ -webkit-transform: rotate(360deg);
656
+ transform: rotate(360deg);
657
+ }
658
+ }
659
+ .fa-rotate-90 {
660
+ -webkit-transform: rotate(90deg);
661
+ transform: rotate(90deg);
662
+ }
663
+
664
+ .fa-rotate-180 {
665
+ -webkit-transform: rotate(180deg);
666
+ transform: rotate(180deg);
667
+ }
668
+
669
+ .fa-rotate-270 {
670
+ -webkit-transform: rotate(270deg);
671
+ transform: rotate(270deg);
672
+ }
673
+
674
+ .fa-flip-horizontal {
675
+ -webkit-transform: scale(-1, 1);
676
+ transform: scale(-1, 1);
677
+ }
678
+
679
+ .fa-flip-vertical {
680
+ -webkit-transform: scale(1, -1);
681
+ transform: scale(1, -1);
682
+ }
683
+
684
+ .fa-flip-both,
685
+ .fa-flip-horizontal.fa-flip-vertical {
686
+ -webkit-transform: scale(-1, -1);
687
+ transform: scale(-1, -1);
688
+ }
689
+
690
+ .fa-rotate-by {
691
+ -webkit-transform: rotate(var(--fa-rotate-angle, none));
692
+ transform: rotate(var(--fa-rotate-angle, none));
693
+ }
694
+
695
+ .fa-stack {
696
+ display: inline-block;
697
+ vertical-align: middle;
698
+ height: 2em;
699
+ position: relative;
700
+ width: 2.5em;
701
+ }
702
+
703
+ .fa-stack-1x,
704
+ .fa-stack-2x {
705
+ bottom: 0;
706
+ left: 0;
707
+ margin: auto;
708
+ position: absolute;
709
+ right: 0;
710
+ top: 0;
711
+ z-index: var(--fa-stack-z-index, auto);
712
+ }
713
+
714
+ .svg-inline--fa.fa-stack-1x {
715
+ height: 1em;
716
+ width: 1.25em;
717
+ }
718
+ .svg-inline--fa.fa-stack-2x {
719
+ height: 2em;
720
+ width: 2.5em;
721
+ }
722
+
723
+ .fa-inverse {
724
+ color: var(--fa-inverse, #fff);
725
+ }
726
+
727
+ .sr-only,
728
+ .fa-sr-only {
729
+ position: absolute;
730
+ width: 1px;
731
+ height: 1px;
732
+ padding: 0;
733
+ margin: -1px;
734
+ overflow: hidden;
735
+ clip: rect(0, 0, 0, 0);
736
+ white-space: nowrap;
737
+ border-width: 0;
738
+ }
739
+
740
+ .sr-only-focusable:not(:focus),
741
+ .fa-sr-only-focusable:not(:focus) {
742
+ position: absolute;
743
+ width: 1px;
744
+ height: 1px;
745
+ padding: 0;
746
+ margin: -1px;
747
+ overflow: hidden;
748
+ clip: rect(0, 0, 0, 0);
749
+ white-space: nowrap;
750
+ border-width: 0;
751
+ }
752
+
753
+ .svg-inline--fa .fa-primary {
754
+ fill: var(--fa-primary-color, currentColor);
755
+ opacity: var(--fa-primary-opacity, 1);
756
+ }
757
+
758
+ .svg-inline--fa .fa-secondary {
759
+ fill: var(--fa-secondary-color, currentColor);
760
+ opacity: var(--fa-secondary-opacity, 0.4);
761
+ }
762
+
763
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
764
+ opacity: var(--fa-secondary-opacity, 0.4);
765
+ }
766
+
767
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
768
+ opacity: var(--fa-primary-opacity, 1);
769
+ }
770
+
771
+ .svg-inline--fa mask .fa-primary,
772
+ .svg-inline--fa mask .fa-secondary {
773
+ fill: black;
774
+ }
775
+
776
+ .fad.fa-inverse,
777
+ .fa-duotone.fa-inverse {
778
+ color: var(--fa-inverse, #fff);
779
+ }`;function Mm(){var e=Tm,t=Cm,n=X.cssPrefix,r=X.replacementClass,i=sC;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),u=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(u,".".concat(r))}return i}var vd=!1;function pu(){X.autoAddCss&&!vd&&(rC(Mm()),vd=!0)}var lC={mixout:function(){return{dom:{css:Mm,insertCss:pu}}},hooks:function(){return{beforeDOMElementCreation:function(){pu()},beforeI2svg:function(){pu()}}}},zt=dn||{};zt[Wt]||(zt[Wt]={});zt[Wt].styles||(zt[Wt].styles={});zt[Wt].hooks||(zt[Wt].hooks={});zt[Wt].shims||(zt[Wt].shims=[]);var mt=zt[Wt],Dm=[],cC=function e(){ye.removeEventListener("DOMContentLoaded",e),Da=1,Dm.map(function(t){return t()})},Da=!1;Vt&&(Da=(ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ye.readyState),Da||ye.addEventListener("DOMContentLoaded",cC));function fC(e){Vt&&(Da?setTimeout(e,0):Dm.push(e))}function Ri(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?Nm(e):"<".concat(t," ").concat(aC(r),">").concat(a.map(Ri).join(""),"</").concat(t,">")}function md(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var dC=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},hu=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?dC(n,i):n,s,c,f;for(r===void 0?(s=1,f=t[a[0]]):(s=0,f=r);s<o;s++)c=a[s],f=u(f,t[c],c,t);return f};function pC(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function ps(e){var t=pC(e);return t.length===1?t[0].toString(16):null}function hC(e,t){var n=e.length,r=e.charCodeAt(t),i;return r>=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function yd(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function hs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=yd(t);typeof mt.hooks.addPack=="function"&&!i?mt.hooks.addPack(e,yd(t)):mt.styles[e]=q(q({},mt.styles[e]||{}),a),e==="fas"&&hs("fa",t)}var qi,Gi,Vi,Jn=mt.styles,vC=mt.shims,mC=(qi={},Be(qi,me,Object.values(ci[me])),Be(qi,we,Object.values(ci[we])),qi),Bl=null,$m={},jm={},Bm={},Fm={},Um={},yC=(Gi={},Be(Gi,me,Object.keys(si[me])),Be(Gi,we,Object.keys(si[we])),Gi);function gC(e){return~JT.indexOf(e)}function bC(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!gC(i)?i:null}var xm=function(){var t=function(a){return hu(Jn,function(o,u,s){return o[s]=hu(u,a,{}),o},{})};$m=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(s){return typeof s=="number"});u.forEach(function(s){i[s.toString(16)]=o})}return i}),jm=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(s){return typeof s=="string"});u.forEach(function(s){i[s]=o})}return i}),Um=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(s){i[s]=o}),i});var n="far"in Jn||X.autoFetchSvg,r=hu(vC,function(i,a){var o=a[0],u=a[1],s=a[2];return u==="far"&&!n&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:s}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:s}),i},{names:{},unicodes:{}});Bm=r.names,Fm=r.unicodes,Bl=ho(X.styleDefault,{family:X.familyDefault})};nC(function(e){Bl=ho(e.styleDefault,{family:X.familyDefault})});xm();function Fl(e,t){return($m[e]||{})[t]}function _C(e,t){return(jm[e]||{})[t]}function An(e,t){return(Um[e]||{})[t]}function Hm(e){return Bm[e]||{prefix:null,iconName:null}}function wC(e){var t=Fm[e],n=Fl("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function pn(){return Bl}var Ul=function(){return{prefix:null,iconName:null,rest:[]}};function ho(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?me:n,i=si[r][e],a=li[r][e]||li[r][i],o=e in mt.styles?e:null;return a||o||null}var gd=(Vi={},Be(Vi,me,Object.keys(ci[me])),Be(Vi,we,Object.keys(ci[we])),Vi);function vo(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},Be(t,me,"".concat(X.cssPrefix,"-").concat(me)),Be(t,we,"".concat(X.cssPrefix,"-").concat(we)),t),o=null,u=me;(e.includes(a[me])||e.some(function(c){return gd[me].includes(c)}))&&(u=me),(e.includes(a[we])||e.some(function(c){return gd[we].includes(c)}))&&(u=we);var s=e.reduce(function(c,f){var l=bC(X.cssPrefix,f);if(Jn[f]?(f=mC[u].includes(f)?qT[u][f]:f,o=f,c.prefix=f):yC[u].indexOf(f)>-1?(o=f,c.prefix=ho(f,{family:u})):l?c.iconName=l:f!==X.replacementClass&&f!==a[me]&&f!==a[we]&&c.rest.push(f),!i&&c.prefix&&c.iconName){var d=o==="fa"?Hm(c.iconName):{},v=An(c.prefix,c.iconName);d.prefix&&(o=null),c.iconName=d.iconName||v||c.iconName,c.prefix=d.prefix||c.prefix,c.prefix==="far"&&!Jn.far&&Jn.fas&&!X.autoFetchSvg&&(c.prefix="fas")}return c},Ul());return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),!s.prefix&&u===we&&(Jn.fass||X.autoFetchSvg)&&(s.prefix="fass",s.iconName=An(s.prefix,s.iconName)||s.iconName),(s.prefix==="fa"||o==="fa")&&(s.prefix=pn()||"fas"),s}var EC=function(){function e(){MT(this,e),this.definitions={}}return DT(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=i.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(u){n.definitions[u]=q(q({},n.definitions[u]||{}),o[u]),hs(u,o[u]);var s=ci[me][u];s&&hs(s,o[u]),xm()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(a){var o=i[a],u=o.prefix,s=o.iconName,c=o.icon,f=c[2];n[u]||(n[u]={}),f.length>0&&f.forEach(function(l){typeof l=="string"&&(n[u][l]=c)}),n[u][s]=c}),n}}]),e}(),bd=[],Zn={},ar={},SC=Object.keys(ar);function OC(e,t){var n=t.mixoutsTo;return bd=e,Zn={},Object.keys(ar).forEach(function(r){SC.indexOf(r)===-1&&delete ar[r]}),bd.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),Ma(i[o])==="object"&&Object.keys(i[o]).forEach(function(u){n[o]||(n[o]={}),n[o][u]=i[o][u]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(o){Zn[o]||(Zn[o]=[]),Zn[o].push(a[o])})}r.provides&&r.provides(ar)}),n}function vs(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];var a=Zn[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function Dn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Zn[e]||[];i.forEach(function(a){a.apply(null,n)})}function qt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ar[e]?ar[e].apply(null,t):void 0}function ms(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||pn();if(t)return t=An(n,t)||t,md(Km.definitions,n,t)||md(mt.styles,n,t)}var Km=new EC,PC=function(){X.autoReplaceSvg=!1,X.observeMutations=!1,Dn("noAuto")},AC={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Vt?(Dn("beforeI2svg",t),qt("pseudoElements2svg",t),qt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;X.autoReplaceSvg===!1&&(X.autoReplaceSvg=!0),X.observeMutations=!0,fC(function(){CC({autoReplaceSvgRoot:n}),Dn("watch",t)})}},TC={icon:function(t){if(t===null)return null;if(Ma(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:An(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=ho(t[0]);return{prefix:r,iconName:An(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(X.cssPrefix,"-"))>-1||t.match(GT))){var i=vo(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||pn(),iconName:An(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=pn();return{prefix:a,iconName:An(a,t)||t}}}},ut={noAuto:PC,config:X,dom:AC,parse:TC,library:Km,findIconDefinition:ms,toHtml:Ri},CC=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?ye:n;(Object.keys(mt.styles).length>0||X.autoFetchSvg)&&Vt&&X.autoReplaceSvg&&ut.dom.i2svg({node:r})};function mo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Ri(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Vt){var r=ye.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function IC(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(jl(o)&&n.found&&!r.found){var u=n.width,s=n.height,c={x:u/s/2,y:.5};i.style=po(q(q({},a),{},{"transform-origin":"".concat(c.x+o.x/16,"em ").concat(c.y+o.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function RC(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(X.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:q(q({},i),{},{id:o}),children:r}]}]}function xl(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,s=e.title,c=e.maskId,f=e.titleId,l=e.extra,d=e.watchable,v=d===void 0?!1:d,p=r.found?r:n,h=p.width,b=p.height,_=i==="fak",y=[X.replacementClass,a?"".concat(X.cssPrefix,"-").concat(a):""].filter(function(P){return l.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(l.classes).join(" "),m={children:[],attributes:q(q({},l.attributes),{},{"data-prefix":i,"data-icon":a,class:y,role:l.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(b)})},g=_&&!~l.classes.indexOf("fa-fw")?{width:"".concat(h/b*16*.0625,"em")}:{};v&&(m.attributes[Mn]=""),s&&(m.children.push({tag:"title",attributes:{id:m.attributes["aria-labelledby"]||"title-".concat(f||di())},children:[s]}),delete m.attributes.title);var E=q(q({},m),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:q(q({},g),l.styles)}),O=r.found&&n.found?qt("generateAbstractMask",E)||{children:[],attributes:{}}:qt("generateAbstractIcon",E)||{children:[],attributes:{}},S=O.children,w=O.attributes;return E.children=S,E.attributes=w,u?RC(E):IC(E)}function _d(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,s=u===void 0?!1:u,c=q(q(q({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});s&&(c[Mn]="");var f=q({},o.styles);jl(i)&&(f.transform=uC({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var l=po(f);l.length>0&&(c.style=l);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),a&&d.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),d}function LC(e){var t=e.content,n=e.title,r=e.extra,i=q(q(q({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=po(r.styles);a.length>0&&(i.style=a);var o=[];return o.push({tag:"span",attributes:i,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var vu=mt.styles;function ys(e){var t=e[0],n=e[1],r=e.slice(4),i=Ll(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(X.cssPrefix,"-").concat(Pn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(X.cssPrefix,"-").concat(Pn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(X.cssPrefix,"-").concat(Pn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var kC={found:!1,width:512,height:512};function NC(e,t){!Im&&!X.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function gs(e,t){var n=t;return t==="fa"&&X.styleDefault!==null&&(t=pn()),new Promise(function(r,i){if(qt("missingIconAbstract"),n==="fa"){var a=Hm(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&vu[t]&&vu[t][e]){var o=vu[t][e];return r(ys(o))}NC(e,t),r(q(q({},kC),{},{icon:X.showMissingIcons&&e?qt("missingIconAbstract")||{}:{}}))})}var wd=function(){},bs=X.measurePerformance&&Ui&&Ui.mark&&Ui.measure?Ui:{mark:wd,measure:wd},Hr='FA "6.4.2"',MC=function(t){return bs.mark("".concat(Hr," ").concat(t," begins")),function(){return Wm(t)}},Wm=function(t){bs.mark("".concat(Hr," ").concat(t," ends")),bs.measure("".concat(Hr," ").concat(t),"".concat(Hr," ").concat(t," begins"),"".concat(Hr," ").concat(t," ends"))},Hl={begin:MC,end:Wm},ca=function(){};function Ed(e){var t=e.getAttribute?e.getAttribute(Mn):null;return typeof t=="string"}function DC(e){var t=e.getAttribute?e.getAttribute(Nl):null,n=e.getAttribute?e.getAttribute(Ml):null;return t&&n}function $C(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(X.replacementClass)}function jC(){if(X.autoReplaceSvg===!0)return fa.replace;var e=fa[X.autoReplaceSvg];return e||fa.replace}function BC(e){return ye.createElementNS("http://www.w3.org/2000/svg",e)}function FC(e){return ye.createElement(e)}function zm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?BC:FC:n;if(typeof e=="string")return ye.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){i.setAttribute(o,e.attributes[o])});var a=e.children||[];return a.forEach(function(o){i.appendChild(zm(o,{ceFn:r}))}),i}function UC(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var fa={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(zm(i),n)}),n.getAttribute(Mn)===null&&X.keepOriginalSource){var r=ye.createComment(UC(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~$l(n).indexOf(X.replacementClass))return fa.replace(t);var i=new RegExp("".concat(X.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(u,s){return s===X.replacementClass||s.match(i)?u.toSvg.push(s):u.toNode.push(s),u},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var o=r.map(function(u){return Ri(u)}).join(`
780
+ `);n.setAttribute(Mn,""),n.innerHTML=o}};function Sd(e){e()}function qm(e,t){var n=typeof t=="function"?t:ca;if(e.length===0)n();else{var r=Sd;X.mutateApproach===WT&&(r=dn.requestAnimationFrame||Sd),r(function(){var i=jC(),a=Hl.begin("mutate");e.map(i),a(),n()})}}var Kl=!1;function Gm(){Kl=!0}function _s(){Kl=!1}var $a=null;function Od(e){if(pd&&X.observeMutations){var t=e.treeCallback,n=t===void 0?ca:t,r=e.nodeCallback,i=r===void 0?ca:r,a=e.pseudoElementsCallback,o=a===void 0?ca:a,u=e.observeMutationsRoot,s=u===void 0?ye:u;$a=new pd(function(c){if(!Kl){var f=pn();Lr(c).forEach(function(l){if(l.type==="childList"&&l.addedNodes.length>0&&!Ed(l.addedNodes[0])&&(X.searchPseudoElements&&o(l.target),n(l.target)),l.type==="attributes"&&l.target.parentNode&&X.searchPseudoElements&&o(l.target.parentNode),l.type==="attributes"&&Ed(l.target)&&~QT.indexOf(l.attributeName))if(l.attributeName==="class"&&DC(l.target)){var d=vo($l(l.target)),v=d.prefix,p=d.iconName;l.target.setAttribute(Nl,v||f),p&&l.target.setAttribute(Ml,p)}else $C(l.target)&&i(l.target)})}}),Vt&&$a.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function xC(){$a&&$a.disconnect()}function HC(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var a=i.split(":"),o=a[0],u=a.slice(1);return o&&u.length>0&&(r[o]=u.join(":").trim()),r},{})),n}function KC(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=vo($l(e));return i.prefix||(i.prefix=pn()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=_C(i.prefix,e.innerText)||Fl(i.prefix,ps(e.innerText))),!i.iconName&&X.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function WC(e){var t=Lr(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return X.autoA11y&&(n?t["aria-labelledby"]="".concat(X.replacementClass,"-title-").concat(r||di()):(t["aria-hidden"]="true",t.focusable="false")),t}function zC(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ct,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Pd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=KC(e),r=n.iconName,i=n.prefix,a=n.rest,o=WC(e),u=vs("parseNodeAttributes",{},e),s=t.styleParser?HC(e):[];return q({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Ct,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:o}},u)}var qC=mt.styles;function Vm(e){var t=X.autoReplaceSvg==="nest"?Pd(e,{styleParser:!1}):Pd(e);return~t.extra.classes.indexOf(Rm)?qt("generateLayersText",e,t):qt("generateSvgReplacementMutation",e,t)}var hn=new Set;Dl.map(function(e){hn.add("fa-".concat(e))});Object.keys(si[me]).map(hn.add.bind(hn));Object.keys(si[we]).map(hn.add.bind(hn));hn=Ci(hn);function Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Vt)return Promise.resolve();var n=ye.documentElement.classList,r=function(l){return n.add("".concat(hd,"-").concat(l))},i=function(l){return n.remove("".concat(hd,"-").concat(l))},a=X.autoFetchSvg?hn:Dl.map(function(f){return"fa-".concat(f)}).concat(Object.keys(qC));a.includes("fa")||a.push("fa");var o=[".".concat(Rm,":not([").concat(Mn,"])")].concat(a.map(function(f){return".".concat(f,":not([").concat(Mn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=Lr(e.querySelectorAll(o))}catch{}if(u.length>0)r("pending"),i("complete");else return Promise.resolve();var s=Hl.begin("onTree"),c=u.reduce(function(f,l){try{var d=Vm(l);d&&f.push(d)}catch(v){Im||v.name==="MissingIcon"&&console.error(v)}return f},[]);return new Promise(function(f,l){Promise.all(c).then(function(d){qm(d,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),s(),f()})}).catch(function(d){s(),l(d)})})}function GC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Vm(e).then(function(n){n&&qm([n],t)})}function VC(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:ms(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:ms(i||{})),e(r,q(q({},n),{},{mask:i}))}}var YC=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Ct:r,a=n.symbol,o=a===void 0?!1:a,u=n.mask,s=u===void 0?null:u,c=n.maskId,f=c===void 0?null:c,l=n.title,d=l===void 0?null:l,v=n.titleId,p=v===void 0?null:v,h=n.classes,b=h===void 0?[]:h,_=n.attributes,y=_===void 0?{}:_,m=n.styles,g=m===void 0?{}:m;if(t){var E=t.prefix,O=t.iconName,S=t.icon;return mo(q({type:"icon"},t),function(){return Dn("beforeDOMElementCreation",{iconDefinition:t,params:n}),X.autoA11y&&(d?y["aria-labelledby"]="".concat(X.replacementClass,"-title-").concat(p||di()):(y["aria-hidden"]="true",y.focusable="false")),xl({icons:{main:ys(S),mask:s?ys(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:O,transform:q(q({},Ct),i),symbol:o,title:d,maskId:f,titleId:p,extra:{attributes:y,styles:g,classes:b}})})}},XC={mixout:function(){return{icon:VC(YC)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Ad,n.nodeCallback=GC,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?ye:r,a=n.callback,o=a===void 0?function(){}:a;return Ad(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,o=r.titleId,u=r.prefix,s=r.transform,c=r.symbol,f=r.mask,l=r.maskId,d=r.extra;return new Promise(function(v,p){Promise.all([gs(i,u),f.iconName?gs(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var b=Ll(h,2),_=b[0],y=b[1];v([n,xl({icons:{main:_,mask:y},prefix:u,iconName:i,transform:s,symbol:c,maskId:l,title:a,titleId:o,extra:d,watchable:!0})])}).catch(p)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,u=n.styles,s=po(u);s.length>0&&(i.style=s);var c;return jl(o)&&(c=qt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},QC={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,a=i===void 0?[]:i;return mo({type:"layer"},function(){Dn("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(u){Array.isArray(u)?u.map(function(s){o=o.concat(s.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(X.cssPrefix,"-layers")].concat(Ci(a)).join(" ")},children:o}]})}}}},JC={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,a=i===void 0?null:i,o=r.classes,u=o===void 0?[]:o,s=r.attributes,c=s===void 0?{}:s,f=r.styles,l=f===void 0?{}:f;return mo({type:"counter",content:n},function(){return Dn("beforeDOMElementCreation",{content:n,params:r}),LC({content:n.toString(),title:a,extra:{attributes:c,styles:l,classes:["".concat(X.cssPrefix,"-layers-counter")].concat(Ci(u))}})})}}}},ZC={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?Ct:i,o=r.title,u=o===void 0?null:o,s=r.classes,c=s===void 0?[]:s,f=r.attributes,l=f===void 0?{}:f,d=r.styles,v=d===void 0?{}:d;return mo({type:"text",content:n},function(){return Dn("beforeDOMElementCreation",{content:n,params:r}),_d({content:n,transform:q(q({},Ct),a),title:u,extra:{attributes:l,styles:v,classes:["".concat(X.cssPrefix,"-layers-text")].concat(Ci(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,u=null,s=null;if(Am){var c=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();u=f.width/c,s=f.height/c}return X.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,_d({content:n.innerHTML,width:u,height:s,transform:a,title:i,extra:o,watchable:!0})])}}},eI=new RegExp('"',"ug"),Td=[1105920,1112319];function tI(e){var t=e.replace(eI,""),n=hC(t,0),r=n>=Td[0]&&n<=Td[1],i=t.length===2?t[0]===t[1]:!1;return{value:ps(i?t[0]:t),isSecondary:r||i}}function Cd(e,t){var n="".concat(KT).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=Lr(e.children),o=a.filter(function(S){return S.getAttribute(ds)===t})[0],u=dn.getComputedStyle(e,t),s=u.getPropertyValue("font-family").match(VT),c=u.getPropertyValue("font-weight"),f=u.getPropertyValue("content");if(o&&!s)return e.removeChild(o),r();if(s&&f!=="none"&&f!==""){var l=u.getPropertyValue("content"),d=~["Sharp"].indexOf(s[2])?we:me,v=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(s[2])?li[d][s[2].toLowerCase()]:YT[d][c],p=tI(l),h=p.value,b=p.isSecondary,_=s[0].startsWith("FontAwesome"),y=Fl(v,h),m=y;if(_){var g=wC(h);g.iconName&&g.prefix&&(y=g.iconName,v=g.prefix)}if(y&&!b&&(!o||o.getAttribute(Nl)!==v||o.getAttribute(Ml)!==m)){e.setAttribute(n,m),o&&e.removeChild(o);var E=zC(),O=E.extra;O.attributes[ds]=t,gs(y,v).then(function(S){var w=xl(q(q({},E),{},{icons:{main:S,mask:Ul()},prefix:v,iconName:m,extra:O,watchable:!0})),P=ye.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=w.map(function(A){return Ri(A)}).join(`
781
+ `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function nI(e){return Promise.all([Cd(e,"::before"),Cd(e,"::after")])}function rI(e){return e.parentNode!==document.head&&!~zT.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(ds)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Id(e){if(Vt)return new Promise(function(t,n){var r=Lr(e.querySelectorAll("*")).filter(rI).map(nI),i=Hl.begin("searchPseudoElements");Gm(),Promise.all(r).then(function(){i(),_s(),t()}).catch(function(){i(),_s(),n()})})}var iI={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Id,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?ye:r;X.searchPseudoElements&&Id(i)}}},Rd=!1,aI={mixout:function(){return{dom:{unwatch:function(){Gm(),Rd=!0}}}},hooks:function(){return{bootstrap:function(){Od(vs("mutationObserverCallbacks",{}))},noAuto:function(){xC()},watch:function(n){var r=n.observeMutationsRoot;Rd?_s():Od(vs("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Ld=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var a=i.toLowerCase().split("-"),o=a[0],u=a.slice(1).join("-");if(o&&u==="h")return r.flipX=!0,r;if(o&&u==="v")return r.flipY=!0,r;if(u=parseFloat(u),isNaN(u))return r;switch(o){case"grow":r.size=r.size+u;break;case"shrink":r.size=r.size-u;break;case"left":r.x=r.x-u;break;case"right":r.x=r.x+u;break;case"up":r.y=r.y-u;break;case"down":r.y=r.y+u;break;case"rotate":r.rotate=r.rotate+u;break}return r},n)},oI={mixout:function(){return{parse:{transform:function(n){return Ld(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Ld(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,a=n.containerWidth,o=n.iconWidth,u={transform:"translate(".concat(a/2," 256)")},s="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),f="rotate(".concat(i.rotate," 0 0)"),l={transform:"".concat(s," ").concat(c," ").concat(f)},d={transform:"translate(".concat(o/2*-1," -256)")},v={outer:u,inner:l,path:d};return{tag:"g",attributes:q({},v.outer),children:[{tag:"g",attributes:q({},v.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:q(q({},r.icon.attributes),v.path)}]}]}}}},mu={x:0,y:0,width:"100%",height:"100%"};function kd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function uI(e){return e.tag==="g"?e.children:[e]}var sI={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?vo(i.split(" ").map(function(o){return o.trim()})):Ul();return a.prefix||(a.prefix=pn()),n.mask=a,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.mask,u=n.maskId,s=n.transform,c=a.width,f=a.icon,l=o.width,d=o.icon,v=oC({transform:s,containerWidth:l,iconWidth:c}),p={tag:"rect",attributes:q(q({},mu),{},{fill:"white"})},h=f.children?{children:f.children.map(kd)}:{},b={tag:"g",attributes:q({},v.inner),children:[kd(q({tag:f.tag,attributes:q(q({},f.attributes),v.path)},h))]},_={tag:"g",attributes:q({},v.outer),children:[b]},y="mask-".concat(u||di()),m="clip-".concat(u||di()),g={tag:"mask",attributes:q(q({},mu),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,_]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:m},children:uI(d)},g]};return r.push(E,{tag:"rect",attributes:q({fill:"currentColor","clip-path":"url(#".concat(m,")"),mask:"url(#".concat(y,")")},mu)}),{children:r,attributes:i}}}},lI={provides:function(t){var n=!1;dn.matchMedia&&(n=dn.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:q(q({},i),{},{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"})});var o=q(q({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:q(q({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||u.children.push({tag:"animate",attributes:q(q({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:q(q({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:q(q({},i),{},{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:n?[]:[{tag:"animate",attributes:q(q({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:q(q({},i),{},{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:q(q({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},cI={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return n.symbol=a,n}}}},fI=[lC,XC,QC,JC,ZC,iI,aI,oI,sI,lI,cI];OC(fI,{mixoutsTo:ut});ut.noAuto;ut.config;ut.library;ut.dom;var ws=ut.parse;ut.findIconDefinition;ut.toHtml;var dI=ut.icon;ut.layer;ut.text;ut.counter;var Ym={exports:{}},pI="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",hI=pI,vI=hI;function Xm(){}function Qm(){}Qm.resetWarningCache=Xm;var mI=function(){function e(r,i,a,o,u,s){if(s!==vI){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Qm,resetWarningCache:Xm};return n.PropTypes=n,n};Ym.exports=mI();var Ce=Ym.exports;const oe=pi(Ce);function Nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nd(Object(n),!0).forEach(function(r){er(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ja(e){"@babel/helpers - typeof";return ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ja(e)}function er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function gI(e,t){if(e==null)return{};var n=yI(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Es(e){return bI(e)||_I(e)||wI(e)||EI()}function bI(e){if(Array.isArray(e))return Ss(e)}function _I(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wI(e,t){if(e){if(typeof e=="string")return Ss(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ss(e,t)}}function Ss(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function EI(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
782
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SI(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,s=e.spin,c=e.spinPulse,f=e.spinReverse,l=e.pulse,d=e.fixedWidth,v=e.inverse,p=e.border,h=e.listItem,b=e.flip,_=e.size,y=e.rotation,m=e.pull,g=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":s,"fa-spin-reverse":f,"fa-spin-pulse":c,"fa-pulse":l,"fa-fw":d,"fa-inverse":v,"fa-border":p,"fa-li":h,"fa-flip":b===!0,"fa-flip-horizontal":b==="horizontal"||b==="both","fa-flip-vertical":b==="vertical"||b==="both"},er(t,"fa-".concat(_),typeof _<"u"&&_!==null),er(t,"fa-rotate-".concat(y),typeof y<"u"&&y!==null&&y!==0),er(t,"fa-pull-".concat(m),typeof m<"u"&&m!==null),er(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(g).map(function(E){return g[E]?E:null}).filter(function(E){return E})}function OI(e){return e=e-0,e===e}function Jm(e){return OI(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var PI=["style"];function AI(e){return e.charAt(0).toUpperCase()+e.slice(1)}function TI(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=Jm(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[AI(i)]=a:t[i]=a,t},{})}function Zm(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(s){return Zm(e,s)}),i=Object.keys(t.attributes||{}).reduce(function(s,c){var f=t.attributes[c];switch(c){case"class":s.attrs.className=f,delete t.attributes.class;break;case"style":s.attrs.style=TI(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?s.attrs[c.toLowerCase()]=f:s.attrs[Jm(c)]=f}return s},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=gI(n,PI);return i.attrs.style=rn(rn({},i.attrs.style),o),e.apply(void 0,[t.tag,rn(rn({},i.attrs),u)].concat(Es(r)))}var ey=!1;try{ey=!0}catch{}function CI(){if(!ey&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Md(e){if(e&&ja(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(ws.icon)return ws.icon(e);if(e===null)return null;if(e&&ja(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function yu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?er({},e,t):{}}var yo=Z.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,u=e.titleId,s=e.maskId,c=Md(n),f=yu("classes",[].concat(Es(SI(e)),Es(a.split(" ")))),l=yu("transform",typeof e.transform=="string"?ws.transform(e.transform):e.transform),d=yu("mask",Md(r)),v=dI(c,rn(rn(rn(rn({},f),l),d),{},{symbol:i,title:o,titleId:u,maskId:s}));if(!v)return CI("Could not find icon",c),null;var p=v.abstract,h={ref:t};return Object.keys(e).forEach(function(b){yo.defaultProps.hasOwnProperty(b)||(h[b]=e[b])}),II(p[0],h)});yo.displayName="FontAwesomeIcon";yo.propTypes={beat:oe.bool,border:oe.bool,beatFade:oe.bool,bounce:oe.bool,className:oe.string,fade:oe.bool,flash:oe.bool,mask:oe.oneOfType([oe.object,oe.array,oe.string]),maskId:oe.string,fixedWidth:oe.bool,inverse:oe.bool,flip:oe.oneOf([!0,!1,"horizontal","vertical","both"]),icon:oe.oneOfType([oe.object,oe.array,oe.string]),listItem:oe.bool,pull:oe.oneOf(["right","left"]),pulse:oe.bool,rotation:oe.oneOf([0,90,180,270]),shake:oe.bool,size:oe.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:oe.bool,spinPulse:oe.bool,spinReverse:oe.bool,symbol:oe.oneOfType([oe.bool,oe.string]),title:oe.string,titleId:oe.string,transform:oe.oneOfType([oe.string,oe.object]),swapOpacity:oe.bool};yo.defaultProps={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};var II=Zm.bind(null,Z.createElement);function RI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M11.03 3.97a.75.75 0 010 1.06l-6.22 6.22H21a.75.75 0 010 1.5H4.81l6.22 6.22a.75.75 0 11-1.06 1.06l-7.5-7.5a.75.75 0 010-1.06l7.5-7.5a.75.75 0 011.06 0z",clipRule:"evenodd"}))}const LI=pe(RI),CL=LI;function kI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z",clipRule:"evenodd"}))}const NI=pe(kI),IL=NI;function MI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M7.72 12.53a.75.75 0 010-1.06l7.5-7.5a.75.75 0 111.06 1.06L9.31 12l6.97 6.97a.75.75 0 11-1.06 1.06l-7.5-7.5z",clipRule:"evenodd"}))}const DI=pe(MI),RL=DI;function $I({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}),F("path",{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}))}const jI=pe($I),LL=jI;function BI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 01.67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 11-.671-1.34l.041-.022zM12 9a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"}))}const FI=pe(BI),kL=FI;function UI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M10.5 3.75a6.75 6.75 0 100 13.5 6.75 6.75 0 000-13.5zM2.25 10.5a8.25 8.25 0 1114.59 5.28l4.69 4.69a.75.75 0 11-1.06 1.06l-4.69-4.69A8.25 8.25 0 012.25 10.5z",clipRule:"evenodd"}))}const xI=pe(UI),NL=xI;function HI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{d:"M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z"}))}const KI=pe(HI),ML=KI;function WI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM12.75 9a.75.75 0 00-1.5 0v2.25H9a.75.75 0 000 1.5h2.25V15a.75.75 0 001.5 0v-2.25H15a.75.75 0 000-1.5h-2.25V9z",clipRule:"evenodd"}))}const zI=pe(WI),DL=zI;function qI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z",clipRule:"evenodd"}))}const GI=pe(qI),$L=GI;function VI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z",clipRule:"evenodd"}))}const YI=pe(VI),jL=YI;function XI({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}const QI=pe(XI),BL=QI;function ty(e,t=!1,n,r=n.polyfill("FormData",!0,!0),i=[]){return Object.entries(e).forEach(([a,o])=>{let u=i.reduce((s,c)=>s?`${s}[${c}]`:c,null);if(u=u?`${u}[${a}]`:a,o instanceof Array||globalThis.FileList&&o instanceof FileList)for(const s of o)r.append(u,s);else t&&typeof o=="object"&&(!(t instanceof Array)||!t.includes(a))?o!==null&&ty(o,t,n,r,[...i,a]):r.append(u,o)}),r}const JI={wretch:{formData(e,t=!1){return this.body(ty(e,t,this._config))}}},FL=JI;var ZI={},tt={};Object.defineProperty(tt,"__esModule",{value:!0});tt.AnonymousSelectKey=tt.Select=tt.Not=tt.Guard=tt.PatternKind=void 0;tt.PatternKind=Symbol("@ts-pattern/pattern-kind");tt.Guard=Symbol("@ts-pattern/guard");tt.Not=Symbol("@ts-pattern/not");tt.Select=Symbol("@ts-pattern/select");tt.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var Wl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=tt,n=u=>({[t.PatternKind]:t.Guard,[t.Guard]:u});e.when=n;const r=u=>({[t.PatternKind]:t.Not,[t.Not]:u});e.not=r;function i(u){return u===void 0?{[t.PatternKind]:t.Select,[t.Select]:t.AnonymousSelectKey}:{[t.PatternKind]:t.Select,[t.Select]:u}}e.select=i;function a(u){return s=>s instanceof u}const o=u=>(0,e.when)(a(u));e.instanceOf=o})(Wl);var go={};Object.defineProperty(go,"__esModule",{value:!0});go.__=void 0;const kr=Wl;function eR(e){return!0}function tR(e){return typeof e=="number"}function nR(e){return Number.isNaN(e)}function rR(e){return typeof e=="string"}function iR(e){return typeof e=="boolean"}function aR(e){return e==null}const oR=(0,kr.when)(eR),uR=(0,kr.when)(rR),sR=(0,kr.when)(tR),lR=(0,kr.when)(nR),cR=(0,kr.when)(iR),fR=(0,kr.when)(aR);go.__=Object.assign(oR,{string:uR,number:sR,NaN:lR,boolean:cR,nullish:fR});(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isMatching=e.match=e.instanceOf=e.select=e.not=e.when=e.__=void 0;const t=tt,n=Wl;Object.defineProperty(e,"when",{enumerable:!0,get:function(){return n.when}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return n.not}}),Object.defineProperty(e,"select",{enumerable:!0,get:function(){return n.select}}),Object.defineProperty(e,"instanceOf",{enumerable:!0,get:function(){return n.instanceOf}});const r=go;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=d=>a(d,[]);e.match=i;const a=(d,v)=>{const p=()=>{const h=v.find(({test:b})=>b(d));if(!h){let b;try{b=JSON.stringify(d)}catch{b=d}throw new Error(`Pattern matching error: no pattern matches value ${b}`)}return h.handler(h.select(d),d)};return{with(...h){const b=h[h.length-1],_=[],y=[];for(let E=0;E<h.length-1;E++){const O=h[E];typeof O=="function"?y.push(O):_.push(O)}let m={};const g=E=>!!(_.some(O=>f(O,E,(S,w)=>{m[S]=w}))&&y.every(O=>O(E)));return a(d,v.concat([{test:g,handler:b,select:E=>Object.keys(m).length?t.AnonymousSelectKey in m?m[t.AnonymousSelectKey]:m:E}]))},when:(h,b)=>a(d,v.concat([{test:h,handler:b,select:_=>_}])),otherwise:h=>a(d,v.concat([{test:()=>!0,handler:h,select:b=>b}])).run(),exhaustive:()=>p(),run:p}},o=d=>!!(d&&typeof d=="object"),u=d=>{const v=d;return v&&v[t.PatternKind]===t.Guard},s=d=>{const v=d;return v&&v[t.PatternKind]===t.Not},c=d=>{const v=d;return v&&v[t.PatternKind]===t.Select},f=(d,v,p)=>{if(o(d)){if(u(d))return!!d[t.Guard](v);if(c(d))return p(d[t.Select],v),!0;if(s(d))return!f(d[t.Not],v,p);if(!o(v))return!1;if(Array.isArray(d)){if(!Array.isArray(v))return!1;if(d.length===1){const h={},b=(y,m)=>{h[y]=(h[y]||[]).concat([m])},_=v.every(y=>f(d[0],y,b));return _&&Object.keys(h).forEach(y=>p(y,h[y])),_}return d.length===v.length?d.every((h,b)=>f(h,v[b],p)):!1}if(d instanceof Map)return v instanceof Map?[...d.keys()].every(h=>f(d.get(h),v.get(h),p)):!1;if(d instanceof Set){if(!(v instanceof Set))return!1;if(d.size===0)return v.size===0;if(d.size===1){const[h]=[...d.values()];return Object.values(r.__).includes(h)?f([h],[...v.values()],p):v.has(h)}return[...d.values()].every(h=>v.has(h))}return Object.keys(d).every(h=>h in v&&f(d[h],v[h],p))}return v===d};function l(...d){if(d.length===1){const[v]=d;return p=>f(v,p,()=>{})}if(d.length===2){const[v,p]=d;return f(v,p,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${d.length}.`)}e.isMatching=l})(ZI);var ny={exports:{}};(function(e,t){(function(n,r){e.exports=r(vm)})(J,function(n){return function(){var r={378:function(u){u.exports=function s(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var l,d,v;if(Array.isArray(c)){if((l=c.length)!=f.length)return!1;for(d=l;d--!=0;)if(!s(c[d],f[d]))return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf)return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString)return c.toString()===f.toString();if((l=(v=Object.keys(c)).length)!==Object.keys(f).length)return!1;for(d=l;d--!=0;)if(!Object.prototype.hasOwnProperty.call(f,v[d]))return!1;for(d=l;d--!=0;){var p=v[d];if(!s(c[p],f[p]))return!1}return!0}return c!=c&&f!=f}},145:function(u,s,c){c.r(s),s.default='@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popover{bottom:96px;position:fixed;right:16px;z-index:10001}.tf-v1-popover.open{max-width:100%;min-height:360px;min-width:360px}.tf-v1-popover-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;opacity:0;transition:opacity .25s ease-in-out;border-radius:4px;box-shadow:rgba(0,0,0,.08) 0 2px 4px,rgba(0,0,0,.06) 0 2px 12px}.tf-v1-popover-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popover-close{display:none}.tf-v1-popover-button{width:54px;height:54px;position:fixed;box-shadow:0 2px 12px rgba(0,0,0,.06),0 2px 4px rgba(0,0,0,.08);color:#fff;right:26px;bottom:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:#3a7685;line-height:0;border:none;padding:0}.tf-v1-popover-button-icon{width:54px;height:54px;font-size:24px;border-radius:50%;overflow:hidden;display:flex;justify-content:center;align-items:center}.tf-v1-popover-button-icon svg.default{margin-top:6px}.tf-v1-popover-button-icon svg,.tf-v1-popover-button-icon img{max-width:54px;max-height:54px}.tf-v1-popover-button-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}.tf-v1-popover-tooltip{position:fixed;right:94px;bottom:33px;max-width:240px;padding:10px 25px 10px 10px;border-radius:8px;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);font-size:14px;font-family:Helvetica,Arial,sans-serif;line-height:22px}.tf-v1-popover-tooltip::before{background-color:#fff;content:"";display:block;width:12px;height:12px;position:absolute;right:-4px;bottom:15px;transform:rotate(45deg);box-shadow:2px -2px 2px 0 rgba(0,0,0,.06)}.tf-v1-popover-tooltip-text{overflow:hidden}.tf-v1-popover-tooltip-close{color:rgba(0,0,0,.2);cursor:pointer;margin-left:4px;display:inline-block;width:20px;height:20px;font-size:18px;text-align:center;position:absolute;top:8px;right:6px}.tf-v1-popover-tooltip-close:hover{color:rgba(0,0,0,.3)}.tf-v1-popover-tooltip.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-popover-unread-dot{width:8px;height:8px;border-radius:50%;background-color:#fa6b05;border:2px solid #fff;position:absolute;top:2px;right:2px}.tf-v1-popover-unread-dot.closing{transition:opacity .25s ease-in-out;opacity:0}.tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popover.open{top:0;left:0;bottom:0;right:0;width:100% !important;height:100% !important}.tf-v1-popover.open .tf-v1-popover-close{display:block}.tf-v1-popover-wrapper{border-radius:0;box-shadow:none}.tf-v1-popover-wrapper iframe{border-radius:0}.tf-v1-popover-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1;opacity:0}.tf-v1-popover-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popover-close{color:#fff !important}}@media(max-width: 480px){.tf-v1-popover-button{width:44px;height:44px;right:8px;bottom:8px}.tf-v1-popover-button-icon{font-size:20px}.tf-v1-popover-button-icon svg{margin-top:4px;max-height:24px;max-width:24px}.tf-v1-popover-button-icon img{max-width:44px;max-height:44px}.tf-v1-popover-tooltip{position:fixed;right:66px;bottom:8px;left:auto;font-size:12px}.tf-v1-popover-tooltip::before{bottom:14px}.tf-v1-popover-unread-dot{top:0;right:0}.tf-v1-spinner{border:3px solid #aaa;font-size:32px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px}}'},792:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-popup{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001;display:flex;align-items:center;justify-content:center}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:360px;min-height:360px}.tf-v1-popup .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:-34px;right:0;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}.tf-v1-popup .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(max-width: 480px){.tf-v1-popup{width:100% !important;height:100% !important}.tf-v1-popup .tf-v1-iframe-wrapper{position:relative;transition:opacity .25s ease-in-out;min-width:100%;min-height:100%}.tf-v1-popup .tf-v1-iframe-wrapper iframe{border-radius:0}.tf-v1-popup .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-popup .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-popup .tf-v1-close{color:#fff !important}}"},838:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-sidetab{position:fixed;top:50%;right:0;width:400px;height:580px;transform:translate(100%, -50%);box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);z-index:10001;will-change:transform}.tf-v1-sidetab.ready{transition:transform 400ms cubic-bezier(0.5, 0, 0.75, 0)}.tf-v1-sidetab iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px 0 0 8px}.tf-v1-sidetab.open{transform:translate(0, -50%)}.tf-v1-sidetab-wrapper{position:relative;height:100%}.tf-v1-sidetab-button{position:absolute;top:50%;left:-48px;transform:rotate(-90deg) translateX(-50%);transform-origin:left top;min-width:100px;max-width:540px;height:48px;display:flex;align-items:center;padding:12px 16px;border-radius:8px 8px 0 0;color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);background-color:#3a7685;cursor:pointer;border:0;text-decoration:none;outline:none}.tf-v1-sidetab-button-text{flex:1;font-size:18px;font-family:Helvetica,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-v1-sidetab-button-icon{width:24px;height:24px;font-size:24px;transform:rotate(90deg);margin-right:12px;position:relative;order:-1}.tf-v1-sidetab-button-icon>img{width:100%;height:100%;object-fit:contain}.tf-v1-sidetab-close{display:none}.tf-v1-sidetab .tf-v1-spinner{border:3px solid #aaa;font-size:24px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;top:0;left:0;margin:0}@media(max-width: 480px){.tf-v1-sidetab{transition:unset}.tf-v1-sidetab.ready{transition:unset}.tf-v1-sidetab.open{top:0;left:0;right:0;bottom:0;transform:translate(0, 0);width:100% !important;height:100% !important}.tf-v1-sidetab-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;display:block;z-index:1}.tf-v1-sidetab-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-sidetab-close{color:#fff !important}}"},630:function(u,s,c){c.r(s),s.default="@keyframes spin{to{transform:rotate(360deg)}}.tf-v1-slider{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);transition:opacity .25s ease-in-out;z-index:10001}.tf-v1-slider .tf-v1-iframe-wrapper{max-width:calc(100vw - 26px);height:100%;position:absolute;top:0;transition:right .5s ease-in-out,left .5s ease-in-out}.tf-v1-slider .tf-v1-iframe-wrapper iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:0}@media(min-width: 481px){.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:8px 0 0 8px}}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0}.tf-v1-slider .tf-v1-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}@media(min-width: 481px){.tf-v1-slider .tf-v1-close{top:4px;left:-26px}}.tf-v1-slider .tf-v1-close:hover{opacity:1}.tf-v1-slider .tf-v1-spinner{border:3px solid #aaa;font-size:40px;width:1em;height:1em;border-radius:.5em;box-sizing:border-box;animation:spin 1s linear infinite;border-top-color:#fff;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px}@media(min-width: 481px){.tf-v1-slider.left .tf-v1-iframe-wrapper iframe{border-radius:0 8px 8px 0}.tf-v1-slider.left .tf-v1-close{left:auto;right:-24px}}@media(max-width: 480px){.tf-v1-slider{width:100% !important;height:100% !important}.tf-v1-slider .tf-v1-iframe-wrapper{width:100% !important;max-width:100vw;height:100%;transition:unset}.tf-v1-slider .tf-v1-iframe-wrapper iframe{border-radius:none}.tf-v1-slider .tf-v1-close{display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;left:auto}.tf-v1-slider .tf-v1-close:hover{opacity:1}}@media(max-width: 480px)and (min-width: 481px){.tf-v1-slider .tf-v1-close{color:#fff !important}}"},684:function(u,s,c){c.r(s),s.default=".tf-v1-widget{width:100%;height:100%;min-height:inherit;position:relative}.tf-v1-widget iframe{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;min-height:inherit}.tf-v1-widget-close{display:none}.tf-v1-widget-iframe-overlay{width:100%;height:100%;border:none;overflow:hidden;border-radius:8px;position:absolute;top:0;left:0}.tf-v1-widget-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10001;width:100% !important;height:100% !important}.tf-v1-widget-fullscreen .tf-v1-widget-close{display:block;display:block;padding:0;margin:0;position:absolute;font-size:32px;font-weight:normal;line-height:24px;width:24px;height:24px;text-align:center;text-transform:none;cursor:pointer;opacity:.75;transition:opacity .25s ease-in-out;text-decoration:none;color:#000;top:6px;right:8px;background:none;border:none;border-radius:0;z-index:1}.tf-v1-widget-fullscreen .tf-v1-widget-close:hover{opacity:1}@media(min-width: 481px){.tf-v1-widget-fullscreen .tf-v1-widget-close{color:#fff !important}}.tf-v1-widget-fullscreen iframe{border-radius:0}"},281:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,v,p,h){h===void 0&&(h=p);var b=Object.getOwnPropertyDescriptor(v,p);b&&!("get"in b?!v.__esModule:b.writable||b.configurable)||(b={enumerable:!0,get:function(){return v[p]}}),Object.defineProperty(d,h,b)}:function(d,v,p,h){h===void 0&&(h=p),d[h]=v[p]}),l=this&&this.__exportStar||function(d,v){for(var p in d)p==="default"||Object.prototype.hasOwnProperty.call(v,p)||f(v,d,p)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(11),s),l(c(739),s),l(c(860),s)},794:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(p){for(var h,b=1,_=arguments.length;b<_;b++)for(var y in h=arguments[b])Object.prototype.hasOwnProperty.call(h,y)&&(p[y]=h[y]);return p},f.apply(this,arguments)},l=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(s,"__esModule",{value:!0}),s.InlineStyle=void 0;var d=l(c(156)),v=l(c(52));s.InlineStyle=function(p){var h=p.filename,b=c(367)("./".concat(h,".css")),_=(0,v.default)();return d.default.createElement("style",f({},_?{nonce:_}:{}),b.default)}},11:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(_){for(var y,m=1,g=arguments.length;m<g;m++)for(var E in y=arguments[m])Object.prototype.hasOwnProperty.call(y,E)&&(_[E]=y[E]);return _},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(_,y,m,g){g===void 0&&(g=m);var E=Object.getOwnPropertyDescriptor(y,m);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[m]}}),Object.defineProperty(_,g,E)}:function(_,y,m,g){g===void 0&&(g=m),_[g]=y[m]}),d=this&&this.__setModuleDefault||(Object.create?function(_,y){Object.defineProperty(_,"default",{enumerable:!0,value:y})}:function(_,y){_.default=y}),v=this&&this.__importStar||function(_){if(_&&_.__esModule)return _;var y={};if(_!=null)for(var m in _)m!=="default"&&Object.prototype.hasOwnProperty.call(_,m)&&l(y,_,m);return d(y,_),y},p=this&&this.__rest||function(_,y){var m={};for(var g in _)Object.prototype.hasOwnProperty.call(_,g)&&y.indexOf(g)<0&&(m[g]=_[g]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(g=Object.getOwnPropertySymbols(_);E<g.length;E++)y.indexOf(g[E])<0&&Object.prototype.propertyIsEnumerable.call(_,g[E])&&(m[g[E]]=_[g[E]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.makeButtonComponent=s.emptyEmbed=void 0;var h=v(c(156)),b=c(794);s.emptyEmbed={unmount:function(){},open:function(){}},s.makeButtonComponent=function(_,y){return h.default.forwardRef(function(m,g){var E=m.id,O=m.children,S=m.as,w=S===void 0?"button":S,P=m.style,A=P===void 0?{}:P,R=m.className,$=R===void 0?"":R,j=m.buttonProps,I=p(m,["id","children","as","style","className","buttonProps"]),C=(0,h.useRef)(s.emptyEmbed),L=g||C;(0,h.useEffect)(function(){return L.current=_(E,I),function(){return L.current.unmount()}},[E,I,L]);var M=(0,h.useMemo)(function(){return function(){return L.current.open()}},[L]),B=h.default.createElement(w,f({style:A,className:$,onClick:M,"data-testid":"tf-v1-".concat(y),children:O},j));return h.default.createElement(h.default.Fragment,null,h.default.createElement(b.InlineStyle,{filename:y}),B)})}},739:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(_,y,m,g){g===void 0&&(g=m);var E=Object.getOwnPropertyDescriptor(y,m);E&&!("get"in E?!y.__esModule:E.writable||E.configurable)||(E={enumerable:!0,get:function(){return y[m]}}),Object.defineProperty(_,g,E)}:function(_,y,m,g){g===void 0&&(g=m),_[g]=y[m]}),l=this&&this.__setModuleDefault||(Object.create?function(_,y){Object.defineProperty(_,"default",{enumerable:!0,value:y})}:function(_,y){_.default=y}),d=this&&this.__importStar||function(_){if(_&&_.__esModule)return _;var y={};if(_!=null)for(var m in _)m!=="default"&&Object.prototype.hasOwnProperty.call(_,m)&&f(y,_,m);return l(y,_),y},v=this&&this.__rest||function(_,y){var m={};for(var g in _)Object.prototype.hasOwnProperty.call(_,g)&&y.indexOf(g)<0&&(m[g]=_[g]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(g=Object.getOwnPropertySymbols(_);E<g.length;E++)y.indexOf(g[E])<0&&Object.prototype.propertyIsEnumerable.call(_,g[E])&&(m[g[E]]=_[g[E]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.makeInitializerComponent=void 0;var p=d(c(156)),h=c(794),b={unmount:function(){}};s.makeInitializerComponent=function(_,y){return p.default.forwardRef(function(m,g){var E=m.id,O=v(m,["id"]),S=(0,p.useRef)(b),w=g||S;return(0,p.useEffect)(function(){return w.current=_(E,O),function(){w.current.unmount()}},[E,O,w]),p.default.createElement(h.InlineStyle,{filename:y})})}},860:function(u,s,c){var f=this&&this.__assign||function(){return f=Object.assign||function(y){for(var m,g=1,E=arguments.length;g<E;g++)for(var O in m=arguments[g])Object.prototype.hasOwnProperty.call(m,O)&&(y[O]=m[O]);return y},f.apply(this,arguments)},l=this&&this.__createBinding||(Object.create?function(y,m,g,E){E===void 0&&(E=g);var O=Object.getOwnPropertyDescriptor(m,g);O&&!("get"in O?!m.__esModule:O.writable||O.configurable)||(O={enumerable:!0,get:function(){return m[g]}}),Object.defineProperty(y,E,O)}:function(y,m,g,E){E===void 0&&(E=g),y[E]=m[g]}),d=this&&this.__setModuleDefault||(Object.create?function(y,m){Object.defineProperty(y,"default",{enumerable:!0,value:m})}:function(y,m){y.default=m}),v=this&&this.__importStar||function(y){if(y&&y.__esModule)return y;var m={};if(y!=null)for(var g in y)g!=="default"&&Object.prototype.hasOwnProperty.call(y,g)&&l(m,y,g);return d(m,y),m},p=this&&this.__rest||function(y,m){var g={};for(var E in y)Object.prototype.hasOwnProperty.call(y,E)&&m.indexOf(E)<0&&(g[E]=y[E]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(E=Object.getOwnPropertySymbols(y);O<E.length;O++)m.indexOf(E[O])<0&&Object.prototype.propertyIsEnumerable.call(y,E[O])&&(g[E[O]]=y[E[O]])}return g};Object.defineProperty(s,"__esModule",{value:!0}),s.Widget=void 0;var h=v(c(156)),b=c(611),_=c(794);s.Widget=function(y){var m=y.id,g=y.style,E=g===void 0?{}:g,O=y.className,S=O===void 0?"":O,w=p(y,["id","style","className"]),P=(0,h.useRef)(null);return(0,h.useEffect)(function(){if(P.current){var A=(0,b.createWidget)(m,f(f({},w),{container:P.current}));return function(){A.unmount()}}},[m,w]),h.default.createElement(h.default.Fragment,null,h.default.createElement(_.InlineStyle,{filename:"widget"}),h.default.createElement("div",{style:E,className:S,ref:P}))}},797:function(u,s,c){var f=this&&this.__createBinding||(Object.create?function(d,v,p,h){h===void 0&&(h=p);var b=Object.getOwnPropertyDescriptor(v,p);b&&!("get"in b?!v.__esModule:b.writable||b.configurable)||(b={enumerable:!0,get:function(){return v[p]}}),Object.defineProperty(d,h,b)}:function(d,v,p,h){h===void 0&&(h=p),d[h]=v[p]}),l=this&&this.__exportStar||function(d,v){for(var p in d)p==="default"||Object.prototype.hasOwnProperty.call(v,p)||f(v,d,p)};Object.defineProperty(s,"__esModule",{value:!0}),l(c(553),s)},553:function(u,s,c){var f=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(s,"__esModule",{value:!0}),s.memoComponent=s.propsAreEqual=void 0;var l=c(156),d=f(c(378));s.propsAreEqual=function(v,p){return(0,d.default)(v,p)},s.memoComponent=function(v){return(0,l.memo)(v,s.propsAreEqual)}},52:function(u,s,c){Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(){return c.g.__webpack_nonce__!==void 0?c.g.__webpack_nonce__:null}},367:function(u,s,c){var f={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function l(v){var p=d(v);return c(p)}function d(v){if(!c.o(f,v)){var p=new Error("Cannot find module '"+v+"'");throw p.code="MODULE_NOT_FOUND",p}return f[v]}l.keys=function(){return Object.keys(f)},l.resolve=d,u.exports=l,l.id=367},611:function(u){u.exports=function(){var s={8027:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.DEFAULT_DOMAIN=l.POPUP_SIZE=l.SLIDER_WIDTH=l.SLIDER_POSITION=l.LIVE_EMBED_ATTRIBUTE=l.SIDETAB_ATTRIBUTE=l.WIDGET_ATTRIBUTE=l.SLIDER_ATTRIBUTE=l.POPUP_ATTRIBUTE=l.POPOVER_ATTRIBUTE=void 0,l.POPOVER_ATTRIBUTE="data-tf-popover",l.POPUP_ATTRIBUTE="data-tf-popup",l.SLIDER_ATTRIBUTE="data-tf-slider",l.WIDGET_ATTRIBUTE="data-tf-widget",l.SIDETAB_ATTRIBUTE="data-tf-sidetab",l.LIVE_EMBED_ATTRIBUTE="data-tf-live",l.SLIDER_POSITION="right",l.SLIDER_WIDTH=800,l.POPUP_SIZE=100,l.DEFAULT_DOMAIN="form.typeform.com"},7528:function(f,l,d){var v=this&&this.__assign||function(){return v=Object.assign||function(g){for(var E,O=1,S=arguments.length;O<S;O++)for(var w in E=arguments[O])Object.prototype.hasOwnProperty.call(E,w)&&(g[w]=E[w]);return g},v.apply(this,arguments)},p=this&&this.__rest||function(g,E){var O={};for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&E.indexOf(S)<0&&(O[S]=g[S]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(S=Object.getOwnPropertySymbols(g);w<S.length;w++)E.indexOf(S[w])<0&&Object.prototype.propertyIsEnumerable.call(g,S[w])&&(O[S[w]]=g[S[w]])}return O};Object.defineProperty(l,"__esModule",{value:!0}),l.createPopover=void 0;var h=d(6797),b=d(1320),_=function(g,E){var O=g.parentNode;O&&(O.removeChild(g),O.appendChild(E))},y=function(g,E){g===void 0&&(g="span"),E===void 0&&(E="tf-v1-popover-button-icon");var O=document.createElement(g);return O.className="".concat(E," tf-v1-close-icon"),O.innerHTML="&times;",O.dataset.testid=E,O},m={buttonColor:"#3a7685"};l.createPopover=function(g,E){E===void 0&&(E={});var O,S,w,P=v(v({},m),E),A=P.domain,R=p(P,["domain"]),$=(0,h.createIframe)("popover",{formId:g,domain:A,options:R}),j=$.iframe,I=$.embedId,C=$.refresh,L=$.focus,M=function(te,Q){var ae=document.createElement("div");return ae.className="tf-v1-popover",ae.dataset.testid="tf-v1-popover",(0,h.setElementSize)(ae,{width:te,height:Q})}(R.width,R.height),B=function(){var te=document.createElement("div");return te.className="tf-v1-popover-wrapper",te.dataset.testid="tf-v1-popover-wrapper",te}(),V=function(te,Q){var ae=(0,h.getTextColor)(Q),re=document.createElement("div");re.className="tf-v1-popover-button-icon";var ge=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
783
+ <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5
784
+ 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75
785
+ 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25
786
+ 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125
787
+ 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="`.concat(ae,`"></path>
788
+ </svg>`),dt=te==null?void 0:te.startsWith("http");return re.innerHTML=dt?"<img alt='popover trigger icon button' src='".concat(te,"'/>"):te??ge,re.dataset.testid="default-icon",re}(R.customIcon,R.buttonColor||m.buttonColor),K=function(){var te=document.createElement("div");te.className="tf-v1-spinner";var Q=document.createElement("div");return Q.className="tf-v1-popover-button-icon",Q.dataset.testid="spinner-icon",Q.append(te),Q}(),G=y(),x=y("button","tf-v1-popover-close"),U=function(te,Q){Q===void 0&&(Q={});var ae=(0,h.getTextColor)(te),re=document.createElement("button");return re.className="tf-v1-popover-button",re.dataset.testid="tf-v1-popover-button",re.style.backgroundColor=te,re.style.color=ae,(0,h.addAttributesToElement)(re,Q),re}(R.buttonColor||m.buttonColor,R.buttonProps);(R.container||document.body).append(M),B.append(j),M.append(U),M.append(x),U.append(V);var W=function(){S&&S.parentNode&&(S.classList.add("closing"),setTimeout(function(){(0,h.unmountElement)(S)},250))};R.tooltip&&R.tooltip.length>0&&(S=function(te,Q){var ae=document.createElement("span");ae.className="tf-v1-popover-tooltip-close",ae.dataset.testid="tf-v1-popover-tooltip-close",ae.innerHTML="&times;",ae.onclick=Q;var re=document.createElement("div");re.className="tf-v1-popover-tooltip-text",re.innerHTML=te;var ge=document.createElement("div");return ge.className="tf-v1-popover-tooltip",ge.dataset.testid="tf-v1-popover-tooltip",ge.appendChild(re),ge.appendChild(ae),ge}(R.tooltip,W),M.append(S)),R.notificationDays&&(R.enableSandbox||(0,b.canBuildNotificationDot)(g))&&(w=(0,b.buildNotificationDot)(),U.append(w)),j.onload=function(){M.classList.add("open"),B.style.opacity="1",x.style.opacity="1",_(K,G),(0,h.addCustomKeyboardListener)(ne)};var H=function(){(0,h.isOpen)(B)||(W(),w&&(w.classList.add("closing"),R.notificationDays&&!R.enableSandbox&&(0,b.saveNotificationDotHideUntilTime)(g,R.notificationDays),setTimeout(function(){(0,h.unmountElement)(w)},250)),setTimeout(function(){(0,h.isInPage)(B)?(B.style.opacity="0",x.style.opacity="0",B.style.display="flex",setTimeout(function(){M.classList.add("open"),B.style.opacity="1",x.style.opacity="1"}),_(V,G)):(M.append(B),_(V,K),B.style.opacity="0",x.style.opacity="0")}))},ne=function(){var te;(0,h.isOpen)(M)&&((te=E.onClose)===null||te===void 0||te.call(E),setTimeout(function(){R.keepSession?B.style.display="none":(0,h.unmountElement)(B),M.classList.remove("open"),_(G,V)},250))};(0,h.setAutoClose)(I,R.autoClose,ne);var le=function(){(0,h.isOpen)(B)?ne():H()};return U.onclick=(0,h.invokeWithoutDefault)(le),x.onclick=(0,h.invokeWithoutDefault)(ne),R.open&&!(0,h.isOpen)(B)&&(O=(0,h.handleCustomOpen)(H,R.open,R.openValue)),{open:H,close:ne,toggle:le,refresh:C,focus:L,unmount:function(){(0,h.unmountElement)(M),R.open&&(O!=null&&O.remove)&&O.remove()}}}},1797:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(7528),l),p(d(6100),l)},1320:function(f,l){var d=this&&this.__assign||function(){return d=Object.assign||function(b){for(var _,y=1,m=arguments.length;y<m;y++)for(var g in _=arguments[y])Object.prototype.hasOwnProperty.call(_,g)&&(b[g]=_[g]);return b},d.apply(this,arguments)};Object.defineProperty(l,"__esModule",{value:!0}),l.buildNotificationDot=l.canBuildNotificationDot=l.saveNotificationDotHideUntilTime=void 0;var v="tfNotificationData",p=function(){var b=localStorage.getItem(v);return b?JSON.parse(b):{}},h=function(b){b&&localStorage.setItem(v,JSON.stringify(b))};l.saveNotificationDotHideUntilTime=function(b,_){var y,m=new Date;m.setDate(m.getDate()+_),h(d(d({},p()),((y={})[b]={hideUntilTime:m.getTime()},y)))},l.canBuildNotificationDot=function(b){var _=function(y){var m;return((m=p()[y])===null||m===void 0?void 0:m.hideUntilTime)||0}(b);return new Date().getTime()>_&&(_&&function(y){var m=p();delete m[y],h(m)}(b),!0)},l.buildNotificationDot=function(){var b=document.createElement("span");return b.className="tf-v1-popover-unread-dot",b.dataset.testid="tf-v1-popover-unread-dot",b}},6100:function(f,l){Object.defineProperty(l,"__esModule",{value:!0})},9630:function(f,l,d){var v=this&&this.__rest||function(_,y){var m={};for(var g in _)Object.prototype.hasOwnProperty.call(_,g)&&y.indexOf(g)<0&&(m[g]=_[g]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(g=Object.getOwnPropertySymbols(_);E<g.length;E++)y.indexOf(g[E])<0&&Object.prototype.propertyIsEnumerable.call(_,g[E])&&(m[g[E]]=_[g[E]])}return m};Object.defineProperty(l,"__esModule",{value:!0}),l.createPopup=void 0;var p=d(6797),h=d(8027),b=d(6797);l.createPopup=function(_,y){if(y===void 0&&(y={}),!(0,p.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var m,g=y.width,E=y.height,O=y.size,S=O===void 0?h.POPUP_SIZE:O,w=y.onClose,P=y.domain,A=v(y,["width","height","size","onClose","domain"]),R=(0,p.createIframe)("popup",{formId:_,domain:P,options:A}),$=R.iframe,j=R.embedId,I=R.refresh,C=R.focus,L=document.body.style.overflow,M=function(){var W=document.createElement("div");return W.className="tf-v1-popup",W.dataset.testid="tf-v1-popup",W.style.opacity="0",W}(),B=function(){var W=document.createElement("div");return W.className="tf-v1-spinner",W}(),V=function(W,H,ne){var le=document.createElement("div");return le.className="tf-v1-iframe-wrapper",le.style.opacity="0",(0,p.isDefined)(W)&&(0,p.isDefined)(H)?(0,p.setElementSize)(le,{width:W,height:H}):(le.style.width="calc(".concat(ne,"% - 80px)"),le.style.height="calc(".concat(ne,"% - 80px)"),le)}(g,E,S);V.append($),M.append(B),M.append(V);var K=A.container||document.body;$.onload=function(){V.style.opacity="1",setTimeout(function(){B.style.display="none"},250),(0,p.addCustomKeyboardListener)(x)};var G=function(){(0,b.isOpen)(M)||((0,b.isInPage)(M)?M.style.display="flex":(B.style.display="block",K.append(M)),document.body.style.overflow="hidden",setTimeout(function(){M.style.opacity="1"}))},x=function(){(0,b.isOpen)(M)&&(w==null||w(),M.style.opacity="0",document.body.style.overflow=L,setTimeout(function(){A.keepSession?M.style.display="none":U()},250))};V.append(function(W){var H=document.createElement("button");return H.className="tf-v1-close tf-v1-close-icon",H.innerHTML="&times;",H.onclick=(0,p.invokeWithoutDefault)(W),H}(x)),(0,p.setAutoClose)(j,A.autoClose,x),A.open&&!(0,b.isOpen)(M)&&(m=(0,p.handleCustomOpen)(G,A.open,A.openValue));var U=function(){(0,p.unmountElement)(M),A.open&&(m!=null&&m.remove)&&m.remove()};return{open:G,close:x,toggle:function(){(0,b.isOpen)(M)?x():G()},refresh:I,focus:C,unmount:U}}},5970:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(9630),l),p(d(7394),l)},7394:function(f,l){Object.defineProperty(l,"__esModule",{value:!0})},382:function(f,l,d){var v=this&&this.__assign||function(){return v=Object.assign||function(m){for(var g,E=1,O=arguments.length;E<O;E++)for(var S in g=arguments[E])Object.prototype.hasOwnProperty.call(g,S)&&(m[S]=g[S]);return m},v.apply(this,arguments)},p=this&&this.__rest||function(m,g){var E={};for(var O in m)Object.prototype.hasOwnProperty.call(m,O)&&g.indexOf(O)<0&&(E[O]=m[O]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(O=Object.getOwnPropertySymbols(m);S<O.length;S++)g.indexOf(O[S])<0&&Object.prototype.propertyIsEnumerable.call(m,O[S])&&(E[O[S]]=m[O[S]])}return E};Object.defineProperty(l,"__esModule",{value:!0}),l.createSidetab=void 0;var h=d(6797),b={buttonColor:"#3a7685",buttonText:"Launch me"},_=function(m,g){m===void 0&&(m="div"),g===void 0&&(g="tf-v1-sidetab-button-icon");var E=document.createElement(m);return E.className="".concat(g," tf-v1-close-icon"),E.innerHTML="&times;",E.dataset.testid=g,E},y=function(m,g){var E=m.parentNode;E&&(E.removeChild(m),E.appendChild(g))};l.createSidetab=function(m,g){g===void 0&&(g={});var E,O=v(v({},b),g),S=O.domain,w=p(O,["domain"]),P=(0,h.createIframe)("side-tab",{formId:m,domain:S,options:w}),A=P.iframe,R=P.embedId,$=P.refresh,j=P.focus,I=function(H,ne,le,te){var Q=document.createElement("div");return Q.className="tf-v1-sidetab",Q.dataset.testid="tf-v1-sidetab",(0,h.setElementSize)(Q,{width:H,height:ne}),le!==void 0?(Q.style.top="calc(".concat((0,h.getValueWithUnits)(le)," + ").concat((0,h.getValueWithUnits)(ne||580)," / 2)"),Q.style.bottom="auto"):te!==void 0&&(Q.style.top="auto",Q.style.bottom="calc(".concat((0,h.getValueWithUnits)(te)," - ").concat((0,h.getValueWithUnits)(ne||580)," / 2)")),Q}(w.width,w.height,w.top,w.bottom),C=function(){var H=document.createElement("div");return H.className="tf-v1-sidetab-wrapper",H.dataset.testid="tf-v1-sidetab-wrapper",H}(),L=function(){var H=document.createElement("div");H.className="tf-v1-spinner";var ne=document.createElement("div");return ne.className="tf-v1-sidetab-button-icon",ne.dataset.testid="spinner-icon",ne.append(H),ne}(),M=function(H){var ne=H.backgroundColor,le=H.textColor,te=H.width,Q=H.height,ae=H.align,re=ae===void 0?"center":ae,ge=H.buttonProps,dt=ge===void 0?{}:ge,be=document.createElement("button");return be.className="tf-v1-sidetab-button",be.style.backgroundColor=ne,be.style.color=le||(0,h.getTextColor)(ne),(0,h.addAttributesToElement)(be,dt),(0,h.setElementSize)(be,{width:te,height:Q}),Q&&(be.style.left="-".concat((0,h.getValueWithUnits)(Q))),re==="top"?(be.style.transform="rotate(-90deg) translateX(-100%)",be.style.top="0"):re==="bottom"&&(be.style.transform="rotate(-90deg) translateX(0)",be.style.top="auto",be.style.bottom="-".concat((0,h.getValueWithUnits)(Q||48))),be}({backgroundColor:w.buttonColor||b.buttonColor,textColor:w.buttonTextColor,width:w.buttonHeight,height:w.buttonWidth,align:w.buttonAlign,buttonProps:w.buttonProps}),B=function(H,ne){var le=document.createElement("span");return le.className="tf-v1-sidetab-button-text",le.innerHTML=H,ne&&(le.style.fontSize=(0,h.getValueWithUnits)(ne)),le}(w.buttonText||b.buttonText,w.buttonTextSize),V=function(H,ne,le,te){var Q=le||(0,h.getTextColor)(ne),ae=document.createElement("div");ae.className="tf-v1-sidetab-button-icon",te&&(ae.style.width=(0,h.getValueWithUnits)(te),ae.style.height=(0,h.getValueWithUnits)(te));var re=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
789
+ <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5 9.75C6.672 9.75 6 9.07875 6 8.25C6 7.42125 6.672 6.75 7.5 6.75C8.328 6.75 9 7.42125 9 8.25C9 9.07875 8.328 9.75 7.5 9.75ZM12.75 9.75C11.922 9.75 11.25 9.07875 11.25 8.25C11.25 7.42125 11.922 6.75 12.75 6.75C13.578 6.75 14.25 7.42125 14.25 8.25C14.25 9.07875 13.578 9.75 12.75 9.75ZM18 9.75C17.172 9.75 16.5 9.07875 16.5 8.25C16.5 7.42125 17.172 6.75 18 6.75C18.828 6.75 19.5 7.42125 19.5 8.25C19.5 9.07875 18.828 9.75 18 9.75Z" fill="`.concat(Q,`"></path>
790
+ </svg>`),ge=H==null?void 0:H.startsWith("http");return ae.innerHTML=ge?"<img alt='popover trigger icon button' src='".concat(H,"'/>"):H??re,ae.dataset.testid="default-icon",ae}(w.customIcon,w.buttonColor||b.buttonColor,w.buttonTextColor,w.buttonTextSize),K=_(),G=_("button","tf-v1-sidetab-close");(w.container||document.body).append(I),C.append(A),I.append(M),I.append(G),M.append(V),M.append(B),setTimeout(function(){I.classList.add("ready")},250),A.onload=function(){I.classList.add("open"),y(L,K),(0,h.addCustomKeyboardListener)(U)};var x=function(){(0,h.isOpen)(C)||((0,h.isInPage)(C)?(C.style.display="flex",I.classList.add("open"),y(V,K)):(I.append(C),y(V,L)))},U=function(){var H;(0,h.isOpen)(C)&&((H=w.onClose)===null||H===void 0||H.call(w),I.classList.remove("open"),setTimeout(function(){w.keepSession?C.style.display="none":(0,h.unmountElement)(C),y(K,V)},250))};(0,h.setAutoClose)(R,w.autoClose,U);var W=function(){(0,h.isOpen)(C)?U():x()};return M.onclick=(0,h.invokeWithoutDefault)(W),G.onclick=(0,h.invokeWithoutDefault)(U),w.open&&!(0,h.isOpen)(C)&&(E=(0,h.handleCustomOpen)(x,w.open,w.openValue)),{open:x,close:U,toggle:W,refresh:$,focus:j,unmount:function(){(0,h.unmountElement)(I),w.open&&(E!=null&&E.remove)&&E.remove()}}}},1434:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(382),l),p(d(7668),l)},7668:function(f,l){Object.defineProperty(l,"__esModule",{value:!0})},2603:function(f,l,d){var v=this&&this.__rest||function(b,_){var y={};for(var m in b)Object.prototype.hasOwnProperty.call(b,m)&&_.indexOf(m)<0&&(y[m]=b[m]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var g=0;for(m=Object.getOwnPropertySymbols(b);g<m.length;g++)_.indexOf(m[g])<0&&Object.prototype.propertyIsEnumerable.call(b,m[g])&&(y[m[g]]=b[m[g]])}return y};Object.defineProperty(l,"__esModule",{value:!0}),l.createSlider=void 0;var p=d(6797),h=d(8027);l.createSlider=function(b,_){if(_===void 0&&(_={}),!(0,p.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var y,m=_.position,g=m===void 0?h.SLIDER_POSITION:m,E=_.width,O=E===void 0?h.SLIDER_WIDTH:E,S=_.onClose,w=_.domain,P=v(_,["position","width","onClose","domain"]),A=(0,p.createIframe)("slider",{formId:b,domain:w,options:P}),R=A.iframe,$=A.embedId,j=A.refresh,I=A.focus,C=document.body.style.overflow,L=function(U){var W=document.createElement("div");return W.className="tf-v1-slider ".concat(U),W.dataset.testid="tf-v1-slider",W.style.opacity="0",W}(g),M=function(){var U=document.createElement("div");return U.className="tf-v1-spinner",U}(),B=function(U,W){var H=document.createElement("div");return H.className="tf-v1-iframe-wrapper",H.style[U]="-100%",(0,p.setElementSize)(H,{width:W})}(g,O);B.append(R),L.append(M),L.append(B);var V=P.container||document.body;R.onload=function(){B.style[g]="0",setTimeout(function(){M.style.display="none"},500),(0,p.addCustomKeyboardListener)(G)};var K=function(){(0,p.isOpen)(L)||((0,p.isInPage)(L)?(L.style.display="flex",setTimeout(function(){B.style[g]="0"})):(V.append(L),M.style.display="block"),document.body.style.overflow="hidden",setTimeout(function(){L.style.opacity="1"}))},G=function(){(0,p.isOpen)(L)&&(S==null||S(),L.style.opacity="0",B.style[g]="-100%",document.body.style.overflow=C,setTimeout(function(){P.keepSession?L.style.display="none":x()},500))};(0,p.setAutoClose)($,P.autoClose,G),B.append(function(U){var W=document.createElement("button");return W.className="tf-v1-close tf-v1-close-icon",W.innerHTML="&times;",W.onclick=(0,p.invokeWithoutDefault)(U),W}(G)),P.open&&!(0,p.isOpen)(L)&&(y=(0,p.handleCustomOpen)(K,P.open,P.openValue));var x=function(){(0,p.unmountElement)(L),P.open&&(y!=null&&y.remove)&&y.remove()};return{open:K,close:G,toggle:function(){(0,p.isOpen)(L)?G():K()},refresh:j,focus:I,unmount:x}}},4071:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(2603),l),p(d(3162),l)},3162:function(f,l){Object.defineProperty(l,"__esModule",{value:!0})},718:function(f,l,d){var v=this&&this.__rest||function(m,g){var E={};for(var O in m)Object.prototype.hasOwnProperty.call(m,O)&&g.indexOf(O)<0&&(E[O]=m[O]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(O=Object.getOwnPropertySymbols(m);S<O.length;S++)g.indexOf(O[S])<0&&Object.prototype.propertyIsEnumerable.call(m,O[S])&&(E[O[S]]=m[O[S]])}return E},p=this&&this.__read||function(m,g){var E=typeof Symbol=="function"&&m[Symbol.iterator];if(!E)return m;var O,S,w=E.call(m),P=[];try{for(;(g===void 0||g-- >0)&&!(O=w.next()).done;)P.push(O.value)}catch(A){S={error:A}}finally{try{O&&!O.done&&(E=w.return)&&E.call(w)}finally{if(S)throw S.error}}return P};Object.defineProperty(l,"__esModule",{value:!0}),l.createWidget=void 0;var h=d(6797),b=d(8554),_=d(2313),y=d(1126);l.createWidget=function(m,g){if(!(0,h.hasDom)())return{refresh:function(){},focus:function(){},unmount:function(){}};var E=g.domain,O=v(g,["domain"]);O.inlineOnMobile=g.inlineOnMobile||g.fullScreen,O.inlineOnMobile||!O.forceTouch&&!(0,h.isFullscreen)()||(O.displayAsFullScreenModal=!0,O.forceTouch=!0);var S=(0,h.createIframe)("widget",{formId:m,domain:E,options:O}),w=S.embedId,P=S.iframe,A=S.refresh,R=S.focus,$=(0,_.buildWidget)(P,O.width,O.height);if(O.fullScreen&&(0,y.overrideFullScreenStyles)(g.container,P),O.autoResize){var j=p(typeof O.autoResize=="string"?O.autoResize.split(",").map(function(x){return parseInt(x)}):[],2),I=j[0],C=j[1];window.addEventListener("message",(0,b.getFormHeightChangedHandler)(w,function(x){var U=Math.max(x.height,I||0);C&&(U=Math.min(U,C)),g.container.style.height="".concat(U,"px")}))}O.autoFocus&&window.addEventListener("message",(0,b.getFormReadyHandler)(w,function(){setTimeout(function(){R()},1e3)}));var L,M=function(){return g.container.append($)};if(g.container.innerHTML="",g.lazy?(0,h.lazyInitialize)(g.container,M):M(),O.displayAsFullScreenModal){var B="",V=g.container,K=V.style.height;window.addEventListener("message",(0,b.getWelcomeScreenHiddenHandler)(w,function(){V.classList.add("tf-v1-widget-fullscreen"),g.opacity!==void 0&&(V.style.backgroundColor=B)})),window.addEventListener("message",(0,b.getFormThemeHandler)(w,function(x){var U;B=(0,h.changeColorOpacity)((U=x==null?void 0:x.theme)===null||U===void 0?void 0:U.backgroundColor)}));var G=((L=document.createElement("button")).className="tf-v1-widget-close tf-v1-close-icon",L.innerHTML="&times;",L);G.onclick=(0,h.invokeWithoutDefault)(function(){var x;if(V.style.height=K,(x=g.onClose)===null||x===void 0||x.call(g),V.classList.remove("tf-v1-widget-fullscreen"),V.style.backgroundColor="",g.keepSession){var U=document.createElement("div");U.className="tf-v1-widget-iframe-overlay",U.onclick=function(){V.classList.add("tf-v1-widget-fullscreen"),(0,h.unmountElement)(U)},$.append(U)}else g.container.innerHTML="",M(),V.append(G)}),V.append(G)}return{refresh:A,focus:R,unmount:function(){(0,h.unmountElement)($)}}}},1419:function(f,l,d){Object.defineProperty(l,"__esModule",{value:!0}),l.buildWidget=void 0;var v=d(6797);l.buildWidget=function(p,h,b){var _=document.createElement("div");return _.className="tf-v1-widget",_.dataset.testid="tf-v1-widget",_.append(p),(0,v.setElementSize)(_,{width:h,height:b})}},2313:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(1419),l)},1126:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.overrideFullScreenStyles=void 0,l.overrideFullScreenStyles=function(d,v){Object.assign(d.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),v.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(718),l),p(d(4058),l)},4058:function(f,l){Object.defineProperty(l,"__esModule",{value:!0})},1920:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(1797),l),p(d(5970),l),p(d(4071),l),p(d(9321),l),p(d(1434),l)},5084:function(f,l,d){Object.defineProperty(l,"__esModule",{value:!0}),l.addAttributesToElement=void 0;var v=d(7377);l.addAttributesToElement=function(p,h){h===void 0&&(h={}),Object.keys(h).forEach(function(b){p.setAttribute((0,v.camelCaseToKebabCase)(b),h[b])})}},3626:function(f,l,d){var v=this&&this.__assign||function(){return v=Object.assign||function(E){for(var O,S=1,w=arguments.length;S<w;S++)for(var P in O=arguments[S])Object.prototype.hasOwnProperty.call(O,P)&&(E[P]=O[P]);return E},v.apply(this,arguments)},p=this&&this.__read||function(E,O){var S=typeof Symbol=="function"&&E[Symbol.iterator];if(!S)return E;var w,P,A=S.call(E),R=[];try{for(;(O===void 0||O-- >0)&&!(w=A.next()).done;)R.push(w.value)}catch($){P={error:$}}finally{try{w&&!w.done&&(S=A.return)&&S.call(A)}finally{if(P)throw P.error}}return R};Object.defineProperty(l,"__esModule",{value:!0}),l.buildIframeSrc=void 0;var h=d(8027),b=d(4527),_=d(2346),y=d(2698),m=d(863),g={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};l.buildIframeSrc=function(E){var O=E.domain,S=E.formId,w=E.type,P=E.embedId,A=E.options,R=function(L,M,B){var V=B.transitiveSearchParams,K=B.source,G=B.medium,x=B.mediumVersion,U=B.hideFooter,W=B.hideHeaders,H=B.opacity,ne=B.disableTracking,le=B.enableSandbox,te=B.shareGaInstance,Q=B.forceTouch,ae=B.displayAsFullScreenModal,re=B.tracking,ge=B.redirectTarget,dt=B.autoResize,be=B.disableScroll,mn=B.onEndingButtonClick,Un=B.noHeading,bo=(0,y.getTransitiveSearchParams)(V);return v(v(v({},{"typeform-embed-id":M,"typeform-embed":g[L],"typeform-source":K,"typeform-medium":G,"typeform-medium-version":x,"embed-hide-footer":U?"true":void 0,"embed-hide-headers":W?"true":void 0,"embed-opacity":H,"disable-tracking":ne||le?"true":void 0,"__dangerous-disable-submissions":le?"true":void 0,"share-ga-instance":te?"true":void 0,"force-touch":Q?"true":void 0,"add-placeholder-ws":L==="widget"&&ae?"true":void 0,"typeform-embed-redirect-target":ge,"typeform-embed-auto-resize":dt?"true":void 0,"typeform-embed-disable-scroll":be?"true":void 0,"typeform-embed-handle-ending-button-click":mn?"true":void 0,"typeform-embed-no-heading":Un?"true":void 0}),bo),re)}(w,P,function(L){return L.noHeading||(L.noHeading=document.querySelectorAll("h1").length>0),v(v({},{source:(M=window==null?void 0:window.location)===null||M===void 0?void 0:M.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),(0,b.removeUndefinedKeys)(L));var M}(A)),$=function(L,M){return M===void 0&&(M=h.DEFAULT_DOMAIN),L.startsWith("http://")||L.startsWith("https://")?new URL(L):new URL("https://".concat(M,"/to/").concat(L))}(S,O);if(Object.entries(R).filter(function(L){var M=p(L,2)[1];return(0,_.isDefined)(M)}).forEach(function(L){var M=p(L,2),B=M[0],V=M[1];$.searchParams.set(B,V)}),A.hubspot){var j=(0,m.getHubspotHiddenFields)();A.hidden=v(v({},A.hidden),j)}if(A.hidden){var I=new URLSearchParams;Object.entries(A.hidden).filter(function(L){var M=p(L,2)[1];return(0,_.isDefined)(M)&&M!==""}).forEach(function(L){var M=p(L,2),B=M[0],V=M[1];typeof A.transitiveSearchParams=="boolean"&&$.searchParams.delete(B),I.set(B,V)});var C=I.toString();C&&($.hash=C)}return $.href}},2391:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.changeColorOpacity=void 0,l.changeColorOpacity=function(d,v){return d===void 0&&(d=""),v===void 0&&(v=255),d.startsWith("rgba(")?d==null?void 0:d.replace(/, [\d.]+\)$/,", ".concat(v,")")):d}},8972:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.handleCustomOpen=void 0;var d={remove:function(){}};l.handleCustomOpen=function(v,p,h){switch(p){case"load":return v(),d;case"exit":return h?function(b,_){var y=0,m=function(g){g.clientY<b&&g.clientY<y?(document.removeEventListener("mousemove",m,!0),_()):y=g.clientY};return document.addEventListener("mousemove",m,!0),{remove:function(){return document.removeEventListener("mousemove",m,!0)}}}(h,v):d;case"time":return setTimeout(function(){v()},h),d;case"scroll":return h?function(b,_){function y(){var m=window.pageYOffset||document.documentElement.scrollTop,g=document.documentElement.clientTop||0,E=document.documentElement.scrollHeight,O=m-g,S=O/E*100,w=O+window.innerHeight>=E;(S>=b||w)&&(_(),document.removeEventListener("scroll",y))}return document.addEventListener("scroll",y),{remove:function(){return document.removeEventListener("scroll",y)}}}(h,v):d;default:return d}}},1553:function(f,l,d){Object.defineProperty(l,"__esModule",{value:!0}),l.createIframe=void 0;var v=d(3626),p=d(6797),h=d(8866),b=d(8554),_=d(2256),y=d(7144),m=d(5511);l.createIframe=function(g,E){var O=E.formId,S=E.domain,w=E.options,P=(0,h.generateEmbedId)(),A=w.iframeProps,R=A===void 0?{}:A,$=w.onReady,j=w.onStarted,I=w.onQuestionChanged,C=w.onHeightChanged,L=w.onSubmit,M=w.onEndingButtonClick,B=w.shareGaInstance,V=(0,v.buildIframeSrc)({formId:O,domain:S,embedId:P,type:g,options:w}),K=document.createElement("iframe");return K.src=V,K.dataset.testid="iframe",K.style.border="0px",K.allow="microphone; camera",(0,p.addAttributesToElement)(K,R),K.addEventListener("load",_.triggerIframeRedraw,{once:!0}),window.addEventListener("message",(0,b.getFormReadyHandler)(P,$)),window.addEventListener("message",(0,b.getFormStartedHandler)(P,j)),window.addEventListener("message",(0,b.getFormQuestionChangedHandler)(P,I)),window.addEventListener("message",(0,b.getFormHeightChangedHandler)(P,C)),window.addEventListener("message",(0,b.getFormSubmitHandler)(P,L)),window.addEventListener("message",(0,b.getFormThemeHandler)(P,function(G){var x;if(G!=null&&G.theme){var U=document.querySelector(".tf-v1-close-icon");U&&(U.style.color=(x=G.theme)===null||x===void 0?void 0:x.color)}})),window.addEventListener("message",(0,b.getThankYouScreenButtonClickHandler)(P,M)),g!=="widget"&&window.addEventListener("message",y.dispatchCustomKeyEventFromIframe),B&&window.addEventListener("message",(0,b.getFormReadyHandler)(P,function(){(0,p.setupGaInstance)(K,P,B)})),{iframe:K,embedId:P,refresh:function(){return(0,m.refreshIframe)(K)},focus:function(){var G;(G=K.contentWindow)===null||G===void 0||G.postMessage("embed-focus","*")}}}},8866:function(f,l){var d=this&&this.__read||function(v,p){var h=typeof Symbol=="function"&&v[Symbol.iterator];if(!h)return v;var b,_,y=h.call(v),m=[];try{for(;(p===void 0||p-- >0)&&!(b=y.next()).done;)m.push(b.value)}catch(g){_={error:g}}finally{try{b&&!b.done&&(h=y.return)&&h.call(y)}finally{if(_)throw _.error}}return m};Object.defineProperty(l,"__esModule",{value:!0}),l.generateEmbedId=void 0,l.generateEmbedId=function(){var v=Math.random();return d(String(v).split("."),2)[1]}},8554:function(f,l){var d=this&&this.__rest||function(p,h){var b={};for(var _ in p)Object.prototype.hasOwnProperty.call(p,_)&&h.indexOf(_)<0&&(b[_]=p[_]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function"){var y=0;for(_=Object.getOwnPropertySymbols(p);y<_.length;y++)h.indexOf(_[y])<0&&Object.prototype.propertyIsEnumerable.call(p,_[y])&&(b[_[y]]=p[_[y]])}return b};function v(p,h,b){return function(_){var y=_.data,m=y.type,g=y.embedId,E=d(y,["type","embedId"]);m===p&&g===h&&(b==null||b(E))}}Object.defineProperty(l,"__esModule",{value:!0}),l.getThankYouScreenButtonClickHandler=l.getFormThemeHandler=l.getWelcomeScreenHiddenHandler=l.getFormSubmitHandler=l.getFormHeightChangedHandler=l.getFormQuestionChangedHandler=l.getFormStartedHandler=l.getFormReadyHandler=void 0,l.getFormReadyHandler=function(p,h){return v("form-ready",p,h)},l.getFormStartedHandler=function(p,h){return v("form-started",p,h)},l.getFormQuestionChangedHandler=function(p,h){return v("form-screen-changed",p,h)},l.getFormHeightChangedHandler=function(p,h){return v("form-height-changed",p,h)},l.getFormSubmitHandler=function(p,h){return v("form-submit",p,h)},l.getWelcomeScreenHiddenHandler=function(p,h){return v("welcome-screen-hidden",p,h)},l.getFormThemeHandler=function(p,h){return v("form-theme",p,h)},l.getThankYouScreenButtonClickHandler=function(p,h){return v("thank-you-screen-button-click",p,h)}},339:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(1553),l),p(d(7144),l)},5511:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.refreshIframe=void 0,l.refreshIframe=function(d){if(d){var v=d.src;if(v.includes("&refresh")){var p=v.split("&refresh#");d.src=p.join("#")}else(p=v.split("#"))[0]="".concat(p[0],"&refresh"),d.src=p.join("#")}}},7144:function(f,l){var d=this&&this.__awaiter||function(b,_,y,m){return new(y||(y=Promise))(function(g,E){function O(P){try{w(m.next(P))}catch(A){E(A)}}function S(P){try{w(m.throw(P))}catch(A){E(A)}}function w(P){var A;P.done?g(P.value):(A=P.value,A instanceof y?A:new y(function(R){R(A)})).then(O,S)}w((m=m.apply(b,_||[])).next())})},v=this&&this.__generator||function(b,_){var y,m,g,E,O={label:0,sent:function(){if(1&g[0])throw g[1];return g[1]},trys:[],ops:[]};return E={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function S(w){return function(P){return function(A){if(y)throw new TypeError("Generator is already executing.");for(;E&&(E=0,A[0]&&(O=0)),O;)try{if(y=1,m&&(g=2&A[0]?m.return:A[0]?m.throw||((g=m.return)&&g.call(m),0):m.next)&&!(g=g.call(m,A[1])).done)return g;switch(m=0,g&&(A=[2&A[0],g.value]),A[0]){case 0:case 1:g=A;break;case 4:return O.label++,{value:A[1],done:!1};case 5:O.label++,m=A[1],A=[0];continue;case 7:A=O.ops.pop(),O.trys.pop();continue;default:if(!((g=(g=O.trys).length>0&&g[g.length-1])||A[0]!==6&&A[0]!==2)){O=0;continue}if(A[0]===3&&(!g||A[1]>g[0]&&A[1]<g[3])){O.label=A[1];break}if(A[0]===6&&O.label<g[1]){O.label=g[1],g=A;break}if(g&&O.label<g[2]){O.label=g[2],O.ops.push(A);break}g[2]&&O.ops.pop(),O.trys.pop();continue}A=_.call(b,O)}catch(R){A=[6,R],m=0}finally{y=g=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([w,P])}}};Object.defineProperty(l,"__esModule",{value:!0}),l.dispatchCustomKeyEventFromIframe=l.removeCustomKeyboardListener=l.addCustomKeyboardListener=void 0;var p="Escape",h=function(b,_){return d(void 0,void 0,void 0,function(){return v(this,function(y){return b.code===p&&typeof _=="function"&&(_(),(0,l.removeCustomKeyboardListener)()),[2]})})};l.addCustomKeyboardListener=function(b){return window.document.addEventListener("keydown",function(_){return h(_,b)})},l.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",h)},l.dispatchCustomKeyEventFromIframe=function(b){b.data.type==="form-close"&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:p}))}},2256:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.triggerIframeRedraw=void 0,l.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(f,l,d){Object.defineProperty(l,"__esModule",{value:!0}),l.getTextColor=void 0;var v=d(2938);l.getTextColor=function(p){if(!p)return"#FFFFFF";var h=p.startsWith("#")?(0,v.hexRgb)(p):function(m){var g={red:0,green:0,blue:0},E=m.match(/\d+/g);return E&&(g.red=parseInt(E[0],10),g.green=parseInt(E[0],10),g.blue=parseInt(E[0],10)),g}(p),b=h.red,_=h.green,y=h.blue;return Math.round((299*b+587*_+114*y)/1e3)>150?"#000000":"#FFFFFF"}},2698:function(f,l){var d=this&&this.__assign||function(){return d=Object.assign||function(v){for(var p,h=1,b=arguments.length;h<b;h++)for(var _ in p=arguments[h])Object.prototype.hasOwnProperty.call(p,_)&&(v[_]=p[_]);return v},d.apply(this,arguments)};Object.defineProperty(l,"__esModule",{value:!0}),l.getTransitiveSearchParams=void 0,l.getTransitiveSearchParams=function(v){var p=new URL(window.location.href);return typeof v=="boolean"&&v?Object.fromEntries(p.searchParams.entries()):Array.isArray(v)&&v.length>0?v.reduce(function(h,b){var _,y=p.searchParams.get(b);return y?d(d({},h),((_={})[b]=y,_)):h},{}):{}}},8252:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.hasDom=void 0,l.hasDom=function(){return typeof document<"u"&&typeof window<"u"}},2938:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.hexRgb=void 0;var d="a-f\\d",v="#?[".concat(d,"]{3}[").concat(d,"]?"),p="#?[".concat(d,"]{6}([").concat(d,"]{2})?"),h=new RegExp("[^#".concat(d,"]"),"gi"),b=new RegExp("^".concat(v,"$|^").concat(p,"$"),"i");l.hexRgb=function(_){if(typeof _!="string"||h.test(_)||!b.test(_))throw new TypeError("Expected a valid hex string");(_=_.replace(/^#/,"")).length===8&&(_=_.slice(0,6)),_.length===4&&(_=_.slice(0,3)),_.length===3&&(_=_[0]+_[0]+_[1]+_[1]+_[2]+_[2]);var y=Number.parseInt(_,16);return{red:y>>16,green:y>>8&255,blue:255&y}}},863:function(f,l,d){var v=this&&this.__awaiter||function(b,_,y,m){return new(y||(y=Promise))(function(g,E){function O(P){try{w(m.next(P))}catch(A){E(A)}}function S(P){try{w(m.throw(P))}catch(A){E(A)}}function w(P){var A;P.done?g(P.value):(A=P.value,A instanceof y?A:new y(function(R){R(A)})).then(O,S)}w((m=m.apply(b,_||[])).next())})},p=this&&this.__generator||function(b,_){var y,m,g,E,O={label:0,sent:function(){if(1&g[0])throw g[1];return g[1]},trys:[],ops:[]};return E={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function S(w){return function(P){return function(A){if(y)throw new TypeError("Generator is already executing.");for(;E&&(E=0,A[0]&&(O=0)),O;)try{if(y=1,m&&(g=2&A[0]?m.return:A[0]?m.throw||((g=m.return)&&g.call(m),0):m.next)&&!(g=g.call(m,A[1])).done)return g;switch(m=0,g&&(A=[2&A[0],g.value]),A[0]){case 0:case 1:g=A;break;case 4:return O.label++,{value:A[1],done:!1};case 5:O.label++,m=A[1],A=[0];continue;case 7:A=O.ops.pop(),O.trys.pop();continue;default:if(!((g=(g=O.trys).length>0&&g[g.length-1])||A[0]!==6&&A[0]!==2)){O=0;continue}if(A[0]===3&&(!g||A[1]>g[0]&&A[1]<g[3])){O.label=A[1];break}if(A[0]===6&&O.label<g[1]){O.label=g[1],g=A;break}if(g&&O.label<g[2]){O.label=g[2],O.ops.push(A);break}g[2]&&O.ops.pop(),O.trys.pop();continue}A=_.call(b,O)}catch(R){A=[6,R],m=0}finally{y=g=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([w,P])}}};Object.defineProperty(l,"__esModule",{value:!0}),l.waitForHubspotCookie=l.getHubspotHiddenFields=l.getHubspotCookieValue=void 0;var h=d(4623);l.getHubspotCookieValue=function(){var b=document.cookie.match(new RegExp("(^| )".concat("hubspotutk","=([^;]+)")));return b&&b[2]||void 0},l.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:(0,l.getHubspotCookieValue)()}},l.waitForHubspotCookie=function(){return v(void 0,void 0,void 0,function(){var b,_;return p(this,function(y){switch(y.label){case 0:b=10,_=0,y.label=1;case 1:return!(0,l.getHubspotCookieValue)()&&_<b?[4,(0,h.sleep)(250)]:[3,4];case 2:y.sent(),y.label=3;case 3:return _++,[3,1];case 4:return[2]}})})}},9071:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.includeCss=void 0,l.includeCss=function(d){var v=function(h){return"".concat("https://embed.typeform.com/next/css/").concat(h)}(d);if(!document.querySelector('link[href="'.concat(v,'"]'))){var p=document.createElement("link");p.rel="stylesheet",p.href=v,document.head.append(p)}}},6797:function(f,l,d){var v=this&&this.__createBinding||(Object.create?function(h,b,_,y){y===void 0&&(y=_);var m=Object.getOwnPropertyDescriptor(b,_);m&&!("get"in m?!b.__esModule:m.writable||m.configurable)||(m={enumerable:!0,get:function(){return b[_]}}),Object.defineProperty(h,y,m)}:function(h,b,_,y){y===void 0&&(y=_),h[y]=b[_]}),p=this&&this.__exportStar||function(h,b){for(var _ in h)_==="default"||Object.prototype.hasOwnProperty.call(b,_)||v(b,h,_)};Object.defineProperty(l,"__esModule",{value:!0}),p(d(3626),l),p(d(339),l),p(d(8252),l),p(d(9071),l),p(d(2346),l),p(d(7377),l),p(d(6563),l),p(d(4527),l),p(d(9533),l),p(d(1451),l),p(d(8972),l),p(d(4748),l),p(d(4392),l),p(d(8939),l),p(d(9917),l),p(d(1987),l),p(d(2391),l),p(d(863),l),p(d(6890),l),p(d(5084),l)},6890:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.invokeWithoutDefault=void 0,l.invokeWithoutDefault=function(d){return function(v){v==null||v.preventDefault(),d()}}},2346:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.isDefined=void 0,l.isDefined=function(d){return d!=null}},1987:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.isVisible=l.isInPage=l.isOpen=void 0,l.isOpen=function(d){return(0,l.isInPage)(d)&&(0,l.isVisible)(d)},l.isInPage=function(d){return!!d.parentNode},l.isVisible=function(d){return d.style.display!=="none"}},9917:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.lazyInitialize=void 0,l.lazyInitialize=function(d,v){var p=new IntersectionObserver(function(h){h.forEach(function(b){b.isIntersecting&&(v(),p.unobserve(b.target))})});p.observe(d)}},7377:function(f,l){var d=this&&this.__assign||function(){return d=Object.assign||function(m){for(var g,E=1,O=arguments.length;E<O;E++)for(var S in g=arguments[E])Object.prototype.hasOwnProperty.call(g,S)&&(m[S]=g[S]);return m},d.apply(this,arguments)},v=this&&this.__read||function(m,g){var E=typeof Symbol=="function"&&m[Symbol.iterator];if(!E)return m;var O,S,w=E.call(m),P=[];try{for(;(g===void 0||g-- >0)&&!(O=w.next()).done;)P.push(O.value)}catch(A){S={error:A}}finally{try{O&&!O.done&&(E=w.return)&&E.call(w)}finally{if(S)throw S.error}}return P};Object.defineProperty(l,"__esModule",{value:!0}),l.loadOptionsFromAttributes=l.transformAttributeValue=l.camelCaseToKebabCase=void 0,l.camelCaseToKebabCase=function(m){return m.split("").map(function(g,E){return g.toUpperCase()===g?"".concat(E!==0?"-":"").concat(g.toLowerCase()):g}).join("")};var p=function(m){return m||void 0},h=function(m){if(m!==null)return m===""||m==="yes"||m==="true"},b=function(m){var g=m?parseInt(m,10):NaN;return isNaN(g)?void 0:g},_="%ESCAPED_COMMA%",y=function(m){if(m)return m.replace(/\s/g,"").replace(/\\,/g,_).split(",").filter(function(g){return!!g}).map(function(g){return g.replace(_,",")})};l.transformAttributeValue=function(m,g){var E,O,S;switch(g){case"string":return p(m);case"boolean":return h(m);case"integer":return b(m);case"function":return function(w){var P=w&&w in window?window[w]:void 0;return typeof P=="function"?P:void 0}(m);case"array":return y(m);case"record":return function(w){if(w)return w.replace(/\\,/g,_).split(",").filter(function(P){return!!P}).map(function(P){return P.replace(_,",")}).reduce(function(P,A){var R,$=A.match(/^([^=]+)=(.*)$/);if($){var j=v($,3),I=j[1],C=j[2];return d(d({},P),((R={})[I.trim()]=C,R))}return P},{})}(m);case"integerOrString":return function(w){if(w)return w.match(/^[0-9]+$/)?b(w):p(w)}(m);case"integerOrBoolean":return(E=b(m))!==null&&E!==void 0?E:h(m);case"stringOrBoolean":return(O=p(m))!==null&&O!==void 0?O:h(m);case"arrayOrBoolean":return(S=y(m))!==null&&S!==void 0?S:h(m);default:throw new Error("Invalid attribute transformation ".concat(g))}},l.loadOptionsFromAttributes=function(m,g){return Object.keys(g).reduce(function(E,O){var S;return d(d({},E),((S={})[O]=(0,l.transformAttributeValue)(m.getAttribute("data-tf-".concat((0,l.camelCaseToKebabCase)(O))),g[O]),S))},{})}},6563:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.isFullscreen=l.isMobile=l.isBigScreen=void 0,l.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},l.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},l.isFullscreen=function(){return(0,l.isMobile)()&&!(0,l.isBigScreen)()}},4527:function(f,l,d){var v=this&&this.__assign||function(){return v=Object.assign||function(b){for(var _,y=1,m=arguments.length;y<m;y++)for(var g in _=arguments[y])Object.prototype.hasOwnProperty.call(_,g)&&(b[g]=_[g]);return b},v.apply(this,arguments)},p=this&&this.__read||function(b,_){var y=typeof Symbol=="function"&&b[Symbol.iterator];if(!y)return b;var m,g,E=y.call(b),O=[];try{for(;(_===void 0||_-- >0)&&!(m=E.next()).done;)O.push(m.value)}catch(S){g={error:S}}finally{try{m&&!m.done&&(y=E.return)&&y.call(E)}finally{if(g)throw g.error}}return O};Object.defineProperty(l,"__esModule",{value:!0}),l.removeUndefinedKeys=void 0;var h=d(2346);l.removeUndefinedKeys=function(b){return Object.entries(b).filter(function(_){var y=p(_,2)[1];return(0,h.isDefined)(y)}).reduce(function(_,y){var m,g=p(y,2),E=g[0],O=g[1];return v(v({},_),((m={})[E]=O,m))},{})}},4748:function(f,l,d){Object.defineProperty(l,"__esModule",{value:!0}),l.setAutoClose=l.DEFAULT_AUTO_CLOSE_TIME=void 0;var v=d(8554);l.DEFAULT_AUTO_CLOSE_TIME=500,l.setAutoClose=function(p,h,b){h&&b&&window.addEventListener("message",(0,v.getFormSubmitHandler)(p,function(){return setTimeout(b,(y=typeof(_=h)=="number"?_:0,Math.max(y,l.DEFAULT_AUTO_CLOSE_TIME)));var _,y}))}},9533:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.setElementSize=l.getValueWithUnits=void 0,l.getValueWithUnits=function(d){return typeof d!="string"||d.match(/^[0-9]+$/)?"".concat(d,"px"):d},l.setElementSize=function(d,v){var p=v.width,h=v.height;return p&&(d.style.width=(0,l.getValueWithUnits)(p)),h&&(d.style.height=(0,l.getValueWithUnits)(h)),d}},4392:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.setupGaInstance=l.sendGaIdMessage=void 0,l.sendGaIdMessage=function(p,h,b){var _={embedId:p,gaClientId:h};setTimeout(function(){b&&b.contentWindow&&b.contentWindow.postMessage({type:"ga-client-id",data:_},"*")},0)};var d=function(p){console.error(p)},v=function(p){d("Whoops! You enabled the shareGaInstance feature in your typeform embed but ".concat(p,`.
791
+
792
+ `)+`Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID.
793
+
794
+ It is also possible the Google Analytics was blocked by your adblock plugin.`)};l.setupGaInstance=function(p,h,b){var _=typeof b=="string"?b:void 0;if(window.gtag){if(_||(_=function(){if(window.dataLayer){var g=window.dataLayer.find(function(E){return E.length>1&&E[0]==="config"});return g&&g[1]}}()),!_)return void v("the tracking ID could not be retrieved");var y=!1;window.gtag("get",_,"client_id",function(g){y=!0,(0,l.sendGaIdMessage)(h,g,p)}),setTimeout(function(){y||v("the tracker with ID ".concat(_," was not found"))},3e3)}else try{var m=function(g,E){return E?g.find(function(O){return O.get("trackingId")===E}):g[0]}(window.ga.getAll(),_);m?(0,l.sendGaIdMessage)(h,m.get("clientId"),p):v("the tracker with ID ".concat(_," was not found"))}catch(g){v("the Google Analytics object was not found"),d(g)}}},4623:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.sleep=void 0,l.sleep=function(d){return new Promise(function(v){return setTimeout(v,d)})}},1451:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.unmountElement=void 0,l.unmountElement=function(d){var v;(v=d.parentNode)===null||v===void 0||v.removeChild(d)}}},c={};return function f(l){var d=c[l];if(d!==void 0)return d.exports;var v=c[l]={exports:{}};return s[l].call(v.exports,v,v.exports,f),v.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var s=i[u];if(s!==void 0)return s.exports;var c=i[u]={exports:{}};return r[u].call(c.exports,c,c.exports,a),c.exports}a.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),a.o=function(u,s){return Object.prototype.hasOwnProperty.call(u,s)},a.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var o={};return function(){var u=o;Object.defineProperty(u,"__esModule",{value:!0}),u.Sidetab=u.Popover=u.SliderButton=u.PopupButton=u.Widget=void 0;var s=a(611),c=a(281),f=a(797),l=(0,f.memoComponent)(c.Widget);u.Widget=l;var d=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createPopup,"popup"));u.PopupButton=d;var v=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createSlider,"slider"));u.SliderButton=v;var p=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createPopover,"popover"));u.Popover=p;var h=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(ny);var UL=ny.exports,xL={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"]},HL={prefix:"fas",iconName:"shield-check",icon:[512,512,[],"f2f7","M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]};function _r(e){"@babel/helpers - typeof";return _r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_r(e)}function Dd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dR(e,t){if(e){if(typeof e=="string")return Dd(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dd(e,t):void 0}}function KL(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=dR(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
795
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){u=!0,a=c},f:function(){try{o||n.return==null||n.return()}finally{if(u)throw a}}}}function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ba(e,t){return Ba=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ba(e,t)}function WL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ba(e,t)}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Fa(e)}function ry(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ry=function(){return!!e})()}function hR(e,t){if(t&&(_r(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pR(e)}function zL(e){var t=ry();return function(){var n,r=Fa(e);if(t){var i=Fa(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return hR(this,n)}}function qL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vR(e,t){if(_r(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(_r(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function iy(e){var t=vR(e,"string");return _r(t)=="symbol"?t:t+""}function $d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iy(r.key),r)}}function GL(e,t,n){return t&&$d(e.prototype,t),n&&$d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function VL(e,t,n){return(t=iy(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mR(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function yR(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ba(e,t)}function gu(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}/*!
796
+ * content-type
797
+ * Copyright(c) 2015 Douglas Christopher Wilson
798
+ * MIT Licensed
799
+ */var jd=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,gR=/\\([\u000b\u0020-\u00ff])/g,bR=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,_R=wR;function wR(e){if(!e)throw new TypeError("argument string is required");var t=typeof e=="object"?ER(e):e;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),r=n!==-1?t.slice(0,n).trim():t.trim();if(!bR.test(r))throw new TypeError("invalid media type");var i=new SR(r.toLowerCase());if(n!==-1){var a,o,u;for(jd.lastIndex=n;o=jd.exec(t);){if(o.index!==n)throw new TypeError("invalid parameter format");n+=o[0].length,a=o[1].toLowerCase(),u=o[2],u.charCodeAt(0)===34&&(u=u.slice(1,-1),u.indexOf("\\")!==-1&&(u=u.replace(gR,"$1"))),i.parameters[a]=u}if(n!==t.length)throw new TypeError("invalid parameter format")}return i}function ER(e){var t;if(typeof e.getHeader=="function"?t=e.getHeader("content-type"):typeof e.headers=="object"&&(t=e.headers&&e.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function SR(e){this.parameters=Object.create(null),this.type=e}var qn=new Map,ay=function(t){return t.cloneNode(!0)},Bd=function(){return window.location.protocol==="file:"},oy=function(t,n,r){var i=new XMLHttpRequest;i.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&i.readyState===2){var a=i.getResponseHeader("Content-Type");if(!a)throw new Error("Content type not found");var o=_R(a).type;if(!(o==="image/svg+xml"||o==="text/plain"))throw new Error("Invalid content type: ".concat(o))}if(i.readyState===4){if(i.status===404||i.responseXML===null)throw new Error(Bd()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(i.status===200||Bd()&&i.status===0)r(null,i);else throw new Error("There was a problem injecting the SVG: "+i.status+" "+i.statusText)}}catch(u){if(i.abort(),u instanceof Error)r(u,i);else throw u}},i.open("GET",t),i.withCredentials=n,i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()},Zt={},Fd=function(t,n){Zt[t]=Zt[t]||[],Zt[t].push(n)},OR=function(t){for(var n=function(o,u){setTimeout(function(){if(Array.isArray(Zt[t])){var s=qn.get(t),c=Zt[t][o];s instanceof SVGSVGElement&&c(null,ay(s)),s instanceof Error&&c(s),o===Zt[t].length-1&&delete Zt[t]}},0)},r=0,i=Zt[t].length;r<i;r++)n(r)},PR=function(t,n,r){if(qn.has(t)){var i=qn.get(t);if(i===void 0){Fd(t,r);return}if(i instanceof SVGSVGElement){r(null,ay(i));return}}qn.set(t,void 0),Fd(t,r),oy(t,n,function(a,o){var u;a?qn.set(t,a):((u=o.responseXML)===null||u===void 0?void 0:u.documentElement)instanceof SVGSVGElement&&qn.set(t,o.responseXML.documentElement),OR(t)})},AR=function(t,n,r){oy(t,n,function(i,a){var o;i?r(i):((o=a.responseXML)===null||o===void 0?void 0:o.documentElement)instanceof SVGSVGElement&&r(null,a.responseXML.documentElement)})},TR=0,CR=function(){return++TR},St=[],Ud={},IR="http://www.w3.org/2000/svg",bu="http://www.w3.org/1999/xlink",xd=function(t,n,r,i,a,o,u){var s=t.getAttribute("data-src")||t.getAttribute("src");if(!s){u(new Error("Invalid data-src or src attribute"));return}if(St.indexOf(t)!==-1){St.splice(St.indexOf(t),1),t=null;return}St.push(t),t.setAttribute("src","");var c=i?PR:AR;c(s,a,function(f,l){if(!l){St.splice(St.indexOf(t),1),t=null,u(f);return}var d=t.getAttribute("id");d&&l.setAttribute("id",d);var v=t.getAttribute("title");v&&l.setAttribute("title",v);var p=t.getAttribute("width");p&&l.setAttribute("width",p);var h=t.getAttribute("height");h&&l.setAttribute("height",h);var b=Array.from(new Set(gu(gu(gu([],(l.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();l.setAttribute("class",b);var _=t.getAttribute("style");_&&l.setAttribute("style",_),l.setAttribute("data-src",s);var y=[].filter.call(t.attributes,function(B){return/^data-\w[\w-]*$/.test(B.name)});if(Array.prototype.forEach.call(y,function(B){B.name&&B.value&&l.setAttribute(B.name,B.value)}),r){var m={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},g,E,O,S,w;Object.keys(m).forEach(function(B){g=B,O=m[B],E=l.querySelectorAll(g+"[id]");for(var V=function(U,W){S=E[U].id,w=S+"-"+CR();var H;Array.prototype.forEach.call(O,function(dt){H=l.querySelectorAll("["+dt+'*="'+S+'"]');for(var be=0,mn=H.length;be<mn;be++){var Un=H[be].getAttribute(dt);Un&&!Un.match(new RegExp('url\\("?#'+S+'"?\\)'))||H[be].setAttribute(dt,"url(#"+w+")")}});for(var ne=l.querySelectorAll("[*|href]"),le=[],te=0,Q=ne.length;te<Q;te++){var ae=ne[te].getAttributeNS(bu,"href");ae&&ae.toString()==="#"+E[U].id&&le.push(ne[te])}for(var re=0,ge=le.length;re<ge;re++)le[re].setAttributeNS(bu,"href","#"+w);E[U].id=w},K=0,G=E.length;K<G;K++)V(K)})}l.removeAttribute("xmlns:a");for(var P=l.querySelectorAll("script"),A=[],R,$,j=0,I=P.length;j<I;j++)$=P[j].getAttribute("type"),(!$||$==="application/ecmascript"||$==="application/javascript"||$==="text/javascript")&&(R=P[j].innerText||P[j].textContent,R&&A.push(R),l.removeChild(P[j]));if(A.length>0&&(n==="always"||n==="once"&&!Ud[s])){for(var C=0,L=A.length;C<L;C++)new Function(A[C])(window);Ud[s]=!0}var M=l.querySelectorAll("style");if(Array.prototype.forEach.call(M,function(B){B.textContent+=""}),l.setAttribute("xmlns",IR),l.setAttribute("xmlns:xlink",bu),o(l),!t.parentNode){St.splice(St.indexOf(t),1),t=null,u(new Error("Parent node is null"));return}t.parentNode.replaceChild(l,t),St.splice(St.indexOf(t),1),t=null,u(null,l)})},RR=function(t,n){var r=n===void 0?{}:n,i=r.afterAll,a=i===void 0?function(){}:i,o=r.afterEach,u=o===void 0?function(){}:o,s=r.beforeEach,c=s===void 0?function(){}:s,f=r.cacheRequests,l=f===void 0?!0:f,d=r.evalScripts,v=d===void 0?"never":d,p=r.httpRequestWithCredentials,h=p===void 0?!1:p,b=r.renumerateIRIElements,_=b===void 0?!0:b;if(t&&"length"in t)for(var y=0,m=0,g=t.length;m<g;m++)xd(t[m],v,_,l,h,c,function(E,O){u(E,O),t&&"length"in t&&t.length===++y&&a(y)});else t?xd(t,v,_,l,h,c,function(E,O){u(E,O),a(1),t=null}):a(0)},LR=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},kR=function(t,n){for(var r in t)if(!(r in n))return!0;for(var i in n)if(t[i]!==n[i])return!0;return!1},NR=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Yi="http://www.w3.org/2000/svg",Hd="http://www.w3.org/1999/xlink",uy=function(e){function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a))||this,r.initialState={hasError:!1,isLoading:!0},r.state=r.initialState,r._isMounted=!1,r.reactWrapper=void 0,r.nonReactWrapper=void 0,r.refCallback=function(u){r.reactWrapper=u},r}yR(t,e);var n=t.prototype;return n.renderSVG=function(){var i=this;if(this.reactWrapper instanceof LR(this.reactWrapper).Node){var a=this.props,o=a.desc,u=a.evalScripts,s=a.httpRequestWithCredentials,c=a.renumerateIRIElements,f=a.src,l=a.title,d=a.useRequestCache,v=this.props.onError,p=this.props.beforeInjection,h=this.props.afterInjection,b=this.props.wrapper,_,y;b==="svg"?(_=document.createElementNS(Yi,b),_.setAttribute("xmlns",Yi),_.setAttribute("xmlns:xlink",Hd),y=document.createElementNS(Yi,b)):(_=document.createElement(b),y=document.createElement(b)),_.appendChild(y),y.dataset.src=f,this.nonReactWrapper=this.reactWrapper.appendChild(_);var m=function(S){if(i.removeSVG(),!i._isMounted){v(S);return}i.setState(function(){return{hasError:!0,isLoading:!1}},function(){v(S)})},g=function(S,w){if(S){m(S);return}i._isMounted&&i.setState(function(){return{isLoading:!1}},function(){try{h(w)}catch(P){m(P)}})},E=function(S){if(S.setAttribute("role","img"),o){var w=S.querySelector(":scope > desc");w&&S.removeChild(w);var P=document.createElement("desc");P.innerHTML=o,S.prepend(P)}if(l){var A=S.querySelector(":scope > title");A&&S.removeChild(A);var R=document.createElement("title");R.innerHTML=l,S.prepend(R)}try{p(S)}catch($){m($)}};RR(y,{afterEach:g,beforeEach:E,cacheRequests:d,evalScripts:u,httpRequestWithCredentials:s,renumerateIRIElements:c})}},n.removeSVG=function(){var i;(i=this.nonReactWrapper)!=null&&i.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(i){var a=this;kR(fr({},i),this.props)&&this.setState(function(){return a.initialState},function(){a.removeSVG(),a.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var i=this.props;i.afterInjection,i.beforeInjection,i.desc,i.evalScripts;var a=i.fallback;i.httpRequestWithCredentials;var o=i.loading;i.renumerateIRIElements,i.src,i.title,i.useRequestCache;var u=i.wrapper,s=mR(i,NR),c=u;return F(c,fr({},s,{ref:this.refCallback},u==="svg"?{xmlns:Yi,xmlnsXlink:Hd}:{}),this.state.isLoading&&o&&F(o,null),this.state.hasError&&a&&F(a,null))},t}(nt);uy.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};uy.propTypes={afterInjection:Ce.func,beforeInjection:Ce.func,desc:Ce.string,evalScripts:Ce.oneOf(["always","once","never"]),fallback:Ce.oneOfType([Ce.func,Ce.object,Ce.string]),httpRequestWithCredentials:Ce.bool,loading:Ce.oneOfType([Ce.func,Ce.object,Ce.string]),onError:Ce.func,renumerateIRIElements:Ce.bool,src:Ce.string.isRequired,title:Ce.string,useRequestCache:Ce.bool,wrapper:Ce.oneOf(["div","span","svg"])};function sy(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=sy(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function YL(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=sy(e))&&(r&&(r+=" "),r+=t);return r}export{PL as $,ft as A,YR as B,qR as C,za as D,Gy as E,ce as F,Fe as G,XR as H,vh as I,ob as J,VR as K,bh as L,HR as M,rL as N,zb as O,Ee as P,d0 as Q,oL as R,u0 as S,en as T,fL as U,Hp as V,uL as W,OL as X,lL as Y,zs as Z,_r as _,WL as a,SL as a$,AL as a0,TL as a1,pL as a2,hL as a3,ET as a4,wT as a5,yo as a6,NT as a7,LT as a8,RT as a9,uy as aA,Gp as aB,YL as aC,Qp as aD,KR as aE,xR as aF,FR as aG,zR as aH,WR as aI,Wr as aJ,Wp as aK,DL as aL,Up as aM,nt as aN,yL as aO,kL as aP,jL as aQ,IL as aR,$L as aS,sL as aT,Pp as aU,QR as aV,JR as aW,ML as aX,mL as aY,dL as aZ,wL as a_,IT as aa,kT as ab,Zl as ac,$R as ad,DR as ae,NL as af,BL as ag,ur as ah,FL as ai,m0 as aj,BR as ak,Ye as al,ZI as am,aL as an,UL as ao,xL as ap,HL as aq,RL as ar,vL as as,GR as at,cL as au,LL as av,cn as aw,ZR as ax,Sb as ay,CL as az,zL as b,gL as b0,Ls as b1,Ds as b2,bL as b3,EL as b4,_L as b5,GL as c,qL as d,VL as e,pR as f,KL as g,ie as h,fh as i,F as j,pe as k,He as l,Mg as m,Er as n,pr as o,de as p,Ne as q,eL as r,Ji as s,jR as t,tL as u,Ws as v,Z as w,UR as x,Bn as y,nL as z};