tressi
Version:
Deterministic load testing for API performance validation.
33 lines • 421 kB
JavaScript
import{a as m,b as I,d as Vt}from"./chunk-I4MTPUBM.js";function k(e){return typeof e=="function"}function kn(e){let n=e(o=>{Error.call(o),o.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ii=kn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((o,r)=>`${r+1}) ${o.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ht(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var se=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:o}=this;if(k(o))try{o()}catch(i){t=i instanceof ii?i.errors:[i]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let i of r)try{mg(i)}catch(s){t=t??[],s instanceof ii?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ii(t)}}add(t){var n;if(t&&t!==this)if(this.closed)mg(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ht(n,t)}remove(t){let{_finalizers:n}=this;n&&Ht(n,t),t instanceof e&&t._removeParent(this)}};se.EMPTY=(()=>{let e=new se;return e.closed=!0,e})();var ac=se.EMPTY;function si(e){return e instanceof se||e&&"closed"in e&&k(e.remove)&&k(e.add)&&k(e.unsubscribe)}function mg(e){k(e)?e():e.unsubscribe()}var $e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Cn={setTimeout(e,t,...n){let{delegate:o}=Cn;return o?.setTimeout?o.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Cn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ai(e){Cn.setTimeout(()=>{let{onUnhandledError:t}=$e;if(t)t(e);else throw e})}function Bt(){}var gg=cc("C",void 0,void 0);function hg(e){return cc("E",void 0,e)}function vg(e){return cc("N",e,void 0)}function cc(e,t,n){return{kind:e,value:t,error:n}}var Zt=null;function Mn(e){if($e.useDeprecatedSynchronousErrorHandling){let t=!Zt;if(t&&(Zt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:o}=Zt;if(Zt=null,n)throw o}}else e()}function yg(e){$e.useDeprecatedSynchronousErrorHandling&&Zt&&(Zt.errorThrown=!0,Zt.error=e)}var Wt=class extends se{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,si(t)&&t.add(this)):this.destination=Ix}static create(t,n,o){return new ot(t,n,o)}next(t){this.isStopped?lc(vg(t),this):this._next(t)}error(t){this.isStopped?lc(hg(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?lc(gg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},_x=Function.prototype.bind;function uc(e,t){return _x.call(e,t)}var dc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(o){ci(o)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(o){ci(o)}else ci(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ci(n)}}},ot=class extends Wt{constructor(t,n,o){super();let r;if(k(t)||!t)r={next:t??void 0,error:n??void 0,complete:o??void 0};else{let i;this&&$e.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&uc(t.next,i),error:t.error&&uc(t.error,i),complete:t.complete&&uc(t.complete,i)}):r=t}this.destination=new dc(r)}};function ci(e){$e.useDeprecatedSynchronousErrorHandling?yg(e):ai(e)}function bx(e){throw e}function lc(e,t){let{onStoppedNotification:n}=$e;n&&Cn.setTimeout(()=>n(e,t))}var Ix={closed:!0,next:Bt,error:bx,complete:Bt};var $n=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ye(e){return e}function xx(...e){return fc(e)}function fc(e){return e.length===0?ye:e.length===1?e[0]:function(n){return e.reduce((o,r)=>r(o),n)}}var P=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let o=new e;return o.source=this,o.operator=n,o}subscribe(n,o,r){let i=wx(n)?n:new ot(n,o,r);return Mn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(o){n.error(o)}}forEach(n,o){return o=_g(o),new o((r,i)=>{let s=new ot({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:r});this.subscribe(s)})}_subscribe(n){var o;return(o=this.source)===null||o===void 0?void 0:o.subscribe(n)}[$n](){return this}pipe(...n){return fc(n)(this)}toPromise(n){return n=_g(n),new n((o,r)=>{let i;this.subscribe(s=>i=s,s=>r(s),()=>o(i))})}}return e.create=t=>new e(t),e})();function _g(e){var t;return(t=e??$e.Promise)!==null&&t!==void 0?t:Promise}function Ex(e){return e&&k(e.next)&&k(e.error)&&k(e.complete)}function wx(e){return e&&e instanceof Wt||Ex(e)&&si(e)}var bg=kn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _e=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let o=new ui(this,this);return o.operator=n,o}_throwIfClosed(){if(this.closed)throw new bg}next(n){Mn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let o of this.currentObservers)o.next(n)}})}error(n){Mn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:o}=this;for(;o.length;)o.shift().error(n)}})}complete(){Mn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:o,isStopped:r,observers:i}=this;return o||r?ac:(this.currentObservers=null,i.push(n),new se(()=>{this.currentObservers=null,Ht(i,n)}))}_checkFinalizedStatuses(n){let{hasError:o,thrownError:r,isStopped:i}=this;o?n.error(r):i&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return e.create=(t,n)=>new ui(t,n),e})(),ui=class extends _e{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,t)}error(t){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&o!==void 0?o:ac}};function Dx(e){return k(e?.lift)}function j(e){return t=>{if(Dx(t))return t.lift(function(n){try{return e(n,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}function F(e,t,n,o,r){return new pc(e,t,n,o,r)}var pc=class extends Wt{constructor(t,n,o,r,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=r?function(a){try{r(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=o?function(){try{o()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function xg(e,t,n,o){function r(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(o.next(l))}catch(d){s(d)}}function c(l){try{u(o.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):r(l.value).then(a,c)}u((o=o.apply(e,t||[])).next())})}function Ig(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Gt(e){return this instanceof Gt?(this.v=e,this):new Gt(e)}function Eg(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n.apply(e,t||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){o[f]&&(r[f]=function(y){return new Promise(function(_,w){i.push([f,y,_,w])>1||c(f,y)})},p&&(r[f]=p(r[f])))}function c(f,p){try{u(o[f](p))}catch(y){g(i[0][3],y)}}function u(f){f.value instanceof Gt?Promise.resolve(f.value.v).then(l,d):g(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function g(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function wg(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ig=="function"?Ig(e):e[Symbol.iterator](),n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n);function o(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),r(a,c,s.done,s.value)})}}function r(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var On=e=>e&&typeof e.length=="number"&&typeof e!="function";function li(e){return k(e?.then)}function di(e){return k(e[$n])}function fi(e){return Symbol.asyncIterator&&k(e?.[Symbol.asyncIterator])}function pi(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Sx(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mi=Sx();function gi(e){return k(e?.[mi])}function hi(e){return Eg(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:o,done:r}=yield Gt(n.read());if(r)return yield Gt(void 0);yield yield Gt(o)}}finally{n.releaseLock()}})}function vi(e){return k(e?.getReader)}function Z(e){if(e instanceof P)return e;if(e!=null){if(di(e))return Tx(e);if(On(e))return Nx(e);if(li(e))return kx(e);if(fi(e))return Dg(e);if(gi(e))return Cx(e);if(vi(e))return Mx(e)}throw pi(e)}function Tx(e){return new P(t=>{let n=e[$n]();if(k(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Nx(e){return new P(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function kx(e){return new P(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ai)})}function Cx(e){return new P(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Dg(e){return new P(t=>{$x(e,t).catch(n=>t.error(n))})}function Mx(e){return Dg(hi(e))}function $x(e,t){var n,o,r,i;return xg(this,void 0,void 0,function*(){try{for(n=wg(e);o=yield n.next(),!o.done;){let s=o.value;if(t.next(s),t.closed)return}}catch(s){r={error:s}}finally{try{o&&!o.done&&(i=n.return)&&(yield i.call(n))}finally{if(r)throw r.error}}t.complete()})}function Sg(e){return j((t,n)=>{Z(e).subscribe(F(n,()=>n.complete(),Bt)),!n.closed&&t.subscribe(n)})}var An={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:o}=An;o&&(t=o.requestAnimationFrame,n=o.cancelAnimationFrame);let r=t(i=>{n=void 0,e(i)});return new se(()=>n?.(r))},requestAnimationFrame(...e){let{delegate:t}=An;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=An;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Er=class extends _e{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:o}=this;if(t)throw n;return this._throwIfClosed(),o}next(t){super.next(this._value=t)}};var wr={now(){return(wr.delegate||Date).now()},delegate:void 0};var yi=class extends _e{constructor(t=1/0,n=1/0,o=wr){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=o,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:o,_infiniteTimeWindow:r,_timestampProvider:i,_windowTime:s}=this;n||(o.push(t),!r&&o.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:o,_buffer:r}=this,i=r.slice();for(let s=0;s<i.length&&!t.closed;s+=o?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:o,_infiniteTimeWindow:r}=this,i=(r?1:2)*t;if(t<1/0&&i<o.length&&o.splice(0,o.length-i),!r){let s=n.now(),a=0;for(let c=1;c<o.length&&o[c]<=s;c+=2)a=c;a&&o.splice(0,a+1)}}};var _i=class extends se{constructor(t,n){super()}schedule(t,n=0){return this}};var Dr={setInterval(e,t,...n){let{delegate:o}=Dr;return o?.setInterval?o.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Dr;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Rn=class extends _i{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var o;if(this.closed)return this;this.state=t;let r=this.id,i=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(i,r,n)),this.pending=!0,this.delay=n,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,o=0){return Dr.setInterval(t.flush.bind(t,this),o)}recycleAsyncId(t,n,o=0){if(o!=null&&this.delay===o&&this.pending===!1)return n;n!=null&&Dr.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let o=this._execute(t,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o=!1,r;try{this.work(t)}catch(i){o=!0,r=i||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:o}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Ht(o,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Pn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,o){return new this.schedulerActionCtor(this,t).schedule(o,n)}};Pn.now=wr.now;var jn=class extends Pn{constructor(t,n=Pn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let o;this._active=!0;do if(o=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,o){for(;t=n.shift();)t.unsubscribe();throw o}}};var Sr=new jn(Rn),Tg=Sr;var bi=class extends Rn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,o=0){return o!==null&&o>0?super.requestAsyncId(t,n,o):(t.actions.push(this),t._scheduled||(t._scheduled=An.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,o=0){var r;if(o!=null?o>0:this.delay>0)return super.recycleAsyncId(t,n,o);let{actions:i}=t;n!=null&&n===t._scheduled&&((r=i[i.length-1])===null||r===void 0?void 0:r.id)!==n&&(An.cancelAnimationFrame(n),t._scheduled=void 0)}};var Ii=class extends jn{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:o}=this,r;t=t||o.shift();do if(r=t.execute(t.state,t.delay))break;while((t=o[0])&&t.id===n&&o.shift());if(this._active=!1,r){for(;(t=o[0])&&t.id===n&&o.shift();)t.unsubscribe();throw r}}};var Ox=new Ii(bi);var qt=new P(e=>e.complete());function xi(e){return e&&k(e.schedule)}function mc(e){return e[e.length-1]}function Ei(e){return k(mc(e))?e.pop():void 0}function Ve(e){return xi(mc(e))?e.pop():void 0}function Ng(e,t){return typeof mc(e)=="number"?e.pop():t}function ge(e,t,n,o=0,r=!1){let i=t.schedule(function(){n(),r?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(i),!r)return i}function wi(e,t=0){return j((n,o)=>{n.subscribe(F(o,r=>ge(o,e,()=>o.next(r),t),()=>ge(o,e,()=>o.complete(),t),r=>ge(o,e,()=>o.error(r),t)))})}function Di(e,t=0){return j((n,o)=>{o.add(e.schedule(()=>n.subscribe(o),t))})}function kg(e,t){return Z(e).pipe(Di(t),wi(t))}function Cg(e,t){return Z(e).pipe(Di(t),wi(t))}function Mg(e,t){return new P(n=>{let o=0;return t.schedule(function(){o===e.length?n.complete():(n.next(e[o++]),n.closed||this.schedule())})})}function $g(e,t){return new P(n=>{let o;return ge(n,t,()=>{o=e[mi](),ge(n,t,()=>{let r,i;try{({value:r,done:i}=o.next())}catch(s){n.error(s);return}i?n.complete():n.next(r)},0,!0)}),()=>k(o?.return)&&o.return()})}function Si(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(n=>{ge(n,t,()=>{let o=e[Symbol.asyncIterator]();ge(n,t,()=>{o.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Og(e,t){return Si(hi(e),t)}function Ag(e,t){if(e!=null){if(di(e))return kg(e,t);if(On(e))return Mg(e,t);if(li(e))return Cg(e,t);if(fi(e))return Si(e,t);if(gi(e))return $g(e,t);if(vi(e))return Og(e,t)}throw pi(e)}function He(e,t){return t?Ag(e,t):Z(e)}function Ax(...e){let t=Ve(e);return He(e,t)}function Rx(e,t){let n=k(e)?e:()=>e,o=r=>r.error(n());return new P(t?r=>t.schedule(o,0,r):o)}function Px(e){return!!e&&(e instanceof P||k(e.lift)&&k(e.subscribe))}var Tr=kn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Rg(e){return e instanceof Date&&!isNaN(e)}function Be(e,t){return j((n,o)=>{let r=0;n.subscribe(F(o,i=>{o.next(e.call(t,i,r++))}))})}var{isArray:jx}=Array;function Lx(e,t){return jx(t)?e(...t):e(t)}function Ln(e){return Be(t=>Lx(e,t))}var{isArray:Fx}=Array,{getPrototypeOf:zx,prototype:Ux,keys:Vx}=Object;function Ti(e){if(e.length===1){let t=e[0];if(Fx(t))return{args:t,keys:null};if(Hx(t)){let n=Vx(t);return{args:n.map(o=>t[o]),keys:n}}}return{args:e,keys:null}}function Hx(e){return e&&typeof e=="object"&&zx(e)===Ux}function Ni(e,t){return e.reduce((n,o,r)=>(n[o]=t[r],n),{})}function Bx(...e){let t=Ve(e),n=Ei(e),{args:o,keys:r}=Ti(e);if(o.length===0)return He([],t);let i=new P(Zx(o,t,r?s=>Ni(r,s):ye));return n?i.pipe(Ln(n)):i}function Zx(e,t,n=ye){return o=>{Pg(t,()=>{let{length:r}=e,i=new Array(r),s=r,a=r;for(let c=0;c<r;c++)Pg(t,()=>{let u=He(e[c],t),l=!1;u.subscribe(F(o,d=>{i[c]=d,l||(l=!0,a--),a||o.next(n(i.slice()))},()=>{--s||o.complete()}))},o)},o)}}function Pg(e,t,n){e?ge(n,e,t):t()}function jg(e,t,n,o,r,i,s,a){let c=[],u=0,l=0,d=!1,g=()=>{d&&!c.length&&!u&&t.complete()},f=y=>u<o?p(y):c.push(y),p=y=>{i&&t.next(y),u++;let _=!1;Z(n(y,l++)).subscribe(F(t,w=>{r?.(w),i?f(w):t.next(w)},()=>{_=!0},void 0,()=>{if(_)try{for(u--;c.length&&u<o;){let w=c.shift();s?ge(t,s,()=>p(w)):p(w)}g()}catch(w){t.error(w)}}))};return e.subscribe(F(t,f,()=>{d=!0,g()})),()=>{a?.()}}function it(e,t,n=1/0){return k(t)?it((o,r)=>Be((i,s)=>t(o,i,r,s))(Z(e(o,r))),n):(typeof t=="number"&&(n=t),j((o,r)=>jg(o,r,e,n)))}function Nr(e=1/0){return it(ye,e)}function Lg(){return Nr(1)}function ki(...e){return Lg()(He(e,Ve(e)))}function Wx(e){return new P(t=>{Z(e()).subscribe(t)})}function Gx(...e){let t=Ei(e),{args:n,keys:o}=Ti(e),r=new P(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;Z(n[l]).subscribe(F(i,g=>{d||(d=!0,u--),a[l]=g},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(o?Ni(o,a):a),i.complete())}))}});return t?r.pipe(Ln(t)):r}var qx=["addListener","removeListener"],Jx=["addEventListener","removeEventListener"],Qx=["on","off"];function gc(e,t,n,o){if(k(n)&&(o=n,n=void 0),o)return gc(e,t,n).pipe(Ln(o));let[r,i]=Xx(e)?Jx.map(s=>a=>e[s](t,a,n)):Yx(e)?qx.map(Fg(e,t)):Kx(e)?Qx.map(Fg(e,t)):[];if(!r&&On(e))return it(s=>gc(s,t,n))(Z(e));if(!r)throw new TypeError("Invalid event target");return new P(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return r(a),()=>i(a)})}function Fg(e,t){return n=>o=>e[n](t,o)}function Yx(e){return k(e.addListener)&&k(e.removeListener)}function Kx(e){return k(e.on)&&k(e.off)}function Xx(e){return k(e.addEventListener)&&k(e.removeEventListener)}function kr(e=0,t,n=Tg){let o=-1;return t!=null&&(xi(t)?n=t:o=t),new P(r=>{let i=Rg(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){r.closed||(r.next(s++),0<=o?this.schedule(void 0,o):r.complete())},i)})}function eE(e=0,t=Sr){return e<0&&(e=0),kr(e,e,t)}function tE(...e){let t=Ve(e),n=Ng(e,1/0),o=e;return o.length?o.length===1?Z(o[0]):Nr(n)(He(o,t)):qt}var nE=new P(Bt);function Ci(e,t){return j((n,o)=>{let r=0;n.subscribe(F(o,i=>e.call(t,i,r++)&&o.next(i)))})}function zg(e){return j((t,n)=>{let o=!1,r=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,o){o=!1;let u=r;r=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(F(n,u=>{o=!0,r=u,i||Z(e(u)).subscribe(i=F(n,a,c))},()=>{s=!0,(!o||!i||i.closed)&&n.complete()}))})}function rE(e,t=Sr){return zg(()=>kr(e,t))}function Ug(e){return j((t,n)=>{let o=null,r=!1,i;o=t.subscribe(F(n,void 0,void 0,s=>{i=Z(e(s,Ug(e)(t))),o?(o.unsubscribe(),o=null,i.subscribe(n)):r=!0})),r&&(o.unsubscribe(),o=null,i.subscribe(n))})}function oE(e,t){return k(t)?it(e,t,1):it(e,1)}function Vg(e){return j((t,n)=>{let o=!1;t.subscribe(F(n,r=>{o=!0,n.next(r)},()=>{o||n.next(e),n.complete()}))})}function hc(e){return e<=0?()=>qt:j((t,n)=>{let o=0;t.subscribe(F(n,r=>{++o<=e&&(n.next(r),e<=o&&n.complete())}))})}function iE(e){return Be(()=>e)}function sE(e,t=ye){return e=e??aE,j((n,o)=>{let r,i=!0;n.subscribe(F(o,s=>{let a=t(s);(i||!e(r,a))&&(i=!1,r=a,o.next(s))}))})}function aE(e,t){return e===t}function Hg(e=cE){return j((t,n)=>{let o=!1;t.subscribe(F(n,r=>{o=!0,n.next(r)},()=>o?n.complete():n.error(e())))})}function cE(){return new Tr}function uE(e){return j((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function lE(e,t){let n=arguments.length>=2;return o=>o.pipe(e?Ci((r,i)=>e(r,i,o)):ye,hc(1),n?Vg(t):Hg(()=>new Tr))}function dE(e){return e<=0?()=>qt:j((t,n)=>{let o=[];t.subscribe(F(n,r=>{o.push(r),e<o.length&&o.shift()},()=>{for(let r of o)n.next(r);n.complete()},void 0,()=>{o=null}))})}function Bg(e={}){let{connector:t=()=>new _e,resetOnError:n=!0,resetOnComplete:o=!0,resetOnRefCountZero:r=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,g=()=>{a?.unsubscribe(),a=void 0},f=()=>{g(),s=c=void 0,l=d=!1},p=()=>{let y=s;f(),y?.unsubscribe()};return j((y,_)=>{u++,!d&&!l&&g();let w=c=c??t();_.add(()=>{u--,u===0&&!d&&!l&&(a=vc(p,r))}),w.subscribe(_),!s&&u>0&&(s=new ot({next:D=>w.next(D),error:D=>{d=!0,g(),a=vc(f,n,D),w.error(D)},complete:()=>{l=!0,g(),a=vc(f,o),w.complete()}}),Z(y).subscribe(s))})(i)}}function vc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let o=new ot({next:()=>{o.unsubscribe(),e()}});return Z(t(...n)).subscribe(o)}function fE(e,t,n){let o,r=!1;return e&&typeof e=="object"?{bufferSize:o=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:n}=e:o=e??1/0,Bg({connector:()=>new yi(o,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function pE(...e){let t=Ve(e);return j((n,o)=>{(t?ki(e,n,t):ki(e,n)).subscribe(o)})}function mE(e,t){return j((n,o)=>{let r=null,i=0,s=!1,a=()=>s&&!r&&o.complete();n.subscribe(F(o,c=>{r?.unsubscribe();let u=0,l=i++;Z(e(c,l)).subscribe(r=F(o,d=>o.next(t?t(c,d,l,u++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function gE(e,t,n){let o=k(e)||t||n?{next:e,error:t,complete:n}:e;return o?j((r,i)=>{var s;(s=o.subscribe)===null||s===void 0||s.call(o);let a=!0;r.subscribe(F(i,c=>{var u;(u=o.next)===null||u===void 0||u.call(o,c),i.next(c)},()=>{var c;a=!1,(c=o.complete)===null||c===void 0||c.call(o),i.complete()},c=>{var u;a=!1,(u=o.error)===null||u===void 0||u.call(o,c),i.error(c)},()=>{var c,u;a&&((c=o.unsubscribe)===null||c===void 0||c.call(o)),(u=o.finalize)===null||u===void 0||u.call(o)}))}):ye}var le=null,Mi=!1,yc=1,hE=null,K=Symbol("SIGNAL");function S(e){let t=le;return le=e,t}function $i(){return le}var st={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function at(e){if(Mi)throw new Error("");if(le===null)return;le.consumerOnSignalRead(e);let t=le.producersTail;if(t!==void 0&&t.producer===e)return;let n,o=le.recomputing;if(o&&(n=t!==void 0?t.nextProducer:le.producers,n!==void 0&&n.producer===e)){le.producersTail=n,n.lastReadVersion=e.version;return}let r=e.consumersTail;if(r!==void 0&&r.consumer===le&&(!o||vE(r,le)))return;let i=zn(le),s={producer:e,consumer:le,nextProducer:n,prevConsumer:r,lastReadVersion:e.version,nextConsumer:void 0};le.producersTail=s,t!==void 0?t.nextProducer=s:le.producers=s,i&&Jg(e,s)}function Zg(){yc++}function Yt(e){if(!(zn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===yc)){if(!e.producerMustRecompute(e)&&!Kt(e)){Fn(e);return}e.producerRecomputeValue(e),Fn(e)}}function _c(e){if(e.consumers===void 0)return;let t=Mi;Mi=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let o=n.consumer;o.dirty||Wg(o)}}finally{Mi=t}}function bc(){return le?.consumerAllowSignalWrites!==!1}function Wg(e){e.dirty=!0,_c(e),e.consumerMarkedDirty?.(e)}function Fn(e){e.dirty=!1,e.lastCleanEpoch=yc}function We(e){return e&&Gg(e),S(e)}function Gg(e){e.producersTail=void 0,e.recomputing=!0}function ct(e,t){S(t),e&&qg(e)}function qg(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(zn(e))do n=Ic(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Kt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,o=t.lastReadVersion;if(o!==n.version||(Yt(n),o!==n.version))return!0}return!1}function ut(e){if(zn(e)){let t=e.producers;for(;t!==void 0;)t=Ic(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Jg(e,t){let n=e.consumersTail,o=zn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!o)for(let r=e.producers;r!==void 0;r=r.nextProducer)Jg(r.producer,r)}function Ic(e){let t=e.producer,n=e.nextProducer,o=e.nextConsumer,r=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,o!==void 0?o.prevConsumer=r:t.consumersTail=r,r!==void 0)r.nextConsumer=o;else if(t.consumers=o,!zn(t)){let i=t.producers;for(;i!==void 0;)i=Ic(i)}return n}function zn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Cr(e){hE?.(e)}function vE(e,t){let n=t.producersTail;if(n!==void 0){let o=t.producers;do{if(o===e)return!0;if(o===n)break;o=o.nextProducer}while(o!==void 0)}return!1}function Mr(e,t){return Object.is(e,t)}function $r(e,t){let n=Object.create(yE);n.computation=e,t!==void 0&&(n.equal=t);let o=()=>{if(Yt(n),at(n),n.value===Ze)throw n.error;return n.value};return o[K]=n,Cr(n),o}var Jt=Symbol("UNSET"),Qt=Symbol("COMPUTING"),Ze=Symbol("ERRORED"),yE=I(m({},st),{value:Jt,dirty:!0,error:null,equal:Mr,kind:"computed",producerMustRecompute(e){return e.value===Jt||e.value===Qt},producerRecomputeValue(e){if(e.value===Qt)throw new Error("");let t=e.value;e.value=Qt;let n=We(e),o,r=!1;try{o=e.computation(),S(null),r=t!==Jt&&t!==Ze&&o!==Ze&&e.equal(t,o)}catch(i){o=Ze,e.error=i}finally{ct(e,n)}if(r){e.value=t;return}e.value=o,e.version++}});function _E(){throw new Error}var Qg=_E;function Yg(e){Qg(e)}function xc(e){Qg=e}var bE=null;function Ec(e,t){let n=Object.create(Or);n.value=e,t!==void 0&&(n.equal=t);let o=()=>Kg(n);return o[K]=n,Cr(n),[o,s=>St(n,s),s=>Oi(n,s)]}function Kg(e){return at(e),e.value}function St(e,t){bc()||Yg(e),e.equal(e.value,t)||(e.value=t,IE(e))}function Oi(e,t){bc()||Yg(e),St(e,t(e.value))}var Or=I(m({},st),{equal:Mr,value:void 0,kind:"signal"});function IE(e){e.version++,Zg(),_c(e),bE?.(e)}var wc=I(m({},st),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Dc(e){if(e.dirty=!1,e.version>0&&!Kt(e))return;e.version++;let t=We(e);try{e.cleanup(),e.fn()}finally{ct(e,t)}}var Sc;function Ai(){return Sc}function Ge(e){let t=Sc;return Sc=e,t}var Xg=Symbol("NotFound");function Un(e){return e===Xg||e?.name==="\u0275NotFound"}function Tc(e,t,n){let o=Object.create(xE);o.source=e,o.computation=t,n!=null&&(o.equal=n);let i=()=>{if(Yt(o),at(o),o.value===Ze)throw o.error;return o.value};return i[K]=o,Cr(o),i}function eh(e,t){Yt(e),St(e,t),Fn(e)}function th(e,t){if(Yt(e),e.value===Ze)throw e.error;Oi(e,t),Fn(e)}var xE=I(m({},st),{value:Jt,dirty:!0,error:null,equal:Mr,kind:"linkedSignal",producerMustRecompute(e){return e.value===Jt||e.value===Qt},producerRecomputeValue(e){if(e.value===Qt)throw new Error("");let t=e.value;e.value=Qt;let n=We(e),o,r=!1;try{let i=e.source(),s=t!==Jt&&t!==Ze,a=s?{source:e.sourceValue,value:t}:void 0;o=e.computation(i,a),e.sourceValue=i,S(null),r=s&&o!==Ze&&e.equal(t,o)}catch(i){o=Ze,e.error=i}finally{ct(e,n)}if(r){e.value=t;return}e.value=o,e.version++}});function nh(e){let t=S(null);try{return e()}finally{S(t)}}var Ui="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",L=class extends Error{code;constructor(t,n){super(zr(t,n)),this.code=t}};function EE(e){return`NG0${Math.abs(e)}`}function zr(e,t){return`${EE(e)}${t?": "+t:""}`}var Hn=globalThis;function H(e){for(let t in e)if(e[t]===H)return t;throw Error("")}function Ur(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Ur).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let o=n.indexOf(`
`);return o>=0?n.slice(0,o):n}function Vi(e,t){return e?t?`${e} ${t}`:e:t||""}var wE=H({__forward_ref__:H});function Hi(e){return e.__forward_ref__=Hi,e}function ue(e){return zc(e)?e():e}function zc(e){return typeof e=="function"&&e.hasOwnProperty(wE)&&e.__forward_ref__===Hi}function te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ah(e){return{providers:e.providers||[],imports:e.imports||[]}}function Vr(e){return SE(e,Bi)}function DE(e){return Vr(e)!==null}function SE(e,t){return e.hasOwnProperty(t)&&e[t]||null}function TE(e){let t=e?.[Bi]??null;return t||null}function kc(e){return e&&e.hasOwnProperty(Pi)?e[Pi]:null}var Bi=H({\u0275prov:H}),Pi=H({\u0275inj:H}),W=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=te({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Uc(e){return e&&!!e.\u0275providers}var Vc=H({\u0275cmp:H}),Hc=H({\u0275dir:H}),Bc=H({\u0275pipe:H}),Zc=H({\u0275mod:H}),Rr=H({\u0275fac:H}),rn=H({__NG_ELEMENT_ID__:H}),rh=H({__NG_ENV_ID__:H});function Wc(e){return Zi(e,"@NgModule"),e[Zc]||null}function Ye(e){return Zi(e,"@Component"),e[Vc]||null}function Gc(e){return Zi(e,"@Directive"),e[Hc]||null}function ch(e){return Zi(e,"@Pipe"),e[Bc]||null}function Zi(e,t){if(e==null)throw new L(-919,!1)}function Wi(e){return typeof e=="string"?e:e==null?"":String(e)}var uh=H({ngErrorCode:H}),NE=H({ngErrorMessage:H}),kE=H({ngTokenPath:H});function qc(e,t){return lh("",-200,t)}function Gi(e,t){throw new L(-201,!1)}function lh(e,t,n){let o=new L(t,e);return o[uh]=t,o[NE]=e,n&&(o[kE]=n),o}function CE(e){return e[uh]}var Cc;function dh(){return Cc}function de(e){let t=Cc;return Cc=e,t}function Jc(e,t,n){let o=Vr(e);if(o&&o.providedIn=="root")return o.value===void 0?o.value=o.factory():o.value;if(n&8)return null;if(t!==void 0)return t;Gi(e,"")}var ME={},Xt=ME,$E="__NG_DI_FLAG__",Mc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let o=en(n)||0;try{return this.injector.get(t,o&8?null:Xt,o)}catch(r){if(Un(r))return r;throw r}}};function OE(e,t=0){let n=Ai();if(n===void 0)throw new L(-203,!1);if(n===null)return Jc(e,void 0,t);{let o=AE(t),r=n.retrieve(e,o);if(Un(r)){if(o.optional)return null;throw r}return r}}function qe(e,t=0){return(dh()||OE)(ue(e),t)}function C(e,t){return qe(e,en(t))}function en(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function AE(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function $c(e){let t=[];for(let n=0;n<e.length;n++){let o=ue(e[n]);if(Array.isArray(o)){if(o.length===0)throw new L(900,!1);let r,i=0;for(let s=0;s<o.length;s++){let a=o[s],c=RE(a);typeof c=="number"?c===-1?r=a.token:i|=c:r=a}t.push(qe(r,i))}else t.push(qe(o))}return t}function RE(e){return e[$E]}function Tt(e,t){let n=e.hasOwnProperty(Rr);return n?e[Rr]:null}function fh(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++){let r=e[o],i=t[o];if(n&&(r=n(r),i=n(i)),i!==r)return!1}return!0}function ph(e){return e.flat(Number.POSITIVE_INFINITY)}function qi(e,t){e.forEach(n=>Array.isArray(n)?qi(n,t):t(n))}function Qc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Hr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function mh(e,t){let n=[];for(let o=0;o<e;o++)n.push(t);return n}function gh(e,t,n,o){let r=e.length;if(r==t)e.push(n,o);else if(r===1)e.push(o,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){let i=r-2;e[r]=e[i],r--}e[t]=n,e[t+1]=o}}function Ji(e,t,n){let o=Bn(e,t);return o>=0?e[o|1]=n:(o=~o,gh(e,o,t,n)),o}function Qi(e,t){let n=Bn(e,t);if(n>=0)return e[n|1]}function Bn(e,t){return PE(e,t,1)}function PE(e,t,n){let o=0,r=e.length>>n;for(;r!==o;){let i=o+(r-o>>1),s=e[i<<n];if(t===s)return i<<n;s>t?r=i:o=i+1}return~(r<<n)}var on={},fe=[],Zn=new W(""),Yc=new W("",-1),Kc=new W(""),Pr=class{get(t,n=Xt){if(n===Xt){let r=lh("",-201);throw r.name="\u0275NotFound",r}return n}};function Wn(e){return{\u0275providers:e}}function hh(e){return Wn([{provide:Zn,multi:!0,useValue:e}])}function vh(...e){return{\u0275providers:Xc(!0,e),\u0275fromNgModule:!0}}function Xc(e,...t){let n=[],o=new Set,r,i=s=>{n.push(s)};return qi(t,s=>{let a=s;ji(a,i,[],o)&&(r||=[],r.push(a))}),r!==void 0&&yh(r,i),n}function yh(e,t){for(let n=0;n<e.length;n++){let{ngModule:o,providers:r}=e[n];eu(r,i=>{t(i,o)})}}function ji(e,t,n,o){if(e=ue(e),!e)return!1;let r=null,i=kc(e),s=!i&&Ye(e);if(!i&&!s){let c=e.ngModule;if(i=kc(c),i)r=c;else return!1}else{if(s&&!s.standalone)return!1;r=e}let a=o.has(r);if(s){if(a)return!1;if(o.add(r),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)ji(u,t,n,o)}}else if(i){if(i.imports!=null&&!a){o.add(r);let u;qi(i.imports,l=>{ji(l,t,n,o)&&(u||=[],u.push(l))}),u!==void 0&&yh(u,t)}if(!a){let u=Tt(r)||(()=>new r);t({provide:r,useFactory:u,deps:fe},r),t({provide:Kc,useValue:r,multi:!0},r),t({provide:Zn,useValue:()=>qe(r),multi:!0},r)}let c=i.providers;if(c!=null&&!a){let u=e;eu(c,l=>{t(l,u)})}}else return!1;return r!==e&&e.providers!==void 0}function eu(e,t){for(let n of e)Uc(n)&&(n=n.\u0275providers),Array.isArray(n)?eu(n,t):t(n)}var jE=H({provide:String,useValue:H});function _h(e){return e!==null&&typeof e=="object"&&jE in e}function LE(e){return!!(e&&e.useExisting)}function FE(e){return!!(e&&e.useFactory)}function tn(e){return typeof e=="function"}function bh(e){return!!e.useClass}var tu=new W(""),Ri={},oh={},Nc;function Gn(){return Nc===void 0&&(Nc=new Pr),Nc}var Se=class{},nn=class extends Se{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,o,r){super(),this.parent=n,this.source=o,this.scopes=r,Ac(t,s=>this.processProvider(s)),this.records.set(Yc,Vn(void 0,this)),r.has("environment")&&this.records.set(Se,Vn(void 0,this));let i=this.records.get(tu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Kc,fe,{self:!0}))}retrieve(t,n){let o=en(n)||0;try{return this.get(t,Xt,o)}catch(r){if(Un(r))return r;throw r}}destroy(){Ar(this),this._destroyed=!0;let t=S(null);try{for(let o of this._ngOnDestroyHooks)o.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let o of n)o()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(t)}}onDestroy(t){return Ar(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ar(this);let n=Ge(this),o=de(void 0),r;try{return t()}finally{Ge(n),de(o)}}get(t,n=Xt,o){if(Ar(this),t.hasOwnProperty(rh))return t[rh](this);let r=en(o),i,s=Ge(this),a=de(void 0);try{if(!(r&4)){let u=this.records.get(t);if(u===void 0){let l=BE(t)&&Vr(t);l&&this.injectableDefInScope(l)?u=Vn(Oc(t),Ri):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,r)}let c=r&2?Gn():this.parent;return n=r&8&&n===Xt?null:n,c.get(t,n)}catch(c){let u=CE(c);throw u===-200||u===-201?new L(u,null):c}finally{de(a),Ge(s)}}resolveInjectorInitializers(){let t=S(null),n=Ge(this),o=de(void 0),r;try{let i=this.get(Zn,fe,{self:!0});for(let s of i)s()}finally{Ge(n),de(o),S(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=ue(t);let n=tn(t)?t:ue(t&&t.provide),o=UE(t);if(!tn(t)&&t.multi===!0){let r=this.records.get(n);r||(r=Vn(void 0,Ri,!0),r.factory=()=>$c(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,o)}hydrate(t,n,o){let r=S(null);try{if(n.value===oh)throw qc("");return n.value===Ri&&(n.value=oh,n.value=n.factory(void 0,o)),typeof n.value=="object"&&n.value&&HE(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{S(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Oc(e){let t=Vr(e),n=t!==null?t.factory:Tt(e);if(n!==null)return n;if(e instanceof W)throw new L(-204,!1);if(e instanceof Function)return zE(e);throw new L(-204,!1)}function zE(e){if(e.length>0)throw new L(-204,!1);let n=TE(e);return n!==null?()=>n.factory(e):()=>new e}function UE(e){if(_h(e))return Vn(void 0,e.useValue);{let t=nu(e);return Vn(t,Ri)}}function nu(e,t,n){let o;if(tn(e)){let r=ue(e);return Tt(r)||Oc(r)}else if(_h(e))o=()=>ue(e.useValue);else if(FE(e))o=()=>e.useFactory(...$c(e.deps||[]));else if(LE(e))o=(r,i)=>qe(ue(e.useExisting),i!==void 0&&i&8?8:void 0);else{let r=ue(e&&(e.useClass||e.provide));if(VE(e))o=()=>new r(...$c(e.deps));else return Tt(r)||Oc(r)}return o}function Ar(e){if(e.destroyed)throw new L(-205,!1)}function Vn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function VE(e){return!!e.deps}function HE(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function BE(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ac(e,t){for(let n of e)Array.isArray(n)?Ac(n,t):n&&Uc(n)?Ac(n.\u0275providers,t):t(n)}function Yi(e,t){let n;e instanceof nn?(Ar(e),n=e):n=new Mc(e);let o,r=Ge(n),i=de(void 0);try{return t()}finally{Ge(r),de(i)}}function Ih(){return dh()!==void 0||Ai()!=null}var Oe=0,N=1,M=2,ae=3,Te=4,pe=5,sn=6,qn=7,ne=8,pt=9,Ae=10,G=11,Jn=12,ru=13,an=14,me=15,Ct=16,cn=17,Ke=18,mt=19,ou=20,dt=21,Ki=22,Nt=23,Ie=24,un=25,Mt=26,Y=27,xh=1,iu=6,$t=7,Br=8,ln=9,ee=10;function gt(e){return Array.isArray(e)&&typeof e[xh]=="object"}function Re(e){return Array.isArray(e)&&e[xh]===!0}function su(e){return(e.flags&4)!==0}function ht(e){return e.componentOffset>-1}function Qn(e){return(e.flags&1)===1}function Ot(e){return!!e.template}function Yn(e){return(e[M]&512)!==0}function dn(e){return(e[M]&256)===256}var Eh="svg",wh="math";function Ne(e){for(;Array.isArray(e);)e=e[Oe];return e}function au(e,t){return Ne(t[e])}function Pe(e,t){return Ne(t[e.index])}function Xi(e,t){return e.data[t]}function es(e,t){return e[t]}function cu(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}function ke(e,t){let n=t[e];return gt(n)?n:n[Oe]}function Dh(e){return(e[M]&4)===4}function ts(e){return(e[M]&128)===128}function Sh(e){return Re(e[ae])}function Ce(e,t){return t==null?null:e[t]}function uu(e){e[cn]=0}function lu(e){e[M]&1024||(e[M]|=1024,ts(e)&&fn(e))}function Th(e,t){for(;e>0;)t=t[an],e--;return t}function Zr(e){return!!(e[M]&9216||e[Ie]?.dirty)}function ns(e){e[Ae].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Zr(e)&&fn(e)}function fn(e){e[Ae].changeDetectionScheduler?.notify(0);let t=kt(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!ts(t)));)t=kt(t)}function du(e,t){if(dn(e))throw new L(911,!1);e[dt]===null&&(e[dt]=[]),e[dt].push(t)}function Nh(e,t){if(e[dt]===null)return;let n=e[dt].indexOf(t);n!==-1&&e[dt].splice(n,1)}function kt(e){let t=e[ae];return Re(t)?t[ae]:t}function fu(e){return e[qn]??=[]}function pu(e){return e.cleanup??=[]}function kh(e,t,n,o){let r=fu(t);r.push(n),e.firstCreatePass&&pu(e).push(o,r.length-1)}var A={lFrame:Vh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Rc=!1;function Ch(){return A.lFrame.elementDepthCount}function Mh(){A.lFrame.elementDepthCount++}function mu(){A.lFrame.elementDepthCount--}function rs(){return A.bindingsEnabled}function gu(){return A.skipHydrationRootTNode!==null}function hu(e){return A.skipHydrationRootTNode===e}function vu(){A.skipHydrationRootTNode=null}function T(){return A.lFrame.lView}function q(){return A.lFrame.tView}function $h(e){return A.lFrame.contextLView=e,e[ne]}function Oh(e){return A.lFrame.contextLView=null,e}function oe(){let e=yu();for(;e!==null&&e.type===64;)e=e.parent;return e}function yu(){return A.lFrame.currentTNode}function Ah(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Kn(e,t){let n=A.lFrame;n.currentTNode=e,n.isParent=t}function _u(){return A.lFrame.isParent}function bu(){A.lFrame.isParent=!1}function Rh(){return A.lFrame.contextLView}function Iu(){return Rc}function jr(e){let t=Rc;return Rc=e,t}function pn(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ph(e){return A.lFrame.bindingIndex=e}function At(){return A.lFrame.bindingIndex++}function xu(e){let t=A.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function jh(){return A.lFrame.inI18n}function Lh(e,t){let n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,os(t)}function Fh(){return A.lFrame.currentDirectiveIndex}function os(e){A.lFrame.currentDirectiveIndex=e}function zh(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function is(){return A.lFrame.currentQueryIndex}function Wr(e){A.lFrame.currentQueryIndex=e}function ZE(e){let t=e[N];return t.type===2?t.declTNode:t.type===1?e[pe]:null}function Eu(e,t,n){if(n&4){let r=t,i=e;for(;r=r.parent,r===null&&!(n&1);)if(r=ZE(i),r===null||(i=i[an],r.type&10))break;if(r===null)return!1;t=r,e=i}let o=A.lFrame=Uh();return o.currentTNode=t,o.lView=e,!0}function ss(e){let t=Uh(),n=e[N];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Uh(){let e=A.lFrame,t=e===null?null:e.child;return t===null?Vh(e):t}function Vh(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Hh(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wu=Hh;function as(){let e=Hh();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Bh(e){return(A.lFrame.contextLView=Th(e,A.lFrame.contextLView))[ne]}function vt(){return A.lFrame.selectedIndex}function Rt(e){A.lFrame.selectedIndex=e}function Xn(){let e=A.lFrame;return Xi(e.tView,e.selectedIndex)}function Zh(){return A.lFrame.currentNamespace}var Wh=!0;function cs(){return Wh}function Gr(e){Wh=e}function Pc(e,t=null,n=null,o){let r=Du(e,t,n,o);return r.resolveInjectorInitializers(),r}function Du(e,t=null,n=null,o,r=new Set){let i=[n||fe,vh(e)],s;return new nn(i,t||Gn(),s||null,r)}var be=class e{static THROW_IF_NOT_FOUND=Xt;static NULL=new Pr;static create(t,n){if(Array.isArray(t))return Pc({name:""},n,t,"");{let o=t.name??"";return Pc({name:o},t.parent,t.providers,o)}}static \u0275prov=te({token:e,providedIn:"any",factory:()=>qe(Yc)});static __NG_ELEMENT_ID__=-1},us=new W(""),je=(()=>{class e{static __NG_ELEMENT_ID__=WE;static __NG_ENV_ID__=n=>n}return e})(),Li=class extends je{_lView;constructor(t){super(),this._lView=t}get destroyed(){return dn(this._lView)}onDestroy(t){let n=this._lView;return du(n,t),()=>Nh(n,t)}};function WE(){return new Li(T())}var Gh=!1,qh=new W(""),mn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Er(!1);debugTaskTracker=C(qh,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new P(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})(),jc=class extends _e{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ih()&&(this.destroyRef=C(je,{optional:!0})??void 0,this.pendingTasks=C(mn,{optional:!0})??void 0)}emit(t){let n=S(null);try{super.next(t)}finally{S(n)}}subscribe(t,n,o){let r=t,i=n||(()=>null),s=o;if(t&&typeof t=="object"){let c=t;r=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:i,complete:s});return t instanceof se&&t.add(a),a}wrapInTimeout(t){return n=>{let o=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{o!==void 0&&this.pendingTasks?.remove(o)}})}}},lt=jc;function Fi(...e){}function Su(e){let t,n;function o(){e=Fi;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),o()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),o()})),()=>o()}function Jh(e){return queueMicrotask(()=>e()),()=>{e=Fi}}var Tu="isAngularZone",Lr=Tu+"_ID",GE=0,Je=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new lt(!1);onMicrotaskEmpty=new lt(!1);onStable=new lt(!1);onError=new lt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:i=Gh}=t;if(typeof Zone>"u")throw new L(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&o,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=i,QE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Tu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new L(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new L(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,r){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,qE,Fi,Fi);try{return i.runTask(s,n,o)}finally{i.cancelTask(s)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}},qE={};function Nu(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function JE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Su(()=>{e.callbackScheduled=!1,Lc(e),e.isCheckStableRunning=!0,Nu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Lc(e)}function QE(e){let t=()=>{JE(e)},n=GE++;e._inner=e._inner.fork({name:"angular",properties:{[Tu]:!0,[Lr]:n,[Lr+n]:!0},onInvokeTask:(o,r,i,s,a,c)=>{if(YE(c))return o.invokeTask(i,s,a,c);try{return ih(e),o.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),sh(e)}},onInvoke:(o,r,i,s,a,c,u)=>{try{return ih(e),o.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!KE(c)&&t(),sh(e)}},onHasTask:(o,r,i,s)=>{o.hasTask(i,s),r===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Lc(e),Nu(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(o,r,i,s)=>(o.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Lc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ih(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sh(e){e._nesting--,Nu(e)}var Fr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new lt;onMicrotaskEmpty=new lt;onStable=new lt;onError=new lt;run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,r){return t.apply(n,o)}};function YE(e){return Qh(e,"__ignore_ng_zone__")}function KE(e){return Qh(e,"__scheduler_tick__")}function Qh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ft=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Pt=new W("",{factory:()=>{let e=C(Je),t=C(Se),n;return o=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw o}):(n??=t.get(ft),n.handleError(o))})}}}),Yh={provide:Zn,useValue:()=>{let e=C(ft,{optional:!0})},multi:!0},XE=new W("",{factory:()=>{let e=C(us).defaultView;if(!e)return;let t=C(Pt),n=i=>{t(i.reason),i.preventDefault()},o=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},r=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",o)};typeof Zone<"u"?Zone.root.run(r):r(),C(je).onDestroy(()=>{e.removeEventListener("error",o),e.removeEventListener("unhandledrejection",n)})}});function ew(){return Wn([hh(()=>{C(XE)})])}function Xe(e,t){let[n,o,r]=Ec(e,t?.equal),i=n,s=i[K];return i.set=o,i.update=r,i.asReadonly=er.bind(i),i}function er(){let e=this[K];if(e.readonlyFn===void 0){let t=()=>this();t[K]=e,e.readonlyFn=t}return e.readonlyFn}var tr=(()=>{class e{view;node;constructor(n,o){this.view=n,this.node=o}static __NG_ELEMENT_ID__=tw}return e})();function tw(){return new tr(T(),oe())}var Qe=class{},qr=new W("",{factory:()=>!0});var ku=new W(""),ls=(()=>{class e{internalPendingTasks=C(mn);scheduler=C(Qe);errorHandler=C(Pt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let o=this.add();n().catch(this.errorHandler).finally(o)}static \u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})(),ds=(()=>{class e{static \u0275prov=te({token:e,providedIn:"root",factory:()=>new Fc})}return e})(),Fc=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,o=this.queues.get(n);o.has(t)&&(o.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let o=this.queues.get(n);o.has(t)||o.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,o]of this.queues)n===null?t||=this.flushQueue(o):t||=n.run(()=>this.flushQueue(o));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let o of t)o.dirty&&(this.dirtyEffectCount--,n=!0,o.run());return n}},zi=class{[K];constructor(t){this[K]=t}destroy(){this[K].destroy()}};function Cu(e,t){let n=t?.injector??C(be),o=t?.manualCleanup!==!0?n.get(je):null,r,i=n.get(tr,null,{optional:!0}),s=n.get(Qe);return i!==null?(r=ow(i.view,s,e),o instanceof Li&&o._lView===i.view&&(o=null)):r=iw(e,n.get(ds),s),r.injector=n,o!==null&&(r.onDestroyFns=[o.onDestroy(()=>r.destroy())]),new zi(r)}var Kh=I(m({},wc),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=jr(!1);try{Dc(this)}finally{jr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(e)}}}),nw=I(m({},Kh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ut(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),rw=I(m({},Kh),{consumerMarkedDirty(){this.view[M]|=8192,fn(this.view),this.notifier.notify(13)},destroy(){if(ut(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Nt]?.delete(this)}});function ow(e,t,n){let o=Object.create(rw);return o.view=e,o.zone=typeof Zone<"u"?Zone.current:null,o.notifier=t,o.fn=Xh(o,n),e[Nt]??=new Set,e[Nt].add(o),o.consumerMarkedDirty(o),o}function iw(e,t,n){let o=Object.create(nw);return o.fn=Xh(o,e),o.scheduler=t,o.notifier=n,o.zone=typeof Zone<"u"?Zone.current:null,o.scheduler.add(o),o.notifier.notify(12),o}function Xh(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function co(e){return{toString:e}.toString()}function mw(e){return typeof e=="function"}function Mv(e,t,n,o){t!==null?t.applyValueToInputSignal(t,o):e[n]=o}var bs=class{previousValue;currentValue;firstChange;constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}},gw=(()=>{let e=()=>$v;return e.ngInherit=!0,e})();function $v(e){return e.type.prototype.ngOnChanges&&(e.setInput=vw),hw}function hw(){let e=Av(this),t=e?.current;if(t){let n=e.previous;if(n===on)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function vw(e,t,n,o,r){let i=this.declaredInputs[o],s=Av(e)||yw(e,{previous:on,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new bs(u&&u.currentValue,n,c===on),Mv(e,t,r,n)}var Ov="__ngSimpleChanges__";function Av(e){return e[Ov]||null}function yw(e,t){return e[Ov]=t}var ev=[];var B=function(e,t=null,n){for(let o=0;o<ev.length;o++){let r=ev[o];r(e,t,n)}},z=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(z||{});function _w(e,t,n){let{ngOnChanges:o,ngOnInit:r,ngDoCheck:i}=t.type.prototype;if(o){let s=$v(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}r&&(n.preOrderHooks??=[]).push(0-e,r),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Rv(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n<o;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function hs(e,t,n){Pv(e,t,3,n)}function vs(e,t,n,o){(e[M]&3)===n&&Pv(e,t,n,o)}function Mu(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function Pv(e,t,n,o){let r=o!==void 0?e[cn]&65535:0,i=o??-1,s=t.length-1,a=0;for(let c=r;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],o!=null&&a>=o)break}else t[c]<0&&(e[cn]+=65536),(a<i||i==-1)&&(bw(e,n,t,c),e[cn]=(e[cn]&4294901760)+c+2),c++}function tv(e,t){B(z.LifecycleHookStart,e,t);let n=S(null);try{t.call(e)}finally{S(n),B(z.LifecycleHookEnd,e,t)}}function bw(e,t,n,o){let r=n[o]<0,i=n[o+1],s=r?-n[o]:n[o],a=e[s];r?e[M]>>14<e[cn]>>16&&(e[M]&3)===t&&(e[M]+=16384,tv(a,i)):tv(a,i)}var rr=-1,vn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,o,r){this.factory=t,this.name=r,this.canSeeViewProviders=n,this.injectImpl=o}};function Iw(e){return(e.flags&8)!==0}function xw(e){return(e.flags&16)!==0}function Ew(e,t,n){let o=0;for(;o<n.length;){let r=n[o];if(typeof r=="number"){if(r!==0)break;o++;let i=n[o++],s=n[o++],a=n[o++];e.setAttribute(t,s,a,i)}else{let i=r,s=n[++o];ww(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),o++}}return o}function jv(e){return e===3||e===4||e===6}function ww(e){return e.charCodeAt(0)===64}function Vs(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let o=0;o<t.length;o++){let r=t[o];typeof r=="number"?n=r:n===0||(n===-1||n===2?nv(e,n,r,null,t[++o]):nv(e,n,r,null,null))}}return e}function nv(e,t,n,o,r){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){r!==null&&(e[i+1]=r);return}i++,r!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r)}function Lv(e){return e!==rr}function Is(e){return e&32767}function Dw(e){return e>>16}function xs(e,t){let n=Dw(e),o=t;for(;n>0;)o=o[an],n--;return o}var zu=!0;function Es(e){let t=zu;return zu=e,t}var Sw=256,Fv=Sw-1,zv=5,Tw=0,et={};function Nw(e,t,n){let o;typeof n=="string"?o=n.charCodeAt(0)||0:n.hasOwnProperty(rn)&&(o=n[rn]),o==null&&(o=n[rn]=Tw++);let r=o&Fv,i=1<<r;t.data[e+(r>>zv)]|=i}function ws(e,t){let n=Uv(e,t);if(n!==-1)return n;let o=t[N];o.firstCreatePass&&(e.injectorIndex=t.length,$u(o.data,e),$u(t,null),$u(o.blueprint,null));let r=xl(e,t),i=e.injectorIndex;if(Lv(r)){let s=Is(r),a=xs(r,t),c=a[N].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=r,i}function $u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Uv(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function xl(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,o=null,r=t;for(;r!==null;){if(o=Wv(r),o===null)return rr;if(n++,r=r[an],o.injectorIndex!==-1)return o.injectorIndex|n<<16}return rr}function Uu(e,t,n){Nw(e,t,n)}function kw(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let o=n.length,r=0;for(;r<o;){let i=n[r];if(jv(i))break;if(i===0)r=r+2;else if(typeof i=="number")for(r++;r<o&&typeof n[r]=="string";)r++;else{if(i===t)return n[r+1];r=r+2}}}return null}function Vv(e,t,n){if(n&8||e!==void 0)return e;Gi(t,"NodeInjector")}function Hv(e,t,n,o){if(n&8&&o===void 0&&(o=null),(n&3)===0){let r=e[pt],i=de(void 0);try{return r?r.get(t,o,n&8):Jc(t,o,n&8)}finally{de(i)}}return Vv(o,t,n)}function Bv(e,t,n,o=0,r){if(e!==null){if(t[M]&2048&&!(o&2)){let s=Aw(e,t,n,o,et);if(s!==et)return s}let i=Zv(e,t,n,o,et);if(i!==et)return i}return Hv(t,n,o,r)}function Zv(e,t,n,o,r){let i=Mw(n);if(typeof i=="function"){if(!Eu(t,e,o))return o&1?Vv(r,n,o):Hv(t,n,o,r);try{let s;if(s=i(o),s==null&&!(o&8))Gi(n);else return s}finally{wu()}}else if(typeof i=="number"){let s=null,a=Uv(e,t),c=rr,u=o&1?t[me][pe]:null;for((a===-1||o&4)&&(c=a===-1?xl(e,t):t[a+8],c===rr||!ov(o,!1)?a=-1:(s=t[N],a=Is(c),t=xs(c,t)));a!==-1;){let l=t[N];if(rv(i,a,l.data)){let d=Cw(a,t,n,s,o,u);if(d!==et)return d}c=t[a+8],c!==rr&&ov(o,t[N].data[a+8]===u)&&rv(i,a,t)?(s=l,a=Is(c),t=xs(c,t)):a=-1}}return r}function Cw(e,t,n,o,r,i){let s=t[N],a=s.data[e+8],c=o==null?ht(a)&&zu:o!=s&&(a.type&3)!==0,u=r&1&&i===a,l=ys(a,s,n,c,u);return l!==null?Kr(t,s,l,a,r):et}function ys(e,t,n,o,r){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=o?a:a+l,g=r?a+l:u;for(let f=d;f<g;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(r){let f=s[c];if(f&&Ot(f)&&f.type===n)return c}return null}function Kr(e,t,n,o,r){let i=e[n],s=t.data;if(i instanceof vn){let a=i;if(a.resolving)throw qc("");let c=Es(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?de(a.injectImpl):null,g=Eu(e,o,0);try{i=e[n]=a.factory(void 0,r,s,e,o),t.firstCreatePass&&n>=o.directiveStart&&_w(n,s[n],t)}finally{d!==null&&de(d),Es(c),a.resolving=!1,wu()}}return i}function Mw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(rn)?e[rn]:void 0;return typeof t=="number"?t>=0?t&Fv:$w:t}function rv(e,t,n){let o=1<<e;return!!(n[t+(e>>zv)]&o)}function ov(e,t){return!(e&2)&&!(e&1&&t)}var gn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,o){return Bv(this._tNode,this._lView,t,en(o),n)}};function $w(){return new gn(oe(),T())}function Ow(e){return co(()=>{let t=e.prototype.constructor,n=t[Rr]||Vu(t),o=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==o;){let i=r[Rr]||Vu(r);if(i&&i!==n)return i;r=Object.getPrototypeOf(r)}return i=>new i})}function Vu(e){return zc(e)?()=>{let t=Vu(ue(e));return t&&t()}:Tt(e)}function Aw(e,t,n,o,r){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Yn(s);){let a=Zv(i,s,n,o|2,et);if(a!==et)return a;let c=i.parent;if(!c){let u=s[ou];if(u){let l=u.get(n,et,o&-5);if(l!==et)return l}c=Wv(s),s=s[an]}i=c}return r}function Wv(e){let t=e[N],n=t.type;return n===2?t.declTNode:n===1?e[pe]:null}function Gv(e){return kw(oe(),e)}function Rw(){return ur(oe(),T())}function ur(e,t){return new uo(Pe(e,t))}var uo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Rw}return e})();function qv(e){return e instanceof uo?e.nativeElement:e}function Pw(){return this._results[Symbol.iterator]()}var Ds=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new _e}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let o=ph(t);(this._changesDetected=!fh(this._results,o,n))&&(this._results=o,this.length=o.length,this.last=o[this.length-1],this.first=o[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Pw};function Jv(e){return(e.flags&128)===128}var El=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(El||{}),Qv=new Map,jw=0;function Lw(){return jw++}function Fw(e){Qv.set(e[mt],e)}function Hu(e){Qv.delete(e[mt])}var iv="__ngContext__";function ir(e,t){gt(t)?(e[iv]=t[mt],Fw(t)):e[iv]=t}function Yv(e){return Xv(e[Jn])}function Kv(e){return Xv(e[Te])}function Xv(e){for(;e!==null&&!Re(e);)e=e[Te];return e}var zw;function Uw(e){zw=e}var Vw=new W("",{factory:()=>Hw}),Hw="ng";var ey=new W(""),Bw=new W("",{providedIn:"platform",factory:()=>"unknown"});var Zw=new W("",{factory:()=>C(us).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ty="r";var ny="di";var ry=!1,oy=new W("",{factory:()=>ry});var Ww=new W("");var Gw=(e,t,n,o)=>{};function qw(e,t,n,o){Gw(e,t,n,o)}function Hs(e){return(e.flags&32)===32}var Jw=()=>null;function iy(e,t,n=!1){return Jw(e,t,n)}function sy(e,t){let n=e.contentQueries;if(n!==null){let o=S(null);try{for(let r=0;r<n.length;r+=2){let i=n[r],s=n[r+1];if(s!==-1){let a=e.data[s];Wr(i),a.contentQueries(2,t[s],s)}}}finally{S(o)}}}function Bu(e,t,n){Wr(0);let o=S(null);try{t(e,n)}finally{S(o)}}function wl(e,t,n){if(su(t)){let o=S(null);try{let r=t.directiveStart,i=t.directiveEnd;for(let s=r;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{S(o)}}}var yn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(yn||{});var fs;function Qw(){if(fs===void 0&&(fs=null,Hn.trustedTypes))try{fs=Hn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return fs}function Bs(e){return Qw()?.createHTML(e)||e}var ps;function Yw(){if(ps===void 0&&(ps=null,Hn.trustedTypes))try{ps=Hn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ps}function sv(e){return Yw()?.createScriptURL(e)||e}var yt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ui})`}},Zu=class extends yt{getTypeName(){return"HTML"}},Wu=class extends yt{getTypeName(){return"Style"}},Gu=class extends yt{getTypeName(){return"Script"}},qu=class extends yt{getTypeName(){return"URL"}},Ju=class extends yt{getTypeName(){return"ResourceURL"}};function lo(e){return e instanceof yt?e.changingThisBreaksApplicationSecurity:e}function Dl(e,t){let n=ay(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ui})`)}return n===t}function ay(e){return e instanceof yt&&e.getTypeName()||null}function Kw(e){return new Zu(e)}function Xw(e){return new Wu(e)}function eD(e){return new Gu(e)}function tD(e){return new qu(e)}function nD(e){return new Ju(e)}function rD(e){let t=new Yu(e);return oD()?new Qu(t):t}var Qu=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Bs(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Yu=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Bs(t),n}};function oD(){try{return!!new window.DOMParser().parseFromString(Bs(""),"text/html")}catch{return!1}}var iD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sl(e){return e=String(e),e.match(iD)?e:"unsafe:"+e}function _t(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function fo(...e){let t={};for(let n of e)for(let o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}var cy=_t("area,br,col,hr,img,wbr"),uy=_t("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ly=_t("rp,rt"),sD=fo(ly,uy),aD=fo(uy,_t("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),cD=fo(ly,_t("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),av=fo(cy,aD,cD,sD),dy=_t("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),uD=_t("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lD=_t("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),dD=fo(dy,uD,lD),fD=_t("script,style,template");var Ku=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,o=!0,r=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild){r.push(n),n=gD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=mD(n);if(i){n=i;break}n=r.pop()}}return this.buf.join("")}startElement(t){let n=cv(t).toLowerCase();if(!av.hasOwnProperty(n))return this.sanitizedSomething=!0,!fD.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let o=t.attributes;for(let r=0;r<o.length;r++){let i=o.item(r),s=i.name,a=s.toLowerCase();if(!dD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;dy[a]&&(c=Sl(c)),this.buf.push(" ",s,'="',uv(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cv(t).toLowerCase();av.hasOwnProperty(n)&&!cy.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(uv(t))}};function pD(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function mD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw fy(t);return t}function gD(e){let t=e.firstChild;if(t&&pD(e,t))throw fy(t);return t}function cv(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function fy(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var hD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vD=/([^\#-~ |!])/g;function uv(e){return e.replace(/&/g,"&").replace(hD,function(t){let n=t.charCodeAt(0),o=t.charCodeAt(1);return"&#"+((n-55296)*1024+(o-56320)+65536)+";"}).replace(vD,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ms;function yD(e,t){let n=null;try{ms=ms||rD(e);let o=t?String(t):"";n=ms.getInertBodyElement(o);let r=5,i=o;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,o=i,i=n.innerHTML,n=ms.getInertBodyElement(o)}while(o!==i);let a=new Ku().sanitizeChildren(lv(n)||n);return Bs(a)}finally{if(n){let o=lv(n)||n;for(;o.firstChild;)o.firstChild.remove()}}}function lv(e){return"content"in e&&_D(e)?e.content:null}function _D(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var bD=/^>|^->|<!--|-->|--!>|<!-$/g,ID=/(<|>)/g,xD="\u200B$1\u200B";function ED(e){return e.replace(bD,t=>t.replace(ID,xD))}function wD(e,t){return e.createText(t)}function DD(e,t,n){e.setValue(t,n)}function SD(e,t){return e.createComment(ED(t))}function py(e,t,n){return e.createElement(t,n)}function Ss(e,t,n,o,r){e.insertBefore(t,n,o,r)}function my(e,t,n){e.appendChild(t,n)}function dv(e,t,n,o,r){o!==null?Ss(e,t,n,o,r):my(e,t,n)}function gy(e,t,n,o){e.removeChild(null,t,n,o)}function TD(e,t,n){e.setAttribute(t,"style",n)}function ND(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function hy(e,t,n){let{mergedAttrs:o,classes:r,styles:i}=n;o!==null&&Ew(e,t,o),r!==null&&ND(e,t,r),i!==null&&TD(e,t,i)}var Zs=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Zs||{});function vy(e){let t=_y();return t?t.sanitize(Zs.URL,e)||"":Dl(e,"URL")?lo(e):Sl(Wi(e))}function yy(e){let t=_y();if(t)return sv(t.sanitize(Zs.RESOURCE_URL,e)||"");if(Dl(e,"ResourceURL"))return sv(lo(e));throw new L(904,!1)}var kD=new Set(["embed","frame","iframe","media","script"]),CD=new Set(["base","link","script"]);function MD(e,t){return t==="src"&&kD.has(e)||t==="href"&&CD.has(e)||t==="xlink:href"&&e==="script"?yy:vy}function $D(e,t,n){return MD(t,n)(e)}function _y(){let e=T();return e&&e[Ae].sanitizer}function by(e){return e instanceof Function?e():e}function OD(e,t,n){let o=e.length;for(;;){let r=e.indexOf(t,n);if(r===-1)return r;if(r===0||e.charCodeAt(r-1)<=32){let i=t.length;if(r+i===o||e.charCodeAt(r+i)<=32)return r}n=r+1}}var Iy="ng-template";function AD(e,t,n,o){let r=0;if(o){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&OD(t[r+1].toLowerCase(),n,0)!==-1)return!0}else if(Tl(e))return!1;if(r=t.indexOf(1,r),r>-1){let i;for(;++r<t.length&&typeof(i=t[r])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Tl(e){return e.type===4&&e.value!==Iy}function RD(e,t,n){let o=e.type===4&&!n?Iy:e.value;return t===o}function PD(e,t,n){let o=4,r=e.attrs,i=r!==null?FD(r):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Le(o)&&!Le(c))return!1;if(s&&Le(c))continue;s=!1,o=c|o&1;continue}if(!s)if(o&4){if(o=2|o&1,c!==""&&!RD(e,c,n)||c===""&&t.length===1){if(Le(o))return!1;s=!0}}else if(o&8){if(r===null||!AD(e,r,c,n)){if(Le(o))return!1;s=!0}}else{let u=t[++a],l=jD(c,r,Tl(e),n);if(l===-1){if(Le(o))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=r[l+1].toLowerCase(),o&2&&u!==d){if(Le(o))return!1;s=!0}}}}return Le(o)||s}function Le(e){return(e&1)===0}function jD(e,t,n,o){if(t===null)return-1;let r=0;if(o||!n){let i=!1;for(;r<t.length;){let s=t[r];if(s===e)return r;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++r];for(;typeof a=="string";)a=t[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=i?1:2}return-1}else return zD(t,e)}function xy(e,t,n=!1){for(let o=0;o<t.length;o++)if(PD(e,t[o],n))return!0;return!1}function LD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function FD(e){for(let t=0;t<e.length;t++){let n=e[t];if(jv(n))return t}return e.length}function zD(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let o=e[n];if(typeof o=="number")return-1;if(o===t)return n;n++}return-1}function UD(e,t){e:for(let n=0;n<t.length;n++){let o=t[n];if(e.length===o.length){for(let r=0;r<e.length;r++)if(e[r]!==o[r])continue e;return!0}}return!1}function fv(e,t){return e?":not("+t.trim()+")":t}function VD(e){let t=e[0],n=1,o=2,r="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(o&2){let a=e[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else o&8?r+="."+s:o&4&&(r+=" "+s);else r!==""&&!Le(s)&&(t+=fv(i,r),r=""),o=s,i=i||!Le(o);n++}return r!==""&&(t+=fv(i,r)),t}function HD(e){return e.map(VD).join(",")}function BD(e){let t=[],n=[],o=1,r=2;for(;o<e.length;){let i=e[o];if(typeof i=="string")r===2?i!==""&&t.push(i,e[++o]):r===8&&n.push(i);else{if(!Le(r))break;r=i}o++}return n.length&&t.push(1,...n),t}var Ee={};function Nl(e,t,n,o,r,i,s,a,c,u,l){let d=Y+o,g=d+r,f=ZD(d,g),p=typeof u=="function"?u():u;return f[N]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:g,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function ZD(e,t){let n=[];for(let o=0;o<t;o++)n.push(o<e?null:Ee);return n}function WD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Nl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function kl(e,t,n,o,r,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Oe]=r,d[M]=o|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),uu(d),d[ae]=d[an]=e,d[ne]=n,d[Ae]=s||e&&e[Ae],d[G]=a||e&&e[G],d[pt]=c||e&&e[pt]||null,d[pe]=i,d[mt]=Lw(),d[sn]=l,d[ou]=u,d[me]=t.type==2?e[me]:d,d}function GD(e,t,n){let o=Pe(t,e),r=WD(n),i=e[Ae].rendererFactory,s=Cl(e,kl(e,r,null,Ey(n),o,t,null,i.createRenderer(o,n),null,null,null));return e[t.index]=s}function Ey(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function wy(e,t,n,o){if(n===0)return-1;let r=t.length;for(let i=0;i<n;i++)t.push(o),e.blueprint.push(o),e.data.push(null);return r}function Cl(e,t){return e[Jn]?e[ru][Te]=t:e[Jn]=t,e[ru]=t,t}function qD(e=1){Dy(q(),T(),vt()+e,!1)}function Dy(e,t,n,o){if(!o)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&hs(t,i,n)}else{let i=e.preOrderHooks;i!==null&&vs(t,i,0,n)}Rt(n)}var Ws=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ws||{});function or(e,t,n,o){let r=S(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ws.SignalBased)!==0&&(c=t[i][K]),c!==null&&c.transformFn!==void 0?o=c.transformFn(o):a!==null&&(o=a.call(t,o)),e.setInput!==null?e.setInput(t,c,o,n,i):Mv(t,c,i,o)}finally{S(r)}}var Ts=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ts||{}),JD;function Ml(e,t){return JD(e,t)}var uF=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Xu=new WeakMap,Jr=new WeakSet;function QD(e,t){let n=Xu.get(e);if(!n||n.length===0)return;let o=t.parentNode,r=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Jr.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(r&&s===r||a&&o&&a!==o)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function YD(e,t){let n=Xu.get(e);n?n.includes(t)||n.push(t):Xu.set(e,[t])}var Xr=new Set,Gs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Gs||{}),bn=new W(""),pv=new Set;function tt(e){pv.has(e)||(pv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var qs=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})(),$l=[0,1,2,3],Ol=(()=>{class e{ngZone=C(Je);scheduler=C(Qe);errorHandler=C(ft,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(bn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&B(z.AfterRenderHooksStart),this.executing=!0;for(let o of $l)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[o]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=r.hooks[o];return i(r.pipelinedValue)},r.snapshot))}catch(i){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let o of this.sequences)o.afterRun(),o.once&&(this.sequences.delete(o),o.destroy());for(let o of this.deferredRegistrations)this.sequences.add(o);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&B(z.AfterRenderHooksEnd)}register(n){let{view:o}=n;o!==void 0?((o[un]??=[]).push(n),fn(o),o[M]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,o){return o?o.run(Gs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})(),eo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,o,r,i,s=null){this.impl=t,this.hooks=n,this.view=o,this.once=r,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[un];t&&(this.view[un]=t.filter(n=>n!==this))}};function KD(e,t){let n=t?.injector??C(be);return tt("NgAfterRender"),Sy(e,n,t,!1)}function XD(e,t){let n=t?.injector??C(be);return tt("NgAfterNextRender"),Sy(e,n,t,!0)}function eS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Sy(e,t,n,o){let r=t.get(qs);r.impl??=t.get(Ol);let i=t.get(bn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(je):null,a=t.get(tr,null,{optional:!0}),c=new eo(r.impl,eS(e),a?.view,o,s,i?.snapshot(null));return r.impl.register(c),c}var Ty=new W("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:C(Se)})});function Ny(e,t,n){let o=e.get(Ty);if(Array.isArray(t))for(let r of t)o.queue.add(r),n?.detachedLeaveAnimationFns?.push(r);else o.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);o.scheduler&&o.scheduler(e)}function tS(e,t){let n=e.get(Ty);if(t.detachedLeaveAnimationFns){for(let o of t.detachedLeaveAnimationFns)n.queue.delete(o);t.detachedLeaveAnimationFns=void 0}}function nS(e,t){for(let[n,o]of t)Ny(e,o.animateFns)}function mv(e,t,n,o){let r=e?.[Mt]?.enter;t!==null&&r&&r.has(n.index)&&nS(o,r)}function nr(e,t,n,o,r,i,s,a){if(r!=null){let c,u=!1;Re(r)?c=r:gt(r)&&(u=!0,r=r[Oe]);let l=Ne(r);e===0&&o!==null?(mv(a,o,i,n),s==null?my(t,o,l):Ss(t,o,l,s||null,!0)):e===1&&o!==null?(mv(a,o,i,n),Ss(t,o,l,s||null,!0),QD(i,l)):e===2?(a?.[Mt]?.leave?.has(i.index)&&YD(i,l),Jr.delete(l),gv(a,i,n,d=>{if(Jr.has(l)){Jr.delete(l);return}gy(t,l,u,d)})):e===3&&(Jr.delete(l),gv(a,i,n,()=>{t.destroyNode(l)})),c!=null&&pS(t,e,n,c,i,o,s)}}function rS(e,t){ky(e,t),t[Oe]=null,t[pe]=null}function oS(e,t,n,o,r,i){o[Oe]=r,o[pe]=t,Qs(e,o,n,1,r,i)}function ky(e,t){t[Ae].changeDetectionScheduler?.notify(9),Qs(e,t,t[G],2,null,null)}function iS(e){let t=e[Jn];if(!t)return Ou(e[N],e);for(;t;){let n=null;if(gt(t))n=t[Jn];else{let o=t[ee];o&&(n=o)}if(!n){for(;t&&!t[Te]&&t!==e;)gt(t)&&Ou(t[N],t),t=t[ae];t===null&&(t=e),gt(t)&&Ou(t[N],t),n=t&&t[Te]}t=n}}function Al(e,t){let n=e[ln],o=n.indexOf(t);n.splice(o,1)}function Js(e,t){if(dn(t))return;let n=t[G];n.destroyNode&&Qs(e,t,n,3,null,null),iS(t)}function Ou(e,t){if(dn(t))return;let n=S(null);try{t[M]&=-129,t[M]|=256,t[Ie]&&ut(t[Ie]),cS(e,t),aS(e,t),t[N].type===1&&t[G].destroy();let o=t[Ct];if(o!==null&&Re(t[ae])){o!==t[ae]&&Al(o,t);let r=t[Ke];r!==null&&r.detachView(e)}Hu(t)}finally{S(n)}}function gv(e,t,n,o){let r=e?.[Mt];if(r==null||r.leave==null||!r.leave.has(t.index))return o(!1);e&&Xr.add(e[mt]),Ny(n,()=>{if(r.leave&&r.leave.has(t.index)){let s=r.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}r.detachedLeaveAnimationFns=void 0}r.running=Promise.allSettled(a),sS(e,o)}else e&&Xr.delete(e[mt]),o(!1)},r)}function sS(e,t){let n=e[Mt]?.running;if(n){n.then(()=>{e[Mt].running=void 0,Xr.delete(e[mt]),t(!0)});return}t(!1)}function aS(e,t){let n=e.cleanup,o=t[qn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?o[a]():o[-a].unsubscribe(),s+=2}else{let a=o[n[s+1]];n[s].call(a)}o!==null&&(t[qn]=null);let r=t[dt];if(r!==null){t[dt]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let i=t[Nt];if(i!==null){t[Nt]=null;for(let s of i)s.destroy()}}function cS(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let o=0;o<n.length;o+=2){let r=t[n[o]];if(!(r instanceof vn)){let i=n[o+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=r[i[s]],c=i[s+1];B(z.LifecycleHookStart,a,c);try{c.call(a)}finally{B(z.LifecycleHookEnd,a,c)}}else{B(z.LifecycleHookStart,r,i);try{i.call(r)}finally{B(z.LifecycleHookEnd,r,i)}}}}}function Cy(e,t,n){return uS(e,t.parent,n)}function uS(e,t,n){let o=t;for(;o!==null&&o.type&168;)t=o,o=t.parent;if(o===null)return n[Oe];if(ht(o)){let{encapsulation:r}=e.data[o.directiveStart+o.componentOffset];if(r===yn.None||r===yn.Emulated)return null}return Pe(o,n)}function My(e,t,n){return dS(e,t,n)}function lS(e,t,n){return e.type&40?Pe(e,n):null}var dS=lS,hv;function Rl(e,t,n,o){let r=Cy(e,o,t),i=t[G],s=o.parent||t[pe],a=My(s,o,t);if(r!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)dv(i,r,n[c],a,!1);else dv(i,r,n,a,!1);hv!==void 0&&hv(i,o,t,n,r)}function Qr(e,t){if(t!==null){let n=t.type;if(n&3)return Pe(t,e);if(n&4)return el(-1,e[t.index]);if(n&8){let o=t.child;if(o!==null)return Qr(e,o);{let r=e[t.index];return Re(r)?el(-1,r):Ne(r)}}else{if(n&128)return Qr(e,t.next);if(n&32)return Ml(t,e)()||Ne(e[t.index]);{let o=$y(e,t);if(o!==null){if(Array.isArray(o))return o[0];let r=kt(e[me]);return Qr(r,o)}else return Qr(e,t.next)}}}return null}function $y(e,t){if(t!==null){let o=e[me][pe],r=t.projection;return o.projection[r]}return null}function el(e,t){let n=ee+e+1;if(n<t.length){let o=t[n],r=o[N].firstChild;if(r!==null)return Qr(o,r)}return t[$t]}function Pl(e,t,n,o,r,i,s){for(;n!=null;){let a=o[pt];if(n.type===128){n=n.next;continue}let c=o[n.index],u=n.type;if(s&&t===0&&(c&&ir(Ne(c),o),n.flags|=2),!Hs(n))if(u&8)Pl(e,t,n.child,o,r,i,!1),nr(t,e,a,r,c,n,i,o);else if(u&32){let l=Ml(n,o),d;for(;d=l();)nr(t,e,a,r,d,n,i,o);nr(t,e,a,r,c,n,i,o)}else u&16?Oy(e,t,o,n,r,i):nr(t,e,a,r,c,n,i,o);n=s?n.projectionNext:n.next}}function Qs(e,t,n,o,r,i){Pl(n,o,e.firstChild,t,r,i,!1)}function fS(e,t,n){let o=t[G],r=Cy(e,n,t),i=n.parent||t[pe],s=My(i,n,t);Oy(o,0,t,n,r,s)}function Oy(e,t,n,o,r,i){let s=n[me],c=s[pe].projection[o.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];nr(t,e,n[pt],r,l,o,i,n)}else{let u=c,l=s[ae];Jv(o)&&(u.flags|=128),Pl(e,t,u,l,r,i,!0)}}function pS(e,t,n,o,r,i,s){let a=o[$t],c=Ne(o);a!==c&&nr(t,e,n,i,a,r,s);for(let u=ee;u<o.length;u++){let l=o[u];Qs(l[N],l,e,t,i,a)}}function mS(e,t,n,o,r){if(t)r?e.addClass(n,o):e.removeClass(n,o);else{let i=o.indexOf("-")===-1?void 0:Ts.DashCase;r==null?e.removeStyle(n,o,i):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),i|=Ts.Important),e.setStyle(n,o,r,i))}}function Ay(e,t,n,o,r){let i=vt(),s=o&2;try{Rt(-1),s&&t.length>Y&&Dy(e,t,Y,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;B(a,r,n),n(o,r)}finally{Rt(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;B(a,r,n)}}function Ys(e,t,n){bS(e,t,n),(n.flags&64)===64&&IS(e,t,n)}function po(e,t,n=Pe){let o=t.localNames;if(o!==null){let r=t.index+1;for(let i=0;i<o.length;i+=2){let s=o[i+1],a=s===-1?n(t,e):e[s];e[r++]=a}}}function gS(e,t,n,o){let i=o.get(oy,ry)||n===yn.ShadowDom||n===yn.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return hS(s),s}function hS(e){vS(e)}var vS=()=>null;function yS(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ry(e,t,n,o,r,i){let s=t[N];if(zl(e,s,t,n,o)){ht(e)&&_S(t,e.index);return}e.type&3&&(n=yS(n)),Py(e,t,n,o,r,i)}function Py(e,t,n,o,r,i){if(e.type&3){let s=Pe(e,t);o=i!=null?i(o,e.value||"",n):o,r.setProperty(s,n,o)}else e.type&12}function _S(e,t){let n=ke(t,e);n[M]&16||(n[M]|=64)}function bS(e,t,n){let o=n.directiveStart,r=n.directiveEnd;ht(n)&&GD(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ws(n,t);let i=n.initialInputs;for(let s=o;s<r;s++){let a=e.data[s],c=Kr(t,e,s,n);if(ir(c,t),i!==null&&DS(t,s-o,c,a,n,i),Ot(a)){let u=ke(n.index,t);u[ne]=Kr(t,e,s,n)}}}function IS(e,t,n){let o=n.directiveStart,r=n.directiveEnd,i=n.index,s=Fh();try{Rt(i);for(let a=o;a<r;a++){let c=e.data[a],u=t[a];os(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&xS(c,u)}}finally{Rt(-1),os(s)}}function xS(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function jl(e,t){let n=e.directiveRegistry,o=null;if(n)for(let r=0;r<n.length;r++){let i=n[r];xy(t,i.selectors,!1)&&(o??=[],Ot(i)?o.unshift(i):o.push(i))}return o}function ES(e,t,n,o,r,i){let s=Pe(e,t);wS(t[G],s,i,e.value,n,o,r)}function wS(e,t,n,o,r,i,s){if(i==null)e.removeAttribute(t,r,n);else{let a=s==null?Wi(i):s(i,o||"",r);e.setAttribute(t,r,a,n)}}function DS(e,t,n,o,r,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];or(o,n,c,u)}}function Ll(e,t,n,o,r){let i=Y+n,s=t[N],a=r(s,t,e,o,n);t[i]=a,Kn(e,!0);let c=e.type===2;return c?(hy(t[G],a,e),(Ch()===0||Qn(e))&&ir(a,t),Mh()):ir(a,t),cs()&&(!c||!Hs(e))&&Rl(s,t,a,e),e}function Fl(e){let t=e;return _u()?bu():(t=t.parent,Kn(t,!1)),t}function SS(e,t){let n=e[pt];if(!n)return;let o;try{o=n.get(Pt,null)}catch{o=null}o?.(t)}function zl(e,t,n,o,r){let i=e.inputs?.[o],s=e.hostDirectiveInputs?.[o],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];or(d,n[u],l,r),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];or(l,u,o,r),a=!0}return a}function TS(e,t){let n=ke(t,e),o=n[N];NS(o,n);let r=n[Oe];r!==null&&n[sn]===null&&(n[sn]=iy(r,n[pt])),B(z.ComponentStart);try{Ul(o,n,n[ne])}finally{B(z.ComponentEnd,n[ne])}}function NS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ul(e,t,n){ss(t);try{let o=e.viewQuery;o!==null&&Bu(1,o,n);let r=e.template;r!==null&&Ay(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ke]?.finishViewCreation(e),e.staticContentQueries&&sy(e,t),e.staticViewQueries&&Bu(2,e.viewQuery,n);let i=e.components;i!==null&&kS(t,i)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[M]&=-5,as()}}function kS(e,t){for(let n=0;n<t.length;n++)TS(e,t[n])}function mo(e,t,n,o){let r=S(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=kl(e,i,n,a,null,t,null,null,o?.injector??null,o?.embeddedViewInjector??null,o?.dehydratedView??null),u=e[t.index];c[Ct]=u;let l=e[Ke];return l!==null&&(c[Ke]=l.createEmbeddedView(i)),Ul(i,c,n),c}finally{S(r)}}function sr(e,t){return!t||t.firstChild===null||Jv(e)}function to(e,t,n,o,r=!1){for(;n!==null;){if(n.type===128){n=r?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&o.push(Ne(i)),Re(i)&&jy(i,o);let s=n.type;if(s&8)to(e,t,n.child,o);else if(s&32){let a=Ml(n,t),c;for(;c=a();)o.push(c)}else if(s&16){let a=$y(t,n);if(Array.isArray(a))o.push(...a);else{let c=kt(t[me]);to(c[N],c,a,o,!0)}}n=r?n.projectionNext:n.next}return o}function jy(e,t){for(let n=ee;n<e.length;n++){let o=e[n],r=o[N].firstChild;r!==null&&to(o[N],o,r,t)}e[$t]!==e[Oe]&&t.push(e[$t])}function Ly(e){if(e[un]!==null){for(let t of e[un])t.impl.addSequence(t);e[un].length=0}}var Fy=[];function CS(e){return e[Ie]??MS(e)}function MS(e){let t=Fy.pop()??Object.create(OS);return t.lView=e,t}function $S(e){e.lView[Ie]!==e&&(e.lView=null,Fy.push(e))}var OS=I(m({},st),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{fn(e.lView)},consumerOnSignalRead(){this.lView[Ie]=this}});function AS(e){let t=e[Ie]??Object.create(RS);return t.lView=e,t}var RS=I(m({},st),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=kt(e.lView);for(;t&&!zy(t[N]);)t=kt(t);t&&lu(t)},consumerOnSignalRead(){this.lView[Ie]=this}});function zy(e){return e.type!==2}function Uy(e){if(e[Nt]===null)return;let t=!0;for(;t;){let n=!1;for(let o of e[Nt])o.dirty&&(n=!0,o.zone===null||Zone.current===o.zone?o.run():o.zone.run(()=>o.run()));t=n&&!!(e[M]&8192)}}var PS=100;function Vy(e,t=0){let o=e[Ae].rendererFactory,r=!1;r||o.begin?.();try{jS(e,t)}finally{r||o.end?.()}}function jS(e,t){let n=Iu();try{jr(!0),tl(e,t);let o=0;for(;Zr(e);){if(o===PS)throw new L(103,!1);o++,tl(e,1)}}finally{jr(n)}}function LS(e,t,n,o){if(dn(t))return;let r=t[M],i=!1,s=!1;ss(t);let a=!0,c=null,u=null;i||(zy(e)?(u=CS(t),c=We(u)):$i()===null?(a=!1,u=AS(t),c=We(u)):t[Ie]&&(ut(t[Ie]),t[Ie]=null));try{uu(t),Ph(e.bindingStartIndex),n!==null&&Ay(e,t,n,2,o);let l=(r&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&hs(t,f,null)}else{let f=e.preOrderHooks;f!==null&&vs(t,f,0,null),Mu(t,0)}if(s||FS(t),Uy(t),Hy(t,0),e.contentQueries!==null&&sy(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&hs(t,f)}else{let f=e.contentHooks;f!==null&&vs(t,f,1),Mu(t,1)}US(e,t);let d=e.components;d!==null&&Zy(t,d,0);let g=e.viewQuery;if(g!==null&&Bu(2,g,o),!i)if(l){let f=e.viewCheckHooks;f!==null&&hs(t,f)}else{let f=e.viewHooks;f!==null&&vs(t,f,2),Mu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ki]){for(let f of t[Ki])f();t[Ki]=null}i||(Ly(t),t[M]&=-73)}catch(l){throw i||fn(t),l}finally{u!==null&&(ct(u,c),a&&$S(u)),as()}}function Hy(e,t){for(let n=Yv(e);n!==null;n=Kv(n))for(let o=ee;o<n.length;o++){let r=n[o];By(r,t)}}function FS(e){for(let t=Yv(e);t!==null;t=Kv(t)){if(!(t[M]&2))continue;let n=t[ln];for(let o=0;o<n.length;o++){let r=n[o];lu(r)}}}function zS(e,t,n){B(z.ComponentStart);let o=ke(t,e);try{By(o,n)}finally{B(z.ComponentEnd,o[ne])}}function By(e,t){ts(e)&&tl(e,t)}function tl(e,t){let o=e[N],r=e[M],i=e[Ie],s=!!(t===0&&r&16);if(s||=!!(r&64&&t===0),s||=!!(r&1024),s||=!!(i?.dirty&&Kt(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)LS(o,e,o.template,e[ne]);else if(r&8192){let a=S(null);try{Uy(e),Hy(e,1);let c=o.components;c!==null&&Zy(e,c,1),Ly(e)}finally{S(a)}}}function Zy(e,t,n){for(let o=0;o<t.length;o++)zS(e,t[o],n)}function US(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let o=0;o<n.length;o++){let r=n[o];if(r<0)Rt(~r);else{let i=r,s=n[++o],a=n[++o];Lh(s,i);let c=t[i];B(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{B(z.HostBindingsUpdateEnd,c)}}}}finally{Rt(-1)}}function Vl(e,t){let n=Iu()?64:1088;for(e[Ae].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let o=kt(e);if(Yn(e)&&!o)return e;e=o}return null}function Wy(e,t,n,o){return[e,!0,0,t,null,o,null,n,null,null]}function Gy(e,t){let n=ee+t;if(n<e.length)return e[n]}function go(e,t,n,o=!0){let r=t[N];if(VS(r,t,e,n),o){let s=el(n,e),a=t[G],c=a.parentNode(e[$t]);c!==null&&oS(r,e[pe],a,t,c,s)}let i=t[sn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function qy(e,t){let n=no(e,t);return n!==void 0&&Js(n[N],n),n}function no(e,t){if(e.length<=ee)return;let n=ee+t,o=e[n];if(o){let r=o[Ct];r!==null&&r!==e&&Al(r,o),t>0&&(e[n-1][Te]=o[Te]);let i=Hr(e,ee+t);rS(o[N],o);let s=i[Ke];s!==null&&s.detachView(i[N]),o[ae]=null,o[Te]=null,o[M]&=-129}return o}function VS(e,t,n,o){let r=ee+o,i=n.length;o>0&&(n[r-1][Te]=t),o<i-ee?(t[Te]=n[r],Qc(n,ee+o,t)):(n.push(t),t[Te]=null),t[ae]=n;let s=t[Ct];s!==null&&n!==s&&Jy(s,t);let a=t[Ke];a!==null&&a.insertView(e),ns(t),t[M]|=128}function Jy(e,t){let n=e[ln],o=t[ae];if(gt(o))e[M]|=2;else{let r=o[ae][me];t[me]!==r&&(e[M]|=2)}n===null?e[ln]=[t]:n.push(t)}var jt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[N];return to(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[ne]}set context(t){this._lView[ne]=t}get destroyed(){return dn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ae];if(Re(t)){let n=t[Br],o=n?n.indexOf(this):-1;o>-1&&(no(t,o),Hr(n,o))}this._attachedToViewContainer=!1}Js(this._lView[N],this._lView)}onDestroy(t){du(this._lView,t)}markForCheck(){Vl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){ns(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Vy(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new L(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yn(this._lView),n=this._lView[Ct];n!==null&&!t&&Al(n,this._lView),ky(this._lView[N],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new L(902,!1);this._appRef=t;let n=Yn(this._lView),o=this._lView[Ct];o!==null&&!n&&Jy(o,this._lView),ns(this._lView)}};var ro=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=HS;constructor(n,o,r){this._declarationLView=n,this._declarationTContainer=o,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,o){return this.createEmbeddedViewImpl(n,o)}createEmbeddedViewImpl(n,o,r){let i=mo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:o,dehydratedView:r});return new jt(i)}}return e})();function HS(){return Hl(oe(),T())}function Hl(e,t){return e.type&4?new ro(t,e,ur(e,t)):null}function lr(e,t,n,o,r){let i=e.data[t];if(i===null)i=BS(e,t,n,o,r),jh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=o,i.attrs=r;let s=Ah();i.injectorIndex=s===null?-1:s.injectorIndex}return Kn(i,!0),i}function BS(e,t,n,o,r){let i=yu(),s=_u(),a=s?i:i&&i.parent,c=e.data[t]=WS(e,a,n,t,o,r);return ZS(e,c,i,s),c}function ZS(e,t,n,o){e.firstChild===null&&(e.firstChild=t),n!==null&&(o?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function WS(e,t,n,o,r,i){let s=t?t.injectorIndex:-1,a=0;return gu()&&(a|=128),{type:n,index:o,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function GS(e){let t=e[iu]??[],o=e[ae][G],r=[];for(let i of t)i.data[ny]!==void 0?r.push(i):qS(i,o);e[iu]=r}function qS(e,t){let n=0,o=e.firstChild;if(o){let r=e.data[ty];for(;n<r;){let i=o.nextSibling;gy(t,o,!1),o=i,n++}}}var JS=()=>null,QS=()=>null;function Ns(e,t){return JS(e,t)}function Qy(e,t,n){return QS(e,t,n)}var Yy=class{},Ks=class{},nl=class{resolveComponentFactory(t){throw new L(917,!1)}},ho=class{static NULL=new nl},oo=class{},YS=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>KS()}return e})();function KS(){let e=T(),t=oe(),n=ke(t.index,e);return(gt(n)?n:e)[G]}var Ky=(()=>{class e{static \u0275prov=te({token:e,providedIn:"root",factory:()=>null})}return e})();var _s={},rl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){let r=this.injector.get(t,_s,o);return r!==_s||n===_s?r:this.parentInjector.get(t,n,o)}};function ks(e,t,n){let o=n?e.styles:null,r=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)r=Vi(r,a);else if(i==2){let c=a,u=t[++s];o=Vi(o,c+": "+u+";")}}n?e.styles=o:e.stylesWithoutHost=o,n?e.classes=r:e.classesWithoutHost=r}function vo(e,t=0){let n=T();if(n===null)return qe(e,t);let o=oe();return Bv(o,n,ue(e),t)}function XS(){let e="invalid";throw new Error(e)}function Xy(e,t,n,o,r){let i=o===null?null:{"":-1},s=r(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}nT(e,t,n,a,i,c,u)}i!==null&&o!==null&&eT(n,o,i)}function eT(e,t,n){let o=e.localNames=[];for(let r=0;r<t.length;r+=2){let i=n[t[r+1]];if(i==null)throw new L(-301,!1);o.push(t[r],i)}}function tT(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function nT(e,t,n,o,r,i,s){let a=o.length,c=null;for(let g=0;g<a;g++){let f=o[g];c===null&&Ot(f)&&(c=f,tT(e,n,g)),Uu(ws(n,t),e,f.type)}cT(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let g=0;g<a;g++){let f=o[g];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=wy(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let g=0;g<a;g++){let f=o[g];if(n.mergedAttrs=Vs(n.mergedAttrs,f.hostAttrs),oT(e,n,t,d,f),aT(d,f,r),s!==null&&s.has(f)){let[y,_]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,_+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let p=f.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}rT(e,n,i)}function rT(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++){let r=e.data[o];if(n===null||!n.has(r))vv(0,t,r,o),vv(1,t,r,o),_v(t,o,!1);else{let i=n.get(r);yv(0,t,i,o),yv(1,t,i,o),_v(t,o,!0)}}}function vv(e,t,n,o){let r=e===0?n.inputs:n.outputs;for(let i in r)if(r.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(o),e_(t,i)}}function yv(e,t,n,o){let r=e===0?n.inputs:n.outputs;for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(o,i),e_(t,s)}}function e_(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function _v(e,t,n){let{attrs:o,inputs:r,hostDirectiveInputs:i}=e;if(o===null||!n&&r===null||n&&i===null||Tl(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<o.length;){let c=o[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&r.hasOwnProperty(c)){let u=r[c];for(let l of u)if(l===t){s??=[],s.push(c,o[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],o[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function oT(e,t,n,o,r){e.data[o]=r;let i=r.factory||(r.factory=Tt(r.type,!0)),s=new vn(i,Ot(r),vo,null);e.blueprint[o]=s,n[o]=s,iT(e,t,o,wy(e,n,r.hostVars,Ee),r)}function iT(e,t,n,o,r){let i=r.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;sT(s)!=a&&s.push(a),s.push(n,o,i)}}function sT(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function aT(e,t,n){if(n){if(t.exportAs)for(let o=0;o<t.exportAs.length;o++)n[t.exportAs[o]]=e;Ot(t)&&(n[""]=e)}}function cT(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Bl(e,t,n,o,r,i,s,a){let c=t[N],u=c.consts,l=Ce(u,s),d=lr(c,e,n,o,l);return i&&Xy(c,t,d,Ce(u,a),r),d.mergedAttrs=Vs(d.mergedAttrs,d.attrs),d.attrs!==null&&ks(d,d.attrs,!1),d.mergedAttrs!==null&&ks(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Zl(e,t){Rv(e,t),su(t)&&e.queries.elementEnd(t)}function uT(e,t,n,o,r,i){let s=t.consts,a=Ce(s,r),c=lr(t,e,n,o,a);if(c.mergedAttrs=Vs(c.mergedAttrs,c.attrs),i!=null){let u=Ce(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&ks(c,c.attrs,!1),c.mergedAttrs!==null&&ks(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Wl(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Xs(e,t,n){return e[t]=n}function t_(e,t){return e[t]}function xe(e,t,n){if(n===Ee)return!1;let o=e[t];return Object.is(o,n)?!1:(e[t]=n,!0)}function ol(e,t,n,o){let r=xe(e,t,n);return xe(e,t+1,o)||r}function lT(e,t,n,o,r,i){let s=ol(e,t,n,o);return ol(e,t+2,r,i)||s}function hn(e,t,n){return function o(r){let i=ht(e)?ke(e.index,t):t;Vl(i,5);let s=t[ne],a=bv(t,s,n,r),c=o.__ngNextListenerFn__;for(;c;)a=bv(t,s,c,r)&&a,c=c.__ngNextListenerFn__;return a}}function bv(e,t,n,o){let r=S(null);try{return B(z.OutputStart,t,n),n(o)!==!1}catch(i){return SS(e,i),!1}finally{B(z.OutputEnd,t,n),S(r)}}function Gl(e,t,n,o,r,i,s,a){let c=Qn(e),u=!1,l=null;if(!o&&c&&(l=fT(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Pe(e,n),g=o?o(d):d;qw(n,g,i,a);let f=r.listen(g,i,a);if(!dT(i)){let p=o?y=>o(Ne(y[e.index])):e.index;n_(p,t,n,i,a,f,!1)}}return u}function dT(e){return e.startsWith("animation")||e.startsWith("transition")}function fT(e,t,n,o){let r=e.cleanup;if(r!=null)for(let i=0;i<r.length-1;i+=2){let s=r[i];if(s===n&&r[i+1]===o){let a=t[qn],c=r[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function n_(e,t,n,o,r,i,s){let a=t.firstCreatePass?pu(t):null,c=fu(n),u=c.length;c.push(r,i),a&&a.push(o,e,u,(u+1)*(s?-1:1))}function Cs(e,t,n,o,r,i){let s=t[n],a=t[N],u=a.data[n].outputs[o],d=s[u].subscribe(i);n_(e.index,a,t,r,i,d,!0)}function pT(){mT()}function mT(){let e=T(),t=q(),n=oe();if(t.firstCreatePass&&vT(t,n),n.controlDirectiveIndex===-1)return;tt("NgSignalForms");let o=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(o,new Ms(e,t,n))}function gT(){hT()}function hT(){let e=T(),t=q(),n=Xn();if(n.controlDirectiveIndex===-1)return;let o=t.data[n.controlDirectiveIndex].controlDef,r=e[n.controlDirectiveIndex];o.update(r,new Ms(e,t,n))}var Ms=class{lView;tView;tNode;hasPassThrough;constructor(t,n,o){this.lView=t,this.tView=n,this.tNode=o,this.hasPassThrough=!!(o.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){r_(this.tView.data[this.tNode.customControlIndex],t)&&Cs(this.tNode,this.lView,this.tNode.customControlIndex,t,t,hn(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange";Cs(this.tNode,this.lView,this.tNode.customControlIndex,n,n,hn(this.tNode,this.lView,t))}listenToDom(t,n){Gl(this.tNode,this.tView,this.lView,void 0,this.lView[G],t,n,hn(this.tNode,this.lView,n))}setInputOnDirectives(t,n){let o=this.tNode.inputs?.[t],r=this.tNode.hostDirectiveInputs?.[t];if(!o&&!r)return!1;if(o)for(let i of o){let s=this.tView.data[i],a=this.lView[i];or(s,a,t,n)}if(r)for(let i=0;i<r.length;i+=2){let s=r[i],a=r[i+1],c=this.tView.data[s],u=this.lView[s];or(c,u,a,n)}return!0}setCustomControlModelInput(t){let n=this.lView[this.tNode.customControlIndex],o=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";or(o,n,r,t)}customControlHasInput(t){return this.tNode.customControlIndex===-1?!1:this.tView.data[this.tNode.customControlIndex].inputs[t]!=null}};function vT(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++)if(e.data[r].controlDef){t.controlDirectiveIndex=r;break}if(t.controlDirectiveIndex===-1)return;let o=e.data[t.controlDirectiveIndex].controlDef;if(o.passThroughInput&&(t.inputs?.[o.passThroughInput]?.length??0)>1){t.flags|=4096;return}yT(e,t)}function yT(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let o=e.data[n];if(Iv(o,"value")){t.flags|=1024,t.customControlIndex=n;return}if(Iv(o,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}function Iv(e,t){return _T(e,t)&&r_(e,t+"Change")}function _T(e,t){return t in e.inputs}function r_(e,t){return t in e.outputs}var il=Symbol("BINDING");function o_(e){return e.debugInfo?.className||e.type.name||null}var $s=class extends ho{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ye(t);return new Lt(n,this.ngModule)}};function bT(e){return Object.keys(e).map(t=>{let[n,o,r]=e[t],i={propName:n,templateName:t,isSignal:(o&Ws.SignalBased)!==0};return r&&(i.transform=r),i})}function IT(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function xT(e,t,n){let o=t instanceof Se?t:t?.injector;return o&&e.getStandaloneInjector!==null&&(o=e.getStandaloneInjector(o)||o),o?new rl(n,o):n}function ET(e){let t=e.get(oo,null);if(t===null)throw new L(407,!1);let n=e.get(Ky,null),o=e.get(Qe,null),r=e.get(bn,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:o,ngReflect:!1,tracingService:r}}function wT(e,t){let n=i_(e);return py(t,n,n==="svg"?Eh:n==="math"?wh:null)}function i_(e){return(e.selectors[0][0]||"div").toLowerCase()}var Lt=class extends Ks{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=bT(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=IT(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=HD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,o,r,i,s){B(z.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,u=xT(c,r||this.ngModule,t),l=ET(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(o_(c),()=>this.createComponentRef(l,u,n,o,i,s)):this.createComponentRef(l,u,n,o,i,s)}finally{S(a)}}createComponentRef(t,n,o,r,i,s){let a=this.componentDef,c=DT(r,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=r?gS(u,r,a.encapsulation,n):wT(a,u),d=s?.some(xv)||i?.some(p=>typeof p!="function"&&p.bindings.some(xv)),g=kl(null,c,null,512|Ey(a),null,null,t,u,n,null,iy(l,n,!0));g[Y]=l,ss(g);let f=null;try{let p=Bl(Y,g,2,"#host",()=>c.directiveRegistry,!0,0);hy(u,l,p),ir(l,g),Ys(c,g,p),wl(c,p,g),Zl(c,p),o!==void 0&&TT(p,this.ngContentSelectors,o),f=ke(p.index,g),g[ne]=f[ne],Ul(c,g,null)}catch(p){throw f!==null&&Hu(f),Hu(g),p}finally{B(z.DynamicComponentEnd),as()}return new Os(this.componentType,g,!!d)}};function DT(e,t,n,o){let r=e?["ng-version","21.2.6"]:BD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[il].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(o)for(let l=0;l<o.length;l++){let d=o[l];if(typeof d!="function")for(let g of d.bindings){a+=g[il].requiredVars;let f=l+1;g.create&&(g.targetIdx=f,(i??=[]).push(g)),g.update&&(g.targetIdx=f,(s??=[]).push(g))}}let c=[t];if(o)for(let l of o){let d=typeof l=="function"?l:l.type,g=Gc(d);c.push(g)}return Nl(0,null,ST(i,s),1,a,c,null,null,null,[r],null)}function ST(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let o of e)o.create();if(n&2&&t)for(let o of t)o.update()}}function xv(e){let t=e[il].kind;return t==="input"||t==="twoWay"}var Os=class extends Yy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,o){super(),this._rootLView=n,this._hasInputBindings=o,this._tNode=Xi(n[N],Y),this.location=ur(this._tNode,n),this.instance=ke(this._tNode.index,n)[ne],this.hostView=this.changeDetectorRef=new jt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let o=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let r=this._rootLView,i=zl(o,r[N],r,t,n);this.previousInputValues.set(t,n);let s=ke(o.index,r);Vl(s,1)}get injector(){return new gn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function TT(e,t,n){let o=e.projection=[];for(let r=0;r<t.length;r++){let i=n[r];o.push(i!=null&&i.length?Array.from(i):null)}}var ea=(()=>{class e{static __NG_ELEMENT_ID__=NT}return e})();function NT(){let e=oe();return s_(e,T())}var sl=class e extends ea{_lContainer;_hostTNode;_hostLView;constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return ur(this._hostTNode,this._hostLView)}get injector(){return new gn(this._hostTNode,this._hostLView)}get parentInjector(){let t=xl(this._hostTNode,this._hostLView);if(Lv(t)){let n=xs(t,this._hostLView),o=Is(t),r=n[N].data[o+8];return new gn(r,n)}else return new gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ev(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ee}createEmbeddedView(t,n,o){let r,i;typeof o=="number"?r=o:o!=null&&(r=o.index,i=o.injector);let s=Ns(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,r,sr(this._hostTNode,s)),a}createComponent(t,n,o,r,i,s,a){let c=t&&!mw(t),u;if(c)u=n;else{let _=n||{};u=_.index,o=_.injector,r=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let l=c?t:new Lt(Ye(t)),d=o||this.parentInjector;if(!i&&l.ngModule==null){let w=(c?d:this.parentInjector).get(Se,null);w&&(i=w)}let g=Ye(l.componentType??{}),f=Ns(this._lContainer,g?.id??null),p=f?.firstChild??null,y=l.create(d,r,p,i,s,a);return this.insertImpl(y.hostView,u,sr(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,o){let r=t._lView;if(Sh(r)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=r[ae],u=new e(c,c[pe],c[ae]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return go(s,r,i,o),t.attachToViewContainerRef(),Qc(Au(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ev(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),o=no(this._lContainer,n);o&&(Hr(Au(this._lContainer),n),Js(o[N],o))}detach(t){let n=this._adjustIndex(t,-1),o=no(this._lContainer,n);return o&&Hr(Au(this._lContainer),n)!=null?new jt(o):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ev(e){return e[Br]}function Au(e){return e[Br]||(e[Br]=[])}function s_(e,t){let n,o=t[e.index];return Re(o)?n=o:(n=Wy(o,t,null,e),t[e.index]=n,Cl(t,n)),CT(n,t,e,o),new sl(n,e,t)}function kT(e,t){let n=e[G],o=n.createComment(""),r=Pe(t,e),i=n.parentNode(r);return Ss(n,i,o,n.nextSibling(r),!1),o}var CT=OT,MT=()=>!1;function $T(e,t,n){return MT(e,t,n)}function OT(e,t,n,o){if(e[$t])return;let r;n.type&8?r=Ne(o):r=kT(t,n),e[$t]=r}var al=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},cl=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let o=t.contentQueries!==null?t.contentQueries[0]:n.length,r=[];for(let i=0;i<o;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new e(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Jl(t,n).matches!==null&&this.queries[n].setDirty()}},As=class{flags;read;predicate;constructor(t,n,o=null){this.flags=n,this.read=o,typeof t=="string"?this.predicate=FT(t):this.predicate=t}},ul=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let o=0;o<this.queries.length;o++)this.queries[o].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let o=0;o<this.length;o++){let r=n!==null?n.length:0,i=this.getByIndex(o).embeddedTView(t,r);i&&(i.indexInDeclarationView=o,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let o=0;o<this.queries.length;o++)this.queries[o].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ll=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,o=t.parent;for(;o!==null&&o.type&8&&o.index!==n;)o=o.parent;return n===(o!==null?o.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let o=this.metadata.predicate;if(Array.isArray(o))for(let r=0;r<o.length;r++){let i=o[r];this.matchTNodeWithReadOption(t,n,AT(n,i)),this.matchTNodeWithReadOption(t,n,ys(n,t,i,!1,!1))}else o===ro?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ys(n,t,o,!1,!1))}matchTNodeWithReadOption(t,n,o){if(o!==null){let r=this.metadata.read;if(r!==null)if(r===uo||r===ea||r===ro&&n.type&4)this.addMatch(n.index,-2);else{let i=ys(n,t,r,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,o)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function AT(e,t){let n=e.localNames;if(n!==null){for(let o=0;o<n.length;o+=2)if(n[o]===t)return n[o+1]}return null}function RT(e,t){return e.type&11?ur(e,t):e.type&4?Hl(e,t):null}function PT(e,t,n,o){return n===-1?RT(t,e):n===-2?jT(e,t,o):Kr(e,e[N],n,t)}function jT(e,t,n){if(n===uo)return ur(t,e);if(n===ro)return Hl(t,e);if(n===ea)return s_(t,e)}function a_(e,t,n,o){let r=t[Ke].queries[o];if(r.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(PT(t,l,s[c+1],n.metadata.read))}}r.matches=a}return r.matches}function dl(e,t,n,o){let r=e.queries.getByIndex(n),i=r.matches;if(i!==null){let s=a_(e,t,r,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)o.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=ee;d<l.length;d++){let g=l[d];g[Ct]===g[ae]&&dl(g[N],g,u,o)}if(l[ln]!==null){let d=l[ln];for(let g=0;g<d.length;g++){let f=d[g];dl(f[N],f,u,o)}}}}}return o}function ql(e,t){return e[Ke].queries[t].queryList}function c_(e,t,n){let o=new Ds((n&4)===4);return kh(e,t,o,o.destroy),(t[Ke]??=new cl).queries.push(new al(o))-1}function LT(e,t,n){let o=q();return o.firstCreatePass&&(l_(o,new As(e,t,n),-1),(t&2)===2&&(o.staticViewQueries=!0)),c_(o,T(),t)}function u_(e,t,n,o){let r=q();if(r.firstCreatePass){let i=oe();l_(r,new As(t,n,o),i.index),zT(r,e),(n&2)===2&&(r.staticContentQueries=!0)}return c_(r,T(),n)}function FT(e){return e.split(",").map(t=>t.trim())}function l_(e,t,n){e.queries===null&&(e.queries=new ul),e.queries.track(new ll(t,n))}function zT(e,t){let n=e.contentQueries||(e.contentQueries=[]),o=n.length?n[n.length-1]:-1;t!==o&&n.push(e.queries.length-1,t)}function Jl(e,t){return e.queries.getByIndex(t)}function d_(e,t){let n=e[N],o=Jl(n,t);return o.crossesNgTemplate?dl(n,e,t,[]):a_(n,e,o,t)}function Ql(e,t,n){let o,r=$r(()=>{o._dirtyCounter();let i=UT(o,e);if(t&&i===void 0)throw new L(-951,!1);return i});return o=r[K],o._dirtyCounter=Xe(0),o._flatValue=void 0,r}function f_(e){return Ql(!0,!1,e)}function p_(e){return Ql(!0,!0,e)}function Yl(e){return Ql(!1,!1,e)}function m_(e,t){let n=e[K];n._lView=T(),n._queryIndex=t,n._queryList=ql(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(o=>o+1))}function UT(e,t){let n=e._lView,o=e._queryIndex;if(n===void 0||o===void 0||n[M]&4)return t?void 0:fe;let r=ql(n,o),i=d_(n,o);return r.reset(i,qv),t?r.first:r._changesDetected||e._flatValue===void 0?e._flatValue=r.toArray():e._flatValue}var ar=class{},g_=class{};var Rs=class extends ar{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new $s(this);constructor(t,n,o,r=!0){super(),this.ngModuleType=t,this._parent=n;let i=Wc(t);this._bootstrapComponents=by(i.bootstrap),this._r3Injector=Du(t,n,[{provide:ar,useValue:this},{provide:ho,useValue:this.componentFactoryResolver},...o],Ur(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ps=class extends g_{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Rs(this.moduleType,t,[])}};var io=class extends ar{injector;componentFactoryResolver=new $s(this);instance=null;constructor(t){super();let n=new nn([...t.providers,{provide:ar,useValue:this},{provide:ho,useValue:this.componentFactoryResolver}],t.parent||Gn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function h_(e,t,n=null){return new io({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var VT=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Xc(!1,n.type),r=o.length>0?h_([o],this._injector,""):null;this.cachedInjectors.set(n,r)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=te({token:e,providedIn:"environment",factory:()=>new e(qe(Se))})}return e})();function HT(e){return co(()=>{let t=v_(e),n=I(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===El.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(VT).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yn.Emulated,styles:e.styles||fe,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&tt("NgStandalone"),y_(n);let o=e.dependencies;return n.directiveDefs=wv(o,BT),n.pipeDefs=wv(o,ch),n.id=QT(n),n})}function BT(e){return Ye(e)||Gc(e)}function ZT(e){return co(()=>({type:e.type,bootstrap:e.bootstrap||fe,declarations:e.declarations||fe,imports:e.imports||fe,exports:e.exports||fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function WT(e,t){if(e==null)return on;let n={};for(let o in e)if(e.hasOwnProperty(o)){let r=e[o],i,s,a,c;Array.isArray(r)?(a=r[0],i=r[1],s=r[2]??i,c=r[3]||null):(i=r,s=r,a=Ws.None,c=null),n[i]=[o,a,c],t[i]=s}return n}function GT(e){if(e==null)return on;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function qT(e){return co(()=>{let t=v_(e);return y_(t),t})}function JT(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function v_(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||on,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||fe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:WT(e.inputs,t),outputs:GT(e.outputs),debugInfo:null}}function y_(e){e.features?.forEach(t=>t(e))}function wv(e,t){return e?()=>{let n=typeof e=="function"?e():e,o=[];for(let r of n){let i=t(r);i!==null&&o.push(i)}return o}:null}function QT(e){let t=0,n=typeof e.consts=="function"?"":e.consts,o=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of o.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function YT(e){return t=>{t.controlDef={create:(n,o)=>{n?.\u0275ngControlCreate(o)},update:(n,o)=>{n?.\u0275ngControlUpdate?.(o)},passThroughInput:e}}}function __(e,t,n,o,r,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Vs(e.mergedAttrs,e.attrs);let l=e.tView=Nl(2,e,r,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Kn(e,!1);let c=XT(n,t,e,o);cs()&&Rl(n,t,c,e),ir(c,t);let u=Wy(c,t,c,e);t[o+Y]=u,Cl(t,u),$T(u,e,t)}function KT(e,t,n,o,r,i,s,a,c,u,l){let d=n+Y,g;return t.firstCreatePass?(g=lr(t,d,4,s||null,a||null),rs()&&Xy(t,e,g,Ce(t.consts,u),jl),Rv(t,g)):g=t.data[d],__(g,e,t,n,o,r,i,c),Qn(g)&&Ys(t,e,g),u!=null&&po(e,g,l),g}function so(e,t,n,o,r,i,s,a,c,u,l){let d=n+Y,g;if(t.firstCreatePass){if(g=lr(t,d,4,s||null,a||null),u!=null){let f=Ce(t.consts,u);g.localNames=[];for(let p=0;p<f.length;p+=2)g.localNames.push(f[p],-1)}}else g=t.data[d];return __(g,e,t,n,o,r,i,c),u!=null&&po(e,g,l),g}function b_(e,t,n,o,r,i,s,a){let c=T(),u=q(),l=Ce(u.consts,i);return KT(c,u,e,t,n,o,r,l,void 0,s,a),b_}var XT=eN;function eN(e,t,n,o){return Gr(!0),t[G].createComment("")}var tN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(o){return new(o||e)};static \u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function I_(e){return typeof e=="function"&&e[K]!==void 0}function Kl(e){return I_(e)&&typeof e.set=="function"}var x_=new W("");function Xl(e){return!!e&&typeof e.then=="function"}function E_(e){return!!e&&typeof e.subscribe=="function"}var ed=new W("");function nN(e){return Wn([{provide:ed,multi:!0,useValue:e}])}var td=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o});appInits=C(ed,{optional:!0})??[];injector=C(be);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let r of this.appInits){let i=Yi(this.injector,r);if(Xl(i))n.push(i);else if(E_(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(r=>{this.reject(r)}),n.length===0&&o(),this.initialized=!0}static \u0275fac=function(o){return new(o||e)};static \u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),w_=new W("");function D_(){xc(()=>{let e="";throw new L(600,e)})}function S_(e){return e.isBoundToModule}var rN=10;var ta=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(Pt);afterRenderManager=C(qs);zonelessEnabled=C(qr);rootEffectScheduler=C(ds);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new _e;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C(mn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Be(n=>!n))}constructor(){C(bn,{optional:!0})}whenStable(){let n;return new Promise(o=>{n=this.isStable.subscribe({next:r=>{r&&o()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Se);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,o){return this.bootstrapImpl(n,o)}bootstrapImpl(n,o,r=be.NULL){return this._injector.get(Je).run(()=>{B(z.BootstrapComponentStart);let s=n instanceof Ks;if(!this._injector.get(td).done){let p="";throw new L(405,p)}let c;s?c=n:c=this._injector.get(ho).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=S_(c)?void 0:this._injector.get(ar),l=o||c.selector,d=c.create(r,[],l,u),g=d.location.nativeElement,f=d.injector.get(x_,null);return f?.registerApplication(g),d.onDestroy(()=>{this.detachView(d.hostView),Yr(this.components,d),f?.unregisterApplication(g)}),this._loadComponent(d),B(z.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){B(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Gs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw B(z.ChangeDetectionEnd),new L(101,!1);let n=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(n),this.afterTick.next(),B(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oo,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<rN;){B(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{B(z.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let o=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!o&&!Zr(r))continue;let i=o&&!this.zonelessEnabled?0:1;Vy(r,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Zr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Yr(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(n),this._injector.get(w_,[]).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Yr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new L(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(o){return new(o||e)};static \u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function T_(e,t,n,o){let r=T(),i=At();if(xe(r,i,t)){let s=q(),a=Xn();ES(a,r,e,t,n,o)}return T_}var fl=class{destroy(t){}updateValue(t,n){}swap(t,n){let o=Math.min(t,n),r=Math.max(t,n),i=this.detach(r);if(r-o>1){let s=this.detach(o);this.attach(o,i),this.attach(r,s)}else this.attach(o,i)}move(t,n){this.attach(n,this.detach(t))}};function Ru(e,t,n,o,r){return e===n&&Object.is(t,o)?1:Object.is(r(e,t),r(n,o))?-1:0}function oN(e,t,n,o){let r,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){S(o);let u=t.length-1;for(S(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],g=Ru(s,l,s,d,n);if(g!==0){g<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),p=t[u],y=Ru(a,f,u,p,n);if(y!==0){y<0&&e.updateValue(a,p),a--,u--;continue}let _=n(s,l),w=n(a,f),D=n(s,d);if(Object.is(D,w)){let O=n(u,p);Object.is(O,_)?(e.swap(s,a),e.updateValue(a,p),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(r??=new js,i??=Sv(e,s,a,n),pl(e,r,s,D))e.updateValue(s,d),s++,a++;else if(i.has(D))r.set(_,e.detach(s)),a--;else{let O=e.create(s,t[s]);e.attach(s,O),s++,a++}}for(;s<=u;)Dv(e,r,n,s,t[s]),s++}else if(t!=null){S(o);let u=t[Symbol.iterator]();S(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),g=l.value,f=Ru(s,d,s,g,n);if(f!==0)f<0&&e.updateValue(s,g),s++,l=u.next();else{r??=new js,i??=Sv(e,s,a,n);let p=n(s,g);if(pl(e,r,s,p))e.updateValue(s,g),s++,a++,l=u.next();else if(!i.has(p))e.attach(s,e.create(s,g)),s++,a++,l=u.next();else{let y=n(s,d);r.set(y,e.detach(s)),a--}}}for(;!l.done;)Dv(e,r,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));r?.forEach(u=>{e.destroy(u)})}function pl(e,t,n,o){return t!==void 0&&t.has(o)?(e.attach(n,t.get(o)),t.delete(o),!0):!1}function Dv(e,t,n,o,r){if(pl(e,t,o,n(o,r)))e.updateValue(o,r);else{let i=e.create(o,r);e.attach(o,i)}}function Sv(e,t,n,o){let r=new Set;for(let i=t;i<=n;i++)r.add(o(i,e.at(i)));return r}var js=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let o=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(o);)o=r.get(o);r.set(o,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,o]of this.kvMap)if(t(o,n),this._vMap!==void 0){let r=this._vMap;for(;r.has(o);)o=r.get(o),t(o,n)}}};function iN(e,t,n,o,r,i,s,a){tt("NgControlFlow");let c=T(),u=q(),l=Ce(u.consts,i);return so(c,u,e,t,n,o,r,l,256,s,a),nd}function nd(e,t,n,o,r,i,s,a){tt("NgControlFlow");let c=T(),u=q(),l=Ce(u.consts,i);return so(c,u,e,t,n,o,r,l,512,s,a),nd}function sN(e,t){tt("NgControlFlow");let n=T(),o=At(),r=n[o]!==Ee?n[o]:-1,i=r!==-1?Ls(n,Y+r):void 0,s=0;if(xe(n,o,e)){let a=S(null);try{if(i!==void 0&&qy(i,s),e!==-1){let c=Y+e,u=Ls(n,c),l=vl(n[N],c),d=Qy(u,l,n),g=mo(n,l,t,{dehydratedView:d});go(u,g,s,sr(l,d))}}finally{S(a)}}else if(i!==void 0){let a=Gy(i,s);a!==void 0&&(a[ne]=t)}}var ml=class{lContainer;$implicit;$index;constructor(t,n,o){this.lContainer=t,this.$implicit=n,this.$index=o}get $count(){return this.lContainer.length-ee}};function aN(e){return e}function cN(e,t){return t}var gl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,o){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=o}};function uN(e,t,n,o,r,i,s,a,c,u,l,d,g){tt("NgControlFlow");let f=T(),p=q(),y=c!==void 0,_=T(),w=a?s.bind(_[me][ne]):s,D=new gl(y,w);_[Y+e]=D,so(f,p,e+1,t,n,o,r,Ce(p.consts,i),256),y&&so(f,p,e+2,c,u,l,d,Ce(p.consts,g),512)}var hl=class extends fl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,o){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=o}get length(){return this.lContainer.length-ee}at(t){return this.getLView(t)[ne].$implicit}attach(t,n){let o=n[sn];this.needsIndexUpdate||=t!==this.length,go(this.lContainer,n,t,sr(this.templateTNode,o)),dN(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,fN(this.lContainer,t),pN(this.lContainer,t)}create(t,n){let o=Ns(this.lContainer,this.templateTNode.tView.ssrId);return mo(this.hostLView,this.templateTNode,new ml(this.lContainer,n,t),{dehydratedView:o})}destroy(t){Js(t[N],t)}updateValue(t,n){this.getLView(t)[ne].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ne].$index=t}getLView(t){return mN(this.lContainer,t)}};function lN(e){let t=S(null),n=vt();try{let o=T(),r=o[N],i=o[n],s=n+1,a=Ls(o,s);if(i.liveCollection===void 0){let u=vl(r,s);i.liveCollection=new hl(a,o,u)}else i.liveCollection.reset();let c=i.liveCollection;if(oN(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=At(),l=c.length===0;if(xe(o,u,l)){let d=n+2,g=Ls(o,d);if(l){let f=vl(r,d),p=Qy(g,f,o),y=mo(o,f,void 0,{dehydratedView:p});go(g,y,0,sr(f,p))}else r.firstUpdatePass&&GS(g),qy(g,0)}}}finally{S(t)}}function Ls(e,t){return e[t]}function dN(e,t){if(e.length<=ee)return;let n=ee+t,o=e[n],r=o?o[Mt]:void 0;if(o&&r&&r.detachedLeaveAnimationFns&&r.detachedLeaveAnimationFns.length>0){let i=o[pt];tS(i,r),Xr.delete(o[mt]),r.detachedLeaveAnimationFns=void 0}}function fN(e,t){if(e.length<=ee)return;let n=ee+t,o=e[n],r=o?o[Mt]:void 0;r&&r.leave&&r.leave.size>0&&(r.detachedLeaveAnimationFns=[])}function pN(e,t){return no(e,t)}function mN(e,t){return Gy(e,t)}function vl(e,t){return Xi(e,t)}function N_(e,t,n){let o=T(),r=At();if(xe(o,r,t)){let i=q(),s=Xn();Ry(s,o,e,t,o[G],n)}return N_}function yl(e,t,n,o,r){zl(t,e,n,r?"class":"style",o)}function Fs(e,t,n,o){let r=T(),i=r[N],s=e+Y,a=i.firstCreatePass?Bl(s,r,2,t,jl,rs(),n,o):i.data[s];if(ht(a)){let c=r[Ae].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(o_(u),()=>(Tv(e,t,r,a,o),Fs))}}return Tv(e,t,r,a,o),Fs}function Tv(e,t,n,o,r){if(Ll(o,n,e,t,M_),Qn(o)){let i=n[N];Ys(i,n,o),wl(i,o,n)}r!=null&&po(n,o)}function rd(){let e=q(),t=oe(),n=Fl(t);return e.firstCreatePass&&Zl(e,n),hu(n)&&vu(),mu(),n.classesWithoutHost!=null&&Iw(n)&&yl(e,n,T(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&xw(n)&&yl(e,n,T(),n.stylesWithoutHost,!1),rd}function k_(e,t,n,o){return Fs(e,t,n,o),rd(),k_}function od(e,t,n,o){let r=T(),i=r[N],s=e+Y,a=i.firstCreatePass?uT(s,i,2,t,n,o):i.data[s];return Ll(a,r,e,t,M_),o!=null&&po(r,a),od}function id(){let e=oe(),t=Fl(e);return hu(t)&&vu(),mu(),id}function C_(e,t,n,o){return od(e,t,n,o),id(),C_}var M_=(e,t,n,o,r)=>(Gr(!0),py(t[G],o,Zh()));function sd(e,t,n){let o=T(),r=o[N],i=e+Y,s=r.firstCreatePass?Bl(i,o,8,"ng-container",jl,rs(),t,n):r.data[i];if(Ll(s,o,e,"ng-container",gN),Qn(s)){let a=o[N];Ys(a,o,s),wl(a,s,o)}return n!=null&&po(o,s),sd}function ad(){let e=q(),t=oe(),n=Fl(t);return e.firstCreatePass&&Zl(e,n),ad}function $_(e,t,n){return sd(e,t,n),ad(),$_}var gN=(e,t,n,o,r)=>(Gr(!0),SD(t[G],""));function hN(){return T()}function O_(e,t,n){let o=T(),r=At();if(xe(o,r,t)){let i=q(),s=Xn();Py(s,o,e,t,o[G],n)}return O_}var yo="en-US";var vN=yo;function A_(e){typeof e=="string"&&(vN=e.toLowerCase().replace(/_/g,"-"))}function R_(e,t,n){let o=T(),r=q(),i=oe();return j_(r,o,o[G],i,e,t,n),R_}function P_(e,t,n){let o=T(),r=q(),i=oe();return(i.type&3||n)&&Gl(i,r,o,n,o[G],e,t,hn(i,o,t)),P_}function j_(e,t,n,o,r,i,s){let a=!0,c=null;if((o.type&3||s)&&(c??=hn(o,t,i),Gl(o,e,t,s,n,r,i,c)&&(a=!1)),a){let u=o.outputs?.[r],l=o.hostDirectiveOutputs?.[r];if(l&&l.length)for(let d=0;d<l.length;d+=2){let g=l[d],f=l[d+1];c??=hn(o,t,i),Cs(o,t,g,f,r,c)}if(u&&u.length)for(let d of u)c??=hn(o,t,i),Cs(o,t,d,r,r,c)}}function yN(e=1){return Bh(e)}function _N(e,t){let n=null,o=LD(e);for(let r=0;r<t.length;r++){let i=t[r];if(i==="*"){n=r;continue}if(o===null?xy(e,i,!0):UD(o,i))return r}return n}function bN(e){let t=T()[me][pe];if(!t.projection){let n=e?e.length:1,o=t.projection=mh(n,null),r=o.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?_N(i,e):0;s!==null&&(r[s]?r[s].projectionNext=i:o[s]=i,r[s]=i)}i=i.next}}}function IN(e,t=0,n,o,r,i){let s=T(),a=q(),c=o?e+1:null;c!==null&&so(s,a,c,o,r,i,null,n);let u=lr(a,Y+e,16,null,n||null);u.projection===null&&(u.projection=t),bu();let d=!s[sn]||gu();s[me][pe].projection[u.projection]===null&&c!==null?xN(s,a,c):d&&!Hs(u)&&fS(a,s,u)}function xN(e,t,n){let o=Y+n,r=t.data[o],i=e[o],s=Ns(i,r.tView.ssrId),a=mo(e,r,void 0,{dehydratedView:s});go(i,a,0,sr(r,s))}function L_(e,t,n,o){return u_(e,t,n,o),L_}function EN(e){let t=T(),n=q(),o=is();Wr(o+1);let r=Jl(n,o);if(e.dirty&&Dh(t)===((r.metadata.flags&2)===2)){if(r.matches===null)e.reset([]);else{let i=d_(t,o);e.reset(i,qv),e.notifyOnChanges()}return!0}return!1}function wN(){return ql(T(),is())}function F_(e,t,n,o,r){return m_(t,u_(e,n,o,r)),F_}function z_(e,t,n,o){return m_(e,LT(t,n,o)),z_}function DN(e=1){Wr(is()+e)}function SN(e){let t=Rh();return es(t,Y+e)}function gs(e,t){return e<<17|t<<2}function _n(e){return e>>17&32767}function TN(e){return(e&2)==2}function NN(e,t){return e&131071|t<<17}function _l(e){return e|2}function cr(e){return(e&131068)>>2}function Pu(e,t){return e&-131069|t<<2}function kN(e){return(e&1)===1}function bl(e){return e|1}function CN(e,t,n,o,r,i){let s=i?t.classBindings:t.styleBindings,a=_n(s),c=cr(s);e[o]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Bn(d,l)>0)&&(u=!0)}else l=n;if(r)if(c!==0){let g=_n(e[a+1]);e[o+1]=gs(g,a),g!==0&&(e[g+1]=Pu(e[g+1],o)),e[a+1]=NN(e[a+1],o)}else e[o+1]=gs(a,0),a!==0&&(e[a+1]=Pu(e[a+1],o)),a=o;else e[o+1]=gs(c,0),a===0?a=o:e[c+1]=Pu(e[c+1],o),c=o;u&&(e[o+1]=_l(e[o+1])),Nv(e,l,o,!0),Nv(e,l,o,!1),MN(t,l,e,o,i),s=gs(a,c),i?t.classBindings=s:t.styleBindings=s}function MN(e,t,n,o,r){let i=r?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bn(i,t)>=0&&(n[o+1]=bl(n[o+1]))}function Nv(e,t,n,o){let r=e[n+1],i=t===null,s=o?_n(r):cr(r),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];$N(c,t)&&(a=!0,e[s+1]=o?bl(u):_l(u)),s=o?_n(u):cr(u)}a&&(e[n+1]=o?_l(r):bl(r))}function $N(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bn(e,t)>=0:!1}var Fe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ON(e){return e.substring(Fe.key,Fe.keyEnd)}function AN(e){return RN(e),U_(e,V_(e,0,Fe.textEnd))}function U_(e,t){let n=Fe.textEnd;return n===t?-1:(t=Fe.keyEnd=PN(e,Fe.key=t,n),V_(e,t,n))}function RN(e){Fe.key=0,Fe.keyEnd=0,Fe.value=0,Fe.valueEnd=0,Fe.textEnd=e.length}function V_(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function PN(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function H_(e,t,n){return Z_(e,t,n,!1),H_}function B_(e,t){return Z_(e,t,null,!0),B_}function jN(e){FN(ZN,LN,e,!0)}function LN(e,t){for(let n=AN(t);n>=0;n=U_(t,n))Ji(e,ON(t),!0)}function Z_(e,t,n,o){let r=T(),i=q(),s=xu(2);if(i.firstUpdatePass&&G_(i,e,s,o),t!==Ee&&xe(r,s,t)){let a=i.data[vt()];q_(i,a,r,r[G],e,r[s+1]=GN(t,n),o,s)}}function FN(e,t,n,o){let r=q(),i=xu(2);r.firstUpdatePass&&G_(r,null,i,o);let s=T();if(n!==Ee&&xe(s,i,n)){let a=r.data[vt()];if(J_(a,o)&&!W_(r,i)){let c=o?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Vi(c,n||"")),yl(r,a,s,n,o)}else WN(r,a,s,s[G],s[i+1],s[i+1]=BN(e,t,n),o,i)}}function W_(e,t){return t>=e.expandoStartIndex}function G_(e,t,n,o){let r=e.data;if(r[n+1]===null){let i=r[vt()],s=W_(e,n);J_(i,o)&&t===null&&!s&&(t=!1),t=zN(r,i,t,o),CN(r,i,t,n,s,o)}}function zN(e,t,n,o){let r=zh(e),i=o?t.residualClasses:t.residualStyles;if(r===null)(o?t.classBindings:t.styleBindings)===0&&(n=ju(null,e,t,n,o),n=ao(n,t.attrs,o),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==r)if(n=ju(r,e,t,n,o),i===null){let c=UN(e,t,o);c!==void 0&&Array.isArray(c)&&(c=ju(null,e,t,c[1],o),c=ao(c,t.attrs,o),VN(e,t,o,c))}else i=HN(e,t,o)}return i!==void 0&&(o?t.residualClasses=i:t.residualStyles=i),n}function UN(e,t,n){let o=n?t.classBindings:t.styleBindings;if(cr(o)!==0)return e[_n(o)]}function VN(e,t,n,o){let r=n?t.classBindings:t.styleBindings;e[_n(r)]=o}function HN(e,t,n){let o,r=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<r;i++){let s=e[i].hostAttrs;o=ao(o,s,n)}return ao(o,t.attrs,n)}function ju(e,t,n,o,r){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],o=ao(o,i.hostAttrs,r),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),o}function ao(e,t,n){let o=n?1:2,r=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?r=s:r===o&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ji(e,s,n?!0:t[++i]))}return e===void 0?null:e}function BN(e,t,n){if(n==null||n==="")return fe;let o=[],r=lo(n);if(Array.isArray(r))for(let i=0;i<r.length;i++)e(o,r[i],!0);else if(r instanceof Set)for(let i of r)e(o,i,!0);else if(typeof r=="object")for(let i in r)r.hasOwnProperty(i)&&e(o,i,r[i]);else typeof r=="string"&&t(o,r);return o}function ZN(e,t,n){let o=String(t);o!==""&&!o.includes(" ")&&Ji(e,o,n)}function WN(e,t,n,o,r,i,s,a){r===Ee&&(r=fe);let c=0,u=0,l=0<r.length?r[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let g=c<r.length?r[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,y;l===d?(c+=2,u+=2,g!==f&&(p=d,y=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,y=f),p!==null&&q_(e,t,n,o,p,y,s,a),l=c<r.length?r[c]:null,d=u<i.length?i[u]:null}}function q_(e,t,n,o,r,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=kN(u)?kv(c,t,n,r,cr(u),s):void 0;if(!zs(l)){zs(i)||TN(u)&&(i=kv(c,null,n,r,a,s));let d=au(vt(),n);mS(o,s,d,r,i)}}function kv(e,t,n,o,r,i){let s=t===null,a;for(;r>0;){let c=e[r],u=Array.isArray(c),l=u?c[1]:c,d=l===null,g=n[r+1];g===Ee&&(g=d?fe:void 0);let f=d?Qi(g,o):l===o?g:void 0;if(u&&!zs(f)&&(f=Qi(c,o)),zs(f)&&(a=f,s))return a;let p=e[r+1];r=s?_n(p):cr(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Qi(c,o))}return a}function zs(e){return e!==void 0}function GN(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Ur(lo(e)))),e}function J_(e,t){return(e.flags&(t?8:16))!==0}function qN(e,t=""){let n=T(),o=q(),r=e+Y,i=o.firstCreatePass?lr(o,r,1,t,null):o.data[r],s=JN(o,n,i,t);n[r]=s,cs()&&Rl(o,n,s,i),Kn(i,!1)}var JN=(e,t,n,o)=>(Gr(!0),wD(t[G],o));function QN(e,t,n,o=""){return xe(e,At(),n)?t+Wi(n)+o:Ee}function Q_(e){return cd("",e),Q_}function cd(e,t,n){let o=T(),r=QN(o,e,t,n);return r!==Ee&&YN(o,vt(),r),cd}function YN(e,t,n){let o=au(t,e);DD(e[G],o,n)}function Y_(e,t,n){Kl(t)&&(t=t());let o=T(),r=At();if(xe(o,r,t)){let i=q(),s=Xn();Ry(s,o,e,t,o[G],n)}return Y_}function KN(e,t){let n=Kl(e);return n&&e.set(t),n}function K_(e,t){let n=T(),o=q(),r=oe();return j_(o,n,n[G],r,e,t),K_}function Cv(e,t,n){let o=q();o.firstCreatePass&&X_(t,o.data,o.blueprint,Ot(e),n)}function X_(e,t,n,o,r){if(e=ue(e),Array.isArray(e))for(let i=0;i<e.length;i++)X_(e[i],t,n,o,r);else{let i=q(),s=T(),a=oe(),c=tn(e)?e:ue(e.provide),u=nu(e),l=a.providerIndexes&1048575,d=a.directiveStart,g=a.providerIndexes>>20;if(tn(e)||!e.multi){let f=new vn(u,r,vo,null),p=Fu(c,t,r?l:l+g,d);p===-1?(Uu(ws(a,s),i,c),Lu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=Fu(c,t,l+g,d),p=Fu(c,t,l,l+g),y=f>=0&&n[f],_=p>=0&&n[p];if(r&&!_||!r&&!y){Uu(ws(a,s),i,c);let w=tk(r?ek:XN,n.length,r,o,u,e);!r&&_&&(n[p].providerFactory=w),Lu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=eb(n[r?p:f],u,!r&&o);Lu(i,e,f>-1?f:p,w)}!r&&o&&_&&n[p].componentProviders++}}}function Lu(e,t,n,o){let r=tn(t),i=bh(t);if(r||i){let c=(i?ue(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[o,c]):u[l+1].push(o,c)}else u.push(n,c)}}}function eb(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Fu(e,t,n,o){for(let r=n;r<o;r++)if(t[r]===e)return r;return-1}function XN(e,t,n,o,r){return Il(this.multi,[])}function ek(e,t,n,o,r){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Kr(o,o[N],this.providerFactory.index,r);s=c.slice(0,a),Il(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Il(i,s);return s}function Il(e,t){for(let n=0;n<e.length;n++){let o=e[n];t.push(o())}return t}function tk(e,t,n,o,r,i){let s=new vn(e,n,vo,null);return s.multi=[],s.index=t,s.componentProviders=0,eb(s,r,o&&!n),s}function nk(e,t){return n=>{n.providersResolver=(o,r)=>Cv(o,r?r(e):e,!1),t&&(n.viewProvidersResolver=(o,r)=>Cv(o,r?r(t):t,!0))}}function rk(e,t){let n=pn()+e,o=T();return o[n]===Ee?Xs(o,n,t()):t_(o,n)}function ok(e,t,n){return nb(T(),pn(),e,t,n)}function ik(e,t,n,o){return rb(T(),pn(),e,t,n,o)}function sk(e,t,n,o,r,i,s){let a=pn()+e,c=T(),u=lT(c,a,n,o,r,i);return xe(c,a+4,s)||u?Xs(c,a+5,t(n,o,r,i,s)):t_(c,a+5)}function tb(e,t){let n=e[t];return n===Ee?void 0:n}function nb(e,t,n,o,r,i){let s=t+n;return xe(e,s,r)?Xs(e,s+1,i?o.call(i,r):o(r)):tb(e,s+1)}function rb(e,t,n,o,r,i,s){let a=t+n;return ol(e,a,r,i)?Xs(e,a+2,s?o.call(s,r,i):o(r,i)):tb(e,a+2)}function ak(e,t){let n=q(),o,r=e+Y;n.firstCreatePass?(o=ck(t,n.pipeRegistry),n.data[r]=o,o.onDestroy&&(n.destroyHooks??=[]).push(r,o.onDestroy)):o=n.data[r];let i=o.factory||(o.factory=Tt(o.type,!0)),s,a=de(vo);try{let c=Es(!1),u=i();return Es(c),cu(n,T(),r,u),u}finally{de(a)}}function ck(e,t){if(t)for(let n=t.length-1;n>=0;n--){let o=t[n];if(e===o.name)return o}}function uk(e,t,n){let o=e+Y,r=T(),i=es(r,o);return ob(r,o)?nb(r,pn(),t,i.transform,n,i):i.transform(n)}function lk(e,t,n,o){let r=e+Y,i=T(),s=es(i,r);return ob(i,r)?rb(i,pn(),t,s.transform,n,o,s):s.transform(n,o)}function ob(e,t){return e[N].data[t].pure}var Us=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},dk=(()=>{class e{compileModuleSync(n){return new Ps(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),r=Wc(n),i=by(r.declarations).reduce((s,a)=>{let c=Ye(a);return c&&s.push(new Lt(c)),s},[]);return new Us(o,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(o){return new(o||e)};static \u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ib=(()=>{class e{applicationErrorHandler=C(Pt);appRef=C(ta);taskService=C(mn);ngZone=C(Je);zonelessEnabled=C(qr);tracing=C(bn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new se;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Lr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(ku,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Jh:Su;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Lr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){this.applicationErrorHandler(o)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(o){return new(o||e)};static \u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fk(){return tt("NgZoneless"),Wn([...ud(),[]])}function ud(){return[{provide:Qe,useExisting:ib},{provide:Je,useClass:Fr},{provide:qr,useValue:!0}]}function pk(){return typeof $localize<"u"&&$localize.locale||yo}var ld=new W("",{factory:()=>C(ld,{optional:!0,skipSelf:!0})||pk()});var _o=class{destroyed=!1;listeners=null;errorHandler=C(ft,{optional:!0});destroyRef=C(je);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new L(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(zr(953,!1));return}if(this.listeners===null)return;let n=S(null);try{for(let o of this.listeners)try{o(t)}catch(r){this.errorHandler?.handleError(r)}}finally{S(n)}}};function ze(e){return nh(e)}function Ue(e,t){return $r(e,t?.equal)}var mk=e=>e;function dd(e,t){if(typeof e=="function"){let n=Tc(e,mk,t?.equal);return sb(n,t?.debugName)}else{let n=Tc(e.source,e.computation,e.equal);return sb(n,e.debugName)}}function sb(e,t){let n=e[K],o=e;return o.set=r=>eh(n,r),o.update=r=>th(n,r),o.asReadonly=er.bind(e),o}function gk(e){let t=e.request,n=e.params??t??(()=>null);return new na(n,vk(e),e.defaultValue,e.equal?hk(e.equal):void 0,e.debugName,e.injector??C(be))}var fd=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=er,this.isLoading=Ue(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Ue(()=>this.status()==="error");update(t){this.set(t(ze(this.value)))}isValueDefined=Ue(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Ue(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},na=class extends fd{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,o,r,i,s,a){super(Ue(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return o;if(!pd(c))throw new ra(this.error());return c.value},{equal:r}),i),this.loaderFn=n,this.equal=r,this.debugName=i,this.extRequest=dd({source:t,computation:c=>({request:c,reload:0})}),this.state=dd({source:this.extRequest,computation:(c,u)=>{if(u){let l=c.request===void 0?"idle":"loading";return{extRequest:c,status:l,previousStatus:ab(u.value),stream:u.value.extRequest.request===c.request?u.value.stream:void 0}}else{let l=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":l?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:l}}}}),this.effectRef=Cu(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(ls),this.unregisterOnDestroy=s.get(je).onDestroy(()=>this.destroy()),this.status=Ue(()=>ab(this.state()),void 0),this.error=Ue(()=>{let c=this.state().stream?.();return c&&!pd(c)?c.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=ze(this.error),o=ze(this.state);if(!n){let r=ze(this.value);if(o.status==="local"&&(this.equal?this.equal(r,t):r===t))return}this.state.set({extRequest:o.extRequest,status:"local",previousStatus:"local",stream:Xe({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=ze(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:o})=>({request:n,reload:o+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:o}=ze(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let r=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await ze(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:o}}));if(i.aborted||ze(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||ze(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:Xe({error:gd(s)},void 0)})}finally{r?.(),r=void 0}}abortInProgressLoad(){ze(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function hk(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function vk(e){return yk(e)?e.stream:async t=>{try{return Xe({value:await e.loader(t)},void 0)}catch(n){return Xe({error:gd(n)},void 0)}}}function yk(e){return!!e.stream}function ab(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return pd(e.stream())?"resolved":"error";default:return e.status}}function pd(e){return e.error===void 0}function gd(e){return _k(e)?e:new md(e)}function _k(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var ra=class extends Error{constructor(t){super(t.message,{cause:t})}},md=class extends Error{constructor(t){super(String(t),{cause:t})}};var ia=Symbol("InputSignalNode#UNSET"),mb=I(m({},Or),{transformFn:void 0,applyValueToInputSignal(e,t){St(e,t)}});function gb(e,t){let n=Object.create(mb);n.value=e,n.transformFn=t?.transform;function o(){if(at(n),n.value===ia){let r=null;throw new L(-950,r)}return n.value}return o[K]=n,o}var cb=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Gv(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function d6(e){return new _o}function ub(e,t){return gb(e,t)}function bk(e){return gb(ia,e)}var f6=(ub.required=bk,ub);function lb(e,t){return f_(t)}function Ik(e,t){return p_(t)}var p6=(lb.required=Ik,lb);function m6(e,t){return Yl(t)}function g6(e,t){return Yl(t)}function hb(e,t){let n=Object.create(mb),o=new _o;n.value=e;function r(){return at(n),db(n.value),n.value}return r[K]=n,r.asReadonly=er.bind(r),r.set=i=>{n.equal(n.value,i)||(St(n,i),o.emit(i))},r.update=i=>{db(n.value),r.set(i(n.value))},r.subscribe=o.subscribe.bind(o),r.destroyRef=o.destroyRef,r}function db(e){if(e===ia)throw new L(952,!1)}function fb(e,t){return hb(e,t)}function xk(e){return hb(ia,e)}var h6=(fb.required=xk,fb);var vd=new W(""),Ek=new W("");function bo(e){return!e.moduleRef}function wk(e){let t=bo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Je);return n.run(()=>{bo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let o=t.get(Pt),r;if(n.runOutsideAngular(()=>{r=n.onError.subscribe({next:o})}),bo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(vd);s.add(i),t.onDestroy(()=>{r.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(vd);s.add(i),e.moduleRef.onDestroy(()=>{Yr(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(i)})}return Sk(o,n,()=>{let i=t.get(mn),s=i.add(),a=t.get(td);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ld,yo);if(A_(c||yo),!t.get(Ek,!0))return bo(e)?t.get(ta):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(bo(e)){let l=t.get(ta);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Dk?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Dk;function Sk(e,t,n){try{let o=n();return Xl(o)?o.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):o}catch(o){throw t.runOutsideAngular(()=>e(o)),o}}var oa=null;function Tk(e=[],t){return be.create({name:t,providers:[{provide:tu,useValue:"platform"},{provide:vd,useValue:new Set([()=>oa=null])},...e]})}function Nk(e=[]){if(oa)return oa;let t=Tk(e);return oa=t,D_(),kk(t),t}function kk(e){let t=e.get(ey,null);Yi(e,()=>{t?.forEach(n=>n())})}var Ck=1e4;var v6=Ck-1e3;var y6=(()=>{class e{static __NG_ELEMENT_ID__=Mk}return e})();function Mk(e){return $k(oe(),T(),(e&16)===16)}function $k(e,t,n){if(ht(e)&&!n){let o=ke(e.index,t);return new jt(o,o)}else if(e.type&175){let o=t[me];return new jt(o,t)}return null}var yd=class{supports(t){return t instanceof Map||Wl(t)}create(){return new _d}},_d=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Wl(t)))throw new L(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(o,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(r,o);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;o!==null;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let r=this._records.get(t);this._maybeAddToChanges(r,n);let i=r._prev,s=r._next;return i&&(i._next=s),s&&(s._prev=i),r._next=null,r._prev=null,r}let o=new bd(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}},bd=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function pb(){return new Ok([new yd])}var Ok=(()=>{class e{static \u0275prov=te({token:e,providedIn:"root",factory:pb});factories;constructor(n){this.factories=n}static create(n,o){if(o){let r=o.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let o=C(e,{optional:!0,skipSelf:!0});return e.create(n,o||pb())}}}find(n){let o=this.factories.find(r=>r.supports(n));if(o)return o;throw new L(901,!1)}}return e})();function _6(e){let{rootComponent:t,appProviders:n,platformProviders:o,platformRef:r}=e;B(z.BootstrapApplicationStart);try{let i=r?.injector??Nk(o),s=[ud(),Yh,...n||[]],a=new io({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return wk({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{B(z.BootstrapApplicationEnd)}}function b6(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function I6(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var hd=Symbol("NOT_SET"),vb=new Set,Ak=I(m({},Or),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:hd,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==hd&&!Kt(this))return this.signal;try{for(let r of this.cleanup??vb)r()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=We(this),o;try{o=this.userFn.apply(null,t)}finally{ct(this,n)}return(this.value===hd||!this.equal(this.value,o))&&(this.value=o,this.version++),this.signal}}),Id=class extends eo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,o,r,i,s=null){super(t,[void 0,void 0,void 0,void 0],o,!1,i.get(je),s),this.scheduler=r;for(let a of $l){let c=n[a];if(c===void 0)continue;let u=Object.create(Ak);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(at(u),u.value),u.signal[K]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??vb)n()}finally{ut(t)}}};function x6(e,t){let n=t?.injector??C(be),o=n.get(Qe),r=n.get(qs),i=n.get(bn,null,{optional:!0});r.impl??=n.get(Ol);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(tr,null,{optional:!0}),c=new Id(r.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,o,n,i?.snapshot(null));return r.impl.register(c),c}function E6(e,t){let n=Ye(e),o=t.elementInjector||Gn();return new Lt(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function w6(e){let t=Ye(e);if(!t)return null;let n=new Lt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var k6=[{label:"Target Achieved",value:"target_achieved"},{label:"Peak RPS",value:"peak_throughput"},{label:"Average RPS",value:"average_throughput"},{label:"P50 Latency",value:"latency"},{label:"P95 Latency",value:"latency_p95"},{label:"P99 Latency",value:"latency_p99"},{label:"Success Rate",value:"success_rate"},{label:"Error Rate",value:"error_rate"},{label:"Failed Requests",value:"failed_requests"},{label:"Bytes Throughput",value:"network_throughput"},{label:"Bytes Sent",value:"network_bytes_sent"},{label:"Bytes Received",value:"network_bytes_received"}],C6="target_achieved",M6=1e3,$6=[{label:"Manual",value:0},{label:"1 second",value:1e3},{label:"5 seconds",value:5e3},{label:"10 seconds",value:1e4},{label:"30 seconds",value:3e4}];var A6={CONFIGS:"configs",CONFIGS_CREATE:"configs/create",DASHBOARD:"dashboard",DASHBOARD_WITH_ID:"dashboard/:configId",DOCS:"docs",DOCS_WITH_FILENAME:"docs/:filename",DOCS_WITH_SECTION:"docs/:section/:filename",HOME:"",SERVER_UNAVAILABLE:"server-unavailable",SHOWCASE:"showcase",TESTS_WITH_ID:"tests/:testId",WELCOME:"welcome"};var P6=["primary","secondary","accent","rainbow","default","neutral","info","success","warning","error"];var re={};Vt(re,{$brand:()=>Ed,$input:()=>Lp,$output:()=>jp,NEVER:()=>xd,TimePrecision:()=>Up,ZodAny:()=>PI,ZodArray:()=>zI,ZodBase64:()=>Ym,ZodBase64URL:()=>Km,ZodBigInt:()=>ri,ZodBigIntFormat:()=>tg,ZodBoolean:()=>ni,ZodCIDRv4:()=>Jm,ZodCIDRv6:()=>Qm,ZodCUID:()=>Vm,ZodCUID2:()=>Hm,ZodCatch:()=>ix,ZodCustom:()=>ic,ZodCustomStringFormat:()=>kI,ZodDate:()=>nc,ZodDefault:()=>XI,ZodDiscriminatedUnion:()=>UI,ZodE164:()=>Xm,ZodEmail:()=>Lm,ZodEmoji:()=>zm,ZodEnum:()=>Xo,ZodError:()=>bM,ZodFile:()=>YI,ZodGUID:()=>Qa,ZodIPv4:()=>Gm,ZodIPv6:()=>qm,ZodISODate:()=>Wa,ZodISODateTime:()=>Za,ZodISODuration:()=>qa,ZodISOTime:()=>Ga,ZodIntersection:()=>VI,ZodIssueCode:()=>w$,ZodJWT:()=>eg,ZodKSUID:()=>Wm,ZodLazy:()=>dx,ZodLiteral:()=>JI,ZodMap:()=>WI,ZodNaN:()=>ax,ZodNanoID:()=>Um,ZodNever:()=>LI,ZodNonOptional:()=>cg,ZodNull:()=>AI,ZodNullable:()=>KI,ZodNumber:()=>ti,ZodNumberFormat:()=>xr,ZodObject:()=>rc,ZodOptional:()=>ag,ZodPipe:()=>ug,ZodPrefault:()=>tx,ZodPromise:()=>px,ZodReadonly:()=>cx,ZodRealError:()=>Ir,ZodRecord:()=>og,ZodSet:()=>GI,ZodString:()=>ei,ZodStringFormat:()=>Q,ZodSuccess:()=>ox,ZodSymbol:()=>$I,ZodTemplateLiteral:()=>lx,ZodTransform:()=>ig,ZodTuple:()=>BI,ZodType:()=>R,ZodULID:()=>Bm,ZodURL:()=>Fm,ZodUUID:()=>Dt,ZodUndefined:()=>OI,ZodUnion:()=>rg,ZodUnknown:()=>jI,ZodVoid:()=>FI,ZodXID:()=>Zm,_ZodString:()=>jm,_default:()=>ex,any:()=>e$,array:()=>ng,base64:()=>zM,base64url:()=>UM,bigint:()=>JM,boolean:()=>MI,catch:()=>sx,check:()=>mx,cidrv4:()=>LM,cidrv6:()=>FM,clone:()=>we,coerce:()=>lg,config:()=>ie,core:()=>wt,cuid:()=>MM,cuid2:()=>$M,custom:()=>_$,date:()=>n$,discriminatedUnion:()=>a$,e164:()=>VM,email:()=>xM,emoji:()=>kM,endsWith:()=>Zo,enum:()=>qI,file:()=>p$,flattenError:()=>Co,float32:()=>ZM,float64:()=>WM,formatError:()=>Mo,function:()=>Dm,getErrorMap:()=>S$,globalRegistry:()=>rt,gt:()=>xt,gte:()=>ve,guid:()=>EM,includes:()=>Ho,instanceof:()=>b$,int:()=>Pm,int32:()=>GM,int64:()=>QM,intersection:()=>HI,ipv4:()=>PM,ipv6:()=>jM,iso:()=>Ja,json:()=>x$,jwt:()=>HM,keyof:()=>r$,ksuid:()=>RM,lazy:()=>fx,length:()=>br,literal:()=>QI,locales:()=>jo,looseObject:()=>s$,lowercase:()=>Uo,lt:()=>It,lte:()=>Me,map:()=>l$,maxLength:()=>_r,maxSize:()=>yr,mime:()=>Wo,minLength:()=>zt,minSize:()=>Nn,multipleOf:()=>Tn,nan:()=>h$,nanoid:()=>CM,nativeEnum:()=>f$,negative:()=>gm,never:()=>tc,nonnegative:()=>vm,nonoptional:()=>rx,nonpositive:()=>hm,normalize:()=>Go,null:()=>RI,nullable:()=>Xa,nullish:()=>m$,number:()=>CI,object:()=>o$,optional:()=>Ka,overwrite:()=>Et,parse:()=>Mm,parseAsync:()=>$m,partialRecord:()=>u$,pipe:()=>ec,positive:()=>mm,prefault:()=>nx,preprocess:()=>E$,prettifyError:()=>Pd,promise:()=>y$,property:()=>ym,readonly:()=>ux,record:()=>ZI,refine:()=>gx,regex:()=>zo,regexes:()=>wn,registry:()=>xa,safeParse:()=>Om,safeParseAsync:()=>Am,set:()=>d$,setErrorMap:()=>D$,size:()=>Fo,startsWith:()=>Bo,strictObject:()=>i$,string:()=>Rm,stringFormat:()=>BM,stringbool:()=>I$,success:()=>g$,superRefine:()=>hx,symbol:()=>KM,templateLiteral:()=>v$,toJSONSchema:()=>Sm,toLowerCase:()=>Jo,toUpperCase:()=>Qo,transform:()=>sg,treeifyError:()=>Rd,trim:()=>qo,tuple:()=>c$,uint32:()=>qM,uint64:()=>YM,ulid:()=>OM,undefined:()=>XM,union:()=>oc,unknown:()=>Ya,uppercase:()=>Vo,url:()=>NM,uuid:()=>wM,uuidv4:()=>DM,uuidv6:()=>SM,uuidv7:()=>TM,void:()=>t$,xid:()=>AM});var wt={};Vt(wt,{$ZodAny:()=>dp,$ZodArray:()=>Ao,$ZodAsyncError:()=>nt,$ZodBase64:()=>tp,$ZodBase64URL:()=>np,$ZodBigInt:()=>_a,$ZodBigIntFormat:()=>ap,$ZodBoolean:()=>Oo,$ZodCIDRv4:()=>Kf,$ZodCIDRv6:()=>Xf,$ZodCUID:()=>Uf,$ZodCUID2:()=>Vf,$ZodCatch:()=>Cp,$ZodCheck:()=>X,$ZodCheckBigIntFormat:()=>vf,$ZodCheckEndsWith:()=>kf,$ZodCheckGreaterThan:()=>ga,$ZodCheckIncludes:()=>Tf,$ZodCheckLengthEquals:()=>Ef,$ZodCheckLessThan:()=>ma,$ZodCheckLowerCase:()=>Df,$ZodCheckMaxLength:()=>If,$ZodCheckMaxSize:()=>yf,$ZodCheckMimeType:()=>Mf,$ZodCheckMinLength:()=>xf,$ZodCheckMinSize:()=>_f,$ZodCheckMultipleOf:()=>gf,$ZodCheckNumberFormat:()=>hf,$ZodCheckOverwrite:()=>$f,$ZodCheckProperty:()=>Cf,$ZodCheckRegex:()=>wf,$ZodCheckSizeEquals:()=>bf,$ZodCheckStartsWith:()=>Nf,$ZodCheckStringFormat:()=>mr,$ZodCheckUpperCase:()=>Sf,$ZodCustom:()=>Pp,$ZodCustomStringFormat:()=>ip,$ZodDate:()=>mp,$ZodDefault:()=>Sp,$ZodDiscriminatedUnion:()=>hp,$ZodE164:()=>rp,$ZodEmail:()=>jf,$ZodEmoji:()=>Ff,$ZodEnum:()=>Ip,$ZodError:()=>ko,$ZodFile:()=>Ep,$ZodFunction:()=>Ba,$ZodGUID:()=>Rf,$ZodIPv4:()=>Qf,$ZodIPv6:()=>Yf,$ZodISODate:()=>Gf,$ZodISODateTime:()=>Wf,$ZodISODuration:()=>Jf,$ZodISOTime:()=>qf,$ZodIntersection:()=>vp,$ZodJWT:()=>op,$ZodKSUID:()=>Zf,$ZodLazy:()=>Rp,$ZodLiteral:()=>xp,$ZodMap:()=>_p,$ZodNaN:()=>Mp,$ZodNanoID:()=>zf,$ZodNever:()=>fp,$ZodNonOptional:()=>Np,$ZodNull:()=>lp,$ZodNullable:()=>Dp,$ZodNumber:()=>ya,$ZodNumberFormat:()=>sp,$ZodObject:()=>gp,$ZodOptional:()=>wp,$ZodPipe:()=>Po,$ZodPrefault:()=>Tp,$ZodPromise:()=>Ap,$ZodReadonly:()=>$p,$ZodRealError:()=>pr,$ZodRecord:()=>yp,$ZodRegistry:()=>hr,$ZodSet:()=>bp,$ZodString:()=>Dn,$ZodStringFormat:()=>J,$ZodSuccess:()=>kp,$ZodSymbol:()=>cp,$ZodTemplateLiteral:()=>Op,$ZodTransform:()=>Ro,$ZodTuple:()=>Sn,$ZodType:()=>$,$ZodULID:()=>Hf,$ZodURL:()=>Lf,$ZodUUID:()=>Pf,$ZodUndefined:()=>up,$ZodUnion:()=>ba,$ZodUnknown:()=>gr,$ZodVoid:()=>pp,$ZodXID:()=>Bf,$brand:()=>Ed,$constructor:()=>h,$input:()=>Lp,$output:()=>jp,Doc:()=>$o,JSONSchema:()=>SI,JSONSchemaGenerator:()=>Ko,NEVER:()=>xd,TimePrecision:()=>Up,_any:()=>cm,_array:()=>Yo,_base64:()=>za,_base64url:()=>Ua,_bigint:()=>tm,_boolean:()=>Xp,_catch:()=>pM,_cidrv4:()=>La,_cidrv6:()=>Fa,_coercedBigint:()=>nm,_coercedBoolean:()=>em,_coercedDate:()=>fm,_coercedNumber:()=>Gp,_coercedString:()=>zp,_cuid:()=>Ma,_cuid2:()=>$a,_custom:()=>Im,_date:()=>dm,_default:()=>lM,_discriminatedUnion:()=>XC,_e164:()=>Va,_email:()=>Ea,_emoji:()=>ka,_endsWith:()=>Zo,_enum:()=>oM,_file:()=>bm,_float32:()=>Jp,_float64:()=>Qp,_gt:()=>xt,_gte:()=>ve,_guid:()=>Lo,_includes:()=>Ho,_int:()=>qp,_int32:()=>Yp,_int64:()=>rm,_intersection:()=>eM,_ipv4:()=>Pa,_ipv6:()=>ja,_isoDate:()=>Hp,_isoDateTime:()=>Vp,_isoDuration:()=>Zp,_isoTime:()=>Bp,_jwt:()=>Ha,_ksuid:()=>Ra,_lazy:()=>vM,_length:()=>br,_literal:()=>sM,_lowercase:()=>Uo,_lt:()=>It,_lte:()=>Me,_map:()=>nM,_max:()=>Me,_maxLength:()=>_r,_maxSize:()=>yr,_mime:()=>Wo,_min:()=>ve,_minLength:()=>zt,_minSize:()=>Nn,_multipleOf:()=>Tn,_nan:()=>pm,_nanoid:()=>Ca,_nativeEnum:()=>iM,_negative:()=>gm,_never:()=>um,_nonnegative:()=>vm,_nonoptional:()=>dM,_nonpositive:()=>hm,_normalize:()=>Go,_null:()=>am,_nullable:()=>uM,_number:()=>Wp,_optional:()=>cM,_overwrite:()=>Et,_parse:()=>aa,_parseAsync:()=>ua,_pipe:()=>mM,_positive:()=>mm,_promise:()=>yM,_property:()=>ym,_readonly:()=>gM,_record:()=>tM,_refine:()=>xm,_regex:()=>zo,_safeParse:()=>da,_safeParseAsync:()=>fa,_set:()=>rM,_size:()=>Fo,_startsWith:()=>Bo,_string:()=>Fp,_stringFormat:()=>wm,_stringbool:()=>Em,_success:()=>fM,_symbol:()=>im,_templateLiteral:()=>hM,_toLowerCase:()=>Jo,_toUpperCase:()=>Qo,_transform:()=>aM,_trim:()=>qo,_tuple:()=>_m,_uint32:()=>Kp,_uint64:()=>om,_ulid:()=>Oa,_undefined:()=>sm,_union:()=>KC,_unknown:()=>vr,_uppercase:()=>Vo,_url:()=>Na,_uuid:()=>wa,_uuidv4:()=>Da,_uuidv6:()=>Sa,_uuidv7:()=>Ta,_void:()=>lm,_xid:()=>Aa,clone:()=>we,config:()=>ie,flattenError:()=>Co,formatError:()=>Mo,function:()=>Dm,globalConfig:()=>Io,globalRegistry:()=>rt,isValidBase64:()=>ep,isValidBase64URL:()=>jb,isValidJWT:()=>Lb,locales:()=>jo,parse:()=>ca,parseAsync:()=>la,prettifyError:()=>Pd,regexes:()=>wn,registry:()=>xa,safeParse:()=>jd,safeParseAsync:()=>Ld,toDotPath:()=>bb,toJSONSchema:()=>Sm,treeifyError:()=>Rd,util:()=>E,version:()=>Of});var xd=Object.freeze({status:"aborted"});function h(e,t,n){function o(a,c){var u;Object.defineProperty(a,"_zod",{value:a._zod??{},enumerable:!1}),(u=a._zod).traits??(u.traits=new Set),a._zod.traits.add(e),t(a,c);for(let l in s.prototype)l in a||Object.defineProperty(a,l,{value:s.prototype[l].bind(a)});a._zod.constr=s,a._zod.def=c}let r=n?.Parent??Object;class i extends r{}Object.defineProperty(i,"name",{value:e});function s(a){var c;let u=n?.Parent?new i:this;o(u,a),(c=u._zod).deferred??(c.deferred=[]);for(let l of u._zod.deferred)l();return u}return Object.defineProperty(s,"init",{value:o}),Object.defineProperty(s,Symbol.hasInstance,{value:a=>n?.Parent&&a instanceof n.Parent?!0:a?._zod?.traits?.has(e)}),Object.defineProperty(s,"name",{value:e}),s}var Ed=Symbol("zod_brand"),nt=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Io={};function ie(e){return e&&Object.assign(Io,e),Io}var E={};Vt(E,{BIGINT_FORMAT_RANGES:()=>Od,Class:()=>Dd,NUMBER_FORMAT_RANGES:()=>$d,aborted:()=>xn,allowsEval:()=>kd,assert:()=>Fk,assertEqual:()=>Rk,assertIs:()=>jk,assertNever:()=>Lk,assertNotEqual:()=>Pk,assignProp:()=>Nd,cached:()=>wo,captureStackTrace:()=>sa,cleanEnum:()=>Kk,cleanRegex:()=>Do,clone:()=>we,createTransparentProxy:()=>Zk,defineLazy:()=>U,esc:()=>In,escapeRegex:()=>bt,extend:()=>qk,finalizeIssue:()=>De,floatSafeRemainder:()=>Td,getElementAtPath:()=>zk,getEnumValues:()=>Eo,getLengthableOrigin:()=>No,getParsedType:()=>Bk,getSizableOrigin:()=>To,isObject:()=>dr,isPlainObject:()=>fr,issue:()=>Ad,joinValues:()=>v,jsonStringifyReplacer:()=>Sd,merge:()=>Jk,normalizeParams:()=>b,nullish:()=>Ft,numKeys:()=>Hk,omit:()=>Gk,optionalKeys:()=>Md,partial:()=>Qk,pick:()=>Wk,prefixIssues:()=>he,primitiveTypes:()=>Cd,promiseAllObject:()=>Uk,propertyKeyTypes:()=>So,randomString:()=>Vk,required:()=>Yk,stringifyPrimitive:()=>x,unwrapMessage:()=>xo});function Rk(e){return e}function Pk(e){return e}function jk(e){}function Lk(e){throw new Error}function Fk(e){}function Eo(e){let t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,r])=>t.indexOf(+o)===-1).map(([o,r])=>r)}function v(e,t="|"){return e.map(n=>x(n)).join(t)}function Sd(e,t){return typeof t=="bigint"?t.toString():t}function wo(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function Ft(e){return e==null}function Do(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Td(e,t){let n=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,r=n>o?n:o,i=Number.parseInt(e.toFixed(r).replace(".","")),s=Number.parseInt(t.toFixed(r).replace(".",""));return i%s/10**r}function U(e,t,n){Object.defineProperty(e,t,{get(){{let r=n();return e[t]=r,r}throw new Error("cached value already set")},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function Nd(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function zk(e,t){return t?t.reduce((n,o)=>n?.[o],e):e}function Uk(e){let t=Object.keys(e),n=t.map(o=>e[o]);return Promise.all(n).then(o=>{let r={};for(let i=0;i<t.length;i++)r[t[i]]=o[i];return r})}function Vk(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let o=0;o<e;o++)n+=t[Math.floor(Math.random()*t.length)];return n}function In(e){return JSON.stringify(e)}var sa=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function dr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var kd=wo(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function fr(e){if(dr(e)===!1)return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(dr(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Hk(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var Bk=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},So=new Set(["string","number","symbol"]),Cd=new Set(["string","number","bigint","boolean","symbol","undefined"]);function bt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function we(e,t,n){let o=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(o._zod.parent=e),o}function b(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?I(m({},t),{error:()=>t.error}):t}function Zk(e){let t;return new Proxy({},{get(n,o,r){return t??(t=e()),Reflect.get(t,o,r)},set(n,o,r,i){return t??(t=e()),Reflect.set(t,o,r,i)},has(n,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(n,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(n,o,r){return t??(t=e()),Reflect.defineProperty(t,o,r)}})}function x(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Md(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var $d={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Od={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Wk(e,t){let n={},o=e._zod.def;for(let r in t){if(!(r in o.shape))throw new Error(`Unrecognized key: "${r}"`);t[r]&&(n[r]=o.shape[r])}return we(e,I(m({},e._zod.def),{shape:n,checks:[]}))}function Gk(e,t){let n=m({},e._zod.def.shape),o=e._zod.def;for(let r in t){if(!(r in o.shape))throw new Error(`Unrecognized key: "${r}"`);t[r]&&delete n[r]}return we(e,I(m({},e._zod.def),{shape:n,checks:[]}))}function qk(e,t){if(!fr(t))throw new Error("Invalid input to extend: expected a plain object");let n=I(m({},e._zod.def),{get shape(){let o=m(m({},e._zod.def.shape),t);return Nd(this,"shape",o),o},checks:[]});return we(e,n)}function Jk(e,t){return we(e,I(m({},e._zod.def),{get shape(){let n=m(m({},e._zod.def.shape),t._zod.def.shape);return Nd(this,"shape",n),n},catchall:t._zod.def.catchall,checks:[]}))}function Qk(e,t,n){let o=t._zod.def.shape,r=m({},o);if(n)for(let i in n){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);n[i]&&(r[i]=e?new e({type:"optional",innerType:o[i]}):o[i])}else for(let i in o)r[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return we(t,I(m({},t._zod.def),{shape:r,checks:[]}))}function Yk(e,t,n){let o=t._zod.def.shape,r=m({},o);if(n)for(let i in n){if(!(i in r))throw new Error(`Unrecognized key: "${i}"`);n[i]&&(r[i]=new e({type:"nonoptional",innerType:o[i]}))}else for(let i in o)r[i]=new e({type:"nonoptional",innerType:o[i]});return we(t,I(m({},t._zod.def),{shape:r,checks:[]}))}function xn(e,t=0){for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function he(e,t){return t.map(n=>{var o;return(o=n).path??(o.path=[]),n.path.unshift(e),n})}function xo(e){return typeof e=="string"?e:e?.message}function De(e,t,n){let o=I(m({},e),{path:e.path??[]});if(!e.message){let r=xo(e.inst?._zod.def?.error?.(e))??xo(t?.error?.(e))??xo(n.customError?.(e))??xo(n.localeError?.(e))??"Invalid input";o.message=r}return delete o.inst,delete o.continue,t?.reportInput||delete o.input,o}function To(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function No(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Ad(...e){let[t,n,o]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:o}:m({},t)}function Kk(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var Dd=class{constructor(...t){}};var _b=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,Sd,2)},enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},ko=h("$ZodError",_b),pr=h("$ZodError",_b,{Parent:Error});function Co(e,t=n=>n.message){let n={},o=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):o.push(t(r));return{formErrors:o,fieldErrors:n}}function Mo(e,t){let n=t||function(i){return i.message},o={_errors:[]},r=i=>{for(let s of i.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(a=>r({issues:a}));else if(s.code==="invalid_key")r({issues:s.issues});else if(s.code==="invalid_element")r({issues:s.issues});else if(s.path.length===0)o._errors.push(n(s));else{let a=o,c=0;for(;c<s.path.length;){let u=s.path[c];c===s.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(n(s))):a[u]=a[u]||{_errors:[]},a=a[u],c++}}};return r(e),o}function Rd(e,t){let n=t||function(i){return i.message},o={errors:[]},r=(i,s=[])=>{var a,c;for(let u of i.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(l=>r({issues:l},u.path));else if(u.code==="invalid_key")r({issues:u.issues},u.path);else if(u.code==="invalid_element")r({issues:u.issues},u.path);else{let l=[...s,...u.path];if(l.length===0){o.errors.push(n(u));continue}let d=o,g=0;for(;g<l.length;){let f=l[g],p=g===l.length-1;typeof f=="string"?(d.properties??(d.properties={}),(a=d.properties)[f]??(a[f]={errors:[]}),d=d.properties[f]):(d.items??(d.items=[]),(c=d.items)[f]??(c[f]={errors:[]}),d=d.items[f]),p&&d.errors.push(n(u)),g++}}};return r(e),o}function bb(e){let t=[];for(let n of e)typeof n=="number"?t.push(`[${n}]`):typeof n=="symbol"?t.push(`[${JSON.stringify(String(n))}]`):/[^\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push("."),t.push(n));return t.join("")}function Pd(e){let t=[],n=[...e.issues].sort((o,r)=>o.path.length-r.path.length);for(let o of n)t.push(`\u2716 ${o.message}`),o.path?.length&&t.push(` \u2192 at ${bb(o.path)}`);return t.join(`
`)}var aa=e=>(t,n,o,r)=>{let i=o?Object.assign(o,{async:!1}):{async:!1},s=t._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new nt;if(s.issues.length){let a=new(r?.Err??e)(s.issues.map(c=>De(c,i,ie())));throw sa(a,r?.callee),a}return s.value},ca=aa(pr),ua=e=>async(t,n,o,r)=>{let i=o?Object.assign(o,{async:!0}):{async:!0},s=t._zod.run({value:n,issues:[]},i);if(s instanceof Promise&&(s=await s),s.issues.length){let a=new(r?.Err??e)(s.issues.map(c=>De(c,i,ie())));throw sa(a,r?.callee),a}return s.value},la=ua(pr),da=e=>(t,n,o)=>{let r=o?I(m({},o),{async:!1}):{async:!1},i=t._zod.run({value:n,issues:[]},r);if(i instanceof Promise)throw new nt;return i.issues.length?{success:!1,error:new(e??ko)(i.issues.map(s=>De(s,r,ie())))}:{success:!0,data:i.value}},jd=da(pr),fa=e=>async(t,n,o)=>{let r=o?Object.assign(o,{async:!0}):{async:!0},i=t._zod.run({value:n,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(s=>De(s,r,ie())))}:{success:!0,data:i.value}},Ld=fa(pr);var wn={};Vt(wn,{base64:()=>Xd,base64url:()=>pa,bigint:()=>af,boolean:()=>lf,browserEmail:()=>aC,cidrv4:()=>Yd,cidrv6:()=>Kd,cuid:()=>Fd,cuid2:()=>zd,date:()=>nf,datetime:()=>of,domain:()=>uC,duration:()=>Zd,e164:()=>tf,email:()=>Gd,emoji:()=>qd,extendedDuration:()=>eC,guid:()=>Wd,hostname:()=>ef,html5Email:()=>oC,integer:()=>cf,ipv4:()=>Jd,ipv6:()=>Qd,ksuid:()=>Hd,lowercase:()=>pf,nanoid:()=>Bd,null:()=>df,number:()=>uf,rfc5322Email:()=>iC,string:()=>sf,time:()=>rf,ulid:()=>Ud,undefined:()=>ff,unicodeEmail:()=>sC,uppercase:()=>mf,uuid:()=>En,uuid4:()=>tC,uuid6:()=>nC,uuid7:()=>rC,xid:()=>Vd});var Fd=/^[cC][^\s-]{8,}$/,zd=/^[0-9a-z]+$/,Ud=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Vd=/^[0-9a-vA-V]{20}$/,Hd=/^[A-Za-z0-9]{27}$/,Bd=/^[a-zA-Z0-9_-]{21}$/,Zd=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,eC=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Wd=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,En=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,tC=En(4),nC=En(6),rC=En(7),Gd=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,oC=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,iC=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,sC=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,aC=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,cC="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function qd(){return new RegExp(cC,"u")}var Jd=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Qd=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,Yd=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Kd=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Xd=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,pa=/^[A-Za-z0-9_-]*$/,ef=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,uC=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,tf=/^\+(?:[0-9]){6,14}[0-9]$/,Ib="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",nf=new RegExp(`^${Ib}$`);function xb(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function rf(e){return new RegExp(`^${xb(e)}$`)}function of(e){let t=xb({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-]\\d{2}:\\d{2})");let o=`${t}(?:${n.join("|")})`;return new RegExp(`^${Ib}T(?:${o})$`)}var sf=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},af=/^\d+n?$/,cf=/^\d+$/,uf=/^-?\d+(?:\.\d+)?/i,lf=/true|false/i,df=/null/i;var ff=/undefined/i;var pf=/^[^A-Z]*$/,mf=/^[^a-z]*$/;var X=h("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),wb={number:"number",bigint:"bigint",object:"date"},ma=h("$ZodCheckLessThan",(e,t)=>{X.init(e,t);let n=wb[typeof t.value];e._zod.onattach.push(o=>{let r=o._zod.bag,i=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:n,code:"too_big",maximum:t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ga=h("$ZodCheckGreaterThan",(e,t)=>{X.init(e,t);let n=wb[typeof t.value];e._zod.onattach.push(o=>{let r=o._zod.bag,i=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:n,code:"too_small",minimum:t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),gf=h("$ZodCheckMultipleOf",(e,t)=>{X.init(e,t),e._zod.onattach.push(n=>{var o;(o=n._zod.bag).multipleOf??(o.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):Td(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),hf=h("$ZodCheckNumberFormat",(e,t)=>{X.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),o=n?"int":"number",[r,i]=$d[t.format];e._zod.onattach.push(s=>{let a=s._zod.bag;a.format=t.format,a.minimum=r,a.maximum=i,n&&(a.pattern=cf)}),e._zod.check=s=>{let a=s.value;if(n){if(!Number.isInteger(a)){s.issues.push({expected:o,format:t.format,code:"invalid_type",input:a,inst:e});return}if(!Number.isSafeInteger(a)){a>0?s.issues.push({input:a,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,continue:!t.abort}):s.issues.push({input:a,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,continue:!t.abort});return}}a<r&&s.issues.push({origin:"number",input:a,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),a>i&&s.issues.push({origin:"number",input:a,code:"too_big",maximum:i,inst:e})}}),vf=h("$ZodCheckBigIntFormat",(e,t)=>{X.init(e,t);let[n,o]=Od[t.format];e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,i.minimum=n,i.maximum=o}),e._zod.check=r=>{let i=r.value;i<n&&r.issues.push({origin:"bigint",input:i,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),i>o&&r.issues.push({origin:"bigint",input:i,code:"too_big",maximum:o,inst:e})}}),yf=h("$ZodCheckMaxSize",(e,t)=>{var n;X.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!Ft(r)&&r.size!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(o._zod.bag.maximum=t.maximum)}),e._zod.check=o=>{let r=o.value;r.size<=t.maximum||o.issues.push({origin:To(r),code:"too_big",maximum:t.maximum,input:r,inst:e,continue:!t.abort})}}),_f=h("$ZodCheckMinSize",(e,t)=>{var n;X.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!Ft(r)&&r.size!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(o._zod.bag.minimum=t.minimum)}),e._zod.check=o=>{let r=o.value;r.size>=t.minimum||o.issues.push({origin:To(r),code:"too_small",minimum:t.minimum,input:r,inst:e,continue:!t.abort})}}),bf=h("$ZodCheckSizeEquals",(e,t)=>{var n;X.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!Ft(r)&&r.size!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=o=>{let r=o.value,i=r.size;if(i===t.size)return;let s=i>t.size;o.issues.push(I(m({origin:To(r)},s?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size}),{inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort}))}}),If=h("$ZodCheckMaxLength",(e,t)=>{var n;X.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!Ft(r)&&r.length!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(o._zod.bag.maximum=t.maximum)}),e._zod.check=o=>{let r=o.value;if(r.length<=t.maximum)return;let s=No(r);o.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),xf=h("$ZodCheckMinLength",(e,t)=>{var n;X.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!Ft(r)&&r.length!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(o._zod.bag.minimum=t.minimum)}),e._zod.check=o=>{let r=o.value;if(r.length>=t.minimum)return;let s=No(r);o.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ef=h("$ZodCheckLengthEquals",(e,t)=>{var n;X.init(e,t),(n=e._zod.def).when??(n.when=o=>{let r=o.value;return!Ft(r)&&r.length!==void 0}),e._zod.onattach.push(o=>{let r=o._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=o=>{let r=o.value,i=r.length;if(i===t.length)return;let s=No(r),a=i>t.length;o.issues.push(I(m({origin:s},a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length}),{inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort}))}}),mr=h("$ZodCheckStringFormat",(e,t)=>{var n,o;X.init(e,t),e._zod.onattach.push(r=>{let i=r._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push(I(m({origin:"string",code:"invalid_format",format:t.format,input:r.value},t.pattern?{pattern:t.pattern.toString()}:{}),{inst:e,continue:!t.abort}))}):(o=e._zod).check??(o.check=()=>{})}),wf=h("$ZodCheckRegex",(e,t)=>{mr.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Df=h("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=pf),mr.init(e,t)}),Sf=h("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=mf),mr.init(e,t)}),Tf=h("$ZodCheckIncludes",(e,t)=>{X.init(e,t);let n=bt(t.includes),o=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=o,e._zod.onattach.push(r=>{let i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(o)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),Nf=h("$ZodCheckStartsWith",(e,t)=>{X.init(e,t);let n=new RegExp(`^${bt(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(o=>{let r=o._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),kf=h("$ZodCheckEndsWith",(e,t)=>{X.init(e,t);let n=new RegExp(`.*${bt(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(o=>{let r=o._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}});function Eb(e,t,n){e.issues.length&&t.issues.push(...he(n,e.issues))}var Cf=h("$ZodCheckProperty",(e,t)=>{X.init(e,t),e._zod.check=n=>{let o=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(o instanceof Promise)return o.then(r=>Eb(r,n,t.property));Eb(o,n,t.property)}}),Mf=h("$ZodCheckMimeType",(e,t)=>{X.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(o=>{o._zod.bag.mime=t.mime}),e._zod.check=o=>{n.has(o.value.type)||o.issues.push({code:"invalid_value",values:t.mime,input:o.value.type,inst:e})}}),$f=h("$ZodCheckOverwrite",(e,t)=>{X.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var $o=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let o=t.split(`
`).filter(s=>s),r=Math.min(...o.map(s=>s.length-s.trimStart().length)),i=o.map(s=>s.slice(r)).map(s=>" ".repeat(this.indent*2)+s);for(let s of i)this.content.push(s)}compile(){let t=Function,n=this?.args,r=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...n,r.join(`
`))}};var Of={major:4,minor:0,patch:0};var $=h("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Of;let o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(let r of o)for(let i of r._zod.onattach)i(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(i,s,a)=>{let c=xn(i),u;for(let l of s){if(l._zod.def.when){if(!l._zod.def.when(i))continue}else if(c)continue;let d=i.issues.length,g=l._zod.check(i);if(g instanceof Promise&&a?.async===!1)throw new nt;if(u||g instanceof Promise)u=(u??Promise.resolve()).then(async()=>{await g,i.issues.length!==d&&(c||(c=xn(i,d)))});else{if(i.issues.length===d)continue;c||(c=xn(i,d))}}return u?u.then(()=>i):i};e._zod.run=(i,s)=>{let a=e._zod.parse(i,s);if(a instanceof Promise){if(s.async===!1)throw new nt;return a.then(c=>r(c,o,s))}return r(a,o,s)}}e["~standard"]={validate:r=>{try{let i=jd(e,r);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return Ld(e,r).then(s=>s.success?{value:s.data}:{issues:s.error?.issues})}},vendor:"zod",version:1}}),Dn=h("$ZodString",(e,t)=>{$.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??sf(e._zod.bag),e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),J=h("$ZodStringFormat",(e,t)=>{mr.init(e,t),Dn.init(e,t)}),Rf=h("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Wd),J.init(e,t)}),Pf=h("$ZodUUID",(e,t)=>{if(t.version){let o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=En(o))}else t.pattern??(t.pattern=En());J.init(e,t)}),jf=h("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Gd),J.init(e,t)}),Lf=h("$ZodURL",(e,t)=>{J.init(e,t),e._zod.check=n=>{try{let o=n.value,r=new URL(o),i=r.href;t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:ef.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),!o.endsWith("/")&&i.endsWith("/")?n.value=i.slice(0,-1):n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Ff=h("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=qd()),J.init(e,t)}),zf=h("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Bd),J.init(e,t)}),Uf=h("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Fd),J.init(e,t)}),Vf=h("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=zd),J.init(e,t)}),Hf=h("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Ud),J.init(e,t)}),Bf=h("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Vd),J.init(e,t)}),Zf=h("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Hd),J.init(e,t)}),Wf=h("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=of(t)),J.init(e,t)}),Gf=h("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=nf),J.init(e,t)}),qf=h("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=rf(t)),J.init(e,t)}),Jf=h("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Zd),J.init(e,t)}),Qf=h("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Jd),J.init(e,t),e._zod.onattach.push(n=>{let o=n._zod.bag;o.format="ipv4"})}),Yf=h("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Qd),J.init(e,t),e._zod.onattach.push(n=>{let o=n._zod.bag;o.format="ipv6"}),e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),Kf=h("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Yd),J.init(e,t)}),Xf=h("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Kd),J.init(e,t),e._zod.check=n=>{let[o,r]=n.value.split("/");try{if(!r)throw new Error;let i=Number(r);if(`${i}`!==r)throw new Error;if(i<0||i>128)throw new Error;new URL(`http://[${o}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function ep(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var tp=h("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Xd),J.init(e,t),e._zod.onattach.push(n=>{n._zod.bag.contentEncoding="base64"}),e._zod.check=n=>{ep(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function jb(e){if(!pa.test(e))return!1;let t=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return ep(n)}var np=h("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=pa),J.init(e,t),e._zod.onattach.push(n=>{n._zod.bag.contentEncoding="base64url"}),e._zod.check=n=>{jb(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),rp=h("$ZodE164",(e,t)=>{t.pattern??(t.pattern=tf),J.init(e,t)});function Lb(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[o]=n;if(!o)return!1;let r=JSON.parse(atob(o));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}var op=h("$ZodJWT",(e,t)=>{J.init(e,t),e._zod.check=n=>{Lb(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),ip=h("$ZodCustomStringFormat",(e,t)=>{J.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),ya=h("$ZodNumber",(e,t)=>{$.init(e,t),e._zod.pattern=e._zod.bag.pattern??uf,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let i=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push(m({expected:"number",code:"invalid_type",input:r,inst:e},i?{received:i}:{})),n}}),sp=h("$ZodNumber",(e,t)=>{hf.init(e,t),ya.init(e,t)}),Oo=h("$ZodBoolean",(e,t)=>{$.init(e,t),e._zod.pattern=lf,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),_a=h("$ZodBigInt",(e,t)=>{$.init(e,t),e._zod.pattern=af,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),ap=h("$ZodBigInt",(e,t)=>{vf.init(e,t),_a.init(e,t)}),cp=h("$ZodSymbol",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),up=h("$ZodUndefined",(e,t)=>{$.init(e,t),e._zod.pattern=ff,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,o)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),lp=h("$ZodNull",(e,t)=>{$.init(e,t),e._zod.pattern=df,e._zod.values=new Set([null]),e._zod.parse=(n,o)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),dp=h("$ZodAny",(e,t)=>{$.init(e,t),e._zod.parse=n=>n}),gr=h("$ZodUnknown",(e,t)=>{$.init(e,t),e._zod.parse=n=>n}),fp=h("$ZodNever",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),pp=h("$ZodVoid",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),mp=h("$ZodDate",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,i=r instanceof Date;return i&&!Number.isNaN(r.getTime())||n.issues.push(I(m({expected:"date",code:"invalid_type",input:r},i?{received:"Invalid Date"}:{}),{inst:e})),n}});function Sb(e,t,n){e.issues.length&&t.issues.push(...he(n,e.issues)),t.value[n]=e.value}var Ao=h("$ZodArray",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let i=[];for(let s=0;s<r.length;s++){let a=r[s],c=t.element._zod.run({value:a,issues:[]},o);c instanceof Promise?i.push(c.then(u=>Sb(u,n,s))):Sb(c,n,s)}return i.length?Promise.all(i).then(()=>n):n}});function ha(e,t,n){e.issues.length&&t.issues.push(...he(n,e.issues)),t.value[n]=e.value}function Tb(e,t,n,o){e.issues.length?o[n]===void 0?n in o?t.value[n]=void 0:t.value[n]=e.value:t.issues.push(...he(n,e.issues)):e.value===void 0?n in o&&(t.value[n]=void 0):t.value[n]=e.value}var gp=h("$ZodObject",(e,t)=>{$.init(e,t);let n=wo(()=>{let d=Object.keys(t.shape);for(let f of d)if(!(t.shape[f]instanceof $))throw new Error(`Invalid element at key "${f}": expected a Zod schema`);let g=Md(t.shape);return{shape:t.shape,keys:d,keySet:new Set(d),numKeys:d.length,optionalKeys:new Set(g)}});U(e._zod,"propValues",()=>{let d=t.shape,g={};for(let f in d){let p=d[f]._zod;if(p.values){g[f]??(g[f]=new Set);for(let y of p.values)g[f].add(y)}}return g});let o=d=>{let g=new $o(["shape","payload","ctx"]),f=n.value,p=D=>{let O=In(D);return`shape[${O}]._zod.run({ value: input[${O}], issues: [] }, ctx)`};g.write("const input = payload.value;");let y=Object.create(null),_=0;for(let D of f.keys)y[D]=`key_${_++}`;g.write("const newResult = {}");for(let D of f.keys)if(f.optionalKeys.has(D)){let O=y[D];g.write(`const ${O} = ${p(D)};`);let V=In(D);g.write(`
if (${O}.issues.length) {
if (input[${V}] === undefined) {
if (${V} in input) {
newResult[${V}] = undefined;
}
} else {
payload.issues = payload.issues.concat(
${O}.issues.map((iss) => ({
...iss,
path: iss.path ? [${V}, ...iss.path] : [${V}],
}))
);
}
} else if (${O}.value === undefined) {
if (${V} in input) newResult[${V}] = undefined;
} else {
newResult[${V}] = ${O}.value;
}
`)}else{let O=y[D];g.write(`const ${O} = ${p(D)};`),g.write(`
if (${O}.issues.length) payload.issues = payload.issues.concat(${O}.issues.map(iss => ({
...iss,
path: iss.path ? [${In(D)}, ...iss.path] : [${In(D)}]
})));`),g.write(`newResult[${In(D)}] = ${O}.value`)}g.write("payload.value = newResult;"),g.write("return payload;");let w=g.compile();return(D,O)=>w(d,D,O)},r,i=dr,s=!Io.jitless,c=s&&kd.value,u=t.catchall,l;e._zod.parse=(d,g)=>{l??(l=n.value);let f=d.value;if(!i(f))return d.issues.push({expected:"object",code:"invalid_type",input:f,inst:e}),d;let p=[];if(s&&c&&g?.async===!1&&g.jitless!==!0)r||(r=o(t.shape)),d=r(d,g);else{d.value={};let O=l.shape;for(let V of l.keys){let Ut=O[V],oi=Ut._zod.run({value:f[V],issues:[]},g),fg=Ut._zod.optin==="optional"&&Ut._zod.optout==="optional";oi instanceof Promise?p.push(oi.then(pg=>fg?Tb(pg,d,V,f):ha(pg,d,V))):fg?Tb(oi,d,V,f):ha(oi,d,V)}}if(!u)return p.length?Promise.all(p).then(()=>d):d;let y=[],_=l.keySet,w=u._zod,D=w.def.type;for(let O of Object.keys(f)){if(_.has(O))continue;if(D==="never"){y.push(O);continue}let V=w.run({value:f[O],issues:[]},g);V instanceof Promise?p.push(V.then(Ut=>ha(Ut,d,O))):ha(V,d,O)}return y.length&&d.issues.push({code:"unrecognized_keys",keys:y,input:f,inst:e}),p.length?Promise.all(p).then(()=>d):d}});function Nb(e,t,n,o){for(let r of e)if(r.issues.length===0)return t.value=r.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(r=>r.issues.map(i=>De(i,o,ie())))}),t}var ba=h("$ZodUnion",(e,t)=>{$.init(e,t),U(e._zod,"optin",()=>t.options.some(n=>n._zod.optin==="optional")?"optional":void 0),U(e._zod,"optout",()=>t.options.some(n=>n._zod.optout==="optional")?"optional":void 0),U(e._zod,"values",()=>{if(t.options.every(n=>n._zod.values))return new Set(t.options.flatMap(n=>Array.from(n._zod.values)))}),U(e._zod,"pattern",()=>{if(t.options.every(n=>n._zod.pattern)){let n=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${n.map(o=>Do(o.source)).join("|")})$`)}}),e._zod.parse=(n,o)=>{let r=!1,i=[];for(let s of t.options){let a=s._zod.run({value:n.value,issues:[]},o);if(a instanceof Promise)i.push(a),r=!0;else{if(a.issues.length===0)return a;i.push(a)}}return r?Promise.all(i).then(s=>Nb(s,n,e,o)):Nb(i,n,e,o)}}),hp=h("$ZodDiscriminatedUnion",(e,t)=>{ba.init(e,t);let n=e._zod.parse;U(e._zod,"propValues",()=>{let r={};for(let i of t.options){let s=i._zod.propValues;if(!s||Object.keys(s).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(let[a,c]of Object.entries(s)){r[a]||(r[a]=new Set);for(let u of c)r[a].add(u)}}return r});let o=wo(()=>{let r=t.options,i=new Map;for(let s of r){let a=s._zod.propValues[t.discriminator];if(!a||a.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(let c of a){if(i.has(c))throw new Error(`Duplicate discriminator value "${String(c)}"`);i.set(c,s)}}return i});e._zod.parse=(r,i)=>{let s=r.value;if(!dr(s))return r.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),r;let a=o.value.get(s?.[t.discriminator]);return a?a._zod.run(r,i):t.unionFallback?n(r,i):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:s,path:[t.discriminator],inst:e}),r)}}),vp=h("$ZodIntersection",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value,i=t.left._zod.run({value:r,issues:[]},o),s=t.right._zod.run({value:r,issues:[]},o);return i instanceof Promise||s instanceof Promise?Promise.all([i,s]).then(([c,u])=>kb(n,c,u)):kb(n,i,s)}});function Af(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(fr(e)&&fr(t)){let n=Object.keys(t),o=Object.keys(e).filter(i=>n.indexOf(i)!==-1),r=m(m({},e),t);for(let i of o){let s=Af(e[i],t[i]);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};r[i]=s.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let o=0;o<e.length;o++){let r=e[o],i=t[o],s=Af(r,i);if(!s.valid)return{valid:!1,mergeErrorPath:[o,...s.mergeErrorPath]};n.push(s.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function kb(e,t,n){if(t.issues.length&&e.issues.push(...t.issues),n.issues.length&&e.issues.push(...n.issues),xn(e))return e;let o=Af(t.value,n.value);if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var Sn=h("$ZodTuple",(e,t)=>{$.init(e,t);let n=t.items,o=n.length-[...n].reverse().findIndex(r=>r._zod.optin!=="optional");e._zod.parse=(r,i)=>{let s=r.value;if(!Array.isArray(s))return r.issues.push({input:s,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];let a=[];if(!t.rest){let u=s.length>n.length,l=s.length<o-1;if(u||l)return r.issues.push(m({input:s,inst:e,origin:"array"},u?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length})),r}let c=-1;for(let u of n){if(c++,c>=s.length&&c>=o)continue;let l=u._zod.run({value:s[c],issues:[]},i);l instanceof Promise?a.push(l.then(d=>va(d,r,c))):va(l,r,c)}if(t.rest){let u=s.slice(n.length);for(let l of u){c++;let d=t.rest._zod.run({value:l,issues:[]},i);d instanceof Promise?a.push(d.then(g=>va(g,r,c))):va(d,r,c)}}return a.length?Promise.all(a).then(()=>r):r}});function va(e,t,n){e.issues.length&&t.issues.push(...he(n,e.issues)),t.value[n]=e.value}var yp=h("$ZodRecord",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!fr(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let i=[];if(t.keyType._zod.values){let s=t.keyType._zod.values;n.value={};for(let c of s)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){let u=t.valueType._zod.run({value:r[c],issues:[]},o);u instanceof Promise?i.push(u.then(l=>{l.issues.length&&n.issues.push(...he(c,l.issues)),n.value[c]=l.value})):(u.issues.length&&n.issues.push(...he(c,u.issues)),n.value[c]=u.value)}let a;for(let c in r)s.has(c)||(a=a??[],a.push(c));a&&a.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:a})}else{n.value={};for(let s of Reflect.ownKeys(r)){if(s==="__proto__")continue;let a=t.keyType._zod.run({value:s,issues:[]},o);if(a instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(a.issues.length){n.issues.push({origin:"record",code:"invalid_key",issues:a.issues.map(u=>De(u,o,ie())),input:s,path:[s],inst:e}),n.value[a.value]=a.value;continue}let c=t.valueType._zod.run({value:r[s],issues:[]},o);c instanceof Promise?i.push(c.then(u=>{u.issues.length&&n.issues.push(...he(s,u.issues)),n.value[a.value]=u.value})):(c.issues.length&&n.issues.push(...he(s,c.issues)),n.value[a.value]=c.value)}}return i.length?Promise.all(i).then(()=>n):n}}),_p=h("$ZodMap",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let i=[];n.value=new Map;for(let[s,a]of r){let c=t.keyType._zod.run({value:s,issues:[]},o),u=t.valueType._zod.run({value:a,issues:[]},o);c instanceof Promise||u instanceof Promise?i.push(Promise.all([c,u]).then(([l,d])=>{Cb(l,d,n,s,r,e,o)})):Cb(c,u,n,s,r,e,o)}return i.length?Promise.all(i).then(()=>n):n}});function Cb(e,t,n,o,r,i,s){e.issues.length&&(So.has(typeof o)?n.issues.push(...he(o,e.issues)):n.issues.push({origin:"map",code:"invalid_key",input:r,inst:i,issues:e.issues.map(a=>De(a,s,ie()))})),t.issues.length&&(So.has(typeof o)?n.issues.push(...he(o,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:i,key:o,issues:t.issues.map(a=>De(a,s,ie()))})),n.value.set(e.value,t.value)}var bp=h("$ZodSet",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let i=[];n.value=new Set;for(let s of r){let a=t.valueType._zod.run({value:s,issues:[]},o);a instanceof Promise?i.push(a.then(c=>Mb(c,n))):Mb(a,n)}return i.length?Promise.all(i).then(()=>n):n}});function Mb(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Ip=h("$ZodEnum",(e,t)=>{$.init(e,t);let n=Eo(t.entries);e._zod.values=new Set(n),e._zod.pattern=new RegExp(`^(${n.filter(o=>So.has(typeof o)).map(o=>typeof o=="string"?bt(o):o.toString()).join("|")})$`),e._zod.parse=(o,r)=>{let i=o.value;return e._zod.values.has(i)||o.issues.push({code:"invalid_value",values:n,input:i,inst:e}),o}}),xp=h("$ZodLiteral",(e,t)=>{$.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?bt(n):n?n.toString():String(n)).join("|")})$`),e._zod.parse=(n,o)=>{let r=n.value;return e._zod.values.has(r)||n.issues.push({code:"invalid_value",values:t.values,input:r,inst:e}),n}}),Ep=h("$ZodFile",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),Ro=h("$ZodTransform",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=t.transform(n.value,n);if(o.async)return(r instanceof Promise?r:Promise.resolve(r)).then(s=>(n.value=s,n));if(r instanceof Promise)throw new nt;return n.value=r,n}}),wp=h("$ZodOptional",(e,t)=>{$.init(e,t),e._zod.optin="optional",e._zod.optout="optional",U(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),U(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${Do(n.source)})?$`):void 0}),e._zod.parse=(n,o)=>t.innerType._zod.optin==="optional"?t.innerType._zod.run(n,o):n.value===void 0?n:t.innerType._zod.run(n,o)}),Dp=h("$ZodNullable",(e,t)=>{$.init(e,t),U(e._zod,"optin",()=>t.innerType._zod.optin),U(e._zod,"optout",()=>t.innerType._zod.optout),U(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${Do(n.source)}|null)$`):void 0}),U(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),Sp=h("$ZodDefault",(e,t)=>{$.init(e,t),e._zod.optin="optional",U(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>$b(i,t)):$b(r,t)}});function $b(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Tp=h("$ZodPrefault",(e,t)=>{$.init(e,t),e._zod.optin="optional",U(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>(n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),Np=h("$ZodNonOptional",(e,t)=>{$.init(e,t),U(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>Ob(i,e)):Ob(r,e)}});function Ob(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var kp=h("$ZodSuccess",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>(n.value=i.issues.length===0,n)):(n.value=r.issues.length===0,n)}}),Cp=h("$ZodCatch",(e,t)=>{$.init(e,t),e._zod.optin="optional",U(e._zod,"optout",()=>t.innerType._zod.optout),U(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>(n.value=i.value,i.issues.length&&(n.value=t.catchValue(I(m({},n),{error:{issues:i.issues.map(s=>De(s,o,ie()))},input:n.value})),n.issues=[]),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue(I(m({},n),{error:{issues:r.issues.map(i=>De(i,o,ie()))},input:n.value})),n.issues=[]),n)}}),Mp=h("$ZodNaN",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),Po=h("$ZodPipe",(e,t)=>{$.init(e,t),U(e._zod,"values",()=>t.in._zod.values),U(e._zod,"optin",()=>t.in._zod.optin),U(e._zod,"optout",()=>t.out._zod.optout),e._zod.parse=(n,o)=>{let r=t.in._zod.run(n,o);return r instanceof Promise?r.then(i=>Ab(i,t,o)):Ab(r,t,o)}});function Ab(e,t,n){return xn(e)?e:t.out._zod.run({value:e.value,issues:e.issues},n)}var $p=h("$ZodReadonly",(e,t)=>{$.init(e,t),U(e._zod,"propValues",()=>t.innerType._zod.propValues),U(e._zod,"values",()=>t.innerType._zod.values),U(e._zod,"optin",()=>t.innerType._zod.optin),U(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(Rb):Rb(r)}});function Rb(e){return e.value=Object.freeze(e.value),e}var Op=h("$ZodTemplateLiteral",(e,t)=>{$.init(e,t);let n=[];for(let o of t.parts)if(o instanceof $){if(!o._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);let r=o._zod.pattern instanceof RegExp?o._zod.pattern.source:o._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${o._zod.traits}`);let i=r.startsWith("^")?1:0,s=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(i,s))}else if(o===null||Cd.has(typeof o))n.push(bt(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(o,r)=>typeof o.value!="string"?(o.issues.push({input:o.value,inst:e,expected:"template_literal",code:"invalid_type"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),o)}),Ap=h("$ZodPromise",(e,t)=>{$.init(e,t),e._zod.parse=(n,o)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},o))}),Rp=h("$ZodLazy",(e,t)=>{$.init(e,t),U(e._zod,"innerType",()=>t.getter()),U(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),U(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),U(e._zod,"optin",()=>e._zod.innerType._zod.optin),U(e._zod,"optout",()=>e._zod.innerType._zod.optout),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),Pp=h("$ZodCustom",(e,t)=>{X.init(e,t),$.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{let o=n.value,r=t.fn(o);if(r instanceof Promise)return r.then(i=>Pb(i,n,o,e));Pb(r,n,o,e)}});function Pb(e,t,n,o){if(!e){let r={code:"custom",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(r.params=o._zod.def.params),t.issues.push(Ad(r))}}var jo={};Vt(jo,{ar:()=>zb,az:()=>Ub,be:()=>Hb,ca:()=>Bb,cs:()=>Zb,de:()=>Wb,en:()=>Ia,eo:()=>Gb,es:()=>qb,fa:()=>Jb,fi:()=>Qb,fr:()=>Yb,frCA:()=>Kb,he:()=>Xb,hu:()=>eI,id:()=>tI,it:()=>nI,ja:()=>rI,kh:()=>oI,ko:()=>iI,mk:()=>sI,ms:()=>aI,nl:()=>cI,no:()=>uI,ota:()=>lI,pl:()=>fI,ps:()=>dI,pt:()=>pI,ru:()=>gI,sl:()=>hI,sv:()=>vI,ta:()=>yI,th:()=>_I,tr:()=>bI,ua:()=>II,ur:()=>xI,vi:()=>EI,zhCN:()=>wI,zhTW:()=>DI});var lC=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"};return r=>{switch(r.code){case"invalid_type":return`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${r.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${x(r.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()} ${s.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${r.prefix}"`:i.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${i.suffix}"`:i.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${i.includes}"`:i.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${i.pattern}`:`${o[i.format]??r.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${r.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${r.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${r.keys.length>1?"\u0629":""}: ${v(r.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}};function zb(){return{localeError:lC()}}var dC=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${r.expected}, daxil olan ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${x(r.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()} ${s.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()} ${s.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${i.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:i.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${i.suffix}" il\u0259 bitm\u0259lidir`:i.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${i.includes}" daxil olmal\u0131d\u0131r`:i.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${i.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${o[i.format]??r.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${r.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${r.keys.length>1?"lar":""}: ${v(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${r.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}};function Ub(){return{localeError:dC()}}function Vb(e,t,n,o){let r=Math.abs(e),i=r%10,s=r%100;return s>=11&&s<=19?o:i===1?t:i>=2&&i<=4?n:o}var fC=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u043B\u0456\u043A";case"object":{if(Array.isArray(r))return"\u043C\u0430\u0441\u0456\u045E";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"};return r=>{switch(r.code){case"invalid_type":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${r.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${x(r.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);if(s){let a=Number(r.maximum),c=Vb(a,s.unit.one,s.unit.few,s.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${s.verb} ${i}${r.maximum.toString()} ${c}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);if(s){let a=Number(r.minimum),c=Vb(a,s.unit.one,s.unit.few,s.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${s.verb} ${i}${r.minimum.toString()} ${c}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${r.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${v(r.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${r.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}};function Hb(){return{localeError:fC()}}var pC=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return r=>{switch(r.code){case"invalid_type":return`Tipus inv\xE0lid: s'esperava ${r.expected}, s'ha rebut ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Valor inv\xE0lid: s'esperava ${x(r.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${v(r.values," o ")}`;case"too_big":{let i=r.inclusive?"com a m\xE0xim":"menys de",s=t(r.origin);return s?`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xE9s ${i} ${r.maximum.toString()} ${s.unit??"elements"}`:`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"com a m\xEDnim":"m\xE9s de",s=t(r.origin);return s?`Massa petit: s'esperava que ${r.origin} contingu\xE9s ${i} ${r.minimum.toString()} ${s.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${i.prefix}"`:i.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${i.suffix}"`:i.format==="includes"?`Format inv\xE0lid: ha d'incloure "${i.includes}"`:i.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${i.pattern}`:`Format inv\xE0lid per a ${o[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${r.origin}`;default:return"Entrada inv\xE0lida"}}};function Bb(){return{localeError:pC()}}var mC=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u010D\xEDslo";case"string":return"\u0159et\u011Bzec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(r))return"pole";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"};return r=>{switch(r.code){case"invalid_type":return`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${r.expected}, obdr\u017Eeno ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${x(r.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.maximum.toString()} ${s.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${i}${r.minimum.toString()} ${s.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${i.prefix}"`:i.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${i.suffix}"`:i.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${i.includes}"`:i.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${i.pattern}`:`Neplatn\xFD form\xE1t ${o[i.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${v(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}};function Zb(){return{localeError:mC()}}var gC=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"Zahl";case"object":{if(Array.isArray(r))return"Array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"};return r=>{switch(r.code){case"invalid_type":return`Ung\xFCltige Eingabe: erwartet ${r.expected}, erhalten ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ung\xFCltige Eingabe: erwartet ${x(r.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ${s.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${i}${r.maximum.toString()} ist`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ${s.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ist`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ung\xFCltiger String: muss mit "${i.prefix}" beginnen`:i.format==="ends_with"?`Ung\xFCltiger String: muss mit "${i.suffix}" enden`:i.format==="includes"?`Ung\xFCltiger String: muss "${i.includes}" enthalten`:i.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${i.pattern} entsprechen`:`Ung\xFCltig: ${o[i.format]??r.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${v(r.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${r.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${r.origin}`;default:return"Ung\xFCltige Eingabe"}}};function Wb(){return{localeError:gC()}}var hC=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},vC=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function t(o){return e[o]??null}let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return o=>{switch(o.code){case"invalid_type":return`Invalid input: expected ${o.expected}, received ${hC(o.input)}`;case"invalid_value":return o.values.length===1?`Invalid input: expected ${x(o.values[0])}`:`Invalid option: expected one of ${v(o.values,"|")}`;case"too_big":{let r=o.inclusive?"<=":"<",i=t(o.origin);return i?`Too big: expected ${o.origin??"value"} to have ${r}${o.maximum.toString()} ${i.unit??"elements"}`:`Too big: expected ${o.origin??"value"} to be ${r}${o.maximum.toString()}`}case"too_small":{let r=o.inclusive?">=":">",i=t(o.origin);return i?`Too small: expected ${o.origin} to have ${r}${o.minimum.toString()} ${i.unit}`:`Too small: expected ${o.origin} to be ${r}${o.minimum.toString()}`}case"invalid_format":{let r=o;return r.format==="starts_with"?`Invalid string: must start with "${r.prefix}"`:r.format==="ends_with"?`Invalid string: must end with "${r.suffix}"`:r.format==="includes"?`Invalid string: must include "${r.includes}"`:r.format==="regex"?`Invalid string: must match pattern ${r.pattern}`:`Invalid ${n[r.format]??o.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${o.divisor}`;case"unrecognized_keys":return`Unrecognized key${o.keys.length>1?"s":""}: ${v(o.keys,", ")}`;case"invalid_key":return`Invalid key in ${o.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${o.origin}`;default:return"Invalid input"}}};function Ia(){return{localeError:vC()}}var yC=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":{if(Array.isArray(e))return"tabelo";if(e===null)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},_C=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(o){return e[o]??null}let n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"};return o=>{switch(o.code){case"invalid_type":return`Nevalida enigo: atendi\u011Dis ${o.expected}, ricevi\u011Dis ${yC(o.input)}`;case"invalid_value":return o.values.length===1?`Nevalida enigo: atendi\u011Dis ${x(o.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${v(o.values,"|")}`;case"too_big":{let r=o.inclusive?"<=":"<",i=t(o.origin);return i?`Tro granda: atendi\u011Dis ke ${o.origin??"valoro"} havu ${r}${o.maximum.toString()} ${i.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${o.origin??"valoro"} havu ${r}${o.maximum.toString()}`}case"too_small":{let r=o.inclusive?">=":">",i=t(o.origin);return i?`Tro malgranda: atendi\u011Dis ke ${o.origin} havu ${r}${o.minimum.toString()} ${i.unit}`:`Tro malgranda: atendi\u011Dis ke ${o.origin} estu ${r}${o.minimum.toString()}`}case"invalid_format":{let r=o;return r.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${r.prefix}"`:r.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${r.suffix}"`:r.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${r.includes}"`:r.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${r.pattern}`:`Nevalida ${n[r.format]??o.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${o.divisor}`;case"unrecognized_keys":return`Nekonata${o.keys.length>1?"j":""} \u015Dlosilo${o.keys.length>1?"j":""}: ${v(o.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${o.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${o.origin}`;default:return"Nevalida enigo"}}};function Gb(){return{localeError:_C()}}var bC=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(r))return"arreglo";if(r===null)return"nulo";if(Object.getPrototypeOf(r)!==Object.prototype)return r.constructor.name}}return i},o={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return r=>{switch(r.code){case"invalid_type":return`Entrada inv\xE1lida: se esperaba ${r.expected}, recibido ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: se esperaba ${x(r.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Demasiado grande: se esperaba que ${r.origin??"valor"} tuviera ${i}${r.maximum.toString()} ${s.unit??"elementos"}`:`Demasiado grande: se esperaba que ${r.origin??"valor"} fuera ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Demasiado peque\xF1o: se esperaba que ${r.origin} tuviera ${i}${r.minimum.toString()} ${s.unit}`:`Demasiado peque\xF1o: se esperaba que ${r.origin} fuera ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${i.prefix}"`:i.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${i.suffix}"`:i.format==="includes"?`Cadena inv\xE1lida: debe incluir "${i.includes}"`:i.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${i.pattern}`:`Inv\xE1lido ${o[i.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${r.origin}`;default:return"Entrada inv\xE1lida"}}};function qb(){return{localeError:bC()}}var IC=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(r))return"\u0622\u0631\u0627\u06CC\u0647";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"};return r=>{switch(r.code){case"invalid_type":return`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${r.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${n(r.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;case"invalid_value":return r.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${x(r.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${v(r.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${s.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:i.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${i.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:i.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${i.includes}" \u0628\u0627\u0634\u062F`:i.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${i.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${o[i.format]??r.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${r.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${r.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${v(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${r.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${r.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}};function Jb(){return{localeError:IC()}}var xC=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"};return r=>{switch(r.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${r.expected}, oli ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${x(r.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Liian suuri: ${s.subject} t\xE4ytyy olla ${i}${r.maximum.toString()} ${s.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Liian pieni: ${s.subject} t\xE4ytyy olla ${i}${r.minimum.toString()} ${s.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${i.prefix}"`:i.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${i.suffix}"`:i.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${i.includes}"`:i.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${i.pattern}`:`Virheellinen ${o[i.format]??r.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${v(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}};function Qb(){return{localeError:xC()}}var EC=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"nombre";case"object":{if(Array.isArray(r))return"tableau";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"};return r=>{switch(r.code){case"invalid_type":return`Entr\xE9e invalide : ${r.expected} attendu, ${n(r.input)} re\xE7u`;case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : ${x(r.values[0])} attendu`:`Option invalide : une valeur parmi ${v(r.values,"|")} attendue`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Trop grand : ${r.origin??"valeur"} doit ${s.verb} ${i}${r.maximum.toString()} ${s.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${r.origin??"valeur"} doit \xEAtre ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Trop petit : ${r.origin} doit ${s.verb} ${i}${r.minimum.toString()} ${s.unit}`:`Trop petit : ${r.origin} doit \xEAtre ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${i.pattern}`:`${o[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${v(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function Yb(){return{localeError:EC()}}var wC=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"};return r=>{switch(r.code){case"invalid_type":return`Entr\xE9e invalide : attendu ${r.expected}, re\xE7u ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : attendu ${x(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u2264":"<",s=t(r.origin);return s?`Trop grand : attendu que ${r.origin??"la valeur"} ait ${i}${r.maximum.toString()} ${s.unit}`:`Trop grand : attendu que ${r.origin??"la valeur"} soit ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u2265":">",s=t(r.origin);return s?`Trop petit : attendu que ${r.origin} ait ${i}${r.minimum.toString()} ${s.unit}`:`Trop petit : attendu que ${r.origin} soit ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${i.prefix}"`:i.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${i.suffix}"`:i.format==="includes"?`Cha\xEEne invalide : doit inclure "${i.includes}"`:i.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${i.pattern}`:`${o[i.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${v(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function Kb(){return{localeError:wC()}}var DC=()=>{let e={string:{unit:"\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u05E7\u05DC\u05D8",email:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",url:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",emoji:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",date:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",time:"\u05D6\u05DE\u05DF ISO",duration:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",ipv4:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",ipv6:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",cidrv4:"\u05D8\u05D5\u05D5\u05D7 IPv4",cidrv6:"\u05D8\u05D5\u05D5\u05D7 IPv6",base64:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",base64url:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",json_string:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",e164:"\u05DE\u05E1\u05E4\u05E8 E.164",jwt:"JWT",template_literal:"\u05E7\u05DC\u05D8"};return r=>{switch(r.code){case"invalid_type":return`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${r.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${x(r.values[0])}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05D0\u05D7\u05EA \u05DE\u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${r.origin??"value"} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.maximum.toString()} ${s.unit??"elements"}`:`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${r.origin??"value"} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${r.origin} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.minimum.toString()} ${s.unit}`:`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${r.origin} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1"${i.prefix}"`:i.format==="ends_with"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${i.suffix}"`:i.format==="includes"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${i.includes}"`:i.format==="regex"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${i.pattern}`:`${o[i.format]??r.format} \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${r.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${r.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${r.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${v(r.keys,", ")}`;case"invalid_key":return`\u05DE\u05E4\u05EA\u05D7 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r.origin}`;case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r.origin}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}};function Xb(){return{localeError:DC()}}var SC=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"sz\xE1m";case"object":{if(Array.isArray(r))return"t\xF6mb";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"};return r=>{switch(r.code){case"invalid_type":return`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${r.expected}, a kapott \xE9rt\xE9k ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${x(r.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`T\xFAl nagy: ${r.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${i}${r.maximum.toString()} ${s.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${r.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} m\xE9rete t\xFAl kicsi ${i}${r.minimum.toString()} ${s.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} t\xFAl kicsi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\xC9rv\xE9nytelen string: "${i.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:i.format==="ends_with"?`\xC9rv\xE9nytelen string: "${i.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:i.format==="includes"?`\xC9rv\xE9nytelen string: "${i.includes}" \xE9rt\xE9ket kell tartalmaznia`:i.format==="regex"?`\xC9rv\xE9nytelen string: ${i.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${o[i.format]??r.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${r.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${r.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}};function eI(){return{localeError:SC()}}var TC=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Input tidak valid: diharapkan ${r.expected}, diterima ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${x(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${i}${r.maximum.toString()} ${s.unit??"elemen"}`:`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Terlalu kecil: diharapkan ${r.origin} memiliki ${i}${r.minimum.toString()} ${s.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak valid: harus dimulai dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak valid: harus berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak valid: harus menyertakan "${i.includes}"`:i.format==="regex"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${o[i.format]??r.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`;default:return"Input tidak valid"}}};function tI(){return{localeError:TC()}}var NC=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"numero";case"object":{if(Array.isArray(r))return"vettore";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Input non valido: atteso ${r.expected}, ricevuto ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Input non valido: atteso ${x(r.values[0])}`:`Opzione non valida: atteso uno tra ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Troppo grande: ${r.origin??"valore"} deve avere ${i}${r.maximum.toString()} ${s.unit??"elementi"}`:`Troppo grande: ${r.origin??"valore"} deve essere ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Troppo piccolo: ${r.origin} deve avere ${i}${r.minimum.toString()} ${s.unit}`:`Troppo piccolo: ${r.origin} deve essere ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Stringa non valida: deve iniziare con "${i.prefix}"`:i.format==="ends_with"?`Stringa non valida: deve terminare con "${i.suffix}"`:i.format==="includes"?`Stringa non valida: deve includere "${i.includes}"`:i.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Invalid ${o[i.format]??r.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${v(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`;default:return"Input non valido"}}};function nI(){return{localeError:NC()}}var kC=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u6570\u5024";case"object":{if(Array.isArray(r))return"\u914D\u5217";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"};return r=>{switch(r.code){case"invalid_type":return`\u7121\u52B9\u306A\u5165\u529B: ${r.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${n(r.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;case"invalid_value":return r.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${x(r.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${v(r.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let i=r.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",s=t(r.origin);return s?`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${s.unit??"\u8981\u7D20"}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let i=r.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",s=t(r.origin);return s?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${s.unit}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${i}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${i.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:i.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${i.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${o[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${r.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${r.keys.length>1?"\u7FA4":""}: ${v(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}};function rI(){return{localeError:kC()}}var CC=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u179B\u17C1\u1781 (NaN)":"\u179B\u17C1\u1781";case"object":{if(Array.isArray(r))return"\u17A2\u17B6\u179A\u17C1 (Array)";if(r===null)return"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"};return r=>{switch(r.code){case"invalid_type":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${x(r.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()} ${s.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()} ${s.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${i.prefix}"`:i.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${i.suffix}"`:i.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${i.includes}"`:i.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${i.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${r.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${v(r.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}};function oI(){return{localeError:CC()}}var MC=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"};return r=>{switch(r.code){case"invalid_type":return`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${r.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${n(r.input)}\uC785\uB2C8\uB2E4`;case"invalid_value":return r.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${x(r.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${v(r.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let i=r.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",s=i==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",a=t(r.origin),c=a?.unit??"\uC694\uC18C";return a?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${c} ${i}${s}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()} ${i}${s}`}case"too_small":{let i=r.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",s=i==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",a=t(r.origin),c=a?.unit??"\uC694\uC18C";return a?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${c} ${i}${s}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()} ${i}${s}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:i.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${i.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:i.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${i.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${o[i.format]??r.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${r.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${v(r.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${r.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${r.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}};function iI(){return{localeError:MC()}}var $C=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0431\u0440\u043E\u0458";case"object":{if(Array.isArray(r))return"\u043D\u0438\u0437\u0430";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"};return r=>{switch(r.code){case"invalid_type":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Invalid input: expected ${x(r.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0438\u043C\u0430 ${i}${r.minimum.toString()} ${s.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${i.pattern}`:`Invalid ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${v(r.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${r.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${r.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}};function sI(){return{localeError:$C()}}var OC=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"nombor";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Input tidak sah: dijangka ${r.expected}, diterima ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${x(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Terlalu besar: dijangka ${r.origin??"nilai"} ${s.verb} ${i}${r.maximum.toString()} ${s.unit??"elemen"}`:`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Terlalu kecil: dijangka ${r.origin} ${s.verb} ${i}${r.minimum.toString()} ${s.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`String tidak sah: mesti bermula dengan "${i.prefix}"`:i.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${i.suffix}"`:i.format==="includes"?`String tidak sah: mesti mengandungi "${i.includes}"`:i.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${o[i.format]??r.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${v(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`;default:return"Input tidak sah"}}};function aI(){return{localeError:OC()}}var AC=()=>{let e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"getal";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"};return r=>{switch(r.code){case"invalid_type":return`Ongeldige invoer: verwacht ${r.expected}, ontving ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${x(r.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Te lang: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} ${s.unit??"elementen"} bevat`:`Te lang: verwacht dat ${r.origin??"waarde"} ${i}${r.maximum.toString()} is`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Te kort: verwacht dat ${r.origin} ${i}${r.minimum.toString()} ${s.unit} bevat`:`Te kort: verwacht dat ${r.origin} ${i}${r.minimum.toString()} is`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ongeldige tekst: moet met "${i.prefix}" beginnen`:i.format==="ends_with"?`Ongeldige tekst: moet op "${i.suffix}" eindigen`:i.format==="includes"?`Ongeldige tekst: moet "${i.includes}" bevatten`:i.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${o[i.format]??r.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`;default:return"Ongeldige invoer"}}};function cI(){return{localeError:AC()}}var RC=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"tall";case"object":{if(Array.isArray(r))return"liste";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`Ugyldig input: forventet ${r.expected}, fikk ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${x(r.values[0])}`:`Ugyldig valg: forventet en av ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()} ${s.unit??"elementer"}`:`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()} ${s.unit}`:`For lite(n): forventet ${r.origin} til \xE5 ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${i.prefix}"`:i.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${i.suffix}"`:i.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${i.includes}"`:i.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${i.pattern}`:`Ugyldig ${o[i.format]??r.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${v(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}};function uI(){return{localeError:RC()}}var PC=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"numara";case"object":{if(Array.isArray(r))return"saf";if(r===null)return"gayb";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"};return r=>{switch(r.code){case"invalid_type":return`F\xE2sit giren: umulan ${r.expected}, al\u0131nan ${n(r.input)}`;case"invalid_value":return r.values.length===1?`F\xE2sit giren: umulan ${x(r.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} ${s.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${i}${r.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} ${s.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${i}${r.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let i=r;return i.format==="starts_with"?`F\xE2sit metin: "${i.prefix}" ile ba\u015Flamal\u0131.`:i.format==="ends_with"?`F\xE2sit metin: "${i.suffix}" ile bitmeli.`:i.format==="includes"?`F\xE2sit metin: "${i.includes}" ihtiv\xE2 etmeli.`:i.format==="regex"?`F\xE2sit metin: ${i.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${o[i.format]??r.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${r.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${r.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}};function lI(){return{localeError:PC()}}var jC=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(r))return"\u0627\u0631\u06D0";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"};return r=>{switch(r.code){case"invalid_type":return`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${r.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${n(r.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;case"invalid_value":return r.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${x(r.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${v(r.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${i}${r.maximum.toString()} \u0648\u064A`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} ${s.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${i}${r.minimum.toString()} \u0648\u064A`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:i.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${i.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:i.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${i.includes}" \u0648\u0644\u0631\u064A`:i.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${i.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${o[i.format]??r.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${r.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${r.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${v(r.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${r.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${r.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}};function dI(){return{localeError:jC()}}var LC=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"liczba";case"object":{if(Array.isArray(r))return"tablica";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"};return r=>{switch(r.code){case"invalid_type":return`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${r.expected}, otrzymano ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${x(r.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.maximum.toString()} ${s.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${i}${r.minimum.toString()} ${s.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${i.prefix}"`:i.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${i.suffix}"`:i.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${i.includes}"`:i.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${i.pattern}`:`Nieprawid\u0142ow(y/a/e) ${o[i.format]??r.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${r.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${r.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}};function fI(){return{localeError:LC()}}var FC=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(r))return"array";if(r===null)return"nulo";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return r=>{switch(r.code){case"invalid_type":return`Tipo inv\xE1lido: esperado ${r.expected}, recebido ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: esperado ${x(r.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${i}${r.maximum.toString()} ${s.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Muito pequeno: esperado que ${r.origin} tivesse ${i}${r.minimum.toString()} ${s.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${i.prefix}"`:i.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${i.suffix}"`:i.format==="includes"?`Texto inv\xE1lido: deve incluir "${i.includes}"`:i.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${i.pattern}`:`${o[i.format]??r.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${r.origin}`;default:return"Campo inv\xE1lido"}}};function pI(){return{localeError:FC()}}function mI(e,t,n,o){let r=Math.abs(e),i=r%10,s=r%100;return s>=11&&s<=19?o:i===1?t:i>=2&&i<=4?n:o}var zC=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(r))return"\u043C\u0430\u0441\u0441\u0438\u0432";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"};return r=>{switch(r.code){case"invalid_type":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${x(r.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);if(s){let a=Number(r.maximum),c=mI(a,s.unit.one,s.unit.few,s.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.maximum.toString()} ${c}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);if(s){let a=Number(r.minimum),c=mI(a,s.unit.one,s.unit.few,s.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${i}${r.minimum.toString()} ${c}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${r.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0438":""}: ${v(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}};function gI(){return{localeError:zC()}}var UC=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0161tevilo";case"object":{if(Array.isArray(r))return"tabela";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"};return r=>{switch(r.code){case"invalid_type":return`Neveljaven vnos: pri\u010Dakovano ${r.expected}, prejeto ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${x(r.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} imelo ${i}${r.maximum.toString()} ${s.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Premajhno: pri\u010Dakovano, da bo ${r.origin} imelo ${i}${r.minimum.toString()} ${s.unit}`:`Premajhno: pri\u010Dakovano, da bo ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${i.prefix}"`:i.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${i.suffix}"`:i.format==="includes"?`Neveljaven niz: mora vsebovati "${i.includes}"`:i.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${o[i.format]??r.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${v(r.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${r.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`;default:return"Neveljaven vnos"}}};function hI(){return{localeError:UC()}}var VC=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"antal";case"object":{if(Array.isArray(r))return"lista";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"};return r=>{switch(r.code){case"invalid_type":return`Ogiltig inmatning: f\xF6rv\xE4ntat ${r.expected}, fick ${n(r.input)}`;case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${x(r.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`F\xF6r stor(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()} ${s.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${r.origin??"v\xE4rdet"} att ha ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()} ${s.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${i.prefix}"`:i.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${i.suffix}"`:i.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${i.includes}"`:i.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${i.pattern}"`:`Ogiltig(t) ${o[i.format]??r.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${v(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${r.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}};function vI(){return{localeError:VC()}}var HC=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u0B8E\u0BA3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BBE\u0BA4\u0BA4\u0BC1":"\u0B8E\u0BA3\u0BCD";case"object":{if(Array.isArray(r))return"\u0B85\u0BA3\u0BBF";if(r===null)return"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"};return r=>{switch(r.code){case"invalid_type":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${x(r.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${v(r.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} ${s.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${i}${r.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} ${s.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${i}${r.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${i.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:i.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${i.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${r.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${r.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${v(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}};function yI(){return{localeError:HC()}}var BC=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 (NaN)":"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02";case"object":{if(Array.isArray(r))return"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)";if(r===null)return"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"};return r=>{switch(r.code){case"invalid_type":return`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${r.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${x(r.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",s=t(r.origin);return s?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()} ${s.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",s=t(r.origin);return s?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()} ${s.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${i} ${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${i.prefix}"`:i.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${i.suffix}"`:i.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${i.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:i.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${i.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${o[i.format]??r.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${r.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${v(r.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}};function _I(){return{localeError:BC()}}var ZC=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},WC=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(o){return e[o]??null}let n={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"};return o=>{switch(o.code){case"invalid_type":return`Ge\xE7ersiz de\u011Fer: beklenen ${o.expected}, al\u0131nan ${ZC(o.input)}`;case"invalid_value":return o.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${x(o.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${v(o.values,"|")}`;case"too_big":{let r=o.inclusive?"<=":"<",i=t(o.origin);return i?`\xC7ok b\xFCy\xFCk: beklenen ${o.origin??"de\u011Fer"} ${r}${o.maximum.toString()} ${i.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${o.origin??"de\u011Fer"} ${r}${o.maximum.toString()}`}case"too_small":{let r=o.inclusive?">=":">",i=t(o.origin);return i?`\xC7ok k\xFC\xE7\xFCk: beklenen ${o.origin} ${r}${o.minimum.toString()} ${i.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${o.origin} ${r}${o.minimum.toString()}`}case"invalid_format":{let r=o;return r.format==="starts_with"?`Ge\xE7ersiz metin: "${r.prefix}" ile ba\u015Flamal\u0131`:r.format==="ends_with"?`Ge\xE7ersiz metin: "${r.suffix}" ile bitmeli`:r.format==="includes"?`Ge\xE7ersiz metin: "${r.includes}" i\xE7ermeli`:r.format==="regex"?`Ge\xE7ersiz metin: ${r.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${n[r.format]??o.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${o.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${o.keys.length>1?"lar":""}: ${v(o.keys,", ")}`;case"invalid_key":return`${o.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${o.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}};function bI(){return{localeError:WC()}}var GC=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(r))return"\u043C\u0430\u0441\u0438\u0432";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"};return r=>{switch(r.code){case"invalid_type":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${r.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${x(r.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${s.verb} ${i}${r.maximum.toString()} ${s.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} ${s.verb} ${i}${r.minimum.toString()} ${s.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} \u0431\u0443\u0434\u0435 ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${i.prefix}"`:i.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${i.suffix}"`:i.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${i.includes}"`:i.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${i.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0456":""}: ${v(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${r.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}};function II(){return{localeError:GC()}}var qC=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"\u0646\u0645\u0628\u0631";case"object":{if(Array.isArray(r))return"\u0622\u0631\u06D2";if(r===null)return"\u0646\u0644";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"};return r=>{switch(r.code){case"invalid_type":return`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${r.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${n(r.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;case"invalid_value":return r.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${x(r.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${v(r.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${i}${r.maximum.toString()} ${s.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${i}${r.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u06D2 ${i}${r.minimum.toString()} ${s.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u0627 ${i}${r.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${i.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:i.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${i.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${r.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${r.keys.length>1?"\u0632":""}: ${v(r.keys,"\u060C ")}`;case"invalid_key":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}};function xI(){return{localeError:qC()}}var JC=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"s\u1ED1";case"object":{if(Array.isArray(r))return"m\u1EA3ng";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"};return r=>{switch(r.code){case"invalid_type":return`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${r.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${x(r.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${s.verb} ${i}${r.maximum.toString()} ${s.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${s.verb} ${i}${r.minimum.toString()} ${s.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${i.prefix}"`:i.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${i.suffix}"`:i.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${i.includes}"`:i.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${i.pattern}`:`${o[i.format]??r.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${r.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${v(r.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}};function EI(){return{localeError:JC()}}var QC=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"\u975E\u6570\u5B57(NaN)":"\u6570\u5B57";case"object":{if(Array.isArray(r))return"\u6570\u7EC4";if(r===null)return"\u7A7A\u503C(null)";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"};return r=>{switch(r.code){case"invalid_type":return`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${r.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${x(r.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()} ${s.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()} ${s.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.prefix}" \u5F00\u5934`:i.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${i.suffix}" \u7ED3\u5C3E`:i.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${i.pattern}`:`\u65E0\u6548${o[i.format]??r.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${r.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${v(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${r.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}};function wI(){return{localeError:QC()}}var YC=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(r){return e[r]??null}let n=r=>{let i=typeof r;switch(i){case"number":return Number.isNaN(r)?"NaN":"number";case"object":{if(Array.isArray(r))return"array";if(r===null)return"null";if(Object.getPrototypeOf(r)!==Object.prototype&&r.constructor)return r.constructor.name}}return i},o={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"};return r=>{switch(r.code){case"invalid_type":return`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${r.expected}\uFF0C\u4F46\u6536\u5230 ${n(r.input)}`;case"invalid_value":return r.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${x(r.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${v(r.values,"|")}`;case"too_big":{let i=r.inclusive?"<=":"<",s=t(r.origin);return s?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()} ${s.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${i}${r.maximum.toString()}`}case"too_small":{let i=r.inclusive?">=":">",s=t(r.origin);return s?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()} ${s.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${i}${r.minimum.toString()}`}case"invalid_format":{let i=r;return i.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.prefix}" \u958B\u982D`:i.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${i.suffix}" \u7D50\u5C3E`:i.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${i.includes}"`:i.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${i.pattern}`:`\u7121\u6548\u7684 ${o[i.format]??r.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${r.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${r.keys.length>1?"\u5011":""}\uFF1A${v(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}};function DI(){return{localeError:YC()}}var jp=Symbol("ZodOutput"),Lp=Symbol("ZodInput"),hr=class{constructor(){this._map=new Map,this._idmap=new Map}add(t,...n){let o=n[0];if(this._map.set(t,o),o&&typeof o=="object"&&"id"in o){if(this._idmap.has(o.id))throw new Error(`ID ${o.id} already exists in the registry`);this._idmap.set(o.id,t)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let o=m({},this.get(n)??{});return delete o.id,m(m({},o),this._map.get(t))}return this._map.get(t)}has(t){return this._map.has(t)}};function xa(){return new hr}var rt=xa();function Fp(e,t){return new e(m({type:"string"},b(t)))}function zp(e,t){return new e(m({type:"string",coerce:!0},b(t)))}function Ea(e,t){return new e(m({type:"string",format:"email",check:"string_format",abort:!1},b(t)))}function Lo(e,t){return new e(m({type:"string",format:"guid",check:"string_format",abort:!1},b(t)))}function wa(e,t){return new e(m({type:"string",format:"uuid",check:"string_format",abort:!1},b(t)))}function Da(e,t){return new e(m({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4"},b(t)))}function Sa(e,t){return new e(m({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6"},b(t)))}function Ta(e,t){return new e(m({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7"},b(t)))}function Na(e,t){return new e(m({type:"string",format:"url",check:"string_format",abort:!1},b(t)))}function ka(e,t){return new e(m({type:"string",format:"emoji",check:"string_format",abort:!1},b(t)))}function Ca(e,t){return new e(m({type:"string",format:"nanoid",check:"string_format",abort:!1},b(t)))}function Ma(e,t){return new e(m({type:"string",format:"cuid",check:"string_format",abort:!1},b(t)))}function $a(e,t){return new e(m({type:"string",format:"cuid2",check:"string_format",abort:!1},b(t)))}function Oa(e,t){return new e(m({type:"string",format:"ulid",check:"string_format",abort:!1},b(t)))}function Aa(e,t){return new e(m({type:"string",format:"xid",check:"string_format",abort:!1},b(t)))}function Ra(e,t){return new e(m({type:"string",format:"ksuid",check:"string_format",abort:!1},b(t)))}function Pa(e,t){return new e(m({type:"string",format:"ipv4",check:"string_format",abort:!1},b(t)))}function ja(e,t){return new e(m({type:"string",format:"ipv6",check:"string_format",abort:!1},b(t)))}function La(e,t){return new e(m({type:"string",format:"cidrv4",check:"string_format",abort:!1},b(t)))}function Fa(e,t){return new e(m({type:"string",format:"cidrv6",check:"string_format",abort:!1},b(t)))}function za(e,t){return new e(m({type:"string",format:"base64",check:"string_format",abort:!1},b(t)))}function Ua(e,t){return new e(m({type:"string",format:"base64url",check:"string_format",abort:!1},b(t)))}function Va(e,t){return new e(m({type:"string",format:"e164",check:"string_format",abort:!1},b(t)))}function Ha(e,t){return new e(m({type:"string",format:"jwt",check:"string_format",abort:!1},b(t)))}var Up={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Vp(e,t){return new e(m({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null},b(t)))}function Hp(e,t){return new e(m({type:"string",format:"date",check:"string_format"},b(t)))}function Bp(e,t){return new e(m({type:"string",format:"time",check:"string_format",precision:null},b(t)))}function Zp(e,t){return new e(m({type:"string",format:"duration",check:"string_format"},b(t)))}function Wp(e,t){return new e(m({type:"number",checks:[]},b(t)))}function Gp(e,t){return new e(m({type:"number",coerce:!0,checks:[]},b(t)))}function qp(e,t){return new e(m({type:"number",check:"number_format",abort:!1,format:"safeint"},b(t)))}function Jp(e,t){return new e(m({type:"number",check:"number_format",abort:!1,format:"float32"},b(t)))}function Qp(e,t){return new e(m({type:"number",check:"number_format",abort:!1,format:"float64"},b(t)))}function Yp(e,t){return new e(m({type:"number",check:"number_format",abort:!1,format:"int32"},b(t)))}function Kp(e,t){return new e(m({type:"number",check:"number_format",abort:!1,format:"uint32"},b(t)))}function Xp(e,t){return new e(m({type:"boolean"},b(t)))}function em(e,t){return new e(m({type:"boolean",coerce:!0},b(t)))}function tm(e,t){return new e(m({type:"bigint"},b(t)))}function nm(e,t){return new e(m({type:"bigint",coerce:!0},b(t)))}function rm(e,t){return new e(m({type:"bigint",check:"bigint_format",abort:!1,format:"int64"},b(t)))}function om(e,t){return new e(m({type:"bigint",check:"bigint_format",abort:!1,format:"uint64"},b(t)))}function im(e,t){return new e(m({type:"symbol"},b(t)))}function sm(e,t){return new e(m({type:"undefined"},b(t)))}function am(e,t){return new e(m({type:"null"},b(t)))}function cm(e){return new e({type:"any"})}function vr(e){return new e({type:"unknown"})}function um(e,t){return new e(m({type:"never"},b(t)))}function lm(e,t){return new e(m({type:"void"},b(t)))}function dm(e,t){return new e(m({type:"date"},b(t)))}function fm(e,t){return new e(m({type:"date",coerce:!0},b(t)))}function pm(e,t){return new e(m({type:"nan"},b(t)))}function It(e,t){return new ma(I(m({check:"less_than"},b(t)),{value:e,inclusive:!1}))}function Me(e,t){return new ma(I(m({check:"less_than"},b(t)),{value:e,inclusive:!0}))}function xt(e,t){return new ga(I(m({check:"greater_than"},b(t)),{value:e,inclusive:!1}))}function ve(e,t){return new ga(I(m({check:"greater_than"},b(t)),{value:e,inclusive:!0}))}function mm(e){return xt(0,e)}function gm(e){return It(0,e)}function hm(e){return Me(0,e)}function vm(e){return ve(0,e)}function Tn(e,t){return new gf(I(m({check:"multiple_of"},b(t)),{value:e}))}function yr(e,t){return new yf(I(m({check:"max_size"},b(t)),{maximum:e}))}function Nn(e,t){return new _f(I(m({check:"min_size"},b(t)),{minimum:e}))}function Fo(e,t){return new bf(I(m({check:"size_equals"},b(t)),{size:e}))}function _r(e,t){return new If(I(m({check:"max_length"},b(t)),{maximum:e}))}function zt(e,t){return new xf(I(m({check:"min_length"},b(t)),{minimum:e}))}function br(e,t){return new Ef(I(m({check:"length_equals"},b(t)),{length:e}))}function zo(e,t){return new wf(I(m({check:"string_format",format:"regex"},b(t)),{pattern:e}))}function Uo(e){return new Df(m({check:"string_format",format:"lowercase"},b(e)))}function Vo(e){return new Sf(m({check:"string_format",format:"uppercase"},b(e)))}function Ho(e,t){return new Tf(I(m({check:"string_format",format:"includes"},b(t)),{includes:e}))}function Bo(e,t){return new Nf(I(m({check:"string_format",format:"starts_with"},b(t)),{prefix:e}))}function Zo(e,t){return new kf(I(m({check:"string_format",format:"ends_with"},b(t)),{suffix:e}))}function ym(e,t,n){return new Cf(m({check:"property",property:e,schema:t},b(n)))}function Wo(e,t){return new Mf(m({check:"mime_type",mime:e},b(t)))}function Et(e){return new $f({check:"overwrite",tx:e})}function Go(e){return Et(t=>t.normalize(e))}function qo(){return Et(e=>e.trim())}function Jo(){return Et(e=>e.toLowerCase())}function Qo(){return Et(e=>e.toUpperCase())}function Yo(e,t,n){return new e(m({type:"array",element:t},b(n)))}function KC(e,t,n){return new e(m({type:"union",options:t},b(n)))}function XC(e,t,n,o){return new e(m({type:"union",options:n,discriminator:t},b(o)))}function eM(e,t,n){return new e({type:"intersection",left:t,right:n})}function _m(e,t,n,o){let r=n instanceof $,i=r?o:n,s=r?n:null;return new e(m({type:"tuple",items:t,rest:s},b(i)))}function tM(e,t,n,o){return new e(m({type:"record",keyType:t,valueType:n},b(o)))}function nM(e,t,n,o){return new e(m({type:"map",keyType:t,valueType:n},b(o)))}function rM(e,t,n){return new e(m({type:"set",valueType:t},b(n)))}function oM(e,t,n){let o=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e(m({type:"enum",entries:o},b(n)))}function iM(e,t,n){return new e(m({type:"enum",entries:t},b(n)))}function sM(e,t,n){return new e(m({type:"literal",values:Array.isArray(t)?t:[t]},b(n)))}function bm(e,t){return new e(m({type:"file"},b(t)))}function aM(e,t){return new e({type:"transform",transform:t})}function cM(e,t){return new e({type:"optional",innerType:t})}function uM(e,t){return new e({type:"nullable",innerType:t})}function lM(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():n}})}function dM(e,t,n){return new e(m({type:"nonoptional",innerType:t},b(n)))}function fM(e,t){return new e({type:"success",innerType:t})}function pM(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}function mM(e,t,n){return new e({type:"pipe",in:t,out:n})}function gM(e,t){return new e({type:"readonly",innerType:t})}function hM(e,t,n){return new e(m({type:"template_literal",parts:t},b(n)))}function vM(e,t){return new e({type:"lazy",getter:t})}function yM(e,t){return new e({type:"promise",innerType:t})}function Im(e,t,n){let o=b(n);return o.abort??(o.abort=!0),new e(m({type:"custom",check:"custom",fn:t},o))}function xm(e,t,n){return new e(m({type:"custom",check:"custom",fn:t},b(n)))}function Em(e,t){let n=b(t),o=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(o=o.map(p=>typeof p=="string"?p.toLowerCase():p),r=r.map(p=>typeof p=="string"?p.toLowerCase():p));let i=new Set(o),s=new Set(r),a=e.Pipe??Po,c=e.Boolean??Oo,u=e.String??Dn,l=e.Transform??Ro,d=new l({type:"transform",transform:(p,y)=>{let _=p;return n.case!=="sensitive"&&(_=_.toLowerCase()),i.has(_)?!0:s.has(_)?!1:(y.issues.push({code:"invalid_value",expected:"stringbool",values:[...i,...s],input:y.value,inst:d}),{})},error:n.error}),g=new a({type:"pipe",in:new u({type:"string",error:n.error}),out:d,error:n.error});return new a({type:"pipe",in:g,out:new c({type:"boolean",error:n.error}),error:n.error})}function wm(e,t,n,o={}){let r=b(o),i=m(I(m({},b(o)),{check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:a=>n.test(a)}),r);return n instanceof RegExp&&(i.pattern=n),new e(i)}var Ba=class{constructor(t){this._def=t,this.def=t}implement(t){if(typeof t!="function")throw new Error("implement() must be called with a function");let n=(...o)=>{let r=this._def.input?ca(this._def.input,o,void 0,{callee:n}):o;if(!Array.isArray(r))throw new Error("Invalid arguments schema: not an array or tuple schema.");let i=t(...r);return this._def.output?ca(this._def.output,i,void 0,{callee:n}):i};return n}implementAsync(t){if(typeof t!="function")throw new Error("implement() must be called with a function");let n=async(...o)=>{let r=this._def.input?await la(this._def.input,o,void 0,{callee:n}):o;if(!Array.isArray(r))throw new Error("Invalid arguments schema: not an array or tuple schema.");let i=await t(...r);return this._def.output?la(this._def.output,i,void 0,{callee:n}):i};return n}input(...t){let n=this.constructor;return Array.isArray(t[0])?new n({type:"function",input:new Sn({type:"tuple",items:t[0],rest:t[1]}),output:this._def.output}):new n({type:"function",input:t[0],output:this._def.output})}output(t){let n=this.constructor;return new n({type:"function",input:this._def.input,output:t})}};function Dm(e){return new Ba({type:"function",input:Array.isArray(e?.input)?_m(Sn,e?.input):e?.input??Yo(Ao,vr(gr)),output:e?.output??vr(gr)})}var Ko=class{constructor(t){this.counter=0,this.metadataRegistry=t?.metadata??rt,this.target=t?.target??"draft-2020-12",this.unrepresentable=t?.unrepresentable??"throw",this.override=t?.override??(()=>{}),this.io=t?.io??"output",this.seen=new Map}process(t,n={path:[],schemaPath:[]}){var o;let r=t._zod.def,i={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},s=this.seen.get(t);if(s)return s.count++,n.schemaPath.includes(t)&&(s.cycle=n.path),s.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};this.seen.set(t,a);let c=t._zod.toJSONSchema?.();if(c)a.schema=c;else{let d=I(m({},n),{schemaPath:[...n.schemaPath,t],path:n.path}),g=t._zod.parent;if(g)a.ref=g,this.process(g,d),this.seen.get(g).isParent=!0;else{let f=a.schema;switch(r.type){case"string":{let p=f;p.type="string";let{minimum:y,maximum:_,format:w,patterns:D,contentEncoding:O}=t._zod.bag;if(typeof y=="number"&&(p.minLength=y),typeof _=="number"&&(p.maxLength=_),w&&(p.format=i[w]??w,p.format===""&&delete p.format),O&&(p.contentEncoding=O),D&&D.size>0){let V=[...D];V.length===1?p.pattern=V[0].source:V.length>1&&(a.schema.allOf=[...V.map(Ut=>I(m({},this.target==="draft-7"?{type:"string"}:{}),{pattern:Ut.source}))])}break}case"number":{let p=f,{minimum:y,maximum:_,format:w,multipleOf:D,exclusiveMaximum:O,exclusiveMinimum:V}=t._zod.bag;typeof w=="string"&&w.includes("int")?p.type="integer":p.type="number",typeof V=="number"&&(p.exclusiveMinimum=V),typeof y=="number"&&(p.minimum=y,typeof V=="number"&&(V>=y?delete p.minimum:delete p.exclusiveMinimum)),typeof O=="number"&&(p.exclusiveMaximum=O),typeof _=="number"&&(p.maximum=_,typeof O=="number"&&(O<=_?delete p.maximum:delete p.exclusiveMaximum)),typeof D=="number"&&(p.multipleOf=D);break}case"boolean":{let p=f;p.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{f.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{f.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{let p=f,{minimum:y,maximum:_}=t._zod.bag;typeof y=="number"&&(p.minItems=y),typeof _=="number"&&(p.maxItems=_),p.type="array",p.items=this.process(r.element,I(m({},d),{path:[...d.path,"items"]}));break}case"object":{let p=f;p.type="object",p.properties={};let y=r.shape;for(let D in y)p.properties[D]=this.process(y[D],I(m({},d),{path:[...d.path,"properties",D]}));let _=new Set(Object.keys(y)),w=new Set([..._].filter(D=>{let O=r.shape[D]._zod;return this.io==="input"?O.optin===void 0:O.optout===void 0}));w.size>0&&(p.required=Array.from(w)),r.catchall?._zod.def.type==="never"?p.additionalProperties=!1:r.catchall?r.catchall&&(p.additionalProperties=this.process(r.catchall,I(m({},d),{path:[...d.path,"additionalProperties"]}))):this.io==="output"&&(p.additionalProperties=!1);break}case"union":{let p=f;p.anyOf=r.options.map((y,_)=>this.process(y,I(m({},d),{path:[...d.path,"anyOf",_]})));break}case"intersection":{let p=f,y=this.process(r.left,I(m({},d),{path:[...d.path,"allOf",0]})),_=this.process(r.right,I(m({},d),{path:[...d.path,"allOf",1]})),w=O=>"allOf"in O&&Object.keys(O).length===1,D=[...w(y)?y.allOf:[y],...w(_)?_.allOf:[_]];p.allOf=D;break}case"tuple":{let p=f;p.type="array";let y=r.items.map((D,O)=>this.process(D,I(m({},d),{path:[...d.path,"prefixItems",O]})));if(this.target==="draft-2020-12"?p.prefixItems=y:p.items=y,r.rest){let D=this.process(r.rest,I(m({},d),{path:[...d.path,"items"]}));this.target==="draft-2020-12"?p.items=D:p.additionalItems=D}r.rest&&(p.items=this.process(r.rest,I(m({},d),{path:[...d.path,"items"]})));let{minimum:_,maximum:w}=t._zod.bag;typeof _=="number"&&(p.minItems=_),typeof w=="number"&&(p.maxItems=w);break}case"record":{let p=f;p.type="object",p.propertyNames=this.process(r.keyType,I(m({},d),{path:[...d.path,"propertyNames"]})),p.additionalProperties=this.process(r.valueType,I(m({},d),{path:[...d.path,"additionalProperties"]}));break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{let p=f,y=Eo(r.entries);y.every(_=>typeof _=="number")&&(p.type="number"),y.every(_=>typeof _=="string")&&(p.type="string"),p.enum=y;break}case"literal":{let p=f,y=[];for(let _ of r.values)if(_===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof _=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");y.push(Number(_))}else y.push(_);if(y.length!==0)if(y.length===1){let _=y[0];p.type=_===null?"null":typeof _,p.const=_}else y.every(_=>typeof _=="number")&&(p.type="number"),y.every(_=>typeof _=="string")&&(p.type="string"),y.every(_=>typeof _=="boolean")&&(p.type="string"),y.every(_=>_===null)&&(p.type="null"),p.enum=y;break}case"file":{let p=f,y={type:"string",format:"binary",contentEncoding:"binary"},{minimum:_,maximum:w,mime:D}=t._zod.bag;_!==void 0&&(y.minLength=_),w!==void 0&&(y.maxLength=w),D?D.length===1?(y.contentMediaType=D[0],Object.assign(p,y)):p.anyOf=D.map(O=>I(m({},y),{contentMediaType:O})):Object.assign(p,y);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let p=this.process(r.innerType,d);f.anyOf=[p,{type:"null"}];break}case"nonoptional":{this.process(r.innerType,d),a.ref=r.innerType;break}case"success":{let p=f;p.type="boolean";break}case"default":{this.process(r.innerType,d),a.ref=r.innerType,f.default=JSON.parse(JSON.stringify(r.defaultValue));break}case"prefault":{this.process(r.innerType,d),a.ref=r.innerType,this.io==="input"&&(f._prefault=JSON.parse(JSON.stringify(r.defaultValue)));break}case"catch":{this.process(r.innerType,d),a.ref=r.innerType;let p;try{p=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}f.default=p;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let p=f,y=t._zod.pattern;if(!y)throw new Error("Pattern not found in template literal");p.type="string",p.pattern=y.source;break}case"pipe":{let p=this.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;this.process(p,d),a.ref=p;break}case"readonly":{this.process(r.innerType,d),a.ref=r.innerType,f.readOnly=!0;break}case"promise":{this.process(r.innerType,d),a.ref=r.innerType;break}case"optional":{this.process(r.innerType,d),a.ref=r.innerType;break}case"lazy":{let p=t._zod.innerType;this.process(p,d),a.ref=p;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}default:}}}let u=this.metadataRegistry.get(t);return u&&Object.assign(a.schema,u),this.io==="input"&&ce(t)&&(delete a.schema.examples,delete a.schema.default),this.io==="input"&&a.schema._prefault&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,this.seen.get(t).schema}emit(t,n){let o={cycles:n?.cycles??"ref",reused:n?.reused??"inline",external:n?.external??void 0},r=this.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=l=>{let d=this.target==="draft-2020-12"?"$defs":"definitions";if(o.external){let y=o.external.registry.get(l[0])?.id,_=o.external.uri??(D=>D);if(y)return{ref:_(y)};let w=l[1].defId??l[1].schema.id??`schema${this.counter++}`;return l[1].defId=w,{defId:w,ref:`${_("__shared")}#/${d}/${w}`}}if(l[1]===r)return{ref:"#"};let f=`#/${d}/`,p=l[1].schema.id??`__schema${this.counter++}`;return{defId:p,ref:f+p}},s=l=>{if(l[1].schema.$ref)return;let d=l[1],{ref:g,defId:f}=i(l);d.def=m({},d.schema),f&&(d.defId=f);let p=d.schema;for(let y in p)delete p[y];p.$ref=g};if(o.cycles==="throw")for(let l of this.seen.entries()){let d=l[1];if(d.cycle)throw new Error(`Cycle detected: #/${d.cycle?.join("/")}/<root>
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let l of this.seen.entries()){let d=l[1];if(t===l[0]){s(l);continue}if(o.external){let f=o.external.registry.get(l[0])?.id;if(t!==l[0]&&f){s(l);continue}}if(this.metadataRegistry.get(l[0])?.id){s(l);continue}if(d.cycle){s(l);continue}if(d.count>1&&o.reused==="ref"){s(l);continue}}let a=(l,d)=>{let g=this.seen.get(l),f=g.def??g.schema,p=m({},f);if(g.ref===null)return;let y=g.ref;if(g.ref=null,y){a(y,d);let _=this.seen.get(y).schema;_.$ref&&d.target==="draft-7"?(f.allOf=f.allOf??[],f.allOf.push(_)):(Object.assign(f,_),Object.assign(f,p))}g.isParent||this.override({zodSchema:l,jsonSchema:f,path:g.path??[]})};for(let l of[...this.seen.entries()].reverse())a(l[0],{target:this.target});let c={};if(this.target==="draft-2020-12"?c.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?c.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),o.external?.uri){let l=o.external.registry.get(t)?.id;if(!l)throw new Error("Schema is missing an `id` property");c.$id=o.external.uri(l)}Object.assign(c,r.def);let u=o.external?.defs??{};for(let l of this.seen.entries()){let d=l[1];d.def&&d.defId&&(u[d.defId]=d.def)}o.external||Object.keys(u).length>0&&(this.target==="draft-2020-12"?c.$defs=u:c.definitions=u);try{return JSON.parse(JSON.stringify(c))}catch{throw new Error("Error converting schema to JSON.")}}};function Sm(e,t){if(e instanceof hr){let o=new Ko(t),r={};for(let a of e._idmap.entries()){let[c,u]=a;o.process(u)}let i={},s={registry:e,uri:t?.uri,defs:r};for(let a of e._idmap.entries()){let[c,u]=a;i[c]=o.emit(u,I(m({},t),{external:s}))}if(Object.keys(r).length>0){let a=o.target==="draft-2020-12"?"$defs":"definitions";i.__shared={[a]:r}}return{schemas:i}}let n=new Ko(t);return n.process(e),n.emit(e,t)}function ce(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;switch(r.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return ce(r.element,n);case"object":{for(let i in r.shape)if(ce(r.shape[i],n))return!0;return!1}case"union":{for(let i of r.options)if(ce(i,n))return!0;return!1}case"intersection":return ce(r.left,n)||ce(r.right,n);case"tuple":{for(let i of r.items)if(ce(i,n))return!0;return!!(r.rest&&ce(r.rest,n))}case"record":return ce(r.keyType,n)||ce(r.valueType,n);case"map":return ce(r.keyType,n)||ce(r.valueType,n);case"set":return ce(r.valueType,n);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return ce(r.innerType,n);case"lazy":return ce(r.getter(),n);case"default":return ce(r.innerType,n);case"prefault":return ce(r.innerType,n);case"custom":return!1;case"transform":return!0;case"pipe":return ce(r.in,n)||ce(r.out,n);case"success":return!1;case"catch":return!1;default:}throw new Error(`Unknown schema type: ${r.type}`)}var SI={};var Ja={};Vt(Ja,{ZodISODate:()=>Wa,ZodISODateTime:()=>Za,ZodISODuration:()=>qa,ZodISOTime:()=>Ga,date:()=>Nm,datetime:()=>Tm,duration:()=>Cm,time:()=>km});var Za=h("ZodISODateTime",(e,t)=>{Wf.init(e,t),Q.init(e,t)});function Tm(e){return Vp(Za,e)}var Wa=h("ZodISODate",(e,t)=>{Gf.init(e,t),Q.init(e,t)});function Nm(e){return Hp(Wa,e)}var Ga=h("ZodISOTime",(e,t)=>{qf.init(e,t),Q.init(e,t)});function km(e){return Bp(Ga,e)}var qa=h("ZodISODuration",(e,t)=>{Jf.init(e,t),Q.init(e,t)});function Cm(e){return Zp(qa,e)}var NI=(e,t)=>{ko.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>Mo(e,n)},flatten:{value:n=>Co(e,n)},addIssue:{value:n=>e.issues.push(n)},addIssues:{value:n=>e.issues.push(...n)},isEmpty:{get(){return e.issues.length===0}}})},bM=h("ZodError",NI),Ir=h("ZodError",NI,{Parent:Error});var Mm=aa(Ir),$m=ua(Ir),Om=da(Ir),Am=fa(Ir);var R=h("ZodType",(e,t)=>($.init(e,t),e.def=t,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(I(m({},t),{checks:[...t.checks??[],...n.map(o=>typeof o=="function"?{_zod:{check:o,def:{check:"custom"},onattach:[]}}:o)]})),e.clone=(n,o)=>we(e,n,o),e.brand=()=>e,e.register=(n,o)=>(n.add(e,o),e),e.parse=(n,o)=>Mm(e,n,o,{callee:e.parse}),e.safeParse=(n,o)=>Om(e,n,o),e.parseAsync=async(n,o)=>$m(e,n,o,{callee:e.parseAsync}),e.safeParseAsync=async(n,o)=>Am(e,n,o),e.spa=e.safeParseAsync,e.refine=(n,o)=>e.check(gx(n,o)),e.superRefine=n=>e.check(hx(n)),e.overwrite=n=>e.check(Et(n)),e.optional=()=>Ka(e),e.nullable=()=>Xa(e),e.nullish=()=>Ka(Xa(e)),e.nonoptional=n=>rx(e,n),e.array=()=>ng(e),e.or=n=>oc([e,n]),e.and=n=>HI(e,n),e.transform=n=>ec(e,sg(n)),e.default=n=>ex(e,n),e.prefault=n=>nx(e,n),e.catch=n=>sx(e,n),e.pipe=n=>ec(e,n),e.readonly=()=>ux(e),e.describe=n=>{let o=e.clone();return rt.add(o,{description:n}),o},Object.defineProperty(e,"description",{get(){return rt.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return rt.get(e);let o=e.clone();return rt.add(o,n[0]),o},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),jm=h("_ZodString",(e,t)=>{Dn.init(e,t),R.init(e,t);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...o)=>e.check(zo(...o)),e.includes=(...o)=>e.check(Ho(...o)),e.startsWith=(...o)=>e.check(Bo(...o)),e.endsWith=(...o)=>e.check(Zo(...o)),e.min=(...o)=>e.check(zt(...o)),e.max=(...o)=>e.check(_r(...o)),e.length=(...o)=>e.check(br(...o)),e.nonempty=(...o)=>e.check(zt(1,...o)),e.lowercase=o=>e.check(Uo(o)),e.uppercase=o=>e.check(Vo(o)),e.trim=()=>e.check(qo()),e.normalize=(...o)=>e.check(Go(...o)),e.toLowerCase=()=>e.check(Jo()),e.toUpperCase=()=>e.check(Qo())}),ei=h("ZodString",(e,t)=>{Dn.init(e,t),jm.init(e,t),e.email=n=>e.check(Ea(Lm,n)),e.url=n=>e.check(Na(Fm,n)),e.jwt=n=>e.check(Ha(eg,n)),e.emoji=n=>e.check(ka(zm,n)),e.guid=n=>e.check(Lo(Qa,n)),e.uuid=n=>e.check(wa(Dt,n)),e.uuidv4=n=>e.check(Da(Dt,n)),e.uuidv6=n=>e.check(Sa(Dt,n)),e.uuidv7=n=>e.check(Ta(Dt,n)),e.nanoid=n=>e.check(Ca(Um,n)),e.guid=n=>e.check(Lo(Qa,n)),e.cuid=n=>e.check(Ma(Vm,n)),e.cuid2=n=>e.check($a(Hm,n)),e.ulid=n=>e.check(Oa(Bm,n)),e.base64=n=>e.check(za(Ym,n)),e.base64url=n=>e.check(Ua(Km,n)),e.xid=n=>e.check(Aa(Zm,n)),e.ksuid=n=>e.check(Ra(Wm,n)),e.ipv4=n=>e.check(Pa(Gm,n)),e.ipv6=n=>e.check(ja(qm,n)),e.cidrv4=n=>e.check(La(Jm,n)),e.cidrv6=n=>e.check(Fa(Qm,n)),e.e164=n=>e.check(Va(Xm,n)),e.datetime=n=>e.check(Tm(n)),e.date=n=>e.check(Nm(n)),e.time=n=>e.check(km(n)),e.duration=n=>e.check(Cm(n))});function Rm(e){return Fp(ei,e)}var Q=h("ZodStringFormat",(e,t)=>{J.init(e,t),jm.init(e,t)}),Lm=h("ZodEmail",(e,t)=>{jf.init(e,t),Q.init(e,t)});function xM(e){return Ea(Lm,e)}var Qa=h("ZodGUID",(e,t)=>{Rf.init(e,t),Q.init(e,t)});function EM(e){return Lo(Qa,e)}var Dt=h("ZodUUID",(e,t)=>{Pf.init(e,t),Q.init(e,t)});function wM(e){return wa(Dt,e)}function DM(e){return Da(Dt,e)}function SM(e){return Sa(Dt,e)}function TM(e){return Ta(Dt,e)}var Fm=h("ZodURL",(e,t)=>{Lf.init(e,t),Q.init(e,t)});function NM(e){return Na(Fm,e)}var zm=h("ZodEmoji",(e,t)=>{Ff.init(e,t),Q.init(e,t)});function kM(e){return ka(zm,e)}var Um=h("ZodNanoID",(e,t)=>{zf.init(e,t),Q.init(e,t)});function CM(e){return Ca(Um,e)}var Vm=h("ZodCUID",(e,t)=>{Uf.init(e,t),Q.init(e,t)});function MM(e){return Ma(Vm,e)}var Hm=h("ZodCUID2",(e,t)=>{Vf.init(e,t),Q.init(e,t)});function $M(e){return $a(Hm,e)}var Bm=h("ZodULID",(e,t)=>{Hf.init(e,t),Q.init(e,t)});function OM(e){return Oa(Bm,e)}var Zm=h("ZodXID",(e,t)=>{Bf.init(e,t),Q.init(e,t)});function AM(e){return Aa(Zm,e)}var Wm=h("ZodKSUID",(e,t)=>{Zf.init(e,t),Q.init(e,t)});function RM(e){return Ra(Wm,e)}var Gm=h("ZodIPv4",(e,t)=>{Qf.init(e,t),Q.init(e,t)});function PM(e){return Pa(Gm,e)}var qm=h("ZodIPv6",(e,t)=>{Yf.init(e,t),Q.init(e,t)});function jM(e){return ja(qm,e)}var Jm=h("ZodCIDRv4",(e,t)=>{Kf.init(e,t),Q.init(e,t)});function LM(e){return La(Jm,e)}var Qm=h("ZodCIDRv6",(e,t)=>{Xf.init(e,t),Q.init(e,t)});function FM(e){return Fa(Qm,e)}var Ym=h("ZodBase64",(e,t)=>{tp.init(e,t),Q.init(e,t)});function zM(e){return za(Ym,e)}var Km=h("ZodBase64URL",(e,t)=>{np.init(e,t),Q.init(e,t)});function UM(e){return Ua(Km,e)}var Xm=h("ZodE164",(e,t)=>{rp.init(e,t),Q.init(e,t)});function VM(e){return Va(Xm,e)}var eg=h("ZodJWT",(e,t)=>{op.init(e,t),Q.init(e,t)});function HM(e){return Ha(eg,e)}var kI=h("ZodCustomStringFormat",(e,t)=>{ip.init(e,t),Q.init(e,t)});function BM(e,t,n={}){return wm(kI,e,t,n)}var ti=h("ZodNumber",(e,t)=>{ya.init(e,t),R.init(e,t),e.gt=(o,r)=>e.check(xt(o,r)),e.gte=(o,r)=>e.check(ve(o,r)),e.min=(o,r)=>e.check(ve(o,r)),e.lt=(o,r)=>e.check(It(o,r)),e.lte=(o,r)=>e.check(Me(o,r)),e.max=(o,r)=>e.check(Me(o,r)),e.int=o=>e.check(Pm(o)),e.safe=o=>e.check(Pm(o)),e.positive=o=>e.check(xt(0,o)),e.nonnegative=o=>e.check(ve(0,o)),e.negative=o=>e.check(It(0,o)),e.nonpositive=o=>e.check(Me(0,o)),e.multipleOf=(o,r)=>e.check(Tn(o,r)),e.step=(o,r)=>e.check(Tn(o,r)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function CI(e){return Wp(ti,e)}var xr=h("ZodNumberFormat",(e,t)=>{sp.init(e,t),ti.init(e,t)});function Pm(e){return qp(xr,e)}function ZM(e){return Jp(xr,e)}function WM(e){return Qp(xr,e)}function GM(e){return Yp(xr,e)}function qM(e){return Kp(xr,e)}var ni=h("ZodBoolean",(e,t)=>{Oo.init(e,t),R.init(e,t)});function MI(e){return Xp(ni,e)}var ri=h("ZodBigInt",(e,t)=>{_a.init(e,t),R.init(e,t),e.gte=(o,r)=>e.check(ve(o,r)),e.min=(o,r)=>e.check(ve(o,r)),e.gt=(o,r)=>e.check(xt(o,r)),e.gte=(o,r)=>e.check(ve(o,r)),e.min=(o,r)=>e.check(ve(o,r)),e.lt=(o,r)=>e.check(It(o,r)),e.lte=(o,r)=>e.check(Me(o,r)),e.max=(o,r)=>e.check(Me(o,r)),e.positive=o=>e.check(xt(BigInt(0),o)),e.negative=o=>e.check(It(BigInt(0),o)),e.nonpositive=o=>e.check(Me(BigInt(0),o)),e.nonnegative=o=>e.check(ve(BigInt(0),o)),e.multipleOf=(o,r)=>e.check(Tn(o,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function JM(e){return tm(ri,e)}var tg=h("ZodBigIntFormat",(e,t)=>{ap.init(e,t),ri.init(e,t)});function QM(e){return rm(tg,e)}function YM(e){return om(tg,e)}var $I=h("ZodSymbol",(e,t)=>{cp.init(e,t),R.init(e,t)});function KM(e){return im($I,e)}var OI=h("ZodUndefined",(e,t)=>{up.init(e,t),R.init(e,t)});function XM(e){return sm(OI,e)}var AI=h("ZodNull",(e,t)=>{lp.init(e,t),R.init(e,t)});function RI(e){return am(AI,e)}var PI=h("ZodAny",(e,t)=>{dp.init(e,t),R.init(e,t)});function e$(){return cm(PI)}var jI=h("ZodUnknown",(e,t)=>{gr.init(e,t),R.init(e,t)});function Ya(){return vr(jI)}var LI=h("ZodNever",(e,t)=>{fp.init(e,t),R.init(e,t)});function tc(e){return um(LI,e)}var FI=h("ZodVoid",(e,t)=>{pp.init(e,t),R.init(e,t)});function t$(e){return lm(FI,e)}var nc=h("ZodDate",(e,t)=>{mp.init(e,t),R.init(e,t),e.min=(o,r)=>e.check(ve(o,r)),e.max=(o,r)=>e.check(Me(o,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function n$(e){return dm(nc,e)}var zI=h("ZodArray",(e,t)=>{Ao.init(e,t),R.init(e,t),e.element=t.element,e.min=(n,o)=>e.check(zt(n,o)),e.nonempty=n=>e.check(zt(1,n)),e.max=(n,o)=>e.check(_r(n,o)),e.length=(n,o)=>e.check(br(n,o)),e.unwrap=()=>e.element});function ng(e,t){return Yo(zI,e,t)}function r$(e){let t=e._zod.def.shape;return QI(Object.keys(t))}var rc=h("ZodObject",(e,t)=>{gp.init(e,t),R.init(e,t),E.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>qI(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone(I(m({},e._zod.def),{catchall:n})),e.passthrough=()=>e.clone(I(m({},e._zod.def),{catchall:Ya()})),e.loose=()=>e.clone(I(m({},e._zod.def),{catchall:Ya()})),e.strict=()=>e.clone(I(m({},e._zod.def),{catchall:tc()})),e.strip=()=>e.clone(I(m({},e._zod.def),{catchall:void 0})),e.extend=n=>E.extend(e,n),e.merge=n=>E.merge(e,n),e.pick=n=>E.pick(e,n),e.omit=n=>E.omit(e,n),e.partial=(...n)=>E.partial(ag,e,n[0]),e.required=(...n)=>E.required(cg,e,n[0])});function o$(e,t){let n=m({type:"object",get shape(){return E.assignProp(this,"shape",m({},e)),this.shape}},E.normalizeParams(t));return new rc(n)}function i$(e,t){return new rc(m({type:"object",get shape(){return E.assignProp(this,"shape",m({},e)),this.shape},catchall:tc()},E.normalizeParams(t)))}function s$(e,t){return new rc(m({type:"object",get shape(){return E.assignProp(this,"shape",m({},e)),this.shape},catchall:Ya()},E.normalizeParams(t)))}var rg=h("ZodUnion",(e,t)=>{ba.init(e,t),R.init(e,t),e.options=t.options});function oc(e,t){return new rg(m({type:"union",options:e},E.normalizeParams(t)))}var UI=h("ZodDiscriminatedUnion",(e,t)=>{rg.init(e,t),hp.init(e,t)});function a$(e,t,n){return new UI(m({type:"union",options:t,discriminator:e},E.normalizeParams(n)))}var VI=h("ZodIntersection",(e,t)=>{vp.init(e,t),R.init(e,t)});function HI(e,t){return new VI({type:"intersection",left:e,right:t})}var BI=h("ZodTuple",(e,t)=>{Sn.init(e,t),R.init(e,t),e.rest=n=>e.clone(I(m({},e._zod.def),{rest:n}))});function c$(e,t,n){let o=t instanceof $,r=o?n:t,i=o?t:null;return new BI(m({type:"tuple",items:e,rest:i},E.normalizeParams(r)))}var og=h("ZodRecord",(e,t)=>{yp.init(e,t),R.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function ZI(e,t,n){return new og(m({type:"record",keyType:e,valueType:t},E.normalizeParams(n)))}function u$(e,t,n){return new og(m({type:"record",keyType:oc([e,tc()]),valueType:t},E.normalizeParams(n)))}var WI=h("ZodMap",(e,t)=>{_p.init(e,t),R.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function l$(e,t,n){return new WI(m({type:"map",keyType:e,valueType:t},E.normalizeParams(n)))}var GI=h("ZodSet",(e,t)=>{bp.init(e,t),R.init(e,t),e.min=(...n)=>e.check(Nn(...n)),e.nonempty=n=>e.check(Nn(1,n)),e.max=(...n)=>e.check(yr(...n)),e.size=(...n)=>e.check(Fo(...n))});function d$(e,t){return new GI(m({type:"set",valueType:e},E.normalizeParams(t)))}var Xo=h("ZodEnum",(e,t)=>{Ip.init(e,t),R.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(o,r)=>{let i={};for(let s of o)if(n.has(s))i[s]=t.entries[s];else throw new Error(`Key ${s} not found in enum`);return new Xo(I(m(I(m({},t),{checks:[]}),E.normalizeParams(r)),{entries:i}))},e.exclude=(o,r)=>{let i=m({},t.entries);for(let s of o)if(n.has(s))delete i[s];else throw new Error(`Key ${s} not found in enum`);return new Xo(I(m(I(m({},t),{checks:[]}),E.normalizeParams(r)),{entries:i}))}});function qI(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Xo(m({type:"enum",entries:n},E.normalizeParams(t)))}function f$(e,t){return new Xo(m({type:"enum",entries:e},E.normalizeParams(t)))}var JI=h("ZodLiteral",(e,t)=>{xp.init(e,t),R.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function QI(e,t){return new JI(m({type:"literal",values:Array.isArray(e)?e:[e]},E.normalizeParams(t)))}var YI=h("ZodFile",(e,t)=>{Ep.init(e,t),R.init(e,t),e.min=(n,o)=>e.check(Nn(n,o)),e.max=(n,o)=>e.check(yr(n,o)),e.mime=(n,o)=>e.check(Wo(Array.isArray(n)?n:[n],o))});function p$(e){return bm(YI,e)}var ig=h("ZodTransform",(e,t)=>{Ro.init(e,t),R.init(e,t),e._zod.parse=(n,o)=>{n.addIssue=i=>{if(typeof i=="string")n.issues.push(E.issue(i,n.value,t));else{let s=i;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=n.value),s.inst??(s.inst=e),s.continue??(s.continue=!0),n.issues.push(E.issue(s))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(i=>(n.value=i,n)):(n.value=r,n)}});function sg(e){return new ig({type:"transform",transform:e})}var ag=h("ZodOptional",(e,t)=>{wp.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Ka(e){return new ag({type:"optional",innerType:e})}var KI=h("ZodNullable",(e,t)=>{Dp.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Xa(e){return new KI({type:"nullable",innerType:e})}function m$(e){return Ka(Xa(e))}var XI=h("ZodDefault",(e,t)=>{Sp.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ex(e,t){return new XI({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var tx=h("ZodPrefault",(e,t)=>{Tp.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType});function nx(e,t){return new tx({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var cg=h("ZodNonOptional",(e,t)=>{Np.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType});function rx(e,t){return new cg(m({type:"nonoptional",innerType:e},E.normalizeParams(t)))}var ox=h("ZodSuccess",(e,t)=>{kp.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType});function g$(e){return new ox({type:"success",innerType:e})}var ix=h("ZodCatch",(e,t)=>{Cp.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function sx(e,t){return new ix({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var ax=h("ZodNaN",(e,t)=>{Mp.init(e,t),R.init(e,t)});function h$(e){return pm(ax,e)}var ug=h("ZodPipe",(e,t)=>{Po.init(e,t),R.init(e,t),e.in=t.in,e.out=t.out});function ec(e,t){return new ug({type:"pipe",in:e,out:t})}var cx=h("ZodReadonly",(e,t)=>{$p.init(e,t),R.init(e,t)});function ux(e){return new cx({type:"readonly",innerType:e})}var lx=h("ZodTemplateLiteral",(e,t)=>{Op.init(e,t),R.init(e,t)});function v$(e,t){return new lx(m({type:"template_literal",parts:e},E.normalizeParams(t)))}var dx=h("ZodLazy",(e,t)=>{Rp.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.getter()});function fx(e){return new dx({type:"lazy",getter:e})}var px=h("ZodPromise",(e,t)=>{Ap.init(e,t),R.init(e,t),e.unwrap=()=>e._zod.def.innerType});function y$(e){return new px({type:"promise",innerType:e})}var ic=h("ZodCustom",(e,t)=>{Pp.init(e,t),R.init(e,t)});function mx(e){let t=new X({check:"custom"});return t._zod.check=e,t}function _$(e,t){return Im(ic,e??(()=>!0),t)}function gx(e,t={}){return xm(ic,e,t)}function hx(e){let t=mx(n=>(n.addIssue=o=>{if(typeof o=="string")n.issues.push(E.issue(o,n.value,t._zod.def));else{let r=o;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(E.issue(r))}},e(n.value,n)));return t}function b$(e,t={error:`Input not instance of ${e.name}`}){let n=new ic(m({type:"custom",check:"custom",fn:o=>o instanceof e,abort:!0},E.normalizeParams(t)));return n._zod.bag.Class=e,n}var I$=(...e)=>Em({Pipe:ug,Boolean:ni,String:ei,Transform:ig},...e);function x$(e){let t=fx(()=>oc([Rm(e),CI(),MI(),RI(),ng(t),ZI(Rm(),t)]));return t}function E$(e,t){return ec(sg(e),t)}var w$={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function D$(e){ie({customError:e})}function S$(){return ie().customError}var lg={};Vt(lg,{bigint:()=>C$,boolean:()=>k$,date:()=>M$,number:()=>N$,string:()=>T$});function T$(e){return zp(ei,e)}function N$(e){return Gp(ti,e)}function k$(e){return em(ni,e)}function C$(e){return nm(ri,e)}function M$(e){return fm(nc,e)}ie(Ia());var i2=re;var $$=re.object({draggable:re.boolean().optional(),field:re.custom(),format:re.enum(["number","percentage","milliseconds","datetime","duration","bytes","bytesPerSec"]).optional(),group:re.enum(["basic","latency","request","network","configuration","metadata","performance"]),key:re.string(),label:re.string(),order:re.number(),sortable:re.boolean().optional(),visible:re.boolean(),width:re.number().optional()}),dg=re.object({columnPreferences:re.array($$).nullable(),lastRoute:re.string().nullable(),lastSelectedConfig:re.custom(),pwaPromptDismissed:re.boolean().optional(),selectedTheme:re.custom()});var d2={avgRps:"Average requests per second throughout the test",cpuUsage:"Average system CPU utilization during the test (Warning: >70%, Critical: >85%)",duration:"Total duration of the test from start to completion",endpoints:"Number of unique endpoints tested",errorRate:"Percentage of requests that failed (non-2xx or network errors)",maxLatency:"Maximum response time observed during the test (slowest)",maxThroughput:"Theoretical maximum RPS based on average latency",memoryUsage:"Average process memory consumption during the test (Warning: >500MB, Critical: >1GB)",minLatency:"Minimum response time observed during the test",networkReceived:"Total bytes received in response bodies across all requests",networkSent:"Total bytes sent in request bodies across all requests",networkThroughput:"Average data transfer rate during the test",p50Latency:"Median response time - 50% of requests were faster than this",p95Latency:"95th percentile - 95% of requests were faster than this (slow)",p99Latency:"99th percentile - 99% of requests were faster than this (slower)",peakRps:"Highest instantaneous requests per second achieved during steady-state",targetAchieved:"Percentage of target RPS that was actually achieved",totalRequests:"Total number of requests made during the test"};var sc=class e{info(t,...n){n&&n.length>0?console.log(t,n):console.log(t)}warn(t,...n){n&&n.length>0?console.warn(t,n):console.warn(t)}error(t,...n){n&&n.length>0?console.error(t,n):console.error(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})};var vx=[{draggable:!1,field:"select",group:"basic",key:"select",label:"Select",order:0,visible:!0,width:50},{draggable:!1,field:"test.status",group:"basic",key:"status",label:"Status",order:1,sortable:!0,visible:!0,width:100},{draggable:!0,field:"summary.global.epochStartedAt",format:"datetime",group:"basic",key:"startTime",label:"Start Time",order:2,sortable:!0,visible:!0,width:180},{draggable:!0,field:"summary.global.epochEndedAt",format:"datetime",group:"basic",key:"endTime",label:"End Time",order:3,sortable:!0,visible:!1,width:180},{draggable:!0,field:"test.duration",format:"duration",group:"basic",key:"duration",label:"Duration",order:4,sortable:!0,visible:!0,width:120},{draggable:!0,field:"summary.tressiVersion",group:"basic",key:"tressiVersion",label:"Version",order:13,sortable:!0,visible:!1,width:100},{draggable:!0,field:"summary.global.totalRequests",format:"number",group:"request",key:"totalRequests",label:"Total",order:5,sortable:!0,visible:!0,width:100},{draggable:!0,field:"summary.global.successfulRequests",format:"number",group:"request",key:"successfulRequests",label:"Successful",order:6,sortable:!0,visible:!1,width:100},{draggable:!0,field:"summary.global.failedRequests",format:"number",group:"request",key:"failedRequests",label:"Failed",order:7,sortable:!0,visible:!1,width:100},{draggable:!0,field:"summary.global.minLatencyMs",format:"milliseconds",group:"latency",key:"minLatencyMs",label:"Min Latency",order:8,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.global.p50LatencyMs",format:"milliseconds",group:"latency",key:"p50LatencyMs",label:"P50 Latency",order:9,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.global.p95LatencyMs",format:"milliseconds",group:"latency",key:"p95LatencyMs",label:"P95 Latency",order:10,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.global.p99LatencyMs",format:"milliseconds",group:"latency",key:"p99LatencyMs",label:"P99 Latency",order:11,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.global.maxLatencyMs",format:"milliseconds",group:"latency",key:"maxLatencyMs",label:"Max Latency",order:12,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.global.networkBytesSent",format:"bytes",group:"network",key:"networkBytesSent",label:"Bytes Sent",order:14,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.global.networkBytesReceived",format:"bytes",group:"network",key:"networkBytesReceived",label:"Bytes Received",order:15,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.global.networkBytesPerSec",format:"bytesPerSec",group:"network",key:"networkThroughput",label:"Network Throughput",order:16,sortable:!0,visible:!1,width:140},{draggable:!0,field:"summary.global.errorRate",format:"percentage",group:"performance",key:"errorRate",label:"Error Rate",order:17,sortable:!0,visible:!0,width:100},{draggable:!0,field:"summary.global.averageRequestsPerSecond",format:"number",group:"performance",key:"avgRps",label:"Avg RPS",order:18,sortable:!0,visible:!1,width:100},{draggable:!0,field:"summary.global.peakRequestsPerSecond",format:"number",group:"performance",key:"peakRps",label:"Peak RPS",order:19,sortable:!0,visible:!1,width:100},{draggable:!0,field:"summary.global.finalDurationSec",format:"duration",group:"performance",key:"finalDurationSec",label:"Duration",order:20,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.configSnapshot.options.durationSec",format:"duration",group:"configuration",key:"configDuration",label:"Config Duration",order:25,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.configSnapshot.options.threads",format:"number",group:"configuration",key:"workerThreads",label:"Worker Threads",order:26,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.configSnapshot.options.workerMemoryLimit",format:"bytes",group:"configuration",key:"workerMemoryLimit",label:"Memory Limit",order:27,sortable:!0,visible:!1,width:120},{draggable:!0,field:"summary.configSnapshot.options.rampUpDurationSec",format:"duration",group:"configuration",key:"globalRampUp",label:"Ramp Up",order:29,sortable:!0,visible:!1,width:120}];var yx=class e{preferences=Ue(()=>this._preferences());_logService=C(sc);_storageKey="tressi-user-preferences";_defaultPreferences=Ue(()=>{let t=globalThis.matchMedia("(prefers-color-scheme: dark)").matches;return{columnPreferences:vx,lastRoute:null,lastSelectedConfig:null,pwaPromptDismissed:!1,selectedTheme:t?"storm":"shine"}});_preferences=Xe(this._defaultPreferences());constructor(){this._loadPreferences()}savePreferences(t){let n=dg.parse(t);localStorage.setItem(this._storageKey,JSON.stringify(n)),this._preferences.set(n)}saveLastRoute(t){let n=this._preferences();this.savePreferences(I(m({},n),{lastRoute:t}))}dismissPwaPrompt(){let t=this._preferences();this.savePreferences(I(m({},t),{pwaPromptDismissed:!0}))}_loadPreferences(){try{let t=localStorage.getItem(this._storageKey);if(!t){this._resetPreferences();return}let n=JSON.parse(t),o=dg.safeParse(n);if(!o.success){this._logService.error("Invalid user preferences in localStorage: resetting...",o.error),this._resetPreferences();return}this._preferences.set(o.data)}catch(t){this._logService.error("Failed to load user preferences: resetting...",t),this._resetPreferences()}}_resetPreferences(){localStorage.getItem(this._storageKey)&&localStorage.removeItem(this._storageKey),this.savePreferences(this._defaultPreferences())}static \u0275fac=function(n){return new(n||e)};static \u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})};export{K as a,se as b,xx as c,P as d,_e as e,Er as f,Ox as g,qt as h,He as i,Ax as j,Rx as k,Px as l,Tr as m,Be as n,Bx as o,it as p,Nr as q,ki as r,Wx as s,Gx as t,gc as u,kr as v,eE as w,tE as x,nE as y,Ci as z,rE as A,Ug as B,oE as C,hc as D,iE as E,sE as F,uE as G,lE as H,dE as I,fE as J,pE as K,mE as L,Sg as M,gE as N,L as O,zr as P,Hi as Q,te as R,ah as S,DE as T,W as U,qe as V,C as W,Wn as X,tu as Y,Se as Z,Yi as _,$h as $,Oh as aa,be as ba,us as ca,je as da,mn as ea,lt as fa,Je as ga,ft as ha,Pt as ia,ew as ja,Xe as ka,ls as la,Cu as ma,gw as na,Ow as oa,Gv as pa,uo as qa,Uw as ra,Vw as sa,ey as ta,Bw as ua,Zw as va,Ww as wa,yn as xa,lo as ya,Dl as za,Kw as Aa,Xw as Ba,eD as Ca,tD as Da,nD as Ea,Sl as Fa,yD as Ga,Zs as Ha,vy as Ia,$D as Ja,qD as Ka,Ts as La,Xr as Ma,bn as Na,tt as Oa,KD as Pa,XD as Qa,ro as Ra,oo as Sa,YS as Ta,vo as Ua,XS as Va,pT as Wa,gT as Xa,ea as Ya,g_ as Za,h_ as _a,HT as $a,ZT as ab,qT as bb,JT as cb,YT as db,b_ as eb,tN as fb,Xl as gb,nN as hb,w_ as ib,ta as jb,T_ as kb,iN as lb,sN as mb,aN as nb,cN as ob,uN as pb,lN as qb,N_ as rb,Fs as sb,rd as tb,k_ as ub,od as vb,id as wb,C_ as xb,$_ as yb,hN as zb,O_ as Ab,R_ as Bb,P_ as Cb,yN as Db,bN as Eb,IN as Fb,L_ as Gb,EN as Hb,wN as Ib,F_ as Jb,z_ as Kb,DN as Lb,SN as Mb,H_ as Nb,B_ as Ob,jN as Pb,qN as Qb,Q_ as Rb,cd as Sb,Y_ as Tb,KN as Ub,K_ as Vb,nk as Wb,rk as Xb,ok as Yb,ik as Zb,sk as _b,ak as $b,uk as ac,lk as bc,dk as cc,fk as dc,ze as ec,Ue as fc,dd as gc,gk as hc,cb as ic,d6 as jc,f6 as kc,p6 as lc,m6 as mc,g6 as nc,h6 as oc,y6 as pc,Ok as qc,_6 as rc,b6 as sc,I6 as tc,x6 as uc,E6 as vc,w6 as wc,k6 as xc,C6 as yc,M6 as zc,$6 as Ac,A6 as Bc,i2 as Cc,d2 as Dc,P6 as Ec,vx as Fc,sc as Gc,yx as Hc};