@flarehr/apollo-benefits 2.12.819 → 2.12.821

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,19 @@
1
- import{g as Tn,c as Q,a as fd,i as ms,b as pi}from"./lodash-5d893f8c.js";const Ri={type:null,entityIds:null,skip:!1,payload:null};let Wu=!1;function Rm(){Wu=!1}function qn(e,t,n){He(e,t,n),Wu=!0}function He(e,t,n){Wu===!1&&(Ri.type=e,Ri.entityIds=t,Ri.payload=n)}function km(e,t){return function(n,r,i){const a=i.value;return i.value=function(...o){return qn(e,t),a.apply(this,o)},i}}function Kr(e,t){return e.hasOwnProperty(t)}function bt(e){return Array.isArray(e)}function dd(e){return e.hasOwnProperty("active")}function pd(e){return bt(e)}function vd({active:e,ids:t,entities:n}){return pd(e)?Nm(e,t):Kr(n,e)===!1?null:e}function Nm(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function Mm({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const l of t)if(Kr(e.entities,l[n])===!1){const c=i(l),d=c[n];a[d]=c,r.prepend?o.unshift(d):o.push(d),u=!0}return u?{newState:{...e,entities:{...e.entities,...a},ids:r.prepend?[...o,...e.ids]:[...e.ids,...o]},newIds:o}:null}function ht(e){return e==null}function Qe(e){return ht(e)?[]:Array.isArray(e)?e:[e]}var Ho=function(e,t){return Ho=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])},Ho(e,t)};function Ot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ho(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ys=function(){return ys=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},ys.apply(this,arguments)};function qu(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 Ct(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function Dm(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(d){try{c(r.next(d))}catch(s){o(s)}}function l(d){try{c(r.throw(d))}catch(s){o(s)}}function c(d){d.done?a(d.value):i(d.value).then(u,l)}c((r=r.apply(e,t||[])).next())})}function hd(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(d){return l([c,d])}}function l(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(d){c=[6,d],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Qn(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 tn(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 On(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 Gn(e){return this instanceof Gn?(this.v=e,this):new Gn(e)}function $m(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(f){r[f]&&(i[f]=function(p){return new Promise(function(g,h){a.push([f,p,g,h])>1||u(f,p)})})}function u(f,p){try{l(r[f](p))}catch(g){s(a[0][3],g)}}function l(f){f.value instanceof Gn?Promise.resolve(f.value.v).then(c,d):s(a[0][2],f)}function c(f){u("next",f)}function d(f){u("throw",f)}function s(f,p){f(p),a.shift(),a.length&&u(a[0][0],a[0][1])}}function jm(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 Qn=="function"?Qn(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,l){o=e[a](o),i(u,l,o.done,o.value)})}}function i(a,o,u,l){Promise.resolve(l).then(function(c){a({value:c,done:u})},o)}}function le(e){return typeof e=="function"}function md(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 za=md(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
1
+ import{g as An,c as Q,a as dd,i as ms,b as di}from"./lodash-5d893f8c.js";const Li={type:null,entityIds:null,skip:!1,payload:null};let Wu=!1;function km(){Wu=!1}function Wn(e,t,n){He(e,t,n),Wu=!0}function He(e,t,n){Wu===!1&&(Li.type=e,Li.entityIds=t,Li.payload=n)}function Nm(e,t){return function(n,r,i){const a=i.value;return i.value=function(...o){return Wn(e,t),a.apply(this,o)},i}}function Hr(e,t){return e.hasOwnProperty(t)}function gt(e){return Array.isArray(e)}function pd(e){return e.hasOwnProperty("active")}function vd(e){return gt(e)}function hd({active:e,ids:t,entities:n}){return vd(e)?Mm(e,t):Hr(n,e)===!1?null:e}function Mm(e,t){const n=e.filter(r=>t.indexOf(r)>-1);return n.length===e.length?e:n}function Dm({state:e,entities:t,idKey:n,options:r={},preAddEntity:i}){let a={},o=[],u=!1;for(const l of t)if(Hr(e.entities,l[n])===!1){const c=i(l),d=c[n];a[d]=c,r.prepend?o.unshift(d):o.push(d),u=!0}return u?{newState:{...e,entities:{...e.entities,...a},ids:r.prepend?[...o,...e.ids]:[...e.ids,...o]},newIds:o}:null}function vt(e){return e==null}function Qe(e){return vt(e)?[]:Array.isArray(e)?e:[e]}var Ho=function(e,t){return Ho=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])},Ho(e,t)};function Et(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ho(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ys=function(){return ys=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},ys.apply(this,arguments)};function qu(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 It(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function $m(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(d){try{c(r.next(d))}catch(s){o(s)}}function l(d){try{c(r.throw(d))}catch(s){o(s)}}function c(d){d.done?a(d.value):i(d.value).then(u,l)}c((r=r.apply(e,t||[])).next())})}function md(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(d){return l([c,d])}}function l(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(d){c=[6,d],i=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Xn(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 en(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 En(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 qn(e){return this instanceof qn?(this.v=e,this):new qn(e)}function jm(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(f){r[f]&&(i[f]=function(p){return new Promise(function(g,h){a.push([f,p,g,h])>1||u(f,p)})})}function u(f,p){try{l(r[f](p))}catch(g){s(a[0][3],g)}}function l(f){f.value instanceof qn?Promise.resolve(f.value.v).then(c,d):s(a[0][2],f)}function c(f){u("next",f)}function d(f){u("throw",f)}function s(f,p){f(p),a.shift(),a.length&&u(a[0][0],a[0][1])}}function Bm(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 Xn=="function"?Xn(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,l){o=e[a](o),i(u,l,o.done,o.value)})}}function i(a,o,u,l){Promise.resolve(l).then(function(c){a({value:c,done:u})},o)}}function le(e){return typeof e=="function"}function yd(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 Ka=yd(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
2
2
  `+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=n}});function Ki(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ni=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=Qn(o),l=u.next();!l.done;l=u.next()){var c=l.value;c.remove(this)}}catch(h){t={error:h}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}else o.remove(this);var d=this.initialTeardown;if(le(d))try{d()}catch(h){a=h instanceof za?h.errors:[h]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var f=Qn(s),p=f.next();!p.done;p=f.next()){var g=p.value;try{gs(g)}catch(h){a=a??[],h instanceof za?a=On(On([],tn(a)),tn(h.errors)):a.push(h)}}}catch(h){r={error:h}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}if(a)throw new za(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)gs(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)&&Ki(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ki(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),yd=ni.EMPTY;function gd(e){return e instanceof ni||e&&"closed"in e&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function gs(e){le(e)?e():e.unsubscribe()}var bd={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ko={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ko.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,On([e,t],tn(n))):setTimeout.apply(void 0,On([e,t],tn(n)))},clearTimeout:function(e){var t=Ko.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function _d(e){Ko.setTimeout(function(){throw e})}function zo(){}function ki(e){e()}var Gu=function(e){Ot(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,gd(n)&&n.add(r)):r.destination=xm,r}return t.create=function(n,r,i){return new Wo(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}(ni),Bm=Function.prototype.bind;function Wa(e,t){return Bm.call(e,t)}var Fm=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){vi(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){vi(r)}else vi(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){vi(n)}},e}(),Wo=function(e){Ot(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(le(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&bd.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&Wa(n.next,u),error:n.error&&Wa(n.error,u),complete:n.complete&&Wa(n.complete,u)}):o=n}return a.destination=new Fm(o),a}return t}(Gu);function vi(e){_d(e)}function Um(e){throw e}var xm={closed:!0,next:zo,error:Um,complete:zo},Vu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function pr(e){return e}function Hm(e){return e.length===0?pr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var Ke=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=zm(t)?t:new Wo(t,n,r);return ki(function(){var o=i,u=o.operator,l=o.source;a.add(u?u.call(a,l):l?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=bs(n),new n(function(i,a){var o=new Wo({next:function(u){try{t(u)}catch(l){a(l),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[Vu]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Hm(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=bs(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 bs(e){var t;return(t=e??bd.Promise)!==null&&t!==void 0?t:Promise}function Km(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}function zm(e){return e&&e instanceof Gu||Km(e)&&gd(e)}function Wm(e){return le(e==null?void 0:e.lift)}function ut(e){return function(t){if(Wm(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 We(e,t,n,r,i){return new qm(e,t,n,r,i)}var qm=function(e){Ot(t,e);function t(n,r,i,a,o,u){var l=e.call(this,n)||this;return l.onFinalize=o,l.shouldUnsubscribe=u,l._next=r?function(c){try{r(c)}catch(d){n.error(d)}}:e.prototype._next,l._error=a?function(c){try{a(c)}catch(d){n.error(d)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}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}(Gu),Gm=md(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Mt=function(e){Ot(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 _s(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Gm},t.prototype.next=function(n){var r=this;ki(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=Qn(r.currentObservers),u=o.next();!u.done;u=o.next()){var l=u.value;l.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;ki(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;ki(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 ni(function(){r.currentObservers=null,Ki(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 Ke;return n.source=this,n},t.create=function(n,r){return new _s(n,r)},t}(Ke),_s=function(e){Ot(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}(Mt),zi=function(e){Ot(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}(Mt),Yu={now:function(){return(Yu.delegate||Date).now()},delegate:void 0},wd=function(e){Ot(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Yu);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,l=r._windowTime;i||(a.push(n),!o&&a.push(u.now()+l)),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(),l=0;l<u.length&&!n.closed;l+=a?1:2)n.next(u[l]);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 l=i.now(),c=0,d=1;d<a.length&&a[d]<=l;d+=2)c=d;c&&a.splice(0,c+1)}},t}(Mt),Vm=function(e){Ot(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(ni),Wi={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Wi.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,On([e,t],tn(n))):setInterval.apply(void 0,On([e,t],tn(n)))},clearInterval:function(e){var t=Wi.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Ym=function(e){Ot(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),Wi.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&&Wi.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,Ki(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Vm),ws=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=Yu.now,e}(),Xm=function(e){Ot(t,e);function t(n,r){r===void 0&&(r=ws.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}(ws),ma=new Xm(Ym),Qm=ma,Jm=new Ke(function(e){return e.complete()});function Ed(e){return e&&le(e.schedule)}function Od(e){return e[e.length-1]}function Zm(e){return le(Od(e))?e.pop():void 0}function Xu(e){return Ed(Od(e))?e.pop():void 0}var Qu=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Sd(e){return le(e==null?void 0:e.then)}function Pd(e){return le(e[Vu])}function Ad(e){return Symbol.asyncIterator&&le(e==null?void 0:e[Symbol.asyncIterator])}function Td(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 ey(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Id=ey();function Cd(e){return le(e==null?void 0:e[Id])}function Ld(e){return $m(this,arguments,function(){var n,r,i,a;return hd(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,Gn(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,Gn(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Gn(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 Rd(e){return le(e==null?void 0:e.getReader)}function Ft(e){if(e instanceof Ke)return e;if(e!=null){if(Pd(e))return ty(e);if(Qu(e))return ny(e);if(Sd(e))return ry(e);if(Ad(e))return kd(e);if(Cd(e))return iy(e);if(Rd(e))return ay(e)}throw Td(e)}function ty(e){return new Ke(function(t){var n=e[Vu]();if(le(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ny(e){return new Ke(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ry(e){return new Ke(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,_d)})}function iy(e){return new Ke(function(t){var n,r;try{for(var i=Qn(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 kd(e){return new Ke(function(t){oy(e,t).catch(function(n){return t.error(n)})})}function ay(e){return kd(Ld(e))}function oy(e,t){var n,r,i,a;return Dm(this,void 0,void 0,function(){var o,u;return hd(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=jm(e),l.label=1;case 1:return[4,n.next()];case 2:if(r=l.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=l.sent(),i={error:u},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:l.sent(),l.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 Lt(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 Nd(e,t){return t===void 0&&(t=0),ut(function(n,r){n.subscribe(We(r,function(i){return Lt(r,e,function(){return r.next(i)},t)},function(){return Lt(r,e,function(){return r.complete()},t)},function(i){return Lt(r,e,function(){return r.error(i)},t)}))})}function Md(e,t){return t===void 0&&(t=0),ut(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function uy(e,t){return Ft(e).pipe(Md(t),Nd(t))}function ly(e,t){return Ft(e).pipe(Md(t),Nd(t))}function sy(e,t){return new Ke(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function cy(e,t){return new Ke(function(n){var r;return Lt(n,t,function(){r=e[Id](),Lt(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 le(r==null?void 0:r.return)&&r.return()}})}function Dd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ke(function(n){Lt(n,t,function(){var r=e[Symbol.asyncIterator]();Lt(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function fy(e,t){return Dd(Ld(e),t)}function dy(e,t){if(e!=null){if(Pd(e))return uy(e,t);if(Qu(e))return sy(e,t);if(Sd(e))return ly(e,t);if(Ad(e))return Dd(e,t);if(Cd(e))return cy(e,t);if(Rd(e))return fy(e,t)}throw Td(e)}function vr(e,t){return t?dy(e,t):Ft(e)}function Ju(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Xu(e);return vr(e,n)}function $d(e){return!!e&&(e instanceof Ke||le(e.lift)&&le(e.subscribe))}function py(e){return e instanceof Date&&!isNaN(e)}function qe(e,t){return ut(function(n,r){var i=0;n.subscribe(We(r,function(a){r.next(e.call(t,a,i++))}))})}var vy=Array.isArray;function hy(e,t){return vy(t)?e.apply(void 0,On([],tn(t))):e(t)}function jd(e){return qe(function(t){return hy(e,t)})}var my=Array.isArray,yy=Object.getPrototypeOf,gy=Object.prototype,by=Object.keys;function _y(e){if(e.length===1){var t=e[0];if(my(t))return{args:t,keys:null};if(wy(t)){var n=by(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function wy(e){return e&&typeof e=="object"&&yy(e)===gy}function Ey(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function Oy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Xu(e),r=Zm(e),i=_y(e),a=i.args,o=i.keys;if(a.length===0)return vr([],n);var u=new Ke(Sy(a,n,o?function(l){return Ey(o,l)}:pr));return r?u.pipe(jd(r)):u}function Sy(e,t,n){return n===void 0&&(n=pr),function(r){Es(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,l=function(d){Es(t,function(){var s=vr(e[d],t),f=!1;s.subscribe(We(r,function(p){a[d]=p,f||(f=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)l(c)},r)}}function Es(e,t,n){e?Lt(n,e,t):t()}function Py(e,t,n,r,i,a,o,u){var l=[],c=0,d=0,s=!1,f=function(){s&&!l.length&&!c&&t.complete()},p=function(h){return c<r?g(h):l.push(h)},g=function(h){a&&t.next(h),c++;var _=!1;Ft(n(h,d++)).subscribe(We(t,function(b){i==null||i(b),a?p(b):t.next(b)},function(){_=!0},void 0,function(){if(_)try{c--;for(var b=function(){var m=l.shift();o?Lt(t,o,function(){return g(m)}):g(m)};l.length&&c<r;)b();f()}catch(m){t.error(m)}}))};return e.subscribe(We(t,p,function(){s=!0,f()})),function(){u==null||u()}}function ya(e,t,n){return n===void 0&&(n=1/0),le(t)?ya(function(r,i){return qe(function(a,o){return t(r,a,i,o)})(Ft(e(r,i)))},n):(typeof t=="number"&&(n=t),ut(function(r,i){return Py(r,i,e,n)}))}function Ay(e){return e===void 0&&(e=1/0),ya(pr,e)}function Ty(){return Ay(1)}function Iy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ty()(vr(e,Xu(e)))}var Cy=["addListener","removeListener"],Ly=["addEventListener","removeEventListener"],Ry=["on","off"];function Os(e,t,n,r){if(le(n)&&(r=n,n=void 0),r)return Os(e,t,n).pipe(jd(r));var i=tn(My(e)?Ly.map(function(u){return function(l){return e[u](t,l,n)}}):ky(e)?Cy.map(Ss(e,t)):Ny(e)?Ry.map(Ss(e,t)):[],2),a=i[0],o=i[1];if(!a&&Qu(e))return ya(function(u){return Os(u,t,n)})(Ft(e));if(!a)throw new TypeError("Invalid event target");return new Ke(function(u){var l=function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return u.next(1<c.length?c:c[0])};return a(l),function(){return o(l)}})}function Ss(e,t){return function(n){return function(r){return e[n](t,r)}}}function ky(e){return le(e.addListener)&&le(e.removeListener)}function Ny(e){return le(e.on)&&le(e.off)}function My(e){return le(e.addEventListener)&&le(e.removeEventListener)}function Bd(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Qm);var r=-1;return t!=null&&(Ed(t)?n=t:r=t),new Ke(function(i){var a=py(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 ga(e,t){return ut(function(n,r){var i=0;n.subscribe(We(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function Dy(e){return ut(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()},l=function(){a=null,o&&n.complete()};t.subscribe(We(n,function(c){r=!0,i=c,a||Ft(e(c)).subscribe(a=We(n,u,l))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function $y(e,t){return t===void 0&&(t=ma),Dy(function(){return Bd(e,t)})}function cI(e,t){return t===void 0&&(t=ma),ut(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 l(){var c=o+e,d=t.now();if(d<c){i=this.schedule(void 0,c-d),r.add(i);return}u()}n.subscribe(We(r,function(c){a=c,o=t.now(),i||(i=t.schedule(l,e),r.add(i))},function(){u(),r.complete()},void 0,function(){a=i=null}))})}function qo(e){return e<=0?function(){return Jm}:ut(function(t,n){var r=0;t.subscribe(We(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function jy(){return ut(function(e,t){e.subscribe(We(t,zo))})}function By(e){return qe(function(){return e})}function Fd(e,t){return t?function(n){return Iy(t.pipe(qo(1),jy()),n.pipe(Fd(e)))}:ya(function(n,r){return Ft(e(n,r)).pipe(qo(1),By(n))})}function Fy(e,t){t===void 0&&(t=ma);var n=Bd(e,t);return Fd(function(){return n})}function zr(e,t){return t===void 0&&(t=pr),e=e??Uy,ut(function(n,r){var i,a=!0;n.subscribe(We(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function Uy(e,t){return e===t}function fI(){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 qe(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 xy(e){return ga(function(t,n){return e<=n})}function Ni(e,t){return ut(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(We(r,function(l){i==null||i.unsubscribe();var c=0,d=a++;Ft(e(l,d)).subscribe(i=We(r,function(s){return r.next(t?t(l,s,d,c++):s)},function(){i=null,u()}))},function(){o=!0,u()}))})}function dI(e,t,n){var r=le(e)||t||n?{next:e,error:t,complete:n}:e;return r?ut(function(i,a){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var u=!0;i.subscribe(We(a,function(l){var c;(c=r.next)===null||c===void 0||c.call(r,l),a.next(l)},function(){var l;u=!1,(l=r.complete)===null||l===void 0||l.call(r),a.complete()},function(l){var c;u=!1,(c=r.error)===null||c===void 0||c.call(r,l),a.error(l)},function(){var l,c;u&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):pr}const Hy="id";function St(e){return bt(e)?e.length===0:!1}function Ae(e){return typeof e=="function"}function Ky(){return zr((e,t)=>e===t?!0:!bt(e)||!bt(t)?!1:St(e)&&St(t)?!0:e.length!==t.length?!1:t.some((r,i)=>e[i]!==r)===!1)}function Zu(e){const t=typeof e;return e!=null&&(t=="object"||t=="function")}function pI(e){return Oy(e).pipe($y(0))}let Ud={resettable:!1,ttl:null,producerFn:void 0};function Ps(){return Ud}function zy(){return Ud.producerFn}function qi(e){return ht(e)===!1}const xd=new Mt,Hd=new wd(50,5e3),Wy=new Mt;function qy(e){xd.next(e)}function Gy(e){Hd.next(e)}function Vy(e,t){Wy.next({storeName:e,action:t})}const ba=typeof window<"u",Yy=!ba,As=()=>{try{return typeof localStorage<"u"}catch{return!1}},Xy=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},_t={},Kd={};ba&&(window.$$stores=_t,window.$$queries=Kd);var Gi;(function(e){e.ASC="asc",e.DESC="desc"})(Gi||(Gi={}));function Qy(e,t=Gi.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==Gi.DESC?o*-1:o}}function Jy(e,t){let n=[];const{ids:r,entities:i}=e,{filterBy:a,limitTo:o,sortBy:u,sortByOrder:l}=t;for(let d=0;d<r.length;d++){const s=i[r[d]];if(!a){n.push(s);continue}Qe(a).every(g=>g(s,d))&&n.push(s)}if(u){let d=Ae(u)?u:Qy(u,l);n=n.sort((s,f)=>d(s,f,e))}const c=Math.min(o||n.length,n.length);return c===n.length?n:n.slice(0,c)}function Zy(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=ht(i)===!1;if(r&&u){let l=0;for(let c=0,d=a.length;c<d&&l!==i;c++){const s=a[c],f=o[s];Qe(r).every(g=>g(f,c))&&(n[s]=f,l++)}}else{const l=Math.min(i||a.length,a.length);for(let c=0;c<l;c++){const d=a[c],s=o[d];if(!r){n[d]=s;continue}Qe(r).every(p=>p(s,c))&&(n[d]=s)}}return n}var Kt;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(Kt||(Kt={}));let el=!0;function vI(){el=!1,ba&&(delete window.$$stores,delete window.$$queries)}function Se(){return el}function eg(e,t,n){let r;if(bt(e))r=e;else if(Zu(e)){if(ht(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 tg=()=>({entities:{},ids:[],loading:!0,error:null});function Fn(e){return e===void 0}function ng({state:e,ids:t}){if(ht(t))return rg(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 dd(e)&&(i.active=vd(i)),i}function rg(e){return{...e,entities:{},ids:[],active:pd(e.active)?[]:null}}function ig(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 ag(e){return e.entities&&e.ids}function Ts(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function og({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(bt(t)){const l=ig(t,n,r);a=l.entities,o=l.ids}else ag(t)?(a=i?t.entities:Ts(t.entities,r),o=t.ids):(a=i?t:Ts(t,r),o=Object.keys(a).map(l=>isNaN(l)?l:Number(l)));const u={...e,entities:a,ids:o,loading:!1};return dd(e)&&(u.active=vd(u)),u}function zd(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])&&zd(e[r])}),e}function ug(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function tl(e){return e!=null&&`${e}`!="false"}function Go(e){return tl(e)&&e.constructor.name==="Object"}const Mi="akitaConfig";function hI(e){return function(t){t[Mi]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[Mi].storeName=e[i]:t[Mi][i]=e[i]}}}const lg=new Mt,Wd=new zi(!1),Qt={activeTransactions:0,batchTransaction:null};function sg(){qd()||(Qt.batchTransaction=new Mt),Qt.activeTransactions++,Wd.next(!0)}function cg(){--Qt.activeTransactions===0&&(Qt.batchTransaction.next(!0),Qt.batchTransaction.complete(),Wd.next(!1),lg.next(!0))}function qd(){return Qt.activeTransactions>0}function fg(){return Qt.batchTransaction?Qt.batchTransaction.asObservable():Ju(!0)}function nl(e,t=void 0){sg();try{return e.apply(t)}finally{qn("@Transaction"),cg()}}function Gd(){return function(e,t,n){const r=n.value;return n.value=function(...i){return nl(()=>r.apply(this,i),this)},n}}class dg{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new zi(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Se()&&He("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&&(Se()&&He("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(qe(n=>t(n.state)),zr())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[Mi]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||zd}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||zy()}get resettable(){return qi(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Ae(t)){const r=t(this._value());this.storeValue=el?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new zi({state:this.storeValue}),Se()&&this.store.subscribe(({action:r})=>{r&&Vy(this.storeName,r)});return}if(qd()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Se()&&He("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Se()&&He("Update");let n;const r=this._value();Ae(t)?n=Ae(this._producerFn)?this._producerFn(r,t):t(r):n=t;const i=this.akitaPreUpdate(r,{...r,...n}),a=Go(r)?i:new r.constructor(i);this._setState(a)}updateStoreConfig(t){this.options={...this.options,...t}}akitaPreUpdate(t,n){return n}destroy(){!(ba?window.hmrEnabled:!1)&&this===_t[this.storeName]&&(delete _t[this.storeName],qy(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){_t[this.storeName]=this,this._setState(()=>t),Gy(this.storeName),this.isResettable()&&(this._initialState=t),Se()&&ug(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=Ri,Rm()),this.store.next({state:t,action:r})}watchTransaction(){fg().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Ps().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Ps().ttl}}function pg({state:e,ids:t,idKey:n,newStateOrFn:r,preUpdateEntity:i,producerFn:a,onEntityIdChanges:o}){const u={};let l=!1,c;for(const f of t){if(Kr(e.entities,f)===!1)continue;const p=e.entities[f];let g;Ae(r)?g=Ae(a)?a(p,r):r(p):g=r;const h=g.hasOwnProperty(n)&&g[n]!==p[n];let _;c=f,h&&(l=!0,c=g[n]);const b={...p,...g};Go(p)?_=b:Go(g)?_=new p.constructor(b):_=new g.constructor(b),u[c]=i(p,_)}let d=e.ids,s=e.entities;if(l){const[f]=t,{[f]:p,...g}=e.entities;s=g,d=e.ids.map(h=>h===f?c:h),o(f,c)}return{...e,entities:{...s,...u},ids:d}}var Is;class Jn extends dg{constructor(t={},n={}){super({...tg(),...t},n),this.options=n,this.entityActions=new Mt,this.entityIdChanges=new Mt}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||Hy}set(t,n={}){if(ht(t))return;Se()&&He("Set Entity");const r=this.akitaPreAddEntity===Jn.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=og({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return Fn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:Kt.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Qe(t);if(St(r))return;const i=Mm({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Se()&&He("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:Kt.Add,ids:i.newIds}))}update(t,n){if(Fn(n)){super.update(t);return}let r=[];if(Ae(t)?r=this.ids.filter(a=>t(this.entities[a])):r=ht(t)?this.ids:Qe(t),St(r))return;Se()&&He("Update Entity",r);let i;this._setState(a=>pg({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:Kt.Update,ids:r})}upsert(t,n,r,i={}){const a=Qe(t),o=s=>f=>Kr(this.entities,f)===s,u=Ae(r)?i.baseClass:r?r.baseClass:void 0,l=Ae(u),c=a.filter(o(!0)),d=a.filter(o(!1)).map(s=>{const f=typeof n=="function"?n({}):n,g={...Ae(r)?r(s,f):f,[this.idKey]:s};return l?new u(g):g});this.update(c,n),this.add(d),Se()&&qn("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),l=u[this.idKey];if(Kr(this.entities,l)){const c=this._value().entities[l],d={...this._value().entities[l],...u},s=n.baseClass?new n.baseClass(d):d,f=this.akitaPreUpdateEntity(c,s),p=f[this.idKey];a[p]=f,i.push(p)}else{const c=n.baseClass?new n.baseClass(u):u,d=this.akitaPreAddEntity(c),s=d[this.idKey];r.push(s),a[s]=d}}Se()&&qn("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:Kt.Update,ids:i}),r.length&&this.entityActions.next({type:Kt.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Qe(t);if(St(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Se()&&He("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]),Se()&&He("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(St(this.ids))return;const n=qi(t);let r=[];Ae(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Qe(t):this.ids,!St(r)&&(Se()&&He("Remove Entity",r),this._setState(i=>ng({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:Kt.Remove,ids:r}))}updateActive(t){const n=Qe(this.active);Se()&&He("Update Active",n),this.update(n,t)}setActive(t){const n=eg(t,this.ids,this.active);n!==void 0&&(Se()&&He("Set Active",n),this._setActive(n))}addActive(t){const n=Qe(t);St(n)||n.every(i=>this.active.indexOf(i)>-1)||(Se()&&He("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Qe(t);St(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Se()&&He("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=Qe(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),Se()&&qn("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new Cs(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof Jn&&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=Ae(this.ui._akitaCreateEntityFn);let i;const a=o=>{const u=this.entities[o],l=r?this.ui._akitaCreateEntityFn(u):this.ui._akitaCreateEntityFn;return{[this.idKey]:u[this.idKey],...l}};t?i=this.ids.filter(o=>Fn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&Fn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof Cs}}qu([Gd(),Ct("design:type",Function),Ct("design:paramtypes",[Object,Object,Object,Object]),Ct("design:returntype",void 0)],Jn.prototype,"upsert",null);qu([Gd(),Ct("design:type",Function),Ct("design:paramtypes",[typeof(Is=typeof T<"u"&&T)=="function"?Is:Object]),Ct("design:returntype",void 0)],Jn.prototype,"toggleActive",null);class Cs extends Jn{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function vg(){return ga(e=>e!=null)}function hg(e){return function(t,n){const r=Ae(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Vd(e){return typeof e=="string"}const mg="akitaQueryConfig";class yg{constructor(t){this.store=t,this.__store__=t,Se()&&(Kd[t.storeName]=this)}select(t){let n;if(Ae(t))n=t;else if(Vd(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(zr(hg(t)),qe(r=>Ae(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[mg]}}function gg(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function Ls(e,t){return function(n){const r=n[e];if(!Fn(r))return t?Vd(t)?r[t]:t(r):r}}function bg(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function _g(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class wg extends yg{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(qe(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?Zy(this.getValue(),t):(_g(t,this.config||this.options),Jy(this.getValue(),t))}selectMany(t,n){return!t||!t.length?Ju([]):this.select(r=>r.entities).pipe(qe(r=>bg(t,i=>Ls(i,n)(r))),Ky())}selectEntity(t,n){let r=t;return Ae(t)&&(r=gg(t,this.getValue().entities)),this.select(i=>i.entities).pipe(qe(Ls(r,n)),zr())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return bt(this.getActive())?this.selectActiveId().pipe(Ni(n=>this.selectMany(n,t))):this.selectActiveId().pipe(Ni(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return bt(t)?t.map(n=>this.getValue().entities[n]):tl(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(qe(()=>this.getCount(t)))}getCount(t){return Ae(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(ht(t))return this.store.selectEntityAction$;const n=bt(t)?i=>i:({ids:i})=>i,r=Qe(t);return this.store.selectEntityAction$.pipe(ga(({type:i})=>r.includes(i)),qe(i=>n(i)))}hasEntity(t){return ht(t)?this.getValue().ids.length>0:Ae(t)?this.getAll().some(t):bt(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=qi(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:qi(n)}createUIQuery(){this.ui=new Eg(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(qe(t),zr(),Ni(r=>this.selectEntity(r,n)))}}class Eg extends wg{constructor(t){super(t)}}function Vo(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function Yd(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,l,c)=>c!==a?(u[l]={...u[l]},u&&u[l]):(u[l]=r||Array.isArray(u[l])||!Zu(u[l])?n:{...u[l],...n},u&&u[l]),e),e}let Og=!1;const Sg=new wd(1);function Pg(){return Og}function Ag(e){return e&&Ae(e.then)}function Tr(e){return Ag(e)||$d(e)?vr(e):Ju(e)}function mI(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:As()?localStorage:e.storage,deserialize:JSON.parse,serialize:JSON.stringify,include:[],select:[],persistOnDestroy:!1,preStorageUpdate:function(E,P){return P},preStoreUpdate:function(E,P){return P},skipStorageUpdate:Pg,preStorageUpdateOperator:()=>E=>E},{storage:n,enableInNonBrowser:r,deserialize:i,serialize:a,include:o,select:u,key:l,preStorageUpdate:c,persistOnDestroy:d,preStorageUpdateOperator:s,preStoreUpdate:f,skipStorageUpdate:p}=Object.assign({},t,e);if(Yy&&!r||!n)return;const g=o.length>0,h=u.length>0;let _,b;g&&(_=o.reduce((E,P)=>{if(Ae(P))E.fns.push(P);else{const A=P.split(".")[0];E[A]=P}return E},{fns:[]})),h&&(b=u.reduce((E,P)=>(E[P.storeName]=P,E),{}));let m={};const v={},y=[],w=[];function S(E){Tr(E).subscribe(()=>{const P=w.shift();P&&S(P)})}const O=As()&&n===localStorage||Xy()&&n===sessionStorage;return Tr(n.getItem(l)).subscribe(E=>{let P=Zu(E)?E:i(E||"{}");function A($){P.$cache={...P.$cache||{},...$},P=Object.assign({},P,v),w.push(n.setItem(l,O?a(P):P)),S(w.shift())}function L($,C){m[$]=_t[$]._select(I=>Vo(I,C)).pipe(xy(1),qe(I=>h&&b[$]?b[$](I):I),ga(()=>p()===!1),s()).subscribe(I=>{v[$]=c($,I),Promise.resolve().then(()=>A({[$]:_t[$]._cache().getValue()}))})}function N($,C,I){if($ in P){He("@PersistState"),C._setState(D=>Yd(D,I,f($,P[$],D)));const R=P.$cache?P.$cache[$]:!1;_t[$].setHasCache(R,{restartTTL:!0})}}y.push(xd.subscribe($=>{m[$]&&(d===!1&&A({[$]:!1}),m[$].unsubscribe(),delete m[$])})),y.push(Hd.subscribe($=>{if($==="router")return;const C=_t[$];if(g){let I=_[$];if(!I)if(_.fns.some(D=>D($)))I=$;else return;N($,C,I),L($,I)}else N($,C,$),L($,$)})),Sg.next(!0)}),{destroy(){y.forEach(E=>E.unsubscribe());for(let E=0,P=Object.keys(m);E<P.length;E++){const A=P[E];m[A].unsubscribe()}m={}},clear(){n.clear()},clearStore(E){if(ht(E)){Tr(n.setItem(l,"{}")).subscribe();return}const P=n.getItem(l);Tr(P).subscribe(A=>{const L=i(A||"{}");L[E]&&(delete L[E],Tr(n.setItem(l,a(L))).subscribe())})}}}class Tg{constructor(t,n){this.query=t,n&&n.resetFn}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return tl(t)}selectSource(t,n){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(vg()):n?this.getQuery().select(r=>Vo(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?Vo(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=>Yd(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 Ig={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class Cg extends Tg{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(Fy(0)),this.config={...Ig,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new zi(r),$d(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||(qn("@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(),Fn(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),vr(t()).pipe(Ni(r=>(n=r.currentPage,nl(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){ht(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(qo(1),qe(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=Lg(this.pagination.total,this.pagination.perPage)),r}))}}qu([km("@Pagination - New Page"),Ct("design:type",Function),Ct("design:paramtypes",[Object]),Ct("design:returntype",void 0)],Cg.prototype,"update",null);function Lg(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function yI(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(_t);nl(()=>{for(const r of n){const i=_t[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var Yo;(function(e){e.Update="UPDATE"})(Yo||(Yo={}));Yo.Update+"";var Pt;(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"})(Pt||(Pt={}));Pt.Update+"",Pt.AddEntities+"",Pt.SetEntities+"",Pt.UpdateEntities+"",Pt.RemoveEntities+"",Pt.UpsertEntities+"",Pt.UpsertManyEntities+"";const Rg="modulepreload",kg=function(e){return"/benefits/app/"+e},Rs={},gI=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=kg(a),a in Rs)return;Rs[a]=!0;const o=a.endsWith(".css"),u=o?'[rel="stylesheet"]':"";if(!!r)for(let d=i.length-1;d>=0;d--){const s=i[d];if(s.href===a&&(!o||s.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":Rg,o||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),o)return new Promise((d,s)=>{c.addEventListener("load",d),c.addEventListener("error",()=>s(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 ri,q,Xd,pn,ks,Qd,Xo,Jd,Vn={},Zd=[],Ng=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_a=Array.isArray;function It(e,t){for(var n in t)e[n]=t[n];return e}function ep(e){var t=e.parentNode;t&&t.removeChild(e)}function j(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?ri.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 Dr(e,o,r,i,null)}function Dr(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??++Xd};return i==null&&q.vnode!=null&&q.vnode(a),a}function Wr(){return{current:null}}function ye(e){return e.children}function ot(e,t){this.props=e,this.context=t}function qr(e,t){if(t==null)return e.__?qr(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"?qr(e):null}function tp(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 tp(e)}}function Qo(e){(!e.__d&&(e.__d=!0)&&pn.push(e)&&!Vi.__r++||ks!==q.debounceRendering)&&((ks=q.debounceRendering)||Qd)(Vi)}function Vi(){var e,t,n,r,i,a,o,u,l;for(pn.sort(Xo);e=pn.shift();)e.__d&&(t=pn.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(l=n.__P)&&(r=[],i=[],(a=It({},o)).__v=o.__v+1,rl(l,o,a,n.__n,l.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??qr(o),o.__h,i),ap(r,o,i),o.__e!=u&&tp(o)),pn.length>t&&pn.sort(Xo));Vi.__r=0}function np(e,t,n,r,i,a,o,u,l,c,d){var s,f,p,g,h,_,b,m,v,y=0,w=r&&r.__k||Zd,S=w.length,O=S,E=t.length;for(n.__k=[],s=0;s<E;s++)(g=n.__k[s]=(g=t[s])==null||typeof g=="boolean"||typeof g=="function"?null:typeof g=="string"||typeof g=="number"||typeof g=="bigint"?Dr(null,g,null,null,g):_a(g)?Dr(ye,{children:g},null,null,null):g.__b>0?Dr(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)!=null?(g.__=n,g.__b=n.__b+1,(m=Mg(g,w,b=s+y,O))===-1?p=Vn:(p=w[m]||Vn,w[m]=void 0,O--),rl(e,g,p,i,a,o,u,l,c,d),h=g.__e,(f=g.ref)&&p.ref!=f&&(p.ref&&il(p.ref,null,g),d.push(f,g.__c||h,g)),h!=null&&(_==null&&(_=h),(v=p===Vn||p.__v===null)?m==-1&&y--:m!==b&&(m===b+1?y++:m>b?O>E-b?y+=m-b:y--:y=m<b&&m==b-1?m-b:0),b=s+y,typeof g.type!="function"||m===b&&p.__k!==g.__k?typeof g.type=="function"||m===b&&!v?g.__d!==void 0?(l=g.__d,g.__d=void 0):l=h.nextSibling:l=ip(e,h,l):l=rp(g,l,e),typeof n.type=="function"&&(n.__d=l))):(p=w[s])&&p.key==null&&p.__e&&(p.__e==l&&(p.__=r,l=qr(p)),Jo(p,p,!1),w[s]=null);for(n.__e=_,s=S;s--;)w[s]!=null&&(typeof n.type=="function"&&w[s].__e!=null&&w[s].__e==n.__d&&(n.__d=w[s].__e.nextSibling),Jo(w[s],w[s]))}function rp(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"?rp(r,t,n):ip(n,r.__e,t));return t}function vt(e,t){return t=t||[],e==null||typeof e=="boolean"||(_a(e)?e.some(function(n){vt(n,t)}):t.push(e)),t}function ip(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 Mg(e,t,n,r){var i=e.key,a=e.type,o=n-1,u=n+1,l=t[n];if(l===null||l&&i==l.key&&a===l.type)return n;if(r>(l!=null?1:0))for(;o>=0||u<t.length;){if(o>=0){if((l=t[o])&&i==l.key&&a===l.type)return o;o--}if(u<t.length){if((l=t[u])&&i==l.key&&a===l.type)return u;u++}}return-1}function Dg(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||Yi(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]||Yi(e,a,t[a],n[a],r)}function Ns(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Ng.test(t)?n:n+"px"}function Yi(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||Ns(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ns(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?Ds:Ms,a)):e.removeEventListener(t,a?Ds:Ms,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 Ms(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(q.event?q.event(e):e)}function Ds(e){return this.l[e.type+!0](q.event?q.event(e):e)}function rl(e,t,n,r,i,a,o,u,l,c){var d,s,f,p,g,h,_,b,m,v,y,w,S,O,E,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,u=t.__e=n.__e,t.__h=null,a=[u]),(d=q.__b)&&d(t);e:if(typeof P=="function")try{if(b=t.props,m=(d=P.contextType)&&r[d.__c],v=d?m?m.props.value:d.__:r,n.__c?_=(s=t.__c=n.__c).__=s.__E:("prototype"in P&&P.prototype.render?t.__c=s=new P(b,v):(t.__c=s=new ot(b,v),s.constructor=P,s.render=jg),m&&m.sub(s),s.props=b,s.state||(s.state={}),s.context=v,s.__n=r,f=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),P.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=It({},s.__s)),It(s.__s,P.getDerivedStateFromProps(b,s.__s))),p=s.props,g=s.state,s.__v=t,f)P.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(P.getDerivedStateFromProps==null&&b!==p&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(b,v),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(b,s.__s,v)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(s.props=b,s.state=s.__s,s.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),y=0;y<s._sb.length;y++)s.__h.push(s._sb[y]);s._sb=[],s.__h.length&&o.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(b,s.__s,v),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(p,g,h)})}if(s.context=v,s.props=b,s.__P=e,s.__e=!1,w=q.__r,S=0,"prototype"in P&&P.prototype.render){for(s.state=s.__s,s.__d=!1,w&&w(t),d=s.render(s.props,s.state,s.context),O=0;O<s._sb.length;O++)s.__h.push(s._sb[O]);s._sb=[]}else do s.__d=!1,w&&w(t),d=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++S<25);s.state=s.__s,s.getChildContext!=null&&(r=It(It({},r),s.getChildContext())),f||s.getSnapshotBeforeUpdate==null||(h=s.getSnapshotBeforeUpdate(p,g)),np(e,_a(E=d!=null&&d.type===ye&&d.key==null?d.props.children:d)?E:[E],t,n,r,i,a,o,u,l,c),s.base=t.__e,t.__h=null,s.__h.length&&o.push(s),_&&(s.__E=s.__=null)}catch(A){t.__v=null,(l||a!=null)&&(t.__e=u,t.__h=!!l,a[a.indexOf(u)]=null),q.__e(A,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=$g(n.__e,t,n,r,i,a,o,l,c);(d=q.diffed)&&d(t)}function ap(e,t,n){for(var r=0;r<n.length;r++)il(n[r],n[++r],n[++r]);q.__c&&q.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(a){a.call(i)})}catch(a){q.__e(a,i.__v)}})}function $g(e,t,n,r,i,a,o,u,l){var c,d,s,f=n.props,p=t.props,g=t.type,h=0;if(g==="svg"&&(i=!0),a!=null){for(;h<a.length;h++)if((c=a[h])&&"setAttribute"in c==!!g&&(g?c.localName===g:c.nodeType===3)){e=c,a[h]=null;break}}if(e==null){if(g===null)return document.createTextNode(p);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),a=null,u=!1}if(g===null)f===p||u&&e.data===p||(e.data=p);else{if(a=a&&ri.call(e.childNodes),d=(f=n.props||Vn).dangerouslySetInnerHTML,s=p.dangerouslySetInnerHTML,!u){if(a!=null)for(f={},h=0;h<e.attributes.length;h++)f[e.attributes[h].name]=e.attributes[h].value;(s||d)&&(s&&(d&&s.__html==d.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if(Dg(e,p,f,i,u),s)t.__k=[];else if(np(e,_a(h=t.props.children)?h:[h],t,n,r,i&&g!=="foreignObject",a,o,a?a[0]:n.__k&&qr(n,0),u,l),a!=null)for(h=a.length;h--;)a[h]!=null&&ep(a[h]);u||("value"in p&&(h=p.value)!==void 0&&(h!==e.value||g==="progress"&&!h||g==="option"&&h!==f.value)&&Yi(e,"value",h,f.value,!1),"checked"in p&&(h=p.checked)!==void 0&&h!==e.checked&&Yi(e,"checked",h,f.checked,!1))}return e}function il(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){q.__e(r,n)}}function Jo(e,t,n){var r,i;if(q.unmount&&q.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||il(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){q.__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]&&Jo(r[i],t,n||typeof e.type!="function");n||e.__e==null||ep(e.__e),e.__=e.__e=e.__d=void 0}function jg(e,t,n){return this.constructor(e,n)}function Zn(e,t,n){var r,i,a,o;q.__&&q.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],o=[],rl(t,e=(!r&&n||t).__k=j(ye,null,[e]),i||Vn,Vn,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?ri.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),ap(a,e,o)}function al(e,t){Zn(e,t,al)}function op(e,t,n){var r,i,a,o,u=It({},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?ri.call(arguments,2):n),Dr(e.type,u,r||e.key,i||e.ref,null)}function ke(e,t){var n={__c:t="__cC"+Jd++,__: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,Qo(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}ri=Zd.slice,q={__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}},Xd=0,ot.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=It({},this.state),typeof e=="function"&&(e=e(It({},n),this.props)),e&&It(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Qo(this))},ot.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qo(this))},ot.prototype.render=ye,pn=[],Qd=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xo=function(e,t){return e.__v.__b-t.__v.__b},Vi.__r=0,Jd=0;var Dt,de,qa,$s,er=0,up=[],Di=[],js=q.__b,Bs=q.__r,Fs=q.diffed,Us=q.__c,xs=q.unmount;function In(e,t){q.__h&&q.__h(de,e,er||t),er=0;var n=de.__H||(de.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Di}),n.__[e]}function Be(e){return er=1,Cn(fp,e)}function Cn(e,t,n){var r=In(Dt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):fp(void 0,t),function(u){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,u);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=de,!de.u)){var i=function(u,l,c){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(f){return f.__c});if(d.every(function(f){return!f.__N}))return!a||a.call(this,u,l,c);var s=!1;return d.forEach(function(f){if(f.__N){var p=f.__[0];f.__=f.__N,f.__N=void 0,p!==f.__[0]&&(s=!0)}}),!(!s&&r.__c.props===u)&&(!a||a.call(this,u,l,c))};de.u=!0;var a=de.shouldComponentUpdate,o=de.componentWillUpdate;de.componentWillUpdate=function(u,l,c){if(this.__e){var d=a;a=void 0,i(u,l,c),a=d}o&&o.call(this,u,l,c)},de.shouldComponentUpdate=i}return r.__N||r.__}function ce(e,t){var n=In(Dt++,3);!q.__s&&ol(n.__H,t)&&(n.__=e,n.i=t,de.__H.__h.push(n))}function Ln(e,t){var n=In(Dt++,4);!q.__s&&ol(n.__H,t)&&(n.__=e,n.i=t,de.__h.push(n))}function ee(e){return er=5,ue(function(){return{current:e}},[])}function lp(e,t,n){er=6,Ln(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 ue(e,t){var n=In(Dt++,7);return ol(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Gt(e,t){return er=8,ue(function(){return e},t)}function Te(e){var t=de.context[e.__c],n=In(Dt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(de)),t.props.value):e.__}function sp(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function Bg(e){var t=In(Dt++,10),n=Be();return t.__=e,de.componentDidCatch||(de.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function cp(){var e=In(Dt++,11);if(!e.__){for(var t=de.__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 Fg(){for(var e;e=up.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach($i),e.__H.__h.forEach(Zo),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){de=null,js&&js(e)},q.__r=function(e){Bs&&Bs(e),Dt=0;var t=(de=e.__c).__H;t&&(qa===de?(t.__h=[],de.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Di,n.__N=n.i=void 0})):(t.__h.forEach($i),t.__h.forEach(Zo),t.__h=[],Dt=0)),qa=de},q.diffed=function(e){Fs&&Fs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(up.push(t)!==1&&$s===q.requestAnimationFrame||(($s=q.requestAnimationFrame)||Ug)(Fg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Di&&(n.__=n.__V),n.i=void 0,n.__V=Di})),qa=de=null},q.__c=function(e,t){t.some(function(n){try{n.__h.forEach($i),n.__h=n.__h.filter(function(r){return!r.__||Zo(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],q.__e(r,n.__v)}}),Us&&Us(e,t)},q.unmount=function(e){xs&&xs(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{$i(r)}catch(i){t=i}}),n.__H=void 0,t&&q.__e(t,n.__v))};var Hs=typeof requestAnimationFrame=="function";function Ug(e){var t,n=function(){clearTimeout(r),Hs&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Hs&&(t=requestAnimationFrame(n))}function $i(e){var t=de,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),de=t}function Zo(e){var t=de;e.__c=e.__(),de=t}function ol(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function fp(e,t){return typeof t=="function"?t(e):t}let jn;const xg=(e,t)=>{if(jn=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;jn=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?jn=!0:t=location.pathname+location.search;return jn===!0?history.pushState(null,"",t):jn===!1&&history.replaceState(null,"",t),t};function dp(e){const[t,n]=Cn(xg,e.url||location.pathname+location.search),r=jn===!0,i=ue(()=>{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 Ln(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),j(dp.ctx.Provider,{value:i},e.children)}Promise.resolve();dp.ctx=ke({});ke({});const Ks=q.__e;q.__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)}Ks&&Ks(e,t,n)};let zs;function bI(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!zs&&n?al(e,t):Zn(e,t),zs=!0}function pp(e,t){for(var n in t)e[n]=t[n];return e}function eu(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 Ga(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Xi(e){this.props=e}function vp(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:eu(this.props,i)}function r(i){return this.shouldComponentUpdate=n,j(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Xi.prototype=new ot).isPureReactComponent=!0,Xi.prototype.shouldComponentUpdate=function(e,t){return eu(this.props,e)||eu(this.state,t)};var Ws=q.__b;q.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ws&&Ws(e)};var Hg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function fe(e){function t(n){var r=pp({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Hg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qs=function(e,t){return e==null?null:vt(vt(e).map(t))},hp={map:qs,forEach:qs,count:function(e){return e?vt(e).length:0},only:function(e){var t=vt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:vt},Kg=q.__e;q.__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)}Kg(e,t,n,r)};var Gs=q.unmount;function mp(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=pp({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return mp(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 $r(){this.__u=0,this.t=null,this.__b=null}function gp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function bp(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 j(n,a)}return i.displayName="Lazy",i.__f=!0,i}function Un(){this.u=null,this.o=null}q.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Gs&&Gs(e)},($r.prototype=new ot).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=gp(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 d;for(r.setState({__a:r.__b=null});d=r.t.pop();)d.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},$r.prototype.componentWillUnmount=function(){this.t=[]},$r.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]=mp(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&j(ye,null,e.fallback);return i&&(i.__h=null),[j(ye,null,t.__a?null:e.children),i]};var Vs=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 zg(e){return this.getChildContext=function(){return e.context},e.children}function Wg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Zn(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)}}),Zn(j(zg,{context:t.context},e.__v),t.l)}function ul(e,t){var n=j(Wg,{__v:e,i:t});return n.containerInfo=t,n}(Un.prototype=new ot).__a=function(e){var t=this,n=gp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),Vs(t,e,r)):i()};n?n(a):a()}},Un.prototype.render=function(e){this.u=null,this.o=new Map;var t=vt(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},Un.prototype.componentDidUpdate=Un.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Vs(e,n,t)})};var _p=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,qg=/^(?: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]/,Gg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Vg=/[A-Z0-9]/g,Yg=typeof document<"u",Xg=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function wp(e,t,n){return t.__k==null&&(t.textContent=""),Zn(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ep(e,t,n){return al(e,t),typeof n=="function"&&n(),e?e.__c:null}ot.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ot.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ys=q.event;function Qg(){}function Jg(){return this.cancelBubble}function Zg(){return this.defaultPrevented}q.event=function(e){return Ys&&(e=Ys(e)),e.persist=Qg,e.isPropagationStopped=Jg,e.isDefaultPrevented=Zg,e.nativeEvent=e};var ll,e0={enumerable:!1,configurable:!0,get:function(){return this.class}},Xs=q.vnode;q.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||Yg&&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"||Xg(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":Gg.test(a)?a=u:r.indexOf("-")===-1&&qg.test(a)?a=a.replace(Vg,"-$&").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=vt(n.children).forEach(function(l){l.props.selected=i.value.indexOf(l.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=vt(n.children).forEach(function(l){l.props.selected=i.multiple?i.defaultValue.indexOf(l.props.value)!=-1:i.defaultValue==l.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",e0)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=_p,Xs&&Xs(e)};var Qs=q.__r;q.__r=function(e){Qs&&Qs(e),ll=e.__c};var Js=q.diffed;q.diffed=function(e){Js&&Js(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),ll=null};var Op={ReactCurrentDispatcher:{current:{readContext:function(e){return ll.__n[e.__c].props.value}}}},t0="17.0.2";function Sp(e){return j.bind(null,e)}function hr(e){return!!e&&e.$$typeof===_p}function Pp(e){return hr(e)&&e.type===ye}function sl(e){return hr(e)?op.apply(null,arguments):e}function Ap(e){return!!e.__k&&(Zn(null,e),!0)}function Tp(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ip=function(e,t){return e(t)},Cp=function(e,t){return e(t)},Lp=ye;function cl(e){e()}function Rp(e){return e}function kp(){return[!1,cl]}var Np=Ln,Mp=hr;function Dp(e,t){var n=t(),r=Be({h:{__:n,v:t}}),i=r[0].h,a=r[1];return Ln(function(){i.__=n,i.v=t,Ga(i.__,t())||a({h:i})},[e,n,t]),ce(function(){return Ga(i.__,i.v())||a({h:i}),e(function(){Ga(i.__,i.v())||a({h:i})})},[e]),n}var J={useState:Be,useId:cp,useReducer:Cn,useEffect:ce,useLayoutEffect:Ln,useInsertionEffect:Np,useTransition:kp,useDeferredValue:Rp,useSyncExternalStore:Dp,startTransition:cl,useRef:ee,useImperativeHandle:lp,useMemo:ue,useCallback:Gt,useContext:Te,useDebugValue:sp,version:"17.0.2",Children:hp,render:wp,hydrate:Ep,unmountComponentAtNode:Ap,createPortal:ul,createElement:j,createContext:ke,createFactory:Sp,cloneElement:sl,createRef:Wr,Fragment:ye,isValidElement:hr,isElement:Mp,isFragment:Pp,findDOMNode:Tp,Component:ot,PureComponent:Xi,memo:vp,forwardRef:fe,flushSync:Cp,unstable_batchedUpdates:Ip,StrictMode:Lp,Suspense:$r,SuspenseList:Un,lazy:bp,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Op};const tr=Object.freeze(Object.defineProperty({__proto__:null,Children:hp,Component:ot,Fragment:ye,PureComponent:Xi,StrictMode:Lp,Suspense:$r,SuspenseList:Un,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Op,cloneElement:sl,createContext:ke,createElement:j,createFactory:Sp,createPortal:ul,createRef:Wr,default:J,findDOMNode:Tp,flushSync:Cp,forwardRef:fe,hydrate:Ep,isElement:Mp,isFragment:Pp,isValidElement:hr,lazy:bp,memo:vp,render:wp,startTransition:cl,unmountComponentAtNode:Ap,unstable_batchedUpdates:Ip,useCallback:Gt,useContext:Te,useDebugValue:sp,useDeferredValue:Rp,useEffect:ce,useErrorBoundary:Bg,useId:cp,useImperativeHandle:lp,useInsertionEffect:Np,useLayoutEffect:Ln,useMemo:ue,useReducer:Cn,useRef:ee,useState:Be,useSyncExternalStore:Dp,useTransition:kp,version:t0},Symbol.toStringTag,{value:"Module"}));var $p={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||s,scrollIntoView:a.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(y){var w=["MSIE ","Trident/","Edge/"];return new RegExp(w.join("|")).test(y)}var d=c(r.navigator.userAgent)?1:0;function s(y,w){this.scrollLeft=y,this.scrollTop=w}function f(y){return .5*(1-Math.cos(Math.PI*y))}function p(y){if(y===null||typeof y!="object"||y.behavior===void 0||y.behavior==="auto"||y.behavior==="instant")return!0;if(typeof y=="object"&&y.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+y.behavior+" is not a valid value for enumeration ScrollBehavior.")}function g(y,w){if(w==="Y")return y.clientHeight+d<y.scrollHeight;if(w==="X")return y.clientWidth+d<y.scrollWidth}function h(y,w){var S=r.getComputedStyle(y,null)["overflow"+w];return S==="auto"||S==="scroll"}function _(y){var w=g(y,"Y")&&h(y,"Y"),S=g(y,"X")&&h(y,"X");return w||S}function b(y){for(;y!==i.body&&_(y)===!1;)y=y.parentNode||y.host;return y}function m(y){var w=l(),S,O,E,P=(w-y.startTime)/o;P=P>1?1:P,S=f(P),O=y.startX+(y.x-y.startX)*S,E=y.startY+(y.y-y.startY)*S,y.method.call(y.scrollable,O,E),(O!==y.x||E!==y.y)&&r.requestAnimationFrame(m.bind(r,y))}function v(y,w,S){var O,E,P,A,L=l();y===i.body?(O=r,E=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(O=y,E=y.scrollLeft,P=y.scrollTop,A=s),m({scrollable:O,method:A,startTime:L,startX:E,startY:P,x:w,y:S})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(p(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}v.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(p(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}v.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(p(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 y=arguments[0].left,w=arguments[0].top;v.call(this,this,typeof y>"u"?this.scrollLeft:~~y,typeof w>"u"?this.scrollTop:~~w)}},a.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(p(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(p(arguments[0])===!0){u.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var y=b(this),w=y.getBoundingClientRect(),S=this.getBoundingClientRect();y!==i.body?(v.call(this,y,y.scrollLeft+S.left-w.left,y.scrollTop+S.top-w.top),r.getComputedStyle(y).position!=="fixed"&&r.scrollBy({left:w.left,top:w.top,behavior:"smooth"})):r.scrollBy({left:S.left,top:S.top,behavior:"smooth"})}}e.exports={polyfill:n}})()})($p);var n0=$p.exports;const _I=Tn(n0);function wI(e,t){return t=t||{},new Promise(function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},l=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:l,headers:{keys:function(){return a},entries:function(){return o},get:function(d){return u[d.toLowerCase()]},has:function(d){return d.toLowerCase()in u}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(d,s,f){a.push(s=s.toLowerCase()),o.push([s,f]),u[s]=u[s]?u[s]+","+f:f}),n(l())},i.onerror=r,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)})}var Zs=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function r0(e,t){return!!(e===t||Zs(e)&&Zs(t))}function i0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!r0(e[n],t[n]))return!1;return!0}function EI(e,t){t===void 0&&(t=i0);var n,r=[],i,a=!1;function o(){for(var u=[],l=0;l<arguments.length;l++)u[l]=arguments[l];return a&&n===this&&t(u,r)||(i=e.apply(this,u),a=!0,n=this,r=u),i}return o}var a0=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),u=Object.keys(n);if(o.length!==u.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var d=o[c];if(!l(d))return!1;var s=t[d],f=n[d];if(a=r?r.call(i,s,f,d):void 0,a===!1||a===void 0&&s!==f)return!1}return!0};const OI=Tn(a0);globalThis&&globalThis.__spreadArray;function o0(e){return e}function u0(e){return function(){return e}}var l0=u0(void 0);function SI(e,t,n,r,i,a,o,u,l){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 l(u(o(a(i(r(n(t(e))))))));default:{for(var c=arguments[0],d=1;d<arguments.length;d++)c=arguments[d](c);return c}}}globalThis&&globalThis.__spreadArray;var s0=function(e){return e._tag==="Some"},c0={_tag:"None"},f0=function(e){return{_tag:"Some",value:e}},fl=c0,jp=f0,PI=function(e){return function(t){return wa(t)?fl:jp(e(t.value))}},AI=s0,wa=function(e){return e._tag==="None"},d0=function(e,t){return function(n){return wa(n)?e():t(n.value)}},Bp=d0,TI=Bp,p0=function(e){return function(t){return wa(t)?e():t.value}},II=p0,v0=function(e){return e==null?fl:jp(e)},CI=function(e){return function(t){return wa(t)?fl:v0(e(t.value))}},LI=Bp(l0,o0);function Qi(){return Qi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qi.apply(this,arguments)}var xn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(xn||(xn={}));var ec=function(e){return e},tc="beforeunload",h0="hashchange",m0="popstate";function RI(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function a(){var E=ic(r.location.hash.substr(1)),P=E.pathname,A=P===void 0?"/":P,L=E.search,N=L===void 0?"":L,$=E.hash,C=$===void 0?"":$,I=i.state||{};return[I.idx,ec({pathname:A,search:N,hash:C,state:I.usr||null,key:I.key||"default"})]}var o=null;function u(){if(o)p.call(o),o=null;else{var E=xn.Pop,P=a(),A=P[0],L=P[1];if(p.length){if(A!=null){var N=d-A;N&&(o={action:E,location:L,retry:function(){S(N*-1)}},S(N))}}else v(E)}}r.addEventListener(m0,u),r.addEventListener(h0,function(){var E=a(),P=E[1];Va(P)!==Va(s)&&u()});var l=xn.Pop,c=a(),d=c[0],s=c[1],f=rc(),p=rc();d==null&&(d=0,i.replaceState(Qi({},i.state,{idx:d}),""));function g(){var E=document.querySelector("base"),P="";if(E&&E.getAttribute("href")){var A=r.location.href,L=A.indexOf("#");P=L===-1?A:A.slice(0,L)}return P}function h(E){return g()+"#"+(typeof E=="string"?E:Va(E))}function _(E,P){return P===void 0&&(P=null),ec(Qi({pathname:s.pathname,hash:"",search:""},typeof E=="string"?ic(E):E,{state:P,key:y0()}))}function b(E,P){return[{usr:E.state,key:E.key,idx:P},h(E)]}function m(E,P,A){return!p.length||(p.call({action:E,location:P,retry:A}),!1)}function v(E){l=E;var P=a();d=P[0],s=P[1],f.call({action:l,location:s})}function y(E,P){var A=xn.Push,L=_(E,P);function N(){y(E,P)}if(m(A,L,N)){var $=b(L,d+1),C=$[0],I=$[1];try{i.pushState(C,"",I)}catch{r.location.assign(I)}v(A)}}function w(E,P){var A=xn.Replace,L=_(E,P);function N(){w(E,P)}if(m(A,L,N)){var $=b(L,d),C=$[0],I=$[1];i.replaceState(C,"",I),v(A)}}function S(E){i.go(E)}var O={get action(){return l},get location(){return s},createHref:h,push:y,replace:w,go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(P){return f.push(P)},block:function(P){var A=p.push(P);return p.length===1&&r.addEventListener(tc,nc),function(){A(),p.length||r.removeEventListener(tc,nc)}}};return O}function nc(e){e.preventDefault(),e.returnValue=""}function rc(){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 y0(){return Math.random().toString(36).substr(2,8)}function Va(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 ic(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 g0={};function Fp(e,t){for(var n in t)e[n]=t[n];return e}function Up(e,t,n){var r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),a={},o;if(i&&i[1])for(var u=i[1].split("&"),l=0;l<u.length;l++){var c=u[l].split("=");a[decodeURIComponent(c[0])]=decodeURIComponent(c.slice(1).join("="))}e=tu(e.replace(r,"")),t=tu(t||"");for(var d=Math.max(e.length,t.length),s=0;s<d;s++)if(t[s]&&t[s].charAt(0)===":"){var f=t[s].replace(/(^:|[+*?]+$)/g,""),p=(t[s].match(/[+*?]+$/)||g0)[0]||"",g=~p.indexOf("+"),h=~p.indexOf("*"),_=e[s]||"";if(!_&&!h&&(p.indexOf("?")<0||g)){o=!1;break}if(a[f]=decodeURIComponent(_),g||h){a[f]=e.slice(s).map(decodeURIComponent).join("/");break}}else if(t[s]!==e[s]){o=!1;break}return n.default!==!0&&o===!1?!1:a}function b0(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function _0(e,t){return e.index=t,e.rank=O0(e),e.props}function tu(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function w0(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function E0(e){return tu(e).map(w0).join("")}function O0(e){return e.props.default?0:E0(e.props.path)}var Je=null,gn=[],nu=[],S0={};function P0(e,t){t===void 0&&(t="push"),Je&&Je[t]?Je[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function dl(){var e;return Je&&Je.location?e=Je.location:Je&&Je.getCurrentLocation?e=Je.getCurrentLocation():e=typeof location<"u"?location:S0,""+(e.pathname||"")+(e.search||"")}function xp(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),A0(e)&&P0(e,t?"replace":"push"),Hp(e)}function A0(e){for(var t=gn.length;t--;)if(gn[t].canRoute(e))return!0;return!1}function Hp(e){for(var t=!1,n=0;n<gn.length;n++)gn[n].routeTo(e)===!0&&(t=!0);for(var r=nu.length;r--;)nu[r](e);return t}function Kp(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 xp(t)}}function T0(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return Kp(e.currentTarget||e.target||this),zp(e)}function zp(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function I0(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(Kp(t))return zp(e)}while(t=t.parentNode)}}var ac=!1;function C0(){ac||(typeof addEventListener=="function"&&(Je||addEventListener("popstate",function(){Hp(dl())}),addEventListener("click",I0)),ac=!0)}var nn=function(e){function t(n){e.call(this,n),n.history&&(Je=n.history),this.state={url:n.url||dl()},C0()}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=vt(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(){gn.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;Je&&(this.unlisten=Je.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),gn.splice(gn.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(_0).sort(b0).map(function(o){var u=Up(i,o.props.path,o.props);if(u){if(a!==!1){var l={url:i,matches:u};return Fp(l,u),delete l.ref,delete l.key,op(o,l)}return o}}).filter(Boolean)},t.prototype.render=function(r,i){var a=r.children,o=r.onChange,u=i.url,l=this.getMatchingChildren(vt(a),u,!0),c=l[0]||null,d=this.previousUrl;return u!==d&&(this.previousUrl=u,typeof o=="function"&&o({router:this,url:u,previous:d,active:l,current:c})),c},t}(ot),L0=function(e){return j("a",Fp({onClick:T0},e))},R0=function(e){return j(e.component,e)};nn.subscribers=nu;nn.getCurrentUrl=dl;nn.route=xp;nn.Router=nn;nn.Route=R0;nn.Link=L0;nn.exec=Up;const k0="application/json",Wp="Content-Type",kn=Symbol(),qp=Symbol();function oc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===Wp.toLowerCase()))===null||t===void 0?void 0:t[1]}function uc(e){return/^application\/.*json.*/.test(e)}const bn=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]=bn(o,a,n):r[i]=a,r},{...e})},nr={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 N0(e,t=!1){nr.options=t?e:bn(nr.options,e)}function M0(e,t=!1){nr.polyfills=t?e:bn(nr.polyfills,e)}function D0(e){nr.errorType=e}const $0=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Gp extends Error{}const j0=e=>{const t=Object.create(null);e=e._addons.reduce((v,y)=>y.beforeRequest&&y.beforeRequest(v,e._options,t)||v,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:l}=e,c=new Map(a),d=bn(i.options,r);let s=n;const f=$0(u)((v,y)=>(s=v,i.polyfill("fetch")(v,y)))(n,d),p=new Error,g=f.catch(v=>{throw{[kn]:v}}).then(v=>{if(!v.ok){const y=new Gp;if(y.cause=p,y.stack=y.stack+`
4
- CAUSE: `+p.stack,y.response=v,y.url=s,v.type==="opaque")throw y;return v.text().then(w=>{var S;if(y.message=w,i.errorType==="json"||((S=v.headers.get("Content-Type"))===null||S===void 0?void 0:S.split(";")[0])==="application/json")try{y.json=JSON.parse(w)}catch{}throw y.text=w,y.status=v.status,y})}return v}),h=v=>v.catch(y=>{const w=y.hasOwnProperty(kn),S=w?y[kn]:y,O=(S==null?void 0:S.status)&&c.get(S.status)||c.get(S==null?void 0:S.name)||w&&c.has(kn)&&c.get(kn);if(O)return O(S,e);const E=c.get(qp);if(E)return E(S,e);throw S}),_=v=>y=>h(v?g.then(w=>w&&w[v]()).then(w=>y?y(w):w):g.then(w=>y?y(w):w)),b={_wretchReq:e,_fetchReq:f,_sharedState:t,res:_(null),json:_("json"),blob:_("blob"),formData:_("formData"),arrayBuffer:_("arrayBuffer"),text:_("text"),error(v,y){return c.set(v,y),this},badRequest(v){return this.error(400,v)},unauthorized(v){return this.error(401,v)},forbidden(v){return this.error(403,v)},notFound(v){return this.error(404,v)},timeout(v){return this.error(408,v)},internalError(v){return this.error(500,v)},fetchError(v){return this.error(kn,v)}},m=l.reduce((v,y)=>({...v,...y.resolver}),b);return o.reduce((v,y)=>y(v,e),m)},B0={_url:"",_options:{},_config:nr,_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:bn(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:bn(this._options,e)}},headers(e){return{...this,_options:bn(this._options,{headers:e||{}})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[Wp]: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(qp,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=oc(r._options.headers),a=typeof n=="object"&&(!r._options.headers||!i||uc(i));return r=n?a?r.json(n,i):r.body(n):r,j0(r._deferred.reduce((o,u)=>u(o,o._url,o._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=oc(this._options.headers);return this.content(t||uc(n)&&n||k0).body(JSON.stringify(e))}};function rr(e="",t={}){return{...B0,_url:e,_options:t}}rr.default=rr;rr.options=N0;rr.errorType=D0;rr.polyfills=M0;rr.WretchError=Gp;var F0=0;function kI(e,t,n,r,i,a){var o,u,l={};for(u in t)u=="ref"?o=t[u]:l[u]=t[u];var c={type:e,props:l,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--F0,__source:i,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(u in o)l[u]===void 0&&(l[u]=o[u]);return q.vnode&&q.vnode(c),c}var lt={};(function(e){var t=Q&&Q.__spreadArray||function(O,E,P){if(P||arguments.length===2)for(var A=0,L=E.length,N;A<L;A++)(N||!(A in E))&&(N||(N=Array.prototype.slice.call(E,0,A)),N[A]=E[A]);return O.concat(N||Array.prototype.slice.call(E))};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(O){return function(){return{meet:function(E,P){return function(A){return O.meet(E(A),P(A))}},join:function(E,P){return function(A){return O.join(E(A),P(A))}},zero:function(){return O.zero},one:function(){return O.one},implies:function(E,P){return function(A){return O.implies(E(A),P(A))}},not:function(E){return function(P){return O.not(E(P))}}}}};e.getBooleanAlgebra=n;var r=function(O){return function(){return{concat:function(E,P){return function(A){return O.concat(E(A),P(A))}}}}};e.getSemigroup=r;var i=function(O){var E=(0,e.getSemigroup)(O);return function(){return{concat:E().concat,empty:function(){return O.empty}}}};e.getMonoid=i;var a=function(O){return{add:function(E,P){return function(A){return O.add(E(A),P(A))}},zero:function(){return O.zero},mul:function(E,P){return function(A){return O.mul(E(A),P(A))}},one:function(){return O.one}}};e.getSemiring=a;var o=function(O){var E=(0,e.getSemiring)(O);return{add:E.add,mul:E.mul,one:E.one,zero:E.zero,sub:function(P,A){return function(L){return O.sub(P(L),A(L))}}}};e.getRing=o;var u=function(O){return function(E){return E(O)}};e.apply=u;function l(O){return O}e.identity=l,e.unsafeCoerce=l;function c(O){return function(){return O}}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 d(O){return function(){for(var E=[],P=0;P<arguments.length;P++)E[P]=arguments[P];return E.length>1?O(E[1],E[0]):function(A){return O(A)(E[0])}}}e.flip=d;function s(O,E,P,A,L,N,$,C,I){switch(arguments.length){case 1:return O;case 2:return function(){return E(O.apply(this,arguments))};case 3:return function(){return P(E(O.apply(this,arguments)))};case 4:return function(){return A(P(E(O.apply(this,arguments))))};case 5:return function(){return L(A(P(E(O.apply(this,arguments)))))};case 6:return function(){return N(L(A(P(E(O.apply(this,arguments))))))};case 7:return function(){return $(N(L(A(P(E(O.apply(this,arguments)))))))};case 8:return function(){return C($(N(L(A(P(E(O.apply(this,arguments))))))))};case 9:return function(){return I(C($(N(L(A(P(E(O.apply(this,arguments)))))))))}}}e.flow=s;function f(){for(var O=[],E=0;E<arguments.length;E++)O[E]=arguments[E];return O}e.tuple=f;function p(O){return O+1}e.increment=p;function g(O){return O-1}e.decrement=g;function h(O){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=h;function _(O){return function(E){return O.apply(void 0,E)}}e.tupled=_;function b(O){return function(){for(var E=[],P=0;P<arguments.length;P++)E[P]=arguments[P];return O(E)}}e.untupled=b;function m(O,E,P,A,L,N,$,C,I){switch(arguments.length){case 1:return O;case 2:return E(O);case 3:return P(E(O));case 4:return A(P(E(O)));case 5:return L(A(P(E(O))));case 6:return N(L(A(P(E(O)))));case 7:return $(N(L(A(P(E(O))))));case 8:return C($(N(L(A(P(E(O)))))));case 9:return I(C($(N(L(A(P(E(O))))))));default:{for(var R=arguments[0],D=1;D<arguments.length;D++)R=arguments[D](R);return R}}}e.pipe=m,e.hole=h;var v=function(O,E){return E};e.SK=v;function y(O){return function(E){return!O(E)}}e.not=y;var w=function(){return{concat:function(O,E){return s(O,E)},empty:l}};e.getEndomorphismMonoid=w;var S=function(O,E){var P=typeof O=="number"?function(A){return A.length>=O}:O;return function(){var A=Array.from(arguments);return P(arguments)?E.apply(this,A):function(L){return E.apply(void 0,t([L],A,!1))}}};e.dual=S})(lt);function ft(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 ir(e){return!!e&&!!e[et]}function Sn(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)===G0}(e)||Array.isArray(e)||!!e[hc]||!!(!((t=e.constructor)===null||t===void 0)&&t[hc])||pl(e)||vl(e))}function Gr(e,t,n){n===void 0&&(n=!1),mr(e)===0?(n?Object.keys:bl)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function mr(e){var t=e[et];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:pl(e)?2:vl(e)?3:0}function ru(e,t){return mr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function U0(e,t){return mr(e)===2?e.get(t):e[t]}function Vp(e,t,n){var r=mr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function x0(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function pl(e){return W0&&e instanceof Map}function vl(e){return q0&&e instanceof Set}function fn(e){return e.o||e.t}function hl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=V0(e);delete t[et];for(var n=bl(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 ml(e,t){return t===void 0&&(t=!1),yl(e)||ir(e)||!Sn(e)||(mr(e)>1&&(e.set=e.add=e.clear=e.delete=H0),Object.freeze(e),t&&Gr(e,function(n,r){return ml(r,!0)},!0)),e}function H0(){ft(2)}function yl(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Et(e){var t=Y0[e];return t||ft(18,e),t}function lc(){return Vr}function Ya(e,t){t&&(Et("Patches"),e.u=[],e.s=[],e.v=t)}function Ji(e){iu(e),e.p.forEach(K0),e.p=null}function iu(e){e===Vr&&(Vr=e.l)}function sc(e){return Vr={p:[],l:Vr,h:e,m:!0,_:0}}function K0(e){var t=e[et];t.i===0||t.i===1?t.j():t.g=!0}function Xa(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Et("ES5").S(t,e,r),r?(n[et].P&&(Ji(t),ft(4)),Sn(e)&&(e=Zi(t,e),t.l||ea(t,e)),t.u&&Et("Patches").M(n[et].t,e,t.u,t.s)):e=Zi(t,n,[]),Ji(t),t.u&&t.v(t.u,t.s),e!==Yp?e:void 0}function Zi(e,t,n){if(yl(t))return t;var r=t[et];if(!r)return Gr(t,function(u,l){return cc(e,r,t,u,l,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=hl(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),Gr(a,function(u,l){return cc(e,r,i,u,l,n,o)}),ea(e,i,!1),n&&e.u&&Et("Patches").N(r,n,e.u,e.s)}return r.o}function cc(e,t,n,r,i,a,o){if(ir(i)){var u=Zi(e,i,a&&t&&t.i!==3&&!ru(t.R,r)?a.concat(r):void 0);if(Vp(n,r,u),!ir(u))return;e.m=!1}else o&&n.add(i);if(Sn(i)&&!yl(i)){if(!e.h.D&&e._<1)return;Zi(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&&ml(t,n)}function Qa(e,t){var n=e[et];return(n?fn(n):e)[t]}function fc(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 au(e){e.P||(e.P=!0,e.l&&au(e.l))}function Ja(e){e.o||(e.o=hl(e.t))}function ou(e,t,n){var r=pl(t)?Et("MapSet").F(t,n):vl(t)?Et("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:lc(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=u,c=uu;o&&(l=[u],c=kr);var d=Proxy.revocable(l,c),s=d.revoke,f=d.proxy;return u.k=f,u.j=s,f}(t,n):Et("ES5").J(t,n);return(n?n.A:lc()).p.push(r),r}function z0(e){return ir(e)||ft(22,e),function t(n){if(!Sn(n))return n;var r,i=n[et],a=mr(n);if(i){if(!i.P&&(i.i<4||!Et("ES5").K(i)))return i.t;i.I=!0,r=dc(n,a),i.I=!1}else r=dc(n,a);return Gr(r,function(o,u){i&&U0(i.t,o)===u||Vp(r,o,t(u))}),a===3?new Set(r):r}(e)}function dc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return hl(e)}var pc,Vr,gl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",W0=typeof Map<"u",q0=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Yp=gl?Symbol.for("immer-nothing"):((pc={})["immer-nothing"]=!0,pc),hc=gl?Symbol.for("immer-draftable"):"__$immer_draftable",et=gl?Symbol.for("immer-state"):"__$immer_state",G0=""+Object.prototype.constructor,bl=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,V0=Object.getOwnPropertyDescriptors||function(e){var t={};return bl(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},Y0={},uu={get:function(e,t){if(t===et)return e;var n=fn(e);if(!ru(n,t))return function(i,a,o){var u,l=fc(a,o);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!Sn(r)?r:r===Qa(e.t,t)?(Ja(e),e.o[t]=ou(e.A.h,r,e)):r},has:function(e,t){return t in fn(e)},ownKeys:function(e){return Reflect.ownKeys(fn(e))},set:function(e,t,n){var r=fc(fn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=Qa(fn(e),t),a=i==null?void 0:i[et];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(x0(n,i)&&(n!==void 0||ru(e.t,t)))return!0;Ja(e),au(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 Qa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ja(e),au(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=fn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){ft(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ft(12)}},kr={};Gr(uu,function(e,t){kr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),kr.deleteProperty=function(e,t){return kr.set.call(this,e,t,void 0)},kr.set=function(e,t,n){return uu.set.call(this,e[0],t,n,e[0])};var X0=function(){function e(n){var r=this;this.O=vc,this.D=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var u=a;a=i;var l=r;return function(h){var _=this;h===void 0&&(h=u);for(var b=arguments.length,m=Array(b>1?b-1:0),v=1;v<b;v++)m[v-1]=arguments[v];return l.produce(h,function(y){var w;return(w=a).call.apply(w,[_,y].concat(m))})}}var c;if(typeof a!="function"&&ft(6),o!==void 0&&typeof o!="function"&&ft(7),Sn(i)){var d=sc(r),s=ou(r,i,void 0),f=!0;try{c=a(s),f=!1}finally{f?Ji(d):iu(d)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return Ya(d,o),Xa(h,d)},function(h){throw Ji(d),h}):(Ya(d,o),Xa(c,d))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===Yp&&(c=void 0),r.D&&ml(c,!0),o){var p=[],g=[];Et("Patches").M(i,c,p,g),o(p,g)}return c}ft(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(c){for(var d=arguments.length,s=Array(d>1?d-1:0),f=1;f<d;f++)s[f-1]=arguments[f];return r.produceWithPatches(c,function(p){return i.apply(void 0,[p].concat(s))})};var o,u,l=r.produce(i,a,function(c,d){o=c,u=d});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,o,u]}):[l,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){Sn(n)||ft(8),ir(n)&&(n=z0(n));var r=sc(this),i=ou(this,n,void 0);return i[et].C=!0,iu(r),i},t.finishDraft=function(n,r){var i=n&&n[et],a=i.A;return Ya(a,r),Xa(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!vc&&ft(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=Et("Patches").$;return ir(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),tt=new X0,NI=tt.produce;tt.produceWithPatches.bind(tt);tt.setAutoFreeze.bind(tt);tt.setUseProxies.bind(tt);tt.applyPatches.bind(tt);tt.createDraft.bind(tt);tt.finishDraft.bind(tt);var Q0={},ar={},Fe={},yr={};(function(e){var t=Q&&Q.__spreadArray||function(O,E,P){if(P||arguments.length===2)for(var A=0,L=E.length,N;A<L;A++)(N||!(A in E))&&(N||(N=Array.prototype.slice.call(E,0,A)),N[A]=E[A]);return O.concat(N||Array.prototype.slice.call(E))};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=lt,r=function(O){return O._tag==="None"};e.isNone=r;var i=function(O){return O._tag==="Some"};e.isSome=i,e.none={_tag:"None"};var a=function(O){return{_tag:"Some",value:O}};e.some=a;var o=function(O){return O._tag==="Left"};e.isLeft=o;var u=function(O){return O._tag==="Right"};e.isRight=u;var l=function(O){return{_tag:"Left",left:O}};e.left=l;var c=function(O){return{_tag:"Right",right:O}};e.right=c;var d=function(O){return[O]};e.singleton=d;var s=function(O){return O.length>0};e.isNonEmpty=s;var f=function(O){return O[0]};e.head=f;var p=function(O){return O.slice(1)};e.tail=p,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var g=function(O){return t([O[0]],O.slice(1),!0)};e.fromReadonlyNonEmptyArray=g;var h=function(O){return function(E,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var N=E.apply(void 0,A);return O.fromEither(N==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)(N))}}};e.liftNullable=h;var _=function(O){return function(E,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var N=E.apply(void 0,A);return O.fromEither((0,e.isNone)(N)?(0,e.left)(P.apply(void 0,A)):(0,e.right)(N.value))}}};e.liftOption=_;var b=function(O,E){return(0,n.dual)(3,function(P,A,L){return E.flatMap(P,(0,e.liftNullable)(O)(A,L))})};e.flatMapNullable=b;var m=function(O,E){return(0,n.dual)(3,function(P,A,L){return E.flatMap(P,(0,e.liftOption)(O)(A,L))})};e.flatMapOption=m;var v=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromEither(A(L))})})};e.flatMapEither=v;var y=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromIO(A(L))})})};e.flatMapIO=y;var w=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromTask(A(L))})})};e.flatMapTask=w;var S=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromReader(A(L))})})};e.flatMapReader=S})(yr);var J0=Q&&Q.__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]}),Z0=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),eb=Q&&Q.__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)&&J0(t,e,n);return Z0(t,e),t};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.sequenceS=Fe.sequenceT=Fe.getApplySemigroup=Fe.apS=Fe.apSecond=Fe.apFirst=Fe.ap=void 0;var tb=lt,nb=eb(yr);function rb(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)}}}Fe.ap=rb;function ib(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}Fe.apFirst=ib;function ab(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}Fe.apSecond=ab;function ob(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)}}}Fe.apS=ob;function ub(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)}}}}Fe.getApplySemigroup=ub;function _l(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):_l(e,t-1,i)}}var Za={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 lb(e){return nb.has.call(Za,e)||(Za[e]=_l(tb.tuple,e-1,[])),Za[e]}function sb(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=lb(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}Fe.sequenceT=sb;function cb(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 _l(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 fb(e){return function(t){for(var n=Object.keys(t),r=n.length,i=cb(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}Fe.sequenceS=fb;var je={};Object.defineProperty(je,"__esModule",{value:!0});je.asUnit=je.as=je.getFunctorComposition=je.let=je.bindTo=je.flap=je.map=void 0;var db=lt;function Xp(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}je.map=Xp;function pb(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}je.flap=pb;function vb(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}je.bindTo=vb;function hb(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))})}}}je.let=hb;function mb(e,t){var n=Xp(e,t);return{map:function(r,i){return(0,db.pipe)(r,n(i))}}}je.getFunctorComposition=mb;function Qp(e){return function(t,n){return e.map(t,function(){return n})}}je.as=Qp;function yb(e){var t=Qp(e);return function(n){return t(n,void 0)}}je.asUnit=yb;Object.defineProperty(ar,"__esModule",{value:!0});ar.getApplicativeComposition=ar.getApplicativeMonoid=void 0;var Jp=Fe,gb=lt,bb=je;function _b(e){var t=(0,Jp.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}ar.getApplicativeMonoid=_b;function wb(e,t){var n=(0,bb.getFunctorComposition)(e,t).map,r=(0,Jp.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,gb.pipe)(i,r(a))}}}ar.getApplicativeComposition=wb;var Rt={};Object.defineProperty(Rt,"__esModule",{value:!0});Rt.bind=Rt.tap=Rt.chainFirst=void 0;function Eb(e){var t=Zp(e);return function(n){return function(r){return t(r,n)}}}Rt.chainFirst=Eb;function Zp(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}Rt.tap=Zp;function Ob(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))})})}}}Rt.bind=Ob;var Pe={},Sb=Q&&Q.__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]}),Pb=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ab=Q&&Q.__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)&&Sb(t,e,n);return Pb(t,e),t};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.tapEither=Pe.filterOrElse=Pe.chainFirstEitherK=Pe.chainEitherK=Pe.fromEitherK=Pe.chainOptionK=Pe.fromOptionK=Pe.fromPredicate=Pe.fromOption=void 0;var Tb=Rt,ev=lt,_n=Ab(yr);function tv(e){return function(t){return function(n){return e.fromEither(_n.isNone(n)?_n.left(t()):_n.right(n.value))}}}Pe.fromOption=tv;function Ib(e){return function(t,n){return function(r){return e.fromEither(t(r)?_n.right(r):_n.left(n(r)))}}}Pe.fromPredicate=Ib;function nv(e){var t=tv(e);return function(n){var r=t(n);return function(i){return(0,ev.flow)(i,r)}}}Pe.fromOptionK=nv;function Cb(e,t){var n=nv(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Pe.chainOptionK=Cb;function wl(e){return function(t){return(0,ev.flow)(t,e.fromEither)}}Pe.fromEitherK=wl;function Lb(e,t){var n=wl(e);return function(r){return function(i){return t.chain(i,n(r))}}}Pe.chainEitherK=Lb;function Rb(e,t){var n=rv(e,t);return function(r){return function(i){return n(i,r)}}}Pe.chainFirstEitherK=Rb;function kb(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?_n.right(a):_n.left(r(a)))})}}}Pe.filterOrElse=kb;function rv(e,t){var n=wl(e),r=(0,Tb.tap)(t);return function(i,a){return r(i,n(a))}}Pe.tapEither=rv;var iv={};(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=lt,n=function(s,f){return(0,t.pipe)(s,(0,e.contramap)(f))},r=function(s){return function(f){return(0,t.flow)(s,f)}};e.contramap=r,e.URI="Predicate";var i=function(){return{concat:function(s,f){return(0,t.pipe)(s,(0,e.or)(f))}}};e.getSemigroupAny=i;var a=function(){return{concat:(0,e.getSemigroupAny)().concat,empty:t.constFalse}};e.getMonoidAny=a;var o=function(){return{concat:function(s,f){return(0,t.pipe)(s,(0,e.and)(f))}}};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 l=function(s){return function(f){return!s(f)}};e.not=l;var c=function(s){return function(f){return function(p){return f(p)||s(p)}}};e.or=c;var d=function(s){return function(f){return function(p){return f(p)&&s(p)}}};e.and=d})(iv);var av={},at={};Object.defineProperty(at,"__esModule",{value:!0});at.concatAll=at.endo=at.filterSecond=at.filterFirst=at.reverse=void 0;var Nb=function(e){return{concat:function(t,n){return e.concat(n,t)}}};at.reverse=Nb;var Mb=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};at.filterFirst=Mb;var Db=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};at.filterSecond=Db;var $b=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};at.endo=$b;var jb=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};at.concatAll=jb;var ov={},uv={};(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=lt,n=function(d){return{equals:function(s,f){return s===f||d(s,f)}}};e.fromEquals=n;var r=function(d){return(0,e.fromEquals)(function(s,f){for(var p in d)if(!d[p].equals(s[p],f[p]))return!1;return!0})};e.struct=r;var i=function(){for(var d=[],s=0;s<arguments.length;s++)d[s]=arguments[s];return(0,e.fromEquals)(function(f,p){return d.every(function(g,h){return g.equals(f[h],p[h])})})};e.tuple=i;var a=function(d,s){return(0,t.pipe)(d,(0,e.contramap)(s))},o=function(d){return function(s){return(0,e.fromEquals)(function(f,p){return s.equals(d(f),d(p))})}};e.contramap=o,e.URI="Eq",e.eqStrict={equals:function(d,s){return d===s}};var u={equals:function(){return!0}},l=function(){return{concat:function(d,s){return(0,e.fromEquals)(function(f,p){return d.equals(f,p)&&s.equals(f,p)})}}};e.getSemigroup=l;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(d,s){return d.valueOf()===s.valueOf()}}})(uv);(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=uv,n=lt,r=function(S){return function(O,E){return O===E||S(O,E)===0}};e.equalsDefault=r;var i=function(S){return{equals:(0,e.equalsDefault)(S),compare:function(O,E){return O===E?0:S(O,E)}}};e.fromCompare=i;var a=function(){for(var S=[],O=0;O<arguments.length;O++)S[O]=arguments[O];return(0,e.fromCompare)(function(E,P){for(var A=0;A<S.length-1;A++){var L=S[A].compare(E[A],P[A]);if(L!==0)return L}return S[A].compare(E[A],P[A])})};e.tuple=a;var o=function(S){return(0,e.fromCompare)(function(O,E){return S.compare(E,O)})};e.reverse=o;var u=function(S,O){return(0,n.pipe)(S,(0,e.contramap)(O))},l=function(S){return function(O){return(0,e.fromCompare)(function(E,P){return O.compare(S(E),S(P))})}};e.contramap=l,e.URI="Ord";var c=function(){return{concat:function(S,O){return(0,e.fromCompare)(function(E,P){var A=S.compare(E,P);return A!==0?A:O.compare(E,P)})}}};e.getSemigroup=c;var d=function(){return{concat:(0,e.getSemigroup)().concat,empty:(0,e.fromCompare)(function(){return 0})}};e.getMonoid=d,e.Contravariant={URI:e.URI,contramap:u},e.trivial={equals:n.constTrue,compare:(0,n.constant)(0)};var s=function(S){return function(O){return function(E){return E===O||S.compare(E,O)===0}}};e.equals=s;var f=function(S){return function(O,E){return S.compare(O,E)===-1}};e.lt=f;var p=function(S){return function(O,E){return S.compare(O,E)===1}};e.gt=p;var g=function(S){return function(O,E){return S.compare(O,E)!==1}};e.leq=g;var h=function(S){return function(O,E){return S.compare(O,E)!==-1}};e.geq=h;var _=function(S){return function(O,E){return O===E||S.compare(O,E)<1?O:E}};e.min=_;var b=function(S){return function(O,E){return O===E||S.compare(O,E)>-1?O:E}};e.max=b;var m=function(S){var O=(0,e.min)(S),E=(0,e.max)(S);return function(P,A){return function(L){return E(O(L,A),P)}}};e.clamp=m;var v=function(S){var O=(0,e.lt)(S),E=(0,e.gt)(S);return function(P,A){return function(L){return!(O(L,P)||E(L,A))}}};e.between=v,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function y(S,O){return S<O?-1:S>O?1:0}var w={equals:t.eqStrict.equals,compare:y};e.ordBoolean=w,e.ordString=w,e.ordNumber=w,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(S){return S.valueOf()}))})(ov);(function(e){var t=Q&&Q.__createBinding||(Object.create?function(m,v,y,w){w===void 0&&(w=y);var S=Object.getOwnPropertyDescriptor(v,y);(!S||("get"in S?!v.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return v[y]}}),Object.defineProperty(m,w,S)}:function(m,v,y,w){w===void 0&&(w=y),m[w]=v[y]}),n=Q&&Q.__setModuleDefault||(Object.create?function(m,v){Object.defineProperty(m,"default",{enumerable:!0,value:v})}:function(m,v){m.default=v}),r=Q&&Q.__importStar||function(m){if(m&&m.__esModule)return m;var v={};if(m!=null)for(var y in m)y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)&&t(v,m,y);return n(v,m),v};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=lt,a=r(yr),o=r(at),u=r(ov),l=function(m){return{concat:u.min(m)}};e.min=l;var c=function(m){return{concat:u.max(m)}};e.max=c;var d=function(m){return{concat:function(){return m}}};e.constant=d,e.reverse=o.reverse;var s=function(m){return{concat:function(v,y){var w={};for(var S in m)a.has.call(m,S)&&(w[S]=m[S].concat(v[S],y[S]));return w}}};e.struct=s;var f=function(){for(var m=[],v=0;v<arguments.length;v++)m[v]=arguments[v];return{concat:function(y,w){return m.map(function(S,O){return S.concat(y[O],w[O])})}}};e.tuple=f;var p=function(m){return function(v){return{concat:function(y,w){return v.concat(y,v.concat(m,w))}}}};e.intercalate=p;var g=function(){return{concat:i.identity}};e.first=g;var h=function(){return{concat:function(m,v){return v}}};e.last=h,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var _=function(){return{concat:function(m,v){return Object.assign({},m,v)}}};e.getObjectSemigroup=_,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 b(m){var v=(0,e.concatAll)(m);return function(y,w){return w===void 0?v(y):v(y)(w)}}e.fold=b,e.semigroupAll={concat:function(m,v){return m&&v}},e.semigroupAny={concat:function(m,v){return m||v}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(m,v){return m+v}},e.semigroupSum={concat:function(m,v){return m+v}},e.semigroupProduct={concat:function(m,v){return m*v}}})(av);var lv={};(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=lt,n=je,r=function(f,p){return{left:f,right:p}};e.separated=r;var i=function(f,p){return(0,t.pipe)(f,(0,e.map)(p))},a=function(f,p){return(0,t.pipe)(f,(0,e.mapLeft)(p))},o=function(f,p,g){return(0,t.pipe)(f,(0,e.bimap)(p,g))},u=function(f){return function(p){return(0,e.separated)((0,e.left)(p),f((0,e.right)(p)))}};e.map=u;var l=function(f){return function(p){return(0,e.separated)(f((0,e.left)(p)),(0,e.right)(p))}};e.mapLeft=l;var c=function(f,p){return function(g){return(0,e.separated)(f((0,e.left)(g)),p((0,e.right)(g)))}};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 d=function(f){return f.left};e.left=d;var s=function(f){return f.right};e.right=s})(lv);var Jt={},Bb=Q&&Q.__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]}),Fb=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ub=Q&&Q.__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)&&Bb(t,e,n);return Fb(t,e),t};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.filterE=Jt.witherDefault=Jt.wiltDefault=void 0;var mc=Ub(yr);function xb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}Jt.wiltDefault=xb;function Hb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}Jt.witherDefault=Hb;function Kb(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?mc.some(a):mc.none})})}}}}Jt.filterE=Kb;var Ea={};Object.defineProperty(Ea,"__esModule",{value:!0});Ea.guard=void 0;function zb(e,t){return function(n){return n?t.of(void 0):e.zero()}}Ea.guard=zb;(function(e){var t=Q&&Q.__createBinding||(Object.create?function(k,M,H,Oe){Oe===void 0&&(Oe=H);var Ye=Object.getOwnPropertyDescriptor(M,H);(!Ye||("get"in Ye?!M.__esModule:Ye.writable||Ye.configurable))&&(Ye={enumerable:!0,get:function(){return M[H]}}),Object.defineProperty(k,Oe,Ye)}:function(k,M,H,Oe){Oe===void 0&&(Oe=H),k[Oe]=M[H]}),n=Q&&Q.__setModuleDefault||(Object.create?function(k,M){Object.defineProperty(k,"default",{enumerable:!0,value:M})}:function(k,M){k.default=M}),r=Q&&Q.__importStar||function(k){if(k&&k.__esModule)return k;var M={};if(k!=null)for(var H in k)H!=="default"&&Object.prototype.hasOwnProperty.call(k,H)&&t(M,k,H);return n(M,k),M};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=ar,a=Fe,o=r(Rt),u=Pe,l=lt,c=je,d=r(yr),s=iv,f=av,p=lv,g=Jt,h=Ea;e.none=d.none,e.some=d.some;function _(k){return function(M){return k(M)?(0,e.some)(M):e.none}}e.fromPredicate=_;var b=function(k){return k._tag==="Right"?e.none:(0,e.some)(k.left)};e.getLeft=b;var m=function(k){return k._tag==="Left"?e.none:(0,e.some)(k.right)};e.getRight=m;var v=function(k,M){return(0,l.pipe)(k,(0,e.map)(M))},y=function(k,M){return(0,l.pipe)(k,(0,e.ap)(M))},w=function(k,M,H){return(0,l.pipe)(k,(0,e.reduce)(M,H))},S=function(k){var M=(0,e.foldMap)(k);return function(H,Oe){return(0,l.pipe)(H,M(Oe))}},O=function(k,M,H){return(0,l.pipe)(k,(0,e.reduceRight)(M,H))},E=function(k){var M=(0,e.traverse)(k);return function(H,Oe){return(0,l.pipe)(H,M(Oe))}},P=function(k,M){return(0,l.pipe)(k,(0,e.alt)(M))},A=function(k,M){return(0,l.pipe)(k,(0,e.filter)(M))},L=function(k,M){return(0,l.pipe)(k,(0,e.filterMap)(M))},N=function(k,M){return(0,l.pipe)(k,(0,e.extend)(M))},$=function(k,M){return(0,l.pipe)(k,(0,e.partition)(M))},C=function(k,M){return(0,l.pipe)(k,(0,e.partitionMap)(M))};e.URI="Option";var I=function(k){return{show:function(M){return(0,e.isNone)(M)?"none":"some(".concat(k.show(M.value),")")}}};e.getShow=I;var R=function(k){return{equals:function(M,H){return M===H||((0,e.isNone)(M)?(0,e.isNone)(H):(0,e.isNone)(H)?!1:k.equals(M.value,H.value))}}};e.getEq=R;var D=function(k){return{equals:(0,e.getEq)(k).equals,compare:function(M,H){return M===H?0:(0,e.isSome)(M)?(0,e.isSome)(H)?k.compare(M.value,H.value):1:-1}}};e.getOrd=D;var B=function(k){return{concat:function(M,H){return(0,e.isNone)(M)?H:(0,e.isNone)(H)?M:(0,e.some)(k.concat(M.value,H.value))},empty:e.none}};e.getMonoid=B;var V=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M.value))}};e.map=V,e.Functor={URI:e.URI,map:v},e.as=(0,l.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 W=function(k){return function(M){return(0,e.isNone)(M)||(0,e.isNone)(k)?e.none:(0,e.some)(M.value(k.value))}};e.ap=W,e.Apply={URI:e.URI,map:v,ap:y},e.Applicative={URI:e.URI,map:v,ap:y,of:e.of},e.flatMap=(0,l.dual)(2,function(k,M){return(0,e.isNone)(k)?e.none:M(k.value)}),e.Chain={URI:e.URI,map:v,ap:y,chain:e.flatMap},e.Monad={URI:e.URI,map:v,ap:y,of:e.of,chain:e.flatMap};var Y=function(k,M){return function(H){return(0,e.isNone)(H)?k:M(k,H.value)}};e.reduce=Y;var U=function(k){return function(M){return function(H){return(0,e.isNone)(H)?k.empty:M(H.value)}}};e.foldMap=U;var F=function(k,M){return function(H){return(0,e.isNone)(H)?k:M(H.value,k)}};e.reduceRight=F,e.Foldable={URI:e.URI,reduce:w,foldMap:S,reduceRight:O},e.orElse=(0,l.dual)(2,function(k,M){return(0,e.isNone)(k)?M():k}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:v,alt:P};var z=function(){return e.none};e.zero=z,e.Zero={URI:e.URI,zero:e.zero},e.guard=(0,h.guard)(e.Zero,e.Pointed),e.Alternative={URI:e.URI,map:v,ap:y,of:e.of,alt:P,zero:e.zero};var x=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M))}};e.extend=x,e.Extend={URI:e.URI,map:v,extend:N},e.compact=(0,e.flatMap)(l.identity);var te=(0,p.separated)(e.none,e.none),se=function(k){return(0,e.isNone)(k)?te:(0,p.separated)((0,e.getLeft)(k.value),(0,e.getRight)(k.value))};e.separate=se,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var ne=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)?M:e.none}};e.filter=ne;var X=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)}};e.filterMap=X;var re=function(k){return function(M){return(0,p.separated)(A(M,(0,s.not)(k)),A(M,k))}};e.partition=re;var ie=function(k){return(0,l.flow)((0,e.map)(k),e.separate)};e.partitionMap=ie,e.Filterable={URI:e.URI,map:v,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C};var _e=function(k){return function(M){return function(H){return(0,e.isNone)(H)?k.of(e.none):k.map(M(H.value),e.some)}}};e.traverse=_e;var sn=function(k){return function(M){return(0,e.isNone)(M)?k.of(e.none):k.map(M.value,e.some)}};e.sequence=sn,e.Traversable={URI:e.URI,map:v,reduce:w,foldMap:S,reduceRight:O,traverse:E,sequence:e.sequence};var Ne=(0,g.witherDefault)(e.Traversable,e.Compactable),Ar=(0,g.wiltDefault)(e.Traversable,e.Compactable),Ha=function(k){var M=Ne(k);return function(H){return function(Oe){return M(Oe,H)}}};e.wither=Ha;var Ka=function(k){var M=Ar(k);return function(H){return function(Oe){return M(Oe,H)}}};e.wilt=Ka,e.Witherable={URI:e.URI,map:v,reduce:w,foldMap:S,reduceRight:O,traverse:E,sequence:e.sequence,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C,wither:Ne,wilt:Ar};var vm=function(){return e.none};e.throwError=vm,e.MonadThrow={URI:e.URI,map:v,ap:y,of:e.of,chain:e.flatMap,throwError:e.throwError},e.fromEither=e.getRight,e.FromEither={URI:e.URI,fromEither:e.fromEither},e.isSome=d.isSome;var hm=function(k){return k._tag==="None"};e.isNone=hm;var mm=function(k,M){return function(H){return(0,e.isNone)(H)?k():M(H.value)}};e.matchW=mm,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var ym=function(k){return function(M){return(0,e.isNone)(M)?k():M.value}};e.getOrElseW=ym,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,l.dual)(2,o.tap(e.Chain)),e.tapEither=(0,l.dual)(2,(0,u.tapEither)(e.FromEither,e.Chain)),e.duplicate=(0,e.extend)(l.identity),e.fromEitherK=(0,u.fromEitherK)(e.FromEither),e.chainEitherK=(0,u.chainEitherK)(e.FromEither,e.Chain),e.chainFirstEitherK=e.tapEither;var gm=function(k){return k==null?e.none:(0,e.some)(k)};e.fromNullable=gm;var bm=function(k){try{return(0,e.some)(k())}catch{return e.none}};e.tryCatch=bm;var _m=function(k){return function(){for(var M=[],H=0;H<arguments.length;H++)M[H]=arguments[H];return(0,e.tryCatch)(function(){return k.apply(void 0,M)})}};e.tryCatchK=_m;var wm=function(k){return(0,l.flow)(k,e.fromNullable)};e.fromNullableK=wm;var Em=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(k(M.value))}};e.chainNullableK=Em,e.toNullable=(0,e.match)(l.constNull,l.identity),e.toUndefined=(0,e.match)(l.constUndefined,l.identity);function vs(k){return function(M,H){if(H===void 0){var Oe=vs(k);return function(Ye){return Oe(M,Ye)}}return(0,e.isNone)(H)?!1:k.equals(M,H.value)}}e.elem=vs;var Om=function(k){return function(M){return(0,e.isNone)(M)?!1:k(M.value)}};e.exists=Om,e.Do=(0,e.of)(d.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var Sm=(0,c.let)(e.Functor);e.let=Sm,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(d.emptyReadonlyArray);var Pm=function(k){return function(M){var H=k(0,d.head(M));if((0,e.isNone)(H))return e.none;for(var Oe=[H.value],Ye=1;Ye<M.length;Ye++){var hs=k(Ye,M[Ye]);if((0,e.isNone)(hs))return e.none;Oe.push(hs.value)}return(0,e.some)(Oe)}};e.traverseReadonlyNonEmptyArrayWithIndex=Pm;var Am=function(k){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(k);return function(H){return d.isNonEmpty(H)?M(H):e.ApT}};e.traverseReadonlyArrayWithIndex=Am,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Tm=function(k){return(0,e.traverseReadonlyArrayWithIndex)(function(M,H){return k(H)})};e.traverseArray=Tm,e.sequenceArray=(0,e.traverseArray)(l.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Im(k){return function(M){return(0,e.isSome)(k(M))}}e.getRefinement=Im,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:v,of:e.of,ap:y,chain:e.flatMap,reduce:w,foldMap:S,reduceRight:O,traverse:E,sequence:e.sequence,zero:e.zero,alt:P,extend:N,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C,wither:Ne,wilt:Ar,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var Cm=function(){return(0,e.getMonoid)((0,f.first)())};e.getFirstMonoid=Cm;var Lm=function(){return(0,e.getMonoid)((0,f.last)())};e.getLastMonoid=Lm})(Q0);var Wb=Object.defineProperty,qb=(e,t,n)=>t in e?Wb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eo=(e,t,n)=>(qb(e,typeof t!="symbol"?t+"":t,n),n);let Gb=class{constructor(){eo(this,"current",this.detect()),eo(this,"handoffState","pending"),eo(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"}},kt=new Gb,Ce=(e,t)=>{kt.isServer?ce(e,t):Ln(e,t)};function Nt(e){let t=ee(e);return Ce(()=>{t.current=e},[e]),t}function Oa(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function mt(){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 Oa(()=>{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=mt();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 gr(){let[e]=Be(mt);return ce(()=>()=>e.dispose(),[e]),e}let Z=function(e){let t=Nt(e);return J.useCallback((...n)=>t.current(...n),[t])};function Vb(){let e=typeof document>"u";return"useSyncExternalStore"in tr?(t=>t.useSyncExternalStore)(tr)(()=>()=>{},()=>!1,()=>!e):!1}function br(){let e=Vb(),[t,n]=Be(kt.isHandoffComplete);return t&&kt.isHandoffComplete===!1&&n(!1),ce(()=>{t!==!0&&n(!0)},[t]),ce(()=>kt.handoff(),[]),e?!1:t}var yc;let nt=(yc=J.useId)!=null?yc:function(){let e=br(),[t,n]=J.useState(e?()=>kt.nextId():null);return Ce(()=>{t===null&&n(kt.nextId())},[t]),t!=null?""+t:void 0};function Ee(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,Ee),r}function ii(e){return kt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let lu=["[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 Tt=(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))(Tt||{}),sv=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(sv||{}),Yb=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Yb||{});function cv(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(lu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var El=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(El||{});function Ol(e,t=0){var n;return e===((n=ii(e))==null?void 0:n.body)?!1:Ee(t,{0(){return e.matches(lu)},1(){let r=e;for(;r!==null;){if(r.matches(lu))return!0;r=r.parentElement}return!1}})}function fv(e){let t=ii(e);mt().nextFrame(()=>{t&&!Ol(t.activeElement,0)&&Zt(e)})}var Xb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Xb||{});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 Zt(e){e==null||e.focus({preventScroll:!0})}let Qb=["textarea","input"].join(",");function Jb(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Qb))!=null?n:!1}function dv(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 Zb(e,t){return jr(cv(),t,{relativeTo:e})}function jr(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?dv(e):e:cv(e);i.length>0&&o.length>1&&(o=o.filter(p=>!i.includes(p))),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")})(),l=(()=>{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}:{},d=0,s=o.length,f;do{if(d>=s||d+s<=0)return 0;let p=l+d;if(t&16)p=(p+s)%s;else{if(p<0)return 3;if(p>=s)return 1}f=o[p],f==null||f.focus(c),d+=u}while(f!==a.activeElement);return t&6&&Jb(f)&&f.select(),2}function hi(e,t,n){let r=Nt(t);ce(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function pv(e,t,n){let r=Nt(t);ce(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function vv(e,t,n=!0){let r=ee(!1);ce(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,u){if(!r.current||o.defaultPrevented)return;let l=u(o);if(l===null||!l.getRootNode().contains(l)||!l.isConnected)return;let c=function d(s){return typeof s=="function"?d(s()):Array.isArray(s)||s instanceof Set?s:[s]}(e);for(let d of c){if(d===null)continue;let s=d instanceof HTMLElement?d:d.current;if(s!=null&&s.contains(l)||o.composed&&o.composedPath().includes(s))return}return!Ol(l,El.Loose)&&l.tabIndex!==-1&&o.preventDefault(),t(o,l)}let a=ee(null);hi("pointerdown",o=>{var u,l;r.current&&(a.current=((l=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:l[0])||o.target)},!0),hi("mousedown",o=>{var u,l;r.current&&(a.current=((l=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:l[0])||o.target)},!0),hi("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),hi("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),pv("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function gc(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 Sl(e,t){let[n,r]=Be(()=>gc(e));return Ce(()=>{r(gc(e))},[e.type,e.as]),Ce(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let hv=Symbol();function mv(e,t=!0){return Object.assign(e,{[hv]:t})}function Ie(...e){let t=ee(e);ce(()=>{t.current=e},[e]);let n=Z(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[hv]))?void 0:n}function e1({container:e,accept:t,walk:n,enabled:r=!0}){let i=ee(t),a=ee(n);ce(()=>{i.current=t,a.current=n},[t,n]),Ce(()=>{if(!e||!r)return;let o=ii(e);if(!o)return;let u=i.current,l=a.current,c=Object.assign(s=>u(s),{acceptNode:u}),d=o.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,c,!1);for(;d.nextNode();)l(d.currentNode)},[e,r,i,a])}function t1(e){throw new Error("Unexpected object: "+e)}var dt=(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))(dt||{});function n1(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,l,c)=>i!==-1&&c.length-l-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:t1(e)}})();return a===-1?r:a}function ta(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var rn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(rn||{}),Vt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Vt||{});function ge({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=yv(t,e);if(a)return mi(u,n,r,o);let l=i??0;if(l&2){let{static:c=!1,...d}=u;if(c)return mi(d,n,r,o)}if(l&1){let{unmount:c=!0,...d}=u;return Ee(c?0:1,{0(){return null},1(){return mi({...d,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}=to(e,["unmount","static"]),l=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 d={};if(t){let s=!1,f=[];for(let[p,g]of Object.entries(t))typeof g=="boolean"&&(s=!0),g===!0&&f.push(p);s&&(d["data-headlessui-state"]=f.join(" "))}if(i===ye&&Object.keys(su(u)).length>0){if(!hr(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(g=>` - ${g}`).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=n}});function Hi(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ti=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=Xn(o),l=u.next();!l.done;l=u.next()){var c=l.value;c.remove(this)}}catch(h){t={error:h}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}else o.remove(this);var d=this.initialTeardown;if(le(d))try{d()}catch(h){a=h instanceof Ka?h.errors:[h]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var f=Xn(s),p=f.next();!p.done;p=f.next()){var g=p.value;try{gs(g)}catch(h){a=a??[],h instanceof Ka?a=En(En([],en(a)),en(h.errors)):a.push(h)}}}catch(h){r={error:h}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}if(a)throw new Ka(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)gs(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)&&Hi(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Hi(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),gd=ti.EMPTY;function bd(e){return e instanceof ti||e&&"closed"in e&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function gs(e){le(e)?e():e.unsubscribe()}var _d={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ko={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ko.delegate;return i!=null&&i.setTimeout?i.setTimeout.apply(i,En([e,t],en(n))):setTimeout.apply(void 0,En([e,t],en(n)))},clearTimeout:function(e){var t=Ko.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function wd(e){Ko.setTimeout(function(){throw e})}function zo(){}function Ri(e){e()}var Gu=function(e){Et(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,bd(n)&&n.add(r)):r.destination=Hm,r}return t.create=function(n,r,i){return new Wo(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}(ti),Fm=Function.prototype.bind;function za(e,t){return Fm.call(e,t)}var Um=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){pi(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){pi(r)}else pi(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){pi(n)}},e}(),Wo=function(e){Et(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(le(n)||!n)o={next:n??void 0,error:r??void 0,complete:i??void 0};else{var u;a&&_d.useDeprecatedNextContext?(u=Object.create(n),u.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&za(n.next,u),error:n.error&&za(n.error,u),complete:n.complete&&za(n.complete,u)}):o=n}return a.destination=new Um(o),a}return t}(Gu);function pi(e){wd(e)}function xm(e){throw e}var Hm={closed:!0,next:zo,error:xm,complete:zo},Vu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function dr(e){return e}function Km(e){return e.length===0?dr:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var Ke=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=Wm(t)?t:new Wo(t,n,r);return Ri(function(){var o=i,u=o.operator,l=o.source;a.add(u?u.call(a,l):l?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=bs(n),new n(function(i,a){var o=new Wo({next:function(u){try{t(u)}catch(l){a(l),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[Vu]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Km(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=bs(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 bs(e){var t;return(t=e??_d.Promise)!==null&&t!==void 0?t:Promise}function zm(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}function Wm(e){return e&&e instanceof Gu||zm(e)&&bd(e)}function qm(e){return le(e==null?void 0:e.lift)}function ut(e){return function(t){if(qm(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 We(e,t,n,r,i){return new Gm(e,t,n,r,i)}var Gm=function(e){Et(t,e);function t(n,r,i,a,o,u){var l=e.call(this,n)||this;return l.onFinalize=o,l.shouldUnsubscribe=u,l._next=r?function(c){try{r(c)}catch(d){n.error(d)}}:e.prototype._next,l._error=a?function(c){try{a(c)}catch(d){n.error(d)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=i?function(){try{i()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,l}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}(Gu),Vm=yd(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Nt=function(e){Et(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 _s(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Vm},t.prototype.next=function(n){var r=this;Ri(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=Xn(r.currentObservers),u=o.next();!u.done;u=o.next()){var l=u.value;l.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;Ri(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;Ri(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?gd:(this.currentObservers=null,u.push(n),new ti(function(){r.currentObservers=null,Hi(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 Ke;return n.source=this,n},t.create=function(n,r){return new _s(n,r)},t}(Ke),_s=function(e){Et(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:gd},t}(Nt),Ki=function(e){Et(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}(Nt),Yu={now:function(){return(Yu.delegate||Date).now()},delegate:void 0},Ed=function(e){Et(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Yu);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,l=r._windowTime;i||(a.push(n),!o&&a.push(u.now()+l)),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(),l=0;l<u.length&&!n.closed;l+=a?1:2)n.next(u[l]);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 l=i.now(),c=0,d=1;d<a.length&&a[d]<=l;d+=2)c=d;c&&a.splice(0,c+1)}},t}(Nt),Ym=function(e){Et(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(ti),zi={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=zi.delegate;return i!=null&&i.setInterval?i.setInterval.apply(i,En([e,t],en(n))):setInterval.apply(void 0,En([e,t],en(n)))},clearInterval:function(e){var t=zi.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},Xm=function(e){Et(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),zi.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&&zi.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,Hi(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Ym),ws=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=Yu.now,e}(),Qm=function(e){Et(t,e);function t(n,r){r===void 0&&(r=ws.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}(ws),ha=new Qm(Xm),Jm=ha,Zm=new Ke(function(e){return e.complete()});function Od(e){return e&&le(e.schedule)}function Sd(e){return e[e.length-1]}function ey(e){return le(Sd(e))?e.pop():void 0}function Xu(e){return Od(Sd(e))?e.pop():void 0}var Qu=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Pd(e){return le(e==null?void 0:e.then)}function Ad(e){return le(e[Vu])}function Td(e){return Symbol.asyncIterator&&le(e==null?void 0:e[Symbol.asyncIterator])}function Id(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 ty(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Cd=ty();function Ld(e){return le(e==null?void 0:e[Cd])}function Rd(e){return jm(this,arguments,function(){var n,r,i,a;return md(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,qn(n.read())];case 3:return r=o.sent(),i=r.value,a=r.done,a?[4,qn(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,qn(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 kd(e){return le(e==null?void 0:e.getReader)}function Bt(e){if(e instanceof Ke)return e;if(e!=null){if(Ad(e))return ny(e);if(Qu(e))return ry(e);if(Pd(e))return iy(e);if(Td(e))return Nd(e);if(Ld(e))return ay(e);if(kd(e))return oy(e)}throw Id(e)}function ny(e){return new Ke(function(t){var n=e[Vu]();if(le(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ry(e){return new Ke(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function iy(e){return new Ke(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,wd)})}function ay(e){return new Ke(function(t){var n,r;try{for(var i=Xn(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 Nd(e){return new Ke(function(t){uy(e,t).catch(function(n){return t.error(n)})})}function oy(e){return Nd(Rd(e))}function uy(e,t){var n,r,i,a;return $m(this,void 0,void 0,function(){var o,u;return md(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=Bm(e),l.label=1;case 1:return[4,n.next()];case 2:if(r=l.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=l.sent(),i={error:u},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:l.sent(),l.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 Ct(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 Md(e,t){return t===void 0&&(t=0),ut(function(n,r){n.subscribe(We(r,function(i){return Ct(r,e,function(){return r.next(i)},t)},function(){return Ct(r,e,function(){return r.complete()},t)},function(i){return Ct(r,e,function(){return r.error(i)},t)}))})}function Dd(e,t){return t===void 0&&(t=0),ut(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function ly(e,t){return Bt(e).pipe(Dd(t),Md(t))}function sy(e,t){return Bt(e).pipe(Dd(t),Md(t))}function cy(e,t){return new Ke(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function fy(e,t){return new Ke(function(n){var r;return Ct(n,t,function(){r=e[Cd](),Ct(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 le(r==null?void 0:r.return)&&r.return()}})}function $d(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ke(function(n){Ct(n,t,function(){var r=e[Symbol.asyncIterator]();Ct(n,t,function(){r.next().then(function(i){i.done?n.complete():n.next(i.value)})},0,!0)})})}function dy(e,t){return $d(Rd(e),t)}function py(e,t){if(e!=null){if(Ad(e))return ly(e,t);if(Qu(e))return cy(e,t);if(Pd(e))return sy(e,t);if(Td(e))return $d(e,t);if(Ld(e))return fy(e,t);if(kd(e))return dy(e,t)}throw Id(e)}function pr(e,t){return t?py(e,t):Bt(e)}function Ju(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Xu(e);return pr(e,n)}function jd(e){return!!e&&(e instanceof Ke||le(e.lift)&&le(e.subscribe))}function vy(e){return e instanceof Date&&!isNaN(e)}function qe(e,t){return ut(function(n,r){var i=0;n.subscribe(We(r,function(a){r.next(e.call(t,a,i++))}))})}var hy=Array.isArray;function my(e,t){return hy(t)?e.apply(void 0,En([],en(t))):e(t)}function Bd(e){return qe(function(t){return my(e,t)})}var yy=Array.isArray,gy=Object.getPrototypeOf,by=Object.prototype,_y=Object.keys;function wy(e){if(e.length===1){var t=e[0];if(yy(t))return{args:t,keys:null};if(Ey(t)){var n=_y(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function Ey(e){return e&&typeof e=="object"&&gy(e)===by}function Oy(e,t){return e.reduce(function(n,r,i){return n[r]=t[i],n},{})}function Sy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Xu(e),r=ey(e),i=wy(e),a=i.args,o=i.keys;if(a.length===0)return pr([],n);var u=new Ke(Py(a,n,o?function(l){return Oy(o,l)}:dr));return r?u.pipe(Bd(r)):u}function Py(e,t,n){return n===void 0&&(n=dr),function(r){Es(t,function(){for(var i=e.length,a=new Array(i),o=i,u=i,l=function(d){Es(t,function(){var s=pr(e[d],t),f=!1;s.subscribe(We(r,function(p){a[d]=p,f||(f=!0,u--),u||r.next(n(a.slice()))},function(){--o||r.complete()}))},r)},c=0;c<i;c++)l(c)},r)}}function Es(e,t,n){e?Ct(n,e,t):t()}function Ay(e,t,n,r,i,a,o,u){var l=[],c=0,d=0,s=!1,f=function(){s&&!l.length&&!c&&t.complete()},p=function(h){return c<r?g(h):l.push(h)},g=function(h){a&&t.next(h),c++;var _=!1;Bt(n(h,d++)).subscribe(We(t,function(b){i==null||i(b),a?p(b):t.next(b)},function(){_=!0},void 0,function(){if(_)try{c--;for(var b=function(){var m=l.shift();o?Ct(t,o,function(){return g(m)}):g(m)};l.length&&c<r;)b();f()}catch(m){t.error(m)}}))};return e.subscribe(We(t,p,function(){s=!0,f()})),function(){u==null||u()}}function ma(e,t,n){return n===void 0&&(n=1/0),le(t)?ma(function(r,i){return qe(function(a,o){return t(r,a,i,o)})(Bt(e(r,i)))},n):(typeof t=="number"&&(n=t),ut(function(r,i){return Ay(r,i,e,n)}))}function Ty(e){return e===void 0&&(e=1/0),ma(dr,e)}function Iy(){return Ty(1)}function Cy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Iy()(pr(e,Xu(e)))}var Ly=["addListener","removeListener"],Ry=["addEventListener","removeEventListener"],ky=["on","off"];function Os(e,t,n,r){if(le(n)&&(r=n,n=void 0),r)return Os(e,t,n).pipe(Bd(r));var i=en(Dy(e)?Ry.map(function(u){return function(l){return e[u](t,l,n)}}):Ny(e)?Ly.map(Ss(e,t)):My(e)?ky.map(Ss(e,t)):[],2),a=i[0],o=i[1];if(!a&&Qu(e))return ma(function(u){return Os(u,t,n)})(Bt(e));if(!a)throw new TypeError("Invalid event target");return new Ke(function(u){var l=function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return u.next(1<c.length?c:c[0])};return a(l),function(){return o(l)}})}function Ss(e,t){return function(n){return function(r){return e[n](t,r)}}}function Ny(e){return le(e.addListener)&&le(e.removeListener)}function My(e){return le(e.on)&&le(e.off)}function Dy(e){return le(e.addEventListener)&&le(e.removeEventListener)}function Fd(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Jm);var r=-1;return t!=null&&(Od(t)?n=t:r=t),new Ke(function(i){var a=vy(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 ya(e,t){return ut(function(n,r){var i=0;n.subscribe(We(r,function(a){return e.call(t,a,i++)&&r.next(a)}))})}function $y(e){return ut(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()},l=function(){a=null,o&&n.complete()};t.subscribe(We(n,function(c){r=!0,i=c,a||Bt(e(c)).subscribe(a=We(n,u,l))},function(){o=!0,(!r||!a||a.closed)&&n.complete()}))})}function jy(e,t){return t===void 0&&(t=ha),$y(function(){return Fd(e,t)})}function cI(e,t){return t===void 0&&(t=ha),ut(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 l(){var c=o+e,d=t.now();if(d<c){i=this.schedule(void 0,c-d),r.add(i);return}u()}n.subscribe(We(r,function(c){a=c,o=t.now(),i||(i=t.schedule(l,e),r.add(i))},function(){u(),r.complete()},void 0,function(){a=i=null}))})}function qo(e){return e<=0?function(){return Zm}:ut(function(t,n){var r=0;t.subscribe(We(n,function(i){++r<=e&&(n.next(i),e<=r&&n.complete())}))})}function By(){return ut(function(e,t){e.subscribe(We(t,zo))})}function Fy(e){return qe(function(){return e})}function Ud(e,t){return t?function(n){return Cy(t.pipe(qo(1),By()),n.pipe(Ud(e)))}:ma(function(n,r){return Bt(e(n,r)).pipe(qo(1),Fy(n))})}function Uy(e,t){t===void 0&&(t=ha);var n=Fd(e,t);return Ud(function(){return n})}function Kr(e,t){return t===void 0&&(t=dr),e=e??xy,ut(function(n,r){var i,a=!0;n.subscribe(We(r,function(o){var u=t(o);(a||!e(i,u))&&(a=!1,i=u,r.next(o))}))})}function xy(e,t){return e===t}function fI(){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 qe(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 Hy(e){return ya(function(t,n){return e<=n})}function ki(e,t){return ut(function(n,r){var i=null,a=0,o=!1,u=function(){return o&&!i&&r.complete()};n.subscribe(We(r,function(l){i==null||i.unsubscribe();var c=0,d=a++;Bt(e(l,d)).subscribe(i=We(r,function(s){return r.next(t?t(l,s,d,c++):s)},function(){i=null,u()}))},function(){o=!0,u()}))})}function dI(e,t,n){var r=le(e)||t||n?{next:e,error:t,complete:n}:e;return r?ut(function(i,a){var o;(o=r.subscribe)===null||o===void 0||o.call(r);var u=!0;i.subscribe(We(a,function(l){var c;(c=r.next)===null||c===void 0||c.call(r,l),a.next(l)},function(){var l;u=!1,(l=r.complete)===null||l===void 0||l.call(r),a.complete()},function(l){var c;u=!1,(c=r.error)===null||c===void 0||c.call(r,l),a.error(l)},function(){var l,c;u&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):dr}const Ky="id";function Ot(e){return gt(e)?e.length===0:!1}function Ae(e){return typeof e=="function"}function zy(){return Kr((e,t)=>e===t?!0:!gt(e)||!gt(t)?!1:Ot(e)&&Ot(t)?!0:e.length!==t.length?!1:t.some((r,i)=>e[i]!==r)===!1)}function Zu(e){const t=typeof e;return e!=null&&(t=="object"||t=="function")}function pI(e){return Sy(e).pipe(jy(0))}let xd={resettable:!1,ttl:null,producerFn:void 0};function Ps(){return xd}function Wy(){return xd.producerFn}function Wi(e){return vt(e)===!1}const Hd=new Nt,Kd=new Ed(50,5e3),qy=new Nt;function Gy(e){Hd.next(e)}function Vy(e){Kd.next(e)}function Yy(e,t){qy.next({storeName:e,action:t})}const ga=typeof window<"u",Xy=!ga,As=()=>{try{return typeof localStorage<"u"}catch{return!1}},Qy=()=>{try{return typeof sessionStorage<"u"}catch{return!1}},bt={},zd={};ga&&(window.$$stores=bt,window.$$queries=zd);var qi;(function(e){e.ASC="asc",e.DESC="desc"})(qi||(qi={}));function Jy(e,t=qi.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==qi.DESC?o*-1:o}}function Zy(e,t){let n=[];const{ids:r,entities:i}=e,{filterBy:a,limitTo:o,sortBy:u,sortByOrder:l}=t;for(let d=0;d<r.length;d++){const s=i[r[d]];if(!a){n.push(s);continue}Qe(a).every(g=>g(s,d))&&n.push(s)}if(u){let d=Ae(u)?u:Jy(u,l);n=n.sort((s,f)=>d(s,f,e))}const c=Math.min(o||n.length,n.length);return c===n.length?n:n.slice(0,c)}function eg(e,t){const n={},{filterBy:r,limitTo:i}=t,{ids:a,entities:o}=e;if(!r&&!i)return o;const u=vt(i)===!1;if(r&&u){let l=0;for(let c=0,d=a.length;c<d&&l!==i;c++){const s=a[c],f=o[s];Qe(r).every(g=>g(f,c))&&(n[s]=f,l++)}}else{const l=Math.min(i||a.length,a.length);for(let c=0;c<l;c++){const d=a[c],s=o[d];if(!r){n[d]=s;continue}Qe(r).every(p=>p(s,c))&&(n[d]=s)}}return n}var Ht;(function(e){e.Set="Set",e.Add="Add",e.Update="Update",e.Remove="Remove"})(Ht||(Ht={}));let el=!0;function vI(){el=!1,ga&&(delete window.$$stores,delete window.$$queries)}function Se(){return el}function tg(e,t,n){let r;if(gt(e))r=e;else if(Zu(e)){if(vt(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 ng=()=>({entities:{},ids:[],loading:!0,error:null});function Bn(e){return e===void 0}function rg({state:e,ids:t}){if(vt(t))return ig(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 pd(e)&&(i.active=hd(i)),i}function ig(e){return{...e,entities:{},ids:[],active:vd(e.active)?[]:null}}function ag(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 og(e){return e.entities&&e.ids}function Ts(e,t){let n={};for(const r of Object.keys(e))n[r]=t(e[r]);return n}function ug({state:e,entities:t,idKey:n,preAddEntity:r,isNativePreAdd:i}){let a,o;if(gt(t)){const l=ag(t,n,r);a=l.entities,o=l.ids}else og(t)?(a=i?t.entities:Ts(t.entities,r),o=t.ids):(a=i?t:Ts(t,r),o=Object.keys(a).map(l=>isNaN(l)?l:Number(l)));const u={...e,entities:a,ids:o,loading:!1};return pd(e)&&(u.active=hd(u)),u}function Wd(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])&&Wd(e[r])}),e}function lg(e,t){e||console.error(`@StoreConfig({ name }) is missing in ${t}`)}function tl(e){return e!=null&&`${e}`!="false"}function Go(e){return tl(e)&&e.constructor.name==="Object"}const Ni="akitaConfig";function hI(e){return function(t){t[Ni]={idKey:"id"};for(let n=0,r=Object.keys(e);n<r.length;n++){const i=r[n];i==="name"?t[Ni].storeName=e[i]:t[Ni][i]=e[i]}}}const sg=new Nt,qd=new Ki(!1),Xt={activeTransactions:0,batchTransaction:null};function cg(){Gd()||(Xt.batchTransaction=new Nt),Xt.activeTransactions++,qd.next(!0)}function fg(){--Xt.activeTransactions===0&&(Xt.batchTransaction.next(!0),Xt.batchTransaction.complete(),qd.next(!1),sg.next(!0))}function Gd(){return Xt.activeTransactions>0}function dg(){return Xt.batchTransaction?Xt.batchTransaction.asObservable():Ju(!0)}function nl(e,t=void 0){cg();try{return e.apply(t)}finally{Wn("@Transaction"),fg()}}function Vd(){return function(e,t,n){const r=n.value;return n.value=function(...i){return nl(()=>r.apply(this,i),this)},n}}class pg{constructor(t,n={}){this.options=n,this.inTransaction=!1,this.cache={active:new Ki(!1),ttl:null},this.onInit(t)}setLoading(t=!1){t!==this._value().loading&&(Se()&&He("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&&(Se()&&He("Set Error"),this._setState(n=>({...n,error:t})))}_select(t){return this.store.asObservable().pipe(qe(n=>t(n.state)),Kr())}_value(){return this.storeValue}_cache(){return this.cache.active}get config(){return this.constructor[Ni]||{}}get storeName(){return this.config.storeName||this.options.storeName||this.options.name}get deepFreeze(){return this.config.deepFreezeFn||this.options.deepFreezeFn||Wd}get cacheConfig(){return this.config.cache||this.options.cache}get _producerFn(){return this.config.producerFn||this.options.producerFn||Wy()}get resettable(){return Wi(this.config.resettable)?this.config.resettable:this.options.resettable}_setState(t,n=!0){if(Ae(t)){const r=t(this._value());this.storeValue=el?this.deepFreeze(r):r}else this.storeValue=t;if(!this.store){this.store=new Ki({state:this.storeValue}),Se()&&this.store.subscribe(({action:r})=>{r&&Yy(this.storeName,r)});return}if(Gd()){this.handleTransaction();return}this.dispatch(this.storeValue,n)}reset(){this.isResettable()&&(Se()&&He("Reset"),this._setState(()=>Object.assign({},this._initialState)),this.setHasCache(!1))}update(t){Se()&&He("Update");let n;const r=this._value();Ae(t)?n=Ae(this._producerFn)?this._producerFn(r,t):t(r):n=t;const i=this.akitaPreUpdate(r,{...r,...n}),a=Go(r)?i:new r.constructor(i);this._setState(a)}updateStoreConfig(t){this.options={...this.options,...t}}akitaPreUpdate(t,n){return n}destroy(){!(ga?window.hmrEnabled:!1)&&this===bt[this.storeName]&&(delete bt[this.storeName],Gy(this.storeName),this.setHasCache(!1),this.cache.active.complete(),this.store.complete())}onInit(t){bt[this.storeName]=this,this._setState(()=>t),Vy(this.storeName),this.isResettable()&&(this._initialState=t),Se()&&lg(this.storeName,this.constructor.name)}dispatch(t,n=!0){let r;n&&(r=Li,km()),this.store.next({state:t,action:r})}watchTransaction(){dg().subscribe(()=>{this.inTransaction=!1,this.dispatch(this._value())})}isResettable(){return this.resettable===!1?!1:this.resettable||Ps().resettable}handleTransaction(){this.inTransaction||(this.watchTransaction(),this.inTransaction=!0)}getCacheTTL(){return this.cacheConfig&&this.cacheConfig.ttl||Ps().ttl}}function vg({state:e,ids:t,idKey:n,newStateOrFn:r,preUpdateEntity:i,producerFn:a,onEntityIdChanges:o}){const u={};let l=!1,c;for(const f of t){if(Hr(e.entities,f)===!1)continue;const p=e.entities[f];let g;Ae(r)?g=Ae(a)?a(p,r):r(p):g=r;const h=g.hasOwnProperty(n)&&g[n]!==p[n];let _;c=f,h&&(l=!0,c=g[n]);const b={...p,...g};Go(p)?_=b:Go(g)?_=new p.constructor(b):_=new g.constructor(b),u[c]=i(p,_)}let d=e.ids,s=e.entities;if(l){const[f]=t,{[f]:p,...g}=e.entities;s=g,d=e.ids.map(h=>h===f?c:h),o(f,c)}return{...e,entities:{...s,...u},ids:d}}var Is;class Qn extends pg{constructor(t={},n={}){super({...ng(),...t},n),this.options=n,this.entityActions=new Nt,this.entityIdChanges=new Nt}get selectEntityAction$(){return this.entityActions.asObservable()}get selectEntityIdChanges$(){return this.entityIdChanges.asObservable()}get idKey(){return this.config.idKey||this.options.idKey||Ky}set(t,n={}){if(vt(t))return;Se()&&He("Set Entity");const r=this.akitaPreAddEntity===Qn.prototype.akitaPreAddEntity;this.setHasCache(!0,{restartTTL:!0}),this._setState(i=>{const a=ug({state:i,entities:t,idKey:this.idKey,preAddEntity:this.akitaPreAddEntity.bind(this),isNativePreAdd:r});return Bn(n.activeId)===!1&&(a.active=n.activeId),a}),this.hasInitialUIState()&&this.handleUICreation(),this.entityActions.next({type:Ht.Set,ids:this.ids})}add(t,n={loading:!1}){const r=Qe(t);if(Ot(r))return;const i=Dm({state:this._value(),preAddEntity:this.akitaPreAddEntity.bind(this),entities:r,idKey:this.idKey,options:n});i&&(Se()&&He("Add Entity"),i.newState.loading=n.loading,this._setState(()=>i.newState),this.hasInitialUIState()&&this.handleUICreation(!0),this.entityActions.next({type:Ht.Add,ids:i.newIds}))}update(t,n){if(Bn(n)){super.update(t);return}let r=[];if(Ae(t)?r=this.ids.filter(a=>t(this.entities[a])):r=vt(t)?this.ids:Qe(t),Ot(r))return;Se()&&He("Update Entity",r);let i;this._setState(a=>vg({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:Ht.Update,ids:r})}upsert(t,n,r,i={}){const a=Qe(t),o=s=>f=>Hr(this.entities,f)===s,u=Ae(r)?i.baseClass:r?r.baseClass:void 0,l=Ae(u),c=a.filter(o(!0)),d=a.filter(o(!1)).map(s=>{const f=typeof n=="function"?n({}):n,g={...Ae(r)?r(s,f):f,[this.idKey]:s};return l?new u(g):g});this.update(c,n),this.add(d),Se()&&Wn("Upsert Entity")}upsertMany(t,n={}){const r=[],i=[],a={};for(const o of t){const u=this.akitaPreCheckEntity(o),l=u[this.idKey];if(Hr(this.entities,l)){const c=this._value().entities[l],d={...this._value().entities[l],...u},s=n.baseClass?new n.baseClass(d):d,f=this.akitaPreUpdateEntity(c,s),p=f[this.idKey];a[p]=f,i.push(p)}else{const c=n.baseClass?new n.baseClass(u):u,d=this.akitaPreAddEntity(c),s=d[this.idKey];r.push(s),a[s]=d}}Se()&&Wn("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:Ht.Update,ids:i}),r.length&&this.entityActions.next({type:Ht.Add,ids:r}),r.length&&this.hasUIStore()&&this.handleUICreation(!0)}replace(t,n){const r=Qe(t);if(Ot(r))return;const i={};for(const a of r)i[a]={...n,[this.idKey]:a};Se()&&He("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]),Se()&&He("Move Entity"),this._setState(i=>({...i,entities:{...i.entities},ids:r}))}remove(t){if(Ot(this.ids))return;const n=Wi(t);let r=[];Ae(t)?r=this.ids.filter(i=>t(this.entities[i])):r=n?Qe(t):this.ids,!Ot(r)&&(Se()&&He("Remove Entity",r),this._setState(i=>rg({state:i,ids:r})),n||this.setHasCache(!1),this.handleUIRemove(r),this.entityActions.next({type:Ht.Remove,ids:r}))}updateActive(t){const n=Qe(this.active);Se()&&He("Update Active",n),this.update(n,t)}setActive(t){const n=tg(t,this.ids,this.active);n!==void 0&&(Se()&&He("Set Active",n),this._setActive(n))}addActive(t){const n=Qe(t);Ot(n)||n.every(i=>this.active.indexOf(i)>-1)||(Se()&&He("Add Active",t),this._setState(i=>{const a=Array.from(new Set([...i.active,...n]));return{...i,active:a}}))}removeActive(t){const n=Qe(t);Ot(n)||!n.some(i=>this.active.indexOf(i)>-1)||(Se()&&He("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=Qe(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),Se()&&Wn("Toggle Active")}createUIStore(t={},n={}){const r={name:`UI/${this.storeName}`,idKey:this.idKey};return this.ui=new Cs(t,{...r,...n}),this.ui}destroy(){super.destroy(),this.ui instanceof Qn&&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=Ae(this.ui._akitaCreateEntityFn);let i;const a=o=>{const u=this.entities[o],l=r?this.ui._akitaCreateEntityFn(u):this.ui._akitaCreateEntityFn;return{[this.idKey]:u[this.idKey],...l}};t?i=this.ids.filter(o=>Bn(this.ui.entities[o])).map(a):i=n.map(a),t?this.ui.add(i):this.ui.set(i)}hasInitialUIState(){return this.hasUIStore()&&Bn(this.ui._akitaCreateEntityFn)===!1}handleUIRemove(t){this.hasUIStore()&&this.ui.remove(t)}hasUIStore(){return this.ui instanceof Cs}}qu([Vd(),It("design:type",Function),It("design:paramtypes",[Object,Object,Object,Object]),It("design:returntype",void 0)],Qn.prototype,"upsert",null);qu([Vd(),It("design:type",Function),It("design:paramtypes",[typeof(Is=typeof T<"u"&&T)=="function"?Is:Object]),It("design:returntype",void 0)],Qn.prototype,"toggleActive",null);class Cs extends Qn{constructor(t={},n={}){super(t,n)}setInitialEntityState(t){this._akitaCreateEntityFn=t}}function hg(){return ya(e=>e!=null)}function mg(e){return function(t,n){const r=Ae(e[0]);return e.some(i=>r?i(t)!==i(n):t[i]!==n[i])===!1}}function Yd(e){return typeof e=="string"}const yg="akitaQueryConfig";class gg{constructor(t){this.store=t,this.__store__=t,Se()&&(zd[t.storeName]=this)}select(t){let n;if(Ae(t))n=t;else if(Yd(t))n=r=>r[t];else{if(Array.isArray(t))return this.store._select(r=>r).pipe(Kr(mg(t)),qe(r=>Ae(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[yg]}}function bg(e,t){for(const n of Object.keys(t))if(e(t[n])===!0)return n}function Ls(e,t){return function(n){const r=n[e];if(!Bn(r))return t?Yd(t)?r[t]:t(r):r}}function _g(e,t){return e.reduce((n,r,i,a)=>{const o=t(r,i,a);return o!==void 0&&n.push(o),n},[])}function wg(e,t){e.sortBy=e.sortBy||t&&t.sortBy,e.sortByOrder=e.sortByOrder||t&&t.sortByOrder}class Eg extends gg{constructor(t,n={}){super(t),this.options=n,this.__store__=t}selectAll(t={asObject:!1}){return this.select(n=>n.entities).pipe(qe(()=>this.getAll(t)))}getAll(t={asObject:!1,filterBy:void 0,limitTo:void 0}){return t.asObject?eg(this.getValue(),t):(wg(t,this.config||this.options),Zy(this.getValue(),t))}selectMany(t,n){return!t||!t.length?Ju([]):this.select(r=>r.entities).pipe(qe(r=>_g(t,i=>Ls(i,n)(r))),zy())}selectEntity(t,n){let r=t;return Ae(t)&&(r=bg(t,this.getValue().entities)),this.select(i=>i.entities).pipe(qe(Ls(r,n)),Kr())}getEntity(t){return this.getValue().entities[t]}selectActiveId(){return this.select(t=>t.active)}getActiveId(){return this.getValue().active}selectActive(t){return gt(this.getActive())?this.selectActiveId().pipe(ki(n=>this.selectMany(n,t))):this.selectActiveId().pipe(ki(n=>this.selectEntity(n,t)))}getActive(){const t=this.getActiveId();return gt(t)?t.map(n=>this.getValue().entities[n]):tl(t)?this.getEntity(t):void 0}selectCount(t){return this.select(n=>n.entities).pipe(qe(()=>this.getCount(t)))}getCount(t){return Ae(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(vt(t))return this.store.selectEntityAction$;const n=gt(t)?i=>i:({ids:i})=>i,r=Qe(t);return this.store.selectEntityAction$.pipe(ya(({type:i})=>r.includes(i)),qe(i=>n(i)))}hasEntity(t){return vt(t)?this.getValue().ids.length>0:Ae(t)?this.getAll().some(t):gt(t)?t.every(n=>n in this.getValue().entities):t in this.getValue().entities}hasActive(t){const n=this.getValue().active,r=Wi(t);return Array.isArray(n)?r?n.includes(t):n.length>0:r?n===t:Wi(n)}createUIQuery(){this.ui=new Og(this.__store__.ui)}selectAt(t,n){return this.select(r=>r.ids).pipe(qe(t),Kr(),ki(r=>this.selectEntity(r,n)))}}class Og extends Eg{constructor(t){super(t)}}function Vo(e,t){return t.split(".").length===1?e:t.split(".").slice(1).join(".").split(".").reduce((r,i)=>r&&r[i],e)}function Xd(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,l,c)=>c!==a?(u[l]={...u[l]},u&&u[l]):(u[l]=r||Array.isArray(u[l])||!Zu(u[l])?n:{...u[l],...n},u&&u[l]),e),e}let Sg=!1;const Pg=new Ed(1);function Ag(){return Sg}function Tg(e){return e&&Ae(e.then)}function Ar(e){return Tg(e)||jd(e)?pr(e):Ju(e)}function mI(e){const t={key:"AkitaStores",enableInNonBrowser:!1,storage:As()?localStorage:e.storage,deserialize:JSON.parse,serialize:JSON.stringify,include:[],select:[],persistOnDestroy:!1,preStorageUpdate:function(E,P){return P},preStoreUpdate:function(E,P){return P},skipStorageUpdate:Ag,preStorageUpdateOperator:()=>E=>E},{storage:n,enableInNonBrowser:r,deserialize:i,serialize:a,include:o,select:u,key:l,preStorageUpdate:c,persistOnDestroy:d,preStorageUpdateOperator:s,preStoreUpdate:f,skipStorageUpdate:p}=Object.assign({},t,e);if(Xy&&!r||!n)return;const g=o.length>0,h=u.length>0;let _,b;g&&(_=o.reduce((E,P)=>{if(Ae(P))E.fns.push(P);else{const A=P.split(".")[0];E[A]=P}return E},{fns:[]})),h&&(b=u.reduce((E,P)=>(E[P.storeName]=P,E),{}));let m={};const v={},y=[],w=[];function S(E){Ar(E).subscribe(()=>{const P=w.shift();P&&S(P)})}const O=As()&&n===localStorage||Qy()&&n===sessionStorage;return Ar(n.getItem(l)).subscribe(E=>{let P=Zu(E)?E:i(E||"{}");function A($){P.$cache={...P.$cache||{},...$},P=Object.assign({},P,v),w.push(n.setItem(l,O?a(P):P)),S(w.shift())}function L($,C){m[$]=bt[$]._select(I=>Vo(I,C)).pipe(Hy(1),qe(I=>h&&b[$]?b[$](I):I),ya(()=>p()===!1),s()).subscribe(I=>{v[$]=c($,I),Promise.resolve().then(()=>A({[$]:bt[$]._cache().getValue()}))})}function N($,C,I){if($ in P){He("@PersistState"),C._setState(D=>Xd(D,I,f($,P[$],D)));const R=P.$cache?P.$cache[$]:!1;bt[$].setHasCache(R,{restartTTL:!0})}}y.push(Hd.subscribe($=>{m[$]&&(d===!1&&A({[$]:!1}),m[$].unsubscribe(),delete m[$])})),y.push(Kd.subscribe($=>{if($==="router")return;const C=bt[$];if(g){let I=_[$];if(!I)if(_.fns.some(D=>D($)))I=$;else return;N($,C,I),L($,I)}else N($,C,$),L($,$)})),Pg.next(!0)}),{destroy(){y.forEach(E=>E.unsubscribe());for(let E=0,P=Object.keys(m);E<P.length;E++){const A=P[E];m[A].unsubscribe()}m={}},clear(){n.clear()},clearStore(E){if(vt(E)){Ar(n.setItem(l,"{}")).subscribe();return}const P=n.getItem(l);Ar(P).subscribe(A=>{const L=i(A||"{}");L[E]&&(delete L[E],Ar(n.setItem(l,a(L))).subscribe())})}}}class Ig{constructor(t,n){this.query=t,n&&n.resetFn}getQuery(){return this.query}getStore(){return this.getQuery().__store__}isEntityBased(t){return tl(t)}selectSource(t,n){return this.isEntityBased(t)?this.getQuery().selectEntity(t).pipe(hg()):n?this.getQuery().select(r=>Vo(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?Vo(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=>Xd(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 Cg={pagesControls:!1,range:!1,startWith:1,cacheTimeout:void 0,clearStoreWithCache:!0};class Lg extends Ig{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(Uy(0)),this.config={...Cg,...n};const{startWith:r,cacheTimeout:i}=this.config;this.page=new Ki(r),jd(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||(Wn("@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(),Bn(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),pr(t()).pipe(ki(r=>(n=r.currentPage,nl(()=>{this.setLoading(!1),this.update(r)}),this.selectPage(n)))))}getQuery(){return this.query}refreshCurrentPage(){vt(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(qo(1),qe(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=Rg(this.pagination.total,this.pagination.perPage)),r}))}}qu([Nm("@Pagination - New Page"),It("design:type",Function),It("design:paramtypes",[Object]),It("design:returntype",void 0)],Lg.prototype,"update",null);function Rg(e,t){const n=Math.ceil(e/t),r=[];for(let i=0;i<n;i++)r.push(i+1);return r}function yI(e){e=Object.assign({},{exclude:[]},e);const n=Object.keys(bt);nl(()=>{for(const r of n){const i=bt[r];e.exclude?e.exclude.indexOf(i.storeName)===-1&&i.reset():i.reset()}})}var Yo;(function(e){e.Update="UPDATE"})(Yo||(Yo={}));Yo.Update+"";var St;(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"})(St||(St={}));St.Update+"",St.AddEntities+"",St.SetEntities+"",St.UpdateEntities+"",St.RemoveEntities+"",St.UpsertEntities+"",St.UpsertManyEntities+"";const kg="modulepreload",Ng=function(e){return"/benefits/app/"+e},Rs={},gI=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=Ng(a),a in Rs)return;Rs[a]=!0;const o=a.endsWith(".css"),u=o?'[rel="stylesheet"]':"";if(!!r)for(let d=i.length-1;d>=0;d--){const s=i[d];if(s.href===a&&(!o||s.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const c=document.createElement("link");if(c.rel=o?"stylesheet":kg,o||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),o)return new Promise((d,s)=>{c.addEventListener("load",d),c.addEventListener("error",()=>s(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 ni,q,Qd,dn,ks,Jd,Xo,Zd,Gn={},ep=[],Mg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ba=Array.isArray;function Tt(e,t){for(var n in t)e[n]=t[n];return e}function tp(e){var t=e.parentNode;t&&t.removeChild(e)}function j(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?ni.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 Mr(e,o,r,i,null)}function Mr(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??++Qd};return i==null&&q.vnode!=null&&q.vnode(a),a}function zr(){return{current:null}}function ye(e){return e.children}function ot(e,t){this.props=e,this.context=t}function Wr(e,t){if(t==null)return e.__?Wr(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"?Wr(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 Qo(e){(!e.__d&&(e.__d=!0)&&dn.push(e)&&!Gi.__r++||ks!==q.debounceRendering)&&((ks=q.debounceRendering)||Jd)(Gi)}function Gi(){var e,t,n,r,i,a,o,u,l;for(dn.sort(Xo);e=dn.shift();)e.__d&&(t=dn.length,r=void 0,i=void 0,a=void 0,u=(o=(n=e).__v).__e,(l=n.__P)&&(r=[],i=[],(a=Tt({},o)).__v=o.__v+1,rl(l,o,a,n.__n,l.ownerSVGElement!==void 0,o.__h!=null?[u]:null,r,u??Wr(o),o.__h,i),op(r,o,i),o.__e!=u&&np(o)),dn.length>t&&dn.sort(Xo));Gi.__r=0}function rp(e,t,n,r,i,a,o,u,l,c,d){var s,f,p,g,h,_,b,m,v,y=0,w=r&&r.__k||ep,S=w.length,O=S,E=t.length;for(n.__k=[],s=0;s<E;s++)(g=n.__k[s]=(g=t[s])==null||typeof g=="boolean"||typeof g=="function"?null:typeof g=="string"||typeof g=="number"||typeof g=="bigint"?Mr(null,g,null,null,g):ba(g)?Mr(ye,{children:g},null,null,null):g.__b>0?Mr(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)!=null?(g.__=n,g.__b=n.__b+1,(m=Dg(g,w,b=s+y,O))===-1?p=Gn:(p=w[m]||Gn,w[m]=void 0,O--),rl(e,g,p,i,a,o,u,l,c,d),h=g.__e,(f=g.ref)&&p.ref!=f&&(p.ref&&il(p.ref,null,g),d.push(f,g.__c||h,g)),h!=null&&(_==null&&(_=h),(v=p===Gn||p.__v===null)?m==-1&&y--:m!==b&&(m===b+1?y++:m>b?O>E-b?y+=m-b:y--:y=m<b&&m==b-1?m-b:0),b=s+y,typeof g.type!="function"||m===b&&p.__k!==g.__k?typeof g.type=="function"||m===b&&!v?g.__d!==void 0?(l=g.__d,g.__d=void 0):l=h.nextSibling:l=ap(e,h,l):l=ip(g,l,e),typeof n.type=="function"&&(n.__d=l))):(p=w[s])&&p.key==null&&p.__e&&(p.__e==l&&(p.__=r,l=Wr(p)),Jo(p,p,!1),w[s]=null);for(n.__e=_,s=S;s--;)w[s]!=null&&(typeof n.type=="function"&&w[s].__e!=null&&w[s].__e==n.__d&&(n.__d=w[s].__e.nextSibling),Jo(w[s],w[s]))}function ip(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"?ip(r,t,n):ap(n,r.__e,t));return t}function pt(e,t){return t=t||[],e==null||typeof e=="boolean"||(ba(e)?e.some(function(n){pt(n,t)}):t.push(e)),t}function ap(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 Dg(e,t,n,r){var i=e.key,a=e.type,o=n-1,u=n+1,l=t[n];if(l===null||l&&i==l.key&&a===l.type)return n;if(r>(l!=null?1:0))for(;o>=0||u<t.length;){if(o>=0){if((l=t[o])&&i==l.key&&a===l.type)return o;o--}if(u<t.length){if((l=t[u])&&i==l.key&&a===l.type)return u;u++}}return-1}function $g(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||Vi(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]||Vi(e,a,t[a],n[a],r)}function Ns(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Mg.test(t)?n:n+"px"}function Vi(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||Ns(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ns(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?Ds:Ms,a)):e.removeEventListener(t,a?Ds:Ms,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 Ms(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(q.event?q.event(e):e)}function Ds(e){return this.l[e.type+!0](q.event?q.event(e):e)}function rl(e,t,n,r,i,a,o,u,l,c){var d,s,f,p,g,h,_,b,m,v,y,w,S,O,E,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,u=t.__e=n.__e,t.__h=null,a=[u]),(d=q.__b)&&d(t);e:if(typeof P=="function")try{if(b=t.props,m=(d=P.contextType)&&r[d.__c],v=d?m?m.props.value:d.__:r,n.__c?_=(s=t.__c=n.__c).__=s.__E:("prototype"in P&&P.prototype.render?t.__c=s=new P(b,v):(t.__c=s=new ot(b,v),s.constructor=P,s.render=Bg),m&&m.sub(s),s.props=b,s.state||(s.state={}),s.context=v,s.__n=r,f=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),P.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=Tt({},s.__s)),Tt(s.__s,P.getDerivedStateFromProps(b,s.__s))),p=s.props,g=s.state,s.__v=t,f)P.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(P.getDerivedStateFromProps==null&&b!==p&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(b,v),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(b,s.__s,v)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(s.props=b,s.state=s.__s,s.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(A){A&&(A.__=t)}),y=0;y<s._sb.length;y++)s.__h.push(s._sb[y]);s._sb=[],s.__h.length&&o.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(b,s.__s,v),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(p,g,h)})}if(s.context=v,s.props=b,s.__P=e,s.__e=!1,w=q.__r,S=0,"prototype"in P&&P.prototype.render){for(s.state=s.__s,s.__d=!1,w&&w(t),d=s.render(s.props,s.state,s.context),O=0;O<s._sb.length;O++)s.__h.push(s._sb[O]);s._sb=[]}else do s.__d=!1,w&&w(t),d=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++S<25);s.state=s.__s,s.getChildContext!=null&&(r=Tt(Tt({},r),s.getChildContext())),f||s.getSnapshotBeforeUpdate==null||(h=s.getSnapshotBeforeUpdate(p,g)),rp(e,ba(E=d!=null&&d.type===ye&&d.key==null?d.props.children:d)?E:[E],t,n,r,i,a,o,u,l,c),s.base=t.__e,t.__h=null,s.__h.length&&o.push(s),_&&(s.__E=s.__=null)}catch(A){t.__v=null,(l||a!=null)&&(t.__e=u,t.__h=!!l,a[a.indexOf(u)]=null),q.__e(A,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=jg(n.__e,t,n,r,i,a,o,l,c);(d=q.diffed)&&d(t)}function op(e,t,n){for(var r=0;r<n.length;r++)il(n[r],n[++r],n[++r]);q.__c&&q.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(a){a.call(i)})}catch(a){q.__e(a,i.__v)}})}function jg(e,t,n,r,i,a,o,u,l){var c,d,s,f=n.props,p=t.props,g=t.type,h=0;if(g==="svg"&&(i=!0),a!=null){for(;h<a.length;h++)if((c=a[h])&&"setAttribute"in c==!!g&&(g?c.localName===g:c.nodeType===3)){e=c,a[h]=null;break}}if(e==null){if(g===null)return document.createTextNode(p);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),a=null,u=!1}if(g===null)f===p||u&&e.data===p||(e.data=p);else{if(a=a&&ni.call(e.childNodes),d=(f=n.props||Gn).dangerouslySetInnerHTML,s=p.dangerouslySetInnerHTML,!u){if(a!=null)for(f={},h=0;h<e.attributes.length;h++)f[e.attributes[h].name]=e.attributes[h].value;(s||d)&&(s&&(d&&s.__html==d.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if($g(e,p,f,i,u),s)t.__k=[];else if(rp(e,ba(h=t.props.children)?h:[h],t,n,r,i&&g!=="foreignObject",a,o,a?a[0]:n.__k&&Wr(n,0),u,l),a!=null)for(h=a.length;h--;)a[h]!=null&&tp(a[h]);u||("value"in p&&(h=p.value)!==void 0&&(h!==e.value||g==="progress"&&!h||g==="option"&&h!==f.value)&&Vi(e,"value",h,f.value,!1),"checked"in p&&(h=p.checked)!==void 0&&h!==e.checked&&Vi(e,"checked",h,f.checked,!1))}return e}function il(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){q.__e(r,n)}}function Jo(e,t,n){var r,i;if(q.unmount&&q.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||il(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){q.__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]&&Jo(r[i],t,n||typeof e.type!="function");n||e.__e==null||tp(e.__e),e.__=e.__e=e.__d=void 0}function Bg(e,t,n){return this.constructor(e,n)}function Jn(e,t,n){var r,i,a,o;q.__&&q.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],o=[],rl(t,e=(!r&&n||t).__k=j(ye,null,[e]),i||Gn,Gn,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?ni.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),op(a,e,o)}function al(e,t){Jn(e,t,al)}function up(e,t,n){var r,i,a,o,u=Tt({},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?ni.call(arguments,2):n),Mr(e.type,u,r||e.key,i||e.ref,null)}function ke(e,t){var n={__c:t="__cC"+Zd++,__: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,Qo(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}ni=ep.slice,q={__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}},Qd=0,ot.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Tt({},this.state),typeof e=="function"&&(e=e(Tt({},n),this.props)),e&&Tt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Qo(this))},ot.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qo(this))},ot.prototype.render=ye,dn=[],Jd=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xo=function(e,t){return e.__v.__b-t.__v.__b},Gi.__r=0,Zd=0;var Mt,de,Wa,$s,Zn=0,lp=[],Mi=[],js=q.__b,Bs=q.__r,Fs=q.diffed,Us=q.__c,xs=q.unmount;function Tn(e,t){q.__h&&q.__h(de,e,Zn||t),Zn=0;var n=de.__H||(de.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Mi}),n.__[e]}function Be(e){return Zn=1,In(dp,e)}function In(e,t,n){var r=Tn(Mt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):dp(void 0,t),function(u){var l=r.__N?r.__N[0]:r.__[0],c=r.t(l,u);l!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=de,!de.u)){var i=function(u,l,c){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(f){return f.__c});if(d.every(function(f){return!f.__N}))return!a||a.call(this,u,l,c);var s=!1;return d.forEach(function(f){if(f.__N){var p=f.__[0];f.__=f.__N,f.__N=void 0,p!==f.__[0]&&(s=!0)}}),!(!s&&r.__c.props===u)&&(!a||a.call(this,u,l,c))};de.u=!0;var a=de.shouldComponentUpdate,o=de.componentWillUpdate;de.componentWillUpdate=function(u,l,c){if(this.__e){var d=a;a=void 0,i(u,l,c),a=d}o&&o.call(this,u,l,c)},de.shouldComponentUpdate=i}return r.__N||r.__}function ce(e,t){var n=Tn(Mt++,3);!q.__s&&ol(n.__H,t)&&(n.__=e,n.i=t,de.__H.__h.push(n))}function Cn(e,t){var n=Tn(Mt++,4);!q.__s&&ol(n.__H,t)&&(n.__=e,n.i=t,de.__h.push(n))}function ee(e){return Zn=5,ue(function(){return{current:e}},[])}function sp(e,t,n){Zn=6,Cn(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 ue(e,t){var n=Tn(Mt++,7);return ol(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function qt(e,t){return Zn=8,ue(function(){return e},t)}function Te(e){var t=de.context[e.__c],n=Tn(Mt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(de)),t.props.value):e.__}function cp(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function Fg(e){var t=Tn(Mt++,10),n=Be();return t.__=e,de.componentDidCatch||(de.componentDidCatch=function(r,i){t.__&&t.__(r,i),n[1](r)}),[n[0],function(){n[1](void 0)}]}function fp(){var e=Tn(Mt++,11);if(!e.__){for(var t=de.__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 Ug(){for(var e;e=lp.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Di),e.__H.__h.forEach(Zo),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){de=null,js&&js(e)},q.__r=function(e){Bs&&Bs(e),Mt=0;var t=(de=e.__c).__H;t&&(Wa===de?(t.__h=[],de.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Mi,n.__N=n.i=void 0})):(t.__h.forEach(Di),t.__h.forEach(Zo),t.__h=[],Mt=0)),Wa=de},q.diffed=function(e){Fs&&Fs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(lp.push(t)!==1&&$s===q.requestAnimationFrame||(($s=q.requestAnimationFrame)||xg)(Ug)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Mi&&(n.__=n.__V),n.i=void 0,n.__V=Mi})),Wa=de=null},q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Di),n.__h=n.__h.filter(function(r){return!r.__||Zo(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],q.__e(r,n.__v)}}),Us&&Us(e,t)},q.unmount=function(e){xs&&xs(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Di(r)}catch(i){t=i}}),n.__H=void 0,t&&q.__e(t,n.__v))};var Hs=typeof requestAnimationFrame=="function";function xg(e){var t,n=function(){clearTimeout(r),Hs&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Hs&&(t=requestAnimationFrame(n))}function Di(e){var t=de,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),de=t}function Zo(e){var t=de;e.__c=e.__(),de=t}function ol(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function dp(e,t){return typeof t=="function"?t(e):t}let $n;const Hg=(e,t)=>{if($n=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;$n=!0,t.preventDefault(),t=n.href.replace(location.origin,"")}else typeof t=="string"?$n=!0:t=location.pathname+location.search;return $n===!0?history.pushState(null,"",t):$n===!1&&history.replaceState(null,"",t),t};function pp(e){const[t,n]=In(Hg,e.url||location.pathname+location.search),r=$n===!0,i=ue(()=>{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 Cn(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),j(pp.ctx.Provider,{value:i},e.children)}Promise.resolve();pp.ctx=ke({});ke({});const Ks=q.__e;q.__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)}Ks&&Ks(e,t,n)};let zs;function bI(e,t){if(typeof window>"u")return;let n=document.querySelector("script[type=isodata]");t=t||n&&n.parentNode||document.body,!zs&&n?al(e,t):Jn(e,t),zs=!0}function vp(e,t){for(var n in t)e[n]=t[n];return e}function eu(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 qa(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Yi(e){this.props=e}function hp(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:eu(this.props,i)}function r(i){return this.shouldComponentUpdate=n,j(e,i)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Yi.prototype=new ot).isPureReactComponent=!0,Yi.prototype.shouldComponentUpdate=function(e,t){return eu(this.props,e)||eu(this.state,t)};var Ws=q.__b;q.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ws&&Ws(e)};var Kg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function fe(e){function t(n){var r=vp({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Kg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qs=function(e,t){return e==null?null:pt(pt(e).map(t))},mp={map:qs,forEach:qs,count:function(e){return e?pt(e).length:0},only:function(e){var t=pt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:pt},zg=q.__e;q.__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)}zg(e,t,n,r)};var Gs=q.unmount;function yp(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=vp({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return yp(r,t,n)})),e}function gp(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return gp(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 Dr(){this.__u=0,this.t=null,this.__b=null}function bp(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function _p(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 j(n,a)}return i.displayName="Lazy",i.__f=!0,i}function Fn(){this.u=null,this.o=null}q.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Gs&&Gs(e)},(Dr.prototype=new ot).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=bp(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]=gp(c,c.__c.__P,c.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.t.pop();)d.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},Dr.prototype.componentWillUnmount=function(){this.t=[]},Dr.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]=yp(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&j(ye,null,e.fallback);return i&&(i.__h=null),[j(ye,null,t.__a?null:e.children),i]};var Vs=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 Wg(e){return this.getChildContext=function(){return e.context},e.children}function qg(e){var t=this,n=e.i;t.componentWillUnmount=function(){Jn(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)}}),Jn(j(Wg,{context:t.context},e.__v),t.l)}function ul(e,t){var n=j(qg,{__v:e,i:t});return n.containerInfo=t,n}(Fn.prototype=new ot).__a=function(e){var t=this,n=bp(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),Vs(t,e,r)):i()};n?n(a):a()}},Fn.prototype.render=function(e){this.u=null,this.o=new Map;var t=pt(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},Fn.prototype.componentDidUpdate=Fn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Vs(e,n,t)})};var wp=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Gg=/^(?: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]/,Vg=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Yg=/[A-Z0-9]/g,Xg=typeof document<"u",Qg=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ep(e,t,n){return t.__k==null&&(t.textContent=""),Jn(e,t),typeof n=="function"&&n(),e?e.__c:null}function Op(e,t,n){return al(e,t),typeof n=="function"&&n(),e?e.__c:null}ot.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ot.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ys=q.event;function Jg(){}function Zg(){return this.cancelBubble}function e0(){return this.defaultPrevented}q.event=function(e){return Ys&&(e=Ys(e)),e.persist=Jg,e.isPropagationStopped=Zg,e.isDefaultPrevented=e0,e.nativeEvent=e};var ll,t0={enumerable:!1,configurable:!0,get:function(){return this.class}},Xs=q.vnode;q.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||Xg&&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"||Qg(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":Vg.test(a)?a=u:r.indexOf("-")===-1&&Gg.test(a)?a=a.replace(Yg,"-$&").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=pt(n.children).forEach(function(l){l.props.selected=i.value.indexOf(l.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=pt(n.children).forEach(function(l){l.props.selected=i.multiple?i.defaultValue.indexOf(l.props.value)!=-1:i.defaultValue==l.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",t0)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),t.props=i}(e),e.$$typeof=wp,Xs&&Xs(e)};var Qs=q.__r;q.__r=function(e){Qs&&Qs(e),ll=e.__c};var Js=q.diffed;q.diffed=function(e){Js&&Js(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),ll=null};var Sp={ReactCurrentDispatcher:{current:{readContext:function(e){return ll.__n[e.__c].props.value}}}},n0="17.0.2";function Pp(e){return j.bind(null,e)}function vr(e){return!!e&&e.$$typeof===wp}function Ap(e){return vr(e)&&e.type===ye}function sl(e){return vr(e)?up.apply(null,arguments):e}function Tp(e){return!!e.__k&&(Jn(null,e),!0)}function Ip(e){return e&&(e.base||e.nodeType===1&&e)||null}var Cp=function(e,t){return e(t)},Lp=function(e,t){return e(t)},Rp=ye;function cl(e){e()}function kp(e){return e}function Np(){return[!1,cl]}var Mp=Cn,Dp=vr;function $p(e,t){var n=t(),r=Be({h:{__:n,v:t}}),i=r[0].h,a=r[1];return Cn(function(){i.__=n,i.v=t,qa(i.__,t())||a({h:i})},[e,n,t]),ce(function(){return qa(i.__,i.v())||a({h:i}),e(function(){qa(i.__,i.v())||a({h:i})})},[e]),n}var J={useState:Be,useId:fp,useReducer:In,useEffect:ce,useLayoutEffect:Cn,useInsertionEffect:Mp,useTransition:Np,useDeferredValue:kp,useSyncExternalStore:$p,startTransition:cl,useRef:ee,useImperativeHandle:sp,useMemo:ue,useCallback:qt,useContext:Te,useDebugValue:cp,version:"17.0.2",Children:mp,render:Ep,hydrate:Op,unmountComponentAtNode:Tp,createPortal:ul,createElement:j,createContext:ke,createFactory:Pp,cloneElement:sl,createRef:zr,Fragment:ye,isValidElement:vr,isElement:Dp,isFragment:Ap,findDOMNode:Ip,Component:ot,PureComponent:Yi,memo:hp,forwardRef:fe,flushSync:Lp,unstable_batchedUpdates:Cp,StrictMode:Rp,Suspense:Dr,SuspenseList:Fn,lazy:_p,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sp};const er=Object.freeze(Object.defineProperty({__proto__:null,Children:mp,Component:ot,Fragment:ye,PureComponent:Yi,StrictMode:Rp,Suspense:Dr,SuspenseList:Fn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sp,cloneElement:sl,createContext:ke,createElement:j,createFactory:Pp,createPortal:ul,createRef:zr,default:J,findDOMNode:Ip,flushSync:Lp,forwardRef:fe,hydrate:Op,isElement:Dp,isFragment:Ap,isValidElement:vr,lazy:_p,memo:hp,render:Ep,startTransition:cl,unmountComponentAtNode:Tp,unstable_batchedUpdates:Cp,useCallback:qt,useContext:Te,useDebugValue:cp,useDeferredValue:kp,useEffect:ce,useErrorBoundary:Fg,useId:fp,useImperativeHandle:sp,useInsertionEffect:Mp,useLayoutEffect:Cn,useMemo:ue,useReducer:In,useRef:ee,useState:Be,useSyncExternalStore:$p,useTransition:Np,version:n0},Symbol.toStringTag,{value:"Module"}));var jp={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||s,scrollIntoView:a.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(y){var w=["MSIE ","Trident/","Edge/"];return new RegExp(w.join("|")).test(y)}var d=c(r.navigator.userAgent)?1:0;function s(y,w){this.scrollLeft=y,this.scrollTop=w}function f(y){return .5*(1-Math.cos(Math.PI*y))}function p(y){if(y===null||typeof y!="object"||y.behavior===void 0||y.behavior==="auto"||y.behavior==="instant")return!0;if(typeof y=="object"&&y.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+y.behavior+" is not a valid value for enumeration ScrollBehavior.")}function g(y,w){if(w==="Y")return y.clientHeight+d<y.scrollHeight;if(w==="X")return y.clientWidth+d<y.scrollWidth}function h(y,w){var S=r.getComputedStyle(y,null)["overflow"+w];return S==="auto"||S==="scroll"}function _(y){var w=g(y,"Y")&&h(y,"Y"),S=g(y,"X")&&h(y,"X");return w||S}function b(y){for(;y!==i.body&&_(y)===!1;)y=y.parentNode||y.host;return y}function m(y){var w=l(),S,O,E,P=(w-y.startTime)/o;P=P>1?1:P,S=f(P),O=y.startX+(y.x-y.startX)*S,E=y.startY+(y.y-y.startY)*S,y.method.call(y.scrollable,O,E),(O!==y.x||E!==y.y)&&r.requestAnimationFrame(m.bind(r,y))}function v(y,w,S){var O,E,P,A,L=l();y===i.body?(O=r,E=r.scrollX||r.pageXOffset,P=r.scrollY||r.pageYOffset,A=u.scroll):(O=y,E=y.scrollLeft,P=y.scrollTop,A=s),m({scrollable:O,method:A,startTime:L,startX:E,startY:P,x:w,y:S})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(p(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}v.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(p(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}v.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(p(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 y=arguments[0].left,w=arguments[0].top;v.call(this,this,typeof y>"u"?this.scrollLeft:~~y,typeof w>"u"?this.scrollTop:~~w)}},a.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(p(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(p(arguments[0])===!0){u.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var y=b(this),w=y.getBoundingClientRect(),S=this.getBoundingClientRect();y!==i.body?(v.call(this,y,y.scrollLeft+S.left-w.left,y.scrollTop+S.top-w.top),r.getComputedStyle(y).position!=="fixed"&&r.scrollBy({left:w.left,top:w.top,behavior:"smooth"})):r.scrollBy({left:S.left,top:S.top,behavior:"smooth"})}}e.exports={polyfill:n}})()})(jp);var r0=jp.exports;const _I=An(r0);function wI(e,t){return t=t||{},new Promise(function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},l=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:l,headers:{keys:function(){return a},entries:function(){return o},get:function(d){return u[d.toLowerCase()]},has:function(d){return d.toLowerCase()in u}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(d,s,f){a.push(s=s.toLowerCase()),o.push([s,f]),u[s]=u[s]?u[s]+","+f:f}),n(l())},i.onerror=r,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)})}var Zs=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function i0(e,t){return!!(e===t||Zs(e)&&Zs(t))}function a0(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!i0(e[n],t[n]))return!1;return!0}function EI(e,t){t===void 0&&(t=a0);var n,r=[],i,a=!1;function o(){for(var u=[],l=0;l<arguments.length;l++)u[l]=arguments[l];return a&&n===this&&t(u,r)||(i=e.apply(this,u),a=!0,n=this,r=u),i}return o}var o0=function(t,n,r,i){var a=r?r.call(i,t,n):void 0;if(a!==void 0)return!!a;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),u=Object.keys(n);if(o.length!==u.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var d=o[c];if(!l(d))return!1;var s=t[d],f=n[d];if(a=r?r.call(i,s,f,d):void 0,a===!1||a===void 0&&s!==f)return!1}return!0};const OI=An(o0);globalThis&&globalThis.__spreadArray;function u0(e){return e}function l0(e){return function(){return e}}var s0=l0(void 0);function SI(e,t,n,r,i,a,o,u,l){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 l(u(o(a(i(r(n(t(e))))))));default:{for(var c=arguments[0],d=1;d<arguments.length;d++)c=arguments[d](c);return c}}}globalThis&&globalThis.__spreadArray;var c0=function(e){return e._tag==="Some"},f0={_tag:"None"},d0=function(e){return{_tag:"Some",value:e}},fl=f0,Bp=d0,PI=function(e){return function(t){return _a(t)?fl:Bp(e(t.value))}},AI=c0,_a=function(e){return e._tag==="None"},p0=function(e,t){return function(n){return _a(n)?e():t(n.value)}},Fp=p0,TI=Fp,v0=function(e){return function(t){return _a(t)?e():t.value}},II=v0,h0=function(e){return e==null?fl:Bp(e)},CI=function(e){return function(t){return _a(t)?fl:h0(e(t.value))}},LI=Fp(s0,u0);function Xi(){return Xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xi.apply(this,arguments)}var Un;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Un||(Un={}));var ec=function(e){return e},tc="beforeunload",m0="hashchange",y0="popstate";function RI(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function a(){var E=ic(r.location.hash.substr(1)),P=E.pathname,A=P===void 0?"/":P,L=E.search,N=L===void 0?"":L,$=E.hash,C=$===void 0?"":$,I=i.state||{};return[I.idx,ec({pathname:A,search:N,hash:C,state:I.usr||null,key:I.key||"default"})]}var o=null;function u(){if(o)p.call(o),o=null;else{var E=Un.Pop,P=a(),A=P[0],L=P[1];if(p.length){if(A!=null){var N=d-A;N&&(o={action:E,location:L,retry:function(){S(N*-1)}},S(N))}}else v(E)}}r.addEventListener(y0,u),r.addEventListener(m0,function(){var E=a(),P=E[1];Ga(P)!==Ga(s)&&u()});var l=Un.Pop,c=a(),d=c[0],s=c[1],f=rc(),p=rc();d==null&&(d=0,i.replaceState(Xi({},i.state,{idx:d}),""));function g(){var E=document.querySelector("base"),P="";if(E&&E.getAttribute("href")){var A=r.location.href,L=A.indexOf("#");P=L===-1?A:A.slice(0,L)}return P}function h(E){return g()+"#"+(typeof E=="string"?E:Ga(E))}function _(E,P){return P===void 0&&(P=null),ec(Xi({pathname:s.pathname,hash:"",search:""},typeof E=="string"?ic(E):E,{state:P,key:g0()}))}function b(E,P){return[{usr:E.state,key:E.key,idx:P},h(E)]}function m(E,P,A){return!p.length||(p.call({action:E,location:P,retry:A}),!1)}function v(E){l=E;var P=a();d=P[0],s=P[1],f.call({action:l,location:s})}function y(E,P){var A=Un.Push,L=_(E,P);function N(){y(E,P)}if(m(A,L,N)){var $=b(L,d+1),C=$[0],I=$[1];try{i.pushState(C,"",I)}catch{r.location.assign(I)}v(A)}}function w(E,P){var A=Un.Replace,L=_(E,P);function N(){w(E,P)}if(m(A,L,N)){var $=b(L,d),C=$[0],I=$[1];i.replaceState(C,"",I),v(A)}}function S(E){i.go(E)}var O={get action(){return l},get location(){return s},createHref:h,push:y,replace:w,go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(P){return f.push(P)},block:function(P){var A=p.push(P);return p.length===1&&r.addEventListener(tc,nc),function(){A(),p.length||r.removeEventListener(tc,nc)}}};return O}function nc(e){e.preventDefault(),e.returnValue=""}function rc(){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 g0(){return Math.random().toString(36).substr(2,8)}function Ga(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 ic(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 b0={};function Up(e,t){for(var n in t)e[n]=t[n];return e}function xp(e,t,n){var r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),a={},o;if(i&&i[1])for(var u=i[1].split("&"),l=0;l<u.length;l++){var c=u[l].split("=");a[decodeURIComponent(c[0])]=decodeURIComponent(c.slice(1).join("="))}e=tu(e.replace(r,"")),t=tu(t||"");for(var d=Math.max(e.length,t.length),s=0;s<d;s++)if(t[s]&&t[s].charAt(0)===":"){var f=t[s].replace(/(^:|[+*?]+$)/g,""),p=(t[s].match(/[+*?]+$/)||b0)[0]||"",g=~p.indexOf("+"),h=~p.indexOf("*"),_=e[s]||"";if(!_&&!h&&(p.indexOf("?")<0||g)){o=!1;break}if(a[f]=decodeURIComponent(_),g||h){a[f]=e.slice(s).map(decodeURIComponent).join("/");break}}else if(t[s]!==e[s]){o=!1;break}return n.default!==!0&&o===!1?!1:a}function _0(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function w0(e,t){return e.index=t,e.rank=S0(e),e.props}function tu(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function E0(e){return e.charAt(0)==":"?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function O0(e){return tu(e).map(E0).join("")}function S0(e){return e.props.default?0:O0(e.props.path)}var Je=null,yn=[],nu=[],P0={};function A0(e,t){t===void 0&&(t="push"),Je&&Je[t]?Je[t](e):typeof history<"u"&&history[t+"State"]&&history[t+"State"](null,null,e)}function dl(){var e;return Je&&Je.location?e=Je.location:Je&&Je.getCurrentLocation?e=Je.getCurrentLocation():e=typeof location<"u"?location:P0,""+(e.pathname||"")+(e.search||"")}function Hp(e,t){return t===void 0&&(t=!1),typeof e!="string"&&e.url&&(t=e.replace,e=e.url),T0(e)&&A0(e,t?"replace":"push"),Kp(e)}function T0(e){for(var t=yn.length;t--;)if(yn[t].canRoute(e))return!0;return!1}function Kp(e){for(var t=!1,n=0;n<yn.length;n++)yn[n].routeTo(e)===!0&&(t=!0);for(var r=nu.length;r--;)nu[r](e);return t}function zp(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 Hp(t)}}function I0(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0))return zp(e.currentTarget||e.target||this),Wp(e)}function Wp(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function C0(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(zp(t))return Wp(e)}while(t=t.parentNode)}}var ac=!1;function L0(){ac||(typeof addEventListener=="function"&&(Je||addEventListener("popstate",function(){Kp(dl())}),addEventListener("click",C0)),ac=!0)}var tn=function(e){function t(n){e.call(this,n),n.history&&(Je=n.history),this.state={url:n.url||dl()},L0()}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=pt(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(){yn.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var r=this;Je&&(this.unlisten=Je.listen(function(i){r.routeTo(""+(i.pathname||"")+(i.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){typeof this.unlisten=="function"&&this.unlisten(),yn.splice(yn.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(w0).sort(_0).map(function(o){var u=xp(i,o.props.path,o.props);if(u){if(a!==!1){var l={url:i,matches:u};return Up(l,u),delete l.ref,delete l.key,up(o,l)}return o}}).filter(Boolean)},t.prototype.render=function(r,i){var a=r.children,o=r.onChange,u=i.url,l=this.getMatchingChildren(pt(a),u,!0),c=l[0]||null,d=this.previousUrl;return u!==d&&(this.previousUrl=u,typeof o=="function"&&o({router:this,url:u,previous:d,active:l,current:c})),c},t}(ot),R0=function(e){return j("a",Up({onClick:I0},e))},k0=function(e){return j(e.component,e)};tn.subscribers=nu;tn.getCurrentUrl=dl;tn.route=Hp;tn.Router=tn;tn.Route=k0;tn.Link=R0;tn.exec=xp;const N0="application/json",qp="Content-Type",Rn=Symbol(),Gp=Symbol();function oc(e={}){var t;return(t=Object.entries(e).find(([n])=>n.toLowerCase()===qp.toLowerCase()))===null||t===void 0?void 0:t[1]}function uc(e){return/^application\/.*json.*/.test(e)}const gn=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]=gn(o,a,n):r[i]=a,r},{...e})},tr={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 M0(e,t=!1){tr.options=t?e:gn(tr.options,e)}function D0(e,t=!1){tr.polyfills=t?e:gn(tr.polyfills,e)}function $0(e){tr.errorType=e}const j0=e=>t=>e.reduceRight((n,r)=>r(n),t)||t;class Vp extends Error{}const B0=e=>{const t=Object.create(null);e=e._addons.reduce((v,y)=>y.beforeRequest&&y.beforeRequest(v,e._options,t)||v,e);const{_url:n,_options:r,_config:i,_catchers:a,_resolvers:o,_middlewares:u,_addons:l}=e,c=new Map(a),d=gn(i.options,r);let s=n;const f=j0(u)((v,y)=>(s=v,i.polyfill("fetch")(v,y)))(n,d),p=new Error,g=f.catch(v=>{throw{[Rn]:v}}).then(v=>{if(!v.ok){const y=new Vp;if(y.cause=p,y.stack=y.stack+`
4
+ CAUSE: `+p.stack,y.response=v,y.url=s,v.type==="opaque")throw y;return v.text().then(w=>{var S;if(y.message=w,i.errorType==="json"||((S=v.headers.get("Content-Type"))===null||S===void 0?void 0:S.split(";")[0])==="application/json")try{y.json=JSON.parse(w)}catch{}throw y.text=w,y.status=v.status,y})}return v}),h=v=>v.catch(y=>{const w=y.hasOwnProperty(Rn),S=w?y[Rn]:y,O=(S==null?void 0:S.status)&&c.get(S.status)||c.get(S==null?void 0:S.name)||w&&c.has(Rn)&&c.get(Rn);if(O)return O(S,e);const E=c.get(Gp);if(E)return E(S,e);throw S}),_=v=>y=>h(v?g.then(w=>w&&w[v]()).then(w=>y?y(w):w):g.then(w=>y?y(w):w)),b={_wretchReq:e,_fetchReq:f,_sharedState:t,res:_(null),json:_("json"),blob:_("blob"),formData:_("formData"),arrayBuffer:_("arrayBuffer"),text:_("text"),error(v,y){return c.set(v,y),this},badRequest(v){return this.error(400,v)},unauthorized(v){return this.error(401,v)},forbidden(v){return this.error(403,v)},notFound(v){return this.error(404,v)},timeout(v){return this.error(408,v)},internalError(v){return this.error(500,v)},fetchError(v){return this.error(Rn,v)}},m=l.reduce((v,y)=>({...v,...y.resolver}),b);return o.reduce((v,y)=>y(v,e),m)},F0={_url:"",_options:{},_config:tr,_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:gn(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:gn(this._options,e)}},headers(e){return{...this,_options:gn(this._options,{headers:e||{}})}},accept(e){return this.headers({Accept:e})},content(e){return this.headers({[qp]: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(Gp,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=oc(r._options.headers),a=typeof n=="object"&&(!r._options.headers||!i||uc(i));return r=n?a?r.json(n,i):r.body(n):r,B0(r._deferred.reduce((o,u)=>u(o,o._url,o._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=oc(this._options.headers);return this.content(t||uc(n)&&n||N0).body(JSON.stringify(e))}};function nr(e="",t={}){return{...F0,_url:e,_options:t}}nr.default=nr;nr.options=M0;nr.errorType=$0;nr.polyfills=D0;nr.WretchError=Vp;var U0=0;function kI(e,t,n,r,i,a){var o,u,l={};for(u in t)u=="ref"?o=t[u]:l[u]=t[u];var c={type:e,props:l,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--U0,__source:i,__self:a};if(typeof e=="function"&&(o=e.defaultProps))for(u in o)l[u]===void 0&&(l[u]=o[u]);return q.vnode&&q.vnode(c),c}var lt={};(function(e){var t=Q&&Q.__spreadArray||function(O,E,P){if(P||arguments.length===2)for(var A=0,L=E.length,N;A<L;A++)(N||!(A in E))&&(N||(N=Array.prototype.slice.call(E,0,A)),N[A]=E[A]);return O.concat(N||Array.prototype.slice.call(E))};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(O){return function(){return{meet:function(E,P){return function(A){return O.meet(E(A),P(A))}},join:function(E,P){return function(A){return O.join(E(A),P(A))}},zero:function(){return O.zero},one:function(){return O.one},implies:function(E,P){return function(A){return O.implies(E(A),P(A))}},not:function(E){return function(P){return O.not(E(P))}}}}};e.getBooleanAlgebra=n;var r=function(O){return function(){return{concat:function(E,P){return function(A){return O.concat(E(A),P(A))}}}}};e.getSemigroup=r;var i=function(O){var E=(0,e.getSemigroup)(O);return function(){return{concat:E().concat,empty:function(){return O.empty}}}};e.getMonoid=i;var a=function(O){return{add:function(E,P){return function(A){return O.add(E(A),P(A))}},zero:function(){return O.zero},mul:function(E,P){return function(A){return O.mul(E(A),P(A))}},one:function(){return O.one}}};e.getSemiring=a;var o=function(O){var E=(0,e.getSemiring)(O);return{add:E.add,mul:E.mul,one:E.one,zero:E.zero,sub:function(P,A){return function(L){return O.sub(P(L),A(L))}}}};e.getRing=o;var u=function(O){return function(E){return E(O)}};e.apply=u;function l(O){return O}e.identity=l,e.unsafeCoerce=l;function c(O){return function(){return O}}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 d(O){return function(){for(var E=[],P=0;P<arguments.length;P++)E[P]=arguments[P];return E.length>1?O(E[1],E[0]):function(A){return O(A)(E[0])}}}e.flip=d;function s(O,E,P,A,L,N,$,C,I){switch(arguments.length){case 1:return O;case 2:return function(){return E(O.apply(this,arguments))};case 3:return function(){return P(E(O.apply(this,arguments)))};case 4:return function(){return A(P(E(O.apply(this,arguments))))};case 5:return function(){return L(A(P(E(O.apply(this,arguments)))))};case 6:return function(){return N(L(A(P(E(O.apply(this,arguments))))))};case 7:return function(){return $(N(L(A(P(E(O.apply(this,arguments)))))))};case 8:return function(){return C($(N(L(A(P(E(O.apply(this,arguments))))))))};case 9:return function(){return I(C($(N(L(A(P(E(O.apply(this,arguments)))))))))}}}e.flow=s;function f(){for(var O=[],E=0;E<arguments.length;E++)O[E]=arguments[E];return O}e.tuple=f;function p(O){return O+1}e.increment=p;function g(O){return O-1}e.decrement=g;function h(O){throw new Error("Called `absurd` function which should be uncallable")}e.absurd=h;function _(O){return function(E){return O.apply(void 0,E)}}e.tupled=_;function b(O){return function(){for(var E=[],P=0;P<arguments.length;P++)E[P]=arguments[P];return O(E)}}e.untupled=b;function m(O,E,P,A,L,N,$,C,I){switch(arguments.length){case 1:return O;case 2:return E(O);case 3:return P(E(O));case 4:return A(P(E(O)));case 5:return L(A(P(E(O))));case 6:return N(L(A(P(E(O)))));case 7:return $(N(L(A(P(E(O))))));case 8:return C($(N(L(A(P(E(O)))))));case 9:return I(C($(N(L(A(P(E(O))))))));default:{for(var R=arguments[0],D=1;D<arguments.length;D++)R=arguments[D](R);return R}}}e.pipe=m,e.hole=h;var v=function(O,E){return E};e.SK=v;function y(O){return function(E){return!O(E)}}e.not=y;var w=function(){return{concat:function(O,E){return s(O,E)},empty:l}};e.getEndomorphismMonoid=w;var S=function(O,E){var P=typeof O=="number"?function(A){return A.length>=O}:O;return function(){var A=Array.from(arguments);return P(arguments)?E.apply(this,A):function(L){return E.apply(void 0,t([L],A,!1))}}};e.dual=S})(lt);function ct(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 rr(e){return!!e&&!!e[et]}function On(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)===V0}(e)||Array.isArray(e)||!!e[hc]||!!(!((t=e.constructor)===null||t===void 0)&&t[hc])||pl(e)||vl(e))}function qr(e,t,n){n===void 0&&(n=!1),hr(e)===0?(n?Object.keys:bl)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function hr(e){var t=e[et];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:pl(e)?2:vl(e)?3:0}function ru(e,t){return hr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function x0(e,t){return hr(e)===2?e.get(t):e[t]}function Yp(e,t,n){var r=hr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function H0(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function pl(e){return q0&&e instanceof Map}function vl(e){return G0&&e instanceof Set}function cn(e){return e.o||e.t}function hl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Y0(e);delete t[et];for(var n=bl(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 ml(e,t){return t===void 0&&(t=!1),yl(e)||rr(e)||!On(e)||(hr(e)>1&&(e.set=e.add=e.clear=e.delete=K0),Object.freeze(e),t&&qr(e,function(n,r){return ml(r,!0)},!0)),e}function K0(){ct(2)}function yl(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function wt(e){var t=X0[e];return t||ct(18,e),t}function lc(){return Gr}function Va(e,t){t&&(wt("Patches"),e.u=[],e.s=[],e.v=t)}function Qi(e){iu(e),e.p.forEach(z0),e.p=null}function iu(e){e===Gr&&(Gr=e.l)}function sc(e){return Gr={p:[],l:Gr,h:e,m:!0,_:0}}function z0(e){var t=e[et];t.i===0||t.i===1?t.j():t.g=!0}function Ya(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||wt("ES5").S(t,e,r),r?(n[et].P&&(Qi(t),ct(4)),On(e)&&(e=Ji(t,e),t.l||Zi(t,e)),t.u&&wt("Patches").M(n[et].t,e,t.u,t.s)):e=Ji(t,n,[]),Qi(t),t.u&&t.v(t.u,t.s),e!==Xp?e:void 0}function Ji(e,t,n){if(yl(t))return t;var r=t[et];if(!r)return qr(t,function(u,l){return cc(e,r,t,u,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Zi(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=hl(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),qr(a,function(u,l){return cc(e,r,i,u,l,n,o)}),Zi(e,i,!1),n&&e.u&&wt("Patches").N(r,n,e.u,e.s)}return r.o}function cc(e,t,n,r,i,a,o){if(rr(i)){var u=Ji(e,i,a&&t&&t.i!==3&&!ru(t.R,r)?a.concat(r):void 0);if(Yp(n,r,u),!rr(u))return;e.m=!1}else o&&n.add(i);if(On(i)&&!yl(i)){if(!e.h.D&&e._<1)return;Ji(e,i),t&&t.A.l||Zi(e,i)}}function Zi(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&ml(t,n)}function Xa(e,t){var n=e[et];return(n?cn(n):e)[t]}function fc(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 au(e){e.P||(e.P=!0,e.l&&au(e.l))}function Qa(e){e.o||(e.o=hl(e.t))}function ou(e,t,n){var r=pl(t)?wt("MapSet").F(t,n):vl(t)?wt("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),u={i:o?1:0,A:a?a.A:lc(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=u,c=uu;o&&(l=[u],c=Rr);var d=Proxy.revocable(l,c),s=d.revoke,f=d.proxy;return u.k=f,u.j=s,f}(t,n):wt("ES5").J(t,n);return(n?n.A:lc()).p.push(r),r}function W0(e){return rr(e)||ct(22,e),function t(n){if(!On(n))return n;var r,i=n[et],a=hr(n);if(i){if(!i.P&&(i.i<4||!wt("ES5").K(i)))return i.t;i.I=!0,r=dc(n,a),i.I=!1}else r=dc(n,a);return qr(r,function(o,u){i&&x0(i.t,o)===u||Yp(r,o,t(u))}),a===3?new Set(r):r}(e)}function dc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return hl(e)}var pc,Gr,gl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",q0=typeof Map<"u",G0=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Xp=gl?Symbol.for("immer-nothing"):((pc={})["immer-nothing"]=!0,pc),hc=gl?Symbol.for("immer-draftable"):"__$immer_draftable",et=gl?Symbol.for("immer-state"):"__$immer_state",V0=""+Object.prototype.constructor,bl=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Y0=Object.getOwnPropertyDescriptors||function(e){var t={};return bl(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},X0={},uu={get:function(e,t){if(t===et)return e;var n=cn(e);if(!ru(n,t))return function(i,a,o){var u,l=fc(a,o);return l?"value"in l?l.value:(u=l.get)===null||u===void 0?void 0:u.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!On(r)?r:r===Xa(e.t,t)?(Qa(e),e.o[t]=ou(e.A.h,r,e)):r},has:function(e,t){return t in cn(e)},ownKeys:function(e){return Reflect.ownKeys(cn(e))},set:function(e,t,n){var r=fc(cn(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=Xa(cn(e),t),a=i==null?void 0:i[et];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(H0(n,i)&&(n!==void 0||ru(e.t,t)))return!0;Qa(e),au(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 Xa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Qa(e),au(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=cn(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){ct(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ct(12)}},Rr={};qr(uu,function(e,t){Rr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Rr.deleteProperty=function(e,t){return Rr.set.call(this,e,t,void 0)},Rr.set=function(e,t,n){return uu.set.call(this,e[0],t,n,e[0])};var Q0=function(){function e(n){var r=this;this.O=vc,this.D=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var u=a;a=i;var l=r;return function(h){var _=this;h===void 0&&(h=u);for(var b=arguments.length,m=Array(b>1?b-1:0),v=1;v<b;v++)m[v-1]=arguments[v];return l.produce(h,function(y){var w;return(w=a).call.apply(w,[_,y].concat(m))})}}var c;if(typeof a!="function"&&ct(6),o!==void 0&&typeof o!="function"&&ct(7),On(i)){var d=sc(r),s=ou(r,i,void 0),f=!0;try{c=a(s),f=!1}finally{f?Qi(d):iu(d)}return typeof Promise<"u"&&c instanceof Promise?c.then(function(h){return Va(d,o),Ya(h,d)},function(h){throw Qi(d),h}):(Va(d,o),Ya(c,d))}if(!i||typeof i!="object"){if((c=a(i))===void 0&&(c=i),c===Xp&&(c=void 0),r.D&&ml(c,!0),o){var p=[],g=[];wt("Patches").M(i,c,p,g),o(p,g)}return c}ct(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(c){for(var d=arguments.length,s=Array(d>1?d-1:0),f=1;f<d;f++)s[f-1]=arguments[f];return r.produceWithPatches(c,function(p){return i.apply(void 0,[p].concat(s))})};var o,u,l=r.produce(i,a,function(c,d){o=c,u=d});return typeof Promise<"u"&&l instanceof Promise?l.then(function(c){return[c,o,u]}):[l,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){On(n)||ct(8),rr(n)&&(n=W0(n));var r=sc(this),i=ou(this,n,void 0);return i[et].C=!0,iu(r),i},t.finishDraft=function(n,r){var i=n&&n[et],a=i.A;return Va(a,r),Ya(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!vc&&ct(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=wt("Patches").$;return rr(n)?o(n,r):this.produce(n,function(u){return o(u,r)})},e}(),tt=new Q0,NI=tt.produce;tt.produceWithPatches.bind(tt);tt.setAutoFreeze.bind(tt);tt.setUseProxies.bind(tt);tt.applyPatches.bind(tt);tt.createDraft.bind(tt);tt.finishDraft.bind(tt);var J0={},ir={},Fe={},mr={};(function(e){var t=Q&&Q.__spreadArray||function(O,E,P){if(P||arguments.length===2)for(var A=0,L=E.length,N;A<L;A++)(N||!(A in E))&&(N||(N=Array.prototype.slice.call(E,0,A)),N[A]=E[A]);return O.concat(N||Array.prototype.slice.call(E))};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=lt,r=function(O){return O._tag==="None"};e.isNone=r;var i=function(O){return O._tag==="Some"};e.isSome=i,e.none={_tag:"None"};var a=function(O){return{_tag:"Some",value:O}};e.some=a;var o=function(O){return O._tag==="Left"};e.isLeft=o;var u=function(O){return O._tag==="Right"};e.isRight=u;var l=function(O){return{_tag:"Left",left:O}};e.left=l;var c=function(O){return{_tag:"Right",right:O}};e.right=c;var d=function(O){return[O]};e.singleton=d;var s=function(O){return O.length>0};e.isNonEmpty=s;var f=function(O){return O[0]};e.head=f;var p=function(O){return O.slice(1)};e.tail=p,e.emptyReadonlyArray=[],e.emptyRecord={},e.has=Object.prototype.hasOwnProperty;var g=function(O){return t([O[0]],O.slice(1),!0)};e.fromReadonlyNonEmptyArray=g;var h=function(O){return function(E,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var N=E.apply(void 0,A);return O.fromEither(N==null?(0,e.left)(P.apply(void 0,A)):(0,e.right)(N))}}};e.liftNullable=h;var _=function(O){return function(E,P){return function(){for(var A=[],L=0;L<arguments.length;L++)A[L]=arguments[L];var N=E.apply(void 0,A);return O.fromEither((0,e.isNone)(N)?(0,e.left)(P.apply(void 0,A)):(0,e.right)(N.value))}}};e.liftOption=_;var b=function(O,E){return(0,n.dual)(3,function(P,A,L){return E.flatMap(P,(0,e.liftNullable)(O)(A,L))})};e.flatMapNullable=b;var m=function(O,E){return(0,n.dual)(3,function(P,A,L){return E.flatMap(P,(0,e.liftOption)(O)(A,L))})};e.flatMapOption=m;var v=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromEither(A(L))})})};e.flatMapEither=v;var y=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromIO(A(L))})})};e.flatMapIO=y;var w=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromTask(A(L))})})};e.flatMapTask=w;var S=function(O,E){return(0,n.dual)(2,function(P,A){return E.flatMap(P,function(L){return O.fromReader(A(L))})})};e.flatMapReader=S})(mr);var Z0=Q&&Q.__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]}),eb=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),tb=Q&&Q.__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)&&Z0(t,e,n);return eb(t,e),t};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.sequenceS=Fe.sequenceT=Fe.getApplySemigroup=Fe.apS=Fe.apSecond=Fe.apFirst=Fe.ap=void 0;var nb=lt,rb=tb(mr);function ib(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)}}}Fe.ap=ib;function ab(e){return function(t){return function(n){return e.ap(e.map(n,function(r){return function(){return r}}),t)}}}Fe.apFirst=ab;function ob(e){return function(t){return function(n){return e.ap(e.map(n,function(){return function(r){return r}}),t)}}}Fe.apSecond=ob;function ub(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)}}}Fe.apS=ub;function lb(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)}}}}Fe.getApplySemigroup=lb;function _l(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):_l(e,t-1,i)}}var Ja={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 sb(e){return rb.has.call(Ja,e)||(Ja[e]=_l(nb.tuple,e-1,[])),Ja[e]}function cb(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=t.length,i=sb(r),a=e.map(t[0],i),o=1;o<r;o++)a=e.ap(a,t[o]);return a}}Fe.sequenceT=cb;function fb(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 _l(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 db(e){return function(t){for(var n=Object.keys(t),r=n.length,i=fb(n),a=e.map(t[n[0]],i),o=1;o<r;o++)a=e.ap(a,t[n[o]]);return a}}Fe.sequenceS=db;var je={};Object.defineProperty(je,"__esModule",{value:!0});je.asUnit=je.as=je.getFunctorComposition=je.let=je.bindTo=je.flap=je.map=void 0;var pb=lt;function Qp(e,t){return function(n){return function(r){return e.map(r,function(i){return t.map(i,n)})}}}je.map=Qp;function vb(e){return function(t){return function(n){return e.map(n,function(r){return r(t)})}}}je.flap=vb;function hb(e){return function(t){return function(n){return e.map(n,function(r){var i;return i={},i[t]=r,i})}}}je.bindTo=hb;function mb(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))})}}}je.let=mb;function yb(e,t){var n=Qp(e,t);return{map:function(r,i){return(0,pb.pipe)(r,n(i))}}}je.getFunctorComposition=yb;function Jp(e){return function(t,n){return e.map(t,function(){return n})}}je.as=Jp;function gb(e){var t=Jp(e);return function(n){return t(n,void 0)}}je.asUnit=gb;Object.defineProperty(ir,"__esModule",{value:!0});ir.getApplicativeComposition=ir.getApplicativeMonoid=void 0;var Zp=Fe,bb=lt,_b=je;function wb(e){var t=(0,Zp.getApplySemigroup)(e);return function(n){return{concat:t(n).concat,empty:e.of(n.empty)}}}ir.getApplicativeMonoid=wb;function Eb(e,t){var n=(0,_b.getFunctorComposition)(e,t).map,r=(0,Zp.ap)(e,t);return{map:n,of:function(i){return e.of(t.of(i))},ap:function(i,a){return(0,bb.pipe)(i,r(a))}}}ir.getApplicativeComposition=Eb;var Lt={};Object.defineProperty(Lt,"__esModule",{value:!0});Lt.bind=Lt.tap=Lt.chainFirst=void 0;function Ob(e){var t=ev(e);return function(n){return function(r){return t(r,n)}}}Lt.chainFirst=Ob;function ev(e){return function(t,n){return e.chain(t,function(r){return e.map(n(r),function(){return r})})}}Lt.tap=ev;function Sb(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))})})}}}Lt.bind=Sb;var Pe={},Pb=Q&&Q.__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]}),Ab=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Tb=Q&&Q.__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)&&Pb(t,e,n);return Ab(t,e),t};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.tapEither=Pe.filterOrElse=Pe.chainFirstEitherK=Pe.chainEitherK=Pe.fromEitherK=Pe.chainOptionK=Pe.fromOptionK=Pe.fromPredicate=Pe.fromOption=void 0;var Ib=Lt,tv=lt,bn=Tb(mr);function nv(e){return function(t){return function(n){return e.fromEither(bn.isNone(n)?bn.left(t()):bn.right(n.value))}}}Pe.fromOption=nv;function Cb(e){return function(t,n){return function(r){return e.fromEither(t(r)?bn.right(r):bn.left(n(r)))}}}Pe.fromPredicate=Cb;function rv(e){var t=nv(e);return function(n){var r=t(n);return function(i){return(0,tv.flow)(i,r)}}}Pe.fromOptionK=rv;function Lb(e,t){var n=rv(e);return function(r){var i=n(r);return function(a){return function(o){return t.chain(o,i(a))}}}}Pe.chainOptionK=Lb;function wl(e){return function(t){return(0,tv.flow)(t,e.fromEither)}}Pe.fromEitherK=wl;function Rb(e,t){var n=wl(e);return function(r){return function(i){return t.chain(i,n(r))}}}Pe.chainEitherK=Rb;function kb(e,t){var n=iv(e,t);return function(r){return function(i){return n(i,r)}}}Pe.chainFirstEitherK=kb;function Nb(e,t){return function(n,r){return function(i){return t.chain(i,function(a){return e.fromEither(n(a)?bn.right(a):bn.left(r(a)))})}}}Pe.filterOrElse=Nb;function iv(e,t){var n=wl(e),r=(0,Ib.tap)(t);return function(i,a){return r(i,n(a))}}Pe.tapEither=iv;var av={};(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=lt,n=function(s,f){return(0,t.pipe)(s,(0,e.contramap)(f))},r=function(s){return function(f){return(0,t.flow)(s,f)}};e.contramap=r,e.URI="Predicate";var i=function(){return{concat:function(s,f){return(0,t.pipe)(s,(0,e.or)(f))}}};e.getSemigroupAny=i;var a=function(){return{concat:(0,e.getSemigroupAny)().concat,empty:t.constFalse}};e.getMonoidAny=a;var o=function(){return{concat:function(s,f){return(0,t.pipe)(s,(0,e.and)(f))}}};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 l=function(s){return function(f){return!s(f)}};e.not=l;var c=function(s){return function(f){return function(p){return f(p)||s(p)}}};e.or=c;var d=function(s){return function(f){return function(p){return f(p)&&s(p)}}};e.and=d})(av);var ov={},at={};Object.defineProperty(at,"__esModule",{value:!0});at.concatAll=at.endo=at.filterSecond=at.filterFirst=at.reverse=void 0;var Mb=function(e){return{concat:function(t,n){return e.concat(n,t)}}};at.reverse=Mb;var Db=function(e){return function(t){return{concat:function(n,r){return e(n)?t.concat(n,r):r}}}};at.filterFirst=Db;var $b=function(e){return function(t){return{concat:function(n,r){return e(r)?t.concat(n,r):n}}}};at.filterSecond=$b;var jb=function(e){return function(t){return{concat:function(n,r){return t.concat(e(n),e(r))}}}};at.endo=jb;var Bb=function(e){return function(t){return function(n){return n.reduce(function(r,i){return e.concat(r,i)},t)}}};at.concatAll=Bb;var uv={},lv={};(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=lt,n=function(d){return{equals:function(s,f){return s===f||d(s,f)}}};e.fromEquals=n;var r=function(d){return(0,e.fromEquals)(function(s,f){for(var p in d)if(!d[p].equals(s[p],f[p]))return!1;return!0})};e.struct=r;var i=function(){for(var d=[],s=0;s<arguments.length;s++)d[s]=arguments[s];return(0,e.fromEquals)(function(f,p){return d.every(function(g,h){return g.equals(f[h],p[h])})})};e.tuple=i;var a=function(d,s){return(0,t.pipe)(d,(0,e.contramap)(s))},o=function(d){return function(s){return(0,e.fromEquals)(function(f,p){return s.equals(d(f),d(p))})}};e.contramap=o,e.URI="Eq",e.eqStrict={equals:function(d,s){return d===s}};var u={equals:function(){return!0}},l=function(){return{concat:function(d,s){return(0,e.fromEquals)(function(f,p){return d.equals(f,p)&&s.equals(f,p)})}}};e.getSemigroup=l;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(d,s){return d.valueOf()===s.valueOf()}}})(lv);(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=lv,n=lt,r=function(S){return function(O,E){return O===E||S(O,E)===0}};e.equalsDefault=r;var i=function(S){return{equals:(0,e.equalsDefault)(S),compare:function(O,E){return O===E?0:S(O,E)}}};e.fromCompare=i;var a=function(){for(var S=[],O=0;O<arguments.length;O++)S[O]=arguments[O];return(0,e.fromCompare)(function(E,P){for(var A=0;A<S.length-1;A++){var L=S[A].compare(E[A],P[A]);if(L!==0)return L}return S[A].compare(E[A],P[A])})};e.tuple=a;var o=function(S){return(0,e.fromCompare)(function(O,E){return S.compare(E,O)})};e.reverse=o;var u=function(S,O){return(0,n.pipe)(S,(0,e.contramap)(O))},l=function(S){return function(O){return(0,e.fromCompare)(function(E,P){return O.compare(S(E),S(P))})}};e.contramap=l,e.URI="Ord";var c=function(){return{concat:function(S,O){return(0,e.fromCompare)(function(E,P){var A=S.compare(E,P);return A!==0?A:O.compare(E,P)})}}};e.getSemigroup=c;var d=function(){return{concat:(0,e.getSemigroup)().concat,empty:(0,e.fromCompare)(function(){return 0})}};e.getMonoid=d,e.Contravariant={URI:e.URI,contramap:u},e.trivial={equals:n.constTrue,compare:(0,n.constant)(0)};var s=function(S){return function(O){return function(E){return E===O||S.compare(E,O)===0}}};e.equals=s;var f=function(S){return function(O,E){return S.compare(O,E)===-1}};e.lt=f;var p=function(S){return function(O,E){return S.compare(O,E)===1}};e.gt=p;var g=function(S){return function(O,E){return S.compare(O,E)!==1}};e.leq=g;var h=function(S){return function(O,E){return S.compare(O,E)!==-1}};e.geq=h;var _=function(S){return function(O,E){return O===E||S.compare(O,E)<1?O:E}};e.min=_;var b=function(S){return function(O,E){return O===E||S.compare(O,E)>-1?O:E}};e.max=b;var m=function(S){var O=(0,e.min)(S),E=(0,e.max)(S);return function(P,A){return function(L){return E(O(L,A),P)}}};e.clamp=m;var v=function(S){var O=(0,e.lt)(S),E=(0,e.gt)(S);return function(P,A){return function(L){return!(O(L,P)||E(L,A))}}};e.between=v,e.getTupleOrd=e.tuple,e.getDualOrd=e.reverse,e.ord=e.Contravariant;function y(S,O){return S<O?-1:S>O?1:0}var w={equals:t.eqStrict.equals,compare:y};e.ordBoolean=w,e.ordString=w,e.ordNumber=w,e.ordDate=(0,n.pipe)(e.ordNumber,(0,e.contramap)(function(S){return S.valueOf()}))})(uv);(function(e){var t=Q&&Q.__createBinding||(Object.create?function(m,v,y,w){w===void 0&&(w=y);var S=Object.getOwnPropertyDescriptor(v,y);(!S||("get"in S?!v.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return v[y]}}),Object.defineProperty(m,w,S)}:function(m,v,y,w){w===void 0&&(w=y),m[w]=v[y]}),n=Q&&Q.__setModuleDefault||(Object.create?function(m,v){Object.defineProperty(m,"default",{enumerable:!0,value:v})}:function(m,v){m.default=v}),r=Q&&Q.__importStar||function(m){if(m&&m.__esModule)return m;var v={};if(m!=null)for(var y in m)y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)&&t(v,m,y);return n(v,m),v};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=lt,a=r(mr),o=r(at),u=r(uv),l=function(m){return{concat:u.min(m)}};e.min=l;var c=function(m){return{concat:u.max(m)}};e.max=c;var d=function(m){return{concat:function(){return m}}};e.constant=d,e.reverse=o.reverse;var s=function(m){return{concat:function(v,y){var w={};for(var S in m)a.has.call(m,S)&&(w[S]=m[S].concat(v[S],y[S]));return w}}};e.struct=s;var f=function(){for(var m=[],v=0;v<arguments.length;v++)m[v]=arguments[v];return{concat:function(y,w){return m.map(function(S,O){return S.concat(y[O],w[O])})}}};e.tuple=f;var p=function(m){return function(v){return{concat:function(y,w){return v.concat(y,v.concat(m,w))}}}};e.intercalate=p;var g=function(){return{concat:i.identity}};e.first=g;var h=function(){return{concat:function(m,v){return v}}};e.last=h,e.concatAll=o.concatAll,e.semigroupVoid=(0,e.constant)(void 0);var _=function(){return{concat:function(m,v){return Object.assign({},m,v)}}};e.getObjectSemigroup=_,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 b(m){var v=(0,e.concatAll)(m);return function(y,w){return w===void 0?v(y):v(y)(w)}}e.fold=b,e.semigroupAll={concat:function(m,v){return m&&v}},e.semigroupAny={concat:function(m,v){return m||v}},e.getFunctionSemigroup=i.getSemigroup,e.semigroupString={concat:function(m,v){return m+v}},e.semigroupSum={concat:function(m,v){return m+v}},e.semigroupProduct={concat:function(m,v){return m*v}}})(ov);var sv={};(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=lt,n=je,r=function(f,p){return{left:f,right:p}};e.separated=r;var i=function(f,p){return(0,t.pipe)(f,(0,e.map)(p))},a=function(f,p){return(0,t.pipe)(f,(0,e.mapLeft)(p))},o=function(f,p,g){return(0,t.pipe)(f,(0,e.bimap)(p,g))},u=function(f){return function(p){return(0,e.separated)((0,e.left)(p),f((0,e.right)(p)))}};e.map=u;var l=function(f){return function(p){return(0,e.separated)(f((0,e.left)(p)),(0,e.right)(p))}};e.mapLeft=l;var c=function(f,p){return function(g){return(0,e.separated)(f((0,e.left)(g)),p((0,e.right)(g)))}};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 d=function(f){return f.left};e.left=d;var s=function(f){return f.right};e.right=s})(sv);var Qt={},Fb=Q&&Q.__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]}),Ub=Q&&Q.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),xb=Q&&Q.__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)&&Fb(t,e,n);return Ub(t,e),t};Object.defineProperty(Qt,"__esModule",{value:!0});Qt.filterE=Qt.witherDefault=Qt.wiltDefault=void 0;var mc=xb(mr);function Hb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.separate)}}}Qt.wiltDefault=Hb;function Kb(e,t){return function(n){var r=e.traverse(n);return function(i,a){return n.map(r(i,a),t.compact)}}}Qt.witherDefault=Kb;function zb(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?mc.some(a):mc.none})})}}}}Qt.filterE=zb;var wa={};Object.defineProperty(wa,"__esModule",{value:!0});wa.guard=void 0;function Wb(e,t){return function(n){return n?t.of(void 0):e.zero()}}wa.guard=Wb;(function(e){var t=Q&&Q.__createBinding||(Object.create?function(k,M,H,Oe){Oe===void 0&&(Oe=H);var Ye=Object.getOwnPropertyDescriptor(M,H);(!Ye||("get"in Ye?!M.__esModule:Ye.writable||Ye.configurable))&&(Ye={enumerable:!0,get:function(){return M[H]}}),Object.defineProperty(k,Oe,Ye)}:function(k,M,H,Oe){Oe===void 0&&(Oe=H),k[Oe]=M[H]}),n=Q&&Q.__setModuleDefault||(Object.create?function(k,M){Object.defineProperty(k,"default",{enumerable:!0,value:M})}:function(k,M){k.default=M}),r=Q&&Q.__importStar||function(k){if(k&&k.__esModule)return k;var M={};if(k!=null)for(var H in k)H!=="default"&&Object.prototype.hasOwnProperty.call(k,H)&&t(M,k,H);return n(M,k),M};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=ir,a=Fe,o=r(Lt),u=Pe,l=lt,c=je,d=r(mr),s=av,f=ov,p=sv,g=Qt,h=wa;e.none=d.none,e.some=d.some;function _(k){return function(M){return k(M)?(0,e.some)(M):e.none}}e.fromPredicate=_;var b=function(k){return k._tag==="Right"?e.none:(0,e.some)(k.left)};e.getLeft=b;var m=function(k){return k._tag==="Left"?e.none:(0,e.some)(k.right)};e.getRight=m;var v=function(k,M){return(0,l.pipe)(k,(0,e.map)(M))},y=function(k,M){return(0,l.pipe)(k,(0,e.ap)(M))},w=function(k,M,H){return(0,l.pipe)(k,(0,e.reduce)(M,H))},S=function(k){var M=(0,e.foldMap)(k);return function(H,Oe){return(0,l.pipe)(H,M(Oe))}},O=function(k,M,H){return(0,l.pipe)(k,(0,e.reduceRight)(M,H))},E=function(k){var M=(0,e.traverse)(k);return function(H,Oe){return(0,l.pipe)(H,M(Oe))}},P=function(k,M){return(0,l.pipe)(k,(0,e.alt)(M))},A=function(k,M){return(0,l.pipe)(k,(0,e.filter)(M))},L=function(k,M){return(0,l.pipe)(k,(0,e.filterMap)(M))},N=function(k,M){return(0,l.pipe)(k,(0,e.extend)(M))},$=function(k,M){return(0,l.pipe)(k,(0,e.partition)(M))},C=function(k,M){return(0,l.pipe)(k,(0,e.partitionMap)(M))};e.URI="Option";var I=function(k){return{show:function(M){return(0,e.isNone)(M)?"none":"some(".concat(k.show(M.value),")")}}};e.getShow=I;var R=function(k){return{equals:function(M,H){return M===H||((0,e.isNone)(M)?(0,e.isNone)(H):(0,e.isNone)(H)?!1:k.equals(M.value,H.value))}}};e.getEq=R;var D=function(k){return{equals:(0,e.getEq)(k).equals,compare:function(M,H){return M===H?0:(0,e.isSome)(M)?(0,e.isSome)(H)?k.compare(M.value,H.value):1:-1}}};e.getOrd=D;var B=function(k){return{concat:function(M,H){return(0,e.isNone)(M)?H:(0,e.isNone)(H)?M:(0,e.some)(k.concat(M.value,H.value))},empty:e.none}};e.getMonoid=B;var V=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M.value))}};e.map=V,e.Functor={URI:e.URI,map:v},e.as=(0,l.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 W=function(k){return function(M){return(0,e.isNone)(M)||(0,e.isNone)(k)?e.none:(0,e.some)(M.value(k.value))}};e.ap=W,e.Apply={URI:e.URI,map:v,ap:y},e.Applicative={URI:e.URI,map:v,ap:y,of:e.of},e.flatMap=(0,l.dual)(2,function(k,M){return(0,e.isNone)(k)?e.none:M(k.value)}),e.Chain={URI:e.URI,map:v,ap:y,chain:e.flatMap},e.Monad={URI:e.URI,map:v,ap:y,of:e.of,chain:e.flatMap};var Y=function(k,M){return function(H){return(0,e.isNone)(H)?k:M(k,H.value)}};e.reduce=Y;var U=function(k){return function(M){return function(H){return(0,e.isNone)(H)?k.empty:M(H.value)}}};e.foldMap=U;var F=function(k,M){return function(H){return(0,e.isNone)(H)?k:M(H.value,k)}};e.reduceRight=F,e.Foldable={URI:e.URI,reduce:w,foldMap:S,reduceRight:O},e.orElse=(0,l.dual)(2,function(k,M){return(0,e.isNone)(k)?M():k}),e.altW=e.orElse,e.alt=e.orElse,e.Alt={URI:e.URI,map:v,alt:P};var z=function(){return e.none};e.zero=z,e.Zero={URI:e.URI,zero:e.zero},e.guard=(0,h.guard)(e.Zero,e.Pointed),e.Alternative={URI:e.URI,map:v,ap:y,of:e.of,alt:P,zero:e.zero};var x=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.some)(k(M))}};e.extend=x,e.Extend={URI:e.URI,map:v,extend:N},e.compact=(0,e.flatMap)(l.identity);var te=(0,p.separated)(e.none,e.none),se=function(k){return(0,e.isNone)(k)?te:(0,p.separated)((0,e.getLeft)(k.value),(0,e.getRight)(k.value))};e.separate=se,e.Compactable={URI:e.URI,compact:e.compact,separate:e.separate};var ne=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)?M:e.none}};e.filter=ne;var X=function(k){return function(M){return(0,e.isNone)(M)?e.none:k(M.value)}};e.filterMap=X;var re=function(k){return function(M){return(0,p.separated)(A(M,(0,s.not)(k)),A(M,k))}};e.partition=re;var ie=function(k){return(0,l.flow)((0,e.map)(k),e.separate)};e.partitionMap=ie,e.Filterable={URI:e.URI,map:v,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C};var _e=function(k){return function(M){return function(H){return(0,e.isNone)(H)?k.of(e.none):k.map(M(H.value),e.some)}}};e.traverse=_e;var ln=function(k){return function(M){return(0,e.isNone)(M)?k.of(e.none):k.map(M.value,e.some)}};e.sequence=ln,e.Traversable={URI:e.URI,map:v,reduce:w,foldMap:S,reduceRight:O,traverse:E,sequence:e.sequence};var Ne=(0,g.witherDefault)(e.Traversable,e.Compactable),Pr=(0,g.wiltDefault)(e.Traversable,e.Compactable),xa=function(k){var M=Ne(k);return function(H){return function(Oe){return M(Oe,H)}}};e.wither=xa;var Ha=function(k){var M=Pr(k);return function(H){return function(Oe){return M(Oe,H)}}};e.wilt=Ha,e.Witherable={URI:e.URI,map:v,reduce:w,foldMap:S,reduceRight:O,traverse:E,sequence:e.sequence,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C,wither:Ne,wilt:Pr};var hm=function(){return e.none};e.throwError=hm,e.MonadThrow={URI:e.URI,map:v,ap:y,of:e.of,chain:e.flatMap,throwError:e.throwError},e.fromEither=e.getRight,e.FromEither={URI:e.URI,fromEither:e.fromEither},e.isSome=d.isSome;var mm=function(k){return k._tag==="None"};e.isNone=mm;var ym=function(k,M){return function(H){return(0,e.isNone)(H)?k():M(H.value)}};e.matchW=ym,e.foldW=e.matchW,e.match=e.matchW,e.fold=e.match;var gm=function(k){return function(M){return(0,e.isNone)(M)?k():M.value}};e.getOrElseW=gm,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,l.dual)(2,o.tap(e.Chain)),e.tapEither=(0,l.dual)(2,(0,u.tapEither)(e.FromEither,e.Chain)),e.duplicate=(0,e.extend)(l.identity),e.fromEitherK=(0,u.fromEitherK)(e.FromEither),e.chainEitherK=(0,u.chainEitherK)(e.FromEither,e.Chain),e.chainFirstEitherK=e.tapEither;var bm=function(k){return k==null?e.none:(0,e.some)(k)};e.fromNullable=bm;var _m=function(k){try{return(0,e.some)(k())}catch{return e.none}};e.tryCatch=_m;var wm=function(k){return function(){for(var M=[],H=0;H<arguments.length;H++)M[H]=arguments[H];return(0,e.tryCatch)(function(){return k.apply(void 0,M)})}};e.tryCatchK=wm;var Em=function(k){return(0,l.flow)(k,e.fromNullable)};e.fromNullableK=Em;var Om=function(k){return function(M){return(0,e.isNone)(M)?e.none:(0,e.fromNullable)(k(M.value))}};e.chainNullableK=Om,e.toNullable=(0,e.match)(l.constNull,l.identity),e.toUndefined=(0,e.match)(l.constUndefined,l.identity);function vs(k){return function(M,H){if(H===void 0){var Oe=vs(k);return function(Ye){return Oe(M,Ye)}}return(0,e.isNone)(H)?!1:k.equals(M,H.value)}}e.elem=vs;var Sm=function(k){return function(M){return(0,e.isNone)(M)?!1:k(M.value)}};e.exists=Sm,e.Do=(0,e.of)(d.emptyRecord),e.bindTo=(0,c.bindTo)(e.Functor);var Pm=(0,c.let)(e.Functor);e.let=Pm,e.bind=o.bind(e.Chain),e.apS=(0,a.apS)(e.Apply),e.ApT=(0,e.of)(d.emptyReadonlyArray);var Am=function(k){return function(M){var H=k(0,d.head(M));if((0,e.isNone)(H))return e.none;for(var Oe=[H.value],Ye=1;Ye<M.length;Ye++){var hs=k(Ye,M[Ye]);if((0,e.isNone)(hs))return e.none;Oe.push(hs.value)}return(0,e.some)(Oe)}};e.traverseReadonlyNonEmptyArrayWithIndex=Am;var Tm=function(k){var M=(0,e.traverseReadonlyNonEmptyArrayWithIndex)(k);return function(H){return d.isNonEmpty(H)?M(H):e.ApT}};e.traverseReadonlyArrayWithIndex=Tm,e.traverseArrayWithIndex=e.traverseReadonlyArrayWithIndex;var Im=function(k){return(0,e.traverseReadonlyArrayWithIndex)(function(M,H){return k(H)})};e.traverseArray=Im,e.sequenceArray=(0,e.traverseArray)(l.identity),e.chain=e.flatMap,e.chainFirst=e.tap;function Cm(k){return function(M){return(0,e.isSome)(k(M))}}e.getRefinement=Cm,e.mapNullable=e.chainNullableK,e.option={URI:e.URI,map:v,of:e.of,ap:y,chain:e.flatMap,reduce:w,foldMap:S,reduceRight:O,traverse:E,sequence:e.sequence,zero:e.zero,alt:P,extend:N,compact:e.compact,separate:e.separate,filter:A,filterMap:L,partition:$,partitionMap:C,wither:Ne,wilt:Pr,throwError:e.throwError},e.getApplySemigroup=(0,a.getApplySemigroup)(e.Apply),e.getApplyMonoid=(0,i.getApplicativeMonoid)(e.Applicative);var Lm=function(){return(0,e.getMonoid)((0,f.first)())};e.getFirstMonoid=Lm;var Rm=function(){return(0,e.getMonoid)((0,f.last)())};e.getLastMonoid=Rm})(J0);var qb=Object.defineProperty,Gb=(e,t,n)=>t in e?qb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Za=(e,t,n)=>(Gb(e,typeof t!="symbol"?t+"":t,n),n);let Vb=class{constructor(){Za(this,"current",this.detect()),Za(this,"handoffState","pending"),Za(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"}},Rt=new Vb,Ce=(e,t)=>{Rt.isServer?ce(e,t):Cn(e,t)};function kt(e){let t=ee(e);return Ce(()=>{t.current=e},[e]),t}function Ea(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function ht(){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 Ea(()=>{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=ht();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 yr(){let[e]=Be(ht);return ce(()=>()=>e.dispose(),[e]),e}let Z=function(e){let t=kt(e);return J.useCallback((...n)=>t.current(...n),[t])};function Yb(){let e=typeof document>"u";return"useSyncExternalStore"in er?(t=>t.useSyncExternalStore)(er)(()=>()=>{},()=>!1,()=>!e):!1}function gr(){let e=Yb(),[t,n]=Be(Rt.isHandoffComplete);return t&&Rt.isHandoffComplete===!1&&n(!1),ce(()=>{t!==!0&&n(!0)},[t]),ce(()=>Rt.handoff(),[]),e?!1:t}var yc;let nt=(yc=J.useId)!=null?yc:function(){let e=gr(),[t,n]=J.useState(e?()=>Rt.nextId():null);return Ce(()=>{t===null&&n(Rt.nextId())},[t]),t!=null?""+t:void 0};function Ee(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,Ee),r}function ri(e){return Rt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let lu=["[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 At=(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))(At||{}),cv=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(cv||{}),Xb=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Xb||{});function fv(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(lu)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var El=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(El||{});function Ol(e,t=0){var n;return e===((n=ri(e))==null?void 0:n.body)?!1:Ee(t,{0(){return e.matches(lu)},1(){let r=e;for(;r!==null;){if(r.matches(lu))return!0;r=r.parentElement}return!1}})}function dv(e){let t=ri(e);ht().nextFrame(()=>{t&&!Ol(t.activeElement,0)&&Jt(e)})}var Qb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Qb||{});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 Jt(e){e==null||e.focus({preventScroll:!0})}let Jb=["textarea","input"].join(",");function Zb(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Jb))!=null?n:!1}function pv(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 e1(e,t){return $r(fv(),t,{relativeTo:e})}function $r(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?pv(e):e:fv(e);i.length>0&&o.length>1&&(o=o.filter(p=>!i.includes(p))),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")})(),l=(()=>{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}:{},d=0,s=o.length,f;do{if(d>=s||d+s<=0)return 0;let p=l+d;if(t&16)p=(p+s)%s;else{if(p<0)return 3;if(p>=s)return 1}f=o[p],f==null||f.focus(c),d+=u}while(f!==a.activeElement);return t&6&&Zb(f)&&f.select(),2}function vi(e,t,n){let r=kt(t);ce(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function vv(e,t,n){let r=kt(t);ce(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function hv(e,t,n=!0){let r=ee(!1);ce(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,u){if(!r.current||o.defaultPrevented)return;let l=u(o);if(l===null||!l.getRootNode().contains(l)||!l.isConnected)return;let c=function d(s){return typeof s=="function"?d(s()):Array.isArray(s)||s instanceof Set?s:[s]}(e);for(let d of c){if(d===null)continue;let s=d instanceof HTMLElement?d:d.current;if(s!=null&&s.contains(l)||o.composed&&o.composedPath().includes(s))return}return!Ol(l,El.Loose)&&l.tabIndex!==-1&&o.preventDefault(),t(o,l)}let a=ee(null);vi("pointerdown",o=>{var u,l;r.current&&(a.current=((l=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:l[0])||o.target)},!0),vi("mousedown",o=>{var u,l;r.current&&(a.current=((l=(u=o.composedPath)==null?void 0:u.call(o))==null?void 0:l[0])||o.target)},!0),vi("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),vi("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),vv("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function gc(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 Sl(e,t){let[n,r]=Be(()=>gc(e));return Ce(()=>{r(gc(e))},[e.type,e.as]),Ce(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let mv=Symbol();function yv(e,t=!0){return Object.assign(e,{[mv]:t})}function Ie(...e){let t=ee(e);ce(()=>{t.current=e},[e]);let n=Z(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[mv]))?void 0:n}function t1({container:e,accept:t,walk:n,enabled:r=!0}){let i=ee(t),a=ee(n);ce(()=>{i.current=t,a.current=n},[t,n]),Ce(()=>{if(!e||!r)return;let o=ri(e);if(!o)return;let u=i.current,l=a.current,c=Object.assign(s=>u(s),{acceptNode:u}),d=o.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,c,!1);for(;d.nextNode();)l(d.currentNode)},[e,r,i,a])}function n1(e){throw new Error("Unexpected object: "+e)}var ft=(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))(ft||{});function r1(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,l,c)=>i!==-1&&c.length-l-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:n1(e)}})();return a===-1?r:a}function ea(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var nn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(nn||{}),Gt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Gt||{});function ge({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let u=gv(t,e);if(a)return hi(u,n,r,o);let l=i??0;if(l&2){let{static:c=!1,...d}=u;if(c)return hi(d,n,r,o)}if(l&1){let{unmount:c=!0,...d}=u;return Ee(c?0:1,{0(){return null},1(){return hi({...d,hidden:!0,style:{display:"none"}},n,r,o)}})}return hi(u,n,r,o)}function hi(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...u}=eo(e,["unmount","static"]),l=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 d={};if(t){let s=!1,f=[];for(let[p,g]of Object.entries(t))typeof g=="boolean"&&(s=!0),g===!0&&f.push(p);s&&(d["data-headlessui-state"]=f.join(" "))}if(i===ye&&Object.keys(su(u)).length>0){if(!vr(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(g=>` - ${g}`).join(`
5
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(g=>` - ${g}`).join(`
6
6
  `)].join(`
7
- `));let s=c.props,f=typeof(s==null?void 0:s.className)=="function"?(...g)=>ta(s==null?void 0:s.className(...g),u.className):ta(s==null?void 0:s.className,u.className),p=f?{className:f}:{};return sl(c,Object.assign({},yv(c.props,su(to(u,["ref"]))),d,l,r1(c.ref,l.ref),p))}return j(i,Object.assign({},to(u,["ref"]),i!==ye&&l,i!==ye&&d),c)}function r1(...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 yv(...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 be(e){var t;return Object.assign(fe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function su(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function to(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Sa(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&&i1(n)?!1:r}function i1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function a1(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 o1="div";var Yr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Yr||{});function u1(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 ge({ourProps:i,theirProps:r,slot:{},defaultTag:o1,name:"Hidden"})}let na=be(u1),Pl=ke(null);Pl.displayName="OpenClosedContext";var we=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(we||{});function ai(){return Te(Pl)}function Al({value:e,children:t}){return J.createElement(Pl.Provider,{value:e},t)}var pe=(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))(pe||{});function l1(e,t,n){let[r,i]=Be(n),a=e!==void 0,o=ee(a),u=ee(!1),l=ee(!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&&!l.current&&(l.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,Z(c=>(a||i(c),t==null?void 0:t(c)))]}function Tl(e,t){let n=ee([]),r=Z(e);ce(()=>{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 bc(e){return[e.screenX,e.screenY]}function s1(){let e=ee([-1,-1]);return{wasMoved(t){let n=bc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=bc(t)}}}function c1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function _r(...e){return ue(()=>ii(...e),[...e])}var Nr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Nr||{});function f1(){let e=ee(0);return pv("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function oi(){let e=ee(!1);return Ce(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function gv(e,t,n,r){let i=Nt(n);ce(()=>{e=e??window;function a(o){i.current(o)}return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)},[e,t,r])}function d1(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function bv(e){let t=Z(e),n=ee(!1);ce(()=>(n.current=!1,()=>{n.current=!0,Oa(()=>{n.current&&t()})}),[t])}function _v(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 p1="div";var wv=(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))(wv||{});function v1(e,t){let n=ee(null),r=Ie(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;br()||(o=1);let l=_r(n);y1({ownerDocument:l},!!(o&16));let c=g1({ownerDocument:l,container:n,initialFocus:i},!!(o&2));b1({ownerDocument:l,container:n,containers:a,previousActiveElement:c},!!(o&8));let d=f1(),s=Z(h=>{let _=n.current;_&&(b=>b())(()=>{Ee(d.current,{[Nr.Forwards]:()=>{jr(_,Tt.First,{skipElements:[h.relatedTarget]})},[Nr.Backwards]:()=>{jr(_,Tt.Last,{skipElements:[h.relatedTarget]})}})})}),f=gr(),p=ee(!1),g={ref:r,onKeyDown(h){h.key=="Tab"&&(p.current=!0,f.requestAnimationFrame(()=>{p.current=!1}))},onBlur(h){let _=_v(a);n.current instanceof HTMLElement&&_.add(n.current);let b=h.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(Ev(_,b)||(p.current?jr(n.current,Ee(d.current,{[Nr.Forwards]:()=>Tt.Next,[Nr.Backwards]:()=>Tt.Previous})|Tt.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&Zt(h.target)))}};return J.createElement(J.Fragment,null,!!(o&4)&&J.createElement(na,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:Yr.Focusable}),ge({ourProps:g,theirProps:u,defaultTag:p1,name:"FocusTrap"}),!!(o&4)&&J.createElement(na,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:Yr.Focusable}))}let h1=be(v1),Ir=Object.assign(h1,{features:wv}),qt=[];d1(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&qt[0]!==t.target&&(qt.unshift(t.target),qt=qt.filter(n=>n!=null&&n.isConnected),qt.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 m1(e=!0){let t=ee(qt.slice());return Tl(([n],[r])=>{r===!0&&n===!1&&Oa(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=qt.slice())},[e,qt,t]),Z(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function y1({ownerDocument:e},t){let n=m1(t);Tl(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&Zt(n())},[t]),bv(()=>{t&&Zt(n())})}function g1({ownerDocument:e,container:t,initialFocus:n},r){let i=ee(null),a=oi();return Tl(()=>{if(!r)return;let o=t.current;o&&Oa(()=>{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?Zt(n.current):jr(o,Tt.First)===sv.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function b1({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=oi();gv(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=_v(n);t.current instanceof HTMLElement&&u.add(t.current);let l=r.current;if(!l)return;let c=o.target;c&&c instanceof HTMLElement?Ev(u,c)?(r.current=c,Zt(c)):(o.preventDefault(),o.stopPropagation(),Zt(l)):Zt(r.current)},!0)}function Ev(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Ov=ke(!1);function _1(){return Te(Ov)}function cu(e){return J.createElement(Ov.Provider,{value:e.force},e.children)}function w1(e){let t=_1(),n=Te(Sv),r=_r(e),[i,a]=Be(()=>{if(!t&&n!==null||kt.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 ce(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),ce(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let E1=ye;function O1(e,t){let n=e,r=ee(null),i=Ie(mv(d=>{r.current=d}),t),a=_r(r),o=w1(r),[u]=Be(()=>{var d;return kt.isServer?null:(d=a==null?void 0:a.createElement("div"))!=null?d:null}),l=Te(fu),c=br();return Ce(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),Ce(()=>{if(u&&l)return l.register(u)},[l,u]),bv(()=>{var d;!o||!u||(u instanceof Node&&o.contains(u)&&o.removeChild(u),o.childNodes.length<=0&&((d=o.parentElement)==null||d.removeChild(o)))}),c?!o||!u?null:ul(ge({ourProps:{ref:i},theirProps:n,defaultTag:E1,name:"Portal"}),u):null}let S1=ye,Sv=ke(null);function P1(e,t){let{target:n,...r}=e,i={ref:Ie(t)};return J.createElement(Sv.Provider,{value:n},ge({ourProps:i,theirProps:r,defaultTag:S1,name:"Popover.Group"}))}let fu=ke(null);function A1(){let e=Te(fu),t=ee([]),n=Z(a=>(t.current.push(a),e&&e.register(a),()=>r(a))),r=Z(a=>{let o=t.current.indexOf(a);o!==-1&&t.current.splice(o,1),e&&e.unregister(a)}),i=ue(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ue(()=>function({children:a}){return J.createElement(fu.Provider,{value:i},a)},[i])]}let T1=be(O1),I1=be(P1),du=Object.assign(T1,{Group:I1}),Pv=ke(null);function Av(){let e=Te(Pv);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,Av),t}return e}function Tv(){let[e,t]=Be([]);return[e.length>0?e.join(" "):void 0,ue(()=>function(n){let r=Z(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),l=u.indexOf(a);return l!==-1&&u.splice(l,1),u}))),i=ue(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return J.createElement(Pv.Provider,{value:i},n.children)},[t])]}let C1="p";function L1(e,t){let n=nt(),{id:r=`headlessui-description-${n}`,...i}=e,a=Av(),o=Ie(t);Ce(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return ge({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:C1,name:a.name||"Description"})}let R1=be(L1),Iv=Object.assign(R1,{}),Il=ke(()=>{});Il.displayName="StackContext";var pu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(pu||{});function k1(){return Te(Il)}function N1({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=k1(),o=Z((...u)=>{t==null||t(...u),a(...u)});return Ce(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),J.createElement(Il.Provider,{value:o},e)}function M1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const D1=typeof Object.is=="function"?Object.is:M1,{useState:$1,useEffect:j1,useLayoutEffect:B1,useDebugValue:F1}=tr;function U1(e,t,n){const r=t(),[{inst:i},a]=$1({inst:{value:r,getSnapshot:t}});return B1(()=>{i.value=r,i.getSnapshot=t,no(i)&&a({inst:i})},[e,r,t]),j1(()=>(no(i)&&a({inst:i}),e(()=>{no(i)&&a({inst:i})})),[e]),F1(r),r}function no(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!D1(n,r)}catch{return!0}}function x1(e,t,n){return t()}const H1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",K1=!H1,z1=K1?x1:U1,W1="useSyncExternalStore"in tr?(e=>e.useSyncExternalStore)(tr):z1;function q1(e){return W1(e.subscribe,e.getSnapshot,e.getSnapshot)}function G1(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 V1(){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 Y1(){if(!c1())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=mt();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:l}=new URL(u.href),c=t.querySelector(l);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 X1(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Q1(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let hn=G1(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:mt(),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:Q1(n)},i=[Y1(),V1(),X1()];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)}});hn.subscribe(()=>{let e=hn.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)&&hn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&hn.dispatch("TEARDOWN",n)}});function J1(e,t,n){let r=q1(hn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return Ce(()=>{if(!(!e||!t))return hn.dispatch("PUSH",e,n),()=>hn.dispatch("POP",e,n)},[t,e]),a}let ro=new Map,Cr=new Map;function _c(e,t=!0){Ce(()=>{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=Cr.get(r))!=null?o:1;if(u===1?Cr.delete(r):Cr.set(r,u-1),u!==1)return;let l=ro.get(r);l&&(l["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",l["aria-hidden"]),r.inert=l.inert,ro.delete(r))}let a=(n=Cr.get(r))!=null?n:0;return Cr.set(r,a+1),a!==0||(ro.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function Z1({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ee((r=n==null?void 0:n.current)!=null?r:null),a=_r(i),o=Z(()=>{var u;let l=[];for(let c of e)c!==null&&(c instanceof HTMLElement?l.push(c):"current"in c&&c.current instanceof HTMLElement&&l.push(c.current));if(t!=null&&t.current)for(let c of t.current)l.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)||l.some(d=>c.contains(d))||l.push(c));return l});return{resolveContainers:o,contains:Z(u=>o().some(l=>l.contains(u))),mainTreeNodeRef:i,MainTreeNode:ue(()=>function(){return n!=null?null:J.createElement(na,{features:Yr.Hidden,ref:i})},[i,n])}}var e_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(e_||{}),t_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(t_||{});let n_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ra=ke(null);ra.displayName="DialogContext";function ui(e){let t=Te(ra);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ui),n}return t}function r_(e,t,n=()=>[document.body]){J1(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function i_(e,t){return Ee(t.type,n_,e,t)}let a_="div",o_=rn.RenderStrategy|rn.Static;function u_(e,t){var n;let r=nt(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:l=!1,...c}=e,[d,s]=Be(0),f=ai();a===void 0&&f!==null&&(a=(f&we.Open)===we.Open);let p=ee(null),g=Ie(p,t),h=_r(p),_=e.hasOwnProperty("open")||f!==null,b=e.hasOwnProperty("onClose");if(!_&&!b)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!_)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!b)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 m=a?0:1,[v,y]=Cn(i_,{titleId:null,descriptionId:null,panelRef:Wr()}),w=Z(()=>o(!1)),S=Z(X=>y({type:0,id:X})),O=br()?l?!1:m===0:!1,E=d>1,P=Te(ra)!==null,[A,L]=A1(),{resolveContainers:N,mainTreeNodeRef:$,MainTreeNode:C}=Z1({portals:A,defaultContainers:[(n=v.panelRef.current)!=null?n:p.current]}),I=E?"parent":"leaf",R=f!==null?(f&we.Closing)===we.Closing:!1,D=(()=>P||R?!1:O)(),B=Gt(()=>{var X,re;return(re=Array.from((X=h==null?void 0:h.querySelectorAll("body > *"))!=null?X:[]).find(ie=>ie.id==="headlessui-portal-root"?!1:ie.contains($.current)&&ie instanceof HTMLElement))!=null?re:null},[$]);_c(B,D);let V=(()=>E?!0:O)(),W=Gt(()=>{var X,re;return(re=Array.from((X=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?X:[]).find(ie=>ie.contains($.current)&&ie instanceof HTMLElement))!=null?re:null},[$]);_c(W,V);let Y=(()=>!(!O||E))();vv(N,w,Y);let U=(()=>!(E||m!==0))();gv(h==null?void 0:h.defaultView,"keydown",X=>{U&&(X.defaultPrevented||X.key===pe.Escape&&(X.preventDefault(),X.stopPropagation(),w()))});let F=(()=>!(R||m!==0||P))();r_(h,F,N),ce(()=>{if(m!==0||!p.current)return;let X=new ResizeObserver(re=>{for(let ie of re){let _e=ie.target.getBoundingClientRect();_e.x===0&&_e.y===0&&_e.width===0&&_e.height===0&&w()}});return X.observe(p.current),()=>X.disconnect()},[m,p,w]);let[z,x]=Tv(),te=ue(()=>[{dialogState:m,close:w,setTitleId:S},v],[m,v,w,S]),se=ue(()=>({open:m===0}),[m]),ne={ref:g,id:i,role:"dialog","aria-modal":m===0?!0:void 0,"aria-labelledby":v.titleId,"aria-describedby":z};return J.createElement(N1,{type:"Dialog",enabled:m===0,element:p,onUpdate:Z((X,re)=>{re==="Dialog"&&Ee(X,{[pu.Add]:()=>s(ie=>ie+1),[pu.Remove]:()=>s(ie=>ie-1)})})},J.createElement(cu,{force:!0},J.createElement(du,null,J.createElement(ra.Provider,{value:te},J.createElement(du.Group,{target:p},J.createElement(cu,{force:!1},J.createElement(x,{slot:se,name:"Dialog.Description"},J.createElement(Ir,{initialFocus:u,containers:N,features:O?Ee(I,{parent:Ir.features.RestoreFocus,leaf:Ir.features.All&~Ir.features.FocusLock}):Ir.features.None},J.createElement(L,null,ge({ourProps:ne,theirProps:c,slot:se,defaultTag:a_,features:o_,visible:m===0,name:"Dialog"}))))))))),J.createElement(C,null))}let l_="div";function s_(e,t){let n=nt(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=ui("Dialog.Overlay"),u=Ie(t),l=Z(d=>{if(d.target===d.currentTarget){if(Sa(d.currentTarget))return d.preventDefault();d.preventDefault(),d.stopPropagation(),o()}}),c=ue(()=>({open:a===0}),[a]);return ge({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:l},theirProps:i,slot:c,defaultTag:l_,name:"Dialog.Overlay"})}let c_="div";function f_(e,t){let n=nt(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=ui("Dialog.Backdrop"),u=Ie(t);ce(()=>{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 l=ue(()=>({open:a===0}),[a]);return J.createElement(cu,{force:!0},J.createElement(du,null,ge({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:l,defaultTag:c_,name:"Dialog.Backdrop"})))}let d_="div";function p_(e,t){let n=nt(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=ui("Dialog.Panel"),u=Ie(t,o.panelRef),l=ue(()=>({open:a===0}),[a]),c=Z(d=>{d.stopPropagation()});return ge({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:l,defaultTag:d_,name:"Dialog.Panel"})}let v_="h2";function h_(e,t){let n=nt(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=ui("Dialog.Title"),u=Ie(t);ce(()=>(o(r),()=>o(null)),[r,o]);let l=ue(()=>({open:a===0}),[a]);return ge({ourProps:{ref:u,id:r},theirProps:i,slot:l,defaultTag:v_,name:"Dialog.Title"})}let m_=be(u_),y_=be(f_),g_=be(p_),b_=be(s_),__=be(h_),DI=Object.assign(m_,{Backdrop:y_,Panel:g_,Overlay:b_,Title:__,Description:Iv});var wc;let w_=(wc=J.startTransition)!=null?wc:function(e){e()};var E_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(E_||{}),O_=(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))(O_||{});let S_={0:e=>({...e,disclosureState:Ee(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}}},Cl=ke(null);Cl.displayName="DisclosureContext";function Ll(e){let t=Te(Cl);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 Rl=ke(null);Rl.displayName="DisclosureAPIContext";function Cv(e){let t=Te(Rl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Cv),n}return t}let kl=ke(null);kl.displayName="DisclosurePanelContext";function P_(){return Te(kl)}function A_(e,t){return Ee(t.type,S_,e,t)}let T_=ye;function I_(e,t){let{defaultOpen:n=!1,...r}=e,i=ee(null),a=Ie(t,mv(_=>{i.current=_},e.as===void 0||e.as===ye)),o=ee(null),u=ee(null),l=Cn(A_,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:d},s]=l,f=Z(_=>{s({type:1});let b=ii(i);if(!b||!d)return;let m=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:b.getElementById(d):b.getElementById(d))();m==null||m.focus()}),p=ue(()=>({close:f}),[f]),g=ue(()=>({open:c===0,close:f}),[c,f]),h={ref:a};return J.createElement(Cl.Provider,{value:l},J.createElement(Rl.Provider,{value:p},J.createElement(Al,{value:Ee(c,{0:we.Open,1:we.Closed})},ge({ourProps:h,theirProps:r,slot:g,defaultTag:T_,name:"Disclosure"}))))}let C_="button";function L_(e,t){let n=nt(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=Ll("Disclosure.Button"),u=P_(),l=u===null?!1:u===a.panelId,c=ee(null),d=Ie(c,t,l?null:a.buttonRef);ce(()=>{if(!l)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}},[r,o,l]);let s=Z(b=>{var m;if(l){if(a.disclosureState===1)return;switch(b.key){case pe.Space:case pe.Enter:b.preventDefault(),b.stopPropagation(),o({type:0}),(m=a.buttonRef.current)==null||m.focus();break}}else switch(b.key){case pe.Space:case pe.Enter:b.preventDefault(),b.stopPropagation(),o({type:0});break}}),f=Z(b=>{switch(b.key){case pe.Space:b.preventDefault();break}}),p=Z(b=>{var m;Sa(b.currentTarget)||e.disabled||(l?(o({type:0}),(m=a.buttonRef.current)==null||m.focus()):o({type:0}))}),g=ue(()=>({open:a.disclosureState===0}),[a]),h=Sl(e,c),_=l?{ref:d,type:h,onKeyDown:s,onClick:p}:{ref:d,id:r,type:h,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:s,onKeyUp:f,onClick:p};return ge({ourProps:_,theirProps:i,slot:g,defaultTag:C_,name:"Disclosure.Button"})}let R_="div",k_=rn.RenderStrategy|rn.Static;function N_(e,t){let n=nt(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=Ll("Disclosure.Panel"),{close:u}=Cv("Disclosure.Panel"),l=Ie(t,a.panelRef,p=>{w_(()=>o({type:p?4:5}))});ce(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=ai(),d=(()=>c!==null?(c&we.Open)===we.Open:a.disclosureState===0)(),s=ue(()=>({open:a.disclosureState===0,close:u}),[a,u]),f={ref:l,id:r};return J.createElement(kl.Provider,{value:a.panelId},ge({ourProps:f,theirProps:i,slot:s,defaultTag:R_,features:k_,visible:d,name:"Disclosure.Panel"}))}let M_=be(I_),D_=be(L_),$_=be(N_),$I=Object.assign(M_,{Button:D_,Panel:$_}),Ec=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Oc(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 Ec.test(o)&&(o=o.replace(Ec,"")),o}function j_(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():Oc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Oc(e).trim()}function B_(e){let t=ee(""),n=ee("");return Z(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=j_(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var F_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(F_||{}),U_=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(U_||{}),x_=(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))(x_||{});function io(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=dv(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 H_={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=io(e),i=n1(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=io(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=io(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Nl=ke(null);Nl.displayName="MenuContext";function Pa(e){let t=Te(Nl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Pa),n}return t}function K_(e,t){return Ee(t.type,H_,e,t)}let z_=ye;function W_(e,t){let{__demoMode:n=!1,...r}=e,i=Cn(K_,{__demoMode:n,menuState:n?0:1,buttonRef:Wr(),itemsRef:Wr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},l]=i,c=Ie(t);vv([u,o],(p,g)=>{var h;l({type:1}),Ol(g,El.Loose)||(p.preventDefault(),(h=u.current)==null||h.focus())},a===0);let d=Z(()=>{l({type:1})}),s=ue(()=>({open:a===0,close:d}),[a,d]),f={ref:c};return J.createElement(Nl.Provider,{value:i},J.createElement(Al,{value:Ee(a,{0:we.Open,1:we.Closed})},ge({ourProps:f,theirProps:r,slot:s,defaultTag:z_,name:"Menu"})))}let q_="button";function G_(e,t){var n;let r=nt(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=Pa("Menu.Button"),l=Ie(o.buttonRef,t),c=gr(),d=Z(h=>{switch(h.key){case pe.Space:case pe.Enter:case pe.ArrowDown:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:dt.First}));break;case pe.ArrowUp:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:dt.Last}));break}}),s=Z(h=>{switch(h.key){case pe.Space:h.preventDefault();break}}),f=Z(h=>{if(Sa(h.currentTarget))return h.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var _;return(_=o.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})})):(h.preventDefault(),u({type:0})))}),p=ue(()=>({open:o.menuState===0}),[o]),g={ref:l,id:i,type:Sl(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:d,onKeyUp:s,onClick:f};return ge({ourProps:g,theirProps:a,slot:p,defaultTag:q_,name:"Menu.Button"})}let V_="div",Y_=rn.RenderStrategy|rn.Static;function X_(e,t){var n,r;let i=nt(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,l]=Pa("Menu.Items"),c=Ie(u.itemsRef,t),d=_r(u.itemsRef),s=gr(),f=ai(),p=(()=>f!==null?(f&we.Open)===we.Open:u.menuState===0)();ce(()=>{let m=u.itemsRef.current;m&&u.menuState===0&&m!==(d==null?void 0:d.activeElement)&&m.focus({preventScroll:!0})},[u.menuState,u.itemsRef,d]),e1({container:u.itemsRef.current,enabled:u.menuState===0,accept(m){return m.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:m.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(m){m.setAttribute("role","none")}});let g=Z(m=>{var v,y;switch(s.dispose(),m.key){case pe.Space:if(u.searchQuery!=="")return m.preventDefault(),m.stopPropagation(),l({type:3,value:m.key});case pe.Enter:if(m.preventDefault(),m.stopPropagation(),l({type:1}),u.activeItemIndex!==null){let{dataRef:w}=u.items[u.activeItemIndex];(y=(v=w.current)==null?void 0:v.domRef.current)==null||y.click()}fv(u.buttonRef.current);break;case pe.ArrowDown:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.Next});case pe.ArrowUp:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.Previous});case pe.Home:case pe.PageUp:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.First});case pe.End:case pe.PageDown:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:dt.Last});case pe.Escape:m.preventDefault(),m.stopPropagation(),l({type:1}),mt().nextFrame(()=>{var w;return(w=u.buttonRef.current)==null?void 0:w.focus({preventScroll:!0})});break;case pe.Tab:m.preventDefault(),m.stopPropagation(),l({type:1}),mt().nextFrame(()=>{Zb(u.buttonRef.current,m.shiftKey?Tt.Previous:Tt.Next)});break;default:m.key.length===1&&(l({type:3,value:m.key}),s.setTimeout(()=>l({type:4}),350));break}}),h=Z(m=>{switch(m.key){case pe.Space:m.preventDefault();break}}),_=ue(()=>({open:u.menuState===0}),[u]),b={"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:g,onKeyUp:h,role:"menu",tabIndex:0,ref:c};return ge({ourProps:b,theirProps:o,slot:_,defaultTag:V_,features:Y_,visible:p,name:"Menu.Items"})}let Q_=ye;function J_(e,t){let n=nt(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=Pa("Menu.Item"),l=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ee(null),d=Ie(t,c);Ce(()=>{if(o.__demoMode||o.menuState!==0||!l||o.activationTrigger===0)return;let w=mt();return w.requestAnimationFrame(()=>{var S,O;(O=(S=c.current)==null?void 0:S.scrollIntoView)==null||O.call(S,{block:"nearest"})}),w.dispose},[o.__demoMode,c,l,o.menuState,o.activationTrigger,o.activeItemIndex]);let s=B_(c),f=ee({disabled:i,domRef:c,get textValue(){return s()}});Ce(()=>{f.current.disabled=i},[f,i]),Ce(()=>(u({type:5,id:r,dataRef:f}),()=>u({type:6,id:r})),[f,r]);let p=Z(()=>{u({type:1})}),g=Z(w=>{if(i)return w.preventDefault();u({type:1}),fv(o.buttonRef.current)}),h=Z(()=>{if(i)return u({type:2,focus:dt.Nothing});u({type:2,focus:dt.Specific,id:r})}),_=s1(),b=Z(w=>_.update(w)),m=Z(w=>{_.wasMoved(w)&&(i||l||u({type:2,focus:dt.Specific,id:r,trigger:0}))}),v=Z(w=>{_.wasMoved(w)&&(i||l&&u({type:2,focus:dt.Nothing}))}),y=ue(()=>({active:l,disabled:i,close:p}),[l,i,p]);return ge({ourProps:{id:r,ref:d,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:g,onFocus:h,onPointerEnter:b,onMouseEnter:b,onPointerMove:m,onMouseMove:m,onPointerLeave:v,onMouseLeave:v},theirProps:a,slot:y,defaultTag:Q_,name:"Menu.Item"})}let Z_=be(W_),ew=be(G_),tw=be(X_),nw=be(J_),jI=Object.assign(Z_,{Button:ew,Items:tw,Item:nw});function rw(e=0){let[t,n]=Be(e),r=oi(),i=Gt(l=>{r.current&&n(c=>c|l)},[t,r]),a=Gt(l=>!!(t&l),[t]),o=Gt(l=>{r.current&&n(c=>c&~l)},[n,r]),u=Gt(l=>{r.current&&n(c=>c^l)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let Lv=ke(null);function Rv(){let e=Te(Lv);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,Rv),t}return e}function iw(){let[e,t]=Be([]);return[e.length>0?e.join(" "):void 0,ue(()=>function(n){let r=Z(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),l=u.indexOf(a);return l!==-1&&u.splice(l,1),u}))),i=ue(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return J.createElement(Lv.Provider,{value:i},n.children)},[t])]}let aw="label";function ow(e,t){let n=nt(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=Rv(),u=Ie(t);Ce(()=>o.register(r),[r,o.register]);let l={ref:u,...o.props,id:r};return i&&("onClick"in l&&(delete l.htmlFor,delete l.onClick),"onClick"in a&&delete a.onClick),ge({ourProps:l,theirProps:a,slot:o.slot||{},defaultTag:aw,name:o.name||"Label"})}let uw=be(ow),lw=Object.assign(uw,{}),Ml=ke(null);Ml.displayName="GroupContext";let sw=ye;function cw(e){var t;let[n,r]=Be(null),[i,a]=iw(),[o,u]=Tv(),l=ue(()=>({switch:n,setSwitch:r,labelledby:i,describedby:o}),[n,r,i,o]),c={},d=e;return J.createElement(u,{name:"Switch.Description"},J.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=l.switch)==null?void 0:t.id,onClick(s){n&&(s.currentTarget.tagName==="LABEL"&&s.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},J.createElement(Ml.Provider,{value:l},ge({ourProps:c,theirProps:d,defaultTag:sw,name:"Switch.Group"}))))}let fw="button";function dw(e,t){let n=nt(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:l,form:c,...d}=e,s=Te(Ml),f=ee(null),p=Ie(f,t,s===null?null:s.setSwitch),[g,h]=l1(i,o,a),_=Z(()=>h==null?void 0:h(!g)),b=Z(O=>{if(Sa(O.currentTarget))return O.preventDefault();O.preventDefault(),_()}),m=Z(O=>{O.key===pe.Space?(O.preventDefault(),_()):O.key===pe.Enter&&a1(O.currentTarget)}),v=Z(O=>O.preventDefault()),y=ue(()=>({checked:g}),[g]),w={id:r,ref:p,role:"switch",type:Sl(e,f),tabIndex:0,"aria-checked":g,"aria-labelledby":s==null?void 0:s.labelledby,"aria-describedby":s==null?void 0:s.describedby,onClick:b,onKeyUp:m,onKeyPress:v},S=gr();return ce(()=>{var O;let E=(O=f.current)==null?void 0:O.closest("form");E&&a!==void 0&&S.addEventListener(E,"reset",()=>{h(a)})},[f,h]),J.createElement(J.Fragment,null,u!=null&&g&&J.createElement(na,{features:Yr.Hidden,...su({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:g,name:u,value:l})}),ge({ourProps:w,theirProps:d,slot:y,defaultTag:fw,name:"Switch"}))}let pw=be(dw),vw=cw,BI=Object.assign(pw,{Group:vw,Label:lw,Description:Iv});function hw(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function ao(e,...t){e&&t.length>0&&e.classList.add(...t)}function oo(e,...t){e&&t.length>0&&e.classList.remove(...t)}function mw(e,t){let n=mt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(l=>{let[c=0]=l.split(",").filter(Boolean).map(d=>d.includes("ms")?parseFloat(d):parseFloat(d)*1e3).sort((d,s)=>s-d);return c}),u=a+o;if(u!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},u),c.addEventListener(e,"transitionrun",d=>{d.target===d.currentTarget&&c.dispose()})});let l=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),l())})}else t();return n.add(()=>t()),n.dispose}function yw(e,t,n,r){let i=n?"enter":"leave",a=mt(),o=r!==void 0?hw(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Ee(i,{enter:()=>t.enter,leave:()=>t.leave}),l=Ee(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Ee(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return oo(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),ao(e,...t.base,...u,...c),a.nextFrame(()=>{oo(e,...t.base,...u,...c),ao(e,...t.base,...u,...l),mw(e,()=>(oo(e,...t.base,...u),ao(e,...t.base,...t.entered),o()))}),a.dispose}function gw({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=oi(),u=gr(),l=Nt(n);Ce(()=>{e&&(l.current="enter")},[e]),Ce(()=>{let c=mt();u.add(c.dispose);let d=t.current;if(d&&l.current!=="idle"&&o.current)return c.dispose(),i.current(l.current),c.add(yw(d,r.current,l.current==="enter",()=>{c.dispose(),a.current(l.current)})),c.dispose},[n])}function xt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Aa=ke(null);Aa.displayName="TransitionContext";var bw=(e=>(e.Visible="visible",e.Hidden="hidden",e))(bw||{});function _w(){let e=Te(Aa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function ww(){let e=Te(Ta);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Ta=ke(null);Ta.displayName="NestingContext";function Ia(e){return"children"in e?Ia(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function kv(e,t){let n=Nt(e),r=ee([]),i=oi(),a=gr(),o=Z((p,g=Vt.Hidden)=>{let h=r.current.findIndex(({el:_})=>_===p);h!==-1&&(Ee(g,{[Vt.Unmount](){r.current.splice(h,1)},[Vt.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var _;!Ia(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=Z(p=>{let g=r.current.find(({el:h})=>h===p);return g?g.state!=="visible"&&(g.state="visible"):r.current.push({el:p,state:"visible"}),()=>o(p,Vt.Unmount)}),l=ee([]),c=ee(Promise.resolve()),d=ee({enter:[],leave:[],idle:[]}),s=Z((p,g,h)=>{l.current.splice(0),t&&(t.chains.current[g]=t.chains.current[g].filter(([_])=>_!==p)),t==null||t.chains.current[g].push([p,new Promise(_=>{l.current.push(_)})]),t==null||t.chains.current[g].push([p,new Promise(_=>{Promise.all(d.current[g].map(([b,m])=>m)).then(()=>_())})]),g==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>h(g)):h(g)}),f=Z((p,g,h)=>{Promise.all(d.current[g].splice(0).map(([_,b])=>b)).then(()=>{var _;(_=l.current.shift())==null||_()}).then(()=>h(g))});return ue(()=>({children:r,register:u,unregister:o,onStart:s,onStop:f,wait:c,chains:d}),[u,o,r,s,f,d,c])}function Ew(){}let Ow=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Sc(e){var t;let n={};for(let r of Ow)n[r]=(t=e[r])!=null?t:Ew;return n}function Sw(e){let t=ee(Sc(e));return ce(()=>{t.current=Sc(e)},[e]),t}let Pw="div",Nv=rn.RenderStrategy;function Aw(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u,enter:l,enterFrom:c,enterTo:d,entered:s,leave:f,leaveFrom:p,leaveTo:g,...h}=e,_=ee(null),b=Ie(_,t),m=(n=h.unmount)==null||n?Vt.Unmount:Vt.Hidden,{show:v,appear:y,initial:w}=_w(),[S,O]=Be(v?"visible":"hidden"),E=ww(),{register:P,unregister:A}=E;ce(()=>P(_),[P,_]),ce(()=>{if(m===Vt.Hidden&&_.current){if(v&&S!=="visible"){O("visible");return}return Ee(S,{hidden:()=>A(_),visible:()=>P(_)})}},[S,_,P,A,v,m]);let L=Nt({base:xt(h.className),enter:xt(l),enterFrom:xt(c),enterTo:xt(d),entered:xt(s),leave:xt(f),leaveFrom:xt(p),leaveTo:xt(g)}),N=Sw({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),$=br();ce(()=>{if($&&S==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,S,$]);let C=w&&!y,I=y&&v&&w,R=(()=>!$||C?"idle":v?"enter":"leave")(),D=rw(0),B=Z(F=>Ee(F,{enter:()=>{D.addFlag(we.Opening),N.current.beforeEnter()},leave:()=>{D.addFlag(we.Closing),N.current.beforeLeave()},idle:()=>{}})),V=Z(F=>Ee(F,{enter:()=>{D.removeFlag(we.Opening),N.current.afterEnter()},leave:()=>{D.removeFlag(we.Closing),N.current.afterLeave()},idle:()=>{}})),W=kv(()=>{O("hidden"),A(_)},E);gw({immediate:I,container:_,classes:L,direction:R,onStart:Nt(F=>{W.onStart(_,F,B)}),onStop:Nt(F=>{W.onStop(_,F,V),F==="leave"&&!Ia(W)&&(O("hidden"),A(_))})});let Y=h,U={ref:b};return I?Y={...Y,className:ta(h.className,...L.current.enter,...L.current.enterFrom)}:(Y.className=ta(h.className,(r=_.current)==null?void 0:r.className),Y.className===""&&delete Y.className),J.createElement(Ta.Provider,{value:W},J.createElement(Al,{value:Ee(S,{visible:we.Open,hidden:we.Closed})|D.flags},ge({ourProps:U,theirProps:Y,defaultTag:Pw,features:Nv,visible:S==="visible",name:"Transition.Child"})))}function Tw(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ee(null),u=Ie(o,t);br();let l=ai();if(n===void 0&&l!==null&&(n=(l&we.Open)===we.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,d]=Be(n?"visible":"hidden"),s=kv(()=>{d("hidden")}),[f,p]=Be(!0),g=ee([n]);Ce(()=>{f!==!1&&g.current[g.current.length-1]!==n&&(g.current.push(n),p(!1))},[g,n]);let h=ue(()=>({show:n,appear:r,initial:f}),[n,r,f]);ce(()=>{if(n)d("visible");else if(!Ia(s))d("hidden");else{let v=o.current;if(!v)return;let y=v.getBoundingClientRect();y.x===0&&y.y===0&&y.width===0&&y.height===0&&d("hidden")}},[n,s]);let _={unmount:i},b=Z(()=>{var v;f&&p(!1),(v=e.beforeEnter)==null||v.call(e)}),m=Z(()=>{var v;f&&p(!1),(v=e.beforeLeave)==null||v.call(e)});return J.createElement(Ta.Provider,{value:s},J.createElement(Aa.Provider,{value:h},ge({ourProps:{..._,as:ye,children:J.createElement(Mv,{ref:u,..._,...a,beforeEnter:b,beforeLeave:m})},theirProps:{},defaultTag:ye,features:Nv,visible:c==="visible",name:"Transition"})))}function Iw(e,t){let n=Te(Aa)!==null,r=ai()!==null;return J.createElement(J.Fragment,null,!n&&r?J.createElement(vu,{ref:t,...e}):J.createElement(Mv,{ref:t,...e}))}let vu=be(Tw),Mv=be(Aw),Cw=be(Iw),FI=Object.assign(vu,{Child:Cw,Root:vu});function Lw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Rw=fe(Lw),UI=Rw;function kw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const Nw=fe(kw),xI=Nw;function Mw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Dw=fe(Mw),HI=Dw;function $w({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 jw=fe($w),KI=jw;function Bw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Fw=fe(Bw),zI=Fw;function Uw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 xw=fe(Uw),WI=xw;function Hw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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"}),j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const Kw=fe(Hw),qI=Kw;function zw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Ww=fe(zw),GI=Ww;function qw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Gw=fe(qw),VI=Gw;function Vw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Yw=fe(Vw),YI=Yw;function Xw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Qw=fe(Xw),XI=Qw;function Jw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Zw=fe(Jw),QI=Zw;function eE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}const tE=fe(eE),JI=tE;function nE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const rE=fe(nE),ZI=rE;function Dv(e,t=!1,n,r=n.polyfill("FormData",!0,!0),i=[]){return Object.entries(e).forEach(([a,o])=>{let u=i.reduce((l,c)=>l?`${l}[${c}]`:c,null);if(u=u?`${u}[${a}]`:a,o instanceof Array||globalThis.FileList&&o instanceof FileList)for(const l of o)r.append(u,l);else t&&typeof o=="object"&&(!(t instanceof Array)||!t.includes(a))?o!==null&&Dv(o,t,n,r,[...i,a]):r.append(u,o)}),r}const iE={wretch:{formData(e,t=!1){return this.body(Dv(e,t,this._config))}}},eC=iE;function hu(e){this.message=e}hu.prototype=new Error,hu.prototype.name="InvalidCharacterError";var Pc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new hu("'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 aE(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(Pc(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 Pc(t)}}function ia(e){this.message=e}function tC(e,t){if(typeof e!="string")throw new ia("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(aE(e.split(".")[n]))}catch(r){throw new ia("Invalid token specified: "+r.message)}}ia.prototype=new Error,ia.prototype.name="InvalidTokenError";function oE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 uE=fe(oE),nC=uE;function lE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 sE=fe(lE),rC=sE;function cE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 fE=fe(cE),iC=fE;function dE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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"}),j("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 pE=fe(dE),aC=pE;function vE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 hE=fe(vE),oC=hE;function mE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 yE=fe(mE),uC=yE;function gE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 bE=fe(gE),lC=bE;function _E({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 wE=fe(_E),sC=wE;function EE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 OE=fe(EE),cC=OE;function SE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 PE=fe(SE),fC=PE;function AE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 TE=fe(AE),dC=TE;var Dl={exports:{}},$v=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}},IE=$v,$l=Object.prototype.toString,jl=function(e){return function(t){var n=$l.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Rn(e){return e=e.toLowerCase(),function(n){return jl(n)===e}}function Bl(e){return Array.isArray(e)}function aa(e){return typeof e>"u"}function CE(e){return e!==null&&!aa(e)&&e.constructor!==null&&!aa(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var jv=Rn("ArrayBuffer");function LE(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jv(e.buffer),t}function RE(e){return typeof e=="string"}function kE(e){return typeof e=="number"}function Bv(e){return e!==null&&typeof e=="object"}function ji(e){if(jl(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var NE=Rn("Date"),ME=Rn("File"),DE=Rn("Blob"),$E=Rn("FileList");function Fl(e){return $l.call(e)==="[object Function]"}function jE(e){return Bv(e)&&Fl(e.pipe)}function BE(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||$l.call(e)===t||Fl(e.toString)&&e.toString()===t)}var FE=Rn("URLSearchParams");function UE(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function xE(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ul(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Bl(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function mu(){var e={};function t(i,a){ji(e[a])&&ji(i)?e[a]=mu(e[a],i):ji(i)?e[a]=mu({},i):Bl(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)Ul(arguments[n],t);return e}function HE(e,t,n){return Ul(t,function(i,a){n&&typeof i=="function"?e[a]=IE(i,n):e[a]=i}),e}function KE(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function zE(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function WE(e,t,n){var r,i,a,o={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],o[a]||(t[a]=e[a],o[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function qE(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function GE(e){if(!e)return null;var t=e.length;if(aa(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var VE=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Ue={isArray:Bl,isArrayBuffer:jv,isBuffer:CE,isFormData:BE,isArrayBufferView:LE,isString:RE,isNumber:kE,isObject:Bv,isPlainObject:ji,isUndefined:aa,isDate:NE,isFile:ME,isBlob:DE,isFunction:Fl,isStream:jE,isURLSearchParams:FE,isStandardBrowserEnv:xE,forEach:Ul,merge:mu,extend:HE,trim:UE,stripBOM:KE,inherits:zE,toFlatObject:WE,kindOf:jl,kindOfTest:Rn,endsWith:qE,toArray:GE,isTypedArray:VE,isFileList:$E},Nn=Ue;function Ac(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Fv=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(Nn.isURLSearchParams(n))i=n.toString();else{var a=[];Nn.forEach(n,function(l,c){l===null||typeof l>"u"||(Nn.isArray(l)?c=c+"[]":l=[l],Nn.forEach(l,function(s){Nn.isDate(s)?s=s.toISOString():Nn.isObject(s)&&(s=JSON.stringify(s)),a.push(Ac(c)+"="+Ac(s))}))}),i=a.join("&")}if(i){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},YE=Ue;function Ca(){this.handlers=[]}Ca.prototype.use=function(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};Ca.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Ca.prototype.forEach=function(t){YE.forEach(this.handlers,function(r){r!==null&&t(r)})};var XE=Ca,QE=Ue,JE=function(t,n){QE.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})},Uv=Ue;function or(e,t,n,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}Uv.inherits(or,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var xv=or.prototype,Hv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){Hv[e]={value:e}});Object.defineProperties(or,Hv);Object.defineProperty(xv,"isAxiosError",{value:!0});or.from=function(e,t,n,r,i,a){var o=Object.create(xv);return Uv.toFlatObject(e,o,function(l){return l!==Error.prototype}),or.call(o,e.message,t,n,r,i),o.name=e.name,a&&Object.assign(o,a),o};var wr=or,Kv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},st=Ue;function ZE(e,t){t=t||new FormData;var n=[];function r(a){return a===null?"":st.isDate(a)?a.toISOString():st.isArrayBuffer(a)||st.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,o){if(st.isPlainObject(a)||st.isArray(a)){if(n.indexOf(a)!==-1)throw Error("Circular reference detected in "+o);n.push(a),st.forEach(a,function(l,c){if(!st.isUndefined(l)){var d=o?o+"."+c:c,s;if(l&&!o&&typeof l=="object"){if(st.endsWith(c,"{}"))l=JSON.stringify(l);else if(st.endsWith(c,"[]")&&(s=st.toArray(l))){s.forEach(function(f){!st.isUndefined(f)&&t.append(d,r(f))});return}}i(l,d)}}),n.pop()}else t.append(o,r(a))}return i(e),t}var zv=ZE,uo,Tc;function eO(){if(Tc)return uo;Tc=1;var e=wr;return uo=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},uo}var lo,Ic;function tO(){if(Ic)return lo;Ic=1;var e=Ue;return lo=e.isStandardBrowserEnv()?function(){return{write:function(r,i,a,o,u,l){var c=[];c.push(r+"="+encodeURIComponent(i)),e.isNumber(a)&&c.push("expires="+new Date(a).toGMTString()),e.isString(o)&&c.push("path="+o),e.isString(u)&&c.push("domain="+u),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),lo}var nO=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},rO=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},iO=nO,aO=rO,Wv=function(t,n){return t&&!iO(n)?aO(t,n):n},so,Cc;function oO(){if(Cc)return so;Cc=1;var e=Ue,t=["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"];return so=function(r){var i={},a,o,u;return r&&e.forEach(r.split(`
8
- `),function(c){if(u=c.indexOf(":"),a=e.trim(c.substr(0,u)).toLowerCase(),o=e.trim(c.substr(u+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},so}var co,Lc;function uO(){if(Lc)return co;Lc=1;var e=Ue;return co=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(o){var u=o;return n&&(r.setAttribute("href",u),u=r.href),r.setAttribute("href",u),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(u){var l=e.isString(u)?a(u):u;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),co}var fo,Rc;function La(){if(Rc)return fo;Rc=1;var e=wr,t=Ue;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),fo=n,fo}var po,kc;function lO(){return kc||(kc=1,po=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),po}var vo,Nc;function Mc(){if(Nc)return vo;Nc=1;var e=Ue,t=eO(),n=tO(),r=Fv,i=Wv,a=oO(),o=uO(),u=Kv,l=wr,c=La(),d=lO();return vo=function(f){return new Promise(function(g,h){var _=f.data,b=f.headers,m=f.responseType,v;function y(){f.cancelToken&&f.cancelToken.unsubscribe(v),f.signal&&f.signal.removeEventListener("abort",v)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete b["Content-Type"];var w=new XMLHttpRequest;if(f.auth){var S=f.auth.username||"",O=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";b.Authorization="Basic "+btoa(S+":"+O)}var E=i(f.baseURL,f.url);w.open(f.method.toUpperCase(),r(E,f.params,f.paramsSerializer),!0),w.timeout=f.timeout;function P(){if(w){var N="getAllResponseHeaders"in w?a(w.getAllResponseHeaders()):null,$=!m||m==="text"||m==="json"?w.responseText:w.response,C={data:$,status:w.status,statusText:w.statusText,headers:N,config:f,request:w};t(function(R){g(R),y()},function(R){h(R),y()},C),w=null}}if("onloadend"in w?w.onloadend=P:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(P)},w.onabort=function(){w&&(h(new l("Request aborted",l.ECONNABORTED,f,w)),w=null)},w.onerror=function(){h(new l("Network Error",l.ERR_NETWORK,f,w,w)),w=null},w.ontimeout=function(){var $=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",C=f.transitional||u;f.timeoutErrorMessage&&($=f.timeoutErrorMessage),h(new l($,C.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,f,w)),w=null},e.isStandardBrowserEnv()){var A=(f.withCredentials||o(E))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;A&&(b[f.xsrfHeaderName]=A)}"setRequestHeader"in w&&e.forEach(b,function($,C){typeof _>"u"&&C.toLowerCase()==="content-type"?delete b[C]:w.setRequestHeader(C,$)}),e.isUndefined(f.withCredentials)||(w.withCredentials=!!f.withCredentials),m&&m!=="json"&&(w.responseType=f.responseType),typeof f.onDownloadProgress=="function"&&w.addEventListener("progress",f.onDownloadProgress),typeof f.onUploadProgress=="function"&&w.upload&&w.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(v=function(N){w&&(h(!N||N&&N.type?new c:N),w.abort(),w=null)},f.cancelToken&&f.cancelToken.subscribe(v),f.signal&&(f.signal.aborted?v():f.signal.addEventListener("abort",v))),_||(_=null);var L=d(E);if(L&&["http","https","file"].indexOf(L)===-1){h(new l("Unsupported protocol "+L+":",l.ERR_BAD_REQUEST,f));return}w.send(_)})},vo}var ho,Dc;function sO(){return Dc||(Dc=1,ho=null),ho}var De=Ue,$c=JE,jc=wr,cO=Kv,fO=zv,dO={"Content-Type":"application/x-www-form-urlencoded"};function Bc(e,t){!De.isUndefined(e)&&De.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function pO(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Mc()),e}function vO(e,t,n){if(De.isString(e))try{return(t||JSON.parse)(e),De.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Ra={transitional:cO,adapter:pO(),transformRequest:[function(t,n){if($c(n,"Accept"),$c(n,"Content-Type"),De.isFormData(t)||De.isArrayBuffer(t)||De.isBuffer(t)||De.isStream(t)||De.isFile(t)||De.isBlob(t))return t;if(De.isArrayBufferView(t))return t.buffer;if(De.isURLSearchParams(t))return Bc(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=De.isObject(t),i=n&&n["Content-Type"],a;if((a=De.isFileList(t))||r&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return fO(a?{"files[]":t}:t,o&&new o)}else if(r||i==="application/json")return Bc(n,"application/json"),vO(t);return t}],transformResponse:[function(t){var n=this.transitional||Ra.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&De.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?jc.from(o,jc.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sO()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};De.forEach(["delete","get","head"],function(t){Ra.headers[t]={}});De.forEach(["post","put","patch"],function(t){Ra.headers[t]=De.merge(dO)});var xl=Ra,hO=Ue,mO=xl,yO=function(t,n,r){var i=this||mO;return hO.forEach(r,function(o){t=o.call(i,t,n)}),t},mo,Fc;function qv(){return Fc||(Fc=1,mo=function(t){return!!(t&&t.__CANCEL__)}),mo}var Uc=Ue,yo=yO,gO=qv(),bO=xl,_O=La();function go(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _O}var wO=function(t){go(t),t.headers=t.headers||{},t.data=yo.call(t,t.data,t.headers,t.transformRequest),t.headers=Uc.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Uc.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||bO.adapter;return n(t).then(function(i){return go(t),i.data=yo.call(t,i.data,i.headers,t.transformResponse),i},function(i){return gO(i)||(go(t),i&&i.response&&(i.response.data=yo.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},Xe=Ue,Gv=function(t,n){n=n||{};var r={};function i(d,s){return Xe.isPlainObject(d)&&Xe.isPlainObject(s)?Xe.merge(d,s):Xe.isPlainObject(s)?Xe.merge({},s):Xe.isArray(s)?s.slice():s}function a(d){if(Xe.isUndefined(n[d])){if(!Xe.isUndefined(t[d]))return i(void 0,t[d])}else return i(t[d],n[d])}function o(d){if(!Xe.isUndefined(n[d]))return i(void 0,n[d])}function u(d){if(Xe.isUndefined(n[d])){if(!Xe.isUndefined(t[d]))return i(void 0,t[d])}else return i(void 0,n[d])}function l(d){if(d in n)return i(t[d],n[d]);if(d in t)return i(void 0,t[d])}var c={url:o,method:o,data:o,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l};return Xe.forEach(Object.keys(t).concat(Object.keys(n)),function(s){var f=c[s]||a,p=f(s);Xe.isUndefined(p)&&f!==l||(r[s]=p)}),r},bo,xc;function Vv(){return xc||(xc=1,bo={version:"0.27.2"}),bo}var EO=Vv().version,zt=wr,Hl={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Hl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Hc={};Hl.transitional=function(t,n,r){function i(a,o){return"[Axios v"+EO+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return function(a,o,u){if(t===!1)throw new zt(i(o," has been removed"+(n?" in "+n:"")),zt.ERR_DEPRECATED);return n&&!Hc[o]&&(Hc[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}};function OO(e,t,n){if(typeof e!="object")throw new zt("options must be an object",zt.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],o=t[a];if(o){var u=e[a],l=u===void 0||o(u,a,e);if(l!==!0)throw new zt("option "+a+" must be "+l,zt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new zt("Unknown option "+a,zt.ERR_BAD_OPTION)}}var SO={assertOptions:OO,validators:Hl},Yv=Ue,PO=Fv,Kc=XE,zc=wO,ka=Gv,AO=Wv,Xv=SO,Mn=Xv.validators;function ur(e){this.defaults=e,this.interceptors={request:new Kc,response:new Kc}}ur.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ka(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Xv.assertOptions(r,{silentJSONParsing:Mn.transitional(Mn.boolean),forcedJSONParsing:Mn.transitional(Mn.boolean),clarifyTimeoutError:Mn.transitional(Mn.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(a=a&&p.synchronous,i.unshift(p.fulfilled,p.rejected))});var o=[];this.interceptors.response.forEach(function(p){o.push(p.fulfilled,p.rejected)});var u;if(!a){var l=[zc,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),u=Promise.resolve(n);l.length;)u=u.then(l.shift(),l.shift());return u}for(var c=n;i.length;){var d=i.shift(),s=i.shift();try{c=d(c)}catch(f){s(f);break}}try{u=zc(c)}catch(f){return Promise.reject(f)}for(;o.length;)u=u.then(o.shift(),o.shift());return u};ur.prototype.getUri=function(t){t=ka(this.defaults,t);var n=AO(t.baseURL,t.url);return PO(n,t.params,t.paramsSerializer)};Yv.forEach(["delete","get","head","options"],function(t){ur.prototype[t]=function(n,r){return this.request(ka(r||{},{method:t,url:n,data:(r||{}).data}))}});Yv.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(ka(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}ur.prototype[t]=n(),ur.prototype[t+"Form"]=n(!0)});var TO=ur,_o,Wc;function IO(){if(Wc)return _o;Wc=1;var e=La();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(a){if(i._listeners){var o,u=i._listeners.length;for(o=0;o<u;o++)i._listeners[o](a);i._listeners=null}}),this.promise.then=function(a){var o,u=new Promise(function(l){i.subscribe(l),o=l}).then(a);return u.cancel=function(){i.unsubscribe(o)},u},n(function(o){i.reason||(i.reason=new e(o),r(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var r,i=new t(function(o){r=o});return{token:i,cancel:r}},_o=t,_o}var wo,qc;function CO(){return qc||(qc=1,wo=function(t){return function(r){return t.apply(null,r)}}),wo}var Eo,Gc;function LO(){if(Gc)return Eo;Gc=1;var e=Ue;return Eo=function(n){return e.isObject(n)&&n.isAxiosError===!0},Eo}var Vc=Ue,RO=$v,Bi=TO,kO=Gv,NO=xl;function Qv(e){var t=new Bi(e),n=RO(Bi.prototype.request,t);return Vc.extend(n,Bi.prototype,t),Vc.extend(n,t),n.create=function(i){return Qv(kO(e,i))},n}var Ge=Qv(NO);Ge.Axios=Bi;Ge.CanceledError=La();Ge.CancelToken=IO();Ge.isCancel=qv();Ge.VERSION=Vv().version;Ge.toFormData=zv;Ge.AxiosError=wr;Ge.Cancel=Ge.CanceledError;Ge.all=function(t){return Promise.all(t)};Ge.spread=CO();Ge.isAxiosError=LO();Dl.exports=Ge;Dl.exports.default=Ge;var MO=Dl.exports,DO=MO;const $O=Tn(DO);var jO=Function.prototype.toString,Oo=Object.create,BO=Object.defineProperty,FO=Object.getOwnPropertyDescriptor,Yc=Object.getOwnPropertyNames,Kl=Object.getOwnPropertySymbols,UO=Object.getPrototypeOf,Jv=Object.prototype,xO=Jv.hasOwnProperty,HO=Jv.propertyIsEnumerable,Zv=typeof Kl=="function",KO=typeof WeakMap=="function",zO=function(){if(KO)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}}(),eh=function(e,t){var n=e.__proto__||UO(e);if(!n)return Oo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Oo(n);if(~jO.call(r).indexOf("[native code]"))try{return new r}catch{}return Oo(n)},WO=function(e,t,n,r){var i=eh(e,t);r.set(e,i);for(var a in e)xO.call(e,a)&&(i[a]=n(e[a],r));if(Zv)for(var o=Kl(e),u=0,l=o.length,c=void 0;u<l;++u)c=o[u],HO.call(e,c)&&(i[c]=n(e[c],r));return i},Xc=function(e,t,n,r){var i=eh(e,t);r.set(e,i);for(var a=Zv?Yc(e).concat(Kl(e)):Yc(e),o=0,u=a.length,l=void 0,c=void 0;o<u;++o)if(l=a[o],l!=="callee"&&l!=="caller")if(c=FO(e,l),c){!c.get&&!c.set&&(c.value=n(e[l],r));try{BO(i,l,c)}catch{i[l]=c.value}}else i[l]=n(e[l],r);return i},qO=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},GO=Array.isArray,VO=Object.getPrototypeOf,YO=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 Le(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||YO,i=n?Xc:WO,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var l=o.__proto__||VO(o),c=l&&l.constructor;if(!c||c===r.Object)return i(o,r,a,u);var d;if(GO(o)){if(n)return Xc(o,r,a,u);d=new c,u.set(o,d);for(var s=0,f=o.length;s<f;++s)d[s]=a(o[s],u);return d}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return d=new c(o.source,o.flags||qO(o)),d.lastIndex=o.lastIndex,d;if(r.Map&&o instanceof r.Map)return d=new c,u.set(o,d),o.forEach(function(p,g){d.set(g,a(p,u))}),d;if(r.Set&&o instanceof r.Set)return d=new c,u.set(o,d),o.forEach(function(p){d.add(a(p,u))}),d;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return d=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,d),o.copy(d),d;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return d=new c(o.buffer.slice(0)),u.set(o,d),d;if(o instanceof r.ArrayBuffer)return d=o.slice(0),u.set(o,d),d}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,zO())}Le.default=Le;Le.strict=function(t,n){return Le(t,{isStrict:!0,realm:n?n.realm:void 0})};var XO=Error,QO=EvalError,JO=RangeError,ZO=ReferenceError,th=SyntaxError,Na=TypeError,eS=URIError,tS=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(n 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 a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,n);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Qc=typeof Symbol<"u"&&Symbol,nS=tS,rS=function(){return typeof Qc!="function"||typeof Symbol!="function"||typeof Qc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:nS()},Jc={foo:{}},iS=Object,aS=function(){return{__proto__:Jc}.foo===Jc.foo&&!({__proto__:null}instanceof iS)},oS="Function.prototype.bind called on incompatible ",uS=Object.prototype.toString,lS=Math.max,sS="[object Function]",Zc=function(t,n){for(var r=[],i=0;i<t.length;i+=1)r[i]=t[i];for(var a=0;a<n.length;a+=1)r[a+t.length]=n[a];return r},cS=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},fS=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},dS=function(t){var n=this;if(typeof n!="function"||uS.apply(n)!==sS)throw new TypeError(oS+n);for(var r=cS(arguments,1),i,a=function(){if(this instanceof i){var d=n.apply(this,Zc(r,arguments));return Object(d)===d?d:this}return n.apply(t,Zc(r,arguments))},o=lS(0,n.length-r.length),u=[],l=0;l<o;l++)u[l]="$"+l;if(i=Function("binder","return function ("+fS(u,",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i},pS=dS,zl=Function.prototype.bind||pS,vS=Function.prototype.call,hS=Object.prototype.hasOwnProperty,mS=zl,yS=mS.call(vS,hS),oe,gS=XO,bS=QO,_S=JO,wS=ZO,lr=th,Yn=Na,ES=eS,nh=Function,So=function(e){try{return nh('"use strict"; return ('+e+").constructor;")()}catch{}},wn=Object.getOwnPropertyDescriptor;if(wn)try{wn({},"")}catch{wn=null}var Po=function(){throw new Yn},OS=wn?function(){try{return arguments.callee,Po}catch{try{return wn(arguments,"callee").get}catch{return Po}}}():Po,Dn=rS(),SS=aS(),$e=Object.getPrototypeOf||(SS?function(e){return e.__proto__}:null),Bn={},PS=typeof Uint8Array>"u"||!$e?oe:$e(Uint8Array),En={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?oe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?oe:ArrayBuffer,"%ArrayIteratorPrototype%":Dn&&$e?$e([][Symbol.iterator]()):oe,"%AsyncFromSyncIteratorPrototype%":oe,"%AsyncFunction%":Bn,"%AsyncGenerator%":Bn,"%AsyncGeneratorFunction%":Bn,"%AsyncIteratorPrototype%":Bn,"%Atomics%":typeof Atomics>"u"?oe:Atomics,"%BigInt%":typeof BigInt>"u"?oe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?oe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?oe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?oe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":gS,"%eval%":eval,"%EvalError%":bS,"%Float32Array%":typeof Float32Array>"u"?oe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?oe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?oe:FinalizationRegistry,"%Function%":nh,"%GeneratorFunction%":Bn,"%Int8Array%":typeof Int8Array>"u"?oe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?oe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?oe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Dn&&$e?$e($e([][Symbol.iterator]())):oe,"%JSON%":typeof JSON=="object"?JSON:oe,"%Map%":typeof Map>"u"?oe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Dn||!$e?oe:$e(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?oe:Promise,"%Proxy%":typeof Proxy>"u"?oe:Proxy,"%RangeError%":_S,"%ReferenceError%":wS,"%Reflect%":typeof Reflect>"u"?oe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?oe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Dn||!$e?oe:$e(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?oe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Dn&&$e?$e(""[Symbol.iterator]()):oe,"%Symbol%":Dn?Symbol:oe,"%SyntaxError%":lr,"%ThrowTypeError%":OS,"%TypedArray%":PS,"%TypeError%":Yn,"%Uint8Array%":typeof Uint8Array>"u"?oe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?oe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?oe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?oe:Uint32Array,"%URIError%":ES,"%WeakMap%":typeof WeakMap>"u"?oe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?oe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?oe:WeakSet};if($e)try{null.error}catch(e){var AS=$e($e(e));En["%Error.prototype%"]=AS}var TS=function e(t){var n;if(t==="%AsyncFunction%")n=So("async function () {}");else if(t==="%GeneratorFunction%")n=So("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=So("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&$e&&(n=$e(i.prototype))}return En[t]=n,n},ef={__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"]},li=zl,oa=yS,IS=li.call(Function.call,Array.prototype.concat),CS=li.call(Function.apply,Array.prototype.splice),tf=li.call(Function.call,String.prototype.replace),ua=li.call(Function.call,String.prototype.slice),LS=li.call(Function.call,RegExp.prototype.exec),RS=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kS=/\\(\\)?/g,NS=function(t){var n=ua(t,0,1),r=ua(t,-1);if(n==="%"&&r!=="%")throw new lr("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new lr("invalid intrinsic syntax, expected opening `%`");var i=[];return tf(t,RS,function(a,o,u,l){i[i.length]=u?tf(l,kS,"$1"):o||a}),i},MS=function(t,n){var r=t,i;if(oa(ef,r)&&(i=ef[r],r="%"+i[0]+"%"),oa(En,r)){var a=En[r];if(a===Bn&&(a=TS(r)),typeof a>"u"&&!n)throw new Yn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new lr("intrinsic "+t+" does not exist!")},Er=function(t,n){if(typeof t!="string"||t.length===0)throw new Yn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Yn('"allowMissing" argument must be a boolean');if(LS(/^%?[^%]*%?$/,t)===null)throw new lr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=NS(t),i=r.length>0?r[0]:"",a=MS("%"+i+"%",n),o=a.name,u=a.value,l=!1,c=a.alias;c&&(i=c[0],CS(r,IS([0,1],c)));for(var d=1,s=!0;d<r.length;d+=1){var f=r[d],p=ua(f,0,1),g=ua(f,-1);if((p==='"'||p==="'"||p==="`"||g==='"'||g==="'"||g==="`")&&p!==g)throw new lr("property names with quotes must have matching quotes");if((f==="constructor"||!s)&&(l=!0),i+="."+f,o="%"+i+"%",oa(En,o))u=En[o];else if(u!=null){if(!(f in u)){if(!n)throw new Yn("base intrinsic for "+t+" exists, but the property is not available.");return}if(wn&&d+1>=r.length){var h=wn(u,f);s=!!h,s&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[f]}else s=oa(u,f),u=u[f];s&&!l&&(En[o]=u)}}return u},rh={exports:{}},Ao,nf;function Wl(){if(nf)return Ao;nf=1;var e=Er,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Ao=t,Ao}var DS=Er,Fi=DS("%Object.getOwnPropertyDescriptor%",!0);if(Fi)try{Fi([],"length")}catch{Fi=null}var ih=Fi,rf=Wl(),$S=th,$n=Na,af=ih,jS=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new $n("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new $n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $n("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,l=!!af&&af(t,n);if(rf)rf(t,n,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:r,writable:a===null&&l?l.writable:!a});else if(u||!i&&!a&&!o)t[n]=r;else throw new $S("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},yu=Wl(),ah=function(){return!!yu};ah.hasArrayLengthDefineBug=function(){if(!yu)return null;try{return yu([],"length",{value:1}).length!==1}catch{return!0}};var BS=ah,FS=Er,of=jS,US=BS(),uf=ih,lf=Na,xS=FS("%Math.floor%"),HS=function(t,n){if(typeof t!="function")throw new lf("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||xS(n)!==n)throw new lf("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&uf){var o=uf(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(US?of(t,"length",n,!0,!0):of(t,"length",n)),t};(function(e){var t=zl,n=Er,r=HS,i=Na,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),l=Wl(),c=n("%Math.max%");e.exports=function(f){if(typeof f!="function")throw new i("a function is required");var p=u(t,o,arguments);return r(p,1+c(0,f.length-(arguments.length-1)),!0)};var d=function(){return u(t,a,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d})(rh);var KS=rh.exports,oh=Er,uh=KS,zS=uh(oh("String.prototype.indexOf")),WS=function(t,n){var r=oh(t,!!n);return typeof r=="function"&&zS(t,".prototype.")>-1?uh(r):r};const qS={},GS=Object.freeze(Object.defineProperty({__proto__:null,default:qS},Symbol.toStringTag,{value:"Module"})),VS=fd(GS);var ql=typeof Map=="function"&&Map.prototype,To=Object.getOwnPropertyDescriptor&&ql?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,la=ql&&To&&typeof To.get=="function"?To.get:null,sf=ql&&Map.prototype.forEach,Gl=typeof Set=="function"&&Set.prototype,Io=Object.getOwnPropertyDescriptor&&Gl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,sa=Gl&&Io&&typeof Io.get=="function"?Io.get:null,cf=Gl&&Set.prototype.forEach,YS=typeof WeakMap=="function"&&WeakMap.prototype,Br=YS?WeakMap.prototype.has:null,XS=typeof WeakSet=="function"&&WeakSet.prototype,Fr=XS?WeakSet.prototype.has:null,QS=typeof WeakRef=="function"&&WeakRef.prototype,ff=QS?WeakRef.prototype.deref:null,JS=Boolean.prototype.valueOf,ZS=Object.prototype.toString,e2=Function.prototype.toString,t2=String.prototype.match,Vl=String.prototype.slice,Yt=String.prototype.replace,n2=String.prototype.toUpperCase,df=String.prototype.toLowerCase,lh=RegExp.prototype.test,pf=Array.prototype.concat,gt=Array.prototype.join,r2=Array.prototype.slice,vf=Math.floor,gu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Co=Object.getOwnPropertySymbols,bu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,sr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ze=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===sr||"symbol")?Symbol.toStringTag:null,sh=Object.prototype.propertyIsEnumerable,hf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function mf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||lh.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-vf(-e):vf(e);if(r!==e){var i=String(r),a=Vl.call(t,i.length+1);return Yt.call(i,n,"$&_")+"."+Yt.call(Yt.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Yt.call(t,n,"$&_")}var _u=VS,yf=_u.custom,gf=fh(yf)?yf:null,i2=function e(t,n,r,i){var a=n||{};if(Wt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Wt(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=Wt(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(Wt(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(Wt(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 ph(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return u?mf(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return u?mf(t,c):c}var d=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=d&&d>0&&typeof t=="object")return wu(t)?"[Array]":"[Object]";var s=E2(a,r);if(typeof i>"u")i=[];else if(dh(i,t)>=0)return"[Circular]";function f($,C,I){if(C&&(i=r2.call(i),i.push(C)),I){var R={depth:a.depth};return Wt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e($,R,r+1,i)}return e($,a,r+1,i)}if(typeof t=="function"&&!bf(t)){var p=p2(t),g=yi(t,f);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(g.length>0?" { "+gt.call(g,", ")+" }":"")}if(fh(t)){var h=sr?Yt.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):bu.call(t);return typeof t=="object"&&!sr?Lr(h):h}if(b2(t)){for(var _="<"+df.call(String(t.nodeName)),b=t.attributes||[],m=0;m<b.length;m++)_+=" "+b[m].name+"="+ch(a2(b[m].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+df.call(String(t.nodeName))+">",_}if(wu(t)){if(t.length===0)return"[]";var v=yi(t,f);return s&&!w2(v)?"["+Eu(v,s)+"]":"[ "+gt.call(v,", ")+" ]"}if(u2(t)){var y=yi(t,f);return!("cause"in Error.prototype)&&"cause"in t&&!sh.call(t,"cause")?"{ ["+String(t)+"] "+gt.call(pf.call("[cause]: "+f(t.cause),y),", ")+" }":y.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+gt.call(y,", ")+" }"}if(typeof t=="object"&&o){if(gf&&typeof t[gf]=="function"&&_u)return _u(t,{depth:d-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(v2(t)){var w=[];return sf&&sf.call(t,function($,C){w.push(f(C,t,!0)+" => "+f($,t))}),_f("Map",la.call(t),w,s)}if(y2(t)){var S=[];return cf&&cf.call(t,function($){S.push(f($,t))}),_f("Set",sa.call(t),S,s)}if(h2(t))return Lo("WeakMap");if(g2(t))return Lo("WeakSet");if(m2(t))return Lo("WeakRef");if(s2(t))return Lr(f(Number(t)));if(f2(t))return Lr(f(gu.call(t)));if(c2(t))return Lr(JS.call(t));if(l2(t))return Lr(f(String(t)));if(t===Q)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!o2(t)&&!bf(t)){var O=yi(t,f),E=hf?hf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!E&&ze&&Object(t)===t&&ze in t?Vl.call(ln(t),8,-1):P?"Object":"",L=E||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",N=L+(A||P?"["+gt.call(pf.call([],A||[],P||[]),": ")+"] ":"");return O.length===0?N+"{}":s?N+"{"+Eu(O,s)+"}":N+"{ "+gt.call(O,", ")+" }"}return String(t)};function ch(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function a2(e){return Yt.call(String(e),/"/g,"&quot;")}function wu(e){return ln(e)==="[object Array]"&&(!ze||!(typeof e=="object"&&ze in e))}function o2(e){return ln(e)==="[object Date]"&&(!ze||!(typeof e=="object"&&ze in e))}function bf(e){return ln(e)==="[object RegExp]"&&(!ze||!(typeof e=="object"&&ze in e))}function u2(e){return ln(e)==="[object Error]"&&(!ze||!(typeof e=="object"&&ze in e))}function l2(e){return ln(e)==="[object String]"&&(!ze||!(typeof e=="object"&&ze in e))}function s2(e){return ln(e)==="[object Number]"&&(!ze||!(typeof e=="object"&&ze in e))}function c2(e){return ln(e)==="[object Boolean]"&&(!ze||!(typeof e=="object"&&ze in e))}function fh(e){if(sr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!bu)return!1;try{return bu.call(e),!0}catch{}return!1}function f2(e){if(!e||typeof e!="object"||!gu)return!1;try{return gu.call(e),!0}catch{}return!1}var d2=Object.prototype.hasOwnProperty||function(e){return e in this};function Wt(e,t){return d2.call(e,t)}function ln(e){return ZS.call(e)}function p2(e){if(e.name)return e.name;var t=t2.call(e2.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function dh(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 v2(e){if(!la||!e||typeof e!="object")return!1;try{la.call(e);try{sa.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function h2(e){if(!Br||!e||typeof e!="object")return!1;try{Br.call(e,Br);try{Fr.call(e,Fr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function m2(e){if(!ff||!e||typeof e!="object")return!1;try{return ff.call(e),!0}catch{}return!1}function y2(e){if(!sa||!e||typeof e!="object")return!1;try{sa.call(e);try{la.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function g2(e){if(!Fr||!e||typeof e!="object")return!1;try{Fr.call(e,Fr);try{Br.call(e,Br)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function b2(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function ph(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return ph(Vl.call(e,0,t.maxStringLength),t)+r}var i=Yt.call(Yt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,_2);return ch(i,"single",t)}function _2(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":"")+n2.call(t.toString(16))}function Lr(e){return"Object("+e+")"}function Lo(e){return e+" { ? }"}function _f(e,t,n,r){var i=r?Eu(n,r):gt.call(n,", ");return e+" ("+t+") {"+i+"}"}function w2(e){for(var t=0;t<e.length;t++)if(dh(e[t],`
9
- `)>=0)return!1;return!0}function E2(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=gt.call(Array(e.indent+1)," ");else return null;return{base:n,prev:gt.call(Array(t+1),n)}}function Eu(e,t){if(e.length===0)return"";var n=`
10
- `+t.prev+t.base;return n+gt.call(e,","+n)+`
11
- `+t.prev}function yi(e,t){var n=wu(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Wt(e,i)?t(e[i],e):""}var a=typeof Co=="function"?Co(e):[],o;if(sr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var l in e)Wt(e,l)&&(n&&String(Number(l))===l&&l<e.length||sr&&o["$"+l]instanceof Symbol||(lh.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if(typeof Co=="function")for(var c=0;c<a.length;c++)sh.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var Yl=Er,Or=WS,O2=i2,S2=Yl("%TypeError%"),gi=Yl("%WeakMap%",!0),bi=Yl("%Map%",!0),P2=Or("WeakMap.prototype.get",!0),A2=Or("WeakMap.prototype.set",!0),T2=Or("WeakMap.prototype.has",!0),I2=Or("Map.prototype.get",!0),C2=Or("Map.prototype.set",!0),L2=Or("Map.prototype.has",!0),Xl=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},R2=function(e,t){var n=Xl(e,t);return n&&n.value},k2=function(e,t,n){var r=Xl(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},N2=function(e,t){return!!Xl(e,t)},M2=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new S2("Side channel does not contain "+O2(a))},get:function(a){if(gi&&a&&(typeof a=="object"||typeof a=="function")){if(t)return P2(t,a)}else if(bi){if(n)return I2(n,a)}else if(r)return R2(r,a)},has:function(a){if(gi&&a&&(typeof a=="object"||typeof a=="function")){if(t)return T2(t,a)}else if(bi){if(n)return L2(n,a)}else if(r)return N2(r,a);return!1},set:function(a,o){gi&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new gi),A2(t,a,o)):bi?(n||(n=new bi),C2(n,a,o)):(r||(r={key:{},next:null}),k2(r,a,o))}};return i},D2=String.prototype.replace,$2=/%20/g,Ro={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ql={default:Ro.RFC3986,formatters:{RFC1738:function(e){return D2.call(e,$2,"+")},RFC3986:function(e){return String(e)}},RFC1738:Ro.RFC1738,RFC3986:Ro.RFC3986},j2=Ql,ko=Object.prototype.hasOwnProperty,vn=Array.isArray,yt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),B2=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(vn(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},vh=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},F2=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(vn(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!ko.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return vn(t)&&!vn(n)&&(i=vh(t,r)),vn(t)&&vn(n)?(n.forEach(function(a,o){if(ko.call(t,o)){var u=t[o];u&&typeof u=="object"&&a&&typeof a=="object"?t[o]=e(u,a,r):t.push(a)}else t[o]=a}),t):Object.keys(n).reduce(function(a,o){var u=n[o];return ko.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},U2=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},x2=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}},H2=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(d){return"%26%23"+parseInt(d.slice(2),16)+"%3B"});for(var u="",l=0;l<o.length;++l){var c=o.charCodeAt(l);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===j2.RFC1738&&(c===40||c===41)){u+=o.charAt(l);continue}if(c<128){u=u+yt[c];continue}if(c<2048){u=u+(yt[192|c>>6]+yt[128|c&63]);continue}if(c<55296||c>=57344){u=u+(yt[224|c>>12]+yt[128|c>>6&63]+yt[128|c&63]);continue}l+=1,c=65536+((c&1023)<<10|o.charCodeAt(l)&1023),u+=yt[240|c>>18]+yt[128|c>>12&63]+yt[128|c>>6&63]+yt[128|c&63]}return u},K2=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),l=0;l<u.length;++l){var c=u[l],d=o[c];typeof d=="object"&&d!==null&&r.indexOf(d)===-1&&(n.push({obj:o,prop:c}),r.push(d))}return B2(n),t},z2=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},W2=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},q2=function(t,n){return[].concat(t,n)},G2=function(t,n){if(vn(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},hh={arrayToObject:vh,assign:U2,combine:q2,compact:K2,decode:x2,encode:H2,isBuffer:W2,isRegExp:z2,maybeMap:G2,merge:F2},mh=M2,Ui=hh,Ur=Ql,V2=Object.prototype.hasOwnProperty,wf={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},At=Array.isArray,Y2=Array.prototype.push,yh=function(e,t){Y2.apply(e,At(t)?t:[t])},X2=Date.prototype.toISOString,Ef=Ur.default,xe={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Ui.encode,encodeValuesOnly:!1,format:Ef,formatter:Ur.formatters[Ef],indices:!1,serializeDate:function(t){return X2.call(t)},skipNulls:!1,strictNullHandling:!1},Q2=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},No={},J2=function e(t,n,r,i,a,o,u,l,c,d,s,f,p,g,h,_){for(var b=t,m=_,v=0,y=!1;(m=m.get(No))!==void 0&&!y;){var w=m.get(t);if(v+=1,typeof w<"u"){if(w===v)throw new RangeError("Cyclic object value");y=!0}typeof m.get(No)>"u"&&(v=0)}if(typeof l=="function"?b=l(n,b):b instanceof Date?b=s(b):r==="comma"&&At(b)&&(b=Ui.maybeMap(b,function(R){return R instanceof Date?s(R):R})),b===null){if(a)return u&&!g?u(n,xe.encoder,h,"key",f):n;b=""}if(Q2(b)||Ui.isBuffer(b)){if(u){var S=g?n:u(n,xe.encoder,h,"key",f);return[p(S)+"="+p(u(b,xe.encoder,h,"value",f))]}return[p(n)+"="+p(String(b))]}var O=[];if(typeof b>"u")return O;var E;if(r==="comma"&&At(b))g&&u&&(b=Ui.maybeMap(b,u)),E=[{value:b.length>0?b.join(",")||null:void 0}];else if(At(l))E=l;else{var P=Object.keys(b);E=c?P.sort(c):P}for(var A=i&&At(b)&&b.length===1?n+"[]":n,L=0;L<E.length;++L){var N=E[L],$=typeof N=="object"&&typeof N.value<"u"?N.value:b[N];if(!(o&&$===null)){var C=At(b)?typeof r=="function"?r(A,N):A:A+(d?"."+N:"["+N+"]");_.set(t,v);var I=mh();I.set(No,_),yh(O,e($,C,r,i,a,o,r==="comma"&&g&&At(b)?null:u,l,c,d,s,f,p,g,h,I))}}return O},Z2=function(t){if(!t)return xe;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||xe.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=Ur.default;if(typeof t.format<"u"){if(!V2.call(Ur.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Ur.formatters[r],a=xe.filter;return(typeof t.filter=="function"||At(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:xe.addQueryPrefix,allowDots:typeof t.allowDots>"u"?xe.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:xe.charsetSentinel,delimiter:typeof t.delimiter>"u"?xe.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:xe.encode,encoder:typeof t.encoder=="function"?t.encoder:xe.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:xe.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:xe.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:xe.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:xe.strictNullHandling}},eP=function(e,t){var n=e,r=Z2(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):At(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in wf?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var l=wf[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var d=mh(),s=0;s<i.length;++s){var f=i[s];r.skipNulls&&n[f]===null||yh(o,J2(n[f],f,l,c,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,d))}var p=o.join(r.delimiter),g=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),p.length>0?g+p:""},cr=hh,Ou=Object.prototype.hasOwnProperty,tP=Array.isArray,Me={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:cr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},nP=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},gh=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},rP="utf8=%26%2310003%3B",iP="utf8=%E2%9C%93",aP=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,a),u=-1,l,c=n.charset;if(n.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===iP?c="utf-8":o[l]===rP&&(c="iso-8859-1"),u=l,l=o.length);for(l=0;l<o.length;++l)if(l!==u){var d=o[l],s=d.indexOf("]="),f=s===-1?d.indexOf("="):s+1,p,g;f===-1?(p=n.decoder(d,Me.decoder,c,"key"),g=n.strictNullHandling?null:""):(p=n.decoder(d.slice(0,f),Me.decoder,c,"key"),g=cr.maybeMap(gh(d.slice(f+1),n),function(h){return n.decoder(h,Me.decoder,c,"value")})),g&&n.interpretNumericEntities&&c==="iso-8859-1"&&(g=nP(g)),d.indexOf("[]=")>-1&&(g=tP(g)?[g]:g),Ou.call(r,p)?r[p]=cr.combine(r[p],g):r[p]=g}return r},oP=function(e,t,n,r){for(var i=r?t:gh(t,n),a=e.length-1;a>=0;--a){var o,u=e[a];if(u==="[]"&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var l=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=parseInt(l,10);!n.parseArrays&&l===""?o={0:i}:!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=i):l!=="__proto__"&&(o[l]=i)}i=o}return i},uP=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,l=r.depth>0&&o.exec(a),c=l?a.slice(0,l.index):a,d=[];if(c){if(!r.plainObjects&&Ou.call(Object.prototype,c)&&!r.allowPrototypes)return;d.push(c)}for(var s=0;r.depth>0&&(l=u.exec(a))!==null&&s<r.depth;){if(s+=1,!r.plainObjects&&Ou.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;d.push(l[1])}return l&&d.push("["+a.slice(l.index)+"]"),oP(d,n,r,i)}},lP=function(t){if(!t)return Me;if(t.decoder!==null&&t.decoder!==void 0&&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");var n=typeof t.charset>"u"?Me.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Me.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Me.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Me.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Me.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Me.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Me.comma,decoder:typeof t.decoder=="function"?t.decoder:Me.decoder,delimiter:typeof t.delimiter=="string"||cr.isRegExp(t.delimiter)?t.delimiter:Me.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Me.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Me.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Me.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Me.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Me.strictNullHandling}},sP=function(e,t){var n=lP(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?aP(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],l=uP(u,r[u],n,typeof e=="string");i=cr.merge(i,l,n)}return n.allowSparse===!0?i:cr.compact(i)},cP=eP,fP=sP,dP=Ql,pP={formats:dP,parse:fP,stringify:cP};const vP=Tn(pP);var Jl={exports:{}};class bh extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const hP=({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 d=Date.now();return d-i>t?(a=1,i=d,0):(a<e?a++:(i+=t,a=1),i-d)}const u=[];function l(){const d=Date.now();if(u.length<e)return u.push(d),0;const s=u.shift()+t;return d>=s?(u.push(d),0):(u.push(s),s-d)}const c=n?l:o;return d=>{const s=function(...f){if(!s.isEnabled)return(async()=>d.apply(this,f))();let p;return new Promise((g,h)=>{p=setTimeout(()=>{g(d.apply(this,f)),r.delete(p)},c()),r.set(p,h)})};return s.abort=()=>{for(const f of r.keys())clearTimeout(f),r.get(f)(new bh);r.clear(),u.splice(0,u.length)},s.isEnabled=!0,s}};Jl.exports=hP;Jl.exports.AbortError=bh;var mP=Jl.exports;const yP=Tn(mP);function gP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(d){c=!0,i=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Of(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 Hn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Of(Object(n),!0).forEach(function(r){bP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Su(e){"@babel/helpers - typeof";return Su=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},Su(e)}function Pu(){Pu=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)),ca(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,l){var c=o[l];if(typeof c=="number")u[l]=i[c];else{for(var d=0;i[c[d]]===void 0&&d+1<c.length;)d++;u[l]=i[c[d]]}return u},Object.create(null))}return _P(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(l,c){var d=o[c];return"$"+(Array.isArray(d)?d.join("$"):d)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(r(l,u)),a.apply(this,l)})}return e[Symbol.replace].call(this,i,a)},Pu.apply(this,arguments)}function bP(e,t,n){return t=AP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _P(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&&ca(e,t)}function ca(e,t){return ca=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ca(e,t)}function wP(e,t){return EP(e)||gP(e,t)||_h(e,t)||OP()}function EP(e){if(Array.isArray(e))return e}function _h(e,t){if(e){if(typeof e=="string")return Sf(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 Sf(e,t)}}function Sf(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 OP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SP(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_h(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(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
- 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 l=n.next();return a=l.done,l},e:function(l){o=!0,u=l},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function PP(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 AP(e){var t=PP(e,"string");return typeof t=="symbol"?t:String(t)}function TP(){return typeof process<"u"&&!process.browser}function IP(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function CP(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function LP(){return window}function Au(){}var Tu=Pu(/(\d+)(%)/,{value:1});function Mo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(Tu.test(e)){var r,i=(r=e.match(Tu))===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 Pf(e,t){return t("info","Throttle request to ".concat(e,"/s")),yP({limit:e,interval:1e3,strict:!1})}var RP=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?Au:n,i=ms(t)?Mo(t):Mo("auto",t),a=Pf(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),l=e.interceptors.response.use(function(c){if(!o&&ms(t)&&(t==="auto"||Tu.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var d=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),s=Mo(t,d);s!==i&&(u&&e.interceptors.request.eject(u),i=s,a=Pf(s,r),u=e.interceptors.request.use(function(f){return a(function(){return f})()},function(f){return Promise.reject(f)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(l)}},kP=function(t){return new Promise(function(n){setTimeout(n,t)})},NP=function(t){return Math.pow(Math.SQRT2,t)};function MP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?Au:r,a=n.requestLogger,o=a===void 0?Au: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 l=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var d=c.attempts||1;if(d>t)return u.attempts=c.attempts,Promise.reject(u);var s=null,f=NP(d);return l?l.status>=500&&l.status<600?s="Server ".concat(l.status):l.status===429&&(s="Rate limit",l.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(f=l.headers["x-contentful-ratelimit-reset"])):s="Connection",s?(f=Math.floor(f*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(s," error occurred. Waiting for ").concat(f," ms before retrying...")),c.attempts=d+1,delete c.httpAgent,delete c.httpsAgent,kP(f).then(function(){return e(c)})):Promise.reject(u)})}function DP(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=Hn(Hn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var $P=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function wh(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,_){if(h==="error"&&_){var b=[_.name,_.message].filter(function(m){return m}).join(" - ");console.error("[error] ".concat(b)),console.error(_);return}console.log("[".concat(h,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=Hn(Hn({},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,l=r.insecure?80:443;if(r.host&&$P.test(r.host)){var c=r.host.split(":");if(c.length===2){var d=wP(c,2);u=d[0],l=d[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var s=t.baseURL||"".concat(a,"://").concat(u,":").concat(l).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var f={baseURL:s,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:vP.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},p=e.create(f);return p.httpClientParams=t,p.cloneWithNewParams=function(g){return wh(e,Hn(Hn({},Le(t)),g))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&DP(p,r.accessToken),r.throttle&&RP(p,r.throttle),MP(p,r.retryLimit),r.onError&&p.interceptors.response.use(function(g){return g},r.onError),p}function dn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=Le(t),n}function Eh(e){var t=Object.getOwnPropertyNames(e),n=SP(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&Su(a)==="object"&&Eh(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function rt(e){return Eh(e.sys||{}),e}function Af(){var e=LP();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 jP(){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 BP(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{IP()?(a=Af(),i.push("platform ReactNative")):TP()?(a=jP(),i.push("platform node.js/".concat(CP()))):(a=Af(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Ve(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Le(this)}})}function ct(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(!pi(n)||!pi(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:{}};pi(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&pi(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 l;u.message=(l=o==null?void 0:o.message)!==null&&l!==void 0?l:""}throw u}function FP(e){return rt(Ve(e))}const UP=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:FP},Symbol.toStringTag,{value:"Module"}));var Iu={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(l,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(l,c){if(o.length>0){var d=o.indexOf(this);~d?o.splice(d+1):o.push(this),~d?u.splice(d,1/0,l):u.push(l),~o.indexOf(c)&&(c=a.call(this,l,c))}else o.push(c);return i==null?c:i.call(this,l,c)}}})(Iu,Iu.exports);var xP=Iu.exports;const HP=Tn(xP);function Oh(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 HP(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var KP=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},zP=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),l;!(i=(l=u.next()).done)&&(r.push(l.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 Rr(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 Xr={},WP=function(t){return t&&t.sys&&t.sys.type==="Link"},qP=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},GP=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]},Tf=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)},VP=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=zP(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,l=i[3];return{spaceId:a,environmentId:u,entryId:l}}},YP=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=VP(o),l=u.spaceId,c=u.environmentId,d=u.entryId,s=a.split(":")[1];return Tf(t,{linkType:s,entryId:d,spaceId:l,environmentId:c})||Xr}var f=n.sys.id;return Tf(t,{linkType:a,entryId:f})||Xr},XP=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==Xr});for(var n in t)t[n]===Xr&&delete t[n];return t},QP=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":KP(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=XP(t))}return t},JP=function(t,n,r){var i=YP(t,n);return i===Xr?r?i:n:i},ZP=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},{})},Sh=function(t,n){if(n=n||{},!t.items)return[];var r=Le(t),i=Object.keys(r.includes||{}).reduce(function(u,l){return[].concat(Rr(u),Rr(t.includes[l]))},[]),a=[].concat(Rr(r.items),Rr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,l){var c=GP(l.sys).map(function(d){return[d,l]});return u.push.apply(u,Rr(c)),u},[]));return a.forEach(function(u){var l=ZP(u,n.itemEntryPoints);Object.assign(u,QP(l,function(c){return WP(c)||qP(c)},function(c){return JP(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function e5(e){return rt(Ve(Le(e)))}function t5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=Oh(Ve(Le(e)));return n&&(i.items=Sh(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),rt(i)}const n5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:e5,wrapEntryCollection:t5},Symbol.toStringTag,{value:"Module"}));function r5(e){return rt(Ve(Le(e)))}function i5(e){return rt(Ve(Le(e)))}const a5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:r5,wrapAssetCollection:i5},Symbol.toStringTag,{value:"Module"}));function o5(e){return rt(Ve(Le(e)))}const u5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:o5},Symbol.toStringTag,{value:"Module"}));function l5(e){return rt(Ve(Le(e)))}function s5(e){return rt(Ve(Le(e)))}const c5=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:l5,wrapContentTypeCollection:s5},Symbol.toStringTag,{value:"Module"}));function f5(e){return rt(Ve(Le(e)))}function d5(e){return rt(Ve(Le(e)))}const p5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:f5,wrapLocaleCollection:d5},Symbol.toStringTag,{value:"Module"}));function v5(e){return rt(Ve(Le(e)))}function h5(e){return rt(Ve(Le(e)))}const m5=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:v5,wrapTagCollection:h5},Symbol.toStringTag,{value:"Module"})),cn={space:UP,entry:n5,asset:a5,assetKey:u5,contentType:c5,locale:p5,tag:m5};function If(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 Cf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?If(Object(n),!0).forEach(function(r){y5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function y5(e,t,n){return t=g5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g5(e){var t=b5(e,"string");return typeof t=="symbol"?t:String(t)}function b5(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 _5(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}=Cf(Cf({},r),n),l=await Ph(e,[],t,{paginate:o});i&&(l.items=Sh(l,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=w5(l.items);return l.nextSyncToken&&(c.nextSyncToken=l.nextSyncToken),l.nextPageToken&&(c.nextPageToken=l.nextPageToken),rt(Oh(Ve(c)))}function w5(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Ve(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 Ph(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",dn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=Do(o.nextPageUrl),Ph(e,t,n,{paginate:i})):{items:t,nextPageToken:Do(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:Do(o.nextSyncUrl)}:{items:[]}}function Do(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Lf(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 Rf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Lf(Object(n),!0).forEach(function(r){E5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function E5(e,t,n){return t=O5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O5(e){var t=S5(e,"string");return typeof t=="symbol"?t:String(t)}function S5(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 _i(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"),Rf(Rf({},e),{},{select:[...n].join(",")}))}class $o extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function P5(e,t,n){if(n=n||{},typeof t!="number")throw new $o(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new $o(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new $o(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function kf(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 Nf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?kf(Object(n),!0).forEach(function(r){A5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function A5(e,t,n){return t=T5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T5(e){var t=I5(e,"string");return typeof t=="symbol"?t:String(t)}function I5(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 C5=48*60*60;function L5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=cn.space,{wrapContentType:i,wrapContentTypeCollection:a}=cn.contentType,{wrapEntry:o,wrapEntryCollection:u}=cn.entry,{wrapAsset:l,wrapAssetCollection:c}=cn.asset,{wrapTag:d,wrapTagCollection:s}=cn.tag,{wrapAssetKey:f}=cn.assetKey,{wrapLocaleCollection:p}=cn.locale,g=C=>{const I=new Error("The resource could not be found.");return I.sys={type:"Error",id:"NotFound"},I.details={type:"Entry",id:C,environment:n().environment,space:n().space},I};async function h(){$(t);try{const C=await t.get("/");return r(C.data)}catch(C){ct(C)}}async function _(C){N(t);try{const I=await t.get(`content_types/${C}`);return i(I.data)}catch(I){ct(I)}}async function b(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);try{const I=await t.get("content_types",dn({query:C}));return a(I.data)}catch(I){ct(I)}}async function m(C){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!C)throw g(C);try{const R=await this.getEntries(Nf({"sys.id":C},I));if(R.items.length>0)return o(R.items[0]);throw g(C)}catch(R){ct(R)}}async function v(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);const{resolveLinks:I,removeUnresolved:R}=n(C);C=_i(C);try{const D=await t.get("entries",dn({query:C}));return u(D.data,{resolveLinks:I,removeUnresolved:R})}catch(D){ct(D)}}async function y(C){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};N(t),I=_i(I);try{const R=await t.get(`assets/${C}`,dn({query:I}));return l(R.data)}catch(R){ct(R)}}async function w(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t),C=_i(C);try{const I=await t.get("assets",dn({query:C}));return c(I.data)}catch(I){ct(I)}}async function S(C){N(t);try{const I=await t.get(`tags/${C}`);return d(I.data)}catch(I){ct(I)}}async function O(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t),C=_i(C);try{const I=await t.get("tags",dn({query:C}));return s(I.data)}catch(I){ct(I)}}async function E(C){N(t);try{const I=Math.floor(Date.now()/1e3),R=I+C5;P5("expiresAt",C,{maximum:R,now:I});const D={expiresAt:C},B=await t.post("asset_keys",D);return f(B.data)}catch(I){ct(I)}}async function P(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);try{const I=await t.get("locales",dn({query:C}));return p(I.data)}catch(I){ct(I)}}async function A(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:R,removeUnresolved:D}=n(C);return N(t),_5(t,C,Nf({resolveLinks:R,removeUnresolved:D},I))}function L(C){const{resolveLinks:I,removeUnresolved:R}=n({});return u(C,{resolveLinks:I,removeUnresolved:R})}function N(C){C.defaults.baseURL=n().environmentBaseUrl}function $(C){C.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:_,getContentTypes:b,getEntry:m,getEntries:v,getAsset:y,getAssets:w,getTag:S,getTags:O,createAssetKey:E,getLocales:P,parseEntries:L,sync:A}}function R5(e){return function(n){return Object.assign({},e,n)}}function Mf(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 wi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mf(Object(n),!0).forEach(function(r){k5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function k5(e,t,n){return t=N5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N5(e){var t=M5(e,"string");return typeof t=="symbol"?t:String(t)}function M5(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 pC(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=wi(wi({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=BP("contentful.js/9.3.5",n.application,n.integration);n.headers=wi(wi({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=wh($O,n),a=R5({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,L5({http:i,getGlobalOptions:a})}var D5={};const Ah=fd(tr);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C){return C&&typeof C=="object"&&"default"in C?C.default:C}var n=Ah,r=t(n),i=function(){return i=Object.assign||function(I){for(var R,D=1,B=arguments.length;D<B;D++){R=arguments[D];for(var V in R)Object.prototype.hasOwnProperty.call(R,V)&&(I[V]=R[V])}return I},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Q<"u"?Q:typeof self<"u"?self:{};function o(C){return C&&C.__esModule&&Object.prototype.hasOwnProperty.call(C,"default")?C.default:C}function u(C,I){return I={exports:{}},C(I,I.exports),I.exports}var l=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.BLOCKS=void 0,function(R){R.DOCUMENT="document",R.PARAGRAPH="paragraph",R.HEADING_1="heading-1",R.HEADING_2="heading-2",R.HEADING_3="heading-3",R.HEADING_4="heading-4",R.HEADING_5="heading-5",R.HEADING_6="heading-6",R.OL_LIST="ordered-list",R.UL_LIST="unordered-list",R.LIST_ITEM="list-item",R.HR="hr",R.QUOTE="blockquote",R.EMBEDDED_ENTRY="embedded-entry-block",R.EMBEDDED_ASSET="embedded-asset-block",R.EMBEDDED_RESOURCE="embedded-resource-block",R.TABLE="table",R.TABLE_ROW="table-row",R.TABLE_CELL="table-cell",R.TABLE_HEADER_CELL="table-header-cell"}(I.BLOCKS||(I.BLOCKS={}))});o(l),l.BLOCKS;var c=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.INLINES=void 0,function(R){R.HYPERLINK="hyperlink",R.ENTRY_HYPERLINK="entry-hyperlink",R.ASSET_HYPERLINK="asset-hyperlink",R.RESOURCE_HYPERLINK="resource-hyperlink",R.EMBEDDED_ENTRY="embedded-entry-inline",R.EMBEDDED_RESOURCE="embedded-resource-inline"}(I.INLINES||(I.INLINES={}))});o(c),c.INLINES;var d=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0});var R;(function(D){D.BOLD="bold",D.ITALIC="italic",D.UNDERLINE="underline",D.CODE="code",D.SUPERSCRIPT="superscript",D.SUBSCRIPT="subscript"})(R||(R={})),I.default=R});o(d);var s=u(function(C,I){var R=a&&a.__spreadArray||function(W,Y,U){if(U||arguments.length===2)for(var F=0,z=Y.length,x;F<z;F++)(x||!(F in Y))&&(x||(x=Array.prototype.slice.call(Y,0,F)),x[F]=Y[F]);return W.concat(x||Array.prototype.slice.call(Y))},D=a&&a.__importDefault||function(W){return W&&W.__esModule?W:{default:W}},B;Object.defineProperty(I,"__esModule",{value:!0}),I.V1_MARKS=I.V1_NODE_TYPES=I.TEXT_CONTAINERS=I.HEADINGS=I.CONTAINERS=I.VOID_BLOCKS=I.TABLE_BLOCKS=I.LIST_ITEM_BLOCKS=I.TOP_LEVEL_BLOCKS=void 0;var V=D(d);I.TOP_LEVEL_BLOCKS=[l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE,l.BLOCKS.TABLE],I.LIST_ITEM_BLOCKS=[l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE],I.TABLE_BLOCKS=[l.BLOCKS.TABLE,l.BLOCKS.TABLE_ROW,l.BLOCKS.TABLE_CELL,l.BLOCKS.TABLE_HEADER_CELL],I.VOID_BLOCKS=[l.BLOCKS.HR,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE],I.CONTAINERS=(B={},B[l.BLOCKS.OL_LIST]=[l.BLOCKS.LIST_ITEM],B[l.BLOCKS.UL_LIST]=[l.BLOCKS.LIST_ITEM],B[l.BLOCKS.LIST_ITEM]=I.LIST_ITEM_BLOCKS,B[l.BLOCKS.QUOTE]=[l.BLOCKS.PARAGRAPH],B[l.BLOCKS.TABLE]=[l.BLOCKS.TABLE_ROW],B[l.BLOCKS.TABLE_ROW]=[l.BLOCKS.TABLE_CELL,l.BLOCKS.TABLE_HEADER_CELL],B[l.BLOCKS.TABLE_CELL]=[l.BLOCKS.PARAGRAPH],B[l.BLOCKS.TABLE_HEADER_CELL]=[l.BLOCKS.PARAGRAPH],B),I.HEADINGS=[l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6],I.TEXT_CONTAINERS=R([l.BLOCKS.PARAGRAPH],I.HEADINGS,!0),I.V1_NODE_TYPES=[l.BLOCKS.DOCUMENT,l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.LIST_ITEM,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],I.V1_MARKS=[V.default.BOLD,V.default.CODE,V.default.ITALIC,V.default.UNDERLINE]});o(s),s.V1_MARKS,s.V1_NODE_TYPES,s.TEXT_CONTAINERS,s.HEADINGS,s.CONTAINERS,s.VOID_BLOCKS,s.TABLE_BLOCKS,s.LIST_ITEM_BLOCKS,s.TOP_LEVEL_BLOCKS;var f=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0})});o(f);var p=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0})});o(p);var g=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0});var R={nodeType:l.BLOCKS.DOCUMENT,data:{},content:[{nodeType:l.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};I.default=R});o(g);var h=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.isText=I.isBlock=I.isInline=void 0;function R(W,Y){for(var U=0,F=Object.keys(W);U<F.length;U++){var z=F[U];if(Y===W[z])return!0}return!1}function D(W){return R(c.INLINES,W.nodeType)}I.isInline=D;function B(W){return R(l.BLOCKS,W.nodeType)}I.isBlock=B;function V(W){return W.nodeType==="text"}I.isText=V});o(h),h.isText,h.isBlock,h.isInline;var _=u(function(C,I){var R=a&&a.__createBinding||(Object.create?function(U,F,z,x){x===void 0&&(x=z);var te=Object.getOwnPropertyDescriptor(F,z);(!te||("get"in te?!F.__esModule:te.writable||te.configurable))&&(te={enumerable:!0,get:function(){return F[z]}}),Object.defineProperty(U,x,te)}:function(U,F,z,x){x===void 0&&(x=z),U[x]=F[z]}),D=a&&a.__setModuleDefault||(Object.create?function(U,F){Object.defineProperty(U,"default",{enumerable:!0,value:F})}:function(U,F){U.default=F}),B=a&&a.__exportStar||function(U,F){for(var z in U)z!=="default"&&!Object.prototype.hasOwnProperty.call(F,z)&&R(F,U,z)},V=a&&a.__importStar||function(U){if(U&&U.__esModule)return U;var F={};if(U!=null)for(var z in U)z!=="default"&&Object.prototype.hasOwnProperty.call(U,z)&&R(F,U,z);return D(F,U),F},W=a&&a.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(I,"__esModule",{value:!0}),I.helpers=I.EMPTY_DOCUMENT=I.MARKS=I.INLINES=I.BLOCKS=void 0,Object.defineProperty(I,"BLOCKS",{enumerable:!0,get:function(){return l.BLOCKS}}),Object.defineProperty(I,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(I,"MARKS",{enumerable:!0,get:function(){return W(d).default}}),B(s,I),B(f,I),B(p,I),Object.defineProperty(I,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return W(g).default}});var Y=V(h);I.helpers=Y});o(_);var b=_.helpers;_.EMPTY_DOCUMENT;var m=_.MARKS,v=_.INLINES,y=_.BLOCKS;function w(C,I){return n.isValidElement(C)&&C.key===null?n.cloneElement(C,{key:I}):C}function S(C,I){return C.map(function(R,D){return w(O(R,I),D)})}function O(C,I){var R=I.renderNode,D=I.renderMark,B=I.renderText,V=I.preserveWhitespace;if(b.isText(C)){var W=B?B(C.value):C.value;if(V){W=W.replace(/ {2,}/g,function(z){return"&nbsp;".repeat(z.length)});var Y=W.split(`
14
- `),U=[];Y.forEach(function(z,x){U.push(z),x!==Y.length-1&&U.push(r.createElement("br",null))}),W=U}return C.marks.reduce(function(z,x){return D[x.type]?D[x.type](z):z},W)}else{var F=S(C.content,I);return!C.nodeType||!R[C.nodeType]?r.createElement(r.Fragment,null,F):R[C.nodeType](C,F)}}var E,P,A=(E={},E[y.DOCUMENT]=function(C,I){return I},E[y.PARAGRAPH]=function(C,I){return r.createElement("p",null,I)},E[y.HEADING_1]=function(C,I){return r.createElement("h1",null,I)},E[y.HEADING_2]=function(C,I){return r.createElement("h2",null,I)},E[y.HEADING_3]=function(C,I){return r.createElement("h3",null,I)},E[y.HEADING_4]=function(C,I){return r.createElement("h4",null,I)},E[y.HEADING_5]=function(C,I){return r.createElement("h5",null,I)},E[y.HEADING_6]=function(C,I){return r.createElement("h6",null,I)},E[y.EMBEDDED_ENTRY]=function(C,I){return r.createElement("div",null,I)},E[y.EMBEDDED_RESOURCE]=function(C,I){return r.createElement("div",null,I)},E[y.UL_LIST]=function(C,I){return r.createElement("ul",null,I)},E[y.OL_LIST]=function(C,I){return r.createElement("ol",null,I)},E[y.LIST_ITEM]=function(C,I){return r.createElement("li",null,I)},E[y.QUOTE]=function(C,I){return r.createElement("blockquote",null,I)},E[y.HR]=function(){return r.createElement("hr",null)},E[y.TABLE]=function(C,I){return r.createElement("table",null,r.createElement("tbody",null,I))},E[y.TABLE_ROW]=function(C,I){return r.createElement("tr",null,I)},E[y.TABLE_HEADER_CELL]=function(C,I){return r.createElement("th",null,I)},E[y.TABLE_CELL]=function(C,I){return r.createElement("td",null,I)},E[v.ASSET_HYPERLINK]=function(C){return N(v.ASSET_HYPERLINK,C)},E[v.ENTRY_HYPERLINK]=function(C){return N(v.ENTRY_HYPERLINK,C)},E[v.EMBEDDED_ENTRY]=function(C){return N(v.EMBEDDED_ENTRY,C)},E[v.HYPERLINK]=function(C,I){return r.createElement("a",{href:C.data.uri},I)},E),L=(P={},P[m.BOLD]=function(C){return r.createElement("b",null,C)},P[m.ITALIC]=function(C){return r.createElement("i",null,C)},P[m.UNDERLINE]=function(C){return r.createElement("u",null,C)},P[m.CODE]=function(C){return r.createElement("code",null,C)},P[m.SUPERSCRIPT]=function(C){return r.createElement("sup",null,C)},P[m.SUBSCRIPT]=function(C){return r.createElement("sub",null,C)},P);function N(C,I){return r.createElement("span",{key:I.data.target.sys.id},"type: ",I.nodeType," id: ",I.data.target.sys.id)}function $(C,I){return I===void 0&&(I={}),C?O(C,{renderNode:i(i({},A),I.renderNode),renderMark:i(i({},L),I.renderMark),renderText:I.renderText,preserveWhitespace:I.preserveWhitespace}):null}e.documentToReactComponents=$})(D5);var $5={},si={};(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={}))})(si);var Ma={};(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={}))})(Ma);var Da={};Object.defineProperty(Da,"__esModule",{value:!0});var Cu;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(Cu||(Cu={}));Da.default=Cu;var Th={};(function(e){var t=Q&&Q.__spreadArray||function(u,l,c){if(c||arguments.length===2)for(var d=0,s=l.length,f;d<s;d++)(f||!(d in l))&&(f||(f=Array.prototype.slice.call(l,0,d)),f[d]=l[d]);return u.concat(f||Array.prototype.slice.call(l))},n=Q&&Q.__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=si,a=Ma,o=n(Da);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]})(Th);var Ih={};Object.defineProperty(Ih,"__esModule",{value:!0});var Ch={};Object.defineProperty(Ch,"__esModule",{value:!0});var Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});var Df=si,j5={nodeType:Df.BLOCKS.DOCUMENT,data:{},content:[{nodeType:Df.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Zl.default=j5;var en={};Object.defineProperty(en,"__esModule",{value:!0});en.isText=en.isBlock=en.isInline=void 0;var B5=si,F5=Ma;function Lh(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 U5(e){return Lh(F5.INLINES,e.nodeType)}en.isInline=U5;function x5(e){return Lh(B5.BLOCKS,e.nodeType)}en.isBlock=x5;function H5(e){return e.nodeType==="text"}en.isText=H5;(function(e){var t=Q&&Q.__createBinding||(Object.create?function(s,f,p,g){g===void 0&&(g=p);var h=Object.getOwnPropertyDescriptor(f,p);(!h||("get"in h?!f.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return f[p]}}),Object.defineProperty(s,g,h)}:function(s,f,p,g){g===void 0&&(g=p),s[g]=f[p]}),n=Q&&Q.__setModuleDefault||(Object.create?function(s,f){Object.defineProperty(s,"default",{enumerable:!0,value:f})}:function(s,f){s.default=f}),r=Q&&Q.__exportStar||function(s,f){for(var p in s)p!=="default"&&!Object.prototype.hasOwnProperty.call(f,p)&&t(f,s,p)},i=Q&&Q.__importStar||function(s){if(s&&s.__esModule)return s;var f={};if(s!=null)for(var p in s)p!=="default"&&Object.prototype.hasOwnProperty.call(s,p)&&t(f,s,p);return n(f,s),f},a=Q&&Q.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var o=si;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=Ma;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var l=Da;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(l).default}}),r(Th,e),r(Ih,e),r(Ch,e);var c=Zl;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var d=i(en);e.helpers=d})($5);var K5={};(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})(K5);var z5={},Rh={};(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})(Rh);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Rh;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})(z5);var W5={};(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})(W5);var q5={};(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})(q5);var G5={},kh={};(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})(kh);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=kh;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})(G5);function $f(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 K(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$f(Object(n),!0).forEach(function(r){Re(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$f(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fa(e){"@babel/helpers - typeof";return fa=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},fa(e)}function V5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(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 Y5(e,t,n){return t&&jf(e.prototype,t),n&&jf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function es(e,t){return Q5(e)||Z5(e,t)||Nh(e,t)||tA()}function ci(e){return X5(e)||J5(e)||Nh(e)||eA()}function X5(e){if(Array.isArray(e))return Lu(e)}function Q5(e){if(Array.isArray(e))return e}function J5(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Z5(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(l){a=!0,u=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function Nh(e,t){if(e){if(typeof e=="string")return Lu(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 Lu(e,t)}}function Lu(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 eA(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
7
+ `));let s=c.props,f=typeof(s==null?void 0:s.className)=="function"?(...g)=>ea(s==null?void 0:s.className(...g),u.className):ea(s==null?void 0:s.className,u.className),p=f?{className:f}:{};return sl(c,Object.assign({},gv(c.props,su(eo(u,["ref"]))),d,l,i1(c.ref,l.ref),p))}return j(i,Object.assign({},eo(u,["ref"]),i!==ye&&l,i!==ye&&d),c)}function i1(...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 gv(...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 be(e){var t;return Object.assign(fe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function su(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function eo(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Oa(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&&a1(n)?!1:r}function a1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function o1(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 u1="div";var Vr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Vr||{});function l1(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 ge({ourProps:i,theirProps:r,slot:{},defaultTag:u1,name:"Hidden"})}let ta=be(l1),Pl=ke(null);Pl.displayName="OpenClosedContext";var we=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(we||{});function ii(){return Te(Pl)}function Al({value:e,children:t}){return J.createElement(Pl.Provider,{value:e},t)}var pe=(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))(pe||{});function s1(e,t,n){let[r,i]=Be(n),a=e!==void 0,o=ee(a),u=ee(!1),l=ee(!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&&!l.current&&(l.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,Z(c=>(a||i(c),t==null?void 0:t(c)))]}function Tl(e,t){let n=ee([]),r=Z(e);ce(()=>{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 bc(e){return[e.screenX,e.screenY]}function c1(){let e=ee([-1,-1]);return{wasMoved(t){let n=bc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=bc(t)}}}function f1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function br(...e){return ue(()=>ri(...e),[...e])}var kr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(kr||{});function d1(){let e=ee(0);return vv("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function ai(){let e=ee(!1);return Ce(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function bv(e,t,n,r){let i=kt(n);ce(()=>{e=e??window;function a(o){i.current(o)}return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)},[e,t,r])}function p1(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function _v(e){let t=Z(e),n=ee(!1);ce(()=>(n.current=!1,()=>{n.current=!0,Ea(()=>{n.current&&t()})}),[t])}function wv(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 v1="div";var Ev=(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))(Ev||{});function h1(e,t){let n=ee(null),r=Ie(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;gr()||(o=1);let l=br(n);g1({ownerDocument:l},!!(o&16));let c=b1({ownerDocument:l,container:n,initialFocus:i},!!(o&2));_1({ownerDocument:l,container:n,containers:a,previousActiveElement:c},!!(o&8));let d=d1(),s=Z(h=>{let _=n.current;_&&(b=>b())(()=>{Ee(d.current,{[kr.Forwards]:()=>{$r(_,At.First,{skipElements:[h.relatedTarget]})},[kr.Backwards]:()=>{$r(_,At.Last,{skipElements:[h.relatedTarget]})}})})}),f=yr(),p=ee(!1),g={ref:r,onKeyDown(h){h.key=="Tab"&&(p.current=!0,f.requestAnimationFrame(()=>{p.current=!1}))},onBlur(h){let _=wv(a);n.current instanceof HTMLElement&&_.add(n.current);let b=h.relatedTarget;b instanceof HTMLElement&&b.dataset.headlessuiFocusGuard!=="true"&&(Ov(_,b)||(p.current?$r(n.current,Ee(d.current,{[kr.Forwards]:()=>At.Next,[kr.Backwards]:()=>At.Previous})|At.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&Jt(h.target)))}};return J.createElement(J.Fragment,null,!!(o&4)&&J.createElement(ta,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:Vr.Focusable}),ge({ourProps:g,theirProps:u,defaultTag:v1,name:"FocusTrap"}),!!(o&4)&&J.createElement(ta,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:s,features:Vr.Focusable}))}let m1=be(h1),Tr=Object.assign(m1,{features:Ev}),Wt=[];p1(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Wt[0]!==t.target&&(Wt.unshift(t.target),Wt=Wt.filter(n=>n!=null&&n.isConnected),Wt.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 y1(e=!0){let t=ee(Wt.slice());return Tl(([n],[r])=>{r===!0&&n===!1&&Ea(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Wt.slice())},[e,Wt,t]),Z(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function g1({ownerDocument:e},t){let n=y1(t);Tl(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&Jt(n())},[t]),_v(()=>{t&&Jt(n())})}function b1({ownerDocument:e,container:t,initialFocus:n},r){let i=ee(null),a=ai();return Tl(()=>{if(!r)return;let o=t.current;o&&Ea(()=>{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?Jt(n.current):$r(o,At.First)===cv.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function _1({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=ai();bv(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=wv(n);t.current instanceof HTMLElement&&u.add(t.current);let l=r.current;if(!l)return;let c=o.target;c&&c instanceof HTMLElement?Ov(u,c)?(r.current=c,Jt(c)):(o.preventDefault(),o.stopPropagation(),Jt(l)):Jt(r.current)},!0)}function Ov(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Sv=ke(!1);function w1(){return Te(Sv)}function cu(e){return J.createElement(Sv.Provider,{value:e.force},e.children)}function E1(e){let t=w1(),n=Te(Pv),r=br(e),[i,a]=Be(()=>{if(!t&&n!==null||Rt.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 ce(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),ce(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let O1=ye;function S1(e,t){let n=e,r=ee(null),i=Ie(yv(d=>{r.current=d}),t),a=br(r),o=E1(r),[u]=Be(()=>{var d;return Rt.isServer?null:(d=a==null?void 0:a.createElement("div"))!=null?d:null}),l=Te(fu),c=gr();return Ce(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),Ce(()=>{if(u&&l)return l.register(u)},[l,u]),_v(()=>{var d;!o||!u||(u instanceof Node&&o.contains(u)&&o.removeChild(u),o.childNodes.length<=0&&((d=o.parentElement)==null||d.removeChild(o)))}),c?!o||!u?null:ul(ge({ourProps:{ref:i},theirProps:n,defaultTag:O1,name:"Portal"}),u):null}let P1=ye,Pv=ke(null);function A1(e,t){let{target:n,...r}=e,i={ref:Ie(t)};return J.createElement(Pv.Provider,{value:n},ge({ourProps:i,theirProps:r,defaultTag:P1,name:"Popover.Group"}))}let fu=ke(null);function T1(){let e=Te(fu),t=ee([]),n=Z(a=>(t.current.push(a),e&&e.register(a),()=>r(a))),r=Z(a=>{let o=t.current.indexOf(a);o!==-1&&t.current.splice(o,1),e&&e.unregister(a)}),i=ue(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ue(()=>function({children:a}){return J.createElement(fu.Provider,{value:i},a)},[i])]}let I1=be(S1),C1=be(A1),du=Object.assign(I1,{Group:C1}),Av=ke(null);function Tv(){let e=Te(Av);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,Tv),t}return e}function Iv(){let[e,t]=Be([]);return[e.length>0?e.join(" "):void 0,ue(()=>function(n){let r=Z(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),l=u.indexOf(a);return l!==-1&&u.splice(l,1),u}))),i=ue(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return J.createElement(Av.Provider,{value:i},n.children)},[t])]}let L1="p";function R1(e,t){let n=nt(),{id:r=`headlessui-description-${n}`,...i}=e,a=Tv(),o=Ie(t);Ce(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return ge({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:L1,name:a.name||"Description"})}let k1=be(R1),Cv=Object.assign(k1,{}),Il=ke(()=>{});Il.displayName="StackContext";var pu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(pu||{});function N1(){return Te(Il)}function M1({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=N1(),o=Z((...u)=>{t==null||t(...u),a(...u)});return Ce(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),J.createElement(Il.Provider,{value:o},e)}function D1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const $1=typeof Object.is=="function"?Object.is:D1,{useState:j1,useEffect:B1,useLayoutEffect:F1,useDebugValue:U1}=er;function x1(e,t,n){const r=t(),[{inst:i},a]=j1({inst:{value:r,getSnapshot:t}});return F1(()=>{i.value=r,i.getSnapshot=t,to(i)&&a({inst:i})},[e,r,t]),B1(()=>(to(i)&&a({inst:i}),e(()=>{to(i)&&a({inst:i})})),[e]),U1(r),r}function to(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!$1(n,r)}catch{return!0}}function H1(e,t,n){return t()}const K1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",z1=!K1,W1=z1?H1:x1,q1="useSyncExternalStore"in er?(e=>e.useSyncExternalStore)(er):W1;function G1(e){return q1(e.subscribe,e.getSnapshot,e.getSnapshot)}function V1(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 Y1(){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 X1(){if(!f1())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=ht();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:l}=new URL(u.href),c=t.querySelector(l);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 Q1(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function J1(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let vn=V1(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:ht(),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:J1(n)},i=[X1(),Y1(),Q1()];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)}});vn.subscribe(()=>{let e=vn.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)&&vn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&vn.dispatch("TEARDOWN",n)}});function Z1(e,t,n){let r=G1(vn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return Ce(()=>{if(!(!e||!t))return vn.dispatch("PUSH",e,n),()=>vn.dispatch("POP",e,n)},[t,e]),a}let no=new Map,Ir=new Map;function _c(e,t=!0){Ce(()=>{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=Ir.get(r))!=null?o:1;if(u===1?Ir.delete(r):Ir.set(r,u-1),u!==1)return;let l=no.get(r);l&&(l["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",l["aria-hidden"]),r.inert=l.inert,no.delete(r))}let a=(n=Ir.get(r))!=null?n:0;return Ir.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 e_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ee((r=n==null?void 0:n.current)!=null?r:null),a=br(i),o=Z(()=>{var u;let l=[];for(let c of e)c!==null&&(c instanceof HTMLElement?l.push(c):"current"in c&&c.current instanceof HTMLElement&&l.push(c.current));if(t!=null&&t.current)for(let c of t.current)l.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)||l.some(d=>c.contains(d))||l.push(c));return l});return{resolveContainers:o,contains:Z(u=>o().some(l=>l.contains(u))),mainTreeNodeRef:i,MainTreeNode:ue(()=>function(){return n!=null?null:J.createElement(ta,{features:Vr.Hidden,ref:i})},[i,n])}}var t_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(t_||{}),n_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(n_||{});let r_={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},na=ke(null);na.displayName="DialogContext";function oi(e){let t=Te(na);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,oi),n}return t}function i_(e,t,n=()=>[document.body]){Z1(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function a_(e,t){return Ee(t.type,r_,e,t)}let o_="div",u_=nn.RenderStrategy|nn.Static;function l_(e,t){var n;let r=nt(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:l=!1,...c}=e,[d,s]=Be(0),f=ii();a===void 0&&f!==null&&(a=(f&we.Open)===we.Open);let p=ee(null),g=Ie(p,t),h=br(p),_=e.hasOwnProperty("open")||f!==null,b=e.hasOwnProperty("onClose");if(!_&&!b)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!_)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!b)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 m=a?0:1,[v,y]=In(a_,{titleId:null,descriptionId:null,panelRef:zr()}),w=Z(()=>o(!1)),S=Z(X=>y({type:0,id:X})),O=gr()?l?!1:m===0:!1,E=d>1,P=Te(na)!==null,[A,L]=T1(),{resolveContainers:N,mainTreeNodeRef:$,MainTreeNode:C}=e_({portals:A,defaultContainers:[(n=v.panelRef.current)!=null?n:p.current]}),I=E?"parent":"leaf",R=f!==null?(f&we.Closing)===we.Closing:!1,D=(()=>P||R?!1:O)(),B=qt(()=>{var X,re;return(re=Array.from((X=h==null?void 0:h.querySelectorAll("body > *"))!=null?X:[]).find(ie=>ie.id==="headlessui-portal-root"?!1:ie.contains($.current)&&ie instanceof HTMLElement))!=null?re:null},[$]);_c(B,D);let V=(()=>E?!0:O)(),W=qt(()=>{var X,re;return(re=Array.from((X=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?X:[]).find(ie=>ie.contains($.current)&&ie instanceof HTMLElement))!=null?re:null},[$]);_c(W,V);let Y=(()=>!(!O||E))();hv(N,w,Y);let U=(()=>!(E||m!==0))();bv(h==null?void 0:h.defaultView,"keydown",X=>{U&&(X.defaultPrevented||X.key===pe.Escape&&(X.preventDefault(),X.stopPropagation(),w()))});let F=(()=>!(R||m!==0||P))();i_(h,F,N),ce(()=>{if(m!==0||!p.current)return;let X=new ResizeObserver(re=>{for(let ie of re){let _e=ie.target.getBoundingClientRect();_e.x===0&&_e.y===0&&_e.width===0&&_e.height===0&&w()}});return X.observe(p.current),()=>X.disconnect()},[m,p,w]);let[z,x]=Iv(),te=ue(()=>[{dialogState:m,close:w,setTitleId:S},v],[m,v,w,S]),se=ue(()=>({open:m===0}),[m]),ne={ref:g,id:i,role:"dialog","aria-modal":m===0?!0:void 0,"aria-labelledby":v.titleId,"aria-describedby":z};return J.createElement(M1,{type:"Dialog",enabled:m===0,element:p,onUpdate:Z((X,re)=>{re==="Dialog"&&Ee(X,{[pu.Add]:()=>s(ie=>ie+1),[pu.Remove]:()=>s(ie=>ie-1)})})},J.createElement(cu,{force:!0},J.createElement(du,null,J.createElement(na.Provider,{value:te},J.createElement(du.Group,{target:p},J.createElement(cu,{force:!1},J.createElement(x,{slot:se,name:"Dialog.Description"},J.createElement(Tr,{initialFocus:u,containers:N,features:O?Ee(I,{parent:Tr.features.RestoreFocus,leaf:Tr.features.All&~Tr.features.FocusLock}):Tr.features.None},J.createElement(L,null,ge({ourProps:ne,theirProps:c,slot:se,defaultTag:o_,features:u_,visible:m===0,name:"Dialog"}))))))))),J.createElement(C,null))}let s_="div";function c_(e,t){let n=nt(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=oi("Dialog.Overlay"),u=Ie(t),l=Z(d=>{if(d.target===d.currentTarget){if(Oa(d.currentTarget))return d.preventDefault();d.preventDefault(),d.stopPropagation(),o()}}),c=ue(()=>({open:a===0}),[a]);return ge({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:l},theirProps:i,slot:c,defaultTag:s_,name:"Dialog.Overlay"})}let f_="div";function d_(e,t){let n=nt(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=oi("Dialog.Backdrop"),u=Ie(t);ce(()=>{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 l=ue(()=>({open:a===0}),[a]);return J.createElement(cu,{force:!0},J.createElement(du,null,ge({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:l,defaultTag:f_,name:"Dialog.Backdrop"})))}let p_="div";function v_(e,t){let n=nt(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=oi("Dialog.Panel"),u=Ie(t,o.panelRef),l=ue(()=>({open:a===0}),[a]),c=Z(d=>{d.stopPropagation()});return ge({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:l,defaultTag:p_,name:"Dialog.Panel"})}let h_="h2";function m_(e,t){let n=nt(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=oi("Dialog.Title"),u=Ie(t);ce(()=>(o(r),()=>o(null)),[r,o]);let l=ue(()=>({open:a===0}),[a]);return ge({ourProps:{ref:u,id:r},theirProps:i,slot:l,defaultTag:h_,name:"Dialog.Title"})}let y_=be(l_),g_=be(d_),b_=be(v_),__=be(c_),w_=be(m_),DI=Object.assign(y_,{Backdrop:g_,Panel:b_,Overlay:__,Title:w_,Description:Cv});var wc;let E_=(wc=J.startTransition)!=null?wc:function(e){e()};var O_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(O_||{}),S_=(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))(S_||{});let P_={0:e=>({...e,disclosureState:Ee(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}}},Cl=ke(null);Cl.displayName="DisclosureContext";function Ll(e){let t=Te(Cl);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 Rl=ke(null);Rl.displayName="DisclosureAPIContext";function Lv(e){let t=Te(Rl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Lv),n}return t}let kl=ke(null);kl.displayName="DisclosurePanelContext";function A_(){return Te(kl)}function T_(e,t){return Ee(t.type,P_,e,t)}let I_=ye;function C_(e,t){let{defaultOpen:n=!1,...r}=e,i=ee(null),a=Ie(t,yv(_=>{i.current=_},e.as===void 0||e.as===ye)),o=ee(null),u=ee(null),l=In(T_,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:d},s]=l,f=Z(_=>{s({type:1});let b=ri(i);if(!b||!d)return;let m=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:b.getElementById(d):b.getElementById(d))();m==null||m.focus()}),p=ue(()=>({close:f}),[f]),g=ue(()=>({open:c===0,close:f}),[c,f]),h={ref:a};return J.createElement(Cl.Provider,{value:l},J.createElement(Rl.Provider,{value:p},J.createElement(Al,{value:Ee(c,{0:we.Open,1:we.Closed})},ge({ourProps:h,theirProps:r,slot:g,defaultTag:I_,name:"Disclosure"}))))}let L_="button";function R_(e,t){let n=nt(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=Ll("Disclosure.Button"),u=A_(),l=u===null?!1:u===a.panelId,c=ee(null),d=Ie(c,t,l?null:a.buttonRef);ce(()=>{if(!l)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}},[r,o,l]);let s=Z(b=>{var m;if(l){if(a.disclosureState===1)return;switch(b.key){case pe.Space:case pe.Enter:b.preventDefault(),b.stopPropagation(),o({type:0}),(m=a.buttonRef.current)==null||m.focus();break}}else switch(b.key){case pe.Space:case pe.Enter:b.preventDefault(),b.stopPropagation(),o({type:0});break}}),f=Z(b=>{switch(b.key){case pe.Space:b.preventDefault();break}}),p=Z(b=>{var m;Oa(b.currentTarget)||e.disabled||(l?(o({type:0}),(m=a.buttonRef.current)==null||m.focus()):o({type:0}))}),g=ue(()=>({open:a.disclosureState===0}),[a]),h=Sl(e,c),_=l?{ref:d,type:h,onKeyDown:s,onClick:p}:{ref:d,id:r,type:h,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:s,onKeyUp:f,onClick:p};return ge({ourProps:_,theirProps:i,slot:g,defaultTag:L_,name:"Disclosure.Button"})}let k_="div",N_=nn.RenderStrategy|nn.Static;function M_(e,t){let n=nt(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=Ll("Disclosure.Panel"),{close:u}=Lv("Disclosure.Panel"),l=Ie(t,a.panelRef,p=>{E_(()=>o({type:p?4:5}))});ce(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=ii(),d=(()=>c!==null?(c&we.Open)===we.Open:a.disclosureState===0)(),s=ue(()=>({open:a.disclosureState===0,close:u}),[a,u]),f={ref:l,id:r};return J.createElement(kl.Provider,{value:a.panelId},ge({ourProps:f,theirProps:i,slot:s,defaultTag:k_,features:N_,visible:d,name:"Disclosure.Panel"}))}let D_=be(C_),$_=be(R_),j_=be(M_),$I=Object.assign(D_,{Button:$_,Panel:j_}),Ec=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Oc(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 Ec.test(o)&&(o=o.replace(Ec,"")),o}function B_(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():Oc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Oc(e).trim()}function F_(e){let t=ee(""),n=ee("");return Z(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=B_(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var U_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(U_||{}),x_=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(x_||{}),H_=(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))(H_||{});function ro(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=pv(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 K_={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=ro(e),i=r1(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=ro(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=ro(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Nl=ke(null);Nl.displayName="MenuContext";function Sa(e){let t=Te(Nl);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Sa),n}return t}function z_(e,t){return Ee(t.type,K_,e,t)}let W_=ye;function q_(e,t){let{__demoMode:n=!1,...r}=e,i=In(z_,{__demoMode:n,menuState:n?0:1,buttonRef:zr(),itemsRef:zr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},l]=i,c=Ie(t);hv([u,o],(p,g)=>{var h;l({type:1}),Ol(g,El.Loose)||(p.preventDefault(),(h=u.current)==null||h.focus())},a===0);let d=Z(()=>{l({type:1})}),s=ue(()=>({open:a===0,close:d}),[a,d]),f={ref:c};return J.createElement(Nl.Provider,{value:i},J.createElement(Al,{value:Ee(a,{0:we.Open,1:we.Closed})},ge({ourProps:f,theirProps:r,slot:s,defaultTag:W_,name:"Menu"})))}let G_="button";function V_(e,t){var n;let r=nt(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=Sa("Menu.Button"),l=Ie(o.buttonRef,t),c=yr(),d=Z(h=>{switch(h.key){case pe.Space:case pe.Enter:case pe.ArrowDown:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ft.First}));break;case pe.ArrowUp:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:ft.Last}));break}}),s=Z(h=>{switch(h.key){case pe.Space:h.preventDefault();break}}),f=Z(h=>{if(Oa(h.currentTarget))return h.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var _;return(_=o.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})})):(h.preventDefault(),u({type:0})))}),p=ue(()=>({open:o.menuState===0}),[o]),g={ref:l,id:i,type:Sl(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:d,onKeyUp:s,onClick:f};return ge({ourProps:g,theirProps:a,slot:p,defaultTag:G_,name:"Menu.Button"})}let Y_="div",X_=nn.RenderStrategy|nn.Static;function Q_(e,t){var n,r;let i=nt(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,l]=Sa("Menu.Items"),c=Ie(u.itemsRef,t),d=br(u.itemsRef),s=yr(),f=ii(),p=(()=>f!==null?(f&we.Open)===we.Open:u.menuState===0)();ce(()=>{let m=u.itemsRef.current;m&&u.menuState===0&&m!==(d==null?void 0:d.activeElement)&&m.focus({preventScroll:!0})},[u.menuState,u.itemsRef,d]),t1({container:u.itemsRef.current,enabled:u.menuState===0,accept(m){return m.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:m.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(m){m.setAttribute("role","none")}});let g=Z(m=>{var v,y;switch(s.dispose(),m.key){case pe.Space:if(u.searchQuery!=="")return m.preventDefault(),m.stopPropagation(),l({type:3,value:m.key});case pe.Enter:if(m.preventDefault(),m.stopPropagation(),l({type:1}),u.activeItemIndex!==null){let{dataRef:w}=u.items[u.activeItemIndex];(y=(v=w.current)==null?void 0:v.domRef.current)==null||y.click()}dv(u.buttonRef.current);break;case pe.ArrowDown:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:ft.Next});case pe.ArrowUp:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:ft.Previous});case pe.Home:case pe.PageUp:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:ft.First});case pe.End:case pe.PageDown:return m.preventDefault(),m.stopPropagation(),l({type:2,focus:ft.Last});case pe.Escape:m.preventDefault(),m.stopPropagation(),l({type:1}),ht().nextFrame(()=>{var w;return(w=u.buttonRef.current)==null?void 0:w.focus({preventScroll:!0})});break;case pe.Tab:m.preventDefault(),m.stopPropagation(),l({type:1}),ht().nextFrame(()=>{e1(u.buttonRef.current,m.shiftKey?At.Previous:At.Next)});break;default:m.key.length===1&&(l({type:3,value:m.key}),s.setTimeout(()=>l({type:4}),350));break}}),h=Z(m=>{switch(m.key){case pe.Space:m.preventDefault();break}}),_=ue(()=>({open:u.menuState===0}),[u]),b={"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:g,onKeyUp:h,role:"menu",tabIndex:0,ref:c};return ge({ourProps:b,theirProps:o,slot:_,defaultTag:Y_,features:X_,visible:p,name:"Menu.Items"})}let J_=ye;function Z_(e,t){let n=nt(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=Sa("Menu.Item"),l=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ee(null),d=Ie(t,c);Ce(()=>{if(o.__demoMode||o.menuState!==0||!l||o.activationTrigger===0)return;let w=ht();return w.requestAnimationFrame(()=>{var S,O;(O=(S=c.current)==null?void 0:S.scrollIntoView)==null||O.call(S,{block:"nearest"})}),w.dispose},[o.__demoMode,c,l,o.menuState,o.activationTrigger,o.activeItemIndex]);let s=F_(c),f=ee({disabled:i,domRef:c,get textValue(){return s()}});Ce(()=>{f.current.disabled=i},[f,i]),Ce(()=>(u({type:5,id:r,dataRef:f}),()=>u({type:6,id:r})),[f,r]);let p=Z(()=>{u({type:1})}),g=Z(w=>{if(i)return w.preventDefault();u({type:1}),dv(o.buttonRef.current)}),h=Z(()=>{if(i)return u({type:2,focus:ft.Nothing});u({type:2,focus:ft.Specific,id:r})}),_=c1(),b=Z(w=>_.update(w)),m=Z(w=>{_.wasMoved(w)&&(i||l||u({type:2,focus:ft.Specific,id:r,trigger:0}))}),v=Z(w=>{_.wasMoved(w)&&(i||l&&u({type:2,focus:ft.Nothing}))}),y=ue(()=>({active:l,disabled:i,close:p}),[l,i,p]);return ge({ourProps:{id:r,ref:d,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:g,onFocus:h,onPointerEnter:b,onMouseEnter:b,onPointerMove:m,onMouseMove:m,onPointerLeave:v,onMouseLeave:v},theirProps:a,slot:y,defaultTag:J_,name:"Menu.Item"})}let ew=be(q_),tw=be(V_),nw=be(Q_),rw=be(Z_),jI=Object.assign(ew,{Button:tw,Items:nw,Item:rw});function iw(e=0){let[t,n]=Be(e),r=ai(),i=qt(l=>{r.current&&n(c=>c|l)},[t,r]),a=qt(l=>!!(t&l),[t]),o=qt(l=>{r.current&&n(c=>c&~l)},[n,r]),u=qt(l=>{r.current&&n(c=>c^l)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let Rv=ke(null);function kv(){let e=Te(Rv);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,kv),t}return e}function aw(){let[e,t]=Be([]);return[e.length>0?e.join(" "):void 0,ue(()=>function(n){let r=Z(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),l=u.indexOf(a);return l!==-1&&u.splice(l,1),u}))),i=ue(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return J.createElement(Rv.Provider,{value:i},n.children)},[t])]}let ow="label";function uw(e,t){let n=nt(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=kv(),u=Ie(t);Ce(()=>o.register(r),[r,o.register]);let l={ref:u,...o.props,id:r};return i&&("onClick"in l&&(delete l.htmlFor,delete l.onClick),"onClick"in a&&delete a.onClick),ge({ourProps:l,theirProps:a,slot:o.slot||{},defaultTag:ow,name:o.name||"Label"})}let lw=be(uw),sw=Object.assign(lw,{}),Ml=ke(null);Ml.displayName="GroupContext";let cw=ye;function fw(e){var t;let[n,r]=Be(null),[i,a]=aw(),[o,u]=Iv(),l=ue(()=>({switch:n,setSwitch:r,labelledby:i,describedby:o}),[n,r,i,o]),c={},d=e;return J.createElement(u,{name:"Switch.Description"},J.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=l.switch)==null?void 0:t.id,onClick(s){n&&(s.currentTarget.tagName==="LABEL"&&s.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},J.createElement(Ml.Provider,{value:l},ge({ourProps:c,theirProps:d,defaultTag:cw,name:"Switch.Group"}))))}let dw="button";function pw(e,t){let n=nt(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:l,form:c,...d}=e,s=Te(Ml),f=ee(null),p=Ie(f,t,s===null?null:s.setSwitch),[g,h]=s1(i,o,a),_=Z(()=>h==null?void 0:h(!g)),b=Z(O=>{if(Oa(O.currentTarget))return O.preventDefault();O.preventDefault(),_()}),m=Z(O=>{O.key===pe.Space?(O.preventDefault(),_()):O.key===pe.Enter&&o1(O.currentTarget)}),v=Z(O=>O.preventDefault()),y=ue(()=>({checked:g}),[g]),w={id:r,ref:p,role:"switch",type:Sl(e,f),tabIndex:0,"aria-checked":g,"aria-labelledby":s==null?void 0:s.labelledby,"aria-describedby":s==null?void 0:s.describedby,onClick:b,onKeyUp:m,onKeyPress:v},S=yr();return ce(()=>{var O;let E=(O=f.current)==null?void 0:O.closest("form");E&&a!==void 0&&S.addEventListener(E,"reset",()=>{h(a)})},[f,h]),J.createElement(J.Fragment,null,u!=null&&g&&J.createElement(ta,{features:Vr.Hidden,...su({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:g,name:u,value:l})}),ge({ourProps:w,theirProps:d,slot:y,defaultTag:dw,name:"Switch"}))}let vw=be(pw),hw=fw,BI=Object.assign(vw,{Group:hw,Label:sw,Description:Cv});function mw(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function io(e,...t){e&&t.length>0&&e.classList.add(...t)}function ao(e,...t){e&&t.length>0&&e.classList.remove(...t)}function yw(e,t){let n=ht();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(l=>{let[c=0]=l.split(",").filter(Boolean).map(d=>d.includes("ms")?parseFloat(d):parseFloat(d)*1e3).sort((d,s)=>s-d);return c}),u=a+o;if(u!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},u),c.addEventListener(e,"transitionrun",d=>{d.target===d.currentTarget&&c.dispose()})});let l=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),l())})}else t();return n.add(()=>t()),n.dispose}function gw(e,t,n,r){let i=n?"enter":"leave",a=ht(),o=r!==void 0?mw(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Ee(i,{enter:()=>t.enter,leave:()=>t.leave}),l=Ee(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Ee(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return ao(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),io(e,...t.base,...u,...c),a.nextFrame(()=>{ao(e,...t.base,...u,...c),io(e,...t.base,...u,...l),yw(e,()=>(ao(e,...t.base,...u),io(e,...t.base,...t.entered),o()))}),a.dispose}function bw({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=ai(),u=yr(),l=kt(n);Ce(()=>{e&&(l.current="enter")},[e]),Ce(()=>{let c=ht();u.add(c.dispose);let d=t.current;if(d&&l.current!=="idle"&&o.current)return c.dispose(),i.current(l.current),c.add(gw(d,r.current,l.current==="enter",()=>{c.dispose(),a.current(l.current)})),c.dispose},[n])}function Ut(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Pa=ke(null);Pa.displayName="TransitionContext";var _w=(e=>(e.Visible="visible",e.Hidden="hidden",e))(_w||{});function ww(){let e=Te(Pa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Ew(){let e=Te(Aa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Aa=ke(null);Aa.displayName="NestingContext";function Ta(e){return"children"in e?Ta(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Nv(e,t){let n=kt(e),r=ee([]),i=ai(),a=yr(),o=Z((p,g=Gt.Hidden)=>{let h=r.current.findIndex(({el:_})=>_===p);h!==-1&&(Ee(g,{[Gt.Unmount](){r.current.splice(h,1)},[Gt.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var _;!Ta(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=Z(p=>{let g=r.current.find(({el:h})=>h===p);return g?g.state!=="visible"&&(g.state="visible"):r.current.push({el:p,state:"visible"}),()=>o(p,Gt.Unmount)}),l=ee([]),c=ee(Promise.resolve()),d=ee({enter:[],leave:[],idle:[]}),s=Z((p,g,h)=>{l.current.splice(0),t&&(t.chains.current[g]=t.chains.current[g].filter(([_])=>_!==p)),t==null||t.chains.current[g].push([p,new Promise(_=>{l.current.push(_)})]),t==null||t.chains.current[g].push([p,new Promise(_=>{Promise.all(d.current[g].map(([b,m])=>m)).then(()=>_())})]),g==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>h(g)):h(g)}),f=Z((p,g,h)=>{Promise.all(d.current[g].splice(0).map(([_,b])=>b)).then(()=>{var _;(_=l.current.shift())==null||_()}).then(()=>h(g))});return ue(()=>({children:r,register:u,unregister:o,onStart:s,onStop:f,wait:c,chains:d}),[u,o,r,s,f,d,c])}function Ow(){}let Sw=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Sc(e){var t;let n={};for(let r of Sw)n[r]=(t=e[r])!=null?t:Ow;return n}function Pw(e){let t=ee(Sc(e));return ce(()=>{t.current=Sc(e)},[e]),t}let Aw="div",Mv=nn.RenderStrategy;function Tw(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u,enter:l,enterFrom:c,enterTo:d,entered:s,leave:f,leaveFrom:p,leaveTo:g,...h}=e,_=ee(null),b=Ie(_,t),m=(n=h.unmount)==null||n?Gt.Unmount:Gt.Hidden,{show:v,appear:y,initial:w}=ww(),[S,O]=Be(v?"visible":"hidden"),E=Ew(),{register:P,unregister:A}=E;ce(()=>P(_),[P,_]),ce(()=>{if(m===Gt.Hidden&&_.current){if(v&&S!=="visible"){O("visible");return}return Ee(S,{hidden:()=>A(_),visible:()=>P(_)})}},[S,_,P,A,v,m]);let L=kt({base:Ut(h.className),enter:Ut(l),enterFrom:Ut(c),enterTo:Ut(d),entered:Ut(s),leave:Ut(f),leaveFrom:Ut(p),leaveTo:Ut(g)}),N=Pw({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),$=gr();ce(()=>{if($&&S==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,S,$]);let C=w&&!y,I=y&&v&&w,R=(()=>!$||C?"idle":v?"enter":"leave")(),D=iw(0),B=Z(F=>Ee(F,{enter:()=>{D.addFlag(we.Opening),N.current.beforeEnter()},leave:()=>{D.addFlag(we.Closing),N.current.beforeLeave()},idle:()=>{}})),V=Z(F=>Ee(F,{enter:()=>{D.removeFlag(we.Opening),N.current.afterEnter()},leave:()=>{D.removeFlag(we.Closing),N.current.afterLeave()},idle:()=>{}})),W=Nv(()=>{O("hidden"),A(_)},E);bw({immediate:I,container:_,classes:L,direction:R,onStart:kt(F=>{W.onStart(_,F,B)}),onStop:kt(F=>{W.onStop(_,F,V),F==="leave"&&!Ta(W)&&(O("hidden"),A(_))})});let Y=h,U={ref:b};return I?Y={...Y,className:ea(h.className,...L.current.enter,...L.current.enterFrom)}:(Y.className=ea(h.className,(r=_.current)==null?void 0:r.className),Y.className===""&&delete Y.className),J.createElement(Aa.Provider,{value:W},J.createElement(Al,{value:Ee(S,{visible:we.Open,hidden:we.Closed})|D.flags},ge({ourProps:U,theirProps:Y,defaultTag:Aw,features:Mv,visible:S==="visible",name:"Transition.Child"})))}function Iw(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ee(null),u=Ie(o,t);gr();let l=ii();if(n===void 0&&l!==null&&(n=(l&we.Open)===we.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,d]=Be(n?"visible":"hidden"),s=Nv(()=>{d("hidden")}),[f,p]=Be(!0),g=ee([n]);Ce(()=>{f!==!1&&g.current[g.current.length-1]!==n&&(g.current.push(n),p(!1))},[g,n]);let h=ue(()=>({show:n,appear:r,initial:f}),[n,r,f]);ce(()=>{if(n)d("visible");else if(!Ta(s))d("hidden");else{let v=o.current;if(!v)return;let y=v.getBoundingClientRect();y.x===0&&y.y===0&&y.width===0&&y.height===0&&d("hidden")}},[n,s]);let _={unmount:i},b=Z(()=>{var v;f&&p(!1),(v=e.beforeEnter)==null||v.call(e)}),m=Z(()=>{var v;f&&p(!1),(v=e.beforeLeave)==null||v.call(e)});return J.createElement(Aa.Provider,{value:s},J.createElement(Pa.Provider,{value:h},ge({ourProps:{..._,as:ye,children:J.createElement(Dv,{ref:u,..._,...a,beforeEnter:b,beforeLeave:m})},theirProps:{},defaultTag:ye,features:Mv,visible:c==="visible",name:"Transition"})))}function Cw(e,t){let n=Te(Pa)!==null,r=ii()!==null;return J.createElement(J.Fragment,null,!n&&r?J.createElement(vu,{ref:t,...e}):J.createElement(Dv,{ref:t,...e}))}let vu=be(Iw),Dv=be(Tw),Lw=be(Cw),FI=Object.assign(vu,{Child:Lw,Root:vu});function Rw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 kw=fe(Rw),UI=kw;function Nw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const Mw=fe(Nw),xI=Mw;function Dw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 $w=fe(Dw),HI=$w;function jw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Bw=fe(jw),KI=Bw;function Fw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Uw=fe(Fw),zI=Uw;function xw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Hw=fe(xw),WI=Hw;function Kw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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"}),j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const zw=fe(Kw),qI=zw;function Ww({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 qw=fe(Ww),GI=qw;function Gw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Vw=fe(Gw),VI=Vw;function Yw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Xw=fe(Yw),YI=Xw;function Qw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 Jw=fe(Qw),XI=Jw;function Zw({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 eE=fe(Zw),QI=eE;function tE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}const nE=fe(tE),JI=nE;function rE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const iE=fe(rE),ZI=iE;function $v(e,t=!1,n,r=n.polyfill("FormData",!0,!0),i=[]){return Object.entries(e).forEach(([a,o])=>{let u=i.reduce((l,c)=>l?`${l}[${c}]`:c,null);if(u=u?`${u}[${a}]`:a,o instanceof Array||globalThis.FileList&&o instanceof FileList)for(const l of o)r.append(u,l);else t&&typeof o=="object"&&(!(t instanceof Array)||!t.includes(a))?o!==null&&$v(o,t,n,r,[...i,a]):r.append(u,o)}),r}const aE={wretch:{formData(e,t=!1){return this.body($v(e,t,this._config))}}},eC=aE;function hu(e){this.message=e}hu.prototype=new Error,hu.prototype.name="InvalidCharacterError";var Pc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new hu("'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 oE(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(Pc(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 Pc(t)}}function ra(e){this.message=e}function tC(e,t){if(typeof e!="string")throw new ra("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(oE(e.split(".")[n]))}catch(r){throw new ra("Invalid token specified: "+r.message)}}ra.prototype=new Error,ra.prototype.name="InvalidTokenError";function uE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 lE=fe(uE),nC=lE;function sE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 cE=fe(sE),rC=cE;function fE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 dE=fe(fE),iC=dE;function pE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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"}),j("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 vE=fe(pE),aC=vE;function hE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 mE=fe(hE),oC=mE;function yE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 gE=fe(yE),uC=gE;function bE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 _E=fe(bE),lC=_E;function wE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 EE=fe(wE),sC=EE;function OE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 SE=fe(OE),cC=SE;function PE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 AE=fe(PE),fC=AE;function TE({title:e,titleId:t,...n},r){return j("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?j("title",{id:t},e):null,j("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 IE=fe(TE),dC=IE;var Dl={exports:{}},jv=function(t,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return t.apply(n,i)}},CE=jv,$l=Object.prototype.toString,jl=function(e){return function(t){var n=$l.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Ln(e){return e=e.toLowerCase(),function(n){return jl(n)===e}}function Bl(e){return Array.isArray(e)}function ia(e){return typeof e>"u"}function LE(e){return e!==null&&!ia(e)&&e.constructor!==null&&!ia(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Bv=Ln("ArrayBuffer");function RE(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bv(e.buffer),t}function kE(e){return typeof e=="string"}function NE(e){return typeof e=="number"}function Fv(e){return e!==null&&typeof e=="object"}function $i(e){if(jl(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var ME=Ln("Date"),DE=Ln("File"),$E=Ln("Blob"),jE=Ln("FileList");function Fl(e){return $l.call(e)==="[object Function]"}function BE(e){return Fv(e)&&Fl(e.pipe)}function FE(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||$l.call(e)===t||Fl(e.toString)&&e.toString()===t)}var UE=Ln("URLSearchParams");function xE(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function HE(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ul(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Bl(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function mu(){var e={};function t(i,a){$i(e[a])&&$i(i)?e[a]=mu(e[a],i):$i(i)?e[a]=mu({},i):Bl(i)?e[a]=i.slice():e[a]=i}for(var n=0,r=arguments.length;n<r;n++)Ul(arguments[n],t);return e}function KE(e,t,n){return Ul(t,function(i,a){n&&typeof i=="function"?e[a]=CE(i,n):e[a]=i}),e}function zE(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function WE(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function qE(e,t,n){var r,i,a,o={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],o[a]||(t[a]=e[a],o[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function GE(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function VE(e){if(!e)return null;var t=e.length;if(ia(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var YE=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Ue={isArray:Bl,isArrayBuffer:Bv,isBuffer:LE,isFormData:FE,isArrayBufferView:RE,isString:kE,isNumber:NE,isObject:Fv,isPlainObject:$i,isUndefined:ia,isDate:ME,isFile:DE,isBlob:$E,isFunction:Fl,isStream:BE,isURLSearchParams:UE,isStandardBrowserEnv:HE,forEach:Ul,merge:mu,extend:KE,trim:xE,stripBOM:zE,inherits:WE,toFlatObject:qE,kindOf:jl,kindOfTest:Ln,endsWith:GE,toArray:VE,isTypedArray:YE,isFileList:jE},kn=Ue;function Ac(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Uv=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(kn.isURLSearchParams(n))i=n.toString();else{var a=[];kn.forEach(n,function(l,c){l===null||typeof l>"u"||(kn.isArray(l)?c=c+"[]":l=[l],kn.forEach(l,function(s){kn.isDate(s)?s=s.toISOString():kn.isObject(s)&&(s=JSON.stringify(s)),a.push(Ac(c)+"="+Ac(s))}))}),i=a.join("&")}if(i){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},XE=Ue;function Ia(){this.handlers=[]}Ia.prototype.use=function(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};Ia.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Ia.prototype.forEach=function(t){XE.forEach(this.handlers,function(r){r!==null&&t(r)})};var QE=Ia,JE=Ue,ZE=function(t,n){JE.forEach(t,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[a])})},xv=Ue;function ar(e,t,n,r,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}xv.inherits(ar,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Hv=ar.prototype,Kv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){Kv[e]={value:e}});Object.defineProperties(ar,Kv);Object.defineProperty(Hv,"isAxiosError",{value:!0});ar.from=function(e,t,n,r,i,a){var o=Object.create(Hv);return xv.toFlatObject(e,o,function(l){return l!==Error.prototype}),ar.call(o,e.message,t,n,r,i),o.name=e.name,a&&Object.assign(o,a),o};var _r=ar,zv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},oo,Tc;function Wv(){if(Tc)return oo;Tc=1;var e=Ue;function t(n,r){r=r||new FormData;var i=[];function a(u){return u===null?"":e.isDate(u)?u.toISOString():e.isArrayBuffer(u)||e.isTypedArray(u)?typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function o(u,l){if(e.isPlainObject(u)||e.isArray(u)){if(i.indexOf(u)!==-1)throw Error("Circular reference detected in "+l);i.push(u),e.forEach(u,function(d,s){if(!e.isUndefined(d)){var f=l?l+"."+s:s,p;if(d&&!l&&typeof d=="object"){if(e.endsWith(s,"{}"))d=JSON.stringify(d);else if(e.endsWith(s,"[]")&&(p=e.toArray(d))){p.forEach(function(g){!e.isUndefined(g)&&r.append(f,a(g))});return}}o(d,f)}}),i.pop()}else r.append(l,a(u))}return o(n),r}return oo=t,oo}var uo,Ic;function eO(){if(Ic)return uo;Ic=1;var e=_r;return uo=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},uo}var lo,Cc;function tO(){if(Cc)return lo;Cc=1;var e=Ue;return lo=e.isStandardBrowserEnv()?function(){return{write:function(r,i,a,o,u,l){var c=[];c.push(r+"="+encodeURIComponent(i)),e.isNumber(a)&&c.push("expires="+new Date(a).toGMTString()),e.isString(o)&&c.push("path="+o),e.isString(u)&&c.push("domain="+u),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),lo}var nO=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},rO=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},iO=nO,aO=rO,qv=function(t,n){return t&&!iO(n)?aO(t,n):n},so,Lc;function oO(){if(Lc)return so;Lc=1;var e=Ue,t=["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"];return so=function(r){var i={},a,o,u;return r&&e.forEach(r.split(`
8
+ `),function(c){if(u=c.indexOf(":"),a=e.trim(c.substr(0,u)).toLowerCase(),o=e.trim(c.substr(u+1)),a){if(i[a]&&t.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},so}var co,Rc;function uO(){if(Rc)return co;Rc=1;var e=Ue;return co=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(o){var u=o;return n&&(r.setAttribute("href",u),u=r.href),r.setAttribute("href",u),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(u){var l=e.isString(u)?a(u):u;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),co}var fo,kc;function Ca(){if(kc)return fo;kc=1;var e=_r,t=Ue;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),fo=n,fo}var po,Nc;function lO(){return Nc||(Nc=1,po=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),po}var vo,Mc;function Dc(){if(Mc)return vo;Mc=1;var e=Ue,t=eO(),n=tO(),r=Uv,i=qv,a=oO(),o=uO(),u=zv,l=_r,c=Ca(),d=lO();return vo=function(f){return new Promise(function(g,h){var _=f.data,b=f.headers,m=f.responseType,v;function y(){f.cancelToken&&f.cancelToken.unsubscribe(v),f.signal&&f.signal.removeEventListener("abort",v)}e.isFormData(_)&&e.isStandardBrowserEnv()&&delete b["Content-Type"];var w=new XMLHttpRequest;if(f.auth){var S=f.auth.username||"",O=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";b.Authorization="Basic "+btoa(S+":"+O)}var E=i(f.baseURL,f.url);w.open(f.method.toUpperCase(),r(E,f.params,f.paramsSerializer),!0),w.timeout=f.timeout;function P(){if(w){var N="getAllResponseHeaders"in w?a(w.getAllResponseHeaders()):null,$=!m||m==="text"||m==="json"?w.responseText:w.response,C={data:$,status:w.status,statusText:w.statusText,headers:N,config:f,request:w};t(function(R){g(R),y()},function(R){h(R),y()},C),w=null}}if("onloadend"in w?w.onloadend=P:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(P)},w.onabort=function(){w&&(h(new l("Request aborted",l.ECONNABORTED,f,w)),w=null)},w.onerror=function(){h(new l("Network Error",l.ERR_NETWORK,f,w,w)),w=null},w.ontimeout=function(){var $=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",C=f.transitional||u;f.timeoutErrorMessage&&($=f.timeoutErrorMessage),h(new l($,C.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,f,w)),w=null},e.isStandardBrowserEnv()){var A=(f.withCredentials||o(E))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;A&&(b[f.xsrfHeaderName]=A)}"setRequestHeader"in w&&e.forEach(b,function($,C){typeof _>"u"&&C.toLowerCase()==="content-type"?delete b[C]:w.setRequestHeader(C,$)}),e.isUndefined(f.withCredentials)||(w.withCredentials=!!f.withCredentials),m&&m!=="json"&&(w.responseType=f.responseType),typeof f.onDownloadProgress=="function"&&w.addEventListener("progress",f.onDownloadProgress),typeof f.onUploadProgress=="function"&&w.upload&&w.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(v=function(N){w&&(h(!N||N&&N.type?new c:N),w.abort(),w=null)},f.cancelToken&&f.cancelToken.subscribe(v),f.signal&&(f.signal.aborted?v():f.signal.addEventListener("abort",v))),_||(_=null);var L=d(E);if(L&&["http","https","file"].indexOf(L)===-1){h(new l("Unsupported protocol "+L+":",l.ERR_BAD_REQUEST,f));return}w.send(_)})},vo}var ho,$c;function sO(){return $c||($c=1,ho=null),ho}var De=Ue,jc=ZE,Bc=_r,cO=zv,fO=Wv(),dO={"Content-Type":"application/x-www-form-urlencoded"};function Fc(e,t){!De.isUndefined(e)&&De.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function pO(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Dc()),e}function vO(e,t,n){if(De.isString(e))try{return(t||JSON.parse)(e),De.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var La={transitional:cO,adapter:pO(),transformRequest:[function(t,n){if(jc(n,"Accept"),jc(n,"Content-Type"),De.isFormData(t)||De.isArrayBuffer(t)||De.isBuffer(t)||De.isStream(t)||De.isFile(t)||De.isBlob(t))return t;if(De.isArrayBufferView(t))return t.buffer;if(De.isURLSearchParams(t))return Fc(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=De.isObject(t),i=n&&n["Content-Type"],a;if((a=De.isFileList(t))||r&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return fO(a?{"files[]":t}:t,o&&new o)}else if(r||i==="application/json")return Fc(n,"application/json"),vO(t);return t}],transformResponse:[function(t){var n=this.transitional||La.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&De.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?Bc.from(o,Bc.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sO()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};De.forEach(["delete","get","head"],function(t){La.headers[t]={}});De.forEach(["post","put","patch"],function(t){La.headers[t]=De.merge(dO)});var xl=La,hO=Ue,mO=xl,yO=function(t,n,r){var i=this||mO;return hO.forEach(r,function(o){t=o.call(i,t,n)}),t},mo,Uc;function Gv(){return Uc||(Uc=1,mo=function(t){return!!(t&&t.__CANCEL__)}),mo}var xc=Ue,yo=yO,gO=Gv(),bO=xl,_O=Ca();function go(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _O}var wO=function(t){go(t),t.headers=t.headers||{},t.data=yo.call(t,t.data,t.headers,t.transformRequest),t.headers=xc.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),xc.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||bO.adapter;return n(t).then(function(i){return go(t),i.data=yo.call(t,i.data,i.headers,t.transformResponse),i},function(i){return gO(i)||(go(t),i&&i.response&&(i.response.data=yo.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},Xe=Ue,Vv=function(t,n){n=n||{};var r={};function i(d,s){return Xe.isPlainObject(d)&&Xe.isPlainObject(s)?Xe.merge(d,s):Xe.isPlainObject(s)?Xe.merge({},s):Xe.isArray(s)?s.slice():s}function a(d){if(Xe.isUndefined(n[d])){if(!Xe.isUndefined(t[d]))return i(void 0,t[d])}else return i(t[d],n[d])}function o(d){if(!Xe.isUndefined(n[d]))return i(void 0,n[d])}function u(d){if(Xe.isUndefined(n[d])){if(!Xe.isUndefined(t[d]))return i(void 0,t[d])}else return i(void 0,n[d])}function l(d){if(d in n)return i(t[d],n[d]);if(d in t)return i(void 0,t[d])}var c={url:o,method:o,data:o,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l};return Xe.forEach(Object.keys(t).concat(Object.keys(n)),function(s){var f=c[s]||a,p=f(s);Xe.isUndefined(p)&&f!==l||(r[s]=p)}),r},bo,Hc;function Yv(){return Hc||(Hc=1,bo={version:"0.27.2"}),bo}var EO=Yv().version,Kt=_r,Hl={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Hl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Kc={};Hl.transitional=function(t,n,r){function i(a,o){return"[Axios v"+EO+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return function(a,o,u){if(t===!1)throw new Kt(i(o," has been removed"+(n?" in "+n:"")),Kt.ERR_DEPRECATED);return n&&!Kc[o]&&(Kc[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}};function OO(e,t,n){if(typeof e!="object")throw new Kt("options must be an object",Kt.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var a=r[i],o=t[a];if(o){var u=e[a],l=u===void 0||o(u,a,e);if(l!==!0)throw new Kt("option "+a+" must be "+l,Kt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Kt("Unknown option "+a,Kt.ERR_BAD_OPTION)}}var SO={assertOptions:OO,validators:Hl},Xv=Ue,PO=Uv,zc=QE,Wc=wO,Ra=Vv,AO=qv,Qv=SO,Nn=Qv.validators;function or(e){this.defaults=e,this.interceptors={request:new zc,response:new zc}}or.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ra(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Qv.assertOptions(r,{silentJSONParsing:Nn.transitional(Nn.boolean),forcedJSONParsing:Nn.transitional(Nn.boolean),clarifyTimeoutError:Nn.transitional(Nn.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(a=a&&p.synchronous,i.unshift(p.fulfilled,p.rejected))});var o=[];this.interceptors.response.forEach(function(p){o.push(p.fulfilled,p.rejected)});var u;if(!a){var l=[Wc,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),u=Promise.resolve(n);l.length;)u=u.then(l.shift(),l.shift());return u}for(var c=n;i.length;){var d=i.shift(),s=i.shift();try{c=d(c)}catch(f){s(f);break}}try{u=Wc(c)}catch(f){return Promise.reject(f)}for(;o.length;)u=u.then(o.shift(),o.shift());return u};or.prototype.getUri=function(t){t=Ra(this.defaults,t);var n=AO(t.baseURL,t.url);return PO(n,t.params,t.paramsSerializer)};Xv.forEach(["delete","get","head","options"],function(t){or.prototype[t]=function(n,r){return this.request(Ra(r||{},{method:t,url:n,data:(r||{}).data}))}});Xv.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Ra(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}or.prototype[t]=n(),or.prototype[t+"Form"]=n(!0)});var TO=or,_o,qc;function IO(){if(qc)return _o;qc=1;var e=Ca();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(a){if(i._listeners){var o,u=i._listeners.length;for(o=0;o<u;o++)i._listeners[o](a);i._listeners=null}}),this.promise.then=function(a){var o,u=new Promise(function(l){i.subscribe(l),o=l}).then(a);return u.cancel=function(){i.unsubscribe(o)},u},n(function(o){i.reason||(i.reason=new e(o),r(i.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},t.prototype.unsubscribe=function(r){if(this._listeners){var i=this._listeners.indexOf(r);i!==-1&&this._listeners.splice(i,1)}},t.source=function(){var r,i=new t(function(o){r=o});return{token:i,cancel:r}},_o=t,_o}var wo,Gc;function CO(){return Gc||(Gc=1,wo=function(t){return function(r){return t.apply(null,r)}}),wo}var Eo,Vc;function LO(){if(Vc)return Eo;Vc=1;var e=Ue;return Eo=function(n){return e.isObject(n)&&n.isAxiosError===!0},Eo}var Yc=Ue,RO=jv,ji=TO,kO=Vv,NO=xl;function Jv(e){var t=new ji(e),n=RO(ji.prototype.request,t);return Yc.extend(n,ji.prototype,t),Yc.extend(n,t),n.create=function(i){return Jv(kO(e,i))},n}var Ge=Jv(NO);Ge.Axios=ji;Ge.CanceledError=Ca();Ge.CancelToken=IO();Ge.isCancel=Gv();Ge.VERSION=Yv().version;Ge.toFormData=Wv();Ge.AxiosError=_r;Ge.Cancel=Ge.CanceledError;Ge.all=function(t){return Promise.all(t)};Ge.spread=CO();Ge.isAxiosError=LO();Dl.exports=Ge;Dl.exports.default=Ge;var MO=Dl.exports,DO=MO;const $O=An(DO);var jO=Function.prototype.toString,Oo=Object.create,BO=Object.defineProperty,FO=Object.getOwnPropertyDescriptor,Xc=Object.getOwnPropertyNames,Kl=Object.getOwnPropertySymbols,UO=Object.getPrototypeOf,Zv=Object.prototype,xO=Zv.hasOwnProperty,HO=Zv.propertyIsEnumerable,eh=typeof Kl=="function",KO=typeof WeakMap=="function",zO=function(){if(KO)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}}(),th=function(e,t){var n=e.__proto__||UO(e);if(!n)return Oo(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Oo(n);if(~jO.call(r).indexOf("[native code]"))try{return new r}catch{}return Oo(n)},WO=function(e,t,n,r){var i=th(e,t);r.set(e,i);for(var a in e)xO.call(e,a)&&(i[a]=n(e[a],r));if(eh)for(var o=Kl(e),u=0,l=o.length,c=void 0;u<l;++u)c=o[u],HO.call(e,c)&&(i[c]=n(e[c],r));return i},Qc=function(e,t,n,r){var i=th(e,t);r.set(e,i);for(var a=eh?Xc(e).concat(Kl(e)):Xc(e),o=0,u=a.length,l=void 0,c=void 0;o<u;++o)if(l=a[o],l!=="callee"&&l!=="caller")if(c=FO(e,l),c){!c.get&&!c.set&&(c.value=n(e[l],r));try{BO(i,l,c)}catch{i[l]=c.value}}else i[l]=n(e[l],r);return i},qO=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},GO=Array.isArray,VO=Object.getPrototypeOf,YO=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 Le(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||YO,i=n?Qc:WO,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var l=o.__proto__||VO(o),c=l&&l.constructor;if(!c||c===r.Object)return i(o,r,a,u);var d;if(GO(o)){if(n)return Qc(o,r,a,u);d=new c,u.set(o,d);for(var s=0,f=o.length;s<f;++s)d[s]=a(o[s],u);return d}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return d=new c(o.source,o.flags||qO(o)),d.lastIndex=o.lastIndex,d;if(r.Map&&o instanceof r.Map)return d=new c,u.set(o,d),o.forEach(function(p,g){d.set(g,a(p,u))}),d;if(r.Set&&o instanceof r.Set)return d=new c,u.set(o,d),o.forEach(function(p){d.add(a(p,u))}),d;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return d=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,d),o.copy(d),d;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return d=new c(o.buffer.slice(0)),u.set(o,d),d;if(o instanceof r.ArrayBuffer)return d=o.slice(0),u.set(o,d),d}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,zO())}Le.default=Le;Le.strict=function(t,n){return Le(t,{isStrict:!0,realm:n?n.realm:void 0})};var XO=Error,QO=EvalError,JO=RangeError,ZO=ReferenceError,nh=SyntaxError,ka=TypeError,eS=URIError,tS=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(n 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 a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,n);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Jc=typeof Symbol<"u"&&Symbol,nS=tS,rS=function(){return typeof Jc!="function"||typeof Symbol!="function"||typeof Jc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:nS()},Zc={foo:{}},iS=Object,aS=function(){return{__proto__:Zc}.foo===Zc.foo&&!({__proto__:null}instanceof iS)},oS="Function.prototype.bind called on incompatible ",uS=Object.prototype.toString,lS=Math.max,sS="[object Function]",ef=function(t,n){for(var r=[],i=0;i<t.length;i+=1)r[i]=t[i];for(var a=0;a<n.length;a+=1)r[a+t.length]=n[a];return r},cS=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},fS=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},dS=function(t){var n=this;if(typeof n!="function"||uS.apply(n)!==sS)throw new TypeError(oS+n);for(var r=cS(arguments,1),i,a=function(){if(this instanceof i){var d=n.apply(this,ef(r,arguments));return Object(d)===d?d:this}return n.apply(t,ef(r,arguments))},o=lS(0,n.length-r.length),u=[],l=0;l<o;l++)u[l]="$"+l;if(i=Function("binder","return function ("+fS(u,",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i},pS=dS,zl=Function.prototype.bind||pS,vS=Function.prototype.call,hS=Object.prototype.hasOwnProperty,mS=zl,yS=mS.call(vS,hS),oe,gS=XO,bS=QO,_S=JO,wS=ZO,ur=nh,Vn=ka,ES=eS,rh=Function,So=function(e){try{return rh('"use strict"; return ('+e+").constructor;")()}catch{}},_n=Object.getOwnPropertyDescriptor;if(_n)try{_n({},"")}catch{_n=null}var Po=function(){throw new Vn},OS=_n?function(){try{return arguments.callee,Po}catch{try{return _n(arguments,"callee").get}catch{return Po}}}():Po,Mn=rS(),SS=aS(),$e=Object.getPrototypeOf||(SS?function(e){return e.__proto__}:null),jn={},PS=typeof Uint8Array>"u"||!$e?oe:$e(Uint8Array),wn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?oe:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?oe:ArrayBuffer,"%ArrayIteratorPrototype%":Mn&&$e?$e([][Symbol.iterator]()):oe,"%AsyncFromSyncIteratorPrototype%":oe,"%AsyncFunction%":jn,"%AsyncGenerator%":jn,"%AsyncGeneratorFunction%":jn,"%AsyncIteratorPrototype%":jn,"%Atomics%":typeof Atomics>"u"?oe:Atomics,"%BigInt%":typeof BigInt>"u"?oe:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?oe:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?oe:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?oe:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":gS,"%eval%":eval,"%EvalError%":bS,"%Float32Array%":typeof Float32Array>"u"?oe:Float32Array,"%Float64Array%":typeof Float64Array>"u"?oe:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?oe:FinalizationRegistry,"%Function%":rh,"%GeneratorFunction%":jn,"%Int8Array%":typeof Int8Array>"u"?oe:Int8Array,"%Int16Array%":typeof Int16Array>"u"?oe:Int16Array,"%Int32Array%":typeof Int32Array>"u"?oe:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Mn&&$e?$e($e([][Symbol.iterator]())):oe,"%JSON%":typeof JSON=="object"?JSON:oe,"%Map%":typeof Map>"u"?oe:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Mn||!$e?oe:$e(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?oe:Promise,"%Proxy%":typeof Proxy>"u"?oe:Proxy,"%RangeError%":_S,"%ReferenceError%":wS,"%Reflect%":typeof Reflect>"u"?oe:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?oe:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Mn||!$e?oe:$e(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?oe:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Mn&&$e?$e(""[Symbol.iterator]()):oe,"%Symbol%":Mn?Symbol:oe,"%SyntaxError%":ur,"%ThrowTypeError%":OS,"%TypedArray%":PS,"%TypeError%":Vn,"%Uint8Array%":typeof Uint8Array>"u"?oe:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?oe:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?oe:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?oe:Uint32Array,"%URIError%":ES,"%WeakMap%":typeof WeakMap>"u"?oe:WeakMap,"%WeakRef%":typeof WeakRef>"u"?oe:WeakRef,"%WeakSet%":typeof WeakSet>"u"?oe:WeakSet};if($e)try{null.error}catch(e){var AS=$e($e(e));wn["%Error.prototype%"]=AS}var TS=function e(t){var n;if(t==="%AsyncFunction%")n=So("async function () {}");else if(t==="%GeneratorFunction%")n=So("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=So("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&$e&&(n=$e(i.prototype))}return wn[t]=n,n},tf={__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"]},ui=zl,aa=yS,IS=ui.call(Function.call,Array.prototype.concat),CS=ui.call(Function.apply,Array.prototype.splice),nf=ui.call(Function.call,String.prototype.replace),oa=ui.call(Function.call,String.prototype.slice),LS=ui.call(Function.call,RegExp.prototype.exec),RS=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,kS=/\\(\\)?/g,NS=function(t){var n=oa(t,0,1),r=oa(t,-1);if(n==="%"&&r!=="%")throw new ur("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new ur("invalid intrinsic syntax, expected opening `%`");var i=[];return nf(t,RS,function(a,o,u,l){i[i.length]=u?nf(l,kS,"$1"):o||a}),i},MS=function(t,n){var r=t,i;if(aa(tf,r)&&(i=tf[r],r="%"+i[0]+"%"),aa(wn,r)){var a=wn[r];if(a===jn&&(a=TS(r)),typeof a>"u"&&!n)throw new Vn("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new ur("intrinsic "+t+" does not exist!")},wr=function(t,n){if(typeof t!="string"||t.length===0)throw new Vn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Vn('"allowMissing" argument must be a boolean');if(LS(/^%?[^%]*%?$/,t)===null)throw new ur("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=NS(t),i=r.length>0?r[0]:"",a=MS("%"+i+"%",n),o=a.name,u=a.value,l=!1,c=a.alias;c&&(i=c[0],CS(r,IS([0,1],c)));for(var d=1,s=!0;d<r.length;d+=1){var f=r[d],p=oa(f,0,1),g=oa(f,-1);if((p==='"'||p==="'"||p==="`"||g==='"'||g==="'"||g==="`")&&p!==g)throw new ur("property names with quotes must have matching quotes");if((f==="constructor"||!s)&&(l=!0),i+="."+f,o="%"+i+"%",aa(wn,o))u=wn[o];else if(u!=null){if(!(f in u)){if(!n)throw new Vn("base intrinsic for "+t+" exists, but the property is not available.");return}if(_n&&d+1>=r.length){var h=_n(u,f);s=!!h,s&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[f]}else s=aa(u,f),u=u[f];s&&!l&&(wn[o]=u)}}return u},ih={exports:{}},Ao,rf;function Wl(){if(rf)return Ao;rf=1;var e=wr,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Ao=t,Ao}var DS=wr,Bi=DS("%Object.getOwnPropertyDescriptor%",!0);if(Bi)try{Bi([],"length")}catch{Bi=null}var ah=Bi,af=Wl(),$S=nh,Dn=ka,of=ah,jS=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Dn("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Dn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Dn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Dn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Dn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Dn("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,l=!!of&&of(t,n);if(af)af(t,n,{configurable:o===null&&l?l.configurable:!o,enumerable:i===null&&l?l.enumerable:!i,value:r,writable:a===null&&l?l.writable:!a});else if(u||!i&&!a&&!o)t[n]=r;else throw new $S("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},yu=Wl(),oh=function(){return!!yu};oh.hasArrayLengthDefineBug=function(){if(!yu)return null;try{return yu([],"length",{value:1}).length!==1}catch{return!0}};var BS=oh,FS=wr,uf=jS,US=BS(),lf=ah,sf=ka,xS=FS("%Math.floor%"),HS=function(t,n){if(typeof t!="function")throw new sf("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||xS(n)!==n)throw new sf("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&lf){var o=lf(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(US?uf(t,"length",n,!0,!0):uf(t,"length",n)),t};(function(e){var t=zl,n=wr,r=HS,i=ka,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),l=Wl(),c=n("%Math.max%");e.exports=function(f){if(typeof f!="function")throw new i("a function is required");var p=u(t,o,arguments);return r(p,1+c(0,f.length-(arguments.length-1)),!0)};var d=function(){return u(t,a,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d})(ih);var KS=ih.exports,uh=wr,lh=KS,zS=lh(uh("String.prototype.indexOf")),WS=function(t,n){var r=uh(t,!!n);return typeof r=="function"&&zS(t,".prototype.")>-1?lh(r):r};const qS={},GS=Object.freeze(Object.defineProperty({__proto__:null,default:qS},Symbol.toStringTag,{value:"Module"})),VS=dd(GS);var ql=typeof Map=="function"&&Map.prototype,To=Object.getOwnPropertyDescriptor&&ql?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ua=ql&&To&&typeof To.get=="function"?To.get:null,cf=ql&&Map.prototype.forEach,Gl=typeof Set=="function"&&Set.prototype,Io=Object.getOwnPropertyDescriptor&&Gl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,la=Gl&&Io&&typeof Io.get=="function"?Io.get:null,ff=Gl&&Set.prototype.forEach,YS=typeof WeakMap=="function"&&WeakMap.prototype,jr=YS?WeakMap.prototype.has:null,XS=typeof WeakSet=="function"&&WeakSet.prototype,Br=XS?WeakSet.prototype.has:null,QS=typeof WeakRef=="function"&&WeakRef.prototype,df=QS?WeakRef.prototype.deref:null,JS=Boolean.prototype.valueOf,ZS=Object.prototype.toString,e2=Function.prototype.toString,t2=String.prototype.match,Vl=String.prototype.slice,Vt=String.prototype.replace,n2=String.prototype.toUpperCase,pf=String.prototype.toLowerCase,sh=RegExp.prototype.test,vf=Array.prototype.concat,yt=Array.prototype.join,r2=Array.prototype.slice,hf=Math.floor,gu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Co=Object.getOwnPropertySymbols,bu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,lr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ze=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===lr||"symbol")?Symbol.toStringTag:null,ch=Object.prototype.propertyIsEnumerable,mf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function yf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||sh.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-hf(-e):hf(e);if(r!==e){var i=String(r),a=Vl.call(t,i.length+1);return Vt.call(i,n,"$&_")+"."+Vt.call(Vt.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Vt.call(t,n,"$&_")}var _u=VS,gf=_u.custom,bf=dh(gf)?gf:null,i2=function e(t,n,r,i){var a=n||{};if(zt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(zt(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=zt(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(zt(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(zt(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 vh(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return u?yf(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return u?yf(t,c):c}var d=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=d&&d>0&&typeof t=="object")return wu(t)?"[Array]":"[Object]";var s=E2(a,r);if(typeof i>"u")i=[];else if(ph(i,t)>=0)return"[Circular]";function f($,C,I){if(C&&(i=r2.call(i),i.push(C)),I){var R={depth:a.depth};return zt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e($,R,r+1,i)}return e($,a,r+1,i)}if(typeof t=="function"&&!_f(t)){var p=p2(t),g=mi(t,f);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(g.length>0?" { "+yt.call(g,", ")+" }":"")}if(dh(t)){var h=lr?Vt.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):bu.call(t);return typeof t=="object"&&!lr?Cr(h):h}if(b2(t)){for(var _="<"+pf.call(String(t.nodeName)),b=t.attributes||[],m=0;m<b.length;m++)_+=" "+b[m].name+"="+fh(a2(b[m].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+pf.call(String(t.nodeName))+">",_}if(wu(t)){if(t.length===0)return"[]";var v=mi(t,f);return s&&!w2(v)?"["+Eu(v,s)+"]":"[ "+yt.call(v,", ")+" ]"}if(u2(t)){var y=mi(t,f);return!("cause"in Error.prototype)&&"cause"in t&&!ch.call(t,"cause")?"{ ["+String(t)+"] "+yt.call(vf.call("[cause]: "+f(t.cause),y),", ")+" }":y.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+yt.call(y,", ")+" }"}if(typeof t=="object"&&o){if(bf&&typeof t[bf]=="function"&&_u)return _u(t,{depth:d-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(v2(t)){var w=[];return cf&&cf.call(t,function($,C){w.push(f(C,t,!0)+" => "+f($,t))}),wf("Map",ua.call(t),w,s)}if(y2(t)){var S=[];return ff&&ff.call(t,function($){S.push(f($,t))}),wf("Set",la.call(t),S,s)}if(h2(t))return Lo("WeakMap");if(g2(t))return Lo("WeakSet");if(m2(t))return Lo("WeakRef");if(s2(t))return Cr(f(Number(t)));if(f2(t))return Cr(f(gu.call(t)));if(c2(t))return Cr(JS.call(t));if(l2(t))return Cr(f(String(t)));if(t===Q)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!o2(t)&&!_f(t)){var O=mi(t,f),E=mf?mf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!E&&ze&&Object(t)===t&&ze in t?Vl.call(un(t),8,-1):P?"Object":"",L=E||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",N=L+(A||P?"["+yt.call(vf.call([],A||[],P||[]),": ")+"] ":"");return O.length===0?N+"{}":s?N+"{"+Eu(O,s)+"}":N+"{ "+yt.call(O,", ")+" }"}return String(t)};function fh(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function a2(e){return Vt.call(String(e),/"/g,"&quot;")}function wu(e){return un(e)==="[object Array]"&&(!ze||!(typeof e=="object"&&ze in e))}function o2(e){return un(e)==="[object Date]"&&(!ze||!(typeof e=="object"&&ze in e))}function _f(e){return un(e)==="[object RegExp]"&&(!ze||!(typeof e=="object"&&ze in e))}function u2(e){return un(e)==="[object Error]"&&(!ze||!(typeof e=="object"&&ze in e))}function l2(e){return un(e)==="[object String]"&&(!ze||!(typeof e=="object"&&ze in e))}function s2(e){return un(e)==="[object Number]"&&(!ze||!(typeof e=="object"&&ze in e))}function c2(e){return un(e)==="[object Boolean]"&&(!ze||!(typeof e=="object"&&ze in e))}function dh(e){if(lr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!bu)return!1;try{return bu.call(e),!0}catch{}return!1}function f2(e){if(!e||typeof e!="object"||!gu)return!1;try{return gu.call(e),!0}catch{}return!1}var d2=Object.prototype.hasOwnProperty||function(e){return e in this};function zt(e,t){return d2.call(e,t)}function un(e){return ZS.call(e)}function p2(e){if(e.name)return e.name;var t=t2.call(e2.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ph(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 v2(e){if(!ua||!e||typeof e!="object")return!1;try{ua.call(e);try{la.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function h2(e){if(!jr||!e||typeof e!="object")return!1;try{jr.call(e,jr);try{Br.call(e,Br)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function m2(e){if(!df||!e||typeof e!="object")return!1;try{return df.call(e),!0}catch{}return!1}function y2(e){if(!la||!e||typeof e!="object")return!1;try{la.call(e);try{ua.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function g2(e){if(!Br||!e||typeof e!="object")return!1;try{Br.call(e,Br);try{jr.call(e,jr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function b2(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function vh(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return vh(Vl.call(e,0,t.maxStringLength),t)+r}var i=Vt.call(Vt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,_2);return fh(i,"single",t)}function _2(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":"")+n2.call(t.toString(16))}function Cr(e){return"Object("+e+")"}function Lo(e){return e+" { ? }"}function wf(e,t,n,r){var i=r?Eu(n,r):yt.call(n,", ");return e+" ("+t+") {"+i+"}"}function w2(e){for(var t=0;t<e.length;t++)if(ph(e[t],`
9
+ `)>=0)return!1;return!0}function E2(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=yt.call(Array(e.indent+1)," ");else return null;return{base:n,prev:yt.call(Array(t+1),n)}}function Eu(e,t){if(e.length===0)return"";var n=`
10
+ `+t.prev+t.base;return n+yt.call(e,","+n)+`
11
+ `+t.prev}function mi(e,t){var n=wu(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=zt(e,i)?t(e[i],e):""}var a=typeof Co=="function"?Co(e):[],o;if(lr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var l in e)zt(e,l)&&(n&&String(Number(l))===l&&l<e.length||lr&&o["$"+l]instanceof Symbol||(sh.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if(typeof Co=="function")for(var c=0;c<a.length;c++)ch.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var Yl=wr,Er=WS,O2=i2,S2=Yl("%TypeError%"),yi=Yl("%WeakMap%",!0),gi=Yl("%Map%",!0),P2=Er("WeakMap.prototype.get",!0),A2=Er("WeakMap.prototype.set",!0),T2=Er("WeakMap.prototype.has",!0),I2=Er("Map.prototype.get",!0),C2=Er("Map.prototype.set",!0),L2=Er("Map.prototype.has",!0),Xl=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},R2=function(e,t){var n=Xl(e,t);return n&&n.value},k2=function(e,t,n){var r=Xl(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},N2=function(e,t){return!!Xl(e,t)},M2=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new S2("Side channel does not contain "+O2(a))},get:function(a){if(yi&&a&&(typeof a=="object"||typeof a=="function")){if(t)return P2(t,a)}else if(gi){if(n)return I2(n,a)}else if(r)return R2(r,a)},has:function(a){if(yi&&a&&(typeof a=="object"||typeof a=="function")){if(t)return T2(t,a)}else if(gi){if(n)return L2(n,a)}else if(r)return N2(r,a);return!1},set:function(a,o){yi&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new yi),A2(t,a,o)):gi?(n||(n=new gi),C2(n,a,o)):(r||(r={key:{},next:null}),k2(r,a,o))}};return i},D2=String.prototype.replace,$2=/%20/g,Ro={RFC1738:"RFC1738",RFC3986:"RFC3986"},Ql={default:Ro.RFC3986,formatters:{RFC1738:function(e){return D2.call(e,$2,"+")},RFC3986:function(e){return String(e)}},RFC1738:Ro.RFC1738,RFC3986:Ro.RFC3986},j2=Ql,ko=Object.prototype.hasOwnProperty,pn=Array.isArray,mt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),B2=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(pn(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},hh=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},F2=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(pn(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!ko.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return pn(t)&&!pn(n)&&(i=hh(t,r)),pn(t)&&pn(n)?(n.forEach(function(a,o){if(ko.call(t,o)){var u=t[o];u&&typeof u=="object"&&a&&typeof a=="object"?t[o]=e(u,a,r):t.push(a)}else t[o]=a}),t):Object.keys(n).reduce(function(a,o){var u=n[o];return ko.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},U2=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},x2=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}},H2=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(d){return"%26%23"+parseInt(d.slice(2),16)+"%3B"});for(var u="",l=0;l<o.length;++l){var c=o.charCodeAt(l);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===j2.RFC1738&&(c===40||c===41)){u+=o.charAt(l);continue}if(c<128){u=u+mt[c];continue}if(c<2048){u=u+(mt[192|c>>6]+mt[128|c&63]);continue}if(c<55296||c>=57344){u=u+(mt[224|c>>12]+mt[128|c>>6&63]+mt[128|c&63]);continue}l+=1,c=65536+((c&1023)<<10|o.charCodeAt(l)&1023),u+=mt[240|c>>18]+mt[128|c>>12&63]+mt[128|c>>6&63]+mt[128|c&63]}return u},K2=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),l=0;l<u.length;++l){var c=u[l],d=o[c];typeof d=="object"&&d!==null&&r.indexOf(d)===-1&&(n.push({obj:o,prop:c}),r.push(d))}return B2(n),t},z2=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},W2=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},q2=function(t,n){return[].concat(t,n)},G2=function(t,n){if(pn(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},mh={arrayToObject:hh,assign:U2,combine:q2,compact:K2,decode:x2,encode:H2,isBuffer:W2,isRegExp:z2,maybeMap:G2,merge:F2},yh=M2,Fi=mh,Fr=Ql,V2=Object.prototype.hasOwnProperty,Ef={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Pt=Array.isArray,Y2=Array.prototype.push,gh=function(e,t){Y2.apply(e,Pt(t)?t:[t])},X2=Date.prototype.toISOString,Of=Fr.default,xe={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Fi.encode,encodeValuesOnly:!1,format:Of,formatter:Fr.formatters[Of],indices:!1,serializeDate:function(t){return X2.call(t)},skipNulls:!1,strictNullHandling:!1},Q2=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},No={},J2=function e(t,n,r,i,a,o,u,l,c,d,s,f,p,g,h,_){for(var b=t,m=_,v=0,y=!1;(m=m.get(No))!==void 0&&!y;){var w=m.get(t);if(v+=1,typeof w<"u"){if(w===v)throw new RangeError("Cyclic object value");y=!0}typeof m.get(No)>"u"&&(v=0)}if(typeof l=="function"?b=l(n,b):b instanceof Date?b=s(b):r==="comma"&&Pt(b)&&(b=Fi.maybeMap(b,function(R){return R instanceof Date?s(R):R})),b===null){if(a)return u&&!g?u(n,xe.encoder,h,"key",f):n;b=""}if(Q2(b)||Fi.isBuffer(b)){if(u){var S=g?n:u(n,xe.encoder,h,"key",f);return[p(S)+"="+p(u(b,xe.encoder,h,"value",f))]}return[p(n)+"="+p(String(b))]}var O=[];if(typeof b>"u")return O;var E;if(r==="comma"&&Pt(b))g&&u&&(b=Fi.maybeMap(b,u)),E=[{value:b.length>0?b.join(",")||null:void 0}];else if(Pt(l))E=l;else{var P=Object.keys(b);E=c?P.sort(c):P}for(var A=i&&Pt(b)&&b.length===1?n+"[]":n,L=0;L<E.length;++L){var N=E[L],$=typeof N=="object"&&typeof N.value<"u"?N.value:b[N];if(!(o&&$===null)){var C=Pt(b)?typeof r=="function"?r(A,N):A:A+(d?"."+N:"["+N+"]");_.set(t,v);var I=yh();I.set(No,_),gh(O,e($,C,r,i,a,o,r==="comma"&&g&&Pt(b)?null:u,l,c,d,s,f,p,g,h,I))}}return O},Z2=function(t){if(!t)return xe;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||xe.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=Fr.default;if(typeof t.format<"u"){if(!V2.call(Fr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=Fr.formatters[r],a=xe.filter;return(typeof t.filter=="function"||Pt(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:xe.addQueryPrefix,allowDots:typeof t.allowDots>"u"?xe.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:xe.charsetSentinel,delimiter:typeof t.delimiter>"u"?xe.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:xe.encode,encoder:typeof t.encoder=="function"?t.encoder:xe.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:xe.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:xe.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:xe.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:xe.strictNullHandling}},eP=function(e,t){var n=e,r=Z2(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Pt(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in Ef?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var l=Ef[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var d=yh(),s=0;s<i.length;++s){var f=i[s];r.skipNulls&&n[f]===null||gh(o,J2(n[f],f,l,c,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,d))}var p=o.join(r.delimiter),g=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),p.length>0?g+p:""},sr=mh,Ou=Object.prototype.hasOwnProperty,tP=Array.isArray,Me={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:sr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},nP=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},bh=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},rP="utf8=%26%2310003%3B",iP="utf8=%E2%9C%93",aP=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,a),u=-1,l,c=n.charset;if(n.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===iP?c="utf-8":o[l]===rP&&(c="iso-8859-1"),u=l,l=o.length);for(l=0;l<o.length;++l)if(l!==u){var d=o[l],s=d.indexOf("]="),f=s===-1?d.indexOf("="):s+1,p,g;f===-1?(p=n.decoder(d,Me.decoder,c,"key"),g=n.strictNullHandling?null:""):(p=n.decoder(d.slice(0,f),Me.decoder,c,"key"),g=sr.maybeMap(bh(d.slice(f+1),n),function(h){return n.decoder(h,Me.decoder,c,"value")})),g&&n.interpretNumericEntities&&c==="iso-8859-1"&&(g=nP(g)),d.indexOf("[]=")>-1&&(g=tP(g)?[g]:g),Ou.call(r,p)?r[p]=sr.combine(r[p],g):r[p]=g}return r},oP=function(e,t,n,r){for(var i=r?t:bh(t,n),a=e.length-1;a>=0;--a){var o,u=e[a];if(u==="[]"&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var l=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=parseInt(l,10);!n.parseArrays&&l===""?o={0:i}:!isNaN(c)&&u!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=i):l!=="__proto__"&&(o[l]=i)}i=o}return i},uP=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,l=r.depth>0&&o.exec(a),c=l?a.slice(0,l.index):a,d=[];if(c){if(!r.plainObjects&&Ou.call(Object.prototype,c)&&!r.allowPrototypes)return;d.push(c)}for(var s=0;r.depth>0&&(l=u.exec(a))!==null&&s<r.depth;){if(s+=1,!r.plainObjects&&Ou.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;d.push(l[1])}return l&&d.push("["+a.slice(l.index)+"]"),oP(d,n,r,i)}},lP=function(t){if(!t)return Me;if(t.decoder!==null&&t.decoder!==void 0&&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");var n=typeof t.charset>"u"?Me.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Me.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Me.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Me.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Me.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Me.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Me.comma,decoder:typeof t.decoder=="function"?t.decoder:Me.decoder,delimiter:typeof t.delimiter=="string"||sr.isRegExp(t.delimiter)?t.delimiter:Me.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Me.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Me.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Me.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Me.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Me.strictNullHandling}},sP=function(e,t){var n=lP(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?aP(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],l=uP(u,r[u],n,typeof e=="string");i=sr.merge(i,l,n)}return n.allowSparse===!0?i:sr.compact(i)},cP=eP,fP=sP,dP=Ql,pP={formats:dP,parse:fP,stringify:cP};const vP=An(pP);var Jl={exports:{}};class _h extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const hP=({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 d=Date.now();return d-i>t?(a=1,i=d,0):(a<e?a++:(i+=t,a=1),i-d)}const u=[];function l(){const d=Date.now();if(u.length<e)return u.push(d),0;const s=u.shift()+t;return d>=s?(u.push(d),0):(u.push(s),s-d)}const c=n?l:o;return d=>{const s=function(...f){if(!s.isEnabled)return(async()=>d.apply(this,f))();let p;return new Promise((g,h)=>{p=setTimeout(()=>{g(d.apply(this,f)),r.delete(p)},c()),r.set(p,h)})};return s.abort=()=>{for(const f of r.keys())clearTimeout(f),r.get(f)(new _h);r.clear(),u.splice(0,u.length)},s.isEnabled=!0,s}};Jl.exports=hP;Jl.exports.AbortError=_h;var mP=Jl.exports;const yP=An(mP);function gP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(d){c=!0,i=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Sf(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 xn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sf(Object(n),!0).forEach(function(r){bP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Su(e){"@babel/helpers - typeof";return Su=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},Su(e)}function Pu(){Pu=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)),sa(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,l){var c=o[l];if(typeof c=="number")u[l]=i[c];else{for(var d=0;i[c[d]]===void 0&&d+1<c.length;)d++;u[l]=i[c[d]]}return u},Object.create(null))}return _P(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(l,c){var d=o[c];return"$"+(Array.isArray(d)?d.join("$"):d)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(r(l,u)),a.apply(this,l)})}return e[Symbol.replace].call(this,i,a)},Pu.apply(this,arguments)}function bP(e,t,n){return t=AP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _P(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&&sa(e,t)}function sa(e,t){return sa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},sa(e,t)}function wP(e,t){return EP(e)||gP(e,t)||wh(e,t)||OP()}function EP(e){if(Array.isArray(e))return e}function wh(e,t){if(e){if(typeof e=="string")return Pf(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 Pf(e,t)}}function Pf(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 OP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SP(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=wh(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(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
+ 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 l=n.next();return a=l.done,l},e:function(l){o=!0,u=l},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function PP(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 AP(e){var t=PP(e,"string");return typeof t=="symbol"?t:String(t)}function TP(){return typeof process<"u"&&!process.browser}function IP(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function CP(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function LP(){return window}function Au(){}var Tu=Pu(/(\d+)(%)/,{value:1});function Mo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(Tu.test(e)){var r,i=(r=e.match(Tu))===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 Af(e,t){return t("info","Throttle request to ".concat(e,"/s")),yP({limit:e,interval:1e3,strict:!1})}var RP=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?Au:n,i=ms(t)?Mo(t):Mo("auto",t),a=Af(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),l=e.interceptors.response.use(function(c){if(!o&&ms(t)&&(t==="auto"||Tu.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var d=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),s=Mo(t,d);s!==i&&(u&&e.interceptors.request.eject(u),i=s,a=Af(s,r),u=e.interceptors.request.use(function(f){return a(function(){return f})()},function(f){return Promise.reject(f)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(l)}},kP=function(t){return new Promise(function(n){setTimeout(n,t)})},NP=function(t){return Math.pow(Math.SQRT2,t)};function MP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?Au:r,a=n.requestLogger,o=a===void 0?Au: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 l=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var d=c.attempts||1;if(d>t)return u.attempts=c.attempts,Promise.reject(u);var s=null,f=NP(d);return l?l.status>=500&&l.status<600?s="Server ".concat(l.status):l.status===429&&(s="Rate limit",l.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(f=l.headers["x-contentful-ratelimit-reset"])):s="Connection",s?(f=Math.floor(f*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(s," error occurred. Waiting for ").concat(f," ms before retrying...")),c.attempts=d+1,delete c.httpAgent,delete c.httpsAgent,kP(f).then(function(){return e(c)})):Promise.reject(u)})}function DP(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=xn(xn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var $P=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function Eh(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,_){if(h==="error"&&_){var b=[_.name,_.message].filter(function(m){return m}).join(" - ");console.error("[error] ".concat(b)),console.error(_);return}console.log("[".concat(h,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=xn(xn({},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,l=r.insecure?80:443;if(r.host&&$P.test(r.host)){var c=r.host.split(":");if(c.length===2){var d=wP(c,2);u=d[0],l=d[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var s=t.baseURL||"".concat(a,"://").concat(u,":").concat(l).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var f={baseURL:s,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:vP.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},p=e.create(f);return p.httpClientParams=t,p.cloneWithNewParams=function(g){return Eh(e,xn(xn({},Le(t)),g))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&DP(p,r.accessToken),r.throttle&&RP(p,r.throttle),MP(p,r.retryLimit),r.onError&&p.interceptors.response.use(function(g){return g},r.onError),p}function fn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=Le(t),n}function Oh(e){var t=Object.getOwnPropertyNames(e),n=SP(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&Su(a)==="object"&&Oh(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function rt(e){return Oh(e.sys||{}),e}function Tf(){var e=LP();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 jP(){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 BP(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{IP()?(a=Tf(),i.push("platform ReactNative")):TP()?(a=jP(),i.push("platform node.js/".concat(CP()))):(a=Tf(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Ve(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Le(this)}})}function st(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(!di(n)||!di(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:{}};di(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&di(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 l;u.message=(l=o==null?void 0:o.message)!==null&&l!==void 0?l:""}throw u}function FP(e){return rt(Ve(e))}const UP=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:FP},Symbol.toStringTag,{value:"Module"}));var Iu={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(l,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(l,c){if(o.length>0){var d=o.indexOf(this);~d?o.splice(d+1):o.push(this),~d?u.splice(d,1/0,l):u.push(l),~o.indexOf(c)&&(c=a.call(this,l,c))}else o.push(c);return i==null?c:i.call(this,l,c)}}})(Iu,Iu.exports);var xP=Iu.exports;const HP=An(xP);function Sh(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 HP(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var KP=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},zP=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),l;!(i=(l=u.next()).done)&&(r.push(l.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 Lr(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 Yr={},WP=function(t){return t&&t.sys&&t.sys.type==="Link"},qP=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},GP=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]},If=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)},VP=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=zP(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,l=i[3];return{spaceId:a,environmentId:u,entryId:l}}},YP=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=VP(o),l=u.spaceId,c=u.environmentId,d=u.entryId,s=a.split(":")[1];return If(t,{linkType:s,entryId:d,spaceId:l,environmentId:c})||Yr}var f=n.sys.id;return If(t,{linkType:a,entryId:f})||Yr},XP=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==Yr});for(var n in t)t[n]===Yr&&delete t[n];return t},QP=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":KP(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=XP(t))}return t},JP=function(t,n,r){var i=YP(t,n);return i===Yr?r?i:n:i},ZP=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},{})},Ph=function(t,n){if(n=n||{},!t.items)return[];var r=Le(t),i=Object.keys(r.includes||{}).reduce(function(u,l){return[].concat(Lr(u),Lr(t.includes[l]))},[]),a=[].concat(Lr(r.items),Lr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,l){var c=GP(l.sys).map(function(d){return[d,l]});return u.push.apply(u,Lr(c)),u},[]));return a.forEach(function(u){var l=ZP(u,n.itemEntryPoints);Object.assign(u,QP(l,function(c){return WP(c)||qP(c)},function(c){return JP(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function e5(e){return rt(Ve(Le(e)))}function t5(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=Sh(Ve(Le(e)));return n&&(i.items=Ph(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),rt(i)}const n5=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:e5,wrapEntryCollection:t5},Symbol.toStringTag,{value:"Module"}));function r5(e){return rt(Ve(Le(e)))}function i5(e){return rt(Ve(Le(e)))}const a5=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:r5,wrapAssetCollection:i5},Symbol.toStringTag,{value:"Module"}));function o5(e){return rt(Ve(Le(e)))}const u5=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:o5},Symbol.toStringTag,{value:"Module"}));function l5(e){return rt(Ve(Le(e)))}function s5(e){return rt(Ve(Le(e)))}const c5=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:l5,wrapContentTypeCollection:s5},Symbol.toStringTag,{value:"Module"}));function f5(e){return rt(Ve(Le(e)))}function d5(e){return rt(Ve(Le(e)))}const p5=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:f5,wrapLocaleCollection:d5},Symbol.toStringTag,{value:"Module"}));function v5(e){return rt(Ve(Le(e)))}function h5(e){return rt(Ve(Le(e)))}const m5=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:v5,wrapTagCollection:h5},Symbol.toStringTag,{value:"Module"})),sn={space:UP,entry:n5,asset:a5,assetKey:u5,contentType:c5,locale:p5,tag:m5};function Cf(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 Lf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cf(Object(n),!0).forEach(function(r){y5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function y5(e,t,n){return t=g5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g5(e){var t=b5(e,"string");return typeof t=="symbol"?t:String(t)}function b5(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 _5(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}=Lf(Lf({},r),n),l=await Ah(e,[],t,{paginate:o});i&&(l.items=Ph(l,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=w5(l.items);return l.nextSyncToken&&(c.nextSyncToken=l.nextSyncToken),l.nextPageToken&&(c.nextPageToken=l.nextPageToken),rt(Sh(Ve(c)))}function w5(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Ve(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 Ah(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",fn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=Do(o.nextPageUrl),Ah(e,t,n,{paginate:i})):{items:t,nextPageToken:Do(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:Do(o.nextSyncUrl)}:{items:[]}}function Do(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function Rf(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 kf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rf(Object(n),!0).forEach(function(r){E5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function E5(e,t,n){return t=O5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O5(e){var t=S5(e,"string");return typeof t=="symbol"?t:String(t)}function S5(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"),kf(kf({},e),{},{select:[...n].join(",")}))}class $o extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function P5(e,t,n){if(n=n||{},typeof t!="number")throw new $o(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new $o(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new $o(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function Nf(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 Mf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nf(Object(n),!0).forEach(function(r){A5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function A5(e,t,n){return t=T5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T5(e){var t=I5(e,"string");return typeof t=="symbol"?t:String(t)}function I5(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 C5=48*60*60;function L5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=sn.space,{wrapContentType:i,wrapContentTypeCollection:a}=sn.contentType,{wrapEntry:o,wrapEntryCollection:u}=sn.entry,{wrapAsset:l,wrapAssetCollection:c}=sn.asset,{wrapTag:d,wrapTagCollection:s}=sn.tag,{wrapAssetKey:f}=sn.assetKey,{wrapLocaleCollection:p}=sn.locale,g=C=>{const I=new Error("The resource could not be found.");return I.sys={type:"Error",id:"NotFound"},I.details={type:"Entry",id:C,environment:n().environment,space:n().space},I};async function h(){$(t);try{const C=await t.get("/");return r(C.data)}catch(C){st(C)}}async function _(C){N(t);try{const I=await t.get(`content_types/${C}`);return i(I.data)}catch(I){st(I)}}async function b(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);try{const I=await t.get("content_types",fn({query:C}));return a(I.data)}catch(I){st(I)}}async function m(C){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!C)throw g(C);try{const R=await this.getEntries(Mf({"sys.id":C},I));if(R.items.length>0)return o(R.items[0]);throw g(C)}catch(R){st(R)}}async function v(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);const{resolveLinks:I,removeUnresolved:R}=n(C);C=bi(C);try{const D=await t.get("entries",fn({query:C}));return u(D.data,{resolveLinks:I,removeUnresolved:R})}catch(D){st(D)}}async function y(C){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};N(t),I=bi(I);try{const R=await t.get(`assets/${C}`,fn({query:I}));return l(R.data)}catch(R){st(R)}}async function w(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t),C=bi(C);try{const I=await t.get("assets",fn({query:C}));return c(I.data)}catch(I){st(I)}}async function S(C){N(t);try{const I=await t.get(`tags/${C}`);return d(I.data)}catch(I){st(I)}}async function O(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t),C=bi(C);try{const I=await t.get("tags",fn({query:C}));return s(I.data)}catch(I){st(I)}}async function E(C){N(t);try{const I=Math.floor(Date.now()/1e3),R=I+C5;P5("expiresAt",C,{maximum:R,now:I});const D={expiresAt:C},B=await t.post("asset_keys",D);return f(B.data)}catch(I){st(I)}}async function P(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};N(t);try{const I=await t.get("locales",fn({query:C}));return p(I.data)}catch(I){st(I)}}async function A(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:R,removeUnresolved:D}=n(C);return N(t),_5(t,C,Mf({resolveLinks:R,removeUnresolved:D},I))}function L(C){const{resolveLinks:I,removeUnresolved:R}=n({});return u(C,{resolveLinks:I,removeUnresolved:R})}function N(C){C.defaults.baseURL=n().environmentBaseUrl}function $(C){C.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:_,getContentTypes:b,getEntry:m,getEntries:v,getAsset:y,getAssets:w,getTag:S,getTags:O,createAssetKey:E,getLocales:P,parseEntries:L,sync:A}}function R5(e){return function(n){return Object.assign({},e,n)}}function Df(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 _i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Df(Object(n),!0).forEach(function(r){k5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Df(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function k5(e,t,n){return t=N5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N5(e){var t=M5(e,"string");return typeof t=="symbol"?t:String(t)}function M5(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 pC(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=_i(_i({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=BP("contentful.js/9.3.5",n.application,n.integration);n.headers=_i(_i({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=Eh($O,n),a=R5({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,L5({http:i,getGlobalOptions:a})}var D5={};const Th=dd(er);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(C){return C&&typeof C=="object"&&"default"in C?C.default:C}var n=Th,r=t(n),i=function(){return i=Object.assign||function(I){for(var R,D=1,B=arguments.length;D<B;D++){R=arguments[D];for(var V in R)Object.prototype.hasOwnProperty.call(R,V)&&(I[V]=R[V])}return I},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Q<"u"?Q:typeof self<"u"?self:{};function o(C){return C&&C.__esModule&&Object.prototype.hasOwnProperty.call(C,"default")?C.default:C}function u(C,I){return I={exports:{}},C(I,I.exports),I.exports}var l=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.BLOCKS=void 0,function(R){R.DOCUMENT="document",R.PARAGRAPH="paragraph",R.HEADING_1="heading-1",R.HEADING_2="heading-2",R.HEADING_3="heading-3",R.HEADING_4="heading-4",R.HEADING_5="heading-5",R.HEADING_6="heading-6",R.OL_LIST="ordered-list",R.UL_LIST="unordered-list",R.LIST_ITEM="list-item",R.HR="hr",R.QUOTE="blockquote",R.EMBEDDED_ENTRY="embedded-entry-block",R.EMBEDDED_ASSET="embedded-asset-block",R.EMBEDDED_RESOURCE="embedded-resource-block",R.TABLE="table",R.TABLE_ROW="table-row",R.TABLE_CELL="table-cell",R.TABLE_HEADER_CELL="table-header-cell"}(I.BLOCKS||(I.BLOCKS={}))});o(l),l.BLOCKS;var c=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.INLINES=void 0,function(R){R.HYPERLINK="hyperlink",R.ENTRY_HYPERLINK="entry-hyperlink",R.ASSET_HYPERLINK="asset-hyperlink",R.RESOURCE_HYPERLINK="resource-hyperlink",R.EMBEDDED_ENTRY="embedded-entry-inline",R.EMBEDDED_RESOURCE="embedded-resource-inline"}(I.INLINES||(I.INLINES={}))});o(c),c.INLINES;var d=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0});var R;(function(D){D.BOLD="bold",D.ITALIC="italic",D.UNDERLINE="underline",D.CODE="code",D.SUPERSCRIPT="superscript",D.SUBSCRIPT="subscript"})(R||(R={})),I.default=R});o(d);var s=u(function(C,I){var R=a&&a.__spreadArray||function(W,Y,U){if(U||arguments.length===2)for(var F=0,z=Y.length,x;F<z;F++)(x||!(F in Y))&&(x||(x=Array.prototype.slice.call(Y,0,F)),x[F]=Y[F]);return W.concat(x||Array.prototype.slice.call(Y))},D=a&&a.__importDefault||function(W){return W&&W.__esModule?W:{default:W}},B;Object.defineProperty(I,"__esModule",{value:!0}),I.V1_MARKS=I.V1_NODE_TYPES=I.TEXT_CONTAINERS=I.HEADINGS=I.CONTAINERS=I.VOID_BLOCKS=I.TABLE_BLOCKS=I.LIST_ITEM_BLOCKS=I.TOP_LEVEL_BLOCKS=void 0;var V=D(d);I.TOP_LEVEL_BLOCKS=[l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE,l.BLOCKS.TABLE],I.LIST_ITEM_BLOCKS=[l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE],I.TABLE_BLOCKS=[l.BLOCKS.TABLE,l.BLOCKS.TABLE_ROW,l.BLOCKS.TABLE_CELL,l.BLOCKS.TABLE_HEADER_CELL],I.VOID_BLOCKS=[l.BLOCKS.HR,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,l.BLOCKS.EMBEDDED_RESOURCE],I.CONTAINERS=(B={},B[l.BLOCKS.OL_LIST]=[l.BLOCKS.LIST_ITEM],B[l.BLOCKS.UL_LIST]=[l.BLOCKS.LIST_ITEM],B[l.BLOCKS.LIST_ITEM]=I.LIST_ITEM_BLOCKS,B[l.BLOCKS.QUOTE]=[l.BLOCKS.PARAGRAPH],B[l.BLOCKS.TABLE]=[l.BLOCKS.TABLE_ROW],B[l.BLOCKS.TABLE_ROW]=[l.BLOCKS.TABLE_CELL,l.BLOCKS.TABLE_HEADER_CELL],B[l.BLOCKS.TABLE_CELL]=[l.BLOCKS.PARAGRAPH],B[l.BLOCKS.TABLE_HEADER_CELL]=[l.BLOCKS.PARAGRAPH],B),I.HEADINGS=[l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6],I.TEXT_CONTAINERS=R([l.BLOCKS.PARAGRAPH],I.HEADINGS,!0),I.V1_NODE_TYPES=[l.BLOCKS.DOCUMENT,l.BLOCKS.PARAGRAPH,l.BLOCKS.HEADING_1,l.BLOCKS.HEADING_2,l.BLOCKS.HEADING_3,l.BLOCKS.HEADING_4,l.BLOCKS.HEADING_5,l.BLOCKS.HEADING_6,l.BLOCKS.OL_LIST,l.BLOCKS.UL_LIST,l.BLOCKS.LIST_ITEM,l.BLOCKS.HR,l.BLOCKS.QUOTE,l.BLOCKS.EMBEDDED_ENTRY,l.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],I.V1_MARKS=[V.default.BOLD,V.default.CODE,V.default.ITALIC,V.default.UNDERLINE]});o(s),s.V1_MARKS,s.V1_NODE_TYPES,s.TEXT_CONTAINERS,s.HEADINGS,s.CONTAINERS,s.VOID_BLOCKS,s.TABLE_BLOCKS,s.LIST_ITEM_BLOCKS,s.TOP_LEVEL_BLOCKS;var f=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0})});o(f);var p=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0})});o(p);var g=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0});var R={nodeType:l.BLOCKS.DOCUMENT,data:{},content:[{nodeType:l.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};I.default=R});o(g);var h=u(function(C,I){Object.defineProperty(I,"__esModule",{value:!0}),I.isText=I.isBlock=I.isInline=void 0;function R(W,Y){for(var U=0,F=Object.keys(W);U<F.length;U++){var z=F[U];if(Y===W[z])return!0}return!1}function D(W){return R(c.INLINES,W.nodeType)}I.isInline=D;function B(W){return R(l.BLOCKS,W.nodeType)}I.isBlock=B;function V(W){return W.nodeType==="text"}I.isText=V});o(h),h.isText,h.isBlock,h.isInline;var _=u(function(C,I){var R=a&&a.__createBinding||(Object.create?function(U,F,z,x){x===void 0&&(x=z);var te=Object.getOwnPropertyDescriptor(F,z);(!te||("get"in te?!F.__esModule:te.writable||te.configurable))&&(te={enumerable:!0,get:function(){return F[z]}}),Object.defineProperty(U,x,te)}:function(U,F,z,x){x===void 0&&(x=z),U[x]=F[z]}),D=a&&a.__setModuleDefault||(Object.create?function(U,F){Object.defineProperty(U,"default",{enumerable:!0,value:F})}:function(U,F){U.default=F}),B=a&&a.__exportStar||function(U,F){for(var z in U)z!=="default"&&!Object.prototype.hasOwnProperty.call(F,z)&&R(F,U,z)},V=a&&a.__importStar||function(U){if(U&&U.__esModule)return U;var F={};if(U!=null)for(var z in U)z!=="default"&&Object.prototype.hasOwnProperty.call(U,z)&&R(F,U,z);return D(F,U),F},W=a&&a.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(I,"__esModule",{value:!0}),I.helpers=I.EMPTY_DOCUMENT=I.MARKS=I.INLINES=I.BLOCKS=void 0,Object.defineProperty(I,"BLOCKS",{enumerable:!0,get:function(){return l.BLOCKS}}),Object.defineProperty(I,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(I,"MARKS",{enumerable:!0,get:function(){return W(d).default}}),B(s,I),B(f,I),B(p,I),Object.defineProperty(I,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return W(g).default}});var Y=V(h);I.helpers=Y});o(_);var b=_.helpers;_.EMPTY_DOCUMENT;var m=_.MARKS,v=_.INLINES,y=_.BLOCKS;function w(C,I){return n.isValidElement(C)&&C.key===null?n.cloneElement(C,{key:I}):C}function S(C,I){return C.map(function(R,D){return w(O(R,I),D)})}function O(C,I){var R=I.renderNode,D=I.renderMark,B=I.renderText,V=I.preserveWhitespace;if(b.isText(C)){var W=B?B(C.value):C.value;if(V){W=W.replace(/ {2,}/g,function(z){return"&nbsp;".repeat(z.length)});var Y=W.split(`
14
+ `),U=[];Y.forEach(function(z,x){U.push(z),x!==Y.length-1&&U.push(r.createElement("br",null))}),W=U}return C.marks.reduce(function(z,x){return D[x.type]?D[x.type](z):z},W)}else{var F=S(C.content,I);return!C.nodeType||!R[C.nodeType]?r.createElement(r.Fragment,null,F):R[C.nodeType](C,F)}}var E,P,A=(E={},E[y.DOCUMENT]=function(C,I){return I},E[y.PARAGRAPH]=function(C,I){return r.createElement("p",null,I)},E[y.HEADING_1]=function(C,I){return r.createElement("h1",null,I)},E[y.HEADING_2]=function(C,I){return r.createElement("h2",null,I)},E[y.HEADING_3]=function(C,I){return r.createElement("h3",null,I)},E[y.HEADING_4]=function(C,I){return r.createElement("h4",null,I)},E[y.HEADING_5]=function(C,I){return r.createElement("h5",null,I)},E[y.HEADING_6]=function(C,I){return r.createElement("h6",null,I)},E[y.EMBEDDED_ENTRY]=function(C,I){return r.createElement("div",null,I)},E[y.EMBEDDED_RESOURCE]=function(C,I){return r.createElement("div",null,I)},E[y.UL_LIST]=function(C,I){return r.createElement("ul",null,I)},E[y.OL_LIST]=function(C,I){return r.createElement("ol",null,I)},E[y.LIST_ITEM]=function(C,I){return r.createElement("li",null,I)},E[y.QUOTE]=function(C,I){return r.createElement("blockquote",null,I)},E[y.HR]=function(){return r.createElement("hr",null)},E[y.TABLE]=function(C,I){return r.createElement("table",null,r.createElement("tbody",null,I))},E[y.TABLE_ROW]=function(C,I){return r.createElement("tr",null,I)},E[y.TABLE_HEADER_CELL]=function(C,I){return r.createElement("th",null,I)},E[y.TABLE_CELL]=function(C,I){return r.createElement("td",null,I)},E[v.ASSET_HYPERLINK]=function(C){return N(v.ASSET_HYPERLINK,C)},E[v.ENTRY_HYPERLINK]=function(C){return N(v.ENTRY_HYPERLINK,C)},E[v.EMBEDDED_ENTRY]=function(C){return N(v.EMBEDDED_ENTRY,C)},E[v.HYPERLINK]=function(C,I){return r.createElement("a",{href:C.data.uri},I)},E),L=(P={},P[m.BOLD]=function(C){return r.createElement("b",null,C)},P[m.ITALIC]=function(C){return r.createElement("i",null,C)},P[m.UNDERLINE]=function(C){return r.createElement("u",null,C)},P[m.CODE]=function(C){return r.createElement("code",null,C)},P[m.SUPERSCRIPT]=function(C){return r.createElement("sup",null,C)},P[m.SUBSCRIPT]=function(C){return r.createElement("sub",null,C)},P);function N(C,I){return r.createElement("span",{key:I.data.target.sys.id},"type: ",I.nodeType," id: ",I.data.target.sys.id)}function $(C,I){return I===void 0&&(I={}),C?O(C,{renderNode:i(i({},A),I.renderNode),renderMark:i(i({},L),I.renderMark),renderText:I.renderText,preserveWhitespace:I.preserveWhitespace}):null}e.documentToReactComponents=$})(D5);var $5={},li={};(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={}))})(li);var Na={};(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={}))})(Na);var Ma={};Object.defineProperty(Ma,"__esModule",{value:!0});var Cu;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(Cu||(Cu={}));Ma.default=Cu;var Ih={};(function(e){var t=Q&&Q.__spreadArray||function(u,l,c){if(c||arguments.length===2)for(var d=0,s=l.length,f;d<s;d++)(f||!(d in l))&&(f||(f=Array.prototype.slice.call(l,0,d)),f[d]=l[d]);return u.concat(f||Array.prototype.slice.call(l))},n=Q&&Q.__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=li,a=Na,o=n(Ma);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]})(Ih);var Ch={};Object.defineProperty(Ch,"__esModule",{value:!0});var Lh={};Object.defineProperty(Lh,"__esModule",{value:!0});var Zl={};Object.defineProperty(Zl,"__esModule",{value:!0});var $f=li,j5={nodeType:$f.BLOCKS.DOCUMENT,data:{},content:[{nodeType:$f.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};Zl.default=j5;var Zt={};Object.defineProperty(Zt,"__esModule",{value:!0});Zt.isText=Zt.isBlock=Zt.isInline=void 0;var B5=li,F5=Na;function Rh(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 U5(e){return Rh(F5.INLINES,e.nodeType)}Zt.isInline=U5;function x5(e){return Rh(B5.BLOCKS,e.nodeType)}Zt.isBlock=x5;function H5(e){return e.nodeType==="text"}Zt.isText=H5;(function(e){var t=Q&&Q.__createBinding||(Object.create?function(s,f,p,g){g===void 0&&(g=p);var h=Object.getOwnPropertyDescriptor(f,p);(!h||("get"in h?!f.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return f[p]}}),Object.defineProperty(s,g,h)}:function(s,f,p,g){g===void 0&&(g=p),s[g]=f[p]}),n=Q&&Q.__setModuleDefault||(Object.create?function(s,f){Object.defineProperty(s,"default",{enumerable:!0,value:f})}:function(s,f){s.default=f}),r=Q&&Q.__exportStar||function(s,f){for(var p in s)p!=="default"&&!Object.prototype.hasOwnProperty.call(f,p)&&t(f,s,p)},i=Q&&Q.__importStar||function(s){if(s&&s.__esModule)return s;var f={};if(s!=null)for(var p in s)p!=="default"&&Object.prototype.hasOwnProperty.call(s,p)&&t(f,s,p);return n(f,s),f},a=Q&&Q.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var o=li;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=Na;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var l=Ma;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(l).default}}),r(Ih,e),r(Ch,e),r(Lh,e);var c=Zl;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var d=i(Zt);e.helpers=d})($5);var K5={};(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})(K5);var z5={},kh={};(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})(kh);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=kh;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})(z5);var W5={};(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})(W5);var q5={};(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})(q5);var G5={},Nh={};(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})(Nh);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Nh;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})(G5);function jf(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 K(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jf(Object(n),!0).forEach(function(r){Re(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ca(e){"@babel/helpers - typeof";return ca=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},ca(e)}function V5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(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 Y5(e,t,n){return t&&Bf(e.prototype,t),n&&Bf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function es(e,t){return Q5(e)||Z5(e,t)||Mh(e,t)||tA()}function si(e){return X5(e)||J5(e)||Mh(e)||eA()}function X5(e){if(Array.isArray(e))return Lu(e)}function Q5(e){if(Array.isArray(e))return e}function J5(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Z5(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(l){a=!0,u=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function Mh(e,t){if(e){if(typeof e=="string")return Lu(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 Lu(e,t)}}function Lu(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 eA(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
15
15
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Bf=function(){},ts={},Mh={},Dh=null,$h={mark:Bf,measure:Bf};try{typeof window<"u"&&(ts=window),typeof document<"u"&&(Mh=document),typeof MutationObserver<"u"&&(Dh=MutationObserver),typeof performance<"u"&&($h=performance)}catch{}var nA=ts.navigator||{},Ff=nA.userAgent,Uf=Ff===void 0?"":Ff,an=ts,he=Mh,xf=Dh,Ei=$h;an.document;var Ut=!!he.documentElement&&!!he.head&&typeof he.addEventListener=="function"&&typeof he.createElement=="function",jh=~Uf.indexOf("MSIE")||~Uf.indexOf("Trident/"),Oi,Si,Pi,Ai,Ti,$t="___FONT_AWESOME___",Ru=16,Bh="fa",Fh="svg-inline--fa",Pn="data-fa-i2svg",ku="data-fa-pseudo-element",rA="data-fa-pseudo-element-pending",ns="data-prefix",rs="data-icon",Hf="fontawesome-i2svg",iA="async",aA=["HTML","HEAD","STYLE","SCRIPT"],Uh=function(){try{return!0}catch{return!1}}(),ve="classic",me="sharp",is=[ve,me];function fi(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[ve]}})}var Qr=fi((Oi={},Re(Oi,ve,{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"}),Re(Oi,me,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Oi)),Jr=fi((Si={},Re(Si,ve,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Re(Si,me,{solid:"fass",regular:"fasr",light:"fasl"}),Si)),Zr=fi((Pi={},Re(Pi,ve,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Re(Pi,me,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Pi)),oA=fi((Ai={},Re(Ai,ve,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Re(Ai,me,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Ai)),uA=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,xh="fa-layers-text",lA=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,sA=fi((Ti={},Re(Ti,ve,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Re(Ti,me,{900:"fass",400:"fasr",300:"fasl"}),Ti)),Hh=[1,2,3,4,5,6,7,8,9,10],cA=Hh.concat([11,12,13,14,15,16,17,18,19,20]),fA=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],mn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ei=new Set;Object.keys(Jr[ve]).map(ei.add.bind(ei));Object.keys(Jr[me]).map(ei.add.bind(ei));var dA=[].concat(is,ci(ei),["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",mn.GROUP,mn.SWAP_OPACITY,mn.PRIMARY,mn.SECONDARY]).concat(Hh.map(function(e){return"".concat(e,"x")})).concat(cA.map(function(e){return"w-".concat(e)})),xr=an.FontAwesomeConfig||{};function pA(e){var t=he.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function vA(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(he&&typeof he.querySelector=="function"){var hA=[["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"]];hA.forEach(function(e){var t=es(e,2),n=t[0],r=t[1],i=vA(pA(n));i!=null&&(xr[r]=i)})}var Kh={styleDefault:"solid",familyDefault:"classic",cssPrefix:Bh,replacementClass:Fh,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xr.familyPrefix&&(xr.cssPrefix=xr.familyPrefix);var fr=K(K({},Kh),xr);fr.autoReplaceSvg||(fr.observeMutations=!1);var G={};Object.keys(Kh).forEach(function(e){Object.defineProperty(G,e,{enumerable:!0,set:function(n){fr[e]=n,Hr.forEach(function(r){return r(G)})},get:function(){return fr[e]}})});Object.defineProperty(G,"familyPrefix",{enumerable:!0,set:function(t){fr.cssPrefix=t,Hr.forEach(function(n){return n(G)})},get:function(){return fr.cssPrefix}});an.FontAwesomeConfig=G;var Hr=[];function mA(e){return Hr.push(e),function(){Hr.splice(Hr.indexOf(e),1)}}var Ht=Ru,wt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function yA(e){if(!(!e||!Ut)){var t=he.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=he.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 he.head.insertBefore(t,r),e}}var gA="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ti(){for(var e=12,t="";e-- >0;)t+=gA[Math.random()*62|0];return t}function Sr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function as(e){return e.classList?Sr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function zh(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function bA(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(zh(e[n]),'" ')},"").trim()}function $a(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function os(e){return e.size!==wt.size||e.x!==wt.x||e.y!==wt.y||e.rotate!==wt.rotate||e.flipX||e.flipY}function _A(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)"),l={transform:"".concat(a," ").concat(o," ").concat(u)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:c}}function wA(e){var t=e.transform,n=e.width,r=n===void 0?Ru:n,i=e.height,a=i===void 0?Ru:i,o=e.startCentered,u=o===void 0?!1:o,l="";return u&&jh?l+="translate(".concat(t.x/Ht-r/2,"em, ").concat(t.y/Ht-a/2,"em) "):u?l+="translate(calc(-50% + ".concat(t.x/Ht,"em), calc(-50% + ").concat(t.y/Ht,"em)) "):l+="translate(".concat(t.x/Ht,"em, ").concat(t.y/Ht,"em) "),l+="scale(".concat(t.size/Ht*(t.flipX?-1:1),", ").concat(t.size/Ht*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var EA=`:root, :host {
16
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ff=function(){},ts={},Dh={},$h=null,jh={mark:Ff,measure:Ff};try{typeof window<"u"&&(ts=window),typeof document<"u"&&(Dh=document),typeof MutationObserver<"u"&&($h=MutationObserver),typeof performance<"u"&&(jh=performance)}catch{}var nA=ts.navigator||{},Uf=nA.userAgent,xf=Uf===void 0?"":Uf,rn=ts,he=Dh,Hf=$h,wi=jh;rn.document;var Ft=!!he.documentElement&&!!he.head&&typeof he.addEventListener=="function"&&typeof he.createElement=="function",Bh=~xf.indexOf("MSIE")||~xf.indexOf("Trident/"),Ei,Oi,Si,Pi,Ai,Dt="___FONT_AWESOME___",Ru=16,Fh="fa",Uh="svg-inline--fa",Sn="data-fa-i2svg",ku="data-fa-pseudo-element",rA="data-fa-pseudo-element-pending",ns="data-prefix",rs="data-icon",Kf="fontawesome-i2svg",iA="async",aA=["HTML","HEAD","STYLE","SCRIPT"],xh=function(){try{return!0}catch{return!1}}(),ve="classic",me="sharp",is=[ve,me];function ci(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[ve]}})}var Xr=ci((Ei={},Re(Ei,ve,{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"}),Re(Ei,me,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Ei)),Qr=ci((Oi={},Re(Oi,ve,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Re(Oi,me,{solid:"fass",regular:"fasr",light:"fasl"}),Oi)),Jr=ci((Si={},Re(Si,ve,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Re(Si,me,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Si)),oA=ci((Pi={},Re(Pi,ve,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Re(Pi,me,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Pi)),uA=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Hh="fa-layers-text",lA=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,sA=ci((Ai={},Re(Ai,ve,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Re(Ai,me,{900:"fass",400:"fasr",300:"fasl"}),Ai)),Kh=[1,2,3,4,5,6,7,8,9,10],cA=Kh.concat([11,12,13,14,15,16,17,18,19,20]),fA=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],hn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Zr=new Set;Object.keys(Qr[ve]).map(Zr.add.bind(Zr));Object.keys(Qr[me]).map(Zr.add.bind(Zr));var dA=[].concat(is,si(Zr),["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",hn.GROUP,hn.SWAP_OPACITY,hn.PRIMARY,hn.SECONDARY]).concat(Kh.map(function(e){return"".concat(e,"x")})).concat(cA.map(function(e){return"w-".concat(e)})),Ur=rn.FontAwesomeConfig||{};function pA(e){var t=he.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function vA(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(he&&typeof he.querySelector=="function"){var hA=[["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"]];hA.forEach(function(e){var t=es(e,2),n=t[0],r=t[1],i=vA(pA(n));i!=null&&(Ur[r]=i)})}var zh={styleDefault:"solid",familyDefault:"classic",cssPrefix:Fh,replacementClass:Uh,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ur.familyPrefix&&(Ur.cssPrefix=Ur.familyPrefix);var cr=K(K({},zh),Ur);cr.autoReplaceSvg||(cr.observeMutations=!1);var G={};Object.keys(zh).forEach(function(e){Object.defineProperty(G,e,{enumerable:!0,set:function(n){cr[e]=n,xr.forEach(function(r){return r(G)})},get:function(){return cr[e]}})});Object.defineProperty(G,"familyPrefix",{enumerable:!0,set:function(t){cr.cssPrefix=t,xr.forEach(function(n){return n(G)})},get:function(){return cr.cssPrefix}});rn.FontAwesomeConfig=G;var xr=[];function mA(e){return xr.push(e),function(){xr.splice(xr.indexOf(e),1)}}var xt=Ru,_t={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function yA(e){if(!(!e||!Ft)){var t=he.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=he.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 he.head.insertBefore(t,r),e}}var gA="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ei(){for(var e=12,t="";e-- >0;)t+=gA[Math.random()*62|0];return t}function Or(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function as(e){return e.classList?Or(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Wh(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function bA(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Wh(e[n]),'" ')},"").trim()}function Da(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function os(e){return e.size!==_t.size||e.x!==_t.x||e.y!==_t.y||e.rotate!==_t.rotate||e.flipX||e.flipY}function _A(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)"),l={transform:"".concat(a," ").concat(o," ").concat(u)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:c}}function wA(e){var t=e.transform,n=e.width,r=n===void 0?Ru:n,i=e.height,a=i===void 0?Ru:i,o=e.startCentered,u=o===void 0?!1:o,l="";return u&&Bh?l+="translate(".concat(t.x/xt-r/2,"em, ").concat(t.y/xt-a/2,"em) "):u?l+="translate(calc(-50% + ".concat(t.x/xt,"em), calc(-50% + ").concat(t.y/xt,"em)) "):l+="translate(".concat(t.x/xt,"em, ").concat(t.y/xt,"em) "),l+="scale(".concat(t.size/xt*(t.flipX?-1:1),", ").concat(t.size/xt*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var EA=`:root, :host {
17
17
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
18
18
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
19
19
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
@@ -769,20 +769,20 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
769
769
  .fad.fa-inverse,
770
770
  .fa-duotone.fa-inverse {
771
771
  color: var(--fa-inverse, #fff);
772
- }`;function Wh(){var e=Bh,t=Fh,n=G.cssPrefix,r=G.replacementClass,i=EA;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 Kf=!1;function jo(){G.autoAddCss&&!Kf&&(yA(Wh()),Kf=!0)}var OA={mixout:function(){return{dom:{css:Wh,insertCss:jo}}},hooks:function(){return{beforeDOMElementCreation:function(){jo()},beforeI2svg:function(){jo()}}}},jt=an||{};jt[$t]||(jt[$t]={});jt[$t].styles||(jt[$t].styles={});jt[$t].hooks||(jt[$t].hooks={});jt[$t].shims||(jt[$t].shims=[]);var pt=jt[$t],qh=[],SA=function e(){he.removeEventListener("DOMContentLoaded",e),da=1,qh.map(function(t){return t()})},da=!1;Ut&&(da=(he.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(he.readyState),da||he.addEventListener("DOMContentLoaded",SA));function PA(e){Ut&&(da?setTimeout(e,0):qh.push(e))}function di(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"?zh(e):"<".concat(t," ").concat(bA(r),">").concat(a.map(di).join(""),"</").concat(t,">")}function zf(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var AA=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},Bo=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?AA(n,i):n,l,c,d;for(r===void 0?(l=1,d=t[a[0]]):(l=0,d=r);l<o;l++)c=a[l],d=u(d,t[c],c,t);return d};function TA(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 Nu(e){var t=TA(e);return t.length===1?t[0].toString(16):null}function IA(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 Wf(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 Mu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=Wf(t);typeof pt.hooks.addPack=="function"&&!i?pt.hooks.addPack(e,Wf(t)):pt.styles[e]=K(K({},pt.styles[e]||{}),a),e==="fas"&&Mu("fa",t)}var Ii,Ci,Li,Kn=pt.styles,CA=pt.shims,LA=(Ii={},Re(Ii,ve,Object.values(Zr[ve])),Re(Ii,me,Object.values(Zr[me])),Ii),us=null,Gh={},Vh={},Yh={},Xh={},Qh={},RA=(Ci={},Re(Ci,ve,Object.keys(Qr[ve])),Re(Ci,me,Object.keys(Qr[me])),Ci);function kA(e){return~dA.indexOf(e)}function NA(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!kA(i)?i:null}var Jh=function(){var t=function(a){return Bo(Kn,function(o,u,l){return o[l]=Bo(u,a,{}),o},{})};Gh=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(l){return typeof l=="number"});u.forEach(function(l){i[l.toString(16)]=o})}return i}),Vh=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(l){return typeof l=="string"});u.forEach(function(l){i[l]=o})}return i}),Qh=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(l){i[l]=o}),i});var n="far"in Kn||G.autoFetchSvg,r=Bo(CA,function(i,a){var o=a[0],u=a[1],l=a[2];return u==="far"&&!n&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:l}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:l}),i},{names:{},unicodes:{}});Yh=r.names,Xh=r.unicodes,us=ja(G.styleDefault,{family:G.familyDefault})};mA(function(e){us=ja(e.styleDefault,{family:G.familyDefault})});Jh();function ls(e,t){return(Gh[e]||{})[t]}function MA(e,t){return(Vh[e]||{})[t]}function yn(e,t){return(Qh[e]||{})[t]}function Zh(e){return Yh[e]||{prefix:null,iconName:null}}function DA(e){var t=Xh[e],n=ls("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function on(){return us}var ss=function(){return{prefix:null,iconName:null,rest:[]}};function ja(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ve:n,i=Qr[r][e],a=Jr[r][e]||Jr[r][i],o=e in pt.styles?e:null;return a||o||null}var qf=(Li={},Re(Li,ve,Object.keys(Zr[ve])),Re(Li,me,Object.keys(Zr[me])),Li);function Ba(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},Re(t,ve,"".concat(G.cssPrefix,"-").concat(ve)),Re(t,me,"".concat(G.cssPrefix,"-").concat(me)),t),o=null,u=ve;(e.includes(a[ve])||e.some(function(c){return qf[ve].includes(c)}))&&(u=ve),(e.includes(a[me])||e.some(function(c){return qf[me].includes(c)}))&&(u=me);var l=e.reduce(function(c,d){var s=NA(G.cssPrefix,d);if(Kn[d]?(d=LA[u].includes(d)?oA[u][d]:d,o=d,c.prefix=d):RA[u].indexOf(d)>-1?(o=d,c.prefix=ja(d,{family:u})):s?c.iconName=s:d!==G.replacementClass&&d!==a[ve]&&d!==a[me]&&c.rest.push(d),!i&&c.prefix&&c.iconName){var f=o==="fa"?Zh(c.iconName):{},p=yn(c.prefix,c.iconName);f.prefix&&(o=null),c.iconName=f.iconName||p||c.iconName,c.prefix=f.prefix||c.prefix,c.prefix==="far"&&!Kn.far&&Kn.fas&&!G.autoFetchSvg&&(c.prefix="fas")}return c},ss());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&u===me&&(Kn.fass||G.autoFetchSvg)&&(l.prefix="fass",l.iconName=yn(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||o==="fa")&&(l.prefix=on()||"fas"),l}var $A=function(){function e(){V5(this,e),this.definitions={}}return Y5(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]=K(K({},n.definitions[u]||{}),o[u]),Mu(u,o[u]);var l=Zr[ve][u];l&&Mu(l,o[u]),Jh()})}},{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,l=o.iconName,c=o.icon,d=c[2];n[u]||(n[u]={}),d.length>0&&d.forEach(function(s){typeof s=="string"&&(n[u][s]=c)}),n[u][l]=c}),n}}]),e}(),Gf=[],zn={},Xn={},jA=Object.keys(Xn);function BA(e,t){var n=t.mixoutsTo;return Gf=e,zn={},Object.keys(Xn).forEach(function(r){jA.indexOf(r)===-1&&delete Xn[r]}),Gf.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),fa(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(Xn)}),n}function Du(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 An(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 Bt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Xn[e]?Xn[e].apply(null,t):void 0}function $u(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||on();if(t)return t=yn(n,t)||t,zf(em.definitions,n,t)||zf(pt.styles,n,t)}var em=new $A,FA=function(){G.autoReplaceSvg=!1,G.observeMutations=!1,An("noAuto")},UA={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ut?(An("beforeI2svg",t),Bt("pseudoElements2svg",t),Bt("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;G.autoReplaceSvg===!1&&(G.autoReplaceSvg=!0),G.observeMutations=!0,PA(function(){HA({autoReplaceSvgRoot:n}),An("watch",t)})}},xA={icon:function(t){if(t===null)return null;if(fa(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:yn(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=ja(t[0]);return{prefix:r,iconName:yn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(G.cssPrefix,"-"))>-1||t.match(uA))){var i=Ba(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||on(),iconName:yn(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=on();return{prefix:a,iconName:yn(a,t)||t}}}},it={noAuto:FA,config:G,dom:UA,parse:xA,library:em,findIconDefinition:$u,toHtml:di},HA=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?he:n;(Object.keys(pt.styles).length>0||G.autoFetchSvg)&&Ut&&G.autoReplaceSvg&&it.dom.i2svg({node:r})};function Fa(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return di(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Ut){var r=he.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function KA(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(os(o)&&n.found&&!r.found){var u=n.width,l=n.height,c={x:u/l/2,y:.5};i.style=$a(K(K({},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 zA(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(G.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:K(K({},i),{},{id:o}),children:r}]}]}function cs(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,l=e.title,c=e.maskId,d=e.titleId,s=e.extra,f=e.watchable,p=f===void 0?!1:f,g=r.found?r:n,h=g.width,_=g.height,b=i==="fak",m=[G.replacementClass,a?"".concat(G.cssPrefix,"-").concat(a):""].filter(function(P){return s.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(s.classes).join(" "),v={children:[],attributes:K(K({},s.attributes),{},{"data-prefix":i,"data-icon":a,class:m,role:s.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(_)})},y=b&&!~s.classes.indexOf("fa-fw")?{width:"".concat(h/_*16*.0625,"em")}:{};p&&(v.attributes[Pn]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(d||ti())},children:[l]}),delete v.attributes.title);var w=K(K({},v),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:K(K({},y),s.styles)}),S=r.found&&n.found?Bt("generateAbstractMask",w)||{children:[],attributes:{}}:Bt("generateAbstractIcon",w)||{children:[],attributes:{}},O=S.children,E=S.attributes;return w.children=O,w.attributes=E,u?zA(w):KA(w)}function Vf(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,l=u===void 0?!1:u,c=K(K(K({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});l&&(c[Pn]="");var d=K({},o.styles);os(i)&&(d.transform=wA({transform:i,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var s=$a(d);s.length>0&&(c.style=s);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),a&&f.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),f}function WA(e){var t=e.content,n=e.title,r=e.extra,i=K(K(K({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=$a(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 Fo=pt.styles;function ju(e){var t=e[0],n=e[1],r=e.slice(4),i=es(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(G.cssPrefix,"-").concat(mn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(mn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(mn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var qA={found:!1,width:512,height:512};function GA(e,t){!Uh&&!G.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Bu(e,t){var n=t;return t==="fa"&&G.styleDefault!==null&&(t=on()),new Promise(function(r,i){if(Bt("missingIconAbstract"),n==="fa"){var a=Zh(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Fo[t]&&Fo[t][e]){var o=Fo[t][e];return r(ju(o))}GA(e,t),r(K(K({},qA),{},{icon:G.showMissingIcons&&e?Bt("missingIconAbstract")||{}:{}}))})}var Yf=function(){},Fu=G.measurePerformance&&Ei&&Ei.mark&&Ei.measure?Ei:{mark:Yf,measure:Yf},Mr='FA "6.4.2"',VA=function(t){return Fu.mark("".concat(Mr," ").concat(t," begins")),function(){return tm(t)}},tm=function(t){Fu.mark("".concat(Mr," ").concat(t," ends")),Fu.measure("".concat(Mr," ").concat(t),"".concat(Mr," ").concat(t," begins"),"".concat(Mr," ").concat(t," ends"))},fs={begin:VA,end:tm},xi=function(){};function Xf(e){var t=e.getAttribute?e.getAttribute(Pn):null;return typeof t=="string"}function YA(e){var t=e.getAttribute?e.getAttribute(ns):null,n=e.getAttribute?e.getAttribute(rs):null;return t&&n}function XA(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(G.replacementClass)}function QA(){if(G.autoReplaceSvg===!0)return Hi.replace;var e=Hi[G.autoReplaceSvg];return e||Hi.replace}function JA(e){return he.createElementNS("http://www.w3.org/2000/svg",e)}function ZA(e){return he.createElement(e)}function nm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?JA:ZA:n;if(typeof e=="string")return he.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(nm(o,{ceFn:r}))}),i}function eT(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Hi={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(nm(i),n)}),n.getAttribute(Pn)===null&&G.keepOriginalSource){var r=he.createComment(eT(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~as(n).indexOf(G.replacementClass))return Hi.replace(t);var i=new RegExp("".concat(G.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(u,l){return l===G.replacementClass||l.match(i)?u.toSvg.push(l):u.toNode.push(l),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 di(u)}).join(`
773
- `);n.setAttribute(Pn,""),n.innerHTML=o}};function Qf(e){e()}function rm(e,t){var n=typeof t=="function"?t:xi;if(e.length===0)n();else{var r=Qf;G.mutateApproach===iA&&(r=an.requestAnimationFrame||Qf),r(function(){var i=QA(),a=fs.begin("mutate");e.map(i),a(),n()})}}var ds=!1;function im(){ds=!0}function Uu(){ds=!1}var pa=null;function Jf(e){if(xf&&G.observeMutations){var t=e.treeCallback,n=t===void 0?xi:t,r=e.nodeCallback,i=r===void 0?xi:r,a=e.pseudoElementsCallback,o=a===void 0?xi:a,u=e.observeMutationsRoot,l=u===void 0?he:u;pa=new xf(function(c){if(!ds){var d=on();Sr(c).forEach(function(s){if(s.type==="childList"&&s.addedNodes.length>0&&!Xf(s.addedNodes[0])&&(G.searchPseudoElements&&o(s.target),n(s.target)),s.type==="attributes"&&s.target.parentNode&&G.searchPseudoElements&&o(s.target.parentNode),s.type==="attributes"&&Xf(s.target)&&~fA.indexOf(s.attributeName))if(s.attributeName==="class"&&YA(s.target)){var f=Ba(as(s.target)),p=f.prefix,g=f.iconName;s.target.setAttribute(ns,p||d),g&&s.target.setAttribute(rs,g)}else XA(s.target)&&i(s.target)})}}),Ut&&pa.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tT(){pa&&pa.disconnect()}function nT(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 rT(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Ba(as(e));return i.prefix||(i.prefix=on()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=MA(i.prefix,e.innerText)||ls(i.prefix,Nu(e.innerText))),!i.iconName&&G.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function iT(e){var t=Sr(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 G.autoA11y&&(n?t["aria-labelledby"]="".concat(G.replacementClass,"-title-").concat(r||ti()):(t["aria-hidden"]="true",t.focusable="false")),t}function aT(){return{iconName:null,title:null,titleId:null,prefix:null,transform:wt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Zf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=rT(e),r=n.iconName,i=n.prefix,a=n.rest,o=iT(e),u=Du("parseNodeAttributes",{},e),l=t.styleParser?nT(e):[];return K({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:wt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:o}},u)}var oT=pt.styles;function am(e){var t=G.autoReplaceSvg==="nest"?Zf(e,{styleParser:!1}):Zf(e);return~t.extra.classes.indexOf(xh)?Bt("generateLayersText",e,t):Bt("generateSvgReplacementMutation",e,t)}var un=new Set;is.map(function(e){un.add("fa-".concat(e))});Object.keys(Qr[ve]).map(un.add.bind(un));Object.keys(Qr[me]).map(un.add.bind(un));un=ci(un);function ed(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ut)return Promise.resolve();var n=he.documentElement.classList,r=function(s){return n.add("".concat(Hf,"-").concat(s))},i=function(s){return n.remove("".concat(Hf,"-").concat(s))},a=G.autoFetchSvg?un:is.map(function(d){return"fa-".concat(d)}).concat(Object.keys(oT));a.includes("fa")||a.push("fa");var o=[".".concat(xh,":not([").concat(Pn,"])")].concat(a.map(function(d){return".".concat(d,":not([").concat(Pn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=Sr(e.querySelectorAll(o))}catch{}if(u.length>0)r("pending"),i("complete");else return Promise.resolve();var l=fs.begin("onTree"),c=u.reduce(function(d,s){try{var f=am(s);f&&d.push(f)}catch(p){Uh||p.name==="MissingIcon"&&console.error(p)}return d},[]);return new Promise(function(d,s){Promise.all(c).then(function(f){rm(f,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),d()})}).catch(function(f){l(),s(f)})})}function uT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;am(e).then(function(n){n&&rm([n],t)})}function lT(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:$u(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:$u(i||{})),e(r,K(K({},n),{},{mask:i}))}}var sT=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?wt:r,a=n.symbol,o=a===void 0?!1:a,u=n.mask,l=u===void 0?null:u,c=n.maskId,d=c===void 0?null:c,s=n.title,f=s===void 0?null:s,p=n.titleId,g=p===void 0?null:p,h=n.classes,_=h===void 0?[]:h,b=n.attributes,m=b===void 0?{}:b,v=n.styles,y=v===void 0?{}:v;if(t){var w=t.prefix,S=t.iconName,O=t.icon;return Fa(K({type:"icon"},t),function(){return An("beforeDOMElementCreation",{iconDefinition:t,params:n}),G.autoA11y&&(f?m["aria-labelledby"]="".concat(G.replacementClass,"-title-").concat(g||ti()):(m["aria-hidden"]="true",m.focusable="false")),cs({icons:{main:ju(O),mask:l?ju(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:S,transform:K(K({},wt),i),symbol:o,title:f,maskId:d,titleId:g,extra:{attributes:m,styles:y,classes:_}})})}},cT={mixout:function(){return{icon:lT(sT)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=ed,n.nodeCallback=uT,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?he:r,a=n.callback,o=a===void 0?function(){}:a;return ed(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,o=r.titleId,u=r.prefix,l=r.transform,c=r.symbol,d=r.mask,s=r.maskId,f=r.extra;return new Promise(function(p,g){Promise.all([Bu(i,u),d.iconName?Bu(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var _=es(h,2),b=_[0],m=_[1];p([n,cs({icons:{main:b,mask:m},prefix:u,iconName:i,transform:l,symbol:c,maskId:s,title:a,titleId:o,extra:f,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,u=n.styles,l=$a(u);l.length>0&&(i.style=l);var c;return os(o)&&(c=Bt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},fT={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 Fa({type:"layer"},function(){An("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(u){Array.isArray(u)?u.map(function(l){o=o.concat(l.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(G.cssPrefix,"-layers")].concat(ci(a)).join(" ")},children:o}]})}}}},dT={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,l=r.attributes,c=l===void 0?{}:l,d=r.styles,s=d===void 0?{}:d;return Fa({type:"counter",content:n},function(){return An("beforeDOMElementCreation",{content:n,params:r}),WA({content:n.toString(),title:a,extra:{attributes:c,styles:s,classes:["".concat(G.cssPrefix,"-layers-counter")].concat(ci(u))}})})}}}},pT={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?wt:i,o=r.title,u=o===void 0?null:o,l=r.classes,c=l===void 0?[]:l,d=r.attributes,s=d===void 0?{}:d,f=r.styles,p=f===void 0?{}:f;return Fa({type:"text",content:n},function(){return An("beforeDOMElementCreation",{content:n,params:r}),Vf({content:n,transform:K(K({},wt),a),title:u,extra:{attributes:s,styles:p,classes:["".concat(G.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,l=null;if(jh){var c=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();u=d.width/c,l=d.height/c}return G.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,Vf({content:n.innerHTML,width:u,height:l,transform:a,title:i,extra:o,watchable:!0})])}}},vT=new RegExp('"',"ug"),td=[1105920,1112319];function hT(e){var t=e.replace(vT,""),n=IA(t,0),r=n>=td[0]&&n<=td[1],i=t.length===2?t[0]===t[1]:!1;return{value:Nu(i?t[0]:t),isSecondary:r||i}}function nd(e,t){var n="".concat(rA).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=Sr(e.children),o=a.filter(function(O){return O.getAttribute(ku)===t})[0],u=an.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(lA),c=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&d!=="none"&&d!==""){var s=u.getPropertyValue("content"),f=~["Sharp"].indexOf(l[2])?me:ve,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Jr[f][l[2].toLowerCase()]:sA[f][c],g=hT(s),h=g.value,_=g.isSecondary,b=l[0].startsWith("FontAwesome"),m=ls(p,h),v=m;if(b){var y=DA(h);y.iconName&&y.prefix&&(m=y.iconName,p=y.prefix)}if(m&&!_&&(!o||o.getAttribute(ns)!==p||o.getAttribute(rs)!==v)){e.setAttribute(n,v),o&&e.removeChild(o);var w=aT(),S=w.extra;S.attributes[ku]=t,Bu(m,p).then(function(O){var E=cs(K(K({},w),{},{icons:{main:O,mask:ss()},prefix:p,iconName:v,extra:S,watchable:!0})),P=he.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=E.map(function(A){return di(A)}).join(`
774
- `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function mT(e){return Promise.all([nd(e,"::before"),nd(e,"::after")])}function yT(e){return e.parentNode!==document.head&&!~aA.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(ku)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function rd(e){if(Ut)return new Promise(function(t,n){var r=Sr(e.querySelectorAll("*")).filter(yT).map(mT),i=fs.begin("searchPseudoElements");im(),Promise.all(r).then(function(){i(),Uu(),t()}).catch(function(){i(),Uu(),n()})})}var gT={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=rd,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?he:r;G.searchPseudoElements&&rd(i)}}},id=!1,bT={mixout:function(){return{dom:{unwatch:function(){im(),id=!0}}}},hooks:function(){return{bootstrap:function(){Jf(Du("mutationObserverCallbacks",{}))},noAuto:function(){tT()},watch:function(n){var r=n.observeMutationsRoot;id?Uu():Jf(Du("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},ad=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)},_T={mixout:function(){return{parse:{transform:function(n){return ad(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=ad(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)")},l="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),") "),d="rotate(".concat(i.rotate," 0 0)"),s={transform:"".concat(l," ").concat(c," ").concat(d)},f={transform:"translate(".concat(o/2*-1," -256)")},p={outer:u,inner:s,path:f};return{tag:"g",attributes:K({},p.outer),children:[{tag:"g",attributes:K({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:K(K({},r.icon.attributes),p.path)}]}]}}}},Uo={x:0,y:0,width:"100%",height:"100%"};function od(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 wT(e){return e.tag==="g"?e.children:[e]}var ET={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?Ba(i.split(" ").map(function(o){return o.trim()})):ss();return a.prefix||(a.prefix=on()),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,l=n.transform,c=a.width,d=a.icon,s=o.width,f=o.icon,p=_A({transform:l,containerWidth:s,iconWidth:c}),g={tag:"rect",attributes:K(K({},Uo),{},{fill:"white"})},h=d.children?{children:d.children.map(od)}:{},_={tag:"g",attributes:K({},p.inner),children:[od(K({tag:d.tag,attributes:K(K({},d.attributes),p.path)},h))]},b={tag:"g",attributes:K({},p.outer),children:[_]},m="mask-".concat(u||ti()),v="clip-".concat(u||ti()),y={tag:"mask",attributes:K(K({},Uo),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,b]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:wT(f)},y]};return r.push(w,{tag:"rect",attributes:K({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(m,")")},Uo)}),{children:r,attributes:i}}}},OT={provides:function(t){var n=!1;an.matchMedia&&(n=an.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:K(K({},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=K(K({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:K(K({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||u.children.push({tag:"animate",attributes:K(K({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:K(K({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:K(K({},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:K(K({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:K(K({},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:K(K({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},ST={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}}}},PT=[OA,cT,fT,dT,pT,gT,bT,_T,ET,OT,ST];BA(PT,{mixoutsTo:it});it.noAuto;it.config;it.library;it.dom;var xu=it.parse;it.findIconDefinition;it.toHtml;var AT=it.icon;it.layer;it.text;it.counter;var om={exports:{}},TT="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",IT=TT,CT=IT;function um(){}function lm(){}lm.resetWarningCache=um;var LT=function(){function e(r,i,a,o,u,l){if(l!==CT){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:lm,resetWarningCache:um};return n.PropTypes=n,n};om.exports=LT();var RT=om.exports;const ae=Tn(RT);function ud(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 Xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ud(Object(n),!0).forEach(function(r){Wn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ud(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function va(e){"@babel/helpers - typeof";return va=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},va(e)}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kT(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 NT(e,t){if(e==null)return{};var n=kT(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 Hu(e){return MT(e)||DT(e)||$T(e)||jT()}function MT(e){if(Array.isArray(e))return Ku(e)}function DT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $T(e,t){if(e){if(typeof e=="string")return Ku(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 Ku(e,t)}}function Ku(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 jT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
775
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BT(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,l=e.spin,c=e.spinPulse,d=e.spinReverse,s=e.pulse,f=e.fixedWidth,p=e.inverse,g=e.border,h=e.listItem,_=e.flip,b=e.size,m=e.rotation,v=e.pull,y=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":l,"fa-spin-reverse":d,"fa-spin-pulse":c,"fa-pulse":s,"fa-fw":f,"fa-inverse":p,"fa-border":g,"fa-li":h,"fa-flip":_===!0,"fa-flip-horizontal":_==="horizontal"||_==="both","fa-flip-vertical":_==="vertical"||_==="both"},Wn(t,"fa-".concat(b),typeof b<"u"&&b!==null),Wn(t,"fa-rotate-".concat(m),typeof m<"u"&&m!==null&&m!==0),Wn(t,"fa-pull-".concat(v),typeof v<"u"&&v!==null),Wn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(y).map(function(w){return y[w]?w:null}).filter(function(w){return w})}function FT(e){return e=e-0,e===e}function sm(e){return FT(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var UT=["style"];function xT(e){return e.charAt(0).toUpperCase()+e.slice(1)}function HT(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=sm(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[xT(i)]=a:t[i]=a,t},{})}function cm(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(l){return cm(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,c){var d=t.attributes[c];switch(c){case"class":l.attrs.className=d,delete t.attributes.class;break;case"style":l.attrs.style=HT(d);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=d:l.attrs[sm(c)]=d}return l},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=NT(n,UT);return i.attrs.style=Xt(Xt({},i.attrs.style),o),e.apply(void 0,[t.tag,Xt(Xt({},i.attrs),u)].concat(Hu(r)))}var fm=!1;try{fm=!0}catch{}function KT(){if(!fm&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ld(e){if(e&&va(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(xu.icon)return xu.icon(e);if(e===null)return null;if(e&&va(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 xo(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Wn({},e,t):{}}var Ua=J.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,u=e.titleId,l=e.maskId,c=ld(n),d=xo("classes",[].concat(Hu(BT(e)),Hu(a.split(" ")))),s=xo("transform",typeof e.transform=="string"?xu.transform(e.transform):e.transform),f=xo("mask",ld(r)),p=AT(c,Xt(Xt(Xt(Xt({},d),s),f),{},{symbol:i,title:o,titleId:u,maskId:l}));if(!p)return KT("Could not find icon",c),null;var g=p.abstract,h={ref:t};return Object.keys(e).forEach(function(_){Ua.defaultProps.hasOwnProperty(_)||(h[_]=e[_])}),zT(g[0],h)});Ua.displayName="FontAwesomeIcon";Ua.propTypes={beat:ae.bool,border:ae.bool,beatFade:ae.bool,bounce:ae.bool,className:ae.string,fade:ae.bool,flash:ae.bool,mask:ae.oneOfType([ae.object,ae.array,ae.string]),maskId:ae.string,fixedWidth:ae.bool,inverse:ae.bool,flip:ae.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ae.oneOfType([ae.object,ae.array,ae.string]),listItem:ae.bool,pull:ae.oneOf(["right","left"]),pulse:ae.bool,rotation:ae.oneOf([0,90,180,270]),shake:ae.bool,size:ae.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ae.bool,spinPulse:ae.bool,spinReverse:ae.bool,symbol:ae.oneOfType([ae.bool,ae.string]),title:ae.string,titleId:ae.string,transform:ae.oneOfType([ae.string,ae.object]),swapOpacity:ae.bool};Ua.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 zT=cm.bind(null,J.createElement),WT={},Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.AnonymousSelectKey=Ze.Select=Ze.Not=Ze.Guard=Ze.PatternKind=void 0;Ze.PatternKind=Symbol("@ts-pattern/pattern-kind");Ze.Guard=Symbol("@ts-pattern/guard");Ze.Not=Symbol("@ts-pattern/not");Ze.Select=Symbol("@ts-pattern/select");Ze.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var ps={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=Ze,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 l=>l instanceof u}const o=u=>(0,e.when)(a(u));e.instanceOf=o})(ps);var xa={};Object.defineProperty(xa,"__esModule",{value:!0});xa.__=void 0;const Pr=ps;function qT(e){return!0}function GT(e){return typeof e=="number"}function VT(e){return Number.isNaN(e)}function YT(e){return typeof e=="string"}function XT(e){return typeof e=="boolean"}function QT(e){return e==null}const JT=(0,Pr.when)(qT),ZT=(0,Pr.when)(YT),eI=(0,Pr.when)(GT),tI=(0,Pr.when)(VT),nI=(0,Pr.when)(XT),rI=(0,Pr.when)(QT);xa.__=Object.assign(JT,{string:ZT,number:eI,NaN:tI,boolean:nI,nullish:rI});(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=Ze,n=ps;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=xa;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=f=>a(f,[]);e.match=i;const a=(f,p)=>{const g=()=>{const h=p.find(({test:_})=>_(f));if(!h){let _;try{_=JSON.stringify(f)}catch{_=f}throw new Error(`Pattern matching error: no pattern matches value ${_}`)}return h.handler(h.select(f),f)};return{with(...h){const _=h[h.length-1],b=[],m=[];for(let w=0;w<h.length-1;w++){const S=h[w];typeof S=="function"?m.push(S):b.push(S)}let v={};const y=w=>!!(b.some(S=>d(S,w,(O,E)=>{v[O]=E}))&&m.every(S=>S(w)));return a(f,p.concat([{test:y,handler:_,select:w=>Object.keys(v).length?t.AnonymousSelectKey in v?v[t.AnonymousSelectKey]:v:w}]))},when:(h,_)=>a(f,p.concat([{test:h,handler:_,select:b=>b}])),otherwise:h=>a(f,p.concat([{test:()=>!0,handler:h,select:_=>_}])).run(),exhaustive:()=>g(),run:g}},o=f=>!!(f&&typeof f=="object"),u=f=>{const p=f;return p&&p[t.PatternKind]===t.Guard},l=f=>{const p=f;return p&&p[t.PatternKind]===t.Not},c=f=>{const p=f;return p&&p[t.PatternKind]===t.Select},d=(f,p,g)=>{if(o(f)){if(u(f))return!!f[t.Guard](p);if(c(f))return g(f[t.Select],p),!0;if(l(f))return!d(f[t.Not],p,g);if(!o(p))return!1;if(Array.isArray(f)){if(!Array.isArray(p))return!1;if(f.length===1){const h={},_=(m,v)=>{h[m]=(h[m]||[]).concat([v])},b=p.every(m=>d(f[0],m,_));return b&&Object.keys(h).forEach(m=>g(m,h[m])),b}return f.length===p.length?f.every((h,_)=>d(h,p[_],g)):!1}if(f instanceof Map)return p instanceof Map?[...f.keys()].every(h=>d(f.get(h),p.get(h),g)):!1;if(f instanceof Set){if(!(p instanceof Set))return!1;if(f.size===0)return p.size===0;if(f.size===1){const[h]=[...f.values()];return Object.values(r.__).includes(h)?d([h],[...p.values()],g):p.has(h)}return[...f.values()].every(h=>p.has(h))}return Object.keys(f).every(h=>h in p&&d(f[h],p[h],g))}return p===f};function s(...f){if(f.length===1){const[p]=f;return g=>d(p,g,()=>{})}if(f.length===2){const[p,g]=f;return d(p,g,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${f.length}.`)}e.isMatching=s})(WT);var dm={exports:{}};(function(e,t){(function(n,r){e.exports=r(Ah)})(Q,function(n){return function(){var r={378:function(u){u.exports=function l(c,d){if(c===d)return!0;if(c&&d&&typeof c=="object"&&typeof d=="object"){if(c.constructor!==d.constructor)return!1;var s,f,p;if(Array.isArray(c)){if((s=c.length)!=d.length)return!1;for(f=s;f--!=0;)if(!l(c[f],d[f]))return!1;return!0}if(c.constructor===RegExp)return c.source===d.source&&c.flags===d.flags;if(c.valueOf!==Object.prototype.valueOf)return c.valueOf()===d.valueOf();if(c.toString!==Object.prototype.toString)return c.toString()===d.toString();if((s=(p=Object.keys(c)).length)!==Object.keys(d).length)return!1;for(f=s;f--!=0;)if(!Object.prototype.hasOwnProperty.call(d,p[f]))return!1;for(f=s;f--!=0;){var g=p[f];if(!l(c[g],d[g]))return!1}return!0}return c!=c&&d!=d}},145:function(u,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){var d=this&&this.__createBinding||(Object.create?function(f,p,g,h){h===void 0&&(h=g);var _=Object.getOwnPropertyDescriptor(p,g);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[g]}}),Object.defineProperty(f,h,_)}:function(f,p,g,h){h===void 0&&(h=g),f[h]=p[g]}),s=this&&this.__exportStar||function(f,p){for(var g in f)g==="default"||Object.prototype.hasOwnProperty.call(p,g)||d(p,f,g)};Object.defineProperty(l,"__esModule",{value:!0}),s(c(11),l),s(c(739),l),s(c(860),l)},794:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(g){for(var h,_=1,b=arguments.length;_<b;_++)for(var m in h=arguments[_])Object.prototype.hasOwnProperty.call(h,m)&&(g[m]=h[m]);return g},d.apply(this,arguments)},s=this&&this.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(l,"__esModule",{value:!0}),l.InlineStyle=void 0;var f=s(c(156)),p=s(c(52));l.InlineStyle=function(g){var h=g.filename,_=c(367)("./".concat(h,".css")),b=(0,p.default)();return f.default.createElement("style",d({},b?{nonce:b}:{}),_.default)}},11:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(b){for(var m,v=1,y=arguments.length;v<y;v++)for(var w in m=arguments[v])Object.prototype.hasOwnProperty.call(m,w)&&(b[w]=m[w]);return b},d.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(b,m,v,y){y===void 0&&(y=v);var w=Object.getOwnPropertyDescriptor(m,v);w&&!("get"in w?!m.__esModule:w.writable||w.configurable)||(w={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(b,y,w)}:function(b,m,v,y){y===void 0&&(y=v),b[y]=m[v]}),f=this&&this.__setModuleDefault||(Object.create?function(b,m){Object.defineProperty(b,"default",{enumerable:!0,value:m})}:function(b,m){b.default=m}),p=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var m={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&s(m,b,v);return f(m,b),m},g=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(l,"__esModule",{value:!0}),l.makeButtonComponent=l.emptyEmbed=void 0;var h=p(c(156)),_=c(794);l.emptyEmbed={unmount:function(){},open:function(){}},l.makeButtonComponent=function(b,m){return h.default.forwardRef(function(v,y){var w=v.id,S=v.children,O=v.as,E=O===void 0?"button":O,P=v.style,A=P===void 0?{}:P,L=v.className,N=L===void 0?"":L,$=v.buttonProps,C=g(v,["id","children","as","style","className","buttonProps"]),I=(0,h.useRef)(l.emptyEmbed),R=y||I;(0,h.useEffect)(function(){return R.current=b(w,C),function(){return R.current.unmount()}},[w,C,R]);var D=(0,h.useMemo)(function(){return function(){return R.current.open()}},[R]),B=h.default.createElement(E,d({style:A,className:N,onClick:D,"data-testid":"tf-v1-".concat(m),children:S},$));return h.default.createElement(h.default.Fragment,null,h.default.createElement(_.InlineStyle,{filename:m}),B)})}},739:function(u,l,c){var d=this&&this.__createBinding||(Object.create?function(b,m,v,y){y===void 0&&(y=v);var w=Object.getOwnPropertyDescriptor(m,v);w&&!("get"in w?!m.__esModule:w.writable||w.configurable)||(w={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(b,y,w)}:function(b,m,v,y){y===void 0&&(y=v),b[y]=m[v]}),s=this&&this.__setModuleDefault||(Object.create?function(b,m){Object.defineProperty(b,"default",{enumerable:!0,value:m})}:function(b,m){b.default=m}),f=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var m={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&d(m,b,v);return s(m,b),m},p=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(l,"__esModule",{value:!0}),l.makeInitializerComponent=void 0;var g=f(c(156)),h=c(794),_={unmount:function(){}};l.makeInitializerComponent=function(b,m){return g.default.forwardRef(function(v,y){var w=v.id,S=p(v,["id"]),O=(0,g.useRef)(_),E=y||O;return(0,g.useEffect)(function(){return E.current=b(w,S),function(){E.current.unmount()}},[w,S,E]),g.default.createElement(h.InlineStyle,{filename:m})})}},860:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(m){for(var v,y=1,w=arguments.length;y<w;y++)for(var S in v=arguments[y])Object.prototype.hasOwnProperty.call(v,S)&&(m[S]=v[S]);return m},d.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(m,v,y,w){w===void 0&&(w=y);var S=Object.getOwnPropertyDescriptor(v,y);S&&!("get"in S?!v.__esModule:S.writable||S.configurable)||(S={enumerable:!0,get:function(){return v[y]}}),Object.defineProperty(m,w,S)}:function(m,v,y,w){w===void 0&&(w=y),m[w]=v[y]}),f=this&&this.__setModuleDefault||(Object.create?function(m,v){Object.defineProperty(m,"default",{enumerable:!0,value:v})}:function(m,v){m.default=v}),p=this&&this.__importStar||function(m){if(m&&m.__esModule)return m;var v={};if(m!=null)for(var y in m)y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)&&s(v,m,y);return f(v,m),v},g=this&&this.__rest||function(m,v){var y={};for(var w in m)Object.prototype.hasOwnProperty.call(m,w)&&v.indexOf(w)<0&&(y[w]=m[w]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(w=Object.getOwnPropertySymbols(m);S<w.length;S++)v.indexOf(w[S])<0&&Object.prototype.propertyIsEnumerable.call(m,w[S])&&(y[w[S]]=m[w[S]])}return y};Object.defineProperty(l,"__esModule",{value:!0}),l.Widget=void 0;var h=p(c(156)),_=c(611),b=c(794);l.Widget=function(m){var v=m.id,y=m.style,w=y===void 0?{}:y,S=m.className,O=S===void 0?"":S,E=g(m,["id","style","className"]),P=(0,h.useRef)(null);return(0,h.useEffect)(function(){if(P.current){var A=(0,_.createWidget)(v,d(d({},E),{container:P.current}));return function(){A.unmount()}}},[v,E]),h.default.createElement(h.default.Fragment,null,h.default.createElement(b.InlineStyle,{filename:"widget"}),h.default.createElement("div",{style:w,className:O,ref:P}))}},797:function(u,l,c){var d=this&&this.__createBinding||(Object.create?function(f,p,g,h){h===void 0&&(h=g);var _=Object.getOwnPropertyDescriptor(p,g);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[g]}}),Object.defineProperty(f,h,_)}:function(f,p,g,h){h===void 0&&(h=g),f[h]=p[g]}),s=this&&this.__exportStar||function(f,p){for(var g in f)g==="default"||Object.prototype.hasOwnProperty.call(p,g)||d(p,f,g)};Object.defineProperty(l,"__esModule",{value:!0}),s(c(553),l)},553:function(u,l,c){var d=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(l,"__esModule",{value:!0}),l.memoComponent=l.propsAreEqual=void 0;var s=c(156),f=d(c(378));l.propsAreEqual=function(p,g){return(0,f.default)(p,g)},l.memoComponent=function(p){return(0,s.memo)(p,l.propsAreEqual)}},52:function(u,l,c){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){return c.g.__webpack_nonce__!==void 0?c.g.__webpack_nonce__:null}},367:function(u,l,c){var d={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function s(p){var g=f(p);return c(g)}function f(p){if(!c.o(d,p)){var g=new Error("Cannot find module '"+p+"'");throw g.code="MODULE_NOT_FOUND",g}return d[p]}s.keys=function(){return Object.keys(d)},s.resolve=f,u.exports=s,s.id=367},611:function(u){u.exports=function(){var l={8027:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.DEFAULT_DOMAIN=s.POPUP_SIZE=s.SLIDER_WIDTH=s.SLIDER_POSITION=s.LIVE_EMBED_ATTRIBUTE=s.SIDETAB_ATTRIBUTE=s.WIDGET_ATTRIBUTE=s.SLIDER_ATTRIBUTE=s.POPUP_ATTRIBUTE=s.POPOVER_ATTRIBUTE=void 0,s.POPOVER_ATTRIBUTE="data-tf-popover",s.POPUP_ATTRIBUTE="data-tf-popup",s.SLIDER_ATTRIBUTE="data-tf-slider",s.WIDGET_ATTRIBUTE="data-tf-widget",s.SIDETAB_ATTRIBUTE="data-tf-sidetab",s.LIVE_EMBED_ATTRIBUTE="data-tf-live",s.SLIDER_POSITION="right",s.SLIDER_WIDTH=800,s.POPUP_SIZE=100,s.DEFAULT_DOMAIN="form.typeform.com"},7528:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(y){for(var w,S=1,O=arguments.length;S<O;S++)for(var E in w=arguments[S])Object.prototype.hasOwnProperty.call(w,E)&&(y[E]=w[E]);return y},p.apply(this,arguments)},g=this&&this.__rest||function(y,w){var S={};for(var O in y)Object.prototype.hasOwnProperty.call(y,O)&&w.indexOf(O)<0&&(S[O]=y[O]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(O=Object.getOwnPropertySymbols(y);E<O.length;E++)w.indexOf(O[E])<0&&Object.prototype.propertyIsEnumerable.call(y,O[E])&&(S[O[E]]=y[O[E]])}return S};Object.defineProperty(s,"__esModule",{value:!0}),s.createPopover=void 0;var h=f(6797),_=f(1320),b=function(y,w){var S=y.parentNode;S&&(S.removeChild(y),S.appendChild(w))},m=function(y,w){y===void 0&&(y="span"),w===void 0&&(w="tf-v1-popover-button-icon");var S=document.createElement(y);return S.className="".concat(w," tf-v1-close-icon"),S.innerHTML="&times;",S.dataset.testid=w,S},v={buttonColor:"#3a7685"};s.createPopover=function(y,w){w===void 0&&(w={});var S,O,E,P=p(p({},v),w),A=P.domain,L=g(P,["domain"]),N=(0,h.createIframe)("popover",{formId:y,domain:A,options:L}),$=N.iframe,C=N.embedId,I=N.refresh,R=N.focus,D=function(ne,X){var re=document.createElement("div");return re.className="tf-v1-popover",re.dataset.testid="tf-v1-popover",(0,h.setElementSize)(re,{width:ne,height:X})}(L.width,L.height),B=function(){var ne=document.createElement("div");return ne.className="tf-v1-popover-wrapper",ne.dataset.testid="tf-v1-popover-wrapper",ne}(),V=function(ne,X){var re=(0,h.getTextColor)(X),ie=document.createElement("div");ie.className="tf-v1-popover-button-icon";var _e=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
772
+ }`;function qh(){var e=Fh,t=Uh,n=G.cssPrefix,r=G.replacementClass,i=EA;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 zf=!1;function jo(){G.autoAddCss&&!zf&&(yA(qh()),zf=!0)}var OA={mixout:function(){return{dom:{css:qh,insertCss:jo}}},hooks:function(){return{beforeDOMElementCreation:function(){jo()},beforeI2svg:function(){jo()}}}},$t=rn||{};$t[Dt]||($t[Dt]={});$t[Dt].styles||($t[Dt].styles={});$t[Dt].hooks||($t[Dt].hooks={});$t[Dt].shims||($t[Dt].shims=[]);var dt=$t[Dt],Gh=[],SA=function e(){he.removeEventListener("DOMContentLoaded",e),fa=1,Gh.map(function(t){return t()})},fa=!1;Ft&&(fa=(he.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(he.readyState),fa||he.addEventListener("DOMContentLoaded",SA));function PA(e){Ft&&(fa?setTimeout(e,0):Gh.push(e))}function fi(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"?Wh(e):"<".concat(t," ").concat(bA(r),">").concat(a.map(fi).join(""),"</").concat(t,">")}function Wf(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var AA=function(t,n){return function(r,i,a,o){return t.call(n,r,i,a,o)}},Bo=function(t,n,r,i){var a=Object.keys(t),o=a.length,u=i!==void 0?AA(n,i):n,l,c,d;for(r===void 0?(l=1,d=t[a[0]]):(l=0,d=r);l<o;l++)c=a[l],d=u(d,t[c],c,t);return d};function TA(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 Nu(e){var t=TA(e);return t.length===1?t[0].toString(16):null}function IA(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 qf(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 Mu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=qf(t);typeof dt.hooks.addPack=="function"&&!i?dt.hooks.addPack(e,qf(t)):dt.styles[e]=K(K({},dt.styles[e]||{}),a),e==="fas"&&Mu("fa",t)}var Ti,Ii,Ci,Hn=dt.styles,CA=dt.shims,LA=(Ti={},Re(Ti,ve,Object.values(Jr[ve])),Re(Ti,me,Object.values(Jr[me])),Ti),us=null,Vh={},Yh={},Xh={},Qh={},Jh={},RA=(Ii={},Re(Ii,ve,Object.keys(Xr[ve])),Re(Ii,me,Object.keys(Xr[me])),Ii);function kA(e){return~dA.indexOf(e)}function NA(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!kA(i)?i:null}var Zh=function(){var t=function(a){return Bo(Hn,function(o,u,l){return o[l]=Bo(u,a,{}),o},{})};Vh=t(function(i,a,o){if(a[3]&&(i[a[3]]=o),a[2]){var u=a[2].filter(function(l){return typeof l=="number"});u.forEach(function(l){i[l.toString(16)]=o})}return i}),Yh=t(function(i,a,o){if(i[o]=o,a[2]){var u=a[2].filter(function(l){return typeof l=="string"});u.forEach(function(l){i[l]=o})}return i}),Jh=t(function(i,a,o){var u=a[2];return i[o]=o,u.forEach(function(l){i[l]=o}),i});var n="far"in Hn||G.autoFetchSvg,r=Bo(CA,function(i,a){var o=a[0],u=a[1],l=a[2];return u==="far"&&!n&&(u="fas"),typeof o=="string"&&(i.names[o]={prefix:u,iconName:l}),typeof o=="number"&&(i.unicodes[o.toString(16)]={prefix:u,iconName:l}),i},{names:{},unicodes:{}});Xh=r.names,Qh=r.unicodes,us=$a(G.styleDefault,{family:G.familyDefault})};mA(function(e){us=$a(e.styleDefault,{family:G.familyDefault})});Zh();function ls(e,t){return(Vh[e]||{})[t]}function MA(e,t){return(Yh[e]||{})[t]}function mn(e,t){return(Jh[e]||{})[t]}function em(e){return Xh[e]||{prefix:null,iconName:null}}function DA(e){var t=Qh[e],n=ls("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function an(){return us}var ss=function(){return{prefix:null,iconName:null,rest:[]}};function $a(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?ve:n,i=Xr[r][e],a=Qr[r][e]||Qr[r][i],o=e in dt.styles?e:null;return a||o||null}var Gf=(Ci={},Re(Ci,ve,Object.keys(Jr[ve])),Re(Ci,me,Object.keys(Jr[me])),Ci);function ja(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},Re(t,ve,"".concat(G.cssPrefix,"-").concat(ve)),Re(t,me,"".concat(G.cssPrefix,"-").concat(me)),t),o=null,u=ve;(e.includes(a[ve])||e.some(function(c){return Gf[ve].includes(c)}))&&(u=ve),(e.includes(a[me])||e.some(function(c){return Gf[me].includes(c)}))&&(u=me);var l=e.reduce(function(c,d){var s=NA(G.cssPrefix,d);if(Hn[d]?(d=LA[u].includes(d)?oA[u][d]:d,o=d,c.prefix=d):RA[u].indexOf(d)>-1?(o=d,c.prefix=$a(d,{family:u})):s?c.iconName=s:d!==G.replacementClass&&d!==a[ve]&&d!==a[me]&&c.rest.push(d),!i&&c.prefix&&c.iconName){var f=o==="fa"?em(c.iconName):{},p=mn(c.prefix,c.iconName);f.prefix&&(o=null),c.iconName=f.iconName||p||c.iconName,c.prefix=f.prefix||c.prefix,c.prefix==="far"&&!Hn.far&&Hn.fas&&!G.autoFetchSvg&&(c.prefix="fas")}return c},ss());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&u===me&&(Hn.fass||G.autoFetchSvg)&&(l.prefix="fass",l.iconName=mn(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||o==="fa")&&(l.prefix=an()||"fas"),l}var $A=function(){function e(){V5(this,e),this.definitions={}}return Y5(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]=K(K({},n.definitions[u]||{}),o[u]),Mu(u,o[u]);var l=Jr[ve][u];l&&Mu(l,o[u]),Zh()})}},{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,l=o.iconName,c=o.icon,d=c[2];n[u]||(n[u]={}),d.length>0&&d.forEach(function(s){typeof s=="string"&&(n[u][s]=c)}),n[u][l]=c}),n}}]),e}(),Vf=[],Kn={},Yn={},jA=Object.keys(Yn);function BA(e,t){var n=t.mixoutsTo;return Vf=e,Kn={},Object.keys(Yn).forEach(function(r){jA.indexOf(r)===-1&&delete Yn[r]}),Vf.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(o){typeof i[o]=="function"&&(n[o]=i[o]),ca(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){Kn[o]||(Kn[o]=[]),Kn[o].push(a[o])})}r.provides&&r.provides(Yn)}),n}function Du(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=Kn[e]||[];return a.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function Pn(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=Kn[e]||[];i.forEach(function(a){a.apply(null,n)})}function jt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yn[e]?Yn[e].apply(null,t):void 0}function $u(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||an();if(t)return t=mn(n,t)||t,Wf(tm.definitions,n,t)||Wf(dt.styles,n,t)}var tm=new $A,FA=function(){G.autoReplaceSvg=!1,G.observeMutations=!1,Pn("noAuto")},UA={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ft?(Pn("beforeI2svg",t),jt("pseudoElements2svg",t),jt("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;G.autoReplaceSvg===!1&&(G.autoReplaceSvg=!0),G.observeMutations=!0,PA(function(){HA({autoReplaceSvgRoot:n}),Pn("watch",t)})}},xA={icon:function(t){if(t===null)return null;if(ca(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:mn(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=$a(t[0]);return{prefix:r,iconName:mn(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(G.cssPrefix,"-"))>-1||t.match(uA))){var i=ja(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||an(),iconName:mn(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=an();return{prefix:a,iconName:mn(a,t)||t}}}},it={noAuto:FA,config:G,dom:UA,parse:xA,library:tm,findIconDefinition:$u,toHtml:fi},HA=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?he:n;(Object.keys(dt.styles).length>0||G.autoFetchSvg)&&Ft&&G.autoReplaceSvg&&it.dom.i2svg({node:r})};function Ba(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return fi(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Ft){var r=he.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function KA(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,o=e.transform;if(os(o)&&n.found&&!r.found){var u=n.width,l=n.height,c={x:u/l/2,y:.5};i.style=Da(K(K({},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 zA(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,o=a===!0?"".concat(t,"-").concat(G.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:K(K({},i),{},{id:o}),children:r}]}]}function cs(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,o=e.transform,u=e.symbol,l=e.title,c=e.maskId,d=e.titleId,s=e.extra,f=e.watchable,p=f===void 0?!1:f,g=r.found?r:n,h=g.width,_=g.height,b=i==="fak",m=[G.replacementClass,a?"".concat(G.cssPrefix,"-").concat(a):""].filter(function(P){return s.classes.indexOf(P)===-1}).filter(function(P){return P!==""||!!P}).concat(s.classes).join(" "),v={children:[],attributes:K(K({},s.attributes),{},{"data-prefix":i,"data-icon":a,class:m,role:s.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(_)})},y=b&&!~s.classes.indexOf("fa-fw")?{width:"".concat(h/_*16*.0625,"em")}:{};p&&(v.attributes[Sn]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(d||ei())},children:[l]}),delete v.attributes.title);var w=K(K({},v),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:o,symbol:u,styles:K(K({},y),s.styles)}),S=r.found&&n.found?jt("generateAbstractMask",w)||{children:[],attributes:{}}:jt("generateAbstractIcon",w)||{children:[],attributes:{}},O=S.children,E=S.attributes;return w.children=O,w.attributes=E,u?zA(w):KA(w)}function Yf(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,o=e.extra,u=e.watchable,l=u===void 0?!1:u,c=K(K(K({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});l&&(c[Sn]="");var d=K({},o.styles);os(i)&&(d.transform=wA({transform:i,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var s=Da(d);s.length>0&&(c.style=s);var f=[];return f.push({tag:"span",attributes:c,children:[t]}),a&&f.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),f}function WA(e){var t=e.content,n=e.title,r=e.extra,i=K(K(K({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Da(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 Fo=dt.styles;function ju(e){var t=e[0],n=e[1],r=e.slice(4),i=es(r,1),a=i[0],o=null;return Array.isArray(a)?o={tag:"g",attributes:{class:"".concat(G.cssPrefix,"-").concat(hn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(hn.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(G.cssPrefix,"-").concat(hn.PRIMARY),fill:"currentColor",d:a[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:o}}var qA={found:!1,width:512,height:512};function GA(e,t){!xh&&!G.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Bu(e,t){var n=t;return t==="fa"&&G.styleDefault!==null&&(t=an()),new Promise(function(r,i){if(jt("missingIconAbstract"),n==="fa"){var a=em(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Fo[t]&&Fo[t][e]){var o=Fo[t][e];return r(ju(o))}GA(e,t),r(K(K({},qA),{},{icon:G.showMissingIcons&&e?jt("missingIconAbstract")||{}:{}}))})}var Xf=function(){},Fu=G.measurePerformance&&wi&&wi.mark&&wi.measure?wi:{mark:Xf,measure:Xf},Nr='FA "6.4.2"',VA=function(t){return Fu.mark("".concat(Nr," ").concat(t," begins")),function(){return nm(t)}},nm=function(t){Fu.mark("".concat(Nr," ").concat(t," ends")),Fu.measure("".concat(Nr," ").concat(t),"".concat(Nr," ").concat(t," begins"),"".concat(Nr," ").concat(t," ends"))},fs={begin:VA,end:nm},Ui=function(){};function Qf(e){var t=e.getAttribute?e.getAttribute(Sn):null;return typeof t=="string"}function YA(e){var t=e.getAttribute?e.getAttribute(ns):null,n=e.getAttribute?e.getAttribute(rs):null;return t&&n}function XA(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(G.replacementClass)}function QA(){if(G.autoReplaceSvg===!0)return xi.replace;var e=xi[G.autoReplaceSvg];return e||xi.replace}function JA(e){return he.createElementNS("http://www.w3.org/2000/svg",e)}function ZA(e){return he.createElement(e)}function rm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?JA:ZA:n;if(typeof e=="string")return he.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(rm(o,{ceFn:r}))}),i}function eT(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var xi={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(rm(i),n)}),n.getAttribute(Sn)===null&&G.keepOriginalSource){var r=he.createComment(eT(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~as(n).indexOf(G.replacementClass))return xi.replace(t);var i=new RegExp("".concat(G.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(u,l){return l===G.replacementClass||l.match(i)?u.toSvg.push(l):u.toNode.push(l),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 fi(u)}).join(`
773
+ `);n.setAttribute(Sn,""),n.innerHTML=o}};function Jf(e){e()}function im(e,t){var n=typeof t=="function"?t:Ui;if(e.length===0)n();else{var r=Jf;G.mutateApproach===iA&&(r=rn.requestAnimationFrame||Jf),r(function(){var i=QA(),a=fs.begin("mutate");e.map(i),a(),n()})}}var ds=!1;function am(){ds=!0}function Uu(){ds=!1}var da=null;function Zf(e){if(Hf&&G.observeMutations){var t=e.treeCallback,n=t===void 0?Ui:t,r=e.nodeCallback,i=r===void 0?Ui:r,a=e.pseudoElementsCallback,o=a===void 0?Ui:a,u=e.observeMutationsRoot,l=u===void 0?he:u;da=new Hf(function(c){if(!ds){var d=an();Or(c).forEach(function(s){if(s.type==="childList"&&s.addedNodes.length>0&&!Qf(s.addedNodes[0])&&(G.searchPseudoElements&&o(s.target),n(s.target)),s.type==="attributes"&&s.target.parentNode&&G.searchPseudoElements&&o(s.target.parentNode),s.type==="attributes"&&Qf(s.target)&&~fA.indexOf(s.attributeName))if(s.attributeName==="class"&&YA(s.target)){var f=ja(as(s.target)),p=f.prefix,g=f.iconName;s.target.setAttribute(ns,p||d),g&&s.target.setAttribute(rs,g)}else XA(s.target)&&i(s.target)})}}),Ft&&da.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function tT(){da&&da.disconnect()}function nT(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 rT(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=ja(as(e));return i.prefix||(i.prefix=an()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=MA(i.prefix,e.innerText)||ls(i.prefix,Nu(e.innerText))),!i.iconName&&G.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function iT(e){var t=Or(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 G.autoA11y&&(n?t["aria-labelledby"]="".concat(G.replacementClass,"-title-").concat(r||ei()):(t["aria-hidden"]="true",t.focusable="false")),t}function aT(){return{iconName:null,title:null,titleId:null,prefix:null,transform:_t,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function ed(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=rT(e),r=n.iconName,i=n.prefix,a=n.rest,o=iT(e),u=Du("parseNodeAttributes",{},e),l=t.styleParser?nT(e):[];return K({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:_t,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:o}},u)}var oT=dt.styles;function om(e){var t=G.autoReplaceSvg==="nest"?ed(e,{styleParser:!1}):ed(e);return~t.extra.classes.indexOf(Hh)?jt("generateLayersText",e,t):jt("generateSvgReplacementMutation",e,t)}var on=new Set;is.map(function(e){on.add("fa-".concat(e))});Object.keys(Xr[ve]).map(on.add.bind(on));Object.keys(Xr[me]).map(on.add.bind(on));on=si(on);function td(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ft)return Promise.resolve();var n=he.documentElement.classList,r=function(s){return n.add("".concat(Kf,"-").concat(s))},i=function(s){return n.remove("".concat(Kf,"-").concat(s))},a=G.autoFetchSvg?on:is.map(function(d){return"fa-".concat(d)}).concat(Object.keys(oT));a.includes("fa")||a.push("fa");var o=[".".concat(Hh,":not([").concat(Sn,"])")].concat(a.map(function(d){return".".concat(d,":not([").concat(Sn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var u=[];try{u=Or(e.querySelectorAll(o))}catch{}if(u.length>0)r("pending"),i("complete");else return Promise.resolve();var l=fs.begin("onTree"),c=u.reduce(function(d,s){try{var f=om(s);f&&d.push(f)}catch(p){xh||p.name==="MissingIcon"&&console.error(p)}return d},[]);return new Promise(function(d,s){Promise.all(c).then(function(f){im(f,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),d()})}).catch(function(f){l(),s(f)})})}function uT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;om(e).then(function(n){n&&im([n],t)})}function lT(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:$u(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:$u(i||{})),e(r,K(K({},n),{},{mask:i}))}}var sT=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?_t:r,a=n.symbol,o=a===void 0?!1:a,u=n.mask,l=u===void 0?null:u,c=n.maskId,d=c===void 0?null:c,s=n.title,f=s===void 0?null:s,p=n.titleId,g=p===void 0?null:p,h=n.classes,_=h===void 0?[]:h,b=n.attributes,m=b===void 0?{}:b,v=n.styles,y=v===void 0?{}:v;if(t){var w=t.prefix,S=t.iconName,O=t.icon;return Ba(K({type:"icon"},t),function(){return Pn("beforeDOMElementCreation",{iconDefinition:t,params:n}),G.autoA11y&&(f?m["aria-labelledby"]="".concat(G.replacementClass,"-title-").concat(g||ei()):(m["aria-hidden"]="true",m.focusable="false")),cs({icons:{main:ju(O),mask:l?ju(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:S,transform:K(K({},_t),i),symbol:o,title:f,maskId:d,titleId:g,extra:{attributes:m,styles:y,classes:_}})})}},cT={mixout:function(){return{icon:lT(sT)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=td,n.nodeCallback=uT,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?he:r,a=n.callback,o=a===void 0?function(){}:a;return td(i,o)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,o=r.titleId,u=r.prefix,l=r.transform,c=r.symbol,d=r.mask,s=r.maskId,f=r.extra;return new Promise(function(p,g){Promise.all([Bu(i,u),d.iconName?Bu(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(h){var _=es(h,2),b=_[0],m=_[1];p([n,cs({icons:{main:b,mask:m},prefix:u,iconName:i,transform:l,symbol:c,maskId:s,title:a,titleId:o,extra:f,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,o=n.transform,u=n.styles,l=Da(u);l.length>0&&(i.style=l);var c;return os(o)&&(c=jt("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},fT={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 Ba({type:"layer"},function(){Pn("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(u){Array.isArray(u)?u.map(function(l){o=o.concat(l.abstract)}):o=o.concat(u.abstract)}),[{tag:"span",attributes:{class:["".concat(G.cssPrefix,"-layers")].concat(si(a)).join(" ")},children:o}]})}}}},dT={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,l=r.attributes,c=l===void 0?{}:l,d=r.styles,s=d===void 0?{}:d;return Ba({type:"counter",content:n},function(){return Pn("beforeDOMElementCreation",{content:n,params:r}),WA({content:n.toString(),title:a,extra:{attributes:c,styles:s,classes:["".concat(G.cssPrefix,"-layers-counter")].concat(si(u))}})})}}}},pT={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?_t:i,o=r.title,u=o===void 0?null:o,l=r.classes,c=l===void 0?[]:l,d=r.attributes,s=d===void 0?{}:d,f=r.styles,p=f===void 0?{}:f;return Ba({type:"text",content:n},function(){return Pn("beforeDOMElementCreation",{content:n,params:r}),Yf({content:n,transform:K(K({},_t),a),title:u,extra:{attributes:s,styles:p,classes:["".concat(G.cssPrefix,"-layers-text")].concat(si(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,o=r.extra,u=null,l=null;if(Bh){var c=parseInt(getComputedStyle(n).fontSize,10),d=n.getBoundingClientRect();u=d.width/c,l=d.height/c}return G.autoA11y&&!i&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,Yf({content:n.innerHTML,width:u,height:l,transform:a,title:i,extra:o,watchable:!0})])}}},vT=new RegExp('"',"ug"),nd=[1105920,1112319];function hT(e){var t=e.replace(vT,""),n=IA(t,0),r=n>=nd[0]&&n<=nd[1],i=t.length===2?t[0]===t[1]:!1;return{value:Nu(i?t[0]:t),isSecondary:r||i}}function rd(e,t){var n="".concat(rA).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=Or(e.children),o=a.filter(function(O){return O.getAttribute(ku)===t})[0],u=rn.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(lA),c=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&d!=="none"&&d!==""){var s=u.getPropertyValue("content"),f=~["Sharp"].indexOf(l[2])?me:ve,p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Qr[f][l[2].toLowerCase()]:sA[f][c],g=hT(s),h=g.value,_=g.isSecondary,b=l[0].startsWith("FontAwesome"),m=ls(p,h),v=m;if(b){var y=DA(h);y.iconName&&y.prefix&&(m=y.iconName,p=y.prefix)}if(m&&!_&&(!o||o.getAttribute(ns)!==p||o.getAttribute(rs)!==v)){e.setAttribute(n,v),o&&e.removeChild(o);var w=aT(),S=w.extra;S.attributes[ku]=t,Bu(m,p).then(function(O){var E=cs(K(K({},w),{},{icons:{main:O,mask:ss()},prefix:p,iconName:v,extra:S,watchable:!0})),P=he.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=E.map(function(A){return fi(A)}).join(`
774
+ `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function mT(e){return Promise.all([rd(e,"::before"),rd(e,"::after")])}function yT(e){return e.parentNode!==document.head&&!~aA.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(ku)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function id(e){if(Ft)return new Promise(function(t,n){var r=Or(e.querySelectorAll("*")).filter(yT).map(mT),i=fs.begin("searchPseudoElements");am(),Promise.all(r).then(function(){i(),Uu(),t()}).catch(function(){i(),Uu(),n()})})}var gT={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?he:r;G.searchPseudoElements&&id(i)}}},ad=!1,bT={mixout:function(){return{dom:{unwatch:function(){am(),ad=!0}}}},hooks:function(){return{bootstrap:function(){Zf(Du("mutationObserverCallbacks",{}))},noAuto:function(){tT()},watch:function(n){var r=n.observeMutationsRoot;ad?Uu():Zf(Du("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},od=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)},_T={mixout:function(){return{parse:{transform:function(n){return od(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=od(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)")},l="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),") "),d="rotate(".concat(i.rotate," 0 0)"),s={transform:"".concat(l," ").concat(c," ").concat(d)},f={transform:"translate(".concat(o/2*-1," -256)")},p={outer:u,inner:s,path:f};return{tag:"g",attributes:K({},p.outer),children:[{tag:"g",attributes:K({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:K(K({},r.icon.attributes),p.path)}]}]}}}},Uo={x:0,y:0,width:"100%",height:"100%"};function ud(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 wT(e){return e.tag==="g"?e.children:[e]}var ET={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?ja(i.split(" ").map(function(o){return o.trim()})):ss();return a.prefix||(a.prefix=an()),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,l=n.transform,c=a.width,d=a.icon,s=o.width,f=o.icon,p=_A({transform:l,containerWidth:s,iconWidth:c}),g={tag:"rect",attributes:K(K({},Uo),{},{fill:"white"})},h=d.children?{children:d.children.map(ud)}:{},_={tag:"g",attributes:K({},p.inner),children:[ud(K({tag:d.tag,attributes:K(K({},d.attributes),p.path)},h))]},b={tag:"g",attributes:K({},p.outer),children:[_]},m="mask-".concat(u||ei()),v="clip-".concat(u||ei()),y={tag:"mask",attributes:K(K({},Uo),{},{id:m,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,b]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:wT(f)},y]};return r.push(w,{tag:"rect",attributes:K({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(m,")")},Uo)}),{children:r,attributes:i}}}},OT={provides:function(t){var n=!1;rn.matchMedia&&(n=rn.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:K(K({},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=K(K({},a),{},{attributeName:"opacity"}),u={tag:"circle",attributes:K(K({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||u.children.push({tag:"animate",attributes:K(K({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:K(K({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:K(K({},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:K(K({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:K(K({},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:K(K({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},ST={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}}}},PT=[OA,cT,fT,dT,pT,gT,bT,_T,ET,OT,ST];BA(PT,{mixoutsTo:it});it.noAuto;it.config;it.library;it.dom;var xu=it.parse;it.findIconDefinition;it.toHtml;var AT=it.icon;it.layer;it.text;it.counter;var um={exports:{}},TT="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",IT=TT,CT=IT;function lm(){}function sm(){}sm.resetWarningCache=lm;var LT=function(){function e(r,i,a,o,u,l){if(l!==CT){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:sm,resetWarningCache:lm};return n.PropTypes=n,n};um.exports=LT();var RT=um.exports;const ae=An(RT);function ld(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 Yt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ld(Object(n),!0).forEach(function(r){zn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ld(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function pa(e){"@babel/helpers - typeof";return pa=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},pa(e)}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kT(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 NT(e,t){if(e==null)return{};var n=kT(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 Hu(e){return MT(e)||DT(e)||$T(e)||jT()}function MT(e){if(Array.isArray(e))return Ku(e)}function DT(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $T(e,t){if(e){if(typeof e=="string")return Ku(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 Ku(e,t)}}function Ku(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 jT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
775
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BT(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,o=e.shake,u=e.flash,l=e.spin,c=e.spinPulse,d=e.spinReverse,s=e.pulse,f=e.fixedWidth,p=e.inverse,g=e.border,h=e.listItem,_=e.flip,b=e.size,m=e.rotation,v=e.pull,y=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":o,"fa-flash":u,"fa-spin":l,"fa-spin-reverse":d,"fa-spin-pulse":c,"fa-pulse":s,"fa-fw":f,"fa-inverse":p,"fa-border":g,"fa-li":h,"fa-flip":_===!0,"fa-flip-horizontal":_==="horizontal"||_==="both","fa-flip-vertical":_==="vertical"||_==="both"},zn(t,"fa-".concat(b),typeof b<"u"&&b!==null),zn(t,"fa-rotate-".concat(m),typeof m<"u"&&m!==null&&m!==0),zn(t,"fa-pull-".concat(v),typeof v<"u"&&v!==null),zn(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(y).map(function(w){return y[w]?w:null}).filter(function(w){return w})}function FT(e){return e=e-0,e===e}function cm(e){return FT(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var UT=["style"];function xT(e){return e.charAt(0).toUpperCase()+e.slice(1)}function HT(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=cm(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[xT(i)]=a:t[i]=a,t},{})}function fm(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(l){return fm(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,c){var d=t.attributes[c];switch(c){case"class":l.attrs.className=d,delete t.attributes.class;break;case"style":l.attrs.style=HT(d);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=d:l.attrs[cm(c)]=d}return l},{attrs:{}}),a=n.style,o=a===void 0?{}:a,u=NT(n,UT);return i.attrs.style=Yt(Yt({},i.attrs.style),o),e.apply(void 0,[t.tag,Yt(Yt({},i.attrs),u)].concat(Hu(r)))}var dm=!1;try{dm=!0}catch{}function KT(){if(!dm&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function sd(e){if(e&&pa(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(xu.icon)return xu.icon(e);if(e===null)return null;if(e&&pa(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 xo(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?zn({},e,t):{}}var Fa=J.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,o=e.title,u=e.titleId,l=e.maskId,c=sd(n),d=xo("classes",[].concat(Hu(BT(e)),Hu(a.split(" ")))),s=xo("transform",typeof e.transform=="string"?xu.transform(e.transform):e.transform),f=xo("mask",sd(r)),p=AT(c,Yt(Yt(Yt(Yt({},d),s),f),{},{symbol:i,title:o,titleId:u,maskId:l}));if(!p)return KT("Could not find icon",c),null;var g=p.abstract,h={ref:t};return Object.keys(e).forEach(function(_){Fa.defaultProps.hasOwnProperty(_)||(h[_]=e[_])}),zT(g[0],h)});Fa.displayName="FontAwesomeIcon";Fa.propTypes={beat:ae.bool,border:ae.bool,beatFade:ae.bool,bounce:ae.bool,className:ae.string,fade:ae.bool,flash:ae.bool,mask:ae.oneOfType([ae.object,ae.array,ae.string]),maskId:ae.string,fixedWidth:ae.bool,inverse:ae.bool,flip:ae.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ae.oneOfType([ae.object,ae.array,ae.string]),listItem:ae.bool,pull:ae.oneOf(["right","left"]),pulse:ae.bool,rotation:ae.oneOf([0,90,180,270]),shake:ae.bool,size:ae.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ae.bool,spinPulse:ae.bool,spinReverse:ae.bool,symbol:ae.oneOfType([ae.bool,ae.string]),title:ae.string,titleId:ae.string,transform:ae.oneOfType([ae.string,ae.object]),swapOpacity:ae.bool};Fa.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 zT=fm.bind(null,J.createElement),WT={},Ze={};Object.defineProperty(Ze,"__esModule",{value:!0});Ze.AnonymousSelectKey=Ze.Select=Ze.Not=Ze.Guard=Ze.PatternKind=void 0;Ze.PatternKind=Symbol("@ts-pattern/pattern-kind");Ze.Guard=Symbol("@ts-pattern/guard");Ze.Not=Symbol("@ts-pattern/not");Ze.Select=Symbol("@ts-pattern/select");Ze.AnonymousSelectKey="@ts-pattern/__anonymous-select-key";var ps={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const t=Ze,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 l=>l instanceof u}const o=u=>(0,e.when)(a(u));e.instanceOf=o})(ps);var Ua={};Object.defineProperty(Ua,"__esModule",{value:!0});Ua.__=void 0;const Sr=ps;function qT(e){return!0}function GT(e){return typeof e=="number"}function VT(e){return Number.isNaN(e)}function YT(e){return typeof e=="string"}function XT(e){return typeof e=="boolean"}function QT(e){return e==null}const JT=(0,Sr.when)(qT),ZT=(0,Sr.when)(YT),eI=(0,Sr.when)(GT),tI=(0,Sr.when)(VT),nI=(0,Sr.when)(XT),rI=(0,Sr.when)(QT);Ua.__=Object.assign(JT,{string:ZT,number:eI,NaN:tI,boolean:nI,nullish:rI});(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=Ze,n=ps;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=Ua;Object.defineProperty(e,"__",{enumerable:!0,get:function(){return r.__}});const i=f=>a(f,[]);e.match=i;const a=(f,p)=>{const g=()=>{const h=p.find(({test:_})=>_(f));if(!h){let _;try{_=JSON.stringify(f)}catch{_=f}throw new Error(`Pattern matching error: no pattern matches value ${_}`)}return h.handler(h.select(f),f)};return{with(...h){const _=h[h.length-1],b=[],m=[];for(let w=0;w<h.length-1;w++){const S=h[w];typeof S=="function"?m.push(S):b.push(S)}let v={};const y=w=>!!(b.some(S=>d(S,w,(O,E)=>{v[O]=E}))&&m.every(S=>S(w)));return a(f,p.concat([{test:y,handler:_,select:w=>Object.keys(v).length?t.AnonymousSelectKey in v?v[t.AnonymousSelectKey]:v:w}]))},when:(h,_)=>a(f,p.concat([{test:h,handler:_,select:b=>b}])),otherwise:h=>a(f,p.concat([{test:()=>!0,handler:h,select:_=>_}])).run(),exhaustive:()=>g(),run:g}},o=f=>!!(f&&typeof f=="object"),u=f=>{const p=f;return p&&p[t.PatternKind]===t.Guard},l=f=>{const p=f;return p&&p[t.PatternKind]===t.Not},c=f=>{const p=f;return p&&p[t.PatternKind]===t.Select},d=(f,p,g)=>{if(o(f)){if(u(f))return!!f[t.Guard](p);if(c(f))return g(f[t.Select],p),!0;if(l(f))return!d(f[t.Not],p,g);if(!o(p))return!1;if(Array.isArray(f)){if(!Array.isArray(p))return!1;if(f.length===1){const h={},_=(m,v)=>{h[m]=(h[m]||[]).concat([v])},b=p.every(m=>d(f[0],m,_));return b&&Object.keys(h).forEach(m=>g(m,h[m])),b}return f.length===p.length?f.every((h,_)=>d(h,p[_],g)):!1}if(f instanceof Map)return p instanceof Map?[...f.keys()].every(h=>d(f.get(h),p.get(h),g)):!1;if(f instanceof Set){if(!(p instanceof Set))return!1;if(f.size===0)return p.size===0;if(f.size===1){const[h]=[...f.values()];return Object.values(r.__).includes(h)?d([h],[...p.values()],g):p.has(h)}return[...f.values()].every(h=>p.has(h))}return Object.keys(f).every(h=>h in p&&d(f[h],p[h],g))}return p===f};function s(...f){if(f.length===1){const[p]=f;return g=>d(p,g,()=>{})}if(f.length===2){const[p,g]=f;return d(p,g,()=>{})}throw new Error(`isMatching wasn't given enough arguments: expected 1 or 2, received ${f.length}.`)}e.isMatching=s})(WT);var pm={exports:{}};(function(e,t){(function(n,r){e.exports=r(Th)})(Q,function(n){return function(){var r={378:function(u){u.exports=function l(c,d){if(c===d)return!0;if(c&&d&&typeof c=="object"&&typeof d=="object"){if(c.constructor!==d.constructor)return!1;var s,f,p;if(Array.isArray(c)){if((s=c.length)!=d.length)return!1;for(f=s;f--!=0;)if(!l(c[f],d[f]))return!1;return!0}if(c.constructor===RegExp)return c.source===d.source&&c.flags===d.flags;if(c.valueOf!==Object.prototype.valueOf)return c.valueOf()===d.valueOf();if(c.toString!==Object.prototype.toString)return c.toString()===d.toString();if((s=(p=Object.keys(c)).length)!==Object.keys(d).length)return!1;for(f=s;f--!=0;)if(!Object.prototype.hasOwnProperty.call(d,p[f]))return!1;for(f=s;f--!=0;){var g=p[f];if(!l(c[g],d[g]))return!1}return!0}return c!=c&&d!=d}},145:function(u,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){c.r(l),l.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,l,c){var d=this&&this.__createBinding||(Object.create?function(f,p,g,h){h===void 0&&(h=g);var _=Object.getOwnPropertyDescriptor(p,g);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[g]}}),Object.defineProperty(f,h,_)}:function(f,p,g,h){h===void 0&&(h=g),f[h]=p[g]}),s=this&&this.__exportStar||function(f,p){for(var g in f)g==="default"||Object.prototype.hasOwnProperty.call(p,g)||d(p,f,g)};Object.defineProperty(l,"__esModule",{value:!0}),s(c(11),l),s(c(739),l),s(c(860),l)},794:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(g){for(var h,_=1,b=arguments.length;_<b;_++)for(var m in h=arguments[_])Object.prototype.hasOwnProperty.call(h,m)&&(g[m]=h[m]);return g},d.apply(this,arguments)},s=this&&this.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(l,"__esModule",{value:!0}),l.InlineStyle=void 0;var f=s(c(156)),p=s(c(52));l.InlineStyle=function(g){var h=g.filename,_=c(367)("./".concat(h,".css")),b=(0,p.default)();return f.default.createElement("style",d({},b?{nonce:b}:{}),_.default)}},11:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(b){for(var m,v=1,y=arguments.length;v<y;v++)for(var w in m=arguments[v])Object.prototype.hasOwnProperty.call(m,w)&&(b[w]=m[w]);return b},d.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(b,m,v,y){y===void 0&&(y=v);var w=Object.getOwnPropertyDescriptor(m,v);w&&!("get"in w?!m.__esModule:w.writable||w.configurable)||(w={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(b,y,w)}:function(b,m,v,y){y===void 0&&(y=v),b[y]=m[v]}),f=this&&this.__setModuleDefault||(Object.create?function(b,m){Object.defineProperty(b,"default",{enumerable:!0,value:m})}:function(b,m){b.default=m}),p=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var m={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&s(m,b,v);return f(m,b),m},g=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(l,"__esModule",{value:!0}),l.makeButtonComponent=l.emptyEmbed=void 0;var h=p(c(156)),_=c(794);l.emptyEmbed={unmount:function(){},open:function(){}},l.makeButtonComponent=function(b,m){return h.default.forwardRef(function(v,y){var w=v.id,S=v.children,O=v.as,E=O===void 0?"button":O,P=v.style,A=P===void 0?{}:P,L=v.className,N=L===void 0?"":L,$=v.buttonProps,C=g(v,["id","children","as","style","className","buttonProps"]),I=(0,h.useRef)(l.emptyEmbed),R=y||I;(0,h.useEffect)(function(){return R.current=b(w,C),function(){return R.current.unmount()}},[w,C,R]);var D=(0,h.useMemo)(function(){return function(){return R.current.open()}},[R]),B=h.default.createElement(E,d({style:A,className:N,onClick:D,"data-testid":"tf-v1-".concat(m),children:S},$));return h.default.createElement(h.default.Fragment,null,h.default.createElement(_.InlineStyle,{filename:m}),B)})}},739:function(u,l,c){var d=this&&this.__createBinding||(Object.create?function(b,m,v,y){y===void 0&&(y=v);var w=Object.getOwnPropertyDescriptor(m,v);w&&!("get"in w?!m.__esModule:w.writable||w.configurable)||(w={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(b,y,w)}:function(b,m,v,y){y===void 0&&(y=v),b[y]=m[v]}),s=this&&this.__setModuleDefault||(Object.create?function(b,m){Object.defineProperty(b,"default",{enumerable:!0,value:m})}:function(b,m){b.default=m}),f=this&&this.__importStar||function(b){if(b&&b.__esModule)return b;var m={};if(b!=null)for(var v in b)v!=="default"&&Object.prototype.hasOwnProperty.call(b,v)&&d(m,b,v);return s(m,b),m},p=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(l,"__esModule",{value:!0}),l.makeInitializerComponent=void 0;var g=f(c(156)),h=c(794),_={unmount:function(){}};l.makeInitializerComponent=function(b,m){return g.default.forwardRef(function(v,y){var w=v.id,S=p(v,["id"]),O=(0,g.useRef)(_),E=y||O;return(0,g.useEffect)(function(){return E.current=b(w,S),function(){E.current.unmount()}},[w,S,E]),g.default.createElement(h.InlineStyle,{filename:m})})}},860:function(u,l,c){var d=this&&this.__assign||function(){return d=Object.assign||function(m){for(var v,y=1,w=arguments.length;y<w;y++)for(var S in v=arguments[y])Object.prototype.hasOwnProperty.call(v,S)&&(m[S]=v[S]);return m},d.apply(this,arguments)},s=this&&this.__createBinding||(Object.create?function(m,v,y,w){w===void 0&&(w=y);var S=Object.getOwnPropertyDescriptor(v,y);S&&!("get"in S?!v.__esModule:S.writable||S.configurable)||(S={enumerable:!0,get:function(){return v[y]}}),Object.defineProperty(m,w,S)}:function(m,v,y,w){w===void 0&&(w=y),m[w]=v[y]}),f=this&&this.__setModuleDefault||(Object.create?function(m,v){Object.defineProperty(m,"default",{enumerable:!0,value:v})}:function(m,v){m.default=v}),p=this&&this.__importStar||function(m){if(m&&m.__esModule)return m;var v={};if(m!=null)for(var y in m)y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)&&s(v,m,y);return f(v,m),v},g=this&&this.__rest||function(m,v){var y={};for(var w in m)Object.prototype.hasOwnProperty.call(m,w)&&v.indexOf(w)<0&&(y[w]=m[w]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function"){var S=0;for(w=Object.getOwnPropertySymbols(m);S<w.length;S++)v.indexOf(w[S])<0&&Object.prototype.propertyIsEnumerable.call(m,w[S])&&(y[w[S]]=m[w[S]])}return y};Object.defineProperty(l,"__esModule",{value:!0}),l.Widget=void 0;var h=p(c(156)),_=c(611),b=c(794);l.Widget=function(m){var v=m.id,y=m.style,w=y===void 0?{}:y,S=m.className,O=S===void 0?"":S,E=g(m,["id","style","className"]),P=(0,h.useRef)(null);return(0,h.useEffect)(function(){if(P.current){var A=(0,_.createWidget)(v,d(d({},E),{container:P.current}));return function(){A.unmount()}}},[v,E]),h.default.createElement(h.default.Fragment,null,h.default.createElement(b.InlineStyle,{filename:"widget"}),h.default.createElement("div",{style:w,className:O,ref:P}))}},797:function(u,l,c){var d=this&&this.__createBinding||(Object.create?function(f,p,g,h){h===void 0&&(h=g);var _=Object.getOwnPropertyDescriptor(p,g);_&&!("get"in _?!p.__esModule:_.writable||_.configurable)||(_={enumerable:!0,get:function(){return p[g]}}),Object.defineProperty(f,h,_)}:function(f,p,g,h){h===void 0&&(h=g),f[h]=p[g]}),s=this&&this.__exportStar||function(f,p){for(var g in f)g==="default"||Object.prototype.hasOwnProperty.call(p,g)||d(p,f,g)};Object.defineProperty(l,"__esModule",{value:!0}),s(c(553),l)},553:function(u,l,c){var d=this&&this.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(l,"__esModule",{value:!0}),l.memoComponent=l.propsAreEqual=void 0;var s=c(156),f=d(c(378));l.propsAreEqual=function(p,g){return(0,f.default)(p,g)},l.memoComponent=function(p){return(0,s.memo)(p,l.propsAreEqual)}},52:function(u,l,c){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){return c.g.__webpack_nonce__!==void 0?c.g.__webpack_nonce__:null}},367:function(u,l,c){var d={"./popover.css":145,"./popup.css":792,"./sidetab.css":838,"./slider.css":630,"./widget.css":684};function s(p){var g=f(p);return c(g)}function f(p){if(!c.o(d,p)){var g=new Error("Cannot find module '"+p+"'");throw g.code="MODULE_NOT_FOUND",g}return d[p]}s.keys=function(){return Object.keys(d)},s.resolve=f,u.exports=s,s.id=367},611:function(u){u.exports=function(){var l={8027:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.DEFAULT_DOMAIN=s.POPUP_SIZE=s.SLIDER_WIDTH=s.SLIDER_POSITION=s.LIVE_EMBED_ATTRIBUTE=s.SIDETAB_ATTRIBUTE=s.WIDGET_ATTRIBUTE=s.SLIDER_ATTRIBUTE=s.POPUP_ATTRIBUTE=s.POPOVER_ATTRIBUTE=void 0,s.POPOVER_ATTRIBUTE="data-tf-popover",s.POPUP_ATTRIBUTE="data-tf-popup",s.SLIDER_ATTRIBUTE="data-tf-slider",s.WIDGET_ATTRIBUTE="data-tf-widget",s.SIDETAB_ATTRIBUTE="data-tf-sidetab",s.LIVE_EMBED_ATTRIBUTE="data-tf-live",s.SLIDER_POSITION="right",s.SLIDER_WIDTH=800,s.POPUP_SIZE=100,s.DEFAULT_DOMAIN="form.typeform.com"},7528:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(y){for(var w,S=1,O=arguments.length;S<O;S++)for(var E in w=arguments[S])Object.prototype.hasOwnProperty.call(w,E)&&(y[E]=w[E]);return y},p.apply(this,arguments)},g=this&&this.__rest||function(y,w){var S={};for(var O in y)Object.prototype.hasOwnProperty.call(y,O)&&w.indexOf(O)<0&&(S[O]=y[O]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function"){var E=0;for(O=Object.getOwnPropertySymbols(y);E<O.length;E++)w.indexOf(O[E])<0&&Object.prototype.propertyIsEnumerable.call(y,O[E])&&(S[O[E]]=y[O[E]])}return S};Object.defineProperty(s,"__esModule",{value:!0}),s.createPopover=void 0;var h=f(6797),_=f(1320),b=function(y,w){var S=y.parentNode;S&&(S.removeChild(y),S.appendChild(w))},m=function(y,w){y===void 0&&(y="span"),w===void 0&&(w="tf-v1-popover-button-icon");var S=document.createElement(y);return S.className="".concat(w," tf-v1-close-icon"),S.innerHTML="&times;",S.dataset.testid=w,S},v={buttonColor:"#3a7685"};s.createPopover=function(y,w){w===void 0&&(w={});var S,O,E,P=p(p({},v),w),A=P.domain,L=g(P,["domain"]),N=(0,h.createIframe)("popover",{formId:y,domain:A,options:L}),$=N.iframe,C=N.embedId,I=N.refresh,R=N.focus,D=function(ne,X){var re=document.createElement("div");return re.className="tf-v1-popover",re.dataset.testid="tf-v1-popover",(0,h.setElementSize)(re,{width:ne,height:X})}(L.width,L.height),B=function(){var ne=document.createElement("div");return ne.className="tf-v1-popover-wrapper",ne.dataset.testid="tf-v1-popover-wrapper",ne}(),V=function(ne,X){var re=(0,h.getTextColor)(X),ie=document.createElement("div");ie.className="tf-v1-popover-button-icon";var _e=`<svg class="default" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
776
776
  <path d="M21 0H0V9L10.5743 24V16.5H21C22.6567 16.5 24 15.1567 24 13.5V3C24 1.34325 22.6567 0 21 0ZM7.5
777
777
  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
778
778
  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
779
779
  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
780
780
  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(re,`"></path>
781
- </svg>`),sn=ne==null?void 0:ne.startsWith("http");return ie.innerHTML=sn?"<img alt='popover trigger icon button' src='".concat(ne,"'/>"):ne??_e,ie.dataset.testid="default-icon",ie}(L.customIcon,L.buttonColor||v.buttonColor),W=function(){var ne=document.createElement("div");ne.className="tf-v1-spinner";var X=document.createElement("div");return X.className="tf-v1-popover-button-icon",X.dataset.testid="spinner-icon",X.append(ne),X}(),Y=m(),U=m("button","tf-v1-popover-close"),F=function(ne,X){X===void 0&&(X={});var re=(0,h.getTextColor)(ne),ie=document.createElement("button");return ie.className="tf-v1-popover-button",ie.dataset.testid="tf-v1-popover-button",ie.style.backgroundColor=ne,ie.style.color=re,(0,h.addAttributesToElement)(ie,X),ie}(L.buttonColor||v.buttonColor,L.buttonProps);(L.container||document.body).append(D),B.append($),D.append(F),D.append(U),F.append(V);var z=function(){O&&O.parentNode&&(O.classList.add("closing"),setTimeout(function(){(0,h.unmountElement)(O)},250))};L.tooltip&&L.tooltip.length>0&&(O=function(ne,X){var re=document.createElement("span");re.className="tf-v1-popover-tooltip-close",re.dataset.testid="tf-v1-popover-tooltip-close",re.innerHTML="&times;",re.onclick=X;var ie=document.createElement("div");ie.className="tf-v1-popover-tooltip-text",ie.innerHTML=ne;var _e=document.createElement("div");return _e.className="tf-v1-popover-tooltip",_e.dataset.testid="tf-v1-popover-tooltip",_e.appendChild(ie),_e.appendChild(re),_e}(L.tooltip,z),D.append(O)),L.notificationDays&&(L.enableSandbox||(0,_.canBuildNotificationDot)(y))&&(E=(0,_.buildNotificationDot)(),F.append(E)),$.onload=function(){D.classList.add("open"),B.style.opacity="1",U.style.opacity="1",b(W,Y),(0,h.addCustomKeyboardListener)(te)};var x=function(){(0,h.isOpen)(B)||(z(),E&&(E.classList.add("closing"),L.notificationDays&&!L.enableSandbox&&(0,_.saveNotificationDotHideUntilTime)(y,L.notificationDays),setTimeout(function(){(0,h.unmountElement)(E)},250)),setTimeout(function(){(0,h.isInPage)(B)?(B.style.opacity="0",U.style.opacity="0",B.style.display="flex",setTimeout(function(){D.classList.add("open"),B.style.opacity="1",U.style.opacity="1"}),b(V,Y)):(D.append(B),b(V,W),B.style.opacity="0",U.style.opacity="0")}))},te=function(){var ne;(0,h.isOpen)(D)&&((ne=w.onClose)===null||ne===void 0||ne.call(w),setTimeout(function(){L.keepSession?B.style.display="none":(0,h.unmountElement)(B),D.classList.remove("open"),b(Y,V)},250))};(0,h.setAutoClose)(C,L.autoClose,te);var se=function(){(0,h.isOpen)(B)?te():x()};return F.onclick=(0,h.invokeWithoutDefault)(se),U.onclick=(0,h.invokeWithoutDefault)(te),L.open&&!(0,h.isOpen)(B)&&(S=(0,h.handleCustomOpen)(x,L.open,L.openValue)),{open:x,close:te,toggle:se,refresh:I,focus:R,unmount:function(){(0,h.unmountElement)(D),L.open&&(S!=null&&S.remove)&&S.remove()}}}},1797:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(7528),s),g(f(6100),s)},1320:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(_){for(var b,m=1,v=arguments.length;m<v;m++)for(var y in b=arguments[m])Object.prototype.hasOwnProperty.call(b,y)&&(_[y]=b[y]);return _},f.apply(this,arguments)};Object.defineProperty(s,"__esModule",{value:!0}),s.buildNotificationDot=s.canBuildNotificationDot=s.saveNotificationDotHideUntilTime=void 0;var p="tfNotificationData",g=function(){var _=localStorage.getItem(p);return _?JSON.parse(_):{}},h=function(_){_&&localStorage.setItem(p,JSON.stringify(_))};s.saveNotificationDotHideUntilTime=function(_,b){var m,v=new Date;v.setDate(v.getDate()+b),h(f(f({},g()),((m={})[_]={hideUntilTime:v.getTime()},m)))},s.canBuildNotificationDot=function(_){var b=function(m){var v;return((v=g()[m])===null||v===void 0?void 0:v.hideUntilTime)||0}(_);return new Date().getTime()>b&&(b&&function(m){var v=g();delete v[m],h(v)}(_),!0)},s.buildNotificationDot=function(){var _=document.createElement("span");return _.className="tf-v1-popover-unread-dot",_.dataset.testid="tf-v1-popover-unread-dot",_}},6100:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},9630:function(d,s,f){var p=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.createPopup=void 0;var g=f(6797),h=f(8027),_=f(6797);s.createPopup=function(b,m){if(m===void 0&&(m={}),!(0,g.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var v,y=m.width,w=m.height,S=m.size,O=S===void 0?h.POPUP_SIZE:S,E=m.onClose,P=m.domain,A=p(m,["width","height","size","onClose","domain"]),L=(0,g.createIframe)("popup",{formId:b,domain:P,options:A}),N=L.iframe,$=L.embedId,C=L.refresh,I=L.focus,R=document.body.style.overflow,D=function(){var z=document.createElement("div");return z.className="tf-v1-popup",z.dataset.testid="tf-v1-popup",z.style.opacity="0",z}(),B=function(){var z=document.createElement("div");return z.className="tf-v1-spinner",z}(),V=function(z,x,te){var se=document.createElement("div");return se.className="tf-v1-iframe-wrapper",se.style.opacity="0",(0,g.isDefined)(z)&&(0,g.isDefined)(x)?(0,g.setElementSize)(se,{width:z,height:x}):(se.style.width="calc(".concat(te,"% - 80px)"),se.style.height="calc(".concat(te,"% - 80px)"),se)}(y,w,O);V.append(N),D.append(B),D.append(V);var W=A.container||document.body;N.onload=function(){V.style.opacity="1",setTimeout(function(){B.style.display="none"},250),(0,g.addCustomKeyboardListener)(U)};var Y=function(){(0,_.isOpen)(D)||((0,_.isInPage)(D)?D.style.display="flex":(B.style.display="block",W.append(D)),document.body.style.overflow="hidden",setTimeout(function(){D.style.opacity="1"}))},U=function(){(0,_.isOpen)(D)&&(E==null||E(),D.style.opacity="0",document.body.style.overflow=R,setTimeout(function(){A.keepSession?D.style.display="none":F()},250))};V.append(function(z){var x=document.createElement("button");return x.className="tf-v1-close tf-v1-close-icon",x.innerHTML="&times;",x.onclick=(0,g.invokeWithoutDefault)(z),x}(U)),(0,g.setAutoClose)($,A.autoClose,U),A.open&&!(0,_.isOpen)(D)&&(v=(0,g.handleCustomOpen)(Y,A.open,A.openValue));var F=function(){(0,g.unmountElement)(D),A.open&&(v!=null&&v.remove)&&v.remove()};return{open:Y,close:U,toggle:function(){(0,_.isOpen)(D)?U():Y()},refresh:C,focus:I,unmount:F}}},5970:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(9630),s),g(f(7394),s)},7394:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},382:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(v){for(var y,w=1,S=arguments.length;w<S;w++)for(var O in y=arguments[w])Object.prototype.hasOwnProperty.call(y,O)&&(v[O]=y[O]);return v},p.apply(this,arguments)},g=this&&this.__rest||function(v,y){var w={};for(var S in v)Object.prototype.hasOwnProperty.call(v,S)&&y.indexOf(S)<0&&(w[S]=v[S]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(S=Object.getOwnPropertySymbols(v);O<S.length;O++)y.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(v,S[O])&&(w[S[O]]=v[S[O]])}return w};Object.defineProperty(s,"__esModule",{value:!0}),s.createSidetab=void 0;var h=f(6797),_={buttonColor:"#3a7685",buttonText:"Launch me"},b=function(v,y){v===void 0&&(v="div"),y===void 0&&(y="tf-v1-sidetab-button-icon");var w=document.createElement(v);return w.className="".concat(y," tf-v1-close-icon"),w.innerHTML="&times;",w.dataset.testid=y,w},m=function(v,y){var w=v.parentNode;w&&(w.removeChild(v),w.appendChild(y))};s.createSidetab=function(v,y){y===void 0&&(y={});var w,S=p(p({},_),y),O=S.domain,E=g(S,["domain"]),P=(0,h.createIframe)("side-tab",{formId:v,domain:O,options:E}),A=P.iframe,L=P.embedId,N=P.refresh,$=P.focus,C=function(x,te,se,ne){var X=document.createElement("div");return X.className="tf-v1-sidetab",X.dataset.testid="tf-v1-sidetab",(0,h.setElementSize)(X,{width:x,height:te}),se!==void 0?(X.style.top="calc(".concat((0,h.getValueWithUnits)(se)," + ").concat((0,h.getValueWithUnits)(te||580)," / 2)"),X.style.bottom="auto"):ne!==void 0&&(X.style.top="auto",X.style.bottom="calc(".concat((0,h.getValueWithUnits)(ne)," - ").concat((0,h.getValueWithUnits)(te||580)," / 2)")),X}(E.width,E.height,E.top,E.bottom),I=function(){var x=document.createElement("div");return x.className="tf-v1-sidetab-wrapper",x.dataset.testid="tf-v1-sidetab-wrapper",x}(),R=function(){var x=document.createElement("div");x.className="tf-v1-spinner";var te=document.createElement("div");return te.className="tf-v1-sidetab-button-icon",te.dataset.testid="spinner-icon",te.append(x),te}(),D=function(x){var te=x.backgroundColor,se=x.textColor,ne=x.width,X=x.height,re=x.align,ie=re===void 0?"center":re,_e=x.buttonProps,sn=_e===void 0?{}:_e,Ne=document.createElement("button");return Ne.className="tf-v1-sidetab-button",Ne.style.backgroundColor=te,Ne.style.color=se||(0,h.getTextColor)(te),(0,h.addAttributesToElement)(Ne,sn),(0,h.setElementSize)(Ne,{width:ne,height:X}),X&&(Ne.style.left="-".concat((0,h.getValueWithUnits)(X))),ie==="top"?(Ne.style.transform="rotate(-90deg) translateX(-100%)",Ne.style.top="0"):ie==="bottom"&&(Ne.style.transform="rotate(-90deg) translateX(0)",Ne.style.top="auto",Ne.style.bottom="-".concat((0,h.getValueWithUnits)(X||48))),Ne}({backgroundColor:E.buttonColor||_.buttonColor,textColor:E.buttonTextColor,width:E.buttonHeight,height:E.buttonWidth,align:E.buttonAlign,buttonProps:E.buttonProps}),B=function(x,te){var se=document.createElement("span");return se.className="tf-v1-sidetab-button-text",se.innerHTML=x,te&&(se.style.fontSize=(0,h.getValueWithUnits)(te)),se}(E.buttonText||_.buttonText,E.buttonTextSize),V=function(x,te,se,ne){var X=se||(0,h.getTextColor)(te),re=document.createElement("div");re.className="tf-v1-sidetab-button-icon",ne&&(re.style.width=(0,h.getValueWithUnits)(ne),re.style.height=(0,h.getValueWithUnits)(ne));var ie=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
781
+ </svg>`),ln=ne==null?void 0:ne.startsWith("http");return ie.innerHTML=ln?"<img alt='popover trigger icon button' src='".concat(ne,"'/>"):ne??_e,ie.dataset.testid="default-icon",ie}(L.customIcon,L.buttonColor||v.buttonColor),W=function(){var ne=document.createElement("div");ne.className="tf-v1-spinner";var X=document.createElement("div");return X.className="tf-v1-popover-button-icon",X.dataset.testid="spinner-icon",X.append(ne),X}(),Y=m(),U=m("button","tf-v1-popover-close"),F=function(ne,X){X===void 0&&(X={});var re=(0,h.getTextColor)(ne),ie=document.createElement("button");return ie.className="tf-v1-popover-button",ie.dataset.testid="tf-v1-popover-button",ie.style.backgroundColor=ne,ie.style.color=re,(0,h.addAttributesToElement)(ie,X),ie}(L.buttonColor||v.buttonColor,L.buttonProps);(L.container||document.body).append(D),B.append($),D.append(F),D.append(U),F.append(V);var z=function(){O&&O.parentNode&&(O.classList.add("closing"),setTimeout(function(){(0,h.unmountElement)(O)},250))};L.tooltip&&L.tooltip.length>0&&(O=function(ne,X){var re=document.createElement("span");re.className="tf-v1-popover-tooltip-close",re.dataset.testid="tf-v1-popover-tooltip-close",re.innerHTML="&times;",re.onclick=X;var ie=document.createElement("div");ie.className="tf-v1-popover-tooltip-text",ie.innerHTML=ne;var _e=document.createElement("div");return _e.className="tf-v1-popover-tooltip",_e.dataset.testid="tf-v1-popover-tooltip",_e.appendChild(ie),_e.appendChild(re),_e}(L.tooltip,z),D.append(O)),L.notificationDays&&(L.enableSandbox||(0,_.canBuildNotificationDot)(y))&&(E=(0,_.buildNotificationDot)(),F.append(E)),$.onload=function(){D.classList.add("open"),B.style.opacity="1",U.style.opacity="1",b(W,Y),(0,h.addCustomKeyboardListener)(te)};var x=function(){(0,h.isOpen)(B)||(z(),E&&(E.classList.add("closing"),L.notificationDays&&!L.enableSandbox&&(0,_.saveNotificationDotHideUntilTime)(y,L.notificationDays),setTimeout(function(){(0,h.unmountElement)(E)},250)),setTimeout(function(){(0,h.isInPage)(B)?(B.style.opacity="0",U.style.opacity="0",B.style.display="flex",setTimeout(function(){D.classList.add("open"),B.style.opacity="1",U.style.opacity="1"}),b(V,Y)):(D.append(B),b(V,W),B.style.opacity="0",U.style.opacity="0")}))},te=function(){var ne;(0,h.isOpen)(D)&&((ne=w.onClose)===null||ne===void 0||ne.call(w),setTimeout(function(){L.keepSession?B.style.display="none":(0,h.unmountElement)(B),D.classList.remove("open"),b(Y,V)},250))};(0,h.setAutoClose)(C,L.autoClose,te);var se=function(){(0,h.isOpen)(B)?te():x()};return F.onclick=(0,h.invokeWithoutDefault)(se),U.onclick=(0,h.invokeWithoutDefault)(te),L.open&&!(0,h.isOpen)(B)&&(S=(0,h.handleCustomOpen)(x,L.open,L.openValue)),{open:x,close:te,toggle:se,refresh:I,focus:R,unmount:function(){(0,h.unmountElement)(D),L.open&&(S!=null&&S.remove)&&S.remove()}}}},1797:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(7528),s),g(f(6100),s)},1320:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(_){for(var b,m=1,v=arguments.length;m<v;m++)for(var y in b=arguments[m])Object.prototype.hasOwnProperty.call(b,y)&&(_[y]=b[y]);return _},f.apply(this,arguments)};Object.defineProperty(s,"__esModule",{value:!0}),s.buildNotificationDot=s.canBuildNotificationDot=s.saveNotificationDotHideUntilTime=void 0;var p="tfNotificationData",g=function(){var _=localStorage.getItem(p);return _?JSON.parse(_):{}},h=function(_){_&&localStorage.setItem(p,JSON.stringify(_))};s.saveNotificationDotHideUntilTime=function(_,b){var m,v=new Date;v.setDate(v.getDate()+b),h(f(f({},g()),((m={})[_]={hideUntilTime:v.getTime()},m)))},s.canBuildNotificationDot=function(_){var b=function(m){var v;return((v=g()[m])===null||v===void 0?void 0:v.hideUntilTime)||0}(_);return new Date().getTime()>b&&(b&&function(m){var v=g();delete v[m],h(v)}(_),!0)},s.buildNotificationDot=function(){var _=document.createElement("span");return _.className="tf-v1-popover-unread-dot",_.dataset.testid="tf-v1-popover-unread-dot",_}},6100:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},9630:function(d,s,f){var p=this&&this.__rest||function(b,m){var v={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&m.indexOf(y)<0&&(v[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function"){var w=0;for(y=Object.getOwnPropertySymbols(b);w<y.length;w++)m.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(b,y[w])&&(v[y[w]]=b[y[w]])}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.createPopup=void 0;var g=f(6797),h=f(8027),_=f(6797);s.createPopup=function(b,m){if(m===void 0&&(m={}),!(0,g.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var v,y=m.width,w=m.height,S=m.size,O=S===void 0?h.POPUP_SIZE:S,E=m.onClose,P=m.domain,A=p(m,["width","height","size","onClose","domain"]),L=(0,g.createIframe)("popup",{formId:b,domain:P,options:A}),N=L.iframe,$=L.embedId,C=L.refresh,I=L.focus,R=document.body.style.overflow,D=function(){var z=document.createElement("div");return z.className="tf-v1-popup",z.dataset.testid="tf-v1-popup",z.style.opacity="0",z}(),B=function(){var z=document.createElement("div");return z.className="tf-v1-spinner",z}(),V=function(z,x,te){var se=document.createElement("div");return se.className="tf-v1-iframe-wrapper",se.style.opacity="0",(0,g.isDefined)(z)&&(0,g.isDefined)(x)?(0,g.setElementSize)(se,{width:z,height:x}):(se.style.width="calc(".concat(te,"% - 80px)"),se.style.height="calc(".concat(te,"% - 80px)"),se)}(y,w,O);V.append(N),D.append(B),D.append(V);var W=A.container||document.body;N.onload=function(){V.style.opacity="1",setTimeout(function(){B.style.display="none"},250),(0,g.addCustomKeyboardListener)(U)};var Y=function(){(0,_.isOpen)(D)||((0,_.isInPage)(D)?D.style.display="flex":(B.style.display="block",W.append(D)),document.body.style.overflow="hidden",setTimeout(function(){D.style.opacity="1"}))},U=function(){(0,_.isOpen)(D)&&(E==null||E(),D.style.opacity="0",document.body.style.overflow=R,setTimeout(function(){A.keepSession?D.style.display="none":F()},250))};V.append(function(z){var x=document.createElement("button");return x.className="tf-v1-close tf-v1-close-icon",x.innerHTML="&times;",x.onclick=(0,g.invokeWithoutDefault)(z),x}(U)),(0,g.setAutoClose)($,A.autoClose,U),A.open&&!(0,_.isOpen)(D)&&(v=(0,g.handleCustomOpen)(Y,A.open,A.openValue));var F=function(){(0,g.unmountElement)(D),A.open&&(v!=null&&v.remove)&&v.remove()};return{open:Y,close:U,toggle:function(){(0,_.isOpen)(D)?U():Y()},refresh:C,focus:I,unmount:F}}},5970:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(9630),s),g(f(7394),s)},7394:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},382:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(v){for(var y,w=1,S=arguments.length;w<S;w++)for(var O in y=arguments[w])Object.prototype.hasOwnProperty.call(y,O)&&(v[O]=y[O]);return v},p.apply(this,arguments)},g=this&&this.__rest||function(v,y){var w={};for(var S in v)Object.prototype.hasOwnProperty.call(v,S)&&y.indexOf(S)<0&&(w[S]=v[S]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(S=Object.getOwnPropertySymbols(v);O<S.length;O++)y.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(v,S[O])&&(w[S[O]]=v[S[O]])}return w};Object.defineProperty(s,"__esModule",{value:!0}),s.createSidetab=void 0;var h=f(6797),_={buttonColor:"#3a7685",buttonText:"Launch me"},b=function(v,y){v===void 0&&(v="div"),y===void 0&&(y="tf-v1-sidetab-button-icon");var w=document.createElement(v);return w.className="".concat(y," tf-v1-close-icon"),w.innerHTML="&times;",w.dataset.testid=y,w},m=function(v,y){var w=v.parentNode;w&&(w.removeChild(v),w.appendChild(y))};s.createSidetab=function(v,y){y===void 0&&(y={});var w,S=p(p({},_),y),O=S.domain,E=g(S,["domain"]),P=(0,h.createIframe)("side-tab",{formId:v,domain:O,options:E}),A=P.iframe,L=P.embedId,N=P.refresh,$=P.focus,C=function(x,te,se,ne){var X=document.createElement("div");return X.className="tf-v1-sidetab",X.dataset.testid="tf-v1-sidetab",(0,h.setElementSize)(X,{width:x,height:te}),se!==void 0?(X.style.top="calc(".concat((0,h.getValueWithUnits)(se)," + ").concat((0,h.getValueWithUnits)(te||580)," / 2)"),X.style.bottom="auto"):ne!==void 0&&(X.style.top="auto",X.style.bottom="calc(".concat((0,h.getValueWithUnits)(ne)," - ").concat((0,h.getValueWithUnits)(te||580)," / 2)")),X}(E.width,E.height,E.top,E.bottom),I=function(){var x=document.createElement("div");return x.className="tf-v1-sidetab-wrapper",x.dataset.testid="tf-v1-sidetab-wrapper",x}(),R=function(){var x=document.createElement("div");x.className="tf-v1-spinner";var te=document.createElement("div");return te.className="tf-v1-sidetab-button-icon",te.dataset.testid="spinner-icon",te.append(x),te}(),D=function(x){var te=x.backgroundColor,se=x.textColor,ne=x.width,X=x.height,re=x.align,ie=re===void 0?"center":re,_e=x.buttonProps,ln=_e===void 0?{}:_e,Ne=document.createElement("button");return Ne.className="tf-v1-sidetab-button",Ne.style.backgroundColor=te,Ne.style.color=se||(0,h.getTextColor)(te),(0,h.addAttributesToElement)(Ne,ln),(0,h.setElementSize)(Ne,{width:ne,height:X}),X&&(Ne.style.left="-".concat((0,h.getValueWithUnits)(X))),ie==="top"?(Ne.style.transform="rotate(-90deg) translateX(-100%)",Ne.style.top="0"):ie==="bottom"&&(Ne.style.transform="rotate(-90deg) translateX(0)",Ne.style.top="auto",Ne.style.bottom="-".concat((0,h.getValueWithUnits)(X||48))),Ne}({backgroundColor:E.buttonColor||_.buttonColor,textColor:E.buttonTextColor,width:E.buttonHeight,height:E.buttonWidth,align:E.buttonAlign,buttonProps:E.buttonProps}),B=function(x,te){var se=document.createElement("span");return se.className="tf-v1-sidetab-button-text",se.innerHTML=x,te&&(se.style.fontSize=(0,h.getValueWithUnits)(te)),se}(E.buttonText||_.buttonText,E.buttonTextSize),V=function(x,te,se,ne){var X=se||(0,h.getTextColor)(te),re=document.createElement("div");re.className="tf-v1-sidetab-button-icon",ne&&(re.style.width=(0,h.getValueWithUnits)(ne),re.style.height=(0,h.getValueWithUnits)(ne));var ie=`<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
782
782
  <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(X,`"></path>
783
- </svg>`),_e=x==null?void 0:x.startsWith("http");return re.innerHTML=_e?"<img alt='popover trigger icon button' src='".concat(x,"'/>"):x??ie,re.dataset.testid="default-icon",re}(E.customIcon,E.buttonColor||_.buttonColor,E.buttonTextColor,E.buttonTextSize),W=b(),Y=b("button","tf-v1-sidetab-close");(E.container||document.body).append(C),I.append(A),C.append(D),C.append(Y),D.append(V),D.append(B),setTimeout(function(){C.classList.add("ready")},250),A.onload=function(){C.classList.add("open"),m(R,W),(0,h.addCustomKeyboardListener)(F)};var U=function(){(0,h.isOpen)(I)||((0,h.isInPage)(I)?(I.style.display="flex",C.classList.add("open"),m(V,W)):(C.append(I),m(V,R)))},F=function(){var x;(0,h.isOpen)(I)&&((x=E.onClose)===null||x===void 0||x.call(E),C.classList.remove("open"),setTimeout(function(){E.keepSession?I.style.display="none":(0,h.unmountElement)(I),m(W,V)},250))};(0,h.setAutoClose)(L,E.autoClose,F);var z=function(){(0,h.isOpen)(I)?F():U()};return D.onclick=(0,h.invokeWithoutDefault)(z),Y.onclick=(0,h.invokeWithoutDefault)(F),E.open&&!(0,h.isOpen)(I)&&(w=(0,h.handleCustomOpen)(U,E.open,E.openValue)),{open:U,close:F,toggle:z,refresh:N,focus:$,unmount:function(){(0,h.unmountElement)(C),E.open&&(w!=null&&w.remove)&&w.remove()}}}},1434:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(382),s),g(f(7668),s)},7668:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},2603:function(d,s,f){var p=this&&this.__rest||function(_,b){var m={};for(var v in _)Object.prototype.hasOwnProperty.call(_,v)&&b.indexOf(v)<0&&(m[v]=_[v]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function"){var y=0;for(v=Object.getOwnPropertySymbols(_);y<v.length;y++)b.indexOf(v[y])<0&&Object.prototype.propertyIsEnumerable.call(_,v[y])&&(m[v[y]]=_[v[y]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.createSlider=void 0;var g=f(6797),h=f(8027);s.createSlider=function(_,b){if(b===void 0&&(b={}),!(0,g.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var m,v=b.position,y=v===void 0?h.SLIDER_POSITION:v,w=b.width,S=w===void 0?h.SLIDER_WIDTH:w,O=b.onClose,E=b.domain,P=p(b,["position","width","onClose","domain"]),A=(0,g.createIframe)("slider",{formId:_,domain:E,options:P}),L=A.iframe,N=A.embedId,$=A.refresh,C=A.focus,I=document.body.style.overflow,R=function(F){var z=document.createElement("div");return z.className="tf-v1-slider ".concat(F),z.dataset.testid="tf-v1-slider",z.style.opacity="0",z}(y),D=function(){var F=document.createElement("div");return F.className="tf-v1-spinner",F}(),B=function(F,z){var x=document.createElement("div");return x.className="tf-v1-iframe-wrapper",x.style[F]="-100%",(0,g.setElementSize)(x,{width:z})}(y,S);B.append(L),R.append(D),R.append(B);var V=P.container||document.body;L.onload=function(){B.style[y]="0",setTimeout(function(){D.style.display="none"},500),(0,g.addCustomKeyboardListener)(Y)};var W=function(){(0,g.isOpen)(R)||((0,g.isInPage)(R)?(R.style.display="flex",setTimeout(function(){B.style[y]="0"})):(V.append(R),D.style.display="block"),document.body.style.overflow="hidden",setTimeout(function(){R.style.opacity="1"}))},Y=function(){(0,g.isOpen)(R)&&(O==null||O(),R.style.opacity="0",B.style[y]="-100%",document.body.style.overflow=I,setTimeout(function(){P.keepSession?R.style.display="none":U()},500))};(0,g.setAutoClose)(N,P.autoClose,Y),B.append(function(F){var z=document.createElement("button");return z.className="tf-v1-close tf-v1-close-icon",z.innerHTML="&times;",z.onclick=(0,g.invokeWithoutDefault)(F),z}(Y)),P.open&&!(0,g.isOpen)(R)&&(m=(0,g.handleCustomOpen)(W,P.open,P.openValue));var U=function(){(0,g.unmountElement)(R),P.open&&(m!=null&&m.remove)&&m.remove()};return{open:W,close:Y,toggle:function(){(0,g.isOpen)(R)?Y():W()},refresh:$,focus:C,unmount:U}}},4071:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(2603),s),g(f(3162),s)},3162:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},718:function(d,s,f){var p=this&&this.__rest||function(v,y){var w={};for(var S in v)Object.prototype.hasOwnProperty.call(v,S)&&y.indexOf(S)<0&&(w[S]=v[S]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(S=Object.getOwnPropertySymbols(v);O<S.length;O++)y.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(v,S[O])&&(w[S[O]]=v[S[O]])}return w},g=this&&this.__read||function(v,y){var w=typeof Symbol=="function"&&v[Symbol.iterator];if(!w)return v;var S,O,E=w.call(v),P=[];try{for(;(y===void 0||y-- >0)&&!(S=E.next()).done;)P.push(S.value)}catch(A){O={error:A}}finally{try{S&&!S.done&&(w=E.return)&&w.call(E)}finally{if(O)throw O.error}}return P};Object.defineProperty(s,"__esModule",{value:!0}),s.createWidget=void 0;var h=f(6797),_=f(8554),b=f(2313),m=f(1126);s.createWidget=function(v,y){if(!(0,h.hasDom)())return{refresh:function(){},focus:function(){},unmount:function(){}};var w=y.domain,S=p(y,["domain"]);S.inlineOnMobile=y.inlineOnMobile||y.fullScreen,S.inlineOnMobile||!S.forceTouch&&!(0,h.isFullscreen)()||(S.displayAsFullScreenModal=!0,S.forceTouch=!0);var O=(0,h.createIframe)("widget",{formId:v,domain:w,options:S}),E=O.embedId,P=O.iframe,A=O.refresh,L=O.focus,N=(0,b.buildWidget)(P,S.width,S.height);if(S.fullScreen&&(0,m.overrideFullScreenStyles)(y.container,P),S.autoResize){var $=g(typeof S.autoResize=="string"?S.autoResize.split(",").map(function(U){return parseInt(U)}):[],2),C=$[0],I=$[1];window.addEventListener("message",(0,_.getFormHeightChangedHandler)(E,function(U){var F=Math.max(U.height,C||0);I&&(F=Math.min(F,I)),y.container.style.height="".concat(F,"px")}))}S.autoFocus&&window.addEventListener("message",(0,_.getFormReadyHandler)(E,function(){setTimeout(function(){L()},1e3)}));var R,D=function(){return y.container.append(N)};if(y.container.innerHTML="",y.lazy?(0,h.lazyInitialize)(y.container,D):D(),S.displayAsFullScreenModal){var B="",V=y.container,W=V.style.height;window.addEventListener("message",(0,_.getWelcomeScreenHiddenHandler)(E,function(){V.classList.add("tf-v1-widget-fullscreen"),y.opacity!==void 0&&(V.style.backgroundColor=B)})),window.addEventListener("message",(0,_.getFormThemeHandler)(E,function(U){var F;B=(0,h.changeColorOpacity)((F=U==null?void 0:U.theme)===null||F===void 0?void 0:F.backgroundColor)}));var Y=((R=document.createElement("button")).className="tf-v1-widget-close tf-v1-close-icon",R.innerHTML="&times;",R);Y.onclick=(0,h.invokeWithoutDefault)(function(){var U;if(V.style.height=W,(U=y.onClose)===null||U===void 0||U.call(y),V.classList.remove("tf-v1-widget-fullscreen"),V.style.backgroundColor="",y.keepSession){var F=document.createElement("div");F.className="tf-v1-widget-iframe-overlay",F.onclick=function(){V.classList.add("tf-v1-widget-fullscreen"),(0,h.unmountElement)(F)},N.append(F)}else y.container.innerHTML="",D(),V.append(Y)}),V.append(Y)}return{refresh:A,focus:L,unmount:function(){(0,h.unmountElement)(N)}}}},1419:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.buildWidget=void 0;var p=f(6797);s.buildWidget=function(g,h,_){var b=document.createElement("div");return b.className="tf-v1-widget",b.dataset.testid="tf-v1-widget",b.append(g),(0,p.setElementSize)(b,{width:h,height:_})}},2313:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1419),s)},1126:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.overrideFullScreenStyles=void 0,s.overrideFullScreenStyles=function(f,p){Object.assign(f.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),p.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(718),s),g(f(4058),s)},4058:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},1920:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1797),s),g(f(5970),s),g(f(4071),s),g(f(9321),s),g(f(1434),s)},5084:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.addAttributesToElement=void 0;var p=f(7377);s.addAttributesToElement=function(g,h){h===void 0&&(h={}),Object.keys(h).forEach(function(_){g.setAttribute((0,p.camelCaseToKebabCase)(_),h[_])})}},3626:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(w){for(var S,O=1,E=arguments.length;O<E;O++)for(var P in S=arguments[O])Object.prototype.hasOwnProperty.call(S,P)&&(w[P]=S[P]);return w},p.apply(this,arguments)},g=this&&this.__read||function(w,S){var O=typeof Symbol=="function"&&w[Symbol.iterator];if(!O)return w;var E,P,A=O.call(w),L=[];try{for(;(S===void 0||S-- >0)&&!(E=A.next()).done;)L.push(E.value)}catch(N){P={error:N}}finally{try{E&&!E.done&&(O=A.return)&&O.call(A)}finally{if(P)throw P.error}}return L};Object.defineProperty(s,"__esModule",{value:!0}),s.buildIframeSrc=void 0;var h=f(8027),_=f(4527),b=f(2346),m=f(2698),v=f(863),y={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};s.buildIframeSrc=function(w){var S=w.domain,O=w.formId,E=w.type,P=w.embedId,A=w.options,L=function(R,D,B){var V=B.transitiveSearchParams,W=B.source,Y=B.medium,U=B.mediumVersion,F=B.hideFooter,z=B.hideHeaders,x=B.opacity,te=B.disableTracking,se=B.enableSandbox,ne=B.shareGaInstance,X=B.forceTouch,re=B.displayAsFullScreenModal,ie=B.tracking,_e=B.redirectTarget,sn=B.autoResize,Ne=B.disableScroll,Ar=B.onEndingButtonClick,Ha=B.noHeading,Ka=(0,m.getTransitiveSearchParams)(V);return p(p(p({},{"typeform-embed-id":D,"typeform-embed":y[R],"typeform-source":W,"typeform-medium":Y,"typeform-medium-version":U,"embed-hide-footer":F?"true":void 0,"embed-hide-headers":z?"true":void 0,"embed-opacity":x,"disable-tracking":te||se?"true":void 0,"__dangerous-disable-submissions":se?"true":void 0,"share-ga-instance":ne?"true":void 0,"force-touch":X?"true":void 0,"add-placeholder-ws":R==="widget"&&re?"true":void 0,"typeform-embed-redirect-target":_e,"typeform-embed-auto-resize":sn?"true":void 0,"typeform-embed-disable-scroll":Ne?"true":void 0,"typeform-embed-handle-ending-button-click":Ar?"true":void 0,"typeform-embed-no-heading":Ha?"true":void 0}),Ka),ie)}(E,P,function(R){return R.noHeading||(R.noHeading=document.querySelectorAll("h1").length>0),p(p({},{source:(D=window==null?void 0:window.location)===null||D===void 0?void 0:D.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),(0,_.removeUndefinedKeys)(R));var D}(A)),N=function(R,D){return D===void 0&&(D=h.DEFAULT_DOMAIN),R.startsWith("http://")||R.startsWith("https://")?new URL(R):new URL("https://".concat(D,"/to/").concat(R))}(O,S);if(Object.entries(L).filter(function(R){var D=g(R,2)[1];return(0,b.isDefined)(D)}).forEach(function(R){var D=g(R,2),B=D[0],V=D[1];N.searchParams.set(B,V)}),A.hubspot){var $=(0,v.getHubspotHiddenFields)();A.hidden=p(p({},A.hidden),$)}if(A.hidden){var C=new URLSearchParams;Object.entries(A.hidden).filter(function(R){var D=g(R,2)[1];return(0,b.isDefined)(D)&&D!==""}).forEach(function(R){var D=g(R,2),B=D[0],V=D[1];typeof A.transitiveSearchParams=="boolean"&&N.searchParams.delete(B),C.set(B,V)});var I=C.toString();I&&(N.hash=I)}return N.href}},2391:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.changeColorOpacity=void 0,s.changeColorOpacity=function(f,p){return f===void 0&&(f=""),p===void 0&&(p=255),f.startsWith("rgba(")?f==null?void 0:f.replace(/, [\d.]+\)$/,", ".concat(p,")")):f}},8972:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.handleCustomOpen=void 0;var f={remove:function(){}};s.handleCustomOpen=function(p,g,h){switch(g){case"load":return p(),f;case"exit":return h?function(_,b){var m=0,v=function(y){y.clientY<_&&y.clientY<m?(document.removeEventListener("mousemove",v,!0),b()):m=y.clientY};return document.addEventListener("mousemove",v,!0),{remove:function(){return document.removeEventListener("mousemove",v,!0)}}}(h,p):f;case"time":return setTimeout(function(){p()},h),f;case"scroll":return h?function(_,b){function m(){var v=window.pageYOffset||document.documentElement.scrollTop,y=document.documentElement.clientTop||0,w=document.documentElement.scrollHeight,S=v-y,O=S/w*100,E=S+window.innerHeight>=w;(O>=_||E)&&(b(),document.removeEventListener("scroll",m))}return document.addEventListener("scroll",m),{remove:function(){return document.removeEventListener("scroll",m)}}}(h,p):f;default:return f}}},1553:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.createIframe=void 0;var p=f(3626),g=f(6797),h=f(8866),_=f(8554),b=f(2256),m=f(7144),v=f(5511);s.createIframe=function(y,w){var S=w.formId,O=w.domain,E=w.options,P=(0,h.generateEmbedId)(),A=E.iframeProps,L=A===void 0?{}:A,N=E.onReady,$=E.onStarted,C=E.onQuestionChanged,I=E.onHeightChanged,R=E.onSubmit,D=E.onEndingButtonClick,B=E.shareGaInstance,V=(0,p.buildIframeSrc)({formId:S,domain:O,embedId:P,type:y,options:E}),W=document.createElement("iframe");return W.src=V,W.dataset.testid="iframe",W.style.border="0px",W.allow="microphone; camera",(0,g.addAttributesToElement)(W,L),W.addEventListener("load",b.triggerIframeRedraw,{once:!0}),window.addEventListener("message",(0,_.getFormReadyHandler)(P,N)),window.addEventListener("message",(0,_.getFormStartedHandler)(P,$)),window.addEventListener("message",(0,_.getFormQuestionChangedHandler)(P,C)),window.addEventListener("message",(0,_.getFormHeightChangedHandler)(P,I)),window.addEventListener("message",(0,_.getFormSubmitHandler)(P,R)),window.addEventListener("message",(0,_.getFormThemeHandler)(P,function(Y){var U;if(Y!=null&&Y.theme){var F=document.querySelector(".tf-v1-close-icon");F&&(F.style.color=(U=Y.theme)===null||U===void 0?void 0:U.color)}})),window.addEventListener("message",(0,_.getThankYouScreenButtonClickHandler)(P,D)),y!=="widget"&&window.addEventListener("message",m.dispatchCustomKeyEventFromIframe),B&&window.addEventListener("message",(0,_.getFormReadyHandler)(P,function(){(0,g.setupGaInstance)(W,P,B)})),{iframe:W,embedId:P,refresh:function(){return(0,v.refreshIframe)(W)},focus:function(){var Y;(Y=W.contentWindow)===null||Y===void 0||Y.postMessage("embed-focus","*")}}}},8866:function(d,s){var f=this&&this.__read||function(p,g){var h=typeof Symbol=="function"&&p[Symbol.iterator];if(!h)return p;var _,b,m=h.call(p),v=[];try{for(;(g===void 0||g-- >0)&&!(_=m.next()).done;)v.push(_.value)}catch(y){b={error:y}}finally{try{_&&!_.done&&(h=m.return)&&h.call(m)}finally{if(b)throw b.error}}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.generateEmbedId=void 0,s.generateEmbedId=function(){var p=Math.random();return f(String(p).split("."),2)[1]}},8554:function(d,s){var f=this&&this.__rest||function(g,h){var _={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&h.indexOf(b)<0&&(_[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var m=0;for(b=Object.getOwnPropertySymbols(g);m<b.length;m++)h.indexOf(b[m])<0&&Object.prototype.propertyIsEnumerable.call(g,b[m])&&(_[b[m]]=g[b[m]])}return _};function p(g,h,_){return function(b){var m=b.data,v=m.type,y=m.embedId,w=f(m,["type","embedId"]);v===g&&y===h&&(_==null||_(w))}}Object.defineProperty(s,"__esModule",{value:!0}),s.getThankYouScreenButtonClickHandler=s.getFormThemeHandler=s.getWelcomeScreenHiddenHandler=s.getFormSubmitHandler=s.getFormHeightChangedHandler=s.getFormQuestionChangedHandler=s.getFormStartedHandler=s.getFormReadyHandler=void 0,s.getFormReadyHandler=function(g,h){return p("form-ready",g,h)},s.getFormStartedHandler=function(g,h){return p("form-started",g,h)},s.getFormQuestionChangedHandler=function(g,h){return p("form-screen-changed",g,h)},s.getFormHeightChangedHandler=function(g,h){return p("form-height-changed",g,h)},s.getFormSubmitHandler=function(g,h){return p("form-submit",g,h)},s.getWelcomeScreenHiddenHandler=function(g,h){return p("welcome-screen-hidden",g,h)},s.getFormThemeHandler=function(g,h){return p("form-theme",g,h)},s.getThankYouScreenButtonClickHandler=function(g,h){return p("thank-you-screen-button-click",g,h)}},339:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1553),s),g(f(7144),s)},5511:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.refreshIframe=void 0,s.refreshIframe=function(f){if(f){var p=f.src;if(p.includes("&refresh")){var g=p.split("&refresh#");f.src=g.join("#")}else(g=p.split("#"))[0]="".concat(g[0],"&refresh"),f.src=g.join("#")}}},7144:function(d,s){var f=this&&this.__awaiter||function(_,b,m,v){return new(m||(m=Promise))(function(y,w){function S(P){try{E(v.next(P))}catch(A){w(A)}}function O(P){try{E(v.throw(P))}catch(A){w(A)}}function E(P){var A;P.done?y(P.value):(A=P.value,A instanceof m?A:new m(function(L){L(A)})).then(S,O)}E((v=v.apply(_,b||[])).next())})},p=this&&this.__generator||function(_,b){var m,v,y,w,S={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:O(0),throw:O(1),return:O(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function O(E){return function(P){return function(A){if(m)throw new TypeError("Generator is already executing.");for(;w&&(w=0,A[0]&&(S=0)),S;)try{if(m=1,v&&(y=2&A[0]?v.return:A[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,A[1])).done)return y;switch(v=0,y&&(A=[2&A[0],y.value]),A[0]){case 0:case 1:y=A;break;case 4:return S.label++,{value:A[1],done:!1};case 5:S.label++,v=A[1],A=[0];continue;case 7:A=S.ops.pop(),S.trys.pop();continue;default:if(!((y=(y=S.trys).length>0&&y[y.length-1])||A[0]!==6&&A[0]!==2)){S=0;continue}if(A[0]===3&&(!y||A[1]>y[0]&&A[1]<y[3])){S.label=A[1];break}if(A[0]===6&&S.label<y[1]){S.label=y[1],y=A;break}if(y&&S.label<y[2]){S.label=y[2],S.ops.push(A);break}y[2]&&S.ops.pop(),S.trys.pop();continue}A=b.call(_,S)}catch(L){A=[6,L],v=0}finally{m=y=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([E,P])}}};Object.defineProperty(s,"__esModule",{value:!0}),s.dispatchCustomKeyEventFromIframe=s.removeCustomKeyboardListener=s.addCustomKeyboardListener=void 0;var g="Escape",h=function(_,b){return f(void 0,void 0,void 0,function(){return p(this,function(m){return _.code===g&&typeof b=="function"&&(b(),(0,s.removeCustomKeyboardListener)()),[2]})})};s.addCustomKeyboardListener=function(_){return window.document.addEventListener("keydown",function(b){return h(b,_)})},s.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",h)},s.dispatchCustomKeyEventFromIframe=function(_){_.data.type==="form-close"&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:g}))}},2256:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.triggerIframeRedraw=void 0,s.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.getTextColor=void 0;var p=f(2938);s.getTextColor=function(g){if(!g)return"#FFFFFF";var h=g.startsWith("#")?(0,p.hexRgb)(g):function(v){var y={red:0,green:0,blue:0},w=v.match(/\d+/g);return w&&(y.red=parseInt(w[0],10),y.green=parseInt(w[0],10),y.blue=parseInt(w[0],10)),y}(g),_=h.red,b=h.green,m=h.blue;return Math.round((299*_+587*b+114*m)/1e3)>150?"#000000":"#FFFFFF"}},2698:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(p){for(var g,h=1,_=arguments.length;h<_;h++)for(var b in g=arguments[h])Object.prototype.hasOwnProperty.call(g,b)&&(p[b]=g[b]);return p},f.apply(this,arguments)};Object.defineProperty(s,"__esModule",{value:!0}),s.getTransitiveSearchParams=void 0,s.getTransitiveSearchParams=function(p){var g=new URL(window.location.href);return typeof p=="boolean"&&p?Object.fromEntries(g.searchParams.entries()):Array.isArray(p)&&p.length>0?p.reduce(function(h,_){var b,m=g.searchParams.get(_);return m?f(f({},h),((b={})[_]=m,b)):h},{}):{}}},8252:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.hasDom=void 0,s.hasDom=function(){return typeof document<"u"&&typeof window<"u"}},2938:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.hexRgb=void 0;var f="a-f\\d",p="#?[".concat(f,"]{3}[").concat(f,"]?"),g="#?[".concat(f,"]{6}([").concat(f,"]{2})?"),h=new RegExp("[^#".concat(f,"]"),"gi"),_=new RegExp("^".concat(p,"$|^").concat(g,"$"),"i");s.hexRgb=function(b){if(typeof b!="string"||h.test(b)||!_.test(b))throw new TypeError("Expected a valid hex string");(b=b.replace(/^#/,"")).length===8&&(b=b.slice(0,6)),b.length===4&&(b=b.slice(0,3)),b.length===3&&(b=b[0]+b[0]+b[1]+b[1]+b[2]+b[2]);var m=Number.parseInt(b,16);return{red:m>>16,green:m>>8&255,blue:255&m}}},863:function(d,s,f){var p=this&&this.__awaiter||function(_,b,m,v){return new(m||(m=Promise))(function(y,w){function S(P){try{E(v.next(P))}catch(A){w(A)}}function O(P){try{E(v.throw(P))}catch(A){w(A)}}function E(P){var A;P.done?y(P.value):(A=P.value,A instanceof m?A:new m(function(L){L(A)})).then(S,O)}E((v=v.apply(_,b||[])).next())})},g=this&&this.__generator||function(_,b){var m,v,y,w,S={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:O(0),throw:O(1),return:O(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function O(E){return function(P){return function(A){if(m)throw new TypeError("Generator is already executing.");for(;w&&(w=0,A[0]&&(S=0)),S;)try{if(m=1,v&&(y=2&A[0]?v.return:A[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,A[1])).done)return y;switch(v=0,y&&(A=[2&A[0],y.value]),A[0]){case 0:case 1:y=A;break;case 4:return S.label++,{value:A[1],done:!1};case 5:S.label++,v=A[1],A=[0];continue;case 7:A=S.ops.pop(),S.trys.pop();continue;default:if(!((y=(y=S.trys).length>0&&y[y.length-1])||A[0]!==6&&A[0]!==2)){S=0;continue}if(A[0]===3&&(!y||A[1]>y[0]&&A[1]<y[3])){S.label=A[1];break}if(A[0]===6&&S.label<y[1]){S.label=y[1],y=A;break}if(y&&S.label<y[2]){S.label=y[2],S.ops.push(A);break}y[2]&&S.ops.pop(),S.trys.pop();continue}A=b.call(_,S)}catch(L){A=[6,L],v=0}finally{m=y=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([E,P])}}};Object.defineProperty(s,"__esModule",{value:!0}),s.waitForHubspotCookie=s.getHubspotHiddenFields=s.getHubspotCookieValue=void 0;var h=f(4623);s.getHubspotCookieValue=function(){var _=document.cookie.match(new RegExp("(^| )".concat("hubspotutk","=([^;]+)")));return _&&_[2]||void 0},s.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:(0,s.getHubspotCookieValue)()}},s.waitForHubspotCookie=function(){return p(void 0,void 0,void 0,function(){var _,b;return g(this,function(m){switch(m.label){case 0:_=10,b=0,m.label=1;case 1:return!(0,s.getHubspotCookieValue)()&&b<_?[4,(0,h.sleep)(250)]:[3,4];case 2:m.sent(),m.label=3;case 3:return b++,[3,1];case 4:return[2]}})})}},9071:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.includeCss=void 0,s.includeCss=function(f){var p=function(h){return"".concat("https://embed.typeform.com/next/css/").concat(h)}(f);if(!document.querySelector('link[href="'.concat(p,'"]'))){var g=document.createElement("link");g.rel="stylesheet",g.href=p,document.head.append(g)}}},6797:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(3626),s),g(f(339),s),g(f(8252),s),g(f(9071),s),g(f(2346),s),g(f(7377),s),g(f(6563),s),g(f(4527),s),g(f(9533),s),g(f(1451),s),g(f(8972),s),g(f(4748),s),g(f(4392),s),g(f(8939),s),g(f(9917),s),g(f(1987),s),g(f(2391),s),g(f(863),s),g(f(6890),s),g(f(5084),s)},6890:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.invokeWithoutDefault=void 0,s.invokeWithoutDefault=function(f){return function(p){p==null||p.preventDefault(),f()}}},2346:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isDefined=void 0,s.isDefined=function(f){return f!=null}},1987:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isVisible=s.isInPage=s.isOpen=void 0,s.isOpen=function(f){return(0,s.isInPage)(f)&&(0,s.isVisible)(f)},s.isInPage=function(f){return!!f.parentNode},s.isVisible=function(f){return f.style.display!=="none"}},9917:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.lazyInitialize=void 0,s.lazyInitialize=function(f,p){var g=new IntersectionObserver(function(h){h.forEach(function(_){_.isIntersecting&&(p(),g.unobserve(_.target))})});g.observe(f)}},7377:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(v){for(var y,w=1,S=arguments.length;w<S;w++)for(var O in y=arguments[w])Object.prototype.hasOwnProperty.call(y,O)&&(v[O]=y[O]);return v},f.apply(this,arguments)},p=this&&this.__read||function(v,y){var w=typeof Symbol=="function"&&v[Symbol.iterator];if(!w)return v;var S,O,E=w.call(v),P=[];try{for(;(y===void 0||y-- >0)&&!(S=E.next()).done;)P.push(S.value)}catch(A){O={error:A}}finally{try{S&&!S.done&&(w=E.return)&&w.call(E)}finally{if(O)throw O.error}}return P};Object.defineProperty(s,"__esModule",{value:!0}),s.loadOptionsFromAttributes=s.transformAttributeValue=s.camelCaseToKebabCase=void 0,s.camelCaseToKebabCase=function(v){return v.split("").map(function(y,w){return y.toUpperCase()===y?"".concat(w!==0?"-":"").concat(y.toLowerCase()):y}).join("")};var g=function(v){return v||void 0},h=function(v){if(v!==null)return v===""||v==="yes"||v==="true"},_=function(v){var y=v?parseInt(v,10):NaN;return isNaN(y)?void 0:y},b="%ESCAPED_COMMA%",m=function(v){if(v)return v.replace(/\s/g,"").replace(/\\,/g,b).split(",").filter(function(y){return!!y}).map(function(y){return y.replace(b,",")})};s.transformAttributeValue=function(v,y){var w,S,O;switch(y){case"string":return g(v);case"boolean":return h(v);case"integer":return _(v);case"function":return function(E){var P=E&&E in window?window[E]:void 0;return typeof P=="function"?P:void 0}(v);case"array":return m(v);case"record":return function(E){if(E)return E.replace(/\\,/g,b).split(",").filter(function(P){return!!P}).map(function(P){return P.replace(b,",")}).reduce(function(P,A){var L,N=A.match(/^([^=]+)=(.*)$/);if(N){var $=p(N,3),C=$[1],I=$[2];return f(f({},P),((L={})[C.trim()]=I,L))}return P},{})}(v);case"integerOrString":return function(E){if(E)return E.match(/^[0-9]+$/)?_(E):g(E)}(v);case"integerOrBoolean":return(w=_(v))!==null&&w!==void 0?w:h(v);case"stringOrBoolean":return(S=g(v))!==null&&S!==void 0?S:h(v);case"arrayOrBoolean":return(O=m(v))!==null&&O!==void 0?O:h(v);default:throw new Error("Invalid attribute transformation ".concat(y))}},s.loadOptionsFromAttributes=function(v,y){return Object.keys(y).reduce(function(w,S){var O;return f(f({},w),((O={})[S]=(0,s.transformAttributeValue)(v.getAttribute("data-tf-".concat((0,s.camelCaseToKebabCase)(S))),y[S]),O))},{})}},6563:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isFullscreen=s.isMobile=s.isBigScreen=void 0,s.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},s.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},s.isFullscreen=function(){return(0,s.isMobile)()&&!(0,s.isBigScreen)()}},4527:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(_){for(var b,m=1,v=arguments.length;m<v;m++)for(var y in b=arguments[m])Object.prototype.hasOwnProperty.call(b,y)&&(_[y]=b[y]);return _},p.apply(this,arguments)},g=this&&this.__read||function(_,b){var m=typeof Symbol=="function"&&_[Symbol.iterator];if(!m)return _;var v,y,w=m.call(_),S=[];try{for(;(b===void 0||b-- >0)&&!(v=w.next()).done;)S.push(v.value)}catch(O){y={error:O}}finally{try{v&&!v.done&&(m=w.return)&&m.call(w)}finally{if(y)throw y.error}}return S};Object.defineProperty(s,"__esModule",{value:!0}),s.removeUndefinedKeys=void 0;var h=f(2346);s.removeUndefinedKeys=function(_){return Object.entries(_).filter(function(b){var m=g(b,2)[1];return(0,h.isDefined)(m)}).reduce(function(b,m){var v,y=g(m,2),w=y[0],S=y[1];return p(p({},b),((v={})[w]=S,v))},{})}},4748:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.setAutoClose=s.DEFAULT_AUTO_CLOSE_TIME=void 0;var p=f(8554);s.DEFAULT_AUTO_CLOSE_TIME=500,s.setAutoClose=function(g,h,_){h&&_&&window.addEventListener("message",(0,p.getFormSubmitHandler)(g,function(){return setTimeout(_,(m=typeof(b=h)=="number"?b:0,Math.max(m,s.DEFAULT_AUTO_CLOSE_TIME)));var b,m}))}},9533:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.setElementSize=s.getValueWithUnits=void 0,s.getValueWithUnits=function(f){return typeof f!="string"||f.match(/^[0-9]+$/)?"".concat(f,"px"):f},s.setElementSize=function(f,p){var g=p.width,h=p.height;return g&&(f.style.width=(0,s.getValueWithUnits)(g)),h&&(f.style.height=(0,s.getValueWithUnits)(h)),f}},4392:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.setupGaInstance=s.sendGaIdMessage=void 0,s.sendGaIdMessage=function(g,h,_){var b={embedId:g,gaClientId:h};setTimeout(function(){_&&_.contentWindow&&_.contentWindow.postMessage({type:"ga-client-id",data:b},"*")},0)};var f=function(g){console.error(g)},p=function(g){f("Whoops! You enabled the shareGaInstance feature in your typeform embed but ".concat(g,`.
783
+ </svg>`),_e=x==null?void 0:x.startsWith("http");return re.innerHTML=_e?"<img alt='popover trigger icon button' src='".concat(x,"'/>"):x??ie,re.dataset.testid="default-icon",re}(E.customIcon,E.buttonColor||_.buttonColor,E.buttonTextColor,E.buttonTextSize),W=b(),Y=b("button","tf-v1-sidetab-close");(E.container||document.body).append(C),I.append(A),C.append(D),C.append(Y),D.append(V),D.append(B),setTimeout(function(){C.classList.add("ready")},250),A.onload=function(){C.classList.add("open"),m(R,W),(0,h.addCustomKeyboardListener)(F)};var U=function(){(0,h.isOpen)(I)||((0,h.isInPage)(I)?(I.style.display="flex",C.classList.add("open"),m(V,W)):(C.append(I),m(V,R)))},F=function(){var x;(0,h.isOpen)(I)&&((x=E.onClose)===null||x===void 0||x.call(E),C.classList.remove("open"),setTimeout(function(){E.keepSession?I.style.display="none":(0,h.unmountElement)(I),m(W,V)},250))};(0,h.setAutoClose)(L,E.autoClose,F);var z=function(){(0,h.isOpen)(I)?F():U()};return D.onclick=(0,h.invokeWithoutDefault)(z),Y.onclick=(0,h.invokeWithoutDefault)(F),E.open&&!(0,h.isOpen)(I)&&(w=(0,h.handleCustomOpen)(U,E.open,E.openValue)),{open:U,close:F,toggle:z,refresh:N,focus:$,unmount:function(){(0,h.unmountElement)(C),E.open&&(w!=null&&w.remove)&&w.remove()}}}},1434:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(382),s),g(f(7668),s)},7668:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},2603:function(d,s,f){var p=this&&this.__rest||function(_,b){var m={};for(var v in _)Object.prototype.hasOwnProperty.call(_,v)&&b.indexOf(v)<0&&(m[v]=_[v]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function"){var y=0;for(v=Object.getOwnPropertySymbols(_);y<v.length;y++)b.indexOf(v[y])<0&&Object.prototype.propertyIsEnumerable.call(_,v[y])&&(m[v[y]]=_[v[y]])}return m};Object.defineProperty(s,"__esModule",{value:!0}),s.createSlider=void 0;var g=f(6797),h=f(8027);s.createSlider=function(_,b){if(b===void 0&&(b={}),!(0,g.hasDom)())return{open:function(){},close:function(){},toggle:function(){},refresh:function(){},focus:function(){},unmount:function(){}};var m,v=b.position,y=v===void 0?h.SLIDER_POSITION:v,w=b.width,S=w===void 0?h.SLIDER_WIDTH:w,O=b.onClose,E=b.domain,P=p(b,["position","width","onClose","domain"]),A=(0,g.createIframe)("slider",{formId:_,domain:E,options:P}),L=A.iframe,N=A.embedId,$=A.refresh,C=A.focus,I=document.body.style.overflow,R=function(F){var z=document.createElement("div");return z.className="tf-v1-slider ".concat(F),z.dataset.testid="tf-v1-slider",z.style.opacity="0",z}(y),D=function(){var F=document.createElement("div");return F.className="tf-v1-spinner",F}(),B=function(F,z){var x=document.createElement("div");return x.className="tf-v1-iframe-wrapper",x.style[F]="-100%",(0,g.setElementSize)(x,{width:z})}(y,S);B.append(L),R.append(D),R.append(B);var V=P.container||document.body;L.onload=function(){B.style[y]="0",setTimeout(function(){D.style.display="none"},500),(0,g.addCustomKeyboardListener)(Y)};var W=function(){(0,g.isOpen)(R)||((0,g.isInPage)(R)?(R.style.display="flex",setTimeout(function(){B.style[y]="0"})):(V.append(R),D.style.display="block"),document.body.style.overflow="hidden",setTimeout(function(){R.style.opacity="1"}))},Y=function(){(0,g.isOpen)(R)&&(O==null||O(),R.style.opacity="0",B.style[y]="-100%",document.body.style.overflow=I,setTimeout(function(){P.keepSession?R.style.display="none":U()},500))};(0,g.setAutoClose)(N,P.autoClose,Y),B.append(function(F){var z=document.createElement("button");return z.className="tf-v1-close tf-v1-close-icon",z.innerHTML="&times;",z.onclick=(0,g.invokeWithoutDefault)(F),z}(Y)),P.open&&!(0,g.isOpen)(R)&&(m=(0,g.handleCustomOpen)(W,P.open,P.openValue));var U=function(){(0,g.unmountElement)(R),P.open&&(m!=null&&m.remove)&&m.remove()};return{open:W,close:Y,toggle:function(){(0,g.isOpen)(R)?Y():W()},refresh:$,focus:C,unmount:U}}},4071:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(2603),s),g(f(3162),s)},3162:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},718:function(d,s,f){var p=this&&this.__rest||function(v,y){var w={};for(var S in v)Object.prototype.hasOwnProperty.call(v,S)&&y.indexOf(S)<0&&(w[S]=v[S]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function"){var O=0;for(S=Object.getOwnPropertySymbols(v);O<S.length;O++)y.indexOf(S[O])<0&&Object.prototype.propertyIsEnumerable.call(v,S[O])&&(w[S[O]]=v[S[O]])}return w},g=this&&this.__read||function(v,y){var w=typeof Symbol=="function"&&v[Symbol.iterator];if(!w)return v;var S,O,E=w.call(v),P=[];try{for(;(y===void 0||y-- >0)&&!(S=E.next()).done;)P.push(S.value)}catch(A){O={error:A}}finally{try{S&&!S.done&&(w=E.return)&&w.call(E)}finally{if(O)throw O.error}}return P};Object.defineProperty(s,"__esModule",{value:!0}),s.createWidget=void 0;var h=f(6797),_=f(8554),b=f(2313),m=f(1126);s.createWidget=function(v,y){if(!(0,h.hasDom)())return{refresh:function(){},focus:function(){},unmount:function(){}};var w=y.domain,S=p(y,["domain"]);S.inlineOnMobile=y.inlineOnMobile||y.fullScreen,S.inlineOnMobile||!S.forceTouch&&!(0,h.isFullscreen)()||(S.displayAsFullScreenModal=!0,S.forceTouch=!0);var O=(0,h.createIframe)("widget",{formId:v,domain:w,options:S}),E=O.embedId,P=O.iframe,A=O.refresh,L=O.focus,N=(0,b.buildWidget)(P,S.width,S.height);if(S.fullScreen&&(0,m.overrideFullScreenStyles)(y.container,P),S.autoResize){var $=g(typeof S.autoResize=="string"?S.autoResize.split(",").map(function(U){return parseInt(U)}):[],2),C=$[0],I=$[1];window.addEventListener("message",(0,_.getFormHeightChangedHandler)(E,function(U){var F=Math.max(U.height,C||0);I&&(F=Math.min(F,I)),y.container.style.height="".concat(F,"px")}))}S.autoFocus&&window.addEventListener("message",(0,_.getFormReadyHandler)(E,function(){setTimeout(function(){L()},1e3)}));var R,D=function(){return y.container.append(N)};if(y.container.innerHTML="",y.lazy?(0,h.lazyInitialize)(y.container,D):D(),S.displayAsFullScreenModal){var B="",V=y.container,W=V.style.height;window.addEventListener("message",(0,_.getWelcomeScreenHiddenHandler)(E,function(){V.classList.add("tf-v1-widget-fullscreen"),y.opacity!==void 0&&(V.style.backgroundColor=B)})),window.addEventListener("message",(0,_.getFormThemeHandler)(E,function(U){var F;B=(0,h.changeColorOpacity)((F=U==null?void 0:U.theme)===null||F===void 0?void 0:F.backgroundColor)}));var Y=((R=document.createElement("button")).className="tf-v1-widget-close tf-v1-close-icon",R.innerHTML="&times;",R);Y.onclick=(0,h.invokeWithoutDefault)(function(){var U;if(V.style.height=W,(U=y.onClose)===null||U===void 0||U.call(y),V.classList.remove("tf-v1-widget-fullscreen"),V.style.backgroundColor="",y.keepSession){var F=document.createElement("div");F.className="tf-v1-widget-iframe-overlay",F.onclick=function(){V.classList.add("tf-v1-widget-fullscreen"),(0,h.unmountElement)(F)},N.append(F)}else y.container.innerHTML="",D(),V.append(Y)}),V.append(Y)}return{refresh:A,focus:L,unmount:function(){(0,h.unmountElement)(N)}}}},1419:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.buildWidget=void 0;var p=f(6797);s.buildWidget=function(g,h,_){var b=document.createElement("div");return b.className="tf-v1-widget",b.dataset.testid="tf-v1-widget",b.append(g),(0,p.setElementSize)(b,{width:h,height:_})}},2313:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1419),s)},1126:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.overrideFullScreenStyles=void 0,s.overrideFullScreenStyles=function(f,p){Object.assign(f.style,{zIndex:"10001",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}),p.style.borderRadius="0",Object.assign(document.body.style,{overflow:"hidden"})}},9321:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(718),s),g(f(4058),s)},4058:function(d,s){Object.defineProperty(s,"__esModule",{value:!0})},1920:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1797),s),g(f(5970),s),g(f(4071),s),g(f(9321),s),g(f(1434),s)},5084:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.addAttributesToElement=void 0;var p=f(7377);s.addAttributesToElement=function(g,h){h===void 0&&(h={}),Object.keys(h).forEach(function(_){g.setAttribute((0,p.camelCaseToKebabCase)(_),h[_])})}},3626:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(w){for(var S,O=1,E=arguments.length;O<E;O++)for(var P in S=arguments[O])Object.prototype.hasOwnProperty.call(S,P)&&(w[P]=S[P]);return w},p.apply(this,arguments)},g=this&&this.__read||function(w,S){var O=typeof Symbol=="function"&&w[Symbol.iterator];if(!O)return w;var E,P,A=O.call(w),L=[];try{for(;(S===void 0||S-- >0)&&!(E=A.next()).done;)L.push(E.value)}catch(N){P={error:N}}finally{try{E&&!E.done&&(O=A.return)&&O.call(A)}finally{if(P)throw P.error}}return L};Object.defineProperty(s,"__esModule",{value:!0}),s.buildIframeSrc=void 0;var h=f(8027),_=f(4527),b=f(2346),m=f(2698),v=f(863),y={widget:"embed-widget",popup:"popup-blank",slider:"popup-drawer",popover:"popup-popover","side-tab":"popup-side-panel"};s.buildIframeSrc=function(w){var S=w.domain,O=w.formId,E=w.type,P=w.embedId,A=w.options,L=function(R,D,B){var V=B.transitiveSearchParams,W=B.source,Y=B.medium,U=B.mediumVersion,F=B.hideFooter,z=B.hideHeaders,x=B.opacity,te=B.disableTracking,se=B.enableSandbox,ne=B.shareGaInstance,X=B.forceTouch,re=B.displayAsFullScreenModal,ie=B.tracking,_e=B.redirectTarget,ln=B.autoResize,Ne=B.disableScroll,Pr=B.onEndingButtonClick,xa=B.noHeading,Ha=(0,m.getTransitiveSearchParams)(V);return p(p(p({},{"typeform-embed-id":D,"typeform-embed":y[R],"typeform-source":W,"typeform-medium":Y,"typeform-medium-version":U,"embed-hide-footer":F?"true":void 0,"embed-hide-headers":z?"true":void 0,"embed-opacity":x,"disable-tracking":te||se?"true":void 0,"__dangerous-disable-submissions":se?"true":void 0,"share-ga-instance":ne?"true":void 0,"force-touch":X?"true":void 0,"add-placeholder-ws":R==="widget"&&re?"true":void 0,"typeform-embed-redirect-target":_e,"typeform-embed-auto-resize":ln?"true":void 0,"typeform-embed-disable-scroll":Ne?"true":void 0,"typeform-embed-handle-ending-button-click":Pr?"true":void 0,"typeform-embed-no-heading":xa?"true":void 0}),Ha),ie)}(E,P,function(R){return R.noHeading||(R.noHeading=document.querySelectorAll("h1").length>0),p(p({},{source:(D=window==null?void 0:window.location)===null||D===void 0?void 0:D.hostname.replace(/^www\./,""),medium:"embed-sdk",mediumVersion:"next"}),(0,_.removeUndefinedKeys)(R));var D}(A)),N=function(R,D){return D===void 0&&(D=h.DEFAULT_DOMAIN),R.startsWith("http://")||R.startsWith("https://")?new URL(R):new URL("https://".concat(D,"/to/").concat(R))}(O,S);if(Object.entries(L).filter(function(R){var D=g(R,2)[1];return(0,b.isDefined)(D)}).forEach(function(R){var D=g(R,2),B=D[0],V=D[1];N.searchParams.set(B,V)}),A.hubspot){var $=(0,v.getHubspotHiddenFields)();A.hidden=p(p({},A.hidden),$)}if(A.hidden){var C=new URLSearchParams;Object.entries(A.hidden).filter(function(R){var D=g(R,2)[1];return(0,b.isDefined)(D)&&D!==""}).forEach(function(R){var D=g(R,2),B=D[0],V=D[1];typeof A.transitiveSearchParams=="boolean"&&N.searchParams.delete(B),C.set(B,V)});var I=C.toString();I&&(N.hash=I)}return N.href}},2391:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.changeColorOpacity=void 0,s.changeColorOpacity=function(f,p){return f===void 0&&(f=""),p===void 0&&(p=255),f.startsWith("rgba(")?f==null?void 0:f.replace(/, [\d.]+\)$/,", ".concat(p,")")):f}},8972:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.handleCustomOpen=void 0;var f={remove:function(){}};s.handleCustomOpen=function(p,g,h){switch(g){case"load":return p(),f;case"exit":return h?function(_,b){var m=0,v=function(y){y.clientY<_&&y.clientY<m?(document.removeEventListener("mousemove",v,!0),b()):m=y.clientY};return document.addEventListener("mousemove",v,!0),{remove:function(){return document.removeEventListener("mousemove",v,!0)}}}(h,p):f;case"time":return setTimeout(function(){p()},h),f;case"scroll":return h?function(_,b){function m(){var v=window.pageYOffset||document.documentElement.scrollTop,y=document.documentElement.clientTop||0,w=document.documentElement.scrollHeight,S=v-y,O=S/w*100,E=S+window.innerHeight>=w;(O>=_||E)&&(b(),document.removeEventListener("scroll",m))}return document.addEventListener("scroll",m),{remove:function(){return document.removeEventListener("scroll",m)}}}(h,p):f;default:return f}}},1553:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.createIframe=void 0;var p=f(3626),g=f(6797),h=f(8866),_=f(8554),b=f(2256),m=f(7144),v=f(5511);s.createIframe=function(y,w){var S=w.formId,O=w.domain,E=w.options,P=(0,h.generateEmbedId)(),A=E.iframeProps,L=A===void 0?{}:A,N=E.onReady,$=E.onStarted,C=E.onQuestionChanged,I=E.onHeightChanged,R=E.onSubmit,D=E.onEndingButtonClick,B=E.shareGaInstance,V=(0,p.buildIframeSrc)({formId:S,domain:O,embedId:P,type:y,options:E}),W=document.createElement("iframe");return W.src=V,W.dataset.testid="iframe",W.style.border="0px",W.allow="microphone; camera",(0,g.addAttributesToElement)(W,L),W.addEventListener("load",b.triggerIframeRedraw,{once:!0}),window.addEventListener("message",(0,_.getFormReadyHandler)(P,N)),window.addEventListener("message",(0,_.getFormStartedHandler)(P,$)),window.addEventListener("message",(0,_.getFormQuestionChangedHandler)(P,C)),window.addEventListener("message",(0,_.getFormHeightChangedHandler)(P,I)),window.addEventListener("message",(0,_.getFormSubmitHandler)(P,R)),window.addEventListener("message",(0,_.getFormThemeHandler)(P,function(Y){var U;if(Y!=null&&Y.theme){var F=document.querySelector(".tf-v1-close-icon");F&&(F.style.color=(U=Y.theme)===null||U===void 0?void 0:U.color)}})),window.addEventListener("message",(0,_.getThankYouScreenButtonClickHandler)(P,D)),y!=="widget"&&window.addEventListener("message",m.dispatchCustomKeyEventFromIframe),B&&window.addEventListener("message",(0,_.getFormReadyHandler)(P,function(){(0,g.setupGaInstance)(W,P,B)})),{iframe:W,embedId:P,refresh:function(){return(0,v.refreshIframe)(W)},focus:function(){var Y;(Y=W.contentWindow)===null||Y===void 0||Y.postMessage("embed-focus","*")}}}},8866:function(d,s){var f=this&&this.__read||function(p,g){var h=typeof Symbol=="function"&&p[Symbol.iterator];if(!h)return p;var _,b,m=h.call(p),v=[];try{for(;(g===void 0||g-- >0)&&!(_=m.next()).done;)v.push(_.value)}catch(y){b={error:y}}finally{try{_&&!_.done&&(h=m.return)&&h.call(m)}finally{if(b)throw b.error}}return v};Object.defineProperty(s,"__esModule",{value:!0}),s.generateEmbedId=void 0,s.generateEmbedId=function(){var p=Math.random();return f(String(p).split("."),2)[1]}},8554:function(d,s){var f=this&&this.__rest||function(g,h){var _={};for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&h.indexOf(b)<0&&(_[b]=g[b]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function"){var m=0;for(b=Object.getOwnPropertySymbols(g);m<b.length;m++)h.indexOf(b[m])<0&&Object.prototype.propertyIsEnumerable.call(g,b[m])&&(_[b[m]]=g[b[m]])}return _};function p(g,h,_){return function(b){var m=b.data,v=m.type,y=m.embedId,w=f(m,["type","embedId"]);v===g&&y===h&&(_==null||_(w))}}Object.defineProperty(s,"__esModule",{value:!0}),s.getThankYouScreenButtonClickHandler=s.getFormThemeHandler=s.getWelcomeScreenHiddenHandler=s.getFormSubmitHandler=s.getFormHeightChangedHandler=s.getFormQuestionChangedHandler=s.getFormStartedHandler=s.getFormReadyHandler=void 0,s.getFormReadyHandler=function(g,h){return p("form-ready",g,h)},s.getFormStartedHandler=function(g,h){return p("form-started",g,h)},s.getFormQuestionChangedHandler=function(g,h){return p("form-screen-changed",g,h)},s.getFormHeightChangedHandler=function(g,h){return p("form-height-changed",g,h)},s.getFormSubmitHandler=function(g,h){return p("form-submit",g,h)},s.getWelcomeScreenHiddenHandler=function(g,h){return p("welcome-screen-hidden",g,h)},s.getFormThemeHandler=function(g,h){return p("form-theme",g,h)},s.getThankYouScreenButtonClickHandler=function(g,h){return p("thank-you-screen-button-click",g,h)}},339:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(1553),s),g(f(7144),s)},5511:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.refreshIframe=void 0,s.refreshIframe=function(f){if(f){var p=f.src;if(p.includes("&refresh")){var g=p.split("&refresh#");f.src=g.join("#")}else(g=p.split("#"))[0]="".concat(g[0],"&refresh"),f.src=g.join("#")}}},7144:function(d,s){var f=this&&this.__awaiter||function(_,b,m,v){return new(m||(m=Promise))(function(y,w){function S(P){try{E(v.next(P))}catch(A){w(A)}}function O(P){try{E(v.throw(P))}catch(A){w(A)}}function E(P){var A;P.done?y(P.value):(A=P.value,A instanceof m?A:new m(function(L){L(A)})).then(S,O)}E((v=v.apply(_,b||[])).next())})},p=this&&this.__generator||function(_,b){var m,v,y,w,S={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:O(0),throw:O(1),return:O(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function O(E){return function(P){return function(A){if(m)throw new TypeError("Generator is already executing.");for(;w&&(w=0,A[0]&&(S=0)),S;)try{if(m=1,v&&(y=2&A[0]?v.return:A[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,A[1])).done)return y;switch(v=0,y&&(A=[2&A[0],y.value]),A[0]){case 0:case 1:y=A;break;case 4:return S.label++,{value:A[1],done:!1};case 5:S.label++,v=A[1],A=[0];continue;case 7:A=S.ops.pop(),S.trys.pop();continue;default:if(!((y=(y=S.trys).length>0&&y[y.length-1])||A[0]!==6&&A[0]!==2)){S=0;continue}if(A[0]===3&&(!y||A[1]>y[0]&&A[1]<y[3])){S.label=A[1];break}if(A[0]===6&&S.label<y[1]){S.label=y[1],y=A;break}if(y&&S.label<y[2]){S.label=y[2],S.ops.push(A);break}y[2]&&S.ops.pop(),S.trys.pop();continue}A=b.call(_,S)}catch(L){A=[6,L],v=0}finally{m=y=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([E,P])}}};Object.defineProperty(s,"__esModule",{value:!0}),s.dispatchCustomKeyEventFromIframe=s.removeCustomKeyboardListener=s.addCustomKeyboardListener=void 0;var g="Escape",h=function(_,b){return f(void 0,void 0,void 0,function(){return p(this,function(m){return _.code===g&&typeof b=="function"&&(b(),(0,s.removeCustomKeyboardListener)()),[2]})})};s.addCustomKeyboardListener=function(_){return window.document.addEventListener("keydown",function(b){return h(b,_)})},s.removeCustomKeyboardListener=function(){return window.document.removeEventListener("keydown",h)},s.dispatchCustomKeyEventFromIframe=function(_){_.data.type==="form-close"&&window.document.dispatchEvent(new KeyboardEvent("keydown",{code:g}))}},2256:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.triggerIframeRedraw=void 0,s.triggerIframeRedraw=function(){this.style.transform="translateZ(0)"}},8939:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.getTextColor=void 0;var p=f(2938);s.getTextColor=function(g){if(!g)return"#FFFFFF";var h=g.startsWith("#")?(0,p.hexRgb)(g):function(v){var y={red:0,green:0,blue:0},w=v.match(/\d+/g);return w&&(y.red=parseInt(w[0],10),y.green=parseInt(w[0],10),y.blue=parseInt(w[0],10)),y}(g),_=h.red,b=h.green,m=h.blue;return Math.round((299*_+587*b+114*m)/1e3)>150?"#000000":"#FFFFFF"}},2698:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(p){for(var g,h=1,_=arguments.length;h<_;h++)for(var b in g=arguments[h])Object.prototype.hasOwnProperty.call(g,b)&&(p[b]=g[b]);return p},f.apply(this,arguments)};Object.defineProperty(s,"__esModule",{value:!0}),s.getTransitiveSearchParams=void 0,s.getTransitiveSearchParams=function(p){var g=new URL(window.location.href);return typeof p=="boolean"&&p?Object.fromEntries(g.searchParams.entries()):Array.isArray(p)&&p.length>0?p.reduce(function(h,_){var b,m=g.searchParams.get(_);return m?f(f({},h),((b={})[_]=m,b)):h},{}):{}}},8252:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.hasDom=void 0,s.hasDom=function(){return typeof document<"u"&&typeof window<"u"}},2938:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.hexRgb=void 0;var f="a-f\\d",p="#?[".concat(f,"]{3}[").concat(f,"]?"),g="#?[".concat(f,"]{6}([").concat(f,"]{2})?"),h=new RegExp("[^#".concat(f,"]"),"gi"),_=new RegExp("^".concat(p,"$|^").concat(g,"$"),"i");s.hexRgb=function(b){if(typeof b!="string"||h.test(b)||!_.test(b))throw new TypeError("Expected a valid hex string");(b=b.replace(/^#/,"")).length===8&&(b=b.slice(0,6)),b.length===4&&(b=b.slice(0,3)),b.length===3&&(b=b[0]+b[0]+b[1]+b[1]+b[2]+b[2]);var m=Number.parseInt(b,16);return{red:m>>16,green:m>>8&255,blue:255&m}}},863:function(d,s,f){var p=this&&this.__awaiter||function(_,b,m,v){return new(m||(m=Promise))(function(y,w){function S(P){try{E(v.next(P))}catch(A){w(A)}}function O(P){try{E(v.throw(P))}catch(A){w(A)}}function E(P){var A;P.done?y(P.value):(A=P.value,A instanceof m?A:new m(function(L){L(A)})).then(S,O)}E((v=v.apply(_,b||[])).next())})},g=this&&this.__generator||function(_,b){var m,v,y,w,S={label:0,sent:function(){if(1&y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:O(0),throw:O(1),return:O(2)},typeof Symbol=="function"&&(w[Symbol.iterator]=function(){return this}),w;function O(E){return function(P){return function(A){if(m)throw new TypeError("Generator is already executing.");for(;w&&(w=0,A[0]&&(S=0)),S;)try{if(m=1,v&&(y=2&A[0]?v.return:A[0]?v.throw||((y=v.return)&&y.call(v),0):v.next)&&!(y=y.call(v,A[1])).done)return y;switch(v=0,y&&(A=[2&A[0],y.value]),A[0]){case 0:case 1:y=A;break;case 4:return S.label++,{value:A[1],done:!1};case 5:S.label++,v=A[1],A=[0];continue;case 7:A=S.ops.pop(),S.trys.pop();continue;default:if(!((y=(y=S.trys).length>0&&y[y.length-1])||A[0]!==6&&A[0]!==2)){S=0;continue}if(A[0]===3&&(!y||A[1]>y[0]&&A[1]<y[3])){S.label=A[1];break}if(A[0]===6&&S.label<y[1]){S.label=y[1],y=A;break}if(y&&S.label<y[2]){S.label=y[2],S.ops.push(A);break}y[2]&&S.ops.pop(),S.trys.pop();continue}A=b.call(_,S)}catch(L){A=[6,L],v=0}finally{m=y=0}if(5&A[0])throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}([E,P])}}};Object.defineProperty(s,"__esModule",{value:!0}),s.waitForHubspotCookie=s.getHubspotHiddenFields=s.getHubspotCookieValue=void 0;var h=f(4623);s.getHubspotCookieValue=function(){var _=document.cookie.match(new RegExp("(^| )".concat("hubspotutk","=([^;]+)")));return _&&_[2]||void 0},s.getHubspotHiddenFields=function(){return{hubspot_page_name:document.title,hubspot_page_url:window.location.href,hubspot_utk:(0,s.getHubspotCookieValue)()}},s.waitForHubspotCookie=function(){return p(void 0,void 0,void 0,function(){var _,b;return g(this,function(m){switch(m.label){case 0:_=10,b=0,m.label=1;case 1:return!(0,s.getHubspotCookieValue)()&&b<_?[4,(0,h.sleep)(250)]:[3,4];case 2:m.sent(),m.label=3;case 3:return b++,[3,1];case 4:return[2]}})})}},9071:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.includeCss=void 0,s.includeCss=function(f){var p=function(h){return"".concat("https://embed.typeform.com/next/css/").concat(h)}(f);if(!document.querySelector('link[href="'.concat(p,'"]'))){var g=document.createElement("link");g.rel="stylesheet",g.href=p,document.head.append(g)}}},6797:function(d,s,f){var p=this&&this.__createBinding||(Object.create?function(h,_,b,m){m===void 0&&(m=b);var v=Object.getOwnPropertyDescriptor(_,b);v&&!("get"in v?!_.__esModule:v.writable||v.configurable)||(v={enumerable:!0,get:function(){return _[b]}}),Object.defineProperty(h,m,v)}:function(h,_,b,m){m===void 0&&(m=b),h[m]=_[b]}),g=this&&this.__exportStar||function(h,_){for(var b in h)b==="default"||Object.prototype.hasOwnProperty.call(_,b)||p(_,h,b)};Object.defineProperty(s,"__esModule",{value:!0}),g(f(3626),s),g(f(339),s),g(f(8252),s),g(f(9071),s),g(f(2346),s),g(f(7377),s),g(f(6563),s),g(f(4527),s),g(f(9533),s),g(f(1451),s),g(f(8972),s),g(f(4748),s),g(f(4392),s),g(f(8939),s),g(f(9917),s),g(f(1987),s),g(f(2391),s),g(f(863),s),g(f(6890),s),g(f(5084),s)},6890:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.invokeWithoutDefault=void 0,s.invokeWithoutDefault=function(f){return function(p){p==null||p.preventDefault(),f()}}},2346:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isDefined=void 0,s.isDefined=function(f){return f!=null}},1987:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isVisible=s.isInPage=s.isOpen=void 0,s.isOpen=function(f){return(0,s.isInPage)(f)&&(0,s.isVisible)(f)},s.isInPage=function(f){return!!f.parentNode},s.isVisible=function(f){return f.style.display!=="none"}},9917:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.lazyInitialize=void 0,s.lazyInitialize=function(f,p){var g=new IntersectionObserver(function(h){h.forEach(function(_){_.isIntersecting&&(p(),g.unobserve(_.target))})});g.observe(f)}},7377:function(d,s){var f=this&&this.__assign||function(){return f=Object.assign||function(v){for(var y,w=1,S=arguments.length;w<S;w++)for(var O in y=arguments[w])Object.prototype.hasOwnProperty.call(y,O)&&(v[O]=y[O]);return v},f.apply(this,arguments)},p=this&&this.__read||function(v,y){var w=typeof Symbol=="function"&&v[Symbol.iterator];if(!w)return v;var S,O,E=w.call(v),P=[];try{for(;(y===void 0||y-- >0)&&!(S=E.next()).done;)P.push(S.value)}catch(A){O={error:A}}finally{try{S&&!S.done&&(w=E.return)&&w.call(E)}finally{if(O)throw O.error}}return P};Object.defineProperty(s,"__esModule",{value:!0}),s.loadOptionsFromAttributes=s.transformAttributeValue=s.camelCaseToKebabCase=void 0,s.camelCaseToKebabCase=function(v){return v.split("").map(function(y,w){return y.toUpperCase()===y?"".concat(w!==0?"-":"").concat(y.toLowerCase()):y}).join("")};var g=function(v){return v||void 0},h=function(v){if(v!==null)return v===""||v==="yes"||v==="true"},_=function(v){var y=v?parseInt(v,10):NaN;return isNaN(y)?void 0:y},b="%ESCAPED_COMMA%",m=function(v){if(v)return v.replace(/\s/g,"").replace(/\\,/g,b).split(",").filter(function(y){return!!y}).map(function(y){return y.replace(b,",")})};s.transformAttributeValue=function(v,y){var w,S,O;switch(y){case"string":return g(v);case"boolean":return h(v);case"integer":return _(v);case"function":return function(E){var P=E&&E in window?window[E]:void 0;return typeof P=="function"?P:void 0}(v);case"array":return m(v);case"record":return function(E){if(E)return E.replace(/\\,/g,b).split(",").filter(function(P){return!!P}).map(function(P){return P.replace(b,",")}).reduce(function(P,A){var L,N=A.match(/^([^=]+)=(.*)$/);if(N){var $=p(N,3),C=$[1],I=$[2];return f(f({},P),((L={})[C.trim()]=I,L))}return P},{})}(v);case"integerOrString":return function(E){if(E)return E.match(/^[0-9]+$/)?_(E):g(E)}(v);case"integerOrBoolean":return(w=_(v))!==null&&w!==void 0?w:h(v);case"stringOrBoolean":return(S=g(v))!==null&&S!==void 0?S:h(v);case"arrayOrBoolean":return(O=m(v))!==null&&O!==void 0?O:h(v);default:throw new Error("Invalid attribute transformation ".concat(y))}},s.loadOptionsFromAttributes=function(v,y){return Object.keys(y).reduce(function(w,S){var O;return f(f({},w),((O={})[S]=(0,s.transformAttributeValue)(v.getAttribute("data-tf-".concat((0,s.camelCaseToKebabCase)(S))),y[S]),O))},{})}},6563:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.isFullscreen=s.isMobile=s.isBigScreen=void 0,s.isBigScreen=function(){return window.screen.width>=1024&&window.screen.height>=768},s.isMobile=function(){return/mobile|tablet|android/i.test(navigator.userAgent.toLowerCase())},s.isFullscreen=function(){return(0,s.isMobile)()&&!(0,s.isBigScreen)()}},4527:function(d,s,f){var p=this&&this.__assign||function(){return p=Object.assign||function(_){for(var b,m=1,v=arguments.length;m<v;m++)for(var y in b=arguments[m])Object.prototype.hasOwnProperty.call(b,y)&&(_[y]=b[y]);return _},p.apply(this,arguments)},g=this&&this.__read||function(_,b){var m=typeof Symbol=="function"&&_[Symbol.iterator];if(!m)return _;var v,y,w=m.call(_),S=[];try{for(;(b===void 0||b-- >0)&&!(v=w.next()).done;)S.push(v.value)}catch(O){y={error:O}}finally{try{v&&!v.done&&(m=w.return)&&m.call(w)}finally{if(y)throw y.error}}return S};Object.defineProperty(s,"__esModule",{value:!0}),s.removeUndefinedKeys=void 0;var h=f(2346);s.removeUndefinedKeys=function(_){return Object.entries(_).filter(function(b){var m=g(b,2)[1];return(0,h.isDefined)(m)}).reduce(function(b,m){var v,y=g(m,2),w=y[0],S=y[1];return p(p({},b),((v={})[w]=S,v))},{})}},4748:function(d,s,f){Object.defineProperty(s,"__esModule",{value:!0}),s.setAutoClose=s.DEFAULT_AUTO_CLOSE_TIME=void 0;var p=f(8554);s.DEFAULT_AUTO_CLOSE_TIME=500,s.setAutoClose=function(g,h,_){h&&_&&window.addEventListener("message",(0,p.getFormSubmitHandler)(g,function(){return setTimeout(_,(m=typeof(b=h)=="number"?b:0,Math.max(m,s.DEFAULT_AUTO_CLOSE_TIME)));var b,m}))}},9533:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.setElementSize=s.getValueWithUnits=void 0,s.getValueWithUnits=function(f){return typeof f!="string"||f.match(/^[0-9]+$/)?"".concat(f,"px"):f},s.setElementSize=function(f,p){var g=p.width,h=p.height;return g&&(f.style.width=(0,s.getValueWithUnits)(g)),h&&(f.style.height=(0,s.getValueWithUnits)(h)),f}},4392:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.setupGaInstance=s.sendGaIdMessage=void 0,s.sendGaIdMessage=function(g,h,_){var b={embedId:g,gaClientId:h};setTimeout(function(){_&&_.contentWindow&&_.contentWindow.postMessage({type:"ga-client-id",data:b},"*")},0)};var f=function(g){console.error(g)},p=function(g){f("Whoops! You enabled the shareGaInstance feature in your typeform embed but ".concat(g,`.
784
784
 
785
785
  `)+`Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID.
786
786
 
787
- It is also possible the Google Analytics was blocked by your adblock plugin.`)};s.setupGaInstance=function(g,h,_){var b=typeof _=="string"?_:void 0;if(window.gtag){if(b||(b=function(){if(window.dataLayer){var y=window.dataLayer.find(function(w){return w.length>1&&w[0]==="config"});return y&&y[1]}}()),!b)return void p("the tracking ID could not be retrieved");var m=!1;window.gtag("get",b,"client_id",function(y){m=!0,(0,s.sendGaIdMessage)(h,y,g)}),setTimeout(function(){m||p("the tracker with ID ".concat(b," was not found"))},3e3)}else try{var v=function(y,w){return w?y.find(function(S){return S.get("trackingId")===w}):y[0]}(window.ga.getAll(),b);v?(0,s.sendGaIdMessage)(h,v.get("clientId"),g):p("the tracker with ID ".concat(b," was not found"))}catch(y){p("the Google Analytics object was not found"),f(y)}}},4623:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.sleep=void 0,s.sleep=function(f){return new Promise(function(p){return setTimeout(p,f)})}},1451:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.unmountElement=void 0,s.unmountElement=function(f){var p;(p=f.parentNode)===null||p===void 0||p.removeChild(f)}}},c={};return function d(s){var f=c[s];if(f!==void 0)return f.exports;var p=c[s]={exports:{}};return l[s].call(p.exports,p,p.exports,d),p.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var l=i[u];if(l!==void 0)return l.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,l){return Object.prototype.hasOwnProperty.call(u,l)},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 l=a(611),c=a(281),d=a(797),s=(0,d.memoComponent)(c.Widget);u.Widget=s;var f=(0,d.memoComponent)((0,c.makeButtonComponent)(l.createPopup,"popup"));u.PopupButton=f;var p=(0,d.memoComponent)((0,c.makeButtonComponent)(l.createSlider,"slider"));u.SliderButton=p;var g=(0,d.memoComponent)((0,c.makeInitializerComponent)(l.createPopover,"popover"));u.Popover=g;var h=(0,d.memoComponent)((0,c.makeInitializerComponent)(l.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(dm);var vC=dm.exports,hC={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"]};function dr(e){"@babel/helpers - typeof";return dr=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},dr(e)}function sd(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 iI(e,t){if(e){if(typeof e=="string")return sd(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 sd(e,t)}}function mC(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=iI(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.
788
- 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 c=n.next();return a=c.done,c},e:function(c){o=!0,u=c},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function aI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zu(e,t){return zu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},zu(e,t)}function yC(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&&zu(e,t)}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function oI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function uI(e,t){if(t&&(dr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return aI(e)}function gC(e){var t=oI();return function(){var r=ha(e),i;if(t){var a=ha(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return uI(this,i)}}function bC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){if(dr(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(dr(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pm(e){var t=lI(e,"string");return dr(t)==="symbol"?t:String(t)}function cd(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,pm(r.key),r)}}function _C(e,t,n){return t&&cd(e.prototype,t),n&&cd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function wC(e,t,n){return t=pm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}export{ZI as $,rr as A,kI as B,fl as C,hI as D,Jm as E,ue as F,ke as G,NI as H,lt as I,TI as J,SI as K,wa as L,II as M,jp as N,v0 as O,AI as P,yg as Q,xp as R,dg as S,Gt as T,Q0 as U,cp as V,yI as W,eC as X,ye as Y,$I as Z,On as _,Ot as a,qI as a$,xI as a0,jI as a1,FI as a2,tC as a3,dl as a4,DI as a5,JI as a6,nC as a7,pC as a8,$5 as a9,R0 as aA,bp as aB,gI as aC,mI as aD,vI as aE,_I as aF,bI as aG,$r as aH,dp as aI,sC as aJ,lp as aK,hp as aL,ot as aM,WI as aN,oC as aO,fC as aP,rC as aQ,cC as aR,BI as aS,Gd as aT,CI as aU,LI as aV,lC as aW,zI as aX,HI as aY,YI as aZ,QI as a_,D5 as aa,Ua as ab,G5 as ac,W5 as ad,z5 as ae,K5 as af,q5 as ag,Os as ah,fI as ai,cI as aj,uC as ak,dC as al,Jn as am,wg as an,pI as ao,qe as ap,WT as aq,vC as ar,hC as as,iC as at,KI as au,PI as av,UI as aw,aC as ax,nn as ay,RI as az,ys as b,Ju as b0,nl as b1,GI as b2,XI as b3,VI as b4,dr as c,yC as d,gC as e,bC as f,wC as g,aI as h,_C as i,mC as j,ee as k,Np as l,EI as m,fe as n,j as o,ce as p,Te as q,Be as r,OI as s,Fy as t,wI as u,Ni as v,J as w,vr as x,Ln as y,dI as z};
787
+ It is also possible the Google Analytics was blocked by your adblock plugin.`)};s.setupGaInstance=function(g,h,_){var b=typeof _=="string"?_:void 0;if(window.gtag){if(b||(b=function(){if(window.dataLayer){var y=window.dataLayer.find(function(w){return w.length>1&&w[0]==="config"});return y&&y[1]}}()),!b)return void p("the tracking ID could not be retrieved");var m=!1;window.gtag("get",b,"client_id",function(y){m=!0,(0,s.sendGaIdMessage)(h,y,g)}),setTimeout(function(){m||p("the tracker with ID ".concat(b," was not found"))},3e3)}else try{var v=function(y,w){return w?y.find(function(S){return S.get("trackingId")===w}):y[0]}(window.ga.getAll(),b);v?(0,s.sendGaIdMessage)(h,v.get("clientId"),g):p("the tracker with ID ".concat(b," was not found"))}catch(y){p("the Google Analytics object was not found"),f(y)}}},4623:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.sleep=void 0,s.sleep=function(f){return new Promise(function(p){return setTimeout(p,f)})}},1451:function(d,s){Object.defineProperty(s,"__esModule",{value:!0}),s.unmountElement=void 0,s.unmountElement=function(f){var p;(p=f.parentNode)===null||p===void 0||p.removeChild(f)}}},c={};return function d(s){var f=c[s];if(f!==void 0)return f.exports;var p=c[s]={exports:{}};return l[s].call(p.exports,p,p.exports,d),p.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var l=i[u];if(l!==void 0)return l.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,l){return Object.prototype.hasOwnProperty.call(u,l)},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 l=a(611),c=a(281),d=a(797),s=(0,d.memoComponent)(c.Widget);u.Widget=s;var f=(0,d.memoComponent)((0,c.makeButtonComponent)(l.createPopup,"popup"));u.PopupButton=f;var p=(0,d.memoComponent)((0,c.makeButtonComponent)(l.createSlider,"slider"));u.SliderButton=p;var g=(0,d.memoComponent)((0,c.makeInitializerComponent)(l.createPopover,"popover"));u.Popover=g;var h=(0,d.memoComponent)((0,c.makeInitializerComponent)(l.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(pm);var vC=pm.exports,hC={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"]};function fr(e){"@babel/helpers - typeof";return fr=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},fr(e)}function cd(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 iI(e,t){if(e){if(typeof e=="string")return cd(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 cd(e,t)}}function mC(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=iI(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.
788
+ 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 c=n.next();return a=c.done,c},e:function(c){o=!0,u=c},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function aI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zu(e,t){return zu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},zu(e,t)}function yC(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&&zu(e,t)}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},va(e)}function oI(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function uI(e,t){if(t&&(fr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return aI(e)}function gC(e){var t=oI();return function(){var r=va(e),i;if(t){var a=va(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return uI(this,i)}}function bC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){if(fr(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(fr(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vm(e){var t=lI(e,"string");return fr(t)==="symbol"?t:String(t)}function fd(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,vm(r.key),r)}}function _C(e,t,n){return t&&fd(e.prototype,t),n&&fd(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function wC(e,t,n){return t=vm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}export{ZI as $,nr as A,kI as B,fl as C,hI as D,Zm as E,ue as F,ke as G,NI as H,lt as I,TI as J,SI as K,_a as L,II as M,Bp as N,h0 as O,AI as P,gg as Q,Hp as R,pg as S,qt as T,J0 as U,fp as V,yI as W,eC as X,ye as Y,$I as Z,En as _,Et as a,qI as a$,xI as a0,jI as a1,FI as a2,tC as a3,dl as a4,DI as a5,JI as a6,nC as a7,pC as a8,$5 as a9,k0 as aA,_p as aB,gI as aC,mI as aD,vI as aE,_I as aF,bI as aG,Dr as aH,pp as aI,sC as aJ,sp as aK,mp as aL,ot as aM,WI as aN,oC as aO,fC as aP,rC as aQ,cC as aR,BI as aS,Vd as aT,CI as aU,LI as aV,lC as aW,zI as aX,HI as aY,YI as aZ,QI as a_,D5 as aa,Fa as ab,G5 as ac,W5 as ad,z5 as ae,K5 as af,q5 as ag,Os as ah,fI as ai,cI as aj,uC as ak,dC as al,Qn as am,Eg as an,pI as ao,qe as ap,WT as aq,vC as ar,hC as as,iC as at,KI as au,PI as av,UI as aw,aC as ax,tn as ay,RI as az,ys as b,Ju as b0,nl as b1,GI as b2,XI as b3,VI as b4,fr as c,yC as d,gC as e,bC as f,wC as g,aI as h,_C as i,mC as j,ee as k,Mp as l,EI as m,fe as n,j as o,ce as p,Te as q,Be as r,OI as s,Uy as t,wI as u,ki as v,J as w,pr as x,Cn as y,dI as z};