PageSourceSearch

https://www.burrinja.org.au/_next/static/chunks/803-6dca83c9bcd55aa2.js?dpl=dpl_HdVr6EMAPKM6TkpoBs9vgixs8sp8

js burrinja.org.au collected 2026-10-02 09:57:38 UTC 360,713 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[803],{78465:function(e,t,r){"use strict";function n(){return{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}}r.d(t,{A:function(){return n}})},1314:function(e,t,r){"use strict";r.d(t,{He:function(){return l},Ld:function(){return E},eC:function(){return f},f3:function(){return u},iG:function(){return d},rS:function(){return h},sb:function(){return v},ys:function(){return s}});var n=r(21132),i=r(67294);let o=Symbol.for("Animated:node"),a=e=>!!e&&e[o]===e,s=e=>e&&e[o],u=(e,t)=>(0,n.dE)(e,o,t),l=e=>e&&e[o]&&e[o].getPayload();class c{constructor(){this.payload=void 0,u(this,this)}getPayload(){return this.payload||[]}}class d extends c{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,n.is.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new d(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return n.is.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,n.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class f extends d{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=(0,n.mD)({output:[e,e]})}static create(e){return new f(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(n.is.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=(0,n.mD)({output:[this.getValue(),e]})),this._value=0,super.reset()}}let p={dependencies:null};class h extends c{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return(0,n.rU)(this.source,(r,i)=>{a(r)?t[i]=r.getValue(e):(0,n.j$)(r)?t[i]=(0,n.je)(r):e||(t[i]=r)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&(0,n.S6)(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return(0,n.rU)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){p.dependencies&&(0,n.j$)(e)&&p.dependencies.add(e);let t=l(e);t&&(0,n.S6)(t,e=>this.add(e))}}class m extends h{constructor(e){super(e)}static create(e){return new m(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,r)=>t.setValue(e[r])).some(Boolean):(super.setValue(e.map(y)),!0)}}function y(e){return((0,n.Df)(e)?f:d).create(e)}function v(e){let t=s(e);return t?t.constructor:n.is.arr(e)?m:(0,n.Df)(e)?f:d}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let b=(e,t)=>{let r=!n.is.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,i.forwardRef)((o,a)=>{let s=(0,i.useRef)(null),u=r&&(0,i.useCallback)(e=>{s.current=(a&&(n.is.fun(a)?a(e):a.current=e),e)},[a]),[l,c]=function(e,t){let r=new Set;return p.dependencies=r,e.style&&(e=g({},e,{style:t.createAnimatedStyle(e.style)}
1)),e=new h(e),p.dependencies=null,[e,r]}(o,t),d=(0,n.NW)(),f=()=>{let e=s.current;(!r||e)&&!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&d()},m=new w(f,c),y=(0,i.useRef)();(0,n.bt)(()=>(y.current=m,(0,n.S6)(c,e=>(0,n.UI)(e,m)),()=>{y.current&&((0,n.S6)(y.current.deps,e=>(0,n.iL)(e,y.current)),n.Wn.cancel(y.current.update))})),(0,i.useEffect)(f,[]),(0,n.tf)(()=>()=>{let e=y.current;(0,n.S6)(e.deps,t=>(0,n.iL)(t,e))});let v=t.getComponentProps(l.getValue());return i.createElement(e,g({},v,{ref:u}))})};class w{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&n.Wn.write(this.update)}}let _=Symbol.for("AnimatedComponent"),E=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=e=>new h(e),getComponentProps:i=e=>e}={})=>{let o={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:i},a=e=>{let t=x(e)||"Anonymous";return(e=n.is.str(e)?a[e]||(a[e]=b(e,o)):e[_]||(e[_]=b(e,o))).displayName=`Animated(${t})`,e};return(0,n.rU)(e,(t,r)=>{n.is.arr(e)&&(r=x(t)),a[r]=a(t)}),{animated:a}},x=e=>n.is.str(e)?e:e&&n.is.str(e.displayName)?e.displayName:n.is.fun(e)&&e.name||null},14928:function(e,t,r){"use strict";let n;r.d(t,{Globals:function(){return a.OH},useTransition:function(){return ec}});var i,o,a=r(21132),s=r(67294),u=r(1314);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,...t){return a.is.fun(e)?e(...t):e}let d=(e,t)=>!0===e||!!(t&&e&&(a.is.fun(e)?e(t):(0,a.qo)(e).includes(t))),f=(e,t)=>a.is.obj(e)?t&&e[t]:e,p=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,h=e=>e,m=(e,t=h)=>{let r=y;e.default&&!0!==e.default&&(r=Object.keys(e=e.default));let n={};for(let i of r){let r=t(e[i],i);a.is.und(r)||(n[i]=r)}return n},y=["config","onProps","onStart","onChange","onPause","onResume","onRest"],v={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function g(e){let t=function(e){let t={},r=0;if((0,a.rU)(e,(e,n)=>{!v[n]&&(t[n]=e,r++)}),r)return t}(e);if(t){let r={to:t};return(0,a.rU)(e,(e,n)=>n in t||(r[n]=e)),r}return l({},e)}function b(e){return e=(0,a.je)(e),a.is.arr(e)?e.map(b):(0,a.Df)(e)?a.OH.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function w(e){return a.is.fun(e)||a.is.arr(e)&&a.is.obj(e[0])}function _(e,t){var r;null==(r=e.ref)||r.delete(e),null==t||t.delete(e)}let E=l({},{tension:170,friction:26},{mass:1,damping:1,easing:e=>e,clamp:!1});class x{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,E)}}function k(e,t){if(a.is.und(t.decay)){let r=!a.is.und(t.tension)||!a.is.und(t.friction);!r&&a.is.und(t.frequency)&&a.is.und(t.damping)&&a.is.und(t.mass)||(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}else e.duration=void 0}let O=[];class S{constructor(){this.changed=!1,this.values=O,this.toValues=null,this.fromValues=O,this.to=void 0,this.from=void 0,this.config=new x,this.immediate=!1}}function T(e,{key:t,props:r,defaultProps:n,state:i,actions:o}){return new Promise((s,u)=>{var f;let p,h;let m=d(null!=(f=r.cancel)?f:null==n?void 0:n.cancel,t);if(m)g();else{a.is.und(r.pause)||(i.paused=d(r.pause,t));let e=null==n?void 0:n.pause;!0!==e&&(e=i.paused||d(e,t)),p=c(r.delay||0,t),e?(i.resumeQueue.add(v),o.pause()):(o.resume(),v())}function y(){i.resumeQueue.add(v),i.timeouts.delete(h),h.cancel(),p=h.time-a.Wn.now()}function v(){p>0&&!a.OH.skipAnimation?(i.delayed=!0,h=a.Wn.setTimeout(g,p),i.pauseQueue.add(y),i.timeouts.add(h)):g()}function g(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(y),i.timeouts.delete(h),e<=(i.cancelId||0)&&(m=!0);try{o.start(l({},r,{callId:e,cancel:m}),s)}catch(e){u(e)}}})}let P=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?I(e.get()):t.every(e=>e.noop)?A(e.get()):C(e.get(),t.every(e=>e.finished)),A=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),C=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),I=e=>({value:e,cancelled:!0,finished:!1});function N(e,t,r,n){let{callId:i,parentId:o,onRest:s}=t,{asyncTo:u,promise:c}=r;return o||e!==u||t.reset?r.promise=(async()=>{let d,f,p;r.asyncId=i,r.asyncTo=e;let h=m(t,(e,t)=>"onRest"===t?void 0:e),y=new Promise((e,t)=>
1(d=e,f=t)),v=e=>{let t=i<=(r.cancelId||0)&&I(n)||i!==r.asyncId&&C(n,!1);if(t)throw e.result=t,f(e),e},g=(e,t)=>{let o=new R,s=new L;return(async()=>{if(a.OH.skipAnimation)throw D(r),s.result=C(n,!1),f(s),s;v(o);let u=a.is.obj(e)?l({},e):l({},t,{to:e});u.parentId=i,(0,a.rU)(h,(e,t)=>{a.is.und(u[t])&&(u[t]=e)});let c=await n.start(u);return v(o),r.paused&&await new Promise(e=>{r.resumeQueue.add(e)}),c})()};if(a.OH.skipAnimation)return D(r),C(n,!1);try{let t;t=a.is.arr(e)?(async e=>{for(let t of e)await g(t)})(e):Promise.resolve(e(g,n.stop.bind(n))),await Promise.all([t.then(d),y]),p=C(n.get(),!0,!1)}catch(e){if(e instanceof R)p=e.result;else if(e instanceof L)p=e.result;else throw e}finally{i==r.asyncId&&(r.asyncId=o,r.asyncTo=o?u:void 0,r.promise=o?c:void 0)}return a.is.fun(s)&&a.Wn.batchedUpdates(()=>{s(p,n,n.item)}),p})():c}function D(e,t){(0,a.yl)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class R extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class L extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}let M=e=>e instanceof V,j=1;class V extends a.B0{constructor(...e){super(...e),this.id=j++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=(0,u.ys)(this);return e&&e.getValue()}to(...e){return a.OH.to(this,e)}interpolate(...e){return(0,a.LW)(),a.OH.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){(0,a.k0)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||a.fT.sort(this),(0,a.k0)(this,{type:"priority",parent:this,priority:e})}}let U=Symbol.for("SpringPhase"),F=e=>(1&e[U])>0,$=e=>(2&e[U])>0,z=e=>(4&e[U])>0,H=(e,t)=>t?e[U]|=3:e[U]&=-3,B=(e,t)=>t?e[U]|=4:e[U]&=-5;class Z extends V{constructor(e,t){if(super(),this.key=void 0,this.animation=new S,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!a.is.und(e)||!a.is.und(t)){let r=a.is.obj(e)?l({},e):l({},t,{from:e});a.is.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!($(this)||this._state.asyncTo)||z(this)}get goal(){return(0,a.je)(this.animation.to)}get velocity(){let e=(0,u.ys)(this);return e instanceof u.iG?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return F(this)}get isAnimating(){return $(this)}get isPaused(){return z(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1,n=this.animation,{config:i,toValues:o}=n,s=(0,u.He)(n.to);!s&&(0,a.j$)(n.to)&&(o=(0,a.qo)((0,a.je)(n.to))),n.values.forEach((l,c)=>{if(l.done)return;let d=l.constructor==u.eC?1:s?s[c].lastPosition:o[c],f=n.immediate,p=d;if(!f){let t;if(p=l.lastPosition,i.tension<=0){l.done=!0;return}let r=l.elapsedTime+=e,o=n.fromValues[c],s=null!=l.v0?l.v0:l.v0=a.is.arr(i.velocity)?i.velocity[c]:i.velocity;if(a.is.und(i.duration)){if(i.decay){let e=!0===i.decay?.998:i.decay,n=Math.exp(-(1-e)*r);p=o+s/(1-e)*(1-n),f=.1>Math.abs(l.lastPosition-p),t=s*n}else{t=null==l.lastVelocity?s:l.lastVelocity;let r=i.precision||(o==d?.005:Math.min(1,.001*Math.abs(d-o))),n=i.restVelocity||r/10,u=i.clamp?0:i.bounce,c=!a.is.und(u),h=o==d?l.v0>0:o<d,m=Math.ceil(e/1);for(let e=0;e<m&&!(!(Math.abs(t)>n)&&(f=Math.abs(d-p)<=r));++e){c&&(p==d||p>d==h)&&(t=-t*u,p=d);let e=(-(1e-6*i.tension)*(p-d)+-(.001*i.friction)*t)/i.mass;t+=1*e,p+=1*t}}}else{let n=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,l.durationProgress>0&&(l.elapsedTime=i.duration*l.durationProgress,r=l.elapsedTime+=e)),n=(n=(i.progress||0)+r/this._memoizedDuration)>1?1:n<0?0:n,l.durationProgress=n),t=((p=o+i.easing(n)*(d-o))-l.lastPosition)/e,f=1==n}l.lastVelocity=t,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),f=!0)}
1s&&!s[c].done&&(f=!1),f?l.done=!0:t=!1,l.setValue(p,i.round)&&(r=!0)});let l=(0,u.ys)(this),c=l.getValue();if(t){let e=(0,a.je)(n.to);(c!==e||r)&&!i.decay?(l.setValue(e),this._onChange(e)):r&&i.decay&&this._onChange(c),this._stop()}else r&&this._onChange(c)}set(e){return a.Wn.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if($(this)){let{to:e,config:t}=this.animation;a.Wn.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return a.is.und(e)?(r=this.queue||[],this.queue=[]):r=[a.is.obj(e)?e:l({},t,{to:e})],Promise.all(r.map(e=>this._update(e))).then(e=>P(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),D(this._state,e&&this._lastCallId),a.Wn.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:r,from:n}=e;(null==(r=a.is.obj(r)?r[t]:r)||w(r))&&(r=void 0),null==(n=a.is.obj(n)?n[t]:n)&&(n=void 0);let i={to:r,from:n};return F(this)||(e.reverse&&([r,n]=[n,r]),n=(0,a.je)(n),a.is.und(n)?(0,u.ys)(this)||this._set(r):this._set(n)),i}_update(e,t){let r=l({},e),{key:n,defaultProps:i}=this;r.default&&Object.assign(i,m(r,(e,t)=>/^on/.test(t)?f(e,n):e)),X(this,r,"onProps"),J(this,"onProps",r,this);let o=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let s=this._state;return T(++this._lastCallId,{key:n,props:r,defaultProps:i,state:s,actions:{pause:()=>{z(this)||(B(this,!0),(0,a.bl)(s.pauseQueue),J(this,"onPause",C(this,W(this,this.animation.to)),this))},resume:()=>{z(this)&&(B(this,!1),$(this)&&this._resume(),(0,a.bl)(s.resumeQueue),J(this,"onResume",C(this,W(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(e=>{if(r.loop&&e.finished&&!(t&&e.noop)){let e=q(r);if(e)return this._update(e,!0)}return e})}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(I(this));let n=!a.is.und(e.to),i=!a.is.und(e.from);if(n||i){if(!(t.callId>this._lastToId))return r(I(this));this._lastToId=t.callId}let{key:o,defaultProps:s,animation:f}=this,{to:p,from:h}=f,{to:m=p,from:y=h}=e;i&&!n&&(!t.default||a.is.und(m))&&(m=y),t.reverse&&([m,y]=[y,m]);let v=!(0,a.Xy)(y,h);v&&(f.from=y),y=(0,a.je)(y);let g=!(0,a.Xy)(m,p);g&&this._focus(m);let _=w(t.to),{config:x}=f,{decay:O,velocity:S}=x;(n||i)&&(x.velocity=0),t.config&&!_&&function(e,t,r){for(let n in r&&(k(r=l({},r),t),t=l({},r,t)),k(e,t),Object.assign(e,t),E)null==e[n]&&(e[n]=E[n]);let{mass:n,frequency:i,damping:o}=e;a.is.und(i)||(i<.01&&(i=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/i,2)*n,e.friction=4*Math.PI*o*n/i)}(x,c(t.config,o),t.config!==s.config?c(s.config,o):void 0);let T=(0,u.ys)(this);if(!T||a.is.und(m))return r(C(this,!0));let P=a.is.und(t.reset)?i&&!t.default:!a.is.und(y)&&d(t.reset,o),D=P?y:this.get(),R=b(m),L=a.is.num(R)||a.is.arr(R)||(0,a.Df)(R),M=!_&&(!L||d(s.immediate||t.immediate,o));if(g){let e=(0,u.sb)(m);if(e!==T.constructor){if(M)T=this._set(R);else throw Error(`Cannot animate between ${T.constructor.name} and ${e.name}, as the "to" prop suggests`)}}let j=T.constructor,V=(0,a.j$)(m),U=!1;if(!V){let e=P||!F(this)&&v;(g||e)&&(V=!(U=(0,a.Xy)(b(D),R))),((0,a.Xy)(f.immediate,M)||M)&&(0,a.Xy)(x.decay,O)&&(0,a.Xy)(x.velocity,S)||(V=!0)}if(U&&$(this)&&(f.changed&&!P?V=!0:V||this._stop(p)),!_&&((V||(0,a.j$)(p))&&(f.values=T.getPayload(),f.toValues=(0,a.j$)(m)?null:j==u.eC?[1]:(0,a.qo)(R)),f.immediate==M||(f.immediate=M,M||P||this._set(p)),V)){let{onRest:e}=f;(0,a.S6)(Y,e=>X(this,t,e));let n=C(this,W(this,p));(0,a.bl)(this._pendingCalls,n),this._pendingCalls.add(r),f.changed&&a.Wn.batchedUpdates(()=>{f.changed=!P,null==e||e(n,this),P?c(s.onRest,n):null==f.onStart||f.onStart(n,this)})}P&&this._set(D),_?r(N(t.to,t,this._state,this)):V?this._start():$(this)&&!g?this._pendingCalls.add(r):r(A(D))}_focus(e){let t=this.animation;e!==t.to&&((0,a.Ll)(this)&&this._detach(),t.to=e,(0,a.Ll)(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;(0,a.j$)(t)&&((0,a.UI)(t,this),M(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;(0,a.j$)(e)&&(0,a.iL)(e,this)}_set(e,t=!0){let r=(0,a.je)(e);if(!a.is.und(r)){let e=(0,u.ys)(this);if(!e||!(0,a.Xy)(r,e.getValue())){let n=(0,u.sb)(r);e&&e.constructor==n?e.setValue(r):(0,u.f3)(this,n.create(r)),e&&a.Wn.batchedUpdates(()=>{this._onChange(r,t)})}}return(0,u.ys)(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,J(this,"onStart",C(this,W(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),c(this.animation.onChange,e,this)),c(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;(0,u.ys)(this).reset((0,a.je)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),$(this)||(H(this,!0),z(this)||this._resume())}_resume(){a.OH.skipAnimation?this.finish():a.fT.start(this)}_stop(e,t){if($(this)){H(this,!1);let r=this.animation;(0,a.S6)(r.values,e=>{e.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),(0,a.k0)(this,{type:"idle",parent:this});let n=t?I(this.get()):C(this.get(),W(this,null!=e?e:r.to));
1(0,a.bl)(this._pendingCalls,n),r.changed&&(r.changed=!1,J(this,"onRest",n,this))}}}function W(e,t){let r=b(t),n=b(e.get());return(0,a.Xy)(n,r)}function q(e,t=e.loop,r=e.to){let n=c(t);if(n){let i=!0!==n&&g(n),o=(i||e).reverse,a=!i||i.reset;return K(l({},e,{loop:t,default:!1,pause:void 0,to:!o||w(r)?r:void 0,from:a?e.from:void 0,reset:a},i))}}function K(e){let{to:t,from:r}=e=g(e),n=new Set;return a.is.obj(t)&&G(t,n),a.is.obj(r)&&G(r,n),e.keys=n.size?Array.from(n):null,e}function G(e,t){(0,a.rU)(e,(e,r)=>null!=e&&t.add(r))}let Y=["onStart","onRest","onChange","onPause","onResume"];function X(e,t,r){e.animation[r]=t[r]!==p(t,r)?f(t[r],e.key):void 0}function J(e,t,...r){var n,i,o,a;null==(n=(i=e.animation)[t])||n.call(i,...r),null==(o=(a=e.defaultProps)[t])||o.call(a,...r)}let Q=["onStart","onChange","onRest"],ee=1;class et{constructor(e,t){this.id=ee++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(l({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,r)=>e[r]=t.get()),e}set(e){for(let t in e){let r=e[t];a.is.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(K(e)),this}start(e){var t;let{queue:r}=this;return(e?r=(0,a.qo)(e).map(K):this.queue=[],this._flush)?this._flush(this,r):(eo(this,r),t=this,Promise.all(r.map(e=>er(t,e))).then(e=>P(t,e)))}stop(e,t){if(!!e!==e&&(t=e),t){let r=this.springs;(0,a.S6)((0,a.qo)(t),t=>r[t].stop(!!e))}else D(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(a.is.und(e))this.start({pause:!0});else{let t=this.springs;(0,a.S6)((0,a.qo)(e),e=>t[e].pause())}return this}resume(e){if(a.is.und(e))this.start({pause:!1});else{let t=this.springs;(0,a.S6)((0,a.qo)(e),e=>t[e].resume())}return this}each(e){(0,a.rU)(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,(0,a.yl)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let o=!n&&this._started,s=i||o&&r.size?this.get():null;i&&t.size&&(0,a.yl)(t,([e,t])=>{t.value=s,e(t,this,this._item)}),o&&(this._started=!1,(0,a.yl)(r,([e,t])=>{t.value=s,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}a.Wn.onFrame(this._onFrame)}}async function er(e,t,r){let{keys:n,to:i,from:o,loop:s,onRest:u,onResolve:l}=t,c=a.is.obj(t.default)&&t.default;s&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);let d=a.is.arr(i)||a.is.fun(i)?i:void 0;d?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):(0,a.S6)(Q,r=>{let n=t[r];if(a.is.fun(n)){let i=e._events[r];t[r]=({finished:e,cancelled:t})=>{let r=i.get(n);r?(e||(r.finished=!1),t&&(r.cancelled=!0)):i.set(n,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[r]=t[r])}});let f=e._state;!f.paused===t.pause?(f.paused=t.pause,(0,a.bl)(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let h=(n||Object.keys(e.springs)).map(r=>e.springs[r].start(t)),m=!0===t.cancel||!0===p(t,"cancel");(d||m&&f.asyncId)&&h.push(T(++e._lastAsyncId,{props:t,state:f,actions:{pause:a.ZT,resume:a.ZT,start(t,r){m?(D(f,e._lastAsyncId),r(I(e))):(t.onRest=u,r(N(d,t,f,e)))}}})),f.paused&&await new Promise(e=>{f.resumeQueue.add(e)});let y=P(e,await Promise.all(h));if(s&&y.finished&&!(r&&y.noop)){let r=q(t,s,i);if(r)return eo(e,[r]),er(e,r,!0)}return l&&a.Wn.batchedUpdates(()=>l(y,e,e.item)),y}function en(e,t){let r=new Z;return r.key=e,t&&(0,a.UI)(r,t),r}function ei(e,t,r){t.keys&&(0,a.S6)(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function eo(e,t){(0,a.S6)(t,t=>{ei(e.springs,t,t=>en(t,e))})}let ea=["children"],es=e=>{let{children:t}=e,r=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,ea),n=(0,s.useContext)(eu),i=r.pause||!!n.pause,o=r.immediate||!!n.immediate;r=(0,a.Pr)(()=>({pause:i,immediate:o}),[i,o]);let{Provider:u}=eu;return s.createElement(u,{value:r},t)},eu=(i={},Object.assign(es,s.createContext(i)),es.Provider._context=es,es.Consumer._context=es,es);es.Provider=eu.Provider,es.Consumer=eu.Consumer;let el=()=>{let e=[],t=function(t){(0,a.ZR)();let n=[];return(0,a.S6)(e,(e,i)=>{if(a.is.und(t))n.push(e.start());else{let o=r(t,e,i);o&&n.push(e.start(o))}}),n};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let r=e.indexOf(t);~r&&e.splice(r,1)},t.pause=function(){return(0,a.S6)(e,e=>e.pause(...arguments)),this},t.resume=function(){return(0,a.S6)(e,e=>e.resume(...arguments)),this},t.set=function(t){(0,a.S6)(e,e=>e.set(t))},t.start=function(t){let r=[];return(0,a.S6)(e,(e,n)=>{if(a.is.und(t))r.push(e.start());else{let i=this._getProps(t,e,n);i&&r.push(e.start(i))}}),r},t.stop=function(){return(0,a.S6)(e,e=>e.stop(...arguments)),this},t.update=function(t){return(0,a.S6)(e,(e,r)=>e.update(this._getProps(t,e,r))),this};let r=function(e,t,r){return a.is.fun(e)?e(r,t):e};return t._getProps=r,t};function ec(e,t,r){let i=a.is.fun(t)&&t,{reset:o,sort:u,trail:d=0,expires:f=!0,exitBeforeEnter:p=!1,onDestroyed:h,ref:y,config:v}=i?i():t,b=(0,s.useMemo)(()=>i||3==arguments.length?el():void 0,[]),w=(0,a.qo)(e),E=[],x=(0,s.useRef)(null),k=o?null:x.current;(0,a.bt)(()=>{x.current=E}),(0,a.tf)(()=>((0,a.S6)(x.current,e=>{var t;null==(t=e.ctrl.ref)||t.add(e.ctrl);let r=I.get(e);r&&e.ctrl.start(r.payload)}),()=>{(0,a.S6)(x.current,e=>{e.expired&&clearTimeout(e.expirationId),_(e.ctrl,b),e.ctrl.stop(!0)})}));let O=function(e,{key:t,keys:r=t}
1,i){if(null===r){let t=new Set;return e.map(e=>{let r=i&&i.find(r=>r.item===e&&r.phase!==n.LEAVE&&!t.has(r));return r?(t.add(r),r.key):ed++})}return a.is.und(r)?e:a.is.fun(r)?e.map(r):(0,a.qo)(r)}(w,i?i():t,k),S=o&&x.current||[];(0,a.bt)(()=>(0,a.S6)(S,({ctrl:e,item:t,key:r})=>{_(e,b),c(h,t,r)}));let T=[];if(k&&(0,a.S6)(k,(e,t)=>{e.expired?(clearTimeout(e.expirationId),S.push(e)):~(t=T[t]=O.indexOf(e.key))&&(E[t]=e)}),(0,a.S6)(w,(e,t)=>{E[t]||(E[t]={key:O[t],item:e,phase:n.MOUNT,ctrl:new et},E[t].ctrl.item=e)}),T.length){let e=-1,{leave:r}=i?i():t;(0,a.S6)(T,(t,n)=>{let i=k[n];~t?(e=E.indexOf(i),E[e]=l({},i,{item:w[t]})):r&&E.splice(++e,0,i)})}a.is.fun(u)&&E.sort((e,t)=>u(e.item,t.item));let P=-d,A=(0,a.NW)(),C=m(t),I=new Map,N=(0,s.useRef)(new Map),D=(0,s.useRef)(!1);(0,a.S6)(E,(e,r)=>{let o,s;let u=e.key,h=e.phase,m=i?i():t,b=c(m.delay||0,u);if(h==n.MOUNT)o=m.enter,s=n.ENTER;else{let e=0>O.indexOf(u);if(h!=n.LEAVE){if(e)o=m.leave,s=n.LEAVE;else{if(!(o=m.update))return;s=n.UPDATE}}else{if(e)return;o=m.enter,s=n.ENTER}}if(o=c(o,e.item,r),!(o=a.is.obj(o)?g(o):{to:o}).config){let t=v||C.config;o.config=c(t,e.item,r,s)}P+=d;let w=l({},C,{delay:b+P,ref:y,immediate:m.immediate,reset:!1},o);if(s==n.ENTER&&a.is.und(w.from)){let n=i?i():t,o=a.is.und(n.initial)||k?n.from:n.initial;w.from=c(o,e.item,r)}let{onResolve:_}=w;w.onResolve=e=>{c(_,e);let t=x.current,r=t.find(e=>e.key===u);if(r){if(e.cancelled&&r.phase!=n.UPDATE)return;if(r.ctrl.idle){let e=t.every(e=>e.ctrl.idle);if(r.phase==n.LEAVE){let t=c(f,r.item);if(!1!==t){let n=!0===t?0:t;if(r.expired=!0,!e&&n>0){n<=2147483647&&(r.expirationId=setTimeout(A,n));return}}}e&&t.some(e=>e.expired)&&(N.current.delete(r),p&&(D.current=!0),A())}}};let E=function(e,t){let r=l({},e.springs);return t&&(0,a.S6)((0,a.qo)(t),e=>{a.is.und(e.keys)&&(e=K(e)),a.is.obj(e.to)||(e=l({},e,{to:void 0})),ei(r,e,e=>en(e))}),(0,a.rU)(r,(t,r)=>{e.springs[r]||(e.springs[r]=t,(0,a.UI)(t,e))}),r}(e.ctrl,w);s===n.LEAVE&&p?N.current.set(e,{phase:s,springs:E,payload:w}):I.set(e,{phase:s,springs:E,payload:w})});let R=(0,s.useContext)(es),L=(0,a.zH)(R),M=R!==L&&function(e){for(let t in e)return!0;return!1}(R);(0,a.bt)(()=>{M&&(0,a.S6)(E,e=>{e.ctrl.start({default:R})})},[R]),(0,a.S6)(I,(e,t)=>{if(N.current.size){let e=E.findIndex(e=>e.key===t.key);E.splice(e,1)}}),(0,a.bt)(()=>{(0,a.S6)(N.current.size?N.current:I,({phase:e,payload:t},r)=>{let{ctrl:i}=r;r.phase=e,null==b||b.add(i),M&&e==n.ENTER&&i.start({default:R}),t&&(function(e,t){if(t&&e.ref!==t){var r;null==(r=e.ref)||r.delete(e),t.add(e),e.ref=t}}(i,t.ref),i.ref&&!D.current?i.update(t):(i.start(t),D.current&&(D.current=!1)))})},o?void 0:r);let j=e=>s.createElement(s.Fragment,null,E.map((t,r)=>{let{springs:n}=I.get(t)||t.ctrl,i=e(l({},n),t.item,t,r);return i&&i.type?s.createElement(i.type,l({},i.props,{key:a.is.str(t.key)||a.is.num(t.key)?t.key:t.ctrl.id,ref:i.ref})):i}));return b?[j,b]:j}(o=n||(n={})).MOUNT="mount",o.ENTER="enter",o.UPDATE="update",o.LEAVE="leave";let ed=1;class ef extends V{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=(0,a.mD)(...t);let r=this._get(),n=(0,u.sb)(r);(0,u.f3)(this,n.create(r))}advance(e){let t=this._get(),r=this.get();(0,a.Xy)(t,r)||((0,u.ys)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&eh(this._active)&&em(this)}_get(){let e=a.is.arr(this.source)?this.source.map(a.je):(0,a.qo)((0,a.je)(this.source));return this.calc(...e)}_start(){this.idle&&!eh(this._active)&&(this.idle=!1,(0,a.S6)((0,u.He)(this),e=>{e.done=!1}),a.OH.skipAnimation?(a.Wn.batchedUpdates(()=>this.advance()),em(this)):a.fT.start(this))}_attach(){let e=1;(0,a.S6)((0,a.qo)(this.source),t=>{(0,a.j$)(t)&&(0,a.UI)(t,this),M(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){(0,a.S6)((0,a.qo)(this.source),e=>{(0,a.j$)(e)&&(0,a.iL)(e,this)}),this._active.clear(),em(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=(0,a.qo)(this.source).reduce((e,t)=>
1Math.max(e,(M(t)?t.priority:0)+1),0))}}function ep(e){return!1!==e.idle}function eh(e){return!e.size||Array.from(e).every(ep)}function em(e){e.idle||(e.idle=!0,(0,a.S6)((0,u.He)(e),e=>{e.done=!0}),(0,a.k0)(e,{type:"idle",parent:e}))}a.OH.assign({createStringInterpolator:a.qS,to:(e,t)=>new ef(e,t)}),a.fT.advance},21132:function(e,t,r){"use strict";let n,i,o;r.d(t,{B0:function(){return e_},OH:function(){return V},UI:function(){return ex},k0:function(){return ew},O9:function(){return K},mD:function(){return ep},qS:function(){return eR},dE:function(){return S},ZR:function(){return eF},LW:function(){return eV},S6:function(){return A},rU:function(){return C},yl:function(){return N},bl:function(){return D},fT:function(){return H},Ll:function(){return eb},je:function(){return eg},j$:function(){return ev},is:function(){return T},Df:function(){return e$},Xy:function(){return P},ZT:function(){return O},Wn:function(){return s},iL:function(){return ek},qo:function(){return I},NW:function(){return eB},bt:function(){return ez},Pr:function(){return eZ},tf:function(){return eW},zH:function(){return eK}});let a=E(),s=e=>g(e,a),u=E();s.write=e=>g(e,u);let l=E();s.onStart=e=>g(e,l);let c=E();s.onFrame=e=>g(e,c);let d=E();s.onFinish=e=>g(e,d);let f=[];s.setTimeout=(e,t)=>{let r=s.now()+t,n=()=>{let e=f.findIndex(e=>e.cancel==n);~e&&f.splice(e,1),y-=~e?1:0},i={time:r,handler:e,cancel:n};return f.splice(p(r),0,i),y+=1,b(),i};let p=e=>~(~f.findIndex(t=>t.time>e)||~f.length);s.cancel=e=>{l.delete(e),c.delete(e),a.delete(e),u.delete(e),d.delete(e)},s.sync=e=>{v=!0,s.batchedUpdates(e),v=!1},s.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...e){t=e,s.onStart(r)}return n.handler=e,n.cancel=()=>{l.delete(r),t=null},n};let h="undefined"!=typeof window?window.requestAnimationFrame:()=>{};s.use=e=>h=e,s.now="undefined"!=typeof performance?()=>performance.now():Date.now,s.batchedUpdates=e=>e(),s.catch=console.error,s.frameLoop="always",s.advance=()=>{"demand"!==s.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):_()};let m=-1,y=0,v=!1;function g(e,t){v?(t.delete(e),e(0)):(t.add(e),b())}function b(){m<0&&(m=0,"demand"!==s.frameLoop&&h(w))}function w(){~m&&(h(w),s.batchedUpdates(_))}function _(){let e=m,t=p(m=s.now());t&&(x(f.splice(0,t),e=>e.handler()),y-=t),l.flush(),a.flush(e?Math.min(64,m-e):16.667),c.flush(),u.flush(),d.flush(),y||(m=-1)}function E(){let e=new Set,t=e;return{add(r){y+=t!=e||e.has(r)?0:1,e.add(r)},delete:r=>(y-=t==e&&e.has(r)?1:0,e.delete(r)),flush(r){t.size&&(e=new Set,y-=t.size,x(t,t=>t(r)&&e.add(t)),y+=e.size,t=e)}}}function x(e,t){e.forEach(e=>{try{t(e)}catch(e){s.catch(e)}})}var k=r(67294);function O(){}let S=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),T={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function P(e,t){if(T.arr(e)){if(!T.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}let A=(e,t)=>e.forEach(t);function C(e,t,r){if(T.arr(e)){for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);return}for(let n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}let I=e=>T.und(e)?[]:T.arr(e)?e:[e];function N(e,t){if(e.size){let r=Array.from(e);e.clear(),A(r,t)}}let D=(e,...t)=>N(e,e=>e(...t)),R=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),L=null,M=!1,j=O;var V=Object.freeze({__proto__:null,get createStringInterpolator(){return n},get to(){return i},get colors(){return L},get skipAnimation(){return M},get willAdvance(){return j},assign:e=>{e.to&&(i=e.to),e.now&&(s.now=e.now),void 0!==e.colors&&(L=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(n=e.createStringInterpolator),e.requestAnimationFrame&&s.use(e.requestAnimationFrame),e.batchedUpdates&&(s.batchedUpdates=e.batchedUpdates),e.willAdvance&&(j=e.willAdvance),e.frameLoop&&(s.frameLoop=e.frameLoop)}});let U=new Set,F=[],$=[],z=0,H={get idle(){return!U.size&&!F.length},start(e){z>e.priority?(U.add(e),s.onStart(B)):(Z(e),s(q))},advance:q,sort(e){if(z)s.onFrame(()=>H.sort(e));else{let t=F.indexOf(e);~t&&(F.splice(t,1),W(e))}},clear(){F=[],U.clear()}};
1function B(){U.forEach(Z),U.clear(),s(q)}function Z(e){F.includes(e)||W(e)}function W(e){F.splice(function(e,t){let r=e.findIndex(t);return r<0?e.length:r}(F,t=>t.priority>e.priority),0,e)}function q(e){let t=$;for(let r=0;r<F.length;r++){let n=F[r];z=n.priority,n.idle||(j(n),n.advance(e),n.idle||t.push(n))}return z=0,($=F).length=0,(F=t).length>0}let K={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},G="[-+]?\\d*\\.?\\d+",Y=G+"%";function X(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}let J=RegExp("rgb"+X(G,G,G)),Q=RegExp("rgba"+X(G,G,G,G)),ee=RegExp("hsl"+X(G,Y,Y)),et=RegExp("hsla"+X(G,Y,Y,G)),er=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,en=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ei=/^#([0-9a-fA-F]{6})$/,eo=/^#([0-9a-fA-F]{8})$/;function ea(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function es(e,t,r){let n=r<.5?r*(1+t):r+t-r*t,i=2*r-n;return Math.round(255*ea(i,n,e+1/3))<<24|Math.round(255*ea(i,n,e))<<16|Math.round(255*ea(i,n,e-1/3))<<8}function eu(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function el(e){return(parseFloat(e)%360+360)%360/360}function ec(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ed(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function ef(e){let t;let r="number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ei.exec(e))?parseInt(t[1]+"ff",16)>>>0:L&&void 0!==L[e]?L[e]:(t=J.exec(e))?(eu(t[1])<<24|eu(t[2])<<16|eu(t[3])<<8|255)>>>0:(t=Q.exec(e))?(eu(t[1])<<24|eu(t[2])<<16|eu(t[3])<<8|ec(t[4]))>>>0:(t=er.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=eo.exec(e))?parseInt(t[1],16)>>>0:(t=en.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ee.exec(e))?(255|es(el(t[1]),ed(t[2]),ed(t[3])))>>>0:(t=et.exec(e))?(es(el(t[1]),ed(t[2]),ed(t[3]))|ec(t[4]))>>>0:null;if(null===r)return e;let n=(4278190080&(r=r||0))>>>24,i=(16711680&r)>>>16,o=(65280&r)>>>8,a=(255&r)/255;return`rgba(${n}, ${i}, ${o}, ${a})`}let ep=(e,t,r)=>{if(T.fun(e))return e;if(T.arr(e))return ep({range:e,output:t,extrapolate:r});if(T.str(e.output[0]))return n(e);let i=e.output,o=e.range||[0,1],a=e.extrapolateLeft||e.extrapolate||"extend",s=e.extrapolateRight||e.extrapolate||"extend",u=e.easing||(e=>e);return t=>{let r=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(t,o);return function(e,t,r,n,i,o,a,s,u){let l=u?u(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>r){if("identity"===s)return l;"clamp"===s&&(l=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?l=-l:r===1/0?l-=t:l=(l-t)/(r-t),l=o(l),n===-1/0?l=-l:i===1/0?l+=n:l=l*(i-n)+n,l)}(t,o[r],o[r+1],i[r],i[r+1],u,a,s,e.map)}};function eh(){return(eh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let em=Symbol.for("FluidValue.get"),ey=Symbol.for("FluidValue.observers"),ev=e=>!!(e&&e[em]),eg=e=>e&&e[em]?e[em]():e,eb=e=>e[ey]||null;function ew(e,t){let r=e[ey];r&&r.forEach(e=>{e.eventObserved?e.eventObserved(t):e(t)})}class e_{constructor(e){if(this[em]=void 0,this[ey]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");eE(this,e)}}let eE=(e,t)=>eO(e,em,t);function ex(e,t){if(e[em]){let r=e[ey];r||eO(e,ey,r=new Set),!r.has(t)&&(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function ek(e,t){let r=e[ey];if(r&&r.has(t)){let n=r.size-1;n?r.delete(t):e[ey]=null,e.observerRemoved&&e.observerRemoved(n,t)}}let eO=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),eS=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,eT=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,eP=RegExp(`(${eS.source})(%|[a-z]+)`,"i"),eA=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,eC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,eI=e=>{let[t,r]=eN(e);if(!t||R())return e;let n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){let e=window.getComputedStyle(document.documentElement).getPropertyValue(r);if(e)return e}else if(r&&eC.test(r))return eI(r);else if(r)return r;return e},eN=e=>{let t=eC.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]},eD=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,eR=e=>{o||(o=L?RegExp(`(${Object.keys(L).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>eg(e).replace(eC,eI).replace(eT,ef).replace(o,ef)),r=t.map(e=>e.match(eS).map(Number)),n=r[0].map((e,t)=>r.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>ep(eh({},e,{output:t})));return e=>{var r;let i=!eP.test(t[0])&&(null==(r=t.find(e=>eP.test(e)))?void 0:r.replace(eS,"")),o=0;return t[0].replace(eS,()=>`${n[o++](e)}${i||""}`).replace(eA,eD)}},eL="react-spring: ",eM=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${eL}once requires a function parameter`);return(...r)=>{t||(e(...r),t=!0)}},ej=eM(console.warn);function eV(){ej(`${eL}The "interpolate" function is deprecated in v9 (use "to" instead)`)}let eU=eM(console.warn);function eF(){eU(`${eL}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function e$(e){return T.str(e)&&("#"==e[0]||/\d/.test(e)||!R()&&eC.test(e)||e in(L||{}))}let ez="undefined"!=typeof window&&window.document&&window.document.createElement?k.useLayoutEffect:k.useEffect,eH=()=>{let e=(0,k.useRef)(!1);return ez(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function eB(){let e=(0,k.useState)()[1],t=eH();return()=>{t.current&&e(Math.random())}}function eZ(e,t){let[r]=(0,k.useState)(()=>({inputs:t,result:e()})),n=(0,k.useRef)(),i=n.current,o=i;return o?t&&o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,o.inputs)||(o={inputs:t,result:e()}):o=r,(0,k.useEffect)(()=>{n.current=o,i==r&&(r.inputs=r.result=void 0)},[o]),o.result}let eW=e=>(0,k.useEffect)(e,eq),eq=[];function eK(e){let t=(0,k.useRef)();return(0,k.useEffect)(()=>{t.current=e}),t.current}},81472:function(e,t,r){"use strict";r.d(t,{animated:function(){return x},useTransition:function(){return n.useTransition}});var n=r(14928),i=r(73935),o=r(21132),a=r(1314);function s(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}let u=["style","children","scrollTop","scrollLeft"],l=/^--/,c={},d={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},f=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),p=["Webkit","Ms","Moz","O"];d=Object.keys(d).reduce((e,t)=>
1(p.forEach(r=>e[f(r,t)]=e[t]),e),d);let h=["x","y","z"],m=/^(matrix|translate|scale|rotate|skew)/,y=/^(translate)/,v=/^(rotate|skew)/,g=(e,t)=>o.is.num(e)&&0!==e?e+t:e,b=(e,t)=>o.is.arr(e)?e.every(e=>b(e,t)):o.is.num(e)?e===t:parseFloat(e)===t;class w extends a.rS{constructor(e){let{x:t,y:r,z:n}=e,i=s(e,h),a=[],u=[];(t||r||n)&&(a.push([t||0,r||0,n||0]),u.push(e=>[`translate3d(${e.map(e=>g(e,"px")).join(",")})`,b(e,0)])),(0,o.rU)(i,(e,t)=>{if("transform"===t)a.push([e||""]),u.push(e=>[e,""===e]);else if(m.test(t)){if(delete i[t],o.is.und(e))return;let r=y.test(t)?"px":v.test(t)?"deg":"";a.push((0,o.qo)(e)),u.push("rotate3d"===t?([e,t,n,i])=>[`rotate3d(${e},${t},${n},${g(i,r)})`,b(i,0)]:e=>[`${t}(${e.map(e=>g(e,r)).join(",")})`,b(e,t.startsWith("scale")?1:0)])}}),a.length&&(i.transform=new _(a,u)),super(i)}}class _ extends o.B0{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return(0,o.S6)(this.inputs,(r,n)=>{let i=(0,o.je)(r[0]),[a,s]=this.transforms[n](o.is.arr(i)?i:r.map(o.je));e+=" "+a,t=t&&s}),t?"none":e}observerAdded(e){1==e&&(0,o.S6)(this.inputs,e=>(0,o.S6)(e,e=>(0,o.j$)(e)&&(0,o.UI)(e,this)))}observerRemoved(e){0==e&&(0,o.S6)(this.inputs,e=>(0,o.S6)(e,e=>(0,o.j$)(e)&&(0,o.iL)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),(0,o.k0)(this,e)}}let E=["scrollTop","scrollLeft"];n.Globals.assign({batchedUpdates:i.unstable_batchedUpdates,createStringInterpolator:o.qS,colors:o.O9});let x=(0,a.Ld)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let r="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:n,children:i,scrollTop:o,scrollLeft:a}=t,f=s(t,u),p=Object.values(f),h=Object.keys(f).map(t=>r||e.hasAttribute(t)?t:c[t]||(c[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let t in void 0!==i&&(e.textContent=i),n)if(n.hasOwnProperty(t)){var m;let r=null==(m=n[t])||"boolean"==typeof m||""===m?"":"number"!=typeof m||0===m||l.test(t)||d.hasOwnProperty(t)&&d[t]?(""+m).trim():m+"px";l.test(t)?e.style.setProperty(t,r):e.style[t]=r}h.forEach((t,r)=>{e.setAttribute(t,p[r])}),void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a)},createAnimatedStyle:e=>new w(e),getComponentProps:e=>s(e,E)}).animated},24955:function(e){var t;t=function(){"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function r(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}
1(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);var a=n(),s=i&&i.miss||function(){return Promise.resolve()};return a.then(function(e){return s(e)}).then(function(){return a})},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function a(e,t,r){var n={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers:function(){return e===d.WithinHeaders?n:{}},queryParameters:function(){return e===d.WithinQueryParameters?n:{}}}}function s(e){var t=0;return e(function r(){return t++,new Promise(function(n){setTimeout(function(){n(e(r))},Math.min(100*t,1e3))})})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return Promise.resolve()};return Object.assign(e,{wait:function(r){return u(e.then(function(e){return Promise.all([t(e,r),e])}).then(function(e){return e[1]}))}})}function l(e,t){return t&&Object.keys(t).forEach(function(r){e[r]=t[r](e)}),e}function c(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[i++])})}var d={WithinQueryParameters:0,WithinHeaders:1};function f(e,t){var r=e||{},n=r.data||{};return Object.keys(r).forEach(function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(n[e]=r[e])}),{data:Object.entries(n).length>0?n:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var p={Read:1,Write:2,Any:3};function h(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t(t({},e),{},{status:r,lastUpdate:Date.now()})}function m(e){return"string"==typeof e?{protocol:"https",url:e,accept:p.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||p.Any}}var y="DELETE",v="POST";function g(e,r,n,o){var a,s,u,l=[],c=function(e,r){if("GET"!==e.method&&(void 0!==e.data||void 0!==r.data))return JSON.stringify(Array.isArray(e.data)?e.data:t(t({},e.data),r.data))}(n,o),d=(a=t(t({},e.headers),o.headers),s={},Object.keys(a).forEach(function(e){var t=a[e];s[e.toLowerCase()]=t}),s),f=n.method,p="GET"!==n.method?{}:t(t({},n.data),o.data),y=t(t(t({"x-algolia-agent":e.userAgent.value},e.queryParameters),p),o.queryParameters),v=0,g=function t(r,i){var a,s,u,p=r.pop();if(void 0===p)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact [email protected].",transporterStackTrace:_(l)};var m={data:c,headers:d,method:f,url:(a=n.path,s=w(y),u="".concat(p.protocol,"://").concat(p.url,"/").concat("/"===a.charAt(0)?a.substr(1):a),s.length&&(u+="?".concat(s)),u),connectTimeout:i(v,e.timeouts.connect),responseTimeout:i(v,o.timeout)},g=function(e){var t={request:m,response:e,host:p,triesLeft:r.length};return l.push(t),t},b={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(t){throw{name:"DeserializationError",message:t.message,response:e}}}(e)},onRetry:function(n){var o=g(n);return n.isTimedOut&&v++,Promise.all([e.logger.info("Retryable failure",E(o)),e.hostsCache.set(p,h(p,n.isTimedOut?3:2))]).then(function(){return t(r,i)})},onFail:function(e){throw g(e),function(e,t){var r=e.content,n=e.status,i=r;try{i=JSON.parse(r).message}catch(e){}return{name:"ApiError",message:i,status:n,transporterStackTrace:t}}(e,_(l))}};return e.requester.send(m).then(function(e){var t,r,n;return(t=e.status,e.isTimedOut||(r=e.isTimedOut,n=e.status,!r&&0==~~n)||2!=~~(t/100)&&4!=~~(t/100))?b.onRetry(e):2==~~(e.status/100)?b.onSuccess(e):b.onFail(e)})};return(u=e.hostsCache,Promise.all(r.map(function(e){return u.get(e,function(){return Promise.resolve(h(e))})})).then(function(e){var t=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),n=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),o=[].concat(i(t),i(n));return{getTimeout:function(e,t){return(0===n.length&&0===e?1:n.length+3+e)*t},statelessHosts:o.length>0?o.map(function(e){return m(e)}):r}})).then(function(e){return g(i(e.statelessHosts).reverse(),e.getTimeout)})}function b(e){var t=e.hostsCache,r=e.logger,i=e.requester,o=e.requestsCache,a=e.responsesCache,s=e.timeouts,u=e.userAgent,l=e.hosts,c=e.queryParameters,d={hostsCache:t,logger:r,requester:i,requestsCache:o,responsesCache:a,timeouts:s,userAgent:u,headers:e.headers,queryParameters:c,hosts:l.map(function(e){return m(e)}),read:function(e,t){var r=f(t,d.timeouts.read),i=function(){return g(d,d.hosts.filter(function(e){return 0!=(e.accept&p.Read)}),e,r)};if(!0!==(void 0!==r.cacheable?r.cacheable:e.cacheable))return i();var o={request:e,mappedRequestOptions:r,transporter:{queryParameters:d.queryParameters,headers:d.headers}};return d.responsesCache.get(o,function(){return d.requestsCache.get(o,function(){return d.requestsCache.set(o,i()).then(function(e){return Promise.all([d.requestsCache.delete(o),e])},function(e){return Promise.all([d.requestsCache.delete(o),Promise.reject(e)])}).then(function(e){var t=n(e,2);return t[0],t[1]})})},{miss:function(e){return d.responsesCache.set(o,e)}})},write:function(e,t){return g(d,d.hosts.filter(function(e){return 0!=(e.accept&p.Write)}),e,f(t,d.timeouts.write))}};return d}function w(e){return Object.keys(e).map(function(t){var r;return c("%s=%s",t,(r=e[t],"[object Object]"===Object.prototype.toString.call(r)||"[object Array]"===Object.prototype.toString.call(r)?JSON.stringify(e[t]):e[t]))}).join("&")}function _(e){return e.map(function(e){return E(e)})}function E(e){var r=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};
1return t(t({},e),{},{request:t(t({},e.request),{},{headers:t(t({},e.request.headers),r)})})}var x=function(e){return function(t,r){return e.transporter.write({method:v,path:"2/abtests",data:t},r)}},k=function(e){return function(t,r){return e.transporter.write({method:y,path:c("2/abtests/%s",t)},r)}},O=function(e){return function(t,r){return e.transporter.read({method:"GET",path:c("2/abtests/%s",t)},r)}},S=function(e){return function(t){return e.transporter.read({method:"GET",path:"2/abtests"},t)}},T=function(e){return function(t,r){return e.transporter.write({method:v,path:c("2/abtests/%s/stop",t)},r)}},P=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/strategies/personalization"},t)}},A=function(e){return function(t,r){return e.transporter.write({method:v,path:"1/strategies/personalization",data:t},r)}};function C(e){return function t(r){return e.request(r).then(function(n){if(void 0!==e.batch&&e.batch(n.hits),!e.shouldStop(n))return n.cursor?t({cursor:n.cursor}):t({page:(r.page||0)+1})})}({})}var I=function(e){return function(n,i){var o=i||{},a=o.queryParameters,l=r(o,["queryParameters"]),c=t({acl:n},void 0!==a?{queryParameters:a}:{});return u(e.transporter.write({method:v,path:"1/keys",data:c},l),function(t,r){return s(function(n){return z(e)(t.key,r).catch(function(e){if(404!==e.status)throw e;return n()})})})}},N=function(e){return function(t,r,n){var i=f(n);return i.queryParameters["X-Algolia-User-ID"]=t,e.transporter.write({method:v,path:"1/clusters/mapping",data:{cluster:r}},i)}},D=function(e){return function(t,r,n){return e.transporter.write({method:v,path:"1/clusters/mapping/batch",data:{users:t,cluster:r}},n)}},R=function(e){return function(t,r){return u(e.transporter.write({method:v,path:c("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!0,requests:{action:"addEntry",body:[]}}},r),function(t,r){return ep(e)(t.taskID,r)})}},L=function(e){return function(t,r,n){return u(e.transporter.write({method:v,path:c("1/indexes/%s/operation",t),data:{operation:"copy",destination:r}},n),function(r,n){return G(e)(t,{methods:{waitTask:eQ}}).waitTask(r.taskID,n)})}},M=function(e){return function(r,n,i){return L(e)(r,n,t(t({},i),{},{scope:[e1.Rules]}))}},j=function(e){return function(r,n,i){return L(e)(r,n,t(t({},i),{},{scope:[e1.Settings]}))}},V=function(e){return function(r,n,i){return L(e)(r,n,t(t({},i),{},{scope:[e1.Synonyms]}))}},U=function(e){return function(t,r){return"GET"===t.method?e.transporter.read(t,r):e.transporter.write(t,r)}},F=function(e){return function(t,r){return u(e.transporter.write({method:y,path:c("1/keys/%s",t)},r),function(r,n){return s(function(r){return z(e)(t,n).then(r).catch(function(e){if(404!==e.status)throw e})})})}},$=function(e){return function(t,r,n){var i=r.map(function(e){return{action:"deleteEntry",body:{objectID:e}}});return u(e.transporter.write({method:v,path:c("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!1,requests:i}},n),function(t,r){return ep(e)(t.taskID,r)})}},z=function(e){return function(t,r){return e.transporter.read({method:"GET",path:c("1/keys/%s",t)},r)}},H=function(e){return function(t,r){return e.transporter.read({method:"GET",path:c("1/task/%s",t.toString())},r)}},B=function(e){return function(t){return e.transporter.read({method:"GET",path:"/1/dictionaries/*/settings"},t)}},Z=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/logs"},t)}},W=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/clusters/mapping/top"},t)}},q=function(e){return function(t,r){return e.transporter.read({method:"GET",path:c("1/clusters/mapping/%s",t)},r)}},K=function(e){return function(t){var n=t||{},i=n.retrieveMappings,o=r(n,["retrieveMappings"]);return!0===i&&(o.getClusters=!0),e.transporter.read({method:"GET",path:"1/clusters/mapping/pending"},o)}},G=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l({transporter:e.transporter,appId:e.appId,indexName:t},r.methods)}},Y=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/keys"},t)}},X=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/clusters"},t)}},J=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/indexes"},t)}},Q=function(e){return function(t){return e.transporter.read({method:"GET",path:"1/clusters/mapping"},t)}},ee=function(e){return function(t,r,n){return u(e.transporter.write({method:v,path:c("1/indexes/%s/operation",t),data:{operation:"move",destination:r}},n),function(r,n){return G(e)(t,{methods:{waitTask:eQ}}).waitTask(r.taskID,n)})}},et=function(e){return function(t,r){return u(e.transporter.write({method:v,path:"1/indexes/*/batch",data:{requests:t}},r),function(t,r){return Promise.all(Object.keys(t.taskID).map(function(n){return G(e)(n,{methods:{waitTask:eQ}}).waitTask(t.taskID[n],r)}))})}},er=function(e){return function(t,r){return e.transporter.read({method:v,path:"1/indexes/*/objects",data:{requests:t}},r)}},en=function(e){return function(r,n){var i=r.map(function(e){return t(t
1({},e),{},{params:w(e.params||{})})});return e.transporter.read({method:v,path:"1/indexes/*/queries",data:{requests:i},cacheable:!0},n)}},ei=function(e){return function(n,i){return Promise.all(n.map(function(n){var o=n.params,a=o.facetName,s=o.facetQuery,u=r(o,["facetName","facetQuery"]);return G(e)(n.indexName,{methods:{searchForFacetValues:eG}}).searchForFacetValues(a,s,t(t({},i),u))}))}},eo=function(e){return function(t,r){var n=f(r);return n.queryParameters["X-Algolia-User-ID"]=t,e.transporter.write({method:y,path:"1/clusters/mapping"},n)}},ea=function(e){return function(t,r,n){var i=r.map(function(e){return{action:"addEntry",body:e}});return u(e.transporter.write({method:v,path:c("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!0,requests:i}},n),function(t,r){return ep(e)(t.taskID,r)})}},es=function(e){return function(t,r){return u(e.transporter.write({method:v,path:c("1/keys/%s/restore",t)},r),function(r,n){return s(function(r){return z(e)(t,n).catch(function(e){if(404!==e.status)throw e;return r()})})})}},eu=function(e){return function(t,r,n){var i=r.map(function(e){return{action:"addEntry",body:e}});return u(e.transporter.write({method:v,path:c("/1/dictionaries/%s/batch",t),data:{clearExistingDictionaryEntries:!1,requests:i}},n),function(t,r){return ep(e)(t.taskID,r)})}},el=function(e){return function(t,r,n){return e.transporter.read({method:v,path:c("/1/dictionaries/%s/search",t),data:{query:r},cacheable:!0},n)}},ec=function(e){return function(t,r){return e.transporter.read({method:v,path:"1/clusters/mapping/search",data:{query:t}},r)}},ed=function(e){return function(t,r){return u(e.transporter.write({method:"PUT",path:"/1/dictionaries/*/settings",data:t},r),function(t,r){return ep(e)(t.taskID,r)})}},ef=function(e){return function(t,n){var i=Object.assign({},n),o=n||{},a=o.queryParameters,l=r(o,["queryParameters"]),d=["acl","indexes","referers","restrictSources","queryParameters","description","maxQueriesPerIPPerHour","maxHitsPerQuery"];return u(e.transporter.write({method:"PUT",path:c("1/keys/%s",t),data:a?{queryParameters:a}:{}},l),function(r,n){return s(function(r){return z(e)(t,n).then(function(e){return Object.keys(i).filter(function(e){return -1!==d.indexOf(e)}).every(function(t){return e[t]===i[t]})?Promise.resolve():r()})})})}},ep=function(e){return function(t,r){return s(function(n){return H(e)(t,r).then(function(e){return"published"!==e.status?n():void 0})})}},eh=function(e){return function(t,r){return u(e.transporter.write({method:v,path:c("1/indexes/%s/batch",e.indexName),data:{requests:t}},r),function(t,r){return eQ(e)(t.taskID,r)})}},em=function(e){return function(r){return C(t(t({shouldStop:function(e){return void 0===e.cursor}},r),{},{request:function(t){return e.transporter.read({method:v,path:c("1/indexes/%s/browse",e.indexName),data:t},r)}}))}},ey=function(e){return function(r){var n=t({hitsPerPage:1e3},r);return C(t(t({shouldStop:function(e){return e.hits.length<n.hitsPerPage}},n),{},{request:function(r){return eY(e)("",t(t({},n),r)).then(function(e){return t(t({},e),{},{hits:e.hits.map(function(e){return delete e._highlightResult,e})})})}}))}},ev=function(e){return function(r){var n=t({hitsPerPage:1e3},r);return C(t(t({shouldStop:function(e){return e.hits.length<n.hitsPerPage}},n),{},{request:function(r){return eX(e)("",t(t({},n),r)).then(function(e){return t(t({},e),{},{hits:e.hits.map(function(e){return delete e._highlightResult,e})})})}}))}},eg=function(e){return function(t,n,i){var o=i||{},a=o.batchSize,s=r(o,["batchSize"]),l={taskIDs:[],objectIDs:[]};return u(function r(){var i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,u=[];for(i=o;i<t.length&&(u.push(t[i]),u.length!==(a||1e3));i++);return 0===u.length?Promise.resolve(l):eh(e)(u.map(function(e){return{action:n,body:e}}),s).then(function(e){return l.objectIDs=l.objectIDs.concat(e.objectIDs),l.taskIDs.push(e.taskID),r(++i)})}(),function(t,r){return Promise.all(t.taskIDs.map(function(t){return eQ(e)(t,r)}))})}},eb=function(e){return function(t){return u(e.transporter.write({method:v,path:c("1/indexes/%s/clear",e.indexName)},t),function(t,r){return eQ(e)(t.taskID,r)})}},ew=function(e){return function(t){var n=t||{},i=n.forwardToReplicas,o=f(r(n,["forwardToReplicas"]));return i&&(o.queryParameters.forwardToReplicas=1),u(e.transporter.write({method:v,path:c("1/indexes/%s/rules/clear",e.indexName)},o),function(t,r){return eQ(e)(t.taskID,r)})}},e_=function(e){return function(t){var n=t||{},i=n.forwardToReplicas,o=f(r(n,["forwardToReplicas"]));return i&&(o.queryParameters.forwardToReplicas=1),u(e.transporter.write({method:v,path:c("1/indexes/%s/synonyms/clear",e.indexName)},o),function(t,r){return eQ(e)(t.taskID,r)})}},eE=function(e){return function(t,r){return u(e.transporter.write({method:v,path:c("1/indexes/%s/deleteByQuery",e.indexName),data:t},r),function(t,r){return eQ(e)(t.taskID,r)})}},ex=function(e){return function(t){return u(e.transporter.write({method:y,path:c("1/indexes/%s",e.indexName)},t),function(t,r){return eQ(e)(t.taskID,r)})}},ek=function(e){return function(t,r){return u(eO(e)([t],r).then(function(e){return{taskID:e.taskIDs[0]}}),function(t,r){return eQ(e)(t.taskID,r)})}},eO=function(e){return function(t,r){var n=t.map(function(e){return{objectID:e}});return eg(e)(n,e0.DeleteObject,r)}},eS=function(e){return function(t,n){var i=n||{},o=i.forwardToReplicas,a=f(r(i,["forwardToReplicas"]));return o&&(a.queryParameters.forwardToReplicas=1),u(e.transporter.write({method:y,path:c("1/indexes/%s/rules/%s",e.indexName,t)},a),function(t,r){return eQ(e)(t.taskID,r)})}},eT=function(e){return function(t,n){var i=n||{},o=i.forwardToReplicas,a=f(r(i,["forwardToReplicas"]));return o&&(a.queryParameters.forwardToReplicas=1),u(e.transporter.write({method:y,path:c("1/indexes/%s/synonyms/%s",e.indexName,t)},a),function(t,r){return eQ(e)(t.taskID,r)})}},eP=function(e){return function(t){return eL(e)(t).then(function(){return!0}).catch(function(e){if(404!==e.status)throw e;return!1})}},eA=function(e){return function(t,r,n){return e.transporter.read({method:v,path:c("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:r},cacheable:!0},n)}},eC=function(e){return function(i,o){var a=o||{},s=a.query,u=a.paginate,l=r(a,["query","paginate"]),c=0;
1return function r(){return eK(e)(s||"",t(t({},l),{},{page:c})).then(function(e){for(var t=0,o=Object.entries(e.hits);t<o.length;t++){var a=n(o[t],2),s=a[0],l=a[1];if(i(l))return{object:l,position:parseInt(s,10),page:c}}if(c++,!1===u||c>=e.nbPages)throw{name:"ObjectNotFoundError",message:"Object not found."};return r()})}()}},eI=function(e){return function(t,r){return e.transporter.read({method:"GET",path:c("1/indexes/%s/%s",e.indexName,t)},r)}},eN=function(){return function(e,t){for(var r=0,i=Object.entries(e.hits);r<i.length;r++){var o=n(i[r],2),a=o[0];if(o[1].objectID===t)return parseInt(a,10)}return -1}},eD=function(e){return function(n,i){var o=i||{},a=o.attributesToRetrieve,s=r(o,["attributesToRetrieve"]),u=n.map(function(r){return t({indexName:e.indexName,objectID:r},a?{attributesToRetrieve:a}:{})});return e.transporter.read({method:v,path:"1/indexes/*/objects",data:{requests:u}},s)}},eR=function(e){return function(t,r){return e.transporter.read({method:"GET",path:c("1/indexes/%s/rules/%s",e.indexName,t)},r)}},eL=function(e){return function(t){return e.transporter.read({method:"GET",path:c("1/indexes/%s/settings",e.indexName),data:{getVersion:2}},t)}},eM=function(e){return function(t,r){return e.transporter.read({method:"GET",path:c("1/indexes/%s/synonyms/%s",e.indexName,t)},r)}},ej=function(e){return function(t,r){return u(eV(e)([t],r).then(function(e){return{objectID:e.objectIDs[0],taskID:e.taskIDs[0]}}),function(t,r){return eQ(e)(t.taskID,r)})}},eV=function(e){return function(t,n){var i=n||{},o=i.createIfNotExists,a=r(i,["createIfNotExists"]),s=o?e0.PartialUpdateObject:e0.PartialUpdateObjectNoCreate;return eg(e)(t,s,a)}},eU=function(e){return function(o,a){var s=a||{},l=s.safe,d=s.autoGenerateObjectIDIfNotExist,f=s.batchSize,p=r(s,["safe","autoGenerateObjectIDIfNotExist","batchSize"]),h=function(t,r,n,i){return u(e.transporter.write({method:v,path:c("1/indexes/%s/operation",t),data:{operation:n,destination:r}},i),function(t,r){return eQ(e)(t.taskID,r)})},m=Math.random().toString(36).substring(7),y="".concat(e.indexName,"_tmp_").concat(m),g=eH({appId:e.appId,transporter:e.transporter,indexName:y}),b=[],w=h(e.indexName,y,"copy",t(t({},p),{},{scope:["settings","synonyms","rules"]}));return b.push(w),u((l?w.wait(p):w).then(function(){var e=g(o,t(t({},p),{},{autoGenerateObjectIDIfNotExist:d,batchSize:f}));return b.push(e),l?e.wait(p):e}).then(function(){var t=h(y,e.indexName,"move",p);return b.push(t),l?t.wait(p):t}).then(function(){return Promise.all(b)}).then(function(e){var t=n(e,3),r=t[0],o=t[1],a=t[2];return{objectIDs:o.objectIDs,taskIDs:[r.taskID].concat(i(o.taskIDs),[a.taskID])}}),function(e,t){return Promise.all(b.map(function(e){return e.wait(t)}))})}},eF=function(e){return function(r,n){return eZ(e)(r,t(t({},n),{},{clearExistingRules:!0}))}},e$=function(e){return function(r,n){return eq(e)(r,t(t({},n),{},{clearExistingSynonyms:!0}))}},ez=function(e){return function(t,r){return u(eH(e)([t],r).then(function(e){return{objectID:e.objectIDs[0],taskID:e.taskIDs[0]}}),function(t,r){return eQ(e)(t.taskID,r)})}},eH=function(e){return function(t,n){var i=n||{},o=i.autoGenerateObjectIDIfNotExist,a=r(i,["autoGenerateObjectIDIfNotExist"]),s=o?e0.AddObject:e0.UpdateObject;if(s===e0.UpdateObject){var l=!0,c=!1,d=void 0;try{for(var f,p=t[Symbol.iterator]();!(l=(f=p.next()).done);l=!0)if(void 0===f.value.objectID)return u(Promise.reject({name:"MissingObjectIDError",message:"All objects must have an unique objectID (like a primary key) to be valid. Algolia is also able to generate objectIDs automatically but *it's not recommended*. To do it, use the `{'autoGenerateObjectIDIfNotExist': true}` option."}))}catch(e){c=!0,d=e}finally{try{l||null==p.return||p.return()}finally{if(c)throw d}}}return eg(e)(t,s,a)}},eB=function(e){return function(t,r){return eZ(e)([t],r)}},eZ=function(e){return function(t,n){var i=n||{},o=i.forwardToReplicas,a=i.clearExistingRules,s=f(r(i,["forwardToReplicas","clearExistingRules"]));return o&&(s.queryParameters.forwardToReplicas=1),a&&(s.queryParameters.clearExistingRules=1),u(e.transporter.write({method:v,path:c("1/indexes/%s/rules/batch",e.indexName),data:t},s),function(t,r){return eQ(e)(t.taskID,r)})}},eW=function(e){return function(t,r){return eq(e)([t],r)}},eq=function(e){return function(t,n){var i=n||{},o=i.forwardToReplicas,a=i.clearExistingSynonyms,s=i.replaceExistingSynonyms,l=f(r(i,["forwardToReplicas","clearExistingSynonyms","replaceExistingSynonyms"]));return o&&(l.queryParameters.forwardToReplicas=1),(s||a)&&(l.queryParameters.replaceExistingSynonyms=1),u(e.transporter.write({method:v,path:c("1/indexes/%s/synonyms/batch",e.indexName),data:t},l),function(t,r){return eQ(e)(t.taskID,r)})}},eK=function(e){return function(t,r){return e.transporter.read({method:v,path:c("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r)}},eG=function(e){return function(t,r,n){return e.transporter.read({method:v,path:c("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},n)}},eY=function(e){return function(t,r){return e.transporter.read({method:v,path:c("1/indexes/%s/rules/search",e.indexName),data:{query:t}},r)}},eX=function(e){return function(t,r){return e.transporter.read({method:v,path:c("1/indexes/%s/synonyms/search",e.indexName),data:{query:t}},r)}},eJ=function(e){return function(t,n){var i=n||{},o=i.forwardToReplicas,a=f(r(i,["forwardToReplicas"]));return o&&(a.queryParameters.forwardToReplicas=1),u(e.transporter.write({method:"PUT",path:c("1/indexes/%s/settings",e.indexName),data:t},a),function(t,r){return eQ(e)(t.taskID,r)})}},eQ=function(e){return function(t,r){return s(function(n){return e.transporter.read({method:"GET",path:c("1/indexes/%s/task/%s",e.indexName,t.toString())},r).then(function(e){return"published"!==e.status?n():void 0})})}}
1,e0={AddObject:"addObject",UpdateObject:"updateObject",PartialUpdateObject:"partialUpdateObject",PartialUpdateObjectNoCreate:"partialUpdateObjectNoCreate",DeleteObject:"deleteObject"},e1={Settings:"settings",Synonyms:"synonyms",Rules:"rules"};function e2(e,r,s){var u,c,f,h,m,y,v,g,w,_,E={appId:e,apiKey:r,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(t){var r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(t){return r.setRequestHeader(t,e.headers[t])});var n,i=function(e,n){return setTimeout(function(){r.abort(),t({status:0,content:n,isTimedOut:!0})},1e3*e)},o=i(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(o),n=i(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(o),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(o),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return console.error(e,t),Promise.resolve()}},responsesCache:o(),requestsCache:o({serializable:!1}),hostsCache:function e(t){var r=i(t.caches),o=r.shift();return void 0===o?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then(function(e){return Promise.all([e,r.miss(e)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return o.get(t,n,i).catch(function(){return e({caches:r}).get(t,n,i)})},set:function(t,n){return o.set(t,n).catch(function(){return e({caches:r}).set(t,n)})},delete:function(t){return o.delete(t).catch(function(){return e({caches:r}).delete(t)})},clear:function(){return o.clear().catch(function(){return e({caches:r}).clear()})}}}({caches:[(u={key:"".concat("4.13.1","-").concat(e)},f="algoliasearch-client-js-".concat(u.key),h=function(){return void 0===c&&(c=u.localStorage||window.localStorage),c},m=function(){return JSON.parse(h().getItem(f)||"{}")},{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var r=JSON.stringify(e),n=m()[r];return Promise.all([n||t(),void 0!==n])}).then(function(e){var t=n(e,2),i=t[0];return Promise.all([i,t[1]||r.miss(i)])}).then(function(e){return n(e,1)[0]})},set:function(e,t){return Promise.resolve().then(function(){var r=m();return r[JSON.stringify(e)]=t,h().setItem(f,JSON.stringify(r)),t})},delete:function(e){return Promise.resolve().then(function(){var t=m();delete t[JSON.stringify(e)],h().setItem(f,JSON.stringify(t))})},clear:function(){return Promise.resolve().then(function(){h().removeItem(f)})}}),o()]}),userAgent:(y={value:"Algolia for JavaScript (".concat("4.13.1",")"),add:function(e){var t="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===y.value.indexOf(t)&&(y.value="".concat(y.value).concat(t)),y}}).add({segment:"Browser"})},C=t(t({},E),s),eg=function(){return function(e){var r,n,i,o;return n=(r=t(t(t({},E),e),{},{methods:{getPersonalizationStrategy:P,setPersonalizationStrategy:A}})).region||"us",i=a(d.WithinHeaders,r.appId,r.apiKey),o=b(t(t({hosts:[{url:"personalization.".concat(n,".algolia.com")}]},r),{},{headers:t(t(t({},i.headers()),{"content-type":"application/json"}),r.headers),queryParameters:t(t({},i.queryParameters()),r.queryParameters)})),l({appId:r.appId,transporter:o},r.methods)}};return g=(v=t(t({},C),{},{methods:{search:en,searchForFacetValues:ei,multipleBatch:et,multipleGetObjects:er,multipleQueries:en,copyIndex:L,copySettings:j,copySynonyms:V,copyRules:M,moveIndex:ee,listIndices:J,getLogs:Z,listCluster
1s:X,multipleSearchForFacetValues:ei,getApiKey:z,addApiKey:I,listApiKeys:Y,updateApiKey:ef,deleteApiKey:F,restoreApiKey:es,assignUserID:N,assignUserIDs:D,getUserID:q,searchUserIDs:ec,listUserIDs:Q,getTopUserIDs:W,removeUserID:eo,hasPendingMappings:K,clearDictionaryEntries:R,deleteDictionaryEntries:$,getDictionarySettings:B,getAppTask:H,replaceDictionaryEntries:ea,saveDictionaryEntries:eu,searchDictionaryEntries:el,setDictionarySettings:ed,waitAppTask:ep,customRequest:U,initIndex:function(e){return function(t){return G(e)(t,{methods:{batch:eh,delete:ex,findAnswers:eA,getObject:eI,getObjects:eD,saveObject:ez,saveObjects:eH,search:eK,searchForFacetValues:eG,waitTask:eQ,setSettings:eJ,getSettings:eL,partialUpdateObject:ej,partialUpdateObjects:eV,deleteObject:ek,deleteObjects:eO,deleteBy:eE,clearObjects:eb,browseObjects:em,getObjectPosition:eN,findObject:eC,exists:eP,saveSynonym:eW,saveSynonyms:eq,getSynonym:eM,searchSynonyms:eX,browseSynonyms:ev,deleteSynonym:eT,clearSynonyms:e_,replaceAllObjects:eU,replaceAllSynonyms:e$,searchRules:eY,getRule:eR,deleteRule:eS,saveRule:eB,saveRules:eZ,replaceAllRules:eF,browseRules:ey,clearRules:ew}})}},initAnalytics:function(){return function(e){var r,n,i,o;return n=(r=t(t(t({},E),e),{},{methods:{addABTest:x,getABTest:O,getABTests:S,stopABTest:T,deleteABTest:k}})).region||"us",i=a(d.WithinHeaders,r.appId,r.apiKey),o=b(t(t({hosts:[{url:"analytics.".concat(n,".algolia.com")}]},r),{},{headers:t(t(t({},i.headers()),{"content-type":"application/json"}),r.headers),queryParameters:t(t({},i.queryParameters()),r.queryParameters)})),l({appId:r.appId,transporter:o},r.methods)}},initPersonalization:eg,initRecommendation:function(){return function(e){return C.logger.info("The `initRecommendation` method is deprecated. Use `initPersonalization` instead."),eg()(e)}}}})).appId,w=a(void 0!==v.authMode?v.authMode:d.WithinHeaders,g,v.apiKey),l({transporter:_=b(t(t({hosts:[{url:"".concat(g,"-dsn.algolia.net"),accept:p.Read},{url:"".concat(g,".algolia.net"),accept:p.Write}].concat(function(e){for(var t=e.length-1;t>0;t--){var r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}([{url:"".concat(g,"-1.algolianet.com")},{url:"".concat(g,"-2.algolianet.com")},{url:"".concat(g,"-3.algolianet.com")}]))},v),{},{headers:t(t(t({},w.headers()),{"content-type":"application/x-www-form-urlencoded"}),v.headers),queryParameters:t(t({},w.queryParameters()),v.queryParameters)})),appId:g,addAlgoliaAgent:function(e,t){_.userAgent.add({segment:e,version:t})},clearCache:function(){return Promise.all([_.requestsCache.clear(),_.responsesCache.clear()]).then(function(){})}},v.methods)}return e2.version="4.13.1",e2},e.exports=t()},76489:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var n={},i=e.split(";"),o=(t||{}).decode||r,a=0;a<i.length;a++){var s=i[a],u=s.indexOf("=");if(!(u<0)){var l=s.substring(0,u).trim();if(void 0==n[l]){var c=s.substring(u+1,s.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),n[l]=function(e,t){try{return t(e)}catch(t){return e}}(c,o)}}}return n},t.serialize=function(e,t,r){var o=r||{},a=o.encode||n;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var u=e+"="+s;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(l)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");u+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");u+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invali
1d");u+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(u+="; HttpOnly"),o.secure&&(u+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var r=decodeURIComponent,n=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},47041:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.checkCookies=t.hasCookie=t.removeCookies=t.deleteCookie=t.setCookies=t.setCookie=t.getCookie=t.getCookies=void 0;var o=r(76489),a=function(){return"undefined"!=typeof window},s=function(e){void 0===e&&(e="");try{var t=JSON.stringify(e);return/^[\{\[]/.test(t)?t:e}catch(t){return e}};t.getCookies=function(e){if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers&&t.headers.cookie?(0,o.parse)(t.headers.cookie):{};for(var t,r={},n=document.cookie?document.cookie.split("; "):[],i=0,s=n.length;i<s;i++){var u=n[i].split("="),l=u.slice(1).join("=");r[u[0]]=l}return r},t.getCookie=function(e,r){var n,i=(0,t.getCookies)(r)[e];if(void 0!==i)return"true"===(n=i?i.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):i)||"false"!==n&&("undefined"!==n?"null"===n?null:n:void 0)},t.setCookie=function(e,t,r){if(r){var u,l,c,d=r.req,f=r.res,p=i(r,["req","res"]);l=d,c=f,u=p}var h=(0,o.serialize)(e,s(t),n({path:"/"},u));if(a())document.cookie=h;else if(c&&l){var m=c.getHeader("Set-Cookie");if(Array.isArray(m)||(m=m?[String(m)]:[]),c.setHeader("Set-Cookie",m.concat(h)),l&&l.cookies){var y=l.cookies;""===t?delete y[e]:y[e]=s(t)}if(l&&l.headers&&l.headers.cookie){var y=(0,o.parse)(l.headers.cookie);""===t?delete y[e]:y[e]=s(t),l.headers.cookie=Object.entries(y).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.setCookies=function(e,r,n){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,t.setCookie)(e,r,n)},t.deleteCookie=function(e,r){return(0,t.setCookie)(e,"",n(n({},r),{maxAge:-1}))},t.removeCookies=function(e,r){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,t.deleteCookie)(e,r)},t.hasCookie=function(e,r){return!!e&&(0,t.getCookies)(r).hasOwnProperty(e)},t.checkCookies=function(e,r){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,t.hasCookie)(e,r)}},27484:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",i="week",o="month",a="quarter",s="year",u="date",l="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},p="en",h={};h[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")};var m=function(e){return e instanceof b},y=function e(t,r,n){var i;if(!t)return p;if("string"==typeof t){var o=t.toLowerCase();h[o]&&(i=o),r&&(h[o]=r,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;h[s]=t,i=s}return!n&&i&&(p=i),i||!n&&p},v=function(e,t){if(m(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new b(r)},g={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,o),a=r-i<0,s=t.clone().add(n+(a?-1:1),o);return+(-(n+(r-i)/(a?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:o,y:s,w:i,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:a})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};g.l=y,g.i=m,g.w=function(e,t){return v(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var b=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e)}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(g.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return g},p.isValid=function(){return this.$d.toString()!==l},p.isSame=function(e,t){var r=v(e);return this.startOf(t)<=r&&r<=this.endOf(t)},p.isAfter=function(e,t){return v(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<v(e)},p.$g=function(e,t,r){return g.u(e)?this[t]:this.set(r,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,a){var l=this,c=!!g.u(a)||a,d=g.p(e),f=function(e,t){var r=g.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return c?r:r.endOf("day")},p=function(e,t){return g.w(l.toDate()[e].apply(l.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},h=this.$W,m=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case s:return c?f(1,0):f(31,11);case o:return c?f(1,m):f(0,m+1);case i:var b=this.$locale().weekStart||0,w=(h<b?h+7:h)-b;return f(c?y-w:y+(6-w),m);case"day":case u:return p(v+"Hours",0);case n:return p(v+"Minutes",1);case r:return p(v+"Seconds",2);case t:return p(v+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(i,a){var l,c=g.p(i),d="set"+(this.$u?"UTC":""),f=((l={}).day=d+"Date",l[u]=d+"Date",l[o]=d+"Month",l[s]=d+"FullYear",l[n]=d+"Hours",l[r]=d+"Minutes",l[t]=d+"Seconds",l[e]=d+"Milliseconds",l)[c],p="day"===c?this.$D+(a-this.$W):a;if(c===o||c===s){var h=this.clone().set(u,1);h.$d[f](p),h.init(),this.$d=h.set(u,Math.min(this.$D,h.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[g.p(e)]()},p.add=function(e,a){var u,l=this;e=Number(e);var c=g.p(a),d=function(t){var r=v(l);return g.w(r.date(r.date()+Math.round(t*e)),l)};if(c===o)return this.set(o,this.$M+e);if(c===s)return this.set(s,this.$y+e);if("day"===c)return d(1);if(c===i)return d(7);var f=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[c]||1,p=this.$d.getTime()+e*f;return g.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=g.z(this),o=this.$H,a=this.$m,s=this.$M,u=r.weekdays,c=r.months,f=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},p=function(e){return g.s(o%12||12,e,"0")}
1,h=r.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:g.s(s+1,2,"0"),MMM:f(r.monthsShort,s,c,3),MMMM:f(c,s),D:this.$D,DD:g.s(this.$D,2,"0"),d:String(this.$W),dd:f(r.weekdaysMin,this.$W,u,2),ddd:f(r.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:g.s(o,2,"0"),h:p(1),hh:p(2),a:h(o,a,!0),A:h(o,a,!1),m:String(a),mm:g.s(a,2,"0"),s:String(this.$s),ss:g.s(this.$s,2,"0"),SSS:g.s(this.$ms,3,"0"),Z:i};return n.replace(d,function(e,t){return t||m[e]||i.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,u,l){var c,d=g.p(u),f=v(e),p=(f.utcOffset()-this.utcOffset())*6e4,h=this-f,m=g.m(this,f);return m=((c={})[s]=m/12,c[o]=m,c[a]=m/3,c[i]=(h-p)/6048e5,c.day=(h-p)/864e5,c[n]=h/36e5,c[r]=h/6e4,c[t]=h/1e3,c)[d]||h,l?m:g.a(m)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return h[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=y(e,t,!0);return n&&(r.$L=n),r},p.clone=function(){return g.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),w=b.prototype;return v.prototype=w,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",o],["$y",s],["$D",u]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),v.extend=function(e,t){return e.$i||(e(t,b,v),e.$i=!0),v},v.locale=y,v.isDayjs=m,v.unix=function(e){return v(1e3*e)},v.en=h[p],v.Ls=h,v.p={},v},e.exports=t()},9996:function(e){"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==r},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,r,u){(u=u||{}).arrayMerge=u.arrayMerge||i,u.isMergeableObject=u.isMergeableObject||t,u.cloneUnlessOtherwiseSpecified=n;var l,c,d=Array.isArray(r);return d!==Array.isArray(e)?n(r,u):d?u.arrayMerge(e,r,u):(c={},(l=u).isMergeableObject(e)&&o(e).forEach(function(t){c[t]=n(e[t],l)}),o(r).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&l.isMergeableObject(r[t])?c[t]=(function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s})(t,l)(e[t],r[t],l):c[t]=n(r[t],l))}),c)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return s(e,r,t)},{})},e.exports=s},99960:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(n=r=t.ElementType||(t.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},47915:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=r(99960),a=r(97790);i(r(97790),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=u,t.default=u},97790:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=r(99960),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=s;var u=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e}
1,enumerable:!1,configurable:!0}),t}(s);t.DataNode=u;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(u);t.Text=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(u);t.Comment=c;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=a.ElementType.Directive,n}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(u);t.ProcessingInstruction=d;var f=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,n)||this;return o.name=t,o.attribs=r,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(f);function y(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function g(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function _(e){return e.type===a.ElementType.Root}function E(e,t){if(void 0===t&&(t=!1),g(e))r=new l(e.data);else if(b(e))r=new c(e.data);else if(y(e)){var r,n=t?x(e.children):[],i=new m(e.name,o({},e.attribs),n);n.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),r=i}else if(v(e)){var n=t?x(e.children):[],a=new p(n);n.forEach(function(e){return e.parent=a}),r=a}else if(_(e)){var n=t?x(e.children):[],s=new h(n);n.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else if(w(e)){var u=new d(e.name,e.data);null!=e["x-name"]&&(u["x-name"]=e["x-name"],u["x-publicId"]=e["x-publicId"],u["x-systemId"]=e["x-systemId"]),r=u}else throw Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function x(e){for(var t=e.map(function(e){return E(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=y,t.isCDATA=v,t.isText=g,t.isComment=b,t.isDirective=w,t.isDocument=_,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},91583:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(67294);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&r.every(r=>{let n=e[r],a=t[r];return"function"==typeof n?`${n}`==`${a}`:i(n)&&i(a)?o(n,a):n===a})}function a(e){return e.concat().sort((e,t)=>
1e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function u(e){return"string"==typeof e}function l(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function f(e){return Math.sign(e)}function p(e){return y(e).map(Number)}function h(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function y(e){return Object.keys(e)}function v(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function g(e,t){let r=d(e-t);function n(r){return r<e||r>t}return{length:r,max:t,min:e,constrain:function(r){return n(r)?r<e?e:t:r},reachedAny:n,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return r?e-r*Math.ceil((e-t)/r):e}}}function b(){let e=[],t={add:function(r,n,i,o={passive:!0}){return r.addEventListener(n,i,o),e.push(()=>r.removeEventListener(n,i,o)),t},clear:function(){e=e.filter(e=>e())}};return t}function w(e){let t=e;function r(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=r(e)},add:function(e){t+=r(e)},subtract:function(e){t-=r(e)}}}function _(e,t,r){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},i=r.style,o=!1;return{clear:function(){o||(i.transform="",r.getAttribute("style")||r.removeAttribute("style"))},to:function(e){o||(i.transform=n(t.apply(e)))},toggleActive:function(e){o=!e}}}let E={align:"center",axis:"x",container:null,slides:null,containScroll:null,direction:"ltr",slidesToScroll:1,breakpoints:{},dragFree:!1,dragThreshold:10,inViewThreshold:0,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function x(e,t,r){let n,i,o,a,k;let O=e.ownerDocument,S=O.defaultView,T=function(e){function t(e,t){return function e(t,r){return[t,r].reduce((t,r)=>(y(r).forEach(n=>{let i=t[n],o=r[n],a=c(i)&&c(o);t[n]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(r){let n=r.breakpoints||{},i=y(n).filter(t=>e.matchMedia(t).matches).map(e=>n[e]).reduce((e,r)=>t(e,r),{});return t(r,i)},optionsMediaQueries:function(t){return t.map(e=>y(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(S),P=(k=[],{init:function(e,t){return(k=e.filter(({options:e})=>!1!==T.optionsAtMedia(e).active)).forEach(e=>e.init(t,T)),e.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){k=k.filter(e=>e.destroy())}}),A=b(),C=b(),I=function(){let e;let t={},r={init:function(t){e=t},emit:function(n){return(t[n]||[]).forEach(t=>t(e,n)),r},off:function(e,n){return t[e]=(t[e]||[]).filter(e=>e!==n),r},on:function(e,n){return t[e]=(t[e]||[]).concat([n]),r}};return r}(),{animationRealms:N}=x,{mergeOptions:D,optionsAtMedia:R,optionsMediaQueries:L}=T,{on:M,off:j,emit:V}=I,U=!1,F=D(E,x.globalOptions),$=D(F),z=[];function H(t,r){if(U)return;let c=N.find(e=>e.window===S),y=c||function(e){let t=1e3/60,r=[],n=null,i=0,o=0;function a(s){n||(n=s);let u=s-n;for(n=s,i+=u;i>=t;)r.forEach(({animation:e})=>e.update()),i-=t;let l=d(i/t);r.forEach(({animation:e})=>e.render(l)),o&&e.requestAnimationFrame(a)}return{start:function(t){r.includes(t)||r.push(t),o||(o=e.requestAnimationFrame(a))},stop:function(t){(r=r.filter(e=>e!==t)).length||(e.cancelAnimationFrame(o),n=null,i=0,o=0)},reset:function(){n=null,i=0},window:e}}(S);if(c||N.push(y),$=R(F=D(F,t)),z=r||z,!function(){let{container:t,slides:r}=$;o=(u(t)?e.querySelector(t):t)||e.children[0];let n=u(r)?o.querySelectorAll(r):r;a=[].slice.call(n||o.children)}(),n=function(e,t,r,n,i,o,a,u){let c,y;let{align:E,axis:x,direction:k,startIndex:O,inViewThreshold:S,loop:T,duration:P,dragFree:A,dragThreshold:C,slidesToScroll:I,skipSnaps:N,containScroll:D}=o,R=t.getBoundingClientRect(),L=r.map(e=>e.getBoundingClientRect()),M=function(e){let t="rtl"===e?-1:1;return{apply:function(e){return e*t}}}(k),j=function(e,t){let r="y"===e?"y":"x";return{scroll:r,cross:"y"===e?"x":"y",startEdge:"y"===r?"top":"rtl"===t?"right":"left",endEdge:"y"===r?"bottom":"rtl"===t?"left":"right",measureSize:function(e){let{width:t,height:n}=e;return"x"===r?t:n}}}(x,k),V=j.measureSize(R),U={measure:function(e){return e/100*V}},F=function(e,t){let r={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}}
1;return{measure:function(n){return s(e)?t*Number(e):r[e](n)}}}(E,V),$=!T&&!!D,{slideSizes:z,slideSizesWithGaps:H}=function(e,t,r,n,i,o){let{measureSize:a,startEdge:s,endEdge:u}=e,l=r[0]&&i,c=function(){if(!l)return 0;let e=r[0];return d(t[s]-e[s])}(),f=l?parseFloat(o.getComputedStyle(h(n)).getPropertyValue(`margin-${u}`)):0,p=r.map(a),y=r.map((e,t,r)=>{let n=t===m(r);return t?n?p[t]+f:r[t+1][s]-e[s]:p[t]+c}).map(d);return{slideSizes:p,slideSizesWithGaps:y}}(j,R,L,r,T||!!D,i),B=function(e,t,r){let n=s(r);return{groupSlides:function(i){return n?p(i).filter(e=>e%r==0).map(e=>i.slice(e,e+r)):p(i).reduce((r,n)=>{let i=t.slice(h(r),n+1).reduce((e,t)=>e+t,0);return!n||i>e?r.concat(n):r},[]).map((e,t,r)=>i.slice(e,r[t+1]))}}}(V,H,I),{snaps:Z,snapsAligned:W}=function(e,t,r,n,i,o,a){let{startEdge:s,endEdge:u}=e,{groupSlides:l}=o,c=l(n).map(e=>h(e)[u]-e[0][s]).map(d).map(t.measure),f=n.map(e=>r[s]-e[s]).map(e=>-d(e)),p=function(){let e=h(f)-h(i);return l(f).map(e=>e[0]).map((t,r,n)=>{let i=r===m(n);return a&&!r?0:a&&i?e:t+c[r]})}();return{snaps:f,snapsAligned:p}}(j,F,R,L,H,B,$),q=-h(Z)+h(H),{snapsContained:K}=function(e,t,r,n){let i=g(-t+e,r[0]),o=r.map(i.constrain).map(e=>parseFloat(e.toFixed(3)));return{snapsContained:function(){if(t<=e)return[i.max];if("keepSnaps"===n)return o;let{min:r,max:a}=function(){let e=o[0],t=h(o);return g(o.lastIndexOf(e),o.indexOf(t)+1)}();return o.slice(r,a)}()}}(V,q,W,D),G=$?K:W,{limit:Y}=function(e,t,r){let n=t[0];return{limit:g(r?n-e:h(t),n)}}(q,G,T),X=function e(t,r,n){let{constrain:i}=g(0,t),o=t+1,a=s(r);function s(e){return n?d((o+e)%o):i(e)}function u(){return e(t,a,n)}let l={get:function(){return a}
1,set:function(e){return a=s(e),l},add:function(e){return u().set(a+e)},clone:u};return l}(m(G),O,T),J=X.clone(),Q=p(r),ee=({dragHandler:e,scrollBody:t,scrollBounds:r,scrollLooper:n,slideLooper:i,eventHandler:o,animation:a,options:{loop:s}})=>{let u=e.pointerDown();s||r.constrain(u);let l=t.seek().settled();l&&!u&&(a.stop(),o.emit("settle")),l||o.emit("scroll"),s&&(n.loop(t.direction()),i.loop())},et=({scrollBody:e,translate:t,location:r},n)=>{let i=e.velocity(),o=r.get()-i+i*n;t.to(o)},er={update:()=>ee(ec),render:e=>et(ec,e),start:()=>u.start(ec),stop:()=>u.stop(ec)},en=G[X.get()],ei=w(en),eo=w(en),ea=function(e,t,r,n){let i=!0,o=0,a=0,s=r,u=.68;function l(e){return s=e,p}function c(e){return u=e,p}let p={direction:function(){return a},seek:function(){let r=t.get()-e.get();return u&&s?(o+=r/s,o*=u,e.add(o)):(o=0,e.set(t)),a=f(o||r),i=.001>d(r),p},settled:function(){return i&&e.set(t),i},useBaseFriction:function(){return c(.68)},useBaseDuration:function(){return l(r)},useFriction:c,useDuration:l,velocity:function(){return o}};return p}(ei,eo,P,0),es=function(e,t,r,n,i){let{reachedAny:o,removeOffset:a,constrain:s}=n;function u(e){return e.concat().sort((e,t)=>d(e)-d(t))[0]}function l(t,n){let i=[t,t+r,t-r];return e?n?u(i.filter(e=>f(e)===n)):u(i):i[0]}return{byDistance:function(r,n){let u=i.get()+r,{index:c,distance:f}=function(r){let n=e?a(r):s(r),{index:i}=t.map(e=>e-n).map(e=>l(e,0)).map((e,t)=>({diff:e,index:t})).sort((e,t)=>d(e.diff)-d(t.diff))[0];return{index:i,distance:n}}(u),p=!e&&o(u);if(!n||p)return{index:c,distance:r};let h=r+l(t[c]-f,0);return{index:c,distance:h}},byIndex:function(e,r){let n=l(t[e]-i.get(),r);return{index:e,distance:n}},shortcut:l}}(T,G,q,Y,eo),eu=function(e,t,r,n,i,o){function a(n){let a=n.distance,s=n.index!==t.get();a&&(e.start(),i.add(a)),s&&(r.set(t.get()),t.set(n.index),o.emit("select"))}return{distance:function(e,t){a(n.byDistance(e,t))},index:function(e,r){let i=t.clone().set(e);a(n.byIndex(i.get(),r))}}}(er,X,J,es,eo,a),el=function(e,t,r,n,i,o,a){let{removeOffset:s,constrain:u}=i,l=o?[0,t,-t]:[0],c=d(l,a);function d(t,i){let o=t||l,a=function(e){let t=e||0;return r.map(e=>g(.5,e-.5).constrain(e*t))}(i);return o.reduce((t,i)=>{let o=n.map((t,n)=>({start:t-r[n]+a[n]+i,end:t+e-a[n]+i,index:n}));return t.concat(o)},[])}return{check:function(e,t){let r=o?s(e):u(e);return(t||c).reduce((e,t)=>{let{index:n,start:i,end:o}=t;return!e.includes(n)&&i<r&&o>r?e.concat([n]):e},[])},findSlideBounds:d}}(V,q,z,Z,Y,T,S),ec={ownerDocument:n,ownerWindow:i,eventHandler:a,containerRect:R,slideRects:L,animation:er,axis:j,direction:M,dragHandler:function(e,t,r,n,i,o,a,s,u,c,p,h,m,y,w,_,E,x,k){let{cross:O}=e,S=["INPUT","SELECT","TEXTAREA"],T={passive:!1},P=b(),A=b(),C=g(50,225).constrain(w.measure(20)),I={mouse:300,touch:400},N={mouse:500,touch:600},D=_?43:25,R=!1,L=0,M=0,j=!1,V=!1,U=!1,F=!1;function $(e){let r=a.readPoint(e),n=a.readPoint(e,O),i=d(r-L),s=d(n-M);if(!V&&!F&&(!e.cancelable||!(V=i>s)))return z(e);let l=a.pointerMove(e);i>E&&(U=!0),p.useFriction(.3).useDuration(1),u.start(),o.add(t.apply(l)),e.preventDefault()}function z(e){let r=h.byDistance(0,!1).index!==m.get(),n=a.pointerUp(e)*(_?N:I)[F?"mouse":"touch"],i=function(e,t){let r=m.add(-1*f(e)),n=h.byDistance(e,!_).distance;return _||d(e)<C?n:x&&t?.5*n:h.byIndex(r.get(),0).distance}(t.apply(n),r),o=function(e,t){var r,n;if(0===e||0===t||d(e)<=d(t))return 0;let i=(r=d(e),n=d(t),d(r-n));return d(i/e)}(n,i);V=!1,j=!1,A.clear(),p.useDuration(D-10*o).useFriction(.68+o/50),c.distance(i,!_),F=!1,y.emit("pointerUp")}function H(e){U&&(e.stopPropagation(),e.preventDefault())}return{init:function(e,t){t&&P.add(r,"dragstart",e=>e.preventDefault(),T).add(r,"touchmove",()=>void 0,T).add(r,"touchend",()=>void 0).add(r,"touchstart",u).add(r,"mousedown",u).add(r,"touchcancel",z).add(r,"contextmenu",z).add(r,"click",H,!0);function u(u){(l(t)||t(e,u))&&function(e){let t=v(e,i);F=t,(!t||0===e.button)&&!function(e){let t=e.nodeName||"";return S.includes(t)}(e.target)&&(U=_&&t&&!e.buttons&&R,R=d(o.get()-s.get())>=2,j=!0,a.pointerDown(e),p.useFriction(0).useDuration(0),o.set(s),function(){let e=F?n:r;A.add(e,"touchmove",$,T).add(e,"touchend",z).add(e,"mousemove",$,T).add(e,"mouseup",z)}(),L=a.readPoint(e),M=a.readPoint(e,O),y.emit("pointerDown"))}(u)}},pointerDown:function(){return j},destroy:function(){P.clear(),A.clear()}}}(j,M,e,n,i,eo,function(e,t){let r,n;function i(e){return e.timeStamp}function o(r,n){let i=n||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(v(r,t)?r:r.touches[0])[o]}return{pointerDown:function(e){return r=e,n=e,o(e)},pointerMove:function(e){let t=o(e)-o(n),a=i(e)-i(r)>170;return n=e,a&&(r=e),t},pointerUp:function(e){if(!r||!n)return 0;let t=o(n)-o(r),a=i(e)-i(r),s=i(e)-i(n)>170,u=t/a;return a&&!s&&d(u)>.1?u:0},readPoint:o}}(j,i),ei,er,eu,ea,es,X,a,U,A,C,N,0),eventStore:b(),percentOfView:U,index:X,indexPrevious:J,limit:Y,location:ei,options:o,resizeHandler:function(e,t,r,n,i){let o,a;let s=[],u=!1;function c(e){return i.measureSize(e.getBoundingClientRect())}return{init:function(i,d){d&&(a=c(e),s=n.map(c),o=new ResizeObserver(o=>{!u&&(l(d)||d(i,o))&&function(o){for(let u of o){let o=u.target===e,l=n.indexOf(u.target);if((o?a:s[l])!==c(o?e:n[l])){r.requestAnimationFrame(()=>{i.reInit(),t.emit("resize")});break}}}(o)}
1),[e].concat(n).forEach(e=>o.observe(e)))},destroy:function(){o&&o.disconnect(),u=!0}}}(t,a,i,r,j),scrollBody:ea,scrollBounds:function(e,t,r,n,i){let o=i.measure(10),a=i.measure(50),s=g(.1,.99),u=!1;return{constrain:function(i){if(!(!u&&e.reachedAny(r.get())&&e.reachedAny(t.get())))return;let l=e.reachedMin(t.get())?"min":"max",c=d(e[l]-t.get()),f=r.get()-t.get(),p=s.constrain(c/a);r.subtract(f*p),!i&&d(f)<o&&(r.set(e.constrain(r.get())),n.useDuration(25).useBaseFriction())},toggleActive:function(e){u=!e}}}(Y,ei,eo,ea,U),scrollLooper:function(e,t,r,n){let{reachedMin:i,reachedMax:o}=g(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(r.get()):-1===t&&i(r.get())))return;let a=-1*t*e;n.forEach(e=>e.add(a))}}}(q,Y,ei,[ei,eo]),scrollProgress:function(e){let{max:t,length:r}=e;return{get:function(e){return-((e-t)/r)}}}(Y),scrollSnaps:G,scrollTarget:es,scrollTo:eu,slideLooper:function(e,t,r,n,i,o,a,s,u){let l=p(i),c=h(f(p(i).reverse(),o[0]-1),"end").concat(h(f(l,r-o[0]-1),"start"));function d(e,t){return e.reduce((e,t)=>e-i[t],t)}function f(e,t){return e.reduce((e,r)=>d(e,t)>0?e.concat([r]):e,[])}function h(r,i){let o="start"===i,l=a.findSlideBounds([o?-n:n]);return r.map(r=>{let i=o?0:-n,a=o?n:0,c=l.filter(e=>e.index===r)[0][o?"end":"start"],d=w(-1),f=_(e,t,u[r]);return{index:r,location:d,translate:f,target:()=>s.get()>c?i:a}})}return{canLoop:function(){return c.every(({index:e})=>.1>=d(l.filter(t=>t!==e),r))},clear:function(){c.forEach(e=>e.translate.clear())},loop:function(){c.forEach(e=>{let{target:t,translate:r,location:n}=e,i=t();i!==n.get()&&(r.to(i),n.set(i))})},loopPoints:c}}(j,M,V,q,H,G,el,ei,r),slidesHandler:(y=!1,{init:function(e,r){r&&(c=new MutationObserver(t=>{!y&&(l(r)||r(e,t))&&function(t){for(let r of t)if("childList"===r.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){c&&c.disconnect(),y=!0}}),slidesInView:el,slideIndexes:Q,slidesToScroll:B,target:eo,translate:_(j,M,t)};return ec}(e,o,a,O,S,$,I,y),L([F,...z.map(({options:e})=>e)]).forEach(e=>A.add(e,"change",B)),$.active){if(n.translate.to(n.location.get()),n.eventHandler.init(G),n.resizeHandler.init(G,$.watchResize),n.slidesHandler.init(G,$.watchSlides),C.add(O,"visibilitychange",()=>{O.hidden&&y.reset()}),$.loop){if(!n.slideLooper.canLoop()){Z(),H({loop:!1},r),F=D(F,{loop:!0});return}n.slideLooper.loop()}o.offsetParent&&a.length&&n.dragHandler.init(G,$.watchDrag),i=P.init(z,G)}}function B(e,t){let r=K();Z(),H(D({startIndex:r},e),t),I.emit("reInit")}function Z(){n.dragHandler.destroy(),n.animation.stop(),n.eventStore.clear(),n.translate.clear(),n.slideLooper.clear(),n.resizeHandler.destroy(),n.slidesHandler.destroy(),P.destroy(),A.clear(),C.clear()}function W(e){let t=n[e?"target":"location"].get(),r=$.loop?"removeOffset":"constrain";return n.slidesInView.check(n.limit[r](t))}function q(e,t,r){$.active&&!U&&(n.scrollBody.useBaseFriction().useDuration(t?0:$.duration),n.scrollTo.index(e,r||0))}function K(){return n.index.get()}let G={canScrollNext:function(){return n.index.add(1).get()!==K()},canScrollPrev:function(){return n.index.add(-1).get()!==K()},containerNode:function(){return o},internalEngine:function(){return n},destroy:function(){U||(U=!0,A.clear(),Z(),I.emit("destroy"))},off:j,on:M,emit:V,plugins:function(){return i},previousScrollSnap:function(){return n.indexPrevious.get()},reInit:B,rootNode:function(){return e},scrollNext:function(e){q(n.index.add(1).get(),!0===e,-1)},scrollPrev:function(e){q(n.index.add(-1).get(),!0===e,1)},scrollProgress:function(){return n.scrollProgress.get(n.location.get())},scrollSnapList:function(){return n.scrollSnaps.map(n.scrollProgress.get)},scrollTo:q,selectedScrollSnap:K,slideNodes:function(){return a},slidesInView:W,slidesNotInView:function(e){let t=W(e);return n.slideIndexes.filter(e=>!t.includes(e))}};return H(t,r),setTimeout(()=>I.emit("init"),0),G}function k(e={}
1,t=[]){let r=(0,n.useRef)(e),i=(0,n.useRef)(t),[s,u]=(0,n.useState)(),[l,c]=(0,n.useState)(),d=(0,n.useCallback)(()=>{s&&s.reInit(r.current,i.current)},[s]);return(0,n.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&l){x.globalOptions=k.globalOptions;let e=x(l,r.current,i.current);return u(e),()=>e.destroy()}u(void 0)},[l,u]),(0,n.useEffect)(()=>{o(r.current,e)||(r.current=e,d())},[e,d]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let r=a(e),n=a(t);return r.every((e,t)=>o(e,n[t]))}(i.current,t)&&(i.current=t,d())},[t,d]),[c,s]}x.animationRealms=[],x.globalOptions=void 0,k.globalOptions=void 0},68806:function(e,t,r){"use strict";let n,i;r.d(t,{Ps:function(){return $}});var o,a,s,u=r(70655);let l=/\r\n|[\n\r]/g;function c(e,t){let r=0,n=1;for(let i of e.body.matchAll(l)){if("number"==typeof i.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function d(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,u=t.column+s,l=`${e.name}:${a}:${u}
2`,c=n.split(/\r\n|[\n\r]/g),d=c[i];if(d.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<d.length;e+=80)t.push(d.slice(e,e+80));return l+f([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return l+f([[`${a-1} |`,c[i-1]],[`${a} |`,d],["|","^".padStart(u)],[`${a+1} |`,c[i+1]]])}function f(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}
2class p extends Error{constructor(e,...t){var r,n,i,o;let{nodes:a,source:s,positions:u,path:l,originalError:d,extensions:f}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=d?d:void 0,this.nodes=h(Array.isArray(a)?a:a?[a]:void 0);let m=h(null===(r=this.nodes)||void 0===r?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=s?s:null==m?void 0:null===(n=m[0])||void 0===n?void 0:n.source,this.positions=null!=u?u:null==m?void 0:m.map(e=>e.start),this.locations=u&&s?u.map(e=>c(s,e)):null==m?void 0:m.map(e=>c(e.source,e.start));let y="object"==typeof(o=null==d?void 0:d.extensions)&&null!==o?null==d?void 0:d.extensions:void 0;this.extensions=null!==(i=null!=f?f:y)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes){for(let r of this.nodes)if(r.loc){var t;e+="\n\n"+d((t=r.loc).source,c(t.source,t.start))}}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+d(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function h(e){return void 0===e||0===e.length?void 0:e}function m(e,t,r){return new p(`Syntax Error: ${r}`,{source:e,positions:[t]})}var y=r(72380);(o=n||(n={})).QUERY="QUERY",o.MUTATION="MUTATION",o.SUBSCRIPTION="SUBSCRIPTION",o.FIELD="FIELD",o.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",o.FRAGMENT_SPREAD="FRAGMENT_SPREAD",o.INLINE_FRAGMENT="INLINE_FRAGMENT",o.VARIABLE_DEFINITION="VARIABLE_DEFINITION",o.SCHEMA="SCHEMA",o.SCALAR="SCALAR",o.OBJECT="OBJECT",o.FIELD_DEFINITION="FIELD_DEFINITION",o.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",o.INTERFACE="INTERFACE",o.UNION="UNION",o.ENUM="ENUM",o.ENUM_VALUE="ENUM_VALUE",o.INPUT_OBJECT="INPUT_OBJECT",o.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var v=r(97359),g=r(87392),b=r(68297);(a=i||(i={})).SOF="<SOF>",a.EOF="<EOF>",a.BANG="!",a.DOLLAR="$",a.AMP="&",a.PAREN_L="(",a.PAREN_R=")",a.SPREAD="...",a.COLON=":",a.EQUALS="=",a.AT="@",a.BRACKET_L="[",a.BRACKET_R="]",a.BRACE_L="{",a.PIPE="|",a.BRACE_R="}",a.NAME="Name",a.INT="Int",a.FLOAT="Float",a.STRING="String",a.BLOCK_STRING="BlockString",a.COMMENT="Comment";class w{constructor(e){let t=new y.WU(i.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==i.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,n=r.length,o=t;for(;o<n;){let t=r.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===r.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,o=t+1;for(;o<n;){let e=r.charCodeAt(o);if(10===e||13===e)break;if(_(e))++o;else if(E(r,o))o+=2;else break}return S(e,i.COMMENT,t,o,r.slice(t+1,o))}(e,o);case 33:return S(e,i.BANG,o,o+1);case 36:return S(e,i.DOLLAR,o,o+1);case 38:return S(e,i.AMP,o,o+1);case 40:return S(e,i.PAREN_L,o,o+1);case 41:return S(e,i.PAREN_R,o,o+1);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return S(e,i.SPREAD,o,o+3);break;case 58:return S(e,i.COLON,o,o+1);case 61:return S(e,i.EQUALS,o,o+1);case 64:return S(e,i.AT,o,o+1);case 91:return S(e,i.BRACKET_L,o,o+1);case 93:return S(e,i.BRACKET_R,o,o+1);case 123:return S(e,i.BRACE_L,o,o+1);case 124:return S(e,i.PIPE,o,o+1);case 125:return S(e,i.BRACE_R,o,o+1);case 34:if(34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2))return function(e,t){let r=e.source.body,n=r.length,o=e.lineStart,a=t+3,s=a,u="",l=[];for(;a<n;){let n=r.charCodeAt(a);if(34===n&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)){u+=r.slice(s,a),l.push(u);let n=S(e,i.BLOCK_STRING,t,a+3,(0,g.wv)(l).join("\n"));return e.line+=l.length-1,e.lineStart=o,n}if(92===n&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)&&34===r.charCodeAt(a+3)){u+=r.slice(s,a),s=a+1,a+=4;continue}if(10===n||13===n){u+=r.slice(s,a),l.push(u),13===n&&10===r.charCodeAt(a+1)?a+=2:++a,u="",s=a,o=a;continue}if(_(n))++a;else if(E(r,a))a+=2;else throw m(e.source,a,`Invalid character within String: ${O(e,a)}.`)}throw m(e.source,a,"Unterminated string.")}(e,o);return function(e,t){let r=e.source.body,n=r.length,o=t+1,a=o,s="";for(;o<n;){let n=r.charCodeAt(o);if(34===n)return s+=r.slice(a,o),S(e,i.STRING,t,o+1,s);if(92===n){s+=r.slice(a,o);let t=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,t){let r=e.source.body,n=0,i=3;for(;i<12;){let e=r.charCodeAt(t+i++);if(125===e){if(i<5||!_(n))break;return{value:String.fromCodePoint(n),size:i}}if((n=n<<4|A(e))<0)break}throw m(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}(e,o):function(e,t){let r=e.source.body,n=P(r,t+2);if(_(n))return{value:String.fromCodePoint(n),size:6};if(x(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=P(r,t+8);
2if(k(e))return{value:String.fromCodePoint(n,e),size:12}}throw m(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,o):function(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw m(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,o);s+=t.value,o+=t.size,a=o;continue}if(10===n||13===n)break;if(_(n))++o;else if(E(r,o))o+=2;else throw m(e.source,o,`Invalid character within String: ${O(e,o)}.`)}throw m(e.source,o,"Unterminated string.")}(e,o)}if((0,b.X1)(t)||45===t)return function(e,t,r){let n=e.source.body,o=t,a=r,s=!1;if(45===a&&(a=n.charCodeAt(++o)),48===a){if(a=n.charCodeAt(++o),(0,b.X1)(a))throw m(e.source,o,`Invalid number, unexpected digit after 0: ${O(e,o)}.`)}else o=T(e,o,a),a=n.charCodeAt(o);if(46===a&&(s=!0,a=n.charCodeAt(++o),o=T(e,o,a),a=n.charCodeAt(o)),(69===a||101===a)&&(s=!0,(43===(a=n.charCodeAt(++o))||45===a)&&(a=n.charCodeAt(++o)),o=T(e,o,a),a=n.charCodeAt(o)),46===a||(0,b.LQ)(a))throw m(e.source,o,`Invalid number, expected digit but got: ${O(e,o)}.`);return S(e,s?i.FLOAT:i.INT,t,o,n.slice(t,o))}(e,o,t);if((0,b.LQ)(t))return function(e,t){let r=e.source.body,n=r.length,o=t+1;for(;o<n;){let e=r.charCodeAt(o);if((0,b.HQ)(e))++o;else break}return S(e,i.NAME,t,o,r.slice(t,o))}(e,o);throw m(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":_(t)||E(r,o)?`Unexpected character: ${O(e,o)}.`:`Invalid character: ${O(e,o)}.`)}return S(e,i.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===i.COMMENT);return e}}function _(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function E(e,t){return x(e.charCodeAt(t))&&k(e.charCodeAt(t+1))}function x(e){return e>=55296&&e<=56319}function k(e){return e>=56320&&e<=57343}function O(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return i.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function S(e,t,r,n,i){let o=e.line,a=1+r-e.lineStart;return new y.WU(t,r,n,o,a,i)}function T(e,t,r){if(!(0,b.X1)(r))throw m(e.source,t,`Invalid number, expected digit but got: ${O(e,t)}.`);let n=e.source.body,i=t+1;for(;(0,b.X1)(n.charCodeAt(i));)++i;return i}function P(e,t){return A(e.charCodeAt(t))<<12|A(e.charCodeAt(t+1))<<8|A(e.charCodeAt(t+2))<<4|A(e.charCodeAt(t+3))}function A(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var C=r(37826),I=r(25821);class N{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,C.a)(!1,`Body must be a string. Received: ${(0,I.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,C.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,C.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class D{constructor(e,t){let r=e instanceof N?e:new N(e);this._lexer=new w(r),this._options=t}parseName(){let e=this.expectToken(i.NAME);return this.node(e,{kind:v.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:v.h.DOCUMENT,definitions:this.many(i.SOF,this.parseDefinition,i.EOF)})}parseDefinition(){if(this.peek(i.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===i.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw m(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(i.BRACE_L))return this.node(t,{kind:v.h.OPERATION_DEFINITION,operation:y.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(i.NAME)&&(e=this.parseName()),this.node(t,{kind:v.h.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(i.NAME);switch(e.value){case"query":return y.ku.QUERY;case"mutation":return y.ku.MUTATION;case"subscription":return y.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(i.PAREN_L,this.parseVariableDefinition,i.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:v.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(i.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(i.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(i.DOLLAR),this.node(e,{kind:v.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:v.h.SELECTION_SET,selections:this.many(i.BRACE_L,this.parseSelection,i.BRACE_R)})}parseSelection(){return this.peek(i.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(i.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:v.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(i.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(i.PAREN_L,t,i.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:v.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(i.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(i.NAME)?this.node(e,{kind:v.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:v.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;let t=this._lexer.token;return(this.expectKeyword("fragment"),(null===(e=this._options)||void 0===e?void 0:e.allowLegacyFragmentVariables)===!0)?this.node(t,{kind:v.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:v.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case i.BRACKET_L:return this.parseList(e);case i.BRACE_L:return this.parseObject(e);case i.INT:return this._lexer.advance(),this.node(t,{kind:v.h.INT,value:t.value});case i.FLOAT:return this._lexer.advance(),this.node(t,{kind:v.h.FLOAT,value:t.value});case i.STRING:case i.BLOCK_STRING:return this.parseStringLiteral();case i.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:v.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:v.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:v.h.NULL});default:return this.node(t,{kind:v.h.ENUM,value:t.value})}case i.DOLLAR:if(e){if(this.expectToken(i.DOLLAR),this._lexer.token.kind===i.NAME){let e=this._lexer.token.value;throw m(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:v.h.STRING,value:e.value,block:e.kind===i.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:v.h.LIST,values:this.any(i.BRACKET_L,()=>this.parseValueLiteral(e),i.BRACKET_R)})}
2parseObject(e){return this.node(this._lexer.token,{kind:v.h.OBJECT,fields:this.any(i.BRACE_L,()=>this.parseObjectField(e),i.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:v.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(i.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(i.AT),this.node(t,{kind:v.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(i.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(i.BRACKET_R),e=this.node(t,{kind:v.h.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(i.BANG)?this.node(t,{kind:v.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:v.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(i.STRING)||this.peek(i.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);return this.node(e,{kind:v.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(i.COLON);let r=this.parseNamedType();return this.node(e,{kind:v.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:v.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(i.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseFieldDefinition,i.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(i.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:v.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(i.PAREN_L,this.parseInputValueDef,i.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(i.COLON);let o=this.parseTypeReference();this.expectOptionalToken(i.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:v.h.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:v.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:v.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(i.EQUALS)?this.delimitedMany(i.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:v.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(i.BRACE_L,this.parseEnumValueDefinition,i.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:v.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw m(this._lexer.source,this._lexer.token.start,`${R(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:v.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseInputValueDef,i.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===i.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:v.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:v.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();
2return this.node(e,{kind:v.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(i.AT);let r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:v.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(i.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(n,t.value))return t;throw this.unexpected(e)}node(e,t){var r;return(null===(r=this._options)||void 0===r?void 0:r.noLocation)!==!0&&(t.loc=new y.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw m(this._lexer.source,t.start,`Expected ${L(e)}, found ${R(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===i.NAME&&t.value===e)this._lexer.advance();else throw m(this._lexer.source,t.start,`Expected "${e}", found ${R(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===i.NAME&&t.value===e&&(this._lexer.advance(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return m(this._lexer.source,t.start,`Unexpected ${R(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}}function R(e){let t=e.value;return L(e.kind)+(null!=t?` "${t}"`:"")}function L(e){return e===i.BANG||e===i.DOLLAR||e===i.AMP||e===i.PAREN_L||e===i.PAREN_R||e===i.SPREAD||e===i.COLON||e===i.EQUALS||e===i.AT||e===i.BRACKET_L||e===i.BRACKET_R||e===i.BRACE_L||e===i.PIPE||e===i.BRACE_R?`"${e}"`:e}var M=new Map,j=new Map,V=!0,U=!1;function F(e){return e.replace(/[\s,]+/g," ").trim()}function $(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=F(e);if(!M.has(t)){var r,n,i,o,a,s=new D(e,{experimentalFragmentVariables:U,allowLegacyFragmentVariables:U}).parseDocument();if(!s||"Document"!==s.kind)throw Error("Not a valid GraphQL document.");M.set(t,((o=new Set((r=new Set,n=[],s.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=F((t=e.loc).source.body.substring(t.start,t.end)),a=j.get(i);a&&!a.has(o)?V&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||j.set(i,a=new Set),a.add(o),r.has(o)||
2(r.add(o),n.push(e))}else n.push(e)}),i=(0,u.pi)((0,u.pi)({},s),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&o.add(r)})}),(a=i.loc)&&(delete a.startToken,delete a.endToken),i))}return M.get(t)}(n)}var z=$;(s=$||($={})).gql=z,s.resetCaches=function(){M.clear(),j.clear()},s.disableFragmentWarnings=function(){V=!1},s.enableExperimentalFragmentVariables=function(){U=!0},s.disableExperimentalFragmentVariables=function(){U=!1},$.default=$},60885:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{})},38276:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n="html",i="head",o="body",a=/<([a-zA-Z]+[0-9]?)/,s=/<head[^]*>/i,u=/<body[^]*>/i,l=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var f=new d;l=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),f.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();l=function(e,t){if(t){var r=p.documentElement.querySelector(t);return r&&(r.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var h="object"==typeof document&&document.createElement("template");h&&h.content&&(r=function(e){return h.innerHTML=e,h.content.childNodes}),t.default=function(e){var t,d,f=e.match(a),p=f&&f[1]?f[1].toLowerCase():"";switch(p){case n:var h=c(e);if(!s.test(e)){var m=h.querySelector(i);null===(t=null==m?void 0:m.parentNode)||void 0===t||t.removeChild(m)}if(!u.test(e)){var m=h.querySelector(o);null===(d=null==m?void 0:m.parentNode)||void 0===d||d.removeChild(m)}return h.querySelectorAll(n);case i:case o:var y=l(e).querySelectorAll(p);if(u.test(e)&&s.test(e))return y[0].parentNode.childNodes;return y;default:if(r)return r(e);var m=l(e,o).querySelector(o);return m.childNodes}}},14152:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(38276)),o=r(1507),a=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),r=t?t[1]:void 0;return(0,o.formatDOM)((0,i.default)(e),null,r)}},1507:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var n=r(47915),i=r(60885);function o(e){for(var t={},r=0,n=e.length;r<n;r++){var i=e[r];t[i.name]=i.value}return t}t.formatAttributes=o,t.formatDOM=function e(t,r,a){void 0===r&&(r=null);for(var s,u=[],l=0,c=t.length;l<c;l++){var d=t[l];switch(d.nodeType){case 1:var f=function(e){var t;return t=e=e.toLowerCase(),i.CASE_SENSITIVE_TAG_NAMES_MAP[t]||e}(d.nodeName);(s=new n.Element(f,o(d.attributes))).children=e("template"===f?d.content.childNodes:d.childNodes,s);break;case 3:s=new n.Text(d.nodeValue);break;case 8:s=new n.Comment(d.nodeValue);break;default:continue}var p=u[l-1]||null;p&&(p.next=s),s.parent=r,s.prev=p,s.next=null,u.push(s)}return a&&((s=new n.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=u[0]||null,s.parent=r,u.unshift(s),u[1]&&(u[1].prev=u[0])),u}},50484:function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var n=r(25726),i=r(74606),o=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function u(e){return n.possibleStandardNames[e]}t.default=function(e,t){void 0===e&&(e={});var r={},l=!!(e.type&&s[e.type]);for(var c in e){var d=e[c];if((0,n.isCustomAttribute)(c)){r[c]=d;continue}var f=c.toLowerCase(),p=u(f);if(p){var h=(0,n.getPropertyInfo)(p);switch(o.includes(p)&&a.includes(t)&&!l&&(p=u("default"+f)),r[p]=d,h&&h.type){case n.BOOLEAN:r[p]=!0;break;case n.OVERLOADED_BOOLEAN:""===d&&(r[p]=!0)}continue}i.PRESERVE_CUSTOM_ATTRIBUTES&&(r[c]=d)}return(0,i.setStyleProp)(e.style,r),r}},53670:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(67294),o=n(r(50484)),a=r(74606),s={cloneElement:i.cloneElement,createElement:i.createElement,isValidElement:i.isValidElement};t.default=function e(t,r){void 0===r&&(r={});for(var n=[],i="function"==typeof r.replace,u=r.transform||a.returnFirstArg,l=r.library||s,c=l.cloneElement,d=l.createElement,f=l.isValidElement,p=t.length,h=0;h<p;h++){var m=t[h];if(i){var y=r.replace(m,h);if(f(y)){p>1&&(y=c(y,{key:y.key||h})),n.push(u(y,m,h));continue}}if("text"===m.type){var v=!m.data.trim().length;if(v&&m.parent&&!(0,a.canTextBeChildOfNode)(m.parent)||r.trim&&v)continue;n.push(u(m.data,m,h));continue}var g={};a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===m.type&&(0,a.isCustomComponent)(m.name,m.attribs)?((0,a.setStyleProp)(m.attribs.style,m.attribs),g=m.attribs):m.attribs&&(g=(0,o.default)(m.attribs,m.name));var b=void 0;switch(m.type){case"script":case"style":m.children[0]&&(g.dangerouslySetInnerHTML={__html:m.children[0].data});break;case"tag":"textarea"===m.name&&m.children[0]?g.defaultValue=m.children[0].data:m.children&&m.children.length&&(b=e(m.children,r));break;default:continue}p>1&&(g.key=h),n.push(u(d(m.name,g,b),m,h))}return 1===n.length?n[0]:n}},83426:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0;var i=n(r(14152));t.htmlToDOM=i.default;var o=n(r(50484));t.attributesToProps=o.default;var a=n(r(53670));t.domToReact=a.default;var s=r(47915);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var u={lowerCaseAttributeNames:!1};t.default=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,a.default)((0,i.default)(e,(null==t?void 0:t.htmlparser2)||u),t):[]}},74606:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=t.setStyleProp=t.isCustomComponent=void 0;var i=r(67294),o=n(r(41476)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):!!(t&&"string"==typeof t.is)};var s={reactCompat:!0};t.setStyleProp=function(e,t){if("string"==typeof e){if(!e.trim()){t.style={};return}try{t.style=(0,o.default)(e,s)}catch(e){t.style={}}}},t.PRESERVE_CUSTOM_ATTRIBUTES=Number(i.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;
2\s]*/,u=/^\s+|\s+$/g;function l(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,d=1;function f(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new h(e),v(n),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=u.source}h.prototype.content=e;var m=[];function y(t){var r=Error(u.source+":"+c+":"+d+": "+t);if(r.reason=t,r.filename=u.source,r.line=c,r.column=d,r.source=e,u.silent)m.push(r);else throw r}function v(t){var r=t.exec(e);if(r){var n=r[0];return f(n),e=e.slice(n.length),r}}function g(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return y("End of comment missing");var n=e.slice(2,r-2);return d+=2,f(n),e=e.slice(r),d+=2,t({type:"comment",comment:n})}}return v(n),function(){var e,r=[];for(g(r);e=function(){var e=p(),r=v(i);if(r){if(b(),!v(o))return y("property missing ':'");var n=v(a),u=e({type:"declaration",property:l(r[0].replace(t,"")),value:n?l(n[0].replace(t,"")):""});return v(s),u}}();)!1!==e&&(r.push(e),g(r));return r}()}},49090:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,n){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");"function"==typeof r&&(n=r,r={}),r=r||{},n=n||function(){},o.type=r.type||"text/javascript",o.charset=r.charset||"utf8",o.async=!("async"in r)||!!r.async,o.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(o,r.attrs),r.text&&(o.text=""+r.text),("onload"in o?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(o,n),o.onload||t(o,n),i.appendChild(o)}},30845:function(e,t,r){"use strict";r.r(t);var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function i(e,t){if(e.length!==t.length)return!1;for(var r,i,o=0;o<e.length;o++)if(!((r=e[o])===(i=t[o])||n(r)&&n(i)))return!1;return!0}t.default=function(e,t){void 0===t&&(t=i);var r,n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&t(i,o)||(n=e.apply(this,i),a=!0,r=this,o=i),n}}},83454:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(77663)},92168:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return s},noSSR:function(){return a}});let n=r(38754);r(85893),r(67294);let i=n._(r(58440));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let s=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34130:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(38754)._(r(67294)).default.createContext(null)},58440:function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(38754)._(r(67294)),i=r(34130),o=[],a=[],s=!1;function u(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class l{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function u(){if(!o){let t=new l(e,r);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!s){let e=r.webpack?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return u()})}function c(e,t){!function(){u();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let a=n.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),n.default.useMemo(()=>{var t;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return c.preload=()=>u(),c.displayName="LoadableComponent",n.default.forwardRef(c)}(u,e)}function d(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(s=!0,t());d(a,e).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let f=c},77663:function(e){!function(){var t={229:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u=[],l=!1,c=-1;function d(){l&&n&&(l=!1,n.length?u=n.concat(u):c=-1,u.length&&f())}function f(){if(!l){var e=s(d);l=!0;for(var t=u.length;t;){for(n=u,u=[];++c<t;)n&&n[c].run();c=-1,t=u.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||l||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i=n(229);e.exports=i}()},5152:function(e,t,r){e.exports=r(92168)},92703:function(e,t,r){"use strict";var n=r(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
2:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},69590:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,u,l,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(u=s;0!=u--;)if(!e(o[u],a[u]))return!1;return!0}if(r&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;for(c=o.entries();!(u=c.next()).done;)if(!e(u.value[1],a.get(u.value[0])))return!1;return!0}if(n&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(u=s;0!=u--;)if(o[u]!==a[u])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString)return o.toString()===a.toString();if((s=(l=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,l[u]))return!1;if(t&&o instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==l[u]&&"__v"!==l[u]&&"__o"!==l[u]||!o.$$typeof)&&!e(o[l[u]],a[l[u]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},59605:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(67294)),a=(i=r(69590))&&i.__esModule?i:{default:i},s=r(29448),u=r(56281);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,r,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=p(s);return e=t?Reflect.construct(r,arguments,p(this).constructor):r.apply(this,arguments),e&&("object"===n(e)||"function"==typeof e)?e:f(this)});function s(){var e;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return h(f(e=i.call.apply(i,[this].concat(r))),"mounted",!1),h(f(e),"isReady",!1),h(f(e),"isPlaying",!1),h(f(e),"isLoading",!0),h(f(e),"loadOnReady",null),h(f(e),"startOnPlay",!0),h(f(e),"seekOnPlay",null),h(f(e),"onDurationCalled",!1),h(f(e),"handlePlayerMount",function(t){e.player||(e.player=t,e.player.load(e.props.url),e.progress())}),h(f(e),"getInternalPlayer",function(t){return e.player?e.player[t]:null}),h(f(e),"progress",function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,r=e.getSecondsLoaded(),n=e.getDuration();if(n){var i={playedSeconds:t,played:t/n};null!==r&&(i.loadedSeconds=r,i.loaded=r/n),(i.playedSeconds!==e.prevPlayed||i.loadedSeconds!==e.prevLoaded)&&e.props.onProgress(i),e.prevPlayed=i.playedSeconds,e.prevLoaded=i.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),h(f(e),"handleReady",function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,r=t.onReady,n=t.playing,i=t.volume,o=t.muted;r(),o||null===i||e.player.setVolume(i),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):n&&e.player.play(),e.handleDurationCheck()}}),h(f(e),"handlePlay",function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,r=t.onStart,n=t.onPlay,i=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==i&&e.player.setPlaybackRate(i),r(),e.startOnPlay=!1),n(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),h(f(e),"handlePause",function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)}),h(f(e),"handleEnded",function(){var t=e.props,r=t.activePlayer,n=t.loop,i=t.onEnded;r.loopOnEnded&&n&&e.seekTo(0),n||(e.isPlaying=!1,i())}),h(f(e),"handleError",function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)}),h(f(e),"handleDurationCheck",function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)}),h(f(e),"handleLoaded",function(){e.isLoading=!1}),e}return r=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP(
2)),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var r=this.props,n=r.url,i=r.playing,o=r.volume,s=r.muted,l=r.playbackRate,c=r.pip,d=r.loop,f=r.activePlayer,p=r.disableDeferredLoading;if(!(0,a.default)(e.url,n)){if(this.isLoading&&!f.forceLoad&&!p&&!(0,u.isMediaStream)(n)){console.warn("ReactPlayer: the attempt to load ".concat(n," is being deferred until the player has loaded")),this.loadOnReady=n;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(n,this.isReady)}e.playing||!i||this.isPlaying||this.player.play(),e.playing&&!i&&this.isPlaying&&this.player.pause(),!e.pip&&c&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!c&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==o&&null!==o&&this.player.setVolume(o),e.muted!==s&&(s?this.player.mute():(this.player.unmute(),null!==o&&setTimeout(function(){return t.player.setVolume(o)}))),e.playbackRate!==l&&this.player.setPlaybackRate&&this.player.setPlaybackRate(l),e.loop!==d&&this.player.setLoop&&this.player.setLoop(d)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var r=this;if(!this.isReady){0!==e&&(this.seekOnPlay=e,setTimeout(function(){r.seekOnPlay=null},5e3));return}if(t?"fraction"===t:e>0&&e<1){var n=this.player.getDuration();if(!n){console.warn("ReactPlayer: could not seek using fraction –\xa0duration not yet available");return}this.player.seekTo(n*e);return}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?o.default.createElement(e,c({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(s.prototype,r),s}(o.Component);t.default=m,h(m,"displayName","Player"),h(m,"propTypes",s.propTypes),h(m,"defaultProps",s.defaultProps)},71276:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(67294)),o=d(r(9996)),a=d(r(30845)),s=d(r(69590)),u=r(29448),l=r(56281),c=d(r(59605));function d(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function y(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=(0,i.lazy)(function(){return r.e(664).then(r.bind(r,57284))}),x="undefined"!=typeof window&&window.document,k=void 0!==r.g&&r.g.window&&r.g.window.document,O=Object.keys(u.propTypes),S=x||k?i.Suspense:function(){return null},T=[];t.createReactPlayer=function(e,t){var r,d;return d=r=function(r){(function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)})(v,r);var d,f,p=(d=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=w(v);return e=d?Reflect.construct(t,arguments,w(this).constructor):t.apply(this,arguments),e&&("object"===n(e)||"function"==typeof e)?e:b(this)});function v(){var r;(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,v);for(var n=arguments.length,s=Array(n),d=0;d<n;d++)s[d]=arguments[d];return _(b(r=p.call.apply(p,[this].concat(s))),"state",{showPreview:!!r.props.light}),_(b(r),"references",{wrapper:function(e){r.wrapper=e},player:function(e){r.player=e}}),_(b(r),"handleClickPreview",function(e){r.setState({showPreview:!1}),r.props.onClickPreview(e)}),_(b(r),"showPreview",function(){r.setState({showPreview:!0})}),_(b(r),"getDuration",function(){return r.player?r.player.getDuration():null}),_(b(r),"getCurrentTime",function(){return r.player?r.player.getCurrentTime():null}),_(b(r),"getSecondsLoaded",function(){return r.player?r.player.getSecondsLoaded():null}),_(b(r),"getInternalPlayer",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return r.player?r.player.getInternalPlayer(e):null}),_(b(r),"seekTo",function(e,t){if(!r.player)return null;r.player.seekTo(e,t)}),_(b(r),"handleReady",function(){r.props.onReady(b(r))}),_(b(r),"getActivePlayer",(0,a.default)(function(r){for(var n=0,i=[].concat(T,y(e));n<i.length;n++){var o=i[n];if(o.canPlay(r))return o}return t||null})),_(b(r),"getConfig",(0,a.default)(function(e,t){var n=r.props.config;return o.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},n,n[t]||{}])})),_(b(r),"getAttributes",(0,a.default)(function(e){return(0,l.omit)(r.props,O)})),_(b(r),"renderActivePlayer",function(e){if(!e)return null;var t=r.getActivePlayer(e);if(!t)return null;var n=r.getConfig(e,t.key);return i.default.createElement(c.default,m({},r.props,{key:t.key,ref:r.references.player,config:n,activePlayer:t.lazyPlayer||t,onReady:r.handleReady}))}),r}return f=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,s.default)(this.props,e)||!(0,s.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,r=t.light,n=t.playIcon,o=t.previewTabIndex,a=t.oEmbedUrl;return i.default.createElement(E,{url:e,light:r,playIcon:n,previewTabIndex:o,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,r=e.style,n=e.width,o=e.height,a=e.fallback,s=e.wrapper,u=this.state.showPreview,l=this.getAttributes(t);return i.default.createElement(s,m({ref:this.references.wrapper,style:h(h({},r),{},{width:n,height:o})},l),i.default.createElement(S,{fallback:a},u?this.renderPreview(t):this.renderActivePlayer(t)))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(v.prototype,f),v}(i.Component),_(r,"displayName","ReactPlayer"),_(r,"propTypes",u.propTypes),_(r,"defaultProps",u.defaultProps),_(r,"addCustomPlayer",function(e){T.push(e)}),_(r,"removeCustomPlayers",function(){T.length=0}),_(r,"canPlay",function(t){for(var r=0,n=[].concat(T,y(e));r<n.length;r++)if(n[r].canPlay(t))return!0;return!1}),_(r,"canEnablePIP",function(t){for(var r=0,n=[].concat(T,y(e));r<n.length;r++){var i=n[r];if(i.canEnablePIP&&i.canEnablePIP(t))return!0}return!1}),d}},56310:function(e,t,r){"use strict";t.Z=void 0;var n,i=(n=r(29760))&&n.__esModule?n:{default:n},o=r(71276),a=i.default[i.default.length-1],s=(0,o.createReactPlayer)(i.default,a);t.Z=s},99790:function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var n=r(56281);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var o=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=o;var a=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=a;var s=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=s;var u=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=u;var l=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=l;var c=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=c;var d=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=d;var f=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=f;var p=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=p;var h=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=h;var m=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=m;var y=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=y;var v=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=v;var g=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=g;var b=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=b;var w=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=w;var _=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=_;var E=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=E,t.canPlay={youtube:function(e){return e instanceof Array?e.every(function(e){return o.test(e)}):o.test(e)},soundcloud:function(e){return a.test(e)&&!g.test(e)},vimeo:function(e){return s.test(e)&&!b.test(e)&&!w.test(e)},facebook:function(e){return u.test(e)||l.test(e)},streamable:function(e){return c.test(e)},wistia:function(e){return d.test(e)},twitch:function(e){return f.test(e)||p.test(e)},dailymotion:function(e){return h.test(e)},mixcloud:function(e){return m.test(e)},vidyard:function(e){return y.test(e)},kaltura:function(e){return v.test(e)},file:function e(t){if(t instanceof Array){var r,o=function(e,t){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(o=function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,void 0)}}(e))){o&&(e=o);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,s=!0,u=!1;return{s:function(){o=e[Symbol.iterator]()},n:function(){var e=o.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==o.return||o.return()}finally{if(u)throw a}}}}(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;if("string"==typeof a&&e(a)||e(a.src))return!0}}catch(e){o.e(e)}finally{o.f()}return!1}return!!((0,n.isMediaStream)(t)||(0,n.isBlobUrl)(t))||g.test(t)||b.test(t)||w.test(t)||_.test(t)||E.test(t)}}},29760:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(67294),i=r(56281),o=r(99790),a=[{key:"youtube",name:"YouTube",canPlay:o.canPlay.youtube,lazyPlayer:(0,n.lazy)(function(){return r.e(439).then(r.bind(r,85034))})},{key:"soundcloud",name:"SoundCloud",canPlay:o.canPlay.soundcloud,lazyPlayer:(0,n.lazy)(function(){return r.e(125).then(r.bind(r,76655))})},{key:"vimeo",name:"Vimeo",canPlay:o.canPlay.vimeo,lazyPlayer:(0,n.lazy)(function(){return r.e(743).then(r.bind(r,86746))})},{key:"facebook",name:"Facebook",canPlay:o.canPlay.facebook,lazyPlayer:(0,n.lazy)(function(){return r.e(121).then(r.bind(r,26429))})},{key:"streamable",name:"Streamable",canPlay:o.canPlay.streamable,lazyPlayer:(0,n.lazy)(function(){return r.e(546).then(r.bind(r,76479))})},{key:"wistia",name:"Wistia",canPlay:o.canPlay.wistia,lazyPlayer:(0,n.lazy)(function(){return r.e(55).then(r.bind(r,13134))})},{key:"twitch",name:"Twitch",canPlay:o.canPlay.twitch,lazyPlayer:(0,n.lazy)(function(){return r.e(216).then(r.bind(r,89743))})},{key:"dailymotion",name:"DailyMotion",canPlay:o.canPlay.dailymotion,lazyPlayer:(0,n.lazy)(function(){return r.e(596).then(r.bind(r,14630))})},{key:"mixcloud",name:"Mixcloud",canPlay:o.canPlay.mixcloud,lazyPlayer:(0,n.lazy)(function(){return r.e(667).then(r.bind(r,99734))})}
vendor: 5,269 bytes, line 2
2,{key:"vidyard",name:"Vidyard",canPlay:o.canPlay.vidyard,lazyPlayer:(0,n.lazy)(function(){return r.e(965).then(r.bind(r,27287))})},{key:"kaltura",name:"Kaltura",canPlay:o.canPlay.kaltura,lazyPlayer:(0,n.lazy)(function(){return r.e(261).then(r.bind(r,49289))})},{key:"file",name:"FilePlayer",canPlay:o.canPlay.file,canEnablePIP:function(e){return o.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,i.supportsWebKitPresentationMode)())&&!o.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,n.lazy)(function(){return r.e(11).then(r.bind(r,33364))})}];t.default=a},29448:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var n,i=(n=r(45697))&&n.__esModule?n:{default:n},o=i.default.string,a=i.default.bool,s=i.default.number,u=i.default.array,l=i.default.oneOfType,c=i.default.shape,d=i.default.object,f=i.default.func,p=i.default.node,h={url:l([o,u,d]),playing:a,loop:a,controls:a,volume:s,muted:a,playbackRate:s,width:l([o,s]),height:l([o,s]),style:d,progressInterval:s,playsinline:a,pip:a,stopOnUnmount:a,light:l([a,o]),playIcon:p,previewTabIndex:s,fallback:p,oEmbedUrl:o,wrapper:l([o,f,c({render:f.isRequired})]),config:c({soundcloud:c({options:d}),youtube:c({playerVars:d,embedOptions:d,onUnstarted:f}),facebook:c({appId:o,version:o,playerId:o,attributes:d}),dailymotion:c({params:d}),vimeo:c({playerOptions:d,title:o}),file:c({attributes:d,tracks:u,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,forceFLV:a,hlsOptions:d,hlsVersion:o,dashVersion:o,flvVersion:o}),wistia:c({options:d,playerId:o,customControls:u}),mixcloud:c({options:d}),twitch:c({options:d,playerId:o}),vidyard:c({options:d})}),onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onPlaybackRateChange:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f};t.propTypes=h;var m=function(){};t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:m},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:m,onStart:m,onPlay:m,onPause:m,onBuffer:m,onBufferEnd:m,onEnded:m,onError:m,onDuration:m,onSeek:m,onPlaybackRateChange:m,onProgress:m,onClickPreview:m,onEnablePIP:m,onDisablePIP:m}},56281:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return d(e,s)},t.parseEndTime=function(e){return d(e,u)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")},t.getSDK=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.default,a=f(t);return a&&i(a)?Promise.resolve(a):new Promise(function(n,i){if(p[e]){p[e].push({resolve:n,reject:i});return}p[e]=[{resolve:n,reject:i}];var a=function(t){p[e].forEach(function(e){return e.resolve(t)})};if(r){var s=window[r];window[r]=function(){s&&s(),a(f(t))}}o(e,function(n){n?(p[e].forEach(function(e){return e.reject(n)}),p[e]=null):r||a(f(t))})})},t.getConfig=function(e,t){return(0,i.default)(t.config,e.config)},t.omit=function(e){for(var t,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(var o=(t=[]).concat.apply(t,n),a={},s=Object.keys(e),u=0;u<s.length;u++){var l=s[u];-1===o.indexOf(l)&&(a[l]=e[l])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var r="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c – ");return this.player?this.player[e]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return(t=this.player)[e].apply(t,i)},t.isMediaStream=function(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var n=o(r(49090)),i=o(r(9996));
2function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var s=/[?&#](?:start|t)=([0-9hms]+)/,u=/[?&#]end=([0-9hms]+)/,l=/(\d+)(h|m|s)/g,c=/^\d+$/;function d(e,t){if(!(e instanceof Array)){var r=e.match(t);if(r){var n=r[1];if(n.match(l))return function(e){for(var t=0,r=l.exec(e);null!==r;){var n,i=function(e){if(Array.isArray(e))return e}(n=r)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),3!==r.length);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(n,3)||function(e,t){if(e){if("string"==typeof e)return a(e,3);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,3)}}(n,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[1],s=i[2];"h"===s&&(t+=3600*parseInt(o,10)),"m"===s&&(t+=60*parseInt(o,10)),"s"===s&&(t+=parseInt(o,10)),r=l.exec(e)}return t}(n);if(c.test(n))return parseInt(n)}}}function f(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var p={}},25726:function(e,t,r){"use strict";function n(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}let i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{i[e]=new n(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{i[e]=new n(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{i[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{i[e]=new n(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{i[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{i[e]=new n(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{i[e]=new n(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{i[e]=new n(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{i[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)});let o=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode
2-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:s,SAME:u,possibleStandardNames:l}=r(78229),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(l).reduce((e,t)=>{let r=l[t];return r===u?e[t]=t:r===s?e[t.toLowerCase()]=t:e[t]=r,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},78229:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackgroun
2d:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xl
2inkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},39920:function(e,t,r){"use strict";r.d(t,{animated:function(){return n.animated}});var n=r(81472);r.o(n,"useTransition")&&r.d(t,{useTransition:function(){return n.useTransition}})},31304:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ä¢":"G","Ä£":"g","Ĩ":"I","Ä©":"i","Ī":"i","Ä«":"i","Ä®":"I","į":"i","İ":"I","ı":"i","Ķ":"k","Ä·":"k","Ä»":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ә":"AE","ә":"ae","Ó¨":"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E\'","Ô¸":"Y\'","Ô¹":"T\'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C\'","Ô¿":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø­":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","چ":"ch","ژ":"zh","Ú©":"k","Ú¯":"g","ی":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","á¹¢":"S","á¹£":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»­":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","â
2‚§":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}'),t=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","∑":"soma","\xa3":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Ð¥":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function r(r,n){if("string"!=typeof r)throw Error("slugify: string argument expected");var i=t[(n="string"==typeof n?{replacement:n}:n||{}).locale]||{},o=void 0===n.replacement?"-":n.replacement,a=void 0===n.trim||n.trim,s=r.normalize().split("").reduce(function(t,r){var a=i[r]||e[r]||r;return a===o&&(a=" "),t+a.replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return n.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),a&&(s=s.trim()),s=s.replace(/\s+/g,o),n.lower&&(s=s.toLowerCase()),s}return r.extend=function(t){Object.assign(e,t)},r},e.exports=t(),e.exports.default=t()},41476:function(e,t,r){"use strict";var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(5174)),i=r(26678);function o(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,i.camel
2Case)(e,t)]=n)}),r}o.default=o,e.exports=o},26678:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var l;return(void 0===t&&(t={}),!(l=e)||i.test(l)||r.test(l))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,u):e.replace(o,u)).replace(n,s))}},5174:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(18139));t.default=function(e,t){var r=null;if(!e||"string"!=typeof e)return r;var n=(0,i.default)(e),o="function"==typeof t;return n.forEach(function(e){if("declaration"===e.type){var n=e.property,i=e.value;o?t(n,i,e):i&&((r=r||{})[n]=i)}}),r}},61068:function(e,t,r){"use strict";r.d(t,{D:function(){return h}});var n,i,o=r(70655),a=r(67294),s=r(14012),u=r(30020),l=r(78287);(n=i||(i={}))[n.Query=0]="Query",n[n.Mutation=1]="Mutation",n[n.Subscription=2]="Subscription";var c=new Map;function d(e){var t;switch(e){case i.Query:t="Query";break;case i.Mutation:t="Mutation";break;case i.Subscription:t="Subscription"}return t}var f=r(30990),p=r(85317);function h(e,t){var r,n,h,m,y,v,g,b=(r=null==t?void 0:t.client,n=a.useContext((0,p.K)()),h=r||n.client,(0,l.kG)(!!h,47),h);m=i.Mutation,y=function(e){var t,r,n=c.get(e);if(n)return n;(0,l.kG)(!!e&&!!e.kind,57,e);for(var o=[],a=[],s=[],u=[],d=0,f=e.definitions;d<f.length;d++){var p=f[d];if("FragmentDefinition"===p.kind){o.push(p);continue}if("OperationDefinition"===p.kind)switch(p.operation){case"query":a.push(p);break;case"mutation":s.push(p);break;case"subscription":u.push(p)}}(0,l.kG)(!o.length||a.length||s.length||u.length,58),(0,l.kG)(a.length+s.length+u.length<=1,59,e,a.length,u.length,s.length),r=a.length?i.Query:i.Mutation,a.length||s.length||(r=i.Subscription);var h=a.length?a:s.length?s:u;(0,l.kG)(1===h.length,60,e,h.length);var m=h[0];t=m.variableDefinitions||[];var y={name:m.name&&"Name"===m.name.kind?m.name.value:"data",type:r,variables:t};return c.set(e,y),y}(e),v=d(m),g=d(y.type),(0,l.kG)(y.type===m,61,v,v,g);var w=a.useState({called:!1,loading:!1,client:b}),_=w[0],E=w[1],x=a.useRef({result:_,mutationId:0,isMounted:!0,client:b,mutation:e,options:t});Object.assign(x.current,{client:b,options:t,mutation:e});var k=a.useCallback(function(e){void 0===e&&(e={});var t=x.current,r=t.options,n=t.mutation,i=(0,o.pi)((0,o.pi)({},r),{mutation:n}),a=e.client||x.current.client;x.current.result.loading||i.ignoreResults||!x.current.isMounted||E(x.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:a});var l=++x.current.mutationId,c=(0,s.J)(i,e);return a.mutate(c).then(function(t){var r,n,i=t.data,o=t.errors,s=o&&o.length>0?new f.cA({graphQLErrors:o}):void 0,d=e.onError||(null===(r=x.current.options)||void 0===r?void 0:r.onError);if(s&&d&&d(s,c),l===x.current.mutationId&&!c.ignoreResults){var p={called:!0,loading:!1,data:i,error:s,client:a};x.current.isMounted&&!(0,u.D)(x.current.result,p)&&E(x.current.result=p)}var h=e.onCompleted||(null===(n=x.current.options)||void 0===n?void 0:n.onCompleted);return s||null==h||h(t.data,c),t}).catch(function(t){if(l===x.current.mutationId&&x.current.isMounted){var r,n={loading:!1,error:t,data:void 0,called:!0,client:a};(0,u.D)(x.current.result,n)||E(x.current.result=n)}var i=e.onError||(null===(r=x.current.options)||void 0===r?void 0:r.onError);if(i)return i(t,c),{data:void 0,errors:t};throw t})},[]),O=a.useCallback(function(){x.current.isMounted&&E({called:!1,loading:!1,client:b})},[]);return a.useEffect(function(){return x.current.isMounted=!0,function(){x.current.isMounted=!1}},[]),[k,(0,o.pi)({reset:O},_)]}},56312:function(e,t,r){"use strict";r.d(t,{F:function(){return c}});var n=r(87536),i=function(e,t,r){if(e&&"reportValidity"in e){var i=(0,n.U2)(r,t);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},o=function(e,t){var r=function(r){var n=t.fields[r];n&&n.ref&&"reportValidity"in n.ref?i(n.ref,r,e):n.refs&&n.refs.forEac
2h(function(t){return i(t,r,e)})};for(var n in t.fields)r(n)},a=function(e,t){t.shouldUseNativeValidation&&o(e,t);var r={};for(var i in e){var a=(0,n.U2)(t.fields,i),l=Object.assign(e[i]||{},{ref:a&&a.ref});if(u(t.names||Object.keys(e),i)){var c=Object.assign({},s((0,n.U2)(r,i)));(0,n.t8)(c,"root",l),(0,n.t8)(r,i,c)}else(0,n.t8)(r,i,l)}return r},s=function(e){return Array.isArray(e)?e.filter(Boolean):[]},u=function(e,t){return e.some(function(e){return e.startsWith(t+".")})},l=function(e,t){for(var r={};e.length;){var i=e[0],o=i.code,a=i.message,s=i.path.join(".");if(!r[s]){if("unionErrors"in i){var u=i.unionErrors[0].errors[0];r[s]={message:u.message,type:u.code}}else r[s]={message:a,type:o}}if("unionErrors"in i&&i.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var l=r[s].types,c=l&&l[i.code];r[s]=(0,n.KN)(s,t,r,o,c?[].concat(c,i.message):i.message)}e.shift()}return r},c=function(e,t,r){return void 0===r&&(r={}),function(n,i,s){try{return Promise.resolve(function(i,a){try{var u=Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](n,t)).then(function(e){return s.shouldUseNativeValidation&&o({},s),{errors:{},values:r.raw?n:e}})}catch(e){return a(e)}return u&&u.then?u.then(void 0,a):u}(0,function(e){if(null!=e.errors)return{values:{},errors:a(l(e.errors,!s.shouldUseNativeValidation&&"all"===s.criteriaMode),s)};throw e}))}catch(e){return Promise.reject(e)}}}},47398:function(e,t,r){"use strict";r.d(t,{VY:function(){return en},h4:function(){return et},ck:function(){return ee},fC:function(){return Q},xz:function(){return er}});var n=r(87462),i=r(67294),o=r(25360),a=r(65936),s=r(28771),u=r(36206),l=r(77342),c=r(75320),d=r(9981),f=r(29115),p=r(91276);let h="Collapsible",[m,y]=(0,o.b)(h),[v,g]=m(h),b=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:r,open:o,defaultOpen:a,disabled:s,onOpenChange:u,...d}=e,[f=!1,h]=(0,l.T)({prop:o,defaultProp:a,onChange:u});return(0,i.createElement)(v,{scope:r,disabled:s,contentId:(0,p.M)(),open:f,onOpenToggle:(0,i.useCallback)(()=>h(e=>!e),[h])},(0,i.createElement)(c.WV.div,(0,n.Z)({"data-state":k(f),"data-disabled":s?"":void 0},d,{ref:t})))}),w=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:r,...o}=e,a=g("CollapsibleTrigger",r);return(0,i.createElement)(c.WV.button,(0,n.Z)({type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":k(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled},o,{ref:t,onClick:(0,u.M)(e.onClick,a.onOpenToggle)}))}),_="CollapsibleContent",E=(0,i.forwardRef)((e,t)=>{let{forceMount:r,...o}=e,a=g(_,e.__scopeCollapsible);return(0,i.createElement)(f.z,{present:r||a.open},({present:e})=>(0,i.createElement)(x,(0,n.Z)({},o,{ref:t,present:e})))}),x=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:r,present:o,children:a,...u}=e,l=g(_,r),[f,p]=(0,i.useState)(o),h=(0,i.useRef)(null),m=(0,s.e)(t,h),y=(0,i.useRef)(0),v=y.current,b=(0,i.useRef)(0),w=b.current,E=l.open||f,x=(0,i.useRef)(E),O=(0,i.useRef)();return(0,i.useEffect)(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.b)(()=>{let e=h.current;if(e){O.current=O.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();y.current=t.height,b.current=t.width,x.current||(e.style.transitionDuration=O.current.transitionDuration,e.style.animationName=O.current.animationName),p(o)}},[l.open,o]),(0,i.createElement)(c.WV.div,(0,n.Z)({"data-state":k(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!E},u,{ref:m,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style}}),E&&a)});function k(e){return e?"open":"closed"}var O=r(78990);let S="Accordion",T=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[P,A,C]=(0,a.B)(S),[I,N]=(0,o.b)(S,[C,y]),D=y(),R=i.forwardRef((e,t)=>{let{type:r,...o}=e;return i.createElement(P.Provider,{scope:e.__scopeAccordion},"multiple"===r?i.createElement(F,(0,n.Z)({},o,{ref:t})):i.createElement(U,(0,n.Z)({},o,{ref:t})))});R.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):"multiple"===e.type&&"string"==typeof t?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):"single"===e.type&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};let[L,M]=I(S),[j,V]=I(S,{collapsible:!1}),U=i.forwardRef((e,t)=>
2{let{value:r,defaultValue:o,onValueChange:a=()=>{},collapsible:s=!1,...u}=e,[c,d]=(0,l.T)({prop:r,defaultProp:o,onChange:a});return i.createElement(L,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:d,onItemClose:i.useCallback(()=>s&&d(""),[s,d])},i.createElement(j,{scope:e.__scopeAccordion,collapsible:s},i.createElement(H,(0,n.Z)({},u,{ref:t}))))}),F=i.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:a=()=>{},...s}=e,[u=[],c]=(0,l.T)({prop:r,defaultProp:o,onChange:a}),d=i.useCallback(e=>c((t=[])=>[...t,e]),[c]),f=i.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return i.createElement(L,{scope:e.__scopeAccordion,value:u,onItemOpen:d,onItemClose:f},i.createElement(j,{scope:e.__scopeAccordion,collapsible:!0},i.createElement(H,(0,n.Z)({},s,{ref:t}))))}),[$,z]=I(S),H=i.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:o,dir:a,orientation:l="vertical",...d}=e,f=i.useRef(null),p=(0,s.e)(f,t),h=A(r),m="ltr"===(0,O.gm)(a),y=(0,u.M)(e.onKeyDown,e=>{var t;if(!T.includes(e.key))return;let r=e.target,n=h().filter(e=>{var t;return!(null!==(t=e.ref.current)&&void 0!==t&&t.disabled)}),i=n.findIndex(e=>e.ref.current===r),o=n.length;if(-1===i)return;e.preventDefault();let a=i,s=o-1,u=()=>{(a=i+1)>s&&(a=0)},c=()=>{(a=i-1)<0&&(a=s)};switch(e.key){case"Home":a=0;break;case"End":a=s;break;case"ArrowRight":"horizontal"===l&&(m?u():c());break;case"ArrowDown":"vertical"===l&&u();break;case"ArrowLeft":"horizontal"===l&&(m?c():u());break;case"ArrowUp":"vertical"===l&&c()}null===(t=n[a%o].ref.current)||void 0===t||t.focus()});return i.createElement($,{scope:r,disabled:o,direction:a,orientation:l},i.createElement(P.Slot,{scope:r},i.createElement(c.WV.div,(0,n.Z)({},d,{"data-orientation":l,ref:p,onKeyDown:o?void 0:y}))))}),B="AccordionItem",[Z,W]=I(B),q=i.forwardRef((e,t)=>{let{__scopeAccordion:r,value:o,...a}=e,s=z(B,r),u=M(B,r),l=D(r),c=(0,p.M)(),d=o&&u.value.includes(o)||!1,f=s.disabled||e.disabled;return i.createElement(Z,{scope:r,open:d,disabled:f,triggerId:c},i.createElement(b,(0,n.Z)({"data-orientation":s.orientation,"data-state":J(d)},l,a,{ref:t,disabled:f,open:d,onOpenChange:e=>{e?u.onItemOpen(o):u.onItemClose(o)}})))}),K=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,a=z(S,r),s=W("AccordionHeader",r);return i.createElement(c.WV.h3,(0,n.Z)({"data-orientation":a.orientation,"data-state":J(s.open),"data-disabled":s.disabled?"":void 0},o,{ref:t}))}),G="AccordionTrigger",Y=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,a=z(S,r),s=W(G,r),u=V(G,r),l=D(r);return i.createElement(P.ItemSlot,{scope:r},i.createElement(w,(0,n.Z)({"aria-disabled":s.open&&!u.collapsible||void 0,"data-orientation":a.orientation,id:s.triggerId},l,o,{ref:t})))}),X=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,a=z(S,r),s=W("AccordionContent",r),u=D(r);return i.createElement(E,(0,n.Z)({role:"region","aria-labelledby":s.triggerId,"data-orientation":a.orientation},u,o,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function J(e){return e?"open":"closed"}let Q=R,ee=q,et=K,er=Y,en=X},65936:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});var n=r(67294),i=r(25360),o=r(28771),a=r(88426);function s(e){let t=e+"CollectionProvider",[r,s]=(0,i.b)(t),[u,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",d=n.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=l(c,r),u=(0,o.e)(t,s.collectionRef);return n.createElement(a.g7,{ref:u},i)}),f=e+"CollectionItemSlot",p="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:r}=e,i=n.useRef(null),o=n.useRef(new Map).current;return n.createElement(u,{scope:t,itemMap:o,collectionRef:i},r)},Slot:d,ItemSlot:n.forwardRef((e,t)=>{let{scope:r,children:i,...s}=e,u=n.useRef(null),c=(0,o.e)(t,u),d=l(f,r);return n.useEffect(()=>(d.itemMap.set(u,{ref:u,...s}),()=>void d.itemMap.delete(u))),n.createElement(a.g7,{[p]:"",ref:c},i)})},function(t){let r=l(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},s]}},78990:function(e,t,r){"use strict";r.d(t,{gm:function(){return o}});var n=r(67294);let i=(0,n.createContext)(void 0);function o(e){let t=(0,n.useContext)(i);return e||t||"ltr"}},49102:function(e,t,r){"use strict";r.d(t,{_:function(){return a}});var n=r(87462),i=r(67294),o=r(75320);let a=(0,i.forwardRef)((e,t)=>(0,i.createElement)(o.WV.label,(0,n.Z)({},e,{ref:t,onMouseDown:t=>{var r;null===(r=e.onMouseDown)||void 0===r||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}})))},21784:function(e,t,r){"use strict";let n,i;r.d(t,{VY:function(){return tU},ck:function(){return t$},eT:function(){return tz},h_:function(){return tV},fC:function(){return tL},xz:function(){return tM},B4:function(){return tj},l_:function(){return tF}});
2var o=r(87462),a=r(67294),s=r(73935);function u(e,[t,r]){return Math.min(r,Math.max(t,e))}var l=r(36206),c=r(65936),d=r(28771),f=r(25360),p=r(78990),h=r(75320),m=r(79698),y=r(78724);let v="dismissableLayer.update",g=(0,a.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),b=(0,a.forwardRef)((e,t)=>{var r;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...b}=e,E=(0,a.useContext)(g),[x,k]=(0,a.useState)(null),O=null!==(r=null==x?void 0:x.ownerDocument)&&void 0!==r?r:null==globalThis?void 0:globalThis.document,[,S]=(0,a.useState)({}),T=(0,d.e)(t,e=>k(e)),P=Array.from(E.layers),[A]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),C=P.indexOf(A),I=x?P.indexOf(x):-1,N=E.layersWithOutsidePointerEventsDisabled.size>0,D=I>=C,R=function(e,t=null==globalThis?void 0:globalThis.document){let r=(0,m.W)(e),n=(0,a.useRef)(!1),i=(0,a.useRef)(()=>{});return(0,a.useEffect)(()=>{let e=e=>{if(e.target&&!n.current){let n={originalEvent:e};function o(){_("dismissableLayer.pointerDownOutside",r,n,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...E.branches].some(e=>e.contains(t));!D||r||(null==u||u(e),null==f||f(e),e.defaultPrevented||null==p||p())},O),L=function(e,t=null==globalThis?void 0:globalThis.document){let r=(0,m.W)(e),n=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=e=>{e.target&&!n.current&&_("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==c||c(e),null==f||f(e),e.defaultPrevented||null==p||p())},O);return(0,y.e)(e=>{I!==E.layers.size-1||(null==s||s(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},O),(0,a.useEffect)(()=>{if(x)return i&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(n=O.body.style.pointerEvents,O.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(x)),E.layers.add(x),w(),()=>{i&&1===E.layersWithOutsidePointerEventsDisabled.size&&(O.body.style.pointerEvents=n)}},[x,O,i,E]),(0,a.useEffect)(()=>()=>{x&&(E.layers.delete(x),E.layersWithOutsidePointerEventsDisabled.delete(x),w())},[x,E]),(0,a.useEffect)(()=>{let e=()=>S({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,a.createElement)(h.WV.div,(0,o.Z)({},b,{ref:T,style:{pointerEvents:N?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.M)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,l.M)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,l.M)(e.onPointerDownCapture,R.onPointerDownCapture)}))});function w(){let e=new CustomEvent(v);document.dispatchEvent(e)}function _(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,h.jH)(i,o):i.dispatchEvent(o)}var E=r(27552);let x="focusScope.autoFocusOnMount",k="focusScope.autoFocusOnUnmount",O={bubbles:!1,cancelable:!0},S=(0,a.forwardRef)((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...u}=e,[l,c]=(0,a.useState)(null),f=(0,m.W)(i),p=(0,m.W)(s),y=(0,a.useRef)(null),v=(0,d.e)(t,e=>c(e)),g=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(n){function e(e){if(g.paused||!l)return;let t=e.target;l.contains(t)?y.current=t:A(y.current,{select:!0})}function t(e){if(g.paused||!l)return;let t=e.relatedTarget;null===t||l.contains(t)||A(y.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){let t=document.activeElement;for(let r of e)r.removedNodes.length>0&&!(null!=l&&l.contains(t))&&A(l)});return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,l,g.paused]),(0,a.useEffect)(()=>
2{if(l){C.add(g);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(x,O);l.addEventListener(x,f),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(A(n,{select:t}),document.activeElement!==r)return}(T(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&A(l))}return()=>{l.removeEventListener(x,f),setTimeout(()=>{let t=new CustomEvent(k,O);l.addEventListener(k,p),l.dispatchEvent(t),t.defaultPrevented||A(null!=e?e:document.body,{select:!0}),l.removeEventListener(k,p),C.remove(g)},0)}}},[l,f,p,g]);let b=(0,a.useCallback)(e=>{if(!r&&!n||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,o]=function(e){let t=T(e);return[P(t,e),P(t.reverse(),e)]}(t);n&&o?e.shiftKey||i!==o?e.shiftKey&&i===n&&(e.preventDefault(),r&&A(o,{select:!0})):(e.preventDefault(),r&&A(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,g.paused]);return(0,a.createElement)(h.WV.div,(0,o.Z)({tabIndex:-1},u,{ref:v,onKeyDown:b}))});function T(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function P(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function A(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}let C=(i=[],{add(e){let t=i[0];e!==t&&(null==t||t.pause()),(i=I(i,e)).unshift(e)},remove(e){var t;null===(t=(i=I(i,e))[0])||void 0===t||t.resume()}});function I(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var N=r(91276);let D=["top","right","bottom","left"],R=Math.min,L=Math.max,M=Math.round,j=Math.floor,V=e=>({x:e,y:e}),U={left:"right",right:"left",bottom:"top",top:"bottom"},F={start:"end",end:"start"};function $(e,t){return"function"==typeof e?e(t):e}function z(e){return e.split("-")[0]}function H(e){return e.split("-")[1]}function B(e){return"x"===e?"y":"x"}function Z(e){return"y"===e?"height":"width"}function W(e){return["top","bottom"].includes(z(e))?"y":"x"}function q(e){return e.replace(/start|end/g,e=>F[e])}function K(e){return e.replace(/left|right|bottom|top/g,e=>U[e])}function G(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function Y(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function X(e,t,r){let n,{reference:i,floating:o}=e,a=W(t),s=B(W(t)),u=Z(s),l=z(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,p=i[u]/2-o[u]/2;switch(l){case"top":n={x:d,y:i.y-o.height};break;case"bottom":n={x:d,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:f};break;case"left":n={x:i.x-o.width,y:f};break;default:n={x:i.x,y:i.y}}switch(H(t)){case"start":n[s]-=p*(r&&c?-1:1);break;case"end":n[s]+=p*(r&&c?-1:1)}return n}let J=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=o.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=X(l,n,u),f=n,p={},h=0;for(let r=0;r<s.length;r++){let{name:o,fn:m}=s[r],{x:y,y:v,data:g,reset:b}=await m({x:c,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(c=null!=y?y:c,d=null!=v?v:d,p={...p,[o]:{...p[o],...g}},b&&h<=50){h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(l=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=X(l,f,u)),r=-1;continue}}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}};async function Q(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=$(t,e),h=G(p),m=s[f?"floating"===d?"reference":"floating":d],y=Y(await o.getClippingRect
2({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:l,rootBoundary:c,strategy:u})),v="floating"===d?{...a.floating,x:n,y:i}:a.reference,g=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await (null==o.isElement?void 0:o.isElement(g))&&await (null==o.getScale?void 0:o.getScale(g))||{x:1,y:1},w=Y(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:g,strategy:u}):v);return{top:(y.top-w.top+h.top)/b.y,bottom:(w.bottom-y.bottom+h.bottom)/b.y,left:(y.left-w.left+h.left)/b.x,right:(w.right-y.right+h.right)/b.x}}let ee=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:c=0}=$(e,t)||{};if(null==l)return{};let d=G(c),f={x:r,y:n},p=B(W(i)),h=Z(p),m=await a.getDimensions(l),y="y"===p,v=y?"clientHeight":"clientWidth",g=o.reference[h]+o.reference[p]-f[p]-o.floating[h],b=f[p]-o.reference[p],w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l)),_=w?w[v]:0;_&&await (null==a.isElement?void 0:a.isElement(w))||(_=s.floating[v]||o.floating[h]);let E=_/2-m[h]/2-1,x=R(d[y?"top":"left"],E),k=R(d[y?"bottom":"right"],E),O=_-m[h]-k,S=_/2-m[h]/2+(g/2-b/2),T=L(x,R(S,O)),P=!u.arrow&&null!=H(i)&&S!=T&&o.reference[h]/2-(S<x?x:k)-m[h]/2<0,A=P?S<x?S-x:S-O:0;return{[p]:f[p]+A,data:{[p]:T,centerOffset:S-T-A,...P&&{alignmentOffset:A}},reset:P}}});function et(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function er(e){return D.some(t=>e[t]>=0)}async function en(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=z(r),s=H(r),u="y"===W(r),l=["left","top"].includes(a)?-1:1,c=o&&u?-1:1,d=$(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),u?{x:p*c,y:f*l}:{x:f*l,y:p*c}}function ei(e){return es(e)?(e.nodeName||"").toLowerCase():"#document"}function eo(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ea(e){var t;return null==(t=(es(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function es(e){return e instanceof Node||e instanceof eo(e).Node}function eu(e){return e instanceof Element||e instanceof eo(e).Element}function el(e){return e instanceof HTMLElement||e instanceof eo(e).HTMLElement}function ec(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eo(e).ShadowRoot)}function ed(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=em(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function ef(e){let t=ep(),r=em(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function ep(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function eh(e){return["html","body","#document"].includes(ei(e))}function em(e){return eo(e).getComputedStyle(e)}function ey(e){return eu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ev(e){if("html"===ei(e))return e;let t=e.assignedSlot||e.parentNode||ec(e)&&e.host||ea(e);return ec(t)?t.host:t}function eg(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=ev(t);return eh(r)?t.ownerDocument?t.ownerDocument.body:t.body:el(r)&&ed(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=eo(i);return o?t.concat(a,a.visualViewport||[],ed(i)?i:[],a.frameElement&&r?eg(a.frameElement):[]):t.concat(i,eg(i,[],r))}function eb(e){let t=em(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=el(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=M(r)!==o||M(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function ew(e){return eu(e)?e:e.contextElement}function e_(e){let t=ew(e);if(!el(t))return V(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=eb(t),a=(o?M(r.width):r.width)/n,s=(o?M(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let eE=V(0);function ex(e){let t=eo(e);
2return ep()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eE}function ek(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=ew(e),s=V(1);t&&(n?eu(n)&&(s=e_(n)):s=e_(e));let u=(void 0===(i=r)&&(i=!1),n&&(!i||n===eo(a))&&i)?ex(a):V(0),l=(o.left+u.x)/s.x,c=(o.top+u.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(a){let e=eo(a),t=n&&eu(n)?eo(n):n,r=e.frameElement;for(;r&&n&&t!==e;){let e=e_(r),t=r.getBoundingClientRect(),n=em(r),i=t.left+(r.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,f*=e.y,l+=i,c+=o,r=eo(r).frameElement}}return Y({width:d,height:f,x:l,y:c})}function eO(e){return ek(ea(e)).left+ey(e).scrollLeft}function eS(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=eo(e),n=ea(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,u=0;if(i){o=i.width,a=i.height;let e=ep();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:s,y:u}}(e,r);else if("document"===t)n=function(e){let t=ea(e),r=ey(e),n=e.ownerDocument.body,i=L(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=L(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+eO(e),s=-r.scrollTop;return"rtl"===em(n).direction&&(a+=L(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:s}}(ea(e));else if(eu(t))n=function(e,t){let r=ek(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=el(e)?e_(e):V(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{let r=ex(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return Y(n)}function eT(e,t){return el(e)&&"fixed"!==em(e).position?t?t(e):e.offsetParent:null}function eP(e,t){let r=eo(e);if(!el(e))return r;let n=eT(e,t);for(;n&&["table","td","th"].includes(ei(n))&&"static"===em(n).position;)n=eT(n,t);return n&&("html"===ei(n)||"body"===ei(n)&&"static"===em(n).position&&!ef(n))?r:n||function(e){let t=ev(e);for(;el(t)&&!eh(t);){if(ef(t))return t;t=ev(t)}return null}(e)||r}let eA=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||eP,o=this.getDimensions;return{reference:function(e,t,r){let n=el(t),i=ea(t),o="fixed"===r,a=ek(e,!0,o,t),s={scrollLeft:0,scrollTop:0},u=V(0);if(n||!n&&!o){if(("body"!==ei(t)||ed(i))&&(s=ey(t)),n){let e=ek(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=eO(i))}return{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}(t,await i(r),n),floating:{x:0,y:0,...await o(r)}}},eC={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e,i=el(r),o=ea(r);if(r===o)return t;let a={scrollLeft:0,scrollTop:0},s=V(1),u=V(0);if((i||!i&&"fixed"!==n)&&(("body"!==ei(r)||ed(o))&&(a=ey(r)),el(r))){let e=ek(r);s=e_(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-a.scrollLeft*s.x+u.x,y:t.y*s.y-a.scrollTop*s.y+u.y}},getDocumentElement:ea,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?function(e,t){let r=t.get(e);if(r)return r;let n=eg(e,[],!1).filter(e=>eu(e)&&"body"!==ei(e)),i=null,o="fixed"===em(e).position,a=o?ev(e):e;for(;eu(a)&&!eh(a);){let t=em(a),r=ef(a);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||ed(a)&&!r&&function e(t,r){let n=ev(t);return!(n===r||!eu(n)||eh(n))&&("fixed"===em(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):i=t,a=ev(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=o[0],s=o.reduce((e,r)=>{let n=eS(t,r,i);return e.top=L(n.top,e.top),e.right=R(n.right,e.right),e.bottom=R(n.bottom,e.bottom),e.left=L(n.left,e.left),e},eS(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:eP,getElementRects:eA,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return eb(e)},getScale:e_,isElement:eu,isRTL:function(e){return"rtl"===em(e).direction}};function eI(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=ew(e),d=o||a?[...c?eg(c):[],...eg(t)]:[];
2d.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let f=c&&u?function(e,t){let r,n=null,i=ea(e);function o(){clearTimeout(r),n&&n.disconnect(),n=null}return!function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),o();let{left:l,top:c,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;let p=j(c),h=j(i.clientWidth-(l+d)),m={rootMargin:-p+"px "+-h+"px "+-j(i.clientHeight-(c+f))+"px "+-j(l)+"px",threshold:L(0,R(1,u))||1},y=!0;function v(e){let t=e[0].intersectionRatio;if(t!==u){if(!y)return a();t?a(!1,t):r=setTimeout(()=>{a(!1,1e-7)},100)}y=!1}try{n=new IntersectionObserver(v,{...m,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(v,m)}n.observe(e)}(!0),o}(c,r):null,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{h&&h.observe(t)})),r()}),c&&!l&&h.observe(c),h.observe(t));let m=l?ek(e):null;return l&&function t(){let n=ek(e);m&&(n.x!==m.x||n.y!==m.y||n.width!==m.width||n.height!==m.height)&&r(),m=n,i=requestAnimationFrame(t)}(),r(),()=>{d.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),f&&f(),h&&h.disconnect(),h=null,l&&cancelAnimationFrame(i)}}let eN=(e,t,r)=>{let n=new Map,i={platform:eC,...r},o={...i.platform,_c:n};return J(e,t,{...i,platform:o})},eD=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;if(r&&({}).hasOwnProperty.call(r,"current")){if(null!=r.current)return ee({element:r.current,padding:n}).fn(t)}else if(r)return ee({element:r,padding:n}).fn(t);return{}}});var eR="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;function eL(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!eL(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eL(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eM(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ej(e,t){let r=eM(e);return Math.round(t*r)/r}function eV(e){let t=a.useRef(e);return eR(()=>{t.current=e}),t}let eU=(0,a.forwardRef)((e,t)=>{let{children:r,width:n=10,height:i=5,...s}=e;return(0,a.createElement)(h.WV.svg,(0,o.Z)({},s,{ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?r:(0,a.createElement)("polygon",{points:"0,0 30,0 15,10"}))});var eF=r(9981);let e$="Popper",[ez,eH]=(0,f.b)(e$),[eB,eZ]=ez(e$),eW=(0,a.forwardRef)((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,s=eZ("PopperAnchor",r),u=(0,a.useRef)(null),l=(0,d.e)(t,u);return(0,a.useEffect)(()=>{s.onAnchorChange((null==n?void 0:n.current)||u.current)}),n?null:(0,a.createElement)(h.WV.div,(0,o.Z)({},i,{ref:l}))}),eq="PopperContent",[eK,eG]=ez(eq),eY=(0,a.forwardRef)((e,t)=>{var r,n,i,u,l,c,f,p,y,v,g,b,w,_;let{__scopePopper:E,side:x="bottom",sideOffset:k=0,align:O="center",alignOffset:S=0,arrowPadding:T=0,collisionBoundary:P=[],collisionPadding:A=0,sticky:C="partial",hideWhenDetached:I=!1,avoidCollisions:N=!0,onPlaced:D,...M}=e,j=eZ(eq,E),[V,U]=(0,a.useState)(null),F=(0,d.e)(t,e=>U(e)),[G,Y]=(0,a.useState)(null),X=function(e){let[t,r]=(0,a.useState)(void 0);return(0,eF.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(G),J=null!==(r=null==X?void 0:X.width)&&void 0!==r?r:0,ee=null!==(n=null==X?void 0:X.height)&&void 0!==n?n:0,ei="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},eo=Array.isArray(P)?P:[P],ea=eo.length>0,es={padding:ei,boundary:eo.filter(eJ),altBoundary:ea},{refs:eu,floatingStyles:el,placement:ec,isPositioned:ed,middlewareData:ef}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:o,floating:u}={},transform:l=!0,whileElementsMounted:c,open:d}
2=e,[f,p]=a.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=a.useState(n);eL(h,n)||m(n);let[y,v]=a.useState(null),[g,b]=a.useState(null),w=a.useCallback(e=>{e!=k.current&&(k.current=e,v(e))},[v]),_=a.useCallback(e=>{e!==O.current&&(O.current=e,b(e))},[b]),E=o||y,x=u||g,k=a.useRef(null),O=a.useRef(null),S=a.useRef(f),T=eV(c),P=eV(i),A=a.useCallback(()=>{if(!k.current||!O.current)return;let e={placement:t,strategy:r,middleware:h};P.current&&(e.platform=P.current),eN(k.current,O.current,e).then(e=>{let t={...e,isPositioned:!0};C.current&&!eL(S.current,t)&&(S.current=t,s.flushSync(()=>{p(t)}))})},[h,t,r,P]);eR(()=>{!1===d&&S.current.isPositioned&&(S.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let C=a.useRef(!1);eR(()=>(C.current=!0,()=>{C.current=!1}),[]),eR(()=>{if(E&&(k.current=E),x&&(O.current=x),E&&x){if(T.current)return T.current(E,x,A);A()}},[E,x,A,T]);let I=a.useMemo(()=>({reference:k,floating:O,setReference:w,setFloating:_}),[w,_]),N=a.useMemo(()=>({reference:E,floating:x}),[E,x]),D=a.useMemo(()=>{let e={position:r,left:0,top:0};if(!N.floating)return e;let t=ej(N.floating,f.x),n=ej(N.floating,f.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...eM(N.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,N.floating,f.x,f.y]);return a.useMemo(()=>({...f,update:A,refs:I,elements:N,floatingStyles:D}),[f,A,I,N,D])}({strategy:"fixed",placement:x+("center"!==O?"-"+O:""),whileElementsMounted:eI,elements:{reference:j.anchor},middleware:[{name:"offset",options:y={mainAxis:k+ee,alignmentAxis:S},async fn(e){let{x:t,y:r}=e,n=await en(e,y);return{x:t+n.x,y:r+n.y,data:n}}},N&&{name:"shift",options:g={mainAxis:!0,crossAxis:!1,limiter:"partial"===C?(void 0===v&&(v={}),{options:v,fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=$(v,e),l={x:t,y:r},c=W(n),d=B(c),f=l[d],p=l[c],h=$(a,e),m="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(s){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+m.mainAxis,r=i.reference[d]+i.reference[e]-m.mainAxis;f<t?f=t:f>r&&(f=r)}if(u){var y,g;let e="y"===d?"width":"height",t=["top","left"].includes(z(n)),r=i.reference[c]-i.floating[e]+(t&&(null==(y=o.offset)?void 0:y[c])||0)+(t?0:m.crossAxis),a=i.reference[c]+i.reference[e]+(t?0:(null==(g=o.offset)?void 0:g[c])||0)-(t?m.crossAxis:0);p<r?p=r:p>a&&(p=a)}return{[d]:f,[c]:p}}}):void 0,...es},async fn(e){let{x:t,y:r,placement:n}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=$(g,e),u={x:t,y:r},l=await Q(e,s),c=W(z(n)),d=B(c),f=u[d],p=u[c];if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",r=f+l[e],n=f-l[t];f=L(r,R(f,n))}if(o){let e="y"===c?"top":"left",t="y"===c?"bottom":"right",r=p+l[e],n=p-l[t];p=L(r,R(p,n))}let h=a.fn({...e,[d]:f,[c]:p});return{...h,data:{x:h.x-t,y:h.y-r}}}},N&&{name:"flip",options:b={...es},async fn(e){var t,r,n,i,o;let{placement:a,middlewareData:s,rects:u,initialPlacement:l,platform:c,elements:d}=e,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...g}=$(b,e);if(null!=(t=s.arrow)&&t.alignmentOffset)return{};let w=z(a),_=z(l)===l,E=await (null==c.isRTL?void 0:c.isRTL(d.floating)),x=h||(_||!v?[K(l)]:function(e){let t=K(e);return[q(e),t,q(t)]}(l));h||"none"===y||x.push(...function(e,t,r,n){let i=H(e),o=function(e,t,r){let n=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(r)return t?i:n;return t?n:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(z(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(q)))),o}(l,v,y,E));let k=[l,...x],O=await Q(e,g),S=[],T=(null==(r=s.flip)?void 0:r.overflows)||[];if(f&&S.push(O[w]),p){let e=function(e,t,r){void 0===r&&(r=!1);let n=H(e),i=B(W(e)),o=Z(i),a="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=K(a)),[a,K(a)]}(a,u,E);S.push(O[e[0]],O[e[1]])}if(T=[...T,{placement:a,overflows:S}],!S.every(e=>e<=0)){let e=((null==(n=s.flip)?void 0:n.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let r=null==(i=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>
2e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(m){case"bestFit":{let e=null==(o=T.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=l}if(a!==r)return{reset:{placement:r}}}return{}}},{name:"size",options:w={...es,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){let t,r;let{placement:n,rects:i,platform:o,elements:a}=e,{apply:s=()=>{},...u}=$(w,e),l=await Q(e,u),c=z(n),d=H(n),f="y"===W(n),{width:p,height:h}=i.floating;"top"===c||"bottom"===c?(t=c,r=d===(await (null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(r=c,t="end"===d?"top":"bottom");let m=h-l[t],y=p-l[r],v=!e.middlewareData.shift,g=m,b=y;if(f){let e=p-l.left-l.right;b=d||v?R(y,e):e}else{let e=h-l.top-l.bottom;g=d||v?R(m,e):e}if(v&&!d){let e=L(l.left,0),t=L(l.right,0),r=L(l.top,0),n=L(l.bottom,0);f?b=p-2*(0!==e||0!==t?e+t:L(l.left,l.right)):g=h-2*(0!==r||0!==n?r+n:L(l.top,l.bottom))}await s({...e,availableWidth:b,availableHeight:g});let _=await o.getDimensions(a.floating);return p!==_.width||h!==_.height?{reset:{rects:!0}}:{}}},G&&eD({element:G,padding:T}),eQ({arrowWidth:J,arrowHeight:ee}),I&&{name:"hide",options:_={strategy:"referenceHidden"},async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...n}=$(_,e);switch(r){case"referenceHidden":{let r=et(await Q(e,{...n,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:er(r)}}}case"escaped":{let r=et(await Q(e,{...n,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:er(r)}}}default:return{}}}}]}),[ep,eh]=e0(ec),em=(0,m.W)(D);(0,eF.b)(()=>{ed&&(null==em||em())},[ed,em]);let ey=null===(i=ef.arrow)||void 0===i?void 0:i.x,ev=null===(u=ef.arrow)||void 0===u?void 0:u.y,eg=(null===(l=ef.arrow)||void 0===l?void 0:l.centerOffset)!==0,[eb,ew]=(0,a.useState)();return(0,eF.b)(()=>{V&&ew(window.getComputedStyle(V).zIndex)},[V]),(0,a.createElement)("div",{ref:eu.setFloating,"data-radix-popper-content-wrapper":"",style:{...el,transform:ed?el.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eb,"--radix-popper-transform-origin":[null===(c=ef.transformOrigin)||void 0===c?void 0:c.x,null===(f=ef.transformOrigin)||void 0===f?void 0:f.y].join(" ")},dir:e.dir},(0,a.createElement)(eK,{scope:E,placedSide:ep,onArrowChange:Y,arrowX:ey,arrowY:ev,shouldHideArrow:eg},(0,a.createElement)(h.WV.div,(0,o.Z)({"data-side":ep,"data-align":eh},M,{ref:F,style:{...M.style,animation:ed?void 0:"none",opacity:null!==(p=ef.hide)&&void 0!==p&&p.referenceHidden?0:void 0}}))))}),eX={top:"bottom",right:"left",bottom:"top",left:"right"};function eJ(e){return null!==e}let eQ=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,o,a;let{placement:s,rects:u,middlewareData:l}=t,c=(null===(r=l.arrow)||void 0===r?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=e0(s),m={start:"0%",center:"50%",end:"100%"}[h],y=(null!==(n=null===(i=l.arrow)||void 0===i?void 0:i.x)&&void 0!==n?n:0)+d/2,v=(null!==(o=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==o?o:0)+f/2,g="",b="";return"bottom"===p?(g=c?m:`${y}px`,b=`${-f}px`):"top"===p?(g=c?m:`${y}px`,b=`${u.floating.height+f}px`):"right"===p?(g=`${-f}px`,b=c?m:`${v}px`):"left"===p&&(g=`${u.floating.width+f}px`,b=c?m:`${v}px`),{data:{x:g,y:b}}}});function e0(e){let[t,r="center"]=e.split("-");return[t,r]}let e1=e=>{let{__scopePopper:t,children:r}=e,[n,i]=(0,a.useState)(null);return(0,a.createElement)(eB,{scope:t,anchor:n,onAnchorChange:i},r)},e2=(0,a.forwardRef)((e,t)=>{var r;let{container:n=null==globalThis?void 0:null===(r=globalThis.document)||void 0===r?void 0:r.body,...i}=e;return n?s.createPortal((0,a.createElement)(h.WV.div,(0,o.Z)({},i,{ref:t})),n):null});var e3=r(88426),e4=r(77342);let e9=(0,a.forwardRef)((e,t)=>(0,a.createElement)(h.WV.span,(0,o.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));var e5=r(23541),e6=r(71930);let e7=[" ","Enter","ArrowUp","ArrowDown"],e8=[" ","Enter"],te="Select",[tt,tr,tn]=(0,c.B)(te),[ti,to]=(0,f.b)(te,[tn,eH]),ta=eH(),[ts,tu]=ti(te),[tl,tc]=ti(te),td=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...i}=e,s=ta(r),u=tu("SelectTrigger",r),c=u.disabled||n,f=(0,d.e)(t,u.onTriggerChange),p=tr(r),[m,y,v]=tD(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===u.value),n=tR(t,e,r);void 0!==n&&u.onValueChange(n.value)}),g=()=>{c||(u.onOpenChange(!0),v())};return(0,a.createElement)(eW,(0,o.Z)({asChild:!0},s),(0,a.createElement)(h.WV.button,(0,o.Z)({type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":void 0===u.value?"":void 0},i,{ref:f,onClick:(0,l.M)(i.onClick,e=>
2{e.currentTarget.focus()}),onPointerDown:(0,l.M)(i.onPointerDown,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(g(),u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())}),onKeyDown:(0,l.M)(i.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||y(e.key),(!t||" "!==e.key)&&e7.includes(e.key)&&(g(),e.preventDefault())})})))}),tf=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,className:n,style:i,children:s,placeholder:u,...l}=e,c=tu("SelectValue",r),{onValueNodeHasChildrenChange:f}=c,p=void 0!==s,m=(0,d.e)(t,c.onValueNodeChange);return(0,eF.b)(()=>{f(p)},[f,p]),(0,a.createElement)(h.WV.span,(0,o.Z)({},l,{ref:m,style:{pointerEvents:"none"}}),void 0===c.value&&void 0!==u?u:s)}),tp="SelectContent",th=(0,a.forwardRef)((e,t)=>{let r=tu(tp,e.__scopeSelect),[n,i]=(0,a.useState)();return((0,eF.b)(()=>{i(new DocumentFragment)},[]),r.open)?(0,a.createElement)(tv,(0,o.Z)({},e,{ref:t})):n?(0,s.createPortal)((0,a.createElement)(tm,{scope:e.__scopeSelect},(0,a.createElement)(tt.Slot,{scope:e.__scopeSelect},(0,a.createElement)("div",null,e.children))),n):null}),[tm,ty]=ti(tp),tv=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:u,side:c,sideOffset:f,align:p,alignOffset:h,arrowPadding:m,collisionBoundary:y,collisionPadding:v,sticky:g,hideWhenDetached:w,avoidCollisions:_,...x}=e,k=tu(tp,r),[O,T]=(0,a.useState)(null),[P,A]=(0,a.useState)(null),C=(0,d.e)(t,e=>T(e)),[I,N]=(0,a.useState)(null),[D,R]=(0,a.useState)(null),L=tr(r),[M,j]=(0,a.useState)(!1),V=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(O)return(0,e5.R)(O)},[O]),(0,E.EW)();let U=(0,a.useCallback)(e=>{let[t,...r]=L().map(e=>e.ref.current),[n]=r.slice(-1),i=document.activeElement;for(let r of e)if(r===i||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&P&&(P.scrollTop=0),r===n&&P&&(P.scrollTop=P.scrollHeight),null==r||r.focus(),document.activeElement!==i))return},[L,P]),F=(0,a.useCallback)(()=>U([I,O]),[U,I,O]);(0,a.useEffect)(()=>{M&&F()},[M,F]);let{onOpenChange:$,triggerPointerDownPosRef:z}=k;(0,a.useEffect)(()=>{if(O){let e={x:0,y:0},t=t=>{var r,n,i,o;e={x:Math.abs(Math.round(t.pageX)-(null!==(r=null===(n=z.current)||void 0===n?void 0:n.x)&&void 0!==r?r:0)),y:Math.abs(Math.round(t.pageY)-(null!==(i=null===(o=z.current)||void 0===o?void 0:o.y)&&void 0!==i?i:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():O.contains(r.target)||$(!1),document.removeEventListener("pointermove",t),z.current=null};return null!==z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[O,$,z]),(0,a.useEffect)(()=>{let e=()=>$(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[$]);let[H,B]=tD(e=>{let t=L().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=tR(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),Z=(0,a.useCallback)((e,t,r)=>{let n=!V.current&&!r;(void 0!==k.value&&k.value===t||n)&&(N(e),n&&(V.current=!0))},[k.value]),W=(0,a.useCallback)(()=>null==O?void 0:O.focus(),[O]),q=(0,a.useCallback)((e,t,r)=>{let n=!V.current&&!r;(void 0!==k.value&&k.value===t||n)&&R(e)},[k.value]),K="popper"===n?tb:tg;return(0,a.createElement)(tm,{scope:r,content:O,viewport:P,onViewportChange:A,itemRefCallback:Z,selectedItem:I,onItemLeave:W,itemTextRefCallback:q,focusSelectedItem:F,selectedItemText:D,position:n,isPositioned:M,searchRef:H},(0,a.createElement)(e6.Z,{as:e3.g7,allowPinchZoom:!0},(0,a.createElement)(S,{asChild:!0,trapped:k.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.M)(i,e=>{var t;null===(t=k.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()})},(0,a.createElement)(b,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>k.onOpenChange(!1)},(0,a.createElement)(K,(0,o.Z)({role:"listbox",id:k.contentId,"data-state":k.open?"open":"closed",dir:k.dir,onContextMenu:e=>e.preventDefault()},x,K===tb?{side:c,sideOffset:f,align:p,alignOffset:h,arrowPadding:m,collisionBoundary:y,collisionPadding:v,sticky:g,hideWhenDetached:w,avoidCollisions:_}:{},{onPlaced:()=>j(!0),ref:C,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:(0,l.M)(x.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
2if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||B(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=L().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>U(t)),e.preventDefault()}})}))))))}),tg=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,onPlaced:n,...i}=e,s=tu(tp,r),l=ty(tp,r),[c,f]=(0,a.useState)(null),[p,m]=(0,a.useState)(null),y=(0,d.e)(t,e=>m(e)),v=tr(r),g=(0,a.useRef)(!1),b=(0,a.useRef)(!0),{viewport:w,selectedItem:_,selectedItemText:E,focusSelectedItem:x}=l,k=(0,a.useCallback)(()=>{if(s.trigger&&s.valueNode&&c&&p&&w&&_&&E){let e=s.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=s.valueNode.getBoundingClientRect(),i=E.getBoundingClientRect();if("rtl"!==s.dir){let n=i.left-t.left,o=r.left-n,a=e.left-o,s=e.width+a,l=Math.max(s,t.width),d=u(o,[10,window.innerWidth-10-l]);c.style.minWidth=s+"px",c.style.left=d+"px"}else{let n=t.right-i.right,o=window.innerWidth-r.right-n,a=window.innerWidth-e.right-o,s=e.width+a,l=Math.max(s,t.width),d=u(o,[10,window.innerWidth-10-l]);c.style.minWidth=s+"px",c.style.right=d+"px"}let o=v(),a=window.innerHeight-20,l=w.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),m=parseInt(d.borderBottomWidth,10),y=f+h+l+parseInt(d.paddingBottom,10)+m,b=Math.min(5*_.offsetHeight,y),x=window.getComputedStyle(w),k=parseInt(x.paddingTop,10),O=parseInt(x.paddingBottom,10),S=e.top+e.height/2-10,T=_.offsetHeight/2,P=f+h+(_.offsetTop+T);if(P<=S){let e=_===o[o.length-1].ref.current;c.style.bottom="0px";let t=p.clientHeight-w.offsetTop-w.offsetHeight;c.style.height=P+Math.max(a-S,T+(e?O:0)+t+m)+"px"}else{let e=_===o[0].ref.current;c.style.top="0px";let t=Math.max(S,f+w.offsetTop+(e?k:0)+T);c.style.height=t+(y-P)+"px",w.scrollTop=P-S+w.offsetTop}c.style.margin="10px 0",c.style.minHeight=b+"px",c.style.maxHeight=a+"px",null==n||n(),requestAnimationFrame(()=>g.current=!0)}},[v,s.trigger,s.valueNode,c,p,w,_,E,s.dir,n]);(0,eF.b)(()=>k(),[k]);let[O,S]=(0,a.useState)();(0,eF.b)(()=>{p&&S(window.getComputedStyle(p).zIndex)},[p]);let T=(0,a.useCallback)(e=>{e&&!0===b.current&&(k(),null==x||x(),b.current=!1)},[k,x]);return(0,a.createElement)(tw,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:g,onScrollButtonChange:T},(0,a.createElement)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},(0,a.createElement)(h.WV.div,(0,o.Z)({},i,{ref:y,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}}))))}),tb=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:i=10,...s}=e,u=ta(r);return(0,a.createElement)(eY,(0,o.Z)({},u,s,{ref:t,align:n,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[tw,t_]=ti(tp,{}),tE="SelectViewport",tx=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,...n}=e,i=ty(tE,r),s=t_(tE,r),u=(0,d.e)(t,i.onViewportChange),c=(0,a.useRef)(0);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,a.createElement)(tt.Slot,{scope:r},(0,a.createElement)(h.WV.div,(0,o.Z)({"data-radix-select-viewport":"",role:"presentation"},n,{ref:u,style:{position:"relative",flex:1,overflow:"auto",...n.style},onScroll:(0,l.M)(n.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=s;if(null!=n&&n.current&&r){let e=Math.abs(c.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(i<n){let o=i+e,a=Math.min(n,o),s=o-a;r.style.height=a+"px","0px"===r.style.bottom&&(t.scrollTop=s>0?s:0,r.style.justifyContent="flex-end")}}}c.current=t.scrollTop})}))))}
2),[tk,tO]=ti("SelectGroup"),tS="SelectItem",[tT,tP]=ti(tS),tA=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,value:n,disabled:i=!1,textValue:s,...u}=e,c=tu(tS,r),f=ty(tS,r),p=c.value===n,[m,y]=(0,a.useState)(null!=s?s:""),[v,g]=(0,a.useState)(!1),b=(0,d.e)(t,e=>{var t;return null===(t=f.itemRefCallback)||void 0===t?void 0:t.call(f,e,n,i)}),w=(0,N.M)(),_=()=>{i||(c.onValueChange(n),c.onOpenChange(!1))};return(0,a.createElement)(tT,{scope:r,value:n,disabled:i,textId:w,isSelected:p,onItemTextChange:(0,a.useCallback)(e=>{y(t=>{var r;return t||(null!==(r=null==e?void 0:e.textContent)&&void 0!==r?r:"").trim()})},[])},(0,a.createElement)(tt.ItemSlot,{scope:r,value:n,disabled:i,textValue:m},(0,a.createElement)(h.WV.div,(0,o.Z)({role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":p&&v,"data-state":p?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1},u,{ref:b,onFocus:(0,l.M)(u.onFocus,()=>g(!0)),onBlur:(0,l.M)(u.onBlur,()=>g(!1)),onPointerUp:(0,l.M)(u.onPointerUp,_),onPointerMove:(0,l.M)(u.onPointerMove,e=>{if(i){var t;null===(t=f.onItemLeave)||void 0===t||t.call(f)}else e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.M)(u.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=f.onItemLeave)||void 0===t||t.call(f)}}),onKeyDown:(0,l.M)(u.onKeyDown,e=>{var t;(null===(t=f.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(e8.includes(e.key)&&_()," "===e.key&&e.preventDefault())})}))))}),tC="SelectItemText",tI=(0,a.forwardRef)((e,t)=>{let{__scopeSelect:r,className:n,style:i,...u}=e,l=tu(tC,r),c=ty(tC,r),f=tP(tC,r),p=tc(tC,r),[m,y]=(0,a.useState)(null),v=(0,d.e)(t,e=>y(e),f.onItemTextChange,e=>{var t;return null===(t=c.itemTextRefCallback)||void 0===t?void 0:t.call(c,e,f.value,f.disabled)}),g=null==m?void 0:m.textContent,b=(0,a.useMemo)(()=>(0,a.createElement)("option",{key:f.value,value:f.value,disabled:f.disabled},g),[f.disabled,f.value,g]),{onNativeOptionAdd:w,onNativeOptionRemove:_}=p;return(0,eF.b)(()=>(w(b),()=>_(b)),[w,_,b]),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(h.WV.span,(0,o.Z)({id:f.textId},u,{ref:v})),f.isSelected&&l.valueNode&&!l.valueNodeHasChildren?(0,s.createPortal)(u.children,l.valueNode):null)}),tN=((e,t)=>{let{__scopeSelect:r,onAutoScroll:n,...i}=e,s=ty("SelectScrollButton",r),u=(0,a.useRef)(null),c=tr(r),d=(0,a.useCallback)(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return(0,a.useEffect)(()=>()=>d(),[d]),(0,eF.b)(()=>{var e;let t=c().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[c]),(0,a.createElement)(h.WV.div,(0,o.Z)({"aria-hidden":!0},i,{ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,l.M)(i.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(n,50))}),onPointerMove:(0,l.M)(i.onPointerMove,()=>{var e;null===(e=s.onItemLeave)||void 0===e||e.call(s),null===u.current&&(u.current=window.setInterval(n,50))}),onPointerLeave:(0,l.M)(i.onPointerLeave,()=>{d()})}))},(0,a.forwardRef)((e,t)=>{let{value:r,...n}=e,i=(0,a.useRef)(null),s=(0,d.e)(t,i),u=function(e){let t=(0,a.useRef)({value:e,previous:e});return(0,a.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(r);return(0,a.useEffect)(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(u!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[u,r]),(0,a.createElement)(e9,{asChild:!0},(0,a.createElement)("select",(0,o.Z)({},n,{ref:s,defaultValue:r})))}));function tD(e){let t=(0,m.W)(e),r=(0,a.useRef)(""),n=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{let i=r.current+e;t(i),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),o=(0,a.useCallback)(()=>{r.current="",window.clearTimeout(n.current)},[]);return(0,a.useEffect)(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function tR(e,t,r){var n;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===i.length&&(o=o.filter(e=>e!==r));let a=o.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return a!==r?a:void 0}tN.displayName="BubbleSelect";let tL=e=>{let{__scopeSelect:t,children:r,open:n,defaultOpen:i,onOpenChange:o,value:s,defaultValue:u,onValueChange:l,dir:c,name:d,autoComplete:f,disabled:h,required:m}=e,y=ta(t),[v,g]=(0,a.useState)(null),[b,w]=(0,a.useState)(null),[_,E]=(0,a.useState)(!1),x=(0,p.gm)(c),[k=!1,O]=(0,e4.T)({prop:n,defaultProp:i,onChange:o}),[S,T]=(0,e4.T)({prop:s,defaultProp:u,onChange:l}),P=(0,a.useRef)(null),A=!v||!!v.closest("form"),[C,I]=(0,a.useState)(new Set),D=Array.from(C).map(e=>e.props.value).join(";");return(0,a.createElement)(e1,y,(0,a.createElement)(ts,{required:m,scope:t,trigger:v,onTriggerChange:g,valueNode:b,onValueNodeChange:w,valueNodeHasChildren:_,onValueNodeHasChildrenChange:E,contentId:(0,N.M)(),value:S,onValueChange:T,open:k,onOpenChange:O,dir:x,triggerPointerDownPosRef:P,disabled:h},(0,a.createElement)(tt.Provider,{scope:t},(0,a.createElement)(tl,{scope:e.__scopeSelect,onNativeOptionAdd:(0,a.useCallback)(e=>{I(t=>new Set(t).add(e))},[]),onNativeOptionRemove:(0,a.useCallback)(e=>{I(t=>{let r=new Set(t);return r.delete(e),r})},[])},r)),A?(0,a.createElement)(tN,{key:D,"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:f,value:S,onChange:e=>T(e.target.value),disabled:h},void 0===S?(0,a.createElement)("option",{value:""}):null,Array.from(C)):null))},tM=td,tj=tf,tV=e=>(0,a.createElement)(e2,(0,o.Z)({asChild:!0},e)),tU=th,tF=tx,t$=tA,tz=tI},82729:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})},47311:function(e,t,r){"use strict";var n=r(83426);t.ZP=n.default||n},87536:function(e,t,r){"use strict";r.d(t,{KN:function(){return I},U2:function(){return h},bc:function(){return C},cI:function(){return eg},t8:function(){return R}});var n=r(67294),i=e=>"checkbox"===e.type,o=e=>e instanceof Date,a=e=>null==e;let s=e=>"object"==typeof e;var u=e=>!a(e)&&!Array.isArray(e)&&s(e)&&!o(e),l=e=>u(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,c=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,d=(e,t)=>e.has(c(t)),f=e=>Array.isArray(e)?e.filter(Boolean):[],p=e=>void 0===e,h=(e,t,r)=>{if(!t||!u(e))return r;let n=f(t.split(/[,[\].]+?/)).reduce((e,t)=>
2a(e)?e:e[t],e);return p(n)||n===e?p(e[t])?r:e[t]:n};let m={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},y={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},v={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},g=n.createContext(null),b=()=>n.useContext(g);var w=(e,t,r,n=!0)=>{let i={};for(let o in e)Object.defineProperty(i,o,{get:()=>(t[o]!==y.all&&(t[o]=!n||y.all),r&&(r[o]=!0),e[o])});return i},_=e=>u(e)&&!Object.keys(e).length,E=(e,t,r)=>{let{name:n,...i}=e;return _(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!r||y.all))},x=e=>Array.isArray(e)?e:[e],k=(e,t,r)=>r&&t?e===t:!e||!t||e===t||x(e).some(e=>e&&(e.startsWith(t)||t.startsWith(e)));function O(e){let t=n.useRef(e);t.current=e,n.useEffect(()=>{let r=e=>{e&&e.unsubscribe()},n=!e.disabled&&t.current.subject.subscribe({next:t.current.callback});return()=>r(n)},[e.disabled])}var S=e=>"string"==typeof e,T=(e,t,r,n)=>{let i=Array.isArray(e);return S(e)?(n&&t.watch.add(e),h(r,e)):i?e.map(e=>(n&&t.watch.add(e),h(r,e))):(n&&(t.watchAll=!0),r)},P=e=>"function"==typeof e,A=e=>{for(let t in e)if(P(e[t]))return!0;return!1};function C(e){let t=b(),{name:r,control:i=t.control,shouldUnregister:o}=e,a=d(i._names.array,r),s=function(e){let t=b(),{control:r=t.control,name:i,defaultValue:o,disabled:a,exact:s}=e||{},l=n.useRef(i);l.current=i;let c=n.useCallback(e=>{if(k(l.current,e.name,s)){let t=T(l.current,r._names,e.values||r._formValues);f(p(l.current)||u(t)&&!A(t)?{...t}:Array.isArray(t)?[...t]:p(t)?o:t)}},[r,s,o]);O({disabled:a,subject:r._subjects.watch,callback:c});let[d,f]=n.useState(p(o)?r._getWatch(i):o);return n.useEffect(()=>{r._removeUnmounted()}),d}({control:i,name:r,defaultValue:h(i._formValues,r,h(i._defaultValues,r,e.defaultValue)),exact:!0}),c=function(e){let t=b(),{control:r=t.control,disabled:i,name:o,exact:a}=e||{},[s,u]=n.useState(r._formState),l=n.useRef({isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=n.useRef(o),d=n.useRef(!0);return c.current=o,O({disabled:i,callback:n.useCallback(e=>d.current&&k(c.current,e.name,a)&&E(e,l.current)&&u({...r._formState,...e}),[r,a]),subject:r._subjects.state}),n.useEffect(()=>(d.current=!0,()=>{d.current=!1}),[]),w(s,r._proxyFormState,l.current,!1)}({control:i,name:r}),f=n.useRef(i.register(r,{...e.rules,value:s}));return n.useEffect(()=>{let e=(e,t)=>{let r=h(i._fields,e);r&&(r._f.mount=t)};return e(r,!0),()=>{let t=i._options.shouldUnregister||o;(a?t&&!i._stateFlags.action:t)?i.unregister(r):e(r,!1)}},[r,i,a,o]),{field:{name:r,value:s,onChange:n.useCallback(e=>{f.current.onChange({target:{value:l(e),name:r},type:m.CHANGE})},[r]),onBlur:n.useCallback(()=>{f.current.onBlur({target:{value:h(i._formValues,r),name:r},type:m.BLUR})},[r,i]),ref:n.useCallback(e=>{let t=h(i._fields,r);e&&t&&e.focus&&(t._f.ref={focus:()=>e.focus(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[r,i._fields])},formState:c,fieldState:Object.defineProperties({},{invalid:{get:()=>!!h(c.errors,r)},isDirty:{get:()=>!!h(c.dirtyFields,r)},isTouched:{get:()=>!!h(c.touchedFields,r)},error:{get:()=>h(c.errors,r)}})}}var I=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},N=e=>/^\w*$/.test(e),D=e=>f(e.replace(/["|']|\]/g,"").split(/\.|\[/));function R(e,t,r){let n=-1,i=N(t)?[t]:D(t),o=i.length,a=o-1;for(;++n<o;){let t=i[n],o=r;if(n!==a){let r=e[t];
2o=u(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}e[t]=o,e=e[t]}return e}let L=(e,t,r)=>{for(let n of r||Object.keys(e)){let r=h(e,n);if(r){let{_f:e,...n}=r;if(e&&t(e.name)){if(e.ref.focus&&p(e.ref.focus()))break;if(e.refs){e.refs[0].focus();break}}else u(n)&&L(n,t)}}};var M=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),j="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function V(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(j&&(e instanceof Blob||e instanceof FileList))&&(r||u(e))))return e;else for(let n in t=r?[]:{},e){if(P(e[n])){t=e;break}t[n]=V(e[n])}return t}function U(e,t){let r;let n=N(t)?[t]:D(t),i=1==n.length?e:function(e,t){let r=t.slice(0,-1).length,n=0;for(;n<r;)e=p(e)?n++:e[t[n++]];return e}(e,n),o=n[n.length-1];i&&delete i[o];for(let t=0;t<n.slice(0,-1).length;t++){let i,o=-1,a=n.slice(0,-(t+1)),s=a.length-1;for(t>0&&(r=e);++o<a.length;){let t=a[o];i=i?i[t]:e[t],s===o&&(u(i)&&_(i)||Array.isArray(i)&&!i.filter(e=>!p(e)).length)&&(r?delete r[t]:delete e[t]),r=i}}return e}function F(){let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}}var $=e=>a(e)||!s(e);function z(e,t){if($(e)||$(t))return e===t;if(o(e)&&o(t))return e.getTime()===t.getTime();let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i of r){let r=e[i];if(!n.includes(i))return!1;if("ref"!==i){let e=t[i];if(o(r)&&o(e)||u(r)&&u(e)||Array.isArray(r)&&Array.isArray(e)?!z(r,e):r!==e)return!1}}return!0}var H=e=>({isOnSubmit:!e||e===y.onSubmit,isOnBlur:e===y.onBlur,isOnChange:e===y.onChange,isOnAll:e===y.all,isOnTouch:e===y.onTouched}),B=e=>"boolean"==typeof e,Z=e=>"file"===e.type,W=e=>{let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},q=e=>"select-multiple"===e.type,K=e=>"radio"===e.type,G=e=>K(e)||i(e),Y=e=>W(e)&&e.isConnected;function X(e,t={}){let r=Array.isArray(e);if(u(e)||r)for(let r in e)Array.isArray(e[r])||u(e[r])&&!A(e[r])?(t[r]=Array.isArray(e[r])?[]:{},X(e[r],t[r])):a(e[r])||(t[r]=!0);return t}var J=(e,t)=>(function e(t,r,n){let i=Array.isArray(t);if(u(t)||i)for(let i in t)Array.isArray(t[i])||u(t[i])&&!A(t[i])?p(r)||$(n[i])?n[i]=Array.isArray(t[i])?X(t[i],[]):{...X(t[i])}:e(t[i],a(r)?{}:r[i],n[i]):n[i]=!z(t[i],r[i]);return n})(e,t,X(t));let Q={value:!1,isValid:!1},ee={value:!0,isValid:!0};var et=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!p(e[0].attributes.value)?p(e[0].value)||""===e[0].value?ee:{value:e[0].value,isValid:!0}:ee:Q}return Q},er=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>p(e)?e:t?""===e||a(e)?NaN:+e:r&&S(e)?new Date(e):n?n(e):e;let en={isValid:!1,value:null};var ei=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,en):en;function eo(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:Z(t)?t.files:K(t)?ei(e.refs).value:q(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?et(e.refs).value:er(p(t.value)?e.ref.value:t.value,e)}var ea=(e,t,r,n)=>{let i={};for(let r of e){let e=h(t,r);e&&R(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},es=e=>e instanceof RegExp,eu=e=>p(e)?void 0:es(e)?e.source:u(e)?es(e.value)?e.value.source:e.value:e,el=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ec(e,t,r){let n=h(e,r);if(n||N(r))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),o=h(t,n),a=h(e,n);if(o&&!Array.isArray(o)&&r!==n)break;if(a&&a.type)return{name:n,error:a};i.pop()}return{name:r}}var ed=(e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?!n.isOnChange:!i.isOnChange)||e),ef=(e,t)=>!f(h(e,t)).length&&U(e,t),ep=e=>S(e)||n.isValidElement(e);function eh(e,t,r="validate"){if(ep(e)||Array.isArray(e)&&e.every(ep)||B(e)&&!e)return{type:r,message:ep(e)?e:"",ref:t}}var em=e=>u(e)&&!es(e)?e:{value:e,message:""},ey=async(e,t,r,n)=>{let{ref:o,refs:s,required:l,maxLength:c,minLength:d,min:f,max:p,pattern:h,validate:m,name:y,valueAsNumber:g,mount:b,disabled:w}=e._f;if(!b||w)return{};let E=s?s[0]:o,x=e=>{n&&E.reportValidity&&(E.setCustomValidity(B(e)?"":e||" "),E.reportValidity())},k={},O=K(o),T=i(o),A=(g||Z(o))&&!o.value||""===t||Array.isArray(t)&&!t.length,C=I.bind(null,y,r,k),N=(e,t,r,n=v.maxLength,i=v.minLength)=>{let a=e?t:r;k[y]={type:e?n:i,message:a,ref:o,...C(e?n:i,a)}};if(l&&(!(O||T)&&(A||a(t))||B(t)&&!t||T&&!et(s).isValid||O&&!ei(s).isValid)){let{value:e,message:t}=ep(l)?{value:!!l,message:l}:em(l);
2if(e&&(k[y]={type:v.required,message:t,ref:E,...C(v.required,t)},!r))return x(t),k}if(!A&&(!a(f)||!a(p))){let e,n;let i=em(p),s=em(f);if(a(t)||isNaN(t)){let r=o.valueAsDate||new Date(t);S(i.value)&&(e=r>new Date(i.value)),S(s.value)&&(n=r<new Date(s.value))}else{let r=o.valueAsNumber||+t;a(i.value)||(e=r>i.value),a(s.value)||(n=r<s.value)}if((e||n)&&(N(!!e,i.message,s.message,v.max,v.min),!r))return x(k[y].message),k}if((c||d)&&!A&&S(t)){let e=em(c),n=em(d),i=!a(e.value)&&t.length>e.value,o=!a(n.value)&&t.length<n.value;if((i||o)&&(N(i,e.message,n.message),!r))return x(k[y].message),k}if(h&&!A&&S(t)){let{value:e,message:n}=em(h);if(es(e)&&!t.match(e)&&(k[y]={type:v.pattern,message:n,ref:o,...C(v.pattern,n)},!r))return x(n),k}if(m){if(P(m)){let e=eh(await m(t),E);if(e&&(k[y]={...e,...C(v.validate,e.message)},!r))return x(e.message),k}else if(u(m)){let e={};for(let n in m){if(!_(e)&&!r)break;let i=eh(await m[n](t),E,n);i&&(e={...i,...C(n,i.message)},x(i.message),r&&(k[y]=e))}if(!_(e)&&(k[y]={ref:E,...e},!r))return k}}return x(!0),k};let ev={mode:y.onSubmit,reValidateMode:y.onChange,shouldFocusError:!0};function eg(e={}){let t=n.useRef(),[r,s]=n.useState({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}});t.current?t.current.control._options=e:t.current={...function(e={}){let t,r={...ev,...e},n={isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}},s={},u=V(r.defaultValues)||{},c=r.shouldUnregister?{}:V(u),v={action:!1,mount:!1,watch:!1},g={mount:new Set,unMount:new Set,array:new Set,watch:new Set},b=0,w={},E={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},k={watch:F(),array:F(),state:F()},O=H(r.mode),A=H(r.reValidateMode),C=r.criteriaMode===y.all,I=e=>t=>{clearTimeout(b),b=window.setTimeout(e,t)},N=async e=>{let t=!1;
2return E.isValid&&(t=r.resolver?_((await ee()).errors):await en(s,!0),e||t===n.isValid||(n.isValid=t,k.state.next({isValid:t}))),t},D=(e,t)=>(R(n.errors,e,t),k.state.next({errors:n.errors})),K=(e,t,r,n)=>{let i=h(s,e);if(i){let o=h(c,e,p(r)?h(u,e):r);p(o)||n&&n.defaultChecked||t?R(c,e,t?o:eo(i._f)):ep(e,o),v.mount&&N()}},X=(e,t,r,i,o)=>{let a=!1,s={name:e},l=h(n.touchedFields,e);if(E.isDirty){let e=n.isDirty;n.isDirty=s.isDirty=ei(),a=e!==s.isDirty}if(E.dirtyFields&&(!r||i)){let r=h(n.dirtyFields,e);z(h(u,e),t)?U(n.dirtyFields,e):R(n.dirtyFields,e,!0),s.dirtyFields=n.dirtyFields,a=a||r!==h(n.dirtyFields,e)}return r&&!l&&(R(n.touchedFields,e,r),s.touchedFields=n.touchedFields,a=a||E.touchedFields&&l!==r),a&&o&&k.state.next(s),a?s:{}},Q=async(r,i,o,a)=>{let s=h(n.errors,r),u=E.isValid&&n.isValid!==i;if(e.delayError&&o?(t=t||I(()=>D(r,o)))(e.delayError):(clearTimeout(b),t=null,o?R(n.errors,r,o):U(n.errors,r)),(o?!z(s,o):s)||!_(a)||u){let e={...a,...u?{isValid:i}:{},errors:n.errors,name:r};n={...n,...e},k.state.next(e)}w[r]--,E.isValidating&&!Object.values(w).some(e=>e)&&(k.state.next({isValidating:!1}),w={})},ee=async e=>r.resolver?await r.resolver({...c},r.context,ea(e||g.mount,s,r.criteriaMode,r.shouldUseNativeValidation)):{},et=async e=>{let{errors:t}=await ee();if(e)for(let r of e){let e=h(t,r);e?R(n.errors,r,e):U(n.errors,r)}else n.errors=t;return t},en=async(e,t,i={valid:!0})=>{for(let o in e){let a=e[o];if(a){let{_f:e,...o}=a;if(e){let o=await ey(a,h(c,e.name),C,r.shouldUseNativeValidation);if(o[e.name]&&(i.valid=!1,t))break;t||(o[e.name]?R(n.errors,e.name,o[e.name]):U(n.errors,e.name))}o&&await en(o,t,i)}}return i.valid},ei=(e,t)=>(e&&t&&R(c,e,t),!z(ew(),u)),es=(e,t,r)=>{let n={...v.mount?c:p(t)?u:S(e)?{[e]:t}:t};return T(e,g,n,r)},ep=(e,t,r={})=>{let n=h(s,e),o=t;if(n){let r=n._f;r&&(r.disabled||R(c,e,er(t,r)),o=j&&W(r.ref)&&a(t)?"":t,q(r.ref)?[...r.ref.options].forEach(e=>e.selected=o.includes(e.value)):r.refs?i(r.ref)?r.refs.length>1?r.refs.forEach(e=>!e.disabled&&(e.checked=Array.isArray(o)?!!o.find(t=>t===e.value):o===e.value)):r.refs[0]&&(r.refs[0].checked=!!o):r.refs.forEach(e=>e.checked=e.value===o):Z(r.ref)?r.ref.value="":(r.ref.value=o,r.ref.type||k.watch.next({name:e})))}(r.shouldDirty||r.shouldTouch)&&X(e,o,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eb(e)},eh=(e,t,r)=>{for(let n in t){let i=t[n],a=`${e}.${n}`,u=h(s,a);!g.array.has(e)&&$(i)&&(!u||u._f)||o(i)?ep(a,i,r):eh(a,i,r)}},em=(e,t,r={})=>{let i=h(s,e),o=g.array.has(e),l=V(t);R(c,e,l),o?(k.array.next({name:e,values:c}),(E.isDirty||E.dirtyFields)&&r.shouldDirty&&(n.dirtyFields=J(u,c),k.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:ei(e,l)}))):!i||i._f||a(l)?ep(e,l,r):eh(e,l,r),M(e,g)&&k.state.next({}),k.watch.next({name:e})},eg=async e=>{let i=e.target,o=i.name,a=h(s,o);if(a){let u,d;let f=i.type?eo(a._f):l(e),p=e.type===m.BLUR||e.type===m.FOCUS_OUT,y=!el(a._f)&&!r.resolver&&!h(n.errors,o)&&!a._f.deps||ed(p,h(n.touchedFields,o),n.isSubmitted,A,O),v=M(o,g,p);R(c,o,f),p?(a._f.onBlur&&a._f.onBlur(e),t&&t(0)):a._f.onChange&&a._f.onChange(e);let b=X(o,f,p,!1),E=!_(b)||v;if(p||k.watch.next({name:o,type:e.type}),y)return E&&k.state.next({name:o,...v?{}:b});if(!p&&v&&k.state.next({}),w[o]=(w[o],1),k.state.next({isValidating:!0}),r.resolver){let{errors:e}=await ee([o]),t=ec(n.errors,s,o),r=ec(e,s,t.name||o);u=r.error,o=r.name,d=_(e)}else u=(await ey(a,h(c,o),C,r.shouldUseNativeValidation))[o],d=await N(!0);a._f.deps&&eb(a._f.deps),Q(o,d,u,b)}},eb=async(e,t={})=>{let i,o;let a=x(e);if(k.state.next({isValidating:!0}),r.resolver){let t=await et(p(e)?e:a);i=_(t),o=e?!a.some(e=>h(t,e)):i}else e?((o=(await Promise.all(a.map(async e=>{let t=h(s,e);return await en(t&&t._f?{[e]:t}:t)}))).every(Boolean))||n.isValid)&&N():o=i=await en(s);return k.state.next({...!S(e)||E.isValid&&i!==n.isValid?{}:{name:e},...r.resolver?{isValid:i}:{},errors:n.errors,isValidating:!1}),t.shouldFocus&&!o&&L(s,e=>h(n.errors,e),e?a:g.mount),o},ew=e=>{let t={...u,...v.mount?c:{}};return p(e)?t:S(e)?h(t,e):e.map(e=>h(t,e))},e_=(e,t)=>({invalid:!!h((t||n).errors,e),isDirty:!!h((t||n).dirtyFields,e),isTouched:!!h((t||n).touchedFields,e),error:h((t||n).errors,e)}),eE=(e,t={})=>{for(let i of e?x(e):g.mount)g.mount.delete(i),g.array.delete(i),h(s,i)&&(t.keepValue||(U(s,i),U(c,i)),t.keepError||U(n.errors,i),t.keepDirty||U(n.dirtyFields,i),t.keepTouched||U(n.touchedFields,i),r.shouldUnregister||t.keepDefaultValue||U(u,i));k.watch.next({}),k.state.next({...n,...t.keepDirty?{isDirty:ei()}:{}}),t.keepIsValid||N()},ex=(e,t={})=>{let n=h(s,e),i=B(t.disabled);return R(s,e,{_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),g.mount.add(e),n?i&&R(c,e,t.disabled?void 0:h(c,e,eo(n._f))):K(e,!0,t.value),{...i?{disabled:t.disabled}:{},...r.shouldUseNativeValidation?{required:!!t.required,min:eu(t.min),max:eu(t.max),minLength:eu(t.minLength),maxLength:eu(t.maxLength),pattern:eu(t.pattern)}:{}
2,name:e,onChange:eg,onBlur:eg,ref:i=>{if(i){ex(e,t),n=h(s,e);let r=p(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o=G(r),a=n._f.refs||[];(o?a.find(e=>e===r):r===n._f.ref)||(R(s,e,{_f:{...n._f,...o?{refs:[...a.filter(Y),r,...Array.isArray(h(u,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),K(e,!1,void 0,r))}else(n=h(s,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(d(g.array,e)&&v.action)&&g.unMount.add(e)}}};return{control:{register:ex,unregister:eE,getFieldState:e_,_executeSchema:ee,_getWatch:es,_getDirty:ei,_updateValid:N,_removeUnmounted:()=>{for(let e of g.unMount){let t=h(s,e);t&&(t._f.refs?t._f.refs.every(e=>!Y(e)):!Y(t._f.ref))&&eE(e)}g.unMount=new Set},_updateFieldArray:(e,t=[],r,i,o=!0,a=!0)=>{if(i&&r){if(v.action=!0,a&&Array.isArray(h(s,e))){let t=r(h(s,e),i.argA,i.argB);o&&R(s,e,t)}if(E.errors&&a&&Array.isArray(h(n.errors,e))){let t=r(h(n.errors,e),i.argA,i.argB);o&&R(n.errors,e,t),ef(n.errors,e)}if(E.touchedFields&&a&&Array.isArray(h(n.touchedFields,e))){let t=r(h(n.touchedFields,e),i.argA,i.argB);o&&R(n.touchedFields,e,t)}E.dirtyFields&&(n.dirtyFields=J(u,c)),k.state.next({isDirty:ei(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else R(c,e,t)},_getFieldArray:t=>f(h(v.mount?c:u,t,e.shouldUnregister?h(u,t,[]):[])),_subjects:k,_proxyFormState:E,get _fields(){return s},get _formValues(){return c},get _stateFlags(){return v},set _stateFlags(value){v=value},get _defaultValues(){return u},get _names(){return g},set _names(value){g=value},get _formState(){return n},set _formState(value){n=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:eb,register:ex,handleSubmit:(e,t)=>async i=>{i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=!0,a=V(c);k.state.next({isSubmitting:!0});try{if(r.resolver){let{errors:e,values:t}=await ee();n.errors=e,a=t}else await en(s);_(n.errors)?(k.state.next({errors:{},isSubmitting:!0}),await e(a,i)):(t&&await t({...n.errors},i),r.shouldFocusError&&L(s,e=>h(n.errors,e),g.mount))}catch(e){throw o=!1,e}finally{n.isSubmitted=!0,k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:_(n.errors)&&o,submitCount:n.submitCount+1,errors:n.errors})}},watch:(e,t)=>P(e)?k.watch.subscribe({next:r=>e(es(void 0,t),r)}):es(e,t,!0),setValue:em,getValues:ew,reset:(t,r={})=>{let i=t||u,o=V(i),a=t&&!_(t)?o:u;if(r.keepDefaultValues||(u=i),!r.keepValues){if(r.keepDirtyValues)for(let e of g.mount)h(n.dirtyFields,e)?R(a,e,h(c,e)):em(e,h(a,e));else{if(j&&p(t))for(let e of g.mount){let t=h(s,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;try{W(e)&&e.closest("form").reset();break}catch(e){}}}s={}}c=e.shouldUnregister?r.keepDefaultValues?V(u):{}:o,k.array.next({values:a}),k.watch.next({values:a})}g={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},v.mount=!E.isValid||!!r.keepIsValid,v.watch=!!e.shouldUnregister,k.state.next({submitCount:r.keepSubmitCount?n.submitCount:0,isDirty:r.keepDirty||r.keepDirtyValues?n.isDirty:!!(r.keepDefaultValues&&!z(t,u)),isSubmitted:!!r.keepIsSubmitted&&n.isSubmitted,dirtyFields:r.keepDirty||r.keepDirtyValues?n.dirtyFields:r.keepDefaultValues&&t?J(u,t):{},touchedFields:r.keepTouched?n.touchedFields:{},errors:r.keepErrors?n.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},resetField:(e,t={})=>{h(s,e)&&(p(t.defaultValue)?em(e,h(u,e)):(em(e,t.defaultValue),R(u,e,t.defaultValue)),t.keepTouched||U(n.touchedFields,e),t.keepDirty||(U(n.dirtyFields,e),n.isDirty=t.defaultValue?ei(e,h(u,e)):ei()),!t.keepError&&(U(n.errors,e),E.isValid&&N()),k.state.next({...n}))},clearErrors:e=>{e?x(e).forEach(e=>U(n.errors,e)):n.errors={},k.state.next({errors:n.errors})},unregister:eE,setError:(e,t,r)=>{let i=(h(s,e,{_f:{}})._f||{}).ref;R(n.errors,e,{...t,ref:i}),k.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&i&&i.focus&&i.focus()},setFocus:(e,t={})=>{let r=h(s,e)._f,n=r.refs?r.refs[0]:r.ref;t.shouldSelect?n.select():n.focus()},getFieldState:e_}}(e),formState:r};let u=t.current.control,c=n.useCallback(e=>{E(e,u._proxyFormState,!0)&&(u._formState={...u._formState,...e},s({...u._formState}))},[u]);return O({subject:u._subjects.state,callback:c}),n.useEffect(()=>
2{u._stateFlags.mount||(u._proxyFormState.isValid&&u._updateValid(),u._stateFlags.mount=!0),u._stateFlags.watch&&(u._stateFlags.watch=!1,u._subjects.state.next({})),u._removeUnmounted()}),t.current.formState=w(r,u._proxyFormState),t.current}},46524:function(e,t,r){"use strict";r.r(t),r.d(t,{ACTION_CLOSE:function(){return $},ACTION_NEXT:function(){return U},ACTION_PREV:function(){return V},ACTION_SWIPE:function(){return F},ACTIVE_SLIDE_COMPLETE:function(){return D},ACTIVE_SLIDE_ERROR:function(){return N},ACTIVE_SLIDE_LOADING:function(){return C},ACTIVE_SLIDE_PLAYING:function(){return I},CLASS_FLEX_CENTER:function(){return L},CLASS_FULLSIZE:function(){return R},CLASS_NO_SCROLL:function(){return M},CLASS_NO_SCROLL_PADDING:function(){return j},Carousel:function(){return t_},CarouselModule:function(){return tE},CloseIcon:function(){return eX},Controller:function(){return ty},ControllerContext:function(){return th},ControllerModule:function(){return tv},ELEMENT_BUTTON:function(){return Q},ELEMENT_ICON:function(){return ee},EVENT_ON_KEY_DOWN:function(){return q},EVENT_ON_KEY_UP:function(){return K},EVENT_ON_POINTER_CANCEL:function(){return W},EVENT_ON_POINTER_DOWN:function(){return z},EVENT_ON_POINTER_LEAVE:function(){return Z},EVENT_ON_POINTER_MOVE:function(){return H},EVENT_ON_POINTER_UP:function(){return B},EVENT_ON_WHEEL:function(){return G},ErrorIcon:function(){return e1},EventsContext:function(){return eN},EventsProvider:function(){return eR},IMAGE_FIT_CONTAIN:function(){return et},IMAGE_FIT_COVER:function(){return er},IconButton:function(){return eq},ImageSlide:function(){return ta},Lightbox:function(){return tV},LightboxDefaultProps:function(){return eo},LightboxDispatchContext:function(){return eF},LightboxPropsContext:function(){return eL},LightboxPropsProvider:function(){return ej},LightboxStateContext:function(){return eV},LightboxStateProvider:function(){return eH},LoadingIcon:function(){return e0},MODULE_CAROUSEL:function(){return u},MODULE_CONTROLLER:function(){return l},MODULE_NAVIGATION:function(){return c},MODULE_NO_SCROLL:function(){return d},MODULE_PORTAL:function(){return f},MODULE_ROOT:function(){return p},MODULE_TOOLBAR:function(){return h},Navigation:function(){return tk},NavigationButton:function(){return tx},NavigationModule:function(){return tO},NextIcon:function(){return eQ},NoScroll:function(){return tA},NoScrollModule:function(){return tC},PLUGIN_CAPTIONS:function(){return m},PLUGIN_COUNTER:function(){return y},PLUGIN_DOWNLOAD:function(){return v},PLUGIN_FULLSCREEN:function(){return g},PLUGIN_INLINE:function(){return b},PLUGIN_SHARE:function(){return w},PLUGIN_SLIDESHOW:function(){return _},PLUGIN_THUMBNAILS:function(){return E},PLUGIN_ZOOM:function(){return x},Portal:function(){return tN},PortalModule:function(){return tD},PreviousIcon:function(){return eJ},Root:function(){return tR},RootModule:function(){return tL},SLIDE_STATUS_COMPLETE:function(){return T},SLIDE_STATUS_ERROR:function(){return S},SLIDE_STATUS_LOADING:function(){return k},SLIDE_STATUS_PLACEHOLDER:function(){return P},SLIDE_STATUS_PLAYING:function(){return O},SwipeState:function(){return o},TimeoutsContext:function(){return eB},TimeoutsProvider:function(){return eW},Toolbar:function(){return tM},ToolbarModule:function(){return tj},UNKNOWN_ACTION_TYPE:function(){return en},VK_ARROW_LEFT:function(){return X},VK_ARROW_RIGHT:function(){return J},VK_ESCAPE:function(){return Y},activeSlideStatus:function(){return A},addToolbarButton:function(){return eC},cleanup:function(){return ev},clsx:function(){return ec},composePrefix:function(){return eh},computeSlideRect:function(){return ek},createIcon:function(){return eG},createIconDisabled:function(){return eY},createModule:function(){return ea},createNode:function(){return es},cssClass:function(){return ef},cssVar:function(){return ep},default:function(){return tV},devicePixelRatio:function(){return eO},getSlide:function(){return eP},getSlideIfPresent:function(){return eA},getSlideIndex:function(){return eS},hasSlides:function(){return eT},hasWindow:function(){return eb},isImageFitCover:function(){return eE},isImageSlide:function(){return e_},label:function(){return ey},makeComposePrefix:function(){return em},makeUseContext:function(){return eg},parseLengthPercentage:function(){return ex},round:function(){return ew},setRef:function(){return e7},stopNavigationEventsPropagation:function(){return eI},useAnimation:function(){return e4},useContainerRect:function(){return e9},useController:function(){return tm},useDelay:function(){return e5},useEventCallback:function(){return e6},useEvents:function(){return eD},useForkRef:function(){return e8},useLayoutEffect:function(){return e2}
2,useLightboxDispatch:function(){return e$},useLightboxProps:function(){return eM},useLightboxState:function(){return eU},useLoseFocus:function(){return te},useMotionPreference:function(){return e3},usePointerEvents:function(){return ts},usePointerSwipe:function(){return tu},usePreventSwipeNavigation:function(){return td},useRTL:function(){return tt},useSensors:function(){return tr},useThrottle:function(){return tn},useTimeouts:function(){return eZ},useWheelSwipe:function(){return tf},withPlugins:function(){return el}});var n,i,o,a,s=r(67294);let u="carousel",l="controller",c="navigation",d="no-scroll",f="portal",p="root",h="toolbar",m="captions",y="counter",v="download",g="fullscreen",b="inline",w="share",_="slideshow",E="thumbnails",x="zoom",k="loading",O="playing",S="error",T="complete",P="placeholder",A=e=>`active-slide-${e}`,C=A(k),I=A(O),N=A(S),D=A(T),R="fullsize",L="flex_center",M="no_scroll",j="no_scroll_padding",V="prev",U="next",F="swipe",$="close",z="onPointerDown",H="onPointerMove",B="onPointerUp",Z="onPointerLeave",W="onPointerCancel",q="onKeyDown",K="onKeyUp",G="onWheel",Y="Escape",X="ArrowLeft",J="ArrowRight",Q="button",ee="icon",et="contain",er="cover",en="Unknown action type";var ei=r(73935);let eo={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[$]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:et,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullDown:!1,closeOnBackdropClick:!1},portal:{},on:{},styles:{},className:""};function ea(e,t){return{name:e,component:t}}function es(e,t){return{module:e,children:t}}function eu(e,t,r){return e.flatMap(e=>{var n;return null!==(n=function e(t,r,n){return t.module.name===r?n(t):t.children?[es(t.module,t.children.flatMap(t=>{var i;return null!==(i=e(t,r,n))&&void 0!==i?i:[]}))]:[t]}(e,t,r))&&void 0!==n?n:[]})}function el(e,t=[],r=[]){let n=e,i=e=>{let t=[...n];for(;t.length>0;){let r=t.pop();if((null==r?void 0:r.module.name)===e)return!0;(null==r?void 0:r.children)&&t.push(...r.children)}return!1},o=(e,t)=>{if(""===e){n=[es(t,n)];return}n=eu(n,e,e=>[es(t,[e])])},a=(e,t)=>{n=eu(n,e,e=>[es(e.module,[es(t,e.children)])])},s=(e,t,r)=>{n=eu(n,e,e=>{var n;return[es(e.module,[...r?[es(t)]:[],...null!==(n=e.children)&&void 0!==n?n:[],...r?[]:[es(t)]])]})},u=(e,t,r)=>{n=eu(n,e,e=>[...r?[es(t)]:[],e,...r?[]:[es(t)]])},c=e=>{a(l,e)},d=(e,t)=>{n=eu(n,e,e=>[es(t,e.children)])},f=e=>{n=eu(n,e,e=>e.children)},p=e=>{r.push(e)};return t.forEach(e=>{e({contains:i,addParent:o,append:a,addChild:s,addSibling:u,addModule:c,replace:d,remove:f,augment:p})}),{config:n,augmentation:e=>r.reduce((e,t)=>t(e),e)}}let ec=(...e)=>[...e].filter(e=>!!e).join(" "),ed="yarl__",ef=e=>`${ed}${e}`,ep=e=>`--${ed}${e}`,eh=(e,t)=>`${e}${t?`_${t}`:""}`,em=e=>t=>eh(e,t),ey=(e,t)=>e&&e[t]?e[t]:t,ev=(...e)=>()=>{e.forEach(e=>{e()})},eg=(e,t,r)=>()=>{let n=s.useContext(r);if(!n)throw Error(`${e} must be used within a ${t}.Provider`);return n},eb=()=>"undefined"!=typeof window;function ew(e,t=0){let r=10**t;return Math.round((e+Number.EPSILON)*r)/r}let e_=e=>void 0===e.type||"image"===e.type,eE=(e,t)=>e.imageFit===er||e.imageFit!==et&&t===er;function ex(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=parseInt(e,10);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function ek(e,t){let r=ex(t),n=void 0!==r.percent?e.width/100*r.percent:r.pixel;return{width:Math.max(e.width-2*n,0),height:Math.max(e.height-2*n,0)}}let eO=()=>(eb()?null==window?void 0:window.devicePixelRatio:void 0)||1,eS=(e,t)=>t>0?(e%t+t)%t:0,eT=e=>e.length>0,eP=(e,t)=>e[eS(t,e.length)],eA=(e,t)=>eT(e)?eP(e,t):void 0;function eC(e,t,r){if(!r)return e;let{buttons:n,...i}=e,o=n.findIndex(e=>e===t),a=s.isValidElement(r)?s.cloneElement(r,{key:t},null):r;if(o>=0){let e=[...n];return e.splice(o,1,a),{buttons:e,...i}}return{buttons:[a,...n],...i}}function eI(){let e=e=>{e.stopPropagation()};return{onPointerDown:e,onKeyDown:e,onWheel:e}}let eN=s.createContext(null),eD=eg("useEvents","EventsContext",eN);function eR({children:e}){let[t]=s.useState({});s.useEffect(()=>()=>
2{Object.keys(t).forEach(e=>delete t[e])},[t]);let r=s.useMemo(()=>{let e=(e,r)=>{var n;null===(n=t[e])||void 0===n||n.splice(0,t[e].length,...t[e].filter(e=>e!==r))};return{publish:(...[e,r])=>{var n;null===(n=t[e])||void 0===n||n.forEach(e=>e(r))},subscribe:(r,n)=>(t[r]||(t[r]=[]),t[r].push(n),()=>e(r,n)),unsubscribe:e}},[t]);return s.createElement(eN.Provider,{value:r},e)}let eL=s.createContext(null),eM=eg("useLightboxProps","LightboxPropsContext",eL);function ej({children:e,...t}){return s.createElement(eL.Provider,{value:t},e)}let eV=s.createContext(null),eU=eg("useLightboxState","LightboxStateContext",eV),eF=s.createContext(null),e$=eg("useLightboxDispatch","LightboxDispatchContext",eF);function ez(e,t){switch(t.type){case"swipe":{let{slides:r}=e,n=(null==t?void 0:t.increment)||0,i=e.globalIndex+n,o=eS(i,r.length),a=eA(r,o);return{slides:r,currentIndex:o,globalIndex:i,currentSlide:a,animation:n||t.duration?{increment:n,duration:t.duration,easing:t.easing}:void 0}}case"update":return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:eA(t.slides,t.index)};default:throw Error(en)}}function eH({slides:e,index:t,children:r}){let[n,i]=s.useReducer(ez,{slides:e,currentIndex:t,globalIndex:t,currentSlide:eA(e,t)});s.useEffect(()=>{i({type:"update",slides:e,index:t})},[e,t]);let o=s.useMemo(()=>({...n,state:n,dispatch:i}),[n,i]);return s.createElement(eF.Provider,{value:i},s.createElement(eV.Provider,{value:o},r))}let eB=s.createContext(null),eZ=eg("useTimeouts","TimeoutsContext",eB);function eW({children:e}){let[t]=s.useState([]);s.useEffect(()=>()=>{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);let r=s.useMemo(()=>{let e=e=>{t.splice(0,t.length,...t.filter(t=>t!==e))};return{setTimeout:(r,n)=>{let i=window.setTimeout(()=>{e(i),r()},n);return t.push(i),i},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[t]);return s.createElement(eB.Provider,{value:r},e)}let eq=s.forwardRef(function({label:e,className:t,icon:r,renderIcon:n,onClick:i,style:o,...a},u){let{styles:l,labels:c}=eM();return s.createElement("button",{ref:u,type:"button","aria-label":ey(c,e),className:ec(ef(Q),t),onClick:i,style:{...o,...l.button},...a},n?n():s.createElement(r,{className:ef(ee),style:l.icon}))});function eK(e,t){let r=e=>s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return r.displayName=e,r}function eG(e,t){return eK(e,s.createElement("g",{fill:"currentColor"},s.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function eY(e,t){return eK(e,s.createElement(s.Fragment,null,s.createElement("defs",null,s.createElement("mask",{id:"strike"},s.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),s.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),s.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),s.createElement("g",{fill:"currentColor",mask:"url(#strike)"},s.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let eX=eG("Close",s.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),eJ=eG("Previous",s.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),eQ=eG("Next",s.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),e0=eG("Loading",s.createElement(s.Fragment,null,Array.from({length:8}).map((e,t,r)=>s.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/r.length*(t+1),transform:`rotate(${360/r.length*t}, 12, 12)`})))),e1=eG("Error",s.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),e2=eb()?s.useLayoutEffect:s.useEffect;function e3(){let[e,t]=s.useState(!1);return s.useEffect(()=>{var e,r;let n=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==n?void 0:n.matches);let i=e=>t(e.matches);return null===(r=null==n?void 0:n.addEventListener)||void 0===r||r.call(n,"change",i
2),()=>{var e;return null===(e=null==n?void 0:n.removeEventListener)||void 0===e?void 0:e.call(n,"change",i)}},[]),e}function e4(e,t){let r=s.useRef(),n=s.useRef(),i=e3();return e2(()=>{var o,a,s;if(e.current&&void 0!==r.current&&!i){let{keyframes:i,duration:u,easing:l,onfinish:c}=t(r.current,e.current.getBoundingClientRect(),function(e){let t=0,r=0,n=0,i=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(i){let e=i[1].split(",").map(e=>Number.parseInt(e,10));6===e.length?(t=e[4],r=e[5]):16===e.length&&(t=e[12],r=e[13],n=e[14])}return{x:t,y:r,z:n}}(e.current))||{};if(i&&u){null===(o=n.current)||void 0===o||o.cancel(),n.current=void 0;try{n.current=null===(s=(a=e.current).animate)||void 0===s?void 0:s.call(a,i,{duration:u,easing:l})}catch(e){console.error(e)}n.current&&(n.current.onfinish=()=>{n.current=void 0,null==c||c()})}}r.current=void 0}),{prepareAnimation:e=>{r.current=e},isAnimationPlaying:()=>{var e;return(null===(e=n.current)||void 0===e?void 0:e.playState)==="running"}}}function e9(){let[e,t]=s.useState(),r=s.useRef(null),n=s.useRef(),i=s.useCallback(e=>{r.current=e,n.current&&(n.current.disconnect(),n.current=void 0);let i=()=>{if(e){let r=window.getComputedStyle(e),n=e=>parseFloat(e)||0;t({width:Math.round(e.clientWidth-n(r.paddingLeft)-n(r.paddingRight)),height:Math.round(e.clientHeight-n(r.paddingTop)-n(r.paddingBottom))})}else t(void 0)};i(),e&&"undefined"!=typeof ResizeObserver&&(n.current=new ResizeObserver(i),n.current.observe(e))},[]);return s.useMemo(()=>({setContainerRef:i,containerRef:r,containerRect:e}),[i,r,e])}function e5(){let e=s.useRef(),{setTimeout:t,clearTimeout:r}=eZ();return s.useCallback((n,i)=>{r(e.current),e.current=t(n,i>0?i:0)},[t,r])}function e6(e){let t=s.useRef(e);return e2(()=>{t.current=e}),s.useCallback((...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)},[])}function e7(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function e8(e,t){return s.useMemo(()=>null==e&&null==t?null:r=>{e7(e,r),e7(t,r)},[e,t])}function te(e,t=!1){let r=s.useRef();return e2(()=>{t&&r.current&&(r.current=!1,e())},[t,e]),{onFocus:s.useCallback(()=>{r.current=!0},[]),onBlur:s.useCallback(()=>{r.current=!1},[])}}function tt(){let[e,t]=s.useState(!1);return e2(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function tr(){let[e]=s.useState({});return s.useMemo(()=>{let t=(t,r)=>{var n;null===(n=e[t])||void 0===n||n.forEach(e=>{r.isPropagationStopped()||e(r)})};return{registerSensors:{onPointerDown:e=>t(z,e),onPointerMove:e=>t(H,e),onPointerUp:e=>t(B,e),onPointerLeave:e=>t(Z,e),onPointerCancel:e=>t(W,e),onKeyDown:e=>t(q,e),onKeyUp:e=>t(K,e),onWheel:e=>t(G,e)},subscribeSensors:(t,r)=>(e[t]||(e[t]=[]),e[t].unshift(r),()=>{let n=e[t];n&&n.splice(0,n.length,...n.filter(e=>e!==r))})}},[e])}function tn(e,t){let r=s.useRef(0),n=e5(),i=e6((...t)=>{r.current=Date.now(),e(t)});return s.useCallback((...e)=>{n(()=>{i(e)},t-(Date.now()-r.current))},[t,i,n])}let ti=em("slide"),to=em("slide_image");function ta({slide:e,offset:t,render:r,rect:n,imageFit:i,imageProps:o,onClick:a,onLoad:u,style:l}){var c,d,f,p,h,m,y;let[v,g]=s.useState(k),{publish:b}=eD(),{setTimeout:w}=eZ(),_=s.useRef(null);s.useEffect(()=>{0===t&&b(A(v))},[t,v,b]);let E=e6(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(g(T),w(()=>{null==u||u(e)},0))})}),x=s.useCallback(e=>{_.current=e,(null==e?void 0:e.complete)&&E(e)},[E]),O=s.useCallback(e=>{E(e.currentTarget)},[E]),C=s.useCallback(()=>{g(S)},[]),I=eE(e,i),N=(e,t)=>Number.isFinite(e)?e:t,D=N(Math.max(...(null!==(d=null===(c=e.srcSet)||void 0===c?void 0:c.map(e=>e.width))&&void 0!==d?d:[]).concat(e.width?[e.width]:[])),(null===(f=_.current)||void 0===f?void 0:f.naturalWidth)||0),R=N(Math.max(...(null!==(h=null===(p=e.srcSet)||void 0===p?void 0:p.map(e=>e.height))&&void 0!==h?h:[]).concat(e.height?[e.height]:[])),(null===(m=_.current)||void 0===m?void 0:m.naturalHeight)||0),L=D&&R?{maxWidth:`min(${D}px, 100%)`,maxHeight:`min(${R}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},M=null===(y=e.srcSet)||void 0===y?void 0:y.sort((e,t)=>
2e.width-t.width).map(e=>`${e.src} ${e.width}w`).join(", "),j=M&&n&&eb()?`${Math.round(Math.min(n&&!I&&e.width&&e.height?n.height/e.height*e.width:Number.MAX_VALUE,n.width))}px`:void 0,{style:V,className:U,...F}=o||{};return s.createElement(s.Fragment,null,s.createElement("img",{ref:x,onLoad:O,onError:C,onClick:a,draggable:!1,className:ec(ef(to()),I&&ef(to("cover")),v!==T&&ef(to("loading")),U),style:{...L,...l,...V},...F,alt:e.alt,sizes:j,srcSet:M,src:e.src}),v!==T&&s.createElement("div",{className:ef(ti(P))},v===k&&((null==r?void 0:r.iconLoading)?r.iconLoading():s.createElement(e0,{className:ec(ef(ee),ef(ti(k)))})),v===S&&((null==r?void 0:r.iconError)?r.iconError():s.createElement(e1,{className:ec(ef(ee),ef(ti(S)))}))))}function ts(e,t,r,n,i){s.useEffect(()=>i?()=>{}:ev(e(z,t),e(H,r),e(B,n),e(Z,n),e(W,n)),[e,t,r,n,i])}function tu(e,t,r,n,i,o,u,l,c,d,f,p,h){let m=s.useRef(0),y=s.useRef([]),v=s.useRef(),g=s.useRef(0),b=s.useRef(a.NONE),w=s.useCallback(e=>{v.current===e.pointerId&&(v.current=void 0,b.current=a.NONE);let t=y.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),_=s.useCallback(e=>{w(e),e.persist(),y.current.push(e)},[w]),E=e6(e=>{_(e)}),x=e6(e=>{if(y.current.find(t=>t.pointerId===e.pointerId)&&v.current===e.pointerId){let e=Date.now()-g.current,t=m.current;b.current===a.SWIPE?Math.abs(t)>.3*r||Math.abs(t)>5&&e<n?u(t,e):l(t):b.current===a.PULL_DOWN&&(t>60?p(t,e):h(t)),m.current=0,b.current=a.NONE}w(e)});ts(e,E,e6(e=>{let r=y.current.find(t=>t.pointerId===e.pointerId);if(r){let n=v.current===e.pointerId;if(0===e.buttons){n&&0!==m.current?x(e):w(r);return}let s=e.clientX-r.clientX,u=e.clientY-r.clientY;if(void 0===v.current){let r=t=>{_(e),v.current=e.pointerId,g.current=Date.now(),b.current=t};Math.abs(s)>Math.abs(u)&&Math.abs(s)>30&&t(s)?(r(a.SWIPE),i()):c&&Math.abs(u)>Math.abs(s)&&u>30&&(r(a.PULL_DOWN),d())}else n&&(b.current===a.SWIPE?(m.current=s,o(s)):b.current===a.PULL_DOWN&&(m.current=u,f(u)))}}),x)}(n=o||(o={}))[n.NONE=0]="NONE",n[n.SWIPE=1]="SWIPE",n[n.PULL_DOWN=2]="PULL_DOWN",n[n.ANIMATION=3]="ANIMATION",(i=a||(a={}))[i.NONE=0]="NONE",i[i.SWIPE=1]="SWIPE",i[i.PULL_DOWN=2]="PULL_DOWN";let tl="wheel";function tc(e){(Math.abs(e.deltaX)>Math.abs(e.deltaY)||e.ctrlKey)&&e.preventDefault()}function td(){let e=s.useRef(null);return s.useCallback(t=>{var r;t?t.addEventListener(tl,tc,{passive:!1}):null===(r=e.current)||void 0===r||r.removeEventListener(tl,tc),e.current=t},[])}function tf(e,t,r,n,i,a,u,l,c){let d=s.useRef(0),f=s.useRef(0),p=s.useRef(),h=s.useRef(),m=s.useRef(0),y=s.useRef(0),{setTimeout:v,clearTimeout:g}=eZ(),b=s.useCallback(()=>{p.current&&(g(p.current),p.current=void 0)},[g]),w=s.useCallback(()=>{h.current&&(g(h.current),h.current=void 0)},[g]),_=e6(()=>{e!==o.SWIPE&&(d.current=0,y.current=0,b(),w())});s.useEffect(_,[e,_]);let E=e6(e=>{h.current=void 0,d.current===e&&c(d.current)}),x=e6(t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))){if(e===o.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(m.current)){m.current=t.deltaX;return}if(r(-t.deltaX)){if(f.current+=t.deltaX,b(),Math.abs(f.current)>30)f.current=0,m.current=0,y.current=Date.now(),a();else{let e=f.current;p.current=v(()=>{p.current=void 0,e===f.current&&(f.current=0)},i)}}}else if(e===o.SWIPE){let e=d.current-t.deltaX;if(e=Math.min(Math.abs(e),n)*Math.sign(e),d.current=e,u(e),w(),Math.abs(e)>.2*n){m.current=t.deltaX,l(e,Date.now()-y.current);return}h.current=v(()=>E(e),2*i)}else m.current=t.deltaX}});s.useEffect(()=>t(G,x),[t,x])}let tp=em("container"),th=s.createContext(null),tm=eg("useController","ControllerContext",th);function ty({children:e,...t}){var r;let{carousel:n,animation:i,controller:a,on:u,styles:l,render:c}=t,[d,f]=s.useState(),p=eU(),h=e$(),[m,y]=s.useState(o.NONE),v=s.useRef(0),g=s.useRef(0),b=s.useRef(1),{registerSensors:w,subscribeSensors:_}=tr(),{subscribe:E,publish:x}=eD(),k=e5(),O=e5(),S=e5(),{containerRef:T,setContainerRef:P,containerRect:A}=e9(),C=e8(td(),P),I=s.useRef(null),N=e8(I,void 0),D=tt(),R=e=>(D?-1:1)*("number"==typeof e?e:1),M=e6(()=>{var e;return null===(e=T.current)||void 0===e?void 0:e.focus()}),j=e6(()=>t),z=e6(()=>p),H=s.useCallback(e=>x(V,e),[x]),B=s.useCallback(e=>x(U,e),[x]),Z=s.useCallback(()=>x($),[x]),W=e=>!(n.finite&&(R(e)>0&&0===p.currentIndex||0>R(e)&&p.currentIndex===p.slides.length-1)),q=e=>{var t;v.current=e,null===(t=T.current)||void 0===t||t.style.setProperty(ep("swipe_offset"),`${Math.round(e)}px`)}
2,G=a.closeOnPullDown,X=e=>{var t,r;g.current=e,b.current=Math.min(Math.max(ew(1-e/60*.5,2),.5),1),null===(t=T.current)||void 0===t||t.style.setProperty(ep("pull_down_offset"),`${Math.round(e)}px`),null===(r=T.current)||void 0===r||r.style.setProperty(ep("pull_down_opacity"),`${b.current}`)},{prepareAnimation:J}=e4(I,(e,t,r)=>{if(I.current&&A)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+r.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:i.easing.fade}}),Q=(e,t)=>{if(G){X(e);let r=0;I.current&&(r=i.fade*(t?2:1),J({rect:I.current.getBoundingClientRect(),opacity:b.current,duration:r})),S(()=>{X(0),y(o.NONE)},r),y(o.ANIMATION),t||Z()}},{prepareAnimation:ee,isAnimationPlaying:et}=e4(I,(e,t,r)=>{var i;if(I.current&&A&&(null===(i=p.animation)||void 0===i?void 0:i.duration)){let i=ex(n.spacing),o=(i.percent?i.percent*A.width/100:i.pixel)||0;return{keyframes:[{transform:`translate(${R(p.globalIndex-e.index)*(A.width+o)+e.rect.x-t.x+r.x}px, 0)`},{transform:"translate(0, 0)"}],duration:p.animation.duration,easing:p.animation.easing}}}),er=e6(e=>{var t,r;let n=e.offset||0,a=n?i.swipe:null!==(t=i.navigation)&&void 0!==t?t:i.swipe,s=n||et()?i.easing.swipe:i.easing.navigation,{direction:u}=e,l=null!==(r=e.count)&&void 0!==r?r:1,c=o.ANIMATION,d=a*l;if(!u){let t=null==A?void 0:A.width,r=e.duration||0,i=t?a/t*Math.abs(n):a;0!==l?(r<i?d=d/i*Math.max(r,i/5):t&&(d=a/t*(t-Math.abs(n))),u=R(n)>0?V:U):d=a/2}let f=0;u===V?W(R(1))?f=-l:(c=o.NONE,d=a):u===U&&(W(R(-1))?f=l:(c=o.NONE,d=a)),O(()=>{q(0),y(o.NONE)},d=Math.round(d)),I.current&&ee({rect:I.current.getBoundingClientRect(),index:p.globalIndex}),y(c),x(F,{type:"swipe",increment:f,duration:d,easing:s})});s.useEffect(()=>{var e,t;(null===(e=p.animation)||void 0===e?void 0:e.increment)&&(null===(t=p.animation)||void 0===t?void 0:t.duration)&&k(()=>h({type:"swipe",increment:0}),p.animation.duration)},[p.animation,h,k]);let en=[_,W,(null==A?void 0:A.width)||0,i.swipe,()=>y(o.SWIPE),e=>q(e),(e,t)=>er({offset:e,duration:t,count:1}),e=>er({offset:e,count:0})],ei=[()=>{G&&y(o.PULL_DOWN)},e=>X(e),e=>Q(e),e=>Q(e,!0)];tu(...en,G,...ei),tf(m,...en);let eo=e6(()=>{var e;a.focus&&(null===(e=T.current)||void 0===e||e.focus())});s.useEffect(eo,[eo]);let ea=e6(()=>{var e;null===(e=u.view)||void 0===e||e.call(u,{index:p.currentIndex})});s.useEffect(ea,[p.globalIndex,ea]),s.useEffect(()=>ev(E(V,e=>er({direction:V,...e})),E(U,e=>er({direction:U,...e})),E(F,e=>h(e))),[E,er,h]),s.useEffect(()=>_(K,e=>{e.key===Y&&Z()}),[_,Z]);let es=s.useMemo(()=>({prev:H,next:B,close:Z,focus:M,slideRect:A?ek(A,n.padding):{width:0,height:0},containerRect:A||{width:0,height:0},subscribeSensors:_,containerRef:T,setCarouselRef:N,toolbarWidth:d,setToolbarWidth:f}),[H,B,Z,M,_,A,T,N,d,f,n.padding]);return s.useImperativeHandle(a.ref,()=>({prev:H,next:B,close:Z,focus:M,getLightboxProps:j,getLightboxState:z}),[H,B,Z,M,j,z]),s.createElement("div",{ref:C,className:ec(ef(tp()),ef(L)),style:{...m===o.SWIPE?{[ep("swipe_offset")]:`${Math.round(v.current)}px`}:null,...m===o.PULL_DOWN?{[ep("pull_down_offset")]:`${Math.round(g.current)}px`,[ep("pull_down_opacity")]:`${b.current}`}:null,..."none"!==a.touchAction?{[ep("controller_touch_action")]:a.touchAction}:null,...l.container},...a.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...w},A&&s.createElement(th.Provider,{value:es},e,null===(r=c.controls)||void 0===r?void 0:r.call(c)))}let tv=ea(l,ty);function tg(e){return eh("slide",e)}function tb({slide:e,offset:t}){var r,n,i,o;let a;let u=s.useRef(null),{currentIndex:l}=eU(),{slideRect:c,close:d}=tm(),{render:f,carousel:{imageFit:p,imageProps:h},on:{click:m},controller:{closeOnBackdropClick:y},styles:{slide:v}}=eM();return s.createElement("div",{ref:u,className:ec(ef(tg()),0===t&&ef(tg("current")),ef(L)),onClick:e=>{let t=u.current,r=e.target instanceof HTMLElement?e.target:void 0;y&&r&&t&&(r===t||Array.from(t.children).find(e=>e===r)&&r.classList.contains(ef(R)))&&d()},style:v},(!(a=null===(r=f.slide)||void 0===r?void 0:r.call(f,{slide:e,offset:t,rect:c}))&&e_(e)&&(a=s.createElement(ta,{slide:e,offset:t,render:f,rect:c,imageFit:p,imageProps:h,onClick:0===t?()=>null==m?void 0:m({index:l}):void 0})),a?s.createElement(s.Fragment,null,null===(n=f.slideHeader)||void 0===n?void 0:n.call(f,{slide:e}),(null!==(i=f.slideContainer)&&void 0!==i?i:({children:e})=>e)({slide:e,children:a}),null===(o=f.slideFooter)||void 0===o?void 0:o.call(f,{slide:e})):null))}function tw(){let e=eM().styles.slide;return s.createElement("div",{className:ef("slide"),style:e})}function t_({carousel:{finite:e,preload:t,padding:r,spacing:n}}){let{slides:i,currentIndex:o,globalIndex:a}=eU(),{setCarouselRef:l}=tm(),c=ex(n),d=ex(r),f=[];if((null==i?void 0:i.length)>0){for(let r=o-t;r<o;r+=1){let n=a+r-o;f.push(!e||r>=0?s.createElement(tb,{key:n,slide:i[(r+t*i.length)%i.length],offset:r-o}):s.createElement(tw,{key:n}))}f.push(s.createElement(tb,{key:a,slide:i[o],offset:0}));for(let r=o+1;r<=o+t;r+=1){let t=a+r-o;f.push(!e||r<=i.length-1?s.createElement(tb,{key:t,slide:i[r%i.length],offset:r-o}):s.createElement(tw,{key:t}))}}return s.createElement("div",{ref:l,className:ec(ef(eh(u,void 0)),f.length>
20&&ef(eh(u,"with_slides"))),style:{[`${ep(eh(u,"slides_count"))}`]:f.length,[`${ep(eh(u,"spacing_px"))}`]:c.pixel||0,[`${ep(eh(u,"spacing_percent"))}`]:c.percent||0,[`${ep(eh(u,"padding_px"))}`]:d.pixel||0,[`${ep(eh(u,"padding_percent"))}`]:d.percent||0}},f)}let tE=ea(u,t_);function tx({label:e,icon:t,renderIcon:r,action:n,onClick:i,disabled:o,style:a}){return s.createElement(eq,{label:e,icon:t,renderIcon:r,className:ef(`navigation_${n}`),disabled:o,onClick:i,style:a,...te(tm().focus,o)})}function tk({carousel:{finite:e},animation:t,render:{buttonPrev:r,buttonNext:n,iconPrev:i,iconNext:o},styles:a}){var u;let{slides:l,currentIndex:c}=eU(),{prev:d,next:f,subscribeSensors:p}=tm(),h=tt(),m=0===l.length||e&&0===c,y=0===l.length||e&&c===l.length-1,v=(null!==(u=t.navigation)&&void 0!==u?u:t.swipe)/2,g=tn(d,v),b=tn(f,v),w=e6(e=>{e.key!==X||(h?y:m)||(h?b:g)(),e.key!==J||(h?m:y)||(h?g:b)()});return s.useEffect(()=>p(q,w),[p,w]),s.createElement(s.Fragment,null,r?r():s.createElement(tx,{label:"Previous",action:V,icon:eJ,renderIcon:i,style:a.navigationPrev,disabled:m,onClick:d}),n?n():s.createElement(tx,{label:"Next",action:U,icon:eQ,renderIcon:o,style:a.navigationNext,disabled:y,onClick:f}))}let tO=ea(c,tk),tS=ef(M),tT=ef(j);function tP(e,t,r){let n=window.getComputedStyle(e),i=r?"padding-left":"padding-right",o=r?n.paddingLeft:n.paddingRight,a=e.style.getPropertyValue(i);return e.style.setProperty(i,`${(parseInt(o,10)||0)+t}px`),()=>{a?e.style.setProperty(i,a):e.style.removeProperty(i)}}function tA({children:e}){let t=tt();return e2(()=>{let e=[],{body:r,documentElement:n}=document,i=Math.round(window.innerWidth-n.clientWidth);if(i>0){e.push(tP(r,i,t));let n=r.getElementsByTagName("*");for(let r=0;r<n.length;r+=1){let o=n[r];"style"in o&&"fixed"===window.getComputedStyle(o).getPropertyValue("position")&&!o.classList.contains(tT)&&e.push(tP(o,i,t))}}return r.classList.add(tS),()=>{r.classList.remove(tS),e.forEach(e=>e())}},[t]),s.createElement(s.Fragment,null,e)}let tC=ea(d,tA);function tI(e,t,r){let n=e.getAttribute(t);return e.setAttribute(t,r),()=>{n?e.setAttribute(t,n):e.removeAttribute(t)}}function tN({children:e,animation:t,styles:r,className:n,on:i,portal:o,close:a}){let[u,l]=s.useState(!1),[c,d]=s.useState(!1),p=s.useRef([]),{setTimeout:h}=eZ(),{subscribe:m}=eD(),y=e3()?0:t.fade;s.useEffect(()=>(l(!0),()=>{l(!1),d(!1)}),[]);let v=e6(()=>{var e;d(!1),null===(e=i.exiting)||void 0===e||e.call(i),h(()=>{var e;null===(e=i.exited)||void 0===e||e.call(i),a()},y)});s.useEffect(()=>m($,v),[m,v]);let g=e6(e=>{var t,r,n;e.scrollTop,d(!0),null===(t=i.entering)||void 0===t||t.call(i);let o=null!==(n=null===(r=e.parentNode)||void 0===r?void 0:r.children)&&void 0!==n?n:[];for(let t=0;t<o.length;t+=1){let r=o[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(r.tagName)&&r!==e&&(p.current.push(tI(r,"inert","true")),p.current.push(tI(r,"aria-hidden","true")))}h(()=>{var e;null===(e=i.entered)||void 0===e||e.call(i)},y)}),b=e6(()=>{p.current.forEach(e=>e()),p.current=[]}),w=s.useCallback(e=>{e?g(e):b()},[g,b]);return u?(0,ei.createPortal)(s.createElement("div",{ref:w,className:ec(n,ef("root"),ef(eh(f,void 0)),ef(j),c&&ef(eh(f,"open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==eo.animation.fade?{[ep("fade_animation_duration")]:`${y}ms`}:null,...t.easing.fade!==eo.animation.easing.fade?{[ep("fade_animation_timing_function")]:t.easing.fade}:null,...r.root}},e),o.root||document.body):null}let tD=ea(f,tN);function tR({children:e}){return s.createElement(s.Fragment,null,e)}let tL=ea(p,tR);function tM({toolbar:{buttons:e},render:{buttonClose:t,iconClose:r},styles:n}){let{close:i,setToolbarWidth:o}=tm(),{setContainerRef:a,containerRect:u}=e9();e2(()=>{o(null==u?void 0:u.width)},[o,null==u?void 0:u.width]);let l=()=>t?t():s.createElement(eq,{key:$,label:"Close",icon:eX,renderIcon:r,onClick:i});return s.createElement("div",{ref:a,style:n.toolbar,className:ef(eh(h,void 0)),...eI()},null==e?void 0:e.map(e=>e===$?l():e))}let tj=ea(h,tM);function tV({carousel:e,animation:t,render:r,toolbar:n,controller:i,on:o,plugins:a,slides:u,index:l,...c}){let{animation:d,carousel:f,render:p,toolbar:h,controller:m,on:y,slides:v,index:g,plugins:b,...w}=eo,{config:_,augmentation:E}=el([es(tD,[es(tC,[es(tv,[es(tE),es(tj),es(tO)])])])],a||b),x=E({animation:function(e,t={}){let{easing:r,...n}=e,{easing:i,...o}=t;return{easing:{...r,...i},...n,...o}}(d,t),carousel:{...f,...e},render:{...p,...r},toolbar:{...h,...n},controller:{...m,...i},on:{...y,...o},...w,...c});return x.open?s.createElement(ej,{...x},s.createElement(eH,{slides:u||v,index:l||g},s.createElement(eW,null,s.createElement(eR,null,function e(t,r){var n;return s.createElement(t.module.component,{key:t.module.name,...r},null===(n=t.children)||void 0===n?void 0:n.map(t=>e(t,r)))}(es(tL,_),x))))):null}},1604:function(e,t,r){"use strict";r.d(t,{Ry:function(){return eg},Z_:function(){return eo},z:function(){return eB}}),(ej=eF||(eF={})).assertNever=function(e){throw Error()},ej.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},ej.getValidEnumValues=e=>{let t=ej.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let n of t)r[n]=e[n];return ej.objectValues(r)},ej.objectValues=e=>ej.objectKeys(e).map(function(t){return e[t]}),ej.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},ej.find=(e,t)=>{for(let r of e)if(t(r))return r},ej.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,ej.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)};let n=eF.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),i=e=>{switch(typeof e){case"undefined":return n.undefined;case"string":return n.string;case"number":return isNaN(e)?n.nan:n.number;case"boolean":return n.boolean;case"function":return n.function;case"bigint":return n.bigint;case"object":if(Array.isArray(e))return n.array;if(null===e)return n.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return n.promise;if("undefined"!=typeof Map&&e instanceof Map)return n.map;if("undefined"!=typeof Set&&e instanceof Set)return n.set;if("undefined"!=typeof Date&&e instanceof Date)return n.date;return n.object;default:return n.unknown}}
2,o=eF.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of"]);class a extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(n);else if("invalid_return_type"===i.code)n(i.returnTypeError);else if("invalid_arguments"===i.code)n(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){let r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}toString(){return this.message}get message(){return JSON.stringify(this.issues,null,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let n of this.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(e(n))):r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}a.create=e=>new a(e);let s=(e,t)=>{let r;switch(e.code){case o.invalid_type:r=e.received===n.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case o.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected)}`;break;case o.unrecognized_keys:r=`Unrecognized key(s) in object: ${eF.joinValues(e.keys,", ")}`;break;case o.invalid_union:r="Invalid input";break;case o.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${eF.joinValues(e.options)}`;break;case o.invalid_enum_value:r=`Invalid enum value. Expected ${eF.joinValues(e.options)}, received '${e.received}'`;break;case o.invalid_arguments:r="Invalid function arguments";break;case o.invalid_return_type:r="Invalid function return type";break;case o.invalid_date:r="Invalid date";break;case o.invalid_string:r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case o.too_small:r="array"===e.type?`Array must contain ${e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be greater than ${e.inclusive?"or equal to ":""}${e.minimum}`:"Invalid input";break;case o.too_big:r="array"===e.type?`Array must contain ${e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be less than ${e.inclusive?"or equal to ":""}${e.maximum}`:"Invalid input";break;case o.custom:r="Invalid input";break;case o.invalid_intersection_types:r="Intersection results could not be merged";break;case o.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;default:r=t.defaultError,eF.assertNever(e)}return{message:r}},u=s,l=e=>{let{data:t,path:r,errorMaps:n,issueData:i}=e,o=[...r,...i.path||[]],a={...i,path:o},s="";for(let e of n.filter(e=>!!e).slice().reverse())s=e(a,{data:t,defaultError:s}).message;return{...i,path:o,message:i.message||s}};function c(e,t){let r=l({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,u,s].filter(e=>!!e)});e.common.issues.push(r)}class d{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let n of t){if("aborted"===n.status)return f;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t)r.push({key:await e.key,value:await e.value});return d.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let n of t){let{key:t,value:i}=n;if("aborted"===t.status||"aborted"===i.status)return f;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),(void 0!==i.value||n.alwaysSet)&&(r[t.value]=i.value)}return{status:e.value,value:r}}}let f=Object.freeze({status:"aborted"}),p=e=>
2({status:"valid",value:e}),h=e=>"aborted"===e.status,m=e=>"dirty"===e.status,y=e=>"valid"===e.status,v=e=>e instanceof Promise;(eV=e$||(e$={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},eV.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class g{constructor(e,t,r,n){this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._path.concat(this._key)}}let b=(e,t)=>{if(y(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,error:new a(e.common.issues)}};function w(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw Error('Can\'t use "invalid" or "required" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,r)=>"invalid_type"!==t.code?{message:r.defaultError}:void 0===r.data&&n?{message:n}:e.invalid_type_error?{message:e.invalid_type_error}:{message:r.defaultError},description:i}}class _{constructor(e){this.spa=this.safeParseAsync,this.superRefine=this._refinement,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.default=this.default.bind(this),this.describe=this.describe.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return i(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:i(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new d,ctx:{common:e.parent.common,data:e.data,parsedType:i(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(v(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let n={common:{issues:[],async:null!==(r=null==t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:i(e)},o=this._parseSync({data:e,path:n.path,parent:n});return b(n,o)}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:i(e)},n=this._parse({data:e,path:[],parent:r});return b(r,await (v(n)?n:Promise.resolve(n)))}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,n)=>{let i=e(t),a=()=>n.addIssue({code:o.custom,...r(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1))}_refinement(e){return new J({schema:this,typeName:eH.ZodEffects,effect:{type:"refinement",refinement:e}})}optional(){return Q.create(this)}nullable(){return ee.create(this)}nullish(){return this.optional().nullable()}array(){return M.create(this)}promise(){return X.create(this)}or(e){return U.create([this,e])}and(e){return $.create(this,e)}transform(e){return new J({schema:this,typeName:eH.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new et({innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:eH.ZodDefault})}describe(e){return new this.constructor({...this._def,description:e})}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let E=/^c[^\s-]{8,}$/i,x=/^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i,k=/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i;class O extends _{constructor(){super(...arguments),this._regex=(e,t,r)=>this.refinement(t=>e.test(t),{validation:t,code:o.invalid_string,...e$.errToObj(r)}),this.nonempty=e=>this.min(1,e$.errToObj(e)),this.trim=()=>new O({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}_parse(e){let t;if(this._getType(e)!==n.string){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.string,received:t.parsedType}),f}let r=new d;for(let n of this._def.checks)if("min"===n.kind)e.data.length<n.value&&(c(t=this._getOrReturnCtx(e,t),{code:o.too_small,minimum:n.value,type:"string",inclusive:!0,message:n.message}),r.dirty());else if("max"===n.kind)e.data.length>n.value&&(c(t=this._getOrReturnCtx(e,t),{code:o.too_big,maximum:n.value,type:"string",inclusive:!0,message:n.message}),r.dirty());else if("email"===n.kind)k.test(e.data)||(c(t=this._getOrReturnCtx(e,t),{validation:"email",code:o.invalid_string,message:n.message}),r.dirty());else if("uuid"===n.kind)x.test(e.data)||(c(t=this._getOrReturnCtx(e,t),{validation:"uuid",code:o.invalid_string,message:n.message}),r.dirty());else if("cuid"===n.kind)E.test(e.data)||(c(t=this._getOrReturnCtx(e,t),{validation:"cuid",code:o.invalid_string,message:n.message}),r.dirty());else if("url"===n.kind)try{new URL(e.data)}catch(i){c(t=this._getOrReturnCtx(e,t),{validation:"url",code:o.invalid_string,message:n.message}),r.dirty()}else"regex"===n.kind?(n.regex.lastIndex=0,n.regex.test(e.data)||(c(t=this._getOrReturnCtx(e,t),{validation:"regex",code:o.invalid_string,message:n.message}),r.dirty())):"trim"===n.kind?e.data=e.data.trim():eF.assertNever(n);return{status:r.value,value:e.data}}_addCheck(e){return new O({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...e$.errToObj(e)})}url(e){return this._addCheck({kind:"url",...e$.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...e$.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...e$.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...e$.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...e$.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...e$.errToObj(t)})}length(e,t){return this.min(e,t).max(e,t)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}
2get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get minLength(){let e=-1/0;return this._def.checks.map(t=>{"min"===t.kind&&(null===e||t.value>e)&&(e=t.value)}),e}get maxLength(){let e=null;return this._def.checks.map(t=>{"max"===t.kind&&(null===e||t.value<e)&&(e=t.value)}),e}}O.create=e=>new O({checks:[],typeName:eH.ZodString,...w(e)});class S extends _{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._getType(e)!==n.number){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.number,received:t.parsedType}),f}let r=new d;for(let n of this._def.checks)"int"===n.kind?eF.isInteger(e.data)||(c(t=this._getOrReturnCtx(e,t),{code:o.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty()):"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(c(t=this._getOrReturnCtx(e,t),{code:o.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(c(t=this._getOrReturnCtx(e,t),{code:o.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,message:n.message}),r.dirty()):"multipleOf"===n.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,n.value)&&(c(t=this._getOrReturnCtx(e,t),{code:o.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):eF.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,e$.toString(t))}gt(e,t){return this.setLimit("min",e,!1,e$.toString(t))}lte(e,t){return this.setLimit("max",e,!0,e$.toString(t))}lt(e,t){return this.setLimit("max",e,!1,e$.toString(t))}setLimit(e,t,r,n){return new S({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:e$.toString(n)}]})}_addCheck(e){return new S({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:e$.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:e$.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:e$.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:e$.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:e$.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:e$.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind)}}S.create=e=>new S({checks:[],typeName:eH.ZodNumber,...w(e)});class T extends _{_parse(e){if(this._getType(e)!==n.bigint){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.bigint,received:t.parsedType}),f}return p(e.data)}}T.create=e=>new T({typeName:eH.ZodBigInt,...w(e)});class P extends _{_parse(e){if(this._getType(e)!==n.boolean){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.boolean,received:t.parsedType}),f}return p(e.data)}}P.create=e=>new P({typeName:eH.ZodBoolean,...w(e)});class A extends _{_parse(e){if(this._getType(e)!==n.date){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.date,received:t.parsedType}),f}return isNaN(e.data.getTime())?(c(this._getOrReturnCtx(e),{code:o.invalid_date}),f):{status:"valid",value:new Date(e.data.getTime())}}}A.create=e=>new A({typeName:eH.ZodDate,...w(e)});class C extends _{_parse(e){if(this._getType(e)!==n.undefined){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.undefined,received:t.parsedType}),f}return p(e.data)}}C.create=e=>new C({typeName:eH.ZodUndefined,...w(e)});class I extends _{_parse(e){if(this._getType(e)!==n.null){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.null,received:t.parsedType}),f}return p(e.data)}}I.create=e=>new I({typeName:eH.ZodNull,...w(e)});class N extends _{constructor(){super(...arguments),this._any=!0}_parse(e){return p(e.data)}}N.create=e=>new N({typeName:eH.ZodAny,...w(e)});class D extends _{constructor(){super(...arguments),this._unknown=!0}_parse(e){return p(e.data)}}D.create=e=>new D({typeName:eH.ZodUnknown,...w(e)});class R extends _{_parse(e){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.never,received:t.parsedType}),f}}R.create=e=>new R({typeName:eH.ZodNever,...w(e)});class L extends _{_parse(e){if(this._getType(e)!==n.undefined){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.void,received:t.parsedType}),f}return p(e.data)}}L.create=e=>new L({typeName:eH.ZodVoid,...w(e)});class M extends _{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),i=this._def;if(t.parsedType!==n.array)return c(t,{code:o.invalid_type,expected:n.array,received:t.parsedType}),f;if(null!==i.minLength&&t.data.length<i.minLength.value&&(c(t,{code:o.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,message:i.minLength.message}),r.dirty()),null!==i.maxLength&&t.data.length>i.maxLength.value&&(c(t,{code:o.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,message:i.maxLength.message}),r.dirty()),t.common.async)return Promise.all(t.data.map((e,r)=>i.type._parseAsync(new g(t,e,t.path,r)))).then(e=>d.mergeArray(r,e));let a=t.data.map((e,r)=>i.type._parseSync(new g(t,e,t.path,r)));return d.mergeArray(r,a)}
2get element(){return this._def.type}min(e,t){return new M({...this._def,minLength:{value:e,message:e$.toString(t)}})}max(e,t){return new M({...this._def,maxLength:{value:e,message:e$.toString(t)}})}length(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}M.create=(e,t)=>new M({type:e,minLength:null,maxLength:null,typeName:eH.ZodArray,...w(t)}),(ez||(ez={})).mergeShapes=(e,t)=>({...e,...t});let j=e=>t=>new V({...e,shape:()=>({...e.shape(),...t})});class V extends _{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=j(this._def),this.extend=j(this._def)}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=eF.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==n.object){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.object,received:t.parsedType}),f}let{status:t,ctx:r}=this._processInputParams(e),{shape:i,keys:a}=this._getCached(),s=[];for(let e in r.data)a.includes(e)||s.push(e);let u=[];for(let e of a){let t=i[e],n=r.data[e];u.push({key:{status:"valid",value:e},value:t._parse(new g(r,n,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof R){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of s)u.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)s.length>0&&(c(r,{code:o.unrecognized_keys,keys:s}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of s){let n=r.data[t];u.push({key:{status:"valid",value:t},value:e._parse(new g(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of u){let r=await t.key;e.push({key:r,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>d.mergeObjectSync(t,e)):d.mergeObjectSync(t,u)}get shape(){return this._def.shape()}strict(e){return e$.errToObj,new V({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var n,i,o,a;let s=null!==(o=null===(i=(n=this._def).errorMap)||void 0===i?void 0:i.call(n,t,r).message)&&void 0!==o?o:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(a=e$.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}strip(){return new V({...this._def,unknownKeys:"strip"})}passthrough(){return new V({...this._def,unknownKeys:"passthrough"})}setKey(e,t){return this.augment({[e]:t})}merge(e){return new V({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>ez.mergeShapes(this._def.shape(),e._def.shape()),typeName:eH.ZodObject})}catchall(e){return new V({...this._def,catchall:e})}pick(e){let t={};return eF.objectKeys(e).map(e=>{this.shape[e]&&(t[e]=this.shape[e])}),new V({...this._def,shape:()=>t})}omit(e){let t={};return eF.objectKeys(this.shape).map(r=>{-1===eF.objectKeys(e).indexOf(r)&&(t[r]=this.shape[r])}),new V({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof V){let r={};for(let n in t.shape){let i=t.shape[n];r[n]=Q.create(e(i))}return new V({...t._def,shape:()=>r})}return t instanceof M?M.create(e(t.element)):t instanceof Q?Q.create(e(t.unwrap())):t instanceof ee?ee.create(e(t.unwrap())):t instanceof z?z.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};if(e)eF.objectKeys(this.shape).map(r=>{-1===eF.objectKeys(e).indexOf(r)?t[r]=this.shape[r]:t[r]=this.shape[r].optional()});else for(let e in this.shape){let r=this.shape[e];t[e]=r.optional()}return new V({...this._def,shape:()=>t})}required(){let e={};for(let t in this.shape){let r=this.shape[t];for(;r instanceof Q;)r=r._def.innerType;e[t]=r}return new V({...this._def,shape:()=>e})}}V.create=(e,t)=>new V({shape:()=>e,unknownKeys:"strip",catchall:R.create(),typeName:eH.ZodObject,...w(t)}),V.strictCreate=(e,t)=>new V({shape:()=>e,unknownKeys:"strict",catchall:R.create(),typeName:eH.ZodObject,...w(t)}),V.lazycreate=(e,t)=>new V({shape:e,unknownKeys:"strip",catchall:R.create(),typeName:eH.ZodObject,...w(t)});class U extends _{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new a(e.ctx.common.issues));return c(t,{code:o.invalid_union,unionErrors:r}),f});{let e;let n=[];for(let i of r){let r={...t,common:{...t.common,issues:[]},parent:null},o=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===o.status)return o;"dirty"!==o.status||e||(e={result:o,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=n.map(e=>new a(e));return c(t,{code:o.invalid_union,unionErrors:i}),f}}get options(){return this._def.options}}U.create=(e,t)=>
2new U({options:e,typeName:eH.ZodUnion,...w(t)});class F extends _{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==n.object)return c(t,{code:o.invalid_type,expected:n.object,received:t.parsedType}),f;let r=this.discriminator,i=t.data[r],a=this.options.get(i);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(c(t,{code:o.invalid_union_discriminator,options:this.validDiscriminatorValues,path:[r]}),f)}get discriminator(){return this._def.discriminator}get validDiscriminatorValues(){return Array.from(this.options.keys())}get options(){return this._def.options}static create(e,t,r){let n=new Map;try{t.forEach(t=>{let r=t.shape[e].value;n.set(r,t)})}catch(e){throw Error("The discriminator value could not be extracted from all the provided schemas")}if(n.size!==t.length)throw Error("Some of the discriminator values are not unique");return new F({typeName:eH.ZodDiscriminatedUnion,discriminator:e,options:n,...w(r)})}}class $ extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),a=(e,a)=>{if(h(e)||h(a))return f;let s=function e(t,r){let o=i(t),a=i(r);if(t===r)return{valid:!0,data:t};if(o===n.object&&a===n.object){let n=eF.objectKeys(r),i=eF.objectKeys(t).filter(e=>-1!==n.indexOf(e)),o={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1};o[n]=i.data}return{valid:!0,data:o}}if(o===n.array&&a===n.array){if(t.length!==r.length)return{valid:!1};let n=[];for(let i=0;i<t.length;i++){let o=e(t[i],r[i]);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}return o===n.date&&a===n.date&&+t==+r?{valid:!0,data:t}:{valid:!1}}(e.value,a.value);return s.valid?((m(e)||m(a))&&t.dirty(),{status:t.value,value:s.data}):(c(r,{code:o.invalid_intersection_types}),f)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>a(e,t)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}$.create=(e,t,r)=>new $({left:e,right:t,typeName:eH.ZodIntersection,...w(r)});class z extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.array)return c(r,{code:o.invalid_type,expected:n.array,received:r.parsedType}),f;if(r.data.length<this._def.items.length)return c(r,{code:o.too_small,minimum:this._def.items.length,inclusive:!0,type:"array"}),f;!this._def.rest&&r.data.length>this._def.items.length&&(c(r,{code:o.too_big,maximum:this._def.items.length,inclusive:!0,type:"array"}),t.dirty());let i=r.data.map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new g(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(i).then(e=>d.mergeArray(t,e)):d.mergeArray(t,i)}get items(){return this._def.items}rest(e){return new z({...this._def,rest:e})}}z.create=(e,t)=>new z({items:e,typeName:eH.ZodTuple,rest:null,...w(t)});class H extends _{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.object)return c(r,{code:o.invalid_type,expected:n.object,received:r.parsedType}),f;let i=[],a=this._def.keyType,s=this._def.valueType;for(let e in r.data)i.push({key:a._parse(new g(r,e,r.path,e)),value:s._parse(new g(r,r.data[e],r.path,e))});return r.common.async?d.mergeObjectAsync(t,i):d.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,r){return new H(t instanceof _?{keyType:e,valueType:t,typeName:eH.ZodRecord,...w(r)}:{keyType:O.create(),valueType:e,typeName:eH.ZodRecord,...w(t)})}}class B extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.map)return c(r,{code:o.invalid_type,expected:n.map,received:r.parsedType}),f;let i=this._def.keyType,a=this._def.valueType,s=[...r.data.entries()].map(([e,t],n)=>({key:i._parse(new g(r,e,r.path,[n,"key"])),value:a._parse(new g(r,t,r.path,[n,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of s){let n=await r.key,i=await r.value;if("aborted"===n.status||"aborted"===i.status)return f;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of s){let n=r.key,i=r.value;if("aborted"===n.status||"aborted"===i.status)return f;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}}}B.create=(e,t,r)=>new B({valueType:t,keyType:e,typeName:eH.ZodMap,...w(r)});class Z extends _{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==n.set)return c(r,{code:o.invalid_type,expected:n.set,received:r.parsedType}),f;let i=this._def;null!==i.minSize&&r.data.size<i.minSize.value&&(c(r,{code:o.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,message:i.minSize.message}),t.dirty()),null!==i.maxSize&&r.data.size>i.maxSize.value&&(c(r,{code:o.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,message:i.maxSize.message}),t.dirty());let a=this._def.valueType;function s(e){let r=new Set;for(let n of e){if("aborted"===n.status)return f;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}let u=[...r.data.values()].map((e,t)=>a._parse(new g(r,e,r.path,t)));return r.common.async?Promise.all(u).then(e=>s(e)):s(u)}min(e,t){return new Z({...this._def,minSize:{value:e,message:e$.toString(t)}})}max(e,t){return new Z({...this._def,maxSize:{value:e,message:e$.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}Z.create=(e,t)=>
2new Z({valueType:e,minSize:null,maxSize:null,typeName:eH.ZodSet,...w(t)});class W extends _{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==n.function)return c(t,{code:o.invalid_type,expected:n.function,received:t.parsedType}),f;function r(e,r){return l({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,u,s].filter(e=>!!e),issueData:{code:o.invalid_arguments,argumentsError:r}})}function i(e,r){return l({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,u,s].filter(e=>!!e),issueData:{code:o.invalid_return_type,returnTypeError:r}})}let d={errorMap:t.common.contextualErrorMap},h=t.data;return this._def.returns instanceof X?p(async(...e)=>{let t=new a([]),n=await this._def.args.parseAsync(e,d).catch(n=>{throw t.addIssue(r(e,n)),t}),o=await h(...n);return await this._def.returns._def.type.parseAsync(o,d).catch(e=>{throw t.addIssue(i(o,e)),t})}):p((...e)=>{let t=this._def.args.safeParse(e,d);if(!t.success)throw new a([r(e,t.error)]);let n=h(...t.data),o=this._def.returns.safeParse(n,d);if(!o.success)throw new a([i(n,o.error)]);return o.data})}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new W({...this._def,args:z.create(e).rest(D.create())})}returns(e){return new W({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}}W.create=(e,t,r)=>new W({args:e?e.rest(D.create()):z.create([]).rest(D.create()),returns:t||D.create(),typeName:eH.ZodFunction,...w(r)});class q extends _{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}q.create=(e,t)=>new q({getter:e,typeName:eH.ZodLazy,...w(t)});class K extends _{_parse(e){return e.data!==this._def.value?(c(this._getOrReturnCtx(e),{code:o.invalid_literal,expected:this._def.value}),f):{status:"valid",value:e.data}}get value(){return this._def.value}}K.create=(e,t)=>new K({value:e,typeName:eH.ZodLiteral,...w(t)});class G extends _{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return c(t,{expected:eF.joinValues(r),received:t.parsedType,code:o.invalid_type}),f}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return c(t,{received:t.data,code:o.invalid_enum_value,options:r}),f}return p(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}}G.create=function(e,t){return new G({values:e,typeName:eH.ZodEnum,...w(t)})};class Y extends _{_parse(e){let t=eF.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==n.string&&r.parsedType!==n.number){let e=eF.objectValues(t);return c(r,{expected:eF.joinValues(e),received:r.parsedType,code:o.invalid_type}),f}if(-1===t.indexOf(e.data)){let e=eF.objectValues(t);return c(r,{received:r.data,code:o.invalid_enum_value,options:e}),f}return p(e.data)}get enum(){return this._def.values}}Y.create=(e,t)=>new Y({values:e,typeName:eH.ZodNativeEnum,...w(t)});class X extends _{_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==n.promise&&!1===t.common.async?(c(t,{code:o.invalid_type,expected:n.promise,received:t.parsedType}),f):p((t.parsedType===n.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}X.create=(e,t)=>new X({type:e,typeName:eH.ZodPromise,...w(t)});class J extends _{innerType(){return this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null;if("preprocess"===n.type){let e=n.transform(r.data);return r.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:r.path,parent:r})):this._def.schema._parseSync({data:e,path:r.path,parent:r})}let i={addIssue:e=>{c(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"refinement"===n.type){let e=e=>{let t=n.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?f:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?f:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type){if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>y(e)?Promise.resolve(n.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!y(e))return e;let o=n.transform(e.value,i);if(o instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}}eF.assertNever(n)}}J.create=(e,t,r)=>new J({schema:e,typeName:eH.ZodEffects,effect:t,...w(r)}),J.createWithPreprocess=(e,t,r)=>new J({schema:t,effect:{type:"preprocess",transform:e},typeName:eH.ZodEffects,...w(r)});class Q extends _{_parse(e){return this._getType(e)===n.undefined?p(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Q.create=(e,t)=>
2new Q({innerType:e,typeName:eH.ZodOptional,...w(t)});class ee extends _{_parse(e){return this._getType(e)===n.null?p(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ee.create=(e,t)=>new ee({innerType:e,typeName:eH.ZodNullable,...w(t)});class et extends _{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===n.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}et.create=(e,t)=>new Q({innerType:e,typeName:eH.ZodOptional,...w(t)});class er extends _{_parse(e){if(this._getType(e)!==n.nan){let t=this._getOrReturnCtx(e);return c(t,{code:o.invalid_type,expected:n.nan,received:t.parsedType}),f}return{status:"valid",value:e.data}}}er.create=e=>new er({typeName:eH.ZodNaN,...w(e)});let en=(e,t={},r)=>e?N.create().superRefine((n,i)=>{if(!e(n)){let e="function"==typeof t?t(n):t;i.addIssue({code:"custom",..."string"==typeof e?{message:e}:e,fatal:r})}}):N.create(),ei={object:V.lazycreate};(eU=eH||(eH={})).ZodString="ZodString",eU.ZodNumber="ZodNumber",eU.ZodNaN="ZodNaN",eU.ZodBigInt="ZodBigInt",eU.ZodBoolean="ZodBoolean",eU.ZodDate="ZodDate",eU.ZodUndefined="ZodUndefined",eU.ZodNull="ZodNull",eU.ZodAny="ZodAny",eU.ZodUnknown="ZodUnknown",eU.ZodNever="ZodNever",eU.ZodVoid="ZodVoid",eU.ZodArray="ZodArray",eU.ZodObject="ZodObject",eU.ZodUnion="ZodUnion",eU.ZodDiscriminatedUnion="ZodDiscriminatedUnion",eU.ZodIntersection="ZodIntersection",eU.ZodTuple="ZodTuple",eU.ZodRecord="ZodRecord",eU.ZodMap="ZodMap",eU.ZodSet="ZodSet",eU.ZodFunction="ZodFunction",eU.ZodLazy="ZodLazy",eU.ZodLiteral="ZodLiteral",eU.ZodEnum="ZodEnum",eU.ZodEffects="ZodEffects",eU.ZodNativeEnum="ZodNativeEnum",eU.ZodOptional="ZodOptional",eU.ZodNullable="ZodNullable",eU.ZodDefault="ZodDefault",eU.ZodPromise="ZodPromise";let eo=O.create,ea=S.create,es=er.create,eu=T.create,el=P.create,ec=A.create,ed=C.create,ef=I.create,ep=N.create,eh=D.create,em=R.create,ey=L.create,ev=M.create,eg=V.create,eb=V.strictCreate,ew=U.create,e_=F.create,eE=$.create,ex=z.create,ek=H.create,eO=B.create,eS=Z.create,eT=W.create,eP=q.create,eA=K.create,eC=G.create,eI=Y.create,eN=X.create,eD=J.create,eR=Q.create,eL=ee.create,eM=J.createWithPreprocess;var ej,eV,eU,eF,e$,ez,eH,eB=Object.freeze({__proto__:null,getParsedType:i,ZodParsedType:n,makeIssue:l,EMPTY_PATH:[],addIssueToContext:c,ParseStatus:d,INVALID:f,DIRTY:e=>({status:"dirty",value:e}),OK:p,isAborted:h,isDirty:m,isValid:y,isAsync:v,ZodType:_,ZodString:O,ZodNumber:S,ZodBigInt:T,ZodBoolean:P,ZodDate:A,ZodUndefined:C,ZodNull:I,ZodAny:N,ZodUnknown:D,ZodNever:R,ZodVoid:L,ZodArray:M,get objectUtil(){return ez},ZodObject:V,ZodUnion:U,ZodDiscriminatedUnion:F,ZodIntersection:$,ZodTuple:z,ZodRecord:H,ZodMap:B,ZodSet:Z,ZodFunction:W,ZodLazy:q,ZodLiteral:K,ZodEnum:G,ZodNativeEnum:Y,ZodPromise:X,ZodEffects:J,ZodTransformer:J,ZodOptional:Q,ZodNullable:ee,ZodDefault:et,ZodNaN:er,custom:en,Schema:_,ZodSchema:_,late:ei,get ZodFirstPartyTypeKind(){return eH},any:ep,array:ev,bigint:eu,boolean:el,date:ec,discriminatedUnion:e_,effect:eD,enum:eC,function:eT,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>en(t=>t instanceof e,t,!0),intersection:eE,lazy:eP,literal:eA,map:eO,nan:es,nativeEnum:eI,never:em,null:ef,nullable:eL,number:ea,object:eg,oboolean:()=>el().optional(),onumber:()=>ea().optional(),optional:eR,ostring:()=>eo().optional(),preprocess:eM,promise:eN,record:ek,set:eS,strictObject:eb,string:eo,transformer:eD,tuple:ex,undefined:ed,union:ew,unknown:eh,void:ey,ZodIssueCode:o,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:a,defaultErrorMap:s,get overrideErrorMap(){return u},setErrorMap:e=>{u=e}})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.