---
title: Rule Builder
slug: rule-builder
docTags: 
createdAt: 2026-04-16T15:04:15.772Z
---

:::Iframe{iframeHeight="0" code="<!doctype html>&#xA;<html lang=&#x22;en&#x22;>&#xA;  <head>&#xA;    <meta charset=&#x22;UTF-8&#x22; />&#xA;    <link rel=&#x22;icon&#x22; type=&#x22;image/svg+xml&#x22; href=&#x22;./favicon.svg&#x22; />&#xA;    <meta name=&#x22;viewport&#x22; content=&#x22;width=device-width, initial-scale=1.0&#x22; />&#xA;    <title>rule-builder</title>&#xA;    <script type=&#x22;module&#x22; crossorigin>var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel=&#x22;modulepreload&#x22;]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function f(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var p={},m=[],h=()=>{},g=()=>!1,_=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),v=e=>e.startsWith(`onUpdate:`),y=Object.assign,b=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},x=Object.prototype.hasOwnProperty,S=(e,t)=>x.call(e,t),C=Array.isArray,ee=e=>le(e)===`[object Map]`,te=e=>le(e)===`[object Set]`,ne=e=>le(e)===`[object Date]`,re=e=>typeof e==`function`,ie=e=>typeof e==`string`,ae=e=>typeof e==`symbol`,oe=e=>typeof e==`object`&&!!e,se=e=>(oe(e)||re(e))&&re(e.then)&&re(e.catch),ce=Object.prototype.toString,le=e=>ce.call(e),ue=e=>le(e).slice(8,-1),de=e=>le(e)===`[object Object]`,fe=e=>ie(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,pe=f(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),me=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},he=/-\w/g,ge=me(e=>e.replace(he,e=>e.slice(1).toUpperCase())),_e=/\B([A-Z])/g,ve=me(e=>e.replace(_e,`-$1`).toLowerCase()),ye=me(e=>e.charAt(0).toUpperCase()+e.slice(1)),be=me(e=>e?`on${ye(e)}`:``),xe=(e,t)=>!Object.is(e,t),Se=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ce=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},we=e=>{let t=parseFloat(e);return isNaN(t)?e:t},Te,Ee=()=>Te||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function De(e){if(C(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=ie(r)?je(r):De(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(ie(e)||oe(e))return e}var Oe=/;(?![^(]*\))/g,ke=/:([^]+)/,Ae=/\/\*[^]*?\*\//g;function je(e){let t={};return e.replace(Ae,``).split(Oe).forEach(e=>{if(e){let n=e.split(ke);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Me(e){let t=``;if(ie(e))t=e;else if(C(e))for(let n=0;n<e.length;n++){let r=Me(e[n]);r&&(t+=r+` `)}else if(oe(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var Ne=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Pe=f(Ne);Ne+``;function Fe(e){return!!e||e===``}function Ie(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Le(e[r],t[r]);return n}function Le(e,t){if(e===t)return!0;let n=ne(e),r=ne(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ae(e),r=ae(t),n||r)return e===t;if(n=C(e),r=C(t),n||r)return n&&r?Ie(e,t):!1;if(n=oe(e),r=oe(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!Le(e[n],t[n]))return!1}}return String(e)===String(t)}function Re(e,t){return e.findIndex(e=>Le(e,t))}var ze=e=>!!(e&&e.__v_isRef===!0),Be=e=>ie(e)?e:e==null?``:C(e)||oe(e)&&(e.toString===ce||!re(e.toString))?ze(e)?Be(e.value):JSON.stringify(e,Ve,2):String(e),Ve=(e,t)=>ze(t)?Ve(e,t.value):ee(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[He(t,r)+` =>`]=n,e),{})}:te(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>He(e))}:ae(t)?He(t):oe(t)&&!C(t)&&!de(t)?String(t):t,He=(e,t=``)=>ae(e)?`Symbol(${e.description??t})`:e,Ue,We=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ue,!e&&Ue&&(this.index=(Ue.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=Ue;try{return Ue=this,e()}finally{Ue=t}}}on(){++this._on===1&&(this.prevScope=Ue,Ue=this)}off(){this._on>0&&--this._on===0&&(Ue=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Ge(){return Ue}var Ke,qe=new WeakSet,Je=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ue&&Ue.active&&Ue.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qe.has(this)&&(qe.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Qe(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,dt(this),tt(this);let e=Ke,t=st;Ke=this,st=!0;try{return this.fn()}finally{nt(this),Ke=e,st=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)at(e);this.deps=this.depsTail=void 0,dt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){rt(this)&&this.run()}get dirty(){return rt(this)}},Ye=0,Xe,Ze;function Qe(e,t=!1){if(e.flags|=8,t){e.next=Ze,Ze=e;return}e.next=Xe,Xe=e}function $e(){Ye++}function et(){if(--Ye>0)return;if(Ze){let e=Ze;for(Ze=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Xe;){let t=Xe;for(Xe=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function tt(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function nt(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),at(r),ot(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function rt(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(it(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function it(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ft)||(e.globalVersion=ft,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!rt(e))))return;e.flags|=2;let t=e.dep,n=Ke,r=st;Ke=e,st=!0;try{tt(e);let n=e.fn(e._value);(t.version===0||xe(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{Ke=n,st=r,nt(e),e.flags&=-3}}function at(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)at(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ot(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var st=!0,ct=[];function lt(){ct.push(st),st=!1}function ut(){let e=ct.pop();st=e===void 0?!0:e}function dt(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=Ke;Ke=void 0;try{t()}finally{Ke=e}}}var ft=0,pt=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},mt=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Ke||!st||Ke===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Ke)t=this.activeLink=new pt(Ke,this),Ke.deps?(t.prevDep=Ke.depsTail,Ke.depsTail.nextDep=t,Ke.depsTail=t):Ke.deps=Ke.depsTail=t,ht(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Ke.depsTail,t.nextDep=void 0,Ke.depsTail.nextDep=t,Ke.depsTail=t,Ke.deps===t&&(Ke.deps=e)}return t}trigger(e){this.version++,ft++,this.notify(e)}notify(e){$e();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{et()}}};function ht(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ht(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var gt=new WeakMap,_t=Symbol(``),vt=Symbol(``),yt=Symbol(``);function bt(e,t,n){if(st&&Ke){let t=gt.get(e);t||gt.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new mt),r.map=t,r.key=n),r.track()}}function xt(e,t,n,r,i,a){let o=gt.get(e);if(!o){ft++;return}let s=e=>{e&&e.trigger()};if($e(),t===`clear`)o.forEach(s);else{let i=C(e),a=i&&fe(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===yt||!ae(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(yt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(_t)),ee(e)&&s(o.get(vt)));break;case`delete`:i||(s(o.get(_t)),ee(e)&&s(o.get(vt)));break;case`set`:ee(e)&&s(o.get(_t));break}}et()}function St(e){let t=dn(e);return t===e?t:(bt(t,`iterate`,yt),ln(e)?t:t.map(pn))}function Ct(e){return bt(e=dn(e),`iterate`,yt),e}function wt(e,t){return cn(e)?mn(sn(e)?pn(t):t):pn(t)}var Tt={__proto__:null,[Symbol.iterator](){return Et(this,Symbol.iterator,e=>wt(this,e))},concat(...e){return St(this).concat(...e.map(e=>C(e)?St(e):e))},entries(){return Et(this,`entries`,e=>(e[1]=wt(this,e[1]),e))},every(e,t){return Ot(this,`every`,e,t,void 0,arguments)},filter(e,t){return Ot(this,`filter`,e,t,e=>e.map(e=>wt(this,e)),arguments)},find(e,t){return Ot(this,`find`,e,t,e=>wt(this,e),arguments)},findIndex(e,t){return Ot(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return Ot(this,`findLast`,e,t,e=>wt(this,e),arguments)},findLastIndex(e,t){return Ot(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return Ot(this,`forEach`,e,t,void 0,arguments)},includes(...e){return At(this,`includes`,e)},indexOf(...e){return At(this,`indexOf`,e)},join(e){return St(this).join(e)},lastIndexOf(...e){return At(this,`lastIndexOf`,e)},map(e,t){return Ot(this,`map`,e,t,void 0,arguments)},pop(){return jt(this,`pop`)},push(...e){return jt(this,`push`,e)},reduce(e,...t){return kt(this,`reduce`,e,t)},reduceRight(e,...t){return kt(this,`reduceRight`,e,t)},shift(){return jt(this,`shift`)},some(e,t){return Ot(this,`some`,e,t,void 0,arguments)},splice(...e){return jt(this,`splice`,e)},toReversed(){return St(this).toReversed()},toSorted(e){return St(this).toSorted(e)},toSpliced(...e){return St(this).toSpliced(...e)},unshift(...e){return jt(this,`unshift`,e)},values(){return Et(this,`values`,e=>wt(this,e))}};function Et(e,t,n){let r=Ct(e),i=r[t]();return r!==e&&!ln(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var Dt=Array.prototype;function Ot(e,t,n,r,i,a){let o=Ct(e),s=o!==e&&!ln(e),c=o[t];if(c!==Dt[t]){let t=c.apply(e,a);return s?pn(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,wt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function kt(e,t,n,r){let i=Ct(e),a=i!==e&&!ln(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=wt(e,t)),n.call(this,t,wt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?wt(e,c):c}function At(e,t,n){let r=dn(e);bt(r,`iterate`,yt);let i=r[t](...n);return(i===-1||i===!1)&&un(n[0])?(n[0]=dn(n[0]),r[t](...n)):i}function jt(e,t,n=[]){lt(),$e();let r=dn(e)[t].apply(e,n);return et(),ut(),r}var Mt=f(`__proto__,__v_isRef,__isVue`),Nt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(ae));function Pt(e){ae(e)||(e=String(e));let t=dn(this);return bt(t,`has`,e),t.hasOwnProperty(e)}var Ft=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?$t:Qt:i?Zt:Xt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=C(e);if(!r){let e;if(a&&(e=Tt[t]))return e;if(t===`hasOwnProperty`)return Pt}let o=Reflect.get(e,t,hn(e)?e:n);if((ae(t)?Nt.has(t):Mt(t))||(r||bt(e,`get`,t),i))return o;if(hn(o)){let e=a&&fe(t)?o:o.value;return r&&oe(e)?an(e):e}return oe(o)?r?an(o):nn(o):o}},It=class extends Ft{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=C(e)&&fe(t);if(!this._isShallow){let e=cn(i);if(!ln(n)&&!cn(n)&&(i=dn(i),n=dn(n)),!a&&hn(i)&&!hn(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:S(e,t),s=Reflect.set(e,t,n,hn(e)?e:r);return e===dn(r)&&(o?xe(n,i)&&xt(e,`set`,t,n,i):xt(e,`add`,t,n)),s}deleteProperty(e,t){let n=S(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&xt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!ae(t)||!Nt.has(t))&&bt(e,`has`,t),n}ownKeys(e){return bt(e,`iterate`,C(e)?`length`:_t),Reflect.ownKeys(e)}},Lt=class extends Ft{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Rt=new It,zt=new Lt,Bt=new It(!0),Vt=e=>e,Ht=e=>Reflect.getPrototypeOf(e);function Ut(e,t,n){return function(...r){let i=this.__v_raw,a=dn(i),o=ee(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?Vt:t?mn:pn;return!t&&bt(a,`iterate`,c?vt:_t),y(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function Wt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Gt(e,t){let n={get(n){let r=this.__v_raw,i=dn(r),a=dn(n);e||(xe(n,a)&&bt(i,`get`,n),bt(i,`get`,a));let{has:o}=Ht(i),s=t?Vt:e?mn:pn;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&bt(dn(t),`iterate`,_t),t.size},has(t){let n=this.__v_raw,r=dn(n),i=dn(t);return e||(xe(t,i)&&bt(r,`has`,t),bt(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=dn(a),s=t?Vt:e?mn:pn;return!e&&bt(o,`iterate`,_t),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return y(n,e?{add:Wt(`add`),set:Wt(`set`),delete:Wt(`delete`),clear:Wt(`clear`)}:{add(e){let n=dn(this),r=Ht(n),i=dn(e),a=!t&&!ln(e)&&!cn(e)?i:e;return r.has.call(n,a)||xe(e,a)&&r.has.call(n,e)||xe(i,a)&&r.has.call(n,i)||(n.add(a),xt(n,`add`,a,a)),this},set(e,n){!t&&!ln(n)&&!cn(n)&&(n=dn(n));let r=dn(this),{has:i,get:a}=Ht(r),o=i.call(r,e);o||=(e=dn(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?xe(n,s)&&xt(r,`set`,e,n,s):xt(r,`add`,e,n),this},delete(e){let t=dn(this),{has:n,get:r}=Ht(t),i=n.call(t,e);i||=(e=dn(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&xt(t,`delete`,e,void 0,a),o},clear(){let e=dn(this),t=e.size!==0,n=e.clear();return t&&xt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ut(r,e,t)}),n}function Kt(e,t){let n=Gt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(S(n,r)&&r in t?n:t,r,i)}var qt={get:Kt(!1,!1)},Jt={get:Kt(!1,!0)},Yt={get:Kt(!0,!1)},Xt=new WeakMap,Zt=new WeakMap,Qt=new WeakMap,$t=new WeakMap;function en(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function tn(e){return e.__v_skip||!Object.isExtensible(e)?0:en(ue(e))}function nn(e){return cn(e)?e:on(e,!1,Rt,qt,Xt)}function rn(e){return on(e,!1,Bt,Jt,Zt)}function an(e){return on(e,!0,zt,Yt,Qt)}function on(e,t,n,r,i){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=tn(e);if(a===0)return e;let o=i.get(e);if(o)return o;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function sn(e){return cn(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function cn(e){return!!(e&&e.__v_isReadonly)}function ln(e){return!!(e&&e.__v_isShallow)}function un(e){return e?!!e.__v_raw:!1}function dn(e){let t=e&&e.__v_raw;return t?dn(t):e}function fn(e){return!S(e,`__v_skip`)&&Object.isExtensible(e)&&Ce(e,`__v_skip`,!0),e}var pn=e=>oe(e)?nn(e):e,mn=e=>oe(e)?an(e):e;function hn(e){return e?e.__v_isRef===!0:!1}function gn(e){return _n(e,!1)}function _n(e,t){return hn(e)?e:new vn(e,t)}var vn=class{constructor(e,t){this.dep=new mt,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:dn(e),this._value=t?e:pn(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||ln(e)||cn(e);e=n?e:dn(e),xe(e,t)&&(this._rawValue=e,this._value=n?e:pn(e),this.dep.trigger())}};function yn(e){return hn(e)?e.value:e}var bn={get:(e,t,n)=>t===`__v_raw`?e:yn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return hn(i)&&!hn(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function xn(e){return sn(e)?e:new Proxy(e,bn)}var Sn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new mt(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ft-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Ke!==this)return Qe(this,!0),!0}get value(){let e=this.dep.track();return it(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Cn(e,t,n=!1){let r,i;return re(e)?r=e:(r=e.get,i=e.set),new Sn(r,i,n)}var wn={},Tn=new WeakMap,En=void 0;function Dn(e,t=!1,n=En){if(n){let t=Tn.get(n);t||Tn.set(n,t=[]),t.push(e)}}function On(e,t,n=p){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:c}=n,l=e=>i?e:ln(e)||i===!1||i===0?kn(e,1):kn(e),u,d,f,m,g=!1,_=!1;if(hn(e)?(d=()=>e.value,g=ln(e)):sn(e)?(d=()=>l(e),g=!0):C(e)?(_=!0,g=e.some(e=>sn(e)||ln(e)),d=()=>e.map(e=>{if(hn(e))return e.value;if(sn(e))return l(e);if(re(e))return c?c(e,2):e()})):d=re(e)?t?c?()=>c(e,2):e:()=>{if(f){lt();try{f()}finally{ut()}}let t=En;En=u;try{return c?c(e,3,[m]):e(m)}finally{En=t}}:h,t&&i){let e=d,t=i===!0?1/0:i;d=()=>kn(e(),t)}let v=Ge(),y=()=>{u.stop(),v&&v.active&&b(v.effects,u)};if(a&&t){let e=t;t=(...t)=>{e(...t),y()}}let x=_?Array(e.length).fill(wn):wn,S=e=>{if(!(!(u.flags&1)||!u.dirty&&!e))if(t){let e=u.run();if(i||g||(_?e.some((e,t)=>xe(e,x[t])):xe(e,x))){f&&f();let n=En;En=u;try{let n=[e,x===wn?void 0:_&&x[0]===wn?[]:x,m];x=e,c?c(t,3,n):t(...n)}finally{En=n}}}else u.run()};return s&&s(S),u=new Je(d),u.scheduler=o?()=>o(S,!1):S,m=e=>Dn(e,!1,u),f=u.onStop=()=>{let e=Tn.get(u);if(e){if(c)c(e,4);else for(let t of e)t();Tn.delete(u)}},t?r?S(!0):x=u.run():o?o(S.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function kn(e,t=1/0,n){if(t<=0||!oe(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,hn(e))kn(e.value,t,n);else if(C(e))for(let r=0;r<e.length;r++)kn(e[r],t,n);else if(te(e)||ee(e))e.forEach(e=>{kn(e,t,n)});else if(de(e)){for(let r in e)kn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&kn(e[r],t,n)}return e}function An(e,t,n,r){try{return r?e(...r):e()}catch(e){Mn(e,t,n)}}function jn(e,t,n,r){if(re(e)){let i=An(e,t,n,r);return i&&se(i)&&i.catch(e=>{Mn(e,t,n)}),i}if(C(e)){let i=[];for(let a=0;a<e.length;a++)i.push(jn(e[a],t,n,r));return i}}function Mn(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||p;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){lt(),An(a,null,10,[e,i,o]),ut();return}}Nn(e,n,i,r,o)}function Nn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var Pn=[],Fn=-1,In=[],Ln=null,Rn=0,zn=Promise.resolve(),Bn=null;function Vn(e){let t=Bn||zn;return e?t.then(this?e.bind(this):e):t}function Hn(e){let t=Fn+1,n=Pn.length;for(;t<n;){let r=t+n>>>1,i=Pn[r],a=Jn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Un(e){if(!(e.flags&1)){let t=Jn(e),n=Pn[Pn.length-1];!n||!(e.flags&2)&&t>=Jn(n)?Pn.push(e):Pn.splice(Hn(t),0,e),e.flags|=1,Wn()}}function Wn(){Bn||=zn.then(Yn)}function Gn(e){C(e)?In.push(...e):Ln&&e.id===-1?Ln.splice(Rn+1,0,e):e.flags&1||(In.push(e),e.flags|=1),Wn()}function Kn(e,t,n=Fn+1){for(;n<Pn.length;n++){let t=Pn[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;Pn.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function qn(e){if(In.length){let e=[...new Set(In)].sort((e,t)=>Jn(e)-Jn(t));if(In.length=0,Ln){Ln.push(...e);return}for(Ln=e,Rn=0;Rn<Ln.length;Rn++){let e=Ln[Rn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Ln=null,Rn=0}}var Jn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Yn(e){try{for(Fn=0;Fn<Pn.length;Fn++){let e=Pn[Fn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),An(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Fn<Pn.length;Fn++){let e=Pn[Fn];e&&(e.flags&=-2)}Fn=-1,Pn.length=0,qn(e),Bn=null,(Pn.length||In.length)&&Yn(e)}}var Xn=null,Zn=null;function Qn(e){let t=Xn;return Xn=e,Zn=e&&e.type.__scopeId||null,t}function $n(e,t=Xn,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&da(-1);let i=Qn(t),a;try{a=e(...n)}finally{Qn(i),r._d&&da(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function er(e,t){if(Xn===null)return e;let n=Xa(Xn),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=p]=t[e];i&&(re(i)&&(i={mounted:i,updated:i}),i.deep&&kn(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function tr(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(lt(),jn(c,n,8,[e.el,s,e,t]),ut())}}function nr(e,t){if(Pa){let n=Pa.provides,r=Pa.parent&&Pa.parent.provides;r===n&&(n=Pa.provides=Object.create(r)),n[e]=t}}function rr(e,t,n=!1){let r=Fa();if(r||fi){let i=fi?fi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&re(t)?t.call(r&&r.proxy):t}}var ir=Symbol.for(`v-scx`),ar=()=>rr(ir);function or(e,t,n){return sr(e,t,n)}function sr(e,t,n=p){let{immediate:r,deep:i,flush:a,once:o}=n,s=y({},n),c=t&&r||!t&&a!==`post`,l;if(Va){if(a===`sync`){let e=ar();l=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=h,e.resume=h,e.pause=h,e}}let u=Pa;s.call=(e,t,n)=>jn(e,u,t,n);let d=!1;a===`post`?s.scheduler=e=>{Ui(e,u&&u.suspense)}:a!==`sync`&&(d=!0,s.scheduler=(e,t)=>{t?e():Un(e)}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};let f=On(e,t,s);return Va&&(l?l.push(f):c&&f()),f}function cr(e,t,n){let r=this.proxy,i=ie(e)?e.includes(`.`)?lr(r,e):()=>r[e]:e.bind(r,r),a;re(t)?a=t:(a=t.handler,n=t);let o=Ra(this),s=sr(i,a.bind(r),n);return o(),s}function lr(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&#x26;t;e++)t=t[n[e]];return t}}var ur=Symbol(`_vte`),dr=e=>e.__isTeleport,fr=Symbol(`_leaveCb`);function pr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,pr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mr(e,t){return re(e)?y({name:e.name},t,{setup:e}):e}function hr(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function gr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var _r=new WeakMap;function vr(e,t,n,r,i=!1){if(C(e)){e.forEach((e,a)=>vr(e,t&&(C(t)?t[a]:t),n,r,i));return}if(br(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&vr(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?Xa(r.component):r.el,o=i?null:a,{i:s,r:c}=e,l=t&&t.r,u=s.refs===p?s.refs={}:s.refs,d=s.setupState,f=dn(d),m=d===p?g:e=>gr(u,e)?!1:S(f,e),h=(e,t)=>!(t&&gr(u,t));if(l!=null&&l!==c){if(yr(t),ie(l))u[l]=null,m(l)&&(d[l]=null);else if(hn(l)){let e=t;h(l,e.k)&&(l.value=null),e.k&&(u[e.k]=null)}}if(re(c))An(c,s,12,[o,u]);else{let t=ie(c),r=hn(c);if(t||r){let s=()=>{if(e.f){let n=t?m(c)?d[c]:u[c]:h(c)||!e.k?c.value:u[e.k];if(i)C(n)&&b(n,a);else if(C(n))n.includes(a)||n.push(a);else if(t)u[c]=[a],m(c)&&(d[c]=u[c]);else{let t=[a];h(c,e.k)&&(c.value=t),e.k&&(u[e.k]=t)}}else t?(u[c]=o,m(c)&&(d[c]=o)):r&&(h(c,e.k)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){let t=()=>{s(),_r.delete(e)};t.id=-1,_r.set(e,t),Ui(t,n)}else yr(e),s()}}}function yr(e){let t=_r.get(e);t&&(t.flags|=8,_r.delete(e))}Ee().requestIdleCallback,Ee().cancelIdleCallback;var br=e=>!!e.type.__asyncLoader,xr=e=>e.type.__isKeepAlive;function Sr(e,t){wr(e,`a`,t)}function Cr(e,t){wr(e,`da`,t)}function wr(e,t,n=Pa){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Er(t,r,n),n){let e=n.parent;for(;e&&e.parent;)xr(e.parent.vnode)&&Tr(r,t,n,e),e=e.parent}}function Tr(e,t,n,r){let i=Er(t,e,r,!0);Nr(()=>{b(r[t],i)},n)}function Er(e,t,n=Pa,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{lt();let i=Ra(n),a=jn(t,n,e,r);return i(),ut(),a};return r?i.unshift(a):i.push(a),a}}var Dr=e=>(t,n=Pa)=>{(!Va||e===`sp`)&&Er(e,(...e)=>t(...e),n)},Or=Dr(`bm`),kr=Dr(`m`),Ar=Dr(`bu`),jr=Dr(`u`),Mr=Dr(`bum`),Nr=Dr(`um`),Pr=Dr(`sp`),Fr=Dr(`rtg`),Ir=Dr(`rtc`);function Lr(e,t=Pa){Er(`ec`,e,t)}var Rr=`components`;function zr(e,t){return Vr(Rr,e,!0,t)||e}var Br=Symbol.for(`v-ndc`);function Vr(e,t,n=!0,r=!1){let i=Xn||Pa;if(i){let n=i.type;if(e===Rr){let e=Za(n,!1);if(e&&(e===t||e===ge(t)||e===ye(ge(t))))return n}let a=Hr(i[e]||n[e],t)||Hr(i.appContext[e],t);return!a&&r?n:a}}function Hr(e,t){return e&&(e[t]||e[ge(t)]||e[ye(ge(t))])}function Ur(e,t,n,r){let i,a=n&&n[r],o=C(e);if(o||ie(e)){let n=o&&sn(e),r=!1,s=!1;n&&(r=!ln(e),s=cn(e),e=Ct(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?mn(pn(e[n])):pn(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(oe(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}var Wr=e=>e?Ba(e)?Xa(e):Wr(e.parent):null,Gr=y(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Wr(e.parent),$root:e=>Wr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>w(e),$forceUpdate:e=>e.f||=()=>{Un(e.update)},$nextTick:e=>e.n||=Vn.bind(e.proxy),$watch:e=>cr.bind(e)}),Kr=(e,t)=>e!==p&&!e.__isScriptSetup&&S(e,t),qr={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:c}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(Kr(r,t))return o[t]=1,r[t];else if(i!==p&&S(i,t))return o[t]=2,i[t];else if(S(a,t))return o[t]=3,a[t];else if(n!==p&&S(n,t))return o[t]=4,n[t];else Yr&&(o[t]=0)}let l=Gr[t],u,d;if(l)return t===`$attrs`&&bt(e.attrs,`get`,``),l(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==p&&S(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,S(d,t))return d[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return Kr(i,t)?(i[t]=n,!0):r!==p&&S(r,t)?(r[t]=n,!0):S(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||e!==p&&s[0]!==`$`&&S(e,s)||Kr(t,s)||S(a,s)||S(r,s)||S(Gr,s)||S(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?S(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Jr(e){return C(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}var Yr=!0;function Xr(e){let t=w(e),n=e.proxy,r=e.ctx;Yr=!1,t.beforeCreate&&Qr(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:g,deactivated:_,beforeDestroy:v,beforeUnmount:y,destroyed:b,unmounted:x,render:S,renderTracked:ee,renderTriggered:te,errorCaptured:ne,serverPrefetch:ie,expose:ae,inheritAttrs:se,components:ce,directives:le,filters:ue}=t;if(l&&Zr(l,r,null),o)for(let e in o){let t=o[e];re(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);oe(t)&&(e.data=nn(t))}if(Yr=!0,a)for(let e in a){let t=a[e],i=$a({get:re(t)?t.bind(n,n):re(t.get)?t.get.bind(n,n):h,set:!re(t)&&re(t.set)?t.set.bind(n):h});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)$r(s[e],r,n,e);if(c){let e=re(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{nr(t,e[t])})}u&&Qr(u,e,`c`);function de(e,t){C(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(de(Or,d),de(kr,f),de(Ar,p),de(jr,m),de(Sr,g),de(Cr,_),de(Lr,ne),de(Ir,ee),de(Fr,te),de(Mr,y),de(Nr,x),de(Pr,ie),C(ae))if(ae.length){let t=e.exposed||={};ae.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};S&&e.render===h&&(e.render=S),se!=null&&(e.inheritAttrs=se),ce&&(e.components=ce),le&&(e.directives=le),ie&&hr(e)}function Zr(e,t,n=h){C(e)&&(e=ii(e));for(let n in e){let r=e[n],i;i=oe(r)?`default`in r?rr(r.from||n,r.default,!0):rr(r.from||n):rr(r),hn(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Qr(e,t,n){jn(C(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function $r(e,t,n,r){let i=r.includes(`.`)?lr(n,r):()=>n[r];if(ie(e)){let n=t[e];re(n)&&or(i,n)}else if(re(e))or(i,e.bind(n));else if(oe(e))if(C(e))e.forEach(e=>$r(e,t,n,r));else{let r=re(e.handler)?e.handler.bind(n):t[e.handler];re(r)&&or(i,r,e)}}function w(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>ei(c,e,o,!0)),ei(c,t,o)),oe(t)&&a.set(t,c),c}function ei(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&ei(e,a,n,!0),i&&i.forEach(t=>ei(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=ti[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var ti={data:ni,props:si,emits:si,methods:oi,computed:oi,beforeCreate:ai,created:ai,beforeMount:ai,mounted:ai,beforeUpdate:ai,updated:ai,beforeDestroy:ai,beforeUnmount:ai,destroyed:ai,unmounted:ai,activated:ai,deactivated:ai,errorCaptured:ai,serverPrefetch:ai,components:oi,directives:oi,watch:ci,provide:ni,inject:ri};function ni(e,t){return t?e?function(){return y(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function ri(e,t){return oi(ii(e),ii(t))}function ii(e){if(C(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ai(e,t){return e?[...new Set([].concat(e,t))]:t}function oi(e,t){return e?y(Object.create(null),e,t):t}function si(e,t){return e?C(e)&&C(t)?[...new Set([...e,...t])]:y(Object.create(null),Jr(e),Jr(t??{})):t}function ci(e,t){if(!e)return t;if(!t)return e;let n=y(Object.create(null),e);for(let r in t)n[r]=ai(e[r],t[r]);return n}function li(){return{app:null,config:{isNativeTag:g,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var ui=0;function di(e,t){return function(n,r=null){re(n)||(n=y({},n)),r!=null&&!oe(r)&&(r=null);let i=li(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:ui++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:eo,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&re(e.install)?(a.add(e),e.install(c,...t)):re(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||ya(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,Xa(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(jn(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=fi;fi=c;try{return e()}finally{fi=t}}};return c}}var fi=null,pi=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${ge(t)}Modifiers`]||e[`${ve(t)}Modifiers`];function mi(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||p,i=n,a=t.startsWith(`update:`),o=a&&pi(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>ie(e)?e.trim():e)),o.number&&(i=n.map(we)));let s,c=r[s=be(t)]||r[s=be(ge(t))];!c&&a&&(c=r[s=be(ve(t))]),c&&jn(c,e,6,i);let l=r[s+`Once`];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,jn(l,e,6,i)}}var hi=new WeakMap;function gi(e,t,n=!1){let r=n?hi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!re(e)){let r=e=>{let n=gi(e,t,!0);n&&(s=!0,y(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(oe(e)&&r.set(e,null),null):(C(a)?a.forEach(e=>o[e]=null):y(o,a),oe(e)&&r.set(e,o),o)}function _i(e,t){return!e||!_(t)?!1:(t=t.slice(2).replace(/Once$/,``),S(e,t[0].toLowerCase()+t.slice(1))||S(e,ve(t))||S(e,t))}function vi(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:p,ctx:m,inheritAttrs:h}=e,g=Qn(e),_,y;try{if(n.shapeFlag&4){let e=i||r,t=e;_=Ea(l.call(t,e,u,d,p,f,m)),y=s}else{let e=t;_=Ea(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),y=t.props?s:yi(s)}}catch(t){oa.length=0,Mn(t,e,1),_=ya(ia)}let b=_;if(y&&h!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(v)&&(y=bi(y,a)),b=Sa(b,y,!1,!0))}return n.dirs&&(b=Sa(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&pr(b,n.transition),_=b,Qn(g),_}var yi=e=>{let t;for(let n in e)(n===`class`||n===`style`||_(n))&&((t||={})[n]=e[n]);return t},bi=(e,t)=>{let n={};for(let r in e)(!v(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function xi(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Si(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Ci(o,r,n)&&!_i(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?Si(r,o,l):!0:!!o;return!1}function Si(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Ci(t,e,a)&&!_i(n,a))return!0}return!1}function Ci(e,t,n){let r=e[n],i=t[n];return n===`style`&&oe(r)&&oe(i)?!Le(r,i):r!==i}function wi({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Ti={},Ei=()=>Object.create(Ti),Di=e=>Object.getPrototypeOf(e)===Ti;function Oi(e,t,n,r=!1){let i={},a=Ei();e.propsDefaults=Object.create(null),Ai(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:rn(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function ki(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=dn(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(_i(e.emitsOptions,o))continue;let u=t[o];if(c)if(S(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=ge(o);i[t]=ji(c,s,t,u,e,!1)}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Ai(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!S(t,a)&&((r=ve(a))===a||!S(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=ji(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!S(t,e))&&(delete a[e],l=!0)}l&&xt(e.attrs,`set`,``)}function Ai(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(pe(c))continue;let l=t[c],u;i&&S(i,u=ge(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:_i(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=dn(n),r=s||p;for(let o=0;o<a.length;o++){let s=a[o];n[s]=ji(i,t,s,r[s],e,!S(r,s))}}return o}function ji(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=S(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&re(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Ra(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ve(n))&&(r=!0))}return r}var Mi=new WeakMap;function Ni(e,t,n=!1){let r=n?Mi:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],c=!1;if(!re(e)){let r=e=>{c=!0;let[n,r]=Ni(e,t,!0);y(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return oe(e)&&r.set(e,m),m;if(C(a))for(let e=0;e<a.length;e++){let t=ge(a[e]);Pi(t)&&(o[t]=p)}else if(a)for(let e in a){let t=ge(e);if(Pi(t)){let n=a[e],r=o[t]=C(n)||re(n)?{type:n}:y({},n),i=r.type,c=!1,l=!0;if(C(i))for(let e=0;e<i.length;++e){let t=i[e],n=re(t)&&t.name;if(n===`Boolean`){c=!0;break}else n===`String`&&(l=!1)}else c=re(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||S(r,`default`))&&s.push(t)}}let l=[o,s];return oe(e)&&r.set(e,l),l}function Pi(e){return e[0]!==`$`&&!pe(e)}var Fi=e=>e===`_`||e===`_ctx`||e===`$stable`,Ii=e=>C(e)?e.map(Ea):[Ea(e)],Li=(e,t,n)=>{if(t._n)return t;let r=$n((...e)=>Ii(t(...e)),n);return r._c=!1,r},Ri=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Fi(n))continue;let i=e[n];if(re(i))t[n]=Li(n,i,r);else if(i!=null){let e=Ii(i);t[n]=()=>e}}},zi=(e,t)=>{let n=Ii(t);e.slots.default=()=>n},Bi=(e,t,n)=>{for(let r in t)(n||!Fi(r))&&(e[r]=t[r])},Vi=(e,t,n)=>{let r=e.slots=Ei();if(e.vnode.shapeFlag&32){let e=t._;e?(Bi(r,t,n),n&&Ce(r,`_`,e,!0)):Ri(t,r)}else t&&zi(e,t)},Hi=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=p;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:Bi(i,t,n):(a=!t.$stable,Ri(t,i)),o=t}else t&&(zi(e,t),o={default:1});if(a)for(let e in i)!Fi(e)&&o[e]==null&&delete i[e]},Ui=ta;function Wi(e){return Gi(e)}function Gi(e,t){let n=Ee();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:l,setElementText:u,parentNode:d,nextSibling:f,setScopeId:g=h,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!ga(e,t)&&(r=we(e),ve(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case ra:y(e,t,n,r);break;case ia:b(e,t,n,r);break;case aa:e??x(t,n,r,o);break;case na:se(e,t,n,r,i,a,o,s,c);break;default:d&1?ee(e,t,n,r,i,a,o,s,c):d&6?ce(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,Oe)}u!=null&&i?vr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&vr(e.ref,null,a,e,!0)},y=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},b=(e,t,n,i)=>{e==null?r(t.el=c(t.children||``),n,i):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=f(e),r(e,n,i),e=a;r(t,n,i)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),i(e),e=n;i(t)},ee=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)te(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ie(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},te=(e,t,n,i,s,c,l,d)=>{let f,p,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(f=e.el=o(e.type,c,m&&m.is,m),h&8?u(f,e.children):h&16&&re(e.children,f,null,i,s,Ki(e,c),l,d),_&&tr(e,null,i,`created`),ne(f,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!pe(e)&&a(f,e,null,m[e],c,i);`value`in m&&a(f,`value`,null,m.value,c),(p=m.onVnodeBeforeMount)&&Aa(p,i,e)}_&&tr(e,null,i,`beforeMount`);let v=Ji(s,g);v&&g.beforeEnter(f),r(f,t,n),((p=m&&m.onVnodeMounted)||v||_)&&Ui(()=>{try{p&&Aa(p,i,e),v&&g.enter(f),_&&tr(e,null,i,`mounted`)}finally{}},s)},ne=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||ea(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;ne(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},re=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++)v(null,e[l]=s?Da(e[l]):Ea(e[l]),t,n,r,i,a,o,s)},ie=(e,t,n,r,i,o,s)=>{let c=t.el=e.el,{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=e.patchFlag&16;let m=e.props||p,h=t.props||p,g;if(n&&qi(n,!1),(g=h.onVnodeBeforeUpdate)&&Aa(g,n,t,e),f&&tr(t,e,n,`beforeUpdate`),n&&qi(n,!0),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&u(c,``),d?ae(e.dynamicChildren,d,c,n,r,Ki(t,i),o):s||me(e,t,c,null,n,r,Ki(t,i),o,!1),l>0){if(l&16)oe(c,m,h,n,i);else if(l&2&&m.class!==h.class&&a(c,`class`,null,h.class,i),l&4&&a(c,`style`,m.style,h.style,i),l&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=m[r],s=h[r];(s!==o||r===`value`)&&a(c,r,o,s,i,n)}}l&1&&e.children!==t.children&&u(c,t.children)}else !s&&d==null&&oe(c,m,h,n,i);((g=h.onVnodeUpdated)||f)&&Ui(()=>{g&&Aa(g,n,t,e),f&&tr(t,e,n,`updated`)},r)},ae=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s];v(c,l,c.el&&(c.type===na||!ga(c,l)||c.shapeFlag&198)?d(c.el):n,null,r,i,a,o,!0)}},oe=(e,t,n,r,i)=>{if(t!==n){if(t!==p)for(let o in t)!pe(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(pe(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},se=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),re(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(ae(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&Yi(e,t,!0)):me(e,t,n,f,a,o,c,l,u)},ce=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):le(t,n,r,i,a,o,c):ue(e,t,c)},le=(e,t,n,r,i,a,o)=>{let s=e.component=Na(e,r,i);if(xr(e)&&(s.ctx.renderer=Oe),Ha(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,de,o),!e.el){let r=s.subTree=ya(ia);b(null,r,t,n),e.placeholder=r.el}}else de(s,e,t,n,i,a,o)},ue=(e,t,n)=>{let r=t.component=e.component;if(xi(e,t,n))if(r.asyncDep&&!r.asyncResolved){fe(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},de=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Zi(e);if(n){t&&(t.el=c.el,fe(e,t,o)),n.asyncDep.then(()=>{Ui(()=>{e.isUnmounted||l()},i)});return}}let u=t,f;qi(e,!1),t?(t.el=c.el,fe(e,t,o)):t=c,n&&Se(n),(f=t.props&&t.props.onVnodeBeforeUpdate)&&Aa(f,s,t,c),qi(e,!0);let p=vi(e),m=e.subTree;e.subTree=p,v(m,p,d(m.el),we(m),e,i,a),t.el=p.el,u===null&&wi(e,p.el),r&&Ui(r,i),(f=t.props&&t.props.onVnodeUpdated)&&Ui(()=>Aa(f,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=br(t);if(qi(e,!1),l&&Se(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Aa(o,d,t),qi(e,!0),s&&Ae){let t=()=>{e.subTree=vi(e),Ae(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=vi(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&Ui(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;Ui(()=>Aa(o,d,e),i)}(t.shapeFlag&256||d&&br(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&Ui(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Je(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Un(u),qi(e,!0),l()},fe=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,ki(e,t.props,r,n),Hi(e,t.children,n),lt(),Kn(e),ut()},me=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:m}=t;if(p>0){if(p&128){ge(l,f,n,r,i,a,o,s,c);return}else if(p&256){he(l,f,n,r,i,a,o,s,c);return}}m&8?(d&16&&Ce(l,i,a),f!==l&&u(n,f)):d&16?m&16?ge(l,f,n,r,i,a,o,s,c):Ce(l,i,a,!0):(d&8&&u(n,``),m&16&&re(f,n,r,i,a,o,s,c))},he=(e,t,n,r,i,a,o,s,c)=>{e||=m,t||=m;let l=e.length,u=t.length,d=Math.min(l,u),f;for(f=0;f<d;f++){let r=t[f]=c?Da(t[f]):Ea(t[f]);v(e[f],r,n,null,i,a,o,s,c)}l>u?Ce(e,i,a,!0,!1,d):re(t,n,r,i,a,o,s,c,d)},ge=(e,t,n,r,i,a,o,s,c)=>{let l=0,u=t.length,d=e.length-1,f=u-1;for(;l<=d&&l<=f;){let r=e[l],u=t[l]=c?Da(t[l]):Ea(t[l]);if(ga(r,u))v(r,u,n,null,i,a,o,s,c);else break;l++}for(;l<=d&&l<=f;){let r=e[d],l=t[f]=c?Da(t[f]):Ea(t[f]);if(ga(r,l))v(r,l,n,null,i,a,o,s,c);else break;d--,f--}if(l>d){if(l<=f){let e=f+1,d=e<u?t[e].el:r;for(;l<=f;)v(null,t[l]=c?Da(t[l]):Ea(t[l]),n,d,i,a,o,s,c),l++}}else if(l>f)for(;l<=d;)ve(e[l],i,a,!0),l++;else{let p=l,h=l,g=new Map;for(l=h;l<=f;l++){let e=t[l]=c?Da(t[l]):Ea(t[l]);e.key!=null&&g.set(e.key,l)}let _,y=0,b=f-h+1,x=!1,S=0,C=Array(b);for(l=0;l<b;l++)C[l]=0;for(l=p;l<=d;l++){let r=e[l];if(y>=b){ve(r,i,a,!0);continue}let u;if(r.key!=null)u=g.get(r.key);else for(_=h;_<=f;_++)if(C[_-h]===0&&ga(r,t[_])){u=_;break}u===void 0?ve(r,i,a,!0):(C[u-h]=l+1,u>=S?S=u:x=!0,v(r,t[u],n,null,i,a,o,s,c),y++)}let ee=x?Xi(C):m;for(_=ee.length-1,l=b-1;l>=0;l--){let e=h+l,d=t[e],f=t[e+1],p=e+1<u?f.el||$i(f):r;C[l]===0?v(null,d,n,p,i,a,o,s,c):x&&(_<0||l!==ee[_]?_e(d,n,p,2):_--)}}},_e=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){_e(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,Oe);return}if(c===na){r(s,t,n);for(let e=0;e<u.length;e++)_e(u[e],t,n,a);r(e.anchor,t,n);return}if(c===aa){S(e,t,n);return}if(a!==2&&d&1&&l)if(a===0)l.beforeEnter(s),r(s,t,n),Ui(()=>l.enter(s),o);else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{s._isLeaving&&s[fr](!0),a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}else r(s,t,n)},ve=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(lt(),vr(s,null,n,e,!0),ut()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!br(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Aa(_,t,e),u&6)xe(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&tr(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Oe,r):l&&!l.hasOnce&&(a!==na||d>0&&d&64)?Ce(l,t,n,!1,!0):(a===na&&d&384||!i&&u&16)&&Ce(c,t,n),r&&ye(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&Ui(()=>{_&&Aa(_,t,e),h&&tr(e,null,t,`unmounted`),v&&(e.el=null)},n)},ye=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===na){be(n,r);return}if(t===aa){C(e);return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},be=(e,t)=>{let n;for(;e!==t;)n=f(e),i(e),e=n;i(t)},xe=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Qi(c),Qi(l),r&&Se(r),i.stop(),a&&(a.flags|=8,ve(o,e,t,n)),s&&Ui(s,t),Ui(()=>{e.isUnmounted=!0},t)},Ce=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)ve(e[o],t,n,r,i)},we=e=>{if(e.shapeFlag&6)return we(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=f(e.anchor||e.el),n=t&&t[ur];return n?f(n):t},Te=!1,De=(e,t,n)=>{let r;e==null?t._vnode&&(ve(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Te||=(Te=!0,Kn(r),qn(),!1)},Oe={p:v,um:ve,m:_e,r:ye,mt:le,mc:re,pc:me,pbc:ae,n:we,o:e},ke,Ae;return t&&([ke,Ae]=t(Oe)),{render:De,hydrate:ke,createApp:di(De,ke)}}function Ki({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function qi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ji(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yi(e,t,n=!1){let r=e.children,i=t.children;if(C(r)&&C(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Da(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Yi(t,a)),a.type===ra&&(a.patchFlag===-1&&(a=i[e]=Da(a)),a.el=t.el),a.type===ia&&!a.el&&(a.el=t.el)}}function Xi(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function Zi(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Zi(t)}function Qi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function $i(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?$i(t.subTree):null}var ea=e=>e.__isSuspense;function ta(e,t){t&&t.pendingBranch?C(e)?t.effects.push(...e):t.effects.push(e):Gn(e)}var na=Symbol.for(`v-fgt`),ra=Symbol.for(`v-txt`),ia=Symbol.for(`v-cmt`),aa=Symbol.for(`v-stc`),oa=[],sa=null;function ca(e=!1){oa.push(sa=e?null:[])}function la(){oa.pop(),sa=oa[oa.length-1]||null}var ua=1;function da(e,t=!1){ua+=e,e<0&&sa&&t&&(sa.hasOnce=!0)}function fa(e){return e.dynamicChildren=ua>0?sa||m:null,la(),ua>0&&sa&&sa.push(e),e}function pa(e,t,n,r,i,a){return fa(T(e,t,n,r,i,a,!0))}function ma(e,t,n,r,i){return fa(ya(e,t,n,r,i,!0))}function ha(e){return e?e.__v_isVNode===!0:!1}function ga(e,t){return e.type===t.type&&e.key===t.key}var _a=({key:e})=>e??null,va=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:ie(e)||hn(e)||re(e)?{i:Xn,r:e,k:t,f:!!n}:e);function T(e,t=null,n=null,r=0,i=null,a=e===na?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_a(t),ref:t&&va(t),scopeId:Zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Xn};return s?(Oa(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),ua>0&&!o&&sa&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&sa.push(c),c}var ya=ba;function ba(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Br)&&(e=ia),ha(e)){let r=Sa(e,t,!0);return n&&Oa(r,n),ua>0&&!a&&sa&&(r.shapeFlag&6?sa[sa.indexOf(e)]=r:sa.push(r)),r.patchFlag=-2,r}if(Qa(e)&&(e=e.__vccOpts),t){t=xa(t);let{class:e,style:n}=t;e&&!ie(e)&&(t.class=Me(e)),oe(n)&&(un(n)&&!C(n)&&(n=y({},n)),t.style=De(n))}let o=ie(e)?1:ea(e)?128:dr(e)?64:oe(e)?4:re(e)?2:0;return T(e,t,n,r,i,o,a,!0)}function xa(e){return e?un(e)||Di(e)?y({},e):e:null}function Sa(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?ka(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&_a(l),ref:t&&t.ref?n&&a?C(a)?a.concat(va(t)):[a,va(t)]:va(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==na?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Sa(e.ssContent),ssFallback:e.ssFallback&&Sa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&pr(u,c.clone(u)),u}function Ca(e=` `,t=0){return ya(ra,null,e,t)}function wa(e,t){let n=ya(aa,null,e);return n.staticCount=t,n}function Ta(e=``,t=!1){return t?(ca(),ma(ia,null,e)):ya(ia,null,e)}function Ea(e){return e==null||typeof e==`boolean`?ya(ia):C(e)?ya(na,null,e.slice()):ha(e)?Da(e):ya(ra,null,String(e))}function Da(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Sa(e)}function Oa(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(C(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Oa(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Di(t)?t._ctx=Xn:r===3&&Xn&&(Xn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:Xn},n=32):(t=String(t),r&64?(n=16,t=[Ca(t)]):n=8);e.children=t,e.shapeFlag|=n}function ka(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=Me([t.class,r.class]));else if(e===`style`)t.style=De([t.style,r.style]);else if(_(e)){let n=t[e],i=r[e];i&&n!==i&&!(C(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!v(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Aa(e,t,n,r=null){jn(e,t,7,[n,r])}var ja=li(),Ma=0;function Na(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||ja,a={uid:Ma++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new We(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ni(r,i),emitsOptions:gi(r,i),emit:null,emitted:null,propsDefaults:p,inheritAttrs:r.inheritAttrs,ctx:p,data:p,props:p,attrs:p,slots:p,refs:p,setupState:p,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=mi.bind(null,a),e.ce&&e.ce(a),a}var Pa=null,Fa=()=>Pa||Xn,Ia,La;{let e=Ee(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ia=t(`__VUE_INSTANCE_SETTERS__`,e=>Pa=e),La=t(`__VUE_SSR_SETTERS__`,e=>Va=e)}var Ra=e=>{let t=Pa;return Ia(e),e.scope.on(),()=>{e.scope.off(),Ia(t)}},za=()=>{Pa&&Pa.scope.off(),Ia(null)};function Ba(e){return e.vnode.shapeFlag&4}var Va=!1;function Ha(e,t=!1,n=!1){t&&La(t);let{props:r,children:i}=e.vnode,a=Ba(e);Oi(e,r,a,t),Vi(e,i,n||t);let o=a?Ua(e,t):void 0;return t&&La(!1),o}function Ua(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,qr);let{setup:r}=n;if(r){lt();let n=e.setupContext=r.length>1?Ya(e):null,i=Ra(e),a=An(r,e,0,[e.props,n]),o=se(a);if(ut(),i(),(o||e.sp)&&!br(e)&&hr(e),o){if(a.then(za,za),t)return a.then(n=>{Wa(e,n,t)}).catch(t=>{Mn(t,e,0)});e.asyncDep=a}else Wa(e,a,t)}else qa(e,t)}function Wa(e,t,n){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=xn(t)),qa(e,n)}var Ga,Ka;function qa(e,t,n){let r=e.type;if(!e.render){if(!t&&Ga&&!r.render){let t=r.template||w(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=Ga(t,y(y({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||h,Ka&&Ka(e)}{let t=Ra(e);lt();try{Xr(e)}finally{ut(),t()}}}var Ja={get(e,t){return bt(e,`get`,``),e[t]}};function Ya(e){return{attrs:new Proxy(e.attrs,Ja),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Xa(e){return e.exposed?e.exposeProxy||=new Proxy(xn(fn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gr)return Gr[n](e)},has(e,t){return t in e||t in Gr}}):e.proxy}function Za(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function Qa(e){return re(e)&&`__vccOpts`in e}var $a=(e,t)=>Cn(e,t,Va),eo=`3.5.32`,to=void 0,no=typeof window<`u`&&window.trustedTypes;if(no)try{to=no.createPolicy(`vue`,{createHTML:e=>e})}catch{}var ro=to?e=>to.createHTML(e):e=>e,io=`http://www.w3.org/2000/svg`,ao=`http://www.w3.org/1998/Math/MathML`,oo=typeof document<`u`?document:null,so=oo&&oo.createElement(`template`),co={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?oo.createElementNS(io,e):t===`mathml`?oo.createElementNS(ao,e):n?oo.createElement(e,{is:n}):oo.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>oo.createTextNode(e),createComment:e=>oo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>oo.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{so.innerHTML=ro(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=so.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lo=Symbol(`_vtc`);function uo(e,t,n){let r=e[lo];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var fo=Symbol(`_vod`),po=Symbol(`_vsh`),mo=Symbol(``),ho=/(?:^|;)\s*display\s*:/;function go(e,t,n){let r=e.style,i=ie(n),a=!1;if(n&&!i){if(t)if(ie(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??vo(r,t,``)}else for(let e in t)n[e]??vo(r,e,``);for(let e in n)e===`display`&&(a=!0),vo(r,e,n[e])}else if(i){if(t!==n){let e=r[mo];e&&(n+=`;`+e),r.cssText=n,a=ho.test(n)}}else t&&e.removeAttribute(`style`);fo in e&&(e[fo]=a?r.display:``,e[po]&&(r.display=`none`))}var _o=/\s*!important$/;function vo(e,t,n){if(C(n))n.forEach(n=>vo(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=xo(e,t);_o.test(n)?e.setProperty(ve(r),n.replace(_o,``),`important`):e[r]=n}}var yo=[`Webkit`,`Moz`,`ms`],bo={};function xo(e,t){let n=bo[t];if(n)return n;let r=ge(t);if(r!==`filter`&&r in e)return bo[t]=r;r=ye(r);for(let n=0;n<yo.length;n++){let i=yo[n]+r;if(i in e)return bo[t]=i}return t}var So=`http://www.w3.org/1999/xlink`;function Co(e,t,n,r,i,a=Pe(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(So,t.slice(6,t.length)):e.setAttributeNS(So,t,n):n==null||a&&!Fe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:ae(n)?String(n):n)}function wo(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?ro(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Fe(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function To(e,t,n,r){e.addEventListener(t,n,r)}function Eo(e,t,n,r){e.removeEventListener(t,n,r)}var Do=Symbol(`_vei`);function Oo(e,t,n,r,i=null){let a=e[Do]||(e[Do]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Ao(t);r?To(e,n,a[t]=Po(r,i),s):o&&(Eo(e,n,o,s),a[t]=void 0)}}var ko=/(?:Once|Passive|Capture)$/;function Ao(e){let t;if(ko.test(e)){t={};let n;for(;n=e.match(ko);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):ve(e.slice(2)),t]}var jo=0,Mo=Promise.resolve(),No=()=>jo||=(Mo.then(()=>jo=0),Date.now());function Po(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;jn(Fo(e,n.value),t,5,[e])};return n.value=e,n.attached=No(),n}function Fo(e,t){if(C(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var Io=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lo=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?uo(e,r,o):t===`style`?go(e,n,r):_(t)?v(t)||Oo(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Ro(e,t,r,o))?(wo(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&Co(e,t,r,o,a,t!==`value`)):e._isVueCE&&(zo(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ie(r)))?wo(e,ge(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Co(e,t,r,o))};function Ro(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Io(t)&&re(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return Io(t)&&ie(n)?!1:t in e}function zo(e,t){let n=e._def.props;if(!n)return!1;let r=ge(t);return Array.isArray(n)?n.some(e=>ge(e)===r):Object.keys(n).some(e=>ge(e)===r)}var Bo=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return C(t)?e=>Se(t,e):t};function Vo(e){e.target.composing=!0}function Ho(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Uo=Symbol(`_assign`);function Wo(e,t,n){return t&&(e=e.trim()),n&&(e=we(e)),e}var Go={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Uo]=Bo(i);let a=r||i.props&&i.props.type===`number`;To(e,t?`change`:`input`,t=>{t.target.composing||e[Uo](Wo(e.value,n,a))}),(n||a)&&To(e,`change`,()=>{e.value=Wo(e.value,n,a)}),t||(To(e,`compositionstart`,Vo),To(e,`compositionend`,Ho),To(e,`change`,Ho))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Uo]=Bo(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?we(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Ko={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i=te(t);To(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?we(Jo(e)):Jo(e));e[Uo](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,Vn(()=>{e._assigning=!1})}),e[Uo]=Bo(r)},mounted(e,{value:t}){qo(e,t)},beforeUpdate(e,t,n){e[Uo]=Bo(n)},updated(e,{value:t}){e._assigning||qo(e,t)}};function qo(e,t){let n=e.multiple,r=C(t);if(!(n&&!r&&!te(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=Jo(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=Re(t,o)>-1}else a.selected=t.has(o);else if(Le(Jo(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Jo(e){return`_value`in e?e._value:e.value}var Yo=y({patchProp:Lo},co),Xo;function Zo(){return Xo||=Wi(Yo)}var Qo=((...e)=>{let t=Zo().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=es(e);if(!r)return;let i=t._component;!re(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,$o(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function $o(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function es(e){return ie(e)?document.querySelector(e):e}function ts(e,t,n,r,i){return ns(t,((e,t)=>{let n=e[t];if(n===void 0)throw TypeError(om(t));return n})(e,t),n,r,i)}function ns(e,t,n,r,i,a){let o=Cs(t,n,r);if(i&&t!==o)throw RangeError(im(e,t,n,r,a));return o}function rs(e){return e!==null&&/object|function/.test(typeof e)}function is(e,t=Map){let n=new t;return(t,...r)=>{if(n.has(t))return n.get(t);let i=e(t,...r);return n.set(t,i),i}}function as(e){return os({name:e},1)}function os(e,t){return us((e=>({value:e,configurable:1,writable:!t})),e)}function ss(e){return us((e=>({get:e,configurable:1})),e)}function cs(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function ls(e,t){let n={},r=e.length;for(let i of t)n[e[--r]]=i;return n}function us(e,t,n){let r={};for(let i in t)r[i]=e(t[i],i,n);return r}function ds(e,t,n){let r={};for(let i=0;i<t.length;i++){let a=t[i];r[a]=e(a,i,n)}return r}function fs(e,t,n){let r={};for(let i=0;i<e.length;i++)r[t[i]]=n[e[i]];return r}function ps(e,t){let n=Object.create(null);for(let r of e)n[r]=t[r];return n}function ms(e,t){for(let n of t)if(n in e)return 1;return 0}function hs(e,t,n){for(let r of e)if(t[r]!==n[r])return 0;return 1}function gs(e,t,n){let r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function _s(e,...t){return(...n)=>e(...t,...n)}function vs(){}function ys(e){return e[0].toUpperCase()+e.substring(1)}function bs(e){return e.slice().sort()}function xs(e,t){return String(t).padStart(e,`0`)}function Ss(e,t){return Math.sign(e-t)}function Cs(e,t,n){return Math.min(Math.max(e,t),n)}function ws(e,t){return[Math.floor(e/t),Ts(e,t)]}function Ts(e,t){return(e%t+t)%t}function Es(e,t){return[Ds(e,t),Os(e,t)]}function Ds(e,t){return Math.trunc(e/t)||0}function Os(e,t){return e%t||0}function ks(e){return Math.abs(e%1)===.5}function As(e,t,n){let r=0,i=0;for(let a=0;a<=t;a++){let t=e[n[a]],o=Qm[a],[s,c]=Es(t,Zm/o);r+=c*o,i+=s}let[a,o]=Es(r,Zm);return[i+a,o]}function js(e,t,n){let r={};for(let i=t;i>=0;i--){let t=Qm[i];r[n[i]]=Ds(e,t),e=Os(e,t)}return r}function Ms(e){if(e!==void 0)return xh(e)}function Ns(e){if(e!==void 0)return Fs(e)}function Ps(e){if(e!==void 0)return Is(e)}function Fs(e){return Vs(Is(e))}function Is(e){return Bs(See(e))}function Ls(e,t){if(t==null)throw RangeError(om(e));return t}function Rs(e){if(!rs(e))throw TypeError(fee);return e}function zs(e,t,n=e){if(typeof t!==e)throw TypeError(am(n,t));return t}function Bs(e,t=`number`){if(!Number.isInteger(e))throw RangeError(oee(t,e));return e||0}function Vs(e,t=`number`){if(e<=0)throw RangeError(see(t,e));return e}function Hs(e){if(typeof e==`symbol`)throw TypeError(dee);return String(e)}function Us(e,t){return rs(e)?String(e):xh(e,t)}function Ws(e){if(typeof e==`string`)return BigInt(e);if(typeof e!=`bigint`)throw TypeError(uee(e));return e}function Gs(e,t=`number`){if(typeof e==`bigint`)throw TypeError(lee(t));if(e=Number(e),!Number.isFinite(e))throw RangeError(cee(t,e));return e}function Ks(e,t){return Math.trunc(Gs(e,t))||0}function qs(e,t){return Bs(Gs(e,t),t)}function Js(e,t){return Vs(Ks(e,t),t)}function Ys(e,t){let[n,r]=Es(t,Zm),i=e+n,a=Math.sign(i);return a&&a===-Math.sign(r)&&(i-=a,r+=a*864e11),[i,r]}function Xs(e,t,n=1){return Ys(e[0]+t[0]*n,e[1]+t[1]*n)}function Zs(e,t){return Ys(e[0],e[1]+t)}function Qs(e,t){return Xs(t,e,-1)}function $s(e,t){return Ss(e[0],t[0])||Ss(e[1],t[1])}function ec(e,t,n){return $s(e,t)===-1||$s(e,n)===1}function tc(e,t=1){let n=BigInt(Zm/t);return[Number(e/n),Number(e%n)*t]}function nc(e,t=1){let[n,r]=Es(e,Zm/t);return[n,r*t]}function rc(e,t=1){let[n,r]=e,i=Math.floor(r/t),a=Zm/t;return BigInt(n)*BigInt(a)+BigInt(i)}function ic(e,t=1,n){let[r,i]=e,[a,o]=Es(i,t);return Zm/t*r+(a+(n?o/t:0))}function ac(e){return e[0]+e[1]/Zm}function oc(e,t,n=ws){let[r,i]=e,[a,o]=n(i,t);return[Zm/t*r+a,o]}function sc(e){return ts(e,`isoYear`,Lh,Ih,1),e.isoYear===Lh?ts(e,`isoMonth`,4,12,1):e.isoYear===Ih&&ts(e,`isoMonth`,1,9,1),e}function cc(e){return lc({...e,...Nh,isoHour:12}),e}function lc(e){let t=ts(e,`isoYear`,Lh,Ih,1),n=t===Lh?1:t===Ih?-1:0;return n&&uc(gc({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function uc(e){if(!e||ec(e,kee,Oee))throw RangeError(Dm);return e}function dc(e){return As(e,5,Oh)[1]}function fc(e){let[t,n]=ws(e,Zm);return[js(n,5,Oh),t]}function pc(e){return mc(e)[0]}function mc(e){return oc(e,Jm)}function hc(e){return yc(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function gc(e){let t=hc(e);if(t!==void 0){let[n,r]=Es(t,Wm);return[n,r*qm+(e.isoMicrosecond||0)*Km+(e.isoNanosecond||0)]}}function _c(e,t){let[n,r]=fc(dc(e)-t);return uc(gc({...e,isoDay:e.isoDay+r,...n}))}function vc(...e){return yc(...e)/Gm}function yc(...e){let[t,n]=bc(...e),r=t.valueOf();if(!isNaN(r))return r-n*Wm}function bc(e,t=1,n=1,r=0,i=0,a=0,o=0){let s=e===Lh?1:e===Ih?-1:0,c=new Date;return c.setUTCHours(r,i,a,o),c.setUTCFullYear(e,t-1,n+s),[c,s]}function xc(e,t){let[n,r]=Zs(e,t);r<0&&(r+=864e11,--n);let[i,a]=ws(r,qm),[o,s]=ws(a,Km);return Sc(n*Wm+i,o,s)}function Sc(e,t=0,n=0){let r=Math.ceil(Math.max(0,Math.abs(e)-Fh)/Wm)*Math.sign(e),i=new Date(e-r*Wm);return ls(Ah,[i.getUTCFullYear(),i.getUTCMonth()+1,i.getUTCDate()+r,i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds(),t,n])}function Cc(e,t){if(t<-Fh)throw RangeError(Dm);let n=e.formatToParts(t),r={};for(let e of n)r[e.type]=e.value;return r}function wc(e){return e.isoDay}function Tc(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Ec(e,t){return[t,0]}function Dc(e,t){if(!t)return[zh,e]}function Oc(e,t,n){return{isoYear:e,isoMonth:t,isoDay:n}}function kc(){return 7}function Ac(){return Bh}function jc(e,t){switch(t){case 2:return Nc(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Mc(e){return Nc(e)?366:365}function Nc(e){return e%4==0&&(e%100!=0||e%400==0)}function Pc(e){let[t,n]=bc(e.isoYear,e.isoMonth,e.isoDay);return Ts(t.getUTCDay()-n,7)||7}function Fc(e){return this.id===gh?(({isoYear:e})=>e<1?[`gregory-inverse`,1-e]:[`gregory`,e])(e):this.id===_h?Mee(e):[]}function Ic(e){let t=hc(e);if(t<jee){let{isoYear:t}=e;return t<1?[`japanese-inverse`,1-t]:[`japanese`,t]}let{era:n,eraYear:r}=Pf(Cc(bg(_h),t),_h);return[n,r]}function Lc(e){return Rc(e),Vc(e,1),e}function Rc(e){return Bc(e,1),e}function zc(e){return hs(kh,e,Bc(e))}function Bc(e,t){let{isoYear:n}=e,r=ts(e,`isoMonth`,1,Ac(),t);return{isoYear:n,isoMonth:r,isoDay:ts(e,`isoDay`,1,jc(n,r),t)}}function Vc(e,t){return ls(Oh,[ts(e,`isoHour`,0,23,t),ts(e,`isoMinute`,0,59,t),ts(e,`isoSecond`,0,59,t),ts(e,`isoMillisecond`,0,999,t),ts(e,`isoMicrosecond`,0,999,t),ts(e,`isoNanosecond`,0,999,t)])}function Hc(e){return e===void 0?0:Xh(Rs(e))}function Uc(e,t=0){e=el(e);let n=Zh(e),r=Uee(e,t);return[Xh(e),r,n]}function Wc(e,t,n,r=9,i=0,a=4){t=el(t);let o=Yh(t,r,i),s=Zc(t),c=$h(t,a),l=Jh(t,r,i,1);return o==null?o=Math.max(n,l):al(o,l),s=Qc(s,l,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[o,l,s,c]}function Gc(e,t=6,n){let r=Zc(e=tl(e,Vh)),i=$h(e,7),a=Jh(e,t);return a=Ls(Vh,a),r=Qc(r,a,void 0,n),[a,r,i]}function Kc(e){return Qh(el(e))}function qc(e,t){return Yc(el(e),t)}function Jc(e){let t=il(Kh,Vee,tl(e,Kh),0);if(!t)throw RangeError(am(Kh,t));return t}function Yc(e,t=4){let n=$c(e);return[$h(e,4),...Xc(Jh(e,t),n)]}function Xc(e,t){return e==null?[t===void 0?1:10**(9-t),t]:[Qm[e],e<4?9-3*e:-1]}function Zc(e){let t=e[Uh];return t===void 0?1:Ks(t,Uh)}function Qc(e,t,n,r){let i=r?Zm:Qm[t+1];if(i){let n=Qm[t];if(i%((e=ns(Uh,e,1,i/n-+!r,1))*n))throw RangeError(am(Uh,e))}else e=ns(Uh,e,1,n?10**9:1,1);return e}function $c(e){let t=e[Wh];if(t!==void 0){if(typeof t!=`number`){if(Hs(t)===`auto`)return;throw RangeError(am(Wh,t))}t=ns(Wh,Math.floor(t),0,9,1)}return t}function el(e){return e===void 0?{}:Rs(e)}function tl(e,t){return typeof e==`string`?{[t]:e}:Rs(e)}function nl(e){return{overflow:Pee[e]}}function rl(e,t,n=9,r=0,i){let a=t[e];if(a===void 0)return i?r:void 0;if(a=Hs(a),a===`auto`)return i?r:null;let o=Hm[a];if(o===void 0&&(o=Tee[a]),o===void 0)throw RangeError(cm(e,a,Hm));return ns(e,o,r,n,1,Um),o}function il(e,t,n,r=0){let i=n[e];if(i===void 0)return r;let a=Hs(i),o=t[a];if(o===void 0)throw RangeError(cm(e,a,t));return o}function al(e,t){if(t>e)throw RangeError(Nm)}function ol(e){return{branding:og,epochNanoseconds:e}}function sl(e,t,n){return{branding:ag,calendar:n,timeZone:t,epochNanoseconds:e}}function cl(e,t=e.calendar){return{branding:rg,calendar:t,...ps(Eee,e)}}function ll(e,t=e.calendar){return{branding:ng,calendar:t,...ps(jh,e)}}function ul(e,t=e.calendar){return{branding:eg,calendar:t,...ps(jh,e)}}function dl(e,t=e.calendar){return{branding:tg,calendar:t,...ps(jh,e)}}function fl(e){return{branding:ig,...ps(Mh,e)}}function pl(e){return{branding:sg,sign:Gu(e),...ps(Ch,e)}}function ml(e){return oc(e.epochNanoseconds,qm)[0]}function hl(e){return rc(e.epochNanoseconds)}function gl(e){return e.epochNanoseconds}function _l(e,t,n,r,i){let a=Qu(r),[o,s]=((e,t)=>{let n=t((e=tl(e,Hh))[Gh]),r=Hee(e);return r=Ls(Hh,r),[r,n]})(i,e);if(!s&&Ru(Math.max(o,a),s))return yl(r,o);if(!s)throw RangeError(Am);if(!r.sign)return 0;let[c,l,u]=Nu(t,n,s),d=Pu(u),f=Fu(u),p=Iu(u),m=f(l,c,r);Lu(s)||(lc(c),lc(m));let h=p(l,c,m,o);return Ru(o,s)?yl(h,o):vl(h,d(m),o,l,c,d,f)}function vl(e,t,n,r,i,a,o){let s=Gu(e),[c,l]=bl(r,Dh(n,e),n,s,i,a,o),u=xl(t,c,l);return e[Sh[n]]+u*s}function yl(e,t){return ic(Ju(e),Qm[t],1)}function bl(e,t,n,r,i,a,o){let s=Sh[n],c={...t,[s]:t[s]+r},l=o(e,i,t),u=o(e,i,c);return[a(l),a(u)]}function xl(e,t,n){let r=ic(Qs(t,n));if(!r)throw RangeError(_m);return ic(Qs(t,e))/r}function Sl(e,t){let[n,r,i]=Gc(t,5,1);return ol(zl(e.epochNanoseconds,n,r,i,1))}function Cl(e,t,n){let{epochNanoseconds:r,timeZone:i,calendar:a}=t,[o,s,c]=Gc(n);if(o===0&&s===1)return t;let l=e(i);if(o===6)r=kl(Fl,l,t,c);else{let e=l.N(r);r=mu(l,Al(xc(r,e),o,s,c),e,2,0,1)}return sl(r,i,a)}function wl(e,t){return cl(Al(e,...Gc(t)),e.calendar)}function Tl(e,t){let[n,r,i]=Gc(t,5);var a;return fl((a=i,Ml(e,Pl(n,r),a)[0]))}function El(e,t){let n=e(t.timeZone),[r,i]=Fl(ug(t,n)),a=ic(Qs(gu(n,r),gu(n,i)),Xm,1);if(a<=0)throw RangeError(_m);return a}function Dl(e,t){let{timeZone:n,calendar:r}=t;return sl(Ol(Il,e(n),t),n,r)}function Ol(e,t,n){return gu(t,e(ug(n,t)))}function kl(e,t,n,r){let[i,a]=e(ug(n,t)),o=n.epochNanoseconds,s=gu(t,i),c=gu(t,a);if(ec(o,s,c))throw RangeError(_m);return Hl(xl(o,s,c),r)?c:s}function Al(e,t,n,r){return jl(e,Pl(t,n),r)}function jl(e,t,n){let[r,i]=Ml(e,t,n);return lc({...Mu(e,i),...r})}function Ml(e,t,n){return fc(Vl(dc(e),t,n))}function Nl(e){return Vl(e,Ym,7)}function Pl(e,t){return Qm[e]*t}function Fl(e){let t=Il(e);return[t,Mu(t,1)]}function Il(e){return Dee(6,e)}function Ll(e,t,n){let r=Math.min(Qu(e),6);return Yu(Bl(Ju(e,r),t,n),r)}function Rl(e,t,n,r,i,a,o,s,c,l){if(r===0&&i===1)return e;let[u,d,f]=(Ru(r,s)?Lu(s)&&r<6&&n>=6?Wl:Ul:Gl)(e,t,n,r,i,a,o,s,c,l);return f&&r!==7&&(u=((e,t,n,r,i,a,o,s)=>{let c=Gu(e);for(let l=r+1;l<=n;l++){if(l===7&&n!==7)continue;let r=Dh(l,e);r[Sh[l]]+=c;let u=ic(Qs(o(s(i,a,r)),t));if(u&&Math.sign(u)!==c)break;e=r}return e})(u,d,n,Math.max(6,r),o,s,c,l)),u}function zl(e,t,n,r,i){return t===6?[Vl(ac(e),n,r),0]:Bl(e,Pl(t,n),r,i)}function Bl(e,t,n,r){let[i,a]=e;r&&a<0&&(a+=864e11,--i);let[o,s]=ws(Vl(a,t,n),Zm);return Ys(i+o,s)}function Vl(e,t,n){return Hl(e/t,n)*t}function Hl(e,t){return Kee[t](e)}function Ul(e,t,n,r,i,a){let o=Gu(e),s=Ju(e),c=zl(s,r,i,a),l=Qs(s,c),u=Math.sign(c[0]-s[0])===o,d=Yu(c,Math.min(n,6));return[{...e,...d},Xs(t,l),u]}function Wl(e,t,n,r,i,a,o,s,c,l){let u=Gu(e)||1,d=ic(Ju(e,5)),f=Pl(r,i),p=Vl(d,f,a),[m,h]=bl(o,{...e,...Eh},6,u,s,c,l),g=p-ic(Qs(m,h)),_=0;g&&Math.sign(g)!==u?t=Zs(m,p):(_+=u,p=Vl(g,f,a),t=Zs(h,p));let v=Xu(p);return[{...e,...v,days:e.days+_},t,!!_]}function Gl(e,t,n,r,i,a,o,s,c,l){let u=Gu(e),d=Sh[r],f=Dh(r,e);r===7&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});let p=Ds(e[d],i)*i;f[d]=p;let[m,h]=bl(o,f,r,i*u,s,c,l),g=p+xl(t,m,h)*u*i,_=Vl(g,i,a),v=Math.sign(_-g)===u;return f[d]=_,[f,v?h:m,v]}function Kl(e,t,n,r){let[i,a,o,s]=(e=>{let t=Yc(e=el(e));return[e.timeZone,...t]})(r),c=i!==void 0;return((e,t,n,r,i,a)=>{n=Bl(n,i,r,1);let o=t.N(n);return nu(xc(n,o),a)+(e?su(Nl(o)):`Z`)})(c,t(c?e(i):cg),n.epochNanoseconds,a,o,s)}function ql(e,t,n){let[r,i,a,o,s,c]=(e=>{e=el(e);let t=Qh(e),n=$c(e),r=Gee(e),i=$h(e,4),a=Jh(e,4);return[t,Wee(e),r,i,...Xc(a,n)]})(n);return((e,t,n,r,i,a,o,s,c,l)=>{r=Bl(r,c,s,1);let u=e(n).N(r);return nu(xc(r,u),l)+su(Nl(u),o)+((e,t)=>t===1?``:`[`+(t===2?`!`:``)+e+`]`)(n,a)+cu(t,i)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,i,a,o,s,c)}function Jl(e,t){let[n,r,i,a]=(e=>(e=el(e),[Qh(e),...Yc(e)]))(t);return o=e.calendar,s=n,c=a,nu(jl(e,i,r),c)+cu(o,s);var o,s,c}function Yl(e,t){return n=e.calendar,r=e,i=Kc(t),ru(r)+cu(n,i);var n,r,i}function Xl(e,t){return eu(e.calendar,iu,e,Kc(t))}function Zl(e,t){return eu(e.calendar,au,e,Kc(t))}function Ql(e,t){let[n,r,i]=qc(t);return a=i,ou(Ml(e,r,n)[0],a);var a}function $l(e,t){let[n,r,i]=qc(t,3);return r>1&&Ku(e={...e,...Ll(e,r,n)}),((e,t)=>{let{sign:n}=e,r=n===-1?Uu(e):e,{hours:i,minutes:a}=r,[o,s]=oc(Ju(r,3),Jm,Es);qu(o);let c=uu(s,t),l=t>=0||!n||c;return(n<0?`-`:``)+`P`+tu({Y:fu(r.years),M:fu(r.months),W:fu(r.weeks),D:fu(r.days)})+(i||a||o||l?`T`+tu({H:fu(i),M:fu(a),S:fu(o,l)+c}):``)})(e,i)}function eu(e,t,n,r){return r===1?e===`iso8601`?t(n):ru(n):r>1||r===0&&e!==`iso8601`?ru(n)+lu(e,r===2):t(n)}function tu(e){let t=[];for(let n in e){let r=e[n];r&&t.push(r,n)}return t.join(``)}function nu(e,t){return ru(e)+`T`+ou(e,t)}function ru(e){return iu(e)+`-`+Vm(e.isoDay)}function iu(e){let{isoYear:t}=e;return(t<0||t>9999?du(t)+xs(6,Math.abs(t)):xs(4,t))+`-`+Vm(e.isoMonth)}function au(e){return Vm(e.isoMonth)+`-`+Vm(e.isoDay)}function ou(e,t){let n=[Vm(e.isoHour),Vm(e.isoMinute)];return t!==-1&&n.push(Vm(e.isoSecond)+((e,t,n,r)=>uu(e*1e6+t*1e3+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(`:`)}function su(e,t=0){if(t===1)return``;let[n,r]=ws(Math.abs(e),Xm),[i,a]=ws(r,Ym),[o,s]=ws(a,Jm);return du(e)+Vm(n)+`:`+Vm(i)+(o||s?`:`+Vm(o)+uu(s):``)}function cu(e,t){return t!==1&&(t>1||t===0&&e!==`iso8601`)?lu(e,t===2):``}function lu(e,t){return`[`+(t?`!`:``)+`u-ca=`+e+`]`}function uu(e,t){let n=xs(9,e);return n=t===void 0?n.replace(Yee,``):n.slice(0,t),n?`.`+n:``}function du(e){return e<0?`-`:`+`}function fu(e,t){return e||t?e.toLocaleString(`fullwide`,{useGrouping:0}):``}function pu(e,t){let{epochNanoseconds:n}=e,r=(t.N?t:t(e.timeZone)).N(n),i=xc(n,r);return{calendar:e.calendar,...i,offsetNanoseconds:r}}function mu(e,t,n,r=0,i=0,a,o){if(n!==void 0&&r===1&&(r===1||o))return _c(t,n);let s=e.v(t);if(n!==void 0&&r!==3){let e=((e,t,n,r)=>{let i=gc(t);r&&(n=Nl(n));for(let t of e){let e=ic(Qs(t,i));if(r&&(e=Nl(e)),e===n)return t}})(s,t,n,a);if(e!==void 0)return e;if(r===0)throw RangeError(Tm)}return o?gc(t):hu(e,t,i,s)}function hu(e,t,n=0,r=e.v(t)){if(r.length===1)return r[0];if(n===1)throw RangeError(Em);if(r.length)return r[+(n===3)];let i=gc(t),a=((e,t)=>{let n=e.N(Zs(t,-Zm));return(e=>{if(e>864e11)throw RangeError(wm);return e})(e.N(Zs(t,Zm))-n)})(e,i)*(n===2?-1:1);return(r=e.v(xc(i,a)))[n===2?0:r.length-1]}function gu(e,t){let n=e.v(t);if(n.length)return n[0];let r=Zs(gc(t),-Zm);return e.l(r,1)}function _u(e,t,n){return ol(uc(Xs(t.epochNanoseconds,(e=>{if(Zu(e))throw RangeError(jm);return Ju(e,5)})(e?Uu(n):n))))}function vu(e,t,n,r,i,a=Object.create(null)){let o=t(r.timeZone),s=e(r.calendar);return{...r,...Cu(o,s,r,n?Uu(i):i,a)}}function yu(e,t,n,r,i=Object.create(null)){let{calendar:a}=n;return cl(wu(e(a),n,t?Uu(r):r,i),a)}function bu(e,t,n,r,i){let{calendar:a}=n;return ll(Tu(e(a),n,t?Uu(r):r,i),a)}function xu(e,t,n,r,i){let a=n.calendar,o=e(a),s=cc(Eu(o,n));return t&&(r=Hu(r)),r.sign<0&&(s=o.P(s,{...Th,months:1}),s=Mu(s,-1)),ul(Eu(o,o.P(s,r,i)),a)}function Su(e,t,n){return fl(Du(t,e?Uu(n):n)[0])}function Cu(e,t,n,r,i){let a=Ju(r,5),o=n.epochNanoseconds;if(Zu(r)){let s=ug(n,e);o=Xs(hu(e,{...Tu(t,s,{...r,...Eh},i),...ps(Oh,s)}),a)}else o=Xs(o,a),Hc(i);return{epochNanoseconds:uc(o)}}function wu(e,t,n,r){let[i,a]=Du(t,n);return lc({...Tu(e,t,{...n,...Eh,days:n.days+a},r),...i})}function Tu(e,t,n,r){if(n.years||n.months||n.weeks)return e.P(t,n,r);Hc(r);let i=n.days+Ju(n,5)[0];return i?cc(Mu(t,i)):t}function Eu(e,t,n=1){return Mu(t,n-e.day(t))}function Du(e,t){let[n,r]=Ju(t,5),[i,a]=fc(dc(e)+r);return[i,n+a]}function Ou(e,t,n){let r=Hc(n),i,{years:a,months:o,weeks:s,days:c}=t;if(c+=Ju(t,5)[0],a||o)i=ku(this,e,a,o,r);else{if(!s&&!c)return e;i=hc(e)}if(i===void 0)throw RangeError(Dm);return i+=(7*s+c)*Wm,cc(Sc(i))}function ku(e,t,n,r,i){let[a,o,s]=e.u(t);if(n){let[t,r]=e.m(a,o);a+=n,o=Tf(t,r,e.F(a)),o=ns(`month`,o,1,e.O(a),i)}return r&&([a,o]=e.p(a,o,r)),s=ns(`day`,s,1,e.B(a,o),i),e.M(a,o,s)}function Au(e,t,n){return e+=Ds(n,Bh),(t+=Os(n,Bh))<1?(e--,t+=Bh):t>Bh&&(e++,t-=Bh),[e,t]}function ju(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw RangeError(Dm);if(n<0)for(;t<1;)t+=Gf.call(this,--e);else{let n;for(;t>(n=Gf.call(this,e));)t-=n,e++}}return[e,t]}function Mu(e,t){return t?{...e,...Sc(hc(e)+t*Wm)}:e}function Nu(e,t,n){let r=e(n.calendar);return Lu(n)?[n,r,t(n.timeZone)]:[{...n,...Nh},r]}function Pu(e){return e?gl:gc}function Fu(e){return e?_s(Cu,e):wu}function Iu(e){return e?_s(ef,e):tf}function Lu(e){return e&&e.epochNanoseconds}function Ru(e,t){return e<=6-!!Lu(t)}function zu(e,t,n,r,i,a,o){let s=e(el(o).relativeTo),c=Math.max(Qu(i),Qu(a));if(Ru(c,s))return pl(Ku(((e,t,n,r)=>{let i=Xs(Ju(e),Ju(t),r?-1:1);if(!Number.isFinite(i[0]))throw RangeError(Dm);return{...Th,...Yu(i,n)}})(i,a,c,r)));if(!s)throw RangeError(Am);r&&(a=Uu(a));let[l,u,d]=Nu(t,n,s),f=Fu(d);return pl(Iu(d)(u,l,f(u,f(u,l,i),a),c))}function Bu(e,t,n,r,i){let a=Qu(r),[o,s,c,l,u]=((e,t,n)=>{e=tl(e,Vh);let r=Yh(e),i=n(e[Gh]),a=Zc(e),o=$h(e,7),s=Jh(e);if(r===void 0&&s===void 0)throw RangeError(Mm);if(s??=0,r??=Math.max(s,t),al(r,s),a=Qc(a,s,1),a>1&&s>5&&r!==s)throw RangeError(`For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit`);return[r,s,a,o,i]})(i,a,e);if(!u&&Math.max(a,o)<=6)return pl(Ku(((e,t,n,r,i)=>{let a=zl(Ju(e),n,r,i);return{...Th,...Yu(a,t)}})(r,o,s,c,l)));if(!Lu(u)&&!r.sign)return r;if(!u)throw RangeError(Am);let[d,f,p]=Nu(t,n,u),m=Pu(p),h=Fu(p),g=Iu(p),_=h(f,d,r);Lu(u)||(lc(d),lc(_));let v=g(f,d,_,o),y=r.sign,b=Gu(v);if(y&&b&&y!==b)throw RangeError(_m);return v=Rl(v,m(_),o,s,c,l,f,d,m,h),pl(v)}function Vu(e){return e.sign===-1?Hu(e):e}function Hu(e){return pl(Uu(e))}function Uu(e){let t={};for(let n of Sh)t[n]=-1*e[n]||0;return t}function Wu(e){return!e.sign}function Gu(e,t=Sh){let n=0;for(let r of t){let t=Math.sign(e[r]);if(t){if(n&&n!==t)throw RangeError(km);n=t}}return n}function Ku(e){for(let t of wee)ns(t,e[t],-dg,dg,1);return qu(ic(Ju(e),Jm)),e}function qu(e){if(!Number.isSafeInteger(e))throw RangeError(Om)}function Ju(e,t=6){return As(e,t,Sh)}function Yu(e,t=6){let[n,r]=e,i=js(r,t,Sh);if(i[Sh[t]]+=n*(864e11/Qm[t]),!Number.isFinite(i[Sh[t]]))throw RangeError(Dm);return i}function Xu(e,t=5){return js(e,t,Sh)}function Zu(e){return!!Gu(e,wh)}function Qu(e){let t=9;for(;t>0&&!e[Sh[t]];t--);return t}function $u(e,t){return[e,t]}function ed(e){let t=Math.floor(e/lg)*lg;return[t,t+lg]}function td(e){let t=vd(e=Us(e));if(!t)throw RangeError(Pm(e));let n;if(t.C)n=0;else{if(!t.offset)throw RangeError(Pm(e));n=id(t.offset)}return t.timeZone&&xd(t.timeZone,1),ol(_c(Lc(t),n))}function nd(e){let t=vd(xh(e));if(!t)throw RangeError(Pm(e));if(t.timeZone)return md(t,t.offset?id(t.offset):void 0);if(t.C)throw RangeError(Pm(e));return gd(t)}function rd(e,t){let n=vd(xh(e));if(!n||!n.timeZone)throw RangeError(Pm(e));let{offset:r}=n,i=r?id(r):void 0,[,a,o]=Uc(t);return md(n,i,a,o)}function id(e){let t=xd(e);if(t===void 0)throw RangeError(Pm(e));return t}function ad(e){let t=vd(xh(e));if(!t||t.C)throw RangeError(Pm(e));return cl(hd(t))}function od(e,t,n){let r=vd(xh(e));if(!r||r.C)throw RangeError(Pm(e));return t?r.calendar===`iso8601`&&(r=r.isoYear===-271821&&r.isoMonth===4?{...r,isoDay:20,...Nh}:{...r,isoDay:1,...Nh}):n&&r.calendar===`iso8601`&&(r={...r,isoYear:zh}),ll(r.k?hd(r):gd(r))}function sd(e,t){let n=yd(xh(t));if(n)return cd(n),ul(sc(Rc(n)));let r=od(t,1);return ul(Eu(e(r.calendar),r))}function cd(e){if(e.calendar!==`iso8601`)throw RangeError(Fm(e.calendar))}function ld(e,t){let n=bd(xh(t));if(n)return cd(n),dl(Rc(n));let r=od(t,0,1),{calendar:i}=r,a=e(i),[o,s,c]=a.u(r),[l,u]=a.m(o,s),[d,f]=a.R(l,u,c);return dl(cc(a.U(d,f,c)),i)}function ud(e){let t,n=(e=>{let t=nte.exec(e);return t?(wd(t[10]),Cd(t)):void 0})(xh(e));if(!n){if(n=vd(e),!n||!n.k)throw RangeError(Pm(e));if(n.C)throw RangeError(Fm(`Z`));cd(n)}if((t=yd(e))&&zc(t)||(t=bd(e))&&zc(t))throw RangeError(Pm(e));return fl(Vc(n,1))}function dd(e){let t=(e=>{let t=ate.exec(e);return t?(e=>{function t(e,t,a){let o=0,s=0;if(a&&([o,i]=ws(i,Qm[a])),e!==void 0){if(r)throw RangeError(Fm(e));s=(e=>{let t=parseInt(e);if(!Number.isFinite(t))throw RangeError(Fm(e));return t})(e),n=1,t&&(i=Td(t)*(Qm[a]/1e9),r=1)}return o+s}let n=0,r=0,i=0,a={...ls(Sh,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...js(i,2,Sh)};if(!n)throw RangeError(sm(Sh));return Dd(e[1])<0&&(a=Uu(a)),a})(t):void 0})(xh(e));if(!t)throw RangeError(Pm(e));return pl(Ku(t))}function fd(e){let t=vd(e)||yd(e)||bd(e);return t?t.calendar:e}function pd(e){let t=vd(e);return t&&(t.timeZone||t.C&&cg||t.offset)||e}function md(e,t,n=0,r=0){let i=Ad(e.timeZone),a=fg(i),o;return Lc(e),o=e.k?mu(a,e,t,n,r,!a.j,e.C):gu(a,e),sl(o,i,Xf(e.calendar))}function hd(e){return _d(lc(Lc(e)))}function gd(e){return _d(cc(Rc(e)))}function _d(e){return{...e,calendar:Xf(e.calendar)}}function vd(e){let t=tte.exec(e);return t?(e=>{let t=e[10],n=(t||``).toUpperCase()===`Z`;return{isoYear:Sd(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Cd(e.slice(5)),...wd(e[16]),k:!!e[6],C:n,offset:n?void 0:t}})(t):void 0}function yd(e){let t=$ee.exec(e);return t?(e=>({isoYear:Sd(e),isoMonth:parseInt(e[4]),isoDay:1,...wd(e[5])}))(t):void 0}function bd(e){let t=ete.exec(e);return t?(e=>({isoYear:zh,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...wd(e[3])}))(t):void 0}function xd(e,t){let n=rte.exec(e);return n?((e,t)=>{let n=e[4]||e[5];if(t&&n)throw RangeError(Fm(n));return(e=>{if(Math.abs(e)>=864e11)throw RangeError(Cm);return e})((Od(e[2])*Xm+Od(e[3])*Ym+Od(e[4])*Jm+Td(e[5]||``))*Dd(e[1]))})(n,t):void 0}function Sd(e){let t=Dd(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw RangeError(Fm(-0));return t*n}function Cd(e){let t=Od(e[3]);return{...fc(Td(e[4]||``))[0],isoHour:Od(e[1]),isoMinute:Od(e[2]),isoSecond:t===60?59:t}}function wd(e){let t,n,r=[];if(e.replace(ite,((e,i,a)=>{let o=!!i,[s,c]=a.split(`=`).reverse();if(c){if(c===`u-ca`)r.push(s),t||=o;else if(o||/[A-Z]/.test(c))throw RangeError(Fm(e))}else{if(n)throw RangeError(Fm(e));n=s}return``})),r.length>1&&t)throw RangeError(Fm(e));return{timeZone:n,calendar:r[0]||`iso8601`}}function Td(e){return parseInt(e.padEnd(9,`0`))}function Ed(e){return RegExp(`^${e}$`,`i`)}function Dd(e){return e&&e!==`+`?-1:1}function Od(e){return e===void 0?0:parseInt(e)}function kd(e){return Ad(xh(e))}function Ad(e){let t=Md(e);return typeof t==`number`?su(t):t?(e=>{if(cte.test(e))throw RangeError(bm(e));if(ste.test(e))throw RangeError(Sm);return e.toLowerCase().split(`/`).map(((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,((e,n)=>e.length<=2&&!t||e===`in`||e===`chat`?e.toUpperCase():e.length>2||!n?ys(e).replace(/island|noronha|murdo|rivadavia|urville/,ys):e)))).join(`/`)})(e):cg}function jd(e){let t=Md(e);return typeof t==`number`?t:t?t.resolvedOptions().timeZone:cg}function Md(e){let t=xd(e=e.toUpperCase(),1);return t===void 0?e===cg?void 0:ote(e):t}function Nd(e,t){return $s(e.epochNanoseconds,t.epochNanoseconds)}function Pd(e,t){return $s(e.epochNanoseconds,t.epochNanoseconds)}function Fd(e,t,n,r,i,a){let o=e(el(a).relativeTo),s=Math.max(Qu(r),Qu(i));if(hs(Sh,r,i))return 0;if(Ru(s,o))return $s(Ju(r),Ju(i));if(!o)throw RangeError(Am);let[c,l,u]=Nu(t,n,o),d=Pu(u),f=Fu(u);return $s(d(f(l,c,r)),d(f(l,c,i)))}function Id(e,t){return Ld(e,t)||Rd(e,t)}function Ld(e,t){return Ss(hc(e),hc(t))}function Rd(e,t){return Ss(dc(e),dc(t))}function zd(e,t){return!Nd(e,t)}function Bd(e,t){return!Pd(e,t)&&!!Kd(e.timeZone,t.timeZone)&&e.calendar===t.calendar}function Vd(e,t){return!Id(e,t)&&e.calendar===t.calendar}function Hd(e,t){return!Ld(e,t)&&e.calendar===t.calendar}function Ud(e,t){return!Ld(e,t)&&e.calendar===t.calendar}function Wd(e,t){return!Ld(e,t)&&e.calendar===t.calendar}function Gd(e,t){return!Rd(e,t)}function Kd(e,t){if(e===t)return 1;try{return jd(e)===jd(t)}catch{}}function qd(e,t,n,r){let i=Wc(e,r,3,5),a=of(t.epochNanoseconds,n.epochNanoseconds,...i);return pl(e?Uu(a):a)}function Jd(e,t,n,r,i,a){let o=mf(r.calendar,i.calendar),[s,c,l,u]=Wc(n,a,5),d=r.epochNanoseconds,f=i.epochNanoseconds,p=$s(f,d),m;if(p)if(s<6)m=of(d,f,s,c,l,u);else{let n=t(hf(r.timeZone,i.timeZone)),d=e(o);m=nf(d,n,r,i,p,s,a),m=Rl(m,f,s,c,l,u,d,r,gl,_s(Cu,n))}else m=Th;return pl(n?Uu(m):m)}function Yd(e,t,n,r,i){let a=mf(n.calendar,r.calendar),[o,s,c,l]=Wc(t,i,6),u=gc(n),d=gc(r),f=$s(d,u),p;if(f)if(o<=6)p=of(u,d,o,s,c,l);else{let t=e(a);p=rf(t,n,r,f,o,i),p=Rl(p,d,o,s,c,l,t,n,gc,wu)}else p=Th;return pl(t?Uu(p):p)}function Xd(e,t,n,r,i){let a=mf(n.calendar,r.calendar);return Qd(t,(()=>e(a)),n,r,...Wc(t,i,6,9,6))}function Zd(e,t,n,r,i){let a=mf(n.calendar,r.calendar),o=Wc(t,i,9,9,8),s=e(a),c=Eu(s,n),l=Eu(s,r);return c.isoYear===l.isoYear&&c.isoMonth===l.isoMonth&&c.isoDay===l.isoDay?pl(Th):Qd(t,(()=>s),cc(c),cc(l),...o,8)}function Qd(e,t,n,r,i,a,o,s,c=6){let l=gc(n),u=gc(r);if(l===void 0||u===void 0)throw RangeError(Dm);let d;if($s(u,l))if(i===6)d=of(l,u,i,a,o,s);else{let e=t();d=e.h(n,r,i),a===c&&o===1||(d=Rl(d,u,i,a,o,s,e,n,gc,Tu))}else d=Th;return pl(e?Uu(d):d)}function $d(e,t,n,r){let[i,a,o,s]=Wc(e,r,5,5),c=Vl(uf(t,n),Pl(a,o),s),l={...Th,...Xu(c,i)};return pl(e?Uu(l):l)}function ef(e,t,n,r,i,a){let o=$s(r.epochNanoseconds,n.epochNanoseconds);return o?i<6?sf(n.epochNanoseconds,r.epochNanoseconds,i):nf(t,e,n,r,o,i,a):Th}function tf(e,t,n,r,i){let a=gc(t),o=gc(n),s=$s(o,a);return s?r<=6?sf(a,o,r):rf(e,t,n,s,r,i):Th}function nf(e,t,n,r,i,a,o){let[s,c,l]=af(t,n,r,i);var u,d;return{...a===6?(u=s,d=c,{...Th,days:cf(u,d)}):e.h(s,c,a,o),...Xu(l)}}function rf(e,t,n,r,i,a){let[o,s,c]=((e,t,n)=>{let r=t,i=uf(e,t);return Math.sign(i)===-n&&(r=Mu(t,-n),i+=864e11*n),[e,r,i]})(t,n,r);return{...e.h(o,s,i,a),...Xu(c)}}function af(e,t,n,r){function i(){return d={...Mu(s,l++*-r),...o},f=hu(e,d),$s(c,f)===-r}let a=ug(t,e),o=ps(Oh,a),s=ug(n,e),c=n.epochNanoseconds,l=0,u=uf(a,s),d,f;if(Math.sign(u)===-r&&l++,i()&&(r===-1||i()))throw RangeError(_m);let p=ic(Qs(f,c));return[a,d,p]}function of(e,t,n,r,i,a){return{...Th,...Yu(zl(Qs(e,t),r,i,a),n)}}function sf(e,t,n){return{...Th,...Yu(Qs(e,t),n)}}function cf(e,t){return lf(hc(e),hc(t))}function lf(e,t){return Math.trunc((t-e)/Wm)}function uf(e,t){return dc(t)-dc(e)}function df(e,t,n){if(n<=7){let r=0,i=cf({...e,...Nh},{...t,...Nh});return n===7&&([r,i]=Es(i,7)),{...Th,weeks:r,days:i}}let r=this.u(e),i=this.u(t),[a,o,s]=((e,t,n,r,i,a,o)=>{let s=i-t,c=a-n,l=o-r;if(s||c){let u=Math.sign(s||c),d=e.B(i,a),f=0;if(Math.sign(l)===-u){let r=d;[i,a]=e.p(i,a,-u),s=i-t,c=a-n,d=e.B(i,a),f=u<0?-r:d}if(l=o-Math.min(r,d)+f,s){let[r,o]=e.m(t,n),[l,d]=e.m(i,a);if(c=l-r||Number(d)-Number(o),Math.sign(c)===-u){let n=u<0&&-e.O(i);s=(i-=u)-t,c=a-Tf(r,o,e.F(i))+(n||e.O(i))}}}return[s,c,l]})(this,...r,...i);return n===8&&(o+=this.q(a,r[0]),a=0),{...Th,years:a,months:o,days:s}}function ff(e){return e*Bh}function pf(e,t){let n=t+e,r=Math.sign(e),i=r<0?-1:0,a=0;for(let e=t;e!==n;e+=r)a+=Gf.call(this,e+i);return a}function mf(e,t){if(e!==t)throw RangeError(ym);return e}function hf(e,t){if(!Kd(e,t))throw RangeError(xm);return e}function gf(e){return this.I(e)[0]}function _f(e){return this.I(e)[1]}function vf(e){let[t]=this.u(e);return this.L(t)}function yf(e){let[t]=this.u(e);return this.O(t)}function bf(e){let[t,n]=this.u(e);return this.B(t,n)}function xf(e){let[t]=this.u(e);return this.G(t)}function Sf(e){let[t]=this.u(e);return lf(this.M(t),hc(e))+1}function Cf(e){let t=lte.exec(e);if(!t)throw RangeError(pm(e));return[parseInt(t[1]),!!t[2]]}function wf(e,t){return`M`+Vm(e)+(t?`L`:``)}function Tf(e,t,n){return e+(t||n&&e>=n?1:0)}function Ef(e,t){return e-(t&&e>=t?1:0)}function Df(e,t){return(t+e)*(Math.sign(t)||1)||0}function Of(e){return vh[Af(e)]}function kf(e){return bh[Af(e)]}function Af(e){return Zf(e.id||`iso8601`)}function jf(e){function t(e){return((e,t)=>({...Pf(e,t),V:e.month,day:parseInt(e.day)}))(Cc(n,e),r)}let n=bg(e),r=Zf(e);return{id:e,_:Mf(t),J:Nf(t)}}function Mf(e){return is((t=>e(hc(t))),WeakMap)}function Nf(e){let t=e(0).year-Aee;return is((n=>{let r,i=yc(n-t),a=0,o=[],s=[];do i+=400*Wm;while((r=e(i)).year<=n);do if(i+=(1-r.day)*Wm,r.year===n&&(o.push(i),s.push(r.V)),i-=Wm,++a>100||i<-Fh)throw RangeError(_m);while((r=e(i)).year>=n);return{K:o.reverse(),X:zm(s.reverse())}}))}function Pf(e,t){let n,r,i=Ff(e);if(e.era){let a=vh[t],o=yh[t]||{};a!==void 0&&(n=t===`islamic`?`ah`:e.era.normalize(`NFD`).toLowerCase().replace(/[^a-z0-9]/g,``),n===`bc`||n===`b`?n=`bce`:n===`ad`||n===`a`?n=`ce`:n===`beforeroc`&&(n=`broc`),n=o[n]||n,r=i,i=Df(r,a[n]||0))}return{era:n,eraYear:r,year:i}}function Ff(e){return parseInt(e.relatedYear||e.year)}function If(e){return this._(e).day}function Lf(e){let{year:t,V:n,day:r}=this._(e),{X:i}=this.J(t);return[t,i[n]+1,r]}function Rf(e,t,n){return Sc(zf.call(this,e,t,n))}function zf(e,t=1,n=1){return this.J(e).K[t-1]+(n-1)*Wm}function Bf(e,t){let n=Vf.call(this,e);return[Ef(t,n),n===t]}function Vf(e){let t=Jf(this,e),n=Jf(this,e-1),r=t.length;if(r>n.length){let e=kf(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function Hf(e){let t=Uf.call(this,e);return t>Uf.call(this,e-1)&&t>Uf.call(this,e+1)}function Uf(e){return lf(zf.call(this,e),zf.call(this,e+1))}function Wf(e,t){let{K:n}=this.J(e),r=t+1,i=n;return r>n.length&&(r=1,i=this.J(e+1).K),lf(n[t-1],i[r-1])}function Gf(e){return this.J(e).K.length}function Kf(e){let t=this._(e);return[t.era,t.eraYear]}function qf(e,t,n){let r=this.id&&Zf(this.id)===`chinese`?((e,t,n)=>{if(t)switch(e){case 1:return 1651;case 2:return n<30?1947:1765;case 3:return n<30?1966:1955;case 4:return n<30?1963:1944;case 5:return n<30?1971:1952;case 6:return n<30?1960:1941;case 7:return n<30?1968:1938;case 8:return n<30?1957:1718;case 9:return 1832;case 10:return 1870;case 11:return 1814;case 12:return 1890}return 1972})(e,t,n):zh,[i,a,o]=Lf.call(this,{isoYear:r,isoMonth:Bh,isoDay:31}),s=Vf.call(this,i),c=a===s;(Ss(e,Ef(a,s))||Ss(Number(t),Number(c))||Ss(n,o))===1&&i--;for(let r=0;r<100;r++){let a=i-r,o=Vf.call(this,a),s=Tf(e,t,o);if(t===(s===o)&&n<=Wf.call(this,a,s))return[a,s]}}function Jf(e,t){return Object.keys(e.J(t).X)}function Yf(e){return Xf(xh(e))}function Xf(e){if((e=e.toLowerCase())!==`iso8601`&&e!==gh){let t=bg(e).resolvedOptions().calendar;if(Zf(e)!==Zf(t))throw RangeError(vm(e));return t}return e}function Zf(e){return e===`islamicc`&&(e=`islamic`),e.split(`-`)[0]}function Qf(e,t){return n=>n===`iso8601`?e:n===gh||n===_h?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),ute(n))}function $f(e,t,n,r){let i=sp(n,r,dh,[],rh);if(i.timeZone!==void 0){let r=n.ee(i),a=lp(i),o=e(i.timeZone);return{epochNanoseconds:mu(t(o),{...r,...a},i.offset===void 0?void 0:id(i.offset)),timeZone:o}}return{...n.ee(i),...Nh}}function ep(e,t,n,r,i,a){let o=sp(n,i,dh,th,rh),s=e(o.timeZone),[c,l,u]=Uc(a),d=n.ee(o,nl(c)),f=lp(o,c);return sl(mu(t(s),{...d,...f},o.offset===void 0?void 0:id(o.offset),l,u),s,r)}function tp(e,t,n){let r=sp(e,t,dh,[],$m),i=Hc(n);return cl(lc({...e.ee(r,nl(i)),...lp(r,i)}))}function np(e,t,n,r=[]){let i=sp(e,t,dh,r);return e.ee(i,n)}function rp(e,t,n,r){let i=sp(e,t,lh,r);return e.ne(i,n)}function ip(e,t,n,r){let i=sp(e,n,dh,ch);return t&&i.month!==void 0&&i.monthCode===void 0&&i.year===void 0&&(i.year=zh),e.te(i,r)}function ap(e,t){return fl(lp(cp(e,eh,[],1),Hc(t)))}function op(e){let t=cp(e,Ch);return pl(Ku({...Th,...t}))}function sp(e,t,n,r=[],i=[]){return cp(t,[...e.fields(n),...i].sort(),r)}function cp(e,t,n,r=!n){let i={},a,o=0;for(let r of t){if(r===a)throw RangeError(mee(r));if(r===`constructor`||r===`__proto__`)throw RangeError(pee(r));let t=e[r];if(t!==void 0)o=1,wg[r]&&(t=wg[r](t,r)),i[r]=t;else if(n){if(n.includes(r))throw TypeError(om(r));i[r]=mh[r]}a=r}if(r&&!o)throw TypeError(sm(t));return i}function lp(e,t){return Vc(Tg({...mh,...e}),t)}function up(e,t,n,r,i){let{calendar:a,timeZone:o}=n,s=e(a),c=t(o),l=[...s.fields(dh),...nh].sort(),u=(e=>{let t=ug(e,fg),n=su(t.offsetNanoseconds),r=Sg(e.calendar),[i,a,o]=r.u(t),[s,c]=r.m(i,a),l=wf(s,c);return{...hte(t),year:i,monthCode:l,day:o,offset:n}})(n),d=cp(r,l),f=s.oe(u,d),p={...u,...d},[m,h,g]=Uc(i,2);return sl(mu(c,{...s.ee(f,nl(m)),...Vc(Tg(p),m)},id(p.offset),h,g),o,a)}function dp(e,t,n,r){let i=e(t.calendar),a=[...i.fields(dh),...$m].sort(),o={...kp(s=t),hour:s.isoHour,minute:s.isoMinute,second:s.isoSecond,millisecond:s.isoMillisecond,microsecond:s.isoMicrosecond,nanosecond:s.isoNanosecond};var s;let c=cp(n,a),l=Hc(r),u=i.oe(o,c),d={...o,...c};return cl(lc({...i.ee(u,nl(l)),...Vc(Tg(d),l)}))}function fp(e,t,n,r){let i=e(t.calendar),a=i.fields(dh).sort(),o=kp(t),s=cp(n,a),c=i.oe(o,s);return i.ee(c,r)}function pp(e,t,n,r){let i=e(t.calendar),a=i.fields(lh).sort(),o=(e=>{let t=Sg(e.calendar),[n,r]=t.u(e),[i,a]=t.m(n,r);return{year:n,monthCode:wf(i,a)}})(t),s=cp(n,a),c=i.oe(o,s);return i.ne(c,r)}function mp(e,t,n,r){let i=e(t.calendar),a=i.fields(dh).sort(),o=(e=>{let t=Sg(e.calendar),[n,r,i]=t.u(e),[a,o]=t.m(n,r);return{monthCode:wf(a,o),day:i}})(t),s=cp(n,a),c=i.oe(o,s);return i.te(c,r)}function hp(e,t,n){return fl(((e,t,n)=>lp({...ps(eh,e),...cp(t,eh)},Hc(n)))(e,t,n))}function gp(e,t){return pl((n=e,r=t,Ku({...n,...cp(r,Ch)})));var n,r}function _p(e,t){let n=sp(e,t,ph);return e.te(n)}function vp(e,t,n){let r=sp(e,t,uh);return e.ne(r,n)}function yp(e,t,n,r,i){t=ps(n=e.fields(n),t),r=cp(r,i=e.fields(i),[]);let a=e.oe(t,r);return a=cp(a,[...n,...i].sort(),[]),e.ee(a)}function bp(e,t){let n=Hc(t),r=Tp(this,e),i=Ep(this,e,r,n),a=Dp(this,e,i,r,n);return ll(cc(this.U(r,i,a)),this.id||`iso8601`)}function xp(e,t){let n=Hc(t),r=Tp(this,e),i=Ep(this,e,r,n);return ul(sc(this.U(r,i,1)),this.id||`iso8601`)}function Sp(e,t){let n=Hc(t),r,i,a,o=e.eraYear!==void 0||e.year!==void 0?Tp(this,e):void 0,s=!this.id;if(o===void 0&&s&&(o=zh),o!==void 0){let t=Ep(this,e,o,n);r=Dp(this,e,t,o,n);let s=this.F(o);i=Ef(t,s),a=t===s}else{if(e.monthCode===void 0)throw TypeError(hm);if([i,a]=Cf(e.monthCode),this.id&&this.id!==gh&&this.id!==_h)if(this.id&&Zf(this.id)===`coptic`&&n===0){let t=a||i!==13?30:6;r=e.day,r=Cs(r,1,t)}else if(this.id&&Zf(this.id)===`chinese`&&n===0){let t=!a||i!==1&&i!==9&&i!==10&&i!==11&&i!==12?30:29;r=e.day,r=Cs(r,1,t)}else r=e.day;else r=Dp(this,e,Ep(this,e,zh,n),zh,n)}let c=this.R(i,a,r);if(!c)throw RangeError(`Cannot guess year`);let[l,u]=c;return dl(cc(this.U(l,u,r)),this.id||`iso8601`)}function Cp(e){return Of(this)&&e.includes(`year`)?[...e,...ih]:e}function wp(e,t){let n=Object.assign(Object.create(null),e);return Op(n,t,sh),Of(this)&&(Op(n,t,bee),this.id===_h&&Op(n,t,fh,ih)),n}function Tp(e,t){let n=Of(e),r=yh[e.id||``]||{},{era:i,eraYear:a,year:o}=t;if(i!==void 0||a!==void 0){if(i===void 0||a===void 0)throw TypeError(vee);if(!n)throw RangeError(_ee);let e=n[r[i]||i];if(e===void 0)throw RangeError(dm(i));let t=Df(a,e);if(o!==void 0&&o!==t)throw RangeError(um);o=t}else if(o===void 0)throw TypeError(fm(n));return o}function Ep(e,t,n,r){let{month:i,monthCode:a}=t;if(a!==void 0){let t=((e,t,n,r)=>{let i=e.F(n),[a,o]=Cf(t),s=Tf(a,o,i);if(o){let t=kf(e);if(t===void 0)throw RangeError(gm);if(t>0){if(s>t)throw RangeError(gm);if(i===void 0){if(r===1)throw RangeError(gm);s--}}else if(s!==-t||i===void 0&&r===1)throw RangeError(gm)}return s})(e,a,n,r);if(i!==void 0&&i!==t)throw RangeError(mm);i=t,r=1}else if(i===void 0)throw TypeError(hm);return ns(`month`,i,1,e.O(n),r)}function Dp(e,t,n,r,i){return ts(t,`day`,1,e.B(r,n),i)}function Op(e,t,n,r){let i=0,a=[];for(let e of n)t[e]===void 0?a.push(e):i=1;if(Object.assign(e,t),i)for(let t of r||a)delete e[t]}function kp(e){let t=Sg(e.calendar),[n,r,i]=t.u(e),[a,o]=t.m(n,r);return{year:n,monthCode:wf(a,o),day:i}}function Ap(e){return ol(uc(tc(Ws(e))))}function jp(e,t,n,r,i=hh){return sl(uc(tc(Ws(n))),t(r),e(i))}function Mp(e,t,n,r,i=0,a=0,o=0,s=0,c=0,l=0,u=hh){return cl(lc(Lc(us(Ks,ls(Ah,[t,n,r,i,a,o,s,c,l])))),e(u))}function Np(e,t,n,r,i=hh){return ll(cc(Rc(us(Ks,{isoYear:t,isoMonth:n,isoDay:r}))),e(i))}function Pp(e,t,n,r=hh,i=1){let a=Ks(t),o=Ks(n),s=e(r);return ul(sc(Rc({isoYear:a,isoMonth:o,isoDay:Ks(i)})),s)}function Fp(e,t,n,r=hh,i=zh){let a=Ks(t),o=Ks(n),s=e(r);return dl(cc(Rc({isoYear:Ks(i),isoMonth:a,isoDay:o})),s)}function Ip(e=0,t=0,n=0,r=0,i=0,a=0){return fl(Vc(us(Ks,ls(Oh,[e,t,n,r,i,a])),1))}function Lp(e=0,t=0,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0){return pl(Ku(us(qs,ls(Sh,[e,t,n,r,i,a,o,s,c,l]))))}function Rp(e,t,n=hh){return sl(e.epochNanoseconds,t,n)}function zp(e){return ol(e.epochNanoseconds)}function Bp(e,t){return cl(ug(t,e))}function Vp(e,t){return ll(ug(t,e))}function Hp(e,t){return fl(ug(t,e))}function Up(e,t,n,r){return sl(uc(((e,t,n,r)=>{let i=(e=>Zh(el(e)))(r);return hu(e(t),n,i)})(e,n,t,r)),n,t.calendar)}function Wp(e,t,n,r,i){let a=e(i.timeZone),o=i.plainTime,s=o===void 0?void 0:t(o),c=n(a),l;return l=s?hu(c,{...r,...s}):gu(c,{...r,...Nh}),sl(l,a,r.calendar)}function Gp(e,t=Nh){return cl(lc({...e,...t}))}function Kp(e,t,n){return vp(e(t.calendar),n)}function qp(e,t,n){return _p(e(t.calendar),n)}function Jp(e,t,n,r){return((e,t,n)=>yp(e,t,uh,Rs(n),ch))(e(t.calendar),n,r)}function Yp(e,t,n,r){return((e,t,n)=>yp(e,t,ph,Rs(n),ah))(e(t.calendar),n,r)}function Xp(e){return ol(uc(nc(qs(e),qm)))}function eee(e){return ol(uc(tc(Ws(e))))}function Zp(e,t,n){let r=new Set(n);return(i,a)=>{let o=n&&ms(i,n);if(!ms(i=((e,t)=>{let n={};for(let r in t)e.has(r)||(n[r]=t[r]);return n})(r,i),e)){if(a&&o)throw TypeError(`Invalid formatting options`);i={...t,...i}}return n&&(i.timeZone=cg,[`full`,`long`].includes(i.ie)&&(i.ie=`medium`)),i}}function Qp(e,t=$p,n=0){let[r,,,i]=e;return(a,o=Pte,...s)=>{let c=t(i&&i(...s),a,o,r,n);return[c,...nee(e,c.resolvedOptions(),s)]}}function $p(e,t,n,r,i){if(n=r(n,i),e){if(n.timeZone!==void 0)throw TypeError(Rm);n.timeZone=e}return new Rh(t,n)}function tee(){return new Rh(void 0,{calendar:hh}).resolvedOptions().calendar===hh}function nee(e,t,n){let[,r,i]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==`iso8601`)&&e!==t)throw RangeError(ym)})(e.calendar,t.calendar,i),r(e,t))))}function ree(e,t,n){let r=t.timeZone,i=e(r),a={...ug(t,i),...n||Nh},o;return o=n?mu(i,a,a.offsetNanoseconds,2):gu(i,a),sl(o,r,t.calendar)}function iee(e,t=Nh){return cl(lc({...e,...t}))}function em(e,t){return{...e,calendar:t}}function aee(e,t){return{...e,timeZone:t}}function tm(e){let t=nm();return xc(t,e.N(t))}function nm(){return nc(Date.now(),qm)}function rm(){return new Rh().resolvedOptions().timeZone}var oee=(e,t)=>`Non-integer ${e}: ${t}`,see=(e,t)=>`Non-positive ${e}: ${t}`,cee=(e,t)=>`Non-finite ${e}: ${t}`,lee=e=>`Cannot convert bigint to ${e}`,uee=e=>`Invalid bigint: ${e}`,dee=`Cannot convert Symbol to string`,fee=`Invalid object`,im=(e,t,n,r,i)=>i?im(e,i[t],i[n],i[r]):am(e,t)+`; must be between ${n}-${r}`,am=(e,t)=>`Invalid ${e}: ${t}`,om=e=>`Missing ${e}`,pee=e=>`Invalid field ${e}`,mee=e=>`Duplicate field ${e}`,sm=e=>`No valid fields: `+e.join(),hee=`Invalid bag`,cm=(e,t,n)=>am(e,t)+`; must be `+Object.keys(n).join(),gee=`Cannot use valueOf`,lm=`Invalid calling context`,_ee=`Forbidden era/eraYear`,vee=`Mismatching era/eraYear`,um=`Mismatching year/eraYear`,dm=e=>`Invalid era: ${e}`,fm=e=>`Missing year`+(e?`/era/eraYear`:``),pm=e=>`Invalid monthCode: ${e}`,mm=`Mismatching month/monthCode`,hm=`Missing month/monthCode`,gm=`Invalid leap month`,_m=`Invalid protocol results`,vm=e=>am(`Calendar`,e),ym=`Mismatching Calendars`,bm=e=>am(`TimeZone`,e),xm=`Mismatching TimeZones`,Sm=`Forbidden ICU TimeZone`,Cm=`Out-of-bounds offset`,wm=`Out-of-bounds TimeZone gap`,Tm=`Invalid TimeZone offset`,Em=`Ambiguous offset`,Dm=`Out-of-bounds date`,Om=`Out-of-bounds duration`,km=`Cannot mix duration signs`,Am=`Missing relativeTo`,jm=`Cannot use large units`,Mm=`Required smallestUnit or largestUnit`,Nm=`smallestUnit > largestUnit`,Pm=e=>`Cannot parse: ${e}`,Fm=e=>`Invalid substring: ${e}`,Im=e=>`Cannot format ${e}`,Lm=`Mismatching types for formatting`,Rm=`Cannot specify TimeZone`,zm=_s(ds,((e,t)=>t)),Bm=_s(ds,((e,t,n)=>n)),Vm=_s(xs,2),Hm={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},Um=Object.keys(Hm),Wm=864e5,Gm=1e3,Km=1e3,qm=1e6,Jm=1e9,Ym=6e10,Xm=36e11,Zm=864e11,Qm=[1,Km,qm,Jm,Ym,Xm,Zm],$m=Um.slice(0,6),eh=bs($m),yee=[`offset`],th=[`timeZone`],nh=$m.concat(yee),rh=nh.concat(th),ih=[`era`,`eraYear`],bee=ih.concat([`year`]),ah=[`year`],oh=[`monthCode`],sh=[`month`].concat(oh),ch=[`day`],lh=sh.concat(ah),uh=oh.concat(ah),dh=ch.concat(lh),fh=ch.concat(sh),ph=ch.concat(oh),mh=Bm($m,0),hh=`iso8601`,gh=`gregory`,_h=`japanese`,vh={[gh]:{&#x22;gregory-inverse&#x22;:-1,gregory:0},[_h]:{&#x22;japanese-inverse&#x22;:-1,japanese:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethiopic:{ethioaa:0,ethiopic:5500},coptic:{&#x22;coptic-inverse&#x22;:-1,coptic:0},roc:{&#x22;roc-inverse&#x22;:-1,roc:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},yh={[gh]:{bce:`gregory-inverse`,ce:`gregory`},[_h]:{bce:`japanese-inverse`,ce:`japanese`},ethiopic:{era0:`ethioaa`,era1:`ethiopic`},coptic:{era0:`coptic-inverse`,era1:`coptic`},roc:{broc:`roc-inverse`,minguo:`roc`}},bh={chinese:13,dangi:13,hebrew:-6},xh=_s(zs,`string`),xee=_s(zs,`boolean`),See=_s(zs,`number`),Sh=Um.map((e=>e+`s`)),Ch=bs(Sh),Cee=Sh.slice(0,6),wh=Sh.slice(6),wee=wh.slice(1),Tee=zm(Sh),Th=Bm(Sh,0),Eh=Bm(Cee,0),Dh=_s(gs,Sh),Oh=[`isoNanosecond`,`isoMicrosecond`,`isoMillisecond`,`isoSecond`,`isoMinute`,`isoHour`],kh=[`isoDay`,`isoMonth`,`isoYear`],Ah=Oh.concat(kh),jh=bs(kh),Mh=bs(Oh),Eee=bs(Ah),Nh=Bm(Mh,0),Dee=_s(gs,Ah),Ph=1e8,Fh=Ph*Wm,Oee=[Ph,0],kee=[-Ph,0],Ih=275760,Lh=-271821,Rh=Intl.DateTimeFormat,Aee=1970,zh=1972,Bh=12,jee=yc(1868,9,8),Mee=is(Ic,WeakMap),Vh=`smallestUnit`,Hh=`unit`,Nee=`roundingMode`,Uh=`roundingIncrement`,Wh=`fractionalSecondDigits`,Gh=`relativeTo`,Kh=`direction`,qh={constrain:0,reject:1},Pee=Object.keys(qh),Fee={compatible:0,reject:1,earlier:2,later:3},Iee={reject:0,use:1,prefer:2,ignore:3},Lee={auto:0,never:1,critical:2,always:3},Ree={auto:0,never:1,critical:2},zee={auto:0,never:1},Bee={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Vee={previous:-1,next:1},Jh=_s(rl,Vh),Yh=_s(rl,`largestUnit`),Hee=_s(rl,Hh),Xh=_s(il,`overflow`,qh),Zh=_s(il,`disambiguation`,Fee),Uee=_s(il,`offset`,Iee),Qh=_s(il,`calendarName`,Lee),Wee=_s(il,`timeZoneName`,Ree),Gee=_s(il,`offset`,zee),$h=_s(il,Nee,Bee),eg=`PlainYearMonth`,tg=`PlainMonthDay`,ng=`PlainDate`,rg=`PlainDateTime`,ig=`PlainTime`,ag=`ZonedDateTime`,og=`Instant`,sg=`Duration`,Kee=[Math.floor,e=>ks(e)?Math.floor(e):Math.round(e),Math.ceil,e=>ks(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>ks(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>ks(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],cg=`UTC`,lg=5184e3,qee=vc(1847),Jee=vc((()=>{let e=new Date;return(e.getTime()===0?2040:e.getUTCFullYear())+10})()),Yee=/0+$/,ug=is(pu,WeakMap),dg=2**32-1,fg=is((e=>{let t=Md(e);return typeof t==`object`?new Zee(t):new Xee(t||0)})),Xee=class{constructor(e){this.j=e}N(){return this.j}v(e){return(e=>{let t=gc({...e,...Nh});if(!t||Math.abs(t[0])>1e8)throw RangeError(Dm)})(e),[_c(e,this.j)]}l(){}},Zee=class{constructor(e){this.ae=(e=>{function t(e){let[t,s]=ed(Cs(e,a,o)),c=r(t),l=r(s);return c===l?c:n(i(t,s),c,l,e)}function n(t,n,r,i){let a,o;for(;(i===void 0||(a=i<t[0]?n:i>=t[1]?r:void 0)===void 0)&&(o=t[1]-t[0]);){let n=t[0]+Math.floor(o/2);e(n)===r?t[1]=n:t[0]=n+1}return a}let r=is(e),i=is($u),a=qee,o=Jee;return{se(e){let n=t(e-86400),r=t(e+86400),i=e-n,a=e-r;if(n===r)return[i];let o=t(i);return o===t(a)?[e-o]:n>r?[i,a]:[]},ue:t,l(e,t){let s=Cs(e,a,o),[c,l]=ed(s),u=lg*t,d=t<0?()=>l>a||(a=s,0):()=>c<o||(o=s,0);for(;d();){let a=r(c),o=r(l);if(a!==o){let r=i(c,l);n(r,a,o);let s=r[0];if((Ss(s,e)||1)===t)return s}c+=u,l+=u}}}})((e=>t=>{let n=Cc(e,t*Gm);return vc(Ff(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}N(e){return this.ae.ue(pc(e))*Jm}v(e){let[t,n]=[vc((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*qm+r.isoMicrosecond*Km+r.isoNanosecond];var r;return this.ae.se(t).map((e=>uc(Zs(nc(e,Jm),n))))}l(e,t){let[n,r]=mc(e),i=this.ae.l(n+(t>0||r?1:0),t);if(i!==void 0)return nc(i,Jm)}},pg=`([+-])`,mg=`(?:[.,](\\d{1,9}))?`,hg=`(?:(?:${pg}(\\d{6}))|(\\d{4}))-?(\\d{2})`,gg=`(\\d{2})(?::?(\\d{2})(?::?(\\d{2})`+mg+`)?)?`,_g=pg+gg,Qee=hg+`-?(\\d{2})(?:[T ](\\d{2})(?::?(\\d{2})(?::?(\\d{2})(?:[.,](\\d{1,9}))?)?)?(Z|`+_g+`)?)?`,vg=`\\[(!?)([^\\]]*)\\]`,yg=`((?:${vg}){0,9})`,$ee=Ed(hg+yg),ete=Ed(`(?:--)?(\\d{2})-?(\\d{2})`+yg),tte=Ed(Qee+yg),nte=Ed(`T?`+gg+`(?:`+_g+`)?`+yg),rte=Ed(_g),ite=new RegExp(vg,`g`),ate=Ed(`${pg}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${mg}H)?(?:(\\d+)${mg}M)?(?:(\\d+)${mg}S)?)?`),ote=is((e=>new Rh(`en`,{calendar:hh,timeZone:e,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`,hour12:0}))),ste=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,cte=/[^\w\/:+-]+/,lte=/^M(\d{2})(L?)$/,ute=is(jf),bg=is((e=>new Rh(`en`,{calendar:e,timeZone:cg,era:`short`,year:`numeric`,month:`short`,day:`numeric`,hour12:0}))),xg={P:Ou,h:df,ee:bp,ne:xp,te:Sp,fields:Cp,oe:wp,inLeapYear:vf,monthsInYear:yf,daysInMonth:bf,daysInYear:xf,dayOfYear:Sf,era(e){return this.$(e)[0]},eraYear(e){return this.$(e)[1]},monthCode(e){let[t,n]=this.u(e),[r,i]=this.m(t,n);return wf(r,i)},dayOfWeek:Pc,daysInWeek:kc},dte={u:Tc,$:Fc,m:Ec},fte=Object.assign({},xg,Object.assign({},{dayOfYear:Sf,u:Tc,M:yc},{weekOfYear:gf,yearOfWeek:_f,I(e){function t(e){return(7-e<r?7:0)-e}function n(e){let n=Mc(f+e),r=e||1;return u=(n+(t(Ts(c+n*r,7))-l)*r)/7}let r=this.id?1:4,i=Pc(e),a=this.dayOfYear(e),o=Ts(i-1,7),s=a-1,c=Ts(o-s,7),l=t(c),u,d=Math.floor((s-l)/7)+1,f=e.isoYear;return d?d>n(0)&&(d=1,f++):(d=n(-1),f--),[d,f,u]}}),{u:Tc,$:Fc,m:Ec,R:Dc,L:Nc,F:vs,O:Ac,q:ff,B:jc,G:Mc,U:Oc,M:yc,p:Au,year(e){return e.isoYear},month(e){return e.isoMonth},day:wc}),pte={u:Lf,$:Kf,m:Bf},mte=Object.assign({},xg,Object.assign({},{dayOfYear:Sf,u:Lf,M:zf},{I(){return[]}},{weekOfYear:gf,yearOfWeek:_f}),{u:Lf,$:Kf,m:Bf,R:qf,L:Hf,F:Vf,O:Gf,q:pf,B:Wf,G:Uf,U:Rf,M:zf,p:ju,year(e){return this._(e).year},month(e){let{year:t,V:n}=this._(e),{X:r}=this.J(t);return r[n]+1},day:If}),Sg=Qf(dte,pte),Cg=Qf(fte,mte),wg=Object.assign({},{era:Us,eraYear:Ks,year:Ks,month:Js,monthCode(e){let t=Us(e);return Cf(t),t},day:Js},Bm($m,Ks),Bm(Sh,qs),{offset(e){let t=Us(e);return id(t),t}}),Tg=_s(fs,$m,Oh),hte=_s(fs,Oh,$m),Eg=`numeric`,Dg=[`timeZoneName`],Og={month:Eg,day:Eg},kg={year:Eg,month:Eg},Ag=Object.assign({},kg,{day:Eg}),jg={hour:Eg,minute:Eg,second:Eg},Mg=Object.assign({},Ag,jg),gte=Object.assign({},Mg,{timeZoneName:`short`}),_te=Object.keys(kg),vte=Object.keys(Og),yte=Object.keys(Ag),bte=Object.keys(jg),Ng=[`dateStyle`],xte=_te.concat(Ng),Ste=vte.concat(Ng),Pg=yte.concat(Ng,[`weekday`]),Fg=bte.concat([`dayPeriod`,`timeStyle`,`fractionalSecondDigits`]),Ig=Pg.concat(Fg),Cte=Dg.concat(Fg),wte=Dg.concat(Pg),Tte=Dg.concat([`day`,`weekday`],Fg),Ete=Dg.concat([`year`,`weekday`],Fg),Dte=Zp(Ig,Mg),Ote=Zp(Ig,gte),kte=Zp(Ig,Mg,Dg),Ate=Zp(Pg,Ag,Cte),jte=Zp(Fg,jg,wte),Mte=Zp(xte,kg,Tte),Nte=Zp(Ste,Og,Ete),Pte={},Lg=tee(),Rg=[Dte,ml],Fte=[Ote,ml,0,(e,t)=>{let n=e.timeZone;if(t&&t.timeZone!==n)throw RangeError(xm);return n}],zg=[kte,hc],Bg=[Ate,hc],Vg=[jte,e=>dc(e)/qm],Hg=[Mte,hc,Lg],Ug=[Nte,hc,Lg];function Wg(e,t,n,r,i,a){function o(...e){if(!(this instanceof o))throw TypeError(lm);{let n=t(...e);p_(this,n),Kg(this,n,a)}}function s(e,t){return Object.defineProperties((function(...t){return e.call(this,c(this),...t)}),as(t))}function c(t){let n=f_(t);if(!n||n.branding!==e)throw TypeError(lm);return n}return Object.defineProperties(o.prototype,{...ss(us(s,n)),...os(us(s,r)),...cs(`Temporal.`+e)}),Object.defineProperties(o,{...os(i),...as(e)}),[o,e=>{let t=Object.create(o.prototype);return p_(t,e),Kg(t,e,a),t},c]}function Gg(e){if(f_(e)||e.calendar!==void 0||e.timeZone!==void 0)throw TypeError(hee);return e}function Kg(e,t,n){Kg.name===`dbg`&&Object.defineProperty(e,`o`,{value:n(t),writable:0,enumerable:0,configurable:0})}function qg(e){return Jg(e)||`iso8601`}function Jg(e){let{calendar:t}=e;if(t!==void 0)return Yg(t)}function Yg(e){if(rs(e)){let{calendar:t}=f_(e)||{};if(!t)throw TypeError(vm(e));return t}return(e=>Xf(fd(xh(e))))(e)}function Xg(e){let t={};for(let n in e)t[n]=e=>{let{calendar:t}=e;return Cg(t)[n](e)};return t}function Zg(){throw TypeError(gee)}function Qg(e){if(rs(e)){let{timeZone:t}=f_(e)||{};if(!t)throw TypeError(bm(e));return t}return(e=>Ad(pd(xh(e))))(e)}function $g(e){if(rs(e)){let t=f_(e);return t&&t.branding===`Duration`?t:op(e)}return dd(e)}function e_(e){if(e!==void 0){if(rs(e)){let t=f_(e)||{};switch(t.branding){case ag:case ng:return t;case rg:return ll(t)}let n=qg(e);return{...$f(Qg,fg,Cg(n),e),calendar:n}}return nd(e)}}function t_(e,t){if(rs(e)){let n=f_(e)||{};switch(n.branding){case ig:return Hc(t),n;case rg:return Hc(t),fl(n);case ag:return Hc(t),Hp(fg,n)}return ap(e,t)}let n=ud(e);return Hc(t),n}function n_(e){return e===void 0?void 0:t_(e)}function r_(e,t){if(rs(e)){let n=f_(e)||{};switch(n.branding){case rg:return Hc(t),n;case ng:return Hc(t),cl({...n,...Nh});case ag:return Hc(t),Bp(fg,n)}return tp(Cg(qg(e)),e,t)}let n=ad(e);return Hc(t),n}function i_(e,t){if(rs(e)){let n=f_(e);if(n&&n.branding===`PlainMonthDay`)return Hc(t),n;let r=Jg(e);return ip(Cg(r||`iso8601`),!r,e,t)}let n=ld(Cg,e);return Hc(t),n}function a_(e,t){if(rs(e)){let n=f_(e);return n&&n.branding===`PlainYearMonth`?(Hc(t),n):rp(Cg(qg(e)),e,t)}let n=sd(Cg,e);return Hc(t),n}function o_(e,t){if(rs(e)){let n=f_(e)||{};switch(n.branding){case ng:return Hc(t),n;case rg:return Hc(t),ll(n);case ag:return Hc(t),Vp(fg,n)}return np(Cg(qg(e)),e,t)}let n=od(e);return Hc(t),n}function s_(e,t){if(rs(e)){let n=f_(e);if(n&&n.branding===`ZonedDateTime`)return Uc(t),n;let r=qg(e);return ep(Qg,fg,Cg(r),r,e,t)}return rd(e,t)}function c_(e){return us((e=>t=>e(l_(t))),e)}function l_(e){return ug(e,fg)}function u_(e){if(rs(e)){let t=f_(e);if(t)switch(t.branding){case og:return t;case ag:return ol(t.epochNanoseconds)}}return td(e)}function Ite(){return k_(ol(nc(Bs(Date.prototype.valueOf.call(this)),qm)))}function Lte(){function e(e,n){return new t(e,n)}function t(e,t=Object.create(null)){N_.set(this,((e,t)=>{let n=new Rh(e,t),r=n.resolvedOptions(),i=r.locale,a=ps(Object.keys(t),r),o=is(Bte),s=(e,...t)=>{if(e){if(t.length!==2)throw TypeError(Lm);for(let e of t)if(e===void 0)throw TypeError(Lm)}e||t[0]!==void 0||(t=[]);let r=t.map((e=>f_(e)||Number(e))),s,c=0;for(let e of r){let t=typeof e==`object`?e.branding:void 0;if(c++&&t!==s)throw TypeError(Lm);s=t}return s?o(s)(i,a,...r):[n,...r]};return s.i=n,s})(e,t))}let n=Rh.prototype,r=Object.getOwnPropertyDescriptors(n),i=Object.getOwnPropertyDescriptors(Rh);for(let t in r){let n=r[t],i=t.startsWith(`format`)&&Rte(t);typeof n.value==`function`?n.value=t===`constructor`?e:i||zte(t):i&&(n.get=function(){if(!N_.has(this))throw TypeError(`Invalid calling context`);return(...e)=>i.apply(this,e)},Object.defineProperties(n.get,as(`get ${t}`)))}return i.prototype.value=t.prototype=Object.create({},r),Object.defineProperties(e,i),e}function Rte(e){return Object.defineProperties((function(...t){let[n,...r]=N_.get(this)(e.includes(`Range`),...t);return n[e](...r)}),as(e))}function zte(e){return Object.defineProperties((function(...t){return N_.get(this).i[e](...t)}),as(e))}function Bte(e){let t=Kte[e];if(!t)throw TypeError(Im(e));return Qp(t,is($p),1)}var d_=new WeakMap,f_=d_.get.bind(d_),p_=d_.set.bind(d_),m_={era:Ms,eraYear:Ps,year:Is,month:Fs,daysInMonth:Fs,daysInYear:Fs,inLeapYear:xee,monthsInYear:Fs},h_={monthCode:xh},g_={day:Fs},__=Xg(Object.assign({},m_,h_,g_,{dayOfWeek:Fs,dayOfYear:Fs,weekOfYear:Ns,yearOfWeek:Ps,daysInWeek:Fs})),Vte=Xg({...m_,...h_}),Hte=Xg({...h_,...g_}),v_={calendarId:e=>e.calendar},Ute=ds((e=>t=>t[e]),Sh.concat(`sign`)),y_=ds(((e,t)=>e=>e[Oh[t]]),$m),b_={epochMilliseconds:ml,epochNanoseconds:hl},[Wte,x_,Gte]=Wg(sg,Lp,{...Ute,blank:Wu},{with:(e,t)=>x_(gp(e,t)),negated:e=>x_(Hu(e)),abs:e=>x_(Vu(e)),add:(e,t,n)=>x_(zu(e_,Cg,fg,0,e,$g(t),n)),subtract:(e,t,n)=>x_(zu(e_,Cg,fg,1,e,$g(t),n)),round:(e,t)=>x_(Bu(e_,Cg,fg,e,t)),total:(e,t)=>_l(e_,Cg,fg,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):$l(e)},toString:$l,toJSON:e=>$l(e),valueOf:Zg},{from:e=>x_($g(e)),compare:(e,t,n)=>Fd(e_,Cg,fg,$g(e),$g(t),n)},$l),Kte={Instant:Rg,PlainDateTime:zg,PlainDate:Bg,PlainTime:Vg,PlainYearMonth:Hg,PlainMonthDay:Ug},qte=Qp(Rg),Jte=Qp(Fte),Yte=Qp(zg),Xte=Qp(Bg),Zte=Qp(Vg),Qte=Qp(Hg),$te=Qp(Ug),[ene,S_]=Wg(ig,Ip,y_,{with(e,t,n){return S_(hp(this,Gg(t),n))},add:(e,t)=>S_(Su(0,e,$g(t))),subtract:(e,t)=>S_(Su(1,e,$g(t))),until:(e,t,n)=>x_($d(0,e,t_(t),n)),since:(e,t,n)=>x_($d(1,e,t_(t),n)),round:(e,t)=>S_(Tl(e,t)),equals:(e,t)=>Gd(e,t_(t)),toLocaleString(e,t,n){let[r,i]=Zte(t,n,e);return r.format(i)},toString:Ql,toJSON:e=>Ql(e),valueOf:Zg},{from:(e,t)=>S_(t_(e,t)),compare:(e,t)=>Rd(t_(e),t_(t))},Ql),[tne,C_]=Wg(rg,_s(Mp,Yf),{...v_,...__,...y_},{with:(e,t,n)=>C_(dp(Cg,e,Gg(t),n)),withCalendar:(e,t)=>C_(em(e,Yg(t))),withPlainTime:(e,t)=>C_(iee(e,n_(t))),add:(e,t,n)=>C_(yu(Cg,0,e,$g(t),n)),subtract:(e,t,n)=>C_(yu(Cg,1,e,$g(t),n)),until:(e,t,n)=>x_(Yd(Cg,0,e,r_(t),n)),since:(e,t,n)=>x_(Yd(Cg,1,e,r_(t),n)),round:(e,t)=>C_(wl(e,t)),equals:(e,t)=>Vd(e,r_(t)),toZonedDateTime:(e,t,n)=>D_(Up(fg,e,Qg(t),n)),toPlainDate:e=>E_(ll(e)),toPlainTime:e=>S_(fl(e)),toLocaleString(e,t,n){let[r,i]=Yte(t,n,e);return r.format(i)},toString:Jl,toJSON:e=>Jl(e),valueOf:Zg},{from:(e,t)=>C_(r_(e,t)),compare:(e,t)=>Id(r_(e),r_(t))},Jl),[nne,w_,rne]=Wg(tg,_s(Fp,Yf),{...v_,...Hte},{with:(e,t,n)=>w_(mp(Cg,e,Gg(t),n)),equals:(e,t)=>Wd(e,i_(t)),toPlainDate(e,t){return E_(Yp(Cg,e,this,t))},toLocaleString(e,t,n){let[r,i]=$te(t,n,e);return r.format(i)},toString:Zl,toJSON:e=>Zl(e),valueOf:Zg},{from:(e,t)=>w_(i_(e,t))},Zl),[ine,T_,ane]=Wg(eg,_s(Pp,Yf),{...v_,...Vte},{with:(e,t,n)=>T_(pp(Cg,e,Gg(t),n)),add:(e,t,n)=>T_(xu(Cg,0,e,$g(t),n)),subtract:(e,t,n)=>T_(xu(Cg,1,e,$g(t),n)),until:(e,t,n)=>x_(Zd(Cg,0,e,a_(t),n)),since:(e,t,n)=>x_(Zd(Cg,1,e,a_(t),n)),equals:(e,t)=>Ud(e,a_(t)),toPlainDate(e,t){return E_(Jp(Cg,e,this,t))},toLocaleString(e,t,n){let[r,i]=Qte(t,n,e);return r.format(i)},toString:Xl,toJSON:e=>Xl(e),valueOf:Zg},{from:(e,t)=>T_(a_(e,t)),compare:(e,t)=>Ld(a_(e),a_(t))},Xl),[one,E_,sne]=Wg(ng,_s(Np,Yf),{...v_,...__},{with:(e,t,n)=>E_(fp(Cg,e,Gg(t),n)),withCalendar:(e,t)=>E_(em(e,Yg(t))),add:(e,t,n)=>E_(bu(Cg,0,e,$g(t),n)),subtract:(e,t,n)=>E_(bu(Cg,1,e,$g(t),n)),until:(e,t,n)=>x_(Xd(Cg,0,e,o_(t),n)),since:(e,t,n)=>x_(Xd(Cg,1,e,o_(t),n)),equals:(e,t)=>Hd(e,o_(t)),toZonedDateTime(e,t){return D_(Wp(Qg,t_,fg,e,rs(t)?t:{timeZone:t}))},toPlainDateTime:(e,t)=>C_(Gp(e,n_(t))),toPlainYearMonth(e){return T_(Kp(Cg,e,this))},toPlainMonthDay(e){return w_(qp(Cg,e,this))},toLocaleString(e,t,n){let[r,i]=Xte(t,n,e);return r.format(i)},toString:Yl,toJSON:e=>Yl(e),valueOf:Zg},{from:(e,t)=>E_(o_(e,t)),compare:(e,t)=>Ld(o_(e),o_(t))},Yl),[cne,D_]=Wg(ag,_s(jp,Yf,kd),{...b_,...v_,...c_(__),...c_(y_),offset:e=>su(l_(e).offsetNanoseconds),offsetNanoseconds:e=>l_(e).offsetNanoseconds,timeZoneId:e=>e.timeZone,hoursInDay:e=>El(fg,e)},{with:(e,t,n)=>D_(up(Cg,fg,e,Gg(t),n)),withCalendar:(e,t)=>D_(em(e,Yg(t))),withTimeZone:(e,t)=>D_(aee(e,Qg(t))),withPlainTime:(e,t)=>D_(ree(fg,e,n_(t))),add:(e,t,n)=>D_(vu(Cg,fg,0,e,$g(t),n)),subtract:(e,t,n)=>D_(vu(Cg,fg,1,e,$g(t),n)),until:(e,t,n)=>x_(pl(Jd(Cg,fg,0,e,s_(t),n))),since:(e,t,n)=>x_(pl(Jd(Cg,fg,1,e,s_(t),n))),round:(e,t)=>D_(Cl(fg,e,t)),startOfDay:e=>D_(Dl(fg,e)),equals:(e,t)=>Bd(e,s_(t)),toInstant:e=>k_(zp(e)),toPlainDateTime:e=>C_(Bp(fg,e)),toPlainDate:e=>E_(Vp(fg,e)),toPlainTime:e=>S_(Hp(fg,e)),toLocaleString(e,t,n={}){let[r,i]=Jte(t,n,e);return r.format(i)},toString:(e,t)=>ql(fg,e,t),toJSON:e=>ql(fg,e),valueOf:Zg,getTimeZoneTransition(e,t){let{timeZone:n,epochNanoseconds:r}=e,i=Jc(t),a=fg(n).l(r,i);return a?D_({...e,epochNanoseconds:a}):null}},{from:(e,t)=>D_(s_(e,t)),compare:(e,t)=>Pd(s_(e),s_(t))},(e=>ql(fg,e))),[O_,k_,lne]=Wg(og,Ap,b_,{add:(e,t)=>k_(_u(0,e,$g(t))),subtract:(e,t)=>k_(_u(1,e,$g(t))),until:(e,t,n)=>x_(qd(0,e,u_(t),n)),since:(e,t,n)=>x_(qd(1,e,u_(t),n)),round:(e,t)=>k_(Sl(e,t)),equals:(e,t)=>zd(e,u_(t)),toZonedDateTimeISO:(e,t)=>D_(Rp(e,Qg(t))),toLocaleString(e,t,n){let[r,i]=qte(t,n,e);return r.format(i)},toString:(e,t)=>Kl(Qg,fg,e,t),toJSON:e=>Kl(Qg,fg,e),valueOf:Zg},{from:e=>k_(u_(e)),fromEpochMilliseconds:e=>k_(Xp(e)),fromEpochNanoseconds:e=>k_(eee(e)),compare:(e,t)=>Nd(u_(e),u_(t))},(e=>Kl(Qg,fg,e))),A_=Object.defineProperties({},{...cs(`Temporal.Now`),...os({timeZoneId:()=>rm(),instant:()=>k_(ol(nm())),zonedDateTimeISO:(e=rm())=>D_(sl(nm(),Qg(e),hh)),plainDateTimeISO:(e=rm())=>C_(cl(tm(fg(Qg(e))),hh)),plainDateISO:(e=rm())=>E_(ll(tm(fg(Qg(e))),hh)),plainTimeISO:(e=rm())=>S_(fl(tm(fg(Qg(e)))))})}),j_=Object.defineProperties({},{...cs(`Temporal`),...os({PlainYearMonth:ine,PlainMonthDay:nne,PlainDate:one,PlainTime:ene,PlainDateTime:tne,ZonedDateTime:cne,Instant:O_,Duration:Wte,Now:A_})}),M_=Lte(),N_=new WeakMap;os({DateTimeFormat:M_}),Object.defineProperties(globalThis,os({Temporal:j_})),Object.defineProperties(Intl,os({DateTimeFormat:M_})),Object.defineProperties(Date.prototype,os({toTemporalInstant:Ite}));var P_;(function(e){e.AMERICAN_EXPRESS=`american_express`,e.BAMBORA=`bambora`,e.BARCLAYCARD=`barclaycard`,e.SHIFT_4=`shift4`,e.SHIFT_4_AMEX=`shift4_amex`})(P_||={});var F_;(function(e){e.APAC=`APAC`,e.CAN=`CAN`,e.EMEA=`EMEA`,e.LAC=`LA/C`,e.USA=`USA`})(F_||={});var I_;(function(e){e.ADVICE=`advice`,e.NOT_ALLOWED=`not_allowed`,e.REQUEST=`request`})(I_||={});var L_;(function(e){e.ACCOUNT_DATA=`account_data`,e.BAR_CODE=`bar_code`,e.CARD_ON_FILE=`card_on_file`,e.EMV_PROXIMITY_READER=`emv_proximity_reader`,e.INTEGRATED_CIRCUIT_CARD=`integrated_circuit_card`,e.MAGNETIC_STRIPE=`magnetic_stripe`,e.OPTICAL_CODE=`optical_code`,e.PHYSICAL=`physical`,e.PROXIMITY_READER=`proximity_reader`,e.QR_CODE=`qr_code`,e.SYNCHRONOUS_ICC=`synchronous_icc`,e.TAG=`tag`,e.UNKNOWN=`unknown`})(L_||={});var R_;(function(e){e.IMMEDIATELY=`immediately`,e.ON_DEMAND=`on_demand`})(R_||={});var z_;(function(e){e.ABW=`ABW`,e.AFG=`AFG`,e.AGO=`AGO`,e.AIA=`AIA`,e.ALA=`ALA`,e.ALB=`ALB`,e.AND=`AND`,e.ARE=`ARE`,e.ARG=`ARG`,e.ARM=`ARM`,e.ASM=`ASM`,e.ATA=`ATA`,e.ATF=`ATF`,e.ATG=`ATG`,e.AUS=`AUS`,e.AUT=`AUT`,e.AZE=`AZE`,e.BDI=`BDI`,e.BEL=`BEL`,e.BEN=`BEN`,e.BES=`BES`,e.BFA=`BFA`,e.BGD=`BGD`,e.BGR=`BGR`,e.BHR=`BHR`,e.BHS=`BHS`,e.BIH=`BIH`,e.BLM=`BLM`,e.BLR=`BLR`,e.BLZ=`BLZ`,e.BMU=`BMU`,e.BOL=`BOL`,e.BRA=`BRA`,e.BRB=`BRB`,e.BRN=`BRN`,e.BTN=`BTN`,e.BVT=`BVT`,e.BWA=`BWA`,e.CAF=`CAF`,e.CAN=`CAN`,e.CCK=`CCK`,e.CHE=`CHE`,e.CHL=`CHL`,e.CHN=`CHN`,e.CIV=`CIV`,e.CMR=`CMR`,e.COD=`COD`,e.COG=`COG`,e.COK=`COK`,e.COL=`COL`,e.COM=`COM`,e.CPV=`CPV`,e.CRI=`CRI`,e.CUB=`CUB`,e.CUW=`CUW`,e.CXR=`CXR`,e.CYM=`CYM`,e.CYP=`CYP`,e.CZE=`CZE`,e.DEU=`DEU`,e.DJI=`DJI`,e.DMA=`DMA`,e.DNK=`DNK`,e.DOM=`DOM`,e.DZA=`DZA`,e.ECU=`ECU`,e.EGY=`EGY`,e.ERI=`ERI`,e.ESH=`ESH`,e.ESP=`ESP`,e.EST=`EST`,e.ETH=`ETH`,e.FIN=`FIN`,e.FJI=`FJI`,e.FLK=`FLK`,e.FRA=`FRA`,e.FRO=`FRO`,e.FSM=`FSM`,e.GAB=`GAB`,e.GBR=`GBR`,e.GEO=`GEO`,e.GGY=`GGY`,e.GHA=`GHA`,e.GIB=`GIB`,e.GIN=`GIN`,e.GLP=`GLP`,e.GMB=`GMB`,e.GNB=`GNB`,e.GNQ=`GNQ`,e.GRC=`GRC`,e.GRD=`GRD`,e.GRL=`GRL`,e.GTM=`GTM`,e.GUF=`GUF`,e.GUM=`GUM`,e.GUY=`GUY`,e.HKG=`HKG`,e.HMD=`HMD`,e.HND=`HND`,e.HRV=`HRV`,e.HTI=`HTI`,e.HUN=`HUN`,e.IDN=`IDN`,e.IMN=`IMN`,e.IND=`IND`,e.IOT=`IOT`,e.IRL=`IRL`,e.IRN=`IRN`,e.IRQ=`IRQ`,e.ISL=`ISL`,e.ISR=`ISR`,e.ITA=`ITA`,e.JAM=`JAM`,e.JEY=`JEY`,e.JOR=`JOR`,e.JPN=`JPN`,e.KAZ=`KAZ`,e.KEN=`KEN`,e.KGZ=`KGZ`,e.KHM=`KHM`,e.KIR=`KIR`,e.KNA=`KNA`,e.KOR=`KOR`,e.KWT=`KWT`,e.LAO=`LAO`,e.LBN=`LBN`,e.LBR=`LBR`,e.LBY=`LBY`,e.LCA=`LCA`,e.LIE=`LIE`,e.LKA=`LKA`,e.LSO=`LSO`,e.LTU=`LTU`,e.LUX=`LUX`,e.LVA=`LVA`,e.MAC=`MAC`,e.MAF=`MAF`,e.MAR=`MAR`,e.MCO=`MCO`,e.MDA=`MDA`,e.MDG=`MDG`,e.MDV=`MDV`,e.MEX=`MEX`,e.MHL=`MHL`,e.MKD=`MKD`,e.MLI=`MLI`,e.MLT=`MLT`,e.MMR=`MMR`,e.MNE=`MNE`,e.MNG=`MNG`,e.MNP=`MNP`,e.MOZ=`MOZ`,e.MRT=`MRT`,e.MSR=`MSR`,e.MTQ=`MTQ`,e.MUS=`MUS`,e.MWI=`MWI`,e.MYS=`MYS`,e.MYT=`MYT`,e.NAM=`NAM`,e.NCL=`NCL`,e.NER=`NER`,e.NFK=`NFK`,e.NGA=`NGA`,e.NIC=`NIC`,e.NIU=`NIU`,e.NLD=`NLD`,e.NOR=`NOR`,e.NPL=`NPL`,e.NRU=`NRU`,e.NZL=`NZL`,e.OMN=`OMN`,e.PAK=`PAK`,e.PAN=`PAN`,e.PCN=`PCN`,e.PER=`PER`,e.PHL=`PHL`,e.PLW=`PLW`,e.PNG=`PNG`,e.POL=`POL`,e.PRI=`PRI`,e.PRK=`PRK`,e.PRT=`PRT`,e.PRY=`PRY`,e.PSE=`PSE`,e.PYF=`PYF`,e.QAT=`QAT`,e.REU=`REU`,e.ROU=`ROU`,e.RUS=`RUS`,e.RWA=`RWA`,e.SAU=`SAU`,e.SDN=`SDN`,e.SEN=`SEN`,e.SGP=`SGP`,e.SGS=`SGS`,e.SHN=`SHN`,e.SJM=`SJM`,e.SLB=`SLB`,e.SLE=`SLE`,e.SLV=`SLV`,e.SMR=`SMR`,e.SOM=`SOM`,e.SPM=`SPM`,e.SRB=`SRB`,e.SSD=`SSD`,e.STP=`STP`,e.SUR=`SUR`,e.SVK=`SVK`,e.SVN=`SVN`,e.SWE=`SWE`,e.SWZ=`SWZ`,e.SXM=`SXM`,e.SYC=`SYC`,e.SYR=`SYR`,e.TCA=`TCA`,e.TCD=`TCD`,e.TGO=`TGO`,e.THA=`THA`,e.TJK=`TJK`,e.TKL=`TKL`,e.TKM=`TKM`,e.TLS=`TLS`,e.TON=`TON`,e.TTO=`TTO`,e.TUN=`TUN`,e.TUR=`TUR`,e.TUV=`TUV`,e.TWN=`TWN`,e.TZA=`TZA`,e.UGA=`UGA`,e.UKR=`UKR`,e.UMI=`UMI`,e.URY=`URY`,e.USA=`USA`,e.UZB=`UZB`,e.VAT=`VAT`,e.VCT=`VCT`,e.VEN=`VEN`,e.VGB=`VGB`,e.VIR=`VIR`,e.VNM=`VNM`,e.VUT=`VUT`,e.WLF=`WLF`,e.WSM=`WSM`,e.YEM=`YEM`,e.ZAF=`ZAF`,e.ZMB=`ZMB`,e.ZWE=`ZWE`})(z_||={});var B_;(function(e){e.ACCOUNT_DIGITAL_SIGNATURE=`account_digital_signature`,e.CARDHOLDER_DATA=`cardholder_data`,e.MANUAL_SIGNATURE=`manual_signature`,e.MANUAL_VERIFICATION=`manual_verification`,e.NO_CAPABILITIES=`no_capabilities`,e.OFFLINE_BIOGRAPHICS=`offline_biographics`,e.OFFLINE_BIOMETRICS=`offline_biometrics`,e.OFFLINE_DIGITAL_SIGNATURE=`offline_digital_signature`,e.OFFLINE_PIN_CLEAR=`offline_pin_clear`,e.OFFLINE_PIN_ENCRYPTED=`offline_pin_encrypted`,e.ONLINE_BIOMETRICS=`online_biometrics`,e.ONLINE_PIN=`online_pin`,e.OTHER=`other`,e.PKI_SIGNATURE=`pki_signature`,e.SECURE_ECOMMERCE=`secure_ecommerce`})(B_||={});var V_;(function(e){e.AUTHORISATION=`authorisation`,e.COMPLETION=`completion`})(V_||={});var H_;(function(e){e.CMAC_AES_128=`cmac_aes128`,e.CMAC_AES_192=`cmac_aes192`,e.CMAC_AES_256=`cmac_aes256`,e.SHA_256_CMAC_AES_128=`sha256_cmac_aes128`,e.SHA_3_256_CMAC_AES_128=`sha3_256_cmac_aes128`,e.SHA_3_384_CMAC_AES_192=`sha3_384_cmac_aes192`,e.SHA_3_512_CMAC_AES_256=`sha3_512_cmac_aes256`,e.SHA_384_CMAC_AES_192=`sha384_cmac_aes192`,e.SHA_512_CMAC_AES_256=`sha512_cmac_aes256`})(H_||={});var U_;(function(e){e.PAYMENT=`payment`,e.TERMINAL_MANAGEMENT=`terminal_management`})(U_||={});var W_;(function(e){e.AUTHORISATION_REQUEST=`authorisation_request`,e.AUTHORISATION_RESPONSE=`authorisation_response`,e.CANCELLATION_ADVICE=`cancellation_advice`,e.CANCELLATION_ADVICE_RESPONSE=`cancellation_advice_response`,e.CANCELLATION_REQUEST=`cancellation_request`,e.CANCELLATION_RESPONSE=`cancellation_response`,e.CARD_DEBIT_ADVICE=`card_debit_advice`,e.CARD_DEBIT_ADVICE_RESPONSE=`card_debit_advice_response`,e.CARD_DEBIT_REQUEST=`card_debit_request`,e.CARD_DEBIT_RESPONSE=`card_debit_response`,e.COMPLETION_ADVICE=`completion_advice`,e.COMPLETION_ADVICE_RESPONSE=`completion_advice_response`,e.CURRENCY_CONVERSION_ADVICE=`currency_conversion_advice`,e.CURRENCY_CONVERSION_ADVICE_RESPONSE=`currency_conversion_advice_response`,e.CURRENCY_CONVERSION_RATE_REQUEST=`currency_conversion_rate_request`,e.CURRENCY_CONVERSION_RATE_RESPONSE=`currency_conversion_rate_response`,e.CURRENCY_CONVERSION_REQUEST=`currency_conversion_request`,e.CURRENCY_CONVERSION_RESPONSE=`currency_conversion_response`,e.DIAGNOSTIC_REQUEST=`diagnostic_request`,e.DIAGNOSTIC_RESPONSE=`diagnostic_response`,e.FINANCIAL_AUTHORISATION_REQUEST=`financial_authorisation_request`,e.FINANCIAL_AUTHORISATION_RESPONSE=`financial_authorisation_response`,e.FINANCIAL_COMPLETION_ADVICE=`financial_completion_advice`,e.FINANCIAL_COMPLETION_ADVICE_RESPONSE=`financial_completion_advice_response`,e.FINANCIAL_REVERSAL_ADVICE=`financial_reversal_advice`,e.FINANCIAL_REVERSAL_ADVICE_RESPONSE=`financial_reversal_advice_response`,e.NON_FINANCIAL_REQUEST=`non_financial_request`,e.NON_FINANCIAL_RESPONSE=`non_financial_response`,e.RECONCILIATION_REQUEST=`reconciliation_request`,e.RECONCILIATION_RESPONSE=`reconciliation_response`,e.REVERSAL_ADVICE=`reversal_advice`,e.REVERSAL_ADVICE_RESPONSE=`reversal_advice_response`,e.TRANSACTION_ADVICE=`transaction_advice`,e.TRANSACTION_ADVICE_RESPONSE=`transaction_advice_response`,e.TRANSACTION_REPORT_REQUEST=`transaction_report_request`,e.TRANSACTION_REPORT_RESPONSE=`transaction_report_response`})(W_||={});var E;(function(e){e.ACCOUNT_INVITATIONS_CREATE=`account_invitations:create`,e.ACCOUNT_INVITATIONS_DELETE=`account_invitations:delete`,e.ACCOUNT_INVITATIONS_READ=`account_invitations:read`,e.ACCOUNT_INVITATIONS_UPDATE=`account_invitations:update`,e.ACCOUNT_MEMBERSHIPS_CREATE=`account_memberships:create`,e.ACCOUNT_MEMBERSHIPS_DELETE=`account_memberships:delete`,e.ACCOUNT_MEMBERSHIPS_READ=`account_memberships:read`,e.ACCOUNT_MEMBERSHIPS_UPDATE=`account_memberships:update`,e.ACCOUNTS_CREATE=`accounts:create`,e.ACCOUNTS_DELETE=`accounts:delete`,e.ACCOUNTS_READ=`accounts:read`,e.ACCOUNTS_UPDATE=`accounts:update`,e.ADDRESSES_CREATE=`addresses:create`,e.ADDRESSES_DELETE=`addresses:delete`,e.ADDRESSES_READ=`addresses:read`,e.ADDRESSES_UPDATE=`addresses:update`,e.API_KEYS_CREATE=`api_keys:create`,e.API_KEYS_DELETE=`api_keys:delete`,e.API_KEYS_READ=`api_keys:read`,e.API_KEYS_UPDATE=`api_keys:update`,e.APPLICATION_PARAMETERS_CREATE=`application_parameters:create`,e.APPLICATION_PARAMETERS_DELETE=`application_parameters:delete`,e.APPLICATION_PARAMETERS_READ=`application_parameters:read`,e.APPLICATION_PARAMETERS_UPDATE=`application_parameters:update`,e.CONFIGURATIONS_INTERNAL_CREATE=`configurations_internal:create`,e.CONFIGURATIONS_INTERNAL_DELETE=`configurations_internal:delete`,e.CONFIGURATIONS_INTERNAL_READ=`configurations_internal:read`,e.CONFIGURATIONS_INTERNAL_UPDATE=`configurations_internal:update`,e.CONFIGURATIONS_PUBLIC_CREATE=`configurations_public:create`,e.CONFIGURATIONS_PUBLIC_DELETE=`configurations_public:delete`,e.CONFIGURATIONS_PUBLIC_READ=`configurations_public:read`,e.CONFIGURATIONS_PUBLIC_UPDATE=`configurations_public:update`,e.MERCHANT_GROUPS_CREATE=`merchant_groups:create`,e.MERCHANT_GROUPS_DELETE=`merchant_groups:delete`,e.MERCHANT_GROUPS_READ=`merchant_groups:read`,e.MERCHANT_GROUPS_UPDATE=`merchant_groups:update`,e.MERCHANTS_CREATE=`merchants:create`,e.MERCHANTS_DELETE=`merchants:delete`,e.MERCHANTS_READ=`merchants:read`,e.MERCHANTS_UPDATE=`merchants:update`,e.MESSAGE_GROUPS_CREATE=`message_groups:create`,e.MESSAGE_GROUPS_DELETE=`message_groups:delete`,e.MESSAGE_GROUPS_READ=`message_groups:read`,e.MESSAGE_GROUPS_UPDATE=`message_groups:update`,e.MESSAGES_CREATE=`messages:create`,e.MESSAGES_DELETE=`messages:delete`,e.MESSAGES_READ=`messages:read`,e.MESSAGES_UPDATE=`messages:update`,e.POI_GROUPS_CREATE=`poi_groups:create`,e.POI_GROUPS_DELETE=`poi_groups:delete`,e.POI_GROUPS_READ=`poi_groups:read`,e.POI_GROUPS_UPDATE=`poi_groups:update`,e.POIS_CREATE=`pois:create`,e.POIS_DELETE=`pois:delete`,e.POIS_READ=`pois:read`,e.POIS_UPDATE=`pois:update`,e.RECEIPTS_CREATE=`receipts:create`,e.RECEIPTS_DELETE=`receipts:delete`,e.RECEIPTS_READ=`receipts:read`,e.RECEIPTS_UPDATE=`receipts:update`,e.ROLES_CREATE=`roles:create`,e.ROLES_DELETE=`roles:delete`,e.ROLES_READ=`roles:read`,e.ROLES_UPDATE=`roles:update`,e.RULES_CREATE=`rules:create`,e.RULES_DELETE=`rules:delete`,e.RULES_READ=`rules:read`,e.RULES_UPDATE=`rules:update`,e.USERS_CREATE=`users:create`,e.USERS_DELETE=`users:delete`,e.USERS_READ=`users:read`,e.USERS_UPDATE=`users:update`,e.WEBHOOK_ENDPOINTS_CREATE=`webhook_endpoints:create`,e.WEBHOOK_ENDPOINTS_DELETE=`webhook_endpoints:delete`,e.WEBHOOK_ENDPOINTS_READ=`webhook_endpoints:read`,e.WEBHOOK_ENDPOINTS_UPDATE=`webhook_endpoints:update`})(E||={});var G_;(function(e){e.ISO_0=`ISO0`,e.ISO_1=`ISO1`,e.ISO_2=`ISO2`,e.ISO_3=`ISO3`,e.ISO_4=`ISO4`})(G_||={});var K_;(function(e){e.APPROVED=`approved`,e.DECLINED=`declined`,e.PARTIALLY_APPROVED=`partially_approved`,e.SUSPENDED=`suspended`,e.TECHNICAL_ERROR=`technical_error`})(K_||={});var q_;(function(e){e.POS=`pos`,e.ECOMMERCE=`ecommerce`,e.MOTO=`moto`,e.UNKNOWN=`unknown`,e.SOFTPOS=`softpos`})(q_||={});var J_;(function(e){e.TRANSACTION_ROUTING=`transaction_routing`})(J_||={});var Y_;(function(e){e.DATA_DUKPT=`data_dukpt`,e.ONLINE_PIN_ZPK=`online_pin_zpk`,e.PIN_DUKPT=`pin_dukpt`,e.RKI=`rki`,e.TEST=`test`})(Y_||={});var X_;(function(e){e.SORTED=`sorted`,e.WEIGHTED_RANDOM=`weighted_random`})(X_||={});var Z_;(function(e){e.AUTHORISED=`authorised`,e.CANCELLED=`cancelled`,e.CAPTURED=`captured`,e.DECLINED=`declined`,e.FAILED=`failed`,e.PENDING=`pending`,e.REVERSED=`reversed`})(Z_||={});var Q_;(function(e){e.PURCHASE=`purchase`,e.REFUND=`refund`})(Q_||={});var $_;(function(e){e.RECEIPT_CREATED=`receipt.created`})($_||={});var ev;(function(e){e.SVIX=`svix`})(ev||={});var tv=Object.freeze({status:`aborted`});function D(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,`_zod`,{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,`name`,{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,`init`,{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,`name`,{value:e}),o}var nv=Symbol(`zod_brand`),rv=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},iv=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},av={};function ov(e){return e&&Object.assign(av,e),av}var sv=c({BIGINT_FORMAT_RANGES:()=>Bv,Class:()=>ly,NUMBER_FORMAT_RANGES:()=>zv,aborted:()=>Jv,allowsEval:()=>Dv,assert:()=>mne,assertEqual:()=>une,assertIs:()=>fne,assertNever:()=>pne,assertNotEqual:()=>dne,assignProp:()=>_v,base64ToUint8Array:()=>ry,base64urlToUint8Array:()=>ay,cached:()=>uv,captureStackTrace:()=>Tv,cleanEnum:()=>ny,cleanRegex:()=>fv,clone:()=>Fv,cloneDef:()=>yv,createTransparentProxy:()=>Iv,defineLazy:()=>hv,esc:()=>Cv,escapeRegex:()=>Pv,extend:()=>Uv,finalizeIssue:()=>Zv,floatSafeRemainder:()=>pv,getElementAtPath:()=>bv,getEnumValues:()=>cv,getLengthableOrigin:()=>$v,getParsedType:()=>jv,getSizableOrigin:()=>Qv,hexToUint8Array:()=>sy,isObject:()=>Ev,isPlainObject:()=>Ov,issue:()=>ty,joinValues:()=>O,jsonStringifyReplacer:()=>lv,merge:()=>Gv,mergeDefs:()=>vv,normalizeParams:()=>k,nullish:()=>dv,numKeys:()=>Av,objectClone:()=>gv,omit:()=>Hv,optionalKeys:()=>Rv,parsedType:()=>ey,partial:()=>Kv,pick:()=>Vv,prefixIssues:()=>Yv,primitiveTypes:()=>Nv,promiseAllObject:()=>xv,propertyKeyTypes:()=>Mv,randomString:()=>Sv,required:()=>qv,safeExtend:()=>Wv,shallowClone:()=>kv,slugify:()=>wv,stringifyPrimitive:()=>Lv,uint8ArrayToBase64:()=>iy,uint8ArrayToBase64url:()=>oy,uint8ArrayToHex:()=>cy,unwrapMessage:()=>Xv});function une(e){return e}function dne(e){return e}function fne(e){}function pne(e){throw Error(`Unexpected value in exhaustive check`)}function mne(e){}function cv(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function O(e,t=`|`){return e.map(e=>Lv(e)).join(t)}function lv(e,t){return typeof t==`bigint`?t.toString():t}function uv(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function dv(e){return e==null}function fv(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function pv(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=t.toString(),i=(r.split(`.`)[1]||``).length;if(i===0&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}var mv=Symbol(`evaluating`);function hv(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==mv)return r===void 0&&(r=mv,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function gv(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function _v(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function vv(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function yv(e){return vv(e._zod.def)}function bv(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function xv(e){let t=Object.keys(e),n=t.map(t=>e[t]);return Promise.all(n).then(e=>{let n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n})}function Sv(e=10){let t=``;for(let n=0;n<e;n++)t+=`abcdefghijklmnopqrstuvwxyz`[Math.floor(Math.random()*26)];return t}function Cv(e){return JSON.stringify(e)}function wv(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var Tv=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Ev(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Dv=uv(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function Ov(e){if(Ev(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(Ev(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function kv(e){return Ov(e)?{...e}:Array.isArray(e)?[...e]:e}function Av(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var jv=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 Error(`Unknown data type: ${t}`)}},Mv=new Set([`string`,`number`,`symbol`]),Nv=new Set([`string`,`number`,`bigint`,`boolean`,`symbol`,`undefined`]);function Pv(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Fv(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function k(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 Error(&#x22;Cannot specify both `message` and `error` params&#x22;);t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function Iv(e){let t;return new Proxy({},{get(n,r,i){return t??=e(),Reflect.get(t,r,i)},set(n,r,i,a){return t??=e(),Reflect.set(t,r,i,a)},has(n,r){return t??=e(),Reflect.has(t,r)},deleteProperty(n,r){return t??=e(),Reflect.deleteProperty(t,r)},ownKeys(n){return t??=e(),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,r){return t??=e(),Reflect.getOwnPropertyDescriptor(t,r)},defineProperty(n,r,i){return t??=e(),Reflect.defineProperty(t,r,i)}})}function Lv(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`&#x22;${e}&#x22;`:`${e}`}function Rv(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var zv={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Bv={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function Vv(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return Fv(e,vv(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: &#x22;${r}&#x22;`);t[r]&&(e[r]=n.shape[r])}return _v(this,`shape`,e),e},checks:[]}))}function Hv(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return Fv(e,vv(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: &#x22;${e}&#x22;`);t[e]&&delete r[e]}return _v(this,`shape`,r),r},checks:[]}))}function Uv(e,t){if(!Ov(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error(&#x22;Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.&#x22;)}return Fv(e,vv(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return _v(this,`shape`,n),n}}))}function Wv(e,t){if(!Ov(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Fv(e,vv(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return _v(this,`shape`,n),n}}))}function Gv(e,t){return Fv(e,vv(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return _v(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function Kv(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return Fv(t,vv(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: &#x22;${t}&#x22;`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return _v(this,`shape`,i),i},checks:[]}))}function qv(e,t,n){return Fv(t,vv(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: &#x22;${t}&#x22;`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return _v(this,`shape`,i),i}}))}function Jv(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Yv(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Xv(e){return typeof e==`string`?e:e?.message}function Zv(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=Xv(e.inst?._zod.def?.error?.(e))??Xv(t?.error?.(e))??Xv(n.customError?.(e))??Xv(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function Qv(e){return e instanceof Set?`set`:e instanceof Map?`map`:e instanceof File?`file`:`unknown`}function $v(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function ey(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function ty(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function ny(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function ry(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function iy(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function ay(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return ry(t+`=`.repeat((4-t.length%4)%4))}function oy(e){return iy(e).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=/g,``)}function sy(e){let t=e.replace(/^0x/,``);if(t.length%2!=0)throw Error(`Invalid hex string length`);let n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)n[e/2]=Number.parseInt(t.slice(e,e+2),16);return n}function cy(e){return Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``)}var ly=class{constructor(...e){}},uy=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,`_zod`,{value:e._zod,enumerable:!1}),Object.defineProperty(e,`issues`,{value:t,enumerable:!1}),e.message=JSON.stringify(t,lv,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},dy=D(`$ZodError`,uy),fy=D(`$ZodError`,uy,{Parent:Error});function py(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function my(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`&&i.errors.length)i.errors.map(e=>r({issues:e}));else if(i.code===`invalid_key`)r({issues:i.issues});else if(i.code===`invalid_element`)r({issues:i.issues});else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}function hy(e,t=e=>e.message){let n={errors:[]},r=(e,i=[])=>{var a,o;for(let s of e.issues)if(s.code===`invalid_union`&&s.errors.length)s.errors.map(e=>r({issues:e},s.path));else if(s.code===`invalid_key`)r({issues:s.issues},s.path);else if(s.code===`invalid_element`)r({issues:s.issues},s.path);else{let e=[...i,...s.path];if(e.length===0){n.errors.push(t(s));continue}let r=n,c=0;for(;c<e.length;){let n=e[c],i=c===e.length-1;typeof n==`string`?(r.properties??={},(a=r.properties)[n]??(a[n]={errors:[]}),r=r.properties[n]):(r.items??=[],(o=r.items)[n]??(o[n]={errors:[]}),r=r.items[n]),i&&r.errors.push(t(s)),c++}}};return r(e),n}function gy(e){let t=[],n=e.map(e=>typeof e==`object`?e.key:e);for(let e of n)typeof e==`number`?t.push(`[${e}]`):typeof e==`symbol`?t.push(`[${JSON.stringify(String(e))}]`):/[^\w$]/.test(e)?t.push(`[${JSON.stringify(e)}]`):(t.length&&t.push(`.`),t.push(e));return t.join(``)}function _y(e){let t=[],n=[...e.issues].sort((e,t)=>(e.path??[]).length-(t.path??[]).length);for(let e of n)t.push(`✖ ${e.message}`),e.path?.length&&t.push(`  → at ${gy(e.path)}`);return t.join(`&#xA;`)}var vy=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new rv;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Zv(e,a,ov())));throw Tv(t,i?.callee),t}return o.value},yy=vy(fy),by=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Zv(e,a,ov())));throw Tv(t,i?.callee),t}return o.value},xy=by(fy),Sy=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new rv;return a.issues.length?{success:!1,error:new(e??dy)(a.issues.map(e=>Zv(e,i,ov())))}:{success:!0,data:a.value}},Cy=Sy(fy),wy=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Zv(e,i,ov())))}:{success:!0,data:a.value}},Ty=wy(fy),Ey=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return vy(e)(t,n,i)},Dy=Ey(fy),Oy=e=>(t,n,r)=>vy(e)(t,n,r),ky=Oy(fy),Ay=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return by(e)(t,n,i)},hne=Ay(fy),jy=e=>async(t,n,r)=>by(e)(t,n,r),gne=jy(fy),My=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return Sy(e)(t,n,i)},_ne=My(fy),Ny=e=>(t,n,r)=>Sy(e)(t,n,r),vne=Ny(fy),Py=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return wy(e)(t,n,i)},yne=Py(fy),Fy=e=>async(t,n,r)=>wy(e)(t,n,r),bne=Fy(fy),Iy=c({base64:()=>eb,base64url:()=>tb,bigint:()=>db,boolean:()=>mb,browserEmail:()=>One,cidrv4:()=>Qy,cidrv6:()=>$y,cuid:()=>Ly,cuid2:()=>Ry,date:()=>ob,datetime:()=>lb,domain:()=>rb,duration:()=>Uy,e164:()=>ib,email:()=>Ky,emoji:()=>Jy,extendedDuration:()=>xne,guid:()=>Wy,hex:()=>yb,hostname:()=>nb,html5Email:()=>Tne,idnEmail:()=>Dne,integer:()=>fb,ipv4:()=>Yy,ipv6:()=>Xy,ksuid:()=>Vy,lowercase:()=>_b,mac:()=>Zy,md5_base64:()=>jne,md5_base64url:()=>Mne,md5_hex:()=>Ane,nanoid:()=>Hy,null:()=>hb,number:()=>pb,rfc5322Email:()=>Ene,sha1_base64:()=>Pne,sha1_base64url:()=>Fne,sha1_hex:()=>Nne,sha256_base64:()=>Lne,sha256_base64url:()=>Rne,sha256_hex:()=>Ine,sha384_base64:()=>Bne,sha384_base64url:()=>Vne,sha384_hex:()=>zne,sha512_base64:()=>Une,sha512_base64url:()=>Wne,sha512_hex:()=>Hne,string:()=>ub,time:()=>cb,ulid:()=>zy,undefined:()=>gb,unicodeEmail:()=>qy,uppercase:()=>vb,uuid:()=>Gy,uuid4:()=>Sne,uuid6:()=>Cne,uuid7:()=>wne,xid:()=>By}),Ly=/^[cC][^\s-]{8,}$/,Ry=/^[0-9a-z]+$/,zy=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,By=/^[0-9a-vA-V]{20}$/,Vy=/^[A-Za-z0-9]{27}$/,Hy=/^[a-zA-Z0-9_-]{21}$/,Uy=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,xne=/^[-+]?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)?)??$/,Wy=/^([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})$/,Gy=e=>e?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|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Sne=Gy(4),Cne=Gy(6),wne=Gy(7),Ky=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Tne=/^[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])?)*$/,Ene=/^(([^<>()\[\]\\.,;:\s@&#x22;]+(\.[^<>()\[\]\\.,;:\s@&#x22;]+)*)|(&#x22;.+&#x22;))@((\[[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,}))$/,qy=/^[^\s@&#x22;]{1,64}@[^\s@]{1,255}$/u,Dne=qy,One=/^[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])?)*$/,kne=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function Jy(){return new RegExp(kne,`u`)}var Yy=/^(?:(?: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])$/,Xy=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Zy=e=>{let t=Pv(e??`:`);return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},Qy=/^((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])$/,$y=/^(([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])$/,eb=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,tb=/^[A-Za-z0-9_-]*$/,nb=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,rb=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,ib=/^\+[1-9]\d{6,14}$/,ab=`(?:(?:\\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])))`,ob=RegExp(`^${ab}$`);function sb(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 cb(e){return RegExp(`^${sb(e)}$`)}function lb(e){let t=sb({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${ab}T(?:${r})$`)}var ub=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},db=/^-?\d+n?$/,fb=/^-?\d+$/,pb=/^-?\d+(?:\.\d+)?$/,mb=/^(?:true|false)$/i,hb=/^null$/i,gb=/^undefined$/i,_b=/^[^A-Z]*$/,vb=/^[^a-z]*$/,yb=/^[0-9a-fA-F]*$/;function bb(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function xb(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Ane=/^[0-9a-fA-F]{32}$/,jne=bb(22,`==`),Mne=xb(22),Nne=/^[0-9a-fA-F]{40}$/,Pne=bb(27,`=`),Fne=xb(27),Ine=/^[0-9a-fA-F]{64}$/,Lne=bb(43,`=`),Rne=xb(43),zne=/^[0-9a-fA-F]{96}$/,Bne=bb(64,``),Vne=xb(64),Hne=/^[0-9a-fA-F]{128}$/,Une=bb(86,`==`),Wne=xb(86),Sb=D(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Cb={number:`number`,bigint:`bigint`,object:`date`},wb=D(`$ZodCheckLessThan`,(e,t)=>{Sb.init(e,t);let n=Cb[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Tb=D(`$ZodCheckGreaterThan`,(e,t)=>{Sb.init(e,t);let n=Cb[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Eb=D(`$ZodCheckMultipleOf`,(e,t)=>{Sb.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):pv(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})}}),Db=D(`$ZodCheckNumberFormat`,(e,t)=>{Sb.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=zv[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=fb)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Ob=D(`$ZodCheckBigIntFormat`,(e,t)=>{Sb.init(e,t);let[n,r]=Bv[t.format];e._zod.onattach.push(e=>{let i=e._zod.bag;i.format=t.format,i.minimum=n,i.maximum=r}),e._zod.check=i=>{let a=i.value;a<n&&i.issues.push({origin:`bigint`,input:a,code:`too_small`,minimum:n,inclusive:!0,inst:e,continue:!t.abort}),a>r&&i.issues.push({origin:`bigint`,input:a,code:`too_big`,maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),kb=D(`$ZodCheckMaxSize`,(e,t)=>{var n;Sb.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!dv(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:Qv(r),code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ab=D(`$ZodCheckMinSize`,(e,t)=>{var n;Sb.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!dv(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:Qv(r),code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),jb=D(`$ZodCheckSizeEquals`,(e,t)=>{var n;Sb.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!dv(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{let r=n.value,i=r.size;if(i===t.size)return;let a=i>t.size;n.issues.push({origin:Qv(r),...a?{code:`too_big`,maximum:t.size}:{code:`too_small`,minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Mb=D(`$ZodCheckMaxLength`,(e,t)=>{var n;Sb.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!dv(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=$v(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nb=D(`$ZodCheckMinLength`,(e,t)=>{var n;Sb.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!dv(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=$v(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Pb=D(`$ZodCheckLengthEquals`,(e,t)=>{var n;Sb.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!dv(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=$v(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Fb=D(`$ZodCheckStringFormat`,(e,t)=>{var n,r;Sb.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Ib=D(`$ZodCheckRegex`,(e,t)=>{Fb.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})}}),Lb=D(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=_b,Fb.init(e,t)}),Rb=D(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=vb,Fb.init(e,t)}),zb=D(`$ZodCheckIncludes`,(e,t)=>{Sb.init(e,t);let n=Pv(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Bb=D(`$ZodCheckStartsWith`,(e,t)=>{Sb.init(e,t);let n=RegExp(`^${Pv(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Vb=D(`$ZodCheckEndsWith`,(e,t)=>{Sb.init(e,t);let n=RegExp(`.*${Pv(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function Hb(e,t,n){e.issues.length&&t.issues.push(...Yv(n,e.issues))}var Ub=D(`$ZodCheckProperty`,(e,t)=>{Sb.init(e,t),e._zod.check=e=>{let n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>Hb(n,e,t.property));Hb(n,e,t.property)}}),Wb=D(`$ZodCheckMimeType`,(e,t)=>{Sb.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:`invalid_value`,values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),Gb=D(`$ZodCheckOverwrite`,(e,t)=>{Sb.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Kb=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`&#xA;`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>`  ${e}`)];return new e(...t,n.join(`&#xA;`))}},qb={major:4,minor:3,patch:6},Jb=D(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=qb;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=Jv(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new rv;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=Jv(e,t))});else{if(e.issues.length===t)continue;r||=Jv(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(Jv(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new rv;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new rv;return o.then(e=>t(e,r,a))}return t(o,r,a)}}hv(e,`~standard`,()=>({validate:t=>{try{let n=Cy(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Ty(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Yb=D(`$ZodString`,(e,t)=>{Jb.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??ub(e._zod.bag),e._zod.parse=(n,r)=>{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}}),Xb=D(`$ZodStringFormat`,(e,t)=>{Fb.init(e,t),Yb.init(e,t)}),Zb=D(`$ZodGUID`,(e,t)=>{t.pattern??=Wy,Xb.init(e,t)}),Qb=D(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: &#x22;${t.version}&#x22;`);t.pattern??=Gy(e)}else t.pattern??=Gy();Xb.init(e,t)}),$b=D(`$ZodEmail`,(e,t)=>{t.pattern??=Ky,Xb.init(e,t)}),ex=D(`$ZodURL`,(e,t)=>{Xb.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),tx=D(`$ZodEmoji`,(e,t)=>{t.pattern??=Jy(),Xb.init(e,t)}),nx=D(`$ZodNanoID`,(e,t)=>{t.pattern??=Hy,Xb.init(e,t)}),rx=D(`$ZodCUID`,(e,t)=>{t.pattern??=Ly,Xb.init(e,t)}),ix=D(`$ZodCUID2`,(e,t)=>{t.pattern??=Ry,Xb.init(e,t)}),ax=D(`$ZodULID`,(e,t)=>{t.pattern??=zy,Xb.init(e,t)}),ox=D(`$ZodXID`,(e,t)=>{t.pattern??=By,Xb.init(e,t)}),sx=D(`$ZodKSUID`,(e,t)=>{t.pattern??=Vy,Xb.init(e,t)}),cx=D(`$ZodISODateTime`,(e,t)=>{t.pattern??=lb(t),Xb.init(e,t)}),lx=D(`$ZodISODate`,(e,t)=>{t.pattern??=ob,Xb.init(e,t)}),ux=D(`$ZodISOTime`,(e,t)=>{t.pattern??=cb(t),Xb.init(e,t)}),dx=D(`$ZodISODuration`,(e,t)=>{t.pattern??=Uy,Xb.init(e,t)}),fx=D(`$ZodIPv4`,(e,t)=>{t.pattern??=Yy,Xb.init(e,t),e._zod.bag.format=`ipv4`}),px=D(`$ZodIPv6`,(e,t)=>{t.pattern??=Xy,Xb.init(e,t),e._zod.bag.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})}}}),mx=D(`$ZodMAC`,(e,t)=>{t.pattern??=Zy(t.delimiter),Xb.init(e,t),e._zod.bag.format=`mac`}),hx=D(`$ZodCIDRv4`,(e,t)=>{t.pattern??=Qy,Xb.init(e,t)}),gx=D(`$ZodCIDRv6`,(e,t)=>{t.pattern??=$y,Xb.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function _x(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var vx=D(`$ZodBase64`,(e,t)=>{t.pattern??=eb,Xb.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{_x(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function yx(e){if(!tb.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return _x(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var bx=D(`$ZodBase64URL`,(e,t)=>{t.pattern??=tb,Xb.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{yx(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),xx=D(`$ZodE164`,(e,t)=>{t.pattern??=ib,Xb.init(e,t)});function Sx(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var Cx=D(`$ZodJWT`,(e,t)=>{Xb.init(e,t),e._zod.check=n=>{Sx(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),wx=D(`$ZodCustomStringFormat`,(e,t)=>{Xb.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})}}),Tx=D(`$ZodNumber`,(e,t)=>{Jb.init(e,t),e._zod.pattern=e._zod.bag.pattern??pb,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),Ex=D(`$ZodNumberFormat`,(e,t)=>{Db.init(e,t),Tx.init(e,t)}),Dx=D(`$ZodBoolean`,(e,t)=>{Jb.init(e,t),e._zod.pattern=mb,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),Ox=D(`$ZodBigInt`,(e,t)=>{Jb.init(e,t),e._zod.pattern=db,e._zod.parse=(n,r)=>{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}}),kx=D(`$ZodBigIntFormat`,(e,t)=>{Ob.init(e,t),Ox.init(e,t)}),Ax=D(`$ZodSymbol`,(e,t)=>{Jb.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return typeof r==`symbol`||t.issues.push({expected:`symbol`,code:`invalid_type`,input:r,inst:e}),t}}),jx=D(`$ZodUndefined`,(e,t)=>{Jb.init(e,t),e._zod.pattern=gb,e._zod.values=new Set([void 0]),e._zod.optin=`optional`,e._zod.optout=`optional`,e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`undefined`,code:`invalid_type`,input:r,inst:e}),t}}),Mx=D(`$ZodNull`,(e,t)=>{Jb.init(e,t),e._zod.pattern=hb,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),Nx=D(`$ZodAny`,(e,t)=>{Jb.init(e,t),e._zod.parse=e=>e}),Px=D(`$ZodUnknown`,(e,t)=>{Jb.init(e,t),e._zod.parse=e=>e}),Fx=D(`$ZodNever`,(e,t)=>{Jb.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)}),Ix=D(`$ZodVoid`,(e,t)=>{Jb.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`void`,code:`invalid_type`,input:r,inst:e}),t}}),Lx=D(`$ZodDate`,(e,t)=>{Jb.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let i=n.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||n.issues.push({expected:`date`,code:`invalid_type`,input:i,...a?{received:`Invalid Date`}:{},inst:e}),n}});function Rx(e,t,n){e.issues.length&&t.issues.push(...Yv(n,e.issues)),t.value[n]=e.value}var zx=D(`$ZodArray`,(e,t)=>{Jb.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Rx(t,n,e))):Rx(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function Bx(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...Yv(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function Vx(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key &#x22;${n}&#x22;: expected a Zod schema`);let n=Rv(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function Hx(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optout===`optional`;for(let i in t){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>Bx(e,n,i,t,u))):Bx(a,n,i,t,u)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var Ux=D(`$ZodObject`,(e,t)=>{if(Jb.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,`shape`,{get:()=>{let n={...e};return Object.defineProperty(t,`shape`,{value:n}),n}})}let n=uv(()=>Vx(t));hv(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=Ev,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optout===`optional`,i=n._zod.run({value:s[e],issues:[]},o);i instanceof Promise?c.push(i.then(n=>Bx(n,t,e,s,r))):Bx(i,t,e,s,r)}return i?Hx(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Wx=D(`$ZodObjectJIT`,(e,t)=>{Ux.init(e,t);let n=e._zod.parse,r=uv(()=>Vx(t)),i=e=>{let t=new Kb([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=Cv(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=Cv(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(`&#xA;        if (${n}.issues.length) {&#xA;          if (${o} in input) {&#xA;            payload.issues = payload.issues.concat(${n}.issues.map(iss => ({&#xA;              ...iss,&#xA;              path: iss.path ? [${o}, ...iss.path] : [${o}]&#xA;            })));&#xA;          }&#xA;        }&#xA;        &#xA;        if (${n}.value === undefined) {&#xA;          if (${o} in input) {&#xA;            newResult[${o}] = undefined;&#xA;          }&#xA;        } else {&#xA;          newResult[${o}] = ${n}.value;&#xA;        }&#xA;        &#xA;      `):t.write(`&#xA;        if (${n}.issues.length) {&#xA;          payload.issues = payload.issues.concat(${n}.issues.map(iss => ({&#xA;            ...iss,&#xA;            path: iss.path ? [${o}, ...iss.path] : [${o}]&#xA;          })));&#xA;        }&#xA;        &#xA;        if (${n}.value === undefined) {&#xA;          if (${o} in input) {&#xA;            newResult[${o}] = undefined;&#xA;          }&#xA;        } else {&#xA;          newResult[${o}] = ${n}.value;&#xA;        }&#xA;        &#xA;      `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Ev,s=!av.jitless,c=s&&Dv.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?Hx([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function Gx(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Jv(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Zv(e,r,ov())))}),t)}var Kx=D(`$ZodUnion`,(e,t)=>{Jb.init(e,t),hv(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),hv(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),hv(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),hv(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>fv(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>Gx(t,i,e,a)):Gx(s,i,e,a)}});function qx(e,t,n,r){let i=e.filter(e=>e.issues.length===0);return i.length===1?(t.value=i[0].value,t):(i.length===0?t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Zv(e,r,ov())))}):t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:[],inclusive:!1}),t)}var Jx=D(`$ZodXor`,(e,t)=>{Kx.init(e,t),t.inclusive=!1;let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);t instanceof Promise?(s.push(t),o=!0):s.push(t)}return o?Promise.all(s).then(t=>qx(t,i,e,a)):qx(s,i,e,a)}}),Yx=D(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,Kx.init(e,t);let n=e._zod.parse;hv(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index &#x22;${t.options.indexOf(n)}&#x22;`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=uv(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index &#x22;${t.options.indexOf(r)}&#x22;`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value &#x22;${String(t)}&#x22;`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!Ev(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),Xx=D(`$ZodIntersection`,(e,t)=>{Jb.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Qx(e,t,n)):Qx(e,i,a)}});function Zx(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Ov(e)&&Ov(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Zx(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Zx(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Qx(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Jv(e))return e;let o=Zx(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var $x=D(`$ZodTuple`,(e,t)=>{Jb.init(e,t);let n=t.items;e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:`tuple`,code:`invalid_type`}),r;r.value=[];let o=[],s=[...n].reverse().findIndex(e=>e._zod.optin!==`optional`),c=s===-1?0:n.length-s;if(!t.rest){let t=a.length>n.length,i=a.length<c-1;if(t||i)return r.issues.push({...t?{code:`too_big`,maximum:n.length,inclusive:!0}:{code:`too_small`,minimum:n.length},input:a,inst:e,origin:`array`}),r}let l=-1;for(let e of n){if(l++,l>=a.length&&l>=c)continue;let t=e._zod.run({value:a[l],issues:[]},i);t instanceof Promise?o.push(t.then(e=>eS(e,r,l))):eS(t,r,l)}if(t.rest){let e=a.slice(n.length);for(let n of e){l++;let e=t.rest._zod.run({value:n,issues:[]},i);e instanceof Promise?o.push(e.then(e=>eS(e,r,l))):eS(e,r,l)}}return o.length?Promise.all(o).then(()=>r):r}});function eS(e,t,n){e.issues.length&&t.issues.push(...Yv(n,e.issues)),t.value[n]=e.value}var tS=D(`$ZodRecord`,(e,t)=>{Jb.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Ov(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let e of o)if(typeof e==`string`||typeof e==`number`||typeof e==`symbol`){s.add(typeof e==`number`?e.toString():e);let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...Yv(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...Yv(e,o.issues)),n.value[e]=o.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&pb.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>Zv(e,r,ov())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...Yv(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Yv(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),nS=D(`$ZodMap`,(e,t)=>{Jb.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:`map`,code:`invalid_type`,input:i,inst:e}),n;let a=[];n.value=new Map;for(let[o,s]of i){let c=t.keyType._zod.run({value:o,issues:[]},r),l=t.valueType._zod.run({value:s,issues:[]},r);c instanceof Promise||l instanceof Promise?a.push(Promise.all([c,l]).then(([t,a])=>{rS(t,a,n,o,i,e,r)})):rS(c,l,n,o,i,e,r)}return a.length?Promise.all(a).then(()=>n):n}});function rS(e,t,n,r,i,a,o){e.issues.length&&(Mv.has(typeof r)?n.issues.push(...Yv(r,e.issues)):n.issues.push({code:`invalid_key`,origin:`map`,input:i,inst:a,issues:e.issues.map(e=>Zv(e,o,ov()))})),t.issues.length&&(Mv.has(typeof r)?n.issues.push(...Yv(r,t.issues)):n.issues.push({origin:`map`,code:`invalid_element`,input:i,inst:a,key:r,issues:t.issues.map(e=>Zv(e,o,ov()))})),n.value.set(e.value,t.value)}var iS=D(`$ZodSet`,(e,t)=>{Jb.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:`set`,code:`invalid_type`}),n;let a=[];n.value=new Set;for(let e of i){let i=t.valueType._zod.run({value:e,issues:[]},r);i instanceof Promise?a.push(i.then(e=>aS(e,n))):aS(i,n)}return a.length?Promise.all(a).then(()=>n):n}});function aS(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var oS=D(`$ZodEnum`,(e,t)=>{Jb.init(e,t);let n=cv(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Mv.has(typeof e)).map(e=>typeof e==`string`?Pv(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),sS=D(`$ZodLiteral`,(e,t)=>{if(Jb.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Pv(e):e?Pv(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),cS=D(`$ZodFile`,(e,t)=>{Jb.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:`file`,code:`invalid_type`,input:r,inst:e}),t}}),lS=D(`$ZodTransform`,(e,t)=>{Jb.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new iv(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new rv;return n.value=i,n}});function uS(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var dS=D(`$ZodOptional`,(e,t)=>{Jb.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,hv(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),hv(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${fv(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>uS(t,e.value)):uS(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),fS=D(`$ZodExactOptional`,(e,t)=>{dS.init(e,t),hv(e._zod,`values`,()=>t.innerType._zod.values),hv(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),pS=D(`$ZodNullable`,(e,t)=>{Jb.init(e,t),hv(e._zod,`optin`,()=>t.innerType._zod.optin),hv(e._zod,`optout`,()=>t.innerType._zod.optout),hv(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${fv(e.source)}|null)$`):void 0}),hv(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),mS=D(`$ZodDefault`,(e,t)=>{Jb.init(e,t),e._zod.optin=`optional`,hv(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>hS(e,t)):hS(r,t)}});function hS(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var gS=D(`$ZodPrefault`,(e,t)=>{Jb.init(e,t),e._zod.optin=`optional`,hv(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),_S=D(`$ZodNonOptional`,(e,t)=>{Jb.init(e,t),hv(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>vS(t,e)):vS(i,e)}});function vS(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 yS=D(`$ZodSuccess`,(e,t)=>{Jb.init(e,t),e._zod.parse=(e,n)=>{if(n.direction===`backward`)throw new iv(`ZodSuccess`);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=t.issues.length===0,e)):(e.value=r.issues.length===0,e)}}),bS=D(`$ZodCatch`,(e,t)=>{Jb.init(e,t),hv(e._zod,`optin`,()=>t.innerType._zod.optin),hv(e._zod,`optout`,()=>t.innerType._zod.optout),hv(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Zv(e,n,ov()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Zv(e,n,ov()))},input:e.value}),e.issues=[]),e)}}),xS=D(`$ZodNaN`,(e,t)=>{Jb.init(e,t),e._zod.parse=(t,n)=>((typeof t.value!=`number`||!Number.isNaN(t.value))&&t.issues.push({input:t.value,inst:e,expected:`nan`,code:`invalid_type`}),t)}),SS=D(`$ZodPipe`,(e,t)=>{Jb.init(e,t),hv(e._zod,`values`,()=>t.in._zod.values),hv(e._zod,`optin`,()=>t.in._zod.optin),hv(e._zod,`optout`,()=>t.out._zod.optout),hv(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>CS(e,t.in,n)):CS(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>CS(e,t.out,n)):CS(r,t.out,n)}});function CS(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var wS=D(`$ZodCodec`,(e,t)=>{Jb.init(e,t),hv(e._zod,`values`,()=>t.in._zod.values),hv(e._zod,`optin`,()=>t.in._zod.optin),hv(e._zod,`optout`,()=>t.out._zod.optout),hv(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if((n.direction||`forward`)===`forward`){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>TS(e,t,n)):TS(r,t,n)}else{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>TS(e,t,n)):TS(r,t,n)}}});function TS(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||`forward`)===`forward`){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>ES(e,r,t.out,n)):ES(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>ES(e,r,t.in,n)):ES(e,r,t.in,n)}}function ES(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}var DS=D(`$ZodReadonly`,(e,t)=>{Jb.init(e,t),hv(e._zod,`propValues`,()=>t.innerType._zod.propValues),hv(e._zod,`values`,()=>t.innerType._zod.values),hv(e._zod,`optin`,()=>t.innerType?._zod?.optin),hv(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(OS):OS(r)}});function OS(e){return e.value=Object.freeze(e.value),e}var kS=D(`$ZodTemplateLiteral`,(e,t)=>{Jb.init(e,t);let n=[];for(let e of t.parts)if(typeof e==`object`&&e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=+!!t.startsWith(`^`),i=t.endsWith(`$`)?t.length-1:t.length;n.push(t.slice(r,i))}else if(e===null||Nv.has(typeof e))n.push(Pv(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join(``)}$`),e._zod.parse=(n,r)=>typeof n.value==`string`?(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:`invalid_format`,format:t.format??`template_literal`,pattern:e._zod.pattern.source}),n):(n.issues.push({input:n.value,inst:e,expected:`string`,code:`invalid_type`}),n)}),AS=D(`$ZodFunction`,(e,t)=>(Jb.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if(typeof t!=`function`)throw Error(`implement() must be called with a function`);return function(...n){let r=e._def.input?yy(e._def.input,n):n,i=Reflect.apply(t,this,r);return e._def.output?yy(e._def.output,i):i}},e.implementAsync=t=>{if(typeof t!=`function`)throw Error(`implementAsync() must be called with a function`);return async function(...n){let r=e._def.input?await xy(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await xy(e._def.output,i):i}},e._zod.parse=(t,n)=>typeof t.value==`function`?(e._def.output&&e._def.output._zod.def.type===`promise`?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t):(t.issues.push({code:`invalid_type`,expected:`function`,input:t.value,inst:e}),t),e.input=(...t)=>{let n=e.constructor;return Array.isArray(t[0])?new n({type:`function`,input:new $x({type:`tuple`,items:t[0],rest:t[1]}),output:e._def.output}):new n({type:`function`,input:t[0],output:e._def.output})},e.output=t=>{let n=e.constructor;return new n({type:`function`,input:e._def.input,output:t})},e)),jS=D(`$ZodPromise`,(e,t)=>{Jb.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),MS=D(`$ZodLazy`,(e,t)=>{Jb.init(e,t),hv(e._zod,`innerType`,()=>t.getter()),hv(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),hv(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),hv(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),hv(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),NS=D(`$ZodCustom`,(e,t)=>{Sb.init(e,t),Jb.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>PS(t,n,r,e));PS(i,n,r,e)}});function PS(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(ty(e))}}var FS=()=>{let e={string:{unit:`حرف`,verb:`أن يحوي`},file:{unit:`بايت`,verb:`أن يحوي`},array:{unit:`عنصر`,verb:`أن يحوي`},set:{unit:`عنصر`,verb:`أن يحوي`}};function t(t){return e[t]??null}let n={regex:`مدخل`,email:`بريد إلكتروني`,url:`رابط`,emoji:`إيموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاريخ ووقت بمعيار ISO`,date:`تاريخ بمعيار ISO`,time:`وقت بمعيار ISO`,duration:`مدة بمعيار ISO`,ipv4:`عنوان IPv4`,ipv6:`عنوان IPv6`,cidrv4:`مدى عناوين بصيغة IPv4`,cidrv6:`مدى عناوين بصيغة IPv6`,base64:`نَص بترميز base64-encoded`,base64url:`نَص بترميز base64url-encoded`,json_string:`نَص على هيئة JSON`,e164:`رقم هاتف بمعيار E.164`,jwt:`JWT`,template_literal:`مدخل`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${e.expected}، ولكن تم إدخال ${i}`:`مدخلات غير مقبولة: يفترض إدخال ${t}، ولكن تم إدخال ${i}`}case`invalid_value`:return e.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${Lv(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?` أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()} ${r.unit??`عنصر`}`:`أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()} ${r.unit}`:`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`نَص غير مقبول: يجب أن يبدأ بـ &#x22;${e.prefix}&#x22;`:t.format===`ends_with`?`نَص غير مقبول: يجب أن ينتهي بـ &#x22;${t.suffix}&#x22;`:t.format===`includes`?`نَص غير مقبول: يجب أن يتضمَّن &#x22;${t.includes}&#x22;`:t.format===`regex`?`نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}`:`${n[t.format]??e.format} غير مقبول`}case`not_multiple_of`:return`رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;case`unrecognized_keys`:return`معرف${e.keys.length>1?`ات`:``} غريب${e.keys.length>1?`ة`:``}: ${O(e.keys,`، `)}`;case`invalid_key`:return`معرف غير مقبول في ${e.origin}`;case`invalid_union`:return`مدخل غير مقبول`;case`invalid_element`:return`مدخل غير مقبول في ${e.origin}`;default:return`مدخل غير مقبول`}}};function IS(){return{localeError:FS()}}var LS=()=>{let e={string:{unit:`simvol`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`element`,verb:`olmalıdır`},set:{unit:`element`,verb:`olmalıdır`}};function t(t){return e[t]??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`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Yanlış dəyər: gözlənilən instanceof ${e.expected}, daxil olan ${i}`:`Yanlış dəyər: gözlənilən ${t}, daxil olan ${i}`}case`invalid_value`:return e.values.length===1?`Yanlış dəyər: gözlənilən ${Lv(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()} ${r.unit??`element`}`:`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Yanlış mətn: &#x22;${t.prefix}&#x22; ilə başlamalıdır`:t.format===`ends_with`?`Yanlış mətn: &#x22;${t.suffix}&#x22; ilə bitməlidir`:t.format===`includes`?`Yanlış mətn: &#x22;${t.includes}&#x22; daxil olmalıdır`:t.format===`regex`?`Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${n[t.format]??e.format}`}case`not_multiple_of`:return`Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;case`unrecognized_keys`:return`Tanınmayan açar${e.keys.length>1?`lar`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} daxilində yanlış açar`;case`invalid_union`:return`Yanlış dəyər`;case`invalid_element`:return`${e.origin} daxilində yanlış dəyər`;default:return`Yanlış dəyər`}}};function RS(){return{localeError:LS()}}function zS(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}var BS=()=>{let e={string:{unit:{one:`сімвал`,few:`сімвалы`,many:`сімвалаў`},verb:`мець`},array:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},set:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},file:{unit:{one:`байт`,few:`байты`,many:`байтаў`},verb:`мець`}};function t(t){return e[t]??null}let n={regex:`увод`,email:`email адрас`,url:`URL`,emoji:`эмодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата і час`,date:`ISO дата`,time:`ISO час`,duration:`ISO працягласць`,ipv4:`IPv4 адрас`,ipv6:`IPv6 адрас`,cidrv4:`IPv4 дыяпазон`,cidrv6:`IPv6 дыяпазон`,base64:`радок у фармаце base64`,base64url:`радок у фармаце base64url`,json_string:`JSON радок`,e164:`нумар E.164`,jwt:`JWT`,template_literal:`увод`},r={nan:`NaN`,number:`лік`,array:`масіў`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Няправільны ўвод: чакаўся instanceof ${e.expected}, атрымана ${i}`:`Няправільны ўвод: чакаўся ${t}, атрымана ${i}`}case`invalid_value`:return e.values.length===1?`Няправільны ўвод: чакалася ${Lv(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=zS(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна ${r.verb} ${n}${e.maximum.toString()} ${t}`}return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна быць ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=zS(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Занадта малы: чакалася, што ${e.origin} павінна ${r.verb} ${n}${e.minimum.toString()} ${t}`}return`Занадта малы: чакалася, што ${e.origin} павінна быць ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Няправільны радок: павінен пачынацца з &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Няправільны радок: павінен заканчвацца на &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Няправільны радок: павінен змяшчаць &#x22;${t.includes}&#x22;`:t.format===`regex`?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${n[t.format]??e.format}`}case`not_multiple_of`:return`Няправільны лік: павінен быць кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспазнаны ${e.keys.length>1?`ключы`:`ключ`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Няправільны ключ у ${e.origin}`;case`invalid_union`:return`Няправільны ўвод`;case`invalid_element`:return`Няправільнае значэнне ў ${e.origin}`;default:return`Няправільны ўвод`}}};function VS(){return{localeError:BS()}}var HS=()=>{let e={string:{unit:`символа`,verb:`да съдържа`},file:{unit:`байта`,verb:`да съдържа`},array:{unit:`елемента`,verb:`да съдържа`},set:{unit:`елемента`,verb:`да съдържа`}};function t(t){return e[t]??null}let n={regex:`вход`,email:`имейл адрес`,url:`URL`,emoji:`емоджи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO време`,date:`ISO дата`,time:`ISO време`,duration:`ISO продължителност`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`base64-кодиран низ`,base64url:`base64url-кодиран низ`,json_string:`JSON низ`,e164:`E.164 номер`,jwt:`JWT`,template_literal:`вход`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Невалиден вход: очакван instanceof ${e.expected}, получен ${i}`:`Невалиден вход: очакван ${t}, получен ${i}`}case`invalid_value`:return e.values.length===1?`Невалиден вход: очакван ${Lv(e.values[0])}`:`Невалидна опция: очаквано едно от ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Твърде голямо: очаква се ${e.origin??`стойност`} да съдържа ${n}${e.maximum.toString()} ${r.unit??`елемента`}`:`Твърде голямо: очаква се ${e.origin??`стойност`} да бъде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Твърде малко: очаква се ${e.origin} да съдържа ${n}${e.minimum.toString()} ${r.unit}`:`Твърде малко: очаква се ${e.origin} да бъде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;if(t.format===`starts_with`)return`Невалиден низ: трябва да започва с &#x22;${t.prefix}&#x22;`;if(t.format===`ends_with`)return`Невалиден низ: трябва да завършва с &#x22;${t.suffix}&#x22;`;if(t.format===`includes`)return`Невалиден низ: трябва да включва &#x22;${t.includes}&#x22;`;if(t.format===`regex`)return`Невалиден низ: трябва да съвпада с ${t.pattern}`;let r=`Невалиден`;return t.format===`emoji`&&(r=`Невалидно`),t.format===`datetime`&&(r=`Невалидно`),t.format===`date`&&(r=`Невалидна`),t.format===`time`&&(r=`Невалидно`),t.format===`duration`&&(r=`Невалидна`),`${r} ${n[t.format]??e.format}`}case`not_multiple_of`:return`Невалидно число: трябва да бъде кратно на ${e.divisor}`;case`unrecognized_keys`:return`Неразпознат${e.keys.length>1?`и`:``} ключ${e.keys.length>1?`ове`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Невалиден ключ в ${e.origin}`;case`invalid_union`:return`Невалиден вход`;case`invalid_element`:return`Невалидна стойност в ${e.origin}`;default:return`Невалиден вход`}}};function US(){return{localeError:HS()}}var WS=()=>{let e={string:{unit:`caràcters`,verb:`contenir`},file:{unit:`bytes`,verb:`contenir`},array:{unit:`elements`,verb:`contenir`},set:{unit:`elements`,verb:`contenir`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`adreça electrònica`,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ça IPv4`,ipv6:`adreça IPv6`,cidrv4:`rang IPv4`,cidrv6:`rang IPv6`,base64:`cadena codificada en base64`,base64url:`cadena codificada en base64url`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipus invàlid: s'esperava instanceof ${e.expected}, s'ha rebut ${i}`:`Tipus invàlid: s'esperava ${t}, s'ha rebut ${i}`}case`invalid_value`:return e.values.length===1?`Valor invàlid: s'esperava ${Lv(e.values[0])}`:`Opció invàlida: s'esperava una de ${O(e.values,` o `)}`;case`too_big`:{let n=e.inclusive?`com a màxim`:`menys de`,r=t(e.origin);return r?`Massa gran: s'esperava que ${e.origin??`el valor`} contingués ${n} ${e.maximum.toString()} ${r.unit??`elements`}`:`Massa gran: s'esperava que ${e.origin??`el valor`} fos ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`com a mínim`:`més de`,r=t(e.origin);return r?`Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Format invàlid: ha de començar amb &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Format invàlid: ha d'acabar amb &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Format invàlid: ha d'incloure &#x22;${t.includes}&#x22;`:t.format===`regex`?`Format invàlid: ha de coincidir amb el patró ${t.pattern}`:`Format invàlid per a ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número invàlid: ha de ser múltiple de ${e.divisor}`;case`unrecognized_keys`:return`Clau${e.keys.length>1?`s`:``} no reconeguda${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Clau invàlida a ${e.origin}`;case`invalid_union`:return`Entrada invàlida`;case`invalid_element`:return`Element invàlid a ${e.origin}`;default:return`Entrada invàlida`}}};function GS(){return{localeError:WS()}}var KS=()=>{let e={string:{unit:`znaků`,verb:`mít`},file:{unit:`bajtů`,verb:`mít`},array:{unit:`prvků`,verb:`mít`},set:{unit:`prvků`,verb:`mít`}};function t(t){return e[t]??null}let n={regex:`regulární výraz`,email:`e-mailová 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 čas ve formátu ISO`,date:`datum ve formátu ISO`,time:`čas ve formátu ISO`,duration:`doba trvání ISO`,ipv4:`IPv4 adresa`,ipv6:`IPv6 adresa`,cidrv4:`rozsah IPv4`,cidrv6:`rozsah IPv6`,base64:`řetězec zakódovaný ve formátu base64`,base64url:`řetězec zakódovaný ve formátu base64url`,json_string:`řetězec ve formátu JSON`,e164:`číslo E.164`,jwt:`JWT`,template_literal:`vstup`},r={nan:`NaN`,number:`číslo`,string:`řetězec`,function:`funkce`,array:`pole`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neplatný vstup: očekáváno instanceof ${e.expected}, obdrženo ${i}`:`Neplatný vstup: očekáváno ${t}, obdrženo ${i}`}case`invalid_value`:return e.values.length===1?`Neplatný vstup: očekáváno ${Lv(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Hodnota je příliš velká: ${e.origin??`hodnota`} musí mít ${n}${e.maximum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš velká: ${e.origin??`hodnota`} musí být ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Hodnota je příliš malá: ${e.origin??`hodnota`} musí mít ${n}${e.minimum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš malá: ${e.origin??`hodnota`} musí být ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neplatný řetězec: musí začínat na &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Neplatný řetězec: musí končit na &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Neplatný řetězec: musí obsahovat &#x22;${t.includes}&#x22;`:t.format===`regex`?`Neplatný řetězec: musí odpovídat vzoru ${t.pattern}`:`Neplatný formát ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neplatné číslo: musí být násobkem ${e.divisor}`;case`unrecognized_keys`:return`Neznámé klíče: ${O(e.keys,`, `)}`;case`invalid_key`:return`Neplatný klíč v ${e.origin}`;case`invalid_union`:return`Neplatný vstup`;case`invalid_element`:return`Neplatná hodnota v ${e.origin}`;default:return`Neplatný vstup`}}};function qS(){return{localeError:KS()}}var JS=()=>{let e={string:{unit:`tegn`,verb:`havde`},file:{unit:`bytes`,verb:`havde`},array:{unit:`elementer`,verb:`indeholdt`},set:{unit:`elementer`,verb:`indeholdt`}};function t(t){return e[t]??null}let n={regex:`input`,email:`e-mailadresse`,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 klokkeslæt`,date:`ISO-dato`,time:`ISO-klokkeslæt`,duration:`ISO-varighed`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodet streng`,base64url:`base64url-kodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,string:`streng`,number:`tal`,boolean:`boolean`,array:`liste`,object:`objekt`,set:`sæt`,file:`fil`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldigt input: forventede instanceof ${e.expected}, fik ${i}`:`Ugyldigt input: forventede ${t}, fik ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig værdi: forventede ${Lv(e.values[0])}`:`Ugyldigt valg: forventede en af følgende ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For stor: forventede ${a??`value`} ${i.verb} ${n} ${e.maximum.toString()} ${i.unit??`elementer`}`:`For stor: forventede ${a??`value`} havde ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For lille: forventede ${a} ${i.verb} ${n} ${e.minimum.toString()} ${i.unit}`:`For lille: forventede ${a} havde ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: skal starte med &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Ugyldig streng: skal ende med &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Ugyldig streng: skal indeholde &#x22;${t.includes}&#x22;`:t.format===`regex`?`Ugyldig streng: skal matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldigt tal: skal være deleligt med ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukendte nøgler`:`Ukendt nøgle`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøgle i ${e.origin}`;case`invalid_union`:return`Ugyldigt input: matcher ingen af de tilladte typer`;case`invalid_element`:return`Ugyldig værdi i ${e.origin}`;default:return`Ugyldigt input`}}};function YS(){return{localeError:JS()}}var XS=()=>{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(t){return e[t]??null}let n={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`},r={nan:`NaN`,number:`Zahl`,array:`Array`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${i}`:`Ungültige Eingabe: erwartet ${t}, erhalten ${i}`}case`invalid_value`:return e.values.length===1?`Ungültige Eingabe: erwartet ${Lv(e.values[0])}`:`Ungültige Option: erwartet eine von ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ${r.unit??`Elemente`} hat`:`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ist`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ungültiger String: muss mit &#x22;${t.prefix}&#x22; beginnen`:t.format===`ends_with`?`Ungültiger String: muss mit &#x22;${t.suffix}&#x22; enden`:t.format===`includes`?`Ungültiger String: muss &#x22;${t.includes}&#x22; enthalten`:t.format===`regex`?`Ungültiger String: muss dem Muster ${t.pattern} entsprechen`:`Ungültig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case`unrecognized_keys`:return`${e.keys.length>1?`Unbekannte Schlüssel`:`Unbekannter Schlüssel`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Ungültiger Schlüssel in ${e.origin}`;case`invalid_union`:return`Ungültige Eingabe`;case`invalid_element`:return`Ungültiger Wert in ${e.origin}`;default:return`Ungültige Eingabe`}}};function ZS(){return{localeError:XS()}}var QS=()=>{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`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??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`,mac:`MAC 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`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input);return`Invalid input: expected ${t}, received ${r[n]??n}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${Lv(e.values[0])}`:`Invalid option: expected one of ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Invalid string: must end with &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Invalid string: must include &#x22;${t.includes}&#x22;`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}};function $S(){return{localeError:QS()}}var eC=()=>{let e={string:{unit:`karaktrojn`,verb:`havi`},file:{unit:`bajtojn`,verb:`havi`},array:{unit:`elementojn`,verb:`havi`},set:{unit:`elementojn`,verb:`havi`}};function t(t){return e[t]??null}let n={regex:`enigo`,email:`retadreso`,url:`URL`,emoji:`emoĝio`,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ŭro`,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`},r={nan:`NaN`,number:`nombro`,array:`tabelo`,null:`senvalora`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nevalida enigo: atendiĝis instanceof ${e.expected}, riceviĝis ${i}`:`Nevalida enigo: atendiĝis ${t}, riceviĝis ${i}`}case`invalid_value`:return e.values.length===1?`Nevalida enigo: atendiĝis ${Lv(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()} ${r.unit??`elementojn`}`:`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Tro malgranda: atendiĝis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}`:`Tro malgranda: atendiĝis ke ${e.origin} estu ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nevalida karaktraro: devas komenciĝi per &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Nevalida karaktraro: devas finiĝi per &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Nevalida karaktraro: devas inkluzivi &#x22;${t.includes}&#x22;`:t.format===`regex`?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case`unrecognized_keys`:return`Nekonata${e.keys.length>1?`j`:``} ŝlosilo${e.keys.length>1?`j`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Nevalida ŝlosilo en ${e.origin}`;case`invalid_union`:return`Nevalida enigo`;case`invalid_element`:return`Nevalida valoro en ${e.origin}`;default:return`Nevalida enigo`}}};function tC(){return{localeError:eC()}}var nC=()=>{let e={string:{unit:`caracteres`,verb:`tener`},file:{unit:`bytes`,verb:`tener`},array:{unit:`elementos`,verb:`tener`},set:{unit:`elementos`,verb:`tener`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`dirección de correo electrónico`,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ón ISO`,ipv4:`dirección IPv4`,ipv6:`dirección IPv6`,cidrv4:`rango IPv4`,cidrv6:`rango IPv6`,base64:`cadena codificada en base64`,base64url:`URL codificada en base64`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,string:`texto`,number:`número`,boolean:`booleano`,array:`arreglo`,object:`objeto`,set:`conjunto`,file:`archivo`,date:`fecha`,bigint:`número grande`,symbol:`símbolo`,undefined:`indefinido`,null:`nulo`,function:`función`,map:`mapa`,record:`registro`,tuple:`tupla`,enum:`enumeración`,union:`unión`,literal:`literal`,promise:`promesa`,void:`vacío`,never:`nunca`,unknown:`desconocido`,any:`cualquiera`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${i}`:`Entrada inválida: se esperaba ${t}, recibido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: se esperaba ${Lv(e.values[0])}`:`Opción inválida: se esperaba una de ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado grande: se esperaba que ${a??`valor`} tuviera ${n}${e.maximum.toString()} ${i.unit??`elementos`}`:`Demasiado grande: se esperaba que ${a??`valor`} fuera ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado pequeño: se esperaba que ${a} tuviera ${n}${e.minimum.toString()} ${i.unit}`:`Demasiado pequeño: se esperaba que ${a} fuera ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Cadena inválida: debe comenzar con &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Cadena inválida: debe terminar en &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Cadena inválida: debe incluir &#x22;${t.includes}&#x22;`:t.format===`regex`?`Cadena inválida: debe coincidir con el patrón ${t.pattern}`:`Inválido ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número inválido: debe ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Llave${e.keys.length>1?`s`:``} desconocida${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Llave inválida en ${r[e.origin]??e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido en ${r[e.origin]??e.origin}`;default:return`Entrada inválida`}}};function rC(){return{localeError:nC()}}var iC=()=>{let e={string:{unit:`کاراکتر`,verb:`داشته باشد`},file:{unit:`بایت`,verb:`داشته باشد`},array:{unit:`آیتم`,verb:`داشته باشد`},set:{unit:`آیتم`,verb:`داشته باشد`}};function t(t){return e[t]??null}let n={regex:`ورودی`,email:`آدرس ایمیل`,url:`URL`,emoji:`ایموجی`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاریخ و زمان ایزو`,date:`تاریخ ایزو`,time:`زمان ایزو`,duration:`مدت زمان ایزو`,ipv4:`IPv4 آدرس`,ipv6:`IPv6 آدرس`,cidrv4:`IPv4 دامنه`,cidrv6:`IPv6 دامنه`,base64:`base64-encoded رشته`,base64url:`base64url-encoded رشته`,json_string:`JSON رشته`,e164:`E.164 عدد`,jwt:`JWT`,template_literal:`ورودی`},r={nan:`NaN`,number:`عدد`,array:`آرایه`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ورودی نامعتبر: می‌بایست instanceof ${e.expected} می‌بود، ${i} دریافت شد`:`ورودی نامعتبر: می‌بایست ${t} می‌بود، ${i} دریافت شد`}case`invalid_value`:return e.values.length===1?`ورودی نامعتبر: می‌بایست ${Lv(e.values[0])} می‌بود`:`گزینه نامعتبر: می‌بایست یکی از ${O(e.values,`|`)} می‌بود`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصر`} باشد`:`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} باشد`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} باشد`:`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} باشد`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`رشته نامعتبر: باید با &#x22;${t.prefix}&#x22; شروع شود`:t.format===`ends_with`?`رشته نامعتبر: باید با &#x22;${t.suffix}&#x22; تمام شود`:t.format===`includes`?`رشته نامعتبر: باید شامل &#x22;${t.includes}&#x22; باشد`:t.format===`regex`?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${n[t.format]??e.format} نامعتبر`}case`not_multiple_of`:return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`;case`unrecognized_keys`:return`کلید${e.keys.length>1?`های`:``} ناشناس: ${O(e.keys,`, `)}`;case`invalid_key`:return`کلید ناشناس در ${e.origin}`;case`invalid_union`:return`ورودی نامعتبر`;case`invalid_element`:return`مقدار نامعتبر در ${e.origin}`;default:return`ورودی نامعتبر`}}};function aC(){return{localeError:iC()}}var oC=()=>{let e={string:{unit:`merkkiä`,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äivämäärän`}};function t(t){return e[t]??null}let n={regex:`säännöllinen lauseke`,email:`sähköpostiosoite`,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äivämäärä`,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`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${i}`:`Virheellinen tyyppi: odotettiin ${t}, oli ${i}`}case`invalid_value`:return e.values.length===1?`Virheellinen syöte: täytyy olla ${Lv(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim():`Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim():`Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Virheellinen syöte: täytyy alkaa &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Virheellinen syöte: täytyy loppua &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Virheellinen syöte: täytyy sisältää &#x22;${t.includes}&#x22;`:t.format===`regex`?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}`:`Virheellinen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;case`unrecognized_keys`:return`${e.keys.length>1?`Tuntemattomat avaimet`:`Tuntematon avain`}: ${O(e.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öte`}}};function sC(){return{localeError:oC()}}var cC=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,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ée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={nan:`NaN`,number:`nombre`,array:`tableau`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : instanceof ${e.expected} attendu, ${i} reçu`:`Entrée invalide : ${t} attendu, ${i} reçu`}case`invalid_value`:return e.values.length===1?`Entrée invalide : ${Lv(e.values[0])} attendu`:`Option invalide : une valeur parmi ${O(e.values,`|`)} attendue`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Trop grand : ${e.origin??`valeur`} doit ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`élément(s)`}`:`Trop grand : ${e.origin??`valeur`} doit être ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Trop petit : ${e.origin} doit ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : ${e.origin} doit être ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Chaîne invalide : doit inclure &#x22;${t.includes}&#x22;`:t.format===`regex`?`Chaîne invalide : doit correspondre au modèle ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${O(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}};function lC(){return{localeError:cC()}}var uC=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,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ée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : attendu instanceof ${e.expected}, reçu ${i}`:`Entrée invalide : attendu ${t}, reçu ${i}`}case`invalid_value`:return e.values.length===1?`Entrée invalide : attendu ${Lv(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`≤`:`<`,r=t(e.origin);return r?`Trop grand : attendu que ${e.origin??`la valeur`} ait ${n}${e.maximum.toString()} ${r.unit}`:`Trop grand : attendu que ${e.origin??`la valeur`} soit ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`≥`:`>`,r=t(e.origin);return r?`Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Chaîne invalide : doit inclure &#x22;${t.includes}&#x22;`:t.format===`regex`?`Chaîne invalide : doit correspondre au motif ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${O(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}};function dC(){return{localeError:uC()}}var fC=()=>{let e={string:{label:`מחרוזת`,gender:`f`},number:{label:`מספר`,gender:`m`},boolean:{label:`ערך בוליאני`,gender:`m`},bigint:{label:`BigInt`,gender:`m`},date:{label:`תאריך`,gender:`m`},array:{label:`מערך`,gender:`m`},object:{label:`אובייקט`,gender:`m`},null:{label:`ערך ריק (null)`,gender:`m`},undefined:{label:`ערך לא מוגדר (undefined)`,gender:`m`},symbol:{label:`סימבול (Symbol)`,gender:`m`},function:{label:`פונקציה`,gender:`f`},map:{label:`מפה (Map)`,gender:`f`},set:{label:`קבוצה (Set)`,gender:`f`},file:{label:`קובץ`,gender:`m`},promise:{label:`Promise`,gender:`m`},NaN:{label:`NaN`,gender:`m`},unknown:{label:`ערך לא ידוע`,gender:`m`},value:{label:`ערך`,gender:`m`}},t={string:{unit:`תווים`,shortLabel:`קצר`,longLabel:`ארוך`},file:{unit:`בייטים`,shortLabel:`קטן`,longLabel:`גדול`},array:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},set:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},number:{unit:``,shortLabel:`קטן`,longLabel:`גדול`}},n=t=>t?e[t]:void 0,r=t=>{let r=n(t);return r?r.label:t??e.unknown.label},i=e=>`ה${r(e)}`,a=e=>(n(e)?.gender??`m`)===`f`?`צריכה להיות`:`צריך להיות`,o=e=>e?t[e]??null:null,s={regex:{label:`קלט`,gender:`m`},email:{label:`כתובת אימייל`,gender:`f`},url:{label:`כתובת רשת`,gender:`f`},emoji:{label:`אימוג'י`,gender:`m`},uuid:{label:`UUID`,gender:`m`},nanoid:{label:`nanoid`,gender:`m`},guid:{label:`GUID`,gender:`m`},cuid:{label:`cuid`,gender:`m`},cuid2:{label:`cuid2`,gender:`m`},ulid:{label:`ULID`,gender:`m`},xid:{label:`XID`,gender:`m`},ksuid:{label:`KSUID`,gender:`m`},datetime:{label:`תאריך וזמן ISO`,gender:`m`},date:{label:`תאריך ISO`,gender:`m`},time:{label:`זמן ISO`,gender:`m`},duration:{label:`משך זמן ISO`,gender:`m`},ipv4:{label:`כתובת IPv4`,gender:`f`},ipv6:{label:`כתובת IPv6`,gender:`f`},cidrv4:{label:`טווח IPv4`,gender:`m`},cidrv6:{label:`טווח IPv6`,gender:`m`},base64:{label:`מחרוזת בבסיס 64`,gender:`f`},base64url:{label:`מחרוזת בבסיס 64 לכתובות רשת`,gender:`f`},json_string:{label:`מחרוזת JSON`,gender:`f`},e164:{label:`מספר E.164`,gender:`m`},jwt:{label:`JWT`,gender:`m`},ends_with:{label:`קלט`,gender:`m`},includes:{label:`קלט`,gender:`m`},lowercase:{label:`קלט`,gender:`m`},starts_with:{label:`קלט`,gender:`m`},uppercase:{label:`קלט`,gender:`m`}},c={nan:`NaN`};return t=>{switch(t.code){case`invalid_type`:{let n=t.expected,i=c[n??``]??r(n),a=ey(t.input),o=c[a]??e[a]?.label??a;return/^[A-Z]/.test(t.expected)?`קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${o}`:`קלט לא תקין: צריך להיות ${i}, התקבל ${o}`}case`invalid_value`:{if(t.values.length===1)return`ערך לא תקין: הערך חייב להיות ${Lv(t.values[0])}`;let e=t.values.map(e=>Lv(e));if(t.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`;let n=e[e.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${e.slice(0,-1).join(`, `)} או ${n}`}case`too_big`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.longLabel??`ארוך`} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit??``} ${t.inclusive?`או פחות`:`לכל היותר`}`.trim();if(t.origin===`number`)return`גדול מדי: ${n} צריך להיות ${t.inclusive?`קטן או שווה ל-${t.maximum}`:`קטן מ-${t.maximum}`}`;if(t.origin===`array`||t.origin===`set`)return`גדול מדי: ${n} ${t.origin===`set`?`צריכה`:`צריך`} להכיל ${t.inclusive?`${t.maximum} ${e?.unit??``} או פחות`:`פחות מ-${t.maximum} ${e?.unit??``}`}`.trim();let r=t.inclusive?`<=`:`<`,s=a(t.origin??`value`);return e?.unit?`${e.longLabel} מדי: ${n} ${s} ${r}${t.maximum.toString()} ${e.unit}`:`${e?.longLabel??`גדול`} מדי: ${n} ${s} ${r}${t.maximum.toString()}`}case`too_small`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.shortLabel??`קצר`} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit??``} ${t.inclusive?`או יותר`:`לפחות`}`.trim();if(t.origin===`number`)return`קטן מדי: ${n} צריך להיות ${t.inclusive?`גדול או שווה ל-${t.minimum}`:`גדול מ-${t.minimum}`}`;if(t.origin===`array`||t.origin===`set`){let r=t.origin===`set`?`צריכה`:`צריך`;return t.minimum===1&&t.inclusive?`קטן מדי: ${n} ${r} להכיל ${t.origin,`לפחות פריט אחד`}`:`קטן מדי: ${n} ${r} להכיל ${t.inclusive?`${t.minimum} ${e?.unit??``} או יותר`:`יותר מ-${t.minimum} ${e?.unit??``}`}`.trim()}let r=t.inclusive?`>=`:`>`,s=a(t.origin??`value`);return e?.unit?`${e.shortLabel} מדי: ${n} ${s} ${r}${t.minimum.toString()} ${e.unit}`:`${e?.shortLabel??`קטן`} מדי: ${n} ${s} ${r}${t.minimum.toString()}`}case`invalid_format`:{let e=t;if(e.format===`starts_with`)return`המחרוזת חייבת להתחיל ב &#x22;${e.prefix}&#x22;`;if(e.format===`ends_with`)return`המחרוזת חייבת להסתיים ב &#x22;${e.suffix}&#x22;`;if(e.format===`includes`)return`המחרוזת חייבת לכלול &#x22;${e.includes}&#x22;`;if(e.format===`regex`)return`המחרוזת חייבת להתאים לתבנית ${e.pattern}`;let n=s[e.format];return`${n?.label??e.format} לא ${(n?.gender??`m`)===`f`?`תקינה`:`תקין`}`}case`not_multiple_of`:return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case`unrecognized_keys`:return`מפתח${t.keys.length>1?`ות`:``} לא מזוה${t.keys.length>1?`ים`:`ה`}: ${O(t.keys,`, `)}`;case`invalid_key`:return`שדה לא תקין באובייקט`;case`invalid_union`:return`קלט לא תקין`;case`invalid_element`:return`ערך לא תקין ב${i(t.origin??`array`)}`;default:return`קלט לא תקין`}}};function pC(){return{localeError:fC()}}var mC=()=>{let e={string:{unit:`karakter`,verb:`legyen`},file:{unit:`byte`,verb:`legyen`},array:{unit:`elem`,verb:`legyen`},set:{unit:`elem`,verb:`legyen`}};function t(t){return e[t]??null}let n={regex:`bemenet`,email:`email cím`,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őbélyeg`,date:`ISO dátum`,time:`ISO idő`,duration:`ISO időintervallum`,ipv4:`IPv4 cím`,ipv6:`IPv6 cím`,cidrv4:`IPv4 tartomány`,cidrv6:`IPv6 tartomány`,base64:`base64-kódolt string`,base64url:`base64url-kódolt string`,json_string:`JSON string`,e164:`E.164 szám`,jwt:`JWT`,template_literal:`bemenet`},r={nan:`NaN`,number:`szám`,array:`tömb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Érvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${i}`:`Érvénytelen bemenet: a várt érték ${t}, a kapott érték ${i}`}case`invalid_value`:return e.values.length===1?`Érvénytelen bemenet: a várt érték ${Lv(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Túl nagy: ${e.origin??`érték`} mérete túl nagy ${n}${e.maximum.toString()} ${r.unit??`elem`}`:`Túl nagy: a bemeneti érték ${e.origin??`érték`} túl nagy: ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}`:`Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Érvénytelen string: &#x22;${t.prefix}&#x22; értékkel kell kezdődnie`:t.format===`ends_with`?`Érvénytelen string: &#x22;${t.suffix}&#x22; értékkel kell végződnie`:t.format===`includes`?`Érvénytelen string: &#x22;${t.includes}&#x22; értéket kell tartalmaznia`:t.format===`regex`?`Érvénytelen string: ${t.pattern} mintának kell megfelelnie`:`Érvénytelen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;case`unrecognized_keys`:return`Ismeretlen kulcs${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Érvénytelen kulcs ${e.origin}`;case`invalid_union`:return`Érvénytelen bemenet`;case`invalid_element`:return`Érvénytelen érték: ${e.origin}`;default:return`Érvénytelen bemenet`}}};function hC(){return{localeError:mC()}}function gC(e,t,n){return Math.abs(e)===1?t:n}function _C(e){if(!e)return``;let t=[`ա`,`ե`,`ը`,`ի`,`ո`,`ու`,`օ`],n=e[e.length-1];return e+(t.includes(n)?`ն`:`ը`)}var vC=()=>{let e={string:{unit:{one:`նշան`,many:`նշաններ`},verb:`ունենալ`},file:{unit:{one:`բայթ`,many:`բայթեր`},verb:`ունենալ`},array:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`},set:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`}};function t(t){return e[t]??null}let n={regex:`մուտք`,email:`էլ. հասցե`,url:`URL`,emoji:`էմոջի`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO ամսաթիվ և ժամ`,date:`ISO ամսաթիվ`,time:`ISO ժամ`,duration:`ISO տևողություն`,ipv4:`IPv4 հասցե`,ipv6:`IPv6 հասցե`,cidrv4:`IPv4 միջակայք`,cidrv6:`IPv6 միջակայք`,base64:`base64 ձևաչափով տող`,base64url:`base64url ձևաչափով տող`,json_string:`JSON տող`,e164:`E.164 համար`,jwt:`JWT`,template_literal:`մուտք`},r={nan:`NaN`,number:`թիվ`,array:`զանգված`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${e.expected}, ստացվել է ${i}`:`Սխալ մուտքագրում․ սպասվում էր ${t}, ստացվել է ${i}`}case`invalid_value`:return e.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${Lv(e.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=gC(Number(e.maximum),r.unit.one,r.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${_C(e.origin??`արժեք`)} կունենա ${n}${e.maximum.toString()} ${t}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${_C(e.origin??`արժեք`)} լինի ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=gC(Number(e.minimum),r.unit.one,r.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${_C(e.origin)} կունենա ${n}${e.minimum.toString()} ${t}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${_C(e.origin)} լինի ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Սխալ տող․ պետք է սկսվի &#x22;${t.prefix}&#x22;-ով`:t.format===`ends_with`?`Սխալ տող․ պետք է ավարտվի &#x22;${t.suffix}&#x22;-ով`:t.format===`includes`?`Սխալ տող․ պետք է պարունակի &#x22;${t.includes}&#x22;`:t.format===`regex`?`Սխալ տող․ պետք է համապատասխանի ${t.pattern} ձևաչափին`:`Սխալ ${n[t.format]??e.format}`}case`not_multiple_of`:return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${e.divisor}-ի`;case`unrecognized_keys`:return`Չճանաչված բանալի${e.keys.length>1?`ներ`:``}. ${O(e.keys,`, `)}`;case`invalid_key`:return`Սխալ բանալի ${_C(e.origin)}-ում`;case`invalid_union`:return`Սխալ մուտքագրում`;case`invalid_element`:return`Սխալ արժեք ${_C(e.origin)}-ում`;default:return`Սխալ մուտքագրում`}}};function yC(){return{localeError:vC()}}var bC=()=>{let e={string:{unit:`karakter`,verb:`memiliki`},file:{unit:`byte`,verb:`memiliki`},array:{unit:`item`,verb:`memiliki`},set:{unit:`item`,verb:`memiliki`}};function t(t){return e[t]??null}let n={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`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${i}`:`Input tidak valid: diharapkan ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak valid: diharapkan ${Lv(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: diharapkan ${e.origin??`value`} memiliki ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: diharapkan ${e.origin??`value`} menjadi ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak valid: harus dimulai dengan &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`String tidak valid: harus berakhir dengan &#x22;${t.suffix}&#x22;`:t.format===`includes`?`String tidak valid: harus menyertakan &#x22;${t.includes}&#x22;`:t.format===`regex`?`String tidak valid: harus sesuai pola ${t.pattern}`:`${n[t.format]??e.format} tidak valid`}case`not_multiple_of`:return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali ${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak valid di ${e.origin}`;case`invalid_union`:return`Input tidak valid`;case`invalid_element`:return`Nilai tidak valid di ${e.origin}`;default:return`Input tidak valid`}}};function xC(){return{localeError:bC()}}var SC=()=>{let e={string:{unit:`stafi`,verb:`að hafa`},file:{unit:`bæti`,verb:`að hafa`},array:{unit:`hluti`,verb:`að hafa`},set:{unit:`hluti`,verb:`að hafa`}};function t(t){return e[t]??null}let n={regex:`gildi`,email:`netfang`,url:`vefslóð`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dagsetning og tími`,date:`ISO dagsetning`,time:`ISO tími`,duration:`ISO tímalengd`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded strengur`,base64url:`base64url-encoded strengur`,json_string:`JSON strengur`,e164:`E.164 tölugildi`,jwt:`JWT`,template_literal:`gildi`},r={nan:`NaN`,number:`númer`,array:`fylki`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Rangt gildi: Þú slóst inn ${i} þar sem á að vera instanceof ${e.expected}`:`Rangt gildi: Þú slóst inn ${i} þar sem á að vera ${t}`}case`invalid_value`:return e.values.length===1?`Rangt gildi: gert ráð fyrir ${Lv(e.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} hafi ${n}${e.maximum.toString()} ${r.unit??`hluti`}`:`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} sé ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Of lítið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}`:`Of lítið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ógildur strengur: verður að byrja á &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Ógildur strengur: verður að enda á &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Ógildur strengur: verður að innihalda &#x22;${t.includes}&#x22;`:t.format===`regex`?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${n[t.format]??e.format}`}case`not_multiple_of`:return`Röng tala: verður að vera margfeldi af ${e.divisor}`;case`unrecognized_keys`:return`Óþekkt ${e.keys.length>1?`ir lyklar`:`ur lykill`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Rangur lykill í ${e.origin}`;case`invalid_union`:return`Rangt gildi`;case`invalid_element`:return`Rangt gildi í ${e.origin}`;default:return`Rangt gildi`}}};function CC(){return{localeError:SC()}}var wC=()=>{let e={string:{unit:`caratteri`,verb:`avere`},file:{unit:`byte`,verb:`avere`},array:{unit:`elementi`,verb:`avere`},set:{unit:`elementi`,verb:`avere`}};function t(t){return e[t]??null}let n={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`},r={nan:`NaN`,number:`numero`,array:`vettore`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input non valido: atteso instanceof ${e.expected}, ricevuto ${i}`:`Input non valido: atteso ${t}, ricevuto ${i}`}case`invalid_value`:return e.values.length===1?`Input non valido: atteso ${Lv(e.values[0])}`:`Opzione non valida: atteso uno tra ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Troppo grande: ${e.origin??`valore`} deve avere ${n}${e.maximum.toString()} ${r.unit??`elementi`}`:`Troppo grande: ${e.origin??`valore`} deve essere ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}`:`Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Stringa non valida: deve iniziare con &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Stringa non valida: deve terminare con &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Stringa non valida: deve includere &#x22;${t.includes}&#x22;`:t.format===`regex`?`Stringa non valida: deve corrispondere al pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case`unrecognized_keys`:return`Chiav${e.keys.length>1?`i`:`e`} non riconosciut${e.keys.length>1?`e`:`a`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Chiave non valida in ${e.origin}`;case`invalid_union`:return`Input non valido`;case`invalid_element`:return`Valore non valido in ${e.origin}`;default:return`Input non valido`}}};function TC(){return{localeError:wC()}}var EC=()=>{let e={string:{unit:`文字`,verb:`である`},file:{unit:`バイト`,verb:`である`},array:{unit:`要素`,verb:`である`},set:{unit:`要素`,verb:`である`}};function t(t){return e[t]??null}let n={regex:`入力値`,email:`メールアドレス`,url:`URL`,emoji:`絵文字`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日時`,date:`ISO日付`,time:`ISO時刻`,duration:`ISO期間`,ipv4:`IPv4アドレス`,ipv6:`IPv6アドレス`,cidrv4:`IPv4範囲`,cidrv6:`IPv6範囲`,base64:`base64エンコード文字列`,base64url:`base64urlエンコード文字列`,json_string:`JSON文字列`,e164:`E.164番号`,jwt:`JWT`,template_literal:`入力値`},r={nan:`NaN`,number:`数値`,array:`配列`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無効な入力: instanceof ${e.expected}が期待されましたが、${i}が入力されました`:`無効な入力: ${t}が期待されましたが、${i}が入力されました`}case`invalid_value`:return e.values.length===1?`無効な入力: ${Lv(e.values[0])}が期待されました`:`無効な選択: ${O(e.values,`、`)}のいずれかである必要があります`;case`too_big`:{let n=e.inclusive?`以下である`:`より小さい`,r=t(e.origin);return r?`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${r.unit??`要素`}${n}必要があります`:`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${n}必要があります`}case`too_small`:{let n=e.inclusive?`以上である`:`より大きい`,r=t(e.origin);return r?`小さすぎる値: ${e.origin}は${e.minimum.toString()}${r.unit}${n}必要があります`:`小さすぎる値: ${e.origin}は${e.minimum.toString()}${n}必要があります`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無効な文字列: &#x22;${t.prefix}&#x22;で始まる必要があります`:t.format===`ends_with`?`無効な文字列: &#x22;${t.suffix}&#x22;で終わる必要があります`:t.format===`includes`?`無効な文字列: &#x22;${t.includes}&#x22;を含む必要があります`:t.format===`regex`?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${n[t.format]??e.format}`}case`not_multiple_of`:return`無効な数値: ${e.divisor}の倍数である必要があります`;case`unrecognized_keys`:return`認識されていないキー${e.keys.length>1?`群`:``}: ${O(e.keys,`、`)}`;case`invalid_key`:return`${e.origin}内の無効なキー`;case`invalid_union`:return`無効な入力`;case`invalid_element`:return`${e.origin}内の無効な値`;default:return`無効な入力`}}};function DC(){return{localeError:EC()}}var OC=()=>{let e={string:{unit:`სიმბოლო`,verb:`უნდა შეიცავდეს`},file:{unit:`ბაიტი`,verb:`უნდა შეიცავდეს`},array:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`},set:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`}};function t(t){return e[t]??null}let n={regex:`შეყვანა`,email:`ელ-ფოსტის მისამართი`,url:`URL`,emoji:`ემოჯი`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`თარიღი-დრო`,date:`თარიღი`,time:`დრო`,duration:`ხანგრძლივობა`,ipv4:`IPv4 მისამართი`,ipv6:`IPv6 მისამართი`,cidrv4:`IPv4 დიაპაზონი`,cidrv6:`IPv6 დიაპაზონი`,base64:`base64-კოდირებული სტრინგი`,base64url:`base64url-კოდირებული სტრინგი`,json_string:`JSON სტრინგი`,e164:`E.164 ნომერი`,jwt:`JWT`,template_literal:`შეყვანა`},r={nan:`NaN`,number:`რიცხვი`,string:`სტრინგი`,boolean:`ბულეანი`,function:`ფუნქცია`,array:`მასივი`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${e.expected}, მიღებული ${i}`:`არასწორი შეყვანა: მოსალოდნელი ${t}, მიღებული ${i}`}case`invalid_value`:return e.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${Lv(e.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${O(e.values,`|`)}-დან`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} იყოს ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`არასწორი სტრინგი: უნდა იწყებოდეს &#x22;${t.prefix}&#x22;-ით`:t.format===`ends_with`?`არასწორი სტრინგი: უნდა მთავრდებოდეს &#x22;${t.suffix}&#x22;-ით`:t.format===`includes`?`არასწორი სტრინგი: უნდა შეიცავდეს &#x22;${t.includes}&#x22;-ს`:t.format===`regex`?`არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${n[t.format]??e.format}`}case`not_multiple_of`:return`არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`;case`unrecognized_keys`:return`უცნობი გასაღებ${e.keys.length>1?`ები`:`ი`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`არასწორი გასაღები ${e.origin}-ში`;case`invalid_union`:return`არასწორი შეყვანა`;case`invalid_element`:return`არასწორი მნიშვნელობა ${e.origin}-ში`;default:return`არასწორი შეყვანა`}}};function kC(){return{localeError:OC()}}var AC=()=>{let e={string:{unit:`តួអក្សរ`,verb:`គួរមាន`},file:{unit:`បៃ`,verb:`គួរមាន`},array:{unit:`ធាតុ`,verb:`គួរមាន`},set:{unit:`ធាតុ`,verb:`គួរមាន`}};function t(t){return e[t]??null}let n={regex:`ទិន្នន័យបញ្ចូល`,email:`អាសយដ្ឋានអ៊ីមែល`,url:`URL`,emoji:`សញ្ញាអារម្មណ៍`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`កាលបរិច្ឆេទ និងម៉ោង ISO`,date:`កាលបរិច្ឆេទ ISO`,time:`ម៉ោង ISO`,duration:`រយៈពេល ISO`,ipv4:`អាសយដ្ឋាន IPv4`,ipv6:`អាសយដ្ឋាន IPv6`,cidrv4:`ដែនអាសយដ្ឋាន IPv4`,cidrv6:`ដែនអាសយដ្ឋាន IPv6`,base64:`ខ្សែអក្សរអ៊ិកូដ base64`,base64url:`ខ្សែអក្សរអ៊ិកូដ base64url`,json_string:`ខ្សែអក្សរ JSON`,e164:`លេខ E.164`,jwt:`JWT`,template_literal:`ទិន្នន័យបញ្ចូល`},r={nan:`NaN`,number:`លេខ`,array:`អារេ (Array)`,null:`គ្មានតម្លៃ (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${e.expected} ប៉ុន្តែទទួលបាន ${i}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t} ប៉ុន្តែទទួលបាន ${i}`}case`invalid_value`:return e.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Lv(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()} ${r.unit??`ធាតុ`}`:`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}`:`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ &#x22;${t.suffix}&#x22;`:t.format===`includes`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន &#x22;${t.includes}&#x22;`:t.format===`regex`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${n[t.format]??e.format}`}case`not_multiple_of`:return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;case`unrecognized_keys`:return`រកឃើញសោមិនស្គាល់៖ ${O(e.keys,`, `)}`;case`invalid_key`:return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;case`invalid_union`:return`ទិន្នន័យមិនត្រឹមត្រូវ`;case`invalid_element`:return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;default:return`ទិន្នន័យមិនត្រឹមត្រូវ`}}};function jC(){return{localeError:AC()}}function MC(){return jC()}var NC=()=>{let e={string:{unit:`문자`,verb:`to have`},file:{unit:`바이트`,verb:`to have`},array:{unit:`개`,verb:`to have`},set:{unit:`개`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`입력`,email:`이메일 주소`,url:`URL`,emoji:`이모지`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 날짜시간`,date:`ISO 날짜`,time:`ISO 시간`,duration:`ISO 기간`,ipv4:`IPv4 주소`,ipv6:`IPv6 주소`,cidrv4:`IPv4 범위`,cidrv6:`IPv6 범위`,base64:`base64 인코딩 문자열`,base64url:`base64url 인코딩 문자열`,json_string:`JSON 문자열`,e164:`E.164 번호`,jwt:`JWT`,template_literal:`입력`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`잘못된 입력: 예상 타입은 instanceof ${e.expected}, 받은 타입은 ${i}입니다`:`잘못된 입력: 예상 타입은 ${t}, 받은 타입은 ${i}입니다`}case`invalid_value`:return e.values.length===1?`잘못된 입력: 값은 ${Lv(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${O(e.values,`또는 `)} 중 하나여야 합니다`;case`too_big`:{let n=e.inclusive?`이하`:`미만`,r=n===`미만`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`}case`too_small`:{let n=e.inclusive?`이상`:`초과`,r=n===`이상`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`잘못된 문자열: &#x22;${t.prefix}&#x22;(으)로 시작해야 합니다`:t.format===`ends_with`?`잘못된 문자열: &#x22;${t.suffix}&#x22;(으)로 끝나야 합니다`:t.format===`includes`?`잘못된 문자열: &#x22;${t.includes}&#x22;을(를) 포함해야 합니다`:t.format===`regex`?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${n[t.format]??e.format}`}case`not_multiple_of`:return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`;case`unrecognized_keys`:return`인식할 수 없는 키: ${O(e.keys,`, `)}`;case`invalid_key`:return`잘못된 키: ${e.origin}`;case`invalid_union`:return`잘못된 입력`;case`invalid_element`:return`잘못된 값: ${e.origin}`;default:return`잘못된 입력`}}};function PC(){return{localeError:NC()}}var FC=e=>e.charAt(0).toUpperCase()+e.slice(1);function IC(e){let t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||n===0?`many`:n===1?`one`:`few`}var LC=()=>{let e={string:{unit:{one:`simbolis`,few:`simboliai`,many:`simbolių`},verb:{smaller:{inclusive:`turi būti ne ilgesnė kaip`,notInclusive:`turi būti trumpesnė kaip`},bigger:{inclusive:`turi būti ne trumpesnė kaip`,notInclusive:`turi būti ilgesnė kaip`}}},file:{unit:{one:`baitas`,few:`baitai`,many:`baitų`},verb:{smaller:{inclusive:`turi būti ne didesnis kaip`,notInclusive:`turi būti mažesnis kaip`},bigger:{inclusive:`turi būti ne mažesnis kaip`,notInclusive:`turi būti didesnis kaip`}}},array:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}},set:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}}};function t(t,n,r,i){let a=e[t]??null;return a===null?a:{unit:a.unit[n],verb:a.verb[i][r?`inclusive`:`notInclusive`]}}let n={regex:`įvestis`,email:`el. pašto adresas`,url:`URL`,emoji:`jaustukas`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO data ir laikas`,date:`ISO data`,time:`ISO laikas`,duration:`ISO trukmė`,ipv4:`IPv4 adresas`,ipv6:`IPv6 adresas`,cidrv4:`IPv4 tinklo prefiksas (CIDR)`,cidrv6:`IPv6 tinklo prefiksas (CIDR)`,base64:`base64 užkoduota eilutė`,base64url:`base64url užkoduota eilutė`,json_string:`JSON eilutė`,e164:`E.164 numeris`,jwt:`JWT`,template_literal:`įvestis`},r={nan:`NaN`,number:`skaičius`,bigint:`sveikasis skaičius`,string:`eilutė`,boolean:`loginė reikšmė`,undefined:`neapibrėžta reikšmė`,function:`funkcija`,symbol:`simbolis`,array:`masyvas`,object:`objektas`,null:`nulinė reikšmė`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Gautas tipas ${i}, o tikėtasi - instanceof ${e.expected}`:`Gautas tipas ${i}, o tikėtasi - ${t}`}case`invalid_value`:return e.values.length===1?`Privalo būti ${Lv(e.values[0])}`:`Privalo būti vienas iš ${O(e.values,`|`)} pasirinkimų`;case`too_big`:{let n=r[e.origin]??e.origin,i=t(e.origin,IC(Number(e.maximum)),e.inclusive??!1,`smaller`);if(i?.verb)return`${FC(n??e.origin??`reikšmė`)} ${i.verb} ${e.maximum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne didesnis kaip`:`mažesnis kaip`;return`${FC(n??e.origin??`reikšmė`)} turi būti ${a} ${e.maximum.toString()} ${i?.unit}`}case`too_small`:{let n=r[e.origin]??e.origin,i=t(e.origin,IC(Number(e.minimum)),e.inclusive??!1,`bigger`);if(i?.verb)return`${FC(n??e.origin??`reikšmė`)} ${i.verb} ${e.minimum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne mažesnis kaip`:`didesnis kaip`;return`${FC(n??e.origin??`reikšmė`)} turi būti ${a} ${e.minimum.toString()} ${i?.unit}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Eilutė privalo prasidėti &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Eilutė privalo pasibaigti &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Eilutė privalo įtraukti &#x22;${t.includes}&#x22;`:t.format===`regex`?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${n[t.format]??e.format}`}case`not_multiple_of`:return`Skaičius privalo būti ${e.divisor} kartotinis.`;case`unrecognized_keys`:return`Neatpažint${e.keys.length>1?`i`:`as`} rakt${e.keys.length>1?`ai`:`as`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Rastas klaidingas raktas`;case`invalid_union`:return`Klaidinga įvestis`;case`invalid_element`:return`${FC(r[e.origin]??e.origin??e.origin??`reikšmė`)} turi klaidingą įvestį`;default:return`Klaidinga įvestis`}}};function RC(){return{localeError:LC()}}var zC=()=>{let e={string:{unit:`знаци`,verb:`да имаат`},file:{unit:`бајти`,verb:`да имаат`},array:{unit:`ставки`,verb:`да имаат`},set:{unit:`ставки`,verb:`да имаат`}};function t(t){return e[t]??null}let n={regex:`внес`,email:`адреса на е-пошта`,url:`URL`,emoji:`емоџи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO датум и време`,date:`ISO датум`,time:`ISO време`,duration:`ISO времетраење`,ipv4:`IPv4 адреса`,ipv6:`IPv6 адреса`,cidrv4:`IPv4 опсег`,cidrv6:`IPv6 опсег`,base64:`base64-енкодирана низа`,base64url:`base64url-енкодирана низа`,json_string:`JSON низа`,e164:`E.164 број`,jwt:`JWT`,template_literal:`внес`},r={nan:`NaN`,number:`број`,array:`низа`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Грешен внес: се очекува instanceof ${e.expected}, примено ${i}`:`Грешен внес: се очекува ${t}, примено ${i}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${Lv(e.values[0])}`:`Грешана опција: се очекува една ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Премногу голем: се очекува ${e.origin??`вредноста`} да има ${n}${e.maximum.toString()} ${r.unit??`елементи`}`:`Премногу голем: се очекува ${e.origin??`вредноста`} да биде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Премногу мал: се очекува ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}`:`Премногу мал: се очекува ${e.origin} да биде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неважечка низа: мора да започнува со &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Неважечка низа: мора да завршува со &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Неважечка низа: мора да вклучува &#x22;${t.includes}&#x22;`:t.format===`regex`?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Грешен број: мора да биде делив со ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Непрепознаени клучеви`:`Непрепознаен клуч`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Грешен клуч во ${e.origin}`;case`invalid_union`:return`Грешен внес`;case`invalid_element`:return`Грешна вредност во ${e.origin}`;default:return`Грешен внес`}}};function BC(){return{localeError:zC()}}var VC=()=>{let e={string:{unit:`aksara`,verb:`mempunyai`},file:{unit:`bait`,verb:`mempunyai`},array:{unit:`elemen`,verb:`mempunyai`},set:{unit:`elemen`,verb:`mempunyai`}};function t(t){return e[t]??null}let n={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`},r={nan:`NaN`,number:`nombor`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak sah: dijangka instanceof ${e.expected}, diterima ${i}`:`Input tidak sah: dijangka ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak sah: dijangka ${Lv(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: dijangka ${e.origin??`nilai`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: dijangka ${e.origin??`nilai`} adalah ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak sah: mesti bermula dengan &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`String tidak sah: mesti berakhir dengan &#x22;${t.suffix}&#x22;`:t.format===`includes`?`String tidak sah: mesti mengandungi &#x22;${t.includes}&#x22;`:t.format===`regex`?`String tidak sah: mesti sepadan dengan corak ${t.pattern}`:`${n[t.format]??e.format} tidak sah`}case`not_multiple_of`:return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali: ${O(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak sah dalam ${e.origin}`;case`invalid_union`:return`Input tidak sah`;case`invalid_element`:return`Nilai tidak sah dalam ${e.origin}`;default:return`Input tidak sah`}}};function HC(){return{localeError:VC()}}var UC=()=>{let e={string:{unit:`tekens`,verb:`heeft`},file:{unit:`bytes`,verb:`heeft`},array:{unit:`elementen`,verb:`heeft`},set:{unit:`elementen`,verb:`heeft`}};function t(t){return e[t]??null}let n={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`},r={nan:`NaN`,number:`getal`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${i}`:`Ongeldige invoer: verwacht ${t}, ontving ${i}`}case`invalid_value`:return e.values.length===1?`Ongeldige invoer: verwacht ${Lv(e.values[0])}`:`Ongeldige optie: verwacht één van ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin),i=e.origin===`date`?`laat`:e.origin===`string`?`lang`:`groot`;return r?`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} ${r.unit??`elementen`} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} is`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin),i=e.origin===`date`?`vroeg`:e.origin===`string`?`kort`:`klein`;return r?`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ongeldige tekst: moet met &#x22;${t.prefix}&#x22; beginnen`:t.format===`ends_with`?`Ongeldige tekst: moet op &#x22;${t.suffix}&#x22; eindigen`:t.format===`includes`?`Ongeldige tekst: moet &#x22;${t.includes}&#x22; bevatten`:t.format===`regex`?`Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}`:`Ongeldig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case`unrecognized_keys`:return`Onbekende key${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Ongeldige key in ${e.origin}`;case`invalid_union`:return`Ongeldige invoer`;case`invalid_element`:return`Ongeldige waarde in ${e.origin}`;default:return`Ongeldige invoer`}}};function WC(){return{localeError:UC()}}var GC=()=>{let e={string:{unit:`tegn`,verb:`å ha`},file:{unit:`bytes`,verb:`å ha`},array:{unit:`elementer`,verb:`å inneholde`},set:{unit:`elementer`,verb:`å inneholde`}};function t(t){return e[t]??null}let n={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åde`,ipv6:`IPv6-område`,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`},r={nan:`NaN`,number:`tall`,array:`liste`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldig input: forventet instanceof ${e.expected}, fikk ${i}`:`Ugyldig input: forventet ${t}, fikk ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig verdi: forventet ${Lv(e.values[0])}`:`Ugyldig valg: forventet en av ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()} ${r.unit??`elementer`}`:`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()} ${r.unit}`:`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: må starte med &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Ugyldig streng: må ende med &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Ugyldig streng: må inneholde &#x22;${t.includes}&#x22;`:t.format===`regex`?`Ugyldig streng: må matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldig tall: må være et multiplum av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukjente nøkler`:`Ukjent nøkkel`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøkkel i ${e.origin}`;case`invalid_union`:return`Ugyldig input`;case`invalid_element`:return`Ugyldig verdi i ${e.origin}`;default:return`Ugyldig input`}}};function KC(){return{localeError:GC()}}var qC=()=>{let e={string:{unit:`harf`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`unsur`,verb:`olmalıdır`},set:{unit:`unsur`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n={regex:`giren`,email:`epostagâh`,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âmı`,date:`ISO tarihi`,time:`ISO zamanı`,duration:`ISO müddeti`,ipv4:`IPv4 nişânı`,ipv6:`IPv6 nişânı`,cidrv4:`IPv4 menzili`,cidrv6:`IPv6 menzili`,base64:`base64-şifreli metin`,base64url:`base64url-şifreli metin`,json_string:`JSON metin`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`giren`},r={nan:`NaN`,number:`numara`,array:`saf`,null:`gayb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Fâsit giren: umulan instanceof ${e.expected}, alınan ${i}`:`Fâsit giren: umulan ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Fâsit giren: umulan ${Lv(e.values[0])}`:`Fâsit tercih: mûteberler ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} ${r.unit??`elements`} sahip olmalıydı.`:`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} olmalıydı.`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.`:`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Fâsit metin: &#x22;${t.prefix}&#x22; ile başlamalı.`:t.format===`ends_with`?`Fâsit metin: &#x22;${t.suffix}&#x22; ile bitmeli.`:t.format===`includes`?`Fâsit metin: &#x22;${t.includes}&#x22; ihtivâ etmeli.`:t.format===`regex`?`Fâsit metin: ${t.pattern} nakşına uymalı.`:`Fâsit ${n[t.format]??e.format}`}case`not_multiple_of`:return`Fâsit sayı: ${e.divisor} katı olmalıydı.`;case`unrecognized_keys`:return`Tanınmayan anahtar ${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} için tanınmayan anahtar var.`;case`invalid_union`:return`Giren tanınamadı.`;case`invalid_element`:return`${e.origin} için tanınmayan kıymet var.`;default:return`Kıymet tanınamadı.`}}};function JC(){return{localeError:qC()}}var YC=()=>{let e={string:{unit:`توکي`,verb:`ولري`},file:{unit:`بایټس`,verb:`ولري`},array:{unit:`توکي`,verb:`ولري`},set:{unit:`توکي`,verb:`ولري`}};function t(t){return e[t]??null}let n={regex:`ورودي`,email:`بریښنالیک`,url:`یو آر ال`,emoji:`ایموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`نیټه او وخت`,date:`نېټه`,time:`وخت`,duration:`موده`,ipv4:`د IPv4 پته`,ipv6:`د IPv6 پته`,cidrv4:`د IPv4 ساحه`,cidrv6:`د IPv6 ساحه`,base64:`base64-encoded متن`,base64url:`base64url-encoded متن`,json_string:`JSON متن`,e164:`د E.164 شمېره`,jwt:`JWT`,template_literal:`ورودي`},r={nan:`NaN`,number:`عدد`,array:`ارې`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ناسم ورودي: باید instanceof ${e.expected} وای, مګر ${i} ترلاسه شو`:`ناسم ورودي: باید ${t} وای, مګر ${i} ترلاسه شو`}case`invalid_value`:return e.values.length===1?`ناسم ورودي: باید ${Lv(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${O(e.values,`|`)} څخه وای`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصرونه`} ولري`:`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} وي`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} ولري`:`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} وي`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ناسم متن: باید د &#x22;${t.prefix}&#x22; سره پیل شي`:t.format===`ends_with`?`ناسم متن: باید د &#x22;${t.suffix}&#x22; سره پای ته ورسيږي`:t.format===`includes`?`ناسم متن: باید &#x22;${t.includes}&#x22; ولري`:t.format===`regex`?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${n[t.format]??e.format} ناسم دی`}case`not_multiple_of`:return`ناسم عدد: باید د ${e.divisor} مضرب وي`;case`unrecognized_keys`:return`ناسم ${e.keys.length>1?`کلیډونه`:`کلیډ`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`ناسم کلیډ په ${e.origin} کې`;case`invalid_union`:return`ناسمه ورودي`;case`invalid_element`:return`ناسم عنصر په ${e.origin} کې`;default:return`ناسمه ورودي`}}};function XC(){return{localeError:YC()}}var ZC=()=>{let e={string:{unit:`znaków`,verb:`mieć`},file:{unit:`bajtów`,verb:`mieć`},array:{unit:`elementów`,verb:`mieć`},set:{unit:`elementów`,verb:`mieć`}};function t(t){return e[t]??null}let n={regex:`wyrażenie`,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ąg znaków zakodowany w formacie base64`,base64url:`ciąg znaków zakodowany w formacie base64url`,json_string:`ciąg znaków w formacie JSON`,e164:`liczba E.164`,jwt:`JWT`,template_literal:`wejście`},r={nan:`NaN`,number:`liczba`,array:`tablica`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${e.expected}, otrzymano ${i}`:`Nieprawidłowe dane wejściowe: oczekiwano ${t}, otrzymano ${i}`}case`invalid_value`:return e.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${Lv(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Za duża wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.maximum.toString()} ${r.unit??`elementów`}`:`Zbyt duż(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Za mała wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.minimum.toString()} ${r.unit??`elementów`}`:`Zbyt mał(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nieprawidłowy ciąg znaków: musi zaczynać się od &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Nieprawidłowy ciąg znaków: musi kończyć się na &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Nieprawidłowy ciąg znaków: musi zawierać &#x22;${t.includes}&#x22;`:t.format===`regex`?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}`:`Nieprawidłow(y/a/e) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;case`unrecognized_keys`:return`Nierozpoznane klucze${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Nieprawidłowy klucz w ${e.origin}`;case`invalid_union`:return`Nieprawidłowe dane wejściowe`;case`invalid_element`:return`Nieprawidłowa wartość w ${e.origin}`;default:return`Nieprawidłowe dane wejściowe`}}};function QC(){return{localeError:ZC()}}var $C=()=>{let e={string:{unit:`caracteres`,verb:`ter`},file:{unit:`bytes`,verb:`ter`},array:{unit:`itens`,verb:`ter`},set:{unit:`itens`,verb:`ter`}};function t(t){return e[t]??null}let n={regex:`padrão`,email:`endereço 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ção ISO`,ipv4:`endereço IPv4`,ipv6:`endereço 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úmero E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,number:`número`,null:`nulo`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipo inválido: esperado instanceof ${e.expected}, recebido ${i}`:`Tipo inválido: esperado ${t}, recebido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: esperado ${Lv(e.values[0])}`:`Opção inválida: esperada uma das ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Muito grande: esperado que ${e.origin??`valor`} tivesse ${n}${e.maximum.toString()} ${r.unit??`elementos`}`:`Muito grande: esperado que ${e.origin??`valor`} fosse ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Texto inválido: deve começar com &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Texto inválido: deve terminar com &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Texto inválido: deve incluir &#x22;${t.includes}&#x22;`:t.format===`regex`?`Texto inválido: deve corresponder ao padrão ${t.pattern}`:`${n[t.format]??e.format} inválido`}case`not_multiple_of`:return`Número inválido: deve ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Chave${e.keys.length>1?`s`:``} desconhecida${e.keys.length>1?`s`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Chave inválida em ${e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido em ${e.origin}`;default:return`Campo inválido`}}};function ew(){return{localeError:$C()}}function tw(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}var nw=()=>{let e={string:{unit:{one:`символ`,few:`символа`,many:`символов`},verb:`иметь`},file:{unit:{one:`байт`,few:`байта`,many:`байт`},verb:`иметь`},array:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`},set:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`}};function t(t){return e[t]??null}let n={regex:`ввод`,email:`email адрес`,url:`URL`,emoji:`эмодзи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата и время`,date:`ISO дата`,time:`ISO время`,duration:`ISO длительность`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`строка в формате base64`,base64url:`строка в формате base64url`,json_string:`JSON строка`,e164:`номер E.164`,jwt:`JWT`,template_literal:`ввод`},r={nan:`NaN`,number:`число`,array:`массив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неверный ввод: ожидалось instanceof ${e.expected}, получено ${i}`:`Неверный ввод: ожидалось ${t}, получено ${i}`}case`invalid_value`:return e.values.length===1?`Неверный ввод: ожидалось ${Lv(e.values[0])}`:`Неверный вариант: ожидалось одно из ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=tw(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет иметь ${n}${e.maximum.toString()} ${t}`}return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=tw(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${n}${e.minimum.toString()} ${t}`}return`Слишком маленькое значение: ожидалось, что ${e.origin} будет ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неверная строка: должна начинаться с &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Неверная строка: должна заканчиваться на &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Неверная строка: должна содержать &#x22;${t.includes}&#x22;`:t.format===`regex`?`Неверная строка: должна соответствовать шаблону ${t.pattern}`:`Неверный ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неверное число: должно быть кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспознанн${e.keys.length>1?`ые`:`ый`} ключ${e.keys.length>1?`и`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Неверный ключ в ${e.origin}`;case`invalid_union`:return`Неверные входные данные`;case`invalid_element`:return`Неверное значение в ${e.origin}`;default:return`Неверные входные данные`}}};function rw(){return{localeError:nw()}}var iw=()=>{let e={string:{unit:`znakov`,verb:`imeti`},file:{unit:`bajtov`,verb:`imeti`},array:{unit:`elementov`,verb:`imeti`},set:{unit:`elementov`,verb:`imeti`}};function t(t){return e[t]??null}let n={regex:`vnos`,email:`e-poštni 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 čas`,date:`ISO datum`,time:`ISO čas`,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 številka`,jwt:`JWT`,template_literal:`vnos`},r={nan:`NaN`,number:`število`,array:`tabela`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neveljaven vnos: pričakovano instanceof ${e.expected}, prejeto ${i}`:`Neveljaven vnos: pričakovano ${t}, prejeto ${i}`}case`invalid_value`:return e.values.length===1?`Neveljaven vnos: pričakovano ${Lv(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} imelo ${n}${e.maximum.toString()} ${r.unit??`elementov`}`:`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Premajhno: pričakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}`:`Premajhno: pričakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neveljaven niz: mora se začeti z &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Neveljaven niz: mora se končati z &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Neveljaven niz: mora vsebovati &#x22;${t.includes}&#x22;`:t.format===`regex`?`Neveljaven niz: mora ustrezati vzorcu ${t.pattern}`:`Neveljaven ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neveljavno število: mora biti večkratnik ${e.divisor}`;case`unrecognized_keys`:return`Neprepoznan${e.keys.length>1?`i ključi`:` ključ`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Neveljaven ključ v ${e.origin}`;case`invalid_union`:return`Neveljaven vnos`;case`invalid_element`:return`Neveljavna vrednost v ${e.origin}`;default:return`Neveljaven vnos`}}};function aw(){return{localeError:iw()}}var Gne=()=>{let e={string:{unit:`tecken`,verb:`att ha`},file:{unit:`bytes`,verb:`att ha`},array:{unit:`objekt`,verb:`att innehålla`},set:{unit:`objekt`,verb:`att innehålla`}};function t(t){return e[t]??null}let n={regex:`reguljärt 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äng`,base64url:`base64url-kodad sträng`,json_string:`JSON-sträng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`mall-literal`},r={nan:`NaN`,number:`antal`,array:`lista`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${i}`:`Ogiltig inmatning: förväntat ${t}, fick ${i}`}case`invalid_value`:return e.values.length===1?`Ogiltig inmatning: förväntat ${Lv(e.values[0])}`:`Ogiltigt val: förväntade en av ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`För stor(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()} ${r.unit??`element`}`:`För stor(t): förväntat ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()} ${r.unit}`:`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ogiltig sträng: måste börja med &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Ogiltig sträng: måste sluta med &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Ogiltig sträng: måste innehålla &#x22;${t.includes}&#x22;`:t.format===`regex`?`Ogiltig sträng: måste matcha mönstret &#x22;${t.pattern}&#x22;`:`Ogiltig(t) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ogiltigt tal: måste vara en multipel av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Okända nycklar`:`Okänd nyckel`}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Ogiltig nyckel i ${e.origin??`värdet`}`;case`invalid_union`:return`Ogiltig input`;case`invalid_element`:return`Ogiltigt värde i ${e.origin??`värdet`}`;default:return`Ogiltig input`}}};function Kne(){return{localeError:Gne()}}var qne=()=>{let e={string:{unit:`எழுத்துக்கள்`,verb:`கொண்டிருக்க வேண்டும்`},file:{unit:`பைட்டுகள்`,verb:`கொண்டிருக்க வேண்டும்`},array:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`},set:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`}};function t(t){return e[t]??null}let n={regex:`உள்ளீடு`,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:`ISO தேதி நேரம்`,date:`ISO தேதி`,time:`ISO நேரம்`,duration:`ISO கால அளவு`,ipv4:`IPv4 முகவரி`,ipv6:`IPv6 முகவரி`,cidrv4:`IPv4 வரம்பு`,cidrv6:`IPv6 வரம்பு`,base64:`base64-encoded சரம்`,base64url:`base64url-encoded சரம்`,json_string:`JSON சரம்`,e164:`E.164 எண்`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`எண்`,array:`அணி`,null:`வெறுமை`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${e.expected}, பெறப்பட்டது ${i}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t}, பெறப்பட்டது ${i}`}case`invalid_value`:return e.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Lv(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${O(e.values,`|`)} இல் ஒன்று`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ${r.unit??`உறுப்புகள்`} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ஆக இருக்க வேண்டும்`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ஆக இருக்க வேண்டும்`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`தவறான சரம்: &#x22;${t.prefix}&#x22; இல் தொடங்க வேண்டும்`:t.format===`ends_with`?`தவறான சரம்: &#x22;${t.suffix}&#x22; இல் முடிவடைய வேண்டும்`:t.format===`includes`?`தவறான சரம்: &#x22;${t.includes}&#x22; ஐ உள்ளடக்க வேண்டும்`:t.format===`regex`?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${n[t.format]??e.format}`}case`not_multiple_of`:return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;case`unrecognized_keys`:return`அடையாளம் தெரியாத விசை${e.keys.length>1?`கள்`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} இல் தவறான விசை`;case`invalid_union`:return`தவறான உள்ளீடு`;case`invalid_element`:return`${e.origin} இல் தவறான மதிப்பு`;default:return`தவறான உள்ளீடு`}}};function Jne(){return{localeError:qne()}}var Yne=()=>{let e={string:{unit:`ตัวอักษร`,verb:`ควรมี`},file:{unit:`ไบต์`,verb:`ควรมี`},array:{unit:`รายการ`,verb:`ควรมี`},set:{unit:`รายการ`,verb:`ควรมี`}};function t(t){return e[t]??null}let n={regex:`ข้อมูลที่ป้อน`,email:`ที่อยู่อีเมล`,url:`URL`,emoji:`อิโมจิ`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`วันที่เวลาแบบ ISO`,date:`วันที่แบบ ISO`,time:`เวลาแบบ ISO`,duration:`ช่วงเวลาแบบ ISO`,ipv4:`ที่อยู่ IPv4`,ipv6:`ที่อยู่ IPv6`,cidrv4:`ช่วง IP แบบ IPv4`,cidrv6:`ช่วง IP แบบ IPv6`,base64:`ข้อความแบบ Base64`,base64url:`ข้อความแบบ Base64 สำหรับ URL`,json_string:`ข้อความแบบ JSON`,e164:`เบอร์โทรศัพท์ระหว่างประเทศ (E.164)`,jwt:`โทเคน JWT`,template_literal:`ข้อมูลที่ป้อน`},r={nan:`NaN`,number:`ตัวเลข`,array:`อาร์เรย์ (Array)`,null:`ไม่มีค่า (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${e.expected} แต่ได้รับ ${i}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t} แต่ได้รับ ${i}`}case`invalid_value`:return e.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${Lv(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`ไม่เกิน`:`น้อยกว่า`,r=t(e.origin);return r?`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()} ${r.unit??`รายการ`}`:`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`อย่างน้อย`:`มากกว่า`,r=t(e.origin);return r?`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()} ${r.unit}`:`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย &#x22;${t.suffix}&#x22;`:t.format===`includes`?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี &#x22;${t.includes}&#x22; อยู่ในข้อความ`:t.format===`regex`?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${n[t.format]??e.format}`}case`not_multiple_of`:return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;case`unrecognized_keys`:return`พบคีย์ที่ไม่รู้จัก: ${O(e.keys,`, `)}`;case`invalid_key`:return`คีย์ไม่ถูกต้องใน ${e.origin}`;case`invalid_union`:return`ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้`;case`invalid_element`:return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:return`ข้อมูลไม่ถูกต้อง`}}};function Xne(){return{localeError:Yne()}}var Zne=()=>{let e={string:{unit:`karakter`,verb:`olmalı`},file:{unit:`bayt`,verb:`olmalı`},array:{unit:`öğe`,verb:`olmalı`},set:{unit:`öğe`,verb:`olmalı`}};function t(t){return e[t]??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üre`,ipv4:`IPv4 adresi`,ipv6:`IPv6 adresi`,cidrv4:`IPv4 aralığı`,cidrv6:`IPv6 aralığı`,base64:`base64 ile şifrelenmiş metin`,base64url:`base64url ile şifrelenmiş metin`,json_string:`JSON dizesi`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`Şablon dizesi`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Geçersiz değer: beklenen instanceof ${e.expected}, alınan ${i}`:`Geçersiz değer: beklenen ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Geçersiz değer: beklenen ${Lv(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()} ${r.unit??`öğe`}`:`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Geçersiz metin: &#x22;${t.prefix}&#x22; ile başlamalı`:t.format===`ends_with`?`Geçersiz metin: &#x22;${t.suffix}&#x22; ile bitmeli`:t.format===`includes`?`Geçersiz metin: &#x22;${t.includes}&#x22; içermeli`:t.format===`regex`?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${n[t.format]??e.format}`}case`not_multiple_of`:return`Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;case`unrecognized_keys`:return`Tanınmayan anahtar${e.keys.length>1?`lar`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} içinde geçersiz anahtar`;case`invalid_union`:return`Geçersiz değer`;case`invalid_element`:return`${e.origin} içinde geçersiz değer`;default:return`Geçersiz değer`}}};function Qne(){return{localeError:Zne()}}var $ne=()=>{let e={string:{unit:`символів`,verb:`матиме`},file:{unit:`байтів`,verb:`матиме`},array:{unit:`елементів`,verb:`матиме`},set:{unit:`елементів`,verb:`матиме`}};function t(t){return e[t]??null}let n={regex:`вхідні дані`,email:`адреса електронної пошти`,url:`URL`,emoji:`емодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`дата та час ISO`,date:`дата ISO`,time:`час ISO`,duration:`тривалість ISO`,ipv4:`адреса IPv4`,ipv6:`адреса IPv6`,cidrv4:`діапазон IPv4`,cidrv6:`діапазон IPv6`,base64:`рядок у кодуванні base64`,base64url:`рядок у кодуванні base64url`,json_string:`рядок JSON`,e164:`номер E.164`,jwt:`JWT`,template_literal:`вхідні дані`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неправильні вхідні дані: очікується instanceof ${e.expected}, отримано ${i}`:`Неправильні вхідні дані: очікується ${t}, отримано ${i}`}case`invalid_value`:return e.values.length===1?`Неправильні вхідні дані: очікується ${Lv(e.values[0])}`:`Неправильна опція: очікується одне з ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Занадто велике: очікується, що ${e.origin??`значення`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`елементів`}`:`Занадто велике: очікується, що ${e.origin??`значення`} буде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Занадто мале: очікується, що ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Занадто мале: очікується, що ${e.origin} буде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неправильний рядок: повинен починатися з &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Неправильний рядок: повинен закінчуватися на &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Неправильний рядок: повинен містити &#x22;${t.includes}&#x22;`:t.format===`regex`?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неправильне число: повинно бути кратним ${e.divisor}`;case`unrecognized_keys`:return`Нерозпізнаний ключ${e.keys.length>1?`і`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`Неправильний ключ у ${e.origin}`;case`invalid_union`:return`Неправильні вхідні дані`;case`invalid_element`:return`Неправильне значення у ${e.origin}`;default:return`Неправильні вхідні дані`}}};function ow(){return{localeError:$ne()}}function ere(){return ow()}var tre=()=>{let e={string:{unit:`حروف`,verb:`ہونا`},file:{unit:`بائٹس`,verb:`ہونا`},array:{unit:`آئٹمز`,verb:`ہونا`},set:{unit:`آئٹمز`,verb:`ہونا`}};function t(t){return e[t]??null}let n={regex:`ان پٹ`,email:`ای میل ایڈریس`,url:`یو آر ایل`,emoji:`ایموجی`,uuid:`یو یو آئی ڈی`,uuidv4:`یو یو آئی ڈی وی 4`,uuidv6:`یو یو آئی ڈی وی 6`,nanoid:`نینو آئی ڈی`,guid:`جی یو آئی ڈی`,cuid:`سی یو آئی ڈی`,cuid2:`سی یو آئی ڈی 2`,ulid:`یو ایل آئی ڈی`,xid:`ایکس آئی ڈی`,ksuid:`کے ایس یو آئی ڈی`,datetime:`آئی ایس او ڈیٹ ٹائم`,date:`آئی ایس او تاریخ`,time:`آئی ایس او وقت`,duration:`آئی ایس او مدت`,ipv4:`آئی پی وی 4 ایڈریس`,ipv6:`آئی پی وی 6 ایڈریس`,cidrv4:`آئی پی وی 4 رینج`,cidrv6:`آئی پی وی 6 رینج`,base64:`بیس 64 ان کوڈڈ سٹرنگ`,base64url:`بیس 64 یو آر ایل ان کوڈڈ سٹرنگ`,json_string:`جے ایس او این سٹرنگ`,e164:`ای 164 نمبر`,jwt:`جے ڈبلیو ٹی`,template_literal:`ان پٹ`},r={nan:`NaN`,number:`نمبر`,array:`آرے`,null:`نل`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`غلط ان پٹ: instanceof ${e.expected} متوقع تھا، ${i} موصول ہوا`:`غلط ان پٹ: ${t} متوقع تھا، ${i} موصول ہوا`}case`invalid_value`:return e.values.length===1?`غلط ان پٹ: ${Lv(e.values[0])} متوقع تھا`:`غلط آپشن: ${O(e.values,`|`)} میں سے ایک متوقع تھا`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`بہت بڑا: ${e.origin??`ویلیو`} کے ${n}${e.maximum.toString()} ${r.unit??`عناصر`} ہونے متوقع تھے`:`بہت بڑا: ${e.origin??`ویلیو`} کا ${n}${e.maximum.toString()} ہونا متوقع تھا`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`بہت چھوٹا: ${e.origin} کے ${n}${e.minimum.toString()} ${r.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${e.origin} کا ${n}${e.minimum.toString()} ہونا متوقع تھا`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`غلط سٹرنگ: &#x22;${t.prefix}&#x22; سے شروع ہونا چاہیے`:t.format===`ends_with`?`غلط سٹرنگ: &#x22;${t.suffix}&#x22; پر ختم ہونا چاہیے`:t.format===`includes`?`غلط سٹرنگ: &#x22;${t.includes}&#x22; شامل ہونا چاہیے`:t.format===`regex`?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${n[t.format]??e.format}`}case`not_multiple_of`:return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;case`unrecognized_keys`:return`غیر تسلیم شدہ کی${e.keys.length>1?`ز`:``}: ${O(e.keys,`، `)}`;case`invalid_key`:return`${e.origin} میں غلط کی`;case`invalid_union`:return`غلط ان پٹ`;case`invalid_element`:return`${e.origin} میں غلط ویلیو`;default:return`غلط ان پٹ`}}};function nre(){return{localeError:tre()}}var rre=()=>{let e={string:{unit:`belgi`,verb:`bo‘lishi kerak`},file:{unit:`bayt`,verb:`bo‘lishi kerak`},array:{unit:`element`,verb:`bo‘lishi kerak`},set:{unit:`element`,verb:`bo‘lishi kerak`}};function t(t){return e[t]??null}let n={regex:`kirish`,email:`elektron pochta manzili`,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 sana va vaqti`,date:`ISO sana`,time:`ISO vaqt`,duration:`ISO davomiylik`,ipv4:`IPv4 manzil`,ipv6:`IPv6 manzil`,mac:`MAC manzil`,cidrv4:`IPv4 diapazon`,cidrv6:`IPv6 diapazon`,base64:`base64 kodlangan satr`,base64url:`base64url kodlangan satr`,json_string:`JSON satr`,e164:`E.164 raqam`,jwt:`JWT`,template_literal:`kirish`},r={nan:`NaN`,number:`raqam`,array:`massiv`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${i}`:`Noto‘g‘ri kirish: kutilgan ${t}, qabul qilingan ${i}`}case`invalid_value`:return e.values.length===1?`Noto‘g‘ri kirish: kutilgan ${Lv(e.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()} ${r.unit} ${r.verb}`:`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Noto‘g‘ri satr: &#x22;${t.prefix}&#x22; bilan boshlanishi kerak`:t.format===`ends_with`?`Noto‘g‘ri satr: &#x22;${t.suffix}&#x22; bilan tugashi kerak`:t.format===`includes`?`Noto‘g‘ri satr: &#x22;${t.includes}&#x22; ni o‘z ichiga olishi kerak`:t.format===`regex`?`Noto‘g‘ri satr: ${t.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${n[t.format]??e.format}`}case`not_multiple_of`:return`Noto‘g‘ri raqam: ${e.divisor} ning karralisi bo‘lishi kerak`;case`unrecognized_keys`:return`Noma’lum kalit${e.keys.length>1?`lar`:``}: ${O(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} dagi kalit noto‘g‘ri`;case`invalid_union`:return`Noto‘g‘ri kirish`;case`invalid_element`:return`${e.origin} da noto‘g‘ri qiymat`;default:return`Noto‘g‘ri kirish`}}};function ire(){return{localeError:rre()}}var are=()=>{let e={string:{unit:`ký tự`,verb:`có`},file:{unit:`byte`,verb:`có`},array:{unit:`phần tử`,verb:`có`},set:{unit:`phần tử`,verb:`có`}};function t(t){return e[t]??null}let n={regex:`đầu vào`,email:`địa chỉ 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ày giờ ISO`,date:`ngày ISO`,time:`giờ ISO`,duration:`khoảng thời gian ISO`,ipv4:`địa chỉ IPv4`,ipv6:`địa chỉ IPv6`,cidrv4:`dải IPv4`,cidrv6:`dải IPv6`,base64:`chuỗi mã hóa base64`,base64url:`chuỗi mã hóa base64url`,json_string:`chuỗi JSON`,e164:`số E.164`,jwt:`JWT`,template_literal:`đầu vào`},r={nan:`NaN`,number:`số`,array:`mảng`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${e.expected}, nhận được ${i}`:`Đầu vào không hợp lệ: mong đợi ${t}, nhận được ${i}`}case`invalid_value`:return e.values.length===1?`Đầu vào không hợp lệ: mong đợi ${Lv(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Quá lớn: mong đợi ${e.origin??`giá trị`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`phần tử`}`:`Quá lớn: mong đợi ${e.origin??`giá trị`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Quá nhỏ: mong đợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Quá nhỏ: mong đợi ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chuỗi không hợp lệ: phải bắt đầu bằng &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Chuỗi không hợp lệ: phải kết thúc bằng &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Chuỗi không hợp lệ: phải bao gồm &#x22;${t.includes}&#x22;`:t.format===`regex`?`Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}`:`${n[t.format]??e.format} không hợp lệ`}case`not_multiple_of`:return`Số không hợp lệ: phải là bội số của ${e.divisor}`;case`unrecognized_keys`:return`Khóa không được nhận dạng: ${O(e.keys,`, `)}`;case`invalid_key`:return`Khóa không hợp lệ trong ${e.origin}`;case`invalid_union`:return`Đầu vào không hợp lệ`;case`invalid_element`:return`Giá trị không hợp lệ trong ${e.origin}`;default:return`Đầu vào không hợp lệ`}}};function ore(){return{localeError:are()}}var sre=()=>{let e={string:{unit:`字符`,verb:`包含`},file:{unit:`字节`,verb:`包含`},array:{unit:`项`,verb:`包含`},set:{unit:`项`,verb:`包含`}};function t(t){return e[t]??null}let n={regex:`输入`,email:`电子邮件`,url:`URL`,emoji:`表情符号`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日期时间`,date:`ISO日期`,time:`ISO时间`,duration:`ISO时长`,ipv4:`IPv4地址`,ipv6:`IPv6地址`,cidrv4:`IPv4网段`,cidrv6:`IPv6网段`,base64:`base64编码字符串`,base64url:`base64url编码字符串`,json_string:`JSON字符串`,e164:`E.164号码`,jwt:`JWT`,template_literal:`输入`},r={nan:`NaN`,number:`数字`,array:`数组`,null:`空值(null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`无效输入：期望 instanceof ${e.expected}，实际接收 ${i}`:`无效输入：期望 ${t}，实际接收 ${i}`}case`invalid_value`:return e.values.length===1?`无效输入：期望 ${Lv(e.values[0])}`:`无效选项：期望以下之一 ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`数值过大：期望 ${e.origin??`值`} ${n}${e.maximum.toString()} ${r.unit??`个元素`}`:`数值过大：期望 ${e.origin??`值`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`数值过小：期望 ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`数值过小：期望 ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`无效字符串：必须以 &#x22;${t.prefix}&#x22; 开头`:t.format===`ends_with`?`无效字符串：必须以 &#x22;${t.suffix}&#x22; 结尾`:t.format===`includes`?`无效字符串：必须包含 &#x22;${t.includes}&#x22;`:t.format===`regex`?`无效字符串：必须满足正则表达式 ${t.pattern}`:`无效${n[t.format]??e.format}`}case`not_multiple_of`:return`无效数字：必须是 ${e.divisor} 的倍数`;case`unrecognized_keys`:return`出现未知的键(key): ${O(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} 中的键(key)无效`;case`invalid_union`:return`无效输入`;case`invalid_element`:return`${e.origin} 中包含无效值(value)`;default:return`无效输入`}}};function cre(){return{localeError:sre()}}var lre=()=>{let e={string:{unit:`字元`,verb:`擁有`},file:{unit:`位元組`,verb:`擁有`},array:{unit:`項目`,verb:`擁有`},set:{unit:`項目`,verb:`擁有`}};function t(t){return e[t]??null}let n={regex:`輸入`,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:`ISO 日期時間`,date:`ISO 日期`,time:`ISO 時間`,duration:`ISO 期間`,ipv4:`IPv4 位址`,ipv6:`IPv6 位址`,cidrv4:`IPv4 範圍`,cidrv6:`IPv6 範圍`,base64:`base64 編碼字串`,base64url:`base64url 編碼字串`,json_string:`JSON 字串`,e164:`E.164 數值`,jwt:`JWT`,template_literal:`輸入`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無效的輸入值：預期為 instanceof ${e.expected}，但收到 ${i}`:`無效的輸入值：預期為 ${t}，但收到 ${i}`}case`invalid_value`:return e.values.length===1?`無效的輸入值：預期為 ${Lv(e.values[0])}`:`無效的選項：預期為以下其中之一 ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`數值過大：預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()} ${r.unit??`個元素`}`:`數值過大：預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`數值過小：預期 ${e.origin} 應為 ${n}${e.minimum.toString()} ${r.unit}`:`數值過小：預期 ${e.origin} 應為 ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無效的字串：必須以 &#x22;${t.prefix}&#x22; 開頭`:t.format===`ends_with`?`無效的字串：必須以 &#x22;${t.suffix}&#x22; 結尾`:t.format===`includes`?`無效的字串：必須包含 &#x22;${t.includes}&#x22;`:t.format===`regex`?`無效的字串：必須符合格式 ${t.pattern}`:`無效的 ${n[t.format]??e.format}`}case`not_multiple_of`:return`無效的數字：必須為 ${e.divisor} 的倍數`;case`unrecognized_keys`:return`無法識別的鍵值${e.keys.length>1?`們`:``}：${O(e.keys,`、`)}`;case`invalid_key`:return`${e.origin} 中有無效的鍵值`;case`invalid_union`:return`無效的輸入值`;case`invalid_element`:return`${e.origin} 中有無效的值`;default:return`無效的輸入值`}}};function ure(){return{localeError:lre()}}var dre=()=>{let e={string:{unit:`àmi`,verb:`ní`},file:{unit:`bytes`,verb:`ní`},array:{unit:`nkan`,verb:`ní`},set:{unit:`nkan`,verb:`ní`}};function t(t){return e[t]??null}let n={regex:`ẹ̀rọ ìbáwọlé`,email:`àdírẹ́sì ìmẹ́lì`,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:`àkókò ISO`,date:`ọjọ́ ISO`,time:`àkókò ISO`,duration:`àkókò tó pé ISO`,ipv4:`àdírẹ́sì IPv4`,ipv6:`àdírẹ́sì IPv6`,cidrv4:`àgbègbè IPv4`,cidrv6:`àgbègbè IPv6`,base64:`ọ̀rọ̀ tí a kọ́ ní base64`,base64url:`ọ̀rọ̀ base64url`,json_string:`ọ̀rọ̀ JSON`,e164:`nọ́mbà E.164`,jwt:`JWT`,template_literal:`ẹ̀rọ ìbáwọlé`},r={nan:`NaN`,number:`nọ́mbà`,array:`akopọ`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=ey(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${e.expected}, àmọ̀ a rí ${i}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${t}, àmọ̀ a rí ${i}`}case`invalid_value`:return e.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${Lv(e.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${O(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin??`iye`} ${r.verb} ${n}${e.maximum} ${r.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${n}${e.maximum}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Kéré ju: a ní láti jẹ́ pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}`:`Kéré ju: a ní láti jẹ́ ${n}${e.minimum}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú &#x22;${t.prefix}&#x22;`:t.format===`ends_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú &#x22;${t.suffix}&#x22;`:t.format===`includes`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní &#x22;${t.includes}&#x22;`:t.format===`regex`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${t.pattern}`:`Aṣìṣe: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`;case`unrecognized_keys`:return`Bọtìnì àìmọ̀: ${O(e.keys,`, `)}`;case`invalid_key`:return`Bọtìnì aṣìṣe nínú ${e.origin}`;case`invalid_union`:return`Ìbáwọlé aṣìṣe`;case`invalid_element`:return`Iye aṣìṣe nínú ${e.origin}`;default:return`Ìbáwọlé aṣìṣe`}}};function fre(){return{localeError:dre()}}var sw=c({ar:()=>IS,az:()=>RS,be:()=>VS,bg:()=>US,ca:()=>GS,cs:()=>qS,da:()=>YS,de:()=>ZS,en:()=>$S,eo:()=>tC,es:()=>rC,fa:()=>aC,fi:()=>sC,fr:()=>lC,frCA:()=>dC,he:()=>pC,hu:()=>hC,hy:()=>yC,id:()=>xC,is:()=>CC,it:()=>TC,ja:()=>DC,ka:()=>kC,kh:()=>MC,km:()=>jC,ko:()=>PC,lt:()=>RC,mk:()=>BC,ms:()=>HC,nl:()=>WC,no:()=>KC,ota:()=>JC,pl:()=>QC,ps:()=>XC,pt:()=>ew,ru:()=>rw,sl:()=>aw,sv:()=>Kne,ta:()=>Jne,th:()=>Xne,tr:()=>Qne,ua:()=>ere,uk:()=>ow,ur:()=>nre,uz:()=>ire,vi:()=>ore,yo:()=>fre,zhCN:()=>cre,zhTW:()=>ure}),cw,lw=Symbol(`ZodOutput`),uw=Symbol(`ZodInput`),dw=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function fw(){return new dw}(cw=globalThis).__zod_globalRegistry??(cw.__zod_globalRegistry=fw());var A=globalThis.__zod_globalRegistry;function pw(e,t){return new e({type:`string`,...k(t)})}function mw(e,t){return new e({type:`string`,coerce:!0,...k(t)})}function hw(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...k(t)})}function gw(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...k(t)})}function _w(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...k(t)})}function vw(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...k(t)})}function yw(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...k(t)})}function bw(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...k(t)})}function xw(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...k(t)})}function Sw(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...k(t)})}function Cw(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...k(t)})}function ww(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...k(t)})}function Tw(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...k(t)})}function Ew(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...k(t)})}function Dw(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...k(t)})}function Ow(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...k(t)})}function kw(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...k(t)})}function Aw(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...k(t)})}function jw(e,t){return new e({type:`string`,format:`mac`,check:`string_format`,abort:!1,...k(t)})}function Mw(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...k(t)})}function Nw(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...k(t)})}function Pw(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...k(t)})}function Fw(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...k(t)})}function Iw(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...k(t)})}function Lw(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...k(t)})}var Rw={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function zw(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...k(t)})}function Bw(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...k(t)})}function Vw(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...k(t)})}function Hw(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...k(t)})}function Uw(e,t){return new e({type:`number`,checks:[],...k(t)})}function Ww(e,t){return new e({type:`number`,coerce:!0,checks:[],...k(t)})}function Gw(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...k(t)})}function Kw(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float32`,...k(t)})}function qw(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float64`,...k(t)})}function Jw(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`int32`,...k(t)})}function Yw(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`uint32`,...k(t)})}function Xw(e,t){return new e({type:`boolean`,...k(t)})}function Zw(e,t){return new e({type:`boolean`,coerce:!0,...k(t)})}function Qw(e,t){return new e({type:`bigint`,...k(t)})}function $w(e,t){return new e({type:`bigint`,coerce:!0,...k(t)})}function eT(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`int64`,...k(t)})}function tT(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`uint64`,...k(t)})}function nT(e,t){return new e({type:`symbol`,...k(t)})}function rT(e,t){return new e({type:`undefined`,...k(t)})}function iT(e,t){return new e({type:`null`,...k(t)})}function aT(e){return new e({type:`any`})}function oT(e){return new e({type:`unknown`})}function sT(e,t){return new e({type:`never`,...k(t)})}function cT(e,t){return new e({type:`void`,...k(t)})}function lT(e,t){return new e({type:`date`,...k(t)})}function uT(e,t){return new e({type:`date`,coerce:!0,...k(t)})}function dT(e,t){return new e({type:`nan`,...k(t)})}function fT(e,t){return new wb({check:`less_than`,...k(t),value:e,inclusive:!1})}function pT(e,t){return new wb({check:`less_than`,...k(t),value:e,inclusive:!0})}function mT(e,t){return new Tb({check:`greater_than`,...k(t),value:e,inclusive:!1})}function hT(e,t){return new Tb({check:`greater_than`,...k(t),value:e,inclusive:!0})}function gT(e){return mT(0,e)}function _T(e){return fT(0,e)}function vT(e){return pT(0,e)}function yT(e){return hT(0,e)}function bT(e,t){return new Eb({check:`multiple_of`,...k(t),value:e})}function xT(e,t){return new kb({check:`max_size`,...k(t),maximum:e})}function ST(e,t){return new Ab({check:`min_size`,...k(t),minimum:e})}function CT(e,t){return new jb({check:`size_equals`,...k(t),size:e})}function wT(e,t){return new Mb({check:`max_length`,...k(t),maximum:e})}function TT(e,t){return new Nb({check:`min_length`,...k(t),minimum:e})}function ET(e,t){return new Pb({check:`length_equals`,...k(t),length:e})}function DT(e,t){return new Ib({check:`string_format`,format:`regex`,...k(t),pattern:e})}function OT(e){return new Lb({check:`string_format`,format:`lowercase`,...k(e)})}function kT(e){return new Rb({check:`string_format`,format:`uppercase`,...k(e)})}function AT(e,t){return new zb({check:`string_format`,format:`includes`,...k(t),includes:e})}function jT(e,t){return new Bb({check:`string_format`,format:`starts_with`,...k(t),prefix:e})}function MT(e,t){return new Vb({check:`string_format`,format:`ends_with`,...k(t),suffix:e})}function NT(e,t,n){return new Ub({check:`property`,property:e,schema:t,...k(n)})}function PT(e,t){return new Wb({check:`mime_type`,mime:e,...k(t)})}function FT(e){return new Gb({check:`overwrite`,tx:e})}function IT(e){return FT(t=>t.normalize(e))}function LT(){return FT(e=>e.trim())}function RT(){return FT(e=>e.toLowerCase())}function zT(){return FT(e=>e.toUpperCase())}function BT(){return FT(e=>wv(e))}function VT(e,t,n){return new e({type:`array`,element:t,...k(n)})}function pre(e,t,n){return new e({type:`union`,options:t,...k(n)})}function mre(e,t,n){return new e({type:`union`,options:t,inclusive:!1,...k(n)})}function hre(e,t,n,r){return new e({type:`union`,options:n,discriminator:t,...k(r)})}function gre(e,t,n){return new e({type:`intersection`,left:t,right:n})}function _re(e,t,n,r){let i=n instanceof Jb;return new e({type:`tuple`,items:t,rest:i?n:null,...k(i?r:n)})}function vre(e,t,n,r){return new e({type:`record`,keyType:t,valueType:n,...k(r)})}function yre(e,t,n,r){return new e({type:`map`,keyType:t,valueType:n,...k(r)})}function bre(e,t,n){return new e({type:`set`,valueType:t,...k(n)})}function xre(e,t,n){return new e({type:`enum`,entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...k(n)})}function Sre(e,t,n){return new e({type:`enum`,entries:t,...k(n)})}function Cre(e,t,n){return new e({type:`literal`,values:Array.isArray(t)?t:[t],...k(n)})}function HT(e,t){return new e({type:`file`,...k(t)})}function wre(e,t){return new e({type:`transform`,transform:t})}function Tre(e,t){return new e({type:`optional`,innerType:t})}function Ere(e,t){return new e({type:`nullable`,innerType:t})}function Dre(e,t,n){return new e({type:`default`,innerType:t,get defaultValue(){return typeof n==`function`?n():kv(n)}})}function Ore(e,t,n){return new e({type:`nonoptional`,innerType:t,...k(n)})}function kre(e,t){return new e({type:`success`,innerType:t})}function Are(e,t,n){return new e({type:`catch`,innerType:t,catchValue:typeof n==`function`?n:()=>n})}function jre(e,t,n){return new e({type:`pipe`,in:t,out:n})}function Mre(e,t){return new e({type:`readonly`,innerType:t})}function Nre(e,t,n){return new e({type:`template_literal`,parts:t,...k(n)})}function Pre(e,t){return new e({type:`lazy`,getter:t})}function Fre(e,t){return new e({type:`promise`,innerType:t})}function UT(e,t,n){let r=k(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function WT(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...k(n)})}function GT(e){let t=KT(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(ty(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(ty(r))}},e(n.value,n)));return t}function KT(e,t){let n=new Sb({check:`custom`,...k(t)});return n._zod.check=e,n}function qT(e){let t=new Sb({check:`describe`});return t._zod.onattach=[t=>{let n=A.get(t)??{};A.add(t,{...n,description:e})}],t._zod.check=()=>{},t}function JT(e){let t=new Sb({check:`meta`});return t._zod.onattach=[t=>{let n=A.get(t)??{};A.add(t,{...n,...e})}],t._zod.check=()=>{},t}function YT(e,t){let n=k(t),r=n.truthy??[`true`,`1`,`yes`,`on`,`y`,`enabled`],i=n.falsy??[`false`,`0`,`no`,`off`,`n`,`disabled`];n.case!==`sensitive`&&(r=r.map(e=>typeof e==`string`?e.toLowerCase():e),i=i.map(e=>typeof e==`string`?e.toLowerCase():e));let a=new Set(r),o=new Set(i),s=e.Codec??wS,c=e.Boolean??Dx,l=new s({type:`pipe`,in:new(e.String??Yb)({type:`string`,error:n.error}),out:new c({type:`boolean`,error:n.error}),transform:((e,t)=>{let r=e;return n.case!==`sensitive`&&(r=r.toLowerCase()),a.has(r)?!0:o.has(r)?!1:(t.issues.push({code:`invalid_value`,expected:`stringbool`,values:[...a,...o],input:t.value,inst:l,continue:!1}),{})}),reverseTransform:((e,t)=>e===!0?r[0]||`true`:i[0]||`false`),error:n.error});return l}function XT(e,t,n,r={}){let i=k(r),a={...k(r),check:`string_format`,type:`string`,format:t,fn:typeof n==`function`?n:e=>n.test(e),...i};return n instanceof RegExp&&(a.pattern=n),new e(a)}function ZT(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??A,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function QT(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,QT(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&tE(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function $T(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id &#x22;${n}&#x22; detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>&#xA;&#xA;Set the \`cycles\` parameter to \`&#x22;ref&#x22;\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function eE(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref&&n.def)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error(&#x22;Schema is missing an `id` property&#x22;);i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&(e.target===`draft-2020-12`?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:rE(t,`input`,e.processors),output:rE(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function tE(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return tE(r.element,n);if(r.type===`set`)return tE(r.valueType,n);if(r.type===`lazy`)return tE(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===`default`||r.type===`prefault`)return tE(r.innerType,n);if(r.type===`intersection`)return tE(r.left,n)||tE(r.right,n);if(r.type===`record`||r.type===`map`)return tE(r.keyType,n)||tE(r.valueType,n);if(r.type===`pipe`)return tE(r.in,n)||tE(r.out,n);if(r.type===`object`){for(let e in r.shape)if(tE(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(tE(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(tE(e,n))return!0;return!!(r.rest&&tE(r.rest,n))}return!1}var nE=(e,t={})=>n=>{let r=ZT({...n,processors:t});return QT(e,r),$T(r,e),eE(r,e)},rE=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=ZT({...i??{},target:a,io:t,processors:n});return QT(e,o),$T(o,e),eE(o,e)},Ire={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},iE=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Ire[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},aE=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`,typeof u==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof a==`number`&&(i.minimum=a,typeof u==`number`&&t.target!==`draft-04`&&(u>=a?delete i.minimum:delete i.exclusiveMinimum)),typeof l==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l),typeof o==`number`&&(i.maximum=o,typeof l==`number`&&t.target!==`draft-04`&&(l<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof c==`number`&&(i.multipleOf=c)},oE=(e,t,n,r)=>{n.type=`boolean`},sE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},cE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},lE=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},uE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},dE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},fE=(e,t,n,r)=>{n.not={}},pE=(e,t,n,r)=>{},Lre=(e,t,n,r)=>{},mE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},hE=(e,t,n,r)=>{let i=e._zod.def,a=cv(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},gE=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error(&#x22;Literal `undefined` cannot be represented in JSON Schema&#x22;)}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},_E=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},vE=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},yE=(e,t,n,r)=>{let i=n,a={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:o,maximum:s,mime:c}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),c?c.length===1?(a.contentMediaType=c[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=c.map(e=>({contentMediaType:e}))):Object.assign(i,a)},bE=(e,t,n,r)=>{n.type=`boolean`},xE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},SE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},CE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},wE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},TE=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},EE=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=QT(a.element,t,{...r,path:[...r.path,`items`]})},DE=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=QT(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=QT(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},OE=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>QT(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},kE=(e,t,n,r)=>{let i=e._zod.def,a=QT(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=QT(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},AE=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>QT(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?QT(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},jE=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=QT(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else (t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=QT(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=QT(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},ME=(e,t,n,r)=>{let i=e._zod.def,a=QT(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},NE=(e,t,n,r)=>{let i=e._zod.def;QT(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},PE=(e,t,n,r)=>{let i=e._zod.def;QT(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},FE=(e,t,n,r)=>{let i=e._zod.def;QT(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},IE=(e,t,n,r)=>{let i=e._zod.def;QT(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},LE=(e,t,n,r)=>{let i=e._zod.def,a=t.io===`input`?i.in._zod.def.type===`transform`?i.out:i.in:i.out;QT(a,t,r);let o=t.seen.get(e);o.ref=a},RE=(e,t,n,r)=>{let i=e._zod.def;QT(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},zE=(e,t,n,r)=>{let i=e._zod.def;QT(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},BE=(e,t,n,r)=>{let i=e._zod.def;QT(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},VE=(e,t,n,r)=>{let i=e._zod.innerType;QT(i,t,r);let a=t.seen.get(e);a.ref=i},HE={string:iE,number:aE,boolean:oE,bigint:sE,symbol:cE,null:lE,undefined:uE,void:dE,never:fE,any:pE,unknown:Lre,date:mE,enum:hE,literal:gE,nan:_E,template_literal:vE,file:yE,success:bE,custom:xE,function:SE,transform:CE,map:wE,set:TE,array:EE,object:DE,union:OE,intersection:kE,tuple:AE,record:jE,nullable:ME,nonoptional:NE,default:PE,prefault:FE,catch:IE,pipe:LE,readonly:RE,promise:zE,optional:BE,lazy:VE};function UE(e,t){if(`_idmap`in e){let n=e,r=ZT({...t,processors:HE}),i={};for(let e of n._idmap.entries()){let[t,n]=e;QT(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;$T(r,n),a[t]=eE(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=ZT({...t,processors:HE});return QT(e,n),$T(n,e),eE(n,e)}var Rre=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??`draft-2020-12`;t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),this.ctx=ZT({processors:HE,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return QT(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),$T(this.ctx,e);let{&#x22;~standard&#x22;:n,...r}=eE(this.ctx,e);return r}},zre=c({}),Bre=c({$ZodAny:()=>Nx,$ZodArray:()=>zx,$ZodAsyncError:()=>rv,$ZodBase64:()=>vx,$ZodBase64URL:()=>bx,$ZodBigInt:()=>Ox,$ZodBigIntFormat:()=>kx,$ZodBoolean:()=>Dx,$ZodCIDRv4:()=>hx,$ZodCIDRv6:()=>gx,$ZodCUID:()=>rx,$ZodCUID2:()=>ix,$ZodCatch:()=>bS,$ZodCheck:()=>Sb,$ZodCheckBigIntFormat:()=>Ob,$ZodCheckEndsWith:()=>Vb,$ZodCheckGreaterThan:()=>Tb,$ZodCheckIncludes:()=>zb,$ZodCheckLengthEquals:()=>Pb,$ZodCheckLessThan:()=>wb,$ZodCheckLowerCase:()=>Lb,$ZodCheckMaxLength:()=>Mb,$ZodCheckMaxSize:()=>kb,$ZodCheckMimeType:()=>Wb,$ZodCheckMinLength:()=>Nb,$ZodCheckMinSize:()=>Ab,$ZodCheckMultipleOf:()=>Eb,$ZodCheckNumberFormat:()=>Db,$ZodCheckOverwrite:()=>Gb,$ZodCheckProperty:()=>Ub,$ZodCheckRegex:()=>Ib,$ZodCheckSizeEquals:()=>jb,$ZodCheckStartsWith:()=>Bb,$ZodCheckStringFormat:()=>Fb,$ZodCheckUpperCase:()=>Rb,$ZodCodec:()=>wS,$ZodCustom:()=>NS,$ZodCustomStringFormat:()=>wx,$ZodDate:()=>Lx,$ZodDefault:()=>mS,$ZodDiscriminatedUnion:()=>Yx,$ZodE164:()=>xx,$ZodEmail:()=>$b,$ZodEmoji:()=>tx,$ZodEncodeError:()=>iv,$ZodEnum:()=>oS,$ZodError:()=>dy,$ZodExactOptional:()=>fS,$ZodFile:()=>cS,$ZodFunction:()=>AS,$ZodGUID:()=>Zb,$ZodIPv4:()=>fx,$ZodIPv6:()=>px,$ZodISODate:()=>lx,$ZodISODateTime:()=>cx,$ZodISODuration:()=>dx,$ZodISOTime:()=>ux,$ZodIntersection:()=>Xx,$ZodJWT:()=>Cx,$ZodKSUID:()=>sx,$ZodLazy:()=>MS,$ZodLiteral:()=>sS,$ZodMAC:()=>mx,$ZodMap:()=>nS,$ZodNaN:()=>xS,$ZodNanoID:()=>nx,$ZodNever:()=>Fx,$ZodNonOptional:()=>_S,$ZodNull:()=>Mx,$ZodNullable:()=>pS,$ZodNumber:()=>Tx,$ZodNumberFormat:()=>Ex,$ZodObject:()=>Ux,$ZodObjectJIT:()=>Wx,$ZodOptional:()=>dS,$ZodPipe:()=>SS,$ZodPrefault:()=>gS,$ZodPromise:()=>jS,$ZodReadonly:()=>DS,$ZodRealError:()=>fy,$ZodRecord:()=>tS,$ZodRegistry:()=>dw,$ZodSet:()=>iS,$ZodString:()=>Yb,$ZodStringFormat:()=>Xb,$ZodSuccess:()=>yS,$ZodSymbol:()=>Ax,$ZodTemplateLiteral:()=>kS,$ZodTransform:()=>lS,$ZodTuple:()=>$x,$ZodType:()=>Jb,$ZodULID:()=>ax,$ZodURL:()=>ex,$ZodUUID:()=>Qb,$ZodUndefined:()=>jx,$ZodUnion:()=>Kx,$ZodUnknown:()=>Px,$ZodVoid:()=>Ix,$ZodXID:()=>ox,$ZodXor:()=>Jx,$brand:()=>nv,$constructor:()=>D,$input:()=>uw,$output:()=>lw,Doc:()=>Kb,JSONSchema:()=>zre,JSONSchemaGenerator:()=>Rre,NEVER:()=>tv,TimePrecision:()=>Rw,_any:()=>aT,_array:()=>VT,_base64:()=>Pw,_base64url:()=>Fw,_bigint:()=>Qw,_boolean:()=>Xw,_catch:()=>Are,_check:()=>KT,_cidrv4:()=>Mw,_cidrv6:()=>Nw,_coercedBigint:()=>$w,_coercedBoolean:()=>Zw,_coercedDate:()=>uT,_coercedNumber:()=>Ww,_coercedString:()=>mw,_cuid:()=>ww,_cuid2:()=>Tw,_custom:()=>UT,_date:()=>lT,_decode:()=>Oy,_decodeAsync:()=>jy,_default:()=>Dre,_discriminatedUnion:()=>hre,_e164:()=>Iw,_email:()=>hw,_emoji:()=>Sw,_encode:()=>Ey,_encodeAsync:()=>Ay,_endsWith:()=>MT,_enum:()=>xre,_file:()=>HT,_float32:()=>Kw,_float64:()=>qw,_gt:()=>mT,_gte:()=>hT,_guid:()=>gw,_includes:()=>AT,_int:()=>Gw,_int32:()=>Jw,_int64:()=>eT,_intersection:()=>gre,_ipv4:()=>kw,_ipv6:()=>Aw,_isoDate:()=>Bw,_isoDateTime:()=>zw,_isoDuration:()=>Hw,_isoTime:()=>Vw,_jwt:()=>Lw,_ksuid:()=>Ow,_lazy:()=>Pre,_length:()=>ET,_literal:()=>Cre,_lowercase:()=>OT,_lt:()=>fT,_lte:()=>pT,_mac:()=>jw,_map:()=>yre,_max:()=>pT,_maxLength:()=>wT,_maxSize:()=>xT,_mime:()=>PT,_min:()=>hT,_minLength:()=>TT,_minSize:()=>ST,_multipleOf:()=>bT,_nan:()=>dT,_nanoid:()=>Cw,_nativeEnum:()=>Sre,_negative:()=>_T,_never:()=>sT,_nonnegative:()=>yT,_nonoptional:()=>Ore,_nonpositive:()=>vT,_normalize:()=>IT,_null:()=>iT,_nullable:()=>Ere,_number:()=>Uw,_optional:()=>Tre,_overwrite:()=>FT,_parse:()=>vy,_parseAsync:()=>by,_pipe:()=>jre,_positive:()=>gT,_promise:()=>Fre,_property:()=>NT,_readonly:()=>Mre,_record:()=>vre,_refine:()=>WT,_regex:()=>DT,_safeDecode:()=>Ny,_safeDecodeAsync:()=>Fy,_safeEncode:()=>My,_safeEncodeAsync:()=>Py,_safeParse:()=>Sy,_safeParseAsync:()=>wy,_set:()=>bre,_size:()=>CT,_slugify:()=>BT,_startsWith:()=>jT,_string:()=>pw,_stringFormat:()=>XT,_stringbool:()=>YT,_success:()=>kre,_superRefine:()=>GT,_symbol:()=>nT,_templateLiteral:()=>Nre,_toLowerCase:()=>RT,_toUpperCase:()=>zT,_transform:()=>wre,_trim:()=>LT,_tuple:()=>_re,_uint32:()=>Yw,_uint64:()=>tT,_ulid:()=>Ew,_undefined:()=>rT,_union:()=>pre,_unknown:()=>oT,_uppercase:()=>kT,_url:()=>xw,_uuid:()=>_w,_uuidv4:()=>vw,_uuidv6:()=>yw,_uuidv7:()=>bw,_void:()=>cT,_xid:()=>Dw,_xor:()=>mre,clone:()=>Fv,config:()=>ov,createStandardJSONSchemaMethod:()=>rE,createToJSONSchemaMethod:()=>nE,decode:()=>ky,decodeAsync:()=>gne,describe:()=>qT,encode:()=>Dy,encodeAsync:()=>hne,extractDefs:()=>$T,finalize:()=>eE,flattenError:()=>py,formatError:()=>my,globalConfig:()=>av,globalRegistry:()=>A,initializeContext:()=>ZT,isValidBase64:()=>_x,isValidBase64URL:()=>yx,isValidJWT:()=>Sx,locales:()=>sw,meta:()=>JT,parse:()=>yy,parseAsync:()=>xy,prettifyError:()=>_y,process:()=>QT,regexes:()=>Iy,registry:()=>fw,safeDecode:()=>vne,safeDecodeAsync:()=>bne,safeEncode:()=>_ne,safeEncodeAsync:()=>yne,safeParse:()=>Cy,safeParseAsync:()=>Ty,toDotPath:()=>gy,toJSONSchema:()=>UE,treeifyError:()=>hy,util:()=>sv,version:()=>qb}),Vre=c({endsWith:()=>MT,gt:()=>mT,gte:()=>hT,includes:()=>AT,length:()=>ET,lowercase:()=>OT,lt:()=>fT,lte:()=>pT,maxLength:()=>wT,maxSize:()=>xT,mime:()=>PT,minLength:()=>TT,minSize:()=>ST,multipleOf:()=>bT,negative:()=>_T,nonnegative:()=>yT,nonpositive:()=>vT,normalize:()=>IT,overwrite:()=>FT,positive:()=>gT,property:()=>NT,regex:()=>DT,size:()=>CT,slugify:()=>BT,startsWith:()=>jT,toLowerCase:()=>RT,toUpperCase:()=>zT,trim:()=>LT,uppercase:()=>kT}),WE=c({ZodISODate:()=>qE,ZodISODateTime:()=>GE,ZodISODuration:()=>ZE,ZodISOTime:()=>YE,date:()=>JE,datetime:()=>KE,duration:()=>QE,time:()=>XE}),GE=D(`ZodISODateTime`,(e,t)=>{cx.init(e,t),gD.init(e,t)});function KE(e){return zw(GE,e)}var qE=D(`ZodISODate`,(e,t)=>{lx.init(e,t),gD.init(e,t)});function JE(e){return Bw(qE,e)}var YE=D(`ZodISOTime`,(e,t)=>{ux.init(e,t),gD.init(e,t)});function XE(e){return Vw(YE,e)}var ZE=D(`ZodISODuration`,(e,t)=>{dx.init(e,t),gD.init(e,t)});function QE(e){return Hw(ZE,e)}var $E=(e,t)=>{dy.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>my(e,t)},flatten:{value:t=>py(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,lv,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,lv,2)}},isEmpty:{get(){return e.issues.length===0}}})},Hre=D(`ZodError`,$E),eD=D(`ZodError`,$E,{Parent:Error}),tD=vy(eD),nD=by(eD),rD=Sy(eD),iD=wy(eD),aD=Ey(eD),oD=Oy(eD),sD=Ay(eD),cD=jy(eD),lD=My(eD),uD=Ny(eD),dD=Py(eD),fD=Fy(eD),Ure=c({ZodAny:()=>NO,ZodArray:()=>UO,ZodBase64:()=>$D,ZodBase64URL:()=>tO,ZodBigInt:()=>SO,ZodBigIntFormat:()=>wO,ZodBoolean:()=>bO,ZodCIDRv4:()=>YD,ZodCIDRv6:()=>ZD,ZodCUID:()=>ND,ZodCUID2:()=>FD,ZodCatch:()=>Fk,ZodCodec:()=>Vk,ZodCustom:()=>$k,ZodCustomStringFormat:()=>sO,ZodDate:()=>VO,ZodDefault:()=>Dk,ZodDiscriminatedUnion:()=>QO,ZodE164:()=>rO,ZodEmail:()=>_D,ZodEmoji:()=>kD,ZodEnum:()=>fk,ZodExactOptional:()=>Sk,ZodFile:()=>gk,ZodFunction:()=>Zk,ZodGUID:()=>yD,ZodIPv4:()=>UD,ZodIPv6:()=>qD,ZodIntersection:()=>ek,ZodJWT:()=>aO,ZodKSUID:()=>VD,ZodLazy:()=>qk,ZodLiteral:()=>mk,ZodMAC:()=>GD,ZodMap:()=>ck,ZodNaN:()=>Lk,ZodNanoID:()=>jD,ZodNever:()=>LO,ZodNonOptional:()=>jk,ZodNull:()=>jO,ZodNullable:()=>wk,ZodNumber:()=>fO,ZodNumberFormat:()=>mO,ZodObject:()=>GO,ZodOptional:()=>bk,ZodPipe:()=>zk,ZodPrefault:()=>kk,ZodPromise:()=>Yk,ZodReadonly:()=>Uk,ZodRecord:()=>ik,ZodSet:()=>uk,ZodString:()=>hD,ZodStringFormat:()=>gD,ZodSuccess:()=>Nk,ZodSymbol:()=>DO,ZodTemplateLiteral:()=>Gk,ZodTransform:()=>vk,ZodTuple:()=>nk,ZodType:()=>pD,ZodULID:()=>LD,ZodURL:()=>ED,ZodUUID:()=>xD,ZodUndefined:()=>kO,ZodUnion:()=>JO,ZodUnknown:()=>FO,ZodVoid:()=>zO,ZodXID:()=>zD,ZodXor:()=>XO,_ZodString:()=>mD,_default:()=>Ok,_function:()=>Qk,any:()=>PO,array:()=>M,base64:()=>eO,base64url:()=>nO,bigint:()=>CO,boolean:()=>xO,catch:()=>Ik,check:()=>eA,cidrv4:()=>XD,cidrv6:()=>QD,codec:()=>Hk,cuid:()=>PD,cuid2:()=>ID,custom:()=>tA,date:()=>HO,describe:()=>iA,discriminatedUnion:()=>$O,e164:()=>iO,email:()=>vD,emoji:()=>AD,enum:()=>P,exactOptional:()=>Ck,file:()=>_k,float32:()=>gO,float64:()=>_O,function:()=>Qk,guid:()=>bD,hash:()=>dO,hex:()=>uO,hostname:()=>lO,httpUrl:()=>OD,instanceof:()=>oA,int:()=>hO,int32:()=>vO,int64:()=>TO,intersection:()=>tk,ipv4:()=>WD,ipv6:()=>JD,json:()=>cA,jwt:()=>oO,keyof:()=>WO,ksuid:()=>HD,lazy:()=>Jk,literal:()=>hk,looseObject:()=>qO,looseRecord:()=>sk,mac:()=>KD,map:()=>lk,meta:()=>aA,nan:()=>Rk,nanoid:()=>MD,nativeEnum:()=>pk,never:()=>RO,nonoptional:()=>Mk,null:()=>MO,nullable:()=>Tk,nullish:()=>Ek,number:()=>pO,object:()=>N,optional:()=>xk,partialRecord:()=>ok,pipe:()=>Bk,prefault:()=>Ak,preprocess:()=>F,promise:()=>Xk,readonly:()=>Wk,record:()=>ak,refine:()=>nA,set:()=>dk,strictObject:()=>KO,string:()=>j,stringFormat:()=>cO,stringbool:()=>sA,success:()=>Pk,superRefine:()=>rA,symbol:()=>OO,templateLiteral:()=>Kk,transform:()=>yk,tuple:()=>rk,uint32:()=>yO,uint64:()=>EO,ulid:()=>RD,undefined:()=>AO,union:()=>YO,unknown:()=>IO,url:()=>DD,uuid:()=>SD,uuidv4:()=>CD,uuidv6:()=>wD,uuidv7:()=>TD,void:()=>BO,xid:()=>BD,xor:()=>ZO}),pD=D(`ZodType`,(e,t)=>(Jb.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:rE(e,`input`),output:rE(e,`output`)}}),e.toJSONSchema=nE(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.check=(...n)=>e.clone(vv(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>Fv(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>tD(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>rD(e,t,n),e.parseAsync=async(t,n)=>nD(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>iD(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>aD(e,t,n),e.decode=(t,n)=>oD(e,t,n),e.encodeAsync=async(t,n)=>sD(e,t,n),e.decodeAsync=async(t,n)=>cD(e,t,n),e.safeEncode=(t,n)=>lD(e,t,n),e.safeDecode=(t,n)=>uD(e,t,n),e.safeEncodeAsync=async(t,n)=>dD(e,t,n),e.safeDecodeAsync=async(t,n)=>fD(e,t,n),e.refine=(t,n)=>e.check(nA(t,n)),e.superRefine=t=>e.check(rA(t)),e.overwrite=t=>e.check(FT(t)),e.optional=()=>xk(e),e.exactOptional=()=>Ck(e),e.nullable=()=>Tk(e),e.nullish=()=>xk(Tk(e)),e.nonoptional=t=>Mk(e,t),e.array=()=>M(e),e.or=t=>YO([e,t]),e.and=t=>tk(e,t),e.transform=t=>Bk(e,yk(t)),e.default=t=>Ok(e,t),e.prefault=t=>Ak(e,t),e.catch=t=>Ik(e,t),e.pipe=t=>Bk(e,t),e.readonly=()=>Wk(e),e.describe=t=>{let n=e.clone();return A.add(n,{description:t}),n},Object.defineProperty(e,`description`,{get(){return A.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return A.get(e);let n=e.clone();return A.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),mD=D(`_ZodString`,(e,t)=>{Yb.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>iE(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(DT(...t)),e.includes=(...t)=>e.check(AT(...t)),e.startsWith=(...t)=>e.check(jT(...t)),e.endsWith=(...t)=>e.check(MT(...t)),e.min=(...t)=>e.check(TT(...t)),e.max=(...t)=>e.check(wT(...t)),e.length=(...t)=>e.check(ET(...t)),e.nonempty=(...t)=>e.check(TT(1,...t)),e.lowercase=t=>e.check(OT(t)),e.uppercase=t=>e.check(kT(t)),e.trim=()=>e.check(LT()),e.normalize=(...t)=>e.check(IT(...t)),e.toLowerCase=()=>e.check(RT()),e.toUpperCase=()=>e.check(zT()),e.slugify=()=>e.check(BT())}),hD=D(`ZodString`,(e,t)=>{Yb.init(e,t),mD.init(e,t),e.email=t=>e.check(hw(_D,t)),e.url=t=>e.check(xw(ED,t)),e.jwt=t=>e.check(Lw(aO,t)),e.emoji=t=>e.check(Sw(kD,t)),e.guid=t=>e.check(gw(yD,t)),e.uuid=t=>e.check(_w(xD,t)),e.uuidv4=t=>e.check(vw(xD,t)),e.uuidv6=t=>e.check(yw(xD,t)),e.uuidv7=t=>e.check(bw(xD,t)),e.nanoid=t=>e.check(Cw(jD,t)),e.guid=t=>e.check(gw(yD,t)),e.cuid=t=>e.check(ww(ND,t)),e.cuid2=t=>e.check(Tw(FD,t)),e.ulid=t=>e.check(Ew(LD,t)),e.base64=t=>e.check(Pw($D,t)),e.base64url=t=>e.check(Fw(tO,t)),e.xid=t=>e.check(Dw(zD,t)),e.ksuid=t=>e.check(Ow(VD,t)),e.ipv4=t=>e.check(kw(UD,t)),e.ipv6=t=>e.check(Aw(qD,t)),e.cidrv4=t=>e.check(Mw(YD,t)),e.cidrv6=t=>e.check(Nw(ZD,t)),e.e164=t=>e.check(Iw(rO,t)),e.datetime=t=>e.check(KE(t)),e.date=t=>e.check(JE(t)),e.time=t=>e.check(XE(t)),e.duration=t=>e.check(QE(t))});function j(e){return pw(hD,e)}var gD=D(`ZodStringFormat`,(e,t)=>{Xb.init(e,t),mD.init(e,t)}),_D=D(`ZodEmail`,(e,t)=>{$b.init(e,t),gD.init(e,t)});function vD(e){return hw(_D,e)}var yD=D(`ZodGUID`,(e,t)=>{Zb.init(e,t),gD.init(e,t)});function bD(e){return gw(yD,e)}var xD=D(`ZodUUID`,(e,t)=>{Qb.init(e,t),gD.init(e,t)});function SD(e){return _w(xD,e)}function CD(e){return vw(xD,e)}function wD(e){return yw(xD,e)}function TD(e){return bw(xD,e)}var ED=D(`ZodURL`,(e,t)=>{ex.init(e,t),gD.init(e,t)});function DD(e){return xw(ED,e)}function OD(e){return xw(ED,{protocol:/^https?$/,hostname:rb,...k(e)})}var kD=D(`ZodEmoji`,(e,t)=>{tx.init(e,t),gD.init(e,t)});function AD(e){return Sw(kD,e)}var jD=D(`ZodNanoID`,(e,t)=>{nx.init(e,t),gD.init(e,t)});function MD(e){return Cw(jD,e)}var ND=D(`ZodCUID`,(e,t)=>{rx.init(e,t),gD.init(e,t)});function PD(e){return ww(ND,e)}var FD=D(`ZodCUID2`,(e,t)=>{ix.init(e,t),gD.init(e,t)});function ID(e){return Tw(FD,e)}var LD=D(`ZodULID`,(e,t)=>{ax.init(e,t),gD.init(e,t)});function RD(e){return Ew(LD,e)}var zD=D(`ZodXID`,(e,t)=>{ox.init(e,t),gD.init(e,t)});function BD(e){return Dw(zD,e)}var VD=D(`ZodKSUID`,(e,t)=>{sx.init(e,t),gD.init(e,t)});function HD(e){return Ow(VD,e)}var UD=D(`ZodIPv4`,(e,t)=>{fx.init(e,t),gD.init(e,t)});function WD(e){return kw(UD,e)}var GD=D(`ZodMAC`,(e,t)=>{mx.init(e,t),gD.init(e,t)});function KD(e){return jw(GD,e)}var qD=D(`ZodIPv6`,(e,t)=>{px.init(e,t),gD.init(e,t)});function JD(e){return Aw(qD,e)}var YD=D(`ZodCIDRv4`,(e,t)=>{hx.init(e,t),gD.init(e,t)});function XD(e){return Mw(YD,e)}var ZD=D(`ZodCIDRv6`,(e,t)=>{gx.init(e,t),gD.init(e,t)});function QD(e){return Nw(ZD,e)}var $D=D(`ZodBase64`,(e,t)=>{vx.init(e,t),gD.init(e,t)});function eO(e){return Pw($D,e)}var tO=D(`ZodBase64URL`,(e,t)=>{bx.init(e,t),gD.init(e,t)});function nO(e){return Fw(tO,e)}var rO=D(`ZodE164`,(e,t)=>{xx.init(e,t),gD.init(e,t)});function iO(e){return Iw(rO,e)}var aO=D(`ZodJWT`,(e,t)=>{Cx.init(e,t),gD.init(e,t)});function oO(e){return Lw(aO,e)}var sO=D(`ZodCustomStringFormat`,(e,t)=>{wx.init(e,t),gD.init(e,t)});function cO(e,t,n={}){return XT(sO,e,t,n)}function lO(e){return XT(sO,`hostname`,nb,e)}function uO(e){return XT(sO,`hex`,yb,e)}function dO(e,t){let n=`${e}_${t?.enc??`hex`}`,r=Iy[n];if(!r)throw Error(`Unrecognized hash format: ${n}`);return XT(sO,n,r,t)}var fO=D(`ZodNumber`,(e,t)=>{Tx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aE(e,t,n,r),e.gt=(t,n)=>e.check(mT(t,n)),e.gte=(t,n)=>e.check(hT(t,n)),e.min=(t,n)=>e.check(hT(t,n)),e.lt=(t,n)=>e.check(fT(t,n)),e.lte=(t,n)=>e.check(pT(t,n)),e.max=(t,n)=>e.check(pT(t,n)),e.int=t=>e.check(hO(t)),e.safe=t=>e.check(hO(t)),e.positive=t=>e.check(mT(0,t)),e.nonnegative=t=>e.check(hT(0,t)),e.negative=t=>e.check(fT(0,t)),e.nonpositive=t=>e.check(pT(0,t)),e.multipleOf=(t,n)=>e.check(bT(t,n)),e.step=(t,n)=>e.check(bT(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function pO(e){return Uw(fO,e)}var mO=D(`ZodNumberFormat`,(e,t)=>{Ex.init(e,t),fO.init(e,t)});function hO(e){return Gw(mO,e)}function gO(e){return Kw(mO,e)}function _O(e){return qw(mO,e)}function vO(e){return Jw(mO,e)}function yO(e){return Yw(mO,e)}var bO=D(`ZodBoolean`,(e,t)=>{Dx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>oE(e,t,n,r)});function xO(e){return Xw(bO,e)}var SO=D(`ZodBigInt`,(e,t)=>{Ox.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>sE(e,t,n,r),e.gte=(t,n)=>e.check(hT(t,n)),e.min=(t,n)=>e.check(hT(t,n)),e.gt=(t,n)=>e.check(mT(t,n)),e.gte=(t,n)=>e.check(hT(t,n)),e.min=(t,n)=>e.check(hT(t,n)),e.lt=(t,n)=>e.check(fT(t,n)),e.lte=(t,n)=>e.check(pT(t,n)),e.max=(t,n)=>e.check(pT(t,n)),e.positive=t=>e.check(mT(BigInt(0),t)),e.negative=t=>e.check(fT(BigInt(0),t)),e.nonpositive=t=>e.check(pT(BigInt(0),t)),e.nonnegative=t=>e.check(hT(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(bT(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function CO(e){return Qw(SO,e)}var wO=D(`ZodBigIntFormat`,(e,t)=>{kx.init(e,t),SO.init(e,t)});function TO(e){return eT(wO,e)}function EO(e){return tT(wO,e)}var DO=D(`ZodSymbol`,(e,t)=>{Ax.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>cE(e,t,n,r)});function OO(e){return nT(DO,e)}var kO=D(`ZodUndefined`,(e,t)=>{jx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>uE(e,t,n,r)});function AO(e){return rT(kO,e)}var jO=D(`ZodNull`,(e,t)=>{Mx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lE(e,t,n,r)});function MO(e){return iT(jO,e)}var NO=D(`ZodAny`,(e,t)=>{Nx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function PO(){return aT(NO)}var FO=D(`ZodUnknown`,(e,t)=>{Px.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function IO(){return oT(FO)}var LO=D(`ZodNever`,(e,t)=>{Fx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fE(e,t,n,r)});function RO(e){return sT(LO,e)}var zO=D(`ZodVoid`,(e,t)=>{Ix.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dE(e,t,n,r)});function BO(e){return cT(zO,e)}var VO=D(`ZodDate`,(e,t)=>{Lx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mE(e,t,n,r),e.min=(t,n)=>e.check(hT(t,n)),e.max=(t,n)=>e.check(pT(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function HO(e){return lT(VO,e)}var UO=D(`ZodArray`,(e,t)=>{zx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>EE(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(TT(t,n)),e.nonempty=t=>e.check(TT(1,t)),e.max=(t,n)=>e.check(wT(t,n)),e.length=(t,n)=>e.check(ET(t,n)),e.unwrap=()=>e.element});function M(e,t){return VT(UO,e,t)}function WO(e){let t=e._zod.def.shape;return P(Object.keys(t))}var GO=D(`ZodObject`,(e,t)=>{Wx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>DE(e,t,n,r),hv(e,`shape`,()=>t.shape),e.keyof=()=>P(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:IO()}),e.loose=()=>e.clone({...e._zod.def,catchall:IO()}),e.strict=()=>e.clone({...e._zod.def,catchall:RO()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>Uv(e,t),e.safeExtend=t=>Wv(e,t),e.merge=t=>Gv(e,t),e.pick=t=>Vv(e,t),e.omit=t=>Hv(e,t),e.partial=(...t)=>Kv(bk,e,t[0]),e.required=(...t)=>qv(jk,e,t[0])});function N(e,t){return new GO({type:`object`,shape:e??{},...k(t)})}function KO(e,t){return new GO({type:`object`,shape:e,catchall:RO(),...k(t)})}function qO(e,t){return new GO({type:`object`,shape:e,catchall:IO(),...k(t)})}var JO=D(`ZodUnion`,(e,t)=>{Kx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>OE(e,t,n,r),e.options=t.options});function YO(e,t){return new JO({type:`union`,options:e,...k(t)})}var XO=D(`ZodXor`,(e,t)=>{JO.init(e,t),Jx.init(e,t),e._zod.processJSONSchema=(t,n,r)=>OE(e,t,n,r),e.options=t.options});function ZO(e,t){return new XO({type:`union`,options:e,inclusive:!1,...k(t)})}var QO=D(`ZodDiscriminatedUnion`,(e,t)=>{JO.init(e,t),Yx.init(e,t)});function $O(e,t,n){return new QO({type:`union`,options:t,discriminator:e,...k(n)})}var ek=D(`ZodIntersection`,(e,t)=>{Xx.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kE(e,t,n,r)});function tk(e,t){return new ek({type:`intersection`,left:e,right:t})}var nk=D(`ZodTuple`,(e,t)=>{$x.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>AE(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})});function rk(e,t,n){let r=t instanceof Jb;return new nk({type:`tuple`,items:e,rest:r?t:null,...k(r?n:t)})}var ik=D(`ZodRecord`,(e,t)=>{tS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jE(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function ak(e,t,n){return new ik({type:`record`,keyType:e,valueType:t,...k(n)})}function ok(e,t,n){let r=Fv(e);return r._zod.values=void 0,new ik({type:`record`,keyType:r,valueType:t,...k(n)})}function sk(e,t,n){return new ik({type:`record`,keyType:e,valueType:t,mode:`loose`,...k(n)})}var ck=D(`ZodMap`,(e,t)=>{nS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wE(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(ST(...t)),e.nonempty=t=>e.check(ST(1,t)),e.max=(...t)=>e.check(xT(...t)),e.size=(...t)=>e.check(CT(...t))});function lk(e,t,n){return new ck({type:`map`,keyType:e,valueType:t,...k(n)})}var uk=D(`ZodSet`,(e,t)=>{iS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>TE(e,t,n,r),e.min=(...t)=>e.check(ST(...t)),e.nonempty=t=>e.check(ST(1,t)),e.max=(...t)=>e.check(xT(...t)),e.size=(...t)=>e.check(CT(...t))});function dk(e,t){return new uk({type:`set`,valueType:e,...k(t)})}var fk=D(`ZodEnum`,(e,t)=>{oS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hE(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new fk({...t,checks:[],...k(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new fk({...t,checks:[],...k(r),entries:i})}});function P(e,t){return new fk({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...k(t)})}function pk(e,t){return new fk({type:`enum`,entries:e,...k(t)})}var mk=D(`ZodLiteral`,(e,t)=>{sS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gE(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,`value`,{get(){if(t.values.length>1)throw Error(&#x22;This schema contains multiple valid literal values. Use `.values` instead.&#x22;);return t.values[0]}})});function hk(e,t){return new mk({type:`literal`,values:Array.isArray(e)?e:[e],...k(t)})}var gk=D(`ZodFile`,(e,t)=>{cS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yE(e,t,n,r),e.min=(t,n)=>e.check(ST(t,n)),e.max=(t,n)=>e.check(xT(t,n)),e.mime=(t,n)=>e.check(PT(Array.isArray(t)?t:[t],n))});function _k(e){return HT(gk,e)}var vk=D(`ZodTransform`,(e,t)=>{lS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>CE(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new iv(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(ty(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(ty(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function yk(e){return new vk({type:`transform`,transform:e})}var bk=D(`ZodOptional`,(e,t)=>{dS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>BE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function xk(e){return new bk({type:`optional`,innerType:e})}var Sk=D(`ZodExactOptional`,(e,t)=>{fS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>BE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Ck(e){return new Sk({type:`optional`,innerType:e})}var wk=D(`ZodNullable`,(e,t)=>{pS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ME(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Tk(e){return new wk({type:`nullable`,innerType:e})}function Ek(e){return xk(Tk(e))}var Dk=D(`ZodDefault`,(e,t)=>{mS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>PE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Ok(e,t){return new Dk({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():kv(t)}})}var kk=D(`ZodPrefault`,(e,t)=>{gS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>FE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Ak(e,t){return new kk({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():kv(t)}})}var jk=D(`ZodNonOptional`,(e,t)=>{_S.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>NE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Mk(e,t){return new jk({type:`nonoptional`,innerType:e,...k(t)})}var Nk=D(`ZodSuccess`,(e,t)=>{yS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Pk(e){return new Nk({type:`success`,innerType:e})}var Fk=D(`ZodCatch`,(e,t)=>{bS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>IE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ik(e,t){return new Fk({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var Lk=D(`ZodNaN`,(e,t)=>{xS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_E(e,t,n,r)});function Rk(e){return dT(Lk,e)}var zk=D(`ZodPipe`,(e,t)=>{SS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>LE(e,t,n,r),e.in=t.in,e.out=t.out});function Bk(e,t){return new zk({type:`pipe`,in:e,out:t})}var Vk=D(`ZodCodec`,(e,t)=>{zk.init(e,t),wS.init(e,t)});function Hk(e,t,n){return new Vk({type:`pipe`,in:e,out:t,transform:n.decode,reverseTransform:n.encode})}var Uk=D(`ZodReadonly`,(e,t)=>{DS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>RE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Wk(e){return new Uk({type:`readonly`,innerType:e})}var Gk=D(`ZodTemplateLiteral`,(e,t)=>{kS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vE(e,t,n,r)});function Kk(e,t){return new Gk({type:`template_literal`,parts:e,...k(t)})}var qk=D(`ZodLazy`,(e,t)=>{MS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>VE(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function Jk(e){return new qk({type:`lazy`,getter:e})}var Yk=D(`ZodPromise`,(e,t)=>{jS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zE(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Xk(e){return new Yk({type:`promise`,innerType:e})}var Zk=D(`ZodFunction`,(e,t)=>{AS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>SE(e,t,n,r)});function Qk(e){return new Zk({type:`function`,input:Array.isArray(e?.input)?rk(e?.input):e?.input??M(IO()),output:e?.output??IO()})}var $k=D(`ZodCustom`,(e,t)=>{NS.init(e,t),pD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xE(e,t,n,r)});function eA(e){let t=new Sb({check:`custom`});return t._zod.check=e,t}function tA(e,t){return UT($k,e??(()=>!0),t)}function nA(e,t={}){return WT($k,e,t)}function rA(e){return GT(e)}var iA=qT,aA=JT;function oA(e,t={}){let n=new $k({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...k(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}var sA=(...e)=>YT({Codec:Vk,Boolean:bO,String:hD},...e);function cA(e){let t=Jk(()=>YO([j(e),pO(),xO(),MO(),M(t),ak(j(),t)]));return t}function F(e,t){return Bk(yk(e),t)}var lA={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 Wre(e){ov({customError:e})}function Gre(){return ov().customError}var uA;(function(e){})(uA||={});var dA={...Ure,...Vre,iso:WE},Kre=new Set(`$schema.$ref.$defs.definitions.$id.id.$comment.$anchor.$vocabulary.$dynamicRef.$dynamicAnchor.type.enum.const.anyOf.oneOf.allOf.not.properties.required.additionalProperties.patternProperties.propertyNames.minProperties.maxProperties.items.prefixItems.additionalItems.minItems.maxItems.uniqueItems.contains.minContains.maxContains.minLength.maxLength.pattern.format.minimum.maximum.exclusiveMinimum.exclusiveMaximum.multipleOf.description.default.contentEncoding.contentMediaType.contentSchema.unevaluatedItems.unevaluatedProperties.if.then.else.dependentSchemas.dependentRequired.nullable.readOnly`.split(`.`));function qre(e,t){let n=e.$schema;return n===`https://json-schema.org/draft/2020-12/schema`?`draft-2020-12`:n===`http://json-schema.org/draft-07/schema#`?`draft-7`:n===`http://json-schema.org/draft-04/schema#`?`draft-4`:t??`draft-2020-12`}function Jre(e,t){if(!e.startsWith(`#`))throw Error(`External $ref is not supported, only local refs (#/...) are allowed`);let n=e.slice(1).split(`/`).filter(Boolean);if(n.length===0)return t.rootSchema;let r=t.version===`draft-2020-12`?`$defs`:`definitions`;if(n[0]===r){let r=n[1];if(!r||!t.defs[r])throw Error(`Reference not found: ${e}`);return t.defs[r]}throw Error(`Reference not found: ${e}`)}function fA(e,t){if(e.not!==void 0){if(typeof e.not==`object`&&Object.keys(e.not).length===0)return dA.never();throw Error(`not is not supported in Zod (except { not: {} } for never)`)}if(e.unevaluatedItems!==void 0)throw Error(`unevaluatedItems is not supported`);if(e.unevaluatedProperties!==void 0)throw Error(`unevaluatedProperties is not supported`);if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw Error(`Conditional schemas (if/then/else) are not supported`);if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw Error(`dependentSchemas and dependentRequired are not supported`);if(e.$ref){let n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return dA.lazy(()=>{if(!t.refs.has(n))throw Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);let r=pA(Jre(n,t),t);return t.refs.set(n,r),t.processing.delete(n),r}if(e.enum!==void 0){let n=e.enum;if(t.version===`openapi-3.0`&&e.nullable===!0&&n.length===1&&n[0]===null)return dA.null();if(n.length===0)return dA.never();if(n.length===1)return dA.literal(n[0]);if(n.every(e=>typeof e==`string`))return dA.enum(n);let r=n.map(e=>dA.literal(e));return r.length<2?r[0]:dA.union([r[0],r[1],...r.slice(2)])}if(e.const!==void 0)return dA.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(n=>fA({...e,type:n},t));return r.length===0?dA.never():r.length===1?r[0]:dA.union(r)}if(!n)return dA.any();let r;switch(n){case`string`:{let t=dA.string();if(e.format){let n=e.format;n===`email`?t=t.check(dA.email()):n===`uri`||n===`uri-reference`?t=t.check(dA.url()):n===`uuid`||n===`guid`?t=t.check(dA.uuid()):n===`date-time`?t=t.check(dA.iso.datetime()):n===`date`?t=t.check(dA.iso.date()):n===`time`?t=t.check(dA.iso.time()):n===`duration`?t=t.check(dA.iso.duration()):n===`ipv4`?t=t.check(dA.ipv4()):n===`ipv6`?t=t.check(dA.ipv6()):n===`mac`?t=t.check(dA.mac()):n===`cidr`?t=t.check(dA.cidrv4()):n===`cidr-v6`?t=t.check(dA.cidrv6()):n===`base64`?t=t.check(dA.base64()):n===`base64url`?t=t.check(dA.base64url()):n===`e164`?t=t.check(dA.e164()):n===`jwt`?t=t.check(dA.jwt()):n===`emoji`?t=t.check(dA.emoji()):n===`nanoid`?t=t.check(dA.nanoid()):n===`cuid`?t=t.check(dA.cuid()):n===`cuid2`?t=t.check(dA.cuid2()):n===`ulid`?t=t.check(dA.ulid()):n===`xid`?t=t.check(dA.xid()):n===`ksuid`&&(t=t.check(dA.ksuid()))}typeof e.minLength==`number`&&(t=t.min(e.minLength)),typeof e.maxLength==`number`&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),r=t;break}case`number`:case`integer`:{let t=n===`integer`?dA.number().int():dA.number();typeof e.minimum==`number`&&(t=t.min(e.minimum)),typeof e.maximum==`number`&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum==`number`?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==`number`&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum==`number`?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==`number`&&(t=t.lt(e.maximum)),typeof e.multipleOf==`number`&&(t=t.multipleOf(e.multipleOf)),r=t;break}case`boolean`:r=dA.boolean();break;case`null`:r=dA.null();break;case`object`:{let n={},i=e.properties||{},a=new Set(e.required||[]);for(let[e,r]of Object.entries(i)){let i=pA(r,t);n[e]=a.has(e)?i:i.optional()}if(e.propertyNames){let i=pA(e.propertyNames,t),a=e.additionalProperties&&typeof e.additionalProperties==`object`?pA(e.additionalProperties,t):dA.any();if(Object.keys(n).length===0){r=dA.record(i,a);break}let o=dA.object(n).passthrough(),s=dA.looseRecord(i,a);r=dA.intersection(o,s);break}if(e.patternProperties){let i=e.patternProperties,a=Object.keys(i),o=[];for(let e of a){let n=pA(i[e],t),r=dA.string().regex(new RegExp(e));o.push(dA.looseRecord(r,n))}let s=[];if(Object.keys(n).length>0&&s.push(dA.object(n).passthrough()),s.push(...o),s.length===0)r=dA.object({}).passthrough();else if(s.length===1)r=s[0];else{let e=dA.intersection(s[0],s[1]);for(let t=2;t<s.length;t++)e=dA.intersection(e,s[t]);r=e}break}let o=dA.object(n);r=e.additionalProperties===!1?o.strict():typeof e.additionalProperties==`object`?o.catchall(pA(e.additionalProperties,t)):o.passthrough();break}case`array`:{let n=e.prefixItems,i=e.items;if(n&&Array.isArray(n)){let a=n.map(e=>pA(e,t)),o=i&&typeof i==`object`&&!Array.isArray(i)?pA(i,t):void 0;r=o?dA.tuple(a).rest(o):dA.tuple(a),typeof e.minItems==`number`&&(r=r.check(dA.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(dA.maxLength(e.maxItems)))}else if(Array.isArray(i)){let n=i.map(e=>pA(e,t)),a=e.additionalItems&&typeof e.additionalItems==`object`?pA(e.additionalItems,t):void 0;r=a?dA.tuple(n).rest(a):dA.tuple(n),typeof e.minItems==`number`&&(r=r.check(dA.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(dA.maxLength(e.maxItems)))}else if(i!==void 0){let n=pA(i,t),a=dA.array(n);typeof e.minItems==`number`&&(a=a.min(e.minItems)),typeof e.maxItems==`number`&&(a=a.max(e.maxItems)),r=a}else r=dA.array(dA.any());break}default:throw Error(`Unsupported type: ${n}`)}return e.description&&(r=r.describe(e.description)),e.default!==void 0&&(r=r.default(e.default)),r}function pA(e,t){if(typeof e==`boolean`)return e?dA.any():dA.never();let n=fA(e,t),r=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let i=e.anyOf.map(e=>pA(e,t)),a=dA.union(i);n=r?dA.intersection(n,a):a}if(e.oneOf&&Array.isArray(e.oneOf)){let i=e.oneOf.map(e=>pA(e,t)),a=dA.xor(i);n=r?dA.intersection(n,a):a}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=r?n:dA.any();else{let i=r?n:pA(e.allOf[0],t),a=+!r;for(let n=a;n<e.allOf.length;n++)i=dA.intersection(i,pA(e.allOf[n],t));n=i}e.nullable===!0&&t.version===`openapi-3.0`&&(n=dA.nullable(n)),e.readOnly===!0&&(n=dA.readonly(n));let i={};for(let t of[`$id`,`id`,`$comment`,`$anchor`,`$vocabulary`,`$dynamicRef`,`$dynamicAnchor`])t in e&&(i[t]=e[t]);for(let t of[`contentEncoding`,`contentMediaType`,`contentSchema`])t in e&&(i[t]=e[t]);for(let t of Object.keys(e))Kre.has(t)||(i[t]=e[t]);return Object.keys(i).length>0&&t.registry.add(n,i),n}function Yre(e,t){return typeof e==`boolean`?e?dA.any():dA.never():pA(e,{version:qre(e,t?.defaultTarget),defs:e.$defs||e.definitions||{},refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??A})}var Xre=c({bigint:()=>$re,boolean:()=>Qre,date:()=>eie,number:()=>mA,string:()=>Zre});function Zre(e){return mw(hD,e)}function mA(e){return Ww(fO,e)}function Qre(e){return Zw(bO,e)}function $re(e){return $w(SO,e)}function eie(e){return uT(VO,e)}var hA=c({$brand:()=>nv,$input:()=>uw,$output:()=>lw,NEVER:()=>tv,TimePrecision:()=>Rw,ZodAny:()=>NO,ZodArray:()=>UO,ZodBase64:()=>$D,ZodBase64URL:()=>tO,ZodBigInt:()=>SO,ZodBigIntFormat:()=>wO,ZodBoolean:()=>bO,ZodCIDRv4:()=>YD,ZodCIDRv6:()=>ZD,ZodCUID:()=>ND,ZodCUID2:()=>FD,ZodCatch:()=>Fk,ZodCodec:()=>Vk,ZodCustom:()=>$k,ZodCustomStringFormat:()=>sO,ZodDate:()=>VO,ZodDefault:()=>Dk,ZodDiscriminatedUnion:()=>QO,ZodE164:()=>rO,ZodEmail:()=>_D,ZodEmoji:()=>kD,ZodEnum:()=>fk,ZodError:()=>Hre,ZodExactOptional:()=>Sk,ZodFile:()=>gk,ZodFirstPartyTypeKind:()=>uA,ZodFunction:()=>Zk,ZodGUID:()=>yD,ZodIPv4:()=>UD,ZodIPv6:()=>qD,ZodISODate:()=>qE,ZodISODateTime:()=>GE,ZodISODuration:()=>ZE,ZodISOTime:()=>YE,ZodIntersection:()=>ek,ZodIssueCode:()=>lA,ZodJWT:()=>aO,ZodKSUID:()=>VD,ZodLazy:()=>qk,ZodLiteral:()=>mk,ZodMAC:()=>GD,ZodMap:()=>ck,ZodNaN:()=>Lk,ZodNanoID:()=>jD,ZodNever:()=>LO,ZodNonOptional:()=>jk,ZodNull:()=>jO,ZodNullable:()=>wk,ZodNumber:()=>fO,ZodNumberFormat:()=>mO,ZodObject:()=>GO,ZodOptional:()=>bk,ZodPipe:()=>zk,ZodPrefault:()=>kk,ZodPromise:()=>Yk,ZodReadonly:()=>Uk,ZodRealError:()=>eD,ZodRecord:()=>ik,ZodSet:()=>uk,ZodString:()=>hD,ZodStringFormat:()=>gD,ZodSuccess:()=>Nk,ZodSymbol:()=>DO,ZodTemplateLiteral:()=>Gk,ZodTransform:()=>vk,ZodTuple:()=>nk,ZodType:()=>pD,ZodULID:()=>LD,ZodURL:()=>ED,ZodUUID:()=>xD,ZodUndefined:()=>kO,ZodUnion:()=>JO,ZodUnknown:()=>FO,ZodVoid:()=>zO,ZodXID:()=>zD,ZodXor:()=>XO,_ZodString:()=>mD,_default:()=>Ok,_function:()=>Qk,any:()=>PO,array:()=>M,base64:()=>eO,base64url:()=>nO,bigint:()=>CO,boolean:()=>xO,catch:()=>Ik,check:()=>eA,cidrv4:()=>XD,cidrv6:()=>QD,clone:()=>Fv,codec:()=>Hk,coerce:()=>Xre,config:()=>ov,core:()=>Bre,cuid:()=>PD,cuid2:()=>ID,custom:()=>tA,date:()=>HO,decode:()=>oD,decodeAsync:()=>cD,describe:()=>iA,discriminatedUnion:()=>$O,e164:()=>iO,email:()=>vD,emoji:()=>AD,encode:()=>aD,encodeAsync:()=>sD,endsWith:()=>MT,enum:()=>P,exactOptional:()=>Ck,file:()=>_k,flattenError:()=>py,float32:()=>gO,float64:()=>_O,formatError:()=>my,fromJSONSchema:()=>Yre,function:()=>Qk,getErrorMap:()=>Gre,globalRegistry:()=>A,gt:()=>mT,gte:()=>hT,guid:()=>bD,hash:()=>dO,hex:()=>uO,hostname:()=>lO,httpUrl:()=>OD,includes:()=>AT,instanceof:()=>oA,int:()=>hO,int32:()=>vO,int64:()=>TO,intersection:()=>tk,ipv4:()=>WD,ipv6:()=>JD,iso:()=>WE,json:()=>cA,jwt:()=>oO,keyof:()=>WO,ksuid:()=>HD,lazy:()=>Jk,length:()=>ET,literal:()=>hk,locales:()=>sw,looseObject:()=>qO,looseRecord:()=>sk,lowercase:()=>OT,lt:()=>fT,lte:()=>pT,mac:()=>KD,map:()=>lk,maxLength:()=>wT,maxSize:()=>xT,meta:()=>aA,mime:()=>PT,minLength:()=>TT,minSize:()=>ST,multipleOf:()=>bT,nan:()=>Rk,nanoid:()=>MD,nativeEnum:()=>pk,negative:()=>_T,never:()=>RO,nonnegative:()=>yT,nonoptional:()=>Mk,nonpositive:()=>vT,normalize:()=>IT,null:()=>MO,nullable:()=>Tk,nullish:()=>Ek,number:()=>pO,object:()=>N,optional:()=>xk,overwrite:()=>FT,parse:()=>tD,parseAsync:()=>nD,partialRecord:()=>ok,pipe:()=>Bk,positive:()=>gT,prefault:()=>Ak,preprocess:()=>F,prettifyError:()=>_y,promise:()=>Xk,property:()=>NT,readonly:()=>Wk,record:()=>ak,refine:()=>nA,regex:()=>DT,regexes:()=>Iy,registry:()=>fw,safeDecode:()=>uD,safeDecodeAsync:()=>fD,safeEncode:()=>lD,safeEncodeAsync:()=>dD,safeParse:()=>rD,safeParseAsync:()=>iD,set:()=>dk,setErrorMap:()=>Wre,size:()=>CT,slugify:()=>BT,startsWith:()=>jT,strictObject:()=>KO,string:()=>j,stringFormat:()=>cO,stringbool:()=>sA,success:()=>Pk,superRefine:()=>rA,symbol:()=>OO,templateLiteral:()=>Kk,toJSONSchema:()=>UE,toLowerCase:()=>RT,toUpperCase:()=>zT,transform:()=>yk,treeifyError:()=>hy,trim:()=>LT,tuple:()=>rk,uint32:()=>yO,uint64:()=>EO,ulid:()=>RD,undefined:()=>AO,union:()=>YO,unknown:()=>IO,uppercase:()=>kT,url:()=>DD,util:()=>sv,uuid:()=>SD,uuidv4:()=>CD,uuidv6:()=>wD,uuidv7:()=>TD,void:()=>BO,xid:()=>BD,xor:()=>ZO});ov($S());var gA=hA,_A=e=>typeof e==`object`&&!!e&&`_zod`in e,vA=(e,t,n)=>{if(!e)return;let r={};for(let[i,a]of Object.entries(e))r[i]=t.addExample(a,[...n,i]);return r},tie=(e,t,n)=>{let{schema:r,examples:i,...a}=e,o=a;return _A(r)?o.schema=t.registry.addSchema(r,[...n,`schema`],{io:t.io,source:{type:`mediaType`}}):o.schema=r,i&&(o.examples=vA(i,t.registry,[...n,`examples`])),o},yA=(e,t,n)=>{let r={};for(let[i,a]of Object.entries(e))a&&(r[i]=tie(a,t,[...n,i]));return r},bA=(e,t,n)=>{let r=e._zod.def;switch(r.type){case`object`:return e;case`lazy`:return bA(r.getter(),t,n);case`pipe`:return bA(t===`input`?r.in:r.out,t,n)}throw Error(`Failed to unwrap ZodObject from type: ${e._zod.def.type} at ${n.join(` > `)}`)},xA=(e,t)=>t===`input`?e._zod.optin===void 0:e._zod.optout===void 0,nie=(e,t,n)=>{if(e){if(_A(e)){let r=bA(e,`output`,n),i={};for(let[e,a]of Object.entries(r._zod.def.shape))i[e]=t.addHeader(a,[...n,e]);return i}return e}},rie=(e,t,n)=>{if(!e)return;let r={};for(let[i,a]of Object.entries(e))r[i]=t.addLink(a,[...n,i]);return r},SA=(e,t,n)=>{if(!e)return;let r=[];for(let i of e){if(_A(i)){let e=t.addParameter(i,[...n,`parameters`]);r.push(e);continue}r.push(i)}return r},iie=(e,t,n)=>{if(!e)return;let r=[];for(let[i,a]of Object.entries(e??{})){let e=bA(a,`input`,n);for(let[a,o]of Object.entries(e._zod.def.shape)){let e=t.addParameter(o,[...n,i,a],{location:{in:i,name:a}});r.push(e)}}return r},CA=e=>e.startsWith(`x-`),aie=(e,t,n)=>{if(!e)return;let r={};for(let[i,a]of Object.entries(e)){if(CA(i)){r[i]=a;continue}r[i]=t.addCallback(a,[...n,i])}return r},oie=(e,t,n)=>{if(!e)return;let r={};for(let[i,a]of Object.entries(e))if(a){if(CA(i)){r[i]=a;continue}if(`$ref`in a){r[i]=a;continue}r[i]=t.addResponse(a,[...n,i])}return r},sie=(e,t,n)=>{let{parameters:r,requestParams:i,requestBody:a,responses:o,callbacks:s,...c}=e,l=c,u=SA(r,t,[...n,`parameters`]),d=iie(i,t,[...n,`requestParams`]);(d||u)&&(l.parameters=[...d??[],...u??[]]);let f=a&&t.addRequestBody(a,n);f&&(l.requestBody=f);let p=oie(o,t,[...n,`responses`]);p&&(l.responses=p);let m=aie(s,t,[...n,`callbacks`]);return m&&(l.callbacks=m),l},wA=(e,t,n)=>{if(!e)return;let r={};for(let[i,a]of Object.entries(e)){if(CA(i)){r[i]=a;continue}r[i]=t.addPathItem(a,[...n,i])}return r},TA=[`3.0.0`,`3.0.1`,`3.0.2`,`3.0.3`,`3.1.0`,`3.1.1`],EA=(e,t)=>TA.indexOf(e)>=TA.indexOf(t),cie=e=>{let t=e.zodSchema._zod.def;switch(t.type){case`bigint`:e.jsonSchema.type=`integer`,e.jsonSchema.format=`int64`;break;case`union`:{if(`discriminator`in t&&typeof t.discriminator==`string`){e.jsonSchema.oneOf??=e.jsonSchema.anyOf,delete e.jsonSchema.anyOf,e.jsonSchema.type=`object`,e.jsonSchema.discriminator={propertyName:t.discriminator};let n={};for(let[r,i]of Object.entries(e.jsonSchema.oneOf)){let a=i.$ref;if(!a){delete e.jsonSchema.discriminator;return}let o=t.options[Number(r)]._zod.propValues?.[t.discriminator];if(!o?.size)return;for(let e of[...o??[]]){if(typeof e!=`string`&&typeof e!=`number`&&typeof e!=`boolean`)return;n[String(e)]=a}}e.jsonSchema.discriminator.mapping=n}let n=A.get(e.zodSchema);typeof n?.unionOneOf==`boolean`&&(n.unionOneOf&&(e.jsonSchema.oneOf=e.jsonSchema.anyOf,delete e.jsonSchema.anyOf),delete e.jsonSchema.unionOneOf);break}case`date`:e.jsonSchema.type=`string`;break;case`literal`:if(t.values.includes(void 0))break;break;case`undefined`:e.jsonSchema.not={};break}},DA=(e,t,n)=>{if(n.context&&e.zodSchema._zod.parent!==n.context.zodSchema)throw n.context.zodSchema._zod.def.type===`pipe`?Error(`Zod transform found at ${n.context.path.join(` > `)} are not supported in output schemas. Please use \`.overwrite()\` or wrap the schema in a \`.pipe()\` or assign it manual metadata with \`.meta()\``):Error(`Zod schema of type \`${n.context.zodSchema._zod.def.type}\` at ${n.context?.path.join(` > `)} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``);if(n.context=void 0,Object.keys(e.jsonSchema).length)return;let r=e.zodSchema._zod.def,i=t.allowEmptySchema?.[r.type];if(!(i===!0||i?.[e.io])){switch(r.type){case`optional`:DA({...e,zodSchema:r.innerType},t,n);return;case`any`:return;case`unknown`:return;case`pipe`:if(e.io===`output`&&!e.zodSchema._zod.parent){n.context=e;return}return;case`transform`:if(e.io===`output`)return;break;case`literal`:if(r.values.includes(void 0))throw Error(`Zod literal at ${e.path.join(` > `)} cannot include \`undefined\` as a value. Please use \`z.undefined()\` or \`.optional()\` instead.`);return;case`custom`:if(!e.zodSchema._zod.parent){n.context=e;return}}throw Error(`Zod schema of type \`${r.type}\` at ${e.path.join(` > `)} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)}},lie=(e,t,n,r)=>{let i=new Map;if(n.io===`input`)return i;let a=new Map,o=new Map;for(let[t,n]of Object.entries(e)){let e=JSON.stringify(n),i=RegExp(`&#x22;${r}([^&#x22;]+)&#x22;`,`g`),s=e.matchAll(i),c=new Set;for(let e of s){let n=e[1];n!==t&&c.add(n)}o.set(t,e),a.set(t,{dependencies:c})}for(let[r]of o){if(!n.registry.components.schemas.ids.get(r)||OA(a,o,n.registry,r))continue;let s=t.get(r)??`${r}${n.opts.outputIdSuffix??`Output`}`;i.set(r,s),e[s]=e[r],delete e[r]}return i},OA=(e,t,n,r,i=new Set)=>{if(i.has(r))return!0;let a=e.get(r);if(a.pure!==void 0)return a.pure;let o=t.get(r),s=n.components.schemas.ids.get(r);if(s&&o!==JSON.stringify(s))return a.pure=!1,!1;i.add(r);let c=[...a.dependencies].every(r=>OA(e,t,n,r,new Set(i)));return a.pure=c,c},kA=[`param`,`header`,`unusedIO`,`override`,`outputId`],uie=e=>{kA.forEach(t=>{delete e[t]})},AA=e=>{delete e.$schema,delete e.id,delete e.$id},die=(e,t)=>{let n=t.opts.schemaRefPath??`#/components/schemas/`,r={};for(let[t,{zodType:n}]of Object.entries(e))r[t]=n;let i=fw();i.add(N(r),{id:`zodOpenApiCreateSchema`});for(let[e,{zodType:n}]of t.registry.components.schemas.manual)i.add(n,{id:e});let a=new Map,o=EA(t.openapiVersion??`3.1.0`,`3.1.0`)?`$defs`:`definitions`,s={},c=UE(i,{override(e){let n=A.get(e.zodSchema);if(n?.outputId&&n?.id&&a.set(n.id,n.outputId),e.jsonSchema.$ref)return;let r={...e,io:t.io};cie(r),typeof t.opts.override==`function`&&t.opts.override(r),typeof n?.override==`function`&&(n.override(r),delete e.jsonSchema.override),typeof n?.override==`object`&&n.override!==null&&(Object.assign(e.jsonSchema,n.override),delete e.jsonSchema.override),AA(e.jsonSchema),uie(e.jsonSchema),DA(r,t.opts,s)},io:t.io,unrepresentable:`any`,reused:t.opts.reused,cycles:t.opts.cycles,target:EA(t.openapiVersion??`3.1.0`,`3.1.0`)?void 0:`openapi-3.0`,uri:e=>e===`__shared`?`#ZOD_OPENAPI/${e}`:`#ZOD_OPENAPI/__shared#/${o}/${e}`}),l=c.schemas.__shared?.[o]??{};c.schemas.__shared??={[o]:l};let u=new Map;for(let[e,r]of Object.entries(l))if(AA(r),/^schema\d+$/.test(e)){let i=`__schema${t.registry.components.schemas.dynamicSchemaCount++}`;u.set(e,`&#x22;${n}${i}&#x22;`),i!==e&&(l[i]=r,delete l[e])}for(let[e]of t.registry.components.schemas.manual){let t=c.schemas[e];t&&AA(t)}let d={},f=JSON.parse(JSON.stringify(c).replace(/&#x22;#ZOD_OPENAPI\/__shared#\/(?:\$defs|definitions)\/([^&#x22;]+)&#x22;/g,(e,r)=>u.get(r)||(t.registry.components.schemas.manual.get(r)&&(d[r]=!0),`&#x22;${n}${r}&#x22;`))),p=f.schemas.__shared?.[o]??{};f.schemas.__shared??={[o]:p};for(let[e]of t.registry.components.schemas.manual){let t=f.schemas[e];if(t&&d[e]){if(p[e])throw Error(`Component &#x22;${e}&#x22; is already registered as a component in the registry`);p[e]=t}}let m=lie(p,a,t,n);if(!m.size){let e=f.schemas.zodOpenApiCreateSchema?.properties;return delete f.schemas.zodOpenApiCreateSchema,delete f.schemas.__shared,{schemas:e,components:p,manual:f.schemas}}let h=JSON.parse(JSON.stringify(f).replace(RegExp(`&#x22;${n}([^&#x22;]+)&#x22;`,`g`),(e,t)=>{let r=m.get(t);return r?`&#x22;${n}${r}&#x22;`:`&#x22;${n}${t}&#x22;`})),g=h.schemas.zodOpenApiCreateSchema?.properties,_=h.schemas.__shared?.[o]??{};return delete h.schemas.zodOpenApiCreateSchema,delete h.schemas.__shared,{schemas:g,components:_,manual:h.schemas}},fie=e=>{let t={components:{schemas:{dynamicSchemaCount:0,input:new Map,output:new Map,ids:new Map,manual:new Map},headers:{ids:new Map,seen:new WeakMap},requestBodies:{ids:new Map,seen:new WeakMap},responses:{ids:new Map,seen:new WeakMap},parameters:{ids:new Map,seen:new WeakMap},callbacks:{ids:new Map,seen:new WeakMap},pathItems:{ids:new Map,seen:new WeakMap},securitySchemes:{ids:new Map,seen:new WeakMap},links:{ids:new Map,seen:new WeakMap},examples:{ids:new Map,seen:new WeakMap}},addSchema:(e,n,r)=>{let i={};return t.components.schemas[r.io].set(n.join(` > `),{schemaObject:i,zodType:e,source:{path:n,...r?.source}}),i},addParameter:(e,n,r)=>{let i=t.components.parameters.seen.get(e);if(i)return i;let a=A.get(e),o=r?.location?.name??a?.param?.name,s=r?.location?.in??a?.param?.in;if(r?.location?.name&&a?.param?.name||r?.location?.in&&a?.param?.in)throw Error(`Parameter at ${n.join(` > `)} has both \`.meta({ param: { name, in } })\` and \`.meta({ param: { location: { in, name } } })\` information`);if(!o||!s)throw Error(`Parameter at ${n.join(` > `)} is missing \`.meta({ param: { name, in } })\` information`);let c=t.addSchema(e,[...n,s,o,`schema`],{io:`input`,source:{type:`parameter`,location:{in:s,name:o}}}),{id:l,examples:u,...d}=a?.param??{},f={in:s,name:o,schema:c,...d},p=vA(u,t,[...n,s,o,`examples`]);p&&(f.examples=p),xA(e,`input`)&&(f.required=!0),!f.description&&a?.description&&(f.description=a.description);let m=l??r?.manualId;if(m){if(t.components.parameters.ids.has(m))throw Error(`Schema &#x22;${m}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/parameters/${m}`};return t.components.parameters.seen.set(e,i),t.components.parameters.ids.set(m,f),r?.manualId?f:i}return r?.location?.name||r?.location?.in||t.components.parameters.seen.set(e,f),f},addHeader:(e,n,r)=>{let i=t.components.headers.seen.get(e);if(i)return i;let a=A.get(e),{id:o,...s}=a?.header??{},c=o??r?.manualId,l=s;if(xA(e,`output`)&&(l.required=!0),!l.description&&a?.description&&(l.description=a.description),l.schema=t.addSchema(e,[...n,`schema`],{io:`output`,source:{type:`header`}}),c){if(t.components.schemas.ids.has(c))throw Error(`Schema &#x22;${c}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/headers/${c}`};return t.components.headers.ids.set(c,l),t.components.headers.seen.set(e,i),r?.manualId?l:i}return t.components.headers.seen.set(e,l),l},addRequestBody:(e,n,r)=>{let i=t.components.requestBodies.seen.get(e);if(i)return i;let{content:a,id:o,...s}=e,c={...s,content:yA(a,{registry:t,io:`input`},[...n,`content`])},l=o??r?.manualId;if(l){if(t.components.requestBodies.ids.has(l))throw Error(`RequestBody &#x22;${l}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/requestBodies/${l}`};return t.components.requestBodies.ids.set(l,c),t.components.requestBodies.seen.set(e,i),r?.manualId?c:i}return t.components.requestBodies.seen.set(e,c),c},addPathItem:(e,n,r)=>{let i=t.components.pathItems.seen.get(e);if(i)return i;let a={},{id:o,...s}=e,c=o??r?.manualId;for(let[e,r]of Object.entries(s)){if(CA(e)){a[e]=r;continue}if(e===`get`||e===`put`||e===`post`||e===`delete`||e===`options`||e===`head`||e===`patch`||e===`trace`){a[e]=sie(r,t,[...n,e]);continue}if(e===`parameters`){a[e]=SA(r,t,[...n,e]);continue}a[e]=r}if(c){if(t.components.pathItems.ids.has(c))throw Error(`PathItem &#x22;${c}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/pathItems/${c}`};return t.components.pathItems.ids.set(c,a),t.components.pathItems.seen.set(e,i),r?.manualId?a:i}return t.components.pathItems.seen.set(e,a),a},addResponse:(e,n,r)=>{let i=t.components.responses.seen.get(e);if(i)return i;let{content:a,headers:o,links:s,id:c,...l}=e,u=l,d=nie(o,t,[...n,`headers`]);d&&(u.headers=d),a&&(u.content=yA(a,{registry:t,io:`output`},[...n,`content`])),s&&(u.links=rie(s,t,[...n,`links`]));let f=c??r?.manualId;if(f){if(t.components.responses.ids.has(f))throw Error(`Response &#x22;${f}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/responses/${f}`};return t.components.responses.ids.set(f,u),t.components.responses.seen.set(e,i),r?.manualId?u:i}return t.components.responses.seen.set(e,u),u},addCallback:(e,n,r)=>{let i=t.components.callbacks.seen.get(e);if(i)return i;let{id:a,...o}=e,s={};for(let[e,r]of Object.entries(o)){if(CA(e)){s[e]=r;continue}s[e]=t.addPathItem(r,[...n,e])}let c=a??r?.manualId;if(c){if(t.components.callbacks.ids.has(c))throw Error(`Callback &#x22;${c}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/callbacks/${c}`};return t.components.callbacks.ids.set(c,s),t.components.callbacks.seen.set(e,i),r?.manualId?s:i}return t.components.callbacks.seen.set(e,s),s},addSecurityScheme:(e,n,r)=>{let i=t.components.securitySchemes.seen.get(e);if(i)return i;let{id:a,...o}=e,s=o,c=a??r?.manualId;if(c){if(t.components.securitySchemes.ids.has(c))throw Error(`SecurityScheme &#x22;${c}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/securitySchemes/${c}`};return t.components.securitySchemes.ids.set(c,s),t.components.securitySchemes.seen.set(e,i),r?.manualId?s:i}return t.components.securitySchemes.seen.set(e,s),s},addLink:(e,n,r)=>{let i=t.components.links.seen.get(e);if(i)return i;let{id:a,...o}=e,s=o,c=a??r?.manualId;if(c){if(t.components.links.ids.has(c))throw Error(`Link &#x22;${c}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/links/${c}`};return t.components.links.ids.set(c,s),t.components.links.seen.set(e,i),r?.manualId?s:i}return t.components.links.seen.set(e,s),s},addExample:(e,n,r)=>{let i=t.components.examples.seen.get(e);if(i)return i;let{id:a,...o}=e,s=o,c=a??r?.manualId;if(c){if(t.components.examples.ids.has(c))throw Error(`Example &#x22;${c}&#x22; at ${n.join(` > `)} is already registered`);let i={$ref:`#/components/examples/${c}`};return t.components.examples.ids.set(c,s),t.components.examples.seen.set(e,i),r?.manualId?s:i}return t.components.examples.seen.set(e,s),s}};return pie(e?.schemas,t),mie(e?.parameters,t),hie(e?.headers,t),gie(e?.responses,t),yie(e?.pathItems,t),_ie(e?.requestBodies,t),vie(e?.callbacks,t),jA(e?.securitySchemes,t),MA(e?.links,t),NA(e?.examples,t),t},pie=(e,t)=>{if(e)for(let[n,r]of Object.entries(e)){if(_A(r)){let e=A.get(r)?.id??n;t.components.schemas.manual.set(e,{input:{schemaObject:{}},output:{schemaObject:{}},zodType:r});continue}t.components.schemas.ids.set(n,r)}},mie=(e,t)=>{if(e)for(let[n,r]of Object.entries(e)){if(_A(r)){let e=[`components`,`parameters`,n];t.addParameter(r,e,{manualId:n});continue}t.components.parameters.ids.set(n,r)}},hie=(e,t)=>{if(e)for(let[n,r]of Object.entries(e)){if(_A(r)){let e=[`components`,`headers`,n];t.addHeader(r,e,{manualId:n});continue}t.components.headers.ids.set(n,r)}},gie=(e,t)=>{if(e)for(let[n,r]of Object.entries(e)){let e=t.addResponse(r,[`components`,`responses`,n],{manualId:n});t.components.responses.ids.set(n,e),t.components.responses.seen.set(r,e)}},_ie=(e,t)=>{if(e)for(let[n,r]of Object.entries(e)){if(_A(r)){t.addRequestBody(r,[`components`,`requestBodies`,n],{manualId:n});continue}t.components.requestBodies.ids.set(n,r)}},vie=(e,t)=>{if(e)for(let[n,r]of Object.entries(e))t.addCallback(r,[`components`,`callbacks`,n],{manualId:n})},yie=(e,t)=>{if(e)for(let[n,r]of Object.entries(e))t.addPathItem(r,[`components`,`pathItems`,n],{manualId:n})},jA=(e,t)=>{if(e)for(let[n,r]of Object.entries(e))t.addSecurityScheme(r,[`components`,`securitySchemes`,n],{manualId:n})},MA=(e,t)=>{if(e)for(let[n,r]of Object.entries(e))t.addLink(r,[`components`,`links`,n],{manualId:n})},NA=(e,t)=>{if(e)for(let[n,r]of Object.entries(e))t.components.examples.ids.set(n,r)},PA=e=>{let{schemas:t,components:n,manual:r}=die(Object.fromEntries(e.registry.components.schemas[e.io]),e);for(let[t,r]of Object.entries(n))e.registry.components.schemas.ids.set(t,r);for(let[n,r]of Object.entries(t)){let t=e.registry.components.schemas[e.io].get(n);t&&Object.assign(t.schemaObject,r)}for(let[t,i]of Object.entries(r)){let r=e.registry.components.schemas.manual.get(t);r&&(n[t]&&(r[e.io].used=!0),Object.assign(r[e.io].schemaObject,i))}},FA=e=>{for(let[t,n]of e.components.schemas.manual)if(!n.input.used){let r=n[A.get(n.zodType)?.unusedIO??`output`].schemaObject;e.components.schemas.ids.set(t,r)}},IA=(e,t,n)=>{PA({registry:e,io:`input`,opts:t,openapiVersion:n}),PA({registry:e,io:`output`,opts:t,openapiVersion:n}),FA(e);let r={};return e.components.schemas.ids.size>0&&(r.schemas=Object.fromEntries(e.components.schemas.ids)),e.components.headers.ids.size>0&&(r.headers=Object.fromEntries(e.components.headers.ids)),e.components.requestBodies.ids.size>0&&(r.requestBodies=Object.fromEntries(e.components.requestBodies.ids)),e.components.responses.ids.size>0&&(r.responses=Object.fromEntries(e.components.responses.ids)),e.components.parameters.ids.size>0&&(r.parameters=Object.fromEntries(e.components.parameters.ids)),e.components.callbacks.ids.size>0&&(r.callbacks=Object.fromEntries(e.components.callbacks.ids)),e.components.pathItems.ids.size>0&&(r.pathItems=Object.fromEntries(e.components.pathItems.ids)),e.components.securitySchemes.ids.size>0&&(r.securitySchemes=Object.fromEntries(e.components.securitySchemes.ids)),e.components.links.ids.size>0&&(r.links=Object.fromEntries(e.components.links.ids)),e.components.examples.ids.size>0&&(r.examples=Object.fromEntries(e.components.examples.ids)),r},bie=(e,t={})=>{let{paths:n,webhooks:r,components:i,...a}=e,o=a,s=fie(i),c=wA(n,s,[`paths`]);c&&(o.paths=c);let l=wA(r,s,[`webhooks`]);l&&(o.webhooks=l);let u=IA(s,t,e.openapi);return Object.keys(u).length>0&&(o.components=u),o},LA;(function(e){e[e.BAD_REQUEST=400]=`BAD_REQUEST`,e[e.UNAUTHORIZED=401]=`UNAUTHORIZED`,e[e.FORBIDDEN=403]=`FORBIDDEN`,e[e.NOT_FOUND=404]=`NOT_FOUND`,e[e.CONFLICT=409]=`CONFLICT`,e[e.RATE_LIMIT_EXCEEDED=429]=`RATE_LIMIT_EXCEEDED`,e[e.SERVER_ERROR=500]=`SERVER_ERROR`})(LA||={}),LA.BAD_REQUEST,LA.UNAUTHORIZED,LA.FORBIDDEN,LA.NOT_FOUND,LA.CONFLICT,LA.RATE_LIMIT_EXCEEDED,LA.SERVER_ERROR;var RA=N({error:N({code:P(LA).describe(`HTTP status code`),message:j().describe(`Human-readable error message`),details:PO().optional().describe(`Additional error details`)})}),xie=RA.extend({error:N({code:hk(LA.BAD_REQUEST),message:j(),details:M(N({path:M(j()).describe(`Path to the invalid field`),message:j().describe(`Validation error message`),code:j().describe(`Zod error code`)})).optional()})}).meta({id:`ValidationError`,&#x22;x-visibility&#x22;:`external`}),zA=RA.extend({error:N({code:hk(LA.UNAUTHORIZED),message:hk(`Authentication required to access this resource`)})}).meta({id:`UnauthorizedError`,&#x22;x-visibility&#x22;:`external`}),Sie=RA.extend({error:N({code:hk(LA.FORBIDDEN),message:hk(`You do not have permission to access this resource`)})}).meta({id:`ForbiddenError`,&#x22;x-visibility&#x22;:`external`}),Cie=RA.extend({error:N({code:hk(LA.NOT_FOUND),message:j().describe(`Resource not found message`)})}).meta({id:`NotFoundError`,&#x22;x-visibility&#x22;:`external`});RA.extend({error:N({code:hk(LA.CONFLICT),message:hk(`Resource already exists`),details:N({id:j().describe(`Resource ID`)}).optional()})}).meta({id:`ConflictError`,&#x22;x-visibility&#x22;:`external`});var wie=RA.extend({error:N({code:hk(LA.RATE_LIMIT_EXCEEDED),message:hk(`Too many requests, please try again later`),details:N({limit:pO(),used:pO(),remaining:pO(),resetTime:KE().nullish()})})}).meta({id:`RateLimitError`,&#x22;x-visibility&#x22;:`external`}),Tie=RA.extend({error:N({code:hk(LA.SERVER_ERROR),message:j().describe(`Internal server error message`)})}).meta({id:`ServerError`,&#x22;x-visibility&#x22;:`external`}),BA={401:{description:`Authentication required`,content:{&#x22;application/json&#x22;:{schema:zA}}},403:{description:`Permission denied`,content:{&#x22;application/json&#x22;:{schema:Sie}}}},VA={500:{description:`Server error`,content:{&#x22;application/json&#x22;:{schema:Tie}}}},HA={400:{description:`Validation error`,content:{&#x22;application/json&#x22;:{schema:xie}}}},UA={404:{description:`Resource not found`,content:{&#x22;application/json&#x22;:{schema:Cie}}}},WA={429:{description:`Too many requests`,content:{&#x22;application/json&#x22;:{schema:wie}}}},I={getCollection:{...BA,...WA,...VA},getResource:{...BA,...WA,...UA,...VA},create:{...HA,...BA,...WA,...VA},update:{...HA,...BA,...WA,...UA,...VA},delete:{...BA,...WA,...UA,...VA}},Eie=oA(j_.PlainDateTime),L=oA(j_.PlainDateTime,{error:`Invalid PlainDateTime`}).or(j().regex(/^(?:(?:\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])))(?:T| )(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z)?)$/,`Invalid date format; should follow YYYY-MM-DD[T]HH:mm:ss[.SSS][Z] format`).pipe(yk((e,t)=>{try{return j_.PlainDateTime.from(e)}catch{return t.issues.push({code:`invalid_value`,message:`Invalid PlainDateTime`,input:e,values:[e]}),tv}}))),GA=P(X_),KA=N({offset:pO().int().min(1),limit:pO().int().min(1).max(100)}),Die=N({id:j().min(1),account_id:j().min(1),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})});function Oie(e){return KO({...e.shape}).omit({id:!0,created_at:!0,updated_at:!0})}function kie(e){return KO({...e.shape}).omit({id:!0,created_at:!0,updated_at:!0}).partial()}var Aie=N({pagination:KA}),qA=j().min(1).max(100).optional(),JA=YO([hk(`null`).transform(()=>null),j().min(1).max(100)]).optional(),YA=j().min(1).max(255).optional(),jie=YO([hk(`null`).transform(()=>null),j().min(1).max(255)]).optional(),XA=KO({offset:mA().int().min(0).default(0).optional(),limit:mA().int().min(1).max(100).default(10).optional(),sort_by:P([`created_at`,`updated_at`]).optional(),sort_order:P([`asc`,`desc`]).default(`asc`).optional()}),Mie=P(z_).meta({id:`CountryCode3`,&#x22;x-visibility&#x22;:`external`,description:`ISO 3166-1 alpha-3 country code`}),ZA=N({account_id:j(),formatted_address:j().nullish(),line_1:j(),line_2:j().nullish(),line_3:j().nullish(),postal_code:j(),city:j(),district:j().nullish(),region_code:j().nullish(),region:j().nullish(),country_code:Mie,country_name:j().nullish(),latitude:j().regex(/^-?\d+\.\d+$/).nullish(),longitude:j().regex(/^-?\d+\.\d+$/).nullish()}),QA=ZA.extend({id:j().min(1),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Address`,&#x22;x-visibility&#x22;:`external`}),Nie=N({addresses:M(QA),pagination:KA}).meta({id:`AddressListResponse`,&#x22;x-visibility&#x22;:`external`}),Pie=XA,$A=ZA.omit({account_id:!0}).meta({id:`CreateAddressRequest`,&#x22;x-visibility&#x22;:`external`}),Fie=ZA.omit({account_id:!0}).partial().strict().meta({id:`UpdateAddressRequest`,&#x22;x-visibility&#x22;:`external`}),Iie=[`miura_010`,`miura_006`,`miura_020`,`nyax_vpos`,`ingenico_ict250`,`ingenico_ipp350`,`bbpos_wisepad_2plus`,`bluepad_55`,`oti_saturn_6700_uno`,`pax_a920`,`ingenico_iself_iup250le`,`ingenico_iself_iur250`,`ingenico_iself_iuc150b`,`cpi_alio_1`,`bluepad_5000`,`cpi_echoice_one`,`ingenico_iuc180b`],ej=M(P(B_).meta({id:`CardholderVerificationMethod`,&#x22;x-visibility&#x22;:`external`})),tj=YO([P(Iie),j().regex(/^\d{3}$/,`Device code must be either a predefined code or a 3-digit numeric string`)]).nullish().meta({id:`CardPresentDeviceCode`,&#x22;x-visibility&#x22;:`external`,description:`Card present device code - either a predefined device model or an alphanumeric code`}),Lie=N({id:j().min(1),myhsm_atalla_keyblock:j().min(1).nullish(),myhsm_atalla_check_digits:j().min(1).nullish(),aws_id:j().min(1).nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Keyblock`,&#x22;x-visibility&#x22;:`internal`}),nj=N({id:j().min(1),account_id:j().min(1),acquirer:P(P_),acquirer_merchant_id:j().min(1).nullish(),acquirer_device_code:tj,immediate_setup_dynamic_terminal:xO().nullish(),acquirer_submerchant_address_id:j().min(1).nullish(),acquirer_submerchant_address:QA.nullish(),acquirer_submerchant_id:j().min(1).nullish(),acquirer_terminal_id:j().min(1).nullish(),supported_card_entry_modes:M(P(L_)).nullish(),supported_cvms:ej.nullish(),cvms_supporting_pre_approval:ej.nullish(),message_signature_key:j().min(1).nullish(),online_pin_supported:xO().nullish(),online_pin_parameters_id:j().min(1).nullish(),online_pin_parameters_version:j().min(1).nullish(),online_pin_zpk_index:j().min(1).nullish(),partial_approval_supported:xO().nullish(),target_pin_format:P(G_).nullish(),proxy_url:j().min(1).nullish(),nexo_cancellation_exchange:P(I_).nullish(),nexo_card_data_verification:xO().nullish(),nexo_completion_exchange_policy:P(R_).nullish(),nexo_financial_capture:P(V_).nullish(),nexo_host_message_to_send:M(P(W_)).nullish(),pin_request_supported:xO().nullish(),nexo_protect_card_data:xO().nullish(),nexo_mandatory_security_trailer:xO().nullish(),security_trailer_mac_algo:P(H_).nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Shift4ConfigInternal`,&#x22;x-visibility&#x22;:`internal`,description:&#x22;How we communicate with the actual acquirer; see the TMS `AcquirerProtocolParameters` specification for details.&#x22;}),rj=nj.omit({message_signature_key:!0,online_pin_parameters_id:!0,online_pin_parameters_version:!0,online_pin_zpk_index:!0,proxy_url:!0,acquirer_submerchant_address_id:!0,target_pin_format:!0}).meta({id:`Shift4Config`,&#x22;x-visibility&#x22;:`external`}),ij=rj.omit({id:!0,acquirer:!0,account_id:!0,created_at:!0,updated_at:!0,nexo_cancellation_exchange:!0,nexo_card_data_verification:!0,nexo_completion_exchange_policy:!0,nexo_financial_capture:!0,nexo_host_message_to_send:!0,nexo_protect_card_data:!0,nexo_mandatory_security_trailer:!0,security_trailer_mac_algo:!0}).meta({id:`Shift4ConfigEditable`,&#x22;x-visibility&#x22;:`external`,description:`Editable fields for the Shift4 configuration.`}),aj=N({id:j().min(1),account_id:j().min(1),acquirer:P(P_),acquirer_merchant_id:j().min(1).nullish(),acquirer_device_code:tj,immediate_setup_dynamic_terminal:xO().nullish(),acquirer_submerchant_address_id:j().min(1).nullish(),acquirer_submerchant_address:QA.nullish(),acquirer_submerchant_id:j().min(1).nullish(),acquirer_terminal_id:j().min(1).nullish(),supported_card_entry_modes:M(P(L_)).nullish(),supported_cvms:ej.nullish(),cvms_supporting_pre_approval:ej.nullish(),message_signature_key:j().min(1).nullish(),online_pin_supported:xO().nullish(),online_pin_parameters_id:j().min(1).nullish(),online_pin_parameters_version:j().min(1).nullish(),online_pin_zpk_index:j().min(1).nullish(),partial_approval_supported:xO().nullish(),target_pin_format:P(G_).nullish(),proxy_url:j().min(1).nullish(),nexo_cancellation_exchange:P(I_).nullish(),nexo_card_data_verification:xO().nullish(),nexo_completion_exchange_policy:P(R_).nullish(),nexo_financial_capture:P(V_).nullish(),nexo_host_message_to_send:M(P(W_)).nullish(),pin_request_supported:xO().nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Shift4AmexConfigInternal`,&#x22;x-visibility&#x22;:`internal`,description:&#x22;How we communicate with the Shift4 Amex acquirer; see the TMS `AcquirerProtocolParameters` specification for details.&#x22;}),oj=aj.omit({message_signature_key:!0,online_pin_parameters_id:!0,online_pin_parameters_version:!0,online_pin_zpk_index:!0,proxy_url:!0,acquirer_submerchant_address_id:!0,target_pin_format:!0}).meta({id:`Shift4AmexConfig`,&#x22;x-visibility&#x22;:`external`}),sj=oj.omit({id:!0,acquirer:!0,account_id:!0,created_at:!0,updated_at:!0,nexo_cancellation_exchange:!0,nexo_card_data_verification:!0,nexo_completion_exchange_policy:!0,nexo_financial_capture:!0,nexo_host_message_to_send:!0}).meta({id:`Shift4AmexConfigEditable`,&#x22;x-visibility&#x22;:`external`,description:`Editable fields for the Shift4 Amex configuration.`}),cj=N({id:j().min(1),account_id:j().min(1),acquirer:P(P_),acquirer_merchant_id:j().min(1).nullish(),acquirer_terminal_id:j().min(1).nullish(),amex_origin_name:j().min(1).nullish(),amex_region:P(F_).nullish().meta({description:`Amex-specific region code identifying where the merchant operates.`}),acquirer_merchant_category_code:j().min(1).nullish(),acquirer_merchant_name:j().min(1).nullish(),acquirer_merchant_address_id:j().min(1).nullish(),acquirer_merchant_address:QA.nullish(),acquirer_submerchant_id:j().min(1).nullish(),acquirer_submerchant_address_id:j().min(1).nullish(),acquirer_submerchant_address:QA.nullish(),routing_indicator:j().min(1).nullish().meta({description:`Optional Amex routing indicator, e.g. '000', '015'`}),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`AmericanExpressConfigInternal`,&#x22;x-visibility&#x22;:`internal`,description:`American Express direct connection configuration.`}),lj=cj.omit({acquirer_merchant_address_id:!0,acquirer_submerchant_address_id:!0}).meta({id:`AmericanExpressConfig`,&#x22;x-visibility&#x22;:`external`}),uj=lj.omit({id:!0,acquirer:!0,account_id:!0,created_at:!0,updated_at:!0}).meta({id:`AmericanExpressConfigEditable`,&#x22;x-visibility&#x22;:`external`,description:`Editable fields for the American Express configuration.`}),dj=N({id:j().min(1),version:j().min(1),name:j(),security_profile:P(Y_),digest:j().nullish(),digest_algorithm:j().nullish(),keyblock:Lie.nullish(),kcv:uO().min(6).max(8).nullish(),parameter_id:j().nullish(),parameter_version:j().nullish(),raw_value:j().nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`SecurityElement`,&#x22;x-visibility&#x22;:`internal`}),fj=N({id:j().min(1),version:j().min(1),elements:M(dj).nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`SecurityParameter`,&#x22;x-visibility&#x22;:`internal`,description:`A security parameter is a collection of security elements that are used to secure the POI itself and communications with it - see the Nexo TMS specification for details.`});N({id:j().min(1),version:j().min(1),address:DD().nullish(),derivation_identification:j().min(1).nullish(),key_id:j().min(1).nullish(),key_version:j().min(1).nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`HostCommunicationParameter`,&#x22;x-visibility&#x22;:`internal`,description:`A set of parameters that define how the POI communicates with the host (i.e. the Toro Gateway) - see the Nexo TMS specification for details.`});var pj=rA((e,t)=>{e.immediate_setup_dynamic_terminal===!0&&!e.acquirer_device_code&&t.addIssue({code:lA.invalid_type,expected:`string`,received:`undefined`,path:[`acquirer_device_code`],message:`acquirer_device_code is required when immediate_setup_dynamic_terminal is true`})});function mj(e,t){let n=t;for(let t of Object.keys(e))n[t]?typeof e[t]==`object`&&e[t]!==null&&!Array.isArray(e[t])&&(n[t]=mj(e[t],n[t])):n[t]??=e[t];return n}function hj(e,...t){return Object.fromEntries(t.map(t=>[t,e[t]]))}var gj=`<?xml version=&#x22;1.0&#x22; encoding=&#x22;UTF-8&#x22;?><Document xmlns:xsi=&#x22;http://www.w3.org/2001/XMLSchema-instance&#x22; xmlns=&#x22;urn:iso:std:iso:20022:tech:xsd:caaa.001.001.13&#x22;><AccptrAuthstnReq><Hdr><MsgFctn>FAUQ</MsgFctn><PrtcolVrsn>9.0</PrtcolVrsn><XchgId>90520452</XchgId><CreDtTm>2024-11-29T14:56:09.272Z</CreDtTm><InitgPty><Id>TEST_RUNNER</Id><Tp>OPOI</Tp><Issr>ACQR</Issr></InitgPty><RcptPty><Id>shift4</Id><Tp>ACQR</Tp></RcptPty></Hdr><AuthstnReq><Envt><Acqrr><Id><Id>9287351</Id><Tp>ACQR</Tp></Id><ParamsVrsn>2020-06-24 17:27:17</ParamsVrsn></Acqrr><Mrchnt><Id><Id>EPASMER001</Id></Id><CmonNm>EPASOrg Merchant 1</CmonNm><LctnCtgy>FIXD</LctnCtgy><LctnAndCtct><PstlAdr><TwnNm>Paris</TwnNm><CtryCd>FR</CtryCd></PstlAdr></LctnAndCtct></Mrchnt><POI><Id><Id>1</Id><Issr>ACQR</Issr></Id><SysNm>POI01</SysNm><Cpblties><CrdhldrVrfctnCpblties>FCPN</CrdhldrVrfctnCpblties><CrdhldrVrfctnCpblties>MNSG</CrdhldrVrfctnCpblties><CrdhldrVrfctnCpblties>FEPN</CrdhldrVrfctnCpblties><CrdhldrVrfctnCpblties>NPIN</CrdhldrVrfctnCpblties></Cpblties><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-OPDOL.CFG</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>Miura-V1-0</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-AACDOL.CFG</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>4CFF8077</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-ARQCDOL.CFG</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>EE42853D</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-TDOL.CFG</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>1.12</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-TCDOL.CFG</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>4CFF8077</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-TRMDOL.CFG</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>D44534B6</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-contactless.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>2319B45F</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-emv.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>27C419ED</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-MPI-Dynamic.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>CDM-1.5</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-P2PEDOL.CFG</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>Miura-1-2</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-ctls-prompts.txt</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>CHIPDNA-M020-2</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-numeric-entry.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>Miura-V1-2</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-battery.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts /></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-sred-mag.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>0.2</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-emv-data-validation.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>Miura-V1-4</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-capkeys.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>TESTCAPK-V2-26</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>APPR</Tp><SubTpInf>MPIConfig-tip-templates.cfg</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><VrsnNb>1.01</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>TERM</Tp><Id><PrvdrId>miura</PrvdrId><Id>M021-TEST01-V2-5</Id><SrlNb>21013809</SrlNb></Id></Cmpnt><Cmpnt><Tp>MDWR</Tp><SubTpInf>MPI</SubTpInf><Id><PrvdrId>miura</PrvdrId></Id><Sts><VrsnNb>1-58</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>OPST</Tp><SubTpInf>OS</SubTpInf><Id><PrvdrId>miura</PrvdrId></Id><Sts><VrsnNb>9-3</VrsnNb></Sts></Cmpnt><Cmpnt><Tp>SCPR</Tp><SubTpInf>PINKey</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><Sts>OPER</Sts></Sts></Cmpnt><Cmpnt><Tp>SCPR</Tp><SubTpInf>SREDKey</SubTpInf><Id><PrvdrId>ccs</PrvdrId></Id><Sts><Sts>OPER</Sts></Sts></Cmpnt></POI><Card><PrtctdCardData><CnttTp>EVLP</CnttTp><EnvlpdData><Rcpt><KEK><KEKId><KeyId>8a34b10507daf9800008</KeyId><KeyVrsn>0</KeyVrsn></KEKId><KeyNcrptnAlgo><Algo>DKP9</Algo></KeyNcrptnAlgo></KEK></Rcpt><NcrptdCntt><CnttTp>DATA</CnttTp><NcrptdData>ffff</NcrptdData></NcrptdCntt></EnvlpdData></PrtctdCardData></Card><Crdhldr><Authntcn><AuthntcnMtd>NPIN</AuthntcnMtd><CrdhldrOnLinePIN><NcrptdPINBlck><CnttTp>EVLP</CnttTp><EnvlpdData><Rcpt><KEK><KEKId><KeyId>bfce1a0507daf9800008</KeyId><KeyVrsn>0</KeyVrsn></KEKId><KeyNcrptnAlgo><Algo>DKP9</Algo></KeyNcrptnAlgo></KEK></Rcpt><NcrptdCntt><CnttTp>DATA</CnttTp><NcrptdData>889ce604b7955e8b</NcrptdData></NcrptdCntt></EnvlpdData></NcrptdPINBlck><PINFrmt>ISO1</PINFrmt></CrdhldrOnLinePIN></Authntcn></Crdhldr></Envt><Cntxt><PmtCntxt><CardPres>true</CardPres><CrdhldrPres>true</CrdhldrPres><AttndncCntxt>ATTD</AttndncCntxt><AttndntMsgCpbl>true</AttndntMsgCpbl><AttndntLang>fr</AttndntLang><CardDataNtryMd>CICC</CardDataNtryMd></PmtCntxt><SaleCntxt><SaleRcncltnId>392576591397</SaleRcncltnId></SaleCntxt></Cntxt><Tx><TxCaptr>true</TxCaptr><TxTp>CRDP</TxTp><MrchntCtgyCd>5411</MrchntCtgyCd><TxId><TxDtTm>2024-11-29T14:56:09.280Z</TxDtTm><TxRef>c790b5dedf7542c49956fbe368a52f6e</TxRef></TxId><RcncltnId>392576591397</RcncltnId><TxDtls><Ccy>GBP</Ccy><TtlAmt>3.00</TtlAmt><DtldAmt><Grtty>0.00</Grtty></DtldAmt><OnLineRsn>ICCF</OnLineRsn><ICCRltdData>ggIYAIQHoAAAAAMQEJUFgIAEgACaAyQRKZwBAF8qAggmnwIGAAAAAAMAnwMGAAAAAAAAnwkCAIyfEBcGARIDoAAADwBWSVNBTDNURVNUQ0FTRZ8aAggmnx4IMjExMDAyMjKfJghDVHE1bPCzYZ8nAYCfMwPg+MifNAMCAwCfNQEinzYCAAmfNwT+aD+pXzQBAQ==</ICCRltdData></TxDtls></Tx></AuthstnReq><SctyTrlr><CnttTp>AUTH</CnttTp><AuthntcdData><Rcpt><KeyIdr><KeyId>SpecV1TestKey</KeyId><KeyVrsn>1</KeyVrsn></KeyIdr></Rcpt><MACAlgo><Algo>CCA3</Algo></MACAlgo><NcpsltdCntt><CnttTp>DATA</CnttTp></NcpsltdCntt><MAC>WAnAR9u77UbzT0qd9k4ewA==</MAC></AuthntcdData></SctyTrlr></AccptrAuthstnReq></Document>`,_j={AcceptorAuthorisationRequest:{Header:{MessageFunction:`financial_authorisation_request`,ProtocolVersion:`9.0`,ExchangeIdentification:762758464801217,CreationDateTime:`2025-10-20T10:54:55Z`,InitiatingParty:{Identification:`50618838`,Type:`originating_poi`,Issuer:`acceptor`},RecipientParty:{Identification:`shift4`,Type:`acquirer`}},AuthorisationRequest:{Environment:{Acquirer:{Identification:{Identification:`shift4`}},Merchant:{Identification:{Identification:`EPASMER001`},CommonName:`commoner`,LocationCategory:`aboard`,LocationAndContact:{PostalAddress:{TownName:`Peel`,CountryCode:`GB`}}},POI:{Identification:{Identification:`50618838`,Geolocation:{GeographicCoordinates:{Latitude:`54.08953124836715`,Longitude:`-4.628986597339194`}}},SystemName:`M010-TEST502-V3-13`,Capabilities:{CardholderVerificationCapabilities:[`offline_pin_clear`,`online_pin`,`manual_signature`,`offline_pin_encrypted`]},Component:[{Type:`terminal`,Identification:{ProviderIdentification:`miura`,Identification:`M010-TEST502-V3-13`,SerialNumber:`50618838`}},{Type:`middleware`,SubTypeInformation:`MPI`,Identification:{ProviderIdentification:`miura`},Status:{VersionNumber:`1-68`}},{Type:`operating_system`,SubTypeInformation:`OS`,Identification:{ProviderIdentification:`miura`},Status:{VersionNumber:`9-7`}},{Type:`security_parameters`,SubTypeInformation:`dukpt_keys`,Identification:{ProviderIdentification:`ccs`},Status:{Status:`in_operation`},Characteristics:{SecurityElement:[{Identification:`SREDKey`,AdditionalIdentification:`v84aDBGHWiAAAA==`,Version:`0`,KeyCheckValue:`v84a`},{Identification:`PINKey`,AdditionalIdentification:`ijSxDBGHWiAAAA==`,Version:`0`,KeyCheckValue:`ijSx`}]}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-OPDOL.CFG`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`toro-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-AACDOL.CFG`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-ARQCDOL.CFG`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-TDOL.CFG`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-TCDOL.CFG`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-TRMDOL.CFG`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-contactless.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-emv.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-MPI-Dynamic.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`toro-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-P2PEDOL.CFG`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`toro-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-ctls-prompts.txt`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`mSdk-V0.1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-numeric-entry.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`Miura-V1-1`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-battery.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`Miura-V1-0`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-sred-mag.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`0.2`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-emv-data-validation.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`Miura-V2-2`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-capkeys.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`TESTCAPK-V2-26`}},{Type:`application_parameters`,SubTypeInformation:`MPIConfig-tip-templates.cfg`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`1.01`}},{Type:`middleware`,SubTypeInformation:`Toro-iOS-SDK`,Identification:{ProviderIdentification:`ccs`},Status:{VersionNumber:`0.1.6`}}]},Card:{ProtectedCardData:{ContentType:`enveloped_data`,EnvelopedData:{Recipient:[{KeyIdentifier:{KeyIdentification:`sred-key-id`,KeyVersion:`0`,DerivationIdentification:`v84aDBGHWiAAPQ==`}}],EncryptedContent:{ContentType:`plain_data`,EncryptedData:`55C432DEC6C6AEDD5C5E9DF25097A6651AE428BE74A81362`}}}},Cardholder:{Authentication:[{AuthenticationMethod:`unknown`}]}},Context:{PaymentContext:{CardPresent:!0,CardholderPresent:!0,AttendanceContext:`attended`,TransactionChannel:`mobile_pos`,CardDataEntryMode:`emv_proximity_reader`,FallbackIndicator:`no_fallback`,SupportedOption:[`pin_request`]}},Transaction:{TransactionCapture:!0,TransactionType:`card_payment`,MerchantCategoryCode:`1234`,SaleReferenceIdentification:`PUR-1760957687-204DE0FE`,TransactionIdentification:{TransactionDateTime:`2025-10-20T10:54:55Z`,TransactionReference:`856533429579`},InitiatorTransactionIdentification:`856533429579`,ReconciliationIdentification:`856533429579`,TransactionDetails:{Currency:`GBP`,TotalAmount:5,RequestedAmount:5,OnLineReason:[`floor_limit`],ICCRelatedData:`ggIAAIQHoAAAAAMQEJUFAAAAAACaAyUQIJwBAF8qAggmnwIGAAAAAAAFnwMGAAAAAAAAnwkCAAGfEAcGAQoDoAAAnxoCAFafHgg1MDYxODgzOJ8mCBSkD0veq24bnycBgJ8zA+D4SJ81ASKfNgIAAZ83BEDxdYdfNAEBn24EIHAAAE8HoAAAAAMQEFALVklTQSBDUkVESVQ=`}}},SecurityTrailer:{ContentType:`authenticated_data`,AuthenticatedData:{Recipient:[{KeyIdentifier:{KeyIdentification:`SpecV1TestKey`,KeyVersion:`1`}}],MACAlgorithm:{Algorithm:`cmac_aes256`},EncapsulatedContent:{ContentType:`plain_data`},MAC:`UKboQh/d+nM89Oy3D2gHKg==`}}}},vj=j_.PlainDateTime.from(`2025-01-01T00:00:00`).toString(),yj=j_.PlainDateTime.from(`2025-05-08T14:30:00`).toString(),R={creators:[{id:`usr_54321zyxwv`},{id:`usr_test_creator`},{id:`apik_12345abcde`},{id:`svc_12345abcde`}],account_invitations:[{id:`inv_12345abcde`,account_id:`acc_123abc`,creator_id:`usr_54321zyxwv`,email:`email_98765abcde@example.com`,expires_at:j_.PlainDateTime.from(`2025-12-31T23:59:59`).toString(),message:`Please join our account as an administrator`,created_at:vj,updated_at:yj}],account_memberships:[{id:`acm_12345abcde`,account_id:`acc_123abc`,user_id:`usr_54321zyxwv`,role_id:`rol_98765abcde`,invitation_id:`inv_12345abcde`,creator_id:`usr_54321zyxwv`,created_at:vj,updated_at:yj}],accounts:[{id:`acc_123abc`,name:`CabCard Services`,creator_id:`svc_12345abcde`,is_active:!0,created_at:vj,updated_at:yj},{id:`acc_123abc2`,name:`CabCard Services Test 2`,creator_id:`svc_12345abcde`,is_active:!0,created_at:vj,updated_at:yj}],shift4_configs:[{id:`acqp_12345abcde`,account_id:`acc_123abc`,acquirer:P_.SHIFT_4,acquirer_merchant_id:`123456789012345`,acquirer_terminal_id:`TERM12345`,acquirer_submerchant_id:`SUB123456`,acquirer_submerchant_address_id:`addr_12345abcde`,supported_card_entry_modes:[L_.MAGNETIC_STRIPE,L_.INTEGRATED_CIRCUIT_CARD,L_.EMV_PROXIMITY_READER],supported_cvms:[B_.ONLINE_PIN,B_.OFFLINE_PIN_ENCRYPTED,B_.MANUAL_SIGNATURE],cvms_supporting_pre_approval:[B_.MANUAL_VERIFICATION],message_signature_key:`ABCDEF1234567890`,online_pin_supported:!0,online_pin_parameters_id:`secp_12345abcde`,online_pin_parameters_version:`Initial - test only`,online_pin_zpk_index:`01`,partial_approval_supported:!0,target_pin_format:G_.ISO_0,proxy_url:`https://proxy.example.com/acquirer`,nexo_cancellation_exchange:I_.REQUEST,nexo_card_data_verification:!0,nexo_completion_exchange_policy:R_.ON_DEMAND,nexo_financial_capture:V_.COMPLETION,nexo_host_message_to_send:[W_.AUTHORISATION_REQUEST,W_.AUTHORISATION_RESPONSE,W_.COMPLETION_ADVICE],pin_request_supported:!0,acquirer_device_code:null,immediate_setup_dynamic_terminal:!1,created_at:vj,updated_at:yj},{id:`acqp_acc_2`,account_id:`acc_123abc2`,acquirer:P_.SHIFT_4,acquirer_merchant_id:`123456789012345`,acquirer_terminal_id:`TERM12345`,acquirer_submerchant_id:`SUB123456`,acquirer_submerchant_address_id:`addr_acc_2`,supported_card_entry_modes:[L_.MAGNETIC_STRIPE,L_.INTEGRATED_CIRCUIT_CARD,L_.EMV_PROXIMITY_READER],supported_cvms:[B_.ONLINE_PIN,B_.OFFLINE_PIN_ENCRYPTED,B_.MANUAL_SIGNATURE],cvms_supporting_pre_approval:[B_.MANUAL_VERIFICATION],message_signature_key:`ABCDEF1234567890`,online_pin_supported:!0,online_pin_parameters_id:`secp_12345abcde`,online_pin_parameters_version:`Initial - test only`,online_pin_zpk_index:`01`,partial_approval_supported:!0,target_pin_format:G_.ISO_0,proxy_url:`https://proxy.example.com/acquirer`,nexo_cancellation_exchange:I_.REQUEST,nexo_card_data_verification:!0,nexo_completion_exchange_policy:R_.ON_DEMAND,nexo_financial_capture:V_.COMPLETION,nexo_host_message_to_send:[W_.AUTHORISATION_REQUEST,W_.AUTHORISATION_RESPONSE,W_.COMPLETION_ADVICE],pin_request_supported:!0,acquirer_device_code:null,immediate_setup_dynamic_terminal:!1,created_at:vj,updated_at:yj}],shift4_amex_configs:[{id:`acqp_12345abcde`,account_id:`acc_123abc`,acquirer:P_.SHIFT_4_AMEX,acquirer_merchant_id:`123456789012345`,acquirer_terminal_id:`TERM12345`,acquirer_submerchant_id:`SUB123456`,acquirer_device_code:null,immediate_setup_dynamic_terminal:!1,acquirer_submerchant_address_id:`addr_12345abcde`,supported_card_entry_modes:[L_.MAGNETIC_STRIPE,L_.INTEGRATED_CIRCUIT_CARD,L_.EMV_PROXIMITY_READER],supported_cvms:[B_.ONLINE_PIN,B_.OFFLINE_PIN_ENCRYPTED,B_.MANUAL_SIGNATURE],cvms_supporting_pre_approval:[B_.MANUAL_VERIFICATION],message_signature_key:`ABCDEF1234567890`,online_pin_supported:!0,online_pin_parameters_id:`secp_12345abcde`,online_pin_parameters_version:`Initial - test only`,online_pin_zpk_index:`01`,partial_approval_supported:!0,target_pin_format:G_.ISO_0,proxy_url:`https://proxy.example.com/acquirer`,nexo_cancellation_exchange:I_.REQUEST,nexo_card_data_verification:!0,nexo_completion_exchange_policy:R_.ON_DEMAND,nexo_financial_capture:V_.COMPLETION,nexo_host_message_to_send:[W_.AUTHORISATION_REQUEST,W_.AUTHORISATION_RESPONSE,W_.COMPLETION_ADVICE],pin_request_supported:!0,created_at:vj,updated_at:yj}],addresses:[{account_id:`acc_123abc`,id:`addr_12345abcde`,line_1:`123 Main Street`,line_2:`Suite 456`,line_3:`Building A`,city:`San Francisco`,district:`California`,region:`California`,postal_code:`94105`,country_code:z_.USA,country_name:`United States`,latitude:`37.7749000`,longitude:`-122.4194000`,formatted_address:`blah blah blah`,created_at:vj,updated_at:yj},{account_id:`acc_123abc2`,id:`addr_acc_2`,line_1:`123 Main Street`,line_2:`Suite 456`,line_3:`Building A`,city:`San Francisco`,district:`California`,region:`California`,postal_code:`94105`,country_code:z_.USA,country_name:`United States`,latitude:`37.7749000`,longitude:`-122.4194000`,formatted_address:`blah blah blah`,created_at:vj,updated_at:yj}],api_keys:[{id:`apik_12345abcde`,account_id:`acc_123abc`,creator_id:`usr_54321zyxwv`,name:`Sandbox API Key`,description:`API key for Sandbox environment`,identifier:`iSr3hkTz`,token_hash:`f3c4db1b9861b71eb66a77afc299211e7734113dfcfd02399c2545ec2a428edb`,is_active:!0,expires_at:j_.PlainDateTime.from(`2099-12-31T23:59:59`).toString(),last_used_at:j_.PlainDateTime.from(`2025-05-08T10:15:30`).toString(),role_id:`rol_98765abcde`,created_at:vj,updated_at:yj}],configurations:[{id:`conf_12345abcde`,account_id:`acc_123abc`,toro_config_id:null,bambora_config_id:null,shift4_config_id:`acqp_12345abcde`,shift4_amex_config_id:null,american_express_config_id:`aec_12345abcde`,dba_name:`Acme Retail`,phone_number:`+447624123456`,host_communication_parameters_id:null,dukpt_keys_id:null,dukpt_keys_version:null,transaction_routing_rule_id:`trr_12345abcde`,created_at:vj,updated_at:yj},{id:`conf_accountDefault`,account_id:null,toro_config_id:`toro_test_config`,bambora_config_id:null,shift4_config_id:`acqp_12345abcde`,shift4_amex_config_id:null,dba_name:null,phone_number:`+447623000000`,host_communication_parameters_id:`hcpr_12345abcde`,dukpt_keys_id:`secp_12345abcde`,dukpt_keys_version:`For DUKPT testing`,transaction_routing_rule_id:`trr_12345abcde`,created_at:vj,updated_at:yj},{id:`conf_acc_2`,account_id:`acc_123abc2`,toro_config_id:null,bambora_config_id:null,shift4_config_id:`acqp_acc_2`,dba_name:`Acme Retail`,phone_number:null,host_communication_parameters_id:null,dukpt_keys_id:null,dukpt_keys_version:null,transaction_routing_rule_id:null,created_at:vj,updated_at:yj},{id:`conf_acc_2_Default`,account_id:null,toro_config_id:`toro_test_config`,bambora_config_id:null,shift4_config_id:`acqp_acc_2`,dba_name:null,phone_number:null,host_communication_parameters_id:`hcpr_12345abcde`,dukpt_keys_id:`secp_12345abcde`,dukpt_keys_version:`For DUKPT testing`,transaction_routing_rule_id:null,created_at:vj,updated_at:yj}],toro_configs:[{id:`toro_test_config`,nexo_host_message_to_send:[W_.AUTHORISATION_REQUEST,W_.AUTHORISATION_RESPONSE,W_.COMPLETION_ADVICE],nexo_completion_exchange_policy:R_.ON_DEMAND,nexo_cancellation_exchange:I_.REQUEST,nexo_financial_capture:V_.COMPLETION,nexo_protect_card_data:!0,nexo_card_data_verification:!0,nexo_mandatory_security_trailer:!0,security_trailer_mac_algo:H_.CMAC_AES_256,supported_cvms:[B_.ONLINE_PIN,B_.OFFLINE_PIN_ENCRYPTED,B_.MANUAL_SIGNATURE],cvms_supporting_pre_approval:[B_.MANUAL_VERIFICATION],supported_pin_formats:[G_.ISO_1,G_.ISO_2],supported_card_entry_modes:[L_.MAGNETIC_STRIPE,L_.INTEGRATED_CIRCUIT_CARD,L_.EMV_PROXIMITY_READER],partial_approval_supported:!0,pin_request_supported:!0,online_pin_supported:!0,created_at:vj,updated_at:yj}],default_configs:[{account_id:`acc_123abc`,configuration_id:`conf_accountDefault`,created_at:vj,updated_at:yj},{account_id:`acc_123abc2`,configuration_id:`conf_acc_2_Default`,created_at:vj,updated_at:yj}],host_communication_parameters:[{id:`hcpr_12345abcde`,url:`https://api.example.com/host`,derivation_identification:`ToroGatewayNexoV1PassphraseDevOnly`,key_id:`SpecV1TestKey`,key_version:`1`,created_at:vj,updated_at:yj}],keyblocks:[{id:`key_12345abcde`,myhsm_atalla_keyblock:`ATALLA_KEYBLOCK_ENCRYPTED_DATA`,myhsm_atalla_check_digits:`A1B2`,aws_id:`arn:partition:service:region:account-id:resource-id`,created_at:vj,updated_at:yj}],merchant_groups:[{id:`mgrp_12345abcde`,account_id:`acc_123abc`,configuration_id:`conf_12345abcde`,parent_group_id:null,created_at:vj,updated_at:yj},{id:`mgrp_parent`,account_id:`acc_123abc`,configuration_id:`conf_12345abcde`,parent_group_id:null,created_at:vj,updated_at:yj}],merchants:[{id:`merch_12345abcde`,account_id:`acc_123abc`,merchant_group_id:`mgrp_12345abcde`,address_id:`addr_12345abcde`,legal_name:`Acme Retail Inc.`,external_reference:`ACME123`,configuration_id:`conf_12345abcde`,is_active:!0,created_at:vj,updated_at:yj},{id:`merch_acc_2`,account_id:`acc_123abc2`,merchant_group_id:null,address_id:`addr_acc_2`,legal_name:`Acme Retail Inc.`,external_reference:`ACME123`,configuration_id:`conf_acc_2`,is_active:!0,created_at:vj,updated_at:yj},{id:`merch_abcde12345`,account_id:`acc_123abc`,merchant_group_id:`mgrp_12345abcde`,address_id:`addr_12345abcde`,legal_name:`Acme Retail Inc.`,external_reference:`ACME123`,configuration_id:`conf_12345abcde`,is_active:!0,created_at:vj,updated_at:yj}],message_groups:[{id:`msgr_12345abcde`,account_id:`acc_123abc`,merchant_id:`merch_12345abcde`,domain:U_.PAYMENT,transaction_status:null,acquirer:P_.SHIFT_4,created_at:vj,updated_at:yj},{id:`msgr_abcde12345`,account_id:`acc_123abc`,merchant_id:`merch_abcde12345`,domain:U_.TERMINAL_MANAGEMENT,transaction_status:null,acquirer:P_.SHIFT_4,created_at:vj,updated_at:yj},{id:`msgr_12345abcde_acc_2`,account_id:`acc_123abc2`,merchant_id:`merch_acc_2`,domain:U_.PAYMENT,transaction_status:null,acquirer:P_.SHIFT_4,created_at:vj,updated_at:yj}],messages:[{id:`msg_12345abcde`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,purpose:W_.AUTHORISATION_REQUEST,domain:U_.PAYMENT,header:{messageClass:`Service`,messageCategory:`Payment`,messageType:`Request`,serviceID:`123`},body:{paymentTransaction:{amountsReq:{currency:`GBP`,requestedAmount:100}}},trailer:{contentMAC:`ABC123DEF456`},raw_message:`<xml>Raw message content</xml>`,raw_acquirer_response:null,request_id:null,response_id:null,created_at:vj,updated_at:yj},{id:`msg_abcde12345`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,purpose:W_.AUTHORISATION_RESPONSE,domain:U_.PAYMENT,header:{messageClass:`Service`,messageCategory:`Payment`,messageType:`Request`,serviceID:`123`},body:{paymentTransaction:{amountsReq:{currency:`GBP`,requestedAmount:100}}},trailer:{contentMAC:`ABC123DEF456`},raw_message:`<xml>Raw message content</xml>`,raw_acquirer_response:null,request_id:null,response_id:null,created_at:vj,updated_at:yj},{id:`msg_12345abcde_acc_2`,message_group_id:`msgr_12345abcde_acc_2`,account_id:`acc_123abc2`,poi_id:`poi_12345abcde_acc_2`,merchant_id:`merch_acc_2`,purpose:W_.AUTHORISATION_REQUEST,domain:U_.PAYMENT,header:{messageClass:`Service`,messageCategory:`Payment`,messageType:`Request`,serviceID:`123`},body:{paymentTransaction:{amountsReq:{currency:`GBP`,requestedAmount:100}}},trailer:{contentMAC:`ABC123DEF456`},raw_message:`<xml>Raw message content</xml>`,raw_acquirer_response:null,request_id:null,response_id:null,created_at:vj,updated_at:yj},{id:`msg_abcde12345_acc_2`,message_group_id:`msgr_12345abcde_acc_2`,account_id:`acc_123abc2`,poi_id:`poi_12345abcde_acc_2`,merchant_id:`merch_acc_2`,purpose:W_.AUTHORISATION_RESPONSE,domain:U_.PAYMENT,header:{messageClass:`Service`,messageCategory:`Payment`,messageType:`Request`,serviceID:`123`},body:{paymentTransaction:{amountsReq:{currency:`GBP`,requestedAmount:100}}},trailer:{contentMAC:`ABC123DEF456`},raw_message:`<xml>Raw message content</xml>`,raw_acquirer_response:null,request_id:null,response_id:null,created_at:vj,updated_at:yj}],receipts:[{id:`rct_12345abcde`,sale_reference_id:`1234567890`,sale_reference_number:null,amount:1e4,authorised_amount:1e4,timestamp:vj,type:Q_.PURCHASE,payment_channel:q_.POS,gratuity_amount:0,currency:`GBP`,authorisation_code:`123456`,response_code:K_.APPROVED,response_reason:null,authentication_method:B_.ONLINE_PIN,additional_response_information:null,action_code:null,aid:null,application_label:null,payment_interface:null,pan_start:`4315`,pan_last_four:`2422`,recipient_transaction_id:null,initiator_transaction_id:null,transaction_reference:null,terminal_serial_number:null,signature_base64:null,longitude:null,latitude:null,created_at:vj,updated_at:yj,triggering_message_id:`msg_12345abcde`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,merchant_external_reference:null},{id:`rct_67890fghij`,sale_reference_id:`9876543210`,sale_reference_number:null,amount:4575,authorised_amount:4575,timestamp:j_.PlainDateTime.from(`2025-01-02T14:30:00`).toString(),type:Q_.PURCHASE,payment_channel:q_.POS,gratuity_amount:525,currency:`EUR`,authorisation_code:`789012`,response_code:K_.APPROVED,response_reason:`APPROVED`,authentication_method:B_.MANUAL_SIGNATURE,additional_response_information:`NFC payment successful`,action_code:`00`,aid:`A0000000031010`,application_label:`VISA DEBIT`,payment_interface:L_.PROXIMITY_READER,pan_start:`4532`,pan_last_four:`8901`,recipient_transaction_id:`RXN_COFFEE_001`,initiator_transaction_id:`TXN_CAFE_789`,transaction_reference:`REF_789012345`,terminal_serial_number:`T001234567`,signature_base64:null,longitude:`-0.1276`,latitude:`51.5074`,created_at:vj,updated_at:yj,triggering_message_id:`msg_abcde12345`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,merchant_external_reference:null},{id:`rct_abcde12345`,sale_reference_id:`REF_GROCERY_001`,sale_reference_number:null,amount:12750,authorised_amount:12e3,timestamp:j_.PlainDateTime.from(`2025-01-03T09:15:00`).toString(),type:Q_.PURCHASE,payment_channel:q_.POS,gratuity_amount:0,currency:`USD`,authorisation_code:`345678`,response_code:K_.PARTIALLY_APPROVED,response_reason:`PARTIAL APPROVAL`,authentication_method:B_.OFFLINE_PIN_ENCRYPTED,additional_response_information:`Insufficient funds - partial approval granted`,action_code:`01`,aid:`A0000000041010`,application_label:`MASTERCARD CREDIT`,payment_interface:L_.INTEGRATED_CIRCUIT_CARD,pan_start:`5555`,pan_last_four:`4444`,recipient_transaction_id:`GROCERY_TXN_001`,initiator_transaction_id:`STORE_345678`,transaction_reference:`PARTIAL_REF_001`,terminal_serial_number:`T987654321`,signature_base64:`iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==`,longitude:`-74.0060`,latitude:`40.7128`,created_at:vj,updated_at:yj,triggering_message_id:`msg_abcde12345`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,merchant_external_reference:null},{id:`rct_klmno67890`,sale_reference_id:`FUEL_STATION_999`,sale_reference_number:null,amount:8500,authorised_amount:0,timestamp:j_.PlainDateTime.from(`2025-01-04T18:45:00`).toString(),type:Q_.PURCHASE,payment_channel:q_.POS,gratuity_amount:0,currency:`GBP`,authorisation_code:null,response_code:K_.DECLINED,response_reason:`CARD DECLINED`,authentication_method:B_.MANUAL_SIGNATURE,additional_response_information:`Card expired - transaction declined`,action_code:`05`,aid:`A0000000031010`,application_label:`VISA CREDIT`,payment_interface:L_.MAGNETIC_STRIPE,pan_start:`4929`,pan_last_four:`0001`,recipient_transaction_id:`FUEL_999_DECLINED`,initiator_transaction_id:`PUMP_007_TXN`,transaction_reference:`DECLINED_REF_004`,terminal_serial_number:`T555666777`,signature_base64:null,longitude:`-2.2426`,latitude:`53.4808`,created_at:vj,updated_at:yj,triggering_message_id:`msg_abcde12345`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,merchant_external_reference:null},{id:`rct_pqrst54321`,sale_reference_id:`RESTAURANT_FINE`,sale_reference_number:null,amount:25e3,authorised_amount:25e3,timestamp:j_.PlainDateTime.from(`2025-01-05T20:30:00`).toString(),type:Q_.PURCHASE,payment_channel:q_.POS,gratuity_amount:3750,currency:`EUR`,authorisation_code:`901234`,response_code:K_.APPROVED,response_reason:`APPROVED`,authentication_method:B_.ONLINE_PIN,additional_response_information:`High-value transaction approved with PIN`,action_code:`00`,aid:`A0000000041010`,application_label:`MASTERCARD PLATINUM`,payment_interface:L_.INTEGRATED_CIRCUIT_CARD,pan_start:`5105`,pan_last_four:`1051`,recipient_transaction_id:`FINE_DINING_001`,initiator_transaction_id:`RESTAURANT_901234`,transaction_reference:`DINNER_REF_005`,terminal_serial_number:`T111222333`,signature_base64:`iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mNkYPhfDwABhwGA6/e6kgAAAABJRU5ErkJggg==`,longitude:`2.3522`,latitude:`48.8566`,created_at:vj,updated_at:yj,triggering_message_id:`msg_abcde12345`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,merchant_external_reference:null},{id:`rct_uvwxy98765`,sale_reference_id:`ONLINE_ORDER_777`,sale_reference_number:null,amount:2999,authorised_amount:2999,timestamp:j_.PlainDateTime.from(`2025-01-06T11:22:00`).toString(),type:Q_.PURCHASE,payment_channel:q_.ECOMMERCE,gratuity_amount:0,currency:`USD`,authorisation_code:`567890`,response_code:K_.APPROVED,response_reason:`APPROVED`,authentication_method:B_.OTHER,additional_response_information:`E-commerce transaction - 3DS verified`,action_code:`00`,aid:`A0000000025010`,application_label:`AMERICAN EXPRESS`,payment_interface:L_.ACCOUNT_DATA,pan_start:`3782`,pan_last_four:`8224`,recipient_transaction_id:`ECOM_777_SUCCESS`,initiator_transaction_id:`ONLINE_567890`,transaction_reference:`ECOM_REF_006`,terminal_serial_number:`VIRTUAL_001`,signature_base64:null,longitude:`-122.4194`,latitude:`37.7749`,created_at:vj,updated_at:yj,triggering_message_id:`msg_abcde12345`,message_group_id:`msgr_12345abcde`,account_id:`acc_123abc`,poi_id:`poi_12345abcde`,merchant_id:`merch_12345abcde`,merchant_external_reference:null}],poi_groups:[{id:`poig_12345abcde`,account_id:`acc_123abc`,configuration_id:`conf_12345abcde`,parent_group_id:null,created_at:vj,updated_at:yj}],pois:[{id:`poi_12345abcde`,account_id:`acc_123abc`,merchant_id:`merch_12345abcde`,model:`tmp_12345abcde`,configuration_id:`conf_12345abcde`,poi_group_id:`poig_12345abcde`,label_id:`TERM-123456`,manufacturer_id:`MANUF-789012`,location_id:`addr_12345abcde`,is_active:!0,type:q_.POS,created_at:vj,updated_at:yj},{id:`poi_abcde12345`,account_id:`acc_123abc`,merchant_id:`merch_12345abcde`,model:`tmp_12345abcde`,configuration_id:`conf_12345abcde`,poi_group_id:`poig_12345abcde`,label_id:`TERM-123456`,manufacturer_id:`MANUF-789013`,location_id:`addr_12345abcde`,is_active:!0,type:q_.POS,created_at:vj,updated_at:yj},{id:`poi_12345abcde_acc_2`,account_id:`acc_123abc2`,merchant_id:`merch_acc_2`,model:`tmp_12345abcde`,configuration_id:`conf_acc_2`,poi_group_id:null,label_id:`TERM-123456`,manufacturer_id:`MANUF-789014`,location_id:`addr_acc_2`,is_active:!0,type:q_.POS,created_at:vj,updated_at:yj},{id:`poi_without_merchant`,account_id:`acc_123abc`,merchant_id:null,model:`tmp_12345abcde`,configuration_id:`conf_12345abcde`,poi_group_id:`poig_12345abcde`,label_id:`TERM-123456`,manufacturer_id:`serial`,location_id:`addr_12345abcde`,is_active:!0,type:q_.POS,created_at:vj,updated_at:yj}],transaction_routing_rules:[{id:`trr_12345abcde`,account_id:`acc_123abc`,rule_id:`rule_12345abcde`,transaction_routing_strategy:X_.SORTED,created_at:vj,updated_at:yj}],rules:[{id:`rule_12345abcde`,account_id:`acc_123abc`,name:`Route to Shift4 for testing`,type:J_.TRANSACTION_ROUTING,description:`A rule that routes transactions to shift4 for testing`,current_version_id:`rlv_12345abcde`,created_at:vj,updated_at:yj}],rule_versions:[{id:`rlv_12345abcde`,rule_id:`rule_12345abcde`,account_id:`acc_123abc`,version:1,description:`Initial version`,definition:{ruleName:`AllowShift4`,actions:{onSuccess:{name:`ReturnObject`,context:{shift4:1}}}},creator_id:`usr_54321zyxwv`,created_at:vj,updated_at:yj}],roles:[{id:`rol_98765abcde`,account_id:`acc_123abc`,creator_id:`usr_54321zyxwv`,name:`Administrator`,description:`Full administrative access to everything`,permissions:[E.ACCOUNT_INVITATIONS_CREATE,E.ACCOUNT_INVITATIONS_DELETE,E.ACCOUNT_INVITATIONS_READ,E.ACCOUNT_INVITATIONS_UPDATE,E.ACCOUNT_MEMBERSHIPS_CREATE,E.ACCOUNT_MEMBERSHIPS_DELETE,E.ACCOUNT_MEMBERSHIPS_READ,E.ACCOUNT_MEMBERSHIPS_UPDATE,E.ACCOUNTS_CREATE,E.ACCOUNTS_DELETE,E.ACCOUNTS_READ,E.ACCOUNTS_UPDATE,E.ADDRESSES_CREATE,E.ADDRESSES_DELETE,E.ADDRESSES_READ,E.ADDRESSES_UPDATE,E.API_KEYS_CREATE,E.API_KEYS_DELETE,E.API_KEYS_READ,E.API_KEYS_UPDATE,E.CONFIGURATIONS_INTERNAL_CREATE,E.CONFIGURATIONS_INTERNAL_DELETE,E.CONFIGURATIONS_INTERNAL_READ,E.CONFIGURATIONS_INTERNAL_UPDATE,E.CONFIGURATIONS_PUBLIC_CREATE,E.CONFIGURATIONS_PUBLIC_DELETE,E.CONFIGURATIONS_PUBLIC_READ,E.CONFIGURATIONS_PUBLIC_UPDATE,E.MERCHANT_GROUPS_CREATE,E.MERCHANT_GROUPS_DELETE,E.MERCHANT_GROUPS_READ,E.MERCHANT_GROUPS_UPDATE,E.MERCHANTS_CREATE,E.MERCHANTS_DELETE,E.MERCHANTS_READ,E.MERCHANTS_UPDATE,E.MESSAGE_GROUPS_CREATE,E.MESSAGE_GROUPS_DELETE,E.MESSAGE_GROUPS_READ,E.MESSAGE_GROUPS_UPDATE,E.MESSAGES_CREATE,E.MESSAGES_DELETE,E.MESSAGES_READ,E.MESSAGES_UPDATE,E.POI_GROUPS_CREATE,E.POI_GROUPS_DELETE,E.POI_GROUPS_READ,E.POI_GROUPS_UPDATE,E.POIS_CREATE,E.POIS_DELETE,E.POIS_READ,E.POIS_UPDATE,E.ROLES_CREATE,E.ROLES_DELETE,E.ROLES_READ,E.ROLES_UPDATE,E.USERS_CREATE,E.USERS_DELETE,E.USERS_READ,E.USERS_UPDATE,E.WEBHOOK_ENDPOINTS_CREATE,E.WEBHOOK_ENDPOINTS_DELETE,E.WEBHOOK_ENDPOINTS_READ,E.WEBHOOK_ENDPOINTS_UPDATE,E.RECEIPTS_CREATE,E.RECEIPTS_DELETE,E.RECEIPTS_READ,E.RECEIPTS_UPDATE,E.APPLICATION_PARAMETERS_CREATE,E.APPLICATION_PARAMETERS_READ,E.APPLICATION_PARAMETERS_UPDATE,E.APPLICATION_PARAMETERS_DELETE,E.RULES_CREATE,E.RULES_READ,E.RULES_UPDATE,E.RULES_DELETE],created_at:vj,updated_at:yj},{id:`rol_test_service`,account_id:null,creator_id:`usr_54321zyxwv`,name:`Administrator Service`,description:`Full administrative access to everything`,permissions:[E.ACCOUNT_INVITATIONS_CREATE,E.ACCOUNT_INVITATIONS_DELETE,E.ACCOUNT_INVITATIONS_READ,E.ACCOUNT_INVITATIONS_UPDATE,E.ACCOUNT_MEMBERSHIPS_CREATE,E.ACCOUNT_MEMBERSHIPS_DELETE,E.ACCOUNT_MEMBERSHIPS_READ,E.ACCOUNT_MEMBERSHIPS_UPDATE,E.ACCOUNTS_CREATE,E.ACCOUNTS_DELETE,E.ACCOUNTS_READ,E.ACCOUNTS_UPDATE,E.ADDRESSES_CREATE,E.ADDRESSES_DELETE,E.ADDRESSES_READ,E.ADDRESSES_UPDATE,E.API_KEYS_CREATE,E.API_KEYS_DELETE,E.API_KEYS_READ,E.API_KEYS_UPDATE,E.CONFIGURATIONS_INTERNAL_CREATE,E.CONFIGURATIONS_INTERNAL_DELETE,E.CONFIGURATIONS_INTERNAL_READ,E.CONFIGURATIONS_INTERNAL_UPDATE,E.CONFIGURATIONS_PUBLIC_CREATE,E.CONFIGURATIONS_PUBLIC_DELETE,E.CONFIGURATIONS_PUBLIC_READ,E.CONFIGURATIONS_PUBLIC_UPDATE,E.MERCHANT_GROUPS_CREATE,E.MERCHANT_GROUPS_DELETE,E.MERCHANT_GROUPS_READ,E.MERCHANT_GROUPS_UPDATE,E.MERCHANTS_CREATE,E.MERCHANTS_DELETE,E.MERCHANTS_READ,E.MERCHANTS_UPDATE,E.MESSAGE_GROUPS_CREATE,E.MESSAGE_GROUPS_DELETE,E.MESSAGE_GROUPS_READ,E.MESSAGE_GROUPS_UPDATE,E.MESSAGES_CREATE,E.MESSAGES_DELETE,E.MESSAGES_READ,E.MESSAGES_UPDATE,E.POI_GROUPS_CREATE,E.POI_GROUPS_DELETE,E.POI_GROUPS_READ,E.POI_GROUPS_UPDATE,E.POIS_CREATE,E.POIS_DELETE,E.POIS_READ,E.POIS_UPDATE,E.ROLES_CREATE,E.ROLES_DELETE,E.ROLES_READ,E.ROLES_UPDATE,E.USERS_CREATE,E.USERS_DELETE,E.USERS_READ,E.USERS_UPDATE,E.WEBHOOK_ENDPOINTS_CREATE,E.WEBHOOK_ENDPOINTS_DELETE,E.WEBHOOK_ENDPOINTS_READ,E.WEBHOOK_ENDPOINTS_UPDATE,E.RECEIPTS_CREATE,E.RECEIPTS_DELETE,E.RECEIPTS_READ,E.RECEIPTS_UPDATE,E.APPLICATION_PARAMETERS_CREATE,E.APPLICATION_PARAMETERS_READ,E.APPLICATION_PARAMETERS_UPDATE,E.APPLICATION_PARAMETERS_DELETE,E.RULES_CREATE,E.RULES_READ,E.RULES_UPDATE,E.RULES_DELETE],created_at:vj,updated_at:yj},{id:`rol_other_account`,account_id:`acc_123abc2`,creator_id:`usr_54321zyxwv`,name:`Administrator`,description:`Same as the first role but in another account`,permissions:[E.ACCOUNT_INVITATIONS_CREATE,E.ACCOUNT_INVITATIONS_DELETE,E.ACCOUNT_INVITATIONS_READ,E.ACCOUNT_INVITATIONS_UPDATE,E.ACCOUNT_MEMBERSHIPS_CREATE,E.ACCOUNT_MEMBERSHIPS_DELETE,E.ACCOUNT_MEMBERSHIPS_READ,E.ACCOUNT_MEMBERSHIPS_UPDATE,E.ACCOUNTS_CREATE,E.ACCOUNTS_DELETE,E.ACCOUNTS_READ,E.ACCOUNTS_UPDATE,E.ADDRESSES_CREATE,E.ADDRESSES_DELETE,E.ADDRESSES_READ,E.ADDRESSES_UPDATE,E.API_KEYS_CREATE,E.API_KEYS_DELETE,E.API_KEYS_READ,E.API_KEYS_UPDATE,E.CONFIGURATIONS_INTERNAL_CREATE,E.CONFIGURATIONS_INTERNAL_DELETE,E.CONFIGURATIONS_INTERNAL_READ,E.CONFIGURATIONS_INTERNAL_UPDATE,E.CONFIGURATIONS_PUBLIC_CREATE,E.CONFIGURATIONS_PUBLIC_DELETE,E.CONFIGURATIONS_PUBLIC_READ,E.CONFIGURATIONS_PUBLIC_UPDATE,E.MERCHANT_GROUPS_CREATE,E.MERCHANT_GROUPS_DELETE,E.MERCHANT_GROUPS_READ,E.MERCHANT_GROUPS_UPDATE,E.MERCHANTS_CREATE,E.MERCHANTS_DELETE,E.MERCHANTS_READ,E.MERCHANTS_UPDATE,E.MESSAGE_GROUPS_CREATE,E.MESSAGE_GROUPS_DELETE,E.MESSAGE_GROUPS_READ,E.MESSAGE_GROUPS_UPDATE,E.MESSAGES_CREATE,E.MESSAGES_DELETE,E.MESSAGES_READ,E.MESSAGES_UPDATE,E.POI_GROUPS_CREATE,E.POI_GROUPS_DELETE,E.POI_GROUPS_READ,E.POI_GROUPS_UPDATE,E.POIS_CREATE,E.POIS_DELETE,E.POIS_READ,E.POIS_UPDATE,E.ROLES_CREATE,E.ROLES_DELETE,E.ROLES_READ,E.ROLES_UPDATE,E.USERS_CREATE,E.USERS_DELETE,E.USERS_READ,E.USERS_UPDATE,E.WEBHOOK_ENDPOINTS_CREATE,E.WEBHOOK_ENDPOINTS_DELETE,E.WEBHOOK_ENDPOINTS_READ,E.WEBHOOK_ENDPOINTS_UPDATE,E.RECEIPTS_CREATE,E.RECEIPTS_DELETE,E.RECEIPTS_READ,E.RECEIPTS_UPDATE,E.RULES_CREATE,E.RULES_READ,E.RULES_UPDATE,E.RULES_DELETE],created_at:vj,updated_at:yj}],security_elements:[{id:`sece_12345abcde`,name:`Terminal Encryption Key`,keyblock_id:`key_12345abcde`,digest:`DIGEST_HASH_VALUE`,digest_algorithm:`SHA256`,parameter_id:`secp_12345abcde`,parameter_version:`Initial - test only`,security_profile:Y_.TEST,version:`2.0`,kcv:`A1B2C3`,raw_value:null,created_at:vj,updated_at:yj},{id:`sece_2`,name:`Terminal Encryption Key`,keyblock_id:`key_12345abcde`,digest:`DIGEST_HASH_VALUE`,digest_algorithm:`SHA256`,parameter_id:`secp_12345abcde`,parameter_version:`For DUKPT testing`,security_profile:Y_.TEST,version:`2.0`,kcv:`A1B2C4`,raw_value:null,created_at:vj,updated_at:yj},{id:`sece_3`,name:`Terminal Encryption Key`,keyblock_id:`key_12345abcde`,digest:`DIGEST_HASH_VALUE`,digest_algorithm:`SHA256`,parameter_id:`secp_12345abcde`,parameter_version:`For DUKPT testing`,security_profile:Y_.TEST,version:`2.0`,kcv:`A1B2C5`,raw_value:null,created_at:vj,updated_at:yj}],security_parameters:[{id:`secp_12345abcde`,version:`Initial - test only`,created_at:vj,updated_at:yj},{id:`secp_12345abcde`,version:`For DUKPT testing`,created_at:vj,updated_at:yj}],services:[{id:`svc_12345abcde`,name:`Payment Processing Service`,allowed_ip_addresses:[`192.168.1.1`,`10.0.0.1/24`],current_access_secret_hash:`afaf1cb3796e984b9c919bdb5d11e9315e27363af0de06eccfcc72ea85697163b1cb3c062c475578b3de4f8c72034326`,current_access_secret_valid_from:j_.PlainDateTime.from(`2025-05-01T00:00:00`).toString(),previous_access_secret_hash:`PREVIOUS_HASHED_SECRET`,previous_access_secret_valid_from:j_.PlainDateTime.from(`2025-04-01T00:00:00`).toString(),role_id:`rol_test_service`,created_at:vj,updated_at:yj}],users:[{id:`usr_54321zyxwv`,email:`developers@cabcard.services`,name:`Jane Doe`,password_hash:`afaf1cb3796e984b9c919bdb5d11e9315e27363af0de06eccfcc72ea85697163b1cb3c062c475578b3de4f8c72034326`,is_active:!0,created_at:vj,updated_at:yj},{id:`usr_test_creator`,email:`testcreator@test.com`,name:`Test Creator User`,password_hash:`afaf1cb3796e984b9c919bdb5d11e9315e27363af0de06eccfcc72ea85697163b1cb3c062c475578b3de4f8c72034326`,is_active:!0,created_at:vj,updated_at:yj}],webhook_endpoints:[{id:`whe_12345abcde`,account_id:`acc_123abc`,name:`My Wonderful Webhook Endpoint`,url:`https://example.com/webhook`,event_types:[$_.RECEIPT_CREATED],is_active:!0,provider:ev.SVIX,provider_customer_id:`app_12345abcde`,provider_endpoint_id:`whe_12345abcde`,signing_secret_ciphertext:`ciphertext`,created_at:vj,updated_at:yj}],application_parameters:[{id:`appr_12345abcde`,account_id:`acc_123abc`,created_at:vj,updated_at:yj,parameters:[`bXkgbG92ZWx5IHBhcmFtZXRlcnM=`],application_id:`MPI`,version:`contactless.cfg#1.0.0`,configuration_id:`conf_12345abcde`}],american_express_configs:[{id:`aec_12345abcde`,account_id:`acc_123abc`,acquirer:P_.AMERICAN_EXPRESS,created_at:vj,updated_at:yj,acquirer_merchant_id:`1234567890`,acquirer_terminal_id:`TERM0001`,amex_origin_name:`TEST MERCHANT`,amex_region:F_.EMEA,acquirer_merchant_category_code:`5411`}]},bj={status:`ok`};function xj(e){let t=R.configurations.find(t=>t.id===e);if(!t)throw Error(`Config not found: ${e}`);let n=R.shift4_configs.find(e=>e.id===t.shift4_config_id);if(!n)throw Error(`Shift4Config not found: ${t.shift4_config_id}`);let r=R.addresses.find(e=>e.id===n.acquirer_submerchant_address_id)||R.addresses[0],i=R.transaction_routing_rules.find(e=>e.id===t.transaction_routing_rule_id)||null,a=i?R.rules.find(e=>e.id===i.rule_id):null,o=a?R.rule_versions.find(e=>e.id===a.current_version_id):null,s=`american_express_config_id`in t&&t.american_express_config_id?R.american_express_configs.find(e=>e.id===t.american_express_config_id)??null:null;return{id:t.id,account_id:t.account_id,dba_name:t.dba_name,phone_number:t.phone_number,shift4_config:{id:n.id,account_id:n.account_id,acquirer:n.acquirer,nexo_cancellation_exchange:n.nexo_cancellation_exchange,nexo_card_data_verification:n.nexo_card_data_verification,nexo_completion_exchange_policy:n.nexo_completion_exchange_policy,nexo_financial_capture:n.nexo_financial_capture,nexo_host_message_to_send:n.nexo_host_message_to_send,pin_request_supported:n.pin_request_supported,acquirer_merchant_id:n.acquirer_merchant_id,acquirer_device_code:n.acquirer_device_code,immediate_setup_dynamic_terminal:n.immediate_setup_dynamic_terminal,acquirer_submerchant_address:r,acquirer_submerchant_id:n.acquirer_submerchant_id,acquirer_terminal_id:n.acquirer_terminal_id,supported_card_entry_modes:n.supported_card_entry_modes,supported_cvms:n.supported_cvms,cvms_supporting_pre_approval:n.cvms_supporting_pre_approval,online_pin_supported:n.online_pin_supported,partial_approval_supported:n.partial_approval_supported,created_at:n.created_at,updated_at:n.updated_at},shift4_amex_config:null,american_express_config:s?{id:s.id,account_id:s.account_id,acquirer:s.acquirer,acquirer_merchant_id:s.acquirer_merchant_id??null,acquirer_terminal_id:s.acquirer_terminal_id??null,amex_origin_name:s.amex_origin_name??null,amex_region:s.amex_region??null,acquirer_merchant_category_code:s.acquirer_merchant_category_code??null,acquirer_merchant_name:null,acquirer_merchant_address:null,acquirer_submerchant_id:null,acquirer_submerchant_address:null,routing_indicator:null,created_at:s.created_at,updated_at:s.updated_at}:null,transaction_routing_rule_id:t.transaction_routing_rule_id,transaction_routing_rule:i?{...i,rule:{...a,current_version:o}}:null,created_at:t.created_at,updated_at:t.updated_at}}var Sj=xj(R.configurations[0].id),Cj={...Sj,toro_parameters:R.toro_configs[0]},{password_hash:Rie,...wj}=R.users[0],Tj={users:R.users.map(e=>{let{password_hash:t,...n}=e;return n}),pagination:{offset:0,limit:10}};[R.users[0]].map(({password_hash:e,...t})=>t);var{id:zie,created_at:Bie,updated_at:Vie,...Ej}=wj,Dj={...Ej,email:`uniqueman@email.com`},Oj={...wj,id:`usr_new`,email:`uniqueman@email.com`},kj={...wj},Aj={email:`email@cabcard.services`,name:`Jane Doe`,is_active:!0},jj={...wj,...Aj},Mj={accounts:R.accounts,pagination:{offset:0,limit:10}},{id:Hie,created_at:Uie,updated_at:Wie,creator_id:Gie,...Nj}=R.accounts[0],Pj={...Nj,name:`Test Account`},Fj={...R.accounts[0],id:`acc_new`,name:`Test Account`},Ij=R.accounts[0],Lj={name:`Updated Test Account`},Rj={...R.accounts[0],name:`Updated Test Account`},zj={memberships:[R.account_memberships[0]]},{id:Kie,created_at:qie,updated_at:Jie,account_id:Yie,creator_id:Xie,...Bj}=R.account_memberships[0],Vj={...Bj},Hj={...R.account_memberships[0],id:`acm_new`,account_id:R.accounts[0].id},Uj={...R.account_memberships[0]},Wj={...Bj},Gj={...R.account_memberships[0],account_id:R.accounts[0].id},Kj={invitations:[R.account_invitations[0]],pagination:{offset:0,limit:10}},{id:Zie,created_at:Qie,updated_at:$ie,account_id:eae,creator_id:tae,...qj}=R.account_invitations[0],Jj={...qj},Yj={...R.account_invitations[0],id:`inv_new`,account_id:R.accounts[0].id},Xj={...R.account_invitations[0]},Zj={email:`ezra_rojas_the_patched@email.co.uk`},Qj={...R.account_invitations[0],email:`ezra_rojas_the_patched@email.co.uk`},$j={roles:R.roles,pagination:{offset:0,limit:10}},{id:nae,created_at:rae,updated_at:iae,account_id:aae,creator_id:oae,...eM}=R.roles[0],tM={...eM,name:`Test Role`},nM={...R.roles[0],id:`rol_new`,name:`Test Role`},rM={...R.roles[0]},iM={name:`Test Role`},aM={...R.roles[0],name:`Test Role`},oM={merchants:R.merchants,pagination:{offset:0,limit:10}},{id:sae,created_at:cae,updated_at:lae,account_id:uae,...dae}=R.merchants[0],sM={...dae},cM={...R.merchants[0],id:`mer_new`,account_id:R.accounts[0].id},lM={...R.merchants[0]},fae={...R.merchants[0],id:`mer_new`,configuration:Sj};({...R.merchants[0]}),mj(xj(`conf_accountDefault`),Cj);var uM={legal_name:`Test McTesty`},dM={...R.merchants[0],legal_name:`Test McTesty`},pae={merchant_groups:R.merchant_groups,pagination:{offset:0,limit:10}},{id:mae,created_at:hae,updated_at:gae,account_id:_ae,...vae}=R.merchant_groups[0],yae={...vae},fM={...R.merchant_groups[0],id:`mgr_new`,account_id:R.accounts[0].id},bae={...R.merchant_groups[0]},xae={...R.merchant_groups[0],configuration:Sj};({...R.merchant_groups[0]}),mj(xj(`conf_accountDefault`),Cj);var pM={parent_group_id:fM.id},Sae={...R.merchant_groups[0],...pM},Cae={merchants:R.merchants.filter(e=>e.merchant_group_id===R.merchant_groups[0].id),pagination:{offset:0,limit:10}},wae={merchant_id:cM.id},Tae={pois:R.pois,pagination:{offset:0,limit:10}},{id:Eae,created_at:Dae,updated_at:Oae,account_id:kae,...Aae}=R.pois[0],mM={...Aae,manufacturer_id:`new-poi-123`},hM={...R.pois[0],id:`poi_new`,account_id:R.accounts[0].id},gM={...R.pois[0]},_M={...R.pois[0],configuration:Sj};({...R.pois[0]}),mj(xj(`conf_accountDefault`),Cj);var vM={label_id:`Test Terminal`},yM={...R.pois[0],label_id:`Test Terminal`},jae={poi_groups:[R.poi_groups[0]],pagination:{offset:0,limit:10}},{id:Mae,created_at:Nae,updated_at:Pae,account_id:Fae,...Iae}=R.poi_groups[0],Lae={...Iae},bM={...R.poi_groups[0],id:`pgr_new`,account_id:R.accounts[0].id},Rae={...R.poi_groups[0]},zae={...R.poi_groups[0],configuration:Sj};({...R.poi_groups[0]}),mj(xj(`conf_accountDefault`),Cj);var Bae={parent_group_id:bM.id},Vae={...R.poi_groups[0],parent_group_id:bM.id},Hae={pois:R.pois.filter(e=>e.poi_group_id===R.poi_groups[0].id),pagination:{offset:0,limit:10}},Uae={poi_id:hM.id},Wae={poi_id:hM.id,group_id:R.poi_groups[0].id};R.configurations[0].dba_name,R.configurations[0].phone_number,R.shift4_configs[0],R.configurations[0].created_at,R.configurations[0].updated_at,R.configurations[0].account_id;var Gae={configurations:R.configurations.map(e=>xj(e.id)),pagination:{offset:0,limit:10}},xM=hj(R.shift4_configs[0],...rj.keyof().options);delete xM.nexo_protect_card_data,delete xM.nexo_mandatory_security_trailer,delete xM.security_trailer_mac_algo;var{id:Kae,nexo_cancellation_exchange:qae,nexo_card_data_verification:Jae,nexo_completion_exchange_policy:Yae,nexo_financial_capture:Xae,nexo_host_message_to_send:Zae,pin_request_supported:Qae,nexo_protect_card_data:$ae,security_trailer_mac_algo:eoe,nexo_mandatory_security_trailer:toe,acquirer_submerchant_address:noe,created_at:roe,updated_at:ioe,account_id:aoe,...SM}={...xM,acquirer_submerchant_address:R.addresses[0]},ooe={...SM,id:`acqp_new`,acquirer_device_code:null,acquirer_submerchant_address:null,created_at:roe,updated_at:ioe},CM={dba_name:`Test Configuration Fragment`,phone_number:`+447624123456`,shift4_config:{...SM}},soe={...CM,id:`conf_new`,shift4_config:{account_id:R.shift4_configs[0].account_id,nexo_cancellation_exchange:null,nexo_card_data_verification:null,nexo_completion_exchange_policy:null,nexo_financial_capture:null,nexo_host_message_to_send:null,pin_request_supported:null,...ooe},shift4_amex_config:null,american_express_config:null,account_id:R.shift4_configs[0].account_id,transaction_routing_rule_id:null,transaction_routing_rule:null,created_at:R.configurations[0].created_at,updated_at:R.configurations[0].updated_at},coe={...Sj},loe={id:Cj.id,account_id:Cj.account_id,dba_name:Cj.dba_name,phone_number:Cj.phone_number,shift4_config:Cj.shift4_config,shift4_amex_config:null,american_express_config:Cj.american_express_config,transaction_routing_rule_id:Cj.transaction_routing_rule_id,transaction_routing_rule:Cj.transaction_routing_rule,created_at:Cj.created_at,updated_at:Cj.updated_at},uoe={dba_name:`Test Configuration Fragment`,phone_number:`+447624000000`},doe={...Sj,dba_name:`Test Configuration Fragment`,phone_number:`+447624000000`},{latitude:foe,longitude:poe,...moe}=R.addresses[0],wM={...moe,latitude:foe,longitude:poe},{online_pin_parameters_id:hoe,online_pin_parameters_version:goe,account_id:_oe,...voe}={...R.shift4_configs[0]},{rki_keys:yoe,dukpt_keys:boe,host_communication_parameters:xoe,...Soe}={account_id:R.pois[0].account_id,poi_id:R.pois[0].id,poi_is_active:R.pois[0].is_active,merchant_id:R.merchants[0].id,label_id:R.pois[0].label_id,manufacturer_poi_id:R.pois[0].manufacturer_id,location_id:R.pois[0].location_id,poi_location_address:wM,poi_group_id:R.pois[0].poi_group_id,merchant_external_reference:R.merchants[0].external_reference,merchant_is_active:R.merchants[0].is_active,legal_name:R.merchants[0].legal_name,dba_name:R.configurations[0].dba_name||R.configurations[1].dba_name,phone_number:R.configurations[0].phone_number||R.configurations[1].phone_number,merchant_address:wM,toro_config:R.toro_configs[0],shift4_config:{...voe,acquirer_submerchant_address:wM,online_pin_zpk_security_element:{...R.security_elements[0],keyblock:{...R.keyblocks[0]}}},shift4_amex_config:null,american_express_config:{...R.american_express_configs[0],acquirer_merchant_name:null,acquirer_merchant_address_id:null,acquirer_merchant_address:null,acquirer_submerchant_id:null,acquirer_submerchant_address_id:null,acquirer_submerchant_address:null,routing_indicator:null},dukpt_keys:{...R.security_parameters[1],elements:[{...R.security_elements[1],keyblock:{...R.keyblocks[0]}},{...R.security_elements[2],keyblock:{...R.keyblocks[0]}}]},rki_keys:null,host_communication_parameters:R.host_communication_parameters[0],application_parameters:R.application_parameters,transaction_routing_rule:Cj.transaction_routing_rule,created_at:R.configurations[0].created_at,updated_at:R.configurations[0].updated_at};({...Soe}),{...xM},R.american_express_configs[0].id,R.american_express_configs[0].account_id,R.american_express_configs[0].acquirer,R.american_express_configs[0].acquirer_merchant_id,R.american_express_configs[0].acquirer_terminal_id,R.american_express_configs[0].amex_origin_name,R.american_express_configs[0].amex_region,R.american_express_configs[0].acquirer_merchant_category_code,R.american_express_configs[0].created_at,R.american_express_configs[0].updated_at;var Coe={email:R.users[0].email,password:`PASSWORD_VALUE`,type:`user_refresh`},woe=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoidXNlcl9yZWZyZXNoIiwic3ViIjoidXNyXzU0MzIxenl4d3YiLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0IiwiYXVkIjoidG9yby1tYW5hZ2VtZW50LWFwaS12MSIsImlhdCI6MjAwMDAwMCwiZXhwIjoyNjA0Nzk5LCJqdGkiOiJ1dWlkIn0._zQyb9xbEjjudU59tVFI_CCmWBmk2WnSvMACMJIkCQQ`,Toe={type:`user_access`},Eoe=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoidXNlcl9hY2Nlc3MiLCJzdWIiOiJ1c3JfNTQzMjF6eXh3diIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3QiLCJhdWQiOiJ0b3JvLW1hbmFnZW1lbnQtYXBpLXYxIiwiaWF0IjoyMDAwMDAwLCJleHAiOjIwMDM2MDAsImp0aSI6InV1aWQiLCJzY29wZSI6InVzZXJzOnJlYWQgdXNlcnM6dXBkYXRlIGFjY291bnRfbWVtYmVyc2hpcHM6cmVhZCByb2xlczpyZWFkIn0.EafcFImJxGra-Sv9YMb2VxAyvF2Se6ScMbFxpv0xvh8`,Doe={role_id:R.roles[0].id,type:`role_access`};R.services[0].id;var Ooe=`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoicm9sZV9hY2Nlc3MiLCJzdWIiOiJyb2xfOTg3NjVhYmNkZSIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3QiLCJhdWQiOiJ0b3JvLW1hbmFnZW1lbnQtYXBpLXYxIiwiaWF0IjoyMDAwMDAwLCJleHAiOjIwMDM2MDAsImp0aSI6InV1aWQiLCJzY29wZSI6ImFjY291bnRfaW52aXRhdGlvbnM6Y3JlYXRlIGFjY291bnRfaW52aXRhdGlvbnM6ZGVsZXRlIGFjY291bnRfaW52aXRhdGlvbnM6cmVhZCBhY2NvdW50X2ludml0YXRpb25zOnVwZGF0ZSBhY2NvdW50X21lbWJlcnNoaXBzOmNyZWF0ZSBhY2NvdW50X21lbWJlcnNoaXBzOmRlbGV0ZSBhY2NvdW50X21lbWJlcnNoaXBzOnJlYWQgYWNjb3VudF9tZW1iZXJzaGlwczp1cGRhdGUgYWNjb3VudHM6Y3JlYXRlIGFjY291bnRzOmRlbGV0ZSBhY2NvdW50czpyZWFkIGFjY291bnRzOnVwZGF0ZSBhZGRyZXNzZXM6Y3JlYXRlIGFkZHJlc3NlczpkZWxldGUgYWRkcmVzc2VzOnJlYWQgYWRkcmVzc2VzOnVwZGF0ZSBhcGlfa2V5czpjcmVhdGUgYXBpX2tleXM6ZGVsZXRlIGFwaV9rZXlzOnJlYWQgYXBpX2tleXM6dXBkYXRlIGNvbmZpZ3VyYXRpb25zX2ludGVybmFsOmNyZWF0ZSBjb25maWd1cmF0aW9uc19pbnRlcm5hbDpkZWxldGUgY29uZmlndXJhdGlvbnNfaW50ZXJuYWw6cmVhZCBjb25maWd1cmF0aW9uc19pbnRlcm5hbDp1cGRhdGUgY29uZmlndXJhdGlvbnNfcHVibGljOmNyZWF0ZSBjb25maWd1cmF0aW9uc19wdWJsaWM6ZGVsZXRlIGNvbmZpZ3VyYXRpb25zX3B1YmxpYzpyZWFkIGNvbmZpZ3VyYXRpb25zX3B1YmxpYzp1cGRhdGUgbWVyY2hhbnRfZ3JvdXBzOmNyZWF0ZSBtZXJjaGFudF9ncm91cHM6ZGVsZXRlIG1lcmNoYW50X2dyb3VwczpyZWFkIG1lcmNoYW50X2dyb3Vwczp1cGRhdGUgbWVyY2hhbnRzOmNyZWF0ZSBtZXJjaGFudHM6ZGVsZXRlIG1lcmNoYW50czpyZWFkIG1lcmNoYW50czp1cGRhdGUgbWVzc2FnZV9ncm91cHM6Y3JlYXRlIG1lc3NhZ2VfZ3JvdXBzOmRlbGV0ZSBtZXNzYWdlX2dyb3VwczpyZWFkIG1lc3NhZ2VfZ3JvdXBzOnVwZGF0ZSBtZXNzYWdlczpjcmVhdGUgbWVzc2FnZXM6ZGVsZXRlIG1lc3NhZ2VzOnJlYWQgbWVzc2FnZXM6dXBkYXRlIHBvaV9ncm91cHM6Y3JlYXRlIHBvaV9ncm91cHM6ZGVsZXRlIHBvaV9ncm91cHM6cmVhZCBwb2lfZ3JvdXBzOnVwZGF0ZSBwb2lzOmNyZWF0ZSBwb2lzOmRlbGV0ZSBwb2lzOnJlYWQgcG9pczp1cGRhdGUgcm9sZXM6Y3JlYXRlIHJvbGVzOmRlbGV0ZSByb2xlczpyZWFkIHJvbGVzOnVwZGF0ZSB1c2VyczpjcmVhdGUgdXNlcnM6ZGVsZXRlIHVzZXJzOnJlYWQgdXNlcnM6dXBkYXRlIHdlYmhvb2tfZW5kcG9pbnRzOmNyZWF0ZSB3ZWJob29rX2VuZHBvaW50czpkZWxldGUgd2ViaG9va19lbmRwb2ludHM6cmVhZCB3ZWJob29rX2VuZHBvaW50czp1cGRhdGUgcmVjZWlwdHM6Y3JlYXRlIHJlY2VpcHRzOmRlbGV0ZSByZWNlaXB0czpyZWFkIHJlY2VpcHRzOnVwZGF0ZSBhcHBsaWNhdGlvbl9wYXJhbWV0ZXJzOmNyZWF0ZSBhcHBsaWNhdGlvbl9wYXJhbWV0ZXJzOnJlYWQgYXBwbGljYXRpb25fcGFyYW1ldGVyczp1cGRhdGUgYXBwbGljYXRpb25fcGFyYW1ldGVyczpkZWxldGUgcnVsZXM6Y3JlYXRlIHJ1bGVzOnJlYWQgcnVsZXM6dXBkYXRlIHJ1bGVzOmRlbGV0ZSIsImFjY291bnRfaWQiOiJhY2NfMTIzYWJjIiwiYWN0Ijp7InN1YiI6InVzcl81NDMyMXp5eHd2In19._b28-mAwnK-zHEtWdUeabuHWn1JW_zhfYvkyAsVmZl0`,TM={messages:R.messages.map(e=>({...e,acquirer:R.message_groups.find(t=>t.id===e.message_group_id).acquirer})),pagination:{offset:0,limit:10}},EM={account_id:R.accounts[0].id,purpose:W_.FINANCIAL_AUTHORISATION_REQUEST,domain:U_.PAYMENT,header:_j.AcceptorAuthorisationRequest.Header,body:_j.AcceptorAuthorisationRequest.AuthorisationRequest,trailer:_j.AcceptorAuthorisationRequest.SecurityTrailer,raw_message:gj,poi_id:R.pois[0].id,merchant_id:R.merchants[0].id,message_group_id:R.message_groups[0].id},koe={...EM,id:`msg_unique`,request_id:null,response_id:null,raw_acquirer_response:null,created_at:R.messages[0].created_at,updated_at:R.messages[0].updated_at},Aoe=R.messages[0];R.accounts[0].id,U_.PAYMENT,R.message_groups;var joe=R.message_groups[0],DM=R.message_groups[0];R.messages.filter(e=>e.message_group_id===R.message_groups[0].id).map(e=>({...e,acquirer:R.message_groups.find(t=>t.id===e.message_group_id).acquirer}));var OM={...R.addresses[0]},Moe={addresses:R.addresses,pagination:{offset:0,limit:10}},{id:Noe,created_at:Poe,updated_at:Foe,...kM}=R.addresses[0],Ioe={...kM},AM={...R.addresses[0],id:`adr_new`},jM={line_1:`Updated Line 1`,line_2:`Updated Line 2`,city:`Updated City`,postal_code:`12345`,country_code:z_.GBR},Loe={...R.addresses[0],...jM},{address_id:Roe,...zoe}=sM;({...zoe}),{...kM},{...cM},{...AM},{...uM},{...kM},{...dM},{...AM},{...lM},{...OM};var{location_id:Boe,...Voe}=mM;({...Voe}),{...kM},{...hM},{...AM},{...vM},{...kM},{...yM},{...AM},{...gM},{...OM},R.pois.map(e=>({...e,location:{...R.addresses.find(t=>t.id===e.location_id)}})),R.merchants.map(e=>({...e,address:{...R.addresses.find(t=>t.id===e.address_id)}}));var Hoe={name:`Test Webhook Endpoint`,url:`https://example.com/webhook`,event_types:[$_.RECEIPT_CREATED],is_active:!0},Uoe={name:`Updated Test Webhook Endpoint`},Woe={application_parameters:R.application_parameters,pagination:{offset:0,limit:10}},Goe={application_id:`MPI`,parameters:[`bXkgbG92ZWx5IHBhcmFtZXRlcnM=`],version:`contactless.cfg#1.0.0`,configuration_id:R.configurations[0].id},Koe={...R.application_parameters[0]},qoe={...R.application_parameters[0]},MM={version:`v2.0.0`,parameters:[`dXBkYXRlZCBwYXJhbWV0ZXJzIGRhdGE=`]},Joe={...R.application_parameters[0],version:MM.version,parameters:MM.parameters},NM={...R.rules[0],current_version:R.rule_versions[0]},Yoe={rules:R.rules.map(e=>({...e,current_version:R.rule_versions.find(t=>t.id===e.current_version_id)})),pagination:{limit:10,offset:0}},PM={name:`Test Rule`,description:`This is a test rule`,type:J_.TRANSACTION_ROUTING},Xoe={...PM,id:`rule_1`,account_id:R.accounts[0].id,current_version_id:null,current_version:null,created_at:vj,updated_at:yj},FM={name:`Updated Test Rule`,current_version_id:R.rule_versions[0].id},Zoe={...NM,...FM},Qoe={...R.rule_versions[0]},IM={rule_id:R.rules[0].id,description:`This is a test rule version`,definition:{actions:{onSuccess:{name:`ReturnObjectFromParamKeys`,context:{shift4:`Shift4Weight`,shift4_amex:`Shift4AmexWeight`}}},ruleName:`SchemeBasedRoutingShift4Only`,expression:`CardBrandIsAmex or CardBrandIsVisaOrMastercard`,localParams:[{name:`CardBrandIsAmex`,expression:`binLookupResult.cardBrand == &#x22;American Express&#x22;`},{name:`CardBrandIsVisaOrMastercard`,expression:`binLookupResult.cardBrand == &#x22;Visa&#x22; or binLookupResult.cardBrand == &#x22;Mastercard&#x22; or binLookupResult.cardBrand == &#x22;Maestro&#x22;`},{name:`Shift4Weight`,expression:`CardBrandIsVisaOrMastercard ? 1 : 0`},{name:`Shift4AmexWeight`,expression:`CardBrandIsAmex ? 1 : 0`}]}},$oe={...IM,id:`rule_version_1`,version:2,account_id:R.accounts[0].id,creator_id:R.users[0].id,created_at:vj,updated_at:yj},ese={rule_versions:R.rule_versions,pagination:{limit:10,offset:0}},LM=[{...R.transaction_routing_rules[0],rule:NM}],tse={...LM[0]},nse={transaction_routing_rules:LM,pagination:{limit:10,offset:0}},RM={transaction_routing_strategy:X_.WEIGHTED_RANDOM,rule_id:R.rules[0].id},zM={...RM,id:`transaction_routing_rule_1`,account_id:R.accounts[0].id,rule:NM,created_at:vj,updated_at:yj},BM={transaction_routing_strategy:X_.SORTED},rse={...zM,...BM},ise=N({status:j().min(1)}).meta({id:`StatusResponse`,&#x22;x-visibility&#x22;:`external`}),z=e=>({...e,&#x22;x-visibility&#x22;:`external`}),VM=e=>({...e,&#x22;x-visibility&#x22;:`internal`});function HM(e,t){return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,Object.fromEntries(Object.entries(n).map(([t,n])=>[t,{...n,tags:n.tags||[e]}]))]))}var ase=HM(`Status`,{&#x22;/status&#x22;:{get:z({summary:`Retrieve status`,&#x22;x-permissions&#x22;:[],responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:ise,examples:{&#x22;Successful Response&#x22;:{value:bj}}}}},...VA}})}}),UM=N({account_id:j().min(1),user_id:j().min(1),role_id:j().min(1),invitation_id:j().min(1).nullish(),creator_id:j().min(1).nullish()}),WM=N({...N({...UM.shape,id:j().min(1)}).shape,created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Membership`,&#x22;x-visibility&#x22;:`external`}),ose=N({memberships:M(WM)}).meta({id:`MembershipListResponse`,&#x22;x-visibility&#x22;:`external`}),sse=UM.omit({account_id:!0,creator_id:!0}).strict().meta({id:`CreateMembershipRequest`,&#x22;x-visibility&#x22;:`external`,required:[`account_id`,`user_id`,`role_id`]}),cse=UM.omit({account_id:!0,creator_id:!0}).partial().strict().meta({id:`UpdateMembershipRequest`,&#x22;x-visibility&#x22;:`external`}),GM=N({...Die.omit({account_id:!0}).shape,name:j().min(1),is_active:xO(),creator_id:j().min(1)}).meta({id:`Account`,&#x22;x-visibility&#x22;:`external`}),lse=N({accounts:M(GM),...Aie.shape}).meta({id:`AccountListResponse`,&#x22;x-visibility&#x22;:`external`}),use=N({...XA.shape,sort_by:P([`name`,`is_active`,`created_at`,`updated_at`]).optional(),name:j().min(1).max(255).optional(),is_active:P([`true`,`false`]).transform(e=>e===`true`).optional(),creator_id:j().min(1).max(100).optional()}).strict().meta({id:`AccountListQuery`,&#x22;x-visibility&#x22;:`external`}),dse=Oie(GM).omit({creator_id:!0}).meta({id:`CreateAccountRequest`,&#x22;x-visibility&#x22;:`external`}),fse=kie(GM).omit({creator_id:!0}).meta({id:`UpdateAccountRequest`,&#x22;x-visibility&#x22;:`external`}),KM=N({account_id:j().min(1).max(100).describe(`The account ID this API key belongs to`),name:j().min(1).max(255).describe(`A human-readable name for the API key`),description:j().min(1).max(255).nullish().describe(`Optional description of what this API key is used for`),role_id:j().min(1).max(100).describe(`The role ID that determines the permissions for this API key`),is_active:xO().describe(`Whether the API key is currently active and can be used`),expires_at:L.meta({type:`string`,minLength:1,format:`date-time`}).describe(`The date and time when this API key expires`),creator_id:j().min(1).nullish().describe(`The ID of the user who created this API key`)}).strict().extend({id:j().min(1).describe(`Unique identifier for the API key`),identifier:j().min(1).describe(`The short token used to identify the API key (visible in logs)`),token_hash:j().min(1).describe(`Hashed version of the long token used for authentication`),last_used_at:L.meta({type:`string`,minLength:1,format:`date-time`}).nullish().describe(`The date and time when this API key was last used`)}).extend({created_at:L.meta({type:`string`,minLength:1,format:`date-time`}).describe(`The date and time when this API key was created`),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`}).describe(`The date and time when this API key was last updated`)}).meta({id:`ApiKey`,&#x22;x-visibility&#x22;:`external`}).omit({token_hash:!0}).meta({id:`ApiKeyResponse`,&#x22;x-visibility&#x22;:`external`}),pse=KM.extend({key:j().min(1).describe(`The complete API key token (only shown once during creation)`)}).meta({id:`ApiKeyCreateResponse`,&#x22;x-visibility&#x22;:`external`});KO({...XA.shape,name:j().min(1).max(255).optional().describe(`Filter by API key name (partial match)`),is_active:P([`true`,`false`]).transform(e=>e===`true`).optional().describe(`Filter by active status`)});var mse=N({api_keys:M(KM),pagination:KA}).meta({id:`ApiKeyListResponse`,&#x22;x-visibility&#x22;:`external`}),hse=N({name:j().min(1).max(255).describe(`A human-readable name for the API key`),description:j().min(1).max(255).optional().describe(`Optional description of what this API key will be used for`),role_id:j().min(1).max(100).describe(`The role ID that will determine the permissions for this API key`),expires_at:L.meta({type:`string`,minLength:1,format:`date-time`}).describe(`The date and time when this API key should expire (must be in the future)`)}).strict().refine(e=>{let t=Temporal.PlainDateTime.from(e.expires_at),n=Temporal.Now.plainDateTimeISO();return Temporal.PlainDateTime.compare(t,n)>0},{message:`expires_at must be in the future`,path:[`expires_at`]}).meta({id:`CreateApiKeyRequest`,&#x22;x-visibility&#x22;:`external`,required:[`name`,`role_id`,`expires_at`]}),gse=N({name:j().min(1),description:j().min(1).nullish(),is_active:xO(),expires_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).partial().strict().refine(e=>{if(e.expires_at===void 0)return!0;let t=Temporal.PlainDateTime.from(e.expires_at),n=Temporal.Now.plainDateTimeISO();return Temporal.PlainDateTime.compare(t,n)>0},{message:`expires_at must be in the future`,path:[`expires_at`]}).meta({id:`UpdateApiKeyRequest`,&#x22;x-visibility&#x22;:`external`}),_se=c({Expression:()=>oN,Parser:()=>hN,default:()=>qN});function qM(e,t){this.type=e,this.value=t??0}function JM(e){return new qM(_N,e)}function YM(e){return new qM(vN,e)}function XM(e){return new qM(yN,e)}function ZM(e,t,n,r,i){for(var a=[],o=[],s,c,l,u,d=0;d<e.length;d++){var f=e[d],p=f.type;if(p===gN||p===xN)Array.isArray(f.value)?a.push.apply(a,ZM(f.value.map(function(e){return new qM(gN,e)}).concat(new qM(ON,f.value.length)),t,n,r,i)):a.push(f);else if(p===bN&&i.hasOwnProperty(f.value))f=new qM(gN,i[f.value]),a.push(f);else if(p===vN&&a.length>1)c=a.pop(),s=a.pop(),u=n[f.value],f=new qM(gN,u(s.value,c.value)),a.push(f);else if(p===yN&&a.length>2)l=a.pop(),c=a.pop(),s=a.pop(),f.value===`?`?a.push(s.value?c.value:l.value):(u=r[f.value],f=new qM(gN,u(s.value,c.value,l.value)),a.push(f));else if(p===_N&&a.length>0)s=a.pop(),u=t[f.value],f=new qM(gN,u(s.value)),a.push(f);else if(p===wN){for(;a.length>0;)o.push(a.shift());o.push(new qM(wN,ZM(f.value,t,n,r,i)))}else if(p===EN&&a.length>0)s=a.pop(),a.push(new qM(gN,s.value[f.value]));else{for(;a.length>0;)o.push(a.shift());o.push(f)}}for(;a.length>0;)o.push(a.shift());return o}function QM(e,t,n){for(var r=[],i=0;i<e.length;i++){var a=e[i],o=a.type;if(o===bN&&a.value===t)for(var s=0;s<n.tokens.length;s++){var c=n.tokens[s],l=c.type===_N?JM(c.value):c.type===vN?YM(c.value):c.type===yN?XM(c.value):new qM(c.type,c.value);r.push(l)}else o===wN?r.push(new qM(wN,QM(a.value,t,n))):r.push(a)}return r}function $M(e,t,n){var r=[],i,a,o,s,c,l;if(eN(e))return tN(e,n);for(var u=e.length,d=0;d<u;d++){var f=e[d],p=f.type;if(p===gN||p===xN)r.push(f.value);else if(p===vN)a=r.pop(),i=r.pop(),f.value===`and`?r.push(i?!!$M(a,t,n):!1):f.value===`or`?r.push(i?!0:!!$M(a,t,n)):f.value===`=`?(s=t.binaryOps[f.value],r.push(s(i,$M(a,t,n),n))):(s=t.binaryOps[f.value],r.push(s(tN(i,n),tN(a,n))));else if(p===yN)o=r.pop(),a=r.pop(),i=r.pop(),f.value===`?`?r.push($M(i?a:o,t,n)):(s=t.ternaryOps[f.value],r.push(s(tN(i,n),tN(a,n),tN(o,n))));else if(p===bN)if(f.value in t.functions)r.push(t.functions[f.value]);else if(f.value in t.unaryOps&&t.parser.isOperatorEnabled(f.value))r.push(t.unaryOps[f.value]);else{var m=n[f.value];if(m!==void 0)r.push(m);else throw Error(`undefined variable: `+f.value)}else if(p===_N)i=r.pop(),s=t.unaryOps[f.value],r.push(s(tN(i,n)));else if(p===SN){for(l=f.value,c=[];l-- >0;)c.unshift(tN(r.pop(),n));if(s=r.pop(),s.apply&&s.call)r.push(s.apply(void 0,c));else throw Error(s+` is not a function`)}else if(p===CN)r.push((function(){for(var e=r.pop(),i=[],a=f.value;a-- >0;)i.unshift(r.pop());var o=r.pop(),s=function(){for(var r=Object.assign({},n),a=0,o=i.length;a<o;a++)r[i[a]]=arguments[a];return $M(e,t,r)};return Object.defineProperty(s,`name`,{value:o,writable:!1}),n[o]=s,s})());else if(p===wN)r.push(vse(f,t));else if(p===TN)r.push(f);else if(p===EN)i=r.pop(),r.push(i[f.value]);else if(p===DN)r.pop();else if(p===ON){for(l=f.value,c=[];l-- >0;)c.unshift(r.pop());r.push(c)}else throw Error(`invalid Expression`)}if(r.length>1)throw Error(`invalid Expression (parity)`);return r[0]===0?0:tN(r[0],n)}function vse(e,t,n){return eN(e)?e:{type:TN,value:function(n){return $M(e.value,t,n)}}}function eN(e){return e&&e.type===TN}function tN(e,t){return eN(e)?e.value(t):e}function nN(e,t){for(var n=[],r,i,a,o,s,c,l=0;l<e.length;l++){var u=e[l],d=u.type;if(d===gN)typeof u.value==`number`&&u.value<0?n.push(`(`+u.value+`)`):Array.isArray(u.value)?n.push(`[`+u.value.map(rN).join(`, `)+`]`):n.push(rN(u.value));else if(d===vN)i=n.pop(),r=n.pop(),o=u.value,t?o===`^`?n.push(`Math.pow(`+r+`, `+i+`)`):o===`and`?n.push(`(!!`+r+` && !!`+i+`)`):o===`or`?n.push(`(!!`+r+` || !!`+i+`)`):o===`||`?n.push(`(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }((`+r+`),(`+i+`)))`):o===`==`?n.push(`(`+r+` === `+i+`)`):o===`!=`?n.push(`(`+r+` !== `+i+`)`):o===`[`?n.push(r+`[(`+i+`) | 0]`):n.push(`(`+r+` `+o+` `+i+`)`):o===`[`?n.push(r+`[`+i+`]`):n.push(`(`+r+` `+o+` `+i+`)`);else if(d===yN)if(a=n.pop(),i=n.pop(),r=n.pop(),o=u.value,o===`?`)n.push(`(`+r+` ? `+i+` : `+a+`)`);else throw Error(`invalid Expression`);else if(d===bN||d===xN)n.push(u.value);else if(d===_N)r=n.pop(),o=u.value,o===`-`||o===`+`?n.push(`(`+o+r+`)`):t?o===`not`?n.push(`(!`+r+`)`):o===`!`?n.push(`fac(`+r+`)`):n.push(o+`(`+r+`)`):o===`!`?n.push(`(`+r+`!)`):n.push(`(`+o+` `+r+`)`);else if(d===SN){for(c=u.value,s=[];c-- >0;)s.unshift(n.pop());o=n.pop(),n.push(o+`(`+s.join(`, `)+`)`)}else if(d===CN){for(i=n.pop(),c=u.value,s=[];c-- >0;)s.unshift(n.pop());r=n.pop(),t?n.push(`(`+r+` = function(`+s.join(`, `)+`) { return `+i+` })`):n.push(`(`+r+`(`+s.join(`, `)+`) = `+i+`)`)}else if(d===EN)r=n.pop(),n.push(r+`.`+u.value);else if(d===ON){for(c=u.value,s=[];c-- >0;)s.unshift(n.pop());n.push(`[`+s.join(`, `)+`]`)}else if(d===wN)n.push(`(`+nN(u.value,t)+`)`);else if(d!==DN)throw Error(`invalid Expression`)}return n.length>1&&(n=t?[n.join(`,`)]:[n.join(`;`)]),String(n[0])}function rN(e){return typeof e==`string`?JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`):e}function iN(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}function aN(e,t,n){n||={};for(var r=!!n.withMembers,i=null,a=0;a<e.length;a++){var o=e[a];o.type===bN||o.type===xN?!r&&!iN(t,o.value)?t.push(o.value):(i===null||iN(t,i)||t.push(i),i=o.value):o.type===EN&&r&&i!==null?i+=`.`+o.value:o.type===wN?aN(o.value,t,n):i!==null&&(iN(t,i)||t.push(i),i=null)}i!==null&&!iN(t,i)&&t.push(i)}function oN(e,t){this.tokens=e,this.parser=t,this.unaryOps=t.unaryOps,this.binaryOps=t.binaryOps,this.ternaryOps=t.ternaryOps,this.functions=t.functions}function sN(e,t,n){this.type=e,this.value=t,this.index=n}function cN(e,t){this.pos=0,this.current=null,this.unaryOps=e.unaryOps,this.binaryOps=e.binaryOps,this.ternaryOps=e.ternaryOps,this.consts=e.consts,this.expression=t,this.savedPosition=0,this.savedCurrent=null,this.options=e.options,this.parser=e}function lN(e,t,n){this.parser=e,this.tokens=t,this.current=null,this.nextToken=null,this.next(),this.savedCurrent=null,this.savedNextToken=null,this.allowMemberAccess=n.allowMemberAccess!==!1}function yse(e,t){return Number(e)+Number(t)}function bse(e,t){return e-t}function xse(e,t){return e*t}function Sse(e,t){return e/t}function Cse(e,t){return e%t}function wse(e,t){return Array.isArray(e)&&Array.isArray(t)?e.concat(t):``+e+t}function Tse(e,t){return e===t}function Ese(e,t){return e!==t}function Dse(e,t){return e>t}function Ose(e,t){return e<t}function kse(e,t){return e>=t}function Ase(e,t){return e<=t}function jse(e,t){return!!(e&&t)}function Mse(e,t){return!!(e||t)}function Nse(e,t){return iN(t,e)}function Pse(e){return(Math.exp(e)-Math.exp(-e))/2}function Fse(e){return(Math.exp(e)+Math.exp(-e))/2}function Ise(e){return e===1/0?1:e===-1/0?-1:(Math.exp(e)-Math.exp(-e))/(Math.exp(e)+Math.exp(-e))}function Lse(e){return e===-1/0?e:Math.log(e+Math.sqrt(e*e+1))}function Rse(e){return Math.log(e+Math.sqrt(e*e-1))}function zse(e){return Math.log((1+e)/(1-e))/2}function uN(e){return Math.log(e)*Math.LOG10E}function Bse(e){return-e}function Vse(e){return!e}function Hse(e){return e<0?Math.ceil(e):Math.floor(e)}function Use(e){return Math.random()*(e||1)}function dN(e){return fN(e+1)}function Wse(e){return isFinite(e)&&e===Math.round(e)}function fN(e){var t,n;if(Wse(e)){if(e<=0)return isFinite(e)?1/0:NaN;if(e>171)return 1/0;for(var r=e-2,i=e-1;r>1;)i*=r,r--;return i===0&&(i=1),i}if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*fN(1-e));if(e>=171.35)return 1/0;if(e>85){var a=e*e,o=a*e,s=o*e,c=s*e;return Math.sqrt(2*Math.PI/e)*(e/Math.E)**+e*(1+1/(12*e)+1/(288*a)-139/(51840*o)-571/(2488320*s)+163879/(209018880*c)+5246819/(75246796800*c*e))}--e,n=UN[0];for(var l=1;l<UN.length;++l)n+=UN[l]/(e+l);return t=e+HN+.5,Math.sqrt(2*Math.PI)*t**+(e+.5)*Math.exp(-t)*n}function Gse(e){return Array.isArray(e)?e.length:String(e).length}function pN(){for(var e=0,t=0,n=0;n<arguments.length;n++){var r=Math.abs(arguments[n]),i;t<r?(i=t/r,e=e*i*i+1,t=r):r>0?(i=r/t,e+=i*i):e+=r}return t===1/0?1/0:t*Math.sqrt(e)}function mN(e,t,n){return e?t:n}function Kse(e,t){return t===void 0||+t==0?Math.round(e):(e=+e,t=-+t,isNaN(e)||!(typeof t==`number`&&t%1==0)?NaN:(e=e.toString().split(`e`),e=Math.round(+(e[0]+`e`+(e[1]?+e[1]-t:-t))),e=e.toString().split(`e`),+(e[0]+`e`+(e[1]?+e[1]+t:t))))}function qse(e,t,n){return n&&(n[e]=t),t}function Jse(e,t){return e[t|0]}function Yse(e){return arguments.length===1&&Array.isArray(e)?Math.max.apply(Math,e):Math.max.apply(Math,arguments)}function Xse(e){return arguments.length===1&&Array.isArray(e)?Math.min.apply(Math,e):Math.min.apply(Math,arguments)}function Zse(e,t){if(typeof e!=`function`)throw Error(`First argument to map is not a function`);if(!Array.isArray(t))throw Error(`Second argument to map is not an array`);return t.map(function(t,n){return e(t,n)})}function Qse(e,t,n){if(typeof e!=`function`)throw Error(`First argument to fold is not a function`);if(!Array.isArray(n))throw Error(`Second argument to fold is not an array`);return n.reduce(function(t,n,r){return e(t,n,r)},t)}function $se(e,t){if(typeof e!=`function`)throw Error(`First argument to filter is not a function`);if(!Array.isArray(t))throw Error(`Second argument to filter is not an array`);return t.filter(function(t,n){return e(t,n)})}function ece(e,t){if(!(Array.isArray(t)||typeof t==`string`))throw Error(`Second argument to indexOf is not a string or array`);return t.indexOf(e)}function tce(e,t){if(!Array.isArray(t))throw Error(`Second argument to join is not an array`);return t.join(e)}function nce(e){return(e>0)-(e<0)||+e}function rce(e){return e<0?-((-e)**+WN):e**+WN}function ice(e){return Math.exp(e)-1}function ace(e){return Math.log(1+e)}function oce(e){return Math.log(e)/Math.LN2}function hN(e){this.options=e||{},this.unaryOps={sin:Math.sin,cos:Math.cos,tan:Math.tan,asin:Math.asin,acos:Math.acos,atan:Math.atan,sinh:Math.sinh||Pse,cosh:Math.cosh||Fse,tanh:Math.tanh||Ise,asinh:Math.asinh||Lse,acosh:Math.acosh||Rse,atanh:Math.atanh||zse,sqrt:Math.sqrt,cbrt:Math.cbrt||rce,log:Math.log,log2:Math.log2||oce,ln:Math.log,lg:Math.log10||uN,log10:Math.log10||uN,expm1:Math.expm1||ice,log1p:Math.log1p||ace,abs:Math.abs,ceil:Math.ceil,floor:Math.floor,round:Math.round,trunc:Math.trunc||Hse,&#x22;-&#x22;:Bse,&#x22;+&#x22;:Number,exp:Math.exp,not:Vse,length:Gse,&#x22;!&#x22;:dN,sign:Math.sign||nce},this.binaryOps={&#x22;+&#x22;:yse,&#x22;-&#x22;:bse,&#x22;*&#x22;:xse,&#x22;/&#x22;:Sse,&#x22;%&#x22;:Cse,&#x22;^&#x22;:Math.pow,&#x22;||&#x22;:wse,&#x22;==&#x22;:Tse,&#x22;!=&#x22;:Ese,&#x22;>&#x22;:Dse,&#x22;<&#x22;:Ose,&#x22;>=&#x22;:kse,&#x22;<=&#x22;:Ase,and:jse,or:Mse,in:Nse,&#x22;=&#x22;:qse,&#x22;[&#x22;:Jse},this.ternaryOps={&#x22;?&#x22;:mN},this.functions={random:Use,fac:dN,min:Xse,max:Yse,hypot:Math.hypot||pN,pyt:Math.hypot||pN,pow:Math.pow,atan2:Math.atan2,if:mN,gamma:fN,roundTo:Kse,map:Zse,fold:Qse,filter:$se,indexOf:ece,join:tce},this.consts={E:Math.E,PI:Math.PI,true:!0,false:!1}}function sce(e){return KN.hasOwnProperty(e)?KN[e]:e}var gN,_N,vN,yN,bN,xN,SN,CN,wN,TN,EN,DN,ON,kN,AN,jN,MN,NN,PN,FN,IN,LN,RN,zN,BN,VN,HN,UN,WN,GN,KN,qN,JN=o((()=>{gN=`INUMBER`,_N=`IOP1`,vN=`IOP2`,yN=`IOP3`,bN=`IVAR`,xN=`IVARNAME`,SN=`IFUNCALL`,CN=`IFUNDEF`,wN=`IEXPR`,TN=`IEXPREVAL`,EN=`IMEMBER`,DN=`IENDSTATEMENT`,ON=`IARRAY`,qM.prototype.toString=function(){switch(this.type){case gN:case _N:case vN:case yN:case bN:case xN:case DN:return this.value;case SN:return`CALL `+this.value;case CN:return`DEF `+this.value;case ON:return`ARRAY `+this.value;case EN:return`.`+this.value;default:return`Invalid Instruction`}},oN.prototype.simplify=function(e){return e||={},new oN(ZM(this.tokens,this.unaryOps,this.binaryOps,this.ternaryOps,e),this.parser)},oN.prototype.substitute=function(e,t){return t instanceof oN||(t=this.parser.parse(String(t))),new oN(QM(this.tokens,e,t),this.parser)},oN.prototype.evaluate=function(e){return e||={},$M(this.tokens,this,e)},oN.prototype.toString=function(){return nN(this.tokens,!1)},oN.prototype.symbols=function(e){e||={};var t=[];return aN(this.tokens,t,e),t},oN.prototype.variables=function(e){e||={};var t=[];aN(this.tokens,t,e);var n=this.functions;return t.filter(function(e){return!(e in n)})},oN.prototype.toJSFunction=function(e,t){var n=this,r=Function(e,`with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return `+nN(this.simplify(t).tokens,!0)+`; }`);return function(){return r.apply(n,arguments)}},kN=`TEOF`,AN=`TOP`,jN=`TNUMBER`,MN=`TSTRING`,NN=`TPAREN`,PN=`TBRACKET`,FN=`TCOMMA`,IN=`TNAME`,LN=`TSEMICOLON`,sN.prototype.toString=function(){return this.type+`: `+this.value},cN.prototype.newToken=function(e,t,n){return new sN(e,t,n??this.pos)},cN.prototype.save=function(){this.savedPosition=this.pos,this.savedCurrent=this.current},cN.prototype.restore=function(){this.pos=this.savedPosition,this.current=this.savedCurrent},cN.prototype.next=function(){if(this.pos>=this.expression.length)return this.newToken(kN,`EOF`);if(this.isWhitespace()||this.isComment())return this.next();if(this.isRadixInteger()||this.isNumber()||this.isOperator()||this.isString()||this.isParen()||this.isBracket()||this.isComma()||this.isSemicolon()||this.isNamedOp()||this.isConst()||this.isName())return this.current;this.parseError(`Unknown character &#x22;`+this.expression.charAt(this.pos)+`&#x22;`)},cN.prototype.isString=function(){var e=!1,t=this.pos,n=this.expression.charAt(t);if(n===`'`||n===`&#x22;`)for(var r=this.expression.indexOf(n,t+1);r>=0&&this.pos<this.expression.length;){if(this.pos=r+1,this.expression.charAt(r-1)!==`\\`){var i=this.expression.substring(t+1,r);this.current=this.newToken(MN,this.unescape(i),t),e=!0;break}r=this.expression.indexOf(n,r+1)}return e},cN.prototype.isParen=function(){var e=this.expression.charAt(this.pos);return e===`(`||e===`)`?(this.current=this.newToken(NN,e),this.pos++,!0):!1},cN.prototype.isBracket=function(){var e=this.expression.charAt(this.pos);return(e===`[`||e===`]`)&&this.isOperatorEnabled(`[`)?(this.current=this.newToken(PN,e),this.pos++,!0):!1},cN.prototype.isComma=function(){return this.expression.charAt(this.pos)===`,`?(this.current=this.newToken(FN,`,`),this.pos++,!0):!1},cN.prototype.isSemicolon=function(){return this.expression.charAt(this.pos)===`;`?(this.current=this.newToken(LN,`;`),this.pos++,!0):!1},cN.prototype.isConst=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||n!==`_`&&n!==`.`&&(n<`0`||n>`9`)))break}if(t>e){var r=this.expression.substring(e,t);if(r in this.consts)return this.current=this.newToken(jN,this.consts[r]),this.pos+=r.length,!0}return!1},cN.prototype.isNamedOp=function(){for(var e=this.pos,t=e;t<this.expression.length;t++){var n=this.expression.charAt(t);if(n.toUpperCase()===n.toLowerCase()&&(t===this.pos||n!==`_`&&(n<`0`||n>`9`)))break}if(t>e){var r=this.expression.substring(e,t);if(this.isOperatorEnabled(r)&&(r in this.binaryOps||r in this.unaryOps||r in this.ternaryOps))return this.current=this.newToken(AN,r),this.pos+=r.length,!0}return!1},cN.prototype.isName=function(){for(var e=this.pos,t=e,n=!1;t<this.expression.length;t++){var r=this.expression.charAt(t);if(r.toUpperCase()===r.toLowerCase()){if(t===this.pos&&(r===`$`||r===`_`)){r===`_`&&(n=!0);continue}else if(t===this.pos||!n||r!==`_`&&(r<`0`||r>`9`))break}else n=!0}if(n){var i=this.expression.substring(e,t);return this.current=this.newToken(IN,i),this.pos+=i.length,!0}return!1},cN.prototype.isWhitespace=function(){for(var e=!1,t=this.expression.charAt(this.pos);(t===` `||t===`	`||t===`&#xA;`||t===`\r`)&&(e=!0,this.pos++,!(this.pos>=this.expression.length));)t=this.expression.charAt(this.pos);return e},RN=/^[0-9a-f]{4}$/i,cN.prototype.unescape=function(e){var t=e.indexOf(`\\`);if(t<0)return e;for(var n=e.substring(0,t);t>=0;){var r=e.charAt(++t);switch(r){case`'`:n+=`'`;break;case`&#x22;`:n+=`&#x22;`;break;case`\\`:n+=`\\`;break;case`/`:n+=`/`;break;case`b`:n+=`\b`;break;case`f`:n+=`\f`;break;case`n`:n+=`&#xA;`;break;case`r`:n+=`\r`;break;case`t`:n+=`	`;break;case`u`:var i=e.substring(t+1,t+5);RN.test(i)||this.parseError(`Illegal escape sequence: \\u`+i),n+=String.fromCharCode(parseInt(i,16)),t+=4;break;default:throw this.parseError(`Illegal escape sequence: &#x22;\\`+r+`&#x22;`)}++t;var a=e.indexOf(`\\`,t);n+=e.substring(t,a<0?e.length:a),t=a}return n},cN.prototype.isComment=function(){return this.expression.charAt(this.pos)===`/`&&this.expression.charAt(this.pos+1)===`*`?(this.pos=this.expression.indexOf(`*/`,this.pos)+2,this.pos===1&&(this.pos=this.expression.length),!0):!1},cN.prototype.isRadixInteger=function(){var e=this.pos;if(e>=this.expression.length-2||this.expression.charAt(e)!==`0`)return!1;++e;var t,n;if(this.expression.charAt(e)===`x`)t=16,n=/^[0-9a-f]$/i,++e;else if(this.expression.charAt(e)===`b`)t=2,n=/^[01]$/i,++e;else return!1;for(var r=!1,i=e;e<this.expression.length;){var a=this.expression.charAt(e);if(n.test(a))e++,r=!0;else break}return r&&(this.current=this.newToken(jN,parseInt(this.expression.substring(i,e),t)),this.pos=e),r},cN.prototype.isNumber=function(){for(var e=!1,t=this.pos,n=t,r=t,i=!1,a=!1,o;t<this.expression.length&&(o=this.expression.charAt(t),o>=`0`&&o<=`9`||!i&&o===`.`);)o===`.`?i=!0:a=!0,t++,e=a;if(e&&(r=t),o===`e`||o===`E`){t++;for(var s=!0,c=!1;t<this.expression.length;){if(o=this.expression.charAt(t),s&&(o===`+`||o===`-`))s=!1;else if(o>=`0`&&o<=`9`)c=!0,s=!1;else break;t++}c||(t=r)}return e?(this.current=this.newToken(jN,parseFloat(this.expression.substring(n,t))),this.pos=t):this.pos=r,e},cN.prototype.isOperator=function(){var e=this.pos,t=this.expression.charAt(this.pos);if(t===`+`||t===`-`||t===`*`||t===`/`||t===`%`||t===`^`||t===`?`||t===`:`||t===`.`)this.current=this.newToken(AN,t);else if(t===`∙`||t===`•`)this.current=this.newToken(AN,`*`);else if(t===`>`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(AN,`>=`),this.pos++):this.current=this.newToken(AN,`>`);else if(t===`<`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(AN,`<=`),this.pos++):this.current=this.newToken(AN,`<`);else if(t===`|`)if(this.expression.charAt(this.pos+1)===`|`)this.current=this.newToken(AN,`||`),this.pos++;else return!1;else if(t===`=`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(AN,`==`),this.pos++):this.current=this.newToken(AN,t);else if(t===`!`)this.expression.charAt(this.pos+1)===`=`?(this.current=this.newToken(AN,`!=`),this.pos++):this.current=this.newToken(AN,t);else return!1;return this.pos++,this.isOperatorEnabled(this.current.value)?!0:(this.pos=e,!1)},cN.prototype.isOperatorEnabled=function(e){return this.parser.isOperatorEnabled(e)},cN.prototype.getCoordinates=function(){var e=0,t,n=-1;do e++,t=this.pos-n,n=this.expression.indexOf(`&#xA;`,n+1);while(n>=0&&n<this.pos);return{line:e,column:t}},cN.prototype.parseError=function(e){var t=this.getCoordinates();throw Error(`parse error [`+t.line+`:`+t.column+`]: `+e)},lN.prototype.next=function(){return this.current=this.nextToken,this.nextToken=this.tokens.next()},lN.prototype.tokenMatches=function(e,t){return t===void 0?!0:Array.isArray(t)?iN(t,e.value):typeof t==`function`?t(e):e.value===t},lN.prototype.save=function(){this.savedCurrent=this.current,this.savedNextToken=this.nextToken,this.tokens.save()},lN.prototype.restore=function(){this.tokens.restore(),this.current=this.savedCurrent,this.nextToken=this.savedNextToken},lN.prototype.accept=function(e,t){return this.nextToken.type===e&&this.tokenMatches(this.nextToken,t)?(this.next(),!0):!1},lN.prototype.expect=function(e,t){if(!this.accept(e,t)){var n=this.tokens.getCoordinates();throw Error(`parse error [`+n.line+`:`+n.column+`]: Expected `+(t||e))}},lN.prototype.parseAtom=function(e){var t=this.tokens.unaryOps;function n(e){return e.value in t}if(this.accept(IN)||this.accept(AN,n))e.push(new qM(bN,this.current.value));else if(this.accept(jN))e.push(new qM(gN,this.current.value));else if(this.accept(MN))e.push(new qM(gN,this.current.value));else if(this.accept(NN,`(`))this.parseExpression(e),this.expect(NN,`)`);else if(this.accept(PN,`[`))if(this.accept(PN,`]`))e.push(new qM(ON,0));else{var r=this.parseArrayList(e);e.push(new qM(ON,r))}else throw Error(`unexpected `+this.nextToken)},lN.prototype.parseExpression=function(e){var t=[];this.parseUntilEndStatement(e,t)||(this.parseVariableAssignmentExpression(t),!this.parseUntilEndStatement(e,t)&&this.pushExpression(e,t))},lN.prototype.pushExpression=function(e,t){for(var n=0,r=t.length;n<r;n++)e.push(t[n])},lN.prototype.parseUntilEndStatement=function(e,t){return this.accept(LN)?(this.nextToken&&this.nextToken.type!==kN&&!(this.nextToken.type===NN&&this.nextToken.value===`)`)&&t.push(new qM(DN)),this.nextToken.type!==kN&&this.parseExpression(t),e.push(new qM(wN,t)),!0):!1},lN.prototype.parseArrayList=function(e){for(var t=0;!this.accept(PN,`]`);)for(this.parseExpression(e),++t;this.accept(FN);)this.parseExpression(e),++t;return t},lN.prototype.parseVariableAssignmentExpression=function(e){for(this.parseConditionalExpression(e);this.accept(AN,`=`);){var t=e.pop(),n=[],r=e.length-1;if(t.type===SN){if(!this.tokens.isOperatorEnabled(`()=`))throw Error(`function definition is not permitted`);for(var i=0,a=t.value+1;i<a;i++){var o=r-i;e[o].type===bN&&(e[o]=new qM(xN,e[o].value))}this.parseVariableAssignmentExpression(n),e.push(new qM(wN,n)),e.push(new qM(CN,t.value));continue}if(t.type!==bN&&t.type!==EN)throw Error(`expected variable for assignment`);this.parseVariableAssignmentExpression(n),e.push(new qM(xN,t.value)),e.push(new qM(wN,n)),e.push(YM(`=`))}},lN.prototype.parseConditionalExpression=function(e){for(this.parseOrExpression(e);this.accept(AN,`?`);){var t=[],n=[];this.parseConditionalExpression(t),this.expect(AN,`:`),this.parseConditionalExpression(n),e.push(new qM(wN,t)),e.push(new qM(wN,n)),e.push(XM(`?`))}},lN.prototype.parseOrExpression=function(e){for(this.parseAndExpression(e);this.accept(AN,`or`);){var t=[];this.parseAndExpression(t),e.push(new qM(wN,t)),e.push(YM(`or`))}},lN.prototype.parseAndExpression=function(e){for(this.parseComparison(e);this.accept(AN,`and`);){var t=[];this.parseComparison(t),e.push(new qM(wN,t)),e.push(YM(`and`))}},zN=[`==`,`!=`,`<`,`<=`,`>=`,`>`,`in`],lN.prototype.parseComparison=function(e){for(this.parseAddSub(e);this.accept(AN,zN);){var t=this.current;this.parseAddSub(e),e.push(YM(t.value))}},BN=[`+`,`-`,`||`],lN.prototype.parseAddSub=function(e){for(this.parseTerm(e);this.accept(AN,BN);){var t=this.current;this.parseTerm(e),e.push(YM(t.value))}},VN=[`*`,`/`,`%`],lN.prototype.parseTerm=function(e){for(this.parseFactor(e);this.accept(AN,VN);){var t=this.current;this.parseFactor(e),e.push(YM(t.value))}},lN.prototype.parseFactor=function(e){var t=this.tokens.unaryOps;function n(e){return e.value in t}if(this.save(),this.accept(AN,n)){if(this.current.value!==`-`&&this.current.value!==`+`){if(this.nextToken.type===NN&&this.nextToken.value===`(`){this.restore(),this.parseExponential(e);return}else if(this.nextToken.type===LN||this.nextToken.type===FN||this.nextToken.type===kN||this.nextToken.type===NN&&this.nextToken.value===`)`){this.restore(),this.parseAtom(e);return}}var r=this.current;this.parseFactor(e),e.push(JM(r.value))}else this.parseExponential(e)},lN.prototype.parseExponential=function(e){for(this.parsePostfixExpression(e);this.accept(AN,`^`);)this.parseFactor(e),e.push(YM(`^`))},lN.prototype.parsePostfixExpression=function(e){for(this.parseFunctionCall(e);this.accept(AN,`!`);)e.push(JM(`!`))},lN.prototype.parseFunctionCall=function(e){var t=this.tokens.unaryOps;function n(e){return e.value in t}if(this.accept(AN,n)){var r=this.current;this.parseAtom(e),e.push(JM(r.value))}else for(this.parseMemberExpression(e);this.accept(NN,`(`);)if(this.accept(NN,`)`))e.push(new qM(SN,0));else{var i=this.parseArgumentList(e);e.push(new qM(SN,i))}},lN.prototype.parseArgumentList=function(e){for(var t=0;!this.accept(NN,`)`);)for(this.parseExpression(e),++t;this.accept(FN);)this.parseExpression(e),++t;return t},lN.prototype.parseMemberExpression=function(e){for(this.parseAtom(e);this.accept(AN,`.`)||this.accept(PN,`[`);){var t=this.current;if(t.value===`.`){if(!this.allowMemberAccess)throw Error(`unexpected &#x22;.&#x22;, member access is not permitted`);this.expect(IN),e.push(new qM(EN,this.current.value))}else if(t.value===`[`){if(!this.tokens.isOperatorEnabled(`[`))throw Error(`unexpected &#x22;[]&#x22;, arrays are disabled`);this.parseExpression(e),this.expect(PN,`]`),e.push(YM(`[`))}else throw Error(`unexpected symbol: `+t.value)}},HN=4.7421875,UN=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22],WN=1/3,hN.prototype.parse=function(e){var t=[],n=new lN(this,new cN(this,e),{allowMemberAccess:this.options.allowMemberAccess});return n.parseExpression(t),n.expect(kN,`EOF`),new oN(t,this)},hN.prototype.evaluate=function(e,t){return this.parse(e).evaluate(t)},GN=new hN,hN.parse=function(e){return GN.parse(e)},hN.evaluate=function(e,t){return GN.parse(e).evaluate(t)},KN={&#x22;+&#x22;:`add`,&#x22;-&#x22;:`subtract`,&#x22;*&#x22;:`multiply`,&#x22;/&#x22;:`divide`,&#x22;%&#x22;:`remainder`,&#x22;^&#x22;:`power`,&#x22;!&#x22;:`factorial`,&#x22;<&#x22;:`comparison`,&#x22;>&#x22;:`comparison`,&#x22;<=&#x22;:`comparison`,&#x22;>=&#x22;:`comparison`,&#x22;==&#x22;:`comparison`,&#x22;!=&#x22;:`comparison`,&#x22;||&#x22;:`concatenate`,and:`logical`,or:`logical`,not:`logical`,&#x22;?&#x22;:`conditional`,&#x22;:&#x22;:`conditional`,&#x22;=&#x22;:`assignment`,&#x22;[&#x22;:`array`,&#x22;()=&#x22;:`fndef`},hN.prototype.isOperatorEnabled=function(e){var t=sce(e),n=this.options.operators||{};return!(t in n)||!!n[t]},qN={Parser:hN,Expression:oN}})),YN=s(((e,t)=>{(function(){var n,r=`4.18.1`,i=200,a=`Unsupported core-js use. Try https://npms.io/search?q=ponyfill.`,o=`Expected a function`,s=&#x22;Invalid `variable` option passed into `_.template`&#x22;,c=&#x22;Invalid `imports` option passed into `_.template`&#x22;,l=`__lodash_hash_undefined__`,u=500,d=`__lodash_placeholder__`,f=1,p=2,m=4,h=1,g=2,_=1,v=2,y=4,b=8,x=16,S=32,C=64,ee=128,te=256,ne=512,re=30,ie=`...`,ae=800,oe=16,se=1,ce=2,le=3,ue=1/0,de=9007199254740991,fe=17976931348623157e292,pe=NaN,me=4294967295,he=me-1,ge=me>>>1,_e=[[`ary`,ee],[`bind`,_],[`bindKey`,v],[`curry`,b],[`curryRight`,x],[`flip`,ne],[`partial`,S],[`partialRight`,C],[`rearg`,te]],ve=`[object Arguments]`,ye=`[object Array]`,be=`[object AsyncFunction]`,xe=`[object Boolean]`,Se=`[object Date]`,Ce=`[object DOMException]`,we=`[object Error]`,Te=`[object Function]`,Ee=`[object GeneratorFunction]`,De=`[object Map]`,Oe=`[object Number]`,ke=`[object Null]`,Ae=`[object Object]`,je=`[object Promise]`,Me=`[object Proxy]`,Ne=`[object RegExp]`,Pe=`[object Set]`,Fe=`[object String]`,Ie=`[object Symbol]`,Le=`[object Undefined]`,Re=`[object WeakMap]`,ze=`[object WeakSet]`,Be=`[object ArrayBuffer]`,Ve=`[object DataView]`,He=`[object Float32Array]`,Ue=`[object Float64Array]`,We=`[object Int8Array]`,Ge=`[object Int16Array]`,Ke=`[object Int32Array]`,qe=`[object Uint8Array]`,Je=`[object Uint8ClampedArray]`,Ye=`[object Uint16Array]`,Xe=`[object Uint32Array]`,Ze=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,$e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,et=/&(?:amp|lt|gt|quot|#39);/g,tt=/[&<>&#x22;']/g,nt=RegExp(et.source),rt=RegExp(tt.source),it=/<%-([\s\S]+?)%>/g,at=/<%([\s\S]+?)%>/g,ot=/<%=([\s\S]+?)%>/g,st=/\.|\[(?:[^[\]]*|([&#x22;'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ct=/^\w*$/,lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([&#x22;'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ut=/[\\^$.*+?()[\]{}|]/g,dt=RegExp(ut.source),ft=/^\s+/,pt=/\s/,mt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ht=/\{\n\/\* \[wrapped with (.+)\] \*/,gt=/,? & /,_t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,vt=/[()=,{}\[\]\/\s]/,yt=/\\(\\)?/g,bt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,xt=/\w*$/,St=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,wt=/^\[object .+?Constructor\]$/,Tt=/^0o[0-7]+$/i,Et=/^(?:0|[1-9]\d*)$/,Dt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ot=/($^)/,kt=/['\n\r\u2028\u2029\\]/g,At=`\\ud800-\\udfff`,jt=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,Mt=`\\u2700-\\u27bf`,Nt=`a-z\\xdf-\\xf6\\xf8-\\xff`,Pt=`\\xac\\xb1\\xd7\\xf7`,Ft=`\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf`,It=`\\u2000-\\u206f`,Lt=` \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000`,Rt=`A-Z\\xc0-\\xd6\\xd8-\\xde`,zt=`\\ufe0e\\ufe0f`,Bt=Pt+Ft+It+Lt,Vt=`['’]`,Ht=`[`+At+`]`,Ut=`[`+Bt+`]`,Wt=`[`+jt+`]`,Gt=`\\d+`,Kt=`[`+Mt+`]`,qt=`[`+Nt+`]`,Jt=`[^`+At+Bt+Gt+Mt+Nt+Rt+`]`,Yt=`\\ud83c[\\udffb-\\udfff]`,Xt=`(?:`+Wt+`|`+Yt+`)`,Zt=`[^`+At+`]`,Qt=`(?:\\ud83c[\\udde6-\\uddff]){2}`,$t=`[\\ud800-\\udbff][\\udc00-\\udfff]`,en=`[`+Rt+`]`,tn=`\\u200d`,nn=`(?:`+qt+`|`+Jt+`)`,rn=`(?:`+en+`|`+Jt+`)`,an=`(?:`+Vt+`(?:d|ll|m|re|s|t|ve))?`,on=`(?:`+Vt+`(?:D|LL|M|RE|S|T|VE))?`,sn=Xt+`?`,cn=`[`+zt+`]?`,ln=`(?:`+tn+`(?:`+[Zt,Qt,$t].join(`|`)+`)`+cn+sn+`)*`,un=`\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])`,dn=`\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])`,fn=cn+sn+ln,pn=`(?:`+[Kt,Qt,$t].join(`|`)+`)`+fn,mn=`(?:`+[Zt+Wt+`?`,Wt,Qt,$t,Ht].join(`|`)+`)`,hn=RegExp(Vt,`g`),gn=RegExp(Wt,`g`),_n=RegExp(Yt+`(?=`+Yt+`)|`+mn+fn,`g`),vn=RegExp([en+`?`+qt+`+`+an+`(?=`+[Ut,en,`$`].join(`|`)+`)`,rn+`+`+on+`(?=`+[Ut,en+nn,`$`].join(`|`)+`)`,en+`?`+nn+`+`+an,en+`+`+on,dn,un,Gt,pn].join(`|`),`g`),yn=RegExp(`[`+tn+At+jt+zt+`]`),bn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xn=`Array.Buffer.DataView.Date.Error.Float32Array.Float64Array.Function.Int8Array.Int16Array.Int32Array.Map.Math.Object.Promise.RegExp.Set.String.Symbol.TypeError.Uint8Array.Uint8ClampedArray.Uint16Array.Uint32Array.WeakMap._.clearTimeout.isFinite.parseInt.setTimeout`.split(`.`),Sn=-1,Cn={};Cn[He]=Cn[Ue]=Cn[We]=Cn[Ge]=Cn[Ke]=Cn[qe]=Cn[Je]=Cn[Ye]=Cn[Xe]=!0,Cn[ve]=Cn[ye]=Cn[Be]=Cn[xe]=Cn[Ve]=Cn[Se]=Cn[we]=Cn[Te]=Cn[De]=Cn[Oe]=Cn[Ae]=Cn[Ne]=Cn[Pe]=Cn[Fe]=Cn[Re]=!1;var wn={};wn[ve]=wn[ye]=wn[Be]=wn[Ve]=wn[xe]=wn[Se]=wn[He]=wn[Ue]=wn[We]=wn[Ge]=wn[Ke]=wn[De]=wn[Oe]=wn[Ae]=wn[Ne]=wn[Pe]=wn[Fe]=wn[Ie]=wn[qe]=wn[Je]=wn[Ye]=wn[Xe]=!0,wn[we]=wn[Te]=wn[Re]=!1;var Tn={À:`A`,Á:`A`,Â:`A`,Ã:`A`,Ä:`A`,Å:`A`,à:`a`,á:`a`,â:`a`,ã:`a`,ä:`a`,å:`a`,Ç:`C`,ç:`c`,Ð:`D`,ð:`d`,È:`E`,É:`E`,Ê:`E`,Ë:`E`,è:`e`,é:`e`,ê:`e`,ë:`e`,Ì:`I`,Í:`I`,Î:`I`,Ï:`I`,ì:`i`,í:`i`,î:`i`,ï:`i`,Ñ:`N`,ñ:`n`,Ò:`O`,Ó:`O`,Ô:`O`,Õ:`O`,Ö:`O`,Ø:`O`,ò:`o`,ó:`o`,ô:`o`,õ:`o`,ö:`o`,ø:`o`,Ù:`U`,Ú:`U`,Û:`U`,Ü:`U`,ù:`u`,ú:`u`,û:`u`,ü:`u`,Ý:`Y`,ý:`y`,ÿ:`y`,Æ:`Ae`,æ:`ae`,Þ:`Th`,þ:`th`,ß:`ss`,Ā:`A`,Ă:`A`,Ą:`A`,ā:`a`,ă:`a`,ą:`a`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,Ď:`D`,Đ:`D`,ď:`d`,đ:`d`,Ē:`E`,Ĕ:`E`,Ė:`E`,Ę:`E`,Ě:`E`,ē:`e`,ĕ:`e`,ė:`e`,ę:`e`,ě:`e`,Ĝ:`G`,Ğ:`G`,Ġ:`G`,Ģ:`G`,ĝ:`g`,ğ:`g`,ġ:`g`,ģ:`g`,Ĥ:`H`,Ħ:`H`,ĥ:`h`,ħ:`h`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,Į:`I`,İ:`I`,ĩ:`i`,ī:`i`,ĭ:`i`,į:`i`,ı:`i`,Ĵ:`J`,ĵ:`j`,Ķ:`K`,ķ:`k`,ĸ:`k`,Ĺ:`L`,Ļ:`L`,Ľ:`L`,Ŀ:`L`,Ł:`L`,ĺ:`l`,ļ:`l`,ľ:`l`,ŀ:`l`,ł:`l`,Ń:`N`,Ņ:`N`,Ň:`N`,Ŋ:`N`,ń:`n`,ņ:`n`,ň:`n`,ŋ:`n`,Ō:`O`,Ŏ:`O`,Ő:`O`,ō:`o`,ŏ:`o`,ő:`o`,Ŕ:`R`,Ŗ:`R`,Ř:`R`,ŕ:`r`,ŗ:`r`,ř:`r`,Ś:`S`,Ŝ:`S`,Ş:`S`,Š:`S`,ś:`s`,ŝ:`s`,ş:`s`,š:`s`,Ţ:`T`,Ť:`T`,Ŧ:`T`,ţ:`t`,ť:`t`,ŧ:`t`,Ũ:`U`,Ū:`U`,Ŭ:`U`,Ů:`U`,Ű:`U`,Ų:`U`,ũ:`u`,ū:`u`,ŭ:`u`,ů:`u`,ű:`u`,ų:`u`,Ŵ:`W`,ŵ:`w`,Ŷ:`Y`,ŷ:`y`,Ÿ:`Y`,Ź:`Z`,Ż:`Z`,Ž:`Z`,ź:`z`,ż:`z`,ž:`z`,Ĳ:`IJ`,ĳ:`ij`,Œ:`Oe`,œ:`oe`,ŉ:`'n`,ſ:`s`},En={&#x22;&&#x22;:`&#x26;amp;`,&#x22;<&#x22;:`&#x26;lt;`,&#x22;>&#x22;:`&#x26;gt;`,'&#x22;':`&#x26;quot;`,&#x22;'&#x22;:`&#x26;#39;`},Dn={&#x22;&#x26;amp;&#x22;:`&`,&#x22;&#x26;lt;&#x22;:`<`,&#x22;&#x26;gt;&#x22;:`>`,&#x22;&#x26;quot;&#x22;:`&#x22;`,&#x22;&#x26;#39;&#x22;:`'`},On={&#x22;\\&#x22;:`\\`,&#x22;'&#x22;:`'`,&#x22;\n&#x22;:`n`,&#x22;\r&#x22;:`r`,&#x22;\u2028&#x22;:`u2028`,&#x22;\u2029&#x22;:`u2029`},kn=parseFloat,An=parseInt,jn=typeof global==`object`&&global&&global.Object===Object&&global,Mn=typeof self==`object`&&self&&self.Object===Object&&self,Nn=jn||Mn||Function(`return this`)(),Pn=typeof e==`object`&&e&&!e.nodeType&&e,Fn=Pn&&typeof t==`object`&&t&&!t.nodeType&&t,In=Fn&&Fn.exports===Pn,Ln=In&&jn.process,Rn=function(){try{return Fn&&Fn.require&&Fn.require(`util`).types||Ln&&Ln.binding&&Ln.binding(`util`)}catch{}}(),zn=Rn&&Rn.isArrayBuffer,Bn=Rn&&Rn.isDate,Vn=Rn&&Rn.isMap,Hn=Rn&&Rn.isRegExp,Un=Rn&&Rn.isSet,Wn=Rn&&Rn.isTypedArray;function Gn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Kn(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function qn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function Jn(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function Yn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Xn(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Zn(e,t){return!!(e!=null&&e.length)&&lr(e,t,0)>-1}function Qn(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function $n(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function er(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function tr(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function nr(e,t,n,r){var i=e==null?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function rr(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var ir=pr(`length`);function ar(e){return e.split(``)}function or(e){return e.match(_t)||[]}function sr(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function cr(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function lr(e,t,n){return t===t?zr(e,t,n):cr(e,dr,n)}function ur(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function dr(e){return e!==e}function fr(e,t){var n=e==null?0:e.length;return n?_r(e,t)/n:pe}function pr(e){return function(t){return t==null?n:t[e]}}function mr(e){return function(t){return e==null?n:e[t]}}function hr(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function gr(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function _r(e,t){for(var r,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==n&&(r=r===n?o:r+o)}return r}function vr(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function yr(e,t){return $n(t,function(t){return[t,e[t]]})}function br(e){return e&&e.slice(0,Ur(e)+1).replace(ft,``)}function xr(e){return function(t){return e(t)}}function Sr(e,t){return $n(t,function(t){return e[t]})}function Cr(e,t){return e.has(t)}function wr(e,t){for(var n=-1,r=e.length;++n<r&&lr(t,e[n],0)>-1;);return n}function Tr(e,t){for(var n=e.length;n--&&lr(t,e[n],0)>-1;);return n}function Er(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Dr=mr(Tn),Or=mr(En);function kr(e){return`\\`+On[e]}function Ar(e,t){return e==null?n:e[t]}function jr(e){return yn.test(e)}function Mr(e){return bn.test(e)}function Nr(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Pr(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Fr(e,t){return function(n){return e(t(n))}}function Ir(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];(o===t||o===d)&&(e[n]=d,a[i++]=n)}return a}function Lr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function Rr(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function zr(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Br(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Vr(e){return jr(e)?Gr(e):ir(e)}function Hr(e){return jr(e)?Kr(e):ar(e)}function Ur(e){for(var t=e.length;t--&&pt.test(e.charAt(t)););return t}var Wr=mr(Dn);function Gr(e){for(var t=_n.lastIndex=0;_n.test(e);)++t;return t}function Kr(e){return e.match(_n)||[]}function qr(e){return e.match(vn)||[]}var Jr=(function e(t){t=t==null?Nn:Jr.defaults(Nn.Object(),t,Jr.pick(Nn,xn));var pt=t.Array,_t=t.Date,At=t.Error,jt=t.Function,Mt=t.Math,Nt=t.Object,Pt=t.RegExp,Ft=t.String,It=t.TypeError,Lt=pt.prototype,Rt=jt.prototype,zt=Nt.prototype,Bt=t[`__core-js_shared__`],Vt=Rt.toString,Ht=zt.hasOwnProperty,Ut=0,Wt=function(){var e=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}(),Gt=zt.toString,Kt=Vt.call(Nt),qt=Nn._,Jt=Pt(`^`+Vt.call(Ht).replace(ut,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`),Yt=In?t.Buffer:n,Xt=t.Symbol,Zt=t.Uint8Array,Qt=Yt?Yt.allocUnsafe:n,$t=Fr(Nt.getPrototypeOf,Nt),en=Nt.create,tn=zt.propertyIsEnumerable,nn=Lt.splice,rn=Xt?Xt.isConcatSpreadable:n,an=Xt?Xt.iterator:n,on=Xt?Xt.toStringTag:n,sn=function(){try{var e=Ss(Nt,`defineProperty`);return e({},``,{}),e}catch{}}(),cn=t.clearTimeout!==Nn.clearTimeout&&t.clearTimeout,ln=_t&&_t.now!==Nn.Date.now&&_t.now,un=t.setTimeout!==Nn.setTimeout&&t.setTimeout,dn=Mt.ceil,fn=Mt.floor,pn=Nt.getOwnPropertySymbols,mn=Yt?Yt.isBuffer:n,_n=t.isFinite,vn=Lt.join,yn=Fr(Nt.keys,Nt),bn=Mt.max,Tn=Mt.min,En=_t.now,Dn=t.parseInt,On=Mt.random,jn=Lt.reverse,Mn=Ss(t,`DataView`),Pn=Ss(t,`Map`),Fn=Ss(t,`Promise`),Ln=Ss(t,`Set`),Rn=Ss(t,`WeakMap`),ir=Ss(Nt,`create`),ar=Rn&&new Rn,mr={},zr=sc(Mn),Gr=sc(Pn),Kr=sc(Fn),Yr=sc(Ln),Xr=sc(Rn),Zr=Xt?Xt.prototype:n,Qr=Zr?Zr.valueOf:n,$r=Zr?Zr.toString:n;function w(e){if(ed(e)&&!Lu(e)&&!(e instanceof ri)){if(e instanceof ni)return e;if(Ht.call(e,`__wrapped__`))return lc(e)}return new ni(e)}var ei=function(){function e(){}return function(t){if(!$u(t))return{};if(en)return en(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function ti(){}function ni(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}w.templateSettings={escape:it,evaluate:at,interpolate:ot,variable:``,imports:{_:w}},w.prototype=ti.prototype,w.prototype.constructor=w,ni.prototype=ei(ti.prototype),ni.prototype.constructor=ni;function ri(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=me,this.__views__=[]}function ii(){var e=new ri(this.__wrapped__);return e.__actions__=No(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=No(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=No(this.__views__),e}function ai(){if(this.__filtered__){var e=new ri(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function oi(){var e=this.__wrapped__.value(),t=this.__dir__,n=Lu(e),r=t<0,i=n?e.length:0,a=Ds(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,d=u.length,f=0,p=Tn(c,this.__takeCount__);if(!n||!r&&i==c&&p==c)return mo(e,this.__actions__);var m=[];outer:for(;c--&&f<p;){l+=t;for(var h=-1,g=e[l];++h<d;){var _=u[h],v=_.iteratee,y=_.type,b=v(g);if(y==ce)g=b;else if(!b){if(y==se)continue outer;break outer}}m[f++]=g}return m}ri.prototype=ei(ti.prototype),ri.prototype.constructor=ri;function si(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ci(){this.__data__=ir?ir(null):{},this.size=0}function li(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}function ui(e){var t=this.__data__;if(ir){var r=t[e];return r===l?n:r}return Ht.call(t,e)?t[e]:n}function di(e){var t=this.__data__;return ir?t[e]!==n:Ht.call(t,e)}function fi(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=ir&&t===n?l:t,this}si.prototype.clear=ci,si.prototype.delete=li,si.prototype.get=ui,si.prototype.has=di,si.prototype.set=fi;function pi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function mi(){this.__data__=[],this.size=0}function hi(e){var t=this.__data__,n=Bi(t,e);return n<0?!1:(n==t.length-1?t.pop():nn.call(t,n,1),--this.size,!0)}function gi(e){var t=this.__data__,r=Bi(t,e);return r<0?n:t[r][1]}function _i(e){return Bi(this.__data__,e)>-1}function vi(e,t){var n=this.__data__,r=Bi(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}pi.prototype.clear=mi,pi.prototype.delete=hi,pi.prototype.get=gi,pi.prototype.has=_i,pi.prototype.set=vi;function yi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function bi(){this.size=0,this.__data__={hash:new si,map:new(Pn||pi),string:new si}}function xi(e){var t=bs(this,e).delete(e);return this.size-=+!!t,t}function Si(e){return bs(this,e).get(e)}function Ci(e){return bs(this,e).has(e)}function wi(e,t){var n=bs(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}yi.prototype.clear=bi,yi.prototype.delete=xi,yi.prototype.get=Si,yi.prototype.has=Ci,yi.prototype.set=wi;function Ti(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new yi;++t<n;)this.add(e[t])}function Ei(e){return this.__data__.set(e,l),this}function Di(e){return this.__data__.has(e)}Ti.prototype.add=Ti.prototype.push=Ei,Ti.prototype.has=Di;function Oi(e){this.size=(this.__data__=new pi(e)).size}function ki(){this.__data__=new pi,this.size=0}function Ai(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function ji(e){return this.__data__.get(e)}function Mi(e){return this.__data__.has(e)}function Ni(e,t){var n=this.__data__;if(n instanceof pi){var r=n.__data__;if(!Pn||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new yi(r)}return n.set(e,t),this.size=n.size,this}Oi.prototype.clear=ki,Oi.prototype.delete=Ai,Oi.prototype.get=ji,Oi.prototype.has=Mi,Oi.prototype.set=Ni;function Pi(e,t){var n=Lu(e),r=!n&&Iu(e),i=!n&&!r&&Hu(e),a=!n&&!r&&!i&&hd(e),o=n||r||i||a,s=o?vr(e.length,Ft):[],c=s.length;for(var l in e)(t||Ht.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Fs(l,c)))&&s.push(l);return s}function Fi(e){var t=e.length;return t?e[Ka(0,t-1)]:n}function Ii(e,t){return ic(No(e),Ki(t,0,e.length))}function Li(e){return ic(No(e))}function Ri(e,t,r){(r!==n&&!Nu(e[t],r)||r===n&&!(t in e))&&Wi(e,t,r)}function zi(e,t,r){var i=e[t];(!(Ht.call(e,t)&&Nu(i,r))||r===n&&!(t in e))&&Wi(e,t,r)}function Bi(e,t){for(var n=e.length;n--;)if(Nu(e[n][0],t))return n;return-1}function Vi(e,t,n,r){return Qi(e,function(e,i,a){t(r,e,n(e),a)}),r}function Hi(e,t){return e&&Po(t,Zd(t),e)}function Ui(e,t){return e&&Po(t,Qd(t),e)}function Wi(e,t,n){t==`__proto__`&&sn?sn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Gi(e,t){for(var r=-1,i=t.length,a=pt(i),o=e==null;++r<i;)a[r]=o?n:Gd(e,t[r]);return a}function Ki(e,t,r){return e===e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function qi(e,t,r,i,a,o){var s,c=t&f,l=t&p,u=t&#x26;m;if(r&&(s=a?r(e,i,a,o):r(e)),s!==n)return s;if(!$u(e))return e;var d=Lu(e);if(d){if(s=As(e),!c)return No(e,s)}else{var h=Es(e),g=h==Te||h==Ee;if(Hu(e))return Co(e,c);if(h==Ae||h==ve||g&&!a){if(s=l||g?{}:js(e),!c)return l?Io(e,Ui(s,e)):Fo(e,Hi(s,e))}else{if(!wn[h])return a?e:{};s=Ms(e,h,c)}}o||=new Oi;var _=o.get(e);if(_)return _;o.set(e,s),fd(e)?e.forEach(function(n){s.add(qi(n,t,r,n,e,o))}):td(e)&&e.forEach(function(n,i){s.set(i,qi(n,t,r,i,e,o))});var v=d?n:(u?l?hs:ms:l?Qd:Zd)(e);return qn(v||e,function(n,i){v&&(i=n,n=e[i]),zi(s,i,qi(n,t,r,i,e,o))}),s}function Ji(e){var t=Zd(e);return function(n){return Yi(n,e,t)}}function Yi(e,t,r){var i=r.length;if(e==null)return!i;for(e=Nt(e);i--;){var a=r[i],o=t[a],s=e[a];if(s===n&&!(a in e)||!o(s))return!1}return!0}function Xi(e,t,r){if(typeof e!=`function`)throw new It(o);return ec(function(){e.apply(n,r)},t)}function Zi(e,t,n,r){var a=-1,o=Zn,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=$n(t,xr(n))),r?(o=Qn,s=!1):t.length>=i&&(o=Cr,s=!1,t=new Ti(t));outer:for(;++a<c;){var d=e[a],f=n==null?d:n(d);if(d=r||d!==0?d:0,s&&f===f){for(var p=u;p--;)if(t[p]===f)continue outer;l.push(d)}else o(t,f,r)||l.push(d)}return l}var Qi=zo(sa),$i=zo(ca,!0);function ea(e,t){var n=!0;return Qi(e,function(e,r,i){return n=!!t(e,r,i),n}),n}function ta(e,t,r){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(s!=null&&(c===n?s===s&&!md(s):r(s,c)))var c=s,l=o}return l}function na(e,t,r,i){var a=e.length;for(r=Cd(r),r<0&&(r=-r>a?0:a+r),i=i===n||i>a?a:Cd(i),i<0&&(i+=a),i=r>i?0:wd(i);r<i;)e[r++]=t;return e}function ra(e,t){var n=[];return Qi(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function ia(e,t,n,r,i){var a=-1,o=e.length;for(n||=Ps,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?ia(s,t-1,n,r,i):er(i,s):r||(i[i.length]=s)}return i}var aa=Bo(),oa=Bo(!0);function sa(e,t){return e&&aa(e,t,Zd)}function ca(e,t){return e&&oa(e,t,Zd)}function la(e,t){return Xn(t,function(t){return Xu(e[t])})}function ua(e,t){t=yo(t,e);for(var r=0,i=t.length;e!=null&&r<i;)e=e[oc(t[r++])];return r&&r==i?e:n}function da(e,t,n){var r=t(e);return Lu(e)?r:er(r,n(e))}function fa(e){return e==null?e===n?Le:ke:on&&on in Nt(e)?Cs(e):Js(e)}function pa(e,t){return e>t}function ma(e,t){return e!=null&&Ht.call(e,t)}function ha(e,t){return e!=null&&t in Nt(e)}function ga(e,t,n){return e>=Tn(t,n)&&e<bn(t,n)}function _a(e,t,r){for(var i=r?Qn:Zn,a=e[0].length,o=e.length,s=o,c=pt(o),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=$n(d,xr(t))),l=Tn(d.length,l),c[s]=!r&&(t||a>=120&&d.length>=120)?new Ti(s&&d):n}d=e[0];var f=-1,p=c[0];outer:for(;++f<a&&u.length<l;){var m=d[f],h=t?t(m):m;if(m=r||m!==0?m:0,!(p?Cr(p,h):i(u,h,r))){for(s=o;--s;){var g=c[s];if(!(g?Cr(g,h):i(e[s],h,r)))continue outer}p&&p.push(h),u.push(m)}}return u}function va(e,t,n,r){return sa(e,function(e,i,a){t(r,n(e),i,a)}),r}function T(e,t,r){t=yo(t,e),e=Xs(e,t);var i=e==null?e:e[oc(Pc(t))];return i==null?n:Gn(i,e,r)}function ya(e){return ed(e)&&fa(e)==ve}function ba(e){return ed(e)&&fa(e)==Be}function xa(e){return ed(e)&&fa(e)==Se}function Sa(e,t,n,r,i){return e===t?!0:e==null||t==null||!ed(e)&&!ed(t)?e!==e&&t!==t:Ca(e,t,n,r,Sa,i)}function Ca(e,t,n,r,i,a){var o=Lu(e),s=Lu(t),c=o?ye:Es(e),l=s?ye:Es(t);c=c==ve?Ae:c,l=l==ve?Ae:l;var u=c==Ae,d=l==Ae,f=c==l;if(f&&Hu(e)){if(!Hu(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new Oi,o||hd(e)?us(e,t,n,r,i,a):ds(e,t,c,n,r,i,a);if(!(n&h)){var p=u&&Ht.call(e,`__wrapped__`),m=d&&Ht.call(t,`__wrapped__`);if(p||m){var g=p?e.value():e,_=m?t.value():t;return a||=new Oi,i(g,_,n,r,a)}}return f?(a||=new Oi,fs(e,t,n,r,i,a)):!1}function wa(e){return ed(e)&&Es(e)==De}function Ta(e,t,r,i){var a=r.length,o=a,s=!i;if(e==null)return!o;for(e=Nt(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){c=r[a];var l=c[0],u=e[l],d=c[1];if(s&&c[2]){if(u===n&&!(l in e))return!1}else{var f=new Oi;if(i)var p=i(u,d,l,e,t,f);if(!(p===n?Sa(d,u,h|g,i,f):p))return!1}}return!0}function Ea(e){return!$u(e)||Bs(e)?!1:(Xu(e)?Jt:wt).test(sc(e))}function Da(e){return ed(e)&&fa(e)==Ne}function Oa(e){return ed(e)&&Es(e)==Pe}function ka(e){return ed(e)&&Qu(e.length)&&!!Cn[fa(e)]}function Aa(e){return typeof e==`function`?e:e==null?op:typeof e==`object`?Lu(e)?Ia(e[0],e[1]):Fa(e):yp(e)}function ja(e){if(!Hs(e))return yn(e);var t=[];for(var n in Nt(e))Ht.call(e,n)&&n!=`constructor`&&t.push(n);return t}function Ma(e){if(!$u(e))return qs(e);var t=Hs(e),n=[];for(var r in e)r==`constructor`&&(t||!Ht.call(e,r))||n.push(r);return n}function Na(e,t){return e<t}function Pa(e,t){var n=-1,r=zu(e)?pt(e.length):[];return Qi(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Fa(e){var t=xs(e);return t.length==1&&t[0][2]?Ws(t[0][0],t[0][1]):function(n){return n===e||Ta(n,e,t)}}function Ia(e,t){return Ls(e)&&Us(t)?Ws(oc(e),t):function(r){var i=Gd(r,e);return i===n&&i===t?qd(r,e):Sa(t,i,h|g)}}function La(e,t,r,i,a){e!==t&&aa(t,function(o,s){if(a||=new Oi,$u(o))Ra(e,t,s,r,La,i,a);else{var c=i?i(Qs(e,s),o,s+``,e,t,a):n;c===n&&(c=o),Ri(e,s,c)}},Qd)}function Ra(e,t,r,i,a,o,s){var c=Qs(e,r),l=Qs(t,r),u=s.get(l);if(u){Ri(e,r,u);return}var d=o?o(c,l,r+``,e,t,s):n,f=d===n;if(f){var p=Lu(l),m=!p&&Hu(l),h=!p&&!m&&hd(l);d=l,p||m||h?Lu(c)?d=c:Bu(c)?d=No(c):m?(f=!1,d=Co(l,!0)):h?(f=!1,d=Oo(l,!0)):d=[]:ld(l)||Iu(l)?(d=c,Iu(c)?d=Ed(c):(!$u(c)||Xu(c))&&(d=js(l))):f=!1}f&&(s.set(l,d),a(d,l,i,o,s),s.delete(l)),Ri(e,r,d)}function za(e,t){var r=e.length;if(r)return t+=t<0?r:0,Fs(t,r)?e[t]:n}function Ba(e,t,n){t=t.length?$n(t,function(e){return Lu(e)?function(t){return ua(t,e.length===1?e[0]:e)}:e}):[op];var r=-1;return t=$n(t,xr(ys())),gr(Pa(e,function(e,n,i){return{criteria:$n(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return Ao(e,t,n)})}function Va(e,t){return Ha(e,t,function(t,n){return qd(e,n)})}function Ha(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=ua(e,o);n(s,o)&&Qa(a,yo(o,e),s)}return a}function Ua(e){return function(t){return ua(t,e)}}function Wa(e,t,n,r){var i=r?ur:lr,a=-1,o=t.length,s=e;for(e===t&&(t=No(t)),n&&(s=$n(e,xr(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;(c=i(s,u,c,r))>-1;)s!==e&&nn.call(s,c,1),nn.call(e,c,1);return e}function Ga(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Fs(i)?nn.call(e,i,1):uo(e,i)}}return e}function Ka(e,t){return e+fn(On()*(t-e+1))}function qa(e,t,n,r){for(var i=-1,a=bn(dn((t-e)/(n||1)),0),o=pt(a);a--;)o[r?a:++i]=e,e+=n;return o}function Ja(e,t){var n=``;if(!e||t<1||t>de)return n;do t%2&&(n+=e),t=fn(t/2),t&&(e+=e);while(t);return n}function Ya(e,t){return tc(Ys(e,t,op),e+``)}function Xa(e){return Fi(_f(e))}function Za(e,t){var n=_f(e);return ic(n,Ki(t,0,n.length))}function Qa(e,t,r,i){if(!$u(e))return e;t=yo(t,e);for(var a=-1,o=t.length,s=o-1,c=e;c!=null&&++a<o;){var l=oc(t[a]),u=r;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(a!=s){var d=c[l];u=i?i(d,l,c):n,u===n&&(u=$u(d)?d:Fs(t[a+1])?[]:{})}zi(c,l,u),c=c[l]}return e}var $a=ar?function(e,t){return ar.set(e,t),e}:op,eo=sn?function(e,t){return sn(e,`toString`,{configurable:!0,enumerable:!1,value:np(t),writable:!0})}:op;function to(e){return ic(_f(e))}function no(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=pt(i);++r<i;)a[r]=e[r+t];return a}function ro(e,t){var n;return Qi(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function io(e,t,n){var r=0,i=e==null?r:e.length;if(typeof t==`number`&&t===t&&i<=ge){for(;r<i;){var a=r+i>>>1,o=e[a];o!==null&&!md(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ao(e,t,op,n)}function ao(e,t,r,i){var a=0,o=e==null?0:e.length;if(o===0)return 0;t=r(t);for(var s=t!==t,c=t===null,l=md(t),u=t===n;a<o;){var d=fn((a+o)/2),f=r(e[d]),p=f!==n,m=f===null,h=f===f,g=md(f);if(s)var _=i||h;else _=u?h&&(i||p):c?h&&p&&(i||!m):l?h&&p&&!m&&(i||!g):m||g?!1:i?f<=t:f<t;_?a=d+1:o=d}return Tn(o,he)}function oo(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!Nu(s,c)){var c=s;a[i++]=o===0?0:o}}return a}function so(e){return typeof e==`number`?e:md(e)?pe:+e}function co(e){if(typeof e==`string`)return e;if(Lu(e))return $n(e,co)+``;if(md(e))return $r?$r.call(e):``;var t=e+``;return t==`0`&&1/e==-ue?`-0`:t}function lo(e,t,n){var r=-1,a=Zn,o=e.length,s=!0,c=[],l=c;if(n)s=!1,a=Qn;else if(o>=i){var u=t?null:is(e);if(u)return Lr(u);s=!1,a=Cr,l=new Ti}else l=t?[]:c;outer:for(;++r<o;){var d=e[r],f=t?t(d):d;if(d=n||d!==0?d:0,s&&f===f){for(var p=l.length;p--;)if(l[p]===f)continue outer;t&&l.push(f),c.push(d)}else a(l,f,n)||(l!==c&&l.push(f),c.push(d))}return c}function uo(e,t){t=yo(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var i=oc(t[n]);if(i===`__proto__`&&!Ht.call(e,`__proto__`)||(i===`constructor`||i===`prototype`)&&n<r-1)return!1}var a=Xs(e,t);return a==null||delete a[oc(Pc(t))]}function fo(e,t,n,r){return Qa(e,t,n(ua(e,t)),r)}function po(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?no(e,r?0:a,r?a+1:i):no(e,r?a+1:0,r?i:a)}function mo(e,t){var n=e;return n instanceof ri&&(n=n.value()),tr(t,function(e,t){return t.func.apply(t.thisArg,er([e],t.args))},n)}function ho(e,t,n){var r=e.length;if(r<2)return r?lo(e[0]):[];for(var i=-1,a=pt(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=Zi(a[i]||o,e[s],t,n));return lo(ia(a,1),t,n)}function go(e,t,r){for(var i=-1,a=e.length,o=t.length,s={};++i<a;){var c=i<o?t[i]:n;r(s,e[i],c)}return s}function _o(e){return Bu(e)?e:[]}function vo(e){return typeof e==`function`?e:op}function yo(e,t){return Lu(e)?e:Ls(e,t)?[e]:ac(Od(e))}var bo=Ya;function xo(e,t,r){var i=e.length;return r=r===n?i:r,!t&&r>=i?e:no(e,t,r)}var So=cn||function(e){return Nn.clearTimeout(e)};function Co(e,t){if(t)return e.slice();var n=e.length,r=Qt?Qt(n):new e.constructor(n);return e.copy(r),r}function wo(e){var t=new e.constructor(e.byteLength);return new Zt(t).set(new Zt(e)),t}function To(e,t){var n=t?wo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Eo(e){var t=new e.constructor(e.source,xt.exec(e));return t.lastIndex=e.lastIndex,t}function Do(e){return Qr?Nt(Qr.call(e)):{}}function Oo(e,t){var n=t?wo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ko(e,t){if(e!==t){var r=e!==n,i=e===null,a=e===e,o=md(e),s=t!==n,c=t===null,l=t===t,u=md(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!a)return 1;if(!i&&!o&&!u&&e<t||u&&r&&a&&!i&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function Ao(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=ko(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function jo(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=bn(a-o,0),u=pt(c+l),d=!r;++s<c;)u[s]=t[s];for(;++i<o;)(d||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function Mo(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=bn(a-s,0),d=pt(u+l),f=!r;++i<u;)d[i]=e[i];for(var p=i;++c<l;)d[p+c]=t[c];for(;++o<s;)(f||i<a)&&(d[p+n[o]]=e[i++]);return d}function No(e,t){var n=-1,r=e.length;for(t||=pt(r);++n<r;)t[n]=e[n];return t}function Po(e,t,r,i){var a=!r;r||={};for(var o=-1,s=t.length;++o<s;){var c=t[o],l=i?i(r[c],e[c],c,r,e):n;l===n&&(l=e[c]),a?Wi(r,c,l):zi(r,c,l)}return r}function Fo(e,t){return Po(e,ws(e),t)}function Io(e,t){return Po(e,Ts(e),t)}function Lo(e,t){return function(n,r){var i=Lu(n)?Kn:Vi,a=t?t():{};return i(n,e,ys(r,2),a)}}function Ro(e){return Ya(function(t,r){var i=-1,a=r.length,o=a>1?r[a-1]:n,s=a>2?r[2]:n;for(o=e.length>3&&typeof o==`function`?(a--,o):n,s&&Is(r[0],r[1],s)&&(o=a<3?n:o,a=1),t=Nt(t);++i<a;){var c=r[i];c&&e(t,c,i,o)}return t})}function zo(e,t){return function(n,r){if(n==null)return n;if(!zu(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Nt(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}function Bo(e){return function(t,n,r){for(var i=-1,a=Nt(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}function Vo(e,t,n){var r=t&_,i=Wo(e);function a(){return(this&&this!==Nn&&this instanceof a?i:e).apply(r?n:this,arguments)}return a}function Ho(e){return function(t){t=Od(t);var r=jr(t)?Hr(t):n,i=r?r[0]:t.charAt(0),a=r?xo(r,1).join(``):t.slice(1);return i[e]()+a}}function Uo(e){return function(t){return tr(Zf(wf(t).replace(hn,``)),e,``)}}function Wo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=ei(e.prototype),r=e.apply(n,t);return $u(r)?r:n}}function Go(e,t,r){var i=Wo(e);function a(){for(var o=arguments.length,s=pt(o),c=o,l=vs(a);c--;)s[c]=arguments[c];var u=o<3&&s[0]!==l&&s[o-1]!==l?[]:Ir(s,l);return o-=u.length,o<r?ns(e,t,Jo,a.placeholder,n,s,u,n,n,r-o):Gn(this&&this!==Nn&&this instanceof a?i:e,this,s)}return a}function Ko(e){return function(t,r,i){var a=Nt(t);if(!zu(t)){var o=ys(r,3);t=Zd(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,i);return s>-1?a[o?t[s]:s]:n}}function qo(e){return ps(function(t){var r=t.length,i=r,a=ni.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if(typeof s!=`function`)throw new It(o);if(a&&!c&&_s(s)==`wrapper`)var c=new ni([],!0)}for(i=c?i:r;++i<r;){s=t[i];var l=_s(s),u=l==`wrapper`?gs(s):n;c=u&&zs(u[0])&&u[1]==(ee|b|S|te)&&!u[4].length&&u[9]==1?c[_s(u[0])].apply(c,u[3]):s.length==1&&zs(s)?c[l]():c.thru(s)}return function(){var e=arguments,n=e[0];if(c&&e.length==1&&Lu(n))return c.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}})}function Jo(e,t,r,i,a,o,s,c,l,u){var d=t&ee,f=t&_,p=t&v,m=t&(b|x),h=t&ne,g=p?n:Wo(e);function y(){for(var n=arguments.length,_=pt(n),v=n;v--;)_[v]=arguments[v];if(m)var b=vs(y),x=Er(_,b);if(i&&(_=jo(_,i,a,m)),o&&(_=Mo(_,o,s,m)),n-=x,m&&n<u){var S=Ir(_,b);return ns(e,t,Jo,y.placeholder,r,_,S,c,l,u-n)}var C=f?r:this,ee=p?C[e]:e;return n=_.length,c?_=Zs(_,c):h&&n>1&&_.reverse(),d&&l<n&&(_.length=l),this&&this!==Nn&&this instanceof y&&(ee=g||Wo(ee)),ee.apply(C,_)}return y}function Yo(e,t){return function(n,r){return va(n,e,t(r),{})}}function Xo(e,t){return function(r,i){var a;if(r===n&&i===n)return t;if(r!==n&&(a=r),i!==n){if(a===n)return i;typeof r==`string`||typeof i==`string`?(r=co(r),i=co(i)):(r=so(r),i=so(i)),a=e(r,i)}return a}}function Zo(e){return ps(function(t){return t=$n(t,xr(ys())),Ya(function(n){var r=this;return e(t,function(e){return Gn(e,r,n)})})})}function Qo(e,t){t=t===n?` `:co(t);var r=t.length;if(r<2)return r?Ja(t,e):t;var i=Ja(t,dn(e/Vr(t)));return jr(t)?xo(Hr(i),0,e).join(``):i.slice(0,e)}function $o(e,t,n,r){var i=t&_,a=Wo(e);function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,u=pt(l+s),d=this&&this!==Nn&&this instanceof o?a:e;++c<l;)u[c]=r[c];for(;s--;)u[c++]=arguments[++t];return Gn(d,i?n:this,u)}return o}function es(e){return function(t,r,i){return i&&typeof i!=`number`&&Is(t,r,i)&&(r=i=n),t=Sd(t),r===n?(r=t,t=0):r=Sd(r),i=i===n?t<r?1:-1:Sd(i),qa(t,r,i,e)}}function ts(e){return function(t,n){return typeof t==`string`&&typeof n==`string`||(t=Td(t),n=Td(n)),e(t,n)}}function ns(e,t,r,i,a,o,s,c,l,u){var d=t&b,f=d?s:n,p=d?n:s,m=d?o:n,h=d?n:o;t|=d?S:C,t&=~(d?C:S),t&y||(t&=~(_|v));var g=[e,t,a,m,f,h,p,c,l,u],x=r.apply(n,g);return zs(e)&&$s(x,g),x.placeholder=i,nc(x,e,t)}function rs(e){var t=Mt[e];return function(e,n){if(e=Td(e),n=n==null?0:Tn(Cd(n),292),n&&_n(e)){var r=(Od(e)+`e`).split(`e`);return r=(Od(t(r[0]+`e`+(+r[1]+n)))+`e`).split(`e`),+(r[0]+`e`+(+r[1]-n))}return t(e)}}var is=Ln&&1/Lr(new Ln([,-0]))[1]==ue?function(e){return new Ln(e)}:mp;function as(e){return function(t){var n=Es(t);return n==De?Pr(t):n==Pe?Rr(t):yr(t,e(t))}}function os(e,t,r,i,a,s,c,l){var u=t&#x26;v;if(!u&&typeof e!=`function`)throw new It(o);var d=i?i.length:0;if(d||(t&=~(S|C),i=a=n),c=c===n?c:bn(Cd(c),0),l=l===n?l:Cd(l),d-=a?a.length:0,t&C){var f=i,p=a;i=a=n}var m=u?n:gs(e),h=[e,t,r,i,a,f,p,s,c,l];if(m&&Ks(h,m),e=h[0],t=h[1],r=h[2],i=h[3],a=h[4],l=h[9]=h[9]===n?u?0:e.length:bn(h[9]-d,0),!l&&t&(b|x)&&(t&=~(b|x)),!t||t==_)var g=Vo(e,t,r);else g=t==b||t==x?Go(e,t,l):(t==S||t==(_|S))&&!a.length?$o(e,t,r,i):Jo.apply(n,h);return nc((m?$a:$s)(g,h),e,t)}function ss(e,t,r,i){return e===n||Nu(e,zt[r])&&!Ht.call(i,r)?t:e}function cs(e,t,r,i,a,o){return $u(e)&&$u(t)&&(o.set(t,e),La(e,t,n,cs,o),o.delete(t)),e}function ls(e){return ld(e)?n:e}function us(e,t,r,i,a,o){var s=r&h,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,m=r&g?new Ti:n;for(o.set(e,t),o.set(t,e);++f<c;){var _=e[f],v=t[f];if(i)var y=s?i(v,_,f,t,e,o):i(_,v,f,e,t,o);if(y!==n){if(y)continue;p=!1;break}if(m){if(!rr(t,function(e,t){if(!Cr(m,t)&&(_===e||a(_,e,r,i,o)))return m.push(t)})){p=!1;break}}else if(!(_===v||a(_,v,r,i,o))){p=!1;break}}return o.delete(e),o.delete(t),p}function ds(e,t,n,r,i,a,o){switch(n){case Ve:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Be:return!(e.byteLength!=t.byteLength||!a(new Zt(e),new Zt(t)));case xe:case Se:case Oe:return Nu(+e,+t);case we:return e.name==t.name&&e.message==t.message;case Ne:case Fe:return e==t+``;case De:var s=Pr;case Pe:var c=r&#x26;h;if(s||=Lr,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=g,o.set(e,t);var u=us(s(e),s(t),r,i,a,o);return o.delete(e),u;case Ie:if(Qr)return Qr.call(e)==Qr.call(t)}return!1}function fs(e,t,r,i,a,o){var s=r&h,c=ms(e),l=c.length;if(l!=ms(t).length&&!s)return!1;for(var u=l;u--;){var d=c[u];if(!(s?d in t:Ht.call(t,d)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var m=!0;o.set(e,t),o.set(t,e);for(var g=s;++u<l;){d=c[u];var _=e[d],v=t[d];if(i)var y=s?i(v,_,d,t,e,o):i(_,v,d,e,t,o);if(!(y===n?_===v||a(_,v,r,i,o):y)){m=!1;break}g||=d==`constructor`}if(m&&!g){var b=e.constructor,x=t.constructor;b!=x&&`constructor`in e&&`constructor`in t&&!(typeof b==`function`&&b instanceof b&&typeof x==`function`&&x instanceof x)&&(m=!1)}return o.delete(e),o.delete(t),m}function ps(e){return tc(Ys(e,n,Cc),e+``)}function ms(e){return da(e,Zd,ws)}function hs(e){return da(e,Qd,Ts)}var gs=ar?function(e){return ar.get(e)}:mp;function _s(e){for(var t=e.name+``,n=mr[t],r=Ht.call(mr,t)?n.length:0;r--;){var i=n[r],a=i.func;if(a==null||a==e)return i.name}return t}function vs(e){return(Ht.call(w,`placeholder`)?w:e).placeholder}function ys(){var e=w.iteratee||sp;return e=e===sp?Aa:e,arguments.length?e(arguments[0],arguments[1]):e}function bs(e,t){var n=e.__data__;return Rs(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function xs(e){for(var t=Zd(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Us(i)]}return t}function Ss(e,t){var r=Ar(e,t);return Ea(r)?r:n}function Cs(e){var t=Ht.call(e,on),r=e[on];try{e[on]=n;var i=!0}catch{}var a=Gt.call(e);return i&&(t?e[on]=r:delete e[on]),a}var ws=pn?function(e){return e==null?[]:(e=Nt(e),Xn(pn(e),function(t){return tn.call(e,t)}))}:Cp,Ts=pn?function(e){for(var t=[];e;)er(t,ws(e)),e=$t(e);return t}:Cp,Es=fa;(Mn&&Es(new Mn(new ArrayBuffer(1)))!=Ve||Pn&&Es(new Pn)!=De||Fn&&Es(Fn.resolve())!=je||Ln&&Es(new Ln)!=Pe||Rn&&Es(new Rn)!=Re)&&(Es=function(e){var t=fa(e),r=t==Ae?e.constructor:n,i=r?sc(r):``;if(i)switch(i){case zr:return Ve;case Gr:return De;case Kr:return je;case Yr:return Pe;case Xr:return Re}return t});function Ds(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case`drop`:e+=o;break;case`dropRight`:t-=o;break;case`take`:t=Tn(t,e+o);break;case`takeRight`:e=bn(e,t-o);break}}return{start:e,end:t}}function Os(e){var t=e.match(ht);return t?t[1].split(gt):[]}function ks(e,t,n){t=yo(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=oc(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Qu(i)&&Fs(o,i)&&(Lu(e)||Iu(e)))}function As(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&Ht.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function js(e){return typeof e.constructor==`function`&&!Hs(e)?ei($t(e)):{}}function Ms(e,t,n){var r=e.constructor;switch(t){case Be:return wo(e);case xe:case Se:return new r(+e);case Ve:return To(e,n);case He:case Ue:case We:case Ge:case Ke:case qe:case Je:case Ye:case Xe:return Oo(e,n);case De:return new r;case Oe:case Fe:return new r(e);case Ne:return Eo(e);case Pe:return new r;case Ie:return Do(e)}}function Ns(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?`& `:``)+t[r],t=t.join(n>2?`, `:` `),e.replace(mt,`{&#xA;/* [wrapped with `+t+`] */&#xA;`)}function Ps(e){return Lu(e)||Iu(e)||!!(rn&&e&&e[rn])}function Fs(e,t){var n=typeof e;return t??=de,!!t&&(n==`number`||n!=`symbol`&&Et.test(e))&&e>-1&&e%1==0&&e<t}function Is(e,t,n){if(!$u(n))return!1;var r=typeof t;return(r==`number`?zu(n)&&Fs(t,n.length):r==`string`&&t in n)?Nu(n[t],e):!1}function Ls(e,t){if(Lu(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||md(e)?!0:ct.test(e)||!st.test(e)||t!=null&&e in Nt(t)}function Rs(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function zs(e){var t=_s(e),n=w[t];if(typeof n!=`function`||!(t in ri.prototype))return!1;if(e===n)return!0;var r=gs(n);return!!r&&e===r[0]}function Bs(e){return!!Wt&&Wt in e}var Vs=Bt?Xu:wp;function Hs(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||zt)}function Us(e){return e===e&&!$u(e)}function Ws(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==n||e in Nt(r))}}function Gs(e){var t=hu(e,function(e){return n.size===u&&n.clear(),e}),n=t.cache;return t}function Ks(e,t){var n=e[1],r=t[1],i=n|r,a=i<(_|v|ee),o=r==ee&&n==b||r==ee&&n==te&&e[7].length<=t[8]||r==(ee|te)&&t[7].length<=t[8]&&n==b;if(!(a||o))return e;r&_&&(e[2]=t[2],i|=n&_?0:y);var s=t[3];if(s){var c=e[3];e[3]=c?jo(c,s,t[4]):s,e[4]=c?Ir(e[3],d):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?Mo(c,s,t[6]):s,e[6]=c?Ir(e[5],d):t[6]),s=t[7],s&&(e[7]=s),r&ee&&(e[8]=e[8]==null?t[8]:Tn(e[8],t[8])),e[9]??=t[9],e[0]=t[0],e[1]=i,e}function qs(e){var t=[];if(e!=null)for(var n in Nt(e))t.push(n);return t}function Js(e){return Gt.call(e)}function Ys(e,t,r){return t=bn(t===n?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=bn(n.length-t,0),o=pt(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=pt(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),Gn(e,this,s)}}function Xs(e,t){return t.length<2?e:ua(e,no(t,0,-1))}function Zs(e,t){for(var r=e.length,i=Tn(t.length,r),a=No(e);i--;){var o=t[i];e[i]=Fs(o,r)?a[o]:n}return e}function Qs(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var $s=rc($a),ec=un||function(e,t){return Nn.setTimeout(e,t)},tc=rc(eo);function nc(e,t,n){var r=t+``;return tc(e,Ns(r,cc(Os(r),n)))}function rc(e){var t=0,r=0;return function(){var i=En(),a=oe-(i-r);if(r=i,a>0){if(++t>=ae)return arguments[0]}else t=0;return e.apply(n,arguments)}}function ic(e,t){var r=-1,i=e.length,a=i-1;for(t=t===n?i:t;++r<t;){var o=Ka(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var ac=Gs(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(lt,function(e,n,r,i){t.push(r?i.replace(yt,`$1`):n||e)}),t});function oc(e){if(typeof e==`string`||md(e))return e;var t=e+``;return t==`0`&&1/e==-ue?`-0`:t}function sc(e){if(e!=null){try{return Vt.call(e)}catch{}try{return e+``}catch{}}return``}function cc(e,t){return qn(_e,function(n){var r=`_.`+n[0];t&n[1]&&!Zn(e,r)&&e.push(r)}),e.sort()}function lc(e){if(e instanceof ri)return e.clone();var t=new ni(e.__wrapped__,e.__chain__);return t.__actions__=No(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function uc(e,t,r){t=(r?Is(e,t,r):t===n)?1:bn(Cd(t),0);var i=e==null?0:e.length;if(!i||t<1)return[];for(var a=0,o=0,s=pt(dn(i/t));a<i;)s[o++]=no(e,a,a+=t);return s}function dc(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i}function fc(){var e=arguments.length;if(!e)return[];for(var t=pt(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return er(Lu(n)?No(n):[n],ia(t,1))}var pc=Ya(function(e,t){return Bu(e)?Zi(e,ia(t,1,Bu,!0)):[]}),mc=Ya(function(e,t){var r=Pc(t);return Bu(r)&&(r=n),Bu(e)?Zi(e,ia(t,1,Bu,!0),ys(r,2)):[]}),hc=Ya(function(e,t){var r=Pc(t);return Bu(r)&&(r=n),Bu(e)?Zi(e,ia(t,1,Bu,!0),n,r):[]});function gc(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Cd(t),no(e,t<0?0:t,i)):[]}function _c(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Cd(t),t=i-t,no(e,0,t<0?0:t)):[]}function vc(e,t){return e&&e.length?po(e,ys(t,3),!0,!0):[]}function yc(e,t){return e&&e.length?po(e,ys(t,3),!0):[]}function bc(e,t,n,r){var i=e==null?0:e.length;return i?(n&&typeof n!=`number`&&Is(e,t,n)&&(n=0,r=i),na(e,t,n,r)):[]}function xc(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Cd(n);return i<0&&(i=bn(r+i,0)),cr(e,ys(t,3),i)}function Sc(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i-1;return r!==n&&(a=Cd(r),a=r<0?bn(i+a,0):Tn(a,i-1)),cr(e,ys(t,3),a,!0)}function Cc(e){return e!=null&&e.length?ia(e,1):[]}function wc(e){return e!=null&&e.length?ia(e,ue):[]}function Tc(e,t){return e!=null&&e.length?(t=t===n?1:Cd(t),ia(e,t)):[]}function Ec(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];Wi(r,i[0],i[1])}return r}function Dc(e){return e&&e.length?e[0]:n}function Oc(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Cd(n);return i<0&&(i=bn(r+i,0)),lr(e,t,i)}function kc(e){return e!=null&&e.length?no(e,0,-1):[]}var Ac=Ya(function(e){var t=$n(e,_o);return t.length&&t[0]===e[0]?_a(t):[]}),jc=Ya(function(e){var t=Pc(e),r=$n(e,_o);return t===Pc(r)?t=n:r.pop(),r.length&&r[0]===e[0]?_a(r,ys(t,2)):[]}),Mc=Ya(function(e){var t=Pc(e),r=$n(e,_o);return t=typeof t==`function`?t:n,t&&r.pop(),r.length&&r[0]===e[0]?_a(r,n,t):[]});function Nc(e,t){return e==null?``:vn.call(e,t)}function Pc(e){var t=e==null?0:e.length;return t?e[t-1]:n}function Fc(e,t,r){var i=e==null?0:e.length;if(!i)return-1;var a=i;return r!==n&&(a=Cd(r),a=a<0?bn(i+a,0):Tn(a,i-1)),t===t?Br(e,t,a):cr(e,dr,a,!0)}function Ic(e,t){return e&&e.length?za(e,Cd(t)):n}var Lc=Ya(Rc);function Rc(e,t){return e&&e.length&&t&&t.length?Wa(e,t):e}function zc(e,t,n){return e&&e.length&&t&&t.length?Wa(e,t,ys(n,2)):e}function Bc(e,t,r){return e&&e.length&&t&&t.length?Wa(e,t,n,r):e}var Vc=ps(function(e,t){var n=e==null?0:e.length,r=Gi(e,t);return Ga(e,$n(t,function(e){return Fs(e,n)?+e:e}).sort(ko)),r});function Hc(e,t){var n=[];if(!(e&&e.length))return n;var r=-1,i=[],a=e.length;for(t=ys(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return Ga(e,i),n}function Uc(e){return e==null?e:jn.call(e)}function Wc(e,t,r){var i=e==null?0:e.length;return i?(r&&typeof r!=`number`&&Is(e,t,r)?(t=0,r=i):(t=t==null?0:Cd(t),r=r===n?i:Cd(r)),no(e,t,r)):[]}function Gc(e,t){return io(e,t)}function Kc(e,t,n){return ao(e,t,ys(n,2))}function qc(e,t){var n=e==null?0:e.length;if(n){var r=io(e,t);if(r<n&&Nu(e[r],t))return r}return-1}function Jc(e,t){return io(e,t,!0)}function Yc(e,t,n){return ao(e,t,ys(n,2),!0)}function Xc(e,t){if(e!=null&&e.length){var n=io(e,t,!0)-1;if(Nu(e[n],t))return n}return-1}function Zc(e){return e&&e.length?oo(e):[]}function Qc(e,t){return e&&e.length?oo(e,ys(t,2)):[]}function $c(e){var t=e==null?0:e.length;return t?no(e,1,t):[]}function el(e,t,r){return e&&e.length?(t=r||t===n?1:Cd(t),no(e,0,t<0?0:t)):[]}function tl(e,t,r){var i=e==null?0:e.length;return i?(t=r||t===n?1:Cd(t),t=i-t,no(e,t<0?0:t,i)):[]}function nl(e,t){return e&&e.length?po(e,ys(t,3),!1,!0):[]}function rl(e,t){return e&&e.length?po(e,ys(t,3)):[]}var il=Ya(function(e){return lo(ia(e,1,Bu,!0))}),al=Ya(function(e){var t=Pc(e);return Bu(t)&&(t=n),lo(ia(e,1,Bu,!0),ys(t,2))}),ol=Ya(function(e){var t=Pc(e);return t=typeof t==`function`?t:n,lo(ia(e,1,Bu,!0),n,t)});function sl(e){return e&&e.length?lo(e):[]}function cl(e,t){return e&&e.length?lo(e,ys(t,2)):[]}function ll(e,t){return t=typeof t==`function`?t:n,e&&e.length?lo(e,n,t):[]}function ul(e){if(!(e&&e.length))return[];var t=0;return e=Xn(e,function(e){if(Bu(e))return t=bn(e.length,t),!0}),vr(t,function(t){return $n(e,pr(t))})}function dl(e,t){if(!(e&&e.length))return[];var r=ul(e);return t==null?r:$n(r,function(e){return Gn(t,n,e)})}var fl=Ya(function(e,t){return Bu(e)?Zi(e,t):[]}),pl=Ya(function(e){return ho(Xn(e,Bu))}),ml=Ya(function(e){var t=Pc(e);return Bu(t)&&(t=n),ho(Xn(e,Bu),ys(t,2))}),hl=Ya(function(e){var t=Pc(e);return t=typeof t==`function`?t:n,ho(Xn(e,Bu),n,t)}),gl=Ya(ul);function _l(e,t){return go(e||[],t||[],zi)}function vl(e,t){return go(e||[],t||[],Qa)}var yl=Ya(function(e){var t=e.length,r=t>1?e[t-1]:n;return r=typeof r==`function`?(e.pop(),r):n,dl(e,r)});function bl(e){var t=w(e);return t.__chain__=!0,t}function xl(e,t){return t(e),e}function Sl(e,t){return t(e)}var Cl=ps(function(e){var t=e.length,r=t?e[0]:0,i=this.__wrapped__,a=function(t){return Gi(t,e)};return t>1||this.__actions__.length||!(i instanceof ri)||!Fs(r)?this.thru(a):(i=i.slice(r,+r+ +!!t),i.__actions__.push({func:Sl,args:[a],thisArg:n}),new ni(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e}))});function wl(){return bl(this)}function Tl(){return new ni(this.value(),this.__chain__)}function El(){this.__values__===n&&(this.__values__=xd(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}}function Dl(){return this}function Ol(e){for(var t,r=this;r instanceof ti;){var i=lc(r);i.__index__=0,i.__values__=n,t?a.__wrapped__=i:t=i;var a=i;r=r.__wrapped__}return a.__wrapped__=e,t}function kl(){var e=this.__wrapped__;if(e instanceof ri){var t=e;return this.__actions__.length&&(t=new ri(this)),t=t.reverse(),t.__actions__.push({func:Sl,args:[Uc],thisArg:n}),new ni(t,this.__chain__)}return this.thru(Uc)}function Al(){return mo(this.__wrapped__,this.__actions__)}var jl=Lo(function(e,t,n){Ht.call(e,n)?++e[n]:Wi(e,n,1)});function Ml(e,t,r){var i=Lu(e)?Yn:ea;return r&&Is(e,t,r)&&(t=n),i(e,ys(t,3))}function Nl(e,t){return(Lu(e)?Xn:ra)(e,ys(t,3))}var Pl=Ko(xc),Fl=Ko(Sc);function Il(e,t){return ia(Gl(e,t),1)}function Ll(e,t){return ia(Gl(e,t),ue)}function Rl(e,t,r){return r=r===n?1:Cd(r),ia(Gl(e,t),r)}function zl(e,t){return(Lu(e)?qn:Qi)(e,ys(t,3))}function Bl(e,t){return(Lu(e)?Jn:$i)(e,ys(t,3))}var Vl=Lo(function(e,t,n){Ht.call(e,n)?e[n].push(t):Wi(e,n,[t])});function Hl(e,t,n,r){e=zu(e)?e:_f(e),n=n&&!r?Cd(n):0;var i=e.length;return n<0&&(n=bn(i+n,0)),pd(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&lr(e,t,n)>-1}var Ul=Ya(function(e,t,n){var r=-1,i=typeof t==`function`,a=zu(e)?pt(e.length):[];return Qi(e,function(e){a[++r]=i?Gn(t,e,n):T(e,t,n)}),a}),Wl=Lo(function(e,t,n){Wi(e,n,t)});function Gl(e,t){return(Lu(e)?$n:Pa)(e,ys(t,3))}function Kl(e,t,r,i){return e==null?[]:(Lu(t)||(t=t==null?[]:[t]),r=i?n:r,Lu(r)||(r=r==null?[]:[r]),Ba(e,t,r))}var ql=Lo(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]});function Jl(e,t,n){var r=Lu(e)?tr:hr,i=arguments.length<3;return r(e,ys(t,4),n,i,Qi)}function Yl(e,t,n){var r=Lu(e)?nr:hr,i=arguments.length<3;return r(e,ys(t,4),n,i,$i)}function Xl(e,t){return(Lu(e)?Xn:ra)(e,gu(ys(t,3)))}function Zl(e){return(Lu(e)?Fi:Xa)(e)}function Ql(e,t,r){return t=(r?Is(e,t,r):t===n)?1:Cd(t),(Lu(e)?Ii:Za)(e,t)}function $l(e){return(Lu(e)?Li:to)(e)}function eu(e){if(e==null)return 0;if(zu(e))return pd(e)?Vr(e):e.length;var t=Es(e);return t==De||t==Pe?e.size:ja(e).length}function tu(e,t,r){var i=Lu(e)?rr:ro;return r&&Is(e,t,r)&&(t=n),i(e,ys(t,3))}var nu=Ya(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Is(e,t[0],t[1])?t=[]:n>2&&Is(t[0],t[1],t[2])&&(t=[t[0]]),Ba(e,ia(t,1),[])}),ru=ln||function(){return Nn.Date.now()};function iu(e,t){if(typeof t!=`function`)throw new It(o);return e=Cd(e),function(){if(--e<1)return t.apply(this,arguments)}}function au(e,t,r){return t=r?n:t,t=e&&t==null?e.length:t,os(e,ee,n,n,n,n,t)}function ou(e,t){var r;if(typeof t!=`function`)throw new It(o);return e=Cd(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var su=Ya(function(e,t,n){var r=_;if(n.length){var i=Ir(n,vs(su));r|=S}return os(e,r,t,n,i)}),cu=Ya(function(e,t,n){var r=_|v;if(n.length){var i=Ir(n,vs(cu));r|=S}return os(t,r,e,n,i)});function lu(e,t,r){t=r?n:t;var i=os(e,b,n,n,n,n,n,t);return i.placeholder=lu.placeholder,i}function uu(e,t,r){t=r?n:t;var i=os(e,x,n,n,n,n,n,t);return i.placeholder=uu.placeholder,i}function du(e,t,r){var i,a,s,c,l,u,d=0,f=!1,p=!1,m=!0;if(typeof e!=`function`)throw new It(o);t=Td(t)||0,$u(r)&&(f=!!r.leading,p=`maxWait`in r,s=p?bn(Td(r.maxWait)||0,t):s,m=`trailing`in r?!!r.trailing:m);function h(t){var r=i,o=a;return i=a=n,d=t,c=e.apply(o,r),c}function g(e){return d=e,l=ec(y,t),f?h(e):c}function _(e){var n=e-u,r=e-d,i=t-n;return p?Tn(i,s-r):i}function v(e){var r=e-u,i=e-d;return u===n||r>=t||r<0||p&&i>=s}function y(){var e=ru();if(v(e))return b(e);l=ec(y,_(e))}function b(e){return l=n,m&&i?h(e):(i=a=n,c)}function x(){l!==n&&So(l),d=0,i=u=a=l=n}function S(){return l===n?c:b(ru())}function C(){var e=ru(),r=v(e);if(i=arguments,a=this,u=e,r){if(l===n)return g(u);if(p)return So(l),l=ec(y,t),h(u)}return l===n&&(l=ec(y,t)),c}return C.cancel=x,C.flush=S,C}var fu=Ya(function(e,t){return Xi(e,1,t)}),pu=Ya(function(e,t,n){return Xi(e,Td(t)||0,n)});function mu(e){return os(e,ne)}function hu(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new It(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(hu.Cache||yi),n}hu.Cache=yi;function gu(e){if(typeof e!=`function`)throw new It(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function _u(e){return ou(2,e)}var vu=bo(function(e,t){t=t.length==1&&Lu(t[0])?$n(t[0],xr(ys())):$n(ia(t,1),xr(ys()));var n=t.length;return Ya(function(r){for(var i=-1,a=Tn(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return Gn(e,this,r)})}),yu=Ya(function(e,t){return os(e,S,n,t,Ir(t,vs(yu)))}),bu=Ya(function(e,t){return os(e,C,n,t,Ir(t,vs(bu)))}),xu=ps(function(e,t){return os(e,te,n,n,n,t)});function Su(e,t){if(typeof e!=`function`)throw new It(o);return t=t===n?t:Cd(t),Ya(e,t)}function Cu(e,t){if(typeof e!=`function`)throw new It(o);return t=t==null?0:bn(Cd(t),0),Ya(function(n){var r=n[t],i=xo(n,0,t);return r&&er(i,r),Gn(e,this,i)})}function wu(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw new It(o);return $u(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),du(e,t,{leading:r,maxWait:t,trailing:i})}function Tu(e){return au(e,1)}function Eu(e,t){return yu(vo(t),e)}function Du(){if(!arguments.length)return[];var e=arguments[0];return Lu(e)?e:[e]}function Ou(e){return qi(e,m)}function ku(e,t){return t=typeof t==`function`?t:n,qi(e,m,t)}function Au(e){return qi(e,f|m)}function ju(e,t){return t=typeof t==`function`?t:n,qi(e,f|m,t)}function Mu(e,t){return t==null||Yi(e,t,Zd(t))}function Nu(e,t){return e===t||e!==e&&t!==t}var Pu=ts(pa),Fu=ts(function(e,t){return e>=t}),Iu=ya(function(){return arguments}())?ya:function(e){return ed(e)&&Ht.call(e,`callee`)&&!tn.call(e,`callee`)},Lu=pt.isArray,Ru=zn?xr(zn):ba;function zu(e){return e!=null&&Qu(e.length)&&!Xu(e)}function Bu(e){return ed(e)&&zu(e)}function Vu(e){return e===!0||e===!1||ed(e)&&fa(e)==xe}var Hu=mn||wp,Uu=Bn?xr(Bn):xa;function Wu(e){return ed(e)&&e.nodeType===1&&!ld(e)}function Gu(e){if(e==null)return!0;if(zu(e)&&(Lu(e)||typeof e==`string`||typeof e.splice==`function`||Hu(e)||hd(e)||Iu(e)))return!e.length;var t=Es(e);if(t==De||t==Pe)return!e.size;if(Hs(e))return!ja(e).length;for(var n in e)if(Ht.call(e,n))return!1;return!0}function Ku(e,t){return Sa(e,t)}function qu(e,t,r){r=typeof r==`function`?r:n;var i=r?r(e,t):n;return i===n?Sa(e,t,n,r):!!i}function Ju(e){if(!ed(e))return!1;var t=fa(e);return t==we||t==Ce||typeof e.message==`string`&&typeof e.name==`string`&&!ld(e)}function Yu(e){return typeof e==`number`&&_n(e)}function Xu(e){if(!$u(e))return!1;var t=fa(e);return t==Te||t==Ee||t==be||t==Me}function Zu(e){return typeof e==`number`&&e==Cd(e)}function Qu(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=de}function $u(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function ed(e){return typeof e==`object`&&!!e}var td=Vn?xr(Vn):wa;function nd(e,t){return e===t||Ta(e,t,xs(t))}function rd(e,t,r){return r=typeof r==`function`?r:n,Ta(e,t,xs(t),r)}function id(e){return cd(e)&&e!=+e}function ad(e){if(Vs(e))throw new At(a);return Ea(e)}function od(e){return e===null}function sd(e){return e==null}function cd(e){return typeof e==`number`||ed(e)&&fa(e)==Oe}function ld(e){if(!ed(e)||fa(e)!=Ae)return!1;var t=$t(e);if(t===null)return!0;var n=Ht.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Vt.call(n)==Kt}var ud=Hn?xr(Hn):Da;function dd(e){return Zu(e)&&e>=-de&&e<=de}var fd=Un?xr(Un):Oa;function pd(e){return typeof e==`string`||!Lu(e)&&ed(e)&&fa(e)==Fe}function md(e){return typeof e==`symbol`||ed(e)&&fa(e)==Ie}var hd=Wn?xr(Wn):ka;function gd(e){return e===n}function _d(e){return ed(e)&&Es(e)==Re}function vd(e){return ed(e)&&fa(e)==ze}var yd=ts(Na),bd=ts(function(e,t){return e<=t});function xd(e){if(!e)return[];if(zu(e))return pd(e)?Hr(e):No(e);if(an&&e[an])return Nr(e[an]());var t=Es(e);return(t==De?Pr:t==Pe?Lr:_f)(e)}function Sd(e){return e?(e=Td(e),e===ue||e===-ue?(e<0?-1:1)*fe:e===e?e:0):e===0?e:0}function Cd(e){var t=Sd(e),n=t%1;return t===t?n?t-n:t:0}function wd(e){return e?Ki(Cd(e),0,me):0}function Td(e){if(typeof e==`number`)return e;if(md(e))return pe;if($u(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=$u(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=br(e);var n=Ct.test(e);return n||Tt.test(e)?An(e.slice(2),n?2:8):St.test(e)?pe:+e}function Ed(e){return Po(e,Qd(e))}function Dd(e){return e?Ki(Cd(e),-de,de):e===0?e:0}function Od(e){return e==null?``:co(e)}var kd=Ro(function(e,t){if(Hs(t)||zu(t)){Po(t,Zd(t),e);return}for(var n in t)Ht.call(t,n)&&zi(e,n,t[n])}),Ad=Ro(function(e,t){Po(t,Qd(t),e)}),jd=Ro(function(e,t,n,r){Po(t,Qd(t),e,r)}),Md=Ro(function(e,t,n,r){Po(t,Zd(t),e,r)}),Nd=ps(Gi);function Pd(e,t){var n=ei(e);return t==null?n:Hi(n,t)}var Fd=Ya(function(e,t){e=Nt(e);var r=-1,i=t.length,a=i>2?t[2]:n;for(a&&Is(t[0],t[1],a)&&(i=1);++r<i;)for(var o=t[r],s=Qd(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===n||Nu(d,zt[u])&&!Ht.call(e,u))&&(e[u]=o[u])}return e}),Id=Ya(function(e){return e.push(n,cs),Gn(nf,n,e)});function Ld(e,t){return sr(e,ys(t,3),sa)}function Rd(e,t){return sr(e,ys(t,3),ca)}function zd(e,t){return e==null?e:aa(e,ys(t,3),Qd)}function Bd(e,t){return e==null?e:oa(e,ys(t,3),Qd)}function Vd(e,t){return e&&sa(e,ys(t,3))}function Hd(e,t){return e&&ca(e,ys(t,3))}function Ud(e){return e==null?[]:la(e,Zd(e))}function Wd(e){return e==null?[]:la(e,Qd(e))}function Gd(e,t,r){var i=e==null?n:ua(e,t);return i===n?r:i}function Kd(e,t){return e!=null&&ks(e,t,ma)}function qd(e,t){return e!=null&&ks(e,t,ha)}var Jd=Yo(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=Gt.call(t)),e[t]=n},np(op)),Yd=Yo(function(e,t,n){t!=null&&typeof t.toString!=`function`&&(t=Gt.call(t)),Ht.call(e,t)?e[t].push(n):e[t]=[n]},ys),Xd=Ya(T);function Zd(e){return zu(e)?Pi(e):ja(e)}function Qd(e){return zu(e)?Pi(e,!0):Ma(e)}function $d(e,t){var n={};return t=ys(t,3),sa(e,function(e,r,i){Wi(n,t(e,r,i),e)}),n}function ef(e,t){var n={};return t=ys(t,3),sa(e,function(e,r,i){Wi(n,r,t(e,r,i))}),n}var tf=Ro(function(e,t,n){La(e,t,n)}),nf=Ro(function(e,t,n,r){La(e,t,n,r)}),rf=ps(function(e,t){var n={};if(e==null)return n;var r=!1;t=$n(t,function(t){return t=yo(t,e),r||=t.length>1,t}),Po(e,hs(e),n),r&&(n=qi(n,f|p|m,ls));for(var i=t.length;i--;)uo(n,t[i]);return n});function af(e,t){return sf(e,gu(ys(t)))}var of=ps(function(e,t){return e==null?{}:Va(e,t)});function sf(e,t){if(e==null)return{};var n=$n(hs(e),function(e){return[e]});return t=ys(t),Ha(e,n,function(e,n){return t(e,n[0])})}function cf(e,t,r){t=yo(t,e);var i=-1,a=t.length;for(a||(a=1,e=n);++i<a;){var o=e==null?n:e[oc(t[i])];o===n&&(i=a,o=r),e=Xu(o)?o.call(e):o}return e}function lf(e,t,n){return e==null?e:Qa(e,t,n)}function uf(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:Qa(e,t,r,i)}var df=as(Zd),ff=as(Qd);function pf(e,t,n){var r=Lu(e),i=r||Hu(e)||hd(e);if(t=ys(t,4),n==null){var a=e&&e.constructor;n=i?r?new a:[]:$u(e)&&Xu(a)?ei($t(e)):{}}return(i?qn:sa)(e,function(e,r,i){return t(n,e,r,i)}),n}function mf(e,t){return e==null?!0:uo(e,t)}function hf(e,t,n){return e==null?e:fo(e,t,vo(n))}function gf(e,t,r,i){return i=typeof i==`function`?i:n,e==null?e:fo(e,t,vo(r),i)}function _f(e){return e==null?[]:Sr(e,Zd(e))}function vf(e){return e==null?[]:Sr(e,Qd(e))}function yf(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=Td(r),r=r===r?r:0),t!==n&&(t=Td(t),t=t===t?t:0),Ki(Td(e),t,r)}function bf(e,t,r){return t=Sd(t),r===n?(r=t,t=0):r=Sd(r),e=Td(e),ga(e,t,r)}function xf(e,t,r){if(r&&typeof r!=`boolean`&&Is(e,t,r)&&(t=r=n),r===n&&(typeof t==`boolean`?(r=t,t=n):typeof e==`boolean`&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=Sd(e),t===n?(t=e,e=0):t=Sd(t)),e>t){var i=e;e=t,t=i}if(r||e%1||t%1){var a=On();return Tn(e+a*(t-e+kn(`1e-`+((a+``).length-1))),t)}return Ka(e,t)}var Sf=Uo(function(e,t,n){return t=t.toLowerCase(),e+(n?Cf(t):t)});function Cf(e){return Xf(Od(e).toLowerCase())}function wf(e){return e=Od(e),e&&e.replace(Dt,Dr).replace(gn,``)}function Tf(e,t,r){e=Od(e),t=co(t);var i=e.length;r=r===n?i:Ki(Cd(r),0,i);var a=r;return r-=t.length,r>=0&&e.slice(r,a)==t}function Ef(e){return e=Od(e),e&&rt.test(e)?e.replace(tt,Or):e}function Df(e){return e=Od(e),e&&dt.test(e)?e.replace(ut,`\\$&`):e}var Of=Uo(function(e,t,n){return e+(n?`-`:``)+t.toLowerCase()}),kf=Uo(function(e,t,n){return e+(n?` `:``)+t.toLowerCase()}),Af=Ho(`toLowerCase`);function jf(e,t,n){e=Od(e),t=Cd(t);var r=t?Vr(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Qo(fn(i),n)+e+Qo(dn(i),n)}function Mf(e,t,n){e=Od(e),t=Cd(t);var r=t?Vr(e):0;return t&&r<t?e+Qo(t-r,n):e}function Nf(e,t,n){e=Od(e),t=Cd(t);var r=t?Vr(e):0;return t&&r<t?Qo(t-r,n)+e:e}function Pf(e,t,n){return n||t==null?t=0:t&&=+t,Dn(Od(e).replace(ft,``),t||0)}function Ff(e,t,r){return t=(r?Is(e,t,r):t===n)?1:Cd(t),Ja(Od(e),t)}function If(){var e=arguments,t=Od(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Lf=Uo(function(e,t,n){return e+(n?`_`:``)+t.toLowerCase()});function Rf(e,t,r){return r&&typeof r!=`number`&&Is(e,t,r)&&(t=r=n),r=r===n?me:r>>>0,r?(e=Od(e),e&&(typeof t==`string`||t!=null&&!ud(t))&&(t=co(t),!t&&jr(e))?xo(Hr(e),0,r):e.split(t,r)):[]}var zf=Uo(function(e,t,n){return e+(n?` `:``)+Xf(t)});function Bf(e,t,n){return e=Od(e),n=n==null?0:Ki(Cd(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t}function Vf(e,t,r){var i=w.templateSettings;r&&Is(e,t,r)&&(t=n),e=Od(e),t=Md({},t,i,ss);var a=Md({},t.imports,i.imports,ss),o=Zd(a),l=Sr(a,o);qn(o,function(e){if(vt.test(e))throw new At(c)});var u,d,f=0,p=t.interpolate||Ot,m=`__p += '`,h=Pt((t.escape||Ot).source+`|`+p.source+`|`+(p===ot?bt:Ot).source+`|`+(t.evaluate||Ot).source+`|$`,`g`),g=`//# sourceURL=`+(Ht.call(t,`sourceURL`)?(t.sourceURL+``).replace(/\s/g,` `):`lodash.templateSources[`+ ++Sn+`]`)+`&#xA;`;e.replace(h,function(t,n,r,i,a,o){return r||=i,m+=e.slice(f,o).replace(kt,kr),n&&(u=!0,m+=`' +&#xA;__e(`+n+`) +&#xA;'`),a&&(d=!0,m+=`';&#xA;`+a+`;&#xA;__p += '`),r&&(m+=`' +&#xA;((__t = (`+r+`)) == null ? '' : __t) +&#xA;'`),f=o+t.length,t}),m+=`';&#xA;`;var _=Ht.call(t,`variable`)&&t.variable;if(!_)m=`with (obj) {&#xA;`+m+`&#xA;}&#xA;`;else if(vt.test(_))throw new At(s);m=(d?m.replace(Ze,``):m).replace(Qe,`$1`).replace($e,`$1;`),m=`function(`+(_||`obj`)+`) {&#xA;`+(_?``:`obj || (obj = {});&#xA;`)+`var __t, __p = ''`+(u?`, __e = _.escape`:``)+(d?`, __j = Array.prototype.join;&#xA;function print() { __p += __j.call(arguments, '') }&#xA;`:`;&#xA;`)+m+`return __p&#xA;}`;var v=Qf(function(){return jt(o,g+`return `+m).apply(n,l)});if(v.source=m,Ju(v))throw v;return v}function Hf(e){return Od(e).toLowerCase()}function Uf(e){return Od(e).toUpperCase()}function Wf(e,t,r){if(e=Od(e),e&&(r||t===n))return br(e);if(!e||!(t=co(t)))return e;var i=Hr(e),a=Hr(t);return xo(i,wr(i,a),Tr(i,a)+1).join(``)}function Gf(e,t,r){if(e=Od(e),e&&(r||t===n))return e.slice(0,Ur(e)+1);if(!e||!(t=co(t)))return e;var i=Hr(e);return xo(i,0,Tr(i,Hr(t))+1).join(``)}function Kf(e,t,r){if(e=Od(e),e&&(r||t===n))return e.replace(ft,``);if(!e||!(t=co(t)))return e;var i=Hr(e);return xo(i,wr(i,Hr(t))).join(``)}function qf(e,t){var r=re,i=ie;if($u(t)){var a=`separator`in t?t.separator:a;r=`length`in t?Cd(t.length):r,i=`omission`in t?co(t.omission):i}e=Od(e);var o=e.length;if(jr(e)){var s=Hr(e);o=s.length}if(r>=o)return e;var c=r-Vr(i);if(c<1)return i;var l=s?xo(s,0,c).join(``):e.slice(0,c);if(a===n)return l+i;if(s&&(c+=l.length-c),ud(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=Pt(a.source,Od(xt.exec(a))+`g`)),a.lastIndex=0;u=a.exec(d);)var f=u.index;l=l.slice(0,f===n?c:f)}}else if(e.indexOf(co(a),c)!=c){var p=l.lastIndexOf(a);p>-1&&(l=l.slice(0,p))}return l+i}function Jf(e){return e=Od(e),e&&nt.test(e)?e.replace(et,Wr):e}var Yf=Uo(function(e,t,n){return e+(n?` `:``)+t.toUpperCase()}),Xf=Ho(`toUpperCase`);function Zf(e,t,r){return e=Od(e),t=r?n:t,t===n?Mr(e)?qr(e):or(e):e.match(t)||[]}var Qf=Ya(function(e,t){try{return Gn(e,n,t)}catch(e){return Ju(e)?e:new At(e)}}),$f=ps(function(e,t){return qn(t,function(t){t=oc(t),Wi(e,t,su(e[t],e))}),e});function ep(e){var t=e==null?0:e.length,n=ys();return e=t?$n(e,function(e){if(typeof e[1]!=`function`)throw new It(o);return[n(e[0]),e[1]]}):[],Ya(function(n){for(var r=-1;++r<t;){var i=e[r];if(Gn(i[0],this,n))return Gn(i[1],this,n)}})}function tp(e){return Ji(qi(e,f))}function np(e){return function(){return e}}function rp(e,t){return e==null||e!==e?t:e}var ip=qo(),ap=qo(!0);function op(e){return e}function sp(e){return Aa(typeof e==`function`?e:qi(e,f))}function cp(e){return Fa(qi(e,f))}function lp(e,t){return Ia(e,qi(t,f))}var up=Ya(function(e,t){return function(n){return T(n,e,t)}}),dp=Ya(function(e,t){return function(n){return T(e,n,t)}});function fp(e,t,n){var r=Zd(t),i=la(t,r);n==null&&!($u(t)&&(i.length||!r.length))&&(n=t,t=e,e=this,i=la(t,Zd(t)));var a=!($u(n)&&`chain`in n)||!!n.chain,o=Xu(e);return qn(i,function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=No(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,er([this.value()],arguments))})}),e}function pp(){return Nn._===this&&(Nn._=qt),this}function mp(){}function hp(e){return e=Cd(e),Ya(function(t){return za(t,e)})}var gp=Zo($n),_p=Zo(Yn),vp=Zo(rr);function yp(e){return Ls(e)?pr(oc(e)):Ua(e)}function bp(e){return function(t){return e==null?n:ua(e,t)}}var xp=es(),Sp=es(!0);function Cp(){return[]}function wp(){return!1}function Tp(){return{}}function Ep(){return``}function Dp(){return!0}function Op(e,t){if(e=Cd(e),e<1||e>de)return[];var n=me,r=Tn(e,me);t=ys(t),e-=me;for(var i=vr(r,t);++n<e;)t(n);return i}function kp(e){return Lu(e)?$n(e,oc):md(e)?[e]:No(ac(Od(e)))}function Ap(e){var t=++Ut;return Od(e)+t}var jp=Xo(function(e,t){return e+t},0),Mp=rs(`ceil`),Np=Xo(function(e,t){return e/t},1),Pp=rs(`floor`);function Fp(e){return e&&e.length?ta(e,op,pa):n}function Ip(e,t){return e&&e.length?ta(e,ys(t,2),pa):n}function Lp(e){return fr(e,op)}function Rp(e,t){return fr(e,ys(t,2))}function zp(e){return e&&e.length?ta(e,op,Na):n}function Bp(e,t){return e&&e.length?ta(e,ys(t,2),Na):n}var Vp=Xo(function(e,t){return e*t},1),Hp=rs(`round`),Up=Xo(function(e,t){return e-t},0);function Wp(e){return e&&e.length?_r(e,op):0}function Gp(e,t){return e&&e.length?_r(e,ys(t,2)):0}return w.after=iu,w.ary=au,w.assign=kd,w.assignIn=Ad,w.assignInWith=jd,w.assignWith=Md,w.at=Nd,w.before=ou,w.bind=su,w.bindAll=$f,w.bindKey=cu,w.castArray=Du,w.chain=bl,w.chunk=uc,w.compact=dc,w.concat=fc,w.cond=ep,w.conforms=tp,w.constant=np,w.countBy=jl,w.create=Pd,w.curry=lu,w.curryRight=uu,w.debounce=du,w.defaults=Fd,w.defaultsDeep=Id,w.defer=fu,w.delay=pu,w.difference=pc,w.differenceBy=mc,w.differenceWith=hc,w.drop=gc,w.dropRight=_c,w.dropRightWhile=vc,w.dropWhile=yc,w.fill=bc,w.filter=Nl,w.flatMap=Il,w.flatMapDeep=Ll,w.flatMapDepth=Rl,w.flatten=Cc,w.flattenDeep=wc,w.flattenDepth=Tc,w.flip=mu,w.flow=ip,w.flowRight=ap,w.fromPairs=Ec,w.functions=Ud,w.functionsIn=Wd,w.groupBy=Vl,w.initial=kc,w.intersection=Ac,w.intersectionBy=jc,w.intersectionWith=Mc,w.invert=Jd,w.invertBy=Yd,w.invokeMap=Ul,w.iteratee=sp,w.keyBy=Wl,w.keys=Zd,w.keysIn=Qd,w.map=Gl,w.mapKeys=$d,w.mapValues=ef,w.matches=cp,w.matchesProperty=lp,w.memoize=hu,w.merge=tf,w.mergeWith=nf,w.method=up,w.methodOf=dp,w.mixin=fp,w.negate=gu,w.nthArg=hp,w.omit=rf,w.omitBy=af,w.once=_u,w.orderBy=Kl,w.over=gp,w.overArgs=vu,w.overEvery=_p,w.overSome=vp,w.partial=yu,w.partialRight=bu,w.partition=ql,w.pick=of,w.pickBy=sf,w.property=yp,w.propertyOf=bp,w.pull=Lc,w.pullAll=Rc,w.pullAllBy=zc,w.pullAllWith=Bc,w.pullAt=Vc,w.range=xp,w.rangeRight=Sp,w.rearg=xu,w.reject=Xl,w.remove=Hc,w.rest=Su,w.reverse=Uc,w.sampleSize=Ql,w.set=lf,w.setWith=uf,w.shuffle=$l,w.slice=Wc,w.sortBy=nu,w.sortedUniq=Zc,w.sortedUniqBy=Qc,w.split=Rf,w.spread=Cu,w.tail=$c,w.take=el,w.takeRight=tl,w.takeRightWhile=nl,w.takeWhile=rl,w.tap=xl,w.throttle=wu,w.thru=Sl,w.toArray=xd,w.toPairs=df,w.toPairsIn=ff,w.toPath=kp,w.toPlainObject=Ed,w.transform=pf,w.unary=Tu,w.union=il,w.unionBy=al,w.unionWith=ol,w.uniq=sl,w.uniqBy=cl,w.uniqWith=ll,w.unset=mf,w.unzip=ul,w.unzipWith=dl,w.update=hf,w.updateWith=gf,w.values=_f,w.valuesIn=vf,w.without=fl,w.words=Zf,w.wrap=Eu,w.xor=pl,w.xorBy=ml,w.xorWith=hl,w.zip=gl,w.zipObject=_l,w.zipObjectDeep=vl,w.zipWith=yl,w.entries=df,w.entriesIn=ff,w.extend=Ad,w.extendWith=jd,fp(w,w),w.add=jp,w.attempt=Qf,w.camelCase=Sf,w.capitalize=Cf,w.ceil=Mp,w.clamp=yf,w.clone=Ou,w.cloneDeep=Au,w.cloneDeepWith=ju,w.cloneWith=ku,w.conformsTo=Mu,w.deburr=wf,w.defaultTo=rp,w.divide=Np,w.endsWith=Tf,w.eq=Nu,w.escape=Ef,w.escapeRegExp=Df,w.every=Ml,w.find=Pl,w.findIndex=xc,w.findKey=Ld,w.findLast=Fl,w.findLastIndex=Sc,w.findLastKey=Rd,w.floor=Pp,w.forEach=zl,w.forEachRight=Bl,w.forIn=zd,w.forInRight=Bd,w.forOwn=Vd,w.forOwnRight=Hd,w.get=Gd,w.gt=Pu,w.gte=Fu,w.has=Kd,w.hasIn=qd,w.head=Dc,w.identity=op,w.includes=Hl,w.indexOf=Oc,w.inRange=bf,w.invoke=Xd,w.isArguments=Iu,w.isArray=Lu,w.isArrayBuffer=Ru,w.isArrayLike=zu,w.isArrayLikeObject=Bu,w.isBoolean=Vu,w.isBuffer=Hu,w.isDate=Uu,w.isElement=Wu,w.isEmpty=Gu,w.isEqual=Ku,w.isEqualWith=qu,w.isError=Ju,w.isFinite=Yu,w.isFunction=Xu,w.isInteger=Zu,w.isLength=Qu,w.isMap=td,w.isMatch=nd,w.isMatchWith=rd,w.isNaN=id,w.isNative=ad,w.isNil=sd,w.isNull=od,w.isNumber=cd,w.isObject=$u,w.isObjectLike=ed,w.isPlainObject=ld,w.isRegExp=ud,w.isSafeInteger=dd,w.isSet=fd,w.isString=pd,w.isSymbol=md,w.isTypedArray=hd,w.isUndefined=gd,w.isWeakMap=_d,w.isWeakSet=vd,w.join=Nc,w.kebabCase=Of,w.last=Pc,w.lastIndexOf=Fc,w.lowerCase=kf,w.lowerFirst=Af,w.lt=yd,w.lte=bd,w.max=Fp,w.maxBy=Ip,w.mean=Lp,w.meanBy=Rp,w.min=zp,w.minBy=Bp,w.stubArray=Cp,w.stubFalse=wp,w.stubObject=Tp,w.stubString=Ep,w.stubTrue=Dp,w.multiply=Vp,w.nth=Ic,w.noConflict=pp,w.noop=mp,w.now=ru,w.pad=jf,w.padEnd=Mf,w.padStart=Nf,w.parseInt=Pf,w.random=xf,w.reduce=Jl,w.reduceRight=Yl,w.repeat=Ff,w.replace=If,w.result=cf,w.round=Hp,w.runInContext=e,w.sample=Zl,w.size=eu,w.snakeCase=Lf,w.some=tu,w.sortedIndex=Gc,w.sortedIndexBy=Kc,w.sortedIndexOf=qc,w.sortedLastIndex=Jc,w.sortedLastIndexBy=Yc,w.sortedLastIndexOf=Xc,w.startCase=zf,w.startsWith=Bf,w.subtract=Up,w.sum=Wp,w.sumBy=Gp,w.template=Vf,w.times=Op,w.toFinite=Sd,w.toInteger=Cd,w.toLength=wd,w.toLower=Hf,w.toNumber=Td,w.toSafeInteger=Dd,w.toString=Od,w.toUpper=Uf,w.trim=Wf,w.trimEnd=Gf,w.trimStart=Kf,w.truncate=qf,w.unescape=Jf,w.uniqueId=Ap,w.upperCase=Yf,w.upperFirst=Xf,w.each=zl,w.eachRight=Bl,w.first=Dc,fp(w,function(){var e={};return sa(w,function(t,n){Ht.call(w.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),w.VERSION=r,qn([`bind`,`bindKey`,`curry`,`curryRight`,`partial`,`partialRight`],function(e){w[e].placeholder=w}),qn([`drop`,`take`],function(e,t){ri.prototype[e]=function(r){r=r===n?1:bn(Cd(r),0);var i=this.__filtered__&&!t?new ri(this):this.clone();return i.__filtered__?i.__takeCount__=Tn(r,i.__takeCount__):i.__views__.push({size:Tn(r,me),type:e+(i.__dir__<0?`Right`:``)}),i},ri.prototype[e+`Right`]=function(t){return this.reverse()[e](t).reverse()}}),qn([`filter`,`map`,`takeWhile`],function(e,t){var n=t+1,r=n==se||n==le;ri.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ys(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),qn([`head`,`last`],function(e,t){var n=`take`+(t?`Right`:``);ri.prototype[e]=function(){return this[n](1).value()[0]}}),qn([`initial`,`tail`],function(e,t){var n=`drop`+(t?``:`Right`);ri.prototype[e]=function(){return this.__filtered__?new ri(this):this[n](1)}}),ri.prototype.compact=function(){return this.filter(op)},ri.prototype.find=function(e){return this.filter(e).head()},ri.prototype.findLast=function(e){return this.reverse().find(e)},ri.prototype.invokeMap=Ya(function(e,t){return typeof e==`function`?new ri(this):this.map(function(n){return T(n,e,t)})}),ri.prototype.reject=function(e){return this.filter(gu(ys(e)))},ri.prototype.slice=function(e,t){e=Cd(e);var r=this;return r.__filtered__&&(e>0||t<0)?new ri(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(t=Cd(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},ri.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ri.prototype.toArray=function(){return this.take(me)},sa(ri.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=w[i?`take`+(t==`last`?`Right`:``):t],o=i||/^find/.test(t);a&&(w.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof ri,l=s[0],u=c||Lu(t),d=function(e){var t=a.apply(w,er([e],s));return i&&f?t[0]:t};u&&r&&typeof l==`function`&&l.length!=1&&(c=u=!1);var f=this.__chain__,p=!!this.__actions__.length,m=o&&!f,h=c&&!p;if(!o&&u){t=h?t:new ri(this);var g=e.apply(t,s);return g.__actions__.push({func:Sl,args:[d],thisArg:n}),new ni(g,f)}return m&&h?e.apply(this,s):(g=this.thru(d),m?i?g.value()[0]:g.value():g)})}),qn([`pop`,`push`,`shift`,`sort`,`splice`,`unshift`],function(e){var t=Lt[e],n=/^(?:push|sort|unshift)$/.test(e)?`tap`:`thru`,r=/^(?:pop|shift)$/.test(e);w.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Lu(i)?i:[],e)}return this[n](function(n){return t.apply(Lu(n)?n:[],e)})}}),sa(ri.prototype,function(e,t){var n=w[t];if(n){var r=n.name+``;Ht.call(mr,r)||(mr[r]=[]),mr[r].push({name:t,func:n})}}),mr[Jo(n,v).name]=[{name:`wrapper`,func:n}],ri.prototype.clone=ii,ri.prototype.reverse=ai,ri.prototype.value=oi,w.prototype.at=Cl,w.prototype.chain=wl,w.prototype.commit=Tl,w.prototype.next=El,w.prototype.plant=Ol,w.prototype.reverse=kl,w.prototype.toJSON=w.prototype.valueOf=w.prototype.value=Al,w.prototype.first=w.prototype.head,an&&(w.prototype[an]=Dl),w})();typeof define==`function`&&typeof define.amd==`object`&&define.amd?(Nn._=Jr,define(function(){return Jr})):Fn?((Fn.exports=Jr)._=Jr,Pn._=Jr):Nn._=Jr}).call(e)})),XN=s((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},e(t)};return function(r){if(r&&r.__esModule)return r;var i={};if(r!=null)for(var a=e(r),o=0;o<a.length;o++)a[o]!==`default`&&t(i,r,a[o]);return n(i,r),i}})();Object.defineProperty(e,`__esModule`,{value:!0}),e.ExpressionEvaluator=void 0;var i=(JN(),d(_se)),a=r(YN());e.ExpressionEvaluator=class{constructor(e={}){this.settings=e,this.parser=new i.Parser}evaluate(e,t,n={},r={}){try{let i=this.convertCSharpToJavaScript(e),a=this.buildEvaluationContext(t,n,r);return this.parser.parse(i).evaluate(a)}catch(e){if(this.settings.ignoreException)return!1;throw this.settings.enableExceptionAsErrorMessage?Error(`Expression evaluation failed: ${e instanceof Error?e.message:String(e)}`):e}}buildEvaluationContext(e,t={},n={}){let r={};return e.forEach((e,t)=>{e.name?r[e.name]=e.value:r[`input${t+1}`]=e.value}),Object.assign(r,t),Object.assign(r,this.settings.customTypes||{}),Object.assign(r,n),r._=a,r.ToLower=e=>e?.toLowerCase?.()||``,r.ToUpper=e=>e?.toUpperCase?.()||``,r.Contains=(e,t)=>e?.includes?.(t)||!1,r.StartsWith=(e,t)=>e?.startsWith?.(t)||!1,r.EndsWith=(e,t)=>e?.endsWith?.(t)||!1,r.includes=(e,t)=>Array.isArray(e)?e.includes(t):!1,r.length=e=>e?.length||0,r.Infinity=1/0,r.NaN=NaN,r}convertCSharpToJavaScript(e){let t=e;return t=t.replace(/\bAND\b/gi,` and `),t=t.replace(/\bOR\b/gi,` or `),t=t.replace(/\bNOT\b/gi,`not `),t=t.replace(/&&/g,` and `),t=t.replace(/\|\|/g,` or `),t=t.replace(/(\w+)\.ToLower\(\)/g,`ToLower($1)`),t=t.replace(/(\w+)\.ToUpper\(\)/g,`ToUpper($1)`),t=t.replace(/(\w+)\.Contains\(/g,`Contains($1, `),t=t.replace(/===/g,`==`),t=t.replace(/!==/g,`!=`),t=t.replace(/\bnull\b/g,`null`),t}evaluateScopedParams(e,t,n={}){let r={...n};for(let n of e)try{let e=this.evaluate(n.expression,t,r);r[n.name]=e}catch(e){if(!this.settings.ignoreException)throw Error(`Failed to evaluate scoped parameter '${n.name}': ${e instanceof Error?e.message:String(e)}`);r[n.name]=null}return r}}})),ZN=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ActionBase=e.NestedRuleExecutionMode=e.RuleParameter=e.RuleExpressionType=e.RuleOperator=void 0;var t;(function(e){e.And=`And`,e.Or=`Or`})(t||(e.RuleOperator=t={}));var n;(function(e){e.LambdaExpression=`LambdaExpression`})(n||(e.RuleExpressionType=n={})),e.RuleParameter=class{constructor(e,t){this.name=e,this.value=t}};var r;(function(e){e.All=`All`,e.Performance=`Performance`})(r||(e.NestedRuleExecutionMode=r={})),e.ActionBase=class{}})),QN=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.RulesEngine=void 0;var t=XN(),n=ZN();e.RulesEngine=class{constructor(e,r={}){this.workflows=new Map,this.settings={enableExceptionAsErrorMessage:!0,ignoreException:!1,enableFormattedErrorMessage:!0,enableScopedParams:!0,isExpressionCaseSensitive:!1,autoRegisterInputType:!0,nestedRuleExecutionMode:n.NestedRuleExecutionMode.All,...r},this.expressionEvaluator=new t.ExpressionEvaluator(this.settings),e.forEach(e=>{this.workflows.set(e.workflowName,e)})}async executeAllRulesAsync(e,...t){let n=this.workflows.get(e);if(!n)throw Error(`Workflow '${e}' not found`);let r=[],i={};this.settings.enableScopedParams&&n.globalParams&&(i=this.expressionEvaluator.evaluateScopedParams(n.globalParams,t));for(let e of n.rules){if(e.enabled===!1)continue;let n=await this.executeRule(e,t,i);r.push(n)}return r}async executeRuleAsync(e,t,...n){let r=this.workflows.get(e);if(!r)throw Error(`Workflow '${e}' not found`);let i=this.findRuleByName(r.rules,t);if(!i)throw Error(`Rule '${t}' not found in workflow '${e}'`);let a={};return this.settings.enableScopedParams&&r.globalParams&&(a=this.expressionEvaluator.evaluateScopedParams(r.globalParams,n)),await this.executeRule(i,n,a)}async executeActionWorkflowAsync(e,t,...n){let r=await this.executeRuleAsync(e,t,...n);if(!r)throw Error(`Rule '${t}' not found`);return r.actionResult||{output:null}}async executeRule(e,t,n={},r={}){let i={rule:e,isSuccess:!1,childResults:[]};try{let a={...n,...r};if(this.settings.enableScopedParams&&e.localParams){let n=this.expressionEvaluator.evaluateScopedParams(e.localParams,t,a);a={...a,...n}}e.rules&&e.rules.length>0?i.isSuccess=await this.executeNestedRules(e,t,n,a,i):e.expression?i.isSuccess=this.expressionEvaluator.evaluate(e.expression,t,a):i.isSuccess=!1,await this.executeActions(e,i,t,a)}catch(e){if(i.isSuccess=!1,i.exceptionMessage=e instanceof Error?e.message:String(e),!this.settings.ignoreException)if(this.settings.enableExceptionAsErrorMessage)i.exceptionMessage=`Rule execution failed: ${i.exceptionMessage}`;else throw e}return i}async executeNestedRules(e,t,r,i,a){if(!e.rules||e.rules.length===0)return!1;let o=[],s=e.operator||n.RuleOperator.And,c=s===n.RuleOperator.And;for(let a of e.rules){if(a.enabled===!1)continue;if(this.settings.nestedRuleExecutionMode===n.NestedRuleExecutionMode.Performance&&(s===n.RuleOperator.And&&!c||s===n.RuleOperator.Or&&c))break;let e=await this.executeRule(a,t,r,i);o.push(e),s===n.RuleOperator.And?c&&=e.isSuccess:s===n.RuleOperator.Or&&(c||=e.isSuccess)}return a.childResults=o,c}async executeActions(e,t,r,i){if(!e.actions)return;let a=t.isSuccess?e.actions.onSuccess:e.actions.onFailure;if(a)try{let e=null;if(a.name===`OutputExpression`){let t=a.context?.expression;t&&(e=this.expressionEvaluator.evaluate(t,r,i))}else if(a.name===`EvaluateRule`){let t=a.context;if(t?.workflowName&&t?.ruleName){let a=r;if(t.inputFilter&&Array.isArray(t.inputFilter)&&(a=r.filter(e=>t.inputFilter.includes(e.name))),t.additionalInputs&&Array.isArray(t.additionalInputs))for(let e of t.additionalInputs){let t=this.expressionEvaluator.evaluate(e.expression,r,i);a.push(new n.RuleParameter(e.name,t))}let o=await this.executeRuleAsync(t.workflowName,t.ruleName,...a);e=o?.actionResult?.output||o?.isSuccess}}else if(this.settings.customActions&&this.settings.customActions[a.name]){let t=this.settings.customActions[a.name];e=await t().run(a.context||{},r)}t.actionResult={output:e}}catch(e){if(t.actionResult={output:null,exception:e instanceof Error?e:Error(String(e))},!this.settings.ignoreException)throw e}}findRuleByName(e,t){for(let n of e){if(n.ruleName===t)return n;if(n.rules&&n.rules.length>0){let e=this.findRuleByName(n.rules,t);if(e)return e}}return null}getWorkflowNames(){return Array.from(this.workflows.keys())}getWorkflow(e){return this.workflows.get(e)}addOrUpdateWorkflow(e){this.workflows.set(e.workflowName,e)}removeWorkflow(e){return this.workflows.delete(e)}}})),$N=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BuiltInActions=e.DatabaseAction=e.NotificationAction=e.LogAction=e.EvaluateRuleAction=e.OutputExpressionAction=void 0;var t=ZN(),n=class extends t.ActionBase{async run(e,t){if(!e.expression)throw Error(`OutputExpression action requires an &#x22;expression&#x22; in context`);return null}};e.OutputExpressionAction=n;var r=class extends t.ActionBase{async run(e,t){let n=e.workflowName,r=e.ruleName;if(!n||!r)throw Error(`EvaluateRule action requires &#x22;workflowName&#x22; and &#x22;ruleName&#x22; in context`);return null}};e.EvaluateRuleAction=r;var i=class extends t.ActionBase{async run(e,t){let n=e.message||`Rule executed`,r=e.level||`info`;return console.log(`[${r.toUpperCase()}] ${n}`,{parameters:t.map(e=>({name:e.name,value:e.value})),context:e}),{logged:!0,message:n,level:r}}};e.LogAction=i;var a=class extends t.ActionBase{async run(e,t){let n=e.recipient,r=e.message,i=e.type||`email`;if(!n||!r)throw Error(`NotificationAction requires &#x22;recipient&#x22; and &#x22;message&#x22; in context`);return console.log(`Sending ${i} notification to ${n}: ${r}`),{sent:!0,recipient:n,message:r,type:i,timestamp:new Date().toISOString()}}};e.NotificationAction=a;var o=class extends t.ActionBase{async run(e,t){let n=e.operation,r=e.table,i=e.data;if(!n||!r)throw Error(`DatabaseAction requires &#x22;operation&#x22; and &#x22;table&#x22; in context`);return console.log(`Performing ${n} on table ${r}`,{data:i,parameters:t}),{operation:n,table:r,success:!0,timestamp:new Date().toISOString()}}};e.DatabaseAction=o,e.BuiltInActions={OutputExpression:()=>new n,EvaluateRule:()=>new r,Log:()=>new i,Notification:()=>new a,Database:()=>new o}})),eP=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.VERSION=e.BuiltInActions=e.DatabaseAction=e.NotificationAction=e.LogAction=e.EvaluateRuleAction=e.OutputExpressionAction=e.ActionBase=e.NestedRuleExecutionMode=e.RuleParameter=e.RuleExpressionType=e.RuleOperator=e.ExpressionEvaluator=e.RulesEngine=void 0;var t=QN();Object.defineProperty(e,`RulesEngine`,{enumerable:!0,get:function(){return t.RulesEngine}});var n=XN();Object.defineProperty(e,`ExpressionEvaluator`,{enumerable:!0,get:function(){return n.ExpressionEvaluator}});var r=ZN();Object.defineProperty(e,`RuleOperator`,{enumerable:!0,get:function(){return r.RuleOperator}}),Object.defineProperty(e,`RuleExpressionType`,{enumerable:!0,get:function(){return r.RuleExpressionType}}),Object.defineProperty(e,`RuleParameter`,{enumerable:!0,get:function(){return r.RuleParameter}}),Object.defineProperty(e,`NestedRuleExecutionMode`,{enumerable:!0,get:function(){return r.NestedRuleExecutionMode}}),Object.defineProperty(e,`ActionBase`,{enumerable:!0,get:function(){return r.ActionBase}});var i=$N();Object.defineProperty(e,`OutputExpressionAction`,{enumerable:!0,get:function(){return i.OutputExpressionAction}}),Object.defineProperty(e,`EvaluateRuleAction`,{enumerable:!0,get:function(){return i.EvaluateRuleAction}}),Object.defineProperty(e,`LogAction`,{enumerable:!0,get:function(){return i.LogAction}}),Object.defineProperty(e,`NotificationAction`,{enumerable:!0,get:function(){return i.NotificationAction}}),Object.defineProperty(e,`DatabaseAction`,{enumerable:!0,get:function(){return i.DatabaseAction}}),Object.defineProperty(e,`BuiltInActions`,{enumerable:!0,get:function(){return i.BuiltInActions}}),e.VERSION=`1.0.0`}))(),tP=P(J_).meta({description:`The type of the rule, which indicates its context and purpose. This is currently limited to transaction_routing, but may be expanded in the future.`}),nP=N({name:j(),expression:j()}),rP=ak(j(),PO()),iP=N({name:j(),context:rP.optional()}),aP=N({onSuccess:iP.optional(),onFailure:iP.optional()}),oP=Jk(()=>N({ruleName:j(),expression:j().optional(),operator:P(eP.RuleOperator).optional(),errorMessage:j().optional(),errorType:j().optional(),successEvent:j().optional(),ruleExpressionType:P(eP.RuleExpressionType).optional(),localParams:M(nP).optional(),actions:aP.optional(),rules:M(oP).optional(),enabled:xO().optional()})).meta({id:`RuleDefinition`,&#x22;x-visibility&#x22;:`external`,override:{type:`object`,$ref:void 0}}),sP=N({id:j(),account_id:j(),rule_id:j(),version:mA().int(),description:j().min(1),creator_id:j(),definition:oP,created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`RuleVersion`,&#x22;x-visibility&#x22;:`external`}),cP=N({id:j().min(1),account_id:j().min(1),name:j().min(1),description:j().min(1),type:tP,current_version_id:j().nullish(),current_version:sP.nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Rule`,&#x22;x-visibility&#x22;:`external`}),lP=N({id:j().min(1),account_id:j().min(1),transaction_routing_strategy:GA.meta({description:`How the route weighting should be applied after the rules are run`}),rule_id:j().min(1),rule:cP,created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`TransactionRoutingRule`,&#x22;x-visibility&#x22;:`external`}),uP=gA.strictObject({application_id:gA.string().min(1).max(35),parameters:gA.array(gA.string().min(1).max(133336)),version:gA.string().min(1).max(256),configuration_id:gA.string().min(1).max(100).nullish()}),dP=uP.extend({account_id:gA.string().min(1).max(100)}).extend({id:gA.string().min(1),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`ApplicationParameter`,&#x22;x-visibility&#x22;:`external`}),fP=gA.object({application_parameters:gA.array(dP),pagination:KA}).meta({id:`ApplicationParameterListResponse`,&#x22;x-visibility&#x22;:`external`}),pP=gA.strictObject({...XA.shape,application_id:gA.string().min(1).max(35).optional(),version:gA.string().min(1).max(256).optional()}),mP=uP.meta({id:`CreateApplicationParameterRequest`,&#x22;x-visibility&#x22;:`external`}),hP=uP.omit({configuration_id:!0}).partial().strict().meta({id:`UpdateApplicationParameterRequest`,&#x22;x-visibility&#x22;:`external`}),gP=N({merchant_id:j().optional(),allow_null_merchant:P([`true`,`false`]).transform(e=>e===`true`).default(!1)}),_P=N({id:j().nullish(),acquirer:P(P_),acquirer_merchant_id:j().nullish(),acquirer_device_code:j().nullish(),immediate_setup_dynamic_terminal:xO().nullish(),acquirer_submerchant_id:j().nullish(),acquirer_submerchant_address:YO([QA,ak(j(),MO())]).nullish(),acquirer_terminal_id:j().nullish(),message_signature_key:j().nullish(),proxy_url:j().nullish(),online_pin_zpk_index:j().nullish(),online_pin_zpk_security_element:dj.nullish(),nexo_host_message_to_send:M(P(W_)).nullish(),nexo_completion_exchange_policy:P(R_).nullish(),nexo_cancellation_exchange:P(I_).nullish(),nexo_financial_capture:P(V_).nullish(),nexo_card_data_verification:xO().nullish(),supported_cvms:M(P(B_)).nullish(),cvms_supporting_pre_approval:M(P(B_)).nullish(),target_pin_format:P(G_).nullish(),supported_card_entry_modes:M(P(L_)).nullish(),partial_approval_supported:xO().nullish(),pin_request_supported:xO().nullish(),online_pin_supported:xO().nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}),vP=N({id:j().nullish(),acquirer:P(P_),acquirer_merchant_id:j().nullish(),acquirer_device_code:j().nullish(),immediate_setup_dynamic_terminal:xO().nullish(),acquirer_submerchant_id:j().nullish(),acquirer_submerchant_address:YO([QA,ak(j(),MO())]).nullish(),acquirer_terminal_id:j().nullish(),message_signature_key:j().nullish(),proxy_url:j().nullish(),online_pin_zpk_index:j().nullish(),online_pin_zpk_security_element:dj.nullish(),nexo_host_message_to_send:M(P(W_)).nullish(),nexo_completion_exchange_policy:P(R_).nullish(),nexo_cancellation_exchange:P(I_).nullish(),nexo_financial_capture:P(V_).nullish(),nexo_card_data_verification:xO().nullish(),supported_cvms:M(P(B_)).nullish(),cvms_supporting_pre_approval:M(P(B_)).nullish(),target_pin_format:P(G_).nullish(),supported_card_entry_modes:M(P(L_)).nullish(),partial_approval_supported:xO().nullish(),pin_request_supported:xO().nullish(),online_pin_supported:xO().nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}),yP=N({id:j(),nexo_host_message_to_send:M(P(W_)),nexo_completion_exchange_policy:P(R_),nexo_cancellation_exchange:P(I_),nexo_financial_capture:P(V_),nexo_protect_card_data:xO(),nexo_card_data_verification:xO(),nexo_mandatory_security_trailer:xO(),security_trailer_mac_algo:P(H_),supported_cvms:M(P(B_)),cvms_supporting_pre_approval:M(P(B_)),supported_pin_formats:M(P(G_)),supported_card_entry_modes:M(P(L_)),partial_approval_supported:xO(),pin_request_supported:xO(),online_pin_supported:xO(),created_at:j(),updated_at:j()}),bP=N({account_id:j(),poi_id:j(),poi_is_active:xO(),label_id:j().nullish(),manufacturer_poi_id:j().nullish(),location_id:j().nullish(),poi_location_address:YO([QA,ak(j(),MO())]).nullish(),legal_name:j().nullish(),dba_name:j().nullish(),phone_number:iO().nullish(),poi_group_id:j().nullish(),merchant_id:j().nullish(),merchant_address:YO([QA,ak(j(),MO())]).nullish(),merchant_external_reference:j().nullish(),merchant_is_active:xO().nullish(),toro_config:yP,shift4_config:_P.nullish(),shift4_amex_config:vP.nullish(),american_express_config:cj.nullish(),dukpt_keys:fj.nullish(),rki_keys:fj.nullish(),host_communication_parameters:N({id:j(),url:j(),key_id:j(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`}),key_version:j(),derivation_identification:j().nullish()}),application_parameters:M(dP).nullish(),transaction_routing_rule:lP.nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`PoiContext`,&#x22;x-visibility&#x22;:`internal`}),xP=N({id:j().min(1),account_id:j().min(1),dba_name:j().nullish(),phone_number:iO().nullish().meta({description:`This is an E.164 phone number, e.g. +447851987654`}),toro_parameters:yP.nullish(),shift4_config:rj.nullish(),shift4_amex_config:oj.nullish(),american_express_config:lj.nullish(),transaction_routing_rule_id:j().min(1).nullish().meta({description:`The ID of the ruleset to be applied to transactions processed with this configuration - the ruleset itself should be set up using its own endpoints`}),transaction_routing_rule:lP.nullish().meta({description:`The ruleset to be applied to transactions processed with this configuration - this is included in the response for convenience, but should be set up using its own endpoints`}),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Configuration`,&#x22;x-visibility&#x22;:`external`,description:`This is a configuration, which may be linked to a POI, POI Group, Merchant, or Merchant Group. A complete configuration will be coalesced from all configuration objects in the chain.`}),SP=XA,CP=N({configurations:M(xP),pagination:KA}).meta({id:`ConfigurationListResponse`,&#x22;x-visibility&#x22;:`external`,description:`A list of configuration fragments`}),wP=KO({...rj.pick({acquirer:!0}).shape,...ij.omit({acquirer_submerchant_address:!0}).shape,...nj.pick({acquirer_submerchant_address_id:!0}).shape}).check(pj).meta({id:`CreateShift4Config`,&#x22;x-visibility&#x22;:`external`}),TP=KO({...oj.pick({acquirer:!0}).shape,...sj.omit({acquirer_submerchant_address:!0}).shape,...aj.pick({acquirer_submerchant_address_id:!0}).shape}).check(pj).meta({id:`CreateShift4AmexConfig`,&#x22;x-visibility&#x22;:`external`}),EP=KO({...lj.pick({acquirer:!0}).shape,...uj.omit({acquirer_merchant_address:!0,acquirer_submerchant_address:!0}).shape,...cj.pick({acquirer_merchant_address_id:!0,acquirer_submerchant_address_id:!0}).shape}).meta({id:`CreateAmericanExpressConfigRequest`,&#x22;x-visibility&#x22;:`external`}),DP=KO({...xP.omit({id:!0,created_at:!0,updated_at:!0,account_id:!0,transaction_routing_rule:!0}).shape,shift4_config:wP.optional(),shift4_amex_config:TP.optional(),american_express_config:EP.optional()}).meta({id:`CreateConfigurationRequest`,&#x22;x-visibility&#x22;:`external`,required:[`account_id`]}),OP=KO({...rj.pick({id:!0,acquirer:!0}).shape,...ij.omit({acquirer_submerchant_address:!0}).shape,...nj.pick({acquirer_submerchant_address_id:!0}).shape}).partial().check(pj).meta({id:`UpdateShift4Config`,&#x22;x-visibility&#x22;:`external`}),kP=KO({...oj.pick({id:!0,acquirer:!0}).shape,...sj.omit({acquirer_submerchant_address:!0}).shape,...aj.pick({acquirer_submerchant_address_id:!0}).shape}).partial().check(pj).meta({id:`UpdateShift4AmexConfig`,&#x22;x-visibility&#x22;:`external`}),AP=KO({...lj.pick({id:!0,acquirer:!0}).shape,...uj.omit({acquirer_merchant_address:!0,acquirer_submerchant_address:!0}).shape,...cj.pick({acquirer_merchant_address_id:!0,acquirer_submerchant_address_id:!0}).shape}).partial().meta({id:`UpdateAmericanExpressConfigRequest`,&#x22;x-visibility&#x22;:`external`}),jP=KO({...xP.omit({id:!0,created_at:!0,updated_at:!0,account_id:!0,transaction_routing_rule:!0}).partial().shape,shift4_config:OP.optional(),shift4_amex_config:kP.optional(),american_express_config:AP.optional()}).meta({id:`UpdateConfigurationRequest`,&#x22;x-visibility&#x22;:`external`});N({toro_config:N({id:j().min(1),nexo_host_message_to_send:M(j().min(1)),nexo_completion_exchange_policy:j().min(1).nullish(),nexo_financial_capture:P(V_),nexo_cancellation_exchange:P(I_),nexo_card_data_verification:xO(),nexo_protect_card_data:xO(),nexo_mandatory_security_trailer:xO(),pin_request_supported:xO(),security_trailer_mac_algo:j().min(1).nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}),host_communication_parameters:N({id:j().min(1),url:j().min(1),key_id:j().min(1),key_version:j().min(1),derivation_identification:j().min(1),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}),shift4_config:nj.nullish(),model:j().min(1),supported_cvms:ej.nullish(),cvms_supporting_pre_approval:ej.nullish(),dba_name:j().min(1).nullish(),phone_number:iO().nullish(),transaction_routing_strategy:GA.nullish(),transaction_routing_rule_id:j().min(1).nullish(),transaction_routing_rule:lP.nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}).nullish(),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`}).nullish()}).meta({id:`CoalescedConfiguration`,&#x22;x-visibility&#x22;:`internal`,description:`This is a fully denormalised, left-joined, and complete configuration - TODO: make fields non-nullish after we figure out the validation rules`});var MP=N({account_id:j().min(1),email:j().min(1).email().nullish(),message:j().min(1).nullish(),expires_at:L.nullish().meta({type:`string`,minLength:1,format:`date-time`}),creator_id:j().min(1).nullish()}).strict(),NP=MP.extend({id:j().min(1)}).meta({id:`InvitationBase`}).extend({created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Invitation`,&#x22;x-visibility&#x22;:`external`}),PP=KO({...XA.shape,sort_by:P([`expires_at`,`created_at`,`updated_at`]).optional(),creator_id:qA,account_id:qA,email:j().min(1).max(255).optional()}),FP=N({invitations:M(NP),pagination:KA}).meta({id:`InvitationListResponse`,&#x22;x-visibility&#x22;:`external`}),IP=MP.omit({account_id:!0,creator_id:!0}).meta({id:`CreateInvitationRequest`,&#x22;x-visibility&#x22;:`external`,required:[`email`,`expires_at`]}),LP=MP.omit({account_id:!0,creator_id:!0}).partial().strict().meta({id:`UpdateInvitationRequest`,&#x22;x-visibility&#x22;:`external`}),RP=N({account_id:j().min(1),configuration_id:j().min(1).nullish().meta({description:`Default configuration for all merchants in the group`}),parent_group_id:j().min(1).nullish().meta({description:`Used to define hierarchies of merchant groups`})}).strict(),zP=RP.extend({id:j().min(1)}).extend({created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`}),configuration:xP.nullish()}).meta({id:`MerchantGroup`,&#x22;x-visibility&#x22;:`external`,required:[`id`]}),BP=KO({...XA.shape,account_id:qA,parent_group_id:JA,configuration_id:JA}),VP=N({merchant_groups:M(zP),pagination:KA}).meta({id:`MerchantGroupListResponse`,&#x22;x-visibility&#x22;:`external`}),HP=RP.omit({account_id:!0}).meta({id:`CreateMerchantGroupRequest`,&#x22;x-visibility&#x22;:`external`}),UP=RP.omit({account_id:!0}).partial().strict().meta({id:`UpdateMerchantGroupRequest`,&#x22;x-visibility&#x22;:`external`}),WP=N({merchant_id:j().min(1)}).strict().meta({id:`AddMerchantToGroupRequest`,&#x22;x-visibility&#x22;:`external`,required:[`merchant_id`]}),GP=N({id:j().min(1),account_id:j().min(1),external_reference:j().min(1).nullish().meta({description:`E.g. a callsign in the customer's system`}),legal_name:j().min(1),address_id:j().min(1),address:QA.optional().meta({description:&#x22;Will be present if `address` query param is set to true&#x22;}),is_active:xO(),merchant_group_id:j().min(1).nullish(),configuration_id:j().min(1).nullish().meta({description:`Overrides configuration set at merchant group level`}),configuration:xP.nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Merchant`,&#x22;x-visibility&#x22;:`external`}),KP=F(e=>Array.isArray(e)?e:typeof e==`string`?e.split(`,`):[],M(P([`address`]))).optional(),qP=KO({...XA.shape,account_id:qA,configuration_id:JA,address_id:JA,is_active:P([`true`,`false`]).transform(e=>e===`true`).optional(),legal_name:YA,external_reference:jie,fields:KP}),JP=N({config:P([`fragment`,`coalesced`]).optional(),fields:KP}).meta({id:`MerchantRetrieveQueryParams`,&#x22;x-visibility&#x22;:`external`}),YP=N({merchants:M(GP),pagination:KA}).meta({id:`MerchantListResponse`,&#x22;x-visibility&#x22;:`external`}),XP=KO({...GP.omit({id:!0,created_at:!0,updated_at:!0,configuration:!0}).shape,address_id:j().min(1).optional().meta({description:`Either this or address object must be provided`}),address:$A.optional().meta({description:`Either this or address_id must be provided`}),is_active:xO().default(!1)}).omit({account_id:!0}).meta({id:`CreateMerchantRequest`,&#x22;x-visibility&#x22;:`external`}),ZP=KO({...GP.omit({id:!0,created_at:!0,updated_at:!0,configuration:!0}).shape,address:$A.optional()}).omit({account_id:!0}).partial().strict().meta({id:`UpdateMerchantRequest`,&#x22;x-visibility&#x22;:`external`}),QP=N({account_id:j().min(1),configuration_id:j().min(1).nullish().meta({description:`Default configuration for all POIs in the group`}),parent_group_id:j().min(1).nullish().meta({description:`Used to define hierarchies of POI groups`})}).strict(),$P=QP.extend({id:j().min(1)}).extend({created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`}),configuration:xP.nullish()}).meta({id:`PoiGroup`,&#x22;x-visibility&#x22;:`external`}),eF=KO({...XA.shape,account_id:qA,parent_group_id:JA,configuration_id:JA}),tF=N({poi_groups:M($P),pagination:KA}).meta({id:`PoiGroupListResponse`,&#x22;x-visibility&#x22;:`external`}),nF=QP.omit({account_id:!0}).meta({id:`CreatePoiGroupRequest`,&#x22;x-visibility&#x22;:`external`}),rF=QP.omit({account_id:!0}).partial().strict().meta({id:`UpdatePoiGroupRequest`,&#x22;x-visibility&#x22;:`external`}),iF=N({poi_id:j().min(1)}).strict().meta({id:`AddPoiToGroupRequest`,&#x22;x-visibility&#x22;:`external`,required:[`poi_id`]}),aF=N({poi_id:j().min(1),group_id:j().min(1)}).strict().meta({id:`PoiGroupMembership`,&#x22;x-visibility&#x22;:`external`}),oF=P(q_).meta({id:`PoiType`,&#x22;x-visibility&#x22;:`external`,description:`The type of point of interaction`}),sF=N({account_id:j().min(1).meta({description:`Reference to the account ID`}),manufacturer_id:j().min(1).nullish().meta({description:`The ID assigned by the manufacturer - returned by GetDeviceInfo in the SDK; must be unique within the same account`}),label_id:j().min(1).nullish().meta({description:`The ID indicated on the physical device, usually on a sticker or label`}),location_id:j().min(1).nullish().meta({description:`Reference to the address ID; if null, take the address from the merchant (at application level)`}),location:$A.optional().meta({description:`Do not supply both this and location_id`}),model:j().nullish().meta({description:`Free text input for the terminal model, e.g. &#x22;Miura M20&#x22;`}),merchant_id:j().min(1).nullish().meta({description:`Reference to the merchant ID`}),is_active:xO(),type:oF.meta({description:`The type of point of interaction`}),poi_group_id:j().min(1).nullish().meta({description:`Reference to the POI group ID`}),configuration_id:j().min(1).nullish().meta({description:`Overrides configuration set at POI group level`})}).strict(),cF=sF.extend({id:j().min(1).meta({description:`The ID we assigned`}),location:QA.optional().meta({description:&#x22;Will be present if `address` query param is set to true&#x22;})}).extend({created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`}),configuration:xP.nullish()}).meta({id:`Poi`,&#x22;x-visibility&#x22;:`external`}),lF=F(e=>Array.isArray(e)?e:typeof e==`string`?e.split(`,`):[],M(P([`location`]))).optional(),uF=KO({...XA.shape,merchant_id:qA,is_active:P([`true`,`false`]).transform(e=>e===`true`).optional(),poi_group_id:JA,account_id:qA,type:oF.optional(),fields:lF}),dF=N({config:P([`fragment`,`coalesced`]).optional(),fields:lF}).meta({id:`PoiRetrieveQueryParams`,&#x22;x-visibility&#x22;:`external`}),fF=N({pois:M(cF),pagination:KA}).meta({id:`PoiListResponse`,&#x22;x-visibility&#x22;:`external`}),pF=sF.omit({account_id:!0}).extend({is_active:xO().default(!1),type:oF.default(q_.UNKNOWN)}).meta({id:`CreatePoiRequest`,&#x22;x-visibility&#x22;:`external`,required:[`merchant_id`,`is_active`]}),mF=sF.omit({account_id:!0}).partial().strict().meta({id:`UpdatePoiRequest`,&#x22;x-visibility&#x22;:`external`}),hF=N({...bP.omit({shift4_config:!0,shift4_amex_config:!0,american_express_config:!0,dukpt_keys:!0,rki_keys:!0,host_communication_parameters:!0}).shape,shift4_config:rj.nullish(),shift4_amex_config:oj.nullish(),american_express_config:lj.nullish()}).meta({id:`PublicPoiContext`,&#x22;x-visibility&#x22;:`public`,description:`POI, merchant, and configuration details used for processing`}),gF=N({merchant:j().optional().meta({description:`Merchant ID; must be provided if POI does not have configured merchant; will throw error if provided and POI has non-matching merchant already configured`})}).meta({id:`PoiContextQueryParams`,&#x22;x-visibility&#x22;:`external`}),_F=P(Object.values(E)).meta({id:`Permission`,&#x22;x-visibility&#x22;:`external`}),vF=N({id:j().min(1),account_id:j().min(1).nullable(),name:j().min(1),description:j().min(1),permissions:M(_F),creator_id:j().min(1).nullish()}),yF=vF.extend({created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Role`,&#x22;x-visibility&#x22;:`external`}),bF=KO({...XA.shape,account_id:qA,name:qA}),xF=N({roles:M(yF),pagination:KA}).meta({id:`RoleListResponse`,&#x22;x-visibility&#x22;:`external`}),SF=vF.omit({id:!0,account_id:!0,creator_id:!0}).strict().meta({id:`CreateRoleRequest`,&#x22;x-visibility&#x22;:`external`,required:[`account_id`,`name`,`description`,`permissions`],not:{properties:{id:{},created_at:{},updated_at:{}}}}),CF=vF.omit({id:!0,account_id:!0,creator_id:!0}).partial().strict().meta({id:`UpdateRoleRequest`,&#x22;x-visibility&#x22;:`external`,not:{properties:{created_at:{},updated_at:{}}}}),wF=j().min(1).meta({id:`TokenResponse`,&#x22;x-visibility&#x22;:`external`,description:`A JWT token that can be used to authenticate requests. The token is signed and can be verified using the public key of the service.`}),TF=YO([N({email:j().email().min(1),password:j().min(1),type:hk(`user_refresh`)}).meta({id:`CreateUserRefreshTokenRequest`,&#x22;x-visibility&#x22;:`external`,description:`Email and password are used to authenticate the user and generate a refresh token. The refresh token can be used to obtain an access token.`}),N({type:hk(`user_access`)}).meta({id:`CreateUserAccessTokenRequest`,&#x22;x-visibility&#x22;:`external`,description:`Exchange a user refresh token for an access token. The access token can be used to access user-scoped resources.`}),N({role_id:j().min(1),type:hk(`role_access`)}).meta({id:`CreateRoleAccessTokenRequest`,&#x22;x-visibility&#x22;:`external`,description:`Exchange a user refresh token for a role access token. The role access token can be used to access account-scoped resources with the permissions of the role.`}),N({service_id:j().min(1),secret:j().min(1),type:hk(`service_access`)}).meta({id:`CreateServiceAccessTokenRequest`,&#x22;x-visibility&#x22;:`external`,description:`ID and secret of the service to authenticate and generate a role access token.`})]).optional().meta({id:`CreateTokenUnifiedRequest`,&#x22;x-visibility&#x22;:`external`,description:&#x22;A unified request schema for creating different types of tokens. The type field determines the specific token type to create. The request body can be omitted if an API key is provided in the `API-Key` header.&#x22;});N({&#x22;API-Key&#x22;:j().min(1).optional()});var EF=N({email:j().min(1).max(255).email(),name:j().min(1).max(255),is_active:xO()}).strict(),DF=EF.extend({id:j().min(1),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`User`,&#x22;x-visibility&#x22;:`external`,required:[`id`,`account_id`,`email`,`name`,`is_active`,`created_at`,`updated_at`]}),OF=KO({...XA.shape,account_id:qA,name:YA,email:YA,is_active:P([`true`,`false`]).transform(e=>e===`true`).optional()}),kF=N({users:M(DF),pagination:KA}).meta({id:`UserListResponse`,&#x22;x-visibility&#x22;:`external`}),AF=EF.meta({id:`CreateUserRequest`,&#x22;x-visibility&#x22;:`external`,required:[`email`,`name`,`is_active`],not:{properties:{id:{},created_at:{},updated_at:{}}}}),jF=EF.extend({password:j().min(1).optional()}).partial().strict().meta({id:`UpdateUserRequest`,&#x22;x-visibility&#x22;:`external`,not:{properties:{id:{},created_at:{},updated_at:{}}}}),MF=F(e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{return e}return e},cA().optional()),NF=N({account_id:j().min(1),acquirer:P(P_).nullish(),purpose:P(W_).nullish(),domain:P(U_),header:MF.nullish(),body:MF.nullish(),trailer:MF.nullish(),raw_message:j().min(1).nullish(),raw_acquirer_response:MF.nullish(),message_group_id:j().min(1).nullish(),request_id:j().min(1).nullish(),response_id:j().min(1).nullish(),poi_id:j().min(1).nullish(),merchant_id:j().min(1).nullish()}).strict(),PF=NF.extend({id:j().min(1).max(35)}).extend({account_id:j().min(1),message_name:j().nullish(),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).omit({acquirer:!0}).meta({id:`Message`,&#x22;x-visibility&#x22;:`internal`}),FF=KO({...XA.shape,account_id:qA,message_group_id:JA,acquirer:P(P_).optional(),purpose:YO([P(W_),hk(`null`).transform(()=>null)]).optional(),domain:P(U_).optional(),message_name:JA,poi_id:JA,merchant_id:JA,&#x22;created_at[$gte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;created_at[$lte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;updated_at[$gte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;updated_at[$lte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional()}).strict().meta({id:`MessageListQuery`,&#x22;x-visibility&#x22;:`internal`}),IF=N({messages:M(PF),pagination:KA}).meta({id:`MessageListResponse`,&#x22;x-visibility&#x22;:`internal`}),LF=NF.extend({id:j().min(1).max(35).optional(),pan_start:j().min(6).max(8).regex(/^\d+$/).nullish(),pan_last_four:j().length(4).regex(/^\d{4}$/).nullish()}).superRefine((e,t)=>{let n=[W_.FINANCIAL_AUTHORISATION_RESPONSE,W_.FINANCIAL_COMPLETION_ADVICE_RESPONSE];e.purpose&&n.includes(e.purpose)&&(e.pan_start||t.addIssue({code:lA.custom,message:`pan_start is required when purpose is ${e.purpose}`,path:[`pan_start`]}),e.pan_last_four||t.addIssue({code:lA.custom,message:`pan_last_four is required when purpose is ${e.purpose}`,path:[`pan_last_four`]}))}).meta({id:`CreateMessageRequest`,&#x22;x-visibility&#x22;:`internal`,required:[`account_id`,`purpose`]}),RF=N({account_id:j().min(1),domain:P(U_),merchant_id:j().min(1).nullish(),acquirer:P(P_).nullish()}).strict(),zF=RF.extend({id:j().min(1).max(35),account_id:j().min(1).nullish(),domain:P(U_).nullish(),transaction_status:P(Z_).nullish()}).extend({created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`MessageGroup`,&#x22;x-visibility&#x22;:`internal`}),BF=KO({...XA.shape,account_id:qA,merchant_id:qA,domain:P(U_).optional(),acquirer:YO([P(P_),hk(`null`).transform(()=>null)]).optional(),transaction_status:YO([P(Z_),hk(`null`).transform(()=>null)]).optional(),&#x22;created_at[$gte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;created_at[$lte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;updated_at[$gte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;updated_at[$lte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional()}),VF=N({message_groups:M(zF),pagination:KA}).meta({id:`MessageGroupListResponse`,&#x22;x-visibility&#x22;:`internal`}),HF=RF.meta({id:`CreateMessageGroupRequest`,&#x22;x-visibility&#x22;:`internal`}),UF=N({message_id:j().min(1)}).strict(),WF=cP.omit({id:!0,account_id:!0,current_version:!0,created_at:!0,updated_at:!0}).strict(),GF=cP,KF=KO({...XA.shape,account_id:qA,type:tP.optional(),name:YA}),qF=N({rules:M(GF),pagination:KA}).meta({id:`RuleListResponse`,&#x22;x-visibility&#x22;:`external`}),JF=WF.meta({id:`CreateRuleRequest`,&#x22;x-visibility&#x22;:`external`,required:[`rule_id`],not:{properties:{id:{},created_at:{},updated_at:{}}}}),YF=WF.partial().strict().meta({id:`UpdateRuleRequest`,&#x22;x-visibility&#x22;:`external`,not:{properties:{id:{},created_at:{},updated_at:{}}}}),XF=sP,ZF=KO({...XA.shape,account_id:qA,creator_id:qA,version:mA().int().optional()}),QF=N({rule_versions:M(XF),pagination:KA}).meta({id:`RuleVersionListResponse`,&#x22;x-visibility&#x22;:`external`}),$F=sP.strict().omit({id:!0,account_id:!0,creator_id:!0,created_at:!0,updated_at:!0,version:!0}).meta({id:`CreateRuleVersionRequest`,&#x22;x-visibility&#x22;:`external`,required:[`rule_id`,`version`,`description`,`definition`]}),eI=KO({...lP.omit({id:!0,account_id:!0,rule:!0,created_at:!0,updated_at:!0}).shape}),tI=lP,nI=KO({...XA.shape,account_id:qA,rule_id:qA,transaction_routing_strategy:GA.optional(),rule_name:YA}),rI=N({transaction_routing_rules:M(tI),pagination:KA}).meta({id:`TransactionRoutingRuleListResponse`,&#x22;x-visibility&#x22;:`external`}),iI=eI.meta({id:`CreateTransactionRoutingRuleRequest`,&#x22;x-visibility&#x22;:`external`,required:[`rule_id`],not:{properties:{id:{},created_at:{},updated_at:{}}}}),aI=eI.partial().strict().meta({id:`UpdateTransactionRoutingRuleRequest`,&#x22;x-visibility&#x22;:`external`,not:{properties:{id:{},created_at:{},updated_at:{}}}}),oI=HM(`Users`,{&#x22;/users&#x22;:{get:z({summary:`List users`,&#x22;x-permissions&#x22;:[E.USERS_READ],requestParams:{query:OF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:kF,examples:{&#x22;Successful Response&#x22;:{value:Tj}}}}},...I.getCollection}}),post:z({summary:`Create a user`,&#x22;x-permissions&#x22;:[E.USERS_CREATE],&#x22;x-add-permissions&#x22;:[E.USERS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:AF,examples:{&#x22;201_request&#x22;:{value:Dj}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:DF,examples:{&#x22;Successful Response&#x22;:{value:Oj}}}}},...I.create}})},&#x22;/users/{id}&#x22;:{get:z({summary:`Retrieve a user`,&#x22;x-permissions&#x22;:[E.USERS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:DF,examples:{&#x22;Successful Response&#x22;:{value:kj}}}}},...I.getResource}}),patch:z({summary:`Update a user`,&#x22;x-permissions&#x22;:[E.USERS_UPDATE],&#x22;x-add-permissions&#x22;:[E.USERS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:jF,examples:{&#x22;200_request&#x22;:{value:Aj}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:DF,examples:{&#x22;Successful Response&#x22;:{value:jj}}}}},...I.update}}),delete:VM({summary:`Delete a user`,&#x22;x-permissions&#x22;:[E.USERS_DELETE],&#x22;x-add-permissions&#x22;:[E.USERS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),sI={...HA,...WA,...VA,401:{description:`Invalid credentials`,content:{&#x22;application/json&#x22;:{schema:zA}}}},cI=HM(`Tokens`,{&#x22;/tokens&#x22;:{post:z({summary:`Create a refresh or access token`,&#x22;x-permissions&#x22;:[],requestBody:{content:{&#x22;application/json&#x22;:{schema:TF,examples:{&#x22;200_refresh_token_request&#x22;:{value:Coe},&#x22;200_user_access_token_request&#x22;:{value:Toe},&#x22;200_role_access_token_request&#x22;:{value:Doe}}}},required:!1},responses:{200:{description:`Successful`,content:{&#x22;text/plain&#x22;:{schema:wF,examples:{refresh_token_response:{value:woe},user_access_token_response:{value:Eoe},role_access_token_response:{value:Ooe}}}}},...sI}})}}),lI=HM(`Accounts`,{&#x22;/accounts&#x22;:{get:z({&#x22;x-permissions&#x22;:[E.ACCOUNTS_READ],summary:`List accounts`,requestParams:{query:use},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:lse,examples:{&#x22;Successful Response&#x22;:{value:Mj}}}}},...I.getCollection}}),post:VM({summary:`Create an account`,&#x22;x-permissions&#x22;:[E.ACCOUNTS_CREATE],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:dse,examples:{&#x22;201_request&#x22;:{value:Pj}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:GM,examples:{&#x22;Successful Response&#x22;:{value:Fj}}}}},...I.create}})},&#x22;/accounts/{id}&#x22;:{get:z({summary:`Retrieve an account`,&#x22;x-permissions&#x22;:[E.ACCOUNTS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:GM,examples:{&#x22;Successful Response&#x22;:{value:Ij}}}}},...I.getResource}}),patch:z({summary:`Update an account`,&#x22;x-permissions&#x22;:[E.ACCOUNTS_UPDATE],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:fse,examples:{&#x22;200_request&#x22;:{value:Lj}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:GM,examples:{&#x22;Successful Response&#x22;:{value:Rj}}}}},...I.update}}),delete:VM({summary:`Delete an account`,&#x22;x-permissions&#x22;:[E.ACCOUNTS_DELETE],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})},&#x22;/accounts/{id}/memberships&#x22;:{get:z({summary:`List account memberships`,&#x22;x-permissions&#x22;:[E.ACCOUNT_MEMBERSHIPS_READ],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:ose,examples:{&#x22;Successful Response&#x22;:{value:zj}}}}},...I.getCollection,...UA}}),post:z({summary:`Create an account membership`,&#x22;x-permissions&#x22;:[E.ACCOUNT_MEMBERSHIPS_CREATE],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ,E.ACCOUNT_MEMBERSHIPS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:sse,examples:{&#x22;201_request&#x22;:{value:Vj}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:WM,examples:{&#x22;Successful Response&#x22;:{value:Hj}}}}},...I.create}})},&#x22;/accounts/{id}/memberships/{mid}&#x22;:{get:z({summary:`Retrieve a membership`,&#x22;x-permissions&#x22;:[E.ACCOUNT_MEMBERSHIPS_READ],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ],requestParams:{path:N({id:j().min(1),mid:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:WM,examples:{&#x22;Successful Response&#x22;:{value:Uj}}}}},...I.getResource}}),patch:z({summary:`Update an account membership`,&#x22;x-permissions&#x22;:[E.ACCOUNT_MEMBERSHIPS_UPDATE],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ,E.ACCOUNT_MEMBERSHIPS_READ],requestParams:{path:N({id:j().min(1),mid:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:cse,examples:{&#x22;200_request&#x22;:{value:Wj}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:WM,examples:{&#x22;Successful Response&#x22;:{value:Gj}}}}},...I.update}}),delete:z({summary:`Delete an account membership`,&#x22;x-permissions&#x22;:[E.ACCOUNT_MEMBERSHIPS_DELETE],&#x22;x-add-permissions&#x22;:[E.ACCOUNTS_READ,E.ACCOUNT_MEMBERSHIPS_READ],requestParams:{path:N({id:j().min(1),mid:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),uI=HM(`API Keys`,{&#x22;/api-keys&#x22;:{get:z({summary:`List API keys`,&#x22;x-permissions&#x22;:[E.API_KEYS_READ],responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:mse}}},...I.getCollection}}),post:z({summary:`Create an API key`,&#x22;x-permissions&#x22;:[E.API_KEYS_CREATE],&#x22;x-add-permissions&#x22;:[E.API_KEYS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:hse}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:pse}}},...I.create}})},&#x22;/api-keys/{id}&#x22;:{get:z({summary:`Retrieve an API key`,&#x22;x-permissions&#x22;:[E.API_KEYS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:KM}}},...I.getResource}}),patch:z({summary:`Update an API key`,&#x22;x-permissions&#x22;:[E.API_KEYS_UPDATE],&#x22;x-add-permissions&#x22;:[E.API_KEYS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:gse}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:KM}}},...I.update}}),delete:z({summary:`Delete an API key`,&#x22;x-permissions&#x22;:[E.API_KEYS_DELETE],&#x22;x-add-permissions&#x22;:[E.API_KEYS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),dI=HM(`Roles`,{&#x22;/roles&#x22;:{get:z({summary:`List account roles`,&#x22;x-permissions&#x22;:[E.ROLES_READ],requestParams:{query:bF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:xF,examples:{&#x22;Successful Response&#x22;:{value:$j}}}}},...I.getCollection}}),post:z({summary:`Create an account role`,&#x22;x-permissions&#x22;:[E.ROLES_CREATE],&#x22;x-add-permissions&#x22;:[E.ROLES_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:SF,examples:{&#x22;201_request&#x22;:{value:tM}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:yF,examples:{&#x22;Successful Response&#x22;:{value:nM}}}}},...I.create}})},&#x22;/roles/{id}&#x22;:{get:z({summary:`Retrieve an account role`,&#x22;x-permissions&#x22;:[E.ROLES_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:yF,examples:{&#x22;Successful Response&#x22;:{value:rM}}}}},...I.getResource}}),patch:z({summary:`Update an account role`,&#x22;x-permissions&#x22;:[E.ROLES_UPDATE],&#x22;x-add-permissions&#x22;:[E.ROLES_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:CF,examples:{&#x22;200_request&#x22;:{value:iM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:yF,examples:{&#x22;Successful Response&#x22;:{value:aM}}}}},...I.update}}),delete:z({summary:`Delete an account role`,&#x22;x-permissions&#x22;:[E.ROLES_DELETE],&#x22;x-add-permissions&#x22;:[E.ROLES_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),fI=HM(`Account Invitations`,{&#x22;/invitations&#x22;:{get:z({summary:`List account invitations`,&#x22;x-permissions&#x22;:[E.ACCOUNT_INVITATIONS_READ],requestParams:{query:PP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:FP,examples:{&#x22;Successful Response&#x22;:{value:Kj}}}}},...I.getCollection}}),post:z({summary:`Create an account invitation`,&#x22;x-permissions&#x22;:[E.ACCOUNT_INVITATIONS_CREATE],&#x22;x-add-permissions&#x22;:[E.ACCOUNT_INVITATIONS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:IP,examples:{&#x22;201_request&#x22;:{value:Jj}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:NP,examples:{&#x22;Successful Response&#x22;:{value:Yj}}}}},...I.create}})},&#x22;/invitations/{id}&#x22;:{get:z({summary:`Retrieve an account invitation`,&#x22;x-permissions&#x22;:[E.ACCOUNT_INVITATIONS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:NP,examples:{&#x22;Successful Response&#x22;:{value:Xj}}}}},...I.getResource}}),patch:z({summary:`Update an account invitation`,&#x22;x-permissions&#x22;:[E.ACCOUNT_INVITATIONS_UPDATE],&#x22;x-add-permissions&#x22;:[E.ACCOUNT_INVITATIONS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:LP,examples:{&#x22;200_request&#x22;:{value:Zj}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:NP,examples:{&#x22;Successful Response&#x22;:{value:Qj}}}}},...I.update}}),delete:z({summary:`Delete an account invitation`,&#x22;x-permissions&#x22;:[E.ACCOUNT_INVITATIONS_DELETE],&#x22;x-add-permissions&#x22;:[E.ACCOUNT_INVITATIONS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),pI=HM(`Merchants`,{&#x22;/merchants&#x22;:{get:z({summary:`List merchants`,&#x22;x-permissions&#x22;:[E.MERCHANTS_READ],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{query:qP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:YP,examples:{&#x22;Successful Response&#x22;:{value:oM}}}}},...I.getCollection}}),post:z({summary:`Create a merchant`,&#x22;x-permissions&#x22;:[E.MERCHANTS_CREATE],&#x22;x-add-permissions&#x22;:[E.MERCHANTS_READ,E.CONFIGURATIONS_PUBLIC_CREATE,E.CONFIGURATIONS_PUBLIC_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:XP,examples:{&#x22;201_request&#x22;:{value:sM}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:GP,examples:{&#x22;Successful Response&#x22;:{value:cM}}}}},...I.create}})},&#x22;/merchants/{id}&#x22;:{get:z({summary:`Retrieve a merchant`,&#x22;x-permissions&#x22;:[E.MERCHANTS_READ],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)}),query:JP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:GP,examples:{&#x22;Successful Response&#x22;:{value:lM},good_response_with_config_fragment:{value:fae}}}}},...I.getResource}}),patch:z({summary:`Update a merchant`,&#x22;x-permissions&#x22;:[E.MERCHANTS_UPDATE],&#x22;x-add-permissions&#x22;:[E.MERCHANTS_READ,E.CONFIGURATIONS_PUBLIC_CREATE,E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:ZP,examples:{&#x22;200_request&#x22;:{value:uM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:GP,examples:{&#x22;Successful Response&#x22;:{value:dM}}}}},...I.update}}),delete:z({summary:`Delete a merchant`,&#x22;x-permissions&#x22;:[E.MERCHANTS_DELETE],&#x22;x-add-permissions&#x22;:[E.MERCHANTS_READ,E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),mI=HM(`Merchant Groups`,{&#x22;/merchant-groups&#x22;:{get:z({summary:`List merchant groups`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_READ],requestParams:{query:BP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:VP,examples:{&#x22;Successful Response&#x22;:{value:pae}}}}},...I.getCollection}}),post:z({summary:`Create a merchant group`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_CREATE],&#x22;x-add-permissions&#x22;:[E.MERCHANT_GROUPS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:HP,examples:{&#x22;201_request&#x22;:{value:yae}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:zP,examples:{&#x22;Successful Response&#x22;:{value:fM}}}}},...I.create}})},&#x22;/merchant-groups/{id}&#x22;:{get:z({summary:`Retrieve a merchant group`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_READ],requestParams:{path:N({id:j().min(1)}),query:N({config:P([`fragment`,`coalesced`]).optional()})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:zP,examples:{&#x22;Successful Response&#x22;:{value:bae},good_response_with_config_fragment:{value:xae}}}}},...I.getResource}}),patch:z({summary:`Update a merchant group`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_UPDATE],&#x22;x-add-permissions&#x22;:[E.MERCHANT_GROUPS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:UP,examples:{&#x22;200_request&#x22;:{value:pM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:zP,examples:{&#x22;Successful Response&#x22;:{value:Sae}}}}},...I.update}}),delete:z({summary:`Delete a merchant group`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_DELETE],&#x22;x-add-permissions&#x22;:[E.MERCHANT_GROUPS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})},&#x22;/merchant-groups/{id}/merchants&#x22;:{get:z({summary:`List merchants in a group`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_READ],&#x22;x-add-permissions&#x22;:[E.MERCHANTS_READ,E.MERCHANT_GROUPS_READ],description:`List merchants in a group`,requestParams:{path:N({id:j().min(1)}),query:qP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:YP,examples:{&#x22;Successful Response&#x22;:{value:Cae}}}}},...I.getCollection,...UA}}),post:z({summary:`Add merchant to group`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_UPDATE,E.MERCHANTS_UPDATE],&#x22;x-add-permissions&#x22;:[E.MERCHANT_GROUPS_READ,E.MERCHANTS_READ],description:`Add merchant to group`,requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:WP,examples:{&#x22;200_request&#x22;:{value:wae}}}},required:!0},responses:{204:{description:`No Content`},...I.create,...UA}})},&#x22;/merchant-groups/{gid}/merchants/{mid}&#x22;:{delete:z({summary:`Remove merchant from group`,&#x22;x-permissions&#x22;:[E.MERCHANT_GROUPS_UPDATE,E.MERCHANTS_UPDATE],&#x22;x-add-permissions&#x22;:[E.MERCHANT_GROUPS_READ,E.MERCHANTS_READ],requestParams:{path:N({gid:j().min(1),mid:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),hI=[E.MESSAGES_READ,E.MESSAGE_GROUPS_UPDATE,E.RECEIPTS_CREATE],gI=HM(`Messages`,{&#x22;/messages&#x22;:{get:VM({summary:`List messages`,&#x22;x-permissions&#x22;:[E.MESSAGES_READ],requestParams:{query:FF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:IF,examples:{&#x22;Successful Response&#x22;:{value:TM}}}}},...I.getCollection}}),post:VM({&#x22;x-permissions&#x22;:[E.MESSAGES_CREATE],&#x22;x-add-permissions&#x22;:hI,parameters:[{name:`Idempotency-Key`,in:`header`,required:!1,description:`Optional idempotency key to prevent duplicate requests. If provided, identical requests with the same key will return the cached response.`,schema:{type:`string`,minLength:1,maxLength:255},example:`user-123-create-message-2024-01-01`}],summary:`Create a message`,requestBody:{content:{&#x22;application/json&#x22;:{schema:LF,examples:{&#x22;201_request&#x22;:{value:EM}}}},required:!0},responses:{201:{description:`Created`,headers:{&#x22;X-Cache&#x22;:{description:`Indicates whether the response was served from cache. Only present with value HIT if the response was served from cache.`,schema:{type:`string`,enum:[`HIT`]},example:`HIT`}},content:{&#x22;application/json&#x22;:{schema:PF,examples:{&#x22;Successful Response&#x22;:{value:koe}}}}},...I.create}})},&#x22;/messages/{id}&#x22;:{get:VM({summary:`Retrieve a message`,&#x22;x-permissions&#x22;:[E.MESSAGES_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:PF,examples:{&#x22;Successful Response&#x22;:{value:Aoe}}}}},...I.getResource}})}}),_I=HM(`POIs`,{&#x22;/pois&#x22;:{get:z({summary:`List POIs`,&#x22;x-permissions&#x22;:[E.POIS_READ],requestParams:{query:uF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:fF,examples:{&#x22;Successful Response&#x22;:{value:Tae}}}}},...I.getCollection}}),post:z({summary:`Create a POI`,&#x22;x-permissions&#x22;:[E.POIS_CREATE],&#x22;x-add-permissions&#x22;:[E.POIS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:pF,examples:{&#x22;201_request&#x22;:{value:mM}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:cF,examples:{&#x22;Successful Response&#x22;:{value:hM}}}}},...I.create}})},&#x22;/pois/{id}&#x22;:{get:z({summary:`Retrieve a POI`,&#x22;x-permissions&#x22;:[E.POIS_READ],requestParams:{path:N({id:j().min(1)}),query:dF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:cF,examples:{&#x22;Successful Response&#x22;:{value:gM},good_response_with_config_fragment:{value:_M}}}}},...I.getResource}}),patch:z({summary:`Update a POI`,&#x22;x-permissions&#x22;:[E.POIS_UPDATE],&#x22;x-add-permissions&#x22;:[E.POIS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:mF,examples:{&#x22;200_request&#x22;:{value:vM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:cF,examples:{&#x22;Successful Response&#x22;:{value:yM}}}}},...I.update}}),delete:z({summary:`Delete a POI`,&#x22;x-permissions&#x22;:[E.POIS_DELETE],&#x22;x-add-permissions&#x22;:[E.POIS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})},&#x22;/pois/{id}/context&#x22;:{get:z({summary:`Retrieve the POI details and context used for processing`,&#x22;x-permissions&#x22;:[E.POIS_READ,E.MERCHANTS_READ,E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)}),query:gF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:hF,examples:{&#x22;Successful Response&#x22;:{value:gM},good_response_with_config_fragment:{value:_M}}}}},...I.getResource}})}}),vI=HM(`POI Groups`,{&#x22;/poi-groups&#x22;:{get:z({summary:`List POI groups`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_READ],requestParams:{query:eF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:tF,examples:{&#x22;Successful Response&#x22;:{value:jae}}}}},...I.getCollection}}),post:z({summary:`Create a POI group`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_CREATE],&#x22;x-add-permissions&#x22;:[E.POI_GROUPS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:nF,examples:{&#x22;201_request&#x22;:{value:Lae}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:$P,examples:{&#x22;Successful Response&#x22;:{value:bM}}}}},...I.create}})},&#x22;/poi-groups/{id}&#x22;:{get:z({summary:`Retrieve a POI group`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_READ],requestParams:{path:N({id:j().min(1)}),query:N({config:P([`fragment`,`coalesced`]).optional()})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:$P,examples:{&#x22;Successful Response&#x22;:{value:Rae},good_response_with_config_fragment:{value:zae}}}}},...I.getResource}}),patch:z({summary:`Update a POI group`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_UPDATE],&#x22;x-add-permissions&#x22;:[E.POI_GROUPS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:rF,examples:{&#x22;200_request&#x22;:{value:Bae}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:$P,examples:{&#x22;Successful Response&#x22;:{value:Vae}}}}},...I.update}}),delete:z({summary:`Delete a POI group`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_DELETE],&#x22;x-add-permissions&#x22;:[E.POI_GROUPS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})},&#x22;/poi-groups/{id}/pois&#x22;:{get:z({summary:`List POIs in a group`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_READ,E.POIS_READ],requestParams:{path:N({id:j().min(1)}),query:uF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:fF,examples:{&#x22;Successful Response&#x22;:{value:Hae}}}}},...I.getCollection}}),post:z({summary:`Add POI to group`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_UPDATE,E.POIS_UPDATE],&#x22;x-add-permissions&#x22;:[E.POIS_READ,E.POI_GROUPS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:iF,examples:{&#x22;200_request&#x22;:{value:Uae}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:aF,examples:{&#x22;Successful Response&#x22;:{value:Wae}}}}},...I.create}})},&#x22;/poi-groups/{id}/pois/{pid}&#x22;:{delete:z({summary:`Remove POI from group`,&#x22;x-permissions&#x22;:[E.POI_GROUPS_UPDATE,E.POIS_UPDATE],&#x22;x-add-permissions&#x22;:[E.POIS_READ,E.POI_GROUPS_READ],requestParams:{path:N({id:j().min(1),pid:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),yI=HM(`Configurations`,{&#x22;/configurations&#x22;:{get:z({summary:`List configurations`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{query:SP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:CP,examples:{&#x22;Successful Response&#x22;:{value:Gae}}}}},...I.getCollection}}),post:z({summary:`Create a configuration`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_CREATE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ,E.CONFIGURATIONS_INTERNAL_CREATE,E.CONFIGURATIONS_INTERNAL_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:DP,examples:{&#x22;201_request&#x22;:{value:CM}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:xP,examples:{&#x22;Successful Response&#x22;:{value:soe}}}}}}})},&#x22;/configurations/{id}&#x22;:{get:z({summary:`Retrieve a configuration`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:xP,examples:{&#x22;Successful Response&#x22;:{value:coe},good_response_public:{value:loe}}}}}}}),patch:z({summary:`Update a configuration`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_UPDATE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],description:&#x22;Update a configuration - note that the `acquirer_protocol` field cannot be updated without prior approval&#x22;,requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:jP,examples:{&#x22;200_request&#x22;:{value:uoe}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:xP,examples:{&#x22;Successful Response&#x22;:{value:doe}}}}}}}),delete:z({summary:`Delete a configuration`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_DELETE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],description:&#x22;Delete a configuration - note that the `acquirer_protocol` field cannot be deleted without prior approval, and that the shift4_config field will only be deleted if it is not used by any other configuration&#x22;,requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`}}})},&#x22;/configurations/{cid}/application-parameters/{apid}&#x22;:{put:z({summary:`Attach an application parameter to a configuration`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_UPDATE,E.APPLICATION_PARAMETERS_UPDATE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ,E.APPLICATION_PARAMETERS_READ],requestParams:{path:N({cid:j().min(1),apid:j().min(1)})},responses:{204:{description:`No Content`},...I.create,...UA}}),delete:z({summary:`Detach an application parameter from a configuration`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_UPDATE,E.APPLICATION_PARAMETERS_UPDATE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ,E.APPLICATION_PARAMETERS_READ],requestParams:{path:N({cid:j().min(1),apid:j().min(1)})},responses:{204:{description:`No Content`},...I.delete,...UA}})}}),bI=HM(`POI Context`,{&#x22;/poi-context/{poi_id}&#x22;:{get:VM({summary:`Get context for a POI`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_INTERNAL_READ],&#x22;x-add-permissions&#x22;:[E.POIS_READ,E.MERCHANTS_READ,E.MERCHANT_GROUPS_READ,E.POI_GROUPS_READ,E.CONFIGURATIONS_PUBLIC_READ,E.ACCOUNTS_READ],description:`This includes POI, Merchant, and fully coalesced configuration`,requestParams:{path:N({poi_id:j().min(1)}),query:gP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:bP}}},409:{description:`Conflict`,content:{&#x22;application/json&#x22;:{schema:j()}}},...I.getResource}})}}),xI=HM(`Message Groups`,{&#x22;/message-groups&#x22;:{get:VM({description:`List message groups`,&#x22;x-permissions&#x22;:[E.MESSAGE_GROUPS_READ],requestParams:{query:BF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:VF,examples:{&#x22;Successful Response&#x22;:{value:DM}}}}},...I.getCollection}}),post:VM({description:`Create a message group`,&#x22;x-permissions&#x22;:[E.MESSAGE_GROUPS_CREATE],&#x22;x-add-permissions&#x22;:[E.MESSAGE_GROUPS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:HF}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:zF,examples:{&#x22;Successful Response&#x22;:{value:joe}}}}},...I.create}})},&#x22;/message-groups/{id}&#x22;:{get:VM({description:`Retrieve a message group`,&#x22;x-permissions&#x22;:[E.MESSAGE_GROUPS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:zF,examples:{&#x22;Successful Response&#x22;:{value:DM}}}}},...I.getResource}})},&#x22;/message-groups/{id}/messages&#x22;:{get:VM({description:`List messages in a group`,&#x22;x-permissions&#x22;:[E.MESSAGES_READ,E.MESSAGE_GROUPS_READ],requestParams:{path:N({id:j().min(1)}),query:FF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:IF,examples:{&#x22;Successful Response&#x22;:{value:TM}}}}},...I.getCollection}}),post:VM({description:`Add message to group`,&#x22;x-permissions&#x22;:[E.MESSAGES_UPDATE,E.MESSAGE_GROUPS_READ,E.MESSAGES_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:UF}},required:!0},responses:{204:{description:`No Content`},...I.create,...UA}})},&#x22;/message-groups/{id}/messages/{mid}&#x22;:{delete:VM({summary:`Remove message from group`,&#x22;x-permissions&#x22;:[E.MESSAGES_UPDATE,E.MESSAGE_GROUPS_READ,E.MESSAGES_READ],requestParams:{path:N({id:j().min(1),mid:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),SI=N({sale_reference_id:j().min(1).max(35).nullish(),sale_reference_number:j().min(1).max(35).nullish(),amount:pO().int().min(0),authorised_amount:pO().int().min(0),timestamp:Eie.meta({type:`string`,minLength:1,format:`date-time`}),type:P(Q_),gratuity_amount:pO().int().min(0),currency:j().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/),authorisation_code:j().min(1).max(12).nullish(),response_code:P(K_),response_reason:j().min(1).max(255).nullish(),authentication_method:P(B_).nullish(),additional_response_information:j().min(1).max(255).nullish(),action_code:j().min(1).max(4).nullish(),aid:j().min(10).max(32).regex(/^[0-9A-F]+$/i).nullish(),application_label:j().min(1).max(16).nullish(),payment_channel:P(q_).meta({description:`The type of POI used`}),payment_interface:P(L_).nullish(),pan_start:j().min(6).max(8).regex(/^\d+$/),pan_last_four:j().length(4).regex(/^\d{4}$/),recipient_transaction_id:j().min(1).max(35).nullish(),initiator_transaction_id:j().min(1).max(35).nullish(),transaction_reference:j().min(1).max(35).nullish(),terminal_serial_number:j().min(1).max(35).nullish(),signature_base64:j().min(1).max(13333).nullish(),longitude:j().min(1).max(128).nullish(),latitude:j().min(1).max(128).nullish(),triggering_message_id:j().min(1).max(35),message_group_id:j().min(1).max(35).nullish(),account_id:j().min(1).max(35),poi_id:j().min(1).max(35),merchant_id:j().min(1).max(35),merchant_external_reference:j().min(1).max(35).nullish()}).strict().extend({id:j().min(1).max(35),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`Receipt`,&#x22;x-visibility&#x22;:`external`}),CI=KO({...XA.shape,account_id:qA,message_group_id:JA,triggering_message_id:JA,poi_id:qA,merchant_id:qA,response_code:j().transform(e=>e.toLowerCase()).pipe(P(K_)).optional(),pan_start:j().min(6).max(8).regex(/^\d+$/).optional(),pan_last_four:j().length(4).regex(/^\d{4}$/).optional(),type:j().transform(e=>e.toLowerCase()).pipe(P(Q_)).optional(),payment_channel:j().transform(e=>e.toLowerCase()).pipe(P(q_)).optional(),amount:mA().int().min(0).optional(),authorised_amount:mA().int().min(0).optional(),gratuity_amount:mA().int().min(0).optional(),currency:j().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/).optional(),&#x22;created_at[$gte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;created_at[$lte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;updated_at[$gte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;updated_at[$lte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;timestamp[$gte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional(),&#x22;timestamp[$lte]&#x22;:L.meta({type:`string`,minLength:1,format:`date-time`}).optional()}).strict().meta({id:`ReceiptListQuery`,&#x22;x-visibility&#x22;:`external`}),wI=N({receipts:M(SI),pagination:KA}).meta({id:`ReceiptListResponse`,&#x22;x-visibility&#x22;:`external`}),TI=HM(`Receipts`,{&#x22;/receipts&#x22;:{get:z({summary:`List receipts`,&#x22;x-permissions&#x22;:[E.RECEIPTS_READ],requestParams:{query:CI},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:wI}}},...I.getCollection}})},&#x22;/receipts/{id}&#x22;:{get:z({summary:`Retrieve a receipt`,&#x22;x-permissions&#x22;:[E.RECEIPTS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:SI}}},...I.getResource}})}}),EI=HM(`Addresses`,{&#x22;/addresses&#x22;:{get:z({summary:`List addresses`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{query:Pie},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:Nie,examples:{&#x22;Successful Response&#x22;:{value:Moe}}}}},...I.getCollection}}),post:z({summary:`Create an address`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_CREATE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:$A,examples:{&#x22;201_request&#x22;:{value:Ioe}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:QA,examples:{&#x22;Successful Response&#x22;:{value:AM}}}}},...I.create}})},&#x22;/addresses/{id}&#x22;:{get:z({summary:`Retrieve an address`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:QA,examples:{&#x22;Successful Response&#x22;:{value:OM}}}}},...I.getResource}}),patch:z({summary:`Update an address`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_UPDATE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:Fie,examples:{&#x22;200_request&#x22;:{value:jM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:QA,examples:{&#x22;Successful Response&#x22;:{value:Loe}}}}},...I.update}}),delete:z({summary:`Delete an address`,&#x22;x-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_DELETE],&#x22;x-add-permissions&#x22;:[E.CONFIGURATIONS_PUBLIC_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),DI=N({account_id:j().min(1).max(100).describe(`The account ID this webhook endpoint belongs to`),name:j().min(1).max(255).describe(`A human-readable name for the webhook endpoint`),url:DD().min(1).max(255).refine(e=>e.startsWith(`http://`)||e.startsWith(`https://`),{message:`URL must start with http:// or https://`}).describe(`The URL to send webhooks to`),event_types:M(P($_)).min(1).describe(`The types of webhook events to send`),is_active:xO().describe(`Whether the webhook endpoint is currently active and can be used`)}),OI=DI.extend({id:j().min(1).describe(`Unique identifier for the webhook endpoint`),provider:P(ev).describe(`The provider for the webhook endpoint`),provider_endpoint_id:j().min(1).nullish().describe(`The ID of the provider endpoint`),provider_customer_id:j().nullish().describe(`The customer ID of the provider`),signing_secret_ciphertext:j().describe(`The encrypted webhook signing secret`),created_at:L.meta({type:`string`,minLength:1,format:`date-time`}),updated_at:L.meta({type:`string`,minLength:1,format:`date-time`})}).meta({id:`WebhookEndpoint`,&#x22;x-visibility&#x22;:`internal`}),kI=KO({...XA.shape,account_id:qA,name:qA.describe(`Filter by name (partial match)`),is_active:P([`true`,`false`]).transform(e=>e===`true`).optional().describe(`Filter by active status`)}).strict(),AI=OI.omit({signing_secret_ciphertext:!0}).extend({signing_secret:j().describe(`The signing secret for verifying webhook signatures`)}).meta({id:`WebhookGetResponse`,&#x22;x-visibility&#x22;:`external`}),jI=N({webhook_endpoints:M(OI.omit({signing_secret_ciphertext:!0}).meta({id:`WebhookListItemResponse`,&#x22;x-visibility&#x22;:`external`})),pagination:KA}).meta({id:`WebhookEndpointListResponse`,&#x22;x-visibility&#x22;:`external`}),MI=DI.omit({account_id:!0}).strict().extend({is_active:xO().describe(`Whether the webhook endpoint is currently active and can be used`).default(!0)}).meta({id:`WebhookEndpointCreateRequest`,&#x22;x-visibility&#x22;:`external`,required:[`name`,`url`,`event_types`]}),NI=DI.omit({account_id:!0}).partial().strict().refine(e=>Object.keys(e).length>0,{message:`Request body must contain at least one field to update`,path:[]}).meta({id:`UpdateWebhookEndpointRequest`,&#x22;x-visibility&#x22;:`external`,not:{properties:{id:{},account_id:{},created_at:{},updated_at:{}}}}),PI=N({token:j().min(1).describe(`The token to use for authenticating with the dashboard`),url:j().url().min(1).describe(`The URL to use for authenticating with the dashboard`)}).meta({description:`A dashboard session to monitor webhook endpoints for your account. The session is valid for 1 hour.`,id:`DashboardSessionCreateResponse`,&#x22;x-visibility&#x22;:`external`}),FI=HM(`Webhook Endpoints`,{&#x22;/webhook-endpoints&#x22;:{get:z({summary:`List webhook endpoints`,&#x22;x-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_READ],requestParams:{query:kI},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:jI}}},...I.getCollection}}),post:z({summary:`Create a webhook endpoint`,&#x22;x-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_CREATE],&#x22;x-add-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:MI,examples:{&#x22;201_request&#x22;:{value:Hoe}}}}},responses:{201:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:AI}}},...I.create}})},&#x22;/webhook-endpoints/{id}&#x22;:{get:z({summary:`Get a webhook endpoint by ID`,&#x22;x-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_READ],requestParams:{path:N({id:j().min(1).describe(`The webhook endpoint ID`)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:AI}}},...I.getResource}}),patch:z({summary:`Update a webhook endpoint`,&#x22;x-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_UPDATE],&#x22;x-add-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_READ],requestParams:{path:N({id:j().min(1).describe(`The webhook endpoint ID`)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:NI,examples:{&#x22;200_request&#x22;:{value:Uoe}}}}},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:AI}}},...I.update}}),delete:z({summary:`Delete a webhook endpoint`,&#x22;x-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_DELETE],&#x22;x-add-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_READ],requestParams:{path:N({id:j().min(1).describe(`The webhook endpoint ID`)})},responses:{204:{description:`Successful`},...I.delete}})},&#x22;/webhook-endpoints/{id}/signing-secret&#x22;:{post:z({summary:`Rotate the signing secret for a webhook endpoint. The previous secret will be valid for 24 hours.`,&#x22;x-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_UPDATE],&#x22;x-add-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_READ],requestParams:{path:N({id:j().min(1).describe(`The webhook endpoint ID`)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:AI}}},...I.update}})},&#x22;/webhook-endpoints/dashboard-sessions&#x22;:{post:z({summary:`Create a dashboard session to monitor webhook endpoints for your account`,&#x22;x-permissions&#x22;:[E.WEBHOOK_ENDPOINTS_READ],responses:{201:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:PI}}},...I.create}})}}),II=HM(`Application Parameters`,{&#x22;/application-parameters&#x22;:{get:z({summary:`List application parameters`,&#x22;x-permissions&#x22;:[E.APPLICATION_PARAMETERS_READ],requestParams:{query:pP},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:fP,examples:{&#x22;Successful Response&#x22;:{value:Woe}}}}},...I.getCollection}}),post:z({summary:`Create an application parameter`,&#x22;x-permissions&#x22;:[E.APPLICATION_PARAMETERS_CREATE],&#x22;x-add-permissions&#x22;:[E.APPLICATION_PARAMETERS_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:mP,examples:{&#x22;201_request&#x22;:{value:Goe}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:dP,examples:{&#x22;Successful Response&#x22;:{value:Koe}}}}},...I.create}})},&#x22;/application-parameters/{id}&#x22;:{get:z({summary:`Retrieve an application parameter`,&#x22;x-permissions&#x22;:[E.APPLICATION_PARAMETERS_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:dP,examples:{&#x22;Successful Response&#x22;:{value:qoe}}}}},...I.getResource}}),patch:z({summary:`Update an application parameter`,&#x22;x-permissions&#x22;:[E.APPLICATION_PARAMETERS_UPDATE],&#x22;x-add-permissions&#x22;:[E.APPLICATION_PARAMETERS_READ],requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:hP,examples:{&#x22;200_request&#x22;:{value:MM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:dP,examples:{&#x22;Successful Response&#x22;:{value:Joe}}}}},...I.update}}),delete:z({summary:`Delete an application parameter`,&#x22;x-permissions&#x22;:[E.APPLICATION_PARAMETERS_DELETE],&#x22;x-add-permissions&#x22;:[E.APPLICATION_PARAMETERS_READ],requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`},...I.delete}})}}),LI=HM(`Rules`,{&#x22;/rules&#x22;:{get:z({summary:`List rules`,&#x22;x-permissions&#x22;:[E.RULES_READ],requestParams:{query:KF},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:qF,examples:{&#x22;Successful Response&#x22;:{value:Yoe}}}}},...I.getCollection}}),post:z({summary:`Create a rule`,&#x22;x-permissions&#x22;:[E.RULES_CREATE],&#x22;x-add-permissions&#x22;:[E.RULES_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:JF,examples:{&#x22;201_request&#x22;:{value:PM}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:GF,examples:{&#x22;Successful Response&#x22;:{value:Xoe}}}}}}})},&#x22;/rules/{id}&#x22;:{get:z({summary:`Retrieve a rule`,&#x22;x-permissions&#x22;:[E.RULES_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:GF,examples:{&#x22;Successful Response&#x22;:{value:NM}}}}}}}),patch:z({summary:`Update a rule`,&#x22;x-permissions&#x22;:[E.RULES_UPDATE],&#x22;x-add-permissions&#x22;:[E.RULES_READ],description:`Update a rule`,requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:YF,examples:{&#x22;200_request&#x22;:{value:FM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:GF,examples:{&#x22;Successful Response&#x22;:{value:Zoe}}}}}}}),delete:z({summary:`Delete a rule`,&#x22;x-permissions&#x22;:[E.RULES_DELETE],&#x22;x-add-permissions&#x22;:[E.RULES_READ],description:`Delete a rule`,requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`}}})},&#x22;/rules/{rid}/rule-versions&#x22;:{get:z({summary:`List rule versions`,&#x22;x-permissions&#x22;:[E.RULES_READ],requestParams:{query:ZF,path:N({rid:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:QF,examples:{&#x22;Successful Response&#x22;:{value:ese}}}}},...I.getCollection}}),post:z({summary:`Create a rule version`,&#x22;x-permissions&#x22;:[E.RULES_CREATE],&#x22;x-add-permissions&#x22;:[E.RULES_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:$F,examples:{&#x22;201_request&#x22;:{value:IM}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:XF,examples:{&#x22;Successful Response&#x22;:{value:$oe}}}}}}})},&#x22;/rules/{rid}/rule-versions/{id}&#x22;:{get:z({summary:`Retrieve a rule version`,&#x22;x-permissions&#x22;:[E.RULES_READ],requestParams:{path:N({rid:j().min(1),id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:XF,examples:{&#x22;Successful Response&#x22;:{value:Qoe}}}}}}})}}),RI=HM(`TransactionRoutingRules`,{&#x22;/transaction-routing-rules&#x22;:{get:z({summary:`List transaction routing rules`,&#x22;x-permissions&#x22;:[E.RULES_READ],requestParams:{query:nI},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:rI,examples:{&#x22;Successful Response&#x22;:{value:nse}}}}},...I.getCollection}}),post:z({summary:`Create a transaction routing rule`,&#x22;x-permissions&#x22;:[E.RULES_CREATE],&#x22;x-add-permissions&#x22;:[E.RULES_READ],requestBody:{content:{&#x22;application/json&#x22;:{schema:iI,examples:{&#x22;201_request&#x22;:{value:RM}}}},required:!0},responses:{201:{description:`Created`,content:{&#x22;application/json&#x22;:{schema:tI,examples:{&#x22;Successful Response&#x22;:{value:zM}}}}}}})},&#x22;/transaction-routing-rules/{id}&#x22;:{get:z({summary:`Retrieve a transaction routing rule with its associated rule`,&#x22;x-permissions&#x22;:[E.RULES_READ],requestParams:{path:N({id:j().min(1)})},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:tI,examples:{&#x22;Successful Response&#x22;:{value:tse}}}}}}}),patch:z({summary:`Update a transaction routing rule`,&#x22;x-permissions&#x22;:[E.RULES_UPDATE],&#x22;x-add-permissions&#x22;:[E.RULES_READ],description:`Update a transaction routing rule`,requestParams:{path:N({id:j().min(1)})},requestBody:{content:{&#x22;application/json&#x22;:{schema:aI,examples:{&#x22;200_request&#x22;:{value:BM}}}},required:!0},responses:{200:{description:`Successful`,content:{&#x22;application/json&#x22;:{schema:tI,examples:{&#x22;Successful Response&#x22;:{value:rse}}}}}}}),delete:z({summary:`Delete a transaction routing rule`,&#x22;x-permissions&#x22;:[E.RULES_DELETE],&#x22;x-add-permissions&#x22;:[E.RULES_READ],description:`Delete a transaction routing rule`,requestParams:{path:N({id:j().min(1)})},responses:{204:{description:`No Content`}}})}});bie({openapi:`3.1.0`,info:{version:`1.0.0`,title:`Toro Management API`,description:`API for back-office functionality`},security:[{Bearer:[]},{ApiKey:[]}],components:{securitySchemes:{Bearer:{type:`http`,scheme:`bearer`,bearerFormat:`JWT`,description:`This can be a user refresh token, user access token, or role access token. The type(s) permitted depend on the endpoint being accessed.`},ApiKey:{type:`apiKey`,in:`header`,name:`API-Key`,description:`API keys are used for programmatic access - if an API key is provided the user/role system will be bypassed and a JWT will not be required.`}}},servers:[{url:`/v1`,description:`Relative path from server`}],externalDocs:{description:`Toro Payment Gateway documentation`,url:`https://docs.torogateway.com`},paths:{...ase,...cI,...uI,...oI,...lI,...dI,...fI,...pI,...mI,..._I,...vI,...yI,...bI,...gI,...xI,...TI,...EI,...FI,...II,...LI,...RI}},{override:({jsonSchema:e,zodSchema:t,io:n})=>{let r=t._zod.def;if(r.type===`transform`&&n===`output`){e.type=`object`,e.additionalProperties=!0;return}if(r.type===`custom`){e.type=`string`,e.format=`date-time`;return}if(r.type===`date`){e.type=`string`,e.format=`date-time`;return}if(e.anyOf&&Array.isArray(e.anyOf)){let t=e.anyOf,n=t.some(e=>e.type===`null`||e.enum&&e.enum.length===1&&e.enum[0]===null),r=t.filter(e=>e.type!==`null`&&!(e.enum&&e.enum.length===1&&e.enum[0]===null));if(r.every(e=>e.type===`string`&&e.format===`date-time`)&&r.length>0){e.type=`string`,e.format=`date-time`,n&&(e.nullable=!0),delete e.anyOf;return}if(n&&r.length===1){let t=r[0];Object.keys(e).forEach(t=>{t!==`anyOf`&&delete e[t]}),Object.assign(e,t),e.nullable=!0,delete e.anyOf;return}if(n&&r.length>1){e.oneOf=r,e.nullable=!0,delete e.anyOf;return}e.oneOf=e.anyOf,delete e.anyOf}}});var zI=hA,BI=[{key:P_.SHIFT_4,label:`Shift4`,description:`Visa, Mastercard, etc.`},{key:P_.SHIFT_4_AMEX,label:`Amex via Shift4`,description:`American Express`}],VI=$F.shape.definition.and(zI.lazy(()=>zI.object({expressionComponents:zI.object({expressionField:zI.string(),expressionOperator:zI.enum([`==`,`!=`,`>`,`>=`,`<`,`<=`]),expressionComparator:zI.union([zI.string(),zI.boolean(),zI.number()])}).optional(),rules:zI.array(VI).optional()}))),HI=[{key:`basics`,label:`1`,title:`Rule Basics`},{key:`version`,label:`2`,title:`Version`},{key:`conditions`,label:`3`,title:`Definition`},{key:`review`,label:`4`,title:`Review`},{key:`deploy`,label:`5`,title:`Deploy`}],UI={class:`step-row`},WI=[`onClick`],GI={key:0,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`3`},KI=mr({__name:`StepIndicator`,props:{steps:{},current:{}},emits:[`select`],setup(e,{emit:t}){let n=t;function r(e,t){return e.findIndex(e=>e.key===t)}return(t,i)=>(ca(),pa(`div`,UI,[(ca(!0),pa(na,null,Ur(e.steps,(t,a)=>(ca(),pa(na,{key:t.key},[T(`button`,{class:Me([`step-btn`,{active:t.key===e.current}]),onClick:e=>n(`select`,t.key)},[T(`div`,{class:Me([`step-dot`,{&#x22;step-dot--active&#x22;:t.key===e.current,&#x22;step-dot--done&#x22;:a<r(e.steps,e.current)}])},[a<r(e.steps,e.current)?(ca(),pa(`svg`,GI,[...i[0]||=[T(`path`,{d:`M5 13l4 4L19 7`},null,-1)]])):(ca(),pa(na,{key:1},[Ca(Be(t.label),1)],64))],2),T(`span`,{class:Me([`step-title`,{&#x22;step-title--active&#x22;:t.key===e.current}])},Be(t.title),3)],10,WI),a<e.steps.length-1?(ca(),pa(`div`,{key:0,class:Me([`step-line`,{&#x22;step-line--done&#x22;:a<r(e.steps,e.current)}])},null,2)):Ta(``,!0)],64))),128))]))}}),qI=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},JI=qI(KI,[[`__scopeId`,`data-v-9e7d5b75`]]),YI=e=>{let t=typeof e;return e!==null&&(t===`object`||t===`function`)},XI=new Set([`__proto__`,`prototype`,`constructor`]),ZI=new Set(`0123456789`);function QI(e){let t=[],n=``,r=`start`,i=!1;for(let a of e)switch(a){case`\\`:if(r===`index`)throw Error(`Invalid character in an index`);if(r===`indexEnd`)throw Error(`Invalid character after an index`);i&&(n+=a),r=`property`,i=!i;break;case`.`:if(r===`index`)throw Error(`Invalid character in an index`);if(r===`indexEnd`){r=`property`;break}if(i){i=!1,n+=a;break}if(XI.has(n))return[];t.push(n),n=``,r=`property`;break;case`[`:if(r===`index`)throw Error(`Invalid character in an index`);if(r===`indexEnd`){r=`index`;break}if(i){i=!1,n+=a;break}if(r===`property`){if(XI.has(n))return[];t.push(n),n=``}r=`index`;break;case`]`:if(r===`index`){t.push(Number.parseInt(n,10)),n=``,r=`indexEnd`;break}if(r===`indexEnd`)throw Error(`Invalid character after an index`);default:if(r===`index`&&!ZI.has(a))throw Error(`Invalid character in an index`);if(r===`indexEnd`)throw Error(`Invalid character after an index`);r===`start`&&(r=`property`),i&&(i=!1,n+=`\\`),n+=a}switch(i&&(n+=`\\`),r){case`property`:if(XI.has(n))return[];t.push(n);break;case`index`:throw Error(`Index was not closed`);case`start`:t.push(``);break}return t}function $I(e,t){if(typeof t!=`number`&&Array.isArray(e)){let n=Number.parseInt(t,10);return Number.isInteger(n)&&e[n]===e[t]}return!1}function eL(e,t){if($I(e,t))throw Error(`Cannot use string index`)}function tL(e,t,n){if(!YI(e)||typeof t!=`string`)return n===void 0?e:n;let r=QI(t);if(r.length===0)return n;for(let t=0;t<r.length;t++){let i=r[t];if(e=$I(e,i)?t===r.length-1?void 0:null:e[i],e==null){if(t!==r.length-1)return n;break}}return e===void 0?n:e}function nL(e,t,n){if(!YI(e)||typeof t!=`string`)return e;let r=e,i=QI(t);for(let t=0;t<i.length;t++){let r=i[t];eL(e,r),t===i.length-1?e[r]=n:YI(e[r])||(e[r]=typeof i[t+1]==`number`?[]:{}),e=e[r]}return r}function rL(e,t){if(!YI(e)||typeof t!=`string`)return!1;let n=QI(t);for(let t=0;t<n.length;t++){let r=n[t];if(eL(e,r),t===n.length-1)return delete e[r],!0;if(e=e[r],!YI(e))return!1}}function iL(e,t){if(!YI(e)||typeof t!=`string`)return!1;let n=QI(t);if(n.length===0)return!1;for(let t of n){if(!YI(e)||!(t in e)||$I(e,t))return!1;e=e[t]}return!0}var aL=`:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD`;aL+``;var oL=`[`+aL+`][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*`,sL=RegExp(`^`+oL+`$`);function cL(e,t){let n=[],r=t.exec(e);for(;r;){let i=[];i.startIndex=t.lastIndex-r[0].length;let a=r.length;for(let e=0;e<a;e++)i.push(r[e]);n.push(i),r=t.exec(e)}return n}var lL=function(e){return sL.exec(e)!=null};function uL(e){return e!==void 0}var dL=[`hasOwnProperty`,`toString`,`valueOf`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`],fL=[`__proto__`,`constructor`,`prototype`],pL={allowBooleanAttributes:!1,unpairedTags:[]};function mL(e,t){t=Object.assign({},pL,t);let n=[],r=!1,i=!1;e[0]===`﻿`&&(e=e.substr(1));for(let a=0;a<e.length;a++)if(e[a]===`<`&&e[a+1]===`?`){if(a+=2,a=gL(e,a),a.err)return a}else if(e[a]===`<`){let o=a;if(a++,e[a]===`!`){a=_L(e,a);continue}else{let s=!1;e[a]===`/`&&(s=!0,a++);let c=``;for(;a<e.length&&e[a]!==`>`&&e[a]!==` `&&e[a]!==`	`&&e[a]!==`&#xA;`&&e[a]!==`\r`;a++)c+=e[a];if(c=c.trim(),c[c.length-1]===`/`&&(c=c.substring(0,c.length-1),a--),!DL(c)){let t;return t=c.trim().length===0?`Invalid space after '<'.`:`Tag '`+c+`' is an invalid name.`,TL(`InvalidTag`,t,OL(e,a))}let l=bL(e,a);if(l===!1)return TL(`InvalidAttr`,`Attributes for '`+c+`' have open quote.`,OL(e,a));let u=l.value;if(a=l.index,u[u.length-1]===`/`){let n=a-u.length;u=u.substring(0,u.length-1);let i=SL(u,t);if(i===!0)r=!0;else return TL(i.err.code,i.err.msg,OL(e,n+i.err.line))}else if(s){if(!l.tagClosed)return TL(`InvalidTag`,`Closing tag '`+c+`' doesn't have proper closing.`,OL(e,a));if(u.trim().length>0)return TL(`InvalidTag`,`Closing tag '`+c+`' can't have attributes or invalid starting.`,OL(e,o));if(n.length===0)return TL(`InvalidTag`,`Closing tag '`+c+`' has not been opened.`,OL(e,o));{let t=n.pop();if(c!==t.tagName){let n=OL(e,t.tagStartPos);return TL(`InvalidTag`,`Expected closing tag '`+t.tagName+`' (opened in line `+n.line+`, col `+n.col+`) instead of closing tag '`+c+`'.`,OL(e,o))}n.length==0&&(i=!0)}}else{let s=SL(u,t);if(s!==!0)return TL(s.err.code,s.err.msg,OL(e,a-u.length+s.err.line));if(i===!0)return TL(`InvalidXml`,`Multiple possible root nodes found.`,OL(e,a));t.unpairedTags.indexOf(c)!==-1||n.push({tagName:c,tagStartPos:o}),r=!0}for(a++;a<e.length;a++)if(e[a]===`<`)if(e[a+1]===`!`){a++,a=_L(e,a);continue}else if(e[a+1]===`?`){if(a=gL(e,++a),a.err)return a}else break;else if(e[a]===`&`){let t=wL(e,a);if(t==-1)return TL(`InvalidChar`,`char '&' is not expected.`,OL(e,a));a=t}else if(i===!0&&!hL(e[a]))return TL(`InvalidXml`,`Extra text at the end`,OL(e,a));e[a]===`<`&&a--}}else{if(hL(e[a]))continue;return TL(`InvalidChar`,`char '`+e[a]+`' is not expected.`,OL(e,a))}return r?n.length==1?TL(`InvalidTag`,`Unclosed tag '`+n[0].tagName+`'.`,OL(e,n[0].tagStartPos)):n.length>0?TL(`InvalidXml`,`Invalid '`+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,``)+`' found.`,{line:1,col:1}):!0:TL(`InvalidXml`,`Start tag expected.`,1)}function hL(e){return e===` `||e===`	`||e===`&#xA;`||e===`\r`}function gL(e,t){let n=t;for(;t<e.length;t++)if(e[t]==`?`||e[t]==` `){let r=e.substr(n,t-n);if(t>5&&r===`xml`)return TL(`InvalidXml`,`XML declaration allowed only at the start of the document.`,OL(e,t));if(e[t]==`?`&&e[t+1]==`>`){t++;break}else continue}return t}function _L(e,t){if(e.length>t+5&&e[t+1]===`-`&&e[t+2]===`-`){for(t+=3;t<e.length;t++)if(e[t]===`-`&&e[t+1]===`-`&&e[t+2]===`>`){t+=2;break}}else if(e.length>t+8&&e[t+1]===`D`&&e[t+2]===`O`&&e[t+3]===`C`&&e[t+4]===`T`&&e[t+5]===`Y`&&e[t+6]===`P`&&e[t+7]===`E`){let n=1;for(t+=8;t<e.length;t++)if(e[t]===`<`)n++;else if(e[t]===`>`&&(n--,n===0))break}else if(e.length>t+9&&e[t+1]===`[`&&e[t+2]===`C`&&e[t+3]===`D`&&e[t+4]===`A`&&e[t+5]===`T`&&e[t+6]===`A`&&e[t+7]===`[`){for(t+=8;t<e.length;t++)if(e[t]===`]`&&e[t+1]===`]`&&e[t+2]===`>`){t+=2;break}}return t}var vL=`&#x22;`,yL=`'`;function bL(e,t){let n=``,r=``,i=!1;for(;t<e.length;t++){if(e[t]===vL||e[t]===yL)r===``?r=e[t]:r!==e[t]||(r=``);else if(e[t]===`>`&&r===``){i=!0;break}n+=e[t]}return r===``?{value:n,index:t,tagClosed:i}:!1}var xL=RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['&#x22;])(([\\s\\S])*?)\\5)?`,`g`);function SL(e,t){let n=cL(e,xL),r={};for(let e=0;e<n.length;e++){if(n[e][1].length===0)return TL(`InvalidAttr`,`Attribute '`+n[e][2]+`' has no space in starting.`,kL(n[e]));if(n[e][3]!==void 0&&n[e][4]===void 0)return TL(`InvalidAttr`,`Attribute '`+n[e][2]+`' is without value.`,kL(n[e]));if(n[e][3]===void 0&&!t.allowBooleanAttributes)return TL(`InvalidAttr`,`boolean attribute '`+n[e][2]+`' is not allowed.`,kL(n[e]));let i=n[e][2];if(!EL(i))return TL(`InvalidAttr`,`Attribute '`+i+`' is an invalid name.`,kL(n[e]));if(!Object.prototype.hasOwnProperty.call(r,i))r[i]=1;else return TL(`InvalidAttr`,`Attribute '`+i+`' is repeated.`,kL(n[e]))}return!0}function CL(e,t){let n=/\d/;for(e[t]===`x`&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(e[t]===`;`)return t;if(!e[t].match(n))break}return-1}function wL(e,t){if(t++,e[t]===`;`)return-1;if(e[t]===`#`)return t++,CL(e,t);let n=0;for(;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(e[t]===`;`)break;return-1}return t}function TL(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function EL(e){return lL(e)}function DL(e){return lL(e)}function OL(e,t){let n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function kL(e){return e.startIndex+e[1].length}var AL=e=>dL.includes(e)?`__`+e:e,jL={preserveOrder:!1,attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:AL};function ML(e,t){if(typeof e!=`string`)return;let n=e.toLowerCase();if(dL.some(e=>n===e.toLowerCase())||fL.some(e=>n===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: &#x22;${e}&#x22; is a reserved JavaScript keyword that could cause prototype pollution`)}function NL(e){return typeof e==`boolean`?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof e==`object`&&e?{enabled:e.enabled!==!1,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1e3),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null}:NL(!0)}var PL=function(e){let t=Object.assign({},jL,e),n=[{value:t.attributeNamePrefix,name:`attributeNamePrefix`},{value:t.attributesGroupName,name:`attributesGroupName`},{value:t.textNodeName,name:`textNodeName`},{value:t.cdataPropName,name:`cdataPropName`},{value:t.commentPropName,name:`commentPropName`}];for(let{value:e,name:t}of n)e&&ML(e,t);return t.onDangerousProperty===null&&(t.onDangerousProperty=AL),t.processEntities=NL(t.processEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>typeof e==`string`&&e.startsWith(`*.`)?`..`+e.substring(2):e)),t},FL=typeof Symbol==`function`?Symbol(`XML Node Metadata`):`@@xmlMetadata`,IL=class{constructor(e){this.tagname=e,this.child=[],this[`:@`]=Object.create(null)}add(e,t){e===`__proto__`&&(e=`#__proto__`),this.child.push({[e]:t})}addChild(e,t){e.tagname===`__proto__`&&(e.tagname=`#__proto__`),e[`:@`]&&Object.keys(e[`:@`]).length>0?this.child.push({[e.tagname]:e.child,&#x22;:@&#x22;:e[`:@`]}):this.child.push({[e.tagname]:e.child}),t!==void 0&&(this.child[this.child.length-1][FL]={startIndex:t})}static getMetaDataSymbol(){return FL}},LL=class{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,t){let n=Object.create(null),r=0;if(e[t+3]===`O`&&e[t+4]===`C`&&e[t+5]===`T`&&e[t+6]===`Y`&&e[t+7]===`P`&&e[t+8]===`E`){t+=9;let i=1,a=!1,o=!1,s=``;for(;t<e.length;t++)if(e[t]===`<`&&!o){if(a&&zL(e,`!ENTITY`,t)){t+=7;let i,a;if([i,a,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),a.indexOf(`&`)===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&r>=this.options.maxEntityCount)throw Error(`Entity count (${r+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);let e=i.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);n[i]={regx:RegExp(`&${e};`,`g`),val:a},r++}}else if(a&&zL(e,`!ELEMENT`,t)){t+=8;let{index:n}=this.readElementExp(e,t+1);t=n}else if(a&&zL(e,`!ATTLIST`,t))t+=8;else if(a&&zL(e,`!NOTATION`,t)){t+=9;let{index:n}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=n}else if(zL(e,`!--`,t))o=!0;else throw Error(`Invalid DOCTYPE`);i++,s=``}else if(e[t]===`>`){if(o?e[t-1]===`-`&&e[t-2]===`-`&&(o=!1,i--):i--,i===0)break}else e[t]===`[`?a=!0:s+=e[t];if(i!==0)throw Error(`Unclosed DOCTYPE`)}else throw Error(`Invalid Tag instead of DOCTYPE`);return{entities:n,i:t}}readEntityExp(e,t){t=RL(e,t);let n=t;for(;t<e.length&&!/\s/.test(e[t])&&e[t]!==`&#x22;`&&e[t]!==`'`;)t++;let r=e.substring(n,t);if(BL(r),t=RL(e,t),!this.suppressValidationErr){if(e.substring(t,t+6).toUpperCase()===`SYSTEM`)throw Error(`External entities are not supported`);if(e[t]===`%`)throw Error(`Parameter entities are not supported`)}let i=``;if([t,i]=this.readIdentifierVal(e,t,`entity`),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&i.length>this.options.maxEntitySize)throw Error(`Entity &#x22;${r}&#x22; size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return t--,[r,i,t]}readNotationExp(e,t){t=RL(e,t);let n=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;let r=e.substring(n,t);!this.suppressValidationErr&&BL(r),t=RL(e,t);let i=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&i!==`SYSTEM`&&i!==`PUBLIC`)throw Error(`Expected SYSTEM or PUBLIC, found &#x22;${i}&#x22;`);t+=i.length,t=RL(e,t);let a=null,o=null;if(i===`PUBLIC`)[t,a]=this.readIdentifierVal(e,t,`publicIdentifier`),t=RL(e,t),(e[t]===`&#x22;`||e[t]===`'`)&&([t,o]=this.readIdentifierVal(e,t,`systemIdentifier`));else if(i===`SYSTEM`&&([t,o]=this.readIdentifierVal(e,t,`systemIdentifier`),!this.suppressValidationErr&&!o))throw Error(`Missing mandatory system identifier for SYSTEM notation`);return{notationName:r,publicIdentifier:a,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,n){let r=``,i=e[t];if(i!==`&#x22;`&&i!==`'`)throw Error(`Expected quoted string, found &#x22;${i}&#x22;`);t++;let a=t;for(;t<e.length&&e[t]!==i;)t++;if(r=e.substring(a,t),e[t]!==i)throw Error(`Unterminated ${n} value`);return t++,[t,r]}readElementExp(e,t){t=RL(e,t);let n=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;let r=e.substring(n,t);if(!this.suppressValidationErr&&!lL(r))throw Error(`Invalid element name: &#x22;${r}&#x22;`);t=RL(e,t);let i=``;if(e[t]===`E`&&zL(e,`MPTY`,t))t+=4;else if(e[t]===`A`&&zL(e,`NY`,t))t+=2;else if(e[t]===`(`){t++;let n=t;for(;t<e.length&&e[t]!==`)`;)t++;if(i=e.substring(n,t),e[t]!==`)`)throw Error(`Unterminated content model`)}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found &#x22;${e[t]}&#x22;`);return{elementName:r,contentModel:i.trim(),index:t}}readAttlistExp(e,t){t=RL(e,t);let n=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;let r=e.substring(n,t);for(BL(r),t=RL(e,t),n=t;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(n,t);if(!BL(i))throw Error(`Invalid attribute name: &#x22;${i}&#x22;`);t=RL(e,t);let a=``;if(e.substring(t,t+8).toUpperCase()===`NOTATION`){if(a=`NOTATION`,t+=8,t=RL(e,t),e[t]!==`(`)throw Error(`Expected '(', found &#x22;${e[t]}&#x22;`);t++;let n=[];for(;t<e.length&&e[t]!==`)`;){let r=t;for(;t<e.length&&e[t]!==`|`&&e[t]!==`)`;)t++;let i=e.substring(r,t);if(i=i.trim(),!BL(i))throw Error(`Invalid notation name: &#x22;${i}&#x22;`);n.push(i),e[t]===`|`&&(t++,t=RL(e,t))}if(e[t]!==`)`)throw Error(`Unterminated list of notations`);t++,a+=` (`+n.join(`|`)+`)`}else{let n=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(a+=e.substring(n,t),!this.suppressValidationErr&&![`CDATA`,`ID`,`IDREF`,`IDREFS`,`ENTITY`,`ENTITIES`,`NMTOKEN`,`NMTOKENS`].includes(a.toUpperCase()))throw Error(`Invalid attribute type: &#x22;${a}&#x22;`)}t=RL(e,t);let o=``;return e.substring(t,t+8).toUpperCase()===`#REQUIRED`?(o=`#REQUIRED`,t+=8):e.substring(t,t+7).toUpperCase()===`#IMPLIED`?(o=`#IMPLIED`,t+=7):[t,o]=this.readIdentifierVal(e,t,`ATTLIST`),{elementName:r,attributeName:i,attributeType:a,defaultValue:o,index:t}}},RL=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function zL(e,t,n){for(let r=0;r<t.length;r++)if(t[r]!==e[n+r+1])return!1;return!0}function BL(e){if(lL(e))return e;throw Error(`Invalid entity name ${e}`)}var VL=/^[-+]?0x[a-fA-F0-9]+$/,HL=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,UL={hex:!0,leadingZeros:!0,decimalPoint:`.`,eNotation:!0,infinity:`original`};function WL(e,t={}){if(t=Object.assign({},UL,t),!e||typeof e!=`string`)return e;let n=e.trim();if(n.length===0||t.skipLike!==void 0&&t.skipLike.test(n))return e;if(n===`0`)return 0;if(t.hex&&VL.test(n))return dce(n,16);if(!isFinite(n))return fce(e,Number(n),t);if(n.includes(`e`)||n.includes(`E`))return lce(e,n,t);{let r=HL.exec(n);if(r){let i=r[1]||``,a=r[2],o=uce(r[3]),s=i?e[a.length+1]===`.`:e[a.length]===`.`;if(!t.leadingZeros&&(a.length>1||a.length===1&&!s))return e;{let r=Number(n),s=String(r);if(r===0)return r;if(s.search(/[eE]/)!==-1)return t.eNotation?r:e;if(n.indexOf(`.`)!==-1)return s===`0`||s===o||s===`${i}${o}`?r:e;let c=a?o:n;return a?c===s||i+c===s?r:e:c===s||c===i+s?r:e}}else return e}}var cce=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function lce(e,t,n){if(!n.eNotation)return e;let r=t.match(cce);if(r){let i=r[1]||``,a=r[3].indexOf(`e`)===-1?`E`:`e`,o=r[2],s=i?e[o.length+1]===a:e[o.length]===a;return o.length>1&&s?e:o.length===1&&(r[3].startsWith(`.${a}`)||r[3][0]===a)?Number(t):o.length>0?n.leadingZeros&&!s?(t=(r[1]||``)+r[3],Number(t)):e:Number(t)}else return e}function uce(e){return e&&e.indexOf(`.`)!==-1?(e=e.replace(/0+$/,``),e===`.`?e=`0`:e[0]===`.`?e=`0`+e:e[e.length-1]===`.`&&(e=e.substring(0,e.length-1)),e):e}function dce(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error(`parseInt, Number.parseInt, window.parseInt are not supported`)}function fce(e,t,n){let r=t===1/0;switch(n.infinity.toLowerCase()){case`null`:return null;case`infinity`:return t;case`string`:return r?`Infinity`:`-Infinity`;default:return e}}function pce(e){return typeof e==`function`?e:Array.isArray(e)?t=>{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}var GL=class{constructor(e,t={},n){this.pattern=e,this.separator=t.separator||`.`,this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(e=>e.type===`deep-wildcard`),this._hasAttributeCondition=this.segments.some(e=>e.attrName!==void 0),this._hasPositionSelector=this.segments.some(e=>e.position!==void 0)}_parse(e){let t=[],n=0,r=``;for(;n<e.length;)e[n]===this.separator?n+1<e.length&&e[n+1]===this.separator?(r.trim()&&(t.push(this._parseSegment(r.trim())),r=``),t.push({type:`deep-wildcard`}),n+=2):(r.trim()&&t.push(this._parseSegment(r.trim())),r=``,n++):(r+=e[n],n++);return r.trim()&&t.push(this._parseSegment(r.trim())),t}_parseSegment(e){let t={type:`tag`},n=null,r=e,i=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(r=i[1]+i[3],i[2])){let e=i[2].slice(1,-1);e&&(n=e)}let a,o=r;if(r.includes(`::`)){let t=r.indexOf(`::`);if(a=r.substring(0,t).trim(),o=r.substring(t+2).trim(),!a)throw Error(`Invalid namespace in pattern: ${e}`)}let s,c=null;if(o.includes(`:`)){let e=o.lastIndexOf(`:`),t=o.substring(0,e).trim(),n=o.substring(e+1).trim();[`first`,`last`,`odd`,`even`].includes(n)||/^nth\(\d+\)$/.test(n)?(s=t,c=n):s=o}else s=o;if(!s)throw Error(`Invalid segment pattern: ${e}`);if(t.tag=s,a&&(t.namespace=a),n)if(n.includes(`=`)){let e=n.indexOf(`=`);t.attrName=n.substring(0,e).trim(),t.attrValue=n.substring(e+1).trim()}else t.attrName=n.trim();if(c){let e=c.match(/^nth\((\d+)\)$/);e?(t.position=`nth`,t.positionValue=parseInt(e[1],10)):t.position=c}return t}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}},mce=class{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError(`ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.`);if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard())return this._deepWildcards.push(e),this;let t=e.length,n=e.segments[e.segments.length-1]?.tag;if(!n||n===`*`)this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);else{let r=`${t}:${n}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){let t=e.getDepth(),n=`${t}:${e.getCurrentTag()}`,r=this._byDepthAndTag.get(n);if(r){for(let t=0;t<r.length;t++)if(e.matches(r[t]))return r[t]}let i=this._wildcardByDepth.get(t);if(i){for(let t=0;t<i.length;t++)if(e.matches(i[t]))return i[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}},hce=class{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(t.length!==0)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(t.length===0)return!1;let n=t[t.length-1];return n.values!==void 0&&e in n.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},KL=class{constructor(e={}){this.separator=e.separator||`.`,this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new hce(this)}push(e,t=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let r=this.path.length;this.siblingStacks[r]||(this.siblingStacks[r]=new Map);let i=this.siblingStacks[r],a=n?`${n}:${e}`:e,o=i.get(a)||0,s=0;for(let e of i.values())s+=e;i.set(a,o+1);let c={tag:e,position:s,counter:o};n!=null&&(c.namespace=n),t!=null&&(c.values=t),this.path.push(c)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];e!=null&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let t=this.path[this.path.length-1];return t.values!==void 0&&e in t.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let n=e||this.separator;if(n===this.separator&&t===!0){if(this._pathStringCache!==null)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let t=e.segments;return t.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,n=e.length-1;for(;n>=0&&t>=0;){let r=e[n];if(r.type===`deep-wildcard`){if(n--,n<0)return!0;let r=e[n],i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(r,this.path[e],e===this.path.length-1)){t=e-1,n--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(r,this.path[t],t===this.path.length-1))return!1;t--,n--}}return n<0}_matchSegment(e,t,n){if(e.tag!==`*`&&e.tag!==t.tag||e.namespace!==void 0&&e.namespace!==`*`&&e.namespace!==t.namespace||e.attrName!==void 0&&(!n||!t.values||!(e.attrName in t.values)||e.attrValue!==void 0&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!n)return!1;let r=t.counter??0;if(e.position===`first`&&r!==0||e.position===`odd`&&r%2!=1||e.position===`even`&&r%2!=0||e.position===`nth`&&r!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>new Map(e))}readOnly(){return this._view}};function gce(e,t){if(!e)return{};let n=t.attributesGroupName?e[t.attributesGroupName]:e;if(!n)return{};let r={};for(let e in n)if(e.startsWith(t.attributeNamePrefix)){let i=e.substring(t.attributeNamePrefix.length);r[i]=n[e]}else r[e]=n[e];return r}function _ce(e){if(!e||typeof e!=`string`)return;let t=e.indexOf(`:`);if(t!==-1&&t>0){let n=e.substring(0,t);if(n!==`xmlns`)return n}}var vce=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:`'`},gt:{regex:/&(gt|#62|#x3E);/g,val:`>`},lt:{regex:/&(lt|#60|#x3C);/g,val:`<`},quot:{regex:/&(quot|#34|#x22);/g,val:`&#x22;`}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:`&`},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:` `},cent:{regex:/&(cent|#162);/g,val:`¢`},pound:{regex:/&(pound|#163);/g,val:`£`},yen:{regex:/&(yen|#165);/g,val:`¥`},euro:{regex:/&(euro|#8364);/g,val:`€`},copyright:{regex:/&(copy|#169);/g,val:`©`},reg:{regex:/&(reg|#174);/g,val:`®`},inr:{regex:/&(inr|#8377);/g,val:`₹`},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>XL(t,10,`&#`)},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>XL(t,16,`&#x`)}},this.addExternalEntities=yce,this.parseXml=wce,this.parseTextData=bce,this.resolveNameSpace=xce,this.buildAttributesMap=Cce,this.isItStopNode=Oce,this.replaceEntitiesValue=Ece,this.readStopNodeData=jce,this.saveTextToParentTag=Dce,this.addChild=Tce,this.ignoreAttributesFn=pce(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new KL,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new mce;let t=this.options.stopNodes;if(t&&t.length>0){for(let e=0;e<t.length;e++){let n=t[e];typeof n==`string`?this.stopNodeExpressionsSet.add(new GL(n)):n instanceof GL&&this.stopNodeExpressionsSet.add(n)}this.stopNodeExpressionsSet.seal()}}};function yce(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n],i=r.replace(/[.\-+*:]/g,`\\.`);this.lastEntities[r]={regex:RegExp(`&`+i+`;`,`g`),val:e[r]}}}function bce(e,t,n,r,i,a,o){let s=this.options;if(e!==void 0&&(s.trimValues&&!r&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,n));let r=s.jPath?n.toString():n,c=s.tagValueProcessor(t,e,r,i,a);return c==null?e:typeof c!=typeof e||c!==e?c:s.trimValues||e.trim()===e?YL(e,s.parseTagValue,s.numberParseOptions):e}}function xce(e){if(this.options.removeNSPrefix){let t=e.split(`:`),n=e.charAt(0)===`/`?`/`:``;if(t[0]===`xmlns`)return``;t.length===2&&(e=n+t[1])}return e}var Sce=RegExp(`([^\\s=]+)\\s*(=\\s*(['&#x22;])([\\s\\S]*?)\\3)?`,`gm`);function Cce(e,t,n){let r=this.options;if(r.ignoreAttributes!==!0&&typeof e==`string`){let i=cL(e,Sce),a=i.length,o={},s=Array(a),c=!1,l={};for(let e=0;e<a;e++){let t=this.resolveNameSpace(i[e][1]),a=i[e][4];if(t.length&&a!==void 0){let i=a;r.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,n,this.readonlyMatcher),s[e]=i,l[t]=i,c=!0}}c&&typeof t==`object`&&t.updateCurrent&&t.updateCurrent(l);let u=r.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<a;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,u))continue;let n=r.attributeNamePrefix+t;if(t.length)if(r.transformAttributeName&&(n=r.transformAttributeName(n)),n=QL(n,r),i[e][4]!==void 0){let i=s[e],a=r.attributeValueProcessor(t,i,u);a==null?o[n]=i:typeof a!=typeof i||a!==i?o[n]=a:o[n]=YL(i,r.parseAttributeValue,r.numberParseOptions),d=!0}else r.allowBooleanAttributes&&(o[n]=!0,d=!0)}if(!d)return;if(r.attributesGroupName){let e={};return e[r.attributesGroupName]=o,e}return o}}var wce=function(e){e=e.replace(/\r\n?/g,`&#xA;`);let t=new IL(`!xml`),n=t,r=``;this.matcher.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.docTypeEntitiesKeys=[],this.lastEntitiesKeys=Object.keys(this.lastEntities),this.htmlEntitiesKeys=this.options.htmlEntities?Object.keys(this.htmlEntities):[];let i=this.options,a=new LL(i.processEntities),o=e.length;for(let s=0;s<o;s++)if(e[s]===`<`){let c=e.charCodeAt(s+1);if(c===47){let t=qL(e,`>`,s,`Closing Tag is not closed.`),a=e.substring(s+2,t).trim();if(i.removeNSPrefix){let e=a.indexOf(`:`);e!==-1&&(a=a.substr(e+1))}a=ZL(i.transformTagName,a,``,i).tagName,n&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(a&&i.unpairedTagsSet.has(a))throw Error(`Unpaired tag can not be used as closing tag: </${a}>`);o&&i.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,n=this.tagsNodeStack.pop(),r=``,s=t}else if(c===63){let t=JL(e,s,!1,`?>`);if(!t)throw Error(`Pi Tag is not closed.`);if(r=this.saveTextToParentTag(r,n,this.readonlyMatcher),!(i.ignoreDeclaration&&t.tagName===`?xml`||i.ignorePiTags)){let e=new IL(t.tagName);e.add(i.textNodeName,``),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[`:@`]=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName)),this.addChild(n,e,this.readonlyMatcher,s)}s=t.closeIndex+1}else if(c===33&&e.charCodeAt(s+2)===45&&e.charCodeAt(s+3)===45){let t=qL(e,`-->`,s+4,`Comment is not closed.`);if(i.commentPropName){let a=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,this.readonlyMatcher),n.add(i.commentPropName,[{[i.textNodeName]:a}])}s=t}else if(c===33&&e.charCodeAt(s+2)===68){let t=a.readDocType(e,s);this.docTypeEntities=t.entities,this.docTypeEntitiesKeys=Object.keys(this.docTypeEntities)||[],s=t.i}else if(c===33&&e.charCodeAt(s+2)===91){let t=qL(e,`]]>`,s,`CDATA is not closed.`)-2,a=e.substring(s+9,t);r=this.saveTextToParentTag(r,n,this.readonlyMatcher);let o=this.parseTextData(a,n.tagname,this.readonlyMatcher,!0,!1,!0,!0);o??=``,i.cdataPropName?n.add(i.cdataPropName,[{[i.textNodeName]:a}]):n.add(i.textNodeName,o),s=t+2}else{let a=JL(e,s,i.removeNSPrefix);if(!a){let t=e.substring(Math.max(0,s-50),Math.min(o,s+50));throw Error(`readTagExp returned undefined at position ${s}. Context: &#x22;${t}&#x22;`)}let c=a.tagName,l=a.rawTagName,u=a.tagExp,d=a.attrExpPresent,f=a.closeIndex;if({tagName:c,tagExp:u}=ZL(i.transformTagName,c,u,i),i.strictReservedNames&&(c===i.commentPropName||c===i.cdataPropName||c===i.textNodeName||c===i.attributesGroupName))throw Error(`Invalid tag name: ${c}`);n&&r&&n.tagname!==`!xml`&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher,!1));let p=n;p&&i.unpairedTagsSet.has(p.tagname)&&(n=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;u.length>0&&u.lastIndexOf(`/`)===u.length-1&&(m=!0,c[c.length-1]===`/`?(c=c.substr(0,c.length-1),u=c):u=u.substr(0,u.length-1),d=c!==u);let h=null,g;g=_ce(l),c!==t.tagname&&this.matcher.push(c,{},g),c!==u&&d&&(h=this.buildAttributesMap(u,this.matcher,c),h&&gce(h,i)),c!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let _=s;if(this.isCurrentNodeStopNode){let t=``;if(m)s=a.closeIndex;else if(i.unpairedTagsSet.has(c))s=a.closeIndex;else{let n=this.readStopNodeData(e,l,f+1);if(!n)throw Error(`Unexpected end of ${l}`);s=n.i,t=n.tagContent}let r=new IL(c);h&&(r[`:@`]=h),r.add(i.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(n,r,this.readonlyMatcher,_)}else{if(m){({tagName:c,tagExp:u}=ZL(i.transformTagName,c,u,i));let e=new IL(c);h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(c)){let e=new IL(c);h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=a.closeIndex;continue}else{let e=new IL(c);if(this.tagsNodeStack.length>i.maxNestedTags)throw Error(`Maximum nested tags exceeded`);this.tagsNodeStack.push(n),h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),n=e}r=``,s=f}}}else r+=e[s];return t.child};function Tce(e,t,n,r){this.options.captureMetaData||(r=void 0);let i=this.options.jPath?n.toString():n,a=this.options.updateTag(t.tagname,i,t[`:@`]);a===!1||(typeof a==`string`&&(t.tagname=a),e.addChild(t,r))}function Ece(e,t,n){let r=this.options.processEntities;if(!r||!r.enabled)return e;if(r.allowedTags){let i=this.options.jPath?n.toString():n;if(!(Array.isArray(r.allowedTags)?r.allowedTags.includes(t):r.allowedTags(t,i)))return e}if(r.tagFilter){let i=this.options.jPath?n.toString():n;if(!r.tagFilter(t,i))return e}for(let t of this.docTypeEntitiesKeys){let n=this.docTypeEntities[t],i=e.match(n.regx);if(i){if(this.entityExpansionCount+=i.length,r.maxTotalExpansions&&this.entityExpansionCount>r.maxTotalExpansions)throw Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${r.maxTotalExpansions}`);let t=e.length;if(e=e.replace(n.regx,n.val),r.maxExpandedLength&&(this.currentExpandedLength+=e.length-t,this.currentExpandedLength>r.maxExpandedLength))throw Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${r.maxExpandedLength}`)}}if(e.indexOf(`&`)===-1)return e;for(let t of this.lastEntitiesKeys){let n=this.lastEntities[t],i=e.match(n.regex);if(i&&(this.entityExpansionCount+=i.length,r.maxTotalExpansions&&this.entityExpansionCount>r.maxTotalExpansions))throw Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${r.maxTotalExpansions}`);e=e.replace(n.regex,n.val)}if(e.indexOf(`&`)===-1)return e;for(let t of this.htmlEntitiesKeys){let n=this.htmlEntities[t],i=e.match(n.regex);if(i&&(this.entityExpansionCount+=i.length,r.maxTotalExpansions&&this.entityExpansionCount>r.maxTotalExpansions))throw Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${r.maxTotalExpansions}`);e=e.replace(n.regex,n.val)}return e=e.replace(this.ampEntity.regex,this.ampEntity.val),e}function Dce(e,t,n,r){return e&&=(r===void 0&&(r=t.child.length===0),e=this.parseTextData(e,t.tagname,n,!1,t[`:@`]?Object.keys(t[`:@`]).length!==0:!1,r),e!==void 0&&e!==``&&t.add(this.options.textNodeName,e),``),e}function Oce(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function kce(e,t,n=`>`){let r=0,i=[],a=e.length,o=n.charCodeAt(0),s=n.length>1?n.charCodeAt(1):-1;for(let n=t;n<a;n++){let t=e.charCodeAt(n);if(r)t===r&&(r=0);else if(t===34||t===39)r=t;else if(t===o)if(s!==-1){if(e.charCodeAt(n+1)===s)return{data:String.fromCharCode(...i),index:n}}else return{data:String.fromCharCode(...i),index:n};else if(t===9){i.push(32);continue}i.push(t)}}function qL(e,t,n,r){let i=e.indexOf(t,n);if(i===-1)throw Error(r);return i+t.length-1}function Ace(e,t,n,r){let i=e.indexOf(t,n);if(i===-1)throw Error(r);return i}function JL(e,t,n,r=`>`){let i=kce(e,t+1,r);if(!i)return;let a=i.data,o=i.index,s=a.search(/\s/),c=a,l=!0;s!==-1&&(c=a.substring(0,s),a=a.substring(s+1).trimStart());let u=c;if(n){let e=c.indexOf(`:`);e!==-1&&(c=c.substr(e+1),l=c!==i.data.substr(e+1))}return{tagName:c,tagExp:a,closeIndex:o,attrExpPresent:l,rawTagName:u}}function jce(e,t,n){let r=n,i=1,a=e.length;for(;n<a;n++)if(e[n]===`<`){let a=e.charCodeAt(n+1);if(a===47){let a=Ace(e,`>`,n,`${t} is not closed`);if(e.substring(n+2,a).trim()===t&&(i--,i===0))return{tagContent:e.substring(r,n),i:a};n=a}else if(a===63)n=qL(e,`?>`,n+1,`StopNode is not closed.`);else if(a===33&&e.charCodeAt(n+2)===45&&e.charCodeAt(n+3)===45)n=qL(e,`-->`,n+3,`StopNode is not closed.`);else if(a===33&&e.charCodeAt(n+2)===91)n=qL(e,`]]>`,n,`StopNode is not closed.`)-2;else{let r=JL(e,n,`>`);r&&((r&&r.tagName)===t&&r.tagExp[r.tagExp.length-1]!==`/`&&i++,n=r.closeIndex)}}}function YL(e,t,n){if(t&&typeof e==`string`){let t=e.trim();return t===`true`?!0:t===`false`?!1:WL(e,n)}else if(uL(e))return e;else return``}function XL(e,t,n){let r=Number.parseInt(e,t);return r>=0&&r<=1114111?String.fromCodePoint(r):n+e+`;`}function ZL(e,t,n,r){if(e){let r=e(t);n===t&&(n=r),t=r}return t=QL(t,r),{tagName:t,tagExp:n}}function QL(e,t){if(fL.includes(e))throw Error(`[SECURITY] Invalid name: &#x22;${e}&#x22; is a reserved JavaScript keyword that could cause prototype pollution`);return dL.includes(e)?t.onDangerousProperty(e):e}var $L=IL.getMetaDataSymbol();function Mce(e,t){if(!e||typeof e!=`object`)return{};if(!t)return e;let n={};for(let r in e)if(r.startsWith(t)){let i=r.substring(t.length);n[i]=e[r]}else n[r]=e[r];return n}function Nce(e,t,n,r){return eR(e,t,n,r)}function eR(e,t,n,r){let i,a={};for(let o=0;o<e.length;o++){let s=e[o],c=Pce(s);if(c!==void 0&&c!==t.textNodeName){let e=Mce(s[`:@`]||{},t.attributeNamePrefix);n.push(c,e)}if(c===t.textNodeName)i===void 0?i=s[c]:i+=``+s[c];else if(c===void 0)continue;else if(s[c]){let e=eR(s[c],t,n,r),i=Ice(e,t);if(s[`:@`]?Fce(e,s[`:@`],r,t):Object.keys(e).length===1&&e[t.textNodeName]!==void 0&&!t.alwaysCreateTextNode?e=e[t.textNodeName]:Object.keys(e).length===0&&(t.alwaysCreateTextNode?e[t.textNodeName]=``:e=``),s[$L]!==void 0&&typeof e==`object`&&e&&(e[$L]=s[$L]),a[c]!==void 0&&Object.prototype.hasOwnProperty.call(a,c))Array.isArray(a[c])||(a[c]=[a[c]]),a[c].push(e);else{let n=t.jPath?r.toString():r;t.isArray(c,n,i)?a[c]=[e]:a[c]=e}c!==void 0&&c!==t.textNodeName&&n.pop()}}return typeof i==`string`?i.length>0&&(a[t.textNodeName]=i):i!==void 0&&(a[t.textNodeName]=i),a}function Pce(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let n=t[e];if(n!==`:@`)return n}}function Fce(e,t,n,r){if(t){let i=Object.keys(t),a=i.length;for(let o=0;o<a;o++){let a=i[o],s=a.startsWith(r.attributeNamePrefix)?a.substring(r.attributeNamePrefix.length):a,c=r.jPath?n.toString()+`.`+s:n;r.isArray(a,c,!0,!0)?e[a]=[t[a]]:e[a]=t[a]}}}function Ice(e,t){let{textNodeName:n}=t,r=Object.keys(e).length;return!!(r===0||r===1&&(e[n]||typeof e[n]==`boolean`||e[n]===0))}var Lce=class{constructor(e){this.externalEntities={},this.options=PL(e)}parse(e,t){if(typeof e!=`string`&&e.toString)e=e.toString();else if(typeof e!=`string`)throw Error(`XML data is accepted in String or Bytes[] form.`);if(t){t===!0&&(t={});let n=mL(e,t);if(n!==!0)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}let n=new vce(this.options);n.addExternalEntities(this.externalEntities);let r=n.parseXml(e);return this.options.preserveOrder||r===void 0?r:Nce(r,this.options,n.matcher,n.readonlyMatcher)}addEntity(e,t){if(t.indexOf(`&`)!==-1)throw Error(`Entity value can't have '&'`);if(e.indexOf(`&`)!==-1||e.indexOf(`;`)!==-1)throw Error(`An entity must be set without '&' and ';'. Eg. use '#xD' for '&#x26;#xD;'`);if(t===`&`)throw Error(`An entity with value '&' is not permitted`);this.externalEntities[e]=t}static getMetaDataSymbol(){return IL.getMetaDataSymbol()}},Rce=`&#xA;`;function zce(e,t){let n=``;t.format&&t.indentBy.length>0&&(n=Rce);let r=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let n=t.stopNodes[e];typeof n==`string`?r.push(new GL(n)):n instanceof GL&&r.push(n)}let i=new KL;return tR(e,t,n,i,r)}function tR(e,t,n,r,i){let a=``,o=!1;if(t.maxNestedTags&&r.getDepth()>t.maxNestedTags)throw Error(`Maximum nested tags exceeded`);if(!Array.isArray(e)){if(e!=null){let n=e.toString();return n=aR(n,t),n}return``}for(let s=0;s<e.length;s++){let c=e[s],l=rR(c);if(l===void 0)continue;let u=Bce(c[`:@`],t);r.push(l,u);let d=Hce(r,i);if(l===t.textNodeName){let e=c[l];d||(e=t.tagValueProcessor(l,e),e=aR(e,t)),o&&(a+=n),a+=e,o=!1,r.pop();continue}else if(l===t.cdataPropName){o&&(a+=n),a+=`<![CDATA[${c[l][0][t.textNodeName]}]]>`,o=!1,r.pop();continue}else if(l===t.commentPropName){a+=n+`\x3C!--${c[l][0][t.textNodeName]}-->`,o=!0,r.pop();continue}else if(l[0]===`?`){let e=iR(c[`:@`],t,d),i=l===`?xml`?``:n,s=c[l][0][t.textNodeName];s=s.length===0?``:` `+s,a+=i+`<${l}${s}${e}?>`,o=!0,r.pop();continue}let f=n;f!==``&&(f+=t.indentBy);let p=n+`<${l}${iR(c[`:@`],t,d)}`,m;m=d?nR(c[l],t):tR(c[l],t,f,r,i),t.unpairedTags.indexOf(l)===-1?(!m||m.length===0)&&t.suppressEmptyNode?a+=p+`/>`:m&&m.endsWith(`>`)?a+=p+`>${m}${n}</${l}>`:(a+=p+`>`,m&&n!==``&&(m.includes(`/>`)||m.includes(`</`))?a+=n+t.indentBy+m+n:a+=m,a+=`</${l}>`):t.suppressUnpairedNode?a+=p+`>`:a+=p+`/>`,o=!0,r.pop()}return a}function Bce(e,t){if(!e||t.ignoreAttributes)return null;let n={},r=!1;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a=i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i;n[a]=e[i],r=!0}return r?n:null}function nR(e,t){if(!Array.isArray(e))return e==null?``:e.toString();let n=``;for(let r=0;r<e.length;r++){let i=e[r],a=rR(i);if(a===t.textNodeName)n+=i[a];else if(a===t.cdataPropName)n+=i[a][0][t.textNodeName];else if(a===t.commentPropName)n+=i[a][0][t.textNodeName];else if(a&&a[0]===`?`)continue;else if(a){let e=Vce(i[`:@`],t),r=nR(i[a],t);!r||r.length===0?n+=`<${a}${e}/>`:n+=`<${a}${e}>${r}</${a}>`}}return n}function Vce(e,t){let n=``;if(e&&!t.ignoreAttributes)for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=e[r];i===!0&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}=&#x22;${i}&#x22;`}return n}function rR(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n];if(Object.prototype.hasOwnProperty.call(e,r)&&r!==`:@`)return r}}function iR(e,t,n){let r=``;if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a;n?a=e[i]:(a=t.attributeValueProcessor(i,e[i]),a=aR(a,t)),a===!0&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}=&#x22;${a}&#x22;`}return r}function Hce(e,t){if(!t||t.length===0)return!1;for(let n=0;n<t.length;n++)if(e.matches(t[n]))return!0;return!1}function aR(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){let r=t.entities[n];e=e.replace(r.regex,r.val)}return e}function Uce(e){return typeof e==`function`?e:Array.isArray(e)?t=>{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}var Wce={attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:`  `,suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp(`&`,`g`),val:`&#x26;amp;`},{regex:RegExp(`>`,`g`),val:`&#x26;gt;`},{regex:RegExp(`<`,`g`),val:`&#x26;lt;`},{regex:RegExp(`'`,`g`),val:`&#x26;apos;`},{regex:RegExp(`&#x22;`,`g`),val:`&#x26;quot;`}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function oR(e){if(this.options=Object.assign({},Wce,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e==`string`&&e.startsWith(`*.`)?`..`+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];typeof t==`string`?this.stopNodeExpressions.push(new GL(t)):t instanceof GL&&this.stopNodeExpressions.push(t)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Uce(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=qce),this.processTextOrObjNode=Gce,this.options.format?(this.indentate=Kce,this.tagEndChar=`>&#xA;`,this.newLine=`&#xA;`):(this.indentate=function(){return``},this.tagEndChar=`>`,this.newLine=``)}oR.prototype.build=function(e){if(this.options.preserveOrder)return zce(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new KL;return this.j2x(e,0,t).val}},oR.prototype.j2x=function(e,t,n){let r=``,i=``;if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw Error(`Maximum nested tags exceeded`);let a=this.options.jPath?n.toString():n,o=this.checkStopNode(n);for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s))if(e[s]===void 0)this.isAttribute(s)&&(i+=``);else if(e[s]===null)this.isAttribute(s)||s===this.options.cdataPropName?i+=``:s[0]===`?`?i+=this.indentate(t)+`<`+s+`?`+this.tagEndChar:i+=this.indentate(t)+`<`+s+`/`+this.tagEndChar;else if(e[s]instanceof Date)i+=this.buildTextValNode(e[s],s,``,t,n);else if(typeof e[s]!=`object`){let c=this.isAttribute(s);if(c&&!this.ignoreAttributesFn(c,a))r+=this.buildAttrPairStr(c,``+e[s],o);else if(!c)if(s===this.options.textNodeName){let t=this.options.tagValueProcessor(s,``+e[s]);i+=this.replaceEntitiesValue(t)}else{n.push(s);let r=this.checkStopNode(n);if(n.pop(),r){let n=``+e[s];n===``?i+=this.indentate(t)+`<`+s+this.closeTag(s)+this.tagEndChar:i+=this.indentate(t)+`<`+s+`>`+n+`</`+s+this.tagEndChar}else i+=this.buildTextValNode(e[s],s,``,t,n)}}else if(Array.isArray(e[s])){let r=e[s].length,a=``,o=``;for(let c=0;c<r;c++){let r=e[s][c];if(r!==void 0)if(r===null)s[0]===`?`?i+=this.indentate(t)+`<`+s+`?`+this.tagEndChar:i+=this.indentate(t)+`<`+s+`/`+this.tagEndChar;else if(typeof r==`object`)if(this.options.oneListGroup){n.push(s);let e=this.j2x(r,t+1,n);n.pop(),a+=e.val,this.options.attributesGroupName&&r.hasOwnProperty(this.options.attributesGroupName)&&(o+=e.attrStr)}else a+=this.processTextOrObjNode(r,s,t,n);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(s,r);e=this.replaceEntitiesValue(e),a+=e}else{n.push(s);let e=this.checkStopNode(n);if(n.pop(),e){let e=``+r;e===``?a+=this.indentate(t)+`<`+s+this.closeTag(s)+this.tagEndChar:a+=this.indentate(t)+`<`+s+`>`+e+`</`+s+this.tagEndChar}else a+=this.buildTextValNode(r,s,``,t,n)}}this.options.oneListGroup&&(a=this.buildObjectNode(a,s,o,t)),i+=a}else if(this.options.attributesGroupName&&s===this.options.attributesGroupName){let t=Object.keys(e[s]),n=t.length;for(let i=0;i<n;i++)r+=this.buildAttrPairStr(t[i],``+e[s][t[i]],o)}else i+=this.processTextOrObjNode(e[s],s,t,n);return{attrStr:r,val:i}},oR.prototype.buildAttrPairStr=function(e,t,n){return n||(t=this.options.attributeValueProcessor(e,``+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&t===`true`?` `+e:` `+e+`=&#x22;`+t+`&#x22;`};function Gce(e,t,n,r){let i=this.extractAttributes(e);if(r.push(t,i),this.checkStopNode(r)){let i=this.buildRawContent(e),a=this.buildAttributesForStopNode(e);return r.pop(),this.buildObjectNode(i,t,a,n)}let a=this.j2x(e,n+1,r);return r.pop(),e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,a.attrStr,n,r):this.buildObjectNode(a.val,t,a.attrStr,n)}oR.prototype.extractAttributes=function(e){if(!e||typeof e!=`object`)return null;let t={},n=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e;t[i]=r[e],n=!0}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);i&&(t[i]=e[r],n=!0)}return n?t:null},oR.prototype.buildRawContent=function(e){if(typeof e==`string`)return e;if(typeof e!=`object`||!e)return String(e);if(e[this.options.textNodeName]!==void 0)return e[this.options.textNodeName];let t=``;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)||this.isAttribute(n)||this.options.attributesGroupName&&n===this.options.attributesGroupName)continue;let r=e[n];if(n===this.options.textNodeName)t+=r;else if(Array.isArray(r)){for(let e of r)if(typeof e==`string`||typeof e==`number`)t+=`<${n}>${e}</${n}>`;else if(typeof e==`object`&&e){let r=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);r===``?t+=`<${n}${i}/>`:t+=`<${n}${i}>${r}</${n}>`}}else if(typeof r==`object`&&r){let e=this.buildRawContent(r),i=this.buildAttributesForStopNode(r);e===``?t+=`<${n}${i}/>`:t+=`<${n}${i}>${e}</${n}>`}else t+=`<${n}>${r}</${n}>`}return t},oR.prototype.buildAttributesForStopNode=function(e){if(!e||typeof e!=`object`)return``;let t=``;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let n=e[this.options.attributesGroupName];for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;let r=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=n[e];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`=&#x22;`+i+`&#x22;`}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=this.isAttribute(n);if(r){let i=e[n];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`=&#x22;`+i+`&#x22;`}}return t},oR.prototype.buildObjectNode=function(e,t,n,r){if(e===``)return t[0]===`?`?this.indentate(r)+`<`+t+n+`?`+this.tagEndChar:this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar;{let i=`</`+t+this.tagEndChar,a=``;return t[0]===`?`&&(a=`?`,i=``),(n||n===``)&&e.indexOf(`<`)===-1?this.indentate(r)+`<`+t+n+a+`>`+e+i:this.options.commentPropName!==!1&&t===this.options.commentPropName&&a.length===0?this.indentate(r)+`\x3C!--${e}-->`+this.newLine:this.indentate(r)+`<`+t+n+a+this.tagEndChar+e+this.indentate(r)+i}},oR.prototype.closeTag=function(e){let t=``;return this.options.unpairedTags.indexOf(e)===-1?t=this.options.suppressEmptyNode?`/`:`></${e}`:this.options.suppressUnpairedNode||(t=`/`),t},oR.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},oR.prototype.buildTextValNode=function(e,t,n,r,i){if(this.options.cdataPropName!==!1&&t===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${e}]]>`+this.newLine;if(this.options.commentPropName!==!1&&t===this.options.commentPropName)return this.indentate(r)+`\x3C!--${e}-->`+this.newLine;if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),i===``?this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+`<`+t+n+`>`+i+`</`+t+this.tagEndChar}},oR.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e};function Kce(e){return this.options.indentBy.repeat(e)}function qce(e){return e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName?e.substr(this.attrPrefixLen):!1}var Jce=oR,Yce=s(((e,t)=>{var n=e=>typeof e==`object`&&!!e,r=Symbol(`skip`),i=e=>n(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),a=(e,t,n,o=new WeakMap)=>{if(n={deep:!1,target:{},...n},o.has(e))return o.get(e);o.set(e,n.target);let{target:s}=n;delete n.target;let c=e=>e.map(e=>i(e)?a(e,t,n,o):e);if(Array.isArray(e))return c(e);for(let[l,u]of Object.entries(e)){let d=t(l,u,e);if(d===r)continue;let[f,p,{shouldRecurse:m=!0}={}]=d;f!==`__proto__`&&(n.deep&&m&&i(p)&&(p=Array.isArray(p)?c(p):a(p,t,n,o)),s[f]=p)}return s};t.exports=(e,t,r)=>{if(!n(e))throw TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return a(e,t,r)},t.exports.mapObjectSkip=r})),sR,cR=o((()=>{sR=function(){return sR=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},sR.apply(this,arguments)}}));function Xce(e){return e.toLowerCase()}var Zce=o((()=>{}));function Qce(e,t){t===void 0&&(t={});for(var n=t.splitRegexp,r=n===void 0?uR:n,i=t.stripRegexp,a=i===void 0?dR:i,o=t.transform,s=o===void 0?Xce:o,c=t.delimiter,l=c===void 0?` `:c,u=lR(lR(e,r,`$1\0$2`),a,`\0`),d=0,f=u.length;u.charAt(d)===`\0`;)d++;for(;u.charAt(f-1)===`\0`;)f--;return u.slice(d,f).split(`\0`).map(s).join(l)}function lR(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce(function(e,t){return e.replace(t,n)},e)}var uR,dR,$ce=o((()=>{Zce(),uR=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],dR=/[^A-Z0-9]+/gi}));function ele(e,t){return t===void 0&&(t={}),Qce(e,sR({delimiter:`.`},t))}var tle=o((()=>{cR(),$ce()})),nle=c({snakeCase:()=>rle});function rle(e,t){return t===void 0&&(t={}),ele(e,sR({delimiter:`_`},t))}var ile=o((()=>{cR(),tle()})),ale=s(((e,t)=>{var n=Yce(),{snakeCase:r}=(ile(),d(nle)),i={}.constructor;t.exports=function(e,t){if(Array.isArray(e)){if(e.some(e=>e.constructor!==i))throw Error(`obj must be array of plain objects`)}else if(e.constructor!==i)throw Error(`obj must be an plain object`);return t=Object.assign({deep:!0,exclude:[],parsingOptions:{}},t),n(e,function(e,n){return[a(t.exclude,e)?e:r(e,t.parsingOptions),n,o(e,n,t)]},t)};function a(e,t){return e.some(function(e){return typeof e==`string`?e===t:e.test(t)})}function o(e,t,n){return n.shouldRecurse?{shouldRecurse:n.shouldRecurse(e,t)}:void 0}})),ole=s((e=>{e.aliasToReal={each:`forEach`,eachRight:`forEachRight`,entries:`toPairs`,entriesIn:`toPairsIn`,extend:`assignIn`,extendAll:`assignInAll`,extendAllWith:`assignInAllWith`,extendWith:`assignInWith`,first:`head`,conforms:`conformsTo`,matches:`isMatch`,property:`get`,__:`placeholder`,F:`stubFalse`,T:`stubTrue`,all:`every`,allPass:`overEvery`,always:`constant`,any:`some`,anyPass:`overSome`,apply:`spread`,assoc:`set`,assocPath:`set`,complement:`negate`,compose:`flowRight`,contains:`includes`,dissoc:`unset`,dissocPath:`unset`,dropLast:`dropRight`,dropLastWhile:`dropRightWhile`,equals:`isEqual`,identical:`eq`,indexBy:`keyBy`,init:`initial`,invertObj:`invert`,juxt:`over`,omitAll:`omit`,nAry:`ary`,path:`get`,pathEq:`matchesProperty`,pathOr:`getOr`,paths:`at`,pickAll:`pick`,pipe:`flow`,pluck:`map`,prop:`get`,propEq:`matchesProperty`,propOr:`getOr`,props:`at`,symmetricDifference:`xor`,symmetricDifferenceBy:`xorBy`,symmetricDifferenceWith:`xorWith`,takeLast:`takeRight`,takeLastWhile:`takeRightWhile`,unapply:`rest`,unnest:`flatten`,useWith:`overArgs`,where:`conformsTo`,whereEq:`isMatch`,zipObj:`zipObject`},e.aryMethod={1:`assignAll.assignInAll.attempt.castArray.ceil.create.curry.curryRight.defaultsAll.defaultsDeepAll.floor.flow.flowRight.fromPairs.invert.iteratee.memoize.method.mergeAll.methodOf.mixin.nthArg.over.overEvery.overSome.rest.reverse.round.runInContext.spread.template.trim.trimEnd.trimStart.uniqueId.words.zipAll`.split(`.`),2:`add.after.ary.assign.assignAllWith.assignIn.assignInAllWith.at.before.bind.bindAll.bindKey.chunk.cloneDeepWith.cloneWith.concat.conformsTo.countBy.curryN.curryRightN.debounce.defaults.defaultsDeep.defaultTo.delay.difference.divide.drop.dropRight.dropRightWhile.dropWhile.endsWith.eq.every.filter.find.findIndex.findKey.findLast.findLastIndex.findLastKey.flatMap.flatMapDeep.flattenDepth.forEach.forEachRight.forIn.forInRight.forOwn.forOwnRight.get.groupBy.gt.gte.has.hasIn.includes.indexOf.intersection.invertBy.invoke.invokeMap.isEqual.isMatch.join.keyBy.lastIndexOf.lt.lte.map.mapKeys.mapValues.matchesProperty.maxBy.meanBy.merge.mergeAllWith.minBy.multiply.nth.omit.omitBy.overArgs.pad.padEnd.padStart.parseInt.partial.partialRight.partition.pick.pickBy.propertyOf.pull.pullAll.pullAt.random.range.rangeRight.rearg.reject.remove.repeat.restFrom.result.sampleSize.some.sortBy.sortedIndex.sortedIndexOf.sortedLastIndex.sortedLastIndexOf.sortedUniqBy.split.spreadFrom.startsWith.subtract.sumBy.take.takeRight.takeRightWhile.takeWhile.tap.throttle.thru.times.trimChars.trimCharsEnd.trimCharsStart.truncate.union.uniqBy.uniqWith.unset.unzipWith.without.wrap.xor.zip.zipObject.zipObjectDeep`.split(`.`),3:`assignInWith.assignWith.clamp.differenceBy.differenceWith.findFrom.findIndexFrom.findLastFrom.findLastIndexFrom.getOr.includesFrom.indexOfFrom.inRange.intersectionBy.intersectionWith.invokeArgs.invokeArgsMap.isEqualWith.isMatchWith.flatMapDepth.lastIndexOfFrom.mergeWith.orderBy.padChars.padCharsEnd.padCharsStart.pullAllBy.pullAllWith.rangeStep.rangeStepRight.reduce.reduceRight.replace.set.slice.sortedIndexBy.sortedLastIndexBy.transform.unionBy.unionWith.update.xorBy.xorWith.zipWith`.split(`.`),4:[`fill`,`setWith`,`updateWith`]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var i in n){var a=n[i];t.call(r,a)?r[a].push(i):r[a]=[i]}return r}(),e.remap={assignAll:`assign`,assignAllWith:`assignWith`,assignInAll:`assignIn`,assignInAllWith:`assignInWith`,curryN:`curry`,curryRightN:`curryRight`,defaultsAll:`defaults`,defaultsDeepAll:`defaultsDeep`,findFrom:`find`,findIndexFrom:`findIndex`,findLastFrom:`findLast`,findLastIndexFrom:`findLastIndex`,getOr:`get`,includesFrom:`includes`,indexOfFrom:`indexOf`,invokeArgs:`invoke`,invokeArgsMap:`invokeMap`,lastIndexOfFrom:`lastIndexOf`,mergeAll:`merge`,mergeAllWith:`mergeWith`,padChars:`pad`,padCharsEnd:`padEnd`,padCharsStart:`padStart`,propertyOf:`get`,rangeStep:`range`,rangeStepRight:`rangeRight`,restFrom:`rest`,spreadFrom:`spread`,trimChars:`trim`,trimCharsEnd:`trimEnd`,trimCharsStart:`trimStart`,zipAll:`zip`},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})),fR=s(((e,t)=>{t.exports={}})),sle=s(((e,t)=>{var n=ole(),r=fR(),i=Array.prototype.push;function a(e,t){return t==2?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}function o(e,t){return t==2?function(t,n){return e(t,n)}:function(t){return e(t)}}function s(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function c(e){return function(t){return e({},t)}}function l(e,t){return function(){for(var n=arguments.length,r=n-1,a=Array(n);n--;)a[n]=arguments[n];var o=a[t],s=a.slice(0,t);return o&&i.apply(s,o),t!=r&&i.apply(s,a.slice(t+1)),e.apply(this,s)}}function u(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var i=r[0]=t.apply(void 0,r);return e.apply(void 0,r),i}}}function d(e,t,i,f){var p=typeof t==`function`,m=t===Object(t);if(m&&(f=i,i=t,t=void 0),i==null)throw TypeError();f||={};var h={cap:`cap`in f?f.cap:!0,curry:`curry`in f?f.curry:!0,fixed:`fixed`in f?f.fixed:!0,immutable:`immutable`in f?f.immutable:!0,rearg:`rearg`in f?f.rearg:!0},g=p?i:r,_=`curry`in f&&f.curry,v=`fixed`in f&&f.fixed,y=`rearg`in f&&f.rearg,b=p?i.runInContext():void 0,x=p?i:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},S=x.ary,C=x.assign,ee=x.clone,te=x.curry,ne=x.forEach,re=x.isArray,ie=x.isError,ae=x.isFunction,oe=x.isWeakMap,se=x.keys,ce=x.rearg,le=x.toInteger,ue=x.toPath,de=se(n.aryMethod),fe={castArray:function(e){return function(){var t=arguments[0];return re(t)?e(s(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[0],n=arguments[1],r=e(t,n),i=r.length;return h.cap&&typeof n==`number`?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(e){return function(t){var n=this;if(!ae(n))return e(n,Object(t));var r=[];return ne(se(t),function(e){ae(t[e])&&r.push([e,n.prototype[e]])}),e(n,Object(t)),ne(r,function(e){var t=e[1];ae(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]}),n}},nthArg:function(e){return function(t){var n=t<0?1:le(t)+1;return te(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return te(e(t,n),r)}},runInContext:function(t){return function(n){return d(e,t(n),f)}}};function pe(e,t){if(h.cap){var r=n.iterateeRearg[e];if(r)return xe(t,r);var i=!p&&n.iterateeAry[e];if(i)return be(t,i)}return t}function me(e,t,n){return _||h.curry&&n>1?te(t,n):t}function he(e,t,r){if(h.fixed&&(v||!n.skipFixed[e])){var i=n.methodSpread[e],a=i&&i.start;return a===void 0?S(t,r):l(t,a)}return t}function ge(e,t,r){return h.rearg&&r>1&&(y||!n.skipRearg[e])?ce(t,n.methodRearg[e]||n.aryRearg[r]):t}function _e(e,t){t=ue(t);for(var n=-1,r=t.length,i=r-1,a=ee(Object(e)),o=a;o!=null&&++n<r;){var s=t[n],c=o[s];c!=null&&!(ae(c)||ie(c)||oe(c))&&(o[s]=ee(n==i?c:Object(c))),o=o[s]}return a}function ve(e){return we.runInContext.convert(e)(void 0)}function ye(e,t){var r=n.aliasToReal[e]||e,i=n.remap[r]||r,a=f;return function(e){return d(p?b:x,r,p?b[i]:t,C(C({},a),e))}}function be(e,t){return Se(e,function(e){return typeof e==`function`?o(e,t):e})}function xe(e,t){return Se(e,function(e){var n=t.length;return a(ce(o(e,n),t),n)})}function Se(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var i=h.rearg?0:n-1;return r[i]=t(r[i]),e.apply(void 0,r)}}function Ce(e,t,r){var i,a=n.aliasToReal[e]||e,o=t,l=fe[a];return l?o=l(t):h.immutable&&(n.mutate.array[a]?o=u(t,s):n.mutate.object[a]?o=u(t,c(t)):n.mutate.set[a]&&(o=u(t,_e))),ne(de,function(e){return ne(n.aryMethod[e],function(t){if(a==t){var r=n.methodSpread[a];return i=r&&r.afterRearg?he(a,ge(a,o,e),e):ge(a,he(a,o,e),e),i=pe(a,i),i=me(a,i,e),!1}}),!i}),i||=o,i==t&&(i=_?te(i,1):function(){return t.apply(this,arguments)}),i.convert=ye(a,t),i.placeholder=t.placeholder=r,i}if(!m)return Ce(t,i,g);var we=i,Te=[];return ne(de,function(e){ne(n.aryMethod[e],function(e){var t=we[n.remap[e]||e];t&&Te.push([e,Ce(e,t,we)])})}),ne(se(we),function(e){var t=we[e];if(typeof t==`function`){for(var n=Te.length;n--;)if(Te[n][0]==e)return;t.convert=ye(e,t),Te.push([e,t])}}),ne(Te,function(e){we[e[0]]=e[1]}),we.convert=ve,we.placeholder=we,ne(se(we),function(e){ne(n.realToAlias[e]||[],function(t){we[t]=we[e]})}),we}t.exports=d})),pR=s(((e,t)=>{function n(e){return e}t.exports=n})),mR=s(((e,t)=>{t.exports=typeof global==`object`&&global&&global.Object===Object&&global})),hR=s(((e,t)=>{var n=mR(),r=typeof self==`object`&&self&&self.Object===Object&&#x26;self;t.exports=n||r||Function(`return this`)()})),gR=s(((e,t)=>{t.exports=hR().Symbol})),cle=s(((e,t)=>{var n=gR(),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,o=n?n.toStringTag:void 0;function s(e){var t=i.call(e,o),n=e[o];try{e[o]=void 0;var r=!0}catch{}var s=a.call(e);return r&&(t?e[o]=n:delete e[o]),s}t.exports=s})),lle=s(((e,t)=>{var n=Object.prototype.toString;function r(e){return n.call(e)}t.exports=r})),_R=s(((e,t)=>{var n=gR(),r=cle(),i=lle(),a=`[object Null]`,o=`[object Undefined]`,s=n?n.toStringTag:void 0;function c(e){return e==null?e===void 0?o:a:s&&s in Object(e)?r(e):i(e)}t.exports=c})),vR=s(((e,t)=>{function n(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}t.exports=n})),yR=s(((e,t)=>{var n=_R(),r=vR(),i=`[object AsyncFunction]`,a=`[object Function]`,o=`[object GeneratorFunction]`,s=`[object Proxy]`;function c(e){if(!r(e))return!1;var t=n(e);return t==a||t==o||t==i||t==s}t.exports=c})),ule=s(((e,t)=>{t.exports=hR()[`__core-js_shared__`]})),dle=s(((e,t)=>{var n=ule(),r=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function i(e){return!!r&&r in e}t.exports=i})),bR=s(((e,t)=>{var n=Function.prototype.toString;function r(e){if(e!=null){try{return n.call(e)}catch{}try{return e+``}catch{}}return``}t.exports=r})),fle=s(((e,t)=>{var n=yR(),r=dle(),i=vR(),a=bR(),o=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,f=RegExp(`^`+u.call(d).replace(o,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function p(e){return!i(e)||r(e)?!1:(n(e)?f:s).test(a(e))}t.exports=p})),ple=s(((e,t)=>{function n(e,t){return e?.[t]}t.exports=n})),xR=s(((e,t)=>{var n=fle(),r=ple();function i(e,t){var i=r(e,t);return n(i)?i:void 0}t.exports=i})),SR=s(((e,t)=>{t.exports=xR()(hR(),`WeakMap`)})),CR=s(((e,t)=>{var n=SR();t.exports=n&&new n})),wR=s(((e,t)=>{var n=pR(),r=CR();t.exports=r?function(e,t){return r.set(e,t),e}:n})),TR=s(((e,t)=>{var n=vR(),r=Object.create;t.exports=function(){function e(){}return function(t){if(!n(t))return{};if(r)return r(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}()})),ER=s(((e,t)=>{var n=TR(),r=vR();function i(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var i=n(e.prototype),a=e.apply(i,t);return r(a)?a:i}}t.exports=i})),mle=s(((e,t)=>{var n=ER(),r=hR(),i=1;function a(e,t,a){var o=t&i,s=n(e);function c(){return(this&&this!==r&&this instanceof c?s:e).apply(o?a:this,arguments)}return c}t.exports=a})),DR=s(((e,t)=>{function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}t.exports=n})),OR=s(((e,t)=>{var n=Math.max;function r(e,t,r,i){for(var a=-1,o=e.length,s=r.length,c=-1,l=t.length,u=n(o-s,0),d=Array(l+u),f=!i;++c<l;)d[c]=t[c];for(;++a<s;)(f||a<o)&&(d[r[a]]=e[a]);for(;u--;)d[c++]=e[a++];return d}t.exports=r})),kR=s(((e,t)=>{var n=Math.max;function r(e,t,r,i){for(var a=-1,o=e.length,s=-1,c=r.length,l=-1,u=t.length,d=n(o-c,0),f=Array(d+u),p=!i;++a<d;)f[a]=e[a];for(var m=a;++l<u;)f[m+l]=t[l];for(;++s<c;)(p||a<o)&&(f[m+r[s]]=e[a++]);return f}t.exports=r})),hle=s(((e,t)=>{function n(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}t.exports=n})),AR=s(((e,t)=>{function n(){}t.exports=n})),jR=s(((e,t)=>{var n=TR(),r=AR(),i=4294967295;function a(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=i,this.__views__=[]}a.prototype=n(r.prototype),a.prototype.constructor=a,t.exports=a})),gle=s(((e,t)=>{function n(){}t.exports=n})),MR=s(((e,t)=>{var n=CR(),r=gle();t.exports=n?function(e){return n.get(e)}:r})),_le=s(((e,t)=>{t.exports={}})),vle=s(((e,t)=>{var n=_le(),r=Object.prototype.hasOwnProperty;function i(e){for(var t=e.name+``,i=n[t],a=r.call(n,t)?i.length:0;a--;){var o=i[a],s=o.func;if(s==null||s==e)return o.name}return t}t.exports=i})),NR=s(((e,t)=>{var n=TR(),r=AR();function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}i.prototype=n(r.prototype),i.prototype.constructor=i,t.exports=i})),PR=s(((e,t)=>{t.exports=Array.isArray})),FR=s(((e,t)=>{function n(e){return typeof e==`object`&&!!e}t.exports=n})),IR=s(((e,t)=>{function n(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}t.exports=n})),yle=s(((e,t)=>{var n=jR(),r=NR(),i=IR();function a(e){if(e instanceof n)return e.clone();var t=new r(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}t.exports=a})),ble=s(((e,t)=>{var n=jR(),r=NR(),i=AR(),a=PR(),o=FR(),s=yle(),c=Object.prototype.hasOwnProperty;function l(e){if(o(e)&&!a(e)&&!(e instanceof n)){if(e instanceof r)return e;if(c.call(e,`__wrapped__`))return s(e)}return new r(e)}l.prototype=i.prototype,l.prototype.constructor=l,t.exports=l})),xle=s(((e,t)=>{var n=jR(),r=MR(),i=vle(),a=ble();function o(e){var t=i(e),o=a[t];if(typeof o!=`function`||!(t in n.prototype))return!1;if(e===o)return!0;var s=r(o);return!!s&&e===s[0]}t.exports=o})),LR=s(((e,t)=>{var n=800,r=16,i=Date.now;function a(e){var t=0,a=0;return function(){var o=i(),s=r-(o-a);if(a=o,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}t.exports=a})),RR=s(((e,t)=>{var n=wR();t.exports=LR()(n)})),Sle=s(((e,t)=>{var n=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /;function i(e){var t=e.match(n);return t?t[1].split(r):[]}t.exports=i})),Cle=s(((e,t)=>{var n=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function r(e,t){var r=t.length;if(!r)return e;var i=r-1;return t[i]=(r>1?`& `:``)+t[i],t=t.join(r>2?`, `:` `),e.replace(n,`{&#xA;/* [wrapped with `+t+`] */&#xA;`)}t.exports=r})),wle=s(((e,t)=>{function n(e){return function(){return e}}t.exports=n})),zR=s(((e,t)=>{var n=xR();t.exports=function(){try{var e=n(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),Tle=s(((e,t)=>{var n=wle(),r=zR(),i=pR();t.exports=r?function(e,t){return r(e,`toString`,{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i})),BR=s(((e,t)=>{var n=Tle();t.exports=LR()(n)})),VR=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=n})),Ele=s(((e,t)=>{function n(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}t.exports=n})),Dle=s(((e,t)=>{function n(e){return e!==e}t.exports=n})),Ole=s(((e,t)=>{function n(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}t.exports=n})),kle=s(((e,t)=>{var n=Ele(),r=Dle(),i=Ole();function a(e,t,a){return t===t?i(e,t,a):n(e,r,a)}t.exports=a})),Ale=s(((e,t)=>{var n=kle();function r(e,t){return!!(e!=null&&e.length)&&n(e,t,0)>-1}t.exports=r})),jle=s(((e,t)=>{var n=VR(),r=Ale(),i=[[`ary`,128],[`bind`,1],[`bindKey`,2],[`curry`,8],[`curryRight`,16],[`flip`,512],[`partial`,32],[`partialRight`,64],[`rearg`,256]];function a(e,t){return n(i,function(n){var i=`_.`+n[0];t&n[1]&&!r(e,i)&&e.push(i)}),e.sort()}t.exports=a})),HR=s(((e,t)=>{var n=Sle(),r=Cle(),i=BR(),a=jle();function o(e,t,o){var s=t+``;return i(e,r(s,a(n(s),o)))}t.exports=o})),UR=s(((e,t)=>{var n=xle(),r=RR(),i=HR(),a=1,o=2,s=4,c=8,l=32,u=64;function d(e,t,d,f,p,m,h,g,_,v){var y=t&c,b=y?h:void 0,x=y?void 0:h,S=y?m:void 0,C=y?void 0:m;t|=y?l:u,t&=~(y?u:l),t&s||(t&=~(a|o));var ee=[e,t,p,S,b,C,x,g,_,v],te=d.apply(void 0,ee);return n(e)&&r(te,ee),te.placeholder=f,i(te,e,t)}t.exports=d})),WR=s(((e,t)=>{function n(e){return e.placeholder}t.exports=n})),GR=s(((e,t)=>{var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t??=n,!!t&&(i==`number`||i!=`symbol`&&r.test(e))&&e>-1&&e%1==0&&e<t}t.exports=i})),Mle=s(((e,t)=>{var n=IR(),r=GR(),i=Math.min;function a(e,t){for(var a=e.length,o=i(t.length,a),s=n(e);o--;){var c=t[o];e[o]=r(c,a)?s[c]:void 0}return e}t.exports=a})),KR=s(((e,t)=>{var n=`__lodash_placeholder__`;function r(e,t){for(var r=-1,i=e.length,a=0,o=[];++r<i;){var s=e[r];(s===t||s===n)&&(e[r]=n,o[a++]=r)}return o}t.exports=r})),qR=s(((e,t)=>{var n=OR(),r=kR(),i=hle(),a=ER(),o=UR(),s=WR(),c=Mle(),l=KR(),u=hR(),d=1,f=2,p=8,m=16,h=128,g=512;function _(e,t,v,y,b,x,S,C,ee,te){var ne=t&h,re=t&d,ie=t&f,ae=t&(p|m),oe=t&g,se=ie?void 0:a(e);function ce(){for(var d=arguments.length,f=Array(d),p=d;p--;)f[p]=arguments[p];if(ae)var m=s(ce),h=i(f,m);if(y&&(f=n(f,y,b,ae)),x&&(f=r(f,x,S,ae)),d-=h,ae&&d<te){var g=l(f,m);return o(e,t,_,ce.placeholder,v,f,g,C,ee,te-d)}var le=re?v:this,ue=ie?le[e]:e;return d=f.length,C?f=c(f,C):oe&&d>1&&f.reverse(),ne&&ee<d&&(f.length=ee),this&&this!==u&&this instanceof ce&&(ue=se||a(ue)),ue.apply(le,f)}return ce}t.exports=_})),Nle=s(((e,t)=>{var n=DR(),r=ER(),i=qR(),a=UR(),o=WR(),s=KR(),c=hR();function l(e,t,l){var u=r(e);function d(){for(var r=arguments.length,f=Array(r),p=r,m=o(d);p--;)f[p]=arguments[p];var h=r<3&&f[0]!==m&&f[r-1]!==m?[]:s(f,m);return r-=h.length,r<l?a(e,t,i,d.placeholder,void 0,f,h,void 0,void 0,l-r):n(this&&this!==c&&this instanceof d?u:e,this,f)}return d}t.exports=l})),Ple=s(((e,t)=>{var n=DR(),r=ER(),i=hR(),a=1;function o(e,t,o,s){var c=t&a,l=r(e);function u(){for(var t=-1,r=arguments.length,a=-1,d=s.length,f=Array(d+r),p=this&&this!==i&&this instanceof u?l:e;++a<d;)f[a]=s[a];for(;r--;)f[a++]=arguments[++t];return n(p,c?o:this,f)}return u}t.exports=o})),Fle=s(((e,t)=>{var n=OR(),r=kR(),i=KR(),a=`__lodash_placeholder__`,o=1,s=2,c=4,l=8,u=128,d=256,f=Math.min;function p(e,t){var p=e[1],m=t[1],h=p|m,g=h<(o|s|u),_=m==u&&p==l||m==u&&p==d&&e[7].length<=t[8]||m==(u|d)&&t[7].length<=t[8]&&p==l;if(!(g||_))return e;m&o&&(e[2]=t[2],h|=p&o?0:c);var v=t[3];if(v){var y=e[3];e[3]=y?n(y,v,t[4]):v,e[4]=y?i(e[3],a):t[4]}return v=t[5],v&&(y=e[5],e[5]=y?r(y,v,t[6]):v,e[6]=y?i(e[5],a):t[6]),v=t[7],v&&(e[7]=v),m&u&&(e[8]=e[8]==null?t[8]:f(e[8],t[8])),e[9]??=t[9],e[0]=t[0],e[1]=h,e}t.exports=p})),Ile=s(((e,t)=>{var n=/\s/;function r(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}t.exports=r})),Lle=s(((e,t)=>{var n=Ile(),r=/^\s+/;function i(e){return e&&e.slice(0,n(e)+1).replace(r,``)}t.exports=i})),JR=s(((e,t)=>{var n=_R(),r=FR(),i=`[object Symbol]`;function a(e){return typeof e==`symbol`||r(e)&&n(e)==i}t.exports=a})),Rle=s(((e,t)=>{var n=Lle(),r=vR(),i=JR(),a=NaN,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;function u(e){if(typeof e==`number`)return e;if(i(e))return a;if(r(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=r(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=n(e);var u=s.test(e);return u||c.test(e)?l(e.slice(2),u?2:8):o.test(e)?a:+e}t.exports=u})),zle=s(((e,t)=>{var n=Rle(),r=1/0,i=17976931348623157e292;function a(e){return e?(e=n(e),e===r||e===-r?(e<0?-1:1)*i:e===e?e:0):e===0?e:0}t.exports=a})),YR=s(((e,t)=>{var n=zle();function r(e){var t=n(e),r=t%1;return t===t?r?t-r:t:0}t.exports=r})),XR=s(((e,t)=>{var n=wR(),r=mle(),i=Nle(),a=qR(),o=Ple(),s=MR(),c=Fle(),l=RR(),u=HR(),d=YR(),f=`Expected a function`,p=1,m=2,h=8,g=16,_=32,v=64,y=Math.max;function b(e,t,b,x,S,C,ee,te){var ne=t&#x26;m;if(!ne&&typeof e!=`function`)throw TypeError(f);var re=x?x.length:0;if(re||(t&=~(_|v),x=S=void 0),ee=ee===void 0?ee:y(d(ee),0),te=te===void 0?te:d(te),re-=S?S.length:0,t&v){var ie=x,ae=S;x=S=void 0}var oe=ne?void 0:s(e),se=[e,t,b,x,S,ie,ae,C,ee,te];if(oe&&c(se,oe),e=se[0],t=se[1],b=se[2],x=se[3],S=se[4],te=se[9]=se[9]===void 0?ne?0:e.length:y(se[9]-re,0),!te&&t&(h|g)&&(t&=~(h|g)),!t||t==p)var ce=r(e,t,b);else ce=t==h||t==g?i(e,t,te):(t==_||t==(p|_))&&!S.length?o(e,t,b,x):a.apply(void 0,se);return u((oe?n:l)(ce,se),e,t)}t.exports=b})),Ble=s(((e,t)=>{var n=XR(),r=128;function i(e,t,i){return t=i?void 0:t,t=e&&t==null?e.length:t,n(e,r,void 0,void 0,void 0,void 0,t)}t.exports=i})),ZR=s(((e,t)=>{var n=zR();function r(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=r})),QR=s(((e,t)=>{function n(e,t){return e===t||e!==e&&t!==t}t.exports=n})),$R=s(((e,t)=>{var n=ZR(),r=QR(),i=Object.prototype.hasOwnProperty;function a(e,t,a){var o=e[t];(!(i.call(e,t)&&r(o,a))||a===void 0&&!(t in e))&&n(e,t,a)}t.exports=a})),ez=s(((e,t)=>{var n=$R(),r=ZR();function i(e,t,i,a){var o=!i;i||={};for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(i[l],e[l],l,i,e):void 0;u===void 0&&(u=e[l]),o?r(i,l,u):n(i,l,u)}return i}t.exports=i})),Vle=s(((e,t)=>{function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=n})),Hle=s(((e,t)=>{var n=_R(),r=FR(),i=`[object Arguments]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),tz=s(((e,t)=>{var n=Hle(),r=FR(),i=Object.prototype,a=i.hasOwnProperty,o=i.propertyIsEnumerable;t.exports=n(function(){return arguments}())?n:function(e){return r(e)&&a.call(e,`callee`)&&!o.call(e,`callee`)}})),Ule=s(((e,t)=>{function n(){return!1}t.exports=n})),nz=s(((e,t)=>{var n=hR(),r=Ule(),i=typeof e==`object`&&e&&!e.nodeType&&e,a=i&&typeof t==`object`&&t&&!t.nodeType&&t,o=a&&a.exports===i?n.Buffer:void 0;t.exports=(o?o.isBuffer:void 0)||r})),rz=s(((e,t)=>{var n=9007199254740991;function r(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=n}t.exports=r})),Wle=s(((e,t)=>{var n=_R(),r=rz(),i=FR(),a=`[object Arguments]`,o=`[object Array]`,s=`[object Boolean]`,c=`[object Date]`,l=`[object Error]`,u=`[object Function]`,d=`[object Map]`,f=`[object Number]`,p=`[object Object]`,m=`[object RegExp]`,h=`[object Set]`,g=`[object String]`,_=`[object WeakMap]`,v=`[object ArrayBuffer]`,y=`[object DataView]`,b=`[object Float32Array]`,x=`[object Float64Array]`,S=`[object Int8Array]`,C=`[object Int16Array]`,ee=`[object Int32Array]`,te=`[object Uint8Array]`,ne=`[object Uint8ClampedArray]`,re=`[object Uint16Array]`,ie=`[object Uint32Array]`,ae={};ae[b]=ae[x]=ae[S]=ae[C]=ae[ee]=ae[te]=ae[ne]=ae[re]=ae[ie]=!0,ae[a]=ae[o]=ae[v]=ae[s]=ae[y]=ae[c]=ae[l]=ae[u]=ae[d]=ae[f]=ae[p]=ae[m]=ae[h]=ae[g]=ae[_]=!1;function oe(e){return i(e)&&r(e.length)&&!!ae[n(e)]}t.exports=oe})),iz=s(((e,t)=>{function n(e){return function(t){return e(t)}}t.exports=n})),az=s(((e,t)=>{var n=mR(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r&&n.process;t.exports=function(){try{return i&&i.require&&i.require(`util`).types||a&&a.binding&&a.binding(`util`)}catch{}}()})),oz=s(((e,t)=>{var n=Wle(),r=iz(),i=az(),a=i&&i.isTypedArray;t.exports=a?r(a):n})),sz=s(((e,t)=>{var n=Vle(),r=tz(),i=PR(),a=nz(),o=GR(),s=oz(),c=Object.prototype.hasOwnProperty;function l(e,t){var l=i(e),u=!l&&r(e),d=!l&&!u&&a(e),f=!l&&!u&&!d&&s(e),p=l||u||d||f,m=p?n(e.length,String):[],h=m.length;for(var g in e)(t||c.call(e,g))&&!(p&&(g==`length`||d&&(g==`offset`||g==`parent`)||f&&(g==`buffer`||g==`byteLength`||g==`byteOffset`)||o(g,h)))&&m.push(g);return m}t.exports=l})),cz=s(((e,t)=>{var n=Object.prototype;function r(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||n)}t.exports=r})),lz=s(((e,t)=>{function n(e,t){return function(n){return e(t(n))}}t.exports=n})),Gle=s(((e,t)=>{t.exports=lz()(Object.keys,Object)})),uz=s(((e,t)=>{var n=cz(),r=Gle(),i=Object.prototype.hasOwnProperty;function a(e){if(!n(e))return r(e);var t=[];for(var a in Object(e))i.call(e,a)&&a!=`constructor`&&t.push(a);return t}t.exports=a})),dz=s(((e,t)=>{var n=yR(),r=rz();function i(e){return e!=null&&r(e.length)&&!n(e)}t.exports=i})),fz=s(((e,t)=>{var n=sz(),r=uz(),i=dz();function a(e){return i(e)?n(e):r(e)}t.exports=a})),pz=s(((e,t)=>{var n=ez(),r=fz();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),Kle=s(((e,t)=>{function n(){this.__data__=[],this.size=0}t.exports=n})),mz=s(((e,t)=>{var n=QR();function r(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}t.exports=r})),qle=s(((e,t)=>{var n=mz(),r=Array.prototype.splice;function i(e){var t=this.__data__,i=n(t,e);return i<0?!1:(i==t.length-1?t.pop():r.call(t,i,1),--this.size,!0)}t.exports=i})),Jle=s(((e,t)=>{var n=mz();function r(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}t.exports=r})),Yle=s(((e,t)=>{var n=mz();function r(e){return n(this.__data__,e)>-1}t.exports=r})),Xle=s(((e,t)=>{var n=mz();function r(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}t.exports=r})),hz=s(((e,t)=>{var n=Kle(),r=qle(),i=Jle(),a=Yle(),o=Xle();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),Zle=s(((e,t)=>{var n=hz();function r(){this.__data__=new n,this.size=0}t.exports=r})),Qle=s(((e,t)=>{function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=n})),$le=s(((e,t)=>{function n(e){return this.__data__.get(e)}t.exports=n})),eue=s(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),gz=s(((e,t)=>{t.exports=xR()(hR(),`Map`)})),_z=s(((e,t)=>{t.exports=xR()(Object,`create`)})),tue=s(((e,t)=>{var n=_z();function r(){this.__data__=n?n(null):{},this.size=0}t.exports=r})),nue=s(((e,t)=>{function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}t.exports=n})),rue=s(((e,t)=>{var n=_z(),r=`__lodash_hash_undefined__`,i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(n){var a=t[e];return a===r?void 0:a}return i.call(t,e)?t[e]:void 0}t.exports=a})),iue=s(((e,t)=>{var n=_z(),r=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return n?t[e]!==void 0:r.call(t,e)}t.exports=i})),aue=s(((e,t)=>{var n=_z(),r=`__lodash_hash_undefined__`;function i(e,t){var i=this.__data__;return this.size+=+!this.has(e),i[e]=n&&t===void 0?r:t,this}t.exports=i})),oue=s(((e,t)=>{var n=tue(),r=nue(),i=rue(),a=iue(),o=aue();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),sue=s(((e,t)=>{var n=oue(),r=hz(),i=gz();function a(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}t.exports=a})),cue=s(((e,t)=>{function n(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}t.exports=n})),vz=s(((e,t)=>{var n=cue();function r(e,t){var r=e.__data__;return n(t)?r[typeof t==`string`?`string`:`hash`]:r.map}t.exports=r})),lue=s(((e,t)=>{var n=vz();function r(e){var t=n(this,e).delete(e);return this.size-=+!!t,t}t.exports=r})),uue=s(((e,t)=>{var n=vz();function r(e){return n(this,e).get(e)}t.exports=r})),due=s(((e,t)=>{var n=vz();function r(e){return n(this,e).has(e)}t.exports=r})),fue=s(((e,t)=>{var n=vz();function r(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}t.exports=r})),yz=s(((e,t)=>{var n=sue(),r=lue(),i=uue(),a=due(),o=fue();function s(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=i,s.prototype.has=a,s.prototype.set=o,t.exports=s})),pue=s(((e,t)=>{var n=hz(),r=gz(),i=yz(),a=200;function o(e,t){var o=this.__data__;if(o instanceof n){var s=o.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new i(s)}return o.set(e,t),this.size=o.size,this}t.exports=o})),bz=s(((e,t)=>{var n=hz(),r=Zle(),i=Qle(),a=$le(),o=eue(),s=pue();function c(e){this.size=(this.__data__=new n(e)).size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c})),mue=s(((e,t)=>{function n(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}t.exports=n})),hue=s(((e,t)=>{var n=vR(),r=cz(),i=mue(),a=Object.prototype.hasOwnProperty;function o(e){if(!n(e))return i(e);var t=r(e),o=[];for(var s in e)s==`constructor`&&(t||!a.call(e,s))||o.push(s);return o}t.exports=o})),xz=s(((e,t)=>{var n=sz(),r=hue(),i=dz();function a(e){return i(e)?n(e,!0):r(e)}t.exports=a})),gue=s(((e,t)=>{var n=ez(),r=xz();function i(e,t){return e&&n(t,r(t),e)}t.exports=i})),_ue=s(((e,t)=>{var n=hR(),r=typeof e==`object`&&e&&!e.nodeType&&e,i=r&&typeof t==`object`&&t&&!t.nodeType&&t,a=i&&i.exports===r?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;function s(e,t){if(t)return e.slice();var n=e.length,r=o?o(n):new e.constructor(n);return e.copy(r),r}t.exports=s})),vue=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}t.exports=n})),Sz=s(((e,t)=>{function n(){return[]}t.exports=n})),Cz=s(((e,t)=>{var n=vue(),r=Sz(),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(e){return e==null?[]:(e=Object(e),n(a(e),function(t){return i.call(e,t)}))}:r})),yue=s(((e,t)=>{var n=ez(),r=Cz();function i(e,t){return n(e,r(e),t)}t.exports=i})),wz=s(((e,t)=>{function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}t.exports=n})),Tz=s(((e,t)=>{t.exports=lz()(Object.getPrototypeOf,Object)})),Ez=s(((e,t)=>{var n=wz(),r=Tz(),i=Cz(),a=Sz();t.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=r(e);return t}:a})),bue=s(((e,t)=>{var n=ez(),r=Ez();function i(e,t){return n(e,r(e),t)}t.exports=i})),Dz=s(((e,t)=>{var n=wz(),r=PR();function i(e,t,i){var a=t(e);return r(e)?a:n(a,i(e))}t.exports=i})),Oz=s(((e,t)=>{var n=Dz(),r=Cz(),i=fz();function a(e){return n(e,i,r)}t.exports=a})),xue=s(((e,t)=>{var n=Dz(),r=Ez(),i=xz();function a(e){return n(e,i,r)}t.exports=a})),Sue=s(((e,t)=>{t.exports=xR()(hR(),`DataView`)})),Cue=s(((e,t)=>{t.exports=xR()(hR(),`Promise`)})),wue=s(((e,t)=>{t.exports=xR()(hR(),`Set`)})),kz=s(((e,t)=>{var n=Sue(),r=gz(),i=Cue(),a=wue(),o=SR(),s=_R(),c=bR(),l=`[object Map]`,u=`[object Object]`,d=`[object Promise]`,f=`[object Set]`,p=`[object WeakMap]`,m=`[object DataView]`,h=c(n),g=c(r),_=c(i),v=c(a),y=c(o),b=s;(n&&b(new n(new ArrayBuffer(1)))!=m||r&&b(new r)!=l||i&&b(i.resolve())!=d||a&&b(new a)!=f||o&&b(new o)!=p)&&(b=function(e){var t=s(e),n=t==u?e.constructor:void 0,r=n?c(n):``;if(r)switch(r){case h:return m;case g:return l;case _:return d;case v:return f;case y:return p}return t}),t.exports=b})),Tue=s(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]==`string`&&n.call(e,`index`)&&(r.index=e.index,r.input=e.input),r}t.exports=r})),Az=s(((e,t)=>{t.exports=hR().Uint8Array})),jz=s(((e,t)=>{var n=Az();function r(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}t.exports=r})),Eue=s(((e,t)=>{var n=jz();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}t.exports=r})),Due=s(((e,t)=>{var n=/\w*$/;function r(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}t.exports=r})),Oue=s(((e,t)=>{var n=gR(),r=n?n.prototype:void 0,i=r?r.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}t.exports=a})),kue=s(((e,t)=>{var n=jz();function r(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}t.exports=r})),Aue=s(((e,t)=>{var n=jz(),r=Eue(),i=Due(),a=Oue(),o=kue(),s=`[object Boolean]`,c=`[object Date]`,l=`[object Map]`,u=`[object Number]`,d=`[object RegExp]`,f=`[object Set]`,p=`[object String]`,m=`[object Symbol]`,h=`[object ArrayBuffer]`,g=`[object DataView]`,_=`[object Float32Array]`,v=`[object Float64Array]`,y=`[object Int8Array]`,b=`[object Int16Array]`,x=`[object Int32Array]`,S=`[object Uint8Array]`,C=`[object Uint8ClampedArray]`,ee=`[object Uint16Array]`,te=`[object Uint32Array]`;function ne(e,t,ne){var re=e.constructor;switch(t){case h:return n(e);case s:case c:return new re(+e);case g:return r(e,ne);case _:case v:case y:case b:case x:case S:case C:case ee:case te:return o(e,ne);case l:return new re;case u:case p:return new re(e);case d:return i(e);case f:return new re;case m:return a(e)}}t.exports=ne})),jue=s(((e,t)=>{var n=TR(),r=Tz(),i=cz();function a(e){return typeof e.constructor==`function`&&!i(e)?n(r(e)):{}}t.exports=a})),Mue=s(((e,t)=>{var n=kz(),r=FR(),i=`[object Map]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Nue=s(((e,t)=>{var n=Mue(),r=iz(),i=az(),a=i&&i.isMap;t.exports=a?r(a):n})),Pue=s(((e,t)=>{var n=kz(),r=FR(),i=`[object Set]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Fue=s(((e,t)=>{var n=Pue(),r=iz(),i=az(),a=i&&i.isSet;t.exports=a?r(a):n})),Mz=s(((e,t)=>{var n=bz(),r=VR(),i=$R(),a=pz(),o=gue(),s=_ue(),c=IR(),l=yue(),u=bue(),d=Oz(),f=xue(),p=kz(),m=Tue(),h=Aue(),g=jue(),_=PR(),v=nz(),y=Nue(),b=vR(),x=Fue(),S=fz(),C=xz(),ee=1,te=2,ne=4,re=`[object Arguments]`,ie=`[object Array]`,ae=`[object Boolean]`,oe=`[object Date]`,se=`[object Error]`,ce=`[object Function]`,le=`[object GeneratorFunction]`,ue=`[object Map]`,de=`[object Number]`,fe=`[object Object]`,pe=`[object RegExp]`,me=`[object Set]`,he=`[object String]`,ge=`[object Symbol]`,_e=`[object WeakMap]`,ve=`[object ArrayBuffer]`,ye=`[object DataView]`,be=`[object Float32Array]`,xe=`[object Float64Array]`,Se=`[object Int8Array]`,Ce=`[object Int16Array]`,we=`[object Int32Array]`,Te=`[object Uint8Array]`,Ee=`[object Uint8ClampedArray]`,De=`[object Uint16Array]`,Oe=`[object Uint32Array]`,ke={};ke[re]=ke[ie]=ke[ve]=ke[ye]=ke[ae]=ke[oe]=ke[be]=ke[xe]=ke[Se]=ke[Ce]=ke[we]=ke[ue]=ke[de]=ke[fe]=ke[pe]=ke[me]=ke[he]=ke[ge]=ke[Te]=ke[Ee]=ke[De]=ke[Oe]=!0,ke[se]=ke[ce]=ke[_e]=!1;function Ae(e,t,ie,ae,oe,se){var ue,de=t&ee,pe=t&te,me=t&#x26;ne;if(ie&&(ue=oe?ie(e,ae,oe,se):ie(e)),ue!==void 0)return ue;if(!b(e))return e;var he=_(e);if(he){if(ue=m(e),!de)return c(e,ue)}else{var ge=p(e),_e=ge==ce||ge==le;if(v(e))return s(e,de);if(ge==fe||ge==re||_e&&!oe){if(ue=pe||_e?{}:g(e),!de)return pe?u(e,o(ue,e)):l(e,a(ue,e))}else{if(!ke[ge])return oe?e:{};ue=h(e,ge,de)}}se||=new n;var ve=se.get(e);if(ve)return ve;se.set(e,ue),x(e)?e.forEach(function(n){ue.add(Ae(n,t,ie,n,e,se))}):y(e)&&e.forEach(function(n,r){ue.set(r,Ae(n,t,ie,r,e,se))});var ye=he?void 0:(me?pe?f:d:pe?C:S)(e);return r(ye||e,function(n,r){ye&&(r=n,n=e[r]),i(ue,r,Ae(n,t,ie,r,e,se))}),ue}t.exports=Ae})),Iue=s(((e,t)=>{var n=Mz(),r=4;function i(e){return n(e,r)}t.exports=i})),Lue=s(((e,t)=>{var n=XR(),r=8;function i(e,t,a){t=a?void 0:t;var o=n(e,r,void 0,void 0,void 0,void 0,void 0,t);return o.placeholder=i.placeholder,o}i.placeholder={},t.exports=i})),Nz=s(((e,t)=>{var n=_R(),r=Tz(),i=FR(),a=`[object Object]`,o=Function.prototype,s=Object.prototype,c=o.toString,l=s.hasOwnProperty,u=c.call(Object);function d(e){if(!i(e)||n(e)!=a)return!1;var t=r(e);if(t===null)return!0;var o=l.call(t,`constructor`)&&t.constructor;return typeof o==`function`&&o instanceof o&&c.call(o)==u}t.exports=d})),Rue=s(((e,t)=>{var n=_R(),r=FR(),i=Nz(),a=`[object DOMException]`,o=`[object Error]`;function s(e){if(!r(e))return!1;var t=n(e);return t==o||t==a||typeof e.message==`string`&&typeof e.name==`string`&&!i(e)}t.exports=s})),zue=s(((e,t)=>{var n=kz(),r=FR(),i=`[object WeakMap]`;function a(e){return r(e)&&n(e)==i}t.exports=a})),Bue=s(((e,t)=>{var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r})),Vue=s(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),Hue=s(((e,t)=>{var n=yz(),r=Bue(),i=Vue();function a(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=i,t.exports=a})),Uue=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=n})),Wue=s(((e,t)=>{function n(e,t){return e.has(t)}t.exports=n})),Pz=s(((e,t)=>{var n=Hue(),r=Uue(),i=Wue(),a=1,o=2;function s(e,t,s,c,l,u){var d=s&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var m=u.get(e),h=u.get(t);if(m&&h)return m==t&&h==e;var g=-1,_=!0,v=s&o?new n:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var y=e[g],b=t[g];if(c)var x=d?c(b,y,g,t,e,u):c(y,b,g,e,t,u);if(x!==void 0){if(x)continue;_=!1;break}if(v){if(!r(t,function(e,t){if(!i(v,t)&&(y===e||l(y,e,s,c,u)))return v.push(t)})){_=!1;break}}else if(!(y===b||l(y,b,s,c,u))){_=!1;break}}return u.delete(e),u.delete(t),_}t.exports=s})),Gue=s(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=n})),Kue=s(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n})),que=s(((e,t)=>{var n=gR(),r=Az(),i=QR(),a=Pz(),o=Gue(),s=Kue(),c=1,l=2,u=`[object Boolean]`,d=`[object Date]`,f=`[object Error]`,p=`[object Map]`,m=`[object Number]`,h=`[object RegExp]`,g=`[object Set]`,_=`[object String]`,v=`[object Symbol]`,y=`[object ArrayBuffer]`,b=`[object DataView]`,x=n?n.prototype:void 0,S=x?x.valueOf:void 0;function C(e,t,n,x,C,ee,te){switch(n){case b:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!ee(new r(e),new r(t)));case u:case d:case m:return i(+e,+t);case f:return e.name==t.name&&e.message==t.message;case h:case _:return e==t+``;case p:var ne=o;case g:var re=x&#x26;c;if(ne||=s,e.size!=t.size&&!re)return!1;var ie=te.get(e);if(ie)return ie==t;x|=l,te.set(e,t);var ae=a(ne(e),ne(t),x,C,ee,te);return te.delete(e),ae;case v:if(S)return S.call(e)==S.call(t)}return!1}t.exports=C})),Jue=s(((e,t)=>{var n=Oz(),r=1,i=Object.prototype.hasOwnProperty;function a(e,t,a,o,s,c){var l=a&r,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var f=d;f--;){var p=u[f];if(!(l?p in t:i.call(t,p)))return!1}var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var g=!0;c.set(e,t),c.set(t,e);for(var _=l;++f<d;){p=u[f];var v=e[p],y=t[p];if(o)var b=l?o(y,v,p,t,e,c):o(v,y,p,e,t,c);if(!(b===void 0?v===y||s(v,y,a,o,c):b)){g=!1;break}_||=p==`constructor`}if(g&&!_){var x=e.constructor,S=t.constructor;x!=S&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof S==`function`&&S instanceof S)&&(g=!1)}return c.delete(e),c.delete(t),g}t.exports=a})),Yue=s(((e,t)=>{var n=bz(),r=Pz(),i=que(),a=Jue(),o=kz(),s=PR(),c=nz(),l=oz(),u=1,d=`[object Arguments]`,f=`[object Array]`,p=`[object Object]`,m=Object.prototype.hasOwnProperty;function h(e,t,h,g,_,v){var y=s(e),b=s(t),x=y?f:o(e),S=b?f:o(t);x=x==d?p:x,S=S==d?p:S;var C=x==p,ee=S==p,te=x==S;if(te&&c(e)){if(!c(t))return!1;y=!0,C=!1}if(te&&!C)return v||=new n,y||l(e)?r(e,t,h,g,_,v):i(e,t,x,h,g,_,v);if(!(h&u)){var ne=C&&m.call(e,`__wrapped__`),re=ee&&m.call(t,`__wrapped__`);if(ne||re){var ie=ne?e.value():e,ae=re?t.value():t;return v||=new n,_(ie,ae,h,g,v)}}return te?(v||=new n,a(e,t,h,g,_,v)):!1}t.exports=h})),Fz=s(((e,t)=>{var n=Yue(),r=FR();function i(e,t,a,o,s){return e===t?!0:e==null||t==null||!r(e)&&!r(t)?e!==e&&t!==t:n(e,t,a,o,i,s)}t.exports=i})),Xue=s(((e,t)=>{var n=bz(),r=Fz(),i=1,a=2;function o(e,t,o,s){var c=o.length,l=c,u=!s;if(e==null)return!l;for(e=Object(e);c--;){var d=o[c];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++c<l;){d=o[c];var f=d[0],p=e[f],m=d[1];if(u&&d[2]){if(p===void 0&&!(f in e))return!1}else{var h=new n;if(s)var g=s(p,m,f,e,t,h);if(!(g===void 0?r(m,p,i|a,s,h):g))return!1}}return!0}t.exports=o})),Iz=s(((e,t)=>{var n=vR();function r(e){return e===e&&!n(e)}t.exports=r})),Zue=s(((e,t)=>{var n=Iz(),r=fz();function i(e){for(var t=r(e),i=t.length;i--;){var a=t[i],o=e[a];t[i]=[a,o,n(o)]}return t}t.exports=i})),Lz=s(((e,t)=>{function n(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}t.exports=n})),Que=s(((e,t)=>{var n=Xue(),r=Zue(),i=Lz();function a(e){var t=r(e);return t.length==1&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}t.exports=a})),Rz=s(((e,t)=>{var n=PR(),r=JR(),i=/\.|\[(?:[^[\]]*|([&#x22;'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function o(e,t){if(n(e))return!1;var o=typeof e;return o==`number`||o==`symbol`||o==`boolean`||e==null||r(e)?!0:a.test(e)||!i.test(e)||t!=null&&e in Object(t)}t.exports=o})),$ue=s(((e,t)=>{var n=yz(),r=`Expected a function`;function i(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(r);var a=function(){var n=arguments,r=t?t.apply(this,n):n[0],i=a.cache;if(i.has(r))return i.get(r);var o=e.apply(this,n);return a.cache=i.set(r,o)||i,o};return a.cache=new(i.Cache||n),a}i.Cache=n,t.exports=i})),ede=s(((e,t)=>{var n=$ue(),r=500;function i(e){var t=n(e,function(e){return i.size===r&&i.clear(),e}),i=t.cache;return t}t.exports=i})),zz=s(((e,t)=>{var n=ede(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([&#x22;'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;t.exports=n(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(r,function(e,n,r,a){t.push(r?a.replace(i,`$1`):n||e)}),t})})),Bz=s(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}t.exports=n})),tde=s(((e,t)=>{var n=gR(),r=Bz(),i=PR(),a=JR(),o=1/0,s=n?n.prototype:void 0,c=s?s.toString:void 0;function l(e){if(typeof e==`string`)return e;if(i(e))return r(e,l)+``;if(a(e))return c?c.call(e):``;var t=e+``;return t==`0`&&1/e==-o?`-0`:t}t.exports=l})),Vz=s(((e,t)=>{var n=tde();function r(e){return e==null?``:n(e)}t.exports=r})),Hz=s(((e,t)=>{var n=PR(),r=Rz(),i=zz(),a=Vz();function o(e,t){return n(e)?e:r(e,t)?[e]:i(a(e))}t.exports=o})),Uz=s(((e,t)=>{var n=JR(),r=1/0;function i(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-r?`-0`:t}t.exports=i})),Wz=s(((e,t)=>{var n=Hz(),r=Uz();function i(e,t){t=n(t,e);for(var i=0,a=t.length;e!=null&&i<a;)e=e[r(t[i++])];return i&&i==a?e:void 0}t.exports=i})),nde=s(((e,t)=>{var n=Wz();function r(e,t,r){var i=e==null?void 0:n(e,t);return i===void 0?r:i}t.exports=r})),rde=s(((e,t)=>{function n(e,t){return e!=null&&t in Object(e)}t.exports=n})),ide=s(((e,t)=>{var n=Hz(),r=tz(),i=PR(),a=GR(),o=rz(),s=Uz();function c(e,t,c){t=n(t,e);for(var l=-1,u=t.length,d=!1;++l<u;){var f=s(t[l]);if(!(d=e!=null&&c(e,f)))break;e=e[f]}return d||++l!=u?d:(u=e==null?0:e.length,!!u&&o(u)&&a(f,u)&&(i(e)||r(e)))}t.exports=c})),ade=s(((e,t)=>{var n=rde(),r=ide();function i(e,t){return e!=null&&r(e,t,n)}t.exports=i})),ode=s(((e,t)=>{var n=Fz(),r=nde(),i=ade(),a=Rz(),o=Iz(),s=Lz(),c=Uz(),l=1,u=2;function d(e,t){return a(e)&&o(t)?s(c(e),t):function(a){var o=r(a,e);return o===void 0&&o===t?i(a,e):n(t,o,l|u)}}t.exports=d})),sde=s(((e,t)=>{function n(e){return function(t){return t?.[e]}}t.exports=n})),cde=s(((e,t)=>{var n=Wz();function r(e){return function(t){return n(t,e)}}t.exports=r})),lde=s(((e,t)=>{var n=sde(),r=cde(),i=Rz(),a=Uz();function o(e){return i(e)?n(a(e)):r(e)}t.exports=o})),Gz=s(((e,t)=>{var n=Que(),r=ode(),i=pR(),a=PR(),o=lde();function s(e){return typeof e==`function`?e:e==null?i:typeof e==`object`?a(e)?r(e[0],e[1]):n(e):o(e)}t.exports=s})),ude=s(((e,t)=>{var n=Mz(),r=Gz(),i=1;function a(e){return r(typeof e==`function`?e:n(e,i))}t.exports=a})),dde=s(((e,t)=>{var n=gR(),r=tz(),i=PR(),a=n?n.isConcatSpreadable:void 0;function o(e){return i(e)||r(e)||!!(a&&e&&e[a])}t.exports=o})),fde=s(((e,t)=>{var n=wz(),r=dde();function i(e,t,a,o,s){var c=-1,l=e.length;for(a||=r,s||=[];++c<l;){var u=e[c];t>0&&a(u)?t>1?i(u,t-1,a,o,s):n(s,u):o||(s[s.length]=u)}return s}t.exports=i})),pde=s(((e,t)=>{var n=fde();function r(e){return e!=null&&e.length?n(e,1):[]}t.exports=r})),mde=s(((e,t)=>{var n=DR(),r=Math.max;function i(e,t,i){return t=r(t===void 0?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=r(a.length-t,0),c=Array(s);++o<s;)c[o]=a[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=a[o];return l[t]=i(c),n(e,this,l)}}t.exports=i})),hde=s(((e,t)=>{var n=pde(),r=mde(),i=BR();function a(e){return i(r(e,void 0,n),e+``)}t.exports=a})),gde=s(((e,t)=>{var n=XR(),r=hde(),i=256;t.exports=r(function(e,t){return n(e,i,void 0,void 0,void 0,t)})})),_de=s(((e,t)=>{var n=Bz(),r=IR(),i=PR(),a=JR(),o=zz(),s=Uz(),c=Vz();function l(e){return i(e)?n(e,s):a(e)?[e]:r(o(c(e)))}t.exports=l})),vde=s(((e,t)=>{t.exports={ary:Ble(),assign:pz(),clone:Iue(),curry:Lue(),forEach:VR(),isArray:PR(),isError:Rue(),isFunction:yR(),isWeakMap:zue(),iteratee:ude(),keys:uz(),rearg:gde(),toInteger:YR(),toPath:_de()}})),Kz=s(((e,t)=>{var n=sle(),r=vde();function i(e,t,i){return n(r,e,t,i)}t.exports=i})),yde=s(((e,t)=>{t.exports={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1}})),bde=s(((e,t)=>{var n=Kz()(`isPlainObject`,Nz(),yde());n.placeholder=fR(),t.exports=n})),xde=s(((e,t)=>{function n(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}t.exports=n})),Sde=s(((e,t)=>{t.exports=xde()()})),qz=s(((e,t)=>{var n=Sde(),r=fz();function i(e,t){return e&&n(e,t,r)}t.exports=i})),Cde=s(((e,t)=>{var n=ZR(),r=qz(),i=Gz();function a(e,t){var a={};return t=i(t,3),r(e,function(e,r,i){n(a,t(e,r,i),e)}),a}t.exports=a})),wde=s(((e,t)=>{var n=Kz()(`mapKeys`,Cde());n.placeholder=fR(),t.exports=n})),Tde=s(((e,t)=>{var n=ZR(),r=qz(),i=Gz();function a(e,t){var a={};return t=i(t,3),r(e,function(e,r,i){n(a,r,t(e,r,i))}),a}t.exports=a})),Ede=s(((e,t)=>{var n=Kz()(`mapValues`,Tde());n.placeholder=fR(),t.exports=n})),Dde=u(ale(),1),Ode=u(bde(),1),kde=u(wde(),1),Ade=u(Ede(),1),Jz=e=>t=>Array.isArray(t)?t.map(Jz(e)):(0,Ode.default)(t)?(0,Ade.default)(Jz(e))((0,kde.default)(e)(t)):t,jde=(e,t)=>Jz(t)(e),Yz={AccptrAuthstnReq:`AcceptorAuthorisationRequest`,Hdr:`Header`,MsgFctn:`MessageFunction`,PrtcolVrsn:`ProtocolVersion`,XchgId:`ExchangeIdentification`,ReTrnsmssnCntr:`ReTransmissionCounter`,CreDtTm:`CreationDateTime`,InitgPty:`InitiatingParty`,RcptPty:`RecipientParty`,Tracblt:`Traceability`,AuthstnReq:`AuthorisationRequest`,Envt:`Environment`,Id:`Identification`,CmonNm:`CommonName`,LctnCtgy:`LocationCategory`,LctnAndCtct:`LocationAndContact`,SchmeData:`SchemeData`,POI:`POI`,SysNm:`SystemName`,GrpId:`GroupIdentification`,Cpblties:`Capabilities`,CardRdngCpblties:`CardReadingCapabilities`,CrdhldrVrfctnCpblties:`CardholderVerificationCapabilities`,PINLngthCpblties:`PINLengthCapabilities`,ApprvlCdLngth:`ApprovalCodeLength`,MxScrptLngth:`MaxScriptLength`,CardCaptrCpbl:`CardCaptureCapable`,OnLineCpblties:`OnLineCapabilities`,MsgCpblties:`MessageCapabilities`,Dstn:`Destination`,AvlblFrmt:`AvailableFormat`,NbOfLines:`NumberOfLines`,LineWidth:`LineWidth`,AvlblLang:`AvailableLanguage`,TmZone:`TimeZone`,TermnlIntgtn:`TerminalIntegration`,Cmpnt:`Component`,PrtctdCardData:`ProtectedCardData`,PrvtCardData:`PrivateCardData`,PlainCardData:`PlainCardData`,PAN:`PAN`,CardSeqNb:`CardSequenceNumber`,FctvDt:`EffectiveDate`,XpryDt:`ExpiryDate`,SvcCd:`ServiceCode`,Trck1:`Track1`,Trck2:`Track2`,Trck3:`Track3`,CrdhldrNm:`CardholderName`,PmtAcctRef:`PaymentAccountReference`,MskdPAN:`MaskedPAN`,IssrBIN:`IssuerBIN`,CardCtryCd:`CardCountryCode`,CardCcyCd:`CardCurrencyCode`,CardPdctPrfl:`CardProductProfile`,CardBrnd:`CardBrand`,CardPdctTp:`CardProductType`,CardPdctSubTp:`CardProductSubType`,IntrnlCard:`InternationalCard`,AllwdPdct:`AllowedProduct`,SvcOptn:`ServiceOption`,AddtlCardData:`AdditionalCardData`,CstmrDvc:`CustomerDevice`,Wllt:`Wallet`,PmtTkn:`PaymentToken`,DrvrLicNb:`DriverLicenseNumber`,DrvrLicLctn:`DriverLicenseLocation`,DrvrLicNm:`DriverLicenseName`,DrvrId:`DriverIdentification`,CstmrNb:`CustomerNumber`,SclSctyNb:`SocialSecurityNumber`,AlnRegnNb:`AlienRegistrationNumber`,PsptNb:`PassportNumber`,TaxIdNb:`TaxIdentificationNumber`,IdntyCardNb:`IdentityCardNumber`,MplyrIdNb:`EmployerIdentificationNumber`,MplyeeIdNb:`EmployeeIdentificationNumber`,JobNb:`JobNumber`,Dept:`Department`,EmailAdr:`EmailAddress`,DtAndPlcOfBirth:`DateAndPlaceOfBirth`,BirthDt:`BirthDate`,PrvcOfBirth:`ProvinceOfBirth`,CityOfBirth:`CityOfBirth`,CtryOfBirth:`CountryOfBirth`,Othr:`Other`,Nm:`Name`,Lang:`Language`,BllgAdr:`BillingAddress`,ShppgAdr:`ShippingAddress`,TripNb:`TripNumber`,Vhcl:`Vehicle`,Authntcn:`Authentication`,AuthntcnMtd:`AuthenticationMethod`,AuthntcnXmptn:`AuthenticationExemption`,AuthntcnVal:`AuthenticationValue`,PrtctdAuthntcnVal:`ProtectedAuthenticationValue`,CrdhldrOnLinePIN:`CardholderOnLinePIN`,NcrptdPINBlck:`EncryptedPINBlock`,PINFrmt:`PINFormat`,AddtlInpt:`AdditionalInput`,CrdhldrId:`CardholderIdentification`,AdrVrfctn:`AddressVerification`,AdrDgts:`AddressDigits`,PstlCdDgts:`PostalCodeDigits`,AuthntcnTp:`AuthenticationType`,AuthntcnLvl:`AuthenticationLevel`,AuthntcnRslt:`AuthenticationResult`,AuthntcnAddtlInf:`AuthenticationAdditionalInformation`,Val:`Value`,PrtctdVal:`ProtectedValue`,Tp:`Type`,TxVrfctnRslt:`TransactionVerificationResult`,Mtd:`Method`,VrfctnNtty:`VerificationEntity`,Rslt:`Result`,AddtlRslt:`AdditionalResult`,PrsnlData:`PersonalData`,MobData:`MobileData`,MobCtryCd:`MobileCountryCode`,MobNtwkCd:`MobileNetworkCode`,MobMskdMSISDN:`MobileMaskedMSISDN`,Glctn:`Geolocation`,GeogcCordints:`GeographicCoordinates`,Lat:`Latitude`,Long:`Longitude`,UTMCordints:`UTMCoordinates`,UTMZone:`UTMZone`,UTMEstwrd:`UTMEastward`,UTMNrthwrd:`UTMNorthward`,SnstvMobData:`SensitiveMobileData`,MSISDN:`MSISDN`,IMSI:`IMSI`,IMEI:`IMEI`,PrtctdMobData:`ProtectedMobileData`,PrtctdCrdhldrData:`ProtectedCardholderData`,Cntxt:`Context`,TxCaptr:`TransactionCapture`,TxTp:`TransactionType`,AddtlSvc:`AdditionalService`,SvcAttr:`ServiceAttribute`,LastTxFlg:`LastTransactionFlag`,MrchntCtgyCd:`MerchantCategoryCode`,CstmrCnsnt:`CustomerConsent`,CardPrgrmmPropsd:`CardProgrammeProposed`,CardPrgrmmApld:`CardProgrammeApplied`,SaleRefId:`SaleReferenceIdentification`,TxId:`TransactionIdentification`,OrgnlTx:`OriginalTransaction`,InitrTxId:`InitiatorTransactionIdentification`,RcncltnId:`ReconciliationIdentification`,TxDtls:`TransactionDetails`,Ccy:`Currency`,TtlAmt:`TotalAmount`,CmltvAmt:`CumulativeAmount`,AmtQlfr:`AmountQualifier`,DtldAmt:`DetailedAmount`,AmtGoodsAndSvcs:`AmountGoodsAndServices`,CshBck:`CashBack`,Grtty:`Gratuity`,Fees:`Fees`,Amt:`Amount`,Labl:`Label`,Rbt:`Rebate`,ValAddedTax:`ValueAddedTax`,Srchrg:`Surcharge`,ReqdAmt:`RequestedAmount`,AuthrsdAmt:`AuthorisedAmount`,InvcAmt:`InvoiceAmount`,VldtyDt:`ValidityDate`,OnLineRsn:`OnLineReason`,UattnddLvlCtgy:`UnattendedLevelCategory`,AcctTp:`AccountType`,CcyConvsRslt:`CurrencyConversionResult`,AccptdByCrdhldr:`AcceptedByCardholder`,Convs:`Conversion`,CcyConvsId:`CurrencyConversionIdentification`,TrgtCcy:`TargetCurrency`,AlphaCd:`AlphaCode`,NmrcCd:`NumericCode`,Dcml:`Decimal`,RsltgAmt:`ResultingAmount`,XchgRate:`ExchangeRate`,NvrtdXchgRate:`InvertedExchangeRate`,QtnDt:`QuotationDate`,VldUntil:`ValidUntil`,SrcCcy:`SourceCurrency`,OrgnlAmt:`OriginalAmount`,ActlAmt:`ActualAmount`,MinAmt:`MinimumAmount`,MaxAmt:`MaximumAmount`,ComssnDtls:`CommissionDetails`,AddtlInf:`AdditionalInformation`,MrkUpDtls:`MarkUpDetails`,Rate:`Rate`,DclrtnDtls:`DeclarationDetails`,MsgDstn:`MessageDestination`,InfQlfr:`InformationQualifier`,Frmt:`Format`,MsgCntt:`MessageContent`,MsgCnttSgntr:`MessageContentSignature`,OutptBrcd:`OutputBarcode`,BrcdTp:`BarcodeType`,BrcdVal:`BarcodeValue`,QRCdBinryVal:`QRCodeBinaryValue`,QRCdVrsn:`QRCodeVersion`,QRCdNcodgMd:`QRCodeEncodingMode`,QRCdErrCrrctn:`QRCodeErrorCorrection`,RspnReqrdFlg:`ResponseRequiredFlag`,MinDispTm:`MinimumDisplayTime`,Instlmt:`Instalment`,AggtnTx:`AggregationTransaction`,PdctCdSetId:`ProductCodeSetIdentification`,SaleItm:`SaleItem`,ItmId:`ItemIdentification`,PdctCd:`ProductCode`,AddtlPdctCd:`AdditionalProductCode`,UnitOfMeasr:`UnitOfMeasure`,PdctQty:`ProductQuantity`,UnitPric:`UnitPrice`,UnitPricSgn:`UnitPriceSign`,PdctAmt:`ProductAmount`,PdctAmtSgn:`ProductAmountSign`,TaxTp:`TaxType`,PdctDesc:`ProductDescription`,DlvryLctn:`DeliveryLocation`,DlvrySvc:`DeliveryService`,SaleChanl:`SaleChannel`,AddtlPdctDesc:`AdditionalProductDescription`,ICCRltdData:`ICCRelatedData`,MrchntRefData:`MerchantReferenceData`,AcctFr:`AccountFrom`,SelctnMtd:`SelectionMethod`,SelctdAcctTp:`SelectedAccountType`,AcctNm:`AccountName`,AcctOwnr:`AccountOwner`,AcctIdr:`AccountIdentifier`,EMail:`EMail`,IBAN:`IBAN`,BBAN:`BBAN`,UPIC:`UPIC`,Dmst:`Domestic`,Svcr:`Servicer`,AnyBIC:`AnyBIC`,PrtryId:`ProprietaryIdentification`,AcctTo:`AccountTo`,AddtlTxData:`AdditionalTransactionData`,SplmtryData:`SupplementaryData`,PlcAndNm:`PlaceAndName`,Envlp:`Envelope`,SctyTrlr:`SecurityTrailer`,AuthstnRspn:`AuthorisationResponse`,AcqrrId:`AcquirerIdentification`,Acqrr:`Acquirer`,Issr:`Issuer`,ShrtNm:`ShortName`,MrchntId:`MerchantIdentification`,Mrchnt:`Merchant`,POIId:`POIIdentification`,RcptTxId:`RecipientTransactionIdentification`,IntrchngData:`InterchangeData`,Tkn:`Token`,TknXpryDt:`TokenExpiryDate`,TknChrtc:`TokenCharacteristic`,TknRqstr:`TokenRequestor`,PrvdrId:`ProviderIdentification`,RqstrId:`RequestorIdentification`,TknAssrncLvl:`TokenAssuranceLevel`,TknAssrncData:`TokenAssuranceData`,TxDtTm:`TransactionDateTime`,TxRef:`TransactionReference`,NtwkTp:`NetworkType`,AdrVal:`AddressValue`,UsrNm:`UserName`,AccsCd:`AccessCode`,SvrCert:`ServerCertificate`,SvrCertIdr:`ServerCertificateIdentifier`,ClntCert:`ClientCertificate`,SctyPrfl:`SecurityProfile`,ItmNb:`ItemNumber`,SrlNb:`SerialNumber`,Sts:`Status`,VrsnNb:`VersionNumber`,StdCmplc:`StandardCompliance`,Vrsn:`Version`,Chrtcs:`Characteristics`,Mmry:`Memory`,TtlSz:`TotalSize`,FreeSz:`FreeSize`,Unit:`Unit`,Com:`Communication`,ComTp:`CommunicationType`,RmotPty:`RemoteParty`,Actv:`Active`,SctyAccsMdls:`SecurityAccessModules`,SbcbrIdntyMdls:`SubscriberIdentityModules`,SctyElmt:`SecurityElement`,Assmnt:`Assessment`,Assgnr:`Assigner`,DlvryDt:`DeliveryDate`,XprtnDt:`ExpirationDate`,Nb:`Number`,PstlAdr:`PostalAddress`,Email:`Email`,URLAdr:`URLAddress`,Phne:`Phone`,CstmrSvc:`CustomerService`,AddtlCtctInf:`AdditionalContactInformation`,AdrLine:`AddressLine`,StrtNm:`StreetName`,PstCd:`PostCode`,TwnNm:`TownName`,CtrySubDvsn:`CountrySubDivision`,PstCdId:`PostCodeIdentification`,CountrySubDivision:`CountrySubDivision`,AdrTp:`AddressType`,Adr:`Address`,BldgNb:`BuildingNumber`,KeyId:`KeyIdentification`,KeyVrsn:`KeyVersion`,SeqNb:`SequenceNumber`,DerivtnId:`DerivationIdentification`,Sgn:`Sign`,CardDataNtryMd:`CardDataEntryMode`,TxRslt:`TransactionResult`,AuthstnNtty:`AuthorisationEntity`,RspnToAuthstn:`ResponseToAuthorisation`,RspnRsn:`ResponseReason`,Rspn:`Response`,AddtlRspnInf:`AdditionalResponseInformation`,AuthstnCd:`AuthorisationCode`,TxSeqCntr:`TransactionSequenceCounter`,ParamsVrsn:`ParametersVersion`,CtryCd:`CountryCode`,Ctry:`Country`,CnttTp:`ContentType`,EnvlpdData:`EnvelopedData`,NcrptdData:`EncryptedData`,Rcpt:`Recipient`,KeyNcrptnAlgo:`KeyEncryptionAlgorithm`,Algo:`Algorithm`,NcrptdKey:`EncryptedKey`,NcrptdCntt:`EncryptedContent`,CnttNcrptnAlgo:`ContentEncryptionAlgorithm`,InitlstnVctr:`InitialisationVector`,PmtCntxt:`PaymentContext`,CardPres:`CardPresent`,CrdhldrPres:`CardholderPresent`,Crdhldr:`Cardholder`,AttndncCntxt:`AttendanceContext`,AttndntMsgCpbl:`AttendantMessageCapable`,AttndntLang:`AttendantLanguage`,SaleCntxt:`SaleContext`,SaleId:`SaleIdentification`,SaleRefNb:`SaleReferenceNumber`,SaleRcncltnId:`SaleReconciliationIdentification`,AuthntcdData:`AuthenticatedData`,MACAlgo:`MACAlgorithm`,NcpsltdCntt:`EncapsulatedContent`,Param:`Parameter`,TxRspn:`TransactionResponse`,AuthstnRslt:`AuthorisationResult`,CmpltnReqrd:`CompletionRequired`,AccptrAuthstnRspn:`AcceptorAuthorisationResponse`,TxSucss:`TransactionSuccess`,Tx:`Transaction`,AccptrCmpltnAdvcRspn:`AcceptorCompletionAdviceResponse`,AccptrCmpltnAdvc:`AcceptorCompletionAdvice`,CmpltnAdvcRspn:`CompletionAdviceResponse`,CmpltnAdvc:`CompletionAdvice`,AccptrCxlAdvcRspn:`AcceptorCancellationAdviceResponse`,AccptrCxlAdvc:`AcceptorCancellationAdvice`,CxlAdvcRspn:`CancellationAdviceResponse`,CxlAdvc:`CancellationAdvice`,KEKId:`KEKIdentification`,AccptrRjctn:`AcceptorRejection`,RjctRsn:`RejectReason`,Rjct:`Reject`,MsgInErr:`MessageInError`,AccptrNonFinReq:`AcceptorNonFinancialRequest`,AccptrNonFinRspn:`AcceptorNonFinancialResponse`,AccptrTxLgRptReq:`AcceptorTransactionLogReportRequest`,AccptrTxLgRptRspn:`AcceptorTransactionLogReportResponse`,TermnlMgrId:`TerminalManagerIdentification`,StsRpt:`StatusReport`,DwnldTrf:`DownloadTransfer`,Cntt:`Content`,POICmpnt:`POIComponent`,MgmtPlanRplcmnt:`ManagementPlanReplacement`,MgmtPlan:`ManagementPlan`,FrmtVrsn:`FormatVersion`,RlayId:`RelayIdentification`,TracDtTmIn:`TraceDateTimeIn`,TracDtTmOut:`TraceDateTimeOut`,PrtcolNm:`ProtocolName`,SeqCntr:`SequenceCounter`,TMChllng:`TMChallenge`,RmotAccs:`RemoteAccess`,KeyNcphrmntCet:`KeyEnchiphermentCertificate`,Actn:`Action`,TMSPrtcol:`TMSProtocol`,TMSPrtcolVrsn:`TMSProtocolVersion`,DataSetId:`DataSetIdentification`,CmpntTp:`ComponentType`,DlgtnScpId:`DelegationScopeIdentification`,DlgtnScpDef:`DelegationScopeDefinition`,DlgtnProof:`DelegationProof`,PrtctdDlgtnProof:`ProtectedDelegationProof`,Trggr:`Trigger`,AddtlPrc:`AdditionalProcess`,MsgItm:`MessageItem`,Fctn:`Function`,SgndData:`SignedData`,DgstdData:`DigestedData`,OrgtrInf:`OriginatorInformation`,IssrAndSrlNb:`IssuerAndSerialNumber`,KeyIdr:`KeyIdentifier`,RltvDstngshdNm:`RelativeDistinguishedName`,NcrptnFrmt:`EncryptionFormat`,DgstAlgo:`DigestAlgorithm`,MskGnrtrAlgo:`MaskGeneratorAlgorithm`,BPddg:`BytePadding`,Sgnr:`Signer`,TrlrFld:`TrailerField`,WtgTm:`WaitingTime`,StartTm:`StartTime`,EndTm:`EndTime`,Prd:`Period`,MaxNb:`MaximumNumber`,AccptrCfgtnUpd:`AcceptorConfigurationUpdate`,AccptrCfgtn:`AcceptorConfiguration`,TMSPrtcolParams:`TMSProtocolParameters`,RplcCfgtn:`ReplaceConfiguration`,AcqrrPrtcolParams:`AcquirerProtocolParameters`,MrchntParams:`MerchantParameters`,TermnlParams:`TerminalParameters`,ApplParams:`ApplicationParameters`,HstComParams:`HostCommunicationParameters`,SctyParams:`SecurityParameters`,SaleToPOIParams:`SaleToPOIParameters`,TermnlPackg:`TerminalPackage`,Hst:`Host`,TermnlMgmtRjctn:`TerminalManagementRejection`,MntncDlgtnReq:`MaintenanceDelegationRequest`,MntncDlgtnRspn:`MaintenanceDelegationResponse`,CertMgmtReq:`CertificateManagementRequest`,CertSvc:`CertificateService`,SctyDomn:`SecurityDomain`,BinryCertfctnReq:`BinaryCertificateFunctionRequest`,CertfctnReq:`CertificationRequest`,CertMgmtRspn:`CertificateManagementResponse`,ClntCertPth:`ClientCertificatePath`,SvrCertPth:`ServerCertificatePath`,AttrTp:`AttributeType`,AttrVal:`AttributeValue`,SpprtdOptn:`SupportedOption`,AccptrDgnstcReq:`AcceptorDiagnosticRequest`,AccptrDgnstcRspn:`AcceptorDiagnosticResponse`,AccptrCxlReq:`AcceptorCancellationRequest`,AccptrCxlRspn:`AcceptorCancellationResponse`,DgnstcReq:`DiagnosticRequest`,POIDtTm:`POIDateTime`,AcqrrAvlbtyReqd:`AcquirerAvailabilityRequested`,Card:`Card`,ActnTp:`ActionType`,MsgToPres:`MessageToPresent`,Rtry:`Retry`,TmCond:`TimeCondition`,FrstPmtDtTm:`FirstPaymentDateTime`,LastPmtDtTm:`LastPaymentDateTime`,NbOfPmts:`NumberOfPayments`,IndvPmt:`IndividualPayment`,MAC:`MAC`,TMSTrggr:`TMSTrigger`,LwrBin:`LowerBin`,HghrBin:`HigherBin`,ImgFrmt:`ImageFormat`,ImgData:`ImageData`,ImgRef:`ImageReference`,DbtrId:`DebtorIdentification`,CdtrId:`CreditorIdentification`,MndtRltdInf:`MandateRelatedInformation`,DrctDbtCntxt:`DirectDebitContext`,SvcCntt:`ServiceContent`,DispRspn:`DisplayResponse`,InptRspn:`InputResponse`,PrtRspn:`PrintResponse`,ScrInptRspn:`SecureInputResponse`,CardRdrApplPrtcolDataUnitRspn:`CardReaderApplicationProtocolDataUnitResponse`,TrnsmssnRspn:`TransmissionResponse`,SvcPrvdr:`ServiceProvider`,Chck:`Check`,StordValAcct:`StoredValueAccount`,LltyAcct:`LoyaltyAccount`,MrchntTkn:`MerchantToken`,PaymentTkn:`PaymentToken`,SaleEnvt:`SaleEnvironment`,Rvsl:`Reversal`,FailrRsn:`FailureReason`,IssrCITId:`IssuerCITIdentification`,MrchntCITId:`MerchantCITIdentification`,MrchntOvrrd:`MerchantOverride`,AllwdPdctCd:`AllowedProductCode`,NotAllwdPdctCd:`NotAllowedProductCode`,AddtlAvlblPdct:`AdditionalAvailableProduct`,Bal:`Balance`,PrtctdBal:`ProtectedBalance`,CcyConvsElgblty:`CurrencyConversionEligibility`,KeepAuthstnOpn:`KeepAuthorisationOpen`,ReSubmissnCntr:`ReSubmissionCounter`,DmstAcct:`DomesticAccount`,BkId:`BankIdentification`,AcctNb:`AccountNumber`,ChckNb:`CheckNumber`,ChckCardNb:`CheckCardNumber`,ChckTrckData2:`CheckTrackData2`,ChckTp:`CheckType`,Params:`Parameters`,PhysIntrfc:`PhysicalInterface`,Cdtr:`Creditor`,RegnId:`RegistrationIdentification`,AddtlId:`AdditionalIdentification`,ActvtnDt:`ActivationDate`,DeactvtnDt:`DeactivationDate`,KeyVal:`KeyValue`,KeyChckVal:`KeyCheckValue`,AddtlMgmtInf:`AdditionalManagementInformation`,VldFr:`ValidFrom`,AplblBinRg:`ApplicableBinRange`,Prvdr:`Provider`,POIChllng:`POIChallenge`,SsnKey:`SessionKey`,Dbtr:`Debtor`,AcctId:`AccountIdentification`,DtTm:`DateTime`,OutptRslt:`OutputResult`,CardNtryMd:`CardEntryMode`,ICCRstData:`ICCResetData`,InptRslt:`InputResult`,PrtRslt:`PrintResult`,DocQlfr:`DocumentQualifier`,InitlstnCardRdrRspn:`InitialisationCardReaderResponse`,CrdhldrPIN:`CardholderPIN`,Data:`Data`,CardSts:`CardStatus`,RcvdMsg:`ReceivedMessage`,Dgst:`Digest`,SchmeNm:`SchemeName`,IdTp:`IdentificationType`,Tm:`Time`,UnitTp:`UnitType`,OthrUnitTp:`OtherUnitType`,ATRVal:`ATRValue`,DvcTp:`DeviceType`,InptRsltData:`InputResultData`,InptCmd:`InputCommand`,ConfdFlg:`ConfirmedFlag`,FctnKey:`FunctionKey`,InptMsg:`InputMessage`,Pwd:`Password`,ImgCaptrdSgntr:`ImageCapturedSignature`,OthrTp:`OtherType`,SubTp:`SubType`,Pctg:`Percentage`,RcptId:`RecipientIdentification`,LltyId:`LoyaltyIdentification`,NtryMd:`EntryMode`,Brnd:`Brand`,OwnrNm:`OwnerName`,MndtId:`MandateIdentification`,DtOfSgntr:`DateOfSignature`,MndtImg:`MandateImage`,TknAssrncMtd:`TokenAssuranceMethod`,TknInittdInd:`TokenInitiatedIndicator`,RegdIdr:`RegisteredIdentifier`,Cert:`Certificate`,PackgId:`PackageIdentification`,PackgLngth:`PackageLength`,OffsetStart:`OffsetStart`,OffsetEnd:`OffsetEnd`,PackgBlck:`PackageBlock`,SaltLngth:`SaltLength`,OIDCrvNm:`OIDCurveName`,NmAndAdr:`NameAndAddress`,OnLineCntxt:`OnLineContext`,TxEnvt:`TransactionEnvironment`,TxChanl:`TransactionChannel`,BizArea:`BusinessArea`,FllbckInd:`FallbackIndicator`,IntrfcNm:`InterfaceName`,IntrfcTp:`InterfaceType`,AddtlParams:`AdditionalParameters`,SubTpInf:`SubTypeInformation`,Packg:`Package`,SubDept:`SubDepartment`,Dely:`Delay`,UnitOfTm:`UnitOfTime`,AmtLmt:`AmountLimit`,QtyLmt:`QuantityLimit`,SbjtKeyIdr:`SubjectKeyIdentifier`,KeyTrnsprt:`KeyTransport`,KEK:`KEK`,InstlmtPlan:`InstalmentPlan`,PlanId:`PlanIdentification`,PlanOwnr:`PlanOwner`,PrdUnit:`PeriodUnit`,InstlmtPrd:`InstalmentPeriod`,TtlNbOfPmts:`TotalNumberOfPayments`,FrstPmtDt:`FirstPaymentDate`,FrstAmt:`FirstAmount`,SbsqntAmt:`SubsequentAmount`,LastAmt:`LastAmount`,Chrgs:`Charges`,DtldChrgs:`DetailedCharges`,IntrstRate:`InterestRate`,GracePrd:`GracePeriod`,PlanNtce:`PlanNotice`,SaleCpblties:`SaleCapabilities`,MinAmtToDlvr:`MinimumAmountToDeliver`,MaxCshBckAmt:`MaximumCashBackAmount`,MinSpltAmt:`MinimumSplitAmount`,DbtPrefrdFlg:`DebitPreferredFlag`,LltyHdlg:`LoyaltyHandling`,CshrId:`CashierIdentification`,CshrLang:`CashierLanguage`,ShftNb:`ShiftNumber`,CstmrOrdrReqFlg:`CustomerOrderRequestFlag`,PurchsOrdrNb:`PurchaseOrderNumber`,InvcNb:`InvoiceNumber`,DlvryNoteNb:`DeliveryNoteNumber`,SpnsrdMrchnt:`SponsoredMerchant`,SpltPmt:`SplitPayment`,RmngAmt:`RemainingAmount`,ForceOnlnFlg:`ForceOnlineFlag`,ReuseCardDataFlg:`ReuseCardDataFlag`,AllwdNtryMd:`AllowedEntryMode`,SaleTknScp:`SaleTokenScope`,AddtlSaleData:`AdditionalSaleData`,SgnrId:`SignerIdentification`,SgndAttrbts:`SignedAttributes`,SgntrAlgo:`SignatureAlgorithm`,Sgntr:`Signature`,InitgTrggr:`InitiatingTrigger`,DataSet:`DataSet`,POICpblties:`POICapabilities`,POIGrpId:`POIGroupIdentification`,DataSetReqrd:`DataSetRequired`,Evt:`Event`,Errs:`Errors`,LastSeq:`LastSequence`,TmStmp:`Timestamp`,ActnId:`ActionIdentification`,AddtlErrInf:`AdditionalErrorInformation`,DvcRspn:`DeviceResponse`,TMSCtctLvl:`TMSContactLevel`,TMSId:`TMSIdentification`,TMSCtctDtTm:`TMSContactDateTime`,TknRqstrId:`TokenRequestorIdentification`,TrckNb:`TrackNumber`,TrckFrmt:`TrackFormat`,TrckVal:`TrackValue`,TrggrSrc:`TriggerSource`,SrcId:`SourceIdentification`,TrggrTp:`TriggerType`,VhclNb:`VehicleNumber`,TrlrNb:`TrailerNumber`,VhclTag:`VehicleTag`,VhclTagNtryMd:`VehicleTagEntryMode`,UnitNb:`UnitNumber`,RplcmntCar:`ReplacementCar`,Odmtr:`Odometer`,Hbmtr:`Hubometer`,TrlrHrs:`TrailerHours`,RefrHrs:`ReferHours`,MntncId:`MaintenanceIdentification`,DrvrOrVhclCard:`DriverOrVehicleCard`,AddtlVhclData:`AdditionalVehicleData`,AcqrrAvlbl:`AcquirerAvailable`,DgnstcRspn:`DiagnosticResponse`,DispReq:`DisplayRequest`,DispOutpt:`DisplayOutput`,WarmRstFlg:`WarmResetFlag`,ForceNtryMd:`ForceEntryMode`,LeavCardFlg:`LeaveCardFlag`,MaxWtgTm:`MaximumWaitingTime`,OutptCntt:`OutputContent`,InptData:`InputData`,RspnMd:`ResponseMode`,RsrcActn:`ResourceAction`,SoundVol:`SoundVolume`,DispRsltn:`DisplayResolution`,Rsrc:`Resource`,TmgSlot:`TimingSlot`,PwrOffMaxWtgTm:`PowerOffMaximumWaitingTime`,IntgrtdPrtFlg:`IntegratedPrintFlag`,ReqrdSgntrFlg:`RequiredSignatureFlag`,PlayRsrcReq:`PlayResourceRequest`,ScrInptReq:`SecureInputRequest`,InptReq:`InputRequest`,PrtReq:`PrintRequest`,InitlstnCardRdrReq:`InitialisationCardReaderRequest`,CardRdrAPDUReq:`CardReaderAPDURequest`,TrnsmssnReq:`TransmissionRequest`,InptNtfctn:`InputNotification`,PwrOffCardRdrReq:`PowerOffCardReaderRequest`,PINReqTp:`PINRequestType`,PINVrfctnMtd:`PINVerificationMethod`,BeepKeyFlg:`BeepKeyFlag`,Clss:`Class`,Instr:`Instruction`,Param1:`Parameter1`,Param2:`Parameter2`,XpctdLngth:`ExpectedLength`,DstnAdr:`DestinationAddress`,MaxTrnsmssnTm:`MaximumTransmissionTime`,MsgToSnd:`MessageToSend`,ActnRslt:`ActionResult`,ActnToPrc:`ActionToProcess`,NtfyCardInptFlg:`NotifyCardInputFlag`,MaxInptTm:`MaximumInputTime`,InptTxt:`InputText`,ImdtRspnFlg:`ImmediateResponseFlag`,WaitUsrVldtnFlg:`WaitUserValidationFlag`,GblCrrctnFlg:`GlobalCorrectionFlag`,DsblCclFlg:`DisableCancelFlag`,DsblCrrctFlg:`DisableCorrectFlag`,DsblVldFlg:`DisableValidFlag`,MenuBckFlg:`MenuBackFlag`,KeyNcphrmntCert:`KeyEnciphermentCertificate`,Cond:`Condition`,RsrcTp:`ResourceType`,RsrcFrmt:`ResourceFormat`,RsrcRef:`ResourceReference`,Key:`Key`,ReTry:`ReTry`,ErrActn:`ErrorAction`,DvcReq:`DeviceRequest`,SvcPrvdrParams:`ServiceProviderParameters`,CfgtnScp:`ConfigurationScope`,HstId:`HostIdentification`,XtrnlyTpSpprtd:`ExternallyTypeSupported`,FinCaptr:`FinancialCapture`,BtchTrf:`BatchTransfer`,CmpltnXchg:`CompletionExchange`,CxlXchg:`CancellationExchange`,OffLineTx:`OffLineTransaction`,RcncltnXchg:`ReconciliationExchange`,RcncltnByAcqrr:`ReconciliationByAcquirer`,TtlsPerCcy:`TotalsPerCurrency`,SplitTtls:`SplitTotals`,SpltTtlCrit:`SplitTotalCriteria`,ApplId:`ApplicationIdentification`,OnLineTx:`OnLineTransaction`,CmpltnAdvcMndtd:`CompletionAdviceMandated`,AmtQlfrForRsvatn:`AmountQualifierForReservation`,RcncltnErr:`ReconciliationError`,CardDataVrfctn:`CardDataVerification`,NtfyOffLineCxl:`NotifyOffLineCancellation`,BtchTrfCntt:`BatchTransferContent`,FileTrfBtch:`FileTransferBatch`,BtchDgtlSgntr:`BatchDigitalSignature`,PrtctCardData:`ProtectCardData`,PrivCardData:`PrivateCardData`,MndtrySctyTrlr:`MandatorySecurityTrailer`,ParamFrmtIdr:`ParameterFormatIdentifier`,ParamsLngth:`ParametersLength`,NcrptdParams:`EncryptedParameters`,POITmZone:`POITimeZone`,SynctnSvr:`SynchronisationServer`,LclDtTm:`LocalDateTime`,XchgPlcy:`ExchangePolicy`,XchgFaild:`ExchangeFailed`,XchgDecld:`ExchangeDeclined`,NtwkSvcPrvdr:`NetworkServiceProvider`,FrDtTm:`FromDateTime`,ToDtTm:`ToDateTime`,UTCOffset:`UTCOffset`,Prxy:`Proxy`,OthrParamsLngth:`OtherParametersLength`,OthrParams:`OtherParameters`,Accs:`Access`,VndrId:`VendorIdentification`,ClckSynctn:`ClockSynchronisation`,TmZoneLine:`TimeZoneLine`,MrchntPOIId:`MerchantPOIIdentification`,AllwdSaleMsg:`AllowedSaleMessage`,AllwdPOIMsg:`AllowedPOIMessage`,AllwdPOISvc:`AllowedPOIService`,AllwdSaleDvc:`AllowedSaleDevice`,SvcPrvdrId:`ServiceProviderIdentification`,NonFinActnSpprtd:`NonFinancialActionSupported`,MntncSvc:`MaintenanceService`,InitgPtyId:`InitiatingPartyIdentification`,RcptPtyId:`RecipientPartyIdentification`,FileTrf:`FileTransfer`,POICmpntId:`POIComponentIdentification`},Xz=Object.fromEntries(Object.entries(Yz).map(([e,t])=>[t,e])),Zz={AcceptorAuthorisationRequest:`caaa.001.001.12`,AcceptorAuthorisationResponse:`caaa.002.001.12`,AcceptorCompletionAdvice:`caaa.003.001.12`,AcceptorCompletionAdviceResponse:`caaa.004.001.11`,AcceptorCancellationRequest:`caaa.005.001.12`,AcceptorCancellationResponse:`caaa.006.001.11`,AcceptorCancellationAdvice:`caaa.007.001.12`,AcceptorCancellationAdviceResponse:`caaa.008.001.11`,AcceptorReconciliationRequest:`caaa.009.001.11`,AcceptorReconciliationResponse:`caaa.010.001.10`,AcceptorBatchTransfer:`caaa.011.001.12`,AcceptorBatchTransferResponse:`caaa.012.001.11`,AcceptorDiagnosticRequest:`caaa.013.001.11`,AcceptorDiagnosticResponse:`caaa.014.001.10`,AcceptorRejection:`caaa.015.001.06`,AcceptorCurrencyConversionRequest:`caaa.016.001.10`,AcceptorCurrencyConversionResponse:`caaa.017.001.10`,AcceptorCurrencyConversionAdvice:`caaa.018.001.07`,AcceptorCurrencyConversionAdviceResponse:`caaa.019.001.06`,TransactionAdvice:`caaa.020.001.04`,TransactionAdviceResponse:`caaa.021.001.04`,AcceptorNonFinancialRequest:`caaa.022.001.03`,AcceptorNonFinancialResponse:`caaa.023.001.03`,AcceptorTransactionLogReportRequest:`caaa.024.001.03`,AcceptorTransactionLogReportResponse:`caaa.025.001.03`,StatusReport:`catm.001.001.09`,ManagementPlanReplacement:`catm.002.001.08`,AcceptorConfigurationUpdate:`catm.003.001.09`,TerminalManagementRejection:`catm.004.001.05`,MaintenanceDelegationRequest:`catm.005.001.06`,MaintenanceDelegationResponse:`catm.006.001.04`,CertificateManagementRequest:`catm.007.001.03`,CertificateManagementResponse:`catm.008.001.03`};Object.fromEntries(Object.entries(Zz).map(([e,t])=>[t,e]));function Mde(e){let t=new Lce({ignoreDeclaration:!0,numberParseOptions:{leadingZeros:!0,hex:!0,skipLike:/(\d*\.?\d+)/},transformTagName:e=>Yz[e]?Yz[e]:e}).parse(e),n=t;return t.Document&&(n=t.Document),n}function Nde(e){let t=(0,Dde.default)(e),n=Object.keys(e)[0];return t[`@xmlns`]=`urn:iso:std:iso:20022:tech:xsd:${Zz[n]||Zz[Yz[n]]}`,JSON.stringify(t,null,2)}function Pde(e,t){let n={format:!1,indentBy:``};t&&t.formatXML&&(n.format=t.formatXML),t&&t.indentBy&&(n.indentBy=t.indentBy);let r=new Jce(n).build(e),i=Object.keys(e)[0],a=Zz[i]||Zz[Yz[i]];for(r=`<?xml version=&#x22;1.0&#x22; encoding=&#x22;UTF-8&#x22;?><Document xmlns:None=&#x22;urn:iso:std:iso:20022:tech:xsd:${a}&#x22; xmlns:xsi=&#x22;http://www.w3.org/2001/XMLSchema-instance&#x22; xmlns=&#x22;urn:iso:std:iso:20022:tech:xsd:${a}&#x22;>`+r+`</Document>`;r.endsWith(`&#xA;`);)r=r.slice(0,-1);return r}function Qz(e){return jde(e,e=>Xz[e]?Xz[e]:e)}var Fde=(e,t)=>{let n=e.indexOf(`<${t}>`);if(n===-1)return null;let r=e.indexOf(`</${t}>`,n+t.length+2);return r===-1?null:e.substring(n,r+t.length+3)};function Ide(e){return e.trim().replace(/>\s+</g,`><`).replace(/<([^>]+)>/g,(e,t)=>`<${t.replace(/\s+/g,` `).trim()}>`)}function Lde(e){return eB(new TextEncoder().encode(e))}var $z=65535;function eB(e){let t=``;for(let n=0;n<e.length;n+=$z){let r=e.subarray(n,n+$z);t+=globalThis.btoa(String.fromCodePoint.apply(void 0,Array.from(r)))}return t}function Rde(e){return`AccptrAuthstnReq.AccptrAuthstnRspn.AccptrCmpltnAdvc.AccptrCmpltnAdvcRspn.AccptrCxlReq.AccptrCxlRspn.AccptrCxlAdvc.AccptrCxlAdvcRspn.AccptrRcncltnReq.AccptrRcncltnRspn.AccptrBtchTrf.AccptrBtchTrfRspn.AccptrDgnstcReq.AccptrDgnstcRspn.AccptrRjctn.AccptrCcyConvsReq.AccptrCcyConvsRspn.AccptrCcyConvsAdvc.AccptrCcyConvsAdvcRspn.TxAdvc.TxAdvcRspn.AccptrNonFinReq.AccptrNonFinRspn.AccptrTxLgRptReq.AccptrTxLgRptRspn.StsRpt.MgmtPlanRplcmnt.AccptrCfgtnUpd.TermnlMgmtRjctn.MntncDlgtnReq.MntncDlgtnRspn.CertMgmtReq.CertMgmtRspn.ATMDvcRpt.ATMDvcCtrl.ATMKeyDwnldReq.ATMKeyDwnldRspn.ATMDgnstcReq.ATMDgnstcRspn.HstToATMReq.HstToATMAck.ATMRcncltnAdvc.ATMRcncltnAck.ATMXcptnAdvc.ATMXcptnAck`.split(`.`).some(t=>e.includes(t))}function zde(e){return typeof e==`string`?JSON.parse(e):e||{}}var Bde=class e{inputRawXml;inputRawJson;header;body;securityTrailer;abbreviatedProperties;static DEFAULT_PROTOCOL_VERSION=`9.0`;static DEFAULT_FORMAT_VERSION=`9.0`;formatNexoXml(e){let t=e??this.abbreviatedProperties??!0,n=this.formatNexoJson();return t&&(n=Qz(n)),Pde(n)}formatNexoJson(){let e={[this.constructor.messageName]:{Header:this.header,[this.constructor.bodyKey]:this.body,SecurityTrailer:this.securityTrailer}};return this.constructor.normalisedSchema.parse(e)}formatAsJson(){return Nde(this.formatNexoJson())}checkValid(){let e={[this.constructor.messageName]:{Header:this.header,[this.constructor.bodyKey]:this.body,SecurityTrailer:this.securityTrailer}};return this.constructor.normalisedSchema.safeParse(e)}setHeader(e){return this.header=e,this}setHeaderProperty(e,t){return this.header||={},nL(this.header,e,t),this}hasHeaderProperty(e){return iL(this.header,e)}getHeaderProperty(e){return tL(this.header,e)}deleteHeaderProperty(e){return this.header||={},rL(this.header,e),this}setBody(e){return this.body=e,this}setBodyProperty(e,t){return this.body||={},nL(this.body,e,t),this}hasBodyProperty(e){return iL(this.body,e)}getBodyProperty(e){return tL(this.body,e)}deleteBodyProperty(e){return this.body||={},rL(this.body,e),this}setSecurityTrailer(e){return this.securityTrailer=e,this}setSecurityTrailerProperty(e,t){return this.securityTrailer||={},nL(this.securityTrailer,e,t),this}hasSecurityTrailerProperty(e){return iL(this.securityTrailer,e)}getSecurityTrailerProperty(e){return tL(this.securityTrailer,e)}deleteSecurityTrailerProperty(e){return this.securityTrailer||={},rL(this.securityTrailer,e),this}buildSecurityTrailerWithAuthenticatedData(e,t,n){if(n.length===0)throw Error(`At least one recipient is required`);return this.securityTrailer={ContentType:`authenticated_data`,AuthenticatedData:{Version:0,Recipient:n,MACAlgorithm:{Algorithm:t},EncapsulatedContent:{ContentType:`plain_data`},MAC:eB(e)}},this}isolateGeneratedXmlMessageBody(e){let t=e??this.abbreviatedProperties??!0,n=this.formatNexoXml(t);return this.isolateRawXmlMessageBody(n)}isolateRawXmlMessageBody(e){let t=e||this.inputRawXml;if(!t)throw Error(`No raw XML input provided`);let n=this.constructor.bodyKey,r=Qz({[n]:null});if(!r)throw Error(`Failed to abbreviate inner message key`);let i=Object.keys(r)[0],a;if(t.indexOf(`<${n}>`)!==-1)a=n;else if(t.indexOf(`<${i}>`)!==-1)a=i;else throw Error(`Expected body tag for message type ${String(this.constructor.messageName)} not found in xml (looked for ${n} and ${i})`);let o=Fde(t,a);if(!o)throw Error(`Message extraction failed for message type ${String(this.constructor.messageName)}`);return o}getRawInputAsB64(){let e;if(this.inputRawXml)e=this.inputRawXml;else if(this.inputRawJson)e=typeof this.inputRawJson==`string`?this.inputRawJson:JSON.stringify(this.inputRawJson);else throw Error(`No raw input available`);return Lde(e)}from(e){let t=e.ensureCompact??!0,n;if(e.rawXml)t?this.inputRawXml=Ide(e.rawXml):this.inputRawXml=e.rawXml,n=Mde(this.inputRawXml),Rde(this.inputRawXml)&&(this.abbreviatedProperties=!0);else if(e.rawJson)t?this.inputRawJson=JSON.stringify(e.rawJson):this.inputRawJson=e.rawJson,n=zde(e.rawJson);else throw Error(`No input provided`);let r=this.constructor.nexoSchema.parse(n);return this.header=r[this.constructor.messageName].Header,this.body=r[this.constructor.messageName][this.constructor.bodyKey],this.securityTrailer=r[this.constructor.messageName].SecurityTrailer,this}setDefaults(){return this.setHeaderProperty(`CreationDateTime`,new Date().toISOString()),this.setHeaderProperty(`ProtocolVersion`,e.DEFAULT_PROTOCOL_VERSION),this}constructor(e){}};function Vde(e){return e&&e.constructor&&typeof e.constructor.isBuffer==`function`&&e.constructor.isBuffer(e)}function Hde(e){return e}function tB(e,t){t||={};let n=t.delimiter||`.`,r=t.maxDepth,i=t.transformKey||Hde,a={};function o(e,s,c){c||=1,Object.keys(e).forEach(function(l){let u=e[l],d=t.safe&&Array.isArray(u),f=Object.prototype.toString.call(u),p=Vde(u),m=f===`[object Object]`||f===`[object Array]`,h=s?s+n+i(l):i(l);if(!d&&!p&&m&&Object.keys(u).length&&(!t.maxDepth||c<r))return o(u,h,c+1);a[h]=u})}return o(e),a}var Ude=`Amount is invalid.`,Wde=`Scale is invalid.`,Gde=`Currency is not decimal.`;function nB(e,t){if(!e)throw Error(`[Dinero.js] ${t}`)}function Kde({calculator:e,onCreate:t,formatter:n={toNumber:Number,toString:String}}){return function r({amount:i,currency:{code:a,base:o,exponent:s},scale:c=s}){let l={code:a,base:o,exponent:s};return t?.({amount:i,currency:l,scale:c}),{calculator:e,formatter:n,create:r,toJSON(){return{amount:i,currency:l,scale:c}}}}}var rB=function(e){return e[e.LT=-1]=`LT`,e[e.EQ=0]=`EQ`,e[e.GT=1]=`GT`,e}({});function iB(e){return(t,n)=>e.compare(t,n)===rB.EQ}function aB(e){return(t,n)=>e.compare(t,n)===rB.LT}function qde(e){let t=iB(e),n=aB(e),r=e.zero();return i=>{if(t(i,r))return r;if(n(i,r)){let t=e.decrement(r);return e.multiply(t,i)}return i}}function oB(e){return Array.isArray(e)}function Jde(e){return t=>oB(t)?t.reduce((t,n)=>e.multiply(t,n)):t}function Yde(e){let{multiply:t}=e;return e=>e.reduce((n,r,i)=>{let a=e.slice(i).reduce((e,n)=>t(e,n));return[...n,a]},[])}function sB(e){let t=Yde(e);return function(...[n,r]){let{amount:i,currency:a,scale:o}=n.toJSON(),{power:s,integerDivide:c,modulo:l}=e,u=t((oB(a.base)?a.base:[a.base]).map(e=>s(e,o))).reduce((e,t,n)=>{let r=e[n],i=c(r,t),a=l(r,t);return[...e.filter((e,t)=>t!==n),i,a]},[i]);return r?r({value:u,currency:a}):u}}function Xde(e){let t=sB(e),n=Jde(e),r=iB(e);return function(...[i,a]){let{currency:o,scale:s}=i.toJSON(),c=n(o.base),l=e.zero(),u=Array(10).fill(null).reduce(e.increment,l),d=oB(o.base),f=r(e.modulo(c,u),l);nB(!d&&f,Gde);let p=t(i),m=Zde(e,i.formatter)(p,s);return a?a({value:m,currency:o}):m}}function Zde(e,t){let n=qde(e),r=iB(e),i=aB(e),a=e.zero();return(e,o)=>{let s=t.toString(e[0]),c=t.toString(n(e[1])),l=t.toNumber(o),u=`${s}${l>0?`.${c.padStart(l,`0`)}`:``}`,d=r(e[0],a),f=i(e[1],a);return d&&f?`-${u}`:u}}function Qde(e){return e.toJSON()}function $de(...[e,t]){let{calculator:n}=e;return Xde(n)(e,t)}var cB=Qde;function efe(...[e,t]){let{calculator:n}=e;return sB(n)(e,t)}var lB=c({AED:()=>tfe,AFN:()=>nfe,ALL:()=>rfe,AMD:()=>ife,AOA:()=>afe,ARS:()=>ofe,AUD:()=>sfe,AWG:()=>cfe,AZN:()=>lfe,BAM:()=>ufe,BBD:()=>dfe,BDT:()=>ffe,BGN:()=>pfe,BHD:()=>mfe,BIF:()=>hfe,BMD:()=>gfe,BND:()=>_fe,BOB:()=>vfe,BOV:()=>yfe,BRL:()=>bfe,BSD:()=>xfe,BTN:()=>Sfe,BWP:()=>Cfe,BYN:()=>wfe,BZD:()=>Tfe,CAD:()=>Efe,CDF:()=>Dfe,CHE:()=>Ofe,CHF:()=>kfe,CHW:()=>Afe,CLF:()=>jfe,CLP:()=>Mfe,CNY:()=>Nfe,COP:()=>Pfe,COU:()=>Ffe,CRC:()=>Ife,CUP:()=>Lfe,CVE:()=>Rfe,CZK:()=>zfe,DJF:()=>Bfe,DKK:()=>Vfe,DOP:()=>Hfe,DZD:()=>Ufe,EGP:()=>Wfe,ERN:()=>Gfe,ETB:()=>Kfe,EUR:()=>qfe,FJD:()=>Jfe,FKP:()=>Yfe,GBP:()=>Xfe,GEL:()=>Zfe,GHS:()=>Qfe,GIP:()=>$fe,GMD:()=>epe,GNF:()=>tpe,GTQ:()=>npe,GYD:()=>rpe,HKD:()=>ipe,HNL:()=>ape,HTG:()=>ope,HUF:()=>spe,IDR:()=>cpe,ILS:()=>lpe,INR:()=>upe,IQD:()=>dpe,IRR:()=>fpe,ISK:()=>ppe,JMD:()=>mpe,JOD:()=>hpe,JPY:()=>gpe,KES:()=>_pe,KGS:()=>vpe,KHR:()=>ype,KMF:()=>bpe,KPW:()=>xpe,KRW:()=>Spe,KWD:()=>Cpe,KYD:()=>wpe,KZT:()=>Tpe,LAK:()=>Epe,LBP:()=>Dpe,LKR:()=>Ope,LRD:()=>kpe,LSL:()=>Ape,LYD:()=>jpe,MAD:()=>Mpe,MDL:()=>Npe,MGA:()=>Ppe,MKD:()=>Fpe,MMK:()=>Ipe,MNT:()=>Lpe,MOP:()=>Rpe,MRU:()=>zpe,MUR:()=>Bpe,MVR:()=>Vpe,MWK:()=>Hpe,MXN:()=>Upe,MXV:()=>Wpe,MYR:()=>Gpe,MZN:()=>Kpe,NAD:()=>qpe,NGN:()=>Jpe,NIO:()=>Ype,NOK:()=>Xpe,NPR:()=>Zpe,NZD:()=>Qpe,OMR:()=>$pe,PAB:()=>eme,PEN:()=>tme,PGK:()=>nme,PHP:()=>rme,PKR:()=>ime,PLN:()=>ame,PYG:()=>ome,QAR:()=>sme,RON:()=>cme,RSD:()=>lme,RUB:()=>ume,RWF:()=>dme,SAR:()=>fme,SBD:()=>pme,SCR:()=>mme,SDG:()=>hme,SEK:()=>gme,SGD:()=>_me,SHP:()=>vme,SLE:()=>yme,SOS:()=>bme,SRD:()=>xme,SSP:()=>Sme,STN:()=>Cme,SVC:()=>wme,SYP:()=>Tme,SZL:()=>Eme,THB:()=>Dme,TJS:()=>Ome,TMT:()=>kme,TND:()=>Ame,TOP:()=>jme,TRY:()=>Mme,TTD:()=>Nme,TWD:()=>Pme,TZS:()=>Fme,UAH:()=>Ime,UGX:()=>Lme,USD:()=>Rme,USN:()=>zme,UYI:()=>Bme,UYU:()=>Vme,UYW:()=>Hme,UZS:()=>Ume,VED:()=>Wme,VES:()=>Gme,VND:()=>Kme,VUV:()=>qme,WST:()=>Jme,XAD:()=>Yme,XAF:()=>Xme,XCD:()=>Zme,XCG:()=>Qme,XOF:()=>$me,XPF:()=>ehe,YER:()=>the,ZAR:()=>nhe,ZMW:()=>rhe,ZWG:()=>ihe}),tfe={code:`AED`,base:10,exponent:2},nfe={code:`AFN`,base:10,exponent:2},rfe={code:`ALL`,base:10,exponent:2},ife={code:`AMD`,base:10,exponent:2},afe={code:`AOA`,base:10,exponent:2},ofe={code:`ARS`,base:10,exponent:2},sfe={code:`AUD`,base:10,exponent:2},cfe={code:`AWG`,base:10,exponent:2},lfe={code:`AZN`,base:10,exponent:2},ufe={code:`BAM`,base:10,exponent:2},dfe={code:`BBD`,base:10,exponent:2},ffe={code:`BDT`,base:10,exponent:2},pfe={code:`BGN`,base:10,exponent:2},mfe={code:`BHD`,base:10,exponent:3},hfe={code:`BIF`,base:10,exponent:0},gfe={code:`BMD`,base:10,exponent:2},_fe={code:`BND`,base:10,exponent:2},vfe={code:`BOB`,base:10,exponent:2},yfe={code:`BOV`,base:10,exponent:2},bfe={code:`BRL`,base:10,exponent:2},xfe={code:`BSD`,base:10,exponent:2},Sfe={code:`BTN`,base:10,exponent:2},Cfe={code:`BWP`,base:10,exponent:2},wfe={code:`BYN`,base:10,exponent:2},Tfe={code:`BZD`,base:10,exponent:2},Efe={code:`CAD`,base:10,exponent:2},Dfe={code:`CDF`,base:10,exponent:2},Ofe={code:`CHE`,base:10,exponent:2},kfe={code:`CHF`,base:10,exponent:2},Afe={code:`CHW`,base:10,exponent:2},jfe={code:`CLF`,base:10,exponent:4},Mfe={code:`CLP`,base:10,exponent:0},Nfe={code:`CNY`,base:10,exponent:2},Pfe={code:`COP`,base:10,exponent:2},Ffe={code:`COU`,base:10,exponent:2},Ife={code:`CRC`,base:10,exponent:2},Lfe={code:`CUP`,base:10,exponent:2},Rfe={code:`CVE`,base:10,exponent:2},zfe={code:`CZK`,base:10,exponent:2},Bfe={code:`DJF`,base:10,exponent:0},Vfe={code:`DKK`,base:10,exponent:2},Hfe={code:`DOP`,base:10,exponent:2},Ufe={code:`DZD`,base:10,exponent:2},Wfe={code:`EGP`,base:10,exponent:2},Gfe={code:`ERN`,base:10,exponent:2},Kfe={code:`ETB`,base:10,exponent:2},qfe={code:`EUR`,base:10,exponent:2},Jfe={code:`FJD`,base:10,exponent:2},Yfe={code:`FKP`,base:10,exponent:2},Xfe={code:`GBP`,base:10,exponent:2},Zfe={code:`GEL`,base:10,exponent:2},Qfe={code:`GHS`,base:10,exponent:2},$fe={code:`GIP`,base:10,exponent:2},epe={code:`GMD`,base:10,exponent:2},tpe={code:`GNF`,base:10,exponent:0},npe={code:`GTQ`,base:10,exponent:2},rpe={code:`GYD`,base:10,exponent:2},ipe={code:`HKD`,base:10,exponent:2},ape={code:`HNL`,base:10,exponent:2},ope={code:`HTG`,base:10,exponent:2},spe={code:`HUF`,base:10,exponent:2},cpe={code:`IDR`,base:10,exponent:2},lpe={code:`ILS`,base:10,exponent:2},upe={code:`INR`,base:10,exponent:2},dpe={code:`IQD`,base:10,exponent:3},fpe={code:`IRR`,base:10,exponent:2},ppe={code:`ISK`,base:10,exponent:0},mpe={code:`JMD`,base:10,exponent:2},hpe={code:`JOD`,base:10,exponent:3},gpe={code:`JPY`,base:10,exponent:0},_pe={code:`KES`,base:10,exponent:2},vpe={code:`KGS`,base:10,exponent:2},ype={code:`KHR`,base:10,exponent:2},bpe={code:`KMF`,base:10,exponent:0},xpe={code:`KPW`,base:10,exponent:2},Spe={code:`KRW`,base:10,exponent:0},Cpe={code:`KWD`,base:10,exponent:3},wpe={code:`KYD`,base:10,exponent:2},Tpe={code:`KZT`,base:10,exponent:2},Epe={code:`LAK`,base:10,exponent:2},Dpe={code:`LBP`,base:10,exponent:2},Ope={code:`LKR`,base:10,exponent:2},kpe={code:`LRD`,base:10,exponent:2},Ape={code:`LSL`,base:10,exponent:2},jpe={code:`LYD`,base:10,exponent:3},Mpe={code:`MAD`,base:10,exponent:2},Npe={code:`MDL`,base:10,exponent:2},Ppe={code:`MGA`,base:5,exponent:1},Fpe={code:`MKD`,base:10,exponent:2},Ipe={code:`MMK`,base:10,exponent:2},Lpe={code:`MNT`,base:10,exponent:2},Rpe={code:`MOP`,base:10,exponent:2},zpe={code:`MRU`,base:5,exponent:1},Bpe={code:`MUR`,base:10,exponent:2},Vpe={code:`MVR`,base:10,exponent:2},Hpe={code:`MWK`,base:10,exponent:2},Upe={code:`MXN`,base:10,exponent:2},Wpe={code:`MXV`,base:10,exponent:2},Gpe={code:`MYR`,base:10,exponent:2},Kpe={code:`MZN`,base:10,exponent:2},qpe={code:`NAD`,base:10,exponent:2},Jpe={code:`NGN`,base:10,exponent:2},Ype={code:`NIO`,base:10,exponent:2},Xpe={code:`NOK`,base:10,exponent:2},Zpe={code:`NPR`,base:10,exponent:2},Qpe={code:`NZD`,base:10,exponent:2},$pe={code:`OMR`,base:10,exponent:3},eme={code:`PAB`,base:10,exponent:2},tme={code:`PEN`,base:10,exponent:2},nme={code:`PGK`,base:10,exponent:2},rme={code:`PHP`,base:10,exponent:2},ime={code:`PKR`,base:10,exponent:2},ame={code:`PLN`,base:10,exponent:2},ome={code:`PYG`,base:10,exponent:0},sme={code:`QAR`,base:10,exponent:2},cme={code:`RON`,base:10,exponent:2},lme={code:`RSD`,base:10,exponent:2},ume={code:`RUB`,base:10,exponent:2},dme={code:`RWF`,base:10,exponent:0},fme={code:`SAR`,base:10,exponent:2},pme={code:`SBD`,base:10,exponent:2},mme={code:`SCR`,base:10,exponent:2},hme={code:`SDG`,base:10,exponent:2},gme={code:`SEK`,base:10,exponent:2},_me={code:`SGD`,base:10,exponent:2},vme={code:`SHP`,base:10,exponent:2},yme={code:`SLE`,base:10,exponent:2},bme={code:`SOS`,base:10,exponent:2},xme={code:`SRD`,base:10,exponent:2},Sme={code:`SSP`,base:10,exponent:2},Cme={code:`STN`,base:10,exponent:2},wme={code:`SVC`,base:10,exponent:2},Tme={code:`SYP`,base:10,exponent:2},Eme={code:`SZL`,base:10,exponent:2},Dme={code:`THB`,base:10,exponent:2},Ome={code:`TJS`,base:10,exponent:2},kme={code:`TMT`,base:10,exponent:2},Ame={code:`TND`,base:10,exponent:3},jme={code:`TOP`,base:10,exponent:2},Mme={code:`TRY`,base:10,exponent:2},Nme={code:`TTD`,base:10,exponent:2},Pme={code:`TWD`,base:10,exponent:2},Fme={code:`TZS`,base:10,exponent:2},Ime={code:`UAH`,base:10,exponent:2},Lme={code:`UGX`,base:10,exponent:0},Rme={code:`USD`,base:10,exponent:2},zme={code:`USN`,base:10,exponent:2},Bme={code:`UYI`,base:10,exponent:0},Vme={code:`UYU`,base:10,exponent:2},Hme={code:`UYW`,base:10,exponent:4},Ume={code:`UZS`,base:10,exponent:2},Wme={code:`VED`,base:10,exponent:2},Gme={code:`VES`,base:10,exponent:2},Kme={code:`VND`,base:10,exponent:0},qme={code:`VUV`,base:10,exponent:0},Jme={code:`WST`,base:10,exponent:2},Yme={code:`XAD`,base:10,exponent:2},Xme={code:`XAF`,base:10,exponent:0},Zme={code:`XCD`,base:10,exponent:2},Qme={code:`XCG`,base:10,exponent:2},$me={code:`XOF`,base:10,exponent:0},ehe={code:`XPF`,base:10,exponent:0},the={code:`YER`,base:10,exponent:2},nhe={code:`ZAR`,base:10,exponent:2},rhe={code:`ZMW`,base:10,exponent:2},ihe={code:`ZWG`,base:10,exponent:2},ahe=(e,t)=>e+t,ohe=(e,t)=>e<t?rB.LT:e>t?rB.GT:rB.EQ,she=e=>e-1,che=e=>e+1,lhe=(e,t)=>Math.trunc(e/t),uhe=(e,t)=>e%t,dhe=(e,t)=>e*t,fhe=(e,t)=>e**t,phe=(e,t)=>e-t;function mhe(){return 0}var uB=Kde({calculator:{add:ahe,compare:ohe,decrement:she,increment:che,integerDivide:lhe,modulo:uhe,multiply:dhe,power:fhe,subtract:phe,zero:mhe},onCreate({amount:e,scale:t}){nB(Number.isInteger(e),Ude),nB(Number.isInteger(t),Wde)}}),dB=9e15,fB=1e9,pB=`0123456789abcdef`,mB=`2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058`,hB=`3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789`,gB={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-dB,maxE:dB,crypto:!1},_B,vB,yB=!0,bB=`[DecimalError] `,xB=bB+`Invalid argument: `,SB=bB+`Precision limit exceeded`,CB=bB+`crypto unavailable`,wB=`[object Decimal]`,TB=Math.floor,EB=Math.pow,hhe=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,ghe=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,_he=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,DB=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,OB=1e7,kB=7,vhe=9007199254740991,yhe=mB.length-1,AB=hB.length-1,B={toStringTag:wB};B.absoluteValue=B.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),IB(e)},B.ceil=function(){return IB(new this.constructor(this),this.e+1,2)},B.clampedTo=B.clamp=function(e,t){var n,r=this,i=r.constructor;if(e=new i(e),t=new i(t),!e.s||!t.s)return new i(NaN);if(e.gt(t))throw Error(xB+t);return n=r.cmp(e),n<0?e:r.cmp(t)>0?t:new i(r)},B.comparedTo=B.cmp=function(e){var t,n,r,i,a=this,o=a.d,s=(e=new a.constructor(e)).d,c=a.s,l=e.s;if(!o||!s)return!c||!l?NaN:c===l?o===s?0:!o^c<0?1:-1:c;if(!o[0]||!s[0])return o[0]?c:s[0]?-l:0;if(c!==l)return c;if(a.e!==e.e)return a.e>e.e^c<0?1:-1;for(r=o.length,i=s.length,t=0,n=r<i?r:i;t<n;++t)if(o[t]!==s[t])return o[t]>s[t]^c<0?1:-1;return r===i?0:r>i^c<0?1:-1},B.cosine=B.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+kB,r.rounding=1,n=bhe(r,QB(r,n)),r.precision=e,r.rounding=t,IB(vB==2||vB==3?n.neg():n,e,t,!0)):new r(1):new r(NaN)},B.cubeRoot=B.cbrt=function(){var e,t,n,r,i,a,o,s,c,l,u=this,d=u.constructor;if(!u.isFinite()||u.isZero())return new d(u);for(yB=!1,a=u.s*EB(u.s*u,1/3),!a||Math.abs(a)==1/0?(n=jB(u.d),e=u.e,(a=(e-n.length+1)%3)&&(n+=a==1||a==-2?`0`:`00`),a=EB(n,1/3),e=TB((e+1)/3)-(e%3==(e<0?-1:2)),a==1/0?n=`5e`+e:(n=a.toExponential(),n=n.slice(0,n.indexOf(`e`)+1)+e),r=new d(n),r.s=u.s):r=new d(a.toString()),o=(e=d.precision)+3;;)if(s=r,c=s.times(s).times(s),l=c.plus(u),r=FB(l.plus(u).times(s),l.plus(c),o+2,1),jB(s.d).slice(0,o)===(n=jB(r.d)).slice(0,o))if(n=n.slice(o-3,o+1),n==`9999`||!i&&n==`4999`){if(!i&&(IB(s,e+1,0),s.times(s).times(s).eq(u))){r=s;break}o+=4,i=1}else{(!+n||!+n.slice(1)&&n.charAt(0)==`5`)&&(IB(r,e+1,1),t=!r.times(r).times(r).eq(u));break}return yB=!0,IB(r,e,d.rounding,t)},B.decimalPlaces=B.dp=function(){var e,t=this.d,n=NaN;if(t){if(e=t.length-1,n=(e-TB(this.e/kB))*kB,e=t[e],e)for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},B.dividedBy=B.div=function(e){return FB(this,new this.constructor(e))},B.dividedToIntegerBy=B.divToInt=function(e){var t=this,n=t.constructor;return IB(FB(t,new n(e),0,1,1),n.precision,n.rounding)},B.equals=B.eq=function(e){return this.cmp(e)===0},B.floor=function(){return IB(new this.constructor(this),this.e+1,3)},B.greaterThan=B.gt=function(e){return this.cmp(e)>0},B.greaterThanOrEqualTo=B.gte=function(e){var t=this.cmp(e);return t==1||t===0},B.hyperbolicCosine=B.cosh=function(){var e,t,n,r,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;n=o.precision,r=o.rounding,o.precision=n+Math.max(a.e,a.sd())+4,o.rounding=1,i=a.d.length,i<32?(e=Math.ceil(i/3),t=(1/ZB(4,e)).toString()):(e=16,t=`2.3283064365386962890625e-10`),a=XB(o,1,a.times(t),new o(1),!0);for(var c,l=e,u=new o(8);l--;)c=a.times(a),a=s.minus(c.times(u.minus(c.times(u))));return IB(a,o.precision=n,o.rounding=r,!0)},B.hyperbolicSine=B.sinh=function(){var e,t,n,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(t=a.precision,n=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,r=i.d.length,r<3)i=XB(a,2,i,i,!0);else{e=1.4*Math.sqrt(r),e=e>16?16:e|0,i=i.times(1/ZB(5,e)),i=XB(a,2,i,i,!0);for(var o,s=new a(5),c=new a(16),l=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(c.times(o).plus(l))))}return a.precision=t,a.rounding=n,IB(i,t,n,!0)},B.hyperbolicTangent=B.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,FB(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},B.inverseCosine=B.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),i=n.precision,a=n.rounding;return r===-1?t.isZero()?BB(n,i+4,a).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),e=BB(n,i+4,a).times(.5),n.precision=i,n.rounding=a,e.minus(t)):r===0?t.isNeg()?BB(n,i,a):new n(0):new n(NaN)},B.inverseHyperbolicCosine=B.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,yB=!1,n=n.times(n).minus(1).sqrt().plus(n),yB=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},B.inverseHyperbolicSine=B.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,yB=!1,n=n.times(n).plus(1).sqrt().plus(n),yB=!0,r.precision=e,r.rounding=t,n.ln())},B.inverseHyperbolicTangent=B.atanh=function(){var e,t,n,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,t=a.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?IB(new a(i),e,t,!0):(a.precision=n=r-i.e,i=FB(i.plus(1),new a(1).minus(i),n+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=t,i.times(.5))):new a(NaN)},B.inverseSine=B.asin=function(){var e,t,n,r,i=this,a=i.constructor;return i.isZero()?new a(i):(t=i.abs().cmp(1),n=a.precision,r=a.rounding,t===-1?(a.precision=n+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=n,a.rounding=r,i.times(2)):t===0?(e=BB(a,n+4,r).times(.5),e.s=i.s,e):new a(NaN))},B.inverseTangent=B.atan=function(){var e,t,n,r,i,a,o,s,c,l=this,u=l.constructor,d=u.precision,f=u.rounding;if(!l.isFinite()){if(!l.s)return new u(NaN);if(d+4<=AB)return o=BB(u,d+4,f).times(.5),o.s=l.s,o}else if(l.isZero())return new u(l);else if(l.abs().eq(1)&&d+4<=AB)return o=BB(u,d+4,f).times(.25),o.s=l.s,o;for(u.precision=s=d+10,u.rounding=1,n=Math.min(28,s/kB+2|0),e=n;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(yB=!1,t=Math.ceil(s/kB),r=1,c=l.times(l),o=new u(l),i=l;e!==-1;)if(i=i.times(c),a=o.minus(i.div(r+=2)),i=i.times(c),o=a.plus(i.div(r+=2)),o.d[t]!==void 0)for(e=t;o.d[e]===a.d[e]&&e--;);return n&&(o=o.times(2<<n-1)),yB=!0,IB(o,u.precision=d,u.rounding=f,!0)},B.isFinite=function(){return!!this.d},B.isInteger=B.isInt=function(){return!!this.d&&TB(this.e/kB)>this.d.length-2},B.isNaN=function(){return!this.s},B.isNegative=B.isNeg=function(){return this.s<0},B.isPositive=B.isPos=function(){return this.s>0},B.isZero=function(){return!!this.d&&this.d[0]===0},B.lessThan=B.lt=function(e){return this.cmp(e)<0},B.lessThanOrEqualTo=B.lte=function(e){return this.cmp(e)<1},B.logarithm=B.log=function(e){var t,n,r,i,a,o,s,c,l=this,u=l.constructor,d=u.precision,f=u.rounding,p=5;if(e==null)e=new u(10),t=!0;else{if(e=new u(e),n=e.d,e.s<0||!n||!n[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(n=l.d,l.s<0||!n||!n[0]||l.eq(1))return new u(n&&!n[0]?-1/0:l.s==1?n?0:1/0:NaN);if(t)if(n.length>1)a=!0;else{for(i=n[0];i%10==0;)i/=10;a=i!==1}if(yB=!1,s=d+p,o=qB(l,s),r=t?zB(u,s+10):qB(e,s),c=FB(o,r,s,1),NB(c.d,i=d,f))do if(s+=10,o=qB(l,s),r=t?zB(u,s+10):qB(e,s),c=FB(o,r,s,1),!a){+jB(c.d).slice(i+1,i+15)+1==0x5af3107a4000&&(c=IB(c,d+1,0));break}while(NB(c.d,i+=10,f));return yB=!0,IB(c,d,f)},B.minus=B.sub=function(e){var t,n,r,i,a,o,s,c,l,u,d,f,p=this,m=p.constructor;if(e=new m(e),!p.d||!e.d)return!p.s||!e.s?e=new m(NaN):p.d?e.s=-e.s:e=new m(e.d||p.s!==e.s?p:NaN),e;if(p.s!=e.s)return e.s=-e.s,p.plus(e);if(l=p.d,f=e.d,s=m.precision,c=m.rounding,!l[0]||!f[0]){if(f[0])e.s=-e.s;else if(l[0])e=new m(p);else return new m(c===3?-0:0);return yB?IB(e,s,c):e}if(n=TB(e.e/kB),u=TB(p.e/kB),l=l.slice(),a=u-n,a){for(d=a<0,d?(t=l,a=-a,o=f.length):(t=f,n=u,o=l.length),r=Math.max(Math.ceil(s/kB),o)+2,a>r&&(a=r,t.length=1),t.reverse(),r=a;r--;)t.push(0);t.reverse()}else{for(r=l.length,o=f.length,d=r<o,d&&(o=r),r=0;r<o;r++)if(l[r]!=f[r]){d=l[r]<f[r];break}a=0}for(d&&(t=l,l=f,f=t,e.s=-e.s),o=l.length,r=f.length-o;r>0;--r)l[o++]=0;for(r=f.length;r>a;){if(l[--r]<f[r]){for(i=r;i&&l[--i]===0;)l[i]=OB-1;--l[i],l[r]+=OB}l[r]-=f[r]}for(;l[--o]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(e.d=l,e.e=RB(l,n),yB?IB(e,s,c):e):new m(c===3?-0:0)},B.modulo=B.mod=function(e){var t,n=this,r=n.constructor;return e=new r(e),!n.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||n.d&&!n.d[0]?IB(new r(n),r.precision,r.rounding):(yB=!1,r.modulo==9?(t=FB(n,e.abs(),0,3,1),t.s*=e.s):t=FB(n,e,0,r.modulo,1),t=t.times(e),yB=!0,n.minus(t))},B.naturalExponential=B.exp=function(){return KB(this)},B.naturalLogarithm=B.ln=function(){return qB(this)},B.negated=B.neg=function(){var e=new this.constructor(this);return e.s=-e.s,IB(e)},B.plus=B.add=function(e){var t,n,r,i,a,o,s,c,l,u,d=this,f=d.constructor;if(e=new f(e),!d.d||!e.d)return!d.s||!e.s?e=new f(NaN):d.d||(e=new f(e.d||d.s===e.s?d:NaN)),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(l=d.d,u=e.d,s=f.precision,c=f.rounding,!l[0]||!u[0])return u[0]||(e=new f(d)),yB?IB(e,s,c):e;if(a=TB(d.e/kB),r=TB(e.e/kB),l=l.slice(),i=a-r,i){for(i<0?(n=l,i=-i,o=u.length):(n=u,r=a,o=l.length),a=Math.ceil(s/kB),o=a>o?a+1:o+1,i>o&&(i=o,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(o=l.length,i=u.length,o-i<0&&(i=o,n=u,u=l,l=n),t=0;i;)t=(l[--i]=l[i]+u[i]+t)/OB|0,l[i]%=OB;for(t&&(l.unshift(t),++r),o=l.length;l[--o]==0;)l.pop();return e.d=l,e.e=RB(l,r),yB?IB(e,s,c):e},B.precision=B.sd=function(e){var t,n=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(xB+e);return n.d?(t=VB(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},B.round=function(){var e=this,t=e.constructor;return IB(new t(e),e.e+1,t.rounding)},B.sine=B.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+kB,r.rounding=1,n=She(r,QB(r,n)),r.precision=e,r.rounding=t,IB(vB>2?n.neg():n,e,t,!0)):new r(NaN)},B.squareRoot=B.sqrt=function(){var e,t,n,r,i,a,o=this,s=o.d,c=o.e,l=o.s,u=o.constructor;if(l!==1||!s||!s[0])return new u(!l||l<0&&(!s||s[0])?NaN:s?o:1/0);for(yB=!1,l=Math.sqrt(+o),l==0||l==1/0?(t=jB(s),(t.length+c)%2==0&&(t+=`0`),l=Math.sqrt(t),c=TB((c+1)/2)-(c<0||c%2),l==1/0?t=`5e`+c:(t=l.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+c),r=new u(t)):r=new u(l.toString()),n=(c=u.precision)+3;;)if(a=r,r=a.plus(FB(o,a,n+2,1)).times(.5),jB(a.d).slice(0,n)===(t=jB(r.d)).slice(0,n))if(t=t.slice(n-3,n+1),t==`9999`||!i&&t==`4999`){if(!i&&(IB(a,c+1,0),a.times(a).eq(o))){r=a;break}n+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)==`5`)&&(IB(r,c+1,1),e=!r.times(r).eq(o));break}return yB=!0,IB(r,c,u.rounding,e)},B.tangent=B.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,n=n.sin(),n.s=1,n=FB(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,IB(vB==2||vB==4?n.neg():n,e,t,!0)):new r(NaN)},B.times=B.mul=function(e){var t,n,r,i,a,o,s,c,l,u=this,d=u.constructor,f=u.d,p=(e=new d(e)).d;if(e.s*=u.s,!f||!f[0]||!p||!p[0])return new d(!e.s||f&&!f[0]&&!p||p&&!p[0]&&!f?NaN:!f||!p?e.s/0:e.s*0);for(n=TB(u.e/kB)+TB(e.e/kB),c=f.length,l=p.length,c<l&&(a=f,f=p,p=a,o=c,c=l,l=o),a=[],o=c+l,r=o;r--;)a.push(0);for(r=l;--r>=0;){for(t=0,i=c+r;i>r;)s=a[i]+p[r]*f[i-r-1]+t,a[i--]=s%OB|0,t=s/OB|0;a[i]=(a[i]+t)%OB|0}for(;!a[--o];)a.pop();return t?++n:a.shift(),e.d=a,e.e=RB(a,n),yB?IB(e,d.precision,d.rounding):e},B.toBinary=function(e,t){return $B(this,2,e,t)},B.toDecimalPlaces=B.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(MB(e,0,fB),t===void 0?t=r.rounding:MB(t,0,8),IB(n,e+n.e+1,t))},B.toExponential=function(e,t){var n,r=this,i=r.constructor;return e===void 0?n=LB(r,!0):(MB(e,0,fB),t===void 0?t=i.rounding:MB(t,0,8),r=IB(new i(r),e+1,t),n=LB(r,!0,e+1)),r.isNeg()&&!r.isZero()?`-`+n:n},B.toFixed=function(e,t){var n,r,i=this,a=i.constructor;return e===void 0?n=LB(i):(MB(e,0,fB),t===void 0?t=a.rounding:MB(t,0,8),r=IB(new a(i),e+i.e+1,t),n=LB(r,!1,e+r.e+1)),i.isNeg()&&!i.isZero()?`-`+n:n},B.toFraction=function(e){var t,n,r,i,a,o,s,c,l,u,d,f,p=this,m=p.d,h=p.constructor;if(!m)return new h(p);if(l=n=new h(1),r=c=new h(0),t=new h(r),a=t.e=VB(m)-p.e-1,o=a%kB,t.d[0]=EB(10,o<0?kB+o:o),e==null)e=a>0?t:l;else{if(s=new h(e),!s.isInt()||s.lt(l))throw Error(xB+s);e=s.gt(t)?a>0?t:l:s}for(yB=!1,s=new h(jB(m)),u=h.precision,h.precision=a=m.length*kB*2;d=FB(s,t,0,1,1),i=n.plus(d.times(r)),i.cmp(e)!=1;)n=r,r=i,i=l,l=c.plus(d.times(i)),c=i,i=t,t=s.minus(d.times(i)),s=i;return i=FB(e.minus(n),r,0,1,1),c=c.plus(i.times(l)),n=n.plus(i.times(r)),c.s=l.s=p.s,f=FB(l,r,a,1).minus(p).abs().cmp(FB(c,n,a,1).minus(p).abs())<1?[l,r]:[c,n],h.precision=u,yB=!0,f},B.toHexadecimal=B.toHex=function(e,t){return $B(this,16,e,t)},B.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),e==null){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),t===void 0?t=r.rounding:MB(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&=n.s,e}return e.d[0]?(yB=!1,n=FB(n,e,0,t,1).times(e),yB=!0,IB(n)):(e.s=n.s,n=e),n},B.toNumber=function(){return+this},B.toOctal=function(e,t){return $B(this,8,e,t)},B.toPower=B.pow=function(e){var t,n,r,i,a,o,s=this,c=s.constructor,l=+(e=new c(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new c(EB(+s,l));if(s=new c(s),s.eq(1))return s;if(r=c.precision,a=c.rounding,e.eq(1))return IB(s,r,a);if(t=TB(e.e/kB),t>=e.d.length-1&&(n=l<0?-l:l)<=vhe)return i=UB(c,s,n,r),e.s<0?new c(1).div(i):IB(i,r,a);if(o=s.s,o<0){if(t<e.d.length-1)return new c(NaN);if(e.d[t]&1||(o=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=o,s}return n=EB(+s,l),t=n==0||!isFinite(n)?TB(l*(Math.log(`0.`+jB(s.d))/Math.LN10+s.e+1)):new c(n+``).e,t>c.maxE+1||t<c.minE-1?new c(t>0?o/0:0):(yB=!1,c.rounding=s.s=1,n=Math.min(12,(t+``).length),i=KB(e.times(qB(s,r+n)),r),i.d&&(i=IB(i,r+5,1),NB(i.d,r,a)&&(t=r+10,i=IB(KB(e.times(qB(s,t+n)),t),t+5,1),+jB(i.d).slice(r+1,r+15)+1==0x5af3107a4000&&(i=IB(i,r+1,0)))),i.s=o,yB=!0,c.rounding=a,IB(i,r,a))},B.toPrecision=function(e,t){var n,r=this,i=r.constructor;return e===void 0?n=LB(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(MB(e,1,fB),t===void 0?t=i.rounding:MB(t,0,8),r=IB(new i(r),e,t),n=LB(r,e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?`-`+n:n},B.toSignificantDigits=B.toSD=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(MB(e,1,fB),t===void 0?t=r.rounding:MB(t,0,8)),IB(new r(n),e,t)},B.toString=function(){var e=this,t=e.constructor,n=LB(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?`-`+n:n},B.truncated=B.trunc=function(){return IB(new this.constructor(this),this.e+1,1)},B.valueOf=B.toJSON=function(){var e=this,t=e.constructor,n=LB(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?`-`+n:n};function jB(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=kB-r.length,n&&(a+=HB(n)),a+=r;o=e[t],r=o+``,n=kB-r.length,n&&(a+=HB(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}function MB(e,t,n){if(e!==~~e||e<t||e>n)throw Error(xB+e)}function NB(e,t,n,r){var i,a,o,s;for(a=e[0];a>=10;a/=10)--t;return--t<0?(t+=kB,i=0):(i=Math.ceil((t+1)/kB),t%=kB),a=EB(10,kB-t),s=e[i]%a|0,r==null?t<3?(t==0?s=s/100|0:t==1&&(s=s/10|0),o=n<4&&s==99999||n>3&&s==49999||s==5e4||s==0):o=(n<4&&s+1==a||n>3&&s+1==a/2)&&(e[i+1]/a/100|0)==EB(10,t-2)-1||(s==a/2||s==0)&&(e[i+1]/a/100|0)==0:t<4?(t==0?s=s/1e3|0:t==1?s=s/100|0:t==2&&(s=s/10|0),o=(r||n<4)&&s==9999||!r&&n>3&&s==4999):o=((r||n<4)&&s+1==a||!r&&n>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==EB(10,t-3)-1,o}function PB(e,t,n){for(var r,i=[0],a,o=0,s=e.length;o<s;){for(a=i.length;a--;)i[a]*=t;for(i[0]+=pB.indexOf(e.charAt(o++)),r=0;r<i.length;r++)i[r]>n-1&&(i[r+1]===void 0&&(i[r+1]=0),i[r+1]+=i[r]/n|0,i[r]%=n)}return i.reverse()}function bhe(e,t){var n,r,i;if(t.isZero())return t;r=t.d.length,r<32?(n=Math.ceil(r/3),i=(1/ZB(4,n)).toString()):(n=16,i=`2.3283064365386962890625e-10`),e.precision+=n,t=XB(e,1,t.times(i),new e(1));for(var a=n;a--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=n,t}var FB=(function(){function e(e,t,n){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*t+i,e[a]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=+(e[n]<t[n]),e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,a,o,s,c){var l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,ee,te,ne,re,ie,ae=r.constructor,oe=r.s==i.s?1:-1,se=r.d,ce=i.d;if(!se||!se[0]||!ce||!ce[0])return new ae(!r.s||!i.s||(se?ce&&se[0]==ce[0]:!ce)?NaN:se&&se[0]==0||!ce?oe*0:oe/0);for(c?(p=1,u=r.e-i.e):(c=OB,p=kB,u=TB(r.e/p)-TB(i.e/p)),re=ce.length,te=se.length,_=new ae(oe),v=_.d=[],d=0;ce[d]==(se[d]||0);d++);if(ce[d]>(se[d]||0)&&u--,a==null?(S=a=ae.precision,o=ae.rounding):S=s?a+(r.e-i.e)+1:a,S<0)v.push(1),m=!0;else{if(S=S/p+2|0,d=0,re==1){for(f=0,ce=ce[0],S++;(d<te||f)&&S--;d++)C=f*c+(se[d]||0),v[d]=C/ce|0,f=C%ce|0;m=f||d<te}else{for(f=c/(ce[0]+1)|0,f>1&&(ce=e(ce,f,c),se=e(se,f,c),re=ce.length,te=se.length),ee=re,y=se.slice(0,re),b=y.length;b<re;)y[b++]=0;ie=ce.slice(),ie.unshift(0),ne=ce[0],ce[1]>=c/2&&++ne;do f=0,l=t(ce,y,re,b),l<0?(x=y[0],re!=b&&(x=x*c+(y[1]||0)),f=x/ne|0,f>1?(f>=c&&(f=c-1),h=e(ce,f,c),g=h.length,b=y.length,l=t(h,y,g,b),l==1&&(f--,n(h,re<g?ie:ce,g,c))):(f==0&&(l=f=1),h=ce.slice()),g=h.length,g<b&&h.unshift(0),n(y,h,b,c),l==-1&&(b=y.length,l=t(ce,y,re,b),l<1&&(f++,n(y,re<b?ie:ce,b,c))),b=y.length):l===0&&(f++,y=[0]),v[d++]=f,l&&y[0]?y[b++]=se[ee]||0:(y=[se[ee]],b=1);while((ee++<te||y[0]!==void 0)&&S--);m=y[0]!==void 0}v[0]||v.shift()}if(p==1)_.e=u,_B=m;else{for(d=1,f=v[0];f>=10;f/=10)d++;_.e=d+u*p-1,IB(_,s?a+_.e+1:a,o,m)}return _}})();function IB(e,t,n,r){var i,a,o,s,c,l,u,d,f,p=e.constructor;out:if(t!=null){if(d=e.d,!d)return e;for(i=1,s=d[0];s>=10;s/=10)i++;if(a=t-i,a<0)a+=kB,o=t,u=d[f=0],c=u/EB(10,i-o-1)%10|0;else if(f=Math.ceil((a+1)/kB),s=d.length,f>=s)if(r){for(;s++<=f;)d.push(0);u=c=0,i=1,a%=kB,o=a-kB+1}else break out;else{for(u=s=d[f],i=1;s>=10;s/=10)i++;a%=kB,o=a-kB+i,c=o<0?0:u/EB(10,i-o-1)%10|0}if(r=r||t<0||d[f+1]!==void 0||(o<0?u:u%EB(10,i-o-1)),l=n<4?(c||r)&&(n==0||n==(e.s<0?3:2)):c>5||c==5&&(n==4||r||n==6&&(a>0?o>0?u/EB(10,i-o):0:d[f-1])%10&1||n==(e.s<0?8:7)),t<1||!d[0])return d.length=0,l?(t-=e.e+1,d[0]=EB(10,(kB-t%kB)%kB),e.e=-t||0):d[0]=e.e=0,e;if(a==0?(d.length=f,s=1,f--):(d.length=f+1,s=EB(10,kB-a),d[f]=o>0?(u/EB(10,i-o)%EB(10,o)|0)*s:0),l)for(;;)if(f==0){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,d[0]==OB&&(d[0]=1));break}else{if(d[f]+=s,d[f]!=OB)break;d[f--]=0,s=1}for(a=d.length;d[--a]===0;)d.pop()}return yB&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function LB(e,t,n){if(!e.isFinite())return JB(e);var r,i=e.e,a=jB(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+HB(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(e.e<0?`e`:`e+`)+e.e):i<0?(a=`0.`+HB(-i-1)+a,n&&(r=n-o)>0&&(a+=HB(r))):i>=o?(a+=HB(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+HB(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=HB(r))),a}function RB(e,t){var n=e[0];for(t*=kB;n>=10;n/=10)t++;return t}function zB(e,t,n){if(t>yhe)throw yB=!0,n&&(e.precision=n),Error(SB);return IB(new e(mB),t,1,!0)}function BB(e,t,n){if(t>AB)throw Error(SB);return IB(new e(hB),t,n,!0)}function VB(e){var t=e.length-1,n=t*kB+1;if(t=e[t],t){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function HB(e){for(var t=``;e--;)t+=`0`;return t}function UB(e,t,n,r){var i,a=new e(1),o=Math.ceil(r/kB+4);for(yB=!1;;){if(n%2&&(a=a.times(t),eV(a.d,o)&&(i=!0)),n=TB(n/2),n===0){n=a.d.length-1,i&&a.d[n]===0&&++a.d[n];break}t=t.times(t),eV(t.d,o)}return yB=!0,a}function WB(e){return e.d[e.d.length-1]&1}function GB(e,t,n){for(var r,i=new e(t[0]),a=0;++a<t.length;)if(r=new e(t[a]),r.s)i[n](r)&&(i=r);else{i=r;break}return i}function KB(e,t){var n,r,i,a,o,s,c,l=0,u=0,d=0,f=e.constructor,p=f.rounding,m=f.precision;if(!e.d||!e.d[0]||e.e>17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(yB=!1,c=m):c=t,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(r=Math.log(EB(2,d))/Math.LN10*2+5|0,c+=r,n=a=o=new f(1),f.precision=c;;){if(a=IB(a.times(e),c,1),n=n.times(++u),s=o.plus(FB(a,n,c,1)),jB(s.d).slice(0,c)===jB(o.d).slice(0,c)){for(i=d;i--;)o=IB(o.times(o),c,1);if(t==null)if(l<3&&NB(o.d,c-r,p,l))f.precision=c+=10,n=a=s=new f(1),u=0,l++;else return IB(o,f.precision=m,p,yB=!0);else return f.precision=m,o}o=s}}function qB(e,t){var n,r,i,a,o,s,c,l,u,d,f,p=1,m=10,h=e,g=h.d,_=h.constructor,v=_.rounding,y=_.precision;if(h.s<0||!g||!g[0]||!h.e&&g[0]==1&&g.length==1)return new _(g&&!g[0]?-1/0:h.s==1?g?0:h:NaN);if(t==null?(yB=!1,u=y):u=t,_.precision=u+=m,n=jB(g),r=n.charAt(0),Math.abs(a=h.e)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)h=h.times(e),n=jB(h.d),r=n.charAt(0),p++;a=h.e,r>1?(h=new _(`0.`+n),a++):h=new _(r+`.`+n.slice(1))}else return l=zB(_,u+2,y).times(a+``),h=qB(new _(r+`.`+n.slice(1)),u-m).plus(l),_.precision=y,t==null?IB(h,y,v,yB=!0):h;for(d=h,c=o=h=FB(h.minus(1),h.plus(1),u,1),f=IB(h.times(h),u,1),i=3;;){if(o=IB(o.times(f),u,1),l=c.plus(FB(o,new _(i),u,1)),jB(l.d).slice(0,u)===jB(c.d).slice(0,u))if(c=c.times(2),a!==0&&(c=c.plus(zB(_,u+2,y).times(a+``))),c=FB(c,new _(p),u,1),t==null)if(NB(c.d,u-m,v,s))_.precision=u+=m,l=o=h=FB(d.minus(1),d.plus(1),u,1),f=IB(h.times(h),u,1),i=s=1;else return IB(c,_.precision=y,v,yB=!0);else return _.precision=y,c;c=l,i+=2}}function JB(e){return String(e.s*e.s/0)}function YB(e,t){var n,r,i;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;r++);for(i=t.length;t.charCodeAt(i-1)===48;--i);if(t=t.slice(r,i),t){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%kB,n<0&&(r+=kB),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=kB;r<i;)e.d.push(+t.slice(r,r+=kB));t=t.slice(r),r=kB-t.length}else r-=i;for(;r--;)t+=`0`;e.d.push(+t),yB&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function xhe(e,t){var n,r,i,a,o,s,c,l,u;if(t.indexOf(`_`)>-1){if(t=t.replace(/(\d)_(?=\d)/g,`$1`),DB.test(t))return YB(e,t)}else if(t===`Infinity`||t===`NaN`)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(ghe.test(t))n=16,t=t.toLowerCase();else if(hhe.test(t))n=2;else if(_he.test(t))n=8;else throw Error(xB+t);for(a=t.search(/p/i),a>0?(c=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),a=t.indexOf(`.`),o=a>=0,r=e.constructor,o&&(t=t.replace(`.`,``),s=t.length,a=s-a,i=UB(r,new r(n),a,a*2)),l=PB(t,n,OB),u=l.length-1,a=u;l[a]===0;--a)l.pop();return a<0?new r(e.s*0):(e.e=RB(l,u),e.d=l,yB=!1,o&&(e=FB(e,i,s*4)),c&&(e=e.times(Math.abs(c)<54?EB(2,c):rV.pow(2,c))),yB=!0,e)}function She(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:XB(e,2,t,t);n=1.4*Math.sqrt(r),n=n>16?16:n|0,t=t.times(1/ZB(5,n)),t=XB(e,2,t,t);for(var i,a=new e(5),o=new e(16),s=new e(20);n--;)i=t.times(t),t=t.times(a.plus(i.times(o.times(i).minus(s))));return t}function XB(e,t,n,r,i){var a,o,s,c,l=1,u=e.precision,d=Math.ceil(u/kB);for(yB=!1,c=n.times(n),s=new e(r);;){if(o=FB(s.times(c),new e(t++*t++),u,1),s=i?r.plus(o):r.minus(o),r=FB(o.times(c),new e(t++*t++),u,1),o=s.plus(r),o.d[d]!==void 0){for(a=d;o.d[a]===s.d[a]&&a--;);if(a==-1)break}a=s,s=r,r=o,o=a,l++}return yB=!0,o.d.length=d+1,o}function ZB(e,t){for(var n=e;--t;)n*=e;return n}function QB(e,t){var n,r=t.s<0,i=BB(e,e.precision,1),a=i.times(.5);if(t=t.abs(),t.lte(a))return vB=r?4:1,t;if(n=t.divToInt(i),n.isZero())vB=r?3:2;else{if(t=t.minus(n.times(i)),t.lte(a))return vB=WB(n)?r?2:3:r?4:1,t;vB=WB(n)?r?1:4:r?3:2}return t.minus(i).abs()}function $B(e,t,n,r){var i,a,o,s,c,l,u,d,f,p=e.constructor,m=n!==void 0;if(m?(MB(n,1,fB),r===void 0?r=p.rounding:MB(r,0,8)):(n=p.precision,r=p.rounding),!e.isFinite())u=JB(e);else{for(u=LB(e),o=u.indexOf(`.`),m?(i=2,t==16?n=n*4-3:t==8&&(n=n*3-2)):i=t,o>=0&&(u=u.replace(`.`,``),f=new p(1),f.e=u.length-o,f.d=PB(LB(f),10,i),f.e=f.d.length),d=PB(u,10,i),a=c=d.length;d[--c]==0;)d.pop();if(!d[0])u=m?`0p+0`:`0`;else{if(o<0?a--:(e=new p(e),e.d=d,e.e=a,e=FB(e,f,n,r,0,i),d=e.d,a=e.e,l=_B),o=d[n],s=i/2,l||=d[n+1]!==void 0,l=r<4?(o!==void 0||l)&&(r===0||r===(e.s<0?3:2)):o>s||o===s&&(r===4||l||r===6&&d[n-1]&1||r===(e.s<0?8:7)),d.length=n,l)for(;++d[--n]>i-1;)d[n]=0,n||(++a,d.unshift(1));for(c=d.length;!d[c-1];--c);for(o=0,u=``;o<c;o++)u+=pB.charAt(d[o]);if(m){if(c>1)if(t==16||t==8){for(o=t==16?4:3,--c;c%o;c++)u+=`0`;for(d=PB(u,i,t),c=d.length;!d[c-1];--c);for(o=1,u=`1.`;o<c;o++)u+=pB.charAt(d[o])}else u=u.charAt(0)+`.`+u.slice(1);u=u+(a<0?`p`:`p+`)+a}else if(a<0){for(;++a;)u=`0`+u;u=`0.`+u}else if(++a>c)for(a-=c;a--;)u+=`0`;else a<c&&(u=u.slice(0,a)+`.`+u.slice(a))}u=(t==16?`0x`:t==2?`0b`:t==8?`0o`:``)+u}return e.s<0?`-`+u:u}function eV(e,t){if(e.length>t)return e.length=t,!0}function Che(e){return new this(e).abs()}function whe(e){return new this(e).acos()}function The(e){return new this(e).acosh()}function Ehe(e,t){return new this(e).plus(t)}function Dhe(e){return new this(e).asin()}function Ohe(e){return new this(e).asinh()}function khe(e){return new this(e).atan()}function Ahe(e){return new this(e).atanh()}function jhe(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,a=r+4;return!e.s||!t.s?n=new this(NaN):!e.d&&!t.d?(n=BB(this,a,1).times(t.s>0?.25:.75),n.s=e.s):!t.d||e.isZero()?(n=t.s<0?BB(this,r,i):new this(0),n.s=e.s):!e.d||t.isZero()?(n=BB(this,a,1).times(.5),n.s=e.s):t.s<0?(this.precision=a,this.rounding=1,n=this.atan(FB(e,t,a,1)),t=BB(this,a,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(FB(e,t,a,1)),n}function Mhe(e){return new this(e).cbrt()}function Nhe(e){return IB(e=new this(e),e.e+1,2)}function Phe(e,t,n){return new this(e).clamp(t,n)}function Fhe(e){if(!e||typeof e!=`object`)throw Error(bB+`Object expected`);var t,n,r,i=e.defaults===!0,a=[`precision`,1,fB,`rounding`,0,8,`toExpNeg`,-dB,0,`toExpPos`,0,dB,`maxE`,0,dB,`minE`,-dB,0,`modulo`,0,9];for(t=0;t<a.length;t+=3)if(n=a[t],i&&(this[n]=gB[n]),(r=e[n])!==void 0)if(TB(r)===r&&r>=a[t+1]&&r<=a[t+2])this[n]=r;else throw Error(xB+n+`: `+r);if(n=`crypto`,i&&(this[n]=gB[n]),(r=e[n])!==void 0)if(r===!0||r===!1||r===0||r===1)if(r)if(typeof crypto<`u`&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(CB);else this[n]=!1;else throw Error(xB+n+`: `+r);return this}function Ihe(e){return new this(e).cos()}function Lhe(e){return new this(e).cosh()}function tV(e){var t,n,r;function i(e){var t,n,r,a=this;if(!(a instanceof i))return new i(e);if(a.constructor=i,nV(e)){a.s=e.s,yB?!e.d||e.e>i.maxE?(a.e=NaN,a.d=null):e.e<i.minE?(a.e=0,a.d=[0]):(a.e=e.e,a.d=e.d.slice()):(a.e=e.e,a.d=e.d?e.d.slice():e.d);return}if(r=typeof e,r===`number`){if(e===0){a.s=1/e<0?-1:1,a.e=0,a.d=[0];return}if(e<0?(e=-e,a.s=-1):a.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;yB?t>i.maxE?(a.e=NaN,a.d=null):t<i.minE?(a.e=0,a.d=[0]):(a.e=t,a.d=[e]):(a.e=t,a.d=[e]);return}else if(e*0!=0){e||(a.s=NaN),a.e=NaN,a.d=null;return}return YB(a,e.toString())}else if(r!==`string`)throw Error(xB+e);return(n=e.charCodeAt(0))===45?(e=e.slice(1),a.s=-1):(n===43&&(e=e.slice(1)),a.s=1),DB.test(e)?YB(a,e):xhe(a,e)}if(i.prototype=B,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=Fhe,i.clone=tV,i.isDecimal=nV,i.abs=Che,i.acos=whe,i.acosh=The,i.add=Ehe,i.asin=Dhe,i.asinh=Ohe,i.atan=khe,i.atanh=Ahe,i.atan2=jhe,i.cbrt=Mhe,i.ceil=Nhe,i.clamp=Phe,i.cos=Ihe,i.cosh=Lhe,i.div=Rhe,i.exp=zhe,i.floor=Bhe,i.hypot=Vhe,i.ln=Hhe,i.log=Uhe,i.log10=Ghe,i.log2=Whe,i.max=Khe,i.min=qhe,i.mod=Jhe,i.mul=Yhe,i.pow=Xhe,i.random=Zhe,i.round=Qhe,i.sign=$he,i.sin=ege,i.sinh=tge,i.sqrt=nge,i.sub=rge,i.sum=ige,i.tan=age,i.tanh=oge,i.trunc=sge,e===void 0&&(e={}),e&&e.defaults!==!0)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`maxE`,`minE`,`modulo`,`crypto`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function Rhe(e,t){return new this(e).div(t)}function zhe(e){return new this(e).exp()}function Bhe(e){return IB(e=new this(e),e.e+1,3)}function Vhe(){var e,t,n=new this(0);for(yB=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return yB=!0,new this(1/0);n=t}return yB=!0,n.sqrt()}function nV(e){return e instanceof rV||e&&e.toStringTag===wB||!1}function Hhe(e){return new this(e).ln()}function Uhe(e,t){return new this(e).log(t)}function Whe(e){return new this(e).log(2)}function Ghe(e){return new this(e).log(10)}function Khe(){return GB(this,arguments,`lt`)}function qhe(){return GB(this,arguments,`gt`)}function Jhe(e,t){return new this(e).mod(t)}function Yhe(e,t){return new this(e).mul(t)}function Xhe(e,t){return new this(e).pow(t)}function Zhe(e){var t,n,r,i,a=0,o=new this(1),s=[];if(e===void 0?e=this.precision:MB(e,1,fB),r=Math.ceil(e/kB),!this.crypto)for(;a<r;)s[a++]=Math.random()*1e7|0;else if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));a<r;)i=t[a],i>=429e7?t[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(r*=4);a<r;)i=t[a]+(t[a+1]<<8)+(t[a+2]<<16)+((t[a+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(t,a):(s.push(i%1e7),a+=4);a=r/4}else throw Error(CB);for(r=s[--a],e%=kB,r&&e&&(i=EB(10,kB-e),s[a]=(r/i|0)*i);s[a]===0;a--)s.pop();if(a<0)n=0,s=[0];else{for(n=-1;s[0]===0;n-=kB)s.shift();for(r=1,i=s[0];i>=10;i/=10)r++;r<kB&&(n-=kB-r)}return o.e=n,o.d=s,o}function Qhe(e){return IB(e=new this(e),e.e+1,this.rounding)}function $he(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function ege(e){return new this(e).sin()}function tge(e){return new this(e).sinh()}function nge(e){return new this(e).sqrt()}function rge(e,t){return new this(e).sub(t)}function ige(){var e=0,t=arguments,n=new this(t[e]);for(yB=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return yB=!0,IB(n,this.precision,this.rounding)}function age(e){return new this(e).tan()}function oge(e){return new this(e).tanh()}function sge(e){return IB(e=new this(e),e.e+1,1)}B[Symbol.for(`nodejs.util.inspect.custom`)]=B.toString,B[Symbol.toStringTag]=`Decimal`;var rV=B.constructor=tV(gB);mB=new rV(mB),hB=new rV(hB);var iV=class{dinero;toNexoString(){let e=this.dinero,t=cB(e),n=efe(e);return t.currency.exponent===0?`${n[0]}`:$de(e)}toMinorUnits(){let e=this.dinero;return cB(e).amount}constructor(e){if(!e.currencyCode)throw Error(`Currency code is required`);let t=e.currencyCode.toUpperCase();if(!Object.keys(lB).includes(t))throw Error(`Currency code ${t} is not valid`);let n=lB[t];if(e.hasOwnProperty(`amountAsMinorUnits`))this.dinero=uB({amount:e.amountAsMinorUnits,currency:n});else if(e.hasOwnProperty(`amountAsMajorUnits`)){let t;if(typeof e.amountAsMajorUnits==`string`){if(t=parseFloat(e.amountAsMajorUnits),isNaN(t))throw Error(`Property amountAsMajorUnits of type string could not be parsed to a float`)}else if(typeof e.amountAsMajorUnits==`number`)t=e.amountAsMajorUnits;else throw Error(`Property amountAsMajorUnits must be a number or a string`);this.dinero=uB({amount:new rV(t).times(rV.pow(10,n.exponent)).toNumber(),currency:n})}else throw Error(`Either amountAsMinorUnits or amountAsMajorUnits must be provided`)}},V={check:e=>Object.values(e).some(e=>e!==void 0),params:`At least one field must be provided`},aV={check:e=>Object.values(e).filter(e=>e!==void 0).length===1,params:`Exactly one field must be provided`},oV=(e,t)=>({check:n=>{let[r,i=``]=n.toString().split(`.`),a=r.replace(/^0+/,``).length+i.length,o=i.length;return a<=e&&o<=t},params:`Number must have maximum ${e} total digits and ${t} decimal places`}),H=e=>{if(Array.isArray(e))return e;switch(typeof e){case`string`:case`number`:case`bigint`:case`boolean`:case`object`:return[e];default:return e}},sV=e=>typeof e==`string`?e.replace(/\r?\n|\r/g,``):e,cV=e=>{if(!(typeof e==`string`&&e===``))return e},U=e=>t=>{let n=e[t];if(!n)throw Error(`Options transformer could not transform invalid value: ${t}. Allowed values: ${Object.keys(e).join(`, `)}`);return n},lV=(e,t=[],n=`GBP`)=>r=>{let i={...r},a=String(tL(i,e)||n),o=tB(i);for(let e of Object.keys(o)){let n=uV(e);if(t.includes(n)){let t=dV(e),n=tL(i,t);n!==void 0&&nL(i,t,new iV({currencyCode:a,amountAsMinorUnits:Number(n)}).toNexoString())}}return i},cge=(e,t=[],n=`GBP`)=>r=>{let i={...r},a=String(tL(i,e)||n),o=tB(i);for(let e of Object.keys(o)){let n=uV(e);if(t.includes(n)){let t=dV(e),n=tL(i,t);n!==void 0&&nL(i,t,new iV({currencyCode:a,amountAsMajorUnits:n}).toMinorUnits())}}return i},uV=e=>e.replace(/\.\d+/g,`[]`),dV=e=>e.replace(/\.(\d+)(?=\.|$)/g,`[$1]`);function fV(e){return Math.ceil(e*4/3)}var pV=/^[0-9]+$/,mV=/^[a-zA-Z0-9]+$/,hV=/^[a-zA-Z]+$/,lge=class{description;constructor(e){this.description=e}};function uge(e,t,n){if(e.length!==t.length||e.length!==n.length)throw Error(`All input arrays must have the same length`);return e.map((e,r)=>({code:e,name:t[r],description:n[r]}))}var W=class extends lge{options;optionsByNexoKey;optionsByNormKey;constructor(e,t,n,r){if(super(e),t.length!==n.length||t.length!==r.length)throw Error(`DefinitionWithOptions options arguments must be of equal length`);if(t.length===0)throw Error(`DefinitionWithOptions must have at least one option`);this.options=uge(t,n,r),this.optionsByNexoKey=this.options.reduce((e,t)=>(e[t.code]=t.name,e),{}),this.optionsByNormKey=this.options.reduce((e,t)=>(e[t.name]=t.code,e),{})}},gV=c({definition:()=>bV,optionDescriptions:()=>yV,optionsNexo:()=>_V,optionsNorm:()=>vV}),_V=[`ACSL`,`ENTR`,`IMAC`,`IMPL`,`NOSL`,`TPSL`],vV=[`account_selected`,`entered`,`implicit_account`,`implicit_type`,`no_selection`,`type_selected`],yV=[`Account selected in an account list.`,`Account identification is entered by the customer.`,`Account is selected according to the configuration.`,`Type of account is selected according to the configuration.`,`Account is not selected by the customer or a profile, but by the issuer.`,`Type of account selected in a list.`],bV=new W(`Method used by the cardholder and the terminal for the choice of the account.`,_V,vV,yV),xV=c({definition:()=>TV,optionDescriptions:()=>wV,optionsNexo:()=>SV,optionsNorm:()=>CV}),SV=[`BUSY`,`CPTR`,`DISP`,`NOVR`,`RQID`,`PINL`,`PINR`,`PRNT`,`RFRL`,`RQDT`,`DCCQ`,`FLFW`,`PINQ`,`CDCV`,`CHDA`,`STAR`,`STOR`,`ACUP`,`TALT`,`DNTA`],CV=[`busy`,`capture_card`,`display_message`,`forbid_override`,`identification_required`,`pin_last_try`,`pin_retry`,`print_message`,`referral`,`request_data`,`accept_currency_conversion`,`fall_forward`,`pin_request`,`consumer_device_cardholder_verification_method`,`cardholder_authentication`,`stop_all_recurring`,`stop_one_recurring`,`account_update`,`try_again_later`,`do_not_try_again`],wV=[`Server busy, try later.`,`Capture the card.`,`Message to display, print or log.`,`Payment application cannot propose to the merchant an override of the payment transaction.`,`Additional identification required (passport, ID card, etc.).`,`Last PIN (Personal Identification Number) try.`,`PIN (Personal Identification Number) is wrong, retry a PIN verification.`,`Print a message.`,`Referral has to be performed.`,`Request additional data through a displayed text and request confirmation by an attendant.`,`Ask the cardholder to accept the currency conversion.`,`Fall-forward from contactless to chip card transaction required.`,`Request Cardholder Authentication through PIN insertion.`,`Request Cardholder Authentication according to the ConsumerDeviceCardholderVerificationMethod.`,`Additional authentication of cardholder required.`,`Recurring transactions is no more allowed for this card and for all merchants.`,`Cardholder has revocated this recurring transaction for this merchant.`,`Indicates that the account was updated and should be taken into account for future authorisation.`,`Indicates that the authorization should be resubmitted at a later time.`,`Indicates that this account shouldn't be used anymore.`],TV=new W(`Type of action to be performed by the point of interaction (POI).`,SV,CV,wV),EV=c({definition:()=>AV,optionDescriptions:()=>kV,optionsNexo:()=>DV,optionsNorm:()=>OV}),DV=[`ADDR`,`PBOX`,`HOME`,`BIZZ`,`MLTO`,`DLVY`],OV=[`postal`,`po_box`,`residential`,`business`,`mail_to`,`delivery_to`],kV=[`Address is the complete postal address.`,`Address is a postal office (PO) box.`,`Address is the home address.`,`Address is the business address.`,`Address is the address to which mail is sent.`,`Address is the address to which delivery is to take place.`],AV=new W(`Identifies the nature of the postal address.`,DV,OV,kV),jV=c({definition:()=>FV,optionDescriptions:()=>PV,optionsNexo:()=>MV,optionsNorm:()=>NV}),MV=[`HS25`,`HS38`,`HS51`,`HS01`],NV=[`sha256`,`sha384`,`sha512`,`sha1`],PV=[`Message digest algorithm SHA-256 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha256).`,`Message digest algorithm SHA-384 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha384).`,`Message digest algorithm SHA-512 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha512).`,`The DEPRECATED Message digest algorithm SHA-1 as defined in FIPS 180-1 - (ASN.1 Object Identifier: id-sha1).`],FV=new W(`Identification of a digest algorithm.`,MV,NV,PV),IV=c({definition:()=>BV,optionDescriptions:()=>zV,optionsNexo:()=>LV,optionsNorm:()=>RV}),LV=[`HS25`,`HS38`,`HS51`,`HS01`,`SH31`,`SH32`,`SH33`,`SH35`,`SHK1`,`SHK2`],RV=[`sha_256`,`sha_384`,`sha_512`,`sha_1`,`sha3_224`,`sha3_256`,`sha3_384`,`sha3_512`,`shake_128`,`shake_256`],zV=[`Message digest algorithm SHA-256 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha256).`,`Message digest algorithm SHA-384 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha384).`,`Message digest algorithm SHA-512 as defined in FIPS 180-1 and 2 - (ASN.1 Object Identifier: id-sha512).`,`The DEPRECATED Message digest algorithm SHA-1 as defined in FIPS 180-1 - (ASN.1 Object Identifier: id-sha1).`,`Message digest algorithm SHA3-224 as defined in FIPS 202 - (ASN.1 Object Identifier: id-sha3-224).`,`Message digest algorithm SHA3-256 as defined in FIPS 202 - (ASN.1 Object Identifier: id-sha3-256).`,`Message digest algorithm SHA3-384 as defined in FIPS 202 - (ASN.1 Object Identifier: id-sha3-384).`,`Message digest algorithm SHA3-512 as defined in FIPS 202 - (ASN.1 Object Identifier: id-sha3-512).`,`Message digest algorithm SHAKE-128 as defined in FIPS 202 - (ASN.1 Object Identifier: id-shake128).`,`Message digest algorithm SHAKE-256 as defined in FIPS 202 - (ASN.1 Object Identifier: id-shake256).`],BV=new W(`Identification of a digest algorithm.`,LV,RV,zV),VV=c({definition:()=>GV,optionDescriptions:()=>WV,optionsNexo:()=>HV,optionsNorm:()=>UV}),HV=[`MACC`,`MCCS`,`CMA1`,`MCC1`,`CMA9`,`CMA5`,`CMA2`,`CM31`,`CM32`,`CM33`,`MCS3`,`CCA1`,`CCA2`,`CCA3`],UV=[`retail_cbc_mac`,`retail_sha256_mac`,`sha256_cmac_aes128`,`retail_sha1_mac`,`sha384_cmac_aes192`,`sha512_cmac_aes256`,`sha256_cmac_aes256`,`sha3_256_cmac_aes128`,`sha3_384_cmac_aes192`,`sha3_512_cmac_aes256`,`sha3_256_3des_mac`,`cmac_aes128`,`cmac_aes192`,`cmac_aes256`],WV=[`Retail CBC (Chaining Block Cypher) MAC (Message Authentication Code) (cf. ISO 9807, ANSI X9.19) - (ASN.1 Object Identifier: id-retail-cbc-mac).`,`Retail-CBC-MAC with SHA-256 (Secure HAsh standard) - (ASN.1 Object Identifier: id-retail-cbc-mac-sha-256).`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 128 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard). The CMAC algorithm is computed on the SHA-256 digest of the message.`,`The DEPRECATED Retail-CBC-MAC with SHA-1 (Secure Hash standard) - (ASN.1 Object Identifier: id-retail-cbc-mac-sha-1).`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 192 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard). The CMAC algorithm is computed on the SHA-384 digest of the message.`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 256 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard). The CMAC algorithm is computed on the SHA-512 digest of the message.`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 256 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard). The CMAC algorithm is computed on the SHA-256 digest of the message.`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 128 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard). The CMAC algorithm is computed on the SHA3-256 digest of the message.`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 192 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard). The CMAC algorithm is computed on the SHA3-384 digest of the message.`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 256 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard). The CMAC algorithm is computed on the SHA3-512 digest of the message.`,`3DES CBC-MAC with SHA3-256 (SecureHAsh standard) and ISO/IEC9797-1 method 2 padding.`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 128 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 192 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`CMAC (Cipher based Message Authentication Code) defined by the National Institute of Standards and Technology (NIST 800-38B - May 2005), using the block cipher Advanced Encryption Standard with a 256 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`],GV=new W(`Identification of the MAC algorithm.`,HV,UV,WV),KV=c({definition:()=>XV,optionDescriptions:()=>YV,optionsNexo:()=>qV,optionsNorm:()=>JV}),qV=[`EA2C`,`E3DC`,`DKP9`,`UKPT`,`UKA2`,`EA9C`,`EA5C`,`DA12`,`DA19`,`DA25`,`N108`,`EA5R`,`EA9R`,`EA2R`,`E3DR`,`E36C`,`E36R`,`SD5C`,`UKA1`,`UKA3`],JV=[`aes128_cbc`,`des112_cbc`,`dukpt_2009`,`ukpt`,`ukpt_aes192`,`aes192_cbc`,`aes256_cbc`,`aes_dukpt128_ecb`,`aes_dukpt192_ecb`,`aes_dukpt256_ecb`,`nist800_108_key_derivation`,`aes256_ctr`,`aes192_ctr`,`aes128_ctr`,`des112_ctr`,`des168_cbc`,`des168_ctr`,`sde056_cbc`,`ukpt_aes128`,`ukpt_aes256`],YV=[`AES (Advanced Encryption Standard) CBC (Chaining Block Cypher) encryption with a 128 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`Triple DES (Data Encryption Standard) CBC (Chaining Block Cypher) encryption with double length key (112 Bit) as defined in FIPS PUB 46-3 - (ASN.1 Object Identifier: des-ede3-cbc).`,`DUKPT (Derived Unique Key Per Transaction) algorithm, as specified in ANSI X9.24-2009 Annex A.`,`UKPT (Unique Key Per Transaction) or Master Session Key key encryption - (ASN.1 Object Identifier: id-ukpt-wrap).`,`UKPT (Unique Key Per Transaction) or Master Session Key key encryption, using Advanced Encryption Standard with a 192 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`AES (Advanced Encryption Standard) CBC (Chaining Block Cypher) encryption with a 192 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`AES (Advanced Encryption Standard) CBC (Chaining Block Cypher) encryption with a 256 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`AES DUKPT (Derived Unique Key Per Transaction) ECB algorithm, as specified in ANSI X9.24-3-2017 Annex A, With key length of 128 bits.`,`AES DUKPT (Derived Unique Key Per Transaction) ECB algorithm, as specified in ANSI X9.24-3-2017 Annex A.With key length of 192 bits.`,`AES DUKPT (Derived Unique Key Per Transaction) ECB algorithm, as specified in ANSI X9.24-3-2017 Annex A.With key length of 256 bits.`,`Key Derivation according to the Special Publication from the NIST entitled 800-108.`,`AES (Advanced Encryption Standard) CTR (Counter) encryption with a 256 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`AES (Advanced Encryption Standard) CTR (Counter) encryption with a 192 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`AES (Advanced Encryption Standard) CTR (Counter) encryption with a 128 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`Triple DES (Data Encryption Standard) CTR (Counter) encryption with double length key (112 Bit) as defined in FIPS SP 800-38a.`,`Triple DES (Data Encryption Standard) CBC (Chaining Block Cypher) encryption with triple length key (168 Bit) as defined in FIPS PUB 46-3 - (ASN.1 Object Identifier: des-ede3-cbc).`,`Triple DES (Data Encryption Standard) CTR (Counter) encryption with triple length key (168 Bit) as defined in FIPS SP 800-38a.`,`The DEPRECATED Simple DES (Data Encryption Standard) CBC (Chaining Block Cypher) encryption with simple length key (56 Bit) as defined in FIPS PUB 81 - (ASN.1 Object Identifier: des-cbc).`,`UKPT (Unique Key Per Transaction) or Master Session Key key encryption, using Advanced Encryption Standard with a 128 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`UKPT (Unique Key Per Transaction) or Master Session Key key encryption, using Advanced Encryption Standard with a 256 bits cryptographic key, approved by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`],XV=new W(`Cryptographic algorithms for the protection of transported keys.`,qV,JV,YV),ZV=c({definition:()=>tH,optionDescriptions:()=>eH,optionsNexo:()=>QV,optionsNorm:()=>$V}),QV=[`ERS1`,`ERS2`,`ERS3`,`RPSS`,`ED22`,`ED23`,`ED25`,`ED32`,`ED33`,`ED35`,`ES22`,`ES23`,`ES25`,`ES32`,`ES33`,`ES35`],$V=[`sha1_rsa`,`sha256_rsa`,`sha3_256_rsa`,`rsassa_pss`,`ecdsa_sha256`,`ecdsa_sha384`,`ecdsa_sha512`,`ecdsa_sha3_256`,`ecdsa_sha3_384`,`ecdsa_sha3_512`,`ecsdsa_sha256`,`ecsdsa_sha384`,`ecsdsa_sha512`,`ecsdsa_sha3_256`,`ecsdsa_sha3_384`,`ecsdsa_sha3_512`],eH=[`The DEPRECATED Signature algorithms with RSA (PKCS #1 version 2.1), using SHA-1 digest algorithm - (ASN.1 Object Identifier: sha1WithRSAEncryption).`,`Signature algorithms with RSA, using SHA-256 digest algorithm - (ASN.1 Object Identifier: sha256WithRSAEncryption).`,`Signature algorithms with RSA, using SHA3-256 digest algorithm. (ASN.1 Object Identifier: id-rsassa-pkcs1-v1-5-with-sha3-256).`,`Signature algorithm with Appendix, Probabilistic Signature Scheme (PKCS #1 version 2.1), - (ASN.1 Object Identifier: id-RSASSA-PSS).`,`Elliptic Curve Digital Signature Algorithm coupled with SHA2-256 Digest Algorithm.`,`Elliptic Curve Digital Signature Algorithm coupled with SHA2-384 Digest Algorithm.`,`Elliptic Curve Digital Signature Algorithm coupled with SHA2-512 Digest Algorithm.`,`Elliptic Curve Digital Signature Algorithm coupled with SHA3-256 Digest Algorithm.`,`Elliptic Curve Digital Signature Algorithm coupled with SHA3-384 Digest Algorithm.`,`Elliptic Curve Digital Signature Algorithm coupled with SHA3-512 Digest Algorithm.`,`Elliptic Curve Schnorr Digital Signature Algorithm coupled with SHA2-256 Digest Algorithm.`,`Elliptic Curve Schnorr Digital Signature Algorithm coupled with SHA2-384 Digest Algorithm.`,`Elliptic Curve Schnorr Digital Signature Algorithm coupled with SHA2-512 Digest Algorithm.`,`Elliptic Curve Schnorr Digital Signature Algorithm coupled with SHA3-256 Digest Algorithm.`,`Elliptic Curve Schnorr Digital Signature Algorithm coupled with SHA3-384 Digest Algorithm.`,`Elliptic Curve Schnorr Digital Signature Algorithm coupled with SHA3-512 Digest Algorithm.`],tH=new W(`Identification of the algorithm.`,QV,$V,eH),nH=c({definition:()=>oH,optionDescriptions:()=>aH,optionsNexo:()=>rH,optionsNorm:()=>iH}),rH=[`ERSA`,`RSAO`],iH=[`rsa_encryption`,`rsaes_oaep`],aH=[`RSA encryption algorithm - (ASN.1 Object Identifier: rsaEncryption).`,`RSA encryption scheme based on Optimal Asymmetric Encryption scheme (PKCS #1 version 2.1) - (ASN.1 Object Identifier: id-RSAES-OAEP).`],oH=new W(`Asymmetric encryption algorithm of a transport key.`,rH,iH,aH),sH=c({definition:()=>dH,optionDescriptions:()=>uH,optionsNexo:()=>cH,optionsNorm:()=>lH}),cH=[`MGF1`],lH=[`mgf1`],uH=[`Generator Function, used for RSA encryption and RSA digital signature (PKCS #1 version 2.1) - (ASN.1 Object Identifier: id-mgf1).`],dH=new W(`Mask generator functions of the RSAES-OAEP encryption algorithm (RSA Encryption Scheme: Optimal Asymmetric Encryption Padding).`,cH,lH,uH),fH=c({definition:()=>gH,optionDescriptions:()=>hH,optionsNexo:()=>pH,optionsNorm:()=>mH}),pH=[`MONE`,`POIN`],mH=[`monetary`,`point`],hH=[`The amount is expressed in a monetary value in a currency.`,`The amount is expressed in point.`],gH=new W(`Unit of a Loyalty Account (Point or Currency).`,pH,mH,hH),_H=c({definition:()=>xH,optionDescriptions:()=>bH,optionsNexo:()=>vH,optionsNorm:()=>yH}),vH=[`ATTD`,`SATT`,`UATT`],yH=[`attended`,`semi_attended`,`unattended`],bH=[`Attended payment, with an attendant.`,`Semi-attended, including self checkout. An attendant supervises several payment, and could be called to help the cardholder.`,`Unattended payment, no attendant present.`],xH=new W(`Human attendance at the POI (Point Of Interaction) location during the transaction.`,vH,yH,bH),SH=c({definition:()=>EH,optionDescriptions:()=>TH,optionsNexo:()=>CH,optionsNorm:()=>wH}),CH=[`ATTL`,`CARR`,`CUST`,`FULL`,`SELF`],wH=[`attendant_delivery`,`carrier_delivery`,`customer_delivery`,`full_service`,`self_service`],TH=[`Delivery by an attendant.`,`Delivery by a carrier.`,`Delivery by the customer.`,`Full service for fuel distribution.`,`Self service for fuel distribution.`],EH=new W(`Identify the method of delivery or distribution of the item.`,CH,wH,TH),DH=c({definition:()=>jH,optionDescriptions:()=>AH,optionsNexo:()=>OH,optionsNorm:()=>kH}),OH=[`CNAT`,`LATT`,`OATT`,`OUAT`,`CATT`],kH=[`common_name`,`locality`,`organization_name`,`organization_unit_name`,`country_name`],AH=[`Common name of the attribute (ASN.1 Object Identifier: id-at-commonName).`,`Locality of the attribute (ASN.1 Object Identifier: id-at-localityName).`,`Organization name of the attribute (ASN.1 Object Identifier: id-at- organizationName).`,`Organization unit name of the attribute (ASN.1 Object Identifier: id-at- organizationalUnitName).`,`Country name of the attribute (ASN.1 Object Identifier: id-at-countryName).`],jH=new W(`Type of attribute of a distinguished name (see X.500).`,OH,kH,AH),MH=c({definition:()=>IH,optionDescriptions:()=>FH,optionsNexo:()=>NH,optionsNorm:()=>PH}),NH=[`ICCD`,`AGNT`,`MERC`,`ACQR`,`ISSR`,`TRML`],PH=[`integrated_circuit_card`,`authorised_agent`,`merchant`,`acquirer`,`issuer`,`terminal`],FH=[`Application in the chip card (Integrated Circuit Card), for instance an offline PIN verification.`,`Authorisation agent of the issuer.`,`Merchant (for example signature verification by the attendant).`,`Acquirer of the transaction.`,`Card issuer.`,`Secure application in the terminal.`],IH=new W(`Entity or device that has performed the verification.`,NH,PH,FH),LH=c({definition:()=>VH,optionDescriptions:()=>BH,optionsNexo:()=>RH,optionsNorm:()=>zH}),RH=[`NPIN`,`PPSG`,`PSWD`,`SCRT`,`SCNL`,`SNCT`,`CPSG`,`ADDB`,`BIOM`,`CDHI`,`CRYP`,`CSCV`,`PSVE`,`CSEC`,`ADDS`,`MANU`,`FPIN`,`TOKP`],zH=[`online_pin`,`paper_signature`,`password`,`secure_certificate`,`secured_channel`,`secure_no_certificate`,`signature_capture`,`billing_address_verification`,`biometry`,`cardholder_identification`,`cryptogram_verification`,`csc_verification`,`passive_authentication`,`secure_ecommerce`,`shipping_address_verification`,`manual_verification`,`offline_pin`,`payment_token`],BH=[`On-line PIN authentication (Personal Identification Number).`,`Handwritten paper signature.`,`Authentication by a password.`,`Electronic commerce transaction secured with the X.509 certificate of a customer.`,`Channel-encrypted transaction.`,`Secure electronic transaction without cardholder certificate.`,`Electronic signature capture (handwritten signature).`,`Cardholder billing address verification.`,`Biometric authentication of the cardholder.`,`Cardholder data provided for verification, for instance social security number, driver license number, passport number.`,`Verification of a cryptogram generated by a chip card or another device, for instance ARQC (Authorisation Request Cryptogram).`,`Verification of Card Security Code.`,`Authentication based on statistical cardholder behaviour.`,`Authentication performed during a secure electronic commerce transaction.`,`Cardholder shipping address verification.`,`Manual verification, for example passport or drivers license.`,`Off-line PIN authentication (Personal Identification Number).`,`Verification or authentication related to the use of a payment token, for instance the validation of the authorised use of a token.`],VH=new W(`Method of verification that has been performed.`,RH,zH,BH),HH=c({definition:()=>KH,optionDescriptions:()=>GH,optionsNexo:()=>UH,optionsNorm:()=>WH}),UH=[`TOKA`,`ADDB`,`BYPS`,`BIOM`,`CDHI`,`CRYP`,`CSCV`,`MANU`,`MERC`,`MOBL`,`FPIN`,`NPIN`,`OTHR`,`PPSG`,`PSVE`,`PSWD`,`TOKP`,`SCRT`,`SCNL`,`CSEC`,`SNCT`,`ADDS`,`CPSG`,`TOKN`,`UKNW`],WH=[`authentication_token`,`billing_address_verification`,`bypass`,`biometry`,`cardholder_identification`,`cryptogram_verification`,`csc_verification`,`manual_verification`,`merchant_authentication`,`mobile`,`offline_pin`,`online_pin`,`other`,`paper_signature`,`passive_authentication`,`password`,`payment_token`,`secure_certificate`,`secured_channel`,`secure_ecommerce`,`secure_no_certificate`,`shipping_address_verification`,`signature_capture`,`token_authentication`,`unknown`],GH=[`A token is used to verify an already performed authentication.`,`Cardholder billing address verification.`,`Authentication bypassed by the merchant.`,`Biometric authentication of the cardholder.`,`Cardholder data provided for verification, for instance social security number, driver license number, passport number.`,`Verification of a cryptogram generated by a chip card or another device, for instance ARQC (Authorisation Request Cryptogram).`,`Verification of Card Security Code.`,`Manual verification, for example passport or drivers license.`,`Merchant-related authentication.`,`Customer mobile device.`,`Off-line PIN authentication (Personal Identification Number).`,`On-line PIN authentication (Personal Identification Number).`,`Other customer authentication.`,`Handwritten paper signature.`,`Authentication based on statistical cardholder behaviour.`,`Authentication by a password.`,`Verification or authentication related to the use of a payment token, for instance the validation of the authorised use of a token.`,`Electronic commerce transaction secured with the X.509 certificate of a customer.`,`Channel-encrypted transaction.`,`Authentication performed during a secure electronic commerce transaction.`,`Secure electronic transaction without cardholder certificate.`,`Cardholder shipping address verification.`,`Electronic signature capture (handwritten signature).`,`Cryptogram generated by the token requestor or a customer device to validate the authorised use of a token.`,`Authentication method is performed unknown.`],KH=new W(`Method and data intended to be used for this transaction to authenticate the cardholder or its card.`,UH,WH,GH),qH=c({definition:()=>ZH,optionDescriptions:()=>XH,optionsNexo:()=>JH,optionsNorm:()=>YH}),JH=[`DENY`,`MRCH`,`CARD`,`AUTH`,`CRPT`,`UCRP`],YH=[`denial`,`merchant_not_enrolled`,`non_participation`,`unable_to_authenticate`,`with_cryptogram`,`without_cryptogram`],XH=[`The authentication didn't succeed.`,`Merchant not enrolled in the authentication programme.`,`The card does not participate in the authentication programme.`,`The authentication couldn't be carried out.`,`Authentication succeeded with a cryptogram.`,`Authentication succeeded without a cryptogram.`],ZH=new W(`Result of authentication.`,JH,YH,XH),QH=c({definition:()=>nU,optionDescriptions:()=>tU,optionsNexo:()=>$H,optionsNorm:()=>eU}),$H=[`COQR`,`C128`,`C025`,`C039`,`EA13`,`EAN8`,`P417`,`UPCA`],eU=[`qr_code`,`code_128`,`code_25`,`code_39`,`ean_13`,`ean_8`,`pdf_417`,`upc_a`],tU=[`Barcode encoded according to the 2Dimensions Quick Response Code Standard.`,`Barcode encoded according to the Code 128 standard.`,`Barcode encoded according to the Code 25 standard.`,`Barcode encoded according to the Code 39 standard.`,`Barcode encoded according to the EAN13 standard.`,`Barcode encoded according to the EAN8 standard.`,`Barcode encoded according to the PDF417 standard.`,`Barcode encoded according to the UPCA standard.`],nU=new W(`Type of BarCode coding.`,$H,eU,tU),rU=c({definition:()=>sU,optionDescriptions:()=>oU,optionsNexo:()=>iU,optionsNorm:()=>aU}),iU=[`DTCT`,`CNCL`,`FAIL`,`DCLN`],aU=[`debit_credit`,`cancellation`,`failed`,`declined`],oU=[`Debit and credit transactions.`,`Cancellation of a previous transaction.`,`Failed transactions.`,`Declined transactions.`],sU=new W(`Types of transaction to include in the batch.`,iU,aU,oU),cU=c({definition:()=>fU,optionDescriptions:()=>dU,optionsNexo:()=>lU,optionsNorm:()=>uU}),lU=[`AIBD`,`PPAY`,`TKNF`,`EOPT`,`TOPT`],uU=[`ai_based_decision`,`plain_payment`,`transit_known_fare`,`energy_open_payment`,`transit_open_payment`],dU=[`The payment is initiated by an artificial intelligence based decision.`,`The card is used to perform a plain payment.`,`The card is used in a Transit business case where the fare amount is known when the transaction is initiated.`,`Indicates when the card is used in an energy business case where the amount could not be assessed when the transaction is initiated.`,`Indicates when the card is used in a transit business case where the fare amount is not known when the transaction is initiated.`],fU=new W(`Defines the business context of this transaction that could imply specific scheme rules.`,lU,uU,dU),pU=c({definition:()=>_U,optionDescriptions:()=>gU,optionsNexo:()=>mU,optionsNorm:()=>hU}),mU=[`LNGT`,`NUL8`,`NULG`,`NULL`,`RAND`],hU=[`length_padding`,`null_80_padding`,`null_length_padding`,`null_padding`,`random_padding`],gU=[`Message to encrypt is completed by a byte value containing the total number of added bytes.`,`Message to encrypt is completed by one bit of value 1, followed by null bits until the encryption block length is reached.`,`Message to encrypt is completed by null byte values, the last byte containing the total number of added bytes.`,`Message to encrypt is completed by null bytes.`,`Message to encrypt is completed by random value, the last byte containing the total number of added bytes.`],_U=new W(`Byte padding for a cypher block chaining mode encryption, if the padding is not implicit.`,mU,hU,gU),vU=c({definition:()=>SU,optionDescriptions:()=>xU,optionsNexo:()=>yU,optionsNorm:()=>bU}),yU=[`ADVC`,`NALW`,`REQU`,`APPL`],bU=[`advice`,`not_allowed`,`request`,`application_level`],xU=[`Card payment transaction may be cancelled by an advice only before closure of the reconciliation period or before the capture by batch.`,`Card payment transaction cannot be cancelled by the acquirer.`,`Card payment transaction may also be cancelled after the closure of the reconciliation period or after the capture`,`Cancellation of the Card payment transaction is defined by the payment application.`],SU=new W(`Configuration of the cancellation exchanges.`,yU,bU,xU),CU=c({definition:()=>DU,optionDescriptions:()=>EU,optionsNexo:()=>wU,optionsNorm:()=>TU}),wU=[`CTDP`,`CHCK`,`CRDT`,`CURR`,`CDBT`,`DFLT`,`EPRS`,`HEQL`,`ISTL`,`INVS`,`LCDT`,`MBNW`,`MNMK`,`MNMC`,`MTGL`,`RTRM`,`RVLV`,`SVNG`,`STBD`,`UVRL`,`PRPD`,`FLTC`],TU=[`certificate_of_deposit`,`checking`,`credit_card`,`current`,`debit_card`,`default`,`epurse`,`home_equity_loan`,`instalment_loan`,`investment`,`line_of_credit`,`mobile_phone`,`money_market`,`money_market_checking`,`mortgage_loan`,`retirement`,`revolving_loan`,`savings`,`stock_or_bond`,`universal`,`prepaid`,`fleet_card`],EU=[`Certificate of deposit saving account.`,`Checking account.`,`Credit card account.`,`Current account.`,`Debit card account.`,`Default account.`,`Electronic purse card account.`,`Home equity loan credit account.`,`Instalment loan credit account.`,`Investment account.`,`Line of credit account.`,`Mobile Station Integrated Services Digital Network Number (MSISDN).`,`Money market saving account.`,`Money market checking account.`,`Mortgage loan credit account.`,`Retirement account.`,`Revolving loan account.`,`Savings account.`,`Stock or bond investment account.`,`Universal account.`,`Pre-paid account.`,`Fleet card account.`],DU=new W(`Type of cardholder account used for the transaction.`,wU,TU,EU),OU=c({definition:()=>MU,optionDescriptions:()=>jU,optionsNexo:()=>kU,optionsNorm:()=>AU}),kU=[`TAGC`,`PHYS`,`BRCD`,`MGST`,`CICC`,`DFLE`,`CTLS`,`ECTL`,`CDFL`],AU=[`tag`,`physical`,`bar_code`,`magnetic_stripe`,`integrated_circuit_card`,`account_data`,`proximity_reader`,`emv_proximity_reader`,`card_on_file`],jU=[`Tag reading capabilities (RFID, etc.).`,`Keyboard entry or OCR reading of embossing or printed data, either at time of transaction or after the event.`,`Bar code.`,`Magnetic stripe.`,`ICC (Integrated Circuit Card) with contact containing software applications conform to ISO 7816.`,`Account data on file.`,`Contactless proximity reader.`,`Contactless proximity reader, with application conform to the standard EMV (standard initiated by Europay, Mastercard and Visa).`,`Card information are stored on a file.`],MU=new W(`Entry mode of the registration tag.`,kU,AU,jU),NU=c({definition:()=>LU,optionDescriptions:()=>IU,optionsNexo:()=>PU,optionsNorm:()=>FU}),PU=[`TAGC`,`PHYS`,`BRCD`,`MGST`,`CICC`,`DFLE`,`CTLS`,`ECTL`,`CDFL`,`SICC`,`UNKW`,`QRCD`,`OPTC`],FU=[`tag`,`physical`,`barcode`,`magnetic_stripe`,`integrated_circuit_card`,`account_data`,`proximity_reader`,`emv_proximity_reader`,`card_on_file`,`synchronous_integrated_circuit_card`,`unknown`,`qr_code`,`optical_code`],IU=[`Tag reading capabilities (RFID, etc.).`,`Keyboard entry or OCR reading of embossing or printed data, either at time of transaction or after the event.`,`Bar code.`,`Magnetic stripe.`,`ICC (Integrated Circuit Card) with contact containing software applications conform to ISO 7816.`,`Account data on file.`,`Contactless proximity reader.`,`Contactless proximity reader, with application conform to the standard EMV (standard initiated by Europay, Mastercard and Visa).`,`Card information are stored on a file.`,`Synchronous ICC - (Integrated Circuit Card) with contact.`,`Unknown card reading capability.`,`Quick response code.`,`Optical coded reading capabilities (e.g. barcode, QR code, etc.)`],LU=new W(`Card reading capabilities of the POI (Point Of Interaction) performing the transaction.`,PU,FU,IU),RU=c({definition:()=>HU,optionDescriptions:()=>VU,optionsNexo:()=>zU,optionsNorm:()=>BU}),zU=[`FFLB`,`SFLB`,`NFLB`],BU=[`fallback_after_failure`,`fallback_after_success`,`no_fallback`],VU=[`Card fall-back occurred during the transaction in progress. The previous transaction on the terminal failed.`,`Card fall-back occurred during the transaction in progress. The previous transaction on the terminal was successful.`,`No card fall-back during the transaction in progress.`],HU=new W(`Indicator of a card entry mode fallback.`,zU,BU,VU),UU=c({definition:()=>qU,optionDescriptions:()=>KU,optionsNexo:()=>WU,optionsNorm:()=>GU}),WU=[`APKI`,`CHDT`,`MNSG`,`MNVR`,`FBIG`,`FBIO`,`FDSG`,`FCPN`,`FEPN`,`NPIN`,`PKIS`,`SCEC`,`NBIO`,`NOVF`,`OTHR`],GU=[`account_digital_signature`,`cardholder_data`,`manual_signature`,`manual_verification`,`offline_biographics`,`offline_biometrics`,`offline_digital_signature`,`offline_pin_clear`,`offline_pin_encrypted`,`online_pin`,`pki_signature`,`secure_ecommerce`,`online_biometrics`,`no_capabilities`,`other`],KU=[`Account based digital signature.`,`Cardholder authentication data.`,`Manual signature verification.`,`Other manual verification, for example passport or drivers license.`,`Offline biographics.`,`Offline biometrics.`,`Offline digital signature analysis.`,`Offline PIN in clear (Personal Identification Number).`,`Offline PIN encrypted (Personal Identification Number).`,`Online PIN (Personal Identification Number).`,`PKI (Public Key Infrastructure) based digital signature.`,`Three domain secure (three domain secure authentication of the cardholder).`,`Online biometrics.`,`No cardholder verification capability.`,`Other cardholder verification capabilities.`],qU=new W(`Cardholder verification capabilities of the POI (Point Of Interaction) performing the transaction.`,WU,GU,KU),JU=c({definition:()=>QU,optionDescriptions:()=>ZU,optionsNexo:()=>YU,optionsNorm:()=>XU}),YU=[`ACCT`,`BARC`,`ISO2`,`PHON`,`CPAN`,`PRIV`,`UUID`],XU=[`account_number`,`bar_code`,`iso_track2`,`phone_number`,`primary_account_number`,`privative_numbering`,`uuid`],ZU=[`Account identification.`,`Bar-code with a specific form of identification.`,`ISO Track 2 including identification.`,`A phone number identifies the account on which the phone card is assigned.`,`Standard card identification (card number).`,`An identification set by a privative application.`,`A Universal Unique Identification code is set for identification.`],QU=new W(`Type of identification for this Stored Value Account.`,YU,XU,ZU),$U=c({definition:()=>rW,optionDescriptions:()=>nW,optionsNexo:()=>eW,optionsNorm:()=>tW}),eW=[`BALC`,`CACT`,`CRDP`,`CAFH`,`CAVR`,`CSHW`,`CSHD`,`DEFR`,`LOAD`,`ORCR`,`PINC`,`QUCH`,`RFND`,`RESA`,`VALC`,`UNLD`,`CAFT`,`CAFL`,`CIDD`],tW=[`balance`,`card_activation`,`card_payment`,`card_fund_transfer_push`,`card_verification`,`cash_advance`,`cash_deposit`,`deferred_payment`,`loading`,`original_credit`,`pin_change`,`quasi_cash`,`refund`,`reservation`,`validity_check`,`unloading`,`card_fund_transfer`,`card_fund_transfer_pull`,`card_initiated_direct_debit`],nW=[`Balance enquiry.`,`Card activation.`,`Card payment.`,`Transfer of funds to a card or an account.`,`Card verification.`,`Cash advance or withdrawals on a POI (Point Of Interaction), or at a bank counter.`,`Cash deposit.`,`Deferred payment.`,`Loading or reloading non-financial account.`,`Original credit.`,`PIN (Personal Identification Number) change.`,`Quasi-cash.`,`Refund transaction.`,`Reservation (pre-authorisation).`,`Card validity check.`,`Unloading non-financial account.`,`Transfer of funds to and/or from a card account.`,`Transfer of funds from a card or an account.`,`Direct Debit initiated by Card.`],rW=new W(`Type of transaction being undertaken for the main service.`,eW,tW,nW),iW=c({definition:()=>cW,optionDescriptions:()=>sW,optionsNexo:()=>aW,optionsNorm:()=>oW}),aW=[`IRES`,`URES`,`PRES`,`ARES`,`FREC`,`RREC`,`GOPT`],oW=[`initial_reservation`,`update_reservation`,`payment_reservation`,`additional_payment`,`first_recurring`,`repeat_recurring`,`guarantee_of_payment`],sW=[`Initial reservation.`,`Update reservation.`,`Payment after reservation.`,`Additional payment after reservation.`,`Initial recurring payment.`,`Repeat recurring payment.`,`Acceptor claims for guarantee of payment.`],cW=new W(`Additional attribute of the service type.`,aW,oW,sW),lW=c({definition:()=>pW,optionDescriptions:()=>fW,optionsNexo:()=>uW,optionsNorm:()=>dW}),uW=[`AGGR`,`DCCV`,`GRTT`,`LOYT`,`NRES`,`PUCO`,`RECP`,`SOAF`,`VCAU`,`INSI`,`INSA`,`CSHB`,`INST`,`NRFD`],dW=[`aggregation`,`dynamic_currency_conversion`,`gratuity`,`loyalty`,`no_show`,`purchase_corporate`,`recurring_payment`,`solicited_available_funds`,`voice_authorization`,`issuer_instalment`,`acceptor_instalment`,`cashback`,`instant`,`non_refundable`],fW=[`Aggregation of low payments.`,`Dynamic currency conversion (DCC).`,`Card payment with gratuity.`,`Loyalty services.`,`No show after reservation.`,`Purchase and corporate data.`,`Recurring payment.`,`Solicited available funds.`,`Voice authorisation.`,`Instalment payment transaction performed by the card issuer.`,`Instalment payment transaction performed by the acceptor or the acquirer.`,`Card payment with cash-back.`,`Instant transaction.`,`Payment of goods or services which are not refundable, for instance low cost airline tickets.`],pW=new W(`Service in addition to the main service.`,uW,dW,fW),mW=c({definition:()=>vW,optionDescriptions:()=>_W,optionsNexo:()=>hW,optionsNorm:()=>gW}),hW=[`COMM`,`CONS`],gW=[`commercial`,`consumer`],_W=[`Cards issued as a means of business expenditure, for instance business card or corporate card. The user could be a company, an individual for business expenses or a self employed for business purposes.`,`Cards issued as a means of personal expenditure. The user is always an individual.`],vW=new W(`Type of card product.`,hW,gW,_W),yW=c({definition:()=>CW,optionDescriptions:()=>SW,optionsNexo:()=>bW,optionsNorm:()=>xW}),bW=[`BANK`,`BUSI`,`GOVC`,`PAYR`,`PERS`],xW=[`bank_check`,`business_check`,`government_check`,`payroll_check`,`personal_check`],SW=[`The check is guaranteed by a bank.`,`The check belongs to a Company or a professional entity.`,`Check issued by Government.`,`Check issued by a company for the employees.`,`The check belongs to an individual.`],CW=new W(`Type of the check (personal or professional).`,bW,xW,SW),wW=c({definition:()=>OW,optionDescriptions:()=>DW,optionsNexo:()=>TW,optionsNorm:()=>EW}),TW=[`DATA`,`SIGN`,`EVLP`,`DGST`,`AUTH`],EW=[`plain_data`,`signed_data`,`enveloped_data`,`digested_data`,`authenticated_data`],DW=[`Generic, non cryptographic, or unqualified data content - (ASN.1 Object Identifier: id-data).`,`Digital signature - (ASN.1 Object Identifier: id-signedData).`,`Encrypted data, with encryption key - (ASN.1 Object Identifier: id- envelopedData).`,`Message digest - (ASN.1 Object Identifier: id-digestedData).`,`MAC (Message Authentication Code), with encryption key - (ASN.1 Object Identifier: id-ct-authData).`],OW=new W(`Type of data which have been authenticated.`,TW,EW,DW),kW=c({definition:()=>NW,optionDescriptions:()=>MW,optionsNexo:()=>AW,optionsNorm:()=>jW}),AW=[`AES2`,`EDE3`,`DKP9`,`AES9`,`AES5`,`EDE4`],jW=[`aes_128`,`des_112`,`dukpt_2009`,`aes_192`,`aes_256`,`des_168`],MW=[`AES (Advanced Encryption Standard) 128 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 - November 6, 2001 - Advanced Encryption Standard).`,`Data encryption standard key of 112 bits (without the parity bits).`,`DUKPT (Derived Unique Key Per Transaction) key, as specified in ANSI X9.24-2009 Annex A.`,`AES (Advanced Encryption Standard) encryption with a 192 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 – November 6, 2001 - Advanced Encryption Standard).`,`AES (Advanced Encryption Standard) encryption with a 256 bits cryptographic key as defined by the Federal Information Processing Standards (FIPS 197 – November 6, 2001 - Advanced Encryption Standard).`,`Data encryption standard key of 168 bits (without the parity bits).`],NW=new W(`Codes for qualifying the type of cryptographic keys.`,AW,jW,MW),PW=c({definition:()=>RW,optionDescriptions:()=>LW,optionsNexo:()=>FW,optionsNorm:()=>IW}),FW=[`AQPR`,`APPR`,`MTMG`,`MRPR`,`MTOR`,`SCPR`,`SWPK`,`TRPR`,`CRTF`,`TMSP`],IW=[`acquirer_parameters`,`application_parameters`,`master_terminal_manager`,`merchant_parameters`,`monitoring`,`security_parameters`,`software_module`,`terminal_parameters`,`certificate_parameters`,`tms_protocol_parameters`],LW=[`Acquirer specific configuration parameters for the point of interaction (POI) system.`,`Payment application specific configuration parameters for the point of interaction (POI) system.`,`The terminal manager is the master.`,`Merchant configuration parameters for the point of interaction (POI).`,`Monitoring of the terminal estate.`,`Point of interaction parameters related to the security of software application and application protocol.`,`Software module.`,`Point of interaction parameters attached to the terminal as serial number or physical capabilities.`,`Certificate provided by a terminal manager.`,`Configuration parameters for the TMS protocol.`],RW=new W(`Maintenance services provided by the terminal manager.`,FW,IW,LW),zW=c({definition:()=>UW,optionDescriptions:()=>HW,optionsNexo:()=>BW,optionsNorm:()=>VW}),BW=[`AQPR`,`APPR`,`TXCP`,`AKCP`,`DLGT`,`MGTP`,`MRPR`,`SCPR`,`SWPK`,`STRP`,`TRPR`,`VDPR`,`PARA`,`TMSP`,`CRTF`,`LOGF`,`CMRQ`,`MDFL`,`CONF`,`RPFL`,`SAPR`,`SPRP`],VW=[`acquirer_parameters`,`application_parameters`,`batch_capture`,`capture_response`,`delegation_data`,`management_plan`,`merchant_parameters`,`security_parameters`,`software_module`,`status_report`,`terminal_parameters`,`vendor_parameters`,`parameters`,`tms_protocol_parameters`,`certificate_parameters`,`log_file`,`certificate_management_request`,`media_file`,`configuration_file`,`report_file`,`sale_to_poi_protocol_parameters`,`service_provider_parameters`],HW=[`Acquirer specific configuration parameters for the point of interaction (POI) system.`,`Payment application specific configuration parameters for the point of interaction (POI) system.`,`Batch upload of transaction data (data capture of a group of transactions).`,`Batch download response for the batch capture of transactions.`,`Data needed to create a terminal management sub-domain.`,`Configuration of management plan in the point of interaction.`,`Merchant configuration parameters for the point of interaction (POI).`,`Point of interaction parameters related to the security of software application and application protocol.`,`Software module.`,`Report of software configuration and parameter status.`,`Point of interaction parameters attached to the terminal as serial number or physical capabilities.`,`Point of interaction parameters defined by the manufacturer for instance the PIN verification capabilities.`,`Any combination of configuration parameters for the point of interaction (POI).`,`Configuration parameters for the TMS protocol.`,`Certificate provided by a terminal manager.`,`Any repository used for recording log traces.`,`Trigger for CertificateManagementRequest.`,`Media file managed by an application of the POI.`,`Configuration file relevant for the POI.`,`Report file generated by the POI.`,`Parameters related to the Sale to POI protocol.`,`Service Provider specific parameters for the point of interaction (POI) system.`],UW=new W(`Category of data set.`,BW,VW,HW),WW=c({definition:()=>JW,optionDescriptions:()=>qW,optionsNexo:()=>GW,optionsNorm:()=>KW}),GW=[`JNRL`,`CRCP`,`HRCP`,`SRCP`,`RPIN`,`VCHR`],KW=[`journal`,`customer_receipt`,`cashier_receipt`,`sale_receipt`,`related_payment_instruction`,`voucher`],qW=[`When the POI or the Sale System wants to store a message on the journal printer or electronic journal of the Sale Terminal (it is sometimes a Sale Logging/Journal Printer).`,`When the Sale System requires the POI system to print the Customer receipt.`,`When the Sale system print the Cashier copy of the Payment receipt.`,`When the Sale System requires the POI system to print the Sale receipt.`,`Document is a linked payment instruction to which the current payment instruction is related, for example, in a cover scenario.`,`Document is an electronic payment document.`],JW=new W(`Qualification of the document printed to the Cashier or the Customer.`,GW,KW,qW),YW=c({definition:()=>$W,optionDescriptions:()=>QW,optionsNexo:()=>XW,optionsNorm:()=>ZW}),XW=[`TR31`,`TR34`,`I238`],ZW=[`tr31`,`tr34`,`iso20038_key_wrap`],QW=[`Format of a cryptographic key specified by the ANSI X9 TR-31 standard.`,`Format of a cryptographic key specified by the ANSI X9 TR-34 standard.`,`Format of a cryptographic key specified by the ISO20038 standard.`],$W=new W(`Format of data before encryption, if the format is not plaintext or implicit.`,XW,ZW,QW),eG=c({definition:()=>iG,optionDescriptions:()=>rG,optionsNexo:()=>tG,optionsNorm:()=>nG}),tG=[`ONDM`,`IMMD`,`ASAP`,`AGRP`,`NBLT`,`TTLT`,`CYCL`,`NONE`,`BLCK`],nG=[`on_demand`,`immediately`,`as_soon_as_possible`,`as_group`,`number_limit`,`total_limit`,`cyclic`,`none`,`blocking`],rG=[`Exchange is performed if requested by the acquirer in a previous exchange, or at any time by the acceptor.`,`Exchange is performed just after the transaction completion.`,`As soon as the acquirer is contacted, for example with the next on-line transaction.`,`Exchanges are performed after reaching a maximum number of transaction or time period.`,`Exchange is performed after reaching a number of transactions without exchanges with the acquirer.`,`Exchange is performed after reaching a cumulative amount of transactions without exchanges with the acquirer.`,`Cyclic exchanges based on the related time conditions.`,`No exchange.`,`All pending process must be paused until exchange is exclusively performed just after the transaction completion.`],iG=new W(`Exchange policy between parties.`,tG,nG,rG),aG=c({definition:()=>lG,optionDescriptions:()=>cG,optionsNexo:()=>oG,optionsNorm:()=>sG}),oG=[`LOWA`,`MINT`,`RECP`,`SCPE`,`SCAD`,`TRAE`,`PKGE`,`TMBE`],sG=[`low_amount`,`merchant_initiated`,`recurring_payment`,`secure_corporate_payment`,`sca_delegation`,`transaction_risk_analysis`,`transport_parking_payment`,`trusted_merchant_beneficiary`],cG=[`Transaction's amount is low and could be processed without strong customer authentication.`,`Transaction is initiated by the Card Acceptor.`,`Transaction is one of a series of recurring payment.`,`Transaction is a secure corporate payment.`,`Card Acceptor is a strong customer authentication delegate.`,`According to the transaction risk analysis the strong customer authentication is not mandated.`,`Payment is processed in a environment ntExemption where strong customer authentication is inappropriate.`,`Cardholder has enrolled the Card Acceptor in the exemption list of strong customer authentication.`],lG=new W(`If Strong Customer Authentication is not mandated to process the transaction, this message element must identify the reason of exemption.`,oG,sG,cG),uG=c({definition:()=>mG,optionDescriptions:()=>pG,optionsNexo:()=>dG,optionsNorm:()=>fG}),dG=[`CDCL`,`CUCL`,`MALF`,`FDCL`,`NDCL`,`PART`,`SFRD`,`TIMO`,`LATE`,`UCMP`,`USND`,`SECU`],fG=[`card_declined`,`customer_cancellation`,`malfunction`,`offline_declined`,`online_declined`,`partial`,`suspected_fraud`,`timeout`,`too_late_response`,`unable_to_complete`,`unable_to_send`,`security_error`],pG=[`Integrated circuit card declines the transaction before or after the authorisation.`,`Customer cancellation, for example removing the card before the end of the transaction.`,`Suspected malfunction.`,`Offline authorisation declined the transaction.`,`Online authorisation declined the transaction.`,`Completed partially.`,`Card payment transaction fails because the merchant suspect a fraud.`,`Timeout while waiting for a response to a request message, or no response was received (for example connection release before receiving the response).`,`Response to the previous message was received too late.`,`Unable to complete the transaction after the authorisation response.`,`Unable to deliver the request message to the recipient party.`,`Security error has occurred in the authorisation response message sent by the acquirer.`],mG=new W(`List of incidents happening at the acceptor during the transaction.`,dG,fG,pG),hG=c({definition:()=>yG,optionDescriptions:()=>vG,optionsNexo:()=>gG,optionsNorm:()=>_G}),gG=[`AUTH`,`COMP`,`BTCH`],_G=[`authorisation`,`completion`,`batch`],vG=[`Financial capture of the transaction is performed by the acquirer during the authorisation exchange.`,`Financial capture of the transaction is performed by the acquirer during the completion exchange.`,`Financial capture of the transaction is performed by the acquirer at the reception of a batch transfer.`],yG=new W(`Mode for the financial capture of the transaction by the acquirer.`,gG,_G,vG),bG=c({definition:()=>wG,optionDescriptions:()=>CG,optionsNexo:()=>xG,optionsNorm:()=>SG}),xG=[`YEAR`,`MNTH`,`QURT`,`MIAN`,`WEEK`,`DAIL`,`TEND`],SG=[`annual`,`monthly`,`quarterly`,`semi_annual`,`weekly`,`daily`,`ten_days`],CG=[`Event takes place every year or once a year.`,`Event takes place every month or once a month.`,`Event takes place every three months or four times a year.`,`Event takes place every six months or two times a year.`,`Event takes place once a week.`,`Event takes place every day.`,`Event takes place every ten business days.`],wG=new W(`Period unit between consecutive payments (for example day, month, year).`,xG,SG,CG),TG=c({definition:()=>kG,optionDescriptions:()=>OG,optionsNexo:()=>EG,optionsNorm:()=>DG}),EG=[`WEKS`,`PMTS`,`OTHP`,`OTHN`,`MNTH`,`DAYS`],DG=[`weeks`,`payments`,`other_private`,`other_national`,`months`,`days`],OG=[`Grace period weeks.`,`Grace period payments.`,`Other Private Grace period.`,`Other National Grace period.`,`Grace period months.`,`Grace period days.`],kG=new W(`Grace period unit type.`,EG,DG,OG),AG=c({definition:()=>PG,optionDescriptions:()=>NG,optionsNexo:()=>jG,optionsNorm:()=>MG}),jG=[`CUSA`,`DISP`,`DOCT`,`ERRO`,`INPT`,`POIR`,`RCPT`,`SOND`,`STAT`,`VCHR`],MG=[`customer_assistance`,`display`,`document`,`error`,`input`,`poi_replication`,`receipt`,`sound`,`status`,`voucher`],NG=[`Input of the Cardholder POI interface which can be entered by the Cashier to assist the Customer.`,`Standard display interface.`,`When the POI System wants to print specific document (check, dynamic currency conversion ...). Used by the Sale System when the printer is not located on the Sale System.`,`The information is related to an error situation occurring on the message sender.`,`Answer to a question or information to be entered by the Cashier or the Customer, at the request of the POI Terminal or the Sale Terminal.`,`Information displayed on the Cardholder POI interface, replicated on the Cashier interface.`,`Where you print the Payment receipt that could be located on the Sale System or in some cases a restricted Sale ticket on the POI Terminal.`,`Standard sound interface.`,`The information is a new state on which the message sender is entering. For instance, during a payment, the POI could display to the Cashier that POI request an authorisation to the host acquirer.`,`Coupons, voucher or special ticket generated by the POI or the Sale System and to be printed.`],PG=new W(`Qualification of the information to sent to an output logical device.`,jG,MG,NG),FG=c({definition:()=>zG,optionDescriptions:()=>RG,optionsNexo:()=>IG,optionsNorm:()=>LG}),IG=[`DCSG`,`DGSG`,`GAKY`,`GCNF`,`GFKY`,`GMNE`,`PSWD`,`SITE`,`TXSG`,`HTML`,`SIGN`],LG=[`decimal_string`,`digit_string`,`get_any_key`,`get_confirmation`,`get_function_key`,`get_menu_entry`,`password`,`site_manager`,`text_string`,`xhtml_text`,`signature`],RG=[`Wait for a string of digit characters with a decimal point, the length range could be specified.`,`Wait for a string of digit characters.`,`Wait for a key pressed on the Terminal, to be able to read the message displayed on the Terminal.`,`Wait for a confirmation Yes (Y) or No (N) on the Sale System. Wait for a confirmation (Valid or Cancel button) on the POI Terminal. The result of the command is a Boolean: True or False.`,`Wait for a function key pressed on the Terminal: From POI, Valid, Clear, Correct, Generic Function key number. From Sale, Generic Function key.`,`To choose an entry among a list of entries (all of them are not necessary`,`Request to enter a password with masked characters while typing the password.`,`Wait for a confirmation Yes (Y) or No (N) of the Site Manager on the Sale System.`,`Wait for a string of alphanumeric characters.`,`Wait for a XHTML data.`,`Request to wait for signature.`],zG=new W(`Type of processed input.`,IG,LG,RG),BG=c({definition:()=>WG,optionDescriptions:()=>UG,optionsNexo:()=>VG,optionsNorm:()=>HG}),VG=[`TAXX`,`RQST`,`OTHP`,`OTHN`,`OTHC`,`INSU`,`FUNA`,`FEES`,`EXPN`,`AFCO`],HG=[`tax`,`requested`,`other_private`,`other_national`,`other_charges`,`insurance`,`funded`,`fees`,`expense`,`annual_financing_cost`],UG=[`Instalment amount tax`,`Requested amount`,`Grace period unit type`,`Grace period unit type`,`Other amounts`,`Insurance amount`,`Funded amount`,`Fees amount`,`Expense Amount`,`Total financing cost per annum.`],WG=new W(`Grace period unit type.`,VG,HG,UG),GG=c({definition:()=>YG,optionDescriptions:()=>JG,optionsNexo:()=>KG,optionsNorm:()=>qG}),KG=[`MNTH`,`ANNU`],qG=[`monthly`,`annual`],JG=[`Monthly instalment period.`,`Annual instalment period.`],YG=new W(`Contains instalment period`,KG,qG,JG),XG=c({definition:()=>eK,optionDescriptions:()=>$G,optionsNexo:()=>ZG,optionsNorm:()=>QG}),ZG=[`EQPM`,`NQPM`,`DFRI`],QG=[`equal_payment`,`unequal_payment`,`deferred_instalment`],$G=[`The payment is split in several instalments of equal amounts.`,`The payment is split in several instalments of different amounts.`,`The first instalment is deferred.`],eK=new W(`Type of instalment plan.`,ZG,QG,$G),tK=c({definition:()=>aK,optionDescriptions:()=>iK,optionsNexo:()=>nK,optionsNorm:()=>rK}),nK=[`GSRT`,`NTRT`,`OTHN`,`OTHP`],rK=[`gross_rate`,`net_rate`,`other_national`,`other_private`],iK=[`Gross interest rate of the instalment`,`Net interest rate of the instalment`,`Other interest rate of the instalment`,`Other interest rate of the instalment`],aK=new W(`Interest rate applicable to the instalment.`,nK,rK,iK),oK=c({definition:()=>uK,optionDescriptions:()=>lK,optionsNexo:()=>sK,optionsNorm:()=>cK}),sK=[`ENCR`,`DCPT`,`DENC`,`DDEC`,`TRNI`,`TRNX`,`MACG`,`MACV`,`SIGG`,`SUGV`,`PINE`,`PIND`,`PINV`,`KEYG`,`KEYI`,`KEYX`,`KEYD`],cK=[`encryption`,`decryption`,`data_encryption`,`data_decryption`,`translate_input`,`translate_output`,`mac_generation`,`mac_verification`,`signature_generation`,`signature_verification`,`pin_encryption`,`pin_decryption`,`pin_verification`,`key_generation`,`key_import`,`key_export`,`key_derivation`],lK=[`Key may encrypt.`,`Key may decrypt.`,`Key may encrypt data.`,`Key may decrypt data.`,`Key may encrypt information before translation.`,`Key may encrypt information after translation.`,`Key may generate message authentication codes (MAC).`,`Key may verify message authentication codes (MAC).`,`Key may generate digital signatures.`,`Key may verify digital signatures.`,`Key may encrypt personal identification numbers (PIN).`,`Key may decrypt personal identification numbers (PIN).`,`Key may verify personal identification numbers (PIN).`,`Key may generate keys.`,`Key may import keys.`,`Key may export keys.`,`Key may derive keys.`],uK=new W(`Allowed usage of the key.`,sK,cK,lK),dK=c({definition:()=>hK,optionDescriptions:()=>mK,optionsNexo:()=>fK,optionsNorm:()=>pK}),fK=[`INDR`,`IPMP`,`MPOI`,`MPMP`,`MSLE`,`SSLE`,`VNDG`],pK=[`indoor`,`inside_pump`,`multiple_poi_terminal`,`multiple_pump`,`multiple_sale_terminal`,`single_sale_terminal`,`vending_machine`],mK=[`Indoor terminal.`,`Terminal incorporated in the pump dispensing petrol.`,`Multiple terminals linked to a unique sale terminal.`,`Outdoor terminal serving several petrol pumps.`,`Terminal serving multiple sale terminals.`,`Terminal linked to a unique sale terminal.`,`Terminal integrated in a vending machine.`],hK=new W(`Indicates the type of integration of the POI terminal in the sale environment.`,fK,pK,mK),gK=c({definition:()=>bK,optionDescriptions:()=>yK,optionsNexo:()=>_K,optionsNorm:()=>vK}),_K=[`ABRD`,`NMDC`,`FIXD`,`VIRT`],vK=[`aboard`,`nomadic`,`fixed`,`virtual`],yK=[`Aboard is used when the sale is done in a vehicle (e.g a bus, train, ship, airplane, taxi, etc).`,`Nomadic is used when the merchant is traveling to different locations (e.g fair or sport events, home delivery, food truck).`,`Fixed location, for example in a shop.`,`Virtual Shop is used for any ecommerce solution.`],bK=new W(`Location category of the place where the merchant actually performed the transaction.`,_K,vK,yK),xK=c({definition:()=>TK,optionDescriptions:()=>wK,optionsNexo:()=>SK,optionsNorm:()=>CK}),SK=[`ALLO`,`DENY`,`PRCS`,`PROP`,`REQU`],CK=[`allowed`,`forbidden`,`processed`,`proposed`,`required`],wK=[`The loyalty is accepted, but the POI has not to require or ask a loyalty card. The loyalty is involved by the payment card (e.g. an hybrid or linked card).`,`No loyalty card to read and loyalty transaction to process. Any attempt to enter a pure loyalty card is rejected.`,`The loyalty transaction is already processed, no loyalty card or loyalty transaction to process.`,`The loyalty is accepted, and the POI has to ask a loyalty card. If the Customer does not enter a loyalty card, no loyalty transaction is realised.`,`The loyalty is required, and the POI refuses the processing of the message request if the cardholder does not enter a loyalty card.`],TK=new W(`Way of Loyalty handling.`,SK,CK,wK),EK=c({definition:()=>AK,optionDescriptions:()=>kK,optionsNexo:()=>DK,optionsNorm:()=>OK}),DK=[`BYTE`,`EXAB`,`GIGA`,`KILO`,`MEGA`,`PETA`,`TERA`],OK=[`byte`,`exabyte`,`gigabyte`,`kilobyte`,`megabyte`,`petabyte`,`terabyte`],kK=[`Byte.`,`Exa byte.`,`Giga byte.`,`Kilo byte.`,`Mega byte.`,`Peta byte.`,`Tera byte.`],AK=new W(`Memory unit of the sizes.`,DK,OK,kK),jK=c({definition:()=>FK,optionDescriptions:()=>PK,optionsNexo:()=>MK,optionsNorm:()=>NK}),MK=[`FAUQ`,`CCAQ`,`CMPV`,`DGNP`,`RCLQ`,`CCAV`,`BTCH`,`FRVA`,`AUTQ`,`FCMV`,`DCCQ`,`RVRA`,`DCAV`,`TRNA`,`NFRQ`,`TRPQ`],NK=[`financial_authorisation_request`,`cancellation_request`,`completion_advice`,`diagnostic_request`,`reconciliation_request`,`cancellation_advice`,`batch_transfer`,`financial_reversal_advice`,`authorisation_request`,`financial_completion_advice`,`currency_conversion_request`,`reversal_advice`,`currency_conversion_advice`,`transaction_advice`,`non_financial_request`,`transaction_report_request`],PK=[`Request for authorisation with financial capture.`,`Request for cancellation.`,`Advice for completion without financial capture.`,`Request for diagnostic.`,`Request for reconciliation.`,`Advice for cancellation.`,`Transfer the financial data as a collection of transction.`,`Advice for reversal with financial capture.`,`The initiator requests an authorisation without financial impact to complete the transaction.`,`Advice for completion with financial capture.`,`Request for dynamic currency conversion.`,`Advice for reversal without financial capture.`,`Advice for dynamic currency conversion.`,`Advise of the transaction's processing.`,`Initiator of the message requests additional information to the receiver.`,`Request to receive of a report of transaction from the issuer to the receiver.`],FK=new W(`Types of message to send to this host.`,MK,NK,PK),IK=c({definition:()=>BK,optionDescriptions:()=>zK,optionsNexo:()=>LK,optionsNorm:()=>RK}),LK=`AUTQ.AUTP.CCAV.CCAK.CCAQ.CCAP.CMPV.CMPK.DCAV.DCRR.DCCQ.DCCP.DGNP.DGNQ.FAUQ.FAUP.FCMV.FCMK.FRVA.FRVR.RCLQ.RCLP.RVRA.RVRR.CDDQ.CDDK.CDDR.CDDP.TRNR.TRNA.NFRQ.NFRP.TRPQ.TRPP.DCRQ.DCRP`.split(`.`),RK=`authorisation_request.authorisation_response.cancellation_advice.cancellation_advice_response.cancellation_request.cancellation_response.completion_advice.completion_advice_response.currency_conversion_advice.currency_conversion_advice_response.currency_conversion_request.currency_conversion_response.diagnostic_request.diagnostic_response.financial_authorisation_request.financial_authorisation_response.financial_completion_advice.financial_completion_advice_response.financial_reversal_advice.financial_reversal_advice_response.reconciliation_request.reconciliation_response.reversal_advice.reversal_advice_response.card_debit_advice.card_debit_advice_response.card_debit_request.card_debit_response.transaction_advice_response.transaction_advice.non_financial_request.non_financial_response.transaction_report_request.transaction_report_response.currency_conversion_rate_request.currency_conversion_rate_response`.split(`.`),zK=`The initiator requests an authorisation without financial impact to complete the transaction.,Response for authorisation without financial capture.,Advice for cancellation.,Advice response for cancellation.,Request for cancellation.,Response for cancellation.,Advice for completion without financial capture.,Advice response for completion without financial capture.,Advice for dynamic currency conversion.,Advice response for the currency conversion from the service provider to the acceptor.,Request for dynamic currency conversion.,Response from a dynamic currency conversion.,Request for diagnostic.,Response for diagnostic.,Request for authorisation with financial capture.,Response for authorisation with financial capture.,Advice for completion with financial capture.,Advice response for completion with financial capture.,Advice for reversal with financial capture.,Advice response for reversal with financial capture.,Request for reconciliation.,Response for reconciliation.,Advice for reversal without financial capture.,Advice response for reversal without financial capture.,Advice for a Card Direct Debit.,Response to a Card Direct Debit Advice.,Request to initiate a Card Direct Debit.,Response to a Card Direct Debit Request.,Response to a transaction advice.,Advise of the transaction's processing.,Initiator of the message requests additional information to the receiver.,Provision of additional information to the issuer of a NonFinancialRequest.,Request to receive of a report of transaction from the issuer to the receiver.,Response to provide a sanitized report of transactions.,Request to receive catalogue of Currency Conversion rates.,Response with catalogue of Currency Conversion rates.`.split(`,`),BK=new W(`Identifies the type of process related to the message.`,LK,RK,zK),VK=c({definition:()=>GK,optionDescriptions:()=>WK,optionsNexo:()=>HK,optionsNorm:()=>UK}),HK=[`RJCQ`,`RJCP`],UK=[`acceptor_request_reject`,`acceptor_response_reject`],WK=[`Reject of a request or an advice message by an acquirer or an agent.`,`Reject of a response or an advice response message by a card acceptor or an agent.`],GK=new W(`Identifies the message function within a card payment exchange.`,HK,UK,WK),KK=c({definition:()=>XK,optionDescriptions:()=>YK,optionsNexo:()=>qK,optionsNorm:()=>JK}),qK=[`MNDT`,`CFVL`,`DFLT`,`ALWV`,`IFAV`,`COPY`,`UNSP`,`LMNV`],JK=[`mandatory`,`configured_value`,`default_value`,`allowed_values`,`if_available`,`copy`,`not_supported`,`list_minimum_values`],YK=[`Message item must be present.`,`Message item must be present with the configured value.`,`Message item has the configured value if the item is absent.`,`Message item must have one of the configured values.`,`Message item has to be present if available.`,`Message item is present if it was present in a previous related message with the same value.`,`Message item is not supported and has to be absent.`,`Minimum set of values to use in messages.`],XK=new W(`Condition of presence of the message item.`,qK,JK,YK),ZK=c({definition:()=>tq,optionDescriptions:()=>eq,optionsNexo:()=>QK,optionsNorm:()=>$K}),QK=[`IPNW`,`PSTN`],$K=[`internet_protocol`,`public_telephone`],eq=[`Protocol of an IP network.`,`Protocol of a Public Switched Telephone Network (PSTN).`],tq=new W(`Type of communication network.`,QK,$K,eq),nq=c({definition:()=>oq,optionDescriptions:()=>aq,optionsNexo:()=>rq,optionsNorm:()=>iq}),rq=[`SCK5`,`SCK4`,`HTTP`],iq=[`sock5`,`sock4`,`http`],aq=[`Sock5 proxy.`,`Sock4 proxy.`,`HTTP proxy.`],oq=new W(`Type of proxy.`,rq,iq,aq),sq=c({definition:()=>dq,optionDescriptions:()=>uq,optionsNexo:()=>cq,optionsNorm:()=>lq}),cq=[`ACQR`,`PARQ`,`RISK`,`TOKN`,`ADDR`,`INSM`],lq=[`acquirer_selection`,`par_request`,`risk_management`,`token_request`,`additional_request`,`instalment_plan_request`],uq=[`According to several parameters of a transaction, an Intermediary Agent helps an Acceptor to identify the more relevant Acquirer to process the transaction.`,`The Intermediary Agent or Acquirer provides the PaymentAccountReference to use to process the transaction.`,`The Intermediary Agent or Acquirer helps the Acceptor to assess the risk management of the transaction.`,`The Intermediary Agent or Acquirer provides the token to use to process the transaction.`,`Indicates a request which implies to receive additional information.`,`Request to receive acquirer instalment plans.`],dq=new W(`Identification of non financial action supported by the Service Provider.`,cq,lq,uq),fq=c({definition:()=>gq,optionDescriptions:()=>hq,optionsNexo:()=>pq,optionsNorm:()=>mq}),pq=[`OFLN`,`ONLN`,`SMON`],mq=[`offline`,`online`,`semi_offline`],hq=[`Off-line only capable.`,`On-line only capable.`,`Off-line capable with possible on-line requests to the acquirer.`],gq=new W(`On-line and off-line capabilities of the POI (Point Of Interaction).`,pq,mq,hq),_q=c({definition:()=>xq,optionDescriptions:()=>bq,optionsNexo:()=>vq,optionsNorm:()=>yq}),vq=[`RNDM`,`ICCF`,`MERF`,`TRMF`,`ISSF`,`FRLT`,`EXFL`,`TAMT`,`CBIN`,`UBIN`,`CPAN`,`FLOW`,`CRCY`,`IFPR`],yq=[`random_selection`,`icc_forced`,`merchant_forced`,`terminal_forced`,`issuer_forced`,`floor_limit`,`exception_file`,`total_amount`,`controlled_bin`,`unknown_bin`,`controlled_pan`,`flow_control`,`unavailable_currency`,`issuer_forced_pin_request`],bq=[`Transaction random selection to go online.`,`Payment application in the Integrated Circuit Card forces to go on-line.`,`On line forced by card acceptor.`,`Terminal random selection to go online.`,`On line forced by card issuer.`,`Over floor limit.`,`Card appears on terminal exception file.`,`Total amount of purchases per cardholder and per application above floor limit.`,`Bank Identification Number under control.`,`Unknown Bank Identification Number.`,`Primary account number (card number) under control.`,`Flow control.`,`Unknown currency code or foreign currency.`,`Request Cardholder Authentication through PIN insertion.`],xq=new W(`Reason to process an online authorisation.`,vq,yq,bq),Sq=c({definition:()=>Eq,optionDescriptions:()=>Tq,optionsNexo:()=>Cq,optionsNorm:()=>wq}),Cq=[`MREF`,`TEXT`,`HTML`],wq=[`message_reference`,`simple_text`,`xhtml`],Tq=[`Predefined configured messages, identified by a reference.`,`Text without format attributes.`,`XHTML document which includes a subset of the XHTML output tag.`],Eq=new W(`Available message format.`,Cq,wq,Tq),Dq=c({definition:()=>jq,optionDescriptions:()=>Aq,optionsNexo:()=>Oq,optionsNorm:()=>kq}),Oq=[`BARC`,`MENT`,`MREF`,`SREF`,`TEXT`,`HTML`],kq=[`barcode`,`menu_entry`,`message_reference`,`screen_reference`,`simple_text`,`xhtml`],Aq=[`Barcode to output in several possible format.`,`A text to display as a menu before requesting an input.`,`Predefined configured messages, identified by a reference.`,`Screen to display identified by a reference.`,`Text without format attributes.`,`XHTML document which includes a subset of the XHTML output tag.`],jq=new W(`Message format.`,Oq,kq,Aq),Mq=c({definition:()=>Iq,optionDescriptions:()=>Fq,optionsNexo:()=>Nq,optionsNorm:()=>Pq}),Nq=[`OPOI`,`MERC`,`ACCP`,`ITAG`,`ACQR`,`CISS`,`DLIS`,`ICCA`],Pq=[`originating_poi`,`merchant`,`acceptor`,`intermediary_agent`,`acquirer`,`card_issuer`,`delegate_issuer`,`card_application`],Fq=[`Point Of Interaction initiating the card payment transaction.`,`Merchant providing goods and service in the card payment transaction.`,`Card acceptor, party accepting the card and presenting transaction data to the acquirer.`,`Party acting on behalf of other parties to process or forward data to other parties.`,`Entity acquiring card transactions.`,`Party that issues cards.`,`Party to whom the card issuer delegates to authorise card payment transactions.`,`Application in the smart card.`],Iq=new W(`Type of identified entity.`,Nq,Pq,Fq),Lq=c({definition:()=>Vq,optionDescriptions:()=>Bq,optionsNexo:()=>Rq,optionsNorm:()=>zq}),Rq=[`PGRP`,`PSYS`,`PSNG`],zq=[`poi_group`,`poi_system`,`single_poi`],Bq=[`Configuration to apply to a subset of the whole POI system.`,`Configuration to apply to the whole POI system.`,`Configuration to apply to a single POI terminal.`],Vq=new W(`Scope of the configuration contained in the data set.`,Rq,zq,Bq),Hq=c({definition:()=>Kq,optionDescriptions:()=>Gq,optionsNexo:()=>Uq,optionsNorm:()=>Wq}),Uq=[`OPOI`,`MERC`,`ACCP`,`ITAG`,`ACQR`,`CISS`,`DLIS`,`MTMG`,`TAXH`,`TMGT`],Wq=[`originating_poi`,`merchant`,`acceptor`,`intermediary_agent`,`acquirer`,`card_issuer`,`delegate_issuer`,`master_terminal_manager`,`tax_authority`,`terminal_manager`],Gq=[`Point Of Interaction initiating the card payment transaction.`,`Merchant providing goods and service in the card payment transaction.`,`Card acceptor, party accepting the card and presenting transaction data to the acquirer.`,`Party acting on behalf of other parties to process or forward data to other parties.`,`Entity acquiring card transactions.`,`Party that issues cards.`,`Party to whom the card issuer delegates to authorise card payment transactions.`,`Responsible for the maintenance of a card payment acceptance terminal.`,`Tax authority.`,`Responsible for one or several maintenance functions of a card payment acceptance terminal.`],Kq=new W(`Type of identified entity.`,Uq,Wq,Gq),qq=c({definition:()=>Zq,optionDescriptions:()=>Xq,optionsNexo:()=>Jq,optionsNorm:()=>Yq}),Jq=[`OPOI`,`MERC`,`ACCP`,`ITAG`,`ACQR`,`CISS`,`DLIS`],Yq=[`originating_poi`,`merchant`,`acceptor`,`intermediary_agent`,`acquirer`,`card_issuer`,`delegate_issuer`],Xq=[`Point Of Interaction initiating the card payment transaction.`,`Merchant providing goods and service in the card payment transaction.`,`Card acceptor, party accepting the card and presenting transaction data to the acquirer.`,`Party acting on behalf of other parties to process or forward data to other parties.`,`Entity acquiring card transactions.`,`Party that issues cards.`,`Party to whom the card issuer delegates to authorise card payment transactions.`],Zq=new W(`Type of identified entity.`,Jq,Yq,Xq),Qq=c({definition:()=>nJ,optionDescriptions:()=>tJ,optionsNexo:()=>$q,optionsNorm:()=>eJ}),$q=[`MERC`,`ACCP`,`ITAG`,`ACQR`,`CISS`,`TAXH`],eJ=[`merchant`,`acceptor`,`intermediary_agent`,`acquirer`,`card_issuer`,`tax_authority`],tJ=[`Merchant providing goods and service in the card payment transaction.`,`Card acceptor, party accepting the card and presenting transaction data to the acquirer.`,`Party acting on behalf of other parties to process or forward data to other parties.`,`Entity acquiring card transactions.`,`Party that issues cards.`,`Tax authority.`],nJ=new W(`Entity assigning the identification (for example merchant, acceptor, acquirer, or tax authority).`,$q,eJ,tJ),rJ=c({definition:()=>sJ,optionDescriptions:()=>oJ,optionsNexo:()=>iJ,optionsNorm:()=>aJ}),iJ=[`OPOI`,`ACCP`,`MERC`,`ACQR`,`ITAG`,`MTMG`,`TMGT`],aJ=[`originating_poi`,`acceptor`,`merchant`,`acquirer`,`intermediary_agent`,`master_terminal_manager`,`terminal_manager`],oJ=[`Point Of Interaction initiating the card payment transaction.`,`Card acceptor, party accepting the card and presenting transaction data to the acquirer.`,`Merchant providing goods and service in the card payment transaction.`,`Entity acquiring card transactions.`,`Party acting on behalf of other parties to process or forward data to other parties.`,`Responsible for the maintenance of a card payment acceptance terminal.`,`Responsible for one or several maintenance functions of a card payment acceptance terminal.`],sJ=new W(`Identification of the type of entity involved in a maintenance operation.`,iJ,aJ,oJ),cJ=c({definition:()=>fJ,optionDescriptions:()=>dJ,optionsNexo:()=>lJ,optionsNorm:()=>uJ}),lJ=[`ACQR`,`ITAG`,`PCPT`,`TMGT`,`SALE`],uJ=[`acquirer`,`intermediary_agent`,`poi_component`,`terminal_manager`,`sale_system`],dJ=[`Entity acquiring card transactions.`,`Party acting on behalf of other parties to process or forward data to other parties.`,`Party component of a POI system or POI terminal (Point of Interaction).`,`Responsible for one or several maintenance functions of a card payment acceptance terminal.`,`Party selling goods and services.`],fJ=new W(`Entity that communicate with the current component, using this communication device.`,lJ,uJ,dJ),pJ=c({definition:()=>_J,optionDescriptions:()=>gJ,optionsNexo:()=>mJ,optionsNorm:()=>hJ}),mJ=[`ISO0`,`ISO1`,`ISO2`,`ISO3`,`ISO4`,`ISO5`],hJ=[`iso0`,`iso1`,`iso2`,`iso3`,`iso4`,`iso5`],gJ=[`ISO0`,`ISO1`,`ISO2`,`ISO3`,`ISO4`,`ISO5`],_J=new W(`PIN (Personal Identification Number) format before encryption.`,mJ,hJ,gJ),vJ=c({definition:()=>SJ,optionDescriptions:()=>xJ,optionsNexo:()=>yJ,optionsNorm:()=>bJ}),yJ=[`PIAE`,`PIAV`,`PIVO`],bJ=[`pin_acquisition_encryption`,`pin_acquisition_verification`,`pin_verify_only`],xJ=[`The cardholder enters the PIN, the POI enciphers the PIN Block and provides it as a result to the Sale System.`,`The Cardholder enters the PIN and the POI verifies it.`,`The Sale System send a previous keyed PIN and the POI verifies it.`],SJ=new W(`Type of PIN Service.`,yJ,bJ,xJ),CJ=c({definition:()=>DJ,optionDescriptions:()=>EJ,optionsNexo:()=>wJ,optionsNorm:()=>TJ}),wJ=[`ACCP`,`ACQR`,`ISSR`,`OTHN`,`OTHP`],TJ=[`acceptor`,`acquirer`,`issuer`,`other_national`,`other_private`],EJ=[`Plan owner is an acceptor.`,`Plan owner is an acquirer.`,`Plan owner is an issuer.`,`plan owner type is other national.`,`plan owner type is other private.`],DJ=new W(`Type of the Plan Owner.`,wJ,TJ,EJ),OJ=c({definition:()=>MJ,optionDescriptions:()=>jJ,optionsNexo:()=>kJ,optionsNorm:()=>AJ}),kJ=[`BLTH`,`ETHR`,`GPRS`,`GSMF`,`PSTN`,`RS23`,`USBD`,`USBH`,`WIFI`,`WT2G`,`WT3G`,`WT4G`,`WT5G`],AJ=[`bluetooth`,`ethernet`,`gprs`,`gsm`,`pstn`,`rs232`,`usb_device`,`usb_host`,`wifi`,`wireless_2g`,`wireless_3g`,`wireless_4g`,`wireless_5g`],jJ=[`Communication with a host using Bluetooth.`,`Ethernet port to communicate.`,`Communication with a host using GPRS.`,`Communication with a host using GSM.`,`Communication with a host using Public Switching Telephone Network.`,`Serial port to communicate.`,`Communication with a USB stick or any USB device.`,`Communication with a host from an USB port.`,`Wifi communication with another component.`,`Includes all communication technologies which can be qualified as being part of the 2G technology (e.g EDGE or PDC).`,`Includes all communication technologies which can be qualified as being part of the 3G technology.`,`Includes all communication technologies which can be qualified as being part of the 4G technology.`,`Includes all communication technologies which can be qualified as being part of the 5G technology.`],MJ=new W(`Low level communication of the hardware or software component toward another component or an external entity.`,kJ,AJ,jJ),NJ=c({definition:()=>LJ,optionDescriptions:()=>IJ,optionsNexo:()=>PJ,optionsNorm:()=>FJ}),PJ=[`APPL`,`CERT`,`EVAL`],FJ=[`approval`,`certification`,`evaluation`],IJ=[`Approval number delivered by an approval centre.`,`Certification number delivered by a certification body.`,`Evaluation by a lab or a tool.`],LJ=new W(`Type of assessment of the component.`,PJ,FJ,IJ),RJ=c({definition:()=>HJ,optionDescriptions:()=>VJ,optionsNexo:()=>zJ,optionsNorm:()=>BJ}),zJ=[`WAIT`,`OUTD`,`OPER`,`DACT`],BJ=[`waiting_activation`,`out_of_order`,`in_operation`,`deactivated`],VJ=[`Component not yet activated.`,`Component not working properly.`,`Component activated and in operation.`,`Component has been deactivated.`],HJ=new W(`Current status of the component.`,zJ,BJ,VJ),UJ=c({definition:()=>qJ,optionDescriptions:()=>KJ,optionsNexo:()=>WJ,optionsNorm:()=>GJ}),WJ=[`AQPP`,`APPR`,`TLPR`,`SCPR`,`SERV`,`TERM`,`DVCE`,`SECM`,`APLI`,`EMVK`,`EMVO`,`MDWR`,`DRVR`,`OPST`,`MRPR`,`CRTF`,`TMSP`,`SACP`,`SAPR`,`LOGF`,`MDFL`,`SOFT`,`CONF`,`RPFL`],GJ=[`acquirer_protocol_parameters`,`application_parameters`,`terminal_parameters`,`security_parameters`,`server`,`terminal`,`device`,`secure_module`,`payment_application`,`emv_kernel`,`emv_level_1`,`middleware`,`driver`,`operating_system`,`merchant_parameters`,`certificate_parameters`,`tms_protocol_parameters`,`sale_component`,`sale_to_poi_protocol_parameters`,`log_file`,`media_file`,`software`,`configuration_file`,`report_file`],KJ=[`Parameters for acquirer interface of the point of interaction, including acquirer host configuration parameters.`,`Parameters of a payment application running on the point of interaction.`,`Manufacturer configuration parameters of the point of interaction.`,`Security parameters of the point of interaction.`,`Payment server of a point of interaction system.`,`Payment terminal point of interaction.`,`Device sub-component of a component of the point of interaction.`,`Security module.`,`Payment application software.`,`EMV application kernel (EMV is the chip card specifications initially defined by Eurocard, Mastercard and Visa).`,`EMV physical interface (EMV is the chip card specifications initially defined by Eurocard, Mastercard and Visa).`,`Software module of the point of interaction.`,`Driver module of the point of interaction.`,`Software that manages hardware to provide common services to the applications.`,`Merchant configuration parameters for the point of interaction (POI).`,`Certificate provided by a terminal manager.`,`Configuration parameters for the TMS protocol.`,`Component of the Sale system.`,`Parameters related to the Sale to POI protocol.`,`Any repository used for recording log traces.`,`Media file managed by an application of the POI.`,`Payment or other software application.`,`Configuration file relevant for the POI.`,`Report file generated by the POI.`],qJ=new W(`Type of component belonging to a POI (Point Of Interaction) Terminal.`,WJ,GJ,KJ),JJ=c({definition:()=>QJ,optionDescriptions:()=>ZJ,optionsNexo:()=>YJ,optionsNorm:()=>XJ}),YJ=[`AFTE`,`WITH`,`BEFO`,`INFO`],XJ=[`after`,`with`,`before`,`information`],ZJ=[`Specifies that the transaction/instruction is to be executed after the linked transaction/instruction.`,`Specifies that the transaction/instruction is to be executed with the linked transaction/instruction.`,`Specifies that the transaction/instruction is to be executed before the linked transaction/instruction.`,`Specifies that the transactions/ instructions are linked for information purposes only.`],QJ=new W(`Identification of the moment to manage the media resource.`,YJ,XJ,ZJ),$J=c({definition:()=>rY,optionDescriptions:()=>nY,optionsNexo:()=>eY,optionsNorm:()=>tY}),eY=[`ALFA`,`BINA`,`KANJ`,`NUME`],tY=[`alphanumeric`,`binary`,`kanji`,`numeric`],nY=[`Alphanumeric value provided in Barcode field.`,`Binary value provided in Quick Response Code Binary Value.`,`Kanji value provided in Quick Response Code Binary Value.`,`Numeric value provided in Barcode field.`],rY=new W(`Encoding Mode of Quick Response Code.`,eY,tY,nY),iY=c({definition:()=>cY,optionDescriptions:()=>sY,optionsNexo:()=>aY,optionsNorm:()=>oY}),aY=[`M015`,`Q025`,`H030`,`L007`],oY=[`error_correction_15`,`error_correction_25`,`error_correction_30`,`error_correction_7`],sY=[`Reed-Solomon error correction 15%`,`Reed-Solomon error correction 25%`,`Reed-Solomon error correction 30%`,`Reed-Solomon error correction 7%`],cY=new W(`Error Correction mode of Quick Response Code.`,aY,oY,sY),lY=c({definition:()=>pY,optionDescriptions:()=>fY,optionsNexo:()=>uY,optionsNorm:()=>dY}),uY=[`BRND`,`PROF`,`GRUP`],dY=[`card_brand`,`card_product_profile`,`poi_group`],fY=[`The set is defined by transactions made with cards belonging to the same brand.`,`The set is defined by transactions made with cards sharing the same CardProductProfile.`,`The set is defined by transactions processed by POIs identified with the same POIGroup.`],pY=new W(`List of criterion to use when totals in reconciliation or batch must be split.`,uY,dY,fY),mY=c({definition:()=>vY,optionDescriptions:()=>_Y,optionsNexo:()=>hY,optionsNorm:()=>gY}),hY=[`UNPR`,`IMSG`,`PARS`,`SECU`,`INTP`,`RCPP`,`DPMG`,`VERS`,`MSGT`],gY=[`unable_to_process`,`invalid_message`,`parsing_error`,`security`,`initiating_party`,`recipient_party`,`duplicate_message`,`protocol_version`,`message_type`],_Y=[`Not possible to process the message, for instance the security module is unavailable, the hardware is unavailable, or there is a problem of resource.`,`Invalid envelope of the message.`,`Invalid message: At least one of the data element or data structure is not present, the format, or the content of one data element or one data structure is not correct.`,`Security error (for example an invalid key or an incorrect MAC value).`,`Invalid identification data for the sender.`,`Invalid identification data for the the receiver.`,`Duplicate message, the identification of the exchange is the same than a previous message.`,`Version of the protocol couldn't be supported by the recipient.`,`Type of message the recipient receives is unknow or unsupported.`],vY=new W(`Reason of transmission of a rejection message in response to a request or an advice.`,hY,gY,_Y),yY=c({definition:()=>CY,optionDescriptions:()=>SY,optionsNexo:()=>bY,optionsNorm:()=>xY}),bY=[`UNPR`,`IMSG`,`PARS`,`SECU`,`INTP`,`RCPP`,`VERS`,`MSGT`],xY=[`unable_to_process`,`invalid_message`,`parsing_error`,`security`,`initiating_party`,`recipient_party`,`protocol_version`,`message_type`],SY=[`Not possible to process the message, for instance the security module is unavailable, the hardware is unavailable, or there is a problem of resource.`,`Invalid envelope of the message.`,`Invalid message: At least one of the data element or data structure is not present, the format, or the content of one data element or one data structure is not correct.`,`Security error (for example an invalid key or an incorrect MAC value).`,`Invalid identification data for the sender.`,`Invalid identification data for the the receiver.`,`Version of the protocol couldn't be supported by the recipient.`,`Type of message the recipient receives is unknow or unsupported.`],CY=new W(`Reject reason of the request or the advice.`,bY,xY,SY),wY=c({definition:()=>OY,optionDescriptions:()=>DY,optionsNexo:()=>TY,optionsNorm:()=>EY}),TY=[`PAUS`,`STAS`,`LOOP`,`RESU`,`DVOL`,`STOS`],EY=[`pause`,`play`,`play_in_loop`,`resume`,`set_default_volume`,`stop`],DY=[`Pause the media resource in progress as specified in the message.`,`Start the media resource as specified in the message.`,`Play in a loop the media resource as specified in the message.`,`Resume the progress of the media resource as specified in the message.`,`Set the default volume of sounds.`,`Stop the media resource in progress.`],OY=new W(`Requested Action: Start to play a media resource, Stop to play a media resource, Set the default volume.`,TY,EY,DY),kY=c({definition:()=>NY,optionDescriptions:()=>MY,optionsNexo:()=>AY,optionsNorm:()=>jY}),AY=[`TEXT`,`URLI`],jY=[`text_to_speech`,`uniform_resource_identifier`],MY=[`Voice synthesis.`,`String of characters that unambiguously identifies a particular resource.`],NY=new W(`Type of media resource.`,AY,jY,MY),PY=c({definition:()=>RY,optionDescriptions:()=>LY,optionsNexo:()=>FY,optionsNorm:()=>IY}),FY=[`WARN`,`FAIL`,`SUCC`],IY=[`warning`,`failure`,`success`],LY=[`An additional Response Code, mainly a functional one, should be considered to identify the outcome of the request.`,`Processing of the request fails for various reasons. Some further processing according to the type of requested service, the context of the process, and some additional precision about the failure notified in the ErrorCondition data element.`,`Processing OK. Information related to the result of the processing is contained in other parts of the response message.`],RY=new W(`Result of the requested transaction.`,FY,IY,LY),zY=c({definition:()=>UY,optionDescriptions:()=>HY,optionsNexo:()=>BY,optionsNorm:()=>VY}),BY=[`APPR`,`DECL`,`PART`,`SUSP`,`TECH`],VY=[`approved`,`declined`,`partial_approved`,`suspended`,`technical_error`],HY=[`Service has been successfuly provided.`,`Service is declined.`,`Service has been partialy provided.`,`Transaction has been received but hasn't been processed.`,`Service cannot be provided for technical reason (eg timeout contacting the Issuer, security problem).`],UY=new W(`Result of the transaction.`,BY,VY,HY),WY=c({definition:()=>JY,optionDescriptions:()=>qY,optionsNexo:()=>GY,optionsNorm:()=>KY}),GY=[`SEND`,`IMMD`,`NREQ`,`PEND`],KY=[`end_of_play`,`immediate`,`not_required`,`print_end`],qY=[`The Response is required at the end of play.`,`The Message Response is immediate, after taking into account the request.`,`The Message Response is not required, except in case of error.`,`The Print Response is required at the end of print.`],JY=new W(`Type of awaited response (none, immediate, after printing, after sound).`,GY,KY,qY),YY=c({definition:()=>$Y,optionDescriptions:()=>QY,optionsNexo:()=>XY,optionsNorm:()=>ZY}),XY=[`SSAB`,`SAAQ`,`SAAP`,`SDDR`,`SDDP`,`SSEN`,`SSMQ`,`SSMR`,`SSRJ`,`SARQ`,`SARP`,`SFRP`,`SFRQ`,`SFSQ`,`SFSP`,`SASQ`,`SASP`],ZY=[`abort`,`admin_request`,`admin_response`,`device_request`,`device_response`,`event_notification`,`message_status_request`,`message_status_response`,`rejection`,`report_request`,`report_response`,`sale_financial_reconciliation_response`,`sale_financial_reconciliation_request`,`sale_financial_service_request`,`sale_financial_service_response`,`session_management_request`,`session_management_response`],QY=[`Abort the current process or the last request.`,`To select and start customised administrative services provided by the POI, using a &#x22;menu&#x22; for an interactive or software interface, initiated by the Sale system.`,`Response to the Admin request.`,`Request one or several functions of the device, from user Interface or payment peripherals on the POI system or on the Sale system. Functions can be Display, Input, Print, play sound, Card reader capabilities or Transmit a message.`,`Response to a Device request.`,`Notify the other party of an event that occurs on its side.`,`Request the status of a previous message for which the Sale system has no response.`,`Response to a Message Status request.`,`Reject a previous received message, for technical or functional reasons.`,`To request, by the Sale System, a report on a list of transactions on the POI system, or the status of a transaction.`,`Response to a Report request.`,`Response to a Reconciliation Request.`,`Request a reconciliation (different types) between Sale System and POI System.`,`Request a financial service like payment, reversal, loyalty, Balance Inquiry, etc.`,`Response to a financial service request.`,`Request the management of a session: login, logout and diagnosis services. Initiated by the Sale system.`,`Response to a session management request to initiate/terminate a session.`],$Y=new W(`Identify a message that a Sale system could send to the POI system.`,XY,ZY,QY),eX=c({definition:()=>iX,optionDescriptions:()=>rX,optionsNexo:()=>tX,optionsNorm:()=>nX}),tX=[`ABRT`,`BUSY`,`CANC`,`DEVO`,`WPIN`,`NHOS`,`UNVS`,`UNVD`,`REFU`,`PAYR`,`TNFD`,`NALW`,`LOUT`,`IVCA`,`ICAR`,`WIPG`],nX=[`aborted`,`busy`,`cancel`,`device_out`,`wrong_pin`,`unreachable_host`,`unavailable_service`,`unavailable_device`,`refusal`,`payment_restriction`,`not_found`,`not_allowed`,`logged_out`,`invalid_card`,`inserted_card`,`in_progress`],rX=[`The Initiator of the request has sent an Abort message request, which was accepted and processed.`,`The system is busy, try later.`,`The user has aborted the transaction on the PED keyboard, for instance during PIN entering.`,`Device out of order.`,`The user has entered the PIN on the PED keyboard and the verification fails.`,`Acquirer or any host is unreachable or has not answered to an online request, so is considered as temporary unavailable. Depending on the Sale context, the request could be repeated (to be compared with &#x22;Refusal&#x22;).`,`The service is not available (not implemented, not configured, protocol version too old...).`,`The hardware is not available (absent, not configured...).`,`The transaction is refused by the host or by the local rules associated to the card or the POI.`,`Some sale items are not payable by the card proposed by the Customer.`,`The transaction is not found (e.g. for a reversal or a repeat).`,`A service request is sent during a Service dialogue. A combination of services not possible to provide. During the DeviceInitialisationCardReader message processing, the user has entered a card which has to be protected by the POI, and cannot be processed with this device request from the external, and then the Sale System.`,`Not logged in.`,`The card entered by the Customer cannot be processed by the POI because this card is not configured in the system.`,`If the Input Device request a NotifyCardInputFlag and the Customer enters a card in the card reader without answers to the Input command, the POI abort the Input command processing, and answer a dedicated ErrorCondition value in the Input response message.`,`The transaction is still in progress and then the command cannot be processed.`],iX=new W(`Detail of the response.`,tX,nX,rX),aX=c({definition:()=>lX,optionDescriptions:()=>cX,optionsNexo:()=>oX,optionsNorm:()=>sX}),oX=[`FSPQ`,`FSRQ`,`FSIQ`,`FSBQ`,`FSLQ`,`FSVQ`,`FSEQ`,`FSAQ`,`FSCQ`],sX=[`financial_payment_request`,`financial_reversal_request`,`financial_balance_inquiry_request`,`financial_batch_request`,`financial_loyalty_request`,`financial_stored_value_request`,`financial_enable_service_request`,`financial_card_acquisition_request`,`financial_reconciliation_request`],cX=[`The Sale System requests to the POI System to perform a payment(Purchase/ Refund/PWCB/MOTO Payment/...).`,`The Sale System requests to the POI System to perform a reversal partial or complete to cancel a former payment service.`,`The Sale System requests to the POI System to perform balance inquiry on the main account.`,`The Batch message pair is used to request or get the result of transactions (payment, loyalty and reversal) performed without connection to the Sale system (Payment delivery).`,`The Sale System requests to the POI System a loyalty service like loading or redeem.`,`The Sale System requests to the POI System to manage a stored value card or account (eg. Load, Payment, Reimbursement).`,`The Sale System requests to the POI System to enable a service on its side.`,`The Sale System requests to the POI System to handle a card data acquisition on the card reader.`,`The Sale System request to the POI System different kinds of transaction reconciliation.`],lX=new W(`Identify a service that a POI system could support to the Sale system.`,oX,sX,cX),uX=c({definition:()=>mX,optionDescriptions:()=>pX,optionsNexo:()=>dX,optionsNorm:()=>fX}),dX=[`DDYQ`,`DINQ`,`DPRQ`,`DSOQ`,`DSIQ`,`DCIQ`,`DCAQ`,`DCPQ`,`DCOQ`,`DINO`],fX=[`device_display_request`,`device_input_request`,`device_print_request`,`device_play_sound_request`,`device_secure_input_request`,`device_initialisation_card_reader_request`,`device_send_apdu_card_reader_request`,`device_power_off_card_reader_request`,`device_transmission_message_request`,`device_input_notification`],pX=[`One System requests the other to display a message for cashier or customer.`,`One system requests to the other System to get data input.`,`One system requests to the other System to print data.`,`One system requests to the Other System to play a sound.`,`One system requests to the Other System to securely get data input (e.g. for PIN).`,`Service to send parameters to use when card reader initializes a new communication with the card.`,`A service to send commands to a card.`,`The Sale system requests to the POI System to power off the card reader.`,`The Sale system requests to the POI System to transmit a message (for instance to a mobile server).`,`One system sends a notification to the POI System to update a input request.`],mX=new W(`Define the type of service requested.`,dX,fX,pX),hX=c({definition:()=>yX,optionDescriptions:()=>vX,optionsNexo:()=>gX,optionsNorm:()=>_X}),gX=[`DDYP`,`DINP`,`DPRP`,`DSOP`,`DSIP`,`DCIP`,`DCAP`,`DCPP`,`DCOP`],_X=[`device_display_response`,`device_input_response`,`device_print_response`,`device_play_sound_response`,`device_secure_input_response`,`device_initialisation_card_reader_response`,`device_send_apdu_card_reader_response`,`device_power_off_card_request_response`,`device_transmission_message_response`],vX=[`One system responds to the other system for a display request.`,`One system responds to the other System for a input request.`,`One system responds to the other System for a print request.`,`One system responds to the other System for a play sound request.`,`One system responds to the other System for secure data input.`,`The POI system responds to the Sale System for a card reader initialisation.`,`The POI system responds to the Sale System for a card reader Application Protocol Data Unit sending.`,`The POI system responds to the Sale System for a card reader power off.`,`The POI system responds to the Sale System after a message transmission.`],yX=new W(`Define the type of service answered.`,gX,_X,vX),bX=c({definition:()=>wX,optionDescriptions:()=>CX,optionsNexo:()=>xX,optionsNorm:()=>SX}),xX=[`CHDI`,`CHER`,`CHIN`,`CHST`,`CUDI`,`CUAS`,`CUER`,`CUIN`,`POIR`,`PRDC`,`PRRP`,`PRVC`],SX=[`cashier_display`,`cashier_error`,`cashier_input`,`cashier_status`,`customer_display`,`customer_assistance`,`customer_error`,`customer_input`,`poi_replication`,`printer_document`,`printer_receipt`,`printer_voucher`],CX=[`Standard Cashier display interface (to ask question, or to show information).`,`To display to the Cashier information related to an error situation occurring on the POI.`,`Any kind of keyboard allowing all or part of the commands of the Input message request from the Sale System to the POI System (InputCommand data element). The output device attached to this input device is the CashierDisplay device.`,`To display to the Cashier a new state on which the POI is entering. For instance, during a payment, the POI could display to the Cashier that POI request an authorisation to the host acquirer.`,`Standard Customer display interface used by the POI System to ask question, or to show information to the Customer inside a Service dialogue.`,`Input of the Cardholder POI interface which can be entered by the Cashier to assist the Customer.`,`To display to the Customer information is related to an error situation occurring on the Sale Terminal during a Sale transaction.`,`Any kind of keyboard allowing all or part of the commands of the Input message request from the Sale System to the POI System (InputCommand data element).`,`Information displayed on the Cardholder POI interface, replicated on the Cashier interface.`,`When the POI System wants to print specific document (check, dynamic currency conversion ...).`,`Printer for the Payment receipt.`,`Coupons, voucher or special ticket generated by the POI and to be printed.`],wX=new W(`Capabilities of the Sale system.`,xX,SX,CX),TX=c({definition:()=>kX,optionDescriptions:()=>OX,optionsNexo:()=>EX,optionsNorm:()=>DX}),EX=[`CHIN`,`CUIN`],DX=[`cashier_input`,`customer_input`],OX=[`Any kind of keyboard allowing all or part of the commands of the Input message`,`Any kind of keyboard allowing all or part of the commands of the Input message request from the Sale System to the POI System (InputCommand data element).`],kX=new W(`Type of Input device.`,EX,DX,OX),AX=c({definition:()=>PX,optionDescriptions:()=>NX,optionsNexo:()=>jX,optionsNorm:()=>MX}),jX=[`MULT`,`SNGL`],MX=[`multiple_use`,`single_use`],NX=[`The token is generated to recognise a customer for a longer period.`,`The token is generated to recognise a customer during the lifetime of a transaction.`],PX=new W(`Scope of the token that identifies the payment mean of the customer.`,jX,MX,NX),FX=c({definition:()=>zX,optionDescriptions:()=>RX,optionsNexo:()=>IX,optionsNorm:()=>LX}),IX=[`MSGR`,`SNDR`,`TEXT`],LX=[`message_ref`,`sound_ref`,`text`],RX=[`Reference of a preloaded text to play.`,`Preloaded sound File.`,`Text to play.`],zX=new W(`Format of the media resource.`,IX,LX,RX),BX=c({definition:()=>WX,optionDescriptions:()=>UX,optionsNexo:()=>VX,optionsNorm:()=>HX}),VX=[`BNKA`,`CWVC`,`CPYA`,`ELMY`,`GIFT`,`GCER`,`MLVC`,`OLVC`,`MERC`,`OTHR`,`PHON`,`CARD`,`TRVL`],HX=[`bank_prepaid_account`,`carwash_voucher`,`company_prepaid_account`,`electronic_money_account`,`gift_card`,`gift_certificate`,`meal_voucher`,`online_voucher`,`merchant_account`,`other_prepaid_account`,`phone_card`,`smart_card_tag`,`travel`],UX=[`Prepaid account managed by a financial institution for low income customers.`,`Car wash specific account.`,`Specific prepaid account for companies or professionals expenses.`,`Account supporting e-money issued by an electronic money issuer.`,`Payment mean issued by retailers or banks as a substitute to a non-monetary gift. Usually, this Stored Value item is used only once.`,`Certificate to be given to a customer. Usually one shot voucher.`,`Meal and check voucher for restaurants.`,`Voucher that can be used online once or in several times.`,`Prepaid account open with a merchant or big retailers.`,`Other non listed stored value instrument.`,`Stored value instrument used to pay telephone services (e.g. card or identifier).`,`Stored value account hold on the chip of a smart card.`,`Travel prepaid account.`],WX=new W(`Type of stored value account.`,VX,HX,UX),GX=c({definition:()=>YX,optionDescriptions:()=>JX,optionsNexo:()=>KX,optionsNorm:()=>qX}),KX=[`PART`,`MSRV`,`INSI`,`PINQ`],qX=[`partial_approval`,`payment_approval_only`,`issuer_instalment`,`pin_request`],JX=[`The entity supports a partial approval of the payment transaction.`,`The entity supports the approval of the payment service along with the decline of additional requested services (as cash-back).`,`The sender support IssuerInstalment proposals to the Cardholder.`,`The sender is able to support Single Tap transaction.`],YX=new W(`Payment options the card acceptor can support.`,KX,qX,JX),XX=c({definition:()=>eZ,optionDescriptions:()=>$X,optionsNexo:()=>ZX,optionsNorm:()=>QX}),ZX=[`CREA`,`DELT`,`UPDT`],QX=[`create`,`delete`,`update`],$X=[`Request to create or add the element identified inside the message exchange.`,`Request to delete the element identified inside the message exchange.`,`Request to update the element identified inside the message exchange.`],eZ=new W(`Type of action for the configuration parameters.`,ZX,QX,$X),tZ=c({definition:()=>aZ,optionDescriptions:()=>iZ,optionsNexo:()=>nZ,optionsNorm:()=>rZ}),nZ=[`DCTV`,`DELT`,`DWNL`,`INST`,`RSTR`,`UPLD`,`UPDT`,`BIND`,`RBND`,`UBND`,`ACTV`,`DEVR`],rZ=[`deactivate`,`delete`,`download`,`install`,`restart`,`upload`,`update`,`bind`,`rebind`,`unbind`,`activate`,`device_request`],iZ=[`Request to deactivate the element identified inside the message exchange.`,`Request to delete the element identified inside the message exchange.`,`Request to download the element identified inside the message exchange.`,`Request to install the element identified inside the message exchange.`,`Request to restart the element identified inside the message exchange.`,`Request to upload the element identified inside the message exchange.`,`Request to update the element identified inside the message exchange.`,`Request sent to a POI to bind with a server.`,`Request sent to a POI to rebind with a server.`,`Request sent to a POI to unbind with a server.`,`Request to activate the element identified inside the message exchange.`,`Request to execute a device request.`],aZ=new W(`Types of terminal management action performed by a point of interaction.`,nZ,rZ,iZ),oZ=c({definition:()=>uZ,optionDescriptions:()=>lZ,optionsNexo:()=>sZ,optionsNorm:()=>cZ}),sZ=[`ACCD`,`CNTE`,`FMTE`,`INVC`,`LENE`,`OVER`,`MISS`,`NSUP`,`SIGE`,`WARN`,`SYNE`,`TIMO`,`UKDT`,`UKRF`,`INDP`,`IDMP`,`DPRU`,`AERR`,`CMER`,`ULER`,`SUCC`],cZ=[`access_denied`,`connection_error`,`format_error`,`invalid_content`,`length_error`,`memory_overflow`,`missing_file`,`not_supported`,`signature_error`,`success_with_warning`,`syntax_error`,`timeout`,`unknown_data`,`unknown_key_reference`,`invalid_delegation_proof`,`invalid_delegation_in_management_plan`,`delegation_parameters_received_unauthorized`,`any_error`,`communication_error`,`unlisted_error`,`success`],lZ=[`Access is denied while performing the action.`,`Problem to connect while performing the action.`,`Data transferred has a wrong format.`,`Content of the data is invalid.`,`Data transferred has a wrong length.`,`Memory to store the date exceeded.`,`Data set to be maintained is missing.`,`Action is not supported.`,`Data transferred has a wrong digital signature.`,`Action was performed but some warnings arose.`,`Data transferred has a wrong syntax.`,`Timeout expired during the data transfer.`,`Data set identification invalid.`,`Cryptographic key reference used for the data signature is not valid.`,`Delegation Proof transmitted by the delegated TMS is not the one expected.`,`One action of the AcceptorManagementPlan refers to an update unauthorized by the delegation.`,`The content analysis of the AcceptorConfigurationUpdate reveals unexpected parameters.`,`This code value means all TerminalManagementActionResultCode except &#x22;Any Error&#x22; and &#x22;Unlisted Error&#x22;.`,`Error in communication once the connection has been established.`,`Any error that is not defined by a code value inside the TerminalManagementActionResultCode.`,`Action was successfully performed.`],uZ=new W(`Final result of the processed terminal management action.`,sZ,cZ,lZ),dZ=c({definition:()=>hZ,optionDescriptions:()=>mZ,optionsNexo:()=>fZ,optionsNorm:()=>pZ}),fZ=[`DATE`,`HOST`,`MANU`,`SALE`],pZ=[`date_time`,`host_event`,`manual`,`sale_event`],mZ=[`Date and time trigger the terminal management action.`,`Acquirer triggers the terminal management action.`,`Acceptor triggers the terminal management action.`,`Sale system triggers the terminal management action.`],hZ=new W(`Event on which the action has to be activated by the point of interaction (POI).`,fZ,pZ,mZ),gZ=c({definition:()=>bZ,optionDescriptions:()=>yZ,optionsNexo:()=>_Z,optionsNorm:()=>vZ}),_Z=[`MANC`,`RCNC`,`RSRT`],vZ=[`manual_confirmation`,`reconciliation`,`restart_system`],yZ=[`Manual confirmation of the merchant before the terminal management action.`,`Acquirer reconciliation to be performed before the terminal management action.`,`Restart the system after performing the terminal management action.`],bZ=new W(`Additional process to perform before starting or after completing the action by the point of interaction (POI).`,_Z,vZ,yZ),xZ=c({definition:()=>TZ,optionDescriptions:()=>wZ,optionsNexo:()=>SZ,optionsNorm:()=>CZ}),SZ=[`SDSR`,`STOP`],CZ=[`send_status_report`,`stop_sequence`],wZ=[`Send a status report immediately.`,`Stop the current sequence of terminal management actions without any action, and do not notice the error with a status report.`],TZ=new W(`Action to be processed for the related errors.`,SZ,CZ,wZ),EZ=c({definition:()=>AZ,optionDescriptions:()=>kZ,optionsNexo:()=>DZ,optionsNorm:()=>OZ}),DZ=[`DAYC`,`HOUR`,`MINU`,`MNTH`,`SECO`,`WEEK`,`YEAR`],OZ=[`day`,`hour`,`minute`,`month`,`second`,`week`,`year`],kZ=[`Time unit is calendar day.`,`Time unit is hour.`,`Time unit is minute.`,`Time unit is month.`,`Time unit is second.`,`Time unit is week.`,`Time unit is year.`],AZ=new W(`Unit of time associated with the contract.`,DZ,OZ,kZ),jZ=c({definition:()=>FZ,optionDescriptions:()=>PZ,optionsNexo:()=>MZ,optionsNorm:()=>NZ}),MZ=[`CRIT`,`ASAP`,`DTIM`],NZ=[`critical`,`as_soon_as_possible`,`date_time`],PZ=[`Terminal management system has to be contacted before the next transaction.`,`Terminal management system has to be contacted as soon as possible (for example after reconciliation).`,`Terminal management system has to be contacted at the date and time provided.`],FZ=new W(`Level of urgency in contacting the terminal management system.`,MZ,NZ,PZ),IZ=c({definition:()=>BZ,optionDescriptions:()=>zZ,optionsNexo:()=>LZ,optionsNorm:()=>RZ}),LZ=[`AAMV`,`CMC7`,`E13B`,`ISOF`,`JIS1`,`JIS2`],RZ=[`aamva`,`cmc7`,`e13b`,`iso`,`jis1`,`jis2`],zZ=[`American driver license.`,`Magnetic Ink Character Recognition, using the CMC-7 font - ISO 1004 Line at the bottom of a check containing the bank account and the check number.`,`Magnetic Ink Character Recognition, using the E-13B font Line at the bottom of a check containing the bank account and the check number.`,`ISO card track format - ISO 7813 - ISO 4909.`,`Japanese track format I.`,`Japanese track format II.`],BZ=new W(`Card or check track format.`,LZ,RZ,zZ),VZ=c({definition:()=>GZ,optionDescriptions:()=>WZ,optionsNexo:()=>HZ,optionsNorm:()=>UZ}),HZ=[`MAIL`,`TLPH`,`ECOM`,`TVPY`,`SECM`,`MOBL`,`MPOS`],UZ=[`mail_order`,`telephone_order`,`electronic_commerce`,`television_payment`,`secure_electronic_commerce`,`mobile_payment`,`mobile_pos`],WZ=[`Mail order.`,`Telephone order.`,`Electronic commerce.`,`Payment on television.`,`Electronic commerce with cardholder authentication.`,`Payment performed through a cardholder mobile device.`,`Payment performed through a merchant mobile device.`],GZ=new W(`Identifies the type of the communication channels used by the cardholder to the acceptor system.`,HZ,UZ,WZ),KZ=c({definition:()=>XZ,optionDescriptions:()=>YZ,optionsNexo:()=>qZ,optionsNorm:()=>JZ}),qZ=[`MERC`,`PRIV`,`PUBL`],JZ=[`merchant`,`private`,`public`],YZ=[`Merchant environment.`,`Private environment.`,`Public environment.`],XZ=new W(`Indicates the environment of the transaction.`,qZ,JZ,YZ),ZZ=c({definition:()=>tQ,optionDescriptions:()=>eQ,optionsNexo:()=>QZ,optionsNorm:()=>$Z}),QZ=[`ACTL`,`ESTM`,`MAXI`,`DFLT`,`RPLT`,`INCR`,`DECR`,`RESD`],$Z=[`actual`,`estimated`,`maximum`,`default`,`replacement`,`incremental`,`decremental`,`reserved`],eQ=[`Actual amount.`,`Estimated amount (the final amount could be above or below).`,`Maximum amount (the final amount must be less or equal).`,`Default amount.`,`Replacement amount.`,`Incremental amount for reservation.`,`Decremental amount for reservation.`,`Reserved or updated reserved amount for reservation.`],tQ=new W(`Qualifies the amount associated with the transaction.`,QZ,$Z,eQ),nQ=c({definition:()=>oQ,optionDescriptions:()=>aQ,optionsNexo:()=>rQ,optionsNorm:()=>iQ}),rQ=`PIEC.TONS.FOOT.GBGA.USGA.GRAM.INCH.KILO.PUND.METR.CMET.MMET.LITR.CELI.MILI.GBOU.USOU.GBQA.USQA.GBPI.USPI.MILE.KMET.YARD.SQKI.HECT.ARES.SMET.SCMT.SMIL.SQMI.SQYA.SQFO.SQIN.ACRE.KWHO.DGEU.GGEU`.split(`.`),iQ=`piece.ton.foot.gb_gallon.us_gallon.gram.inch.kilogram.pound.metre.centimetre.millimetre.litre.centilitre.millilitre.gb_ounce.us_ounce.gb_quart.us_quart.gb_pint.us_pint.mile.kilometre.yard.square_kilometre.hectare.are.square_metre.square_centimetre.square_millimetre.square_mile.square_yard.square_foot.square_inch.acre.kilowatt_hour.diesel_gallon_equivalent.gasoline_gallon_equivalent`.split(`.`),aQ=[`Standard length of cloth, wallpaper, as an item for sale or amount of a substance.`,`Measure of weight, in Britain 2240lb (long ton)and in the US 2000lb (short ton).`,`Unit of length equal to 1/3 yard.`,`Unit of volume that is equal to 8 pints.`,`Unit of volume that is equal to 8 pints.`,`Unit of measure that is equal to a 1, 000th of a kilo.`,`Measure of length equal to 2.54 cm.`,`Basic unit of mass in the SI system, 1000 grams.`,`Unit of weight equal to 0.454 kilograms.`,`Unit of length in the metric system, equal to 39.37 inches.`,`Unit of measure that is equal to one hundredth of a metre.`,`Unit of measure that is a thousandth of one metre.`,`Unit of volume that is equal to a thousand cubic centimetres.`,`Unit of volume that is equal to one hundredth of a litre.`,`Unit of volume that is equal to one thousandth of a litre.`,`Unit of weight equal to a sixteenth of a pound.`,`Unit of weight equal to a sixteenth of a pound.`,`Unit of volume that is equal to 2 pints.`,`Unit of volume that is equal to 2 pints.`,`Unit of volume that is equal to 568 cubic centimetres.`,`Unit of volume that is equal to 473 cubic centimetres.`,`Unit of length equal to 1, 760 yards.`,`Unit of measure that is equal to 1, 000 meters.`,`Unit of length equal to 3 feet or 0.9144 metre.`,`Measure of a surface, one kilometre by one kilometre.`,`Unit of measure that is equal to 10, 000 square meters.`,`Unit of measure equal to a 100 square meters.`,`Measure of a surface, one metre by one metre.`,`Measure of a surface, one centimetre by one centimetre.`,`Measure of a surface, one millimetre by one millimetre.`,`Measure of a surface, one mile by one mile.`,`Measure of a surface, one yard by one yard.`,`Measure of a surface, one foot by one foot.`,`Measure of a surface, one inch by one inch.`,`Unit of measure equal to 4, 840 square yards.`,`Unit of measure that is equal to the power consumption of one kilowatt during one hour.`,`Amount of fuel alternative equal to one gallon of diesel.`,`Amount of fuel alternative equal to one gallon of gasoline.`],oQ=new W(`Unit of measure of the item purchased.`,rQ,iQ,aQ),sQ=c({definition:()=>dQ,optionDescriptions:()=>uQ,optionsNexo:()=>cQ,optionsNorm:()=>lQ}),cQ=[`CDSP`,`CRCP`,`MDSP`,`MRCP`,`CRDO`],lQ=[`cardholder_display`,`cardholder_receipt`,`merchant_display`,`merchant_receipt`,`other_cardholder_interface`],uQ=[`Cardholder display or interface.`,`Cardholder receipt.`,`Merchant display or interface.`,`Merchant receipt.`,`Other interface of the cardholder, for instance e-mail or smartphone message.`],dQ=new W(`Destination of the message to present.`,cQ,lQ,uQ),fQ=c({definition:()=>gQ,optionDescriptions:()=>hQ,optionsNexo:()=>pQ,optionsNorm:()=>mQ}),pQ=[`FAIL`,`MISS`,`NOVF`,`PART`,`SUCC`,`ERRR`],mQ=[`failed`,`missing`,`not_performed`,`partial_match`,`successful`,`technical_error`],hQ=[`Verification failed.`,`Information required to perform the verification was missing.`,`Verification has not been performed.`,`Verification was partially successful.`,`Verification was successful.`,`Device or entity to perform the verification was unavailable.`],gQ=new W(`Result of the verification.`,pQ,mQ,hQ);mA().lte(0xde0b6b3a7640000).nonnegative().refine(oV(18,5).check,oV(18,5).params);var _Q=mA().int().lte(0xde0b6b3a7640000).nonnegative();xO().transform(e=>e?`plus`:`minus`);var vQ=P([`plus`,`minus`]).transform(e=>e===`plus`),yQ=P(`AED.AFN.ALL.AMD.ANG.AOA.ARS.AUD.AWG.AZN.BAM.BBD.BDT.BGN.BHD.BIF.BMD.BND.BOB.BRL.BSD.BTN.BWP.BYN.BZD.CAD.CDF.CHF.CKD.CLP.CNY.COP.CRC.CUC.CUP.CVE.CZK.DJF.DKK.DOP.DZD.EGP.EHP.ERN.ETB.EUR.FJD.FKP.FOK.GBP.GEL.GGP.GHS.GIP.GMD.GNF.GTQ.GYD.HKD.HNL.HRK.HTG.HUF.IDR.ILS.IMP.INR.IQD.IRR.ISK.JEP.JMD.JOD.JPY.KES.KGS.KHR.KID.KMF.KPW.KRW.KWD.KYD.KZT.LAK.LBP.LKR.LRD.LSL.LYD.MAD.MDL.MGA.MKD.MMK.MNT.MOP.MRU.MUR.MVR.MWK.MXN.MYR.MZN.NAD.NGN.NIO.NOK.NPR.NZD.OMR.PAB.PEN.PGK.PHP.PKR.PLN.PND.PRB.PYG.QAR.RON.RSD.RUB.RWF.SAR.SBD.SCR.SDG.SEK.SGD.SHP.SLL.SLS.SOS.SRD.SSP.STN.SVC.SYP.SZL.THB.TJS.TMT.TND.TOP.TRY.TTD.TVD.TWD.TZS.UAH.UGX.USD.UYU.UZS.VED.VES.VND.VUV.WST.XAF.XCD.XOF.XPF.YER.ZAR.ZMW.ZWB.ZWL`.split(`.`)),dge=lV;N({Value:mA().lte(0xde0b6b3a7640000).nonnegative().refine(oV(18,5).check,oV(18,5).params),Currency:yQ}).transform(dge(`Currency`,[`Value`]));var fge=lV,pge=A,mge=N({Value:mA().int().lte(0xde0b6b3a7640000).nonnegative(),Currency:yQ.register(pge,{id:`CurrencyAndAmount.Currency`,innerSchema:`ActiveCurrencyCode`})}).transform(fge(`Currency`,[`Value`])),bQ=j().regex(/^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$/),hge=pO().min(0).max(1).refine(oV(11,10).check,oV(11,10).params),xQ=j().regex(/^[a-zA-Z0-9]{1,30}$/),SQ=P(`AF.AL.DZ.AS.AD.AO.AI.AQ.AG.AR.AM.AW.AU.AT.AZ.BS.BH.BD.BB.BY.BE.BZ.BJ.BM.BT.BO.BQ.BA.BW.BV.BR.IO.BN.BG.BF.BI.CV.KH.CM.CA.KY.CF.TD.CL.CN.CX.CC.CO.KM.CD.CG.CK.CR.HR.CU.CW.CY.CZ.CI.DK.DJ.DM.DO.EC.EG.SV.GQ.ER.EE.SZ.ET.FK.FO.FJ.FI.FR.GF.PF.TF.GA.GM.GE.DE.GH.GI.GR.GL.GD.GP.GU.GT.GG.GN.GW.GY.HT.HM.VA.HN.HK.HU.IS.IN.ID.IR.IQ.IE.IM.IL.IT.JM.JP.JE.JO.KZ.KE.KI.KP.KR.KW.KG.LA.LV.LB.LS.LR.LY.LI.LT.LU.MO.MG.MW.MY.MV.ML.MT.MH.MQ.MR.MU.YT.MX.FM.MD.MC.MN.ME.MS.MA.MZ.MM.NA.NR.NP.NL.NC.NZ.NI.NE.NG.NU.NF.MP.NO.OM.PK.PW.PS.PA.PG.PY.PE.PH.PN.PL.PT.PR.QA.MK.RO.RU.RW.RE.BL.SH.KN.LC.MF.PM.VC.WS.SM.ST.SA.SN.RS.SC.SL.SG.SX.SK.SI.SB.SO.ZA.GS.SS.ES.LK.SD.SR.SJ.SE.CH.SY.TW.TJ.TZ.TH.TL.TG.TK.TO.TT.TN.TR.TM.TC.TV.UG.UA.AE.GB.UM.US.UY.UZ.VU.VE.VN.VG.VI.WF.EH.YE.ZM.ZW.AX`.split(`.`)),CQ=pO().gte(-0xde0b6b3a7640000).lte(0xde0b6b3a7640000),gge=j().regex(mV).length(3),wQ=j().regex(pV).length(3),_ge=j().regex(pV).length(4),TQ=j().regex(/^[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}$/),vge=P(`100.104.108.112.116.120.124.132.136.140.144.148.152.156.158.162.166.170.174.175.178.180.184.188.191.192.196.203.204.208.212.214.218.222.226.231.232.233.234.238.239.242.246.248.250.254.258.260.262.266.268.270.275.276.288.292.296.300.304.308.312.316.320.324.328.332.334.336.340.344.348.352.356.360.364.368.372.376.380.384.388.392.398.400.404.408.410.414.417.418.422.426.428.430.434.438.440.442.446.450.454.458.462.466.470.474.478.480.484.492.496.498.499.500.504.508.512.516.520.524.528.531.533.534.535.540.548.554.558.562.566.570.574.578.580.581.583.584.585.586.591.598.600.604.608.612.616.620.624.626.630.634.638.642.643.646.652.654.659.660.662.663.666.670.674.678.682.686.688.690.694.702.703.704.705.706.710.716.724.728.729.732.740.744.748.752.756.760.762.764.768.772.776.780.784.788.792.795.796.798.800.804.807.818.826.831.832.833.834.840.850.854.858.860.862.876.882.887.894.004.008.012.016.020.024.010.028.032.051.036.040.031.044.048.050.052.056.084.060.064.068.070.072.074.076.086.096.090.092`.split(`.`)),EQ=j().date(),DQ=j().datetime({offset:!0,local:!0}),yge=j().time(),OQ=P(`aa.ab.ae.af.ak.am.an.ar.as.av.ay.az.ba.be.bg.bh.bi.bm.bn.bo.br.bs.ca.ce.ch.co.cr.cs.cu.cv.cy.da.de.dv.dz.ee.el.en.eo.es.et.eu.fa.ff.fi.fj.fo.fr.fy.ga.gd.gl.gn.gu.gv.ha.he.hi.ho.hr.ht.hu.hy.hz.ia.id.ie.ig.ii.ik.io.is.it.iu.ja.jv.ka.kg.ki.kj.kk.kl.km.kn.ko.kr.ks.ku.kv.kw.ky.la.lb.lg.li.ln.lo.lt.lu.lv.mg.mh.mi.mk.ml.mn.mr.ms.mt.my.na.nb.nd.ne.ng.nl.nn.no.nr.nv.ny.oc.oj.om.or.os.pa.pi.pl.ps.pt.qu.rm.rn.ro.ru.rw.sa.sc.sd.se.sg.si.sk.sl.sm.sn.so.sq.sr.ss.st.su.sv.sw.ta.te.tg.th.ti.tk.tl.tn.to.tr.ts.tt.tw.ty.ug.uk.ur.uz.ve.vi.vo.wa.wo.xh.yi.yo.za.zh.zu`.split(`.`)),kQ=F(sV,j().base64().max(fV(102400))),AQ=F(sV,j().base64().max(fV(102400))),jQ=j().min(1).max(1025),MQ=j().min(1).max(104),NQ=F(sV,j().base64().max(fV(102400))),PQ=j().min(1).max(10),bge=j().regex(pV).min(1).max(11),FQ=F(sV,j().base64().max(fV(140))),IQ=j().min(1).max(140),LQ=j().regex(pV).min(1).max(15),RQ=j().min(1).max(16),xge=j().regex(pV).min(1).max(19),zQ=j().min(1).max(2e4),BQ=j().min(1).max(256),Sge=F(sV,j().base64().max(fV(2048))),VQ=F(sV,j().base64().max(fV(2097152))),HQ=j().regex(pV).min(1).max(2),UQ=F(sV,j().base64().max(fV(3e3))),Cge=j().min(1).max(30),WQ=j().min(1).max(350),GQ=F(sV,j().base64().max(fV(35))),KQ=j().regex(pV).min(1).max(35),G=j().min(1).max(35),qQ=j().min(1).max(37),JQ=j().regex(pV).min(1).max(3),YQ=j().min(1).max(3),XQ=j().min(1).max(45),ZQ=F(sV,j().base64().max(fV(5e3))),QQ=F(sV,j().base64().max(fV(500))),$Q=j().min(1).max(500),e$=j().regex(pV).min(1).max(5),t$=j().min(1).max(6),n$=j().min(1).max(70),r$=j().min(1).max(76),wge=j().min(1).max(8e3),i$=j().min(1).max(8),a$=j().regex(pV).min(1).max(9),o$=F(sV,j().base64().min(fV(1)).max(fV(256))),s$=j().regex(hV).min(2).max(3),Tge=j().regex(pV).min(2).max(3),c$=j().min(3).max(4),Ege=F(sV,j().base64().min(fV(5)).max(fV(16))),Dge=j().min(6).max(8),l$=j().regex(pV).min(8).max(28),u$=pO().min(0).max(100).refine(oV(11,10).check,oV(11,10).params),d$=j().min(4).max(35).regex(/^\+[0-9]{1,3}-[0-9()+\-]{1,30}$/,`Phone number must start with '+' followed by 1-3 digits for country code, a hyphen, then 1-30 characters of numbers/parentheses/plus/hyphens`),f$=mA().int().positive().lte(0xde0b6b3a7640000),Oge=PO(),p$=xO(),m$=j().regex(/^[0-9]{8,17}$/),h$=mA().int().gte(-0xde0b6b3a7640000).lte(0xde0b6b3a7640000),kge=N({Card:l$.optional(),MSISDN:RQ.optional(),EMail:BQ.optional(),IBAN:TQ.optional(),BBAN:xQ.optional(),UPIC:m$.optional(),Domestic:G.optional(),Other:G.optional()}).refine(aV.check,aV.params),Age=N({AddressDigits:e$.optional(),PostalCodeDigits:e$.optional()}).refine(V.check,V.params),jge=N({Amount:_Q,Sign:vQ.optional()}),Mge=N({Amount:_Q,Currency:yQ,Sign:vQ.optional()}),Nge=N({LowerBin:LQ,HigherBin:LQ}),Pge=N({ImageFormat:G,ImageData:VQ.optional(),ImageReference:$Q.optional(),AdditionalInformation:IQ.optional()}),Fge=lV,Ige=A,Lge=N({Currency:yQ.optional(),TotalAmount:_Q.register(Ige,{id:`CardPaymentTransactionDetails50.TotalAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),ValidityDate:EQ.optional(),ICCRelatedData:kQ.optional(),KeepAuthorisationOpen:p$.optional()}).transform(Fge(`Currency`,[`TotalAmount`])),Rge=N({Rate:u$,AdditionalInformation:WQ.optional()}),zge=N({Amount:_Q,AdditionalInformation:WQ.optional()}),Bge=N({AlphaCode:yQ.optional(),NumericCode:wQ.optional(),Decimal:h$.optional(),Name:G.optional()}).refine(V.check,V.params),Vge=N({AlphaCode:yQ,NumericCode:wQ,Decimal:h$,Name:G.optional()}),g$=N({Identification:G.optional(),Type:n$.optional(),Provider:G.optional()}).refine(V.check,V.params),Hge=N({BirthDate:EQ,ProvinceOfBirth:G.optional(),CityOfBirth:G,CountryOfBirth:G}),_$=N({Amount:_Q,Label:IQ.optional()}),Uge=N({Class:o$,Instruction:o$,Parameter1:o$,Parameter2:o$,Data:o$.optional(),ExpectedLength:o$.optional()}),Wge=N({Data:o$.optional(),CardStatus:o$}),Gge=N({ReceivedMessage:AQ.optional()}),Kge=N({Identification:G,SchemeName:G.optional(),Issuer:G.optional()}),qge=N({Identification:G,Issuer:G,SchemeName:G.optional()}),Jge=N({IdentificationType:G,Identification:G}),Yge=N({Identification:G,Version:G,Issuer:G}),v$=N({Name:n$,Value:IQ.optional()}),Xge=N({Latitude:G,Longitude:G}),Zge=N({UTMZone:G,UTMEastward:G,UTMNorthward:G}),Qge=N({ATRValue:FQ.optional(),CardStatus:GQ.optional()}),y$=N({KeyIdentification:IQ,KeyVersion:IQ,SequenceNumber:h$.optional(),DerivationIdentification:QQ.optional()}),$ge=N({FromDateTime:DQ.optional(),ToDateTime:DQ.optional(),UTCOffset:h$}),e_e=N({MandateIdentification:G,DateOfSignature:EQ.optional(),MandateImage:VQ.optional()}),t_e=A,b$=N({CommonName:n$,Address:F(H,M(IQ)).optional().register(t_e,{id:`Organisation26.Address`,innerSchema:`Max140Text`}),CountryCode:vge,MerchantCategoryCode:c$.optional(),RegisteredIdentifier:G.optional()}),n_e=N({ActualAmount:_Q.optional(),MinimumAmount:_Q.optional(),MaximumAmount:_Q.optional()}).refine(V.check,V.params),r_e=A,i_e=N({Certificate:F(H,M(ZQ)).optional().register(r_e,{id:`OriginatorInformation1.Certificate`,innerSchema:`Max5000Binary`})}).refine(V.check,V.params),a_e=N({ProviderIdentification:G,RequestorIdentification:G}),o_e=N({PAN:l$,CardSequenceNumber:Tge.optional(),EffectiveDate:PQ.optional(),ExpiryDate:PQ,ServiceCode:wQ.optional(),Track1:r$.optional(),Track2:qQ.optional(),Track3:MQ.optional(),CardholderName:XQ.optional()}),x$=N({ItemNumber:G.optional(),ProviderIdentification:G.optional(),Identification:BQ.optional(),SerialNumber:BQ.optional()}).refine(V.check,V.params),s_e=N({StreetName:n$.optional(),PostCodeIdentification:RQ,TownName:G,CountrySubDivision:G.optional(),Country:SQ}),S$=N({ProductCode:n$,AdditionalProductCode:n$.optional()}),c_e=N({MSISDN:KQ,IMSI:KQ.optional(),IMEI:KQ.optional()}),l_e=N({Identification:G}),C$=N({PlaceAndName:WQ.optional(),Envelope:Oge}),u_e=N({PaymentToken:xge.optional(),TokenExpiryDate:_ge.optional(),TokenRequestorIdentification:bge.optional(),TokenAssuranceData:IQ.optional(),TokenAssuranceMethod:HQ.optional(),TokenInitiatedIndicator:p$.optional()}).refine(V.check,V.params),w$=N({TransactionDateTime:DQ,TransactionReference:G}),d_e=A,T$=N({RejectReason:P(gY).transform(U(vY.optionsByNormKey)).register(d_e,{id:`AcceptorRejection2.RejectReason`,innerSchema:`RejectReason1Code`}),AdditionalInformation:$Q.optional(),MessageInError:AQ.optional()}),f_e=A,E$=N({RejectReason:P(xY).transform(U(CY.optionsByNormKey)).register(f_e,{id:`AcceptorRejection3.RejectReason`,innerSchema:`RejectReason2Code`}),AdditionalInformation:$Q.optional(),MessageInError:AQ.optional()}),D$=A,O$=N({HostIdentification:G,MessageToSend:F(H,M(P(NK).transform(U(FK.optionsByNormKey)))).optional().register(D$,{id:`AcquirerHostConfiguration9.MessageToSend`,innerSchema:`MessageFunction43Code`}),ProtocolVersion:i$.optional(),ExternallyTypeSupported:F(H,M(jQ)).optional().register(D$,{id:`AcquirerHostConfiguration9.ExternallyTypeSupported`,innerSchema:`Max1025Text`})}),p_e=A,k$=N({Algorithm:P(RV).transform(U(BV.optionsByNormKey)).register(p_e,{id:`AlgorithmIdentification21.Algorithm`,innerSchema:`Algorithm16Code`})}),m_e=A,h_e=P(VY).transform(U(UY.optionsByNormKey)),A$=N({SaleReferenceIdentification:G.optional(),TransactionIdentification:w$,InitiatorTransactionIdentification:G.optional(),RecipientTransactionIdentification:IQ.optional(),ReconciliationIdentification:G.optional(),Response:h_e.register(m_e,{id:`CardPaymentTransactionAdviceResponse8.Response`,innerSchema:`Response9Code`})}),g_e=N({IBAN:TQ.optional(),BBAN:xQ.optional(),UPIC:m$.optional(),DomesticAccount:l_e.optional()}).refine(aV.check,aV.params),__e=A,v_e=P(VW).transform(U(UW.optionsByNormKey)),j$=N({Name:BQ.optional(),Type:v_e.register(__e,{id:`DataSetIdentification10.Type`,innerSchema:`DataSetCategory18Code`}),Version:BQ.optional(),CreationDateTime:DQ.optional()}),M$=A,y_e=N({AmountGoodsAndServices:_Q.optional(),CashBack:_Q.optional(),Gratuity:_Q.optional(),Fees:F(H,M(_$)).optional().register(M$,{id:`DetailedAmount15.Fees`,innerSchema:`DetailedAmount4`}),Rebate:F(H,M(_$)).optional().register(M$,{id:`DetailedAmount15.Rebate`,innerSchema:`DetailedAmount4`}),ValueAddedTax:F(H,M(_$)).optional().register(M$,{id:`DetailedAmount15.ValueAddedTax`,innerSchema:`DetailedAmount4`}),Surcharge:F(H,M(_$)).optional().register(M$,{id:`DetailedAmount15.Surcharge`,innerSchema:`DetailedAmount4`})}).refine(V.check,V.params),b_e=A,x_e=N({Amount:_Q,DateTime:DQ,CardDataEntryMode:P(FU).transform(U(LU.optionsByNormKey)).optional().register(b_e,{id:`DetailedAmount21.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),ICCRelatedData:kQ.optional(),Label:IQ.optional()}),S_e=A,C_e=N({DisplayOutput:F(H,M(P(wq).transform(U(Eq.optionsByNormKey))).min(1)).register(S_e,{id:`DeviceDisplayRequest5.DisplayOutput`,innerSchema:`OutputFormat1Code`})}),w_e=A,T_e=N({CardEntryMode:P(FU).transform(U(LU.optionsByNormKey)).optional().register(w_e,{id:`DeviceInitialisationCardReaderResponse2.CardEntryMode`,innerSchema:`CardDataReading8Code`}),ICCResetData:Qge.optional(),AdditionalInformation:kQ.optional()}),E_e=A,D_e=N({DocumentQualifier:P(KW).transform(U(JW.optionsByNormKey)).register(E_e,{id:`DevicePrintResponse1.DocumentQualifier`,innerSchema:`DocumentType7Code`})}),N$=A,P$=`optionsNorm`,F$=`optionsByNormKey`,O_e=P(sQ[P$]).transform(U(dQ[F$])),k_e=P(Sq[P$]).transform(U(Eq[F$])),A_e=N({Destination:F(H,M(O_e).nonempty()).register(N$,{id:`DisplayCapabilities4.Destination`,innerSchema:`UserInterface4Code`}),AvailableFormat:F(H,M(k_e)).optional().register(N$,{id:`DisplayCapabilities4.AvailableFormat`,innerSchema:`OutputFormat1Code`}),NumberOfLines:h$.optional(),LineWidth:h$.optional(),AvailableLanguage:F(H,M(OQ)).optional().register(N$,{id:`DisplayCapabilities4.AvailableLanguage`,innerSchema:`LanguageCode`})}).refine(V.check,V.params),j_e=A,I$=N({ContentType:P(EW).transform(U(OW.optionsByNormKey)).register(j_e,{id:`EncapsulatedContent3.ContentType`,innerSchema:`ContentType2Code`}),Content:AQ.optional()}),L$=A,R$=`optionsNorm`,z$=`optionsByNormKey`,M_e=P(oZ[R$]).transform(U(uZ[z$])),N_e=P(xZ[R$]).transform(U(TZ[z$])),P_e=N({ActionResult:F(H,M(M_e).min(1)).register(L$,{id:`ErrorAction5.ActionResult`,innerSchema:`TerminalManagementActionResult5Code`}),ActionToProcess:N_e.register(L$,{id:`ErrorAction5.ActionToProcess`,innerSchema:`TerminalManagementErrorAction2Code`})}),B$=A,V$=P(Wq).transform(U(Kq.optionsByNormKey)),H$=N({Identification:G,Type:V$.optional().register(B$,{id:`GenericIdentification176.Type`,innerSchema:`PartyType33Code`}),Issuer:V$.optional().register(B$,{id:`GenericIdentification176.Issuer`,innerSchema:`PartyType33Code`}),Country:s$.optional(),ShortName:G.optional()}),U$=A,W$=`optionsNorm`,G$=`optionsByNormKey`,F_e=P(qq[W$]).transform(U(Zq[G$])),I_e=P(Qq[W$]).transform(U(nJ[G$])),K$=N({Identification:G,Type:F_e.optional().register(U$,{id:`GenericIdentification32.Type`,innerSchema:`PartyType3Code`}),Issuer:I_e.optional().register(U$,{id:`GenericIdentification32.Issuer`,innerSchema:`PartyType4Code`}),ShortName:G.optional()}),q$=A,J$=`optionsNorm`,Y$=`optionsByNormKey`,L_e=P(Mq[J$]).transform(U(Iq[Y$])),R_e=P(Qq[J$]).transform(U(nJ[Y$])),X$=N({Identification:G.optional(),Type:L_e.register(q$,{id:`GenericIdentification90.Type`,innerSchema:`PartyType14Code`}),Issuer:R_e.optional().register(q$,{id:`GenericIdentification90.Issuer`,innerSchema:`PartyType4Code`}),Country:s$.optional(),ShortName:G.optional()}),Z$=N({GeographicCoordinates:Xge.optional(),UTMCoordinates:Zge.optional()}),z_e=A,B_e=N({Time:JQ,UnitType:P(DG).transform(U(kG.optionsByNormKey)).register(z_e,{id:`GracePeriod1.UnitType`,innerSchema:`GracePeriodUnitType1Code`}),OtherUnitType:G.optional()}),V_e=A,H_e=N({Type:P(HG).transform(U(WG.optionsByNormKey)).optional().register(V_e,{id:`InstalmentAmountDetails1.Type`,innerSchema:`InstalmentAmountDetailsType1Code`}),OtherType:G.optional(),SubType:G.optional(),Amount:jge.optional(),Percentage:u$.optional()}).refine(V.check,V.params),Q$=A,$$=`optionsNorm`,e1=`optionsByNormKey`,U_e=P(tK[$$]).transform(U(aK[e1])),W_e=P(GG[$$]).transform(U(YG[e1])),G_e=N({Type:U_e.optional().register(Q$,{id:`InterestRateDetails1.Type`,innerSchema:`InterestRate1Code`}),OtherType:G.optional(),Period:W_e.register(Q$,{id:`InterestRateDetails1.Period`,innerSchema:`InstalmentPeriod1Code`}),Rate:hge}),t1=A,n1=`optionsNorm`,r1=`optionsByNormKey`,K_e=P(kW[n1]).transform(U(NW[r1])),q_e=P(oK[n1]).transform(U(uK[r1])),i1=N({KeyIdentification:IQ,KeyVersion:IQ,SequenceNumber:h$.optional(),DerivationIdentification:Ege.optional(),Type:K_e.optional().register(t1,{id:`KEKIdentifier5.Type`,innerSchema:`CryptographicKeyType3Code`}),Function:F(H,M(q_e)).optional().register(t1,{id:`KEKIdentifier5.Function`,innerSchema:`KeyUsage1Code`})}),a1=A,o1=`optionsNorm`,s1=`optionsByNormKey`,J_e=P(NU[o1]).transform(U(LU[s1])),Y_e=P(JU[o1]).transform(U(QU[s1])),X_e=P(fH[o1]).transform(U(gH[s1])),Z_e=lV,Q_e=N({LoyaltyIdentification:G,EntryMode:J_e.optional().register(a1,{id:`LoyaltyAccount3.EntryMode`,innerSchema:`CardDataReading8Code`}),IdentificationType:Y_e.optional().register(a1,{id:`LoyaltyAccount3.IdentificationType`,innerSchema:`CardIdentificationType1Code`}),Brand:G.optional(),Provider:G.optional(),OwnerName:XQ.optional(),Unit:X_e.optional().register(a1,{id:`LoyaltyAccount3.Unit`,innerSchema:`AmountUnit1Code`}),Currency:yQ.optional(),Balance:_Q.optional().register(a1,{id:`LoyaltyAccount3.Balance`,innerSchema:`ImpliedCurrencyAndAmount`})}).transform(Z_e(`Currency`,[`Balance`])),$_e=A,eve=N({Identification:G,TotalSize:CQ,FreeSize:CQ,Unit:P(OK).transform(U(AK.optionsByNormKey)).register($_e,{id:`MemoryCharacteristics1.Unit`,innerSchema:`MemoryUnit1Code`})}),tve=A,nve=N({Token:G.optional(),TokenExpiryDate:PQ.optional(),TokenCharacteristic:F(H,M(G)).optional().register(tve,{id:`MerchantToken2.TokenCharacteristic`,innerSchema:`Max35Text`}),TokenRequestor:a_e.optional(),TokenAssuranceLevel:h$.optional(),TokenAssuranceData:QQ.optional(),TokenAssuranceMethod:HQ.optional(),TokenInitiatedIndicator:p$.optional()}).refine(V.check,V.params),c1=A,l1=N({ItemIdentification:IQ,Condition:P(JK).transform(U(XK.optionsByNormKey)).register(c1,{id:`MessageItemCondition2.Condition`,innerSchema:`MessageItemCondition2Code`}),Value:F(H,M(IQ)).optional().register(c1,{id:`MessageItemCondition2.Value`,innerSchema:`Max140Text`})}),rve=N({Name:n$,Address:s_e}),ive=A,ave=N({NetworkType:P($K).transform(U(tq.optionsByNormKey)).register(ive,{id:`NetworkParameters9.NetworkType`,innerSchema:`NetworkType1Code`}),AddressValue:$Q}),u1=A,d1=`optionsNorm`,f1=`optionsByNormKey`,ove=P(QH[d1]).transform(U(nU[f1])),sve=P($J[d1]).transform(U(rY[f1])),cve=P(iY[d1]).transform(U(cY[f1])),lve=N({BarcodeType:ove.register(u1,{id:`OutputBarcode2.BarcodeType`,innerSchema:`BarcodeType1Code`}),BarcodeValue:wge.optional(),QRCodeBinaryValue:UQ.optional(),QRCodeVersion:RQ.optional(),QRCodeEncodingMode:sve.optional().register(u1,{id:`OutputBarcode2.QRCodeEncodingMode`,innerSchema:`QRCodeEncodingMode1Code`}),QRCodeErrorCorrection:cve.optional().register(u1,{id:`OutputBarcode2.QRCodeErrorCorrection`,innerSchema:`QRCodeErrorCorrection1Code`})}),p1=A,m1=`optionsNorm`,h1=`optionsByNormKey`,uve=P(YW[m1]).transform(U($W[h1])),dve=P(pU[m1]).transform(U(_U[h1])),fve=N({EncryptionFormat:uve.optional().register(p1,{id:`Parameter12.EncryptionFormat`,innerSchema:`EncryptionFormat2Code`}),InitialisationVector:QQ.optional(),BytePadding:dve.optional().register(p1,{id:`Parameter12.BytePadding`,innerSchema:`BytePadding1Code`})}),pve=A,mve=N({DigestAlgorithm:P(NV).transform(U(FV.optionsByNormKey)).optional().register(pve,{id:`Parameter5.DigestAlgorithm`,innerSchema:`Algorithm11Code`})}).refine(V.check,V.params),hve=A,gve=P(hU).transform(U(_U.optionsByNormKey)),_ve=N({InitialisationVector:QQ.optional(),BytePadding:gve.optional().register(hve,{id:`Parameter7.BytePadding`,innerSchema:`BytePadding1Code`})}).refine(V.check,V.params),vve=A,yve=N({DigestAlgorithm:P(RV).transform(U(BV.optionsByNormKey)).optional().register(vve,{id:`Parameter9.DigestAlgorithm`,innerSchema:`Algorithm16Code`})}),bve=N({AnyBIC:bQ.optional(),ProprietaryIdentification:Kge.optional()}).refine(aV.check,aV.params),g1=A,_1=`optionsNorm`,v1=`optionsByNormKey`,xve=P(_H[_1]).transform(U(xH[v1])),Sve=P(KZ[_1]).transform(U(XZ[v1])),Cve=P(VZ[_1]).transform(U(GZ[v1])),wve=P(cU[_1]).transform(U(fU[v1])),Tve=P(NU[_1]).transform(U(LU[v1])),Eve=P(RU[_1]).transform(U(HU[v1])),Dve=P(GX[_1]).transform(U(YX[v1])),Ove=N({CardPresent:p$.optional(),CardholderPresent:p$.optional(),OnLineContext:p$.optional(),AttendanceContext:xve.optional().register(g1,{id:`PaymentContext29.AttendanceContext`,innerSchema:`AttendanceContext1Code`}),TransactionEnvironment:Sve.optional().register(g1,{id:`PaymentContext29.TransactionEnvironment`,innerSchema:`TransactionEnvironment1Code`}),TransactionChannel:Cve.optional().register(g1,{id:`PaymentContext29.TransactionChannel`,innerSchema:`TransactionChannel5Code`}),BusinessArea:wve.optional().register(g1,{id:`PaymentContext29.BusinessArea`,innerSchema:`BusinessArea2Code`}),AttendantMessageCapable:p$.optional(),AttendantLanguage:OQ.optional(),CardDataEntryMode:Tve.optional().register(g1,{id:`PaymentContext29.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),FallbackIndicator:Eve.optional().register(g1,{id:`PaymentContext29.FallbackIndicator`,innerSchema:`CardFallback1Code`}),SupportedOption:F(H,M(Dve)).optional().register(g1,{id:`PaymentContext29.SupportedOption`,innerSchema:`SupportedPaymentOption2Code`})}).refine(V.check,V.params),kve=A,y1=N({DriverLicenseNumber:G.optional(),DriverLicenseLocation:G.optional(),DriverLicenseName:G.optional(),DriverIdentification:G.optional(),CustomerNumber:G.optional(),SocialSecurityNumber:G.optional(),AlienRegistrationNumber:G.optional(),PassportNumber:G.optional(),TaxIdentificationNumber:G.optional(),IdentityCardNumber:G.optional(),EmployerIdentificationNumber:G.optional(),EmployeeIdentificationNumber:G.optional(),JobNumber:G.optional(),Department:G.optional(),EmailAddress:BQ.optional(),DateAndPlaceOfBirth:Hge.optional(),Other:F(H,M(Jge)).optional().register(kve,{id:`PersonIdentification15.Other`,innerSchema:`GenericIdentification4`})}).refine(V.check,V.params),Ave=A,b1=N({InterfaceName:G,InterfaceType:P(AJ).transform(U(MJ.optionsByNormKey)).optional().register(Ave,{id:`PhysicalInterfaceParameter1.InterfaceType`,innerSchema:`POICommunicationType2Code`}),UserName:G.optional(),AccessCode:GQ.optional(),SecurityProfile:G.optional(),AdditionalParameters:Sge.optional()}),x1=A,jve=P(AU).transform(U(MU.optionsByNormKey)),Mve=N({PAN:l$.optional(),Track1:r$.optional(),Track2:qQ.optional(),Track3:MQ.optional(),AdditionalCardData:F(H,M(G)).optional().register(x1,{id:`PlainCardData17.AdditionalCardData`,innerSchema:`Max35Text`}),EntryMode:jve.optional().register(x1,{id:`PlainCardData17.EntryMode`,innerSchema:`CardDataReading5Code`})}).refine(V.check,V.params),S1=A,Nve=N({Type:P(FJ).transform(U(LJ.optionsByNormKey)).register(S1,{id:`PointOfInteractionComponentAssessment1.Type`,innerSchema:`POIComponentAssessment1Code`}),Assigner:F(H,M(G).nonempty()).register(S1,{id:`PointOfInteractionComponentAssessment1.Assigner`,innerSchema:`Max35Text`}),DeliveryDate:DQ.optional(),ExpirationDate:DQ.optional(),Number:G}),Pve=A,Fve=P(BJ).transform(U(HJ.optionsByNormKey)),Ive=N({VersionNumber:BQ.optional(),Status:Fve.optional().register(Pve,{id:`PointOfInteractionComponentStatus3.Status`,innerSchema:`POIComponentStatus1Code`}),ExpiryDate:EQ.optional()}).refine(V.check,V.params),C1=A,Lve=N({AddressType:P(OV).transform(U(AV.optionsByNormKey)).optional().register(C1,{id:`PostalAddress1.AddressType`,innerSchema:`AddressType2Code`}),AddressLine:F(H,M(n$).min(0).max(5)).optional().register(C1,{id:`PostalAddress1.AddressLine`,innerSchema:`Max70Text`}),StreetName:n$.optional(),BuildingNumber:RQ.optional(),PostCode:RQ.optional(),TownName:G.optional(),CountrySubDivision:G.optional(),Country:SQ}),w1=A,T1=N({AddressType:P(OV).transform(U(AV.optionsByNormKey)).optional().register(w1,{id:`PostalAddress22.AddressType`,innerSchema:`AddressType2Code`}),Department:n$.optional(),SubDepartment:n$.optional(),AddressLine:F(H,M(n$).max(2)).optional().register(w1,{id:`PostalAddress22.AddressLine`,innerSchema:`Max70Text`}),StreetName:n$.optional(),BuildingNumber:RQ.optional(),PostCode:RQ.optional(),TownName:n$.optional(),CountrySubDivision:F(H,M(G).max(2)).optional().register(w1,{id:`PostalAddress22.CountrySubDivision`,innerSchema:`Max35Text`}),CountryCode:s$.optional()}).refine(V.check,V.params),Rve=A,zve=P(OZ).transform(U(AZ.optionsByNormKey)),E1=N({Delay:a$,MaximumNumber:h$.optional(),UnitOfTime:zve.optional().register(Rve,{id:`ProcessRetry3.UnitOfTime`,innerSchema:`TimeUnit1Code`})}),Bve=A,Vve=P(OZ).transform(U(AZ.optionsByNormKey)),Hve=N({WaitingTime:a$.optional(),StartTime:DQ.optional(),EndTime:DQ.optional(),Period:a$.optional(),MaximumNumber:h$.optional(),UnitOfTime:Vve.optional().register(Bve,{id:`ProcessTiming5.UnitOfTime`,innerSchema:`TimeUnit1Code`})}),Uve=A,Wve=P(OZ).transform(U(AZ.optionsByNormKey)),D1=N({StartTime:DQ.optional(),EndTime:DQ.optional(),Period:a$.optional(),UnitOfTime:Wve.optional().register(Uve,{id:`ProcessTiming6.UnitOfTime`,innerSchema:`TimeUnit1Code`})}).refine(V.check,V.params),Gve=A,Kve=P(iQ).transform(U(oQ.optionsByNormKey)),qve=N({ProductCode:n$,AdditionalProductCode:n$.optional(),AmountLimit:_Q.optional(),QuantityLimit:CQ.optional(),UnitOfMeasure:Kve.optional().register(Gve,{id:`Product5.UnitOfMeasure`,innerSchema:`UnitOfMeasure6Code`})}),O1=A,k1=`optionsNorm`,A1=`optionsByNormKey`,Jve=P(nQ[k1]).transform(U(oQ[A1])),Yve=P(SH[k1]).transform(U(EH[A1])),Xve=N({ItemIdentification:G.optional(),ProductCode:n$,AdditionalProductCode:n$.optional(),UnitOfMeasure:Jve.optional().register(O1,{id:`Product6.UnitOfMeasure`,innerSchema:`UnitOfMeasure6Code`}),ProductQuantity:CQ.optional(),UnitPrice:_Q.optional(),UnitPriceSign:vQ.optional(),ProductAmount:_Q,ProductAmountSign:vQ.optional(),ValueAddedTax:_Q.optional(),TaxType:G.optional(),ProductDescription:IQ.optional(),DeliveryLocation:PQ.optional(),DeliveryService:Yve.optional().register(O1,{id:`Product6.DeliveryService`,innerSchema:`AttendanceContext2Code`}),SaleChannel:n$.optional(),AdditionalProductDescription:BQ.optional()}),Zve=A,Qve=N({AttributeType:P(kH).transform(U(jH.optionsByNormKey)).register(Zve,{id:`RelativeDistinguishedName1.AttributeType`,innerSchema:`AttributeType1Code`}),AttributeValue:IQ}),j1=A,M1=`optionsNorm`,N1=`optionsByNormKey`,$ve=P(kY[M1]).transform(U(NY[N1])),eye=P(FX[M1]).transform(U(zX[N1])),tye=N({ResourceType:$ve.register(j1,{id:`ResourceContent1.ResourceType`,innerSchema:`ResourceType1Code`}),ResourceFormat:eye.optional().register(j1,{id:`ResourceContent1.ResourceFormat`,innerSchema:`SoundFormat1Code`}),Language:OQ.optional(),ResourceReference:jQ.optional()}),nye=A,P1=N({Response:P(VY).transform(U(UY.optionsByNormKey)).register(nye,{id:`ResponseType10.Response`,innerSchema:`Response9Code`}),ResponseReason:G.optional(),AdditionalResponseInformation:IQ.optional()}),F1=A,I1=`optionsNorm`,L1=`optionsByNormKey`,rye=P(PY[I1]).transform(U(RY[L1])),iye=P(eX[I1]).transform(U(iX[L1])),R1=N({Response:rye.register(F1,{id:`ResponseType11.Response`,innerSchema:`Response11Code`}),ResponseReason:iye.optional().register(F1,{id:`ResponseType11.ResponseReason`,innerSchema:`RetailerResultDetail1Code`}),AdditionalResponseInformation:IQ.optional()}),z1=A,B1=`optionsNorm`,V1=`optionsByNormKey`,aye=P(bX[B1]).transform(U(wX[V1])),oye=P(xK[B1]).transform(U(TK[V1])),sye=lV,cye=N({SaleCapabilities:F(H,M(aye)).optional().register(z1,{id:`RetailerSaleEnvironment2.SaleCapabilities`,innerSchema:`SaleCapabilities1Code`}),Currency:yQ.optional(),MinimumAmountToDeliver:_Q.optional().register(z1,{id:`RetailerSaleEnvironment2.MinimumAmountToDeliver`,innerSchema:`ImpliedCurrencyAndAmount`}),MaximumCashBackAmount:_Q.optional().register(z1,{id:`RetailerSaleEnvironment2.MaximumCashBackAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),MinimumSplitAmount:_Q.optional().register(z1,{id:`RetailerSaleEnvironment2.MinimumSplitAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),DebitPreferredFlag:p$.optional(),LoyaltyHandling:oye.optional().register(z1,{id:`RetailerSaleEnvironment2.LoyaltyHandling`,innerSchema:`LoyaltyHandling1Code`})}).refine(V.check,V.params).transform(sye(`Currency`,[`MinimumAmountToDeliver`,`MaximumCashBackAmount`,`MinimumSplitAmount`])),H1=A,U1=`optionsNorm`,W1=`optionsByNormKey`,lye=P(NU[U1]).transform(U(LU[W1])),uye=P(AX[U1]).transform(U(PX[W1])),dye=N({SaleIdentification:G.optional(),SaleReferenceNumber:G.optional(),SaleReconciliationIdentification:G.optional(),CashierIdentification:G.optional(),CashierLanguage:F(H,M(OQ)).optional().register(H1,{id:`SaleContext4.CashierLanguage`,innerSchema:`LanguageCode`}),ShiftNumber:HQ.optional(),CustomerOrderRequestFlag:p$.optional(),PurchaseOrderNumber:G.optional(),InvoiceNumber:G.optional(),DeliveryNoteNumber:G.optional(),SponsoredMerchant:F(H,M(b$)).optional().register(H1,{id:`SaleContext4.SponsoredMerchant`,innerSchema:`Organisation26`}),SplitPayment:p$.optional(),RemainingAmount:_Q.optional(),ForceOnlineFlag:p$.optional(),ReuseCardDataFlag:p$.optional(),AllowedEntryMode:F(H,M(lye)).optional().register(H1,{id:`SaleContext4.AllowedEntryMode`,innerSchema:`CardDataReading8Code`}),SaleTokenScope:uye.optional().register(H1,{id:`SaleContext4.SaleTokenScope`,innerSchema:`SaleTokenScope1Code`}),AdditionalSaleData:n$.optional()}).refine(V.check,V.params),G1=A,K1=`optionsNorm`,q1=`optionsByNormKey`,fye=P(XX[K1]).transform(U(eZ[q1])),J1=P(YY[K1]).transform(U($Y[q1])),pye=P(aX[K1]).transform(U(lX[q1])),mye=P(uX[K1]).transform(U(mX[q1])),hye=N({ActionType:fye.register(G1,{id:`SaleToPOIProtocolParameter3.ActionType`,innerSchema:`TerminalManagementAction3Code`}),MerchantIdentification:b$.optional(),Version:BQ,HostIdentification:G,MerchantPOIIdentification:G.optional(),SaleIdentification:G.optional(),AllowedSaleMessage:F(H,M(J1)).optional().register(G1,{id:`SaleToPOIProtocolParameter3.AllowedSaleMessage`,innerSchema:`RetailerMessage1Code`}),AllowedPOIMessage:F(H,M(J1)).optional().register(G1,{id:`SaleToPOIProtocolParameter3.AllowedPOIMessage`,innerSchema:`RetailerMessage1Code`}),AllowedPOIService:F(H,M(pye)).optional().register(G1,{id:`SaleToPOIProtocolParameter3.AllowedPOIService`,innerSchema:`RetailerService2Code`}),AllowedSaleDevice:F(H,M(mye)).optional().register(G1,{id:`SaleToPOIProtocolParameter3.AllowedSaleDevice`,innerSchema:`RetailerService8Code`}),ExternallyTypeSupported:F(H,M(jQ)).optional().register(G1,{id:`SaleToPOIProtocolParameter3.ExternallyTypeSupported`,innerSchema:`Max1025Text`})}),Y1=A,X1=`optionsNorm`,Z1=`optionsByNormKey`,gye=P(BX[X1]).transform(U(WX[Z1])),_ye=P(JU[X1]).transform(U(QU[Z1])),vye=P(NU[X1]).transform(U(LU[Z1])),yye=lV,bye=N({AccountType:gye.optional().register(Y1,{id:`StoredValueAccount2.AccountType`,innerSchema:`StoredValueAccountType1Code`}),IdentificationType:_ye.optional(),Identification:G.optional(),Brand:G.optional(),Provider:G.optional(),OwnerName:XQ.optional(),ExpiryDate:PQ.optional(),EntryMode:vye.optional().register(Y1,{id:`StoredValueAccount2.EntryMode`,innerSchema:`CardDataReading8Code`}),Currency:yQ.optional(),Balance:_Q.optional()}).refine(V.check,V.params).transform(yye(`Currency`,[`Balance`])),xye=A,Q1=N({TMSContactLevel:P(NZ).transform(U(FZ.optionsByNormKey)).register(xye,{id:`TMSTrigger1.TMSContactLevel`,innerSchema:`TMSContactLevel1Code`}),TMSIdentification:G.optional(),TMSContactDateTime:DQ.optional()}),Sye=A,Cye=P(RZ).transform(U(BZ.optionsByNormKey)),wye=N({TrackNumber:h$.optional(),TrackFormat:Cye.optional().register(Sye,{id:`TrackData2.TrackFormat`,innerSchema:`TrackFormat1Code`}),TrackValue:IQ}),$1=A,e0=`optionsNorm`,t0=`optionsByNormKey`,Tye=P(LH[e0]).transform(U(VH[t0])),Eye=P(MH[e0]).transform(U(IH[t0])),Dye=P(fQ[e0]).transform(U(gQ[t0])),n0=N({Method:Tye.register($1,{id:`TransactionVerificationResult4.Method`,innerSchema:`AuthenticationMethod6Code`}),VerificationEntity:Eye.optional().register($1,{id:`TransactionVerificationResult4.VerificationEntity`,innerSchema:`AuthenticationEntity2Code`}),Result:Dye.optional().register($1,{id:`TransactionVerificationResult4.Result`,innerSchema:`Verification1Code`}),AdditionalResult:$Q.optional()}),r0=A,i0=`optionsNorm`,a0=`optionsByNormKey`,Oye=P(rJ[i0]).transform(U(sJ[a0])),kye=P(eG[i0]).transform(U(iG[a0])),Aye=N({TriggerSource:Oye.register(r0,{id:`TriggerInformation2.TriggerSource`,innerSchema:`PartyType5Code`}),SourceIdentification:G,TriggerType:kye.register(r0,{id:`TriggerInformation2.TriggerType`,innerSchema:`ExchangePolicy2Code`}),AdditionalInformation:n$.optional()}),jye=A,Mye=P(AU).transform(U(MU.optionsByNormKey)),Nye=N({Type:G.optional(),EntryMode:Mye.optional().register(jye,{id:`Vehicle2.EntryMode`,innerSchema:`CardDataReading5Code`}),Data:G}),Pye=A,Fye=N({FirstPaymentDateTime:DQ.optional(),LastPaymentDateTime:DQ.optional(),NumberOfPayments:h$.optional(),IndividualPayment:F(H,M(x_e)).optional().register(Pye,{id:`AggregationTransaction3.IndividualPayment`,innerSchema:`DetailedAmount21`})}).refine(V.check,V.params),Iye=A,Lye=N({Algorithm:P(lH).transform(U(dH.optionsByNormKey)).register(Iye,{id:`AlgorithmIdentification12.Algorithm`,innerSchema:`Algorithm8Code`}),Parameter:mve.optional()}),Rye=A,zye=N({Algorithm:P(lH).transform(U(dH.optionsByNormKey)).register(Rye,{id:`AlgorithmIdentification18.Algorithm`,innerSchema:`Algorithm8Code`}),Parameter:yve.optional()}),Bye=A,Vye=N({Algorithm:P(UV).transform(U(GV.optionsByNormKey)).register(Bye,{id:`AlgorithmIdentification22.Algorithm`,innerSchema:`Algorithm17Code`}),Parameter:_ve.optional()}),Hye=A,o0=N({Algorithm:P(JV).transform(U(XV.optionsByNormKey)).register(Hye,{id:`AlgorithmIdentification29.Algorithm`,innerSchema:`Algorithm24Code`}),Parameter:fve.optional()}),Uye=N({AuthorisationEntity:X$.optional(),ResponseToAuthorisation:P1,AuthorisationCode:i$.optional(),CompletionRequired:p$.optional(),TMSTrigger:Q1.optional()}),Wye=N({AuthorisationEntity:X$.optional(),ResponseToAuthorisation:P1,AuthorisationCode:i$.optional()}),Gye=N({AuthorisationEntity:X$.optional(),ResponseToAuthorisation:P1,AuthorisationCode:i$.optional(),TMSTrigger:Q1.optional()}),Kye=N({AuthorisationEntity:X$.optional(),ResponseToAuthorisation:P1,AuthorisationCode:Dge.optional()}),qye=A,Jye=N({RelativeDistinguishedName:F(H,M(Qve).nonempty()).register(qye,{id:`CertificateIssuer1.RelativeDistinguishedName`,innerSchema:`RelativeDistinguishedName1`})}),Yye=P(xW).transform(U(CW.optionsByNormKey)),Xye=N({BankIdentification:G.optional(),AccountNumber:G.optional(),CheckNumber:G.optional(),CheckCardNumber:G.optional(),CheckTrackData2:wye.optional(),CheckType:Yye.optional(),Country:YQ.optional()}).refine(V.check,V.params),Zye=N({PostalAddress:T1.optional(),Email:BQ.optional(),URLAddress:BQ.optional(),Phone:d$.optional(),CustomerService:d$.optional(),AdditionalContactInformation:BQ.optional()}).refine(V.check,V.params),s0=A,c0=`optionsNorm`,l0=`optionsByNormKey`,Qye=P(WY[c0]).transform(U(JY[l0])),$ye=P(wY[c0]).transform(U(OY[l0])),ebe=P(JJ[c0]).transform(U(QJ[l0])),tbe=N({ResponseMode:Qye.optional().register(s0,{id:`DevicePlayResourceRequest1.ResponseMode`,innerSchema:`ResponseMode2Code`}),ResourceAction:$ye.register(s0,{id:`DevicePlayResourceRequest1.ResourceAction`,innerSchema:`ResourceAction1Code`}),SoundVolume:u$.optional(),DisplayResolution:G.optional(),Resource:tye.optional(),TimingSlot:ebe.optional().register(s0,{id:`DevicePlayResourceRequest1.TimingSlot`,innerSchema:`ProcessingPosition2Code`})}),nbe=N({Version:h$.optional(),DigestAlgorithm:k$,EncapsulatedContent:I$,Digest:FQ}),rbe=A,ibe=N({ExchangePolicy:F(H,M(P(nG).transform(U(iG.optionsByNormKey))).min(1)).register(rbe,{id:`ExchangeConfiguration10.ExchangePolicy`,innerSchema:`ExchangePolicy2Code`}),MaximumNumber:h$.optional(),MaximumAmount:_Q.optional(),ReTry:E1.optional(),TimeCondition:D1.optional(),ExchangeFailed:p$.optional(),ExchangeDeclined:p$.optional()}),abe=A,u0=N({ExchangePolicy:F(H,M(P(nG).transform(U(iG.optionsByNormKey))).min(1)).register(abe,{id:`ExchangeConfiguration9.ExchangePolicy`,innerSchema:`ExchangePolicy2Code`}),MaximumNumber:h$.optional(),MaximumAmount:_Q.optional(),ReTry:E1.optional(),TimeCondition:D1.optional()}),obe=N({Name:n$,Address:Lve}),d0=A,f0=N({Address:F(H,M(ave).nonempty()).register(d0,{id:`NetworkParameters7.Address`,innerSchema:`NetworkParameters9`}),UserName:G.optional(),AccessCode:GQ.optional(),ServerCertificate:F(H,M(NQ).min(0).optional()).register(d0,{id:`NetworkParameters7.ServerCertificate`,innerSchema:`Max10KBinary`}),ServerCertificateIdentifier:F(H,M(FQ).min(0).optional()).register(d0,{id:`NetworkParameters7.ServerCertificateIdentifier`,innerSchema:`Max140Binary`}),ClientCertificate:F(H,M(NQ).min(0).optional()).register(d0,{id:`NetworkParameters7.ClientCertificate`,innerSchema:`Max10KBinary`}),SecurityProfile:G.optional()}),p0=A,m0=`optionsNorm`,h0=`optionsByNormKey`,sbe=P(sQ[m0]).transform(U(dQ[h0])),cbe=P(AG[m0]).transform(U(PG[h0])),g0=N({DeviceType:sbe.register(p0,{id:`OutputResult2.DeviceType`,innerSchema:`UserInterface4Code`}),InformationQualifier:cbe.register(p0,{id:`OutputResult2.InformationQualifier`,innerSchema:`InformationQualify1Code`}),Response:R1}),_0=N({AnyBIC:bQ.optional(),ProprietaryIdentification:qge.optional(),NameAndAddress:rve.optional()}).refine(aV.check,aV.params),v0=A,y0=`optionsNorm`,b0=`optionsByNormKey`,lbe=P(NU[y0]).transform(U(LU[b0])),ube=P(UU[y0]).transform(U(qU[b0])),dbe=P(fq[y0]).transform(U(gq[b0])),x0=N({CardReadingCapabilities:F(H,M(lbe)).optional().register(v0,{id:`PointOfInteractionCapabilities9.CardReadingCapabilities`,innerSchema:`CardDataReading8Code`}),CardholderVerificationCapabilities:F(H,M(ube)).optional().register(v0,{id:`PointOfInteractionCapabilities9.CardholderVerificationCapabilities`,innerSchema:`CardholderVerificationCapability4Code`}),PINLengthCapabilities:f$.optional().register(v0,{id:`PointOfInteractionCapabilities9.PINLengthCapabilities`,innerSchema:`PositiveNumber`}),ApprovalCodeLength:f$.optional(),MaxScriptLength:f$.optional(),CardCaptureCapable:p$.optional(),OnLineCapabilities:dbe.optional().register(v0,{id:`PointOfInteractionCapabilities9.OnLineCapabilities`,innerSchema:`OnLineCapability1Code`}),MessageCapabilities:F(H,M(A_e)).optional().register(v0,{id:`PointOfInteractionCapabilities9.MessageCapabilities`,innerSchema:`DisplayCapabilities4`})}).refine(V.check,V.params),S0=A,C0=`optionsNorm`,w0=`optionsByNormKey`,fbe=P(XX[C0]).transform(U(eZ[w0])),pbe=P(sq[C0]).transform(U(dq[w0])),mbe=N({ActionType:fbe.register(S0,{id:`ServiceProviderParameters3.ActionType`,innerSchema:`TerminalManagementAction3Code`}),ServiceProviderIdentification:F(H,M(H$).min(1)).register(S0,{id:`ServiceProviderParameters3.ServiceProviderIdentification`,innerSchema:`GenericIdentification176`}),Version:BQ,ApplicationIdentification:F(H,M(G)).optional().register(S0,{id:`ServiceProviderParameters3.ApplicationIdentification`,innerSchema:`Max35Text`}),Host:F(H,M(O$)).optional().register(S0,{id:`ServiceProviderParameters3.Host`,innerSchema:`AcquirerHostConfiguration9`}),NonFinancialActionSupported:F(H,M(pbe)).optional().register(S0,{id:`ServiceProviderParameters3.NonFinancialActionSupported`,innerSchema:`NonFinancialRequestType2Code`})}),hbe=A,gbe=N({ActionType:P(rZ).transform(U(aZ.optionsByNormKey)).register(hbe,{id:`TMSActionIdentification9.ActionType`,innerSchema:`TerminalManagementAction5Code`}),DataSetIdentification:j$.optional()}),T0=A,E0=`optionsNorm`,D0=`optionsByNormKey`,_be=P(XX[E0]).transform(U(eZ[D0])),vbe=P(PW[E0]).transform(U(RW[D0])),ybe=N({ActionType:_be.register(T0,{id:`TMSProtocolParameters7.ActionType`,innerSchema:`TerminalManagementAction3Code`}),TerminalManagerIdentification:H$.register(T0,{id:`TMSProtocolParameters7.TerminalManagerIdentification`,innerSchema:`GenericIdentification176`}),ProtocolVersion:i$.optional(),MaintenanceService:F(H,M(vbe).min(1)).register(T0,{id:`TMSProtocolParameters7.MaintenanceService`,innerSchema:`DataSetCategory10Code`}),Version:BQ,ApplicationIdentification:F(H,M(G)).optional(),HostIdentification:G,POIIdentification:G.optional(),InitiatingPartyIdentification:G.optional(),RecipientPartyIdentification:G.optional(),FileTransfer:p$.optional(),MessageItem:F(H,M(l1)).optional(),ExternallyTypeSupported:F(H,M(jQ)).optional()}),bbe=A,xbe=P(AU).transform(U(MU.optionsByNormKey)),Sbe=N({VehicleNumber:KQ.optional(),TrailerNumber:KQ.optional(),VehicleTag:G.optional(),VehicleTagEntryMode:xbe.optional().register(bbe,{id:`Vehicle1.VehicleTagEntryMode`,innerSchema:`CardDataReading5Code`}),UnitNumber:KQ.optional(),ReplacementCar:p$.optional(),Odometer:CQ.optional(),Hubometer:CQ.optional(),TrailerHours:G.optional(),ReferHours:G.optional(),MaintenanceIdentification:G.optional(),DriverOrVehicleCard:Mve.optional(),AdditionalVehicleData:F(H,M(Nye)).optional()}).refine(V.check,V.params),O0=A,k0=`optionsNorm`,A0=`optionsByNormKey`,Cbe=P(hG[k0]).transform(U(yG[A0])),wbe=P(vU[k0]).transform(U(SU[A0])),j0=N({FinancialCapture:Cbe.register(O0,{id:`AcquirerProtocolExchangeBehavior2.FinancialCapture`,innerSchema:`FinancialCapture1Code`}),BatchTransfer:u0.optional(),CompletionExchange:ibe.optional(),CancellationExchange:wbe.optional().register(O0,{id:`AcquirerProtocolExchangeBehavior2.CancellationExchange`,innerSchema:`CancellationProcess2Code`})}),M0=A,N0=`optionsNorm`,P0=`optionsByNormKey`,Tbe=P(gV[N0]).transform(U(bV[P0])),Ebe=P(CU[N0]).transform(U(DU[P0])),F0=N({SelectionMethod:Tbe.optional().register(M0,{id:`CardAccount16.SelectionMethod`,innerSchema:`AccountChoiceMethod1Code`}),SelectedAccountType:Ebe.optional().register(M0,{id:`CardAccount16.SelectedAccountType`,innerSchema:`CardAccountType3Code`}),AccountName:n$.optional(),AccountOwner:obe.optional(),Currency:yQ.optional(),AccountIdentifier:kge.optional(),Servicer:bve.optional()}).refine(V.check,V.params),I0=A,L0=`optionsNorm`,R0=`optionsByNormKey`,Dbe=P($U[L0]).transform(U(rW[R0])),Obe=P(lW[L0]).transform(U(pW[R0])),kbe=P(iW[L0]).transform(U(cW[R0])),Abe=P(NU[L0]).transform(U(LU[R0])),z0=N({SaleReferenceIdentification:G.optional(),TransactionIdentification:w$,POIIdentification:K$.optional(),InitiatorTransactionIdentification:G.optional(),RecipientTransactionIdentification:IQ.optional(),TransactionType:Dbe.register(I0,{id:`CardPaymentTransaction122.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(Obe)).optional().register(I0,{id:`CardPaymentTransaction122.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:kbe.optional().register(I0,{id:`CardPaymentTransaction122.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),CardDataEntryMode:Abe.optional().register(I0,{id:`CardPaymentTransaction122.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),TransactionResult:Kye.optional()}),jbe=A,Mbe=N({POITimeZone:n$,SynchronisationServer:F(H,M(f0)).optional().register(jbe,{id:`ClockSynchronisation3.SynchronisationServer`,innerSchema:`NetworkParameters7`}),Delay:yge.optional()}),B0=A,V0=`optionsNorm`,H0=`optionsByNormKey`,Nbe=P(OJ[V0]).transform(U(MJ[H0])),Pbe=P(cJ[V0]).transform(U(fJ[H0])),Fbe=N({CommunicationType:Nbe.register(B0,{id:`CommunicationCharacteristics5.CommunicationType`,innerSchema:`POICommunicationType2Code`}),RemoteParty:F(H,M(Pbe).nonempty()).register(B0,{id:`CommunicationCharacteristics5.RemoteParty`,innerSchema:`PartyType7Code`}),Active:p$,Parameters:f0.optional(),PhysicalInterface:b1.optional()}),Ibe=N({Creditor:_0,RegistrationIdentification:G.optional()}),Lbe=N({Debtor:_0.optional(),AccountIdentification:g_e.optional()}).refine(V.check,V.params),Rbe=A,zbe=N({OutputResult:F(H,M(g0).min(1)).register(Rbe,{id:`DeviceDisplayResponse2.OutputResult`,innerSchema:`OutputResult2`})}),Bbe=N({DestinationAddress:f0,MaximumTransmissionTime:h$,MaximumWaitingTime:h$.optional(),MessageToSend:AQ}),Vbe=A,Hbe=N({ContentType:P(EW).transform(U(OW.optionsByNormKey)).register(Vbe,{id:`EncryptedContent6.ContentType`,innerSchema:`ContentType2Code`}),ContentEncryptionAlgorithm:o0.optional(),EncryptedData:AQ}),U0=A,W0=P(Wq).transform(U(Kq.optionsByNormKey)),G0=N({Identification:G,Type:W0.optional().register(U0,{id:`GenericIdentification177.Type`,innerSchema:`PartyType33Code`}),Issuer:W0.optional().register(U0,{id:`GenericIdentification177.Issuer`,innerSchema:`PartyType33Code`}),Country:s$.optional(),ShortName:G.optional(),RemoteAccess:f0.optional(),Geolocation:Z$.optional()}),K0=A,Ube=N({ActionType:P(QX).transform(U(eZ.optionsByNormKey)).register(K0,{id:`HostCommunicationParameter6.ActionType`,innerSchema:`TerminalManagementAction3Code`}),HostIdentification:G,Address:f0.optional(),Key:F(H,M(i1)).optional().register(K0,{id:`HostCommunicationParameter6.Key`,innerSchema:`KEKIdentifier5`}),NetworkServiceProvider:f0.optional(),PhysicalInterface:b1.optional()}),Wbe=N({Issuer:Jye,SerialNumber:QQ}),Gbe=N({Version:h$.optional(),KEKIdentification:y$,KeyEncryptionAlgorithm:o0,EncryptedKey:QQ.optional()}),Kbe=A,qbe=N({Type:P(iq).transform(U(oq.optionsByNormKey)).register(Kbe,{id:`NetworkParameters8.Type`,innerSchema:`NetworkType2Code`}),Access:f0}),Jbe=A,Ybe=P(vK).transform(U(bK.optionsByNormKey)),Xbe=N({Identification:K$.optional(),CommonName:n$.optional(),LocationCategory:Ybe.optional().register(Jbe,{id:`Organisation41.LocationCategory`,innerSchema:`LocationCategory4Code`}),LocationAndContact:Zye.optional(),SchemeData:IQ.optional()}).refine(V.check,V.params),q0=A,J0=`optionsNorm`,Y0=`optionsByNormKey`,Zbe=P(YW[J0]).transform(U($W[Y0])),Qbe=P(IV[J0]).transform(U(BV[Y0])),$be=N({EncryptionFormat:Zbe.optional().register(q0,{id:`Parameter10.EncryptionFormat`,innerSchema:`EncryptionFormat2Code`}),DigestAlgorithm:Qbe.optional().register(q0,{id:`Parameter10.DigestAlgorithm`,innerSchema:`Algorithm16Code`}),MaskGeneratorAlgorithm:zye.optional()}),exe=A,txe=N({DigestAlgorithm:P(RV).transform(U(BV.optionsByNormKey)).optional().register(exe,{id:`Parameter15.DigestAlgorithm`,innerSchema:`Algorithm16Code`}),MaskGeneratorAlgorithm:Lye.optional(),SaltLength:h$.optional(),TrailerField:h$.optional(),OIDCurveName:IQ.optional()}).refine(V.check,V.params),X0=N({Identification:G0.optional(),ParametersVersion:BQ.optional()}),Z0=A,Q0=`optionsNorm`,$0=`optionsByNormKey`,nxe=P(XX[Q0]).transform(U(eZ[$0])),rxe=P(lY[Q0]).transform(U(pY[$0])),ixe=P(ZZ[Q0]).transform(U(tQ[$0])),axe=P(rU[Q0]).transform(U(sU[$0])),oxe=N({ActionType:nxe.register(Z0,{id:`AcquirerProtocolParameters16.ActionType`,innerSchema:`TerminalManagementAction3Code`}),AcquirerIdentification:F(H,M(H$).min(1)).register(Z0,{id:`AcquirerProtocolParameters16.AcquirerIdentification`,innerSchema:`GenericIdentification176`}),Version:BQ,ApplicationIdentification:F(H,M(G)).optional().register(Z0,{id:`AcquirerProtocolParameters16.ApplicationIdentification`,innerSchema:`Max35Text`}),Host:F(H,M(O$)).optional().register(Z0,{id:`AcquirerProtocolParameters16.Host`,innerSchema:`AcquirerHostConfiguration9`}),OnLineTransaction:j0.optional(),OffLineTransaction:j0.optional(),ReconciliationExchange:u0.optional(),ReconciliationByAcquirer:p$.optional(),TotalsPerCurrency:p$.optional(),SplitTotals:p$.optional(),SplitTotalCriteria:F(H,M(rxe)).optional().register(Z0,{id:`AcquirerProtocolParameters16.SplitTotalCriteria`,innerSchema:`ReconciliationCriteria1Code`}),CompletionAdviceMandated:p$.optional(),AmountQualifierForReservation:F(H,M(ixe)).optional().register(Z0,{id:`AcquirerProtocolParameters16.AmountQualifierForReservation`,innerSchema:`TypeOfAmount8Code`}),ReconciliationError:p$.optional(),CardDataVerification:p$.optional(),NotifyOffLineCancellation:p$.optional(),BatchTransferContent:F(H,M(axe)).optional().register(Z0,{id:`AcquirerProtocolParameters16.BatchTransferContent`,innerSchema:`BatchTransactionType1Code`}),FileTransferBatch:p$.optional(),BatchDigitalSignature:p$.optional(),MessageItem:F(H,M(l1)).optional().register(Z0,{id:`AcquirerProtocolParameters16.MessageItem`,innerSchema:`MessageItemCondition2`}),ProtectCardData:p$,PrivateCardData:p$.optional(),MandatorySecurityTrailer:p$.optional()}),sxe=A,cxe=N({Algorithm:P(iH).transform(U(oH.optionsByNormKey)).register(sxe,{id:`AlgorithmIdentification19.Algorithm`,innerSchema:`Algorithm7Code`}),Parameter:$be.optional()}),lxe=A,uxe=N({Algorithm:P($V).transform(U(tH.optionsByNormKey)).register(lxe,{id:`AlgorithmIdentification30.Algorithm`,innerSchema:`Algorithm25Code`}),Parameter:txe.optional()}),dxe=N({DebtorIdentification:Lbe.optional(),CreditorIdentification:Ibe,MandateRelatedInformation:e_e}),e2=A,fxe=P(fG).transform(U(mG.optionsByNormKey)),pxe=N({MerchantCategoryCode:c$,CustomerConsent:p$.optional(),CardProgrammeProposed:F(H,M(G)).optional().register(e2,{id:`CardPaymentTransaction116.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:G.optional(),SaleReferenceIdentification:G.optional(),TransactionIdentification:w$,OriginalTransaction:z0.optional(),TransactionSuccess:p$,Reversal:p$.optional(),FailureReason:F(H,M(fxe)).optional().register(e2,{id:`CardPaymentTransaction116.FailureReason`,innerSchema:`FailureReason3Code`}),InitiatorTransactionIdentification:G.optional(),RecipientTransactionIdentification:IQ.optional(),ReconciliationIdentification:G.optional(),InterchangeData:IQ.optional(),TransactionDetails:Lge,AuthorisationResult:Gye.optional(),AdditionalTransactionData:F(H,M(n$)).optional().register(e2,{id:`CardPaymentTransaction116.AdditionalTransactionData`,innerSchema:`Max70Text`})}),mxe=A,hxe=N({ActionType:P(QX).transform(U(eZ.optionsByNormKey)).register(mxe,{id:`MerchantConfigurationParameters6.ActionType`,innerSchema:`TerminalManagementAction3Code`}),MerchantIdentification:G.optional(),Version:BQ.optional(),ParameterFormatIdentifier:i$.optional(),Proxy:qbe.optional(),OtherParametersLength:f$.optional(),OffsetStart:f$.optional(),OffsetEnd:f$.optional(),OtherParameters:kQ.optional()}),t2=A,gxe=N({ActionType:P(QX).transform(U(eZ.optionsByNormKey)).register(t2,{id:`PaymentTerminalParameters8.ActionType`,innerSchema:`TerminalManagementAction3Code`}),VendorIdentification:G.optional(),Version:BQ.optional(),ParameterFormatIdentifier:i$.optional(),ClockSynchronisation:Mbe.optional(),TimeZoneLine:F(H,M(n$)).optional().register(t2,{id:`PaymentTerminalParameters8.TimeZoneLine`,innerSchema:`Max70Text`}),LocalDateTime:F(H,M($ge)).optional().register(t2,{id:`PaymentTerminalParameters8.LocalDateTime`,innerSchema:`LocalDateTime1`}),OtherParametersLength:f$.optional(),OffsetStart:f$.optional(),OffsetEnd:f$.optional(),OtherParameters:kQ.optional()}),n2=N({IssuerAndSerialNumber:Wbe.optional(),SubjectKeyIdentifier:FQ.optional()}).refine(aV.check,aV.params),r2=N({RelayIdentification:G0,ProtocolName:G.optional(),ProtocolVersion:t$.optional(),TraceDateTimeIn:DQ,TraceDateTimeOut:DQ}),i2=N({PaymentContext:Ove.optional(),SaleContext:dye.optional(),DirectDebitContext:dxe.optional()}).refine(V.check,V.params),a2=A,o2=N({MessageFunction:P(UK).transform(U(GK.optionsByNormKey)).register(a2,{id:`Header57.MessageFunction`,innerSchema:`MessageFunction9Code`}),ProtocolVersion:t$,ExchangeIdentification:h$.optional(),CreationDateTime:DQ,InitiatingParty:H$.optional(),RecipientParty:G0.optional(),Traceability:F(H,M(r2)).optional().register(a2,{id:`Header57.Traceability`,innerSchema:`Traceability8`})}),s2=A,c2=N({MessageFunction:P(RK).transform(U(BK.optionsByNormKey)).register(s2,{id:`Header70.MessageFunction`,innerSchema:`MessageFunction46Code`}),ProtocolVersion:t$,ExchangeIdentification:h$,ReTransmissionCounter:JQ.optional(),CreationDateTime:DQ,InitiatingParty:H$,RecipientParty:G0.optional(),Traceability:F(H,M(r2)).optional().register(s2,{id:`Header70.Traceability`,innerSchema:`Traceability8`})}),_xe=N({Version:h$.optional(),RecipientIdentification:n2,KeyEncryptionAlgorithm:cxe,EncryptedKey:ZQ}),vxe=A,yxe=N({Version:h$.optional(),SignerIdentification:n2.optional(),DigestAlgorithm:k$,SignedAttributes:F(H,M(v$)).optional().register(vxe,{id:`Signer7.SignedAttributes`,innerSchema:`GenericInformation1`}),SignatureAlgorithm:uxe,Signature:UQ}),bxe=A,l2=N({DownloadTransfer:p$,FormatVersion:t$,ExchangeIdentification:h$,CreationDateTime:DQ,InitiatingParty:H$,RecipientParty:G0.optional(),Traceability:F(H,M(r2)).optional().register(bxe,{id:`TMSHeader1.Traceability`,innerSchema:`Traceability8`})}),xxe=N({Header:o2,Reject:T$}),u2=N({KeyTransport:_xe.optional(),KEK:Gbe.optional(),KeyIdentifier:y$.optional()}).refine(aV.check,aV.params),d2=A,f2=N({Version:h$.optional(),DigestAlgorithm:F(H,M(k$)).optional().register(d2,{id:`SignedData8.DigestAlgorithm`,innerSchema:`AlgorithmIdentification21`}),EncapsulatedContent:I$.optional(),Certificate:F(H,M(ZQ)).optional().register(d2,{id:`SignedData8.Certificate`,innerSchema:`Max5000Binary`}),Signer:F(H,M(yxe)).optional().register(d2,{id:`SignedData8.Signer`,innerSchema:`Signer7`})}).refine(V.check,V.params),Sxe=N({Header:l2,Reject:E$});YO([c2,l2,o2]);var Cxe=A,p2=N({Version:h$.optional(),Recipient:F(H,M(u2).nonempty()).register(Cxe,{id:`AuthenticatedData9.Recipient`,innerSchema:`Recipient14Choice`}),MACAlgorithm:Vye,EncapsulatedContent:I$,MAC:FQ}),wxe=N({AcceptorRejection:xxe}),Txe=N({TerminalManagementRejection:Sxe}),Exe=A,m2=N({Version:h$.optional(),OriginatorInformation:i_e.optional(),Recipient:F(H,M(u2).nonempty()).register(Exe,{id:`EnvelopedData10.Recipient`,innerSchema:`Recipient14Choice`}),EncryptedContent:Hbe.optional()}),Dxe=A,h2=N({ContentType:P(EW).transform(U(OW.optionsByNormKey)).register(Dxe,{id:`ContentInformationType33.ContentType`,innerSchema:`ContentType2Code`}),AuthenticatedData:p2.optional(),SignedData:f2.optional()}),Oxe=A,g2=N({ContentType:P(EW).transform(U(OW.optionsByNormKey)).register(Oxe,{id:`ContentInformationType34.ContentType`,innerSchema:`ContentType2Code`}),EnvelopedData:m2.optional(),AuthenticatedData:p2.optional(),SignedData:f2.optional(),DigestedData:nbe.optional()}),kxe=A,_2=N({ContentType:P(EW).transform(U(OW.optionsByNormKey)).register(kxe,{id:`ContentInformationType35.ContentType`,innerSchema:`ContentType2Code`}),EnvelopedData:m2}),Axe=A,v2=N({ContentType:P(EW).transform(U(OW.optionsByNormKey)).register(Axe,{id:`ContentInformationType36.ContentType`,innerSchema:`ContentType2Code`}),AuthenticatedData:p2}),y2=A,b2=`optionsNorm`,x2=`optionsByNormKey`,jxe=P(sQ[b2]).transform(U(dQ[x2])),Mxe=P(AG[b2]).transform(U(PG[x2])),Nxe=P(Dq[b2]).transform(U(jq[x2])),S2=N({MessageDestination:jxe.register(y2,{id:`ActionMessage10.MessageDestination`,innerSchema:`UserInterface4Code`}),InformationQualifier:Mxe.optional().register(y2,{id:`ActionMessage10.InformationQualifier`,innerSchema:`InformationQualify1Code`}),Format:Nxe.optional().register(y2,{id:`ActionMessage10.Format`,innerSchema:`OutputFormat3Code`}),MessageContent:zQ.optional(),MessageContentSignature:h2.optional(),OutputBarcode:lve.optional(),ResponseRequiredFlag:p$.optional(),MinimumDisplayTime:h$.optional()}),C2=A,Pxe=N({ActionType:P(QX).transform(U(eZ.optionsByNormKey)).register(C2,{id:`ApplicationParameters12.ActionType`,innerSchema:`TerminalManagementAction3Code`}),ApplicationIdentification:G,Version:BQ.optional(),ParameterFormatIdentifier:i$.optional(),ParametersLength:f$.optional(),OffsetStart:f$.optional(),OffsetEnd:f$.optional(),Parameters:F(H,M(AQ)).optional().register(C2,{id:`ApplicationParameters12.Parameters`,innerSchema:`Max100KBinary`}),EncryptedParameters:_2.optional()}),w2=A,T2=`optionsNorm`,E2=`optionsByNormKey`,Fxe=P(kW[T2]).transform(U(NW[E2])),Ixe=P(oK[T2]).transform(U(uK[E2])),D2=N({Identification:WQ,AdditionalIdentification:GQ.optional(),Name:BQ.optional(),SecurityProfile:G.optional(),ItemNumber:G.optional(),Version:BQ,Type:Fxe.optional().register(w2,{id:`CryptographicKey17.Type`,innerSchema:`CryptographicKeyType3Code`}),Function:F(H,M(Ixe)).optional().register(w2,{id:`CryptographicKey17.Function`,innerSchema:`KeyUsage1Code`}),ActivationDate:DQ.optional(),DeactivationDate:DQ.optional(),KeyValue:g2.optional(),KeyCheckValue:GQ.optional(),AdditionalManagementInformation:F(H,M(v$)).optional().register(w2,{id:`CryptographicKey17.AdditionalManagementInformation`,innerSchema:`GenericInformation1`})}),O2=N({Identification:jQ,Value:AQ.optional(),ProtectedValue:g2.optional(),Type:jQ.optional()}),Lxe=A,Rxe=N({InputCommand:P(LG).transform(U(zG.optionsByNormKey)).register(Lxe,{id:`InputResultData5.InputCommand`,innerSchema:`InputCommand1Code`}),ConfirmedFlag:p$.optional(),FunctionKey:h$.optional(),InputMessage:zQ.optional(),Password:g2.optional(),ImageCapturedSignature:Pge.optional()}),zxe=N({MobileCountryCode:s$.optional(),MobileNetworkCode:s$.optional(),MobileMaskedMSISDN:G.optional(),Geolocation:Z$.optional(),SensitiveMobileData:c_e.optional(),ProtectedMobileData:_2.optional()}).refine(V.check,V.params),Bxe=A,k2=N({EncryptedPINBlock:_2,PINFormat:P(hJ).transform(U(_J.optionsByNormKey)).register(Bxe,{id:`OnLinePIN10.PINFormat`,innerSchema:`PINFormat3Code`}),AdditionalInput:G.optional()}),A2=A,Vxe=P(gW).transform(U(vW.optionsByNormKey)),Hxe=N({ProtectedCardData:_2.optional(),PrivateCardData:AQ.optional(),PlainCardData:o_e.optional(),PaymentAccountReference:n$.optional(),MaskedPAN:Cge.optional(),IssuerBIN:LQ.optional(),CardCountryCode:YQ.optional(),CardCurrencyCode:gge.optional(),CardProductProfile:G.optional(),CardBrand:G.optional(),CardProductType:Vxe.optional().register(A2,{id:`PaymentCard33.CardProductType`,innerSchema:`CardProductType1Code`}),CardProductSubType:G.optional(),InternationalCard:p$.optional(),AllowedProduct:F(H,M(n$)).optional().register(A2,{id:`PaymentCard33.AllowedProduct`,innerSchema:`Max70Text`}),ServiceOption:G.optional(),AdditionalCardData:n$.optional()}).refine(V.check,V.params);YO([v2,h2]);var Uxe=A,Wxe=N({ActionType:P(CV).transform(U(TV.optionsByNormKey)).register(Uxe,{id:`Action14.ActionType`,innerSchema:`ActionType13Code`}),MessageToPresent:S2.optional(),RemoteAccess:f0.optional(),Retry:E1.optional(),TimeCondition:D1.optional()}),j2=A,M2=`optionsNorm`,N2=`optionsByNormKey`,Gxe=P(HH[M2]).transform(U(KH[N2])),Kxe=P(aG[M2]).transform(U(lG[N2])),qxe=P(qH[M2]).transform(U(ZH[N2])),Jxe=N({AuthenticationMethod:Gxe.register(j2,{id:`CardholderAuthentication16.AuthenticationMethod`,innerSchema:`AuthenticationMethod8Code`}).optional(),AuthenticationExemption:Kxe.register(j2,{id:`CardholderAuthentication16.AuthenticationExemption`,innerSchema:`Exemption1Code`}).optional(),AuthenticationValue:ZQ.optional(),ProtectedAuthenticationValue:_2.optional(),CardholderOnLinePIN:k2.optional(),CardholderIdentification:y1.optional(),AddressVerification:Age.optional(),AuthenticationType:G.optional(),AuthenticationLevel:G.optional(),AuthenticationResult:qxe.register(j2,{id:`CardholderAuthentication16.AuthenticationResult`,innerSchema:`AuthenticationResult1Code`}).optional(),AuthenticationAdditionalInformation:O2.optional()}).refine(V.check,V.params),P2=A,F2=lV,I2=N({CurrencyConversionIdentification:G.optional().describe(`Identification of the currency conversion operation for the service provider.`),TargetCurrency:Vge.describe(`Currency into which the amount is converted (ISO 4217, 3 alphanumeric characters).`),ResultingAmount:_Q.optional().describe(`Amount converted in the target currency, including additional charges.`),ExchangeRate:u$.describe(`Exchange rate, expressed as a percentage, applied to convert the original amount into the resulting amount.`),InvertedExchangeRate:u$.optional().describe(`Exchange rate, expressed as a percentage, applied to convert the resulting amount into the original amount.`),QuotationDate:DQ.optional().describe(`Date and time at which the exchange rate has been quoted.`),ValidFrom:DQ.optional().describe(`Specifies when the currency conversion could start.`),ValidUntil:DQ.optional().describe(`Validity limit of the exchange rate.`),SourceCurrency:Bge.describe(`Currency from which the amount is converted (ISO 4217, 3 alphanumeric characters).`),ApplicableBinRange:F(H,M(Nge)).optional().describe(`Range of Bin for which the conversion is possible.`).register(P2,{id:`CurrencyConversion26.ApplicableBinRange`,innerSchema:`BinRange1`}),OriginalAmount:n_e.optional().describe(`Original amount in the source currency.`).register(P2,{id:`CurrencyConversion26.OriginalAmount`,innerSchema:`OriginalAmountDetails1`}),CommissionDetails:F(H,M(zge)).optional().describe(`Commission or additional charges made as part of a currency conversion.`).register(P2,{id:`CurrencyConversion26.CommissionDetails`,innerSchema:`Commission19`}),MarkUpDetails:F(H,M(Rge)).optional().describe(`Markup made as part of a currency conversion.`).register(P2,{id:`CurrencyConversion26.MarkUpDetails`,innerSchema:`Commission18`}),DeclarationDetails:F(H,M(S2)).optional().describe(`Card scheme declaration (disclaimer) to present to the cardholder.`).register(P2,{id:`CurrencyConversion26.DeclarationDetails`,innerSchema:`ActionMessage10`})}).transform(F2(`TargetCurrency.AlphaCode`,[`ResultingAmount`,`CommissionDetails[].Amount`])).transform(F2(`SourceCurrency.AlphaCode`,[`OriginalAmount.ActualAmount`,`OriginalAmount.MinimumAmount`,`OriginalAmount.MaximumAmount`])),Yxe=N({Identification:j$,POIChallenge:FQ.optional(),TMChallenge:FQ.optional(),SessionKey:D2.optional(),DelegationProof:ZQ.optional(),ProtectedDelegationProof:g2.optional()}),Xxe=A,Zxe=P(FU).transform(U(LU.optionsByNormKey)),Qxe=N({WarmResetFlag:p$.optional(),ForceEntryMode:F(H,M(Zxe)).optional().register(Xxe,{id:`DeviceInitialisationCardReaderRequest5.ForceEntryMode`,innerSchema:`CardDataReading8Code`}),LeaveCardFlag:p$.optional(),MaximumWaitingTime:h$.optional(),DisplayOutput:S2.optional()}),$xe=N({ExchangeIdentification:G,OutputContent:S2}),eSe=N({PowerOffMaximumWaitingTime:h$.optional(),DisplayOutput:S2.optional()}),L2=A,R2=`optionsNorm`,z2=`optionsByNormKey`,tSe=P(WW[R2]).transform(U(JW[z2])),nSe=P(WY[R2]).transform(U(JY[z2])),rSe=N({DocumentQualifier:tSe.register(L2,{id:`DevicePrintRequest5.DocumentQualifier`,innerSchema:`DocumentType7Code`}),ResponseMode:nSe.register(L2,{id:`DevicePrintRequest5.ResponseMode`,innerSchema:`ResponseMode2Code`}),IntegratedPrintFlag:p$.optional(),RequiredSignatureFlag:p$.optional(),OutputContent:S2}),iSe=A,aSe=N({PINRequestType:P(bJ).transform(U(SJ.optionsByNormKey)).register(iSe,{id:`DeviceSecureInputRequest5.PINRequestType`,innerSchema:`PINRequestType1Code`}),PINVerificationMethod:G.optional(),MaximumWaitingTime:h$.optional(),BeepKeyFlag:p$.optional(),CardholderPIN:k2.optional()}),oSe=N({CardholderPIN:k2.optional()}),B2=A,V2=`optionsNorm`,H2=`optionsByNormKey`,sSe=P(TX[V2]).transform(U(kX[H2])),cSe=P(AG[V2]).transform(U(PG[H2])),lSe=P(FG[V2]).transform(U(zG[H2])),uSe=N({DeviceType:sSe.register(B2,{id:`InputData5.DeviceType`,innerSchema:`SaleCapabilities2Code`}),InformationQualifier:cSe.register(B2,{id:`InputData5.InformationQualifier`,innerSchema:`InformationQualify1Code`}),InputCommand:lSe.register(B2,{id:`InputData5.InputCommand`,innerSchema:`InputCommand1Code`}),NotifyCardInputFlag:p$,MaximumInputTime:h$.optional(),InputText:S2.optional(),ImmediateResponseFlag:p$.optional(),WaitUserValidationFlag:p$.optional(),BeepKeyFlag:p$.optional(),GlobalCorrectionFlag:p$.optional(),DisableCancelFlag:p$.optional(),DisableCorrectFlag:p$.optional(),DisableValidFlag:p$.optional(),MenuBackFlag:p$.optional()}),U2=A,W2=`optionsNorm`,G2=`optionsByNormKey`,dSe=P(TX[W2]).transform(U(kX[G2])),fSe=P(AG[W2]).transform(U(PG[G2])),pSe=N({DeviceType:dSe.register(U2,{id:`InputResult5.DeviceType`,innerSchema:`SaleCapabilities2Code`}),InformationQualifier:fSe.register(U2,{id:`InputResult5.InformationQualifier`,innerSchema:`InformationQualify1Code`}),InputResultData:Rxe}),mSe=A,K2=N({PackageIdentification:H$.optional(),PackageLength:f$.optional(),OffsetStart:f$.optional(),OffsetEnd:f$.optional(),PackageBlock:F(H,M(O2)).optional().register(mSe,{id:`PackageType4.PackageBlock`,innerSchema:`ExternallyDefinedData4`})}).refine(V.check,V.params),q2=A,hSe=N({Memory:F(H,M(eve)).optional().register(q2,{id:`PointOfInteractionComponentCharacteristics9.Memory`,innerSchema:`MemoryCharacteristics1`}),Communication:F(H,M(Fbe)).optional().register(q2,{id:`PointOfInteractionComponentCharacteristics9.Communication`,innerSchema:`CommunicationCharacteristics5`}),SecurityAccessModules:h$.optional(),SubscriberIdentityModules:h$.optional(),SecurityElement:F(H,M(D2)).optional().register(q2,{id:`PointOfInteractionComponentCharacteristics9.SecurityElement`,innerSchema:`CryptographicKey17`})}).refine(V.check,V.params),J2=A,Y2=`optionsNorm`,X2=`optionsByNormKey`,gSe=P(XG[Y2]).transform(U(eK[X2])),_Se=P(CJ[Y2]).transform(U(DJ[X2])),vSe=P(bG[Y2]).transform(U(wG[X2])),ySe=N({InstalmentPlan:F(H,M(gSe)).optional().register(J2,{id:`RecurringTransaction5.InstalmentPlan`,innerSchema:`InstalmentPlan1Code`}),PlanIdentification:G.optional(),PlanOwner:_Se.optional().register(J2,{id:`RecurringTransaction5.PlanOwner`,innerSchema:`PlanOwner1Code`}),SequenceNumber:h$.optional(),PeriodUnit:vSe.optional().register(J2,{id:`RecurringTransaction5.PeriodUnit`,innerSchema:`Frequency3Code`}),InstalmentPeriod:h$.optional(),TotalNumberOfPayments:h$.optional(),FirstPaymentDate:EQ.optional(),TotalAmount:mge.optional(),FirstAmount:_Q.optional(),SubsequentAmount:_Q.optional(),LastAmount:_Q.optional(),Charges:_Q.optional(),DetailedCharges:F(H,M(H_e)).optional().register(J2,{id:`RecurringTransaction5.DetailedCharges`,innerSchema:`InstalmentAmountDetails1`}),InterestRate:F(H,M(G_e)).optional().register(J2,{id:`RecurringTransaction5.InterestRate`,innerSchema:`InterestRateDetails1`}),GracePeriod:F(H,M(B_e)).optional().register(J2,{id:`RecurringTransaction5.GracePeriod`,innerSchema:`GracePeriod1`}),PlanNotice:F(H,M(S2)).optional().register(J2,{id:`RecurringTransaction5.PlanNotice`,innerSchema:`ActionMessage10`})}).refine(V.check,V.params),Z2=A,bSe=N({ActionType:P(QX).transform(U(eZ.optionsByNormKey)).register(Z2,{id:`SecurityParameters15.ActionType`,innerSchema:`TerminalManagementAction3Code`}),Version:BQ,POIChallenge:FQ.optional(),TMChallenge:FQ.optional(),SecurityElement:F(H,M(D2)).optional().register(Z2,{id:`SecurityParameters15.SecurityElement`,innerSchema:`CryptographicKey17`})}),Q2=A,xSe=N({Identification:y1.optional(),Name:XQ.optional(),Language:OQ.optional(),BillingAddress:T1.optional(),ShippingAddress:T1.optional(),TripNumber:G.optional(),Vehicle:Sbe.optional(),Authentication:F(H,M(Jxe)).optional().register(Q2,{id:`Cardholder20.Authentication`,innerSchema:`CardholderAuthentication16`}),TransactionVerificationResult:F(H,M(n0)).optional().register(Q2,{id:`Cardholder20.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),PersonalData:n$.optional(),MobileData:F(H,M(zxe)).optional().register(Q2,{id:`Cardholder20.MobileData`,innerSchema:`MobileData5`})}).refine(V.check,V.params),$2=A,SSe=N({AuthorisationResult:Uye.register($2,{id:`CardPaymentTransaction128.AuthorisationResult`,innerSchema:`AuthorisationResult17`}),TransactionVerificationResult:F(H,M(n0)).optional().register($2,{id:`CardPaymentTransaction128.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),AllowedProductCode:F(H,M(S$)).optional().register($2,{id:`CardPaymentTransaction128.AllowedProductCode`,innerSchema:`Product4`}),NotAllowedProductCode:F(H,M(S$)).optional().register($2,{id:`CardPaymentTransaction128.NotAllowedProductCode`,innerSchema:`Product4`}),AdditionalAvailableProduct:F(H,M(qve)).optional().register($2,{id:`CardPaymentTransaction128.AdditionalAvailableProduct`,innerSchema:`Product5`}),Balance:Mge.optional(),ProtectedBalance:_2.optional(),Action:F(H,M(Wxe)).optional().register($2,{id:`CardPaymentTransaction128.Action`,innerSchema:`Action14`}),CurrencyConversionEligibility:I2.optional()}),CSe=N({AcceptedByCardholder:p$.optional(),Conversion:I2.optional()}).refine(V.check,V.params),wSe=N({DisplayOutput:S2.optional(),InputData:uSe}),TSe=N({OutputResult:g0.optional(),InputResult:pSe}),e4=A,t4=N({Type:P(GJ).transform(U(qJ.optionsByNormKey)).register(e4,{id:`PointOfInteractionComponent14.Type`,innerSchema:`POIComponentType6Code`}),SubTypeInformation:n$.optional(),Identification:x$,Status:F(cV,Ive.optional()).optional().register(e4,{id:`PointOfInteractionComponent14.Status`,innerSchema:`PointOfInteractionComponentStatus3`}),StandardCompliance:F(H,M(Yge).optional()).register(e4,{id:`PointOfInteractionComponent14.StandardCompliance`,innerSchema:`GenericIdentification48`}),Characteristics:hSe.optional(),Assessment:F(H,M(Nve)).optional().register(e4,{id:`PointOfInteractionComponent14.Assessment`,innerSchema:`PointOfInteractionComponentAssessment1`}),Package:F(H,M(K2)).optional().register(e4,{id:`PointOfInteractionComponent14.Package`,innerSchema:`PackageType4`})}),n4=A,ESe=N({POIComponentIdentification:F(H,M(x$)).optional().register(n4,{id:`TerminalPackageType4.POIComponentIdentification`,innerSchema:`PointOfInteractionComponentIdentification2`}),Package:F(H,M(K2).min(1)).register(n4,{id:`TerminalPackageType4.Package`,innerSchema:`PackageType4`})}),r4=A,DSe=N({ReplaceConfiguration:p$.optional(),TMSProtocolParameters:F(H,M(ybe)).optional().register(r4,{id:`AcceptorConfigurationContent12.TMSProtocolParameters`,innerSchema:`TMSProtocolParameters7`}),AcquirerProtocolParameters:F(H,M(oxe)).optional().register(r4,{id:`AcceptorConfigurationContent12.AcquirerProtocolParameters`,innerSchema:`AcquirerProtocolParameters16`}),ServiceProviderParameters:F(H,M(mbe)).optional().register(r4,{id:`AcceptorConfigurationContent12.ServiceProviderParameters`,innerSchema:`ServiceProviderParameters3`}),MerchantParameters:F(H,M(hxe)).optional().register(r4,{id:`AcceptorConfigurationContent12.MerchantParameters`,innerSchema:`MerchantConfigurationParameters6`}),TerminalParameters:F(H,M(gxe)).optional().register(r4,{id:`AcceptorConfigurationContent12.TerminalParameters`,innerSchema:`PaymentTerminalParameters8`}),ApplicationParameters:F(H,M(Pxe)).optional().register(r4,{id:`AcceptorConfigurationContent12.ApplicationParameters`,innerSchema:`ApplicationParameters12`}),HostCommunicationParameters:F(H,M(Ube)).optional().register(r4,{id:`AcceptorConfigurationContent12.HostCommunicationParameters`,innerSchema:`HostCommunicationParameter6`}),SecurityParameters:F(H,M(bSe)).optional().register(r4,{id:`AcceptorConfigurationContent12.SecurityParameters`,innerSchema:`SecurityParameters15`}),SaleToPOIParameters:F(H,M(hye)).optional().register(r4,{id:`AcceptorConfigurationContent12.SaleToPOIParameters`,innerSchema:`SaleToPOIProtocolParameter3`}),TerminalPackage:F(H,M(ESe)).optional().register(r4,{id:`AcceptorConfigurationContent12.TerminalPackage`,innerSchema:`TerminalPackageType4`})}),i4=A,a4=`optionsNorm`,o4=`optionsByNormKey`,OSe=P(ZZ[a4]).transform(U(tQ[o4])),kSe=P(_q[a4]).transform(U(xq[o4])),ASe=P(CU[a4]).transform(U(DU[o4])),jSe=lV,s4=N({Currency:yQ.optional(),TotalAmount:_Q.register(i4,{id:`CardPaymentTransactionDetails52.TotalAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),CumulativeAmount:_Q.optional().register(i4,{id:`CardPaymentTransactionDetails52.CumulativeAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),AmountQualifier:OSe.optional().register(i4,{id:`CardPaymentTransactionDetails52.AmountQualifier`,innerSchema:`TypeOfAmount8Code`}),DetailedAmount:y_e.optional().register(i4,{id:`CardPaymentTransactionDetails52.DetailedAmount`,innerSchema:`DetailedAmount15`}),RequestedAmount:_Q.optional().register(i4,{id:`CardPaymentTransactionDetails52.RequestedAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),AuthorisedAmount:_Q.optional().register(i4,{id:`CardPaymentTransactionDetails52.AuthorisedAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),InvoiceAmount:_Q.optional().register(i4,{id:`CardPaymentTransactionDetails52.InvoiceAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),ValidityDate:EQ.optional(),OnLineReason:F(H,M(kSe)).optional().register(i4,{id:`CardPaymentTransactionDetails52.OnLineReason`,innerSchema:`OnLineReason2Code`}),UnattendedLevelCategory:KQ.optional(),AccountType:ASe.optional().register(i4,{id:`CardPaymentTransactionDetails52.AccountType`,innerSchema:`CardAccountType3Code`}),CurrencyConversionResult:CSe.optional(),Instalment:F(H,M(ySe)).optional().register(i4,{id:`CardPaymentTransactionDetails52.Instalment`,innerSchema:`RecurringTransaction5`}),AggregationTransaction:Fye.optional(),ProductCodeSetIdentification:PQ.optional(),SaleItem:F(H,M(Xve)).optional().register(i4,{id:`CardPaymentTransactionDetails52.SaleItem`,innerSchema:`Product6`}),DeliveryLocation:G.optional(),ReSubmissionCounter:f$.optional(),AdditionalInformation:F(H,M(O2)).optional().register(i4,{id:`CardPaymentTransactionDetails52.AdditionalInformation`,innerSchema:`ExternallyDefinedData4`}),ICCRelatedData:kQ.optional()}).transform(jSe(`Currency`,[`TotalAmount`,`CumulativeAmount`,`RequestedAmount`,`AuthorisedAmount`,`InvoiceAmount`,`DetailedAmount.AmountGoodsAndServices`,`DetailedAmount.CashBack`,`DetailedAmount.Gratuity`,`DetailedAmount.Fees[].Amount`,`DetailedAmount.Rebate[].Amount`,`DetailedAmount.ValueAddedTax[].Amount`,`DetailedAmount.Surcharge[].Amount`,`Instalment[].FirstAmount`,`Instalment[].SubsequentAmount`,`Instalment[].LastAmount`,`Instalment[].Charges`,`Instalment[].DetailedCharges[].Amount.Amount`])),c4=A,MSe=P(pK).transform(U(hK.optionsByNormKey)),NSe=N({Identification:G0,SystemName:n$.optional(),GroupIdentification:G.optional(),Capabilities:x0.optional(),TimeZone:n$.optional(),TerminalIntegration:MSe.optional().register(c4,{id:`PointOfInteraction13.TerminalIntegration`,innerSchema:`LocationCategory3Code`}),Component:F(H,M(t4)).optional().register(c4,{id:`PointOfInteraction13.Component`,innerSchema:`PointOfInteractionComponent14`})}).refine(V.check,V.params),l4=A,PSe=P(zq).transform(U(Vq.optionsByNormKey)),FSe=N({Identification:j$,SequenceCounter:a$.optional(),LastSequence:p$.optional(),POIIdentification:F(H,M(H$)).optional().register(l4,{id:`AcceptorConfigurationDataSet4.POIIdentification`,innerSchema:`GenericIdentification176`}),ConfigurationScope:PSe.optional().register(l4,{id:`AcceptorConfigurationDataSet4.ConfigurationScope`,innerSchema:`PartyType15Code`}),Content:DSe}),u4=A,d4=N({Acquirer:X0.optional(),ServiceProvider:X0.optional(),Merchant:Xbe.optional(),POI:NSe.optional(),Card:Hxe.optional(),Check:Xye.optional(),StoredValueAccount:F(H,M(bye).min(0)).optional().register(u4,{id:`CardPaymentEnvironment79.StoredValueAccount`,innerSchema:`StoredValueAccount2`}),LoyaltyAccount:F(H,M(Q_e).min(0)).optional().register(u4,{id:`CardPaymentEnvironment79.LoyaltyAccount`,innerSchema:`LoyaltyAccount3`}),CustomerDevice:g$.optional(),Wallet:g$.optional(),PaymentToken:u_e.optional(),MerchantToken:nve.optional(),Cardholder:xSe.optional(),ProtectedCardholderData:_2.optional(),SaleEnvironment:cye.optional()}),f4=A,p4=`optionsNorm`,m4=`optionsByNormKey`,ISe=P($U[p4]).transform(U(rW[m4])),LSe=P(lW[p4]).transform(U(pW[m4])),RSe=P(iW[p4]).transform(U(cW[m4])),zSe=N({TransactionCapture:p$,TransactionType:ISe.optional().register(f4,{id:`CardPaymentTransaction124.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(LSe)).optional().register(f4,{id:`CardPaymentTransaction124.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:RSe.optional().register(f4,{id:`CardPaymentTransaction124.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),LastTransactionFlag:p$.optional(),MerchantCategoryCode:c$.optional(),CustomerConsent:p$.optional(),CardProgrammeProposed:F(H,M(G)).optional().register(f4,{id:`CardPaymentTransaction124.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:G.optional(),SaleReferenceIdentification:G.optional(),TransactionIdentification:w$,OriginalTransaction:z0.optional(),InitiatorTransactionIdentification:G.optional(),ReconciliationIdentification:G.optional(),IssuerCITIdentification:IQ.optional(),MerchantCITIdentification:IQ.optional(),TransactionDetails:s4,MerchantReferenceData:n$.optional(),AccountFrom:F0.optional(),AccountTo:F0.optional(),AdditionalTransactionData:F(H,M(n$)).optional().register(f4,{id:`CardPaymentTransaction124.AdditionalTransactionData`,innerSchema:`Max70Text`})}),h4=A,g4=`optionsNorm`,_4=`optionsByNormKey`,BSe=P($U[g4]).transform(U(rW[_4])),VSe=P(lW[g4]).transform(U(pW[_4])),HSe=P(iW[g4]).transform(U(cW[_4])),USe=P(uG[g4]).transform(U(mG[_4])),WSe=N({TransactionCapture:p$.optional(),TransactionType:BSe.optional().register(h4,{id:`CardPaymentTransaction125.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(VSe)).optional().register(h4,{id:`CardPaymentTransaction125.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:HSe.optional().register(h4,{id:`CardPaymentTransaction125.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),LastTransactionFlag:p$.optional(),MerchantCategoryCode:c$.optional(),CustomerConsent:p$.optional(),CardProgrammeProposed:F(H,M(G)).optional().register(h4,{id:`CardPaymentTransaction125.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:G.optional(),SaleReferenceIdentification:G.optional(),TransactionIdentification:w$,OriginalTransaction:z0.optional(),TransactionSuccess:p$,Reversal:p$.optional(),MerchantOverride:p$.optional(),FailureReason:F(H,M(USe)).optional().register(h4,{id:`CardPaymentTransaction125.FailureReason`,innerSchema:`FailureReason3Code`}),InitiatorTransactionIdentification:G.optional(),RecipientTransactionIdentification:IQ.optional(),ReconciliationIdentification:G.optional(),InterchangeData:IQ.optional(),IssuerCITIdentification:IQ.optional(),MerchantCITIdentification:IQ.optional(),TransactionDetails:s4,AuthorisationResult:Wye.optional(),TransactionVerificationResult:F(H,M(n0)).optional().register(h4,{id:`CardPaymentTransaction125.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),MerchantReferenceData:n$.optional(),AccountFrom:F0.optional(),AccountTo:F0.optional(),AdditionalTransactionData:F(H,M(n$)).optional().register(h4,{id:`CardPaymentTransaction125.AdditionalTransactionData`,innerSchema:`Max70Text`})}),GSe=N({SaleReferenceIdentification:G.optional(),TransactionIdentification:w$,InitiatorTransactionIdentification:G.optional(),RecipientTransactionIdentification:IQ.optional(),ReconciliationIdentification:G.optional(),InterchangeData:IQ.optional(),TransactionDetails:s4,MerchantReferenceData:n$.optional()}),KSe=A,v4=N({Environment:d4,Context:i2,Transaction:zSe,SupplementaryData:F(H,M(C$)).optional().register(KSe,{id:`AcceptorAuthorisationRequest12.SupplementaryData`,innerSchema:`SupplementaryData1`})}),y4=N({Environment:d4,Transaction:GSe,TransactionResponse:SSe,SupplementaryData:C$.optional()}),b4=N({Environment:d4,Context:i2.optional(),Transaction:pxe}),x4=N({Environment:d4,Transaction:A$,TMSTrigger:Q1.optional()}),qSe=A,S4=N({Environment:d4,Context:i2.optional(),Transaction:WSe,SupplementaryData:F(H,M(C$)).optional().register(qSe,{id:`AcceptorCompletionAdvice12.SupplementaryData`,innerSchema:`SupplementaryData1`})}),JSe=A,C4=N({Environment:d4,Transaction:A$,TMSTrigger:Q1.optional(),SupplementaryData:F(H,M(C$)).optional().register(JSe,{id:`AcceptorCompletionAdviceResponse11.SupplementaryData`,innerSchema:`SupplementaryData1`})}),w4=A,T4=N({TerminalManagerIdentification:H$,POIGroupIdentification:F(H,M(G)).optional().register(w4,{id:`AcceptorConfiguration12.POIGroupIdentification`,innerSchema:`Max35Text`}),DataSet:F(H,M(FSe).min(1)).register(w4,{id:`AcceptorConfiguration12.DataSet`,innerSchema:`AcceptorConfigurationDataSet4`})}),E4=N({Environment:d4,AcquirerAvailabilityRequested:p$.optional()}),YSe=N({Environment:d4,TMSTrigger:Q1.optional(),AcquirerAvailable:p$.optional()}),D4=A,XSe=P(fX).transform(U(mX.optionsByNormKey)),ZSe=N({Environment:d4.optional(),Context:i2.optional(),ServiceContent:XSe.register(D4,{id:`DeviceRequest6.ServiceContent`,innerSchema:`RetailerService8Code`}),DisplayRequest:C_e.optional(),InputRequest:wSe.optional(),PrintRequest:rSe.optional(),PlayResourceRequest:tbe.optional(),SecureInputRequest:aSe.optional(),InitialisationCardReaderRequest:Qxe.optional(),CardReaderAPDURequest:Uge.optional(),PowerOffCardReaderRequest:eSe.optional(),TransmissionRequest:Bbe.optional(),InputNotification:$xe.optional(),SupplementaryData:F(H,M(C$)).optional().register(D4,{id:`DeviceRequest6.SupplementaryData`,innerSchema:`SupplementaryData1`})}),O4=A,QSe=P(_X).transform(U(yX.optionsByNormKey)),$Se=N({Environment:d4.optional(),Context:i2.optional(),ServiceContent:QSe.register(O4,{id:`DeviceResponse6.ServiceContent`,innerSchema:`RetailerService9Code`}),DisplayResponse:zbe.optional(),InputResponse:TSe.optional(),PrintResponse:D_e.optional(),SecureInputResponse:oSe.optional(),InitialisationCardReaderResponse:T_e.optional(),CardReaderApplicationProtocolDataUnitResponse:Wge.optional(),TransmissionResponse:Gge.optional(),Response:R1,SupplementaryData:F(H,M(C$)).optional().register(O4,{id:`DeviceResponse6.SupplementaryData`,innerSchema:`SupplementaryData1`})}),eCe=N({Header:c2,AuthorisationRequest:v4,SecurityTrailer:v2.optional()}).superRefine((e,t)=>{let n=e.Header.MessageFunction,r=e.AuthorisationRequest.Transaction?.TransactionCapture;n===`AUTQ`&&r===!0&&t.addIssue({code:lA.custom,path:[`AuthorisationRequest`,`Transaction`,`TransactionCapture`],message:`Invalid MessageFunction and TransactionCapture combination: Authorisation request (AUTQ) requires Transaction Capture to be false`}),n===`FAUQ`&&r!==!0&&t.addIssue({code:lA.custom,path:[`AuthorisationRequest`,`Transaction`,`TransactionCapture`],message:`Invalid MessageFunction and TransactionCapture combination: Financial authorisation request (FAUQ) requires Transaction Capture to be true`})}),tCe=N({Header:c2,AuthorisationResponse:y4,SecurityTrailer:v2.optional()}),nCe=N({Header:c2,CancellationAdviceResponse:x4,SecurityTrailer:v2.optional()}),rCe=N({Header:c2,CancellationAdvice:b4,SecurityTrailer:v2.optional()}),iCe=N({Header:c2,CompletionAdviceResponse:C4,SecurityTrailer:v2.optional()}),aCe=N({Header:c2,CompletionAdvice:S4,SecurityTrailer:v2.optional()}),oCe=N({Header:l2,AcceptorConfiguration:T4,SecurityTrailer:h2.optional()}),sCe=N({Header:c2,DiagnosticRequest:E4,SecurityTrailer:v2.optional()}),cCe=N({Header:c2,DiagnosticResponse:YSe,SecurityTrailer:v2.optional()}),k4=A,A4=`optionsNorm`,j4=`optionsByNormKey`,lCe=P(tZ[A4]).transform(U(aZ[j4])),uCe=P(zW[A4]).transform(U(UW[j4])),dCe=P(dZ[A4]).transform(U(hZ[j4])),fCe=P(gZ[A4]).transform(U(bZ[j4])),pCe=N({Type:lCe.register(k4,{id:`TMSAction11.Type`,innerSchema:`TerminalManagementAction5Code`}),RemoteAccess:f0.optional(),Key:F(H,M(i1)).optional().register(k4,{id:`TMSAction11.Key`,innerSchema:`KEKIdentifier5`}),TerminalManagerIdentification:H$.optional(),TMSProtocol:G.optional(),TMSProtocolVersion:G.optional(),DataSetIdentification:j$.optional(),ComponentType:F(H,M(uCe)).optional().register(k4,{id:`TMSAction11.ComponentType`,innerSchema:`DataSetCategory18Code`}),DelegationScopeIdentification:G.optional(),DelegationScopeDefinition:UQ.optional(),DelegationProof:ZQ.optional(),ProtectedDelegationProof:g2.optional(),Trigger:dCe.optional().register(k4,{id:`TMSAction11.Trigger`,innerSchema:`TerminalManagementActionTrigger1Code`}),AdditionalProcess:F(H,M(fCe)).optional().register(k4,{id:`TMSAction11.AdditionalProcess`,innerSchema:`TerminalManagementAdditionalProcess1Code`}),ReTry:E1.optional(),TimeCondition:Hve.optional(),TMChallenge:FQ.optional(),KeyEnciphermentCertificate:F(H,M(NQ)).optional().register(k4,{id:`TMSAction11.KeyEnciphermentCertificate`,innerSchema:`Max10KBinary`}),ErrorAction:F(H,M(P_e)).optional().register(k4,{id:`TMSAction11.ErrorAction`,innerSchema:`ErrorAction5`}),AdditionalInformation:F(H,M(UQ)).optional().register(k4,{id:`TMSAction11.AdditionalInformation`,innerSchema:`Max3000Binary`}),MessageItem:F(H,M(l1)).optional().register(k4,{id:`TMSAction11.MessageItem`,innerSchema:`MessageItemCondition2`}),DeviceRequest:ZSe.optional()}),mCe=A,hCe=N({Timestamp:DQ,Result:P(cZ).transform(U(uZ.optionsByNormKey)).register(mCe,{id:`TMSEvent10.Result`,innerSchema:`TerminalManagementActionResult5Code`}),ActionIdentification:gbe,AdditionalErrorInformation:n$.optional(),TerminalManagerIdentification:G.optional(),DeviceResponse:$Se.optional()}),gCe=N({AcceptorAuthorisationRequest:eCe}),_Ce=N({AcceptorAuthorisationResponse:tCe}),vCe=N({AcceptorCompletionAdvice:aCe}),yCe=N({AcceptorCompletionAdviceResponse:iCe}),bCe=N({AcceptorCancellationAdvice:rCe}),xCe=N({AcceptorCancellationAdviceResponse:nCe}),SCe=N({AcceptorDiagnosticRequest:sCe}),CCe=N({AcceptorDiagnosticResponse:cCe}),wCe=N({AcceptorConfigurationUpdate:oCe}),M4=A,TCe=N({TMChallenge:FQ.optional(),KeyEnciphermentCertificate:F(H,M(NQ)).optional().register(M4,{id:`ManagementPlanContent11.KeyEnciphermentCertificate`,innerSchema:`Max10KBinary`}),Action:F(H,M(pCe)).optional().register(M4,{id:`ManagementPlanContent11.Action`,innerSchema:`TMSAction11`})}),N4=A,ECe=P(yH).transform(U(xH.optionsByNormKey)),DCe=N({POICapabilities:x0.optional(),POIComponent:F(H,M(t4)).optional().register(N4,{id:`StatusReportContent12.POIComponent`,innerSchema:`PointOfInteractionComponent14`}),POIGroupIdentification:F(H,M(G)).optional().register(N4,{id:`StatusReportContent12.POIGroupIdentification`,innerSchema:`Max35Text`}),AttendanceContext:ECe.optional().register(N4,{id:`StatusReportContent12.AttendanceContext`,innerSchema:`AttendanceContext1Code`}),POIDateTime:DQ,DataSetRequired:F(H,M(Yxe)).optional().register(N4,{id:`StatusReportContent12.DataSetRequired`,innerSchema:`DataSetRequest4`}),Event:F(H,M(hCe)).optional().register(N4,{id:`StatusReportContent12.Event`,innerSchema:`TMSEvent10`}),Errors:F(H,M(IQ)).optional().register(N4,{id:`StatusReportContent12.Errors`,innerSchema:`Max140Text`})}),OCe=N({Identification:j$,SequenceCounter:a$.optional(),LastSequence:p$.optional(),Content:DCe}),P4=N({POIIdentification:H$,TerminalManagerIdentification:H$,DataSet:N({Identification:j$,SequenceCounter:a$.optional(),LastSequence:p$.optional(),Content:TCe.optional()})}),F4=N({POIIdentification:H$,InitiatingTrigger:Aye.optional(),TerminalManagerIdentification:H$,DataSet:OCe}),kCe=N({Header:l2,ManagementPlan:P4,SecurityTrailer:h2.optional()}),ACe=N({Header:l2,StatusReport:F4,SecurityTrailer:h2.optional()});YO([v4,y4,S4,C4,b4,x4,E4,F4,T$,E$,P4,T4]),YO([gCe,_Ce,vCe,yCe,bCe,xCe,SCe,CCe,wxe,N({StatusReport:ACe}),N({ManagementPlanReplacement:kCe}),wCe,Txe]);var K=`optionsNexo`,q=`optionsByNexoKey`,I4=cge,J=fw(),jCe=P(gV[K]).register(J,{id:`AccountChoiceMethod1Code`}).transform(U(bV[q])),MCe=P(xV[K]).register(J,{id:`ActionType13Code`}).transform(U(TV[q])),L4=P(EV[K]).register(J,{id:`AddressType2Code`}).transform(U(AV[q])),NCe=P(jV[K]).register(J,{id:`Algorithm11Code`}).transform(U(FV[q])),R4=P(IV[K]).register(J,{id:`Algorithm16Code`}).transform(U(BV[q])),PCe=P(VV[K]).register(J,{id:`Algorithm17Code`}).transform(U(GV[q])),FCe=P(KV[K]).register(J,{id:`Algorithm24Code`}).transform(U(XV[q])),ICe=P(ZV[K]).register(J,{id:`Algorithm25Code`}).transform(U(tH[q])),LCe=P(nH[K]).register(J,{id:`Algorithm7Code`}).transform(U(oH[q])),z4=P(sH[K]).register(J,{id:`Algorithm8Code`}).transform(U(dH[q])),RCe=P(fH[K]).register(J,{id:`AmountUnit1Code`}).transform(U(gH[q])),B4=P(_H[K]).register(J,{id:`AttendanceContext1Code`}).transform(U(xH[q])),zCe=P(SH[K]).register(J,{id:`AttendanceContext2Code`}).transform(U(EH[q])),BCe=P(DH[K]).register(J,{id:`AttributeType1Code`}).transform(U(jH[q])),VCe=P(MH[K]).register(J,{id:`AuthenticationEntity2Code`}).transform(U(IH[q])),HCe=P(LH[K]).register(J,{id:`AuthenticationMethod6Code`}).transform(U(VH[q])),UCe=P(HH[K]).register(J,{id:`AuthenticationMethod8Code`}).transform(U(KH[q])),WCe=P(qH[K]).register(J,{id:`AuthenticationResult1Code`}).transform(U(ZH[q])),GCe=P(QH[K]).register(J,{id:`BarcodeType1Code`}).transform(U(nU[q])),KCe=P(rU[K]).register(J,{id:`BatchTransactionType1Code`}).transform(U(sU[q])),qCe=P(cU[K]).register(J,{id:`BusinessArea2Code`}).transform(U(fU[q])),V4=P(pU[K]).register(J,{id:`BytePadding1Code`}).transform(U(_U[q])),JCe=P(vU[K]).register(J,{id:`CancellationProcess2Code`}).transform(U(SU[q])),H4=P(CU[K]).register(J,{id:`CardAccountType3Code`}).transform(U(DU[q])),U4=P(OU[K]).register(J,{id:`CardDataReading5Code`}).transform(U(MU[q])),W4=P(NU[K]).register(J,{id:`CardDataReading8Code`}).transform(U(LU[q])),YCe=P(RU[K]).register(J,{id:`CardFallback1Code`}).transform(U(HU[q])),G4=P(JU[K]).register(J,{id:`CardIdentificationType1Code`}).transform(U(QU[q])),K4=P($U[K]).register(J,{id:`CardPaymentServiceType12Code`}).transform(U(rW[q])),q4=P(iW[K]).register(J,{id:`CardPaymentServiceType14Code`}).transform(U(cW[q])),J4=P(lW[K]).register(J,{id:`CardPaymentServiceType9Code`}).transform(U(pW[q])),XCe=P(mW[K]).register(J,{id:`CardProductType1Code`}).transform(U(vW[q])),ZCe=P(UU[K]).register(J,{id:`CardholderVerificationCapability4Code`}).transform(U(qU[q])),QCe=P(yW[K]).register(J,{id:`CheckType1Code`}).transform(U(CW[q])),Y4=P(wW[K]).register(J,{id:`ContentType2Code`}).transform(U(OW[q])),X4=P(kW[K]).register(J,{id:`CryptographicKeyType3Code`}).transform(U(NW[q])),$Ce=P(PW[K]).register(J,{id:`DataSetCategory10Code`}).transform(U(RW[q])),Z4=P(zW[K]).register(J,{id:`DataSetCategory18Code`}).transform(U(UW[q])),Q4=P(WW[K]).register(J,{id:`DocumentType7Code`}).transform(U(JW[q])),$4=P(YW[K]).register(J,{id:`EncryptionFormat2Code`}).transform(U($W[q])),e3=P(eG[K]).register(J,{id:`ExchangePolicy2Code`}).transform(U(iG[q])),ewe=P(aG[K]).register(J,{id:`Exemption1Code`}).transform(U(lG[q])),t3=P(uG[K]).register(J,{id:`FailureReason3Code`}).transform(U(mG[q])),twe=P(hG[K]).register(J,{id:`FinancialCapture1Code`}).transform(U(yG[q])),nwe=P(bG[K]).register(J,{id:`Frequency3Code`}).transform(U(wG[q])),rwe=P(TG[K]).register(J,{id:`GracePeriodUnitType1Code`}).transform(U(kG[q])),n3=P(AG[K]).register(J,{id:`InformationQualify1Code`}).transform(U(PG[q])),r3=P(FG[K]).register(J,{id:`InputCommand1Code`}).transform(U(zG[q])),iwe=P(BG[K]).register(J,{id:`InstalmentAmountDetailsType1Code`}).transform(U(WG[q])),awe=P(GG[K]).register(J,{id:`InstalmentPeriod1Code`}).transform(U(YG[q])),owe=P(XG[K]).register(J,{id:`InstalmentPlan1Code`}).transform(U(eK[q])),swe=P(tK[K]).register(J,{id:`InterestRate1Code`}).transform(U(aK[q])),i3=P(oK[K]).register(J,{id:`KeyUsage1Code`}).transform(U(uK[q])),cwe=P(dK[K]).register(J,{id:`LocationCategory3Code`}).transform(U(hK[q])),lwe=P(gK[K]).register(J,{id:`LocationCategory4Code`}).transform(U(bK[q])),uwe=P(xK[K]).register(J,{id:`LoyaltyHandling1Code`}).transform(U(TK[q])),dwe=P(EK[K]).register(J,{id:`MemoryUnit1Code`}).transform(U(AK[q])),fwe=P(jK[K]).register(J,{id:`MessageFunction43Code`}).transform(U(FK[q])),pwe=P(IK[K]).register(J,{id:`MessageFunction46Code`}).transform(U(BK[q])),mwe=P(VK[K]).register(J,{id:`MessageFunction9Code`}).transform(U(GK[q])),hwe=P(KK[K]).register(J,{id:`MessageItemCondition2Code`}).transform(U(XK[q])),gwe=P(ZK[K]).register(J,{id:`NetworkType1Code`}).transform(U(tq[q])),_we=P(nq[K]).register(J,{id:`NetworkType2Code`}).transform(U(oq[q])),vwe=P(sq[K]).register(J,{id:`NonFinancialRequestType2Code`}).transform(U(dq[q])),ywe=P(fq[K]).register(J,{id:`OnLineCapability1Code`}).transform(U(gq[q])),bwe=P(_q[K]).register(J,{id:`OnLineReason2Code`}).transform(U(xq[q])),a3=P(Sq[K]).register(J,{id:`OutputFormat1Code`}).transform(U(Eq[q])),xwe=P(Dq[K]).register(J,{id:`OutputFormat3Code`}).transform(U(jq[q])),Swe=P(pJ[K]).register(J,{id:`PINFormat3Code`}).transform(U(_J[q])),Cwe=P(vJ[K]).register(J,{id:`PINRequestType1Code`}).transform(U(SJ[q])),o3=P(OJ[K]).register(J,{id:`POICommunicationType2Code`}).transform(U(MJ[q])),wwe=P(NJ[K]).register(J,{id:`POIComponentAssessment1Code`}).transform(U(LJ[q])),Twe=P(RJ[K]).register(J,{id:`POIComponentStatus1Code`}).transform(U(HJ[q])),Ewe=P(UJ[K]).register(J,{id:`POIComponentType6Code`}).transform(U(qJ[q])),Dwe=P(Mq[K]).register(J,{id:`PartyType14Code`}).transform(U(Iq[q])),Owe=P(Lq[K]).register(J,{id:`PartyType15Code`}).transform(U(Vq[q])),s3=P(Hq[K]).register(J,{id:`PartyType33Code`}).transform(U(Kq[q])),kwe=P(qq[K]).register(J,{id:`PartyType3Code`}).transform(U(Zq[q])),c3=P(Qq[K]).register(J,{id:`PartyType4Code`}).transform(U(nJ[q])),Awe=P(rJ[K]).register(J,{id:`PartyType5Code`}).transform(U(sJ[q])),jwe=P(cJ[K]).register(J,{id:`PartyType7Code`}).transform(U(fJ[q])),Mwe=P(CJ[K]).register(J,{id:`PlanOwner1Code`}).transform(U(DJ[q])),Nwe=P(JJ[K]).register(J,{id:`ProcessingPosition2Code`}).transform(U(QJ[q])),Pwe=P($J[K]).register(J,{id:`QRCodeEncodingMode1Code`}).transform(U(rY[q])),Fwe=P(iY[K]).register(J,{id:`QRCodeErrorCorrection1Code`}).transform(U(cY[q])),Iwe=P(lY[K]).register(J,{id:`ReconciliationCriteria1Code`}).transform(U(pY[q])),Lwe=P(mY[K]).register(J,{id:`RejectReason1Code`}).transform(U(vY[q])),Rwe=P(yY[K]).register(J,{id:`RejectReason2Code`}).transform(U(CY[q])),zwe=P(wY[K]).register(J,{id:`ResourceAction1Code`}).transform(U(OY[q])),Bwe=P(kY[K]).register(J,{id:`ResourceType1Code`}).transform(U(NY[q])),Vwe=P(PY[K]).register(J,{id:`Response11Code`}).transform(U(RY[q])),l3=P(zY[K]).register(J,{id:`Response9Code`}).transform(U(UY[q])),u3=P(WY[K]).register(J,{id:`ResponseMode2Code`}).transform(U(JY[q])),d3=P(YY[K]).register(J,{id:`RetailerMessage1Code`}).transform(U($Y[q])),Hwe=P(eX[K]).register(J,{id:`RetailerResultDetail1Code`}).transform(U(iX[q])),Uwe=P(aX[K]).register(J,{id:`RetailerService2Code`}).transform(U(lX[q])),f3=P(uX[K]).register(J,{id:`RetailerService8Code`}).transform(U(mX[q])),Wwe=P(hX[K]).register(J,{id:`RetailerService9Code`}).transform(U(yX[q])),Gwe=P(bX[K]).register(J,{id:`SaleCapabilities1Code`}).transform(U(wX[q])),p3=P(TX[K]).register(J,{id:`SaleCapabilities2Code`}).transform(U(kX[q])),Kwe=P(AX[K]).register(J,{id:`SaleTokenScope1Code`}).transform(U(PX[q])),qwe=P(FX[K]).register(J,{id:`SoundFormat1Code`}).transform(U(zX[q])),Jwe=P(BX[K]).register(J,{id:`StoredValueAccountType1Code`}).transform(U(WX[q])),Ywe=P(GX[K]).register(J,{id:`SupportedPaymentOption2Code`}).transform(U(YX[q])),Xwe=P(jZ[K]).register(J,{id:`TMSContactLevel1Code`}).transform(U(FZ[q])),m3=P(XX[K]).register(J,{id:`TerminalManagementAction3Code`}).transform(U(eZ[q])),h3=P(tZ[K]).register(J,{id:`TerminalManagementAction5Code`}).transform(U(aZ[q])),g3=P(oZ[K]).register(J,{id:`TerminalManagementActionResult5Code`}).transform(U(uZ[q])),Zwe=P(dZ[K]).register(J,{id:`TerminalManagementActionTrigger1Code`}).transform(U(hZ[q])),Qwe=P(gZ[K]).register(J,{id:`TerminalManagementAdditionalProcess1Code`}).transform(U(bZ[q])),$we=P(xZ[K]).register(J,{id:`TerminalManagementErrorAction2Code`}).transform(U(TZ[q])),_3=P(EZ[K]).register(J,{id:`TimeUnit1Code`}).transform(U(AZ[q])),eTe=P(IZ[K]).register(J,{id:`TrackFormat1Code`}).transform(U(BZ[q])),tTe=P(VZ[K]).register(J,{id:`TransactionChannel5Code`}).transform(U(GZ[q])),nTe=P(KZ[K]).register(J,{id:`TransactionEnvironment1Code`}).transform(U(XZ[q])),v3=P(ZZ[K]).register(J,{id:`TypeOfAmount8Code`}).transform(U(tQ[q])),y3=P(nQ[K]).register(J,{id:`UnitOfMeasure6Code`}).transform(U(oQ[q])),b3=P(sQ[K]).register(J,{id:`UserInterface4Code`}).transform(U(dQ[q])),rTe=P(fQ[K]).register(J,{id:`Verification1Code`}).transform(U(gQ[q])),x3=P(`AED.AFN.ALL.AMD.ANG.AOA.ARS.AUD.AWG.AZN.BAM.BBD.BDT.BGN.BHD.BIF.BMD.BND.BOB.BRL.BSD.BTN.BWP.BYN.BZD.CAD.CDF.CHF.CKD.CLP.CNY.COP.CRC.CUC.CUP.CVE.CZK.DJF.DKK.DOP.DZD.EGP.EHP.ERN.ETB.EUR.FJD.FKP.FOK.GBP.GEL.GGP.GHS.GIP.GMD.GNF.GTQ.GYD.HKD.HNL.HRK.HTG.HUF.IDR.ILS.IMP.INR.IQD.IRR.ISK.JEP.JMD.JOD.JPY.KES.KGS.KHR.KID.KMF.KPW.KRW.KWD.KYD.KZT.LAK.LBP.LKR.LRD.LSL.LYD.MAD.MDL.MGA.MKD.MMK.MNT.MOP.MRU.MUR.MVR.MWK.MXN.MYR.MZN.NAD.NGN.NIO.NOK.NPR.NZD.OMR.PAB.PEN.PGK.PHP.PKR.PLN.PND.PRB.PYG.QAR.RON.RSD.RUB.RWF.SAR.SBD.SCR.SDG.SEK.SGD.SHP.SLL.SLS.SOS.SRD.SSP.STN.SVC.SYP.SZL.THB.TJS.TMT.TND.TOP.TRY.TTD.TVD.TWD.TZS.UAH.UGX.USD.UYU.UZS.VED.VES.VND.VUV.WST.XAF.XCD.XOF.XPF.YER.ZAR.ZMW.ZWB.ZWL`.split(`.`)).register(J,{id:`ActiveCurrencyCode`}),iTe=N({Value:mA().lte(0xde0b6b3a7640000).nonnegative().refine(oV(18,5).check,oV(18,5).params),Currency:x3}).transform(I4(`Currency`,[`Value`])).register(J,{id:`CurrencyAndAmount`}),S3=mA().lte(0xde0b6b3a7640000).nonnegative().refine(oV(18,5).check,oV(18,5).params).register(J,{id:`ImpliedCurrencyAndAmount`}),C3=xO().transform(e=>e?`plus`:`minus`).register(J,{id:`PlusOrMinusIndicator`}),Y=j().min(1).max(35).register(J,{id:`Max35Text`}),w3=j().regex(hV).min(2).max(3).register(J,{id:`Min2Max3AlphaText`}),T3=j().min(1).max(500).register(J,{id:`Max500Text`}),aTe=N({NetworkType:gwe.register(J,{id:`NetworkParameters9.NetworkType`,innerSchema:`NetworkType1Code`}),AddressValue:T3}).register(J,{id:`NetworkParameters9`}),E3=F(sV,j().base64().max(fV(35))).register(J,{id:`Max35Binary`}),D3=F(sV,j().base64().max(fV(102400))).register(J,{id:`Max10KBinary`}),O3=F(sV,j().base64().max(fV(140))).register(J,{id:`Max140Binary`}),k3=N({Address:F(H,M(aTe).nonempty()).register(J,{id:`NetworkParameters7.Address`,innerSchema:`NetworkParameters9`}),UserName:Y.optional(),AccessCode:E3.optional(),ServerCertificate:F(H,M(D3).min(0).optional()).register(J,{id:`NetworkParameters7.ServerCertificate`,innerSchema:`Max10KBinary`}),ServerCertificateIdentifier:F(H,M(O3).min(0).optional()).register(J,{id:`NetworkParameters7.ServerCertificateIdentifier`,innerSchema:`Max140Binary`}),ClientCertificate:F(H,M(D3).min(0).optional()).register(J,{id:`NetworkParameters7.ClientCertificate`,innerSchema:`Max10KBinary`}),SecurityProfile:Y.optional()}).register(J,{id:`NetworkParameters7`}),oTe=N({Latitude:Y,Longitude:Y}).register(J,{id:`GeolocationGeographicCoordinates1`}),sTe=N({UTMZone:Y,UTMEastward:Y,UTMNorthward:Y}).register(J,{id:`GeolocationUTMCoordinates1`}),A3=N({GeographicCoordinates:oTe.optional(),UTMCoordinates:sTe.optional()}).register(J,{id:`Geolocation1`}),j3=N({Identification:Y,Type:s3.optional().register(J,{id:`GenericIdentification177.Type`,innerSchema:`PartyType33Code`}),Issuer:s3.optional().register(J,{id:`GenericIdentification177.Issuer`,innerSchema:`PartyType33Code`}),Country:w3.optional(),ShortName:Y.optional(),RemoteAccess:k3.optional(),Geolocation:A3.optional()}).register(J,{id:`GenericIdentification177`}),M3=j().min(1).max(256).register(J,{id:`Max256Text`}),N3=N({Identification:j3.optional(),ParametersVersion:M3.optional()}).register(J,{id:`Acquirer10`}),P3=N({Identification:Y,Type:kwe.optional().register(J,{id:`GenericIdentification32.Type`,innerSchema:`PartyType3Code`}),Issuer:c3.optional().register(J,{id:`GenericIdentification32.Issuer`,innerSchema:`PartyType4Code`}),ShortName:Y.optional()}).register(J,{id:`GenericIdentification32`}),F3=j().min(1).max(70).register(J,{id:`Max70Text`}),I3=j().min(1).max(16).register(J,{id:`Max16Text`}),L3=N({AddressType:L4.optional().register(J,{id:`PostalAddress22.AddressType`,innerSchema:`AddressType2Code`}),Department:F3.optional(),SubDepartment:F3.optional(),AddressLine:F(H,M(F3).max(2)).optional().register(J,{id:`PostalAddress22.AddressLine`,innerSchema:`Max70Text`}),StreetName:F3.optional(),BuildingNumber:I3.optional(),PostCode:I3.optional(),TownName:F3.optional(),CountrySubDivision:F(H,M(Y).max(2)).optional().register(J,{id:`PostalAddress22.CountrySubDivision`,innerSchema:`Max35Text`}),CountryCode:w3.optional()}).refine(V.check,V.params).register(J,{id:`PostalAddress22`}),R3=j().min(4).max(35).regex(/^\+[0-9]{1,3}-[0-9()+\-]{1,30}$/,`Phone number must start with '+' followed by 1-3 digits for country code, a hyphen, then 1-30 characters of numbers/parentheses/plus/hyphens`).register(J,{id:`PhoneNumber`}),cTe=N({PostalAddress:L3.optional(),Email:M3.optional(),URLAddress:M3.optional(),Phone:R3.optional(),CustomerService:R3.optional(),AdditionalContactInformation:M3.optional()}).refine(V.check,V.params).register(J,{id:`CommunicationAddress9`}),z3=j().min(1).max(140).register(J,{id:`Max140Text`}),lTe=N({Identification:P3.optional(),CommonName:F3.optional(),LocationCategory:lwe.optional().register(J,{id:`Organisation41.LocationCategory`,innerSchema:`LocationCategory4Code`}),LocationAndContact:cTe.optional(),SchemeData:z3.optional()}).refine(V.check,V.params).register(J,{id:`Organisation41`}),B3=mA().int().positive().lte(0xde0b6b3a7640000).register(J,{id:`PositiveNumber`}),V3=xO().register(J,{id:`TrueFalseIndicator`}),H3=mA().int().gte(-0xde0b6b3a7640000).lte(0xde0b6b3a7640000).register(J,{id:`WholeNumber`}),U3=P(`aa.ab.ae.af.ak.am.an.ar.as.av.ay.az.ba.be.bg.bh.bi.bm.bn.bo.br.bs.ca.ce.ch.co.cr.cs.cu.cv.cy.da.de.dv.dz.ee.el.en.eo.es.et.eu.fa.ff.fi.fj.fo.fr.fy.ga.gd.gl.gn.gu.gv.ha.he.hi.ho.hr.ht.hu.hy.hz.ia.id.ie.ig.ii.ik.io.is.it.iu.ja.jv.ka.kg.ki.kj.kk.kl.km.kn.ko.kr.ks.ku.kv.kw.ky.la.lb.lg.li.ln.lo.lt.lu.lv.mg.mh.mi.mk.ml.mn.mr.ms.mt.my.na.nb.nd.ne.ng.nl.nn.no.nr.nv.ny.oc.oj.om.or.os.pa.pi.pl.ps.pt.qu.rm.rn.ro.ru.rw.sa.sc.sd.se.sg.si.sk.sl.sm.sn.so.sq.sr.ss.st.su.sv.sw.ta.te.tg.th.ti.tk.tl.tn.to.tr.ts.tt.tw.ty.ug.uk.ur.uz.ve.vi.vo.wa.wo.xh.yi.yo.za.zh.zu`.split(`.`)).register(J,{id:`LanguageCode`}),uTe=N({Destination:F(H,M(b3).nonempty()).register(J,{id:`DisplayCapabilities4.Destination`,innerSchema:`UserInterface4Code`}),AvailableFormat:F(H,M(a3)).optional().register(J,{id:`DisplayCapabilities4.AvailableFormat`,innerSchema:`OutputFormat1Code`}),NumberOfLines:H3.optional(),LineWidth:H3.optional(),AvailableLanguage:F(H,M(U3)).optional().register(J,{id:`DisplayCapabilities4.AvailableLanguage`,innerSchema:`LanguageCode`})}).refine(V.check,V.params).register(J,{id:`DisplayCapabilities4`}),W3=N({CardReadingCapabilities:F(H,M(W4)).optional().register(J,{id:`PointOfInteractionCapabilities9.CardReadingCapabilities`,innerSchema:`CardDataReading8Code`}),CardholderVerificationCapabilities:F(H,M(ZCe)).optional().register(J,{id:`PointOfInteractionCapabilities9.CardholderVerificationCapabilities`,innerSchema:`CardholderVerificationCapability4Code`}),PINLengthCapabilities:B3.optional().register(J,{id:`PointOfInteractionCapabilities9.PINLengthCapabilities`,innerSchema:`PositiveNumber`}),ApprovalCodeLength:B3.optional(),MaxScriptLength:B3.optional(),CardCaptureCapable:V3.optional(),OnLineCapabilities:ywe.optional().register(J,{id:`PointOfInteractionCapabilities9.OnLineCapabilities`,innerSchema:`OnLineCapability1Code`}),MessageCapabilities:F(H,M(uTe)).optional().register(J,{id:`PointOfInteractionCapabilities9.MessageCapabilities`,innerSchema:`DisplayCapabilities4`})}).refine(V.check,V.params).register(J,{id:`PointOfInteractionCapabilities9`}),G3=N({ItemNumber:Y.optional(),ProviderIdentification:Y.optional(),Identification:M3.optional(),SerialNumber:M3.optional()}).refine(V.check,V.params).register(J,{id:`PointOfInteractionComponentIdentification2`}),K3=j().date().register(J,{id:`ISODate`}),dTe=N({VersionNumber:M3.optional(),Status:Twe.optional().register(J,{id:`PointOfInteractionComponentStatus3.Status`,innerSchema:`POIComponentStatus1Code`}),ExpiryDate:K3.optional()}).refine(V.check,V.params).register(J,{id:`PointOfInteractionComponentStatus3`}),fTe=N({Identification:Y,Version:Y,Issuer:Y}).register(J,{id:`GenericIdentification48`}),q3=pO().gte(-0xde0b6b3a7640000).lte(0xde0b6b3a7640000).register(J,{id:`DecimalNumber`}),pTe=N({Identification:Y,TotalSize:q3,FreeSize:q3,Unit:dwe.register(J,{id:`MemoryCharacteristics1.Unit`,innerSchema:`MemoryUnit1Code`})}).register(J,{id:`MemoryCharacteristics1`}),mTe=F(sV,j().base64().max(fV(2048))).register(J,{id:`Max2KBinary`}),J3=N({InterfaceName:Y,InterfaceType:o3.optional().register(J,{id:`PhysicalInterfaceParameter1.InterfaceType`,innerSchema:`POICommunicationType2Code`}),UserName:Y.optional(),AccessCode:E3.optional(),SecurityProfile:Y.optional(),AdditionalParameters:mTe.optional()}).register(J,{id:`PhysicalInterfaceParameter1`}),hTe=N({CommunicationType:o3.register(J,{id:`CommunicationCharacteristics5.CommunicationType`,innerSchema:`POICommunicationType2Code`}),RemoteParty:F(H,M(jwe).nonempty()).register(J,{id:`CommunicationCharacteristics5.RemoteParty`,innerSchema:`PartyType7Code`}),Active:V3,Parameters:k3.optional(),PhysicalInterface:J3.optional()}).register(J,{id:`CommunicationCharacteristics5`}),Y3=j().min(1).max(350).register(J,{id:`Max350Text`}),X3=j().datetime({offset:!0,local:!0}).register(J,{id:`ISODateTime`}),Z3=F(sV,j().base64().max(fV(5e3))).register(J,{id:`Max5000Binary`}),gTe=N({Certificate:F(H,M(Z3)).optional().register(J,{id:`OriginatorInformation1.Certificate`,innerSchema:`Max5000Binary`})}).refine(V.check,V.params).register(J,{id:`OriginatorInformation1`}),_Te=N({RelativeDistinguishedName:F(H,M(N({AttributeType:BCe.register(J,{id:`RelativeDistinguishedName1.AttributeType`,innerSchema:`AttributeType1Code`}),AttributeValue:z3}).register(J,{id:`RelativeDistinguishedName1`})).nonempty()).register(J,{id:`CertificateIssuer1.RelativeDistinguishedName`,innerSchema:`RelativeDistinguishedName1`})}).register(J,{id:`CertificateIssuer1`}),Q3=F(sV,j().base64().max(fV(500))).register(J,{id:`Max500Binary`}),$3=N({IssuerAndSerialNumber:N({Issuer:_Te,SerialNumber:Q3}).register(J,{id:`IssuerAndSerialNumber2`}).optional(),SubjectKeyIdentifier:O3.optional()}).refine(aV.check,aV.params).register(J,{id:`Recipient13Choice`}),vTe=N({DigestAlgorithm:R4.optional().register(J,{id:`Parameter9.DigestAlgorithm`,innerSchema:`Algorithm16Code`})}).register(J,{id:`Parameter9`}),yTe=N({Algorithm:z4.register(J,{id:`AlgorithmIdentification18.Algorithm`,innerSchema:`Algorithm8Code`}),Parameter:vTe.optional()}).register(J,{id:`AlgorithmIdentification18`}),bTe=N({EncryptionFormat:$4.optional().register(J,{id:`Parameter10.EncryptionFormat`,innerSchema:`EncryptionFormat2Code`}),DigestAlgorithm:R4.optional().register(J,{id:`Parameter10.DigestAlgorithm`,innerSchema:`Algorithm16Code`}),MaskGeneratorAlgorithm:yTe.optional()}).register(J,{id:`Parameter10`}),xTe=N({Algorithm:LCe.register(J,{id:`AlgorithmIdentification19.Algorithm`,innerSchema:`Algorithm7Code`}),Parameter:bTe.optional()}).register(J,{id:`AlgorithmIdentification19`}),STe=N({Version:H3.optional(),RecipientIdentification:$3,KeyEncryptionAlgorithm:xTe,EncryptedKey:Z3}).register(J,{id:`KeyTransport9`}),e6=N({KeyIdentification:z3,KeyVersion:z3,SequenceNumber:H3.optional(),DerivationIdentification:Q3.optional()}).register(J,{id:`KEKIdentifier7`}),CTe=N({EncryptionFormat:$4.optional().register(J,{id:`Parameter12.EncryptionFormat`,innerSchema:`EncryptionFormat2Code`}),InitialisationVector:Q3.optional(),BytePadding:V4.optional().register(J,{id:`Parameter12.BytePadding`,innerSchema:`BytePadding1Code`})}).register(J,{id:`Parameter12`}),t6=N({Algorithm:FCe.register(J,{id:`AlgorithmIdentification29.Algorithm`,innerSchema:`Algorithm24Code`}),Parameter:CTe.optional()}).register(J,{id:`AlgorithmIdentification29`}),wTe=N({Version:H3.optional(),KEKIdentification:e6,KeyEncryptionAlgorithm:t6,EncryptedKey:Q3.optional()}).register(J,{id:`KEK8`}),n6=N({KeyTransport:STe.optional(),KEK:wTe.optional(),KeyIdentifier:e6.optional()}).refine(aV.check,aV.params).register(J,{id:`Recipient14Choice`}),r6=F(sV,j().base64().max(fV(102400))).register(J,{id:`Max100KBinary`}),TTe=N({ContentType:Y4.register(J,{id:`EncryptedContent6.ContentType`,innerSchema:`ContentType2Code`}),ContentEncryptionAlgorithm:t6.optional(),EncryptedData:r6}).register(J,{id:`EncryptedContent6`}),i6=N({Version:H3.optional(),OriginatorInformation:gTe.optional(),Recipient:F(H,M(n6).nonempty()).register(J,{id:`EnvelopedData10.Recipient`,innerSchema:`Recipient14Choice`}),EncryptedContent:TTe.optional()}).register(J,{id:`EnvelopedData10`}),ETe=N({InitialisationVector:Q3.optional(),BytePadding:V4.optional().register(J,{id:`Parameter7.BytePadding`,innerSchema:`BytePadding1Code`})}).refine(V.check,V.params).register(J,{id:`Parameter7`}),DTe=N({Algorithm:PCe.register(J,{id:`AlgorithmIdentification22.Algorithm`,innerSchema:`Algorithm17Code`}),Parameter:ETe.optional()}).register(J,{id:`AlgorithmIdentification22`}),a6=N({ContentType:Y4.register(J,{id:`EncapsulatedContent3.ContentType`,innerSchema:`ContentType2Code`}),Content:r6.optional()}).register(J,{id:`EncapsulatedContent3`}),o6=N({Version:H3.optional(),Recipient:F(H,M(n6).nonempty()).register(J,{id:`AuthenticatedData9.Recipient`,innerSchema:`Recipient14Choice`}),MACAlgorithm:DTe,EncapsulatedContent:a6,MAC:O3}).register(J,{id:`AuthenticatedData9`}),s6=N({Algorithm:R4.register(J,{id:`AlgorithmIdentification21.Algorithm`,innerSchema:`Algorithm16Code`})}).register(J,{id:`AlgorithmIdentification21`}),c6=N({Name:F3,Value:z3.optional()}).register(J,{id:`GenericInformation1`}),OTe=N({DigestAlgorithm:NCe.optional().register(J,{id:`Parameter5.DigestAlgorithm`,innerSchema:`Algorithm11Code`})}).refine(V.check,V.params).register(J,{id:`Parameter5`}),kTe=N({Algorithm:z4.register(J,{id:`AlgorithmIdentification12.Algorithm`,innerSchema:`Algorithm8Code`}),Parameter:OTe.optional()}).register(J,{id:`AlgorithmIdentification12`}),ATe=N({DigestAlgorithm:R4.optional().register(J,{id:`Parameter15.DigestAlgorithm`,innerSchema:`Algorithm16Code`}),MaskGeneratorAlgorithm:kTe.optional(),SaltLength:H3.optional(),TrailerField:H3.optional(),OIDCurveName:z3.optional()}).refine(V.check,V.params).register(J,{id:`Parameter15`}),jTe=N({Algorithm:ICe.register(J,{id:`AlgorithmIdentification30.Algorithm`,innerSchema:`Algorithm25Code`}),Parameter:ATe.optional()}).register(J,{id:`AlgorithmIdentification30`}),l6=F(sV,j().base64().max(fV(3e3))).register(J,{id:`Max3000Binary`}),MTe=N({Version:H3.optional(),SignerIdentification:$3.optional(),DigestAlgorithm:s6,SignedAttributes:F(H,M(c6)).optional().register(J,{id:`Signer7.SignedAttributes`,innerSchema:`GenericInformation1`}),SignatureAlgorithm:jTe,Signature:l6}).register(J,{id:`Signer7`}),u6=N({Version:H3.optional(),DigestAlgorithm:F(H,M(s6)).optional().register(J,{id:`SignedData8.DigestAlgorithm`,innerSchema:`AlgorithmIdentification21`}),EncapsulatedContent:a6.optional(),Certificate:F(H,M(Z3)).optional().register(J,{id:`SignedData8.Certificate`,innerSchema:`Max5000Binary`}),Signer:F(H,M(MTe)).optional().register(J,{id:`SignedData8.Signer`,innerSchema:`Signer7`})}).refine(V.check,V.params).register(J,{id:`SignedData8`}),NTe=N({Version:H3.optional(),DigestAlgorithm:s6,EncapsulatedContent:a6,Digest:O3}).register(J,{id:`DigestedData5`}),d6=N({ContentType:Y4.register(J,{id:`ContentInformationType34.ContentType`,innerSchema:`ContentType2Code`}),EnvelopedData:i6.optional(),AuthenticatedData:o6.optional(),SignedData:u6.optional(),DigestedData:NTe.optional()}).register(J,{id:`ContentInformationType34`}),f6=N({Identification:Y3,AdditionalIdentification:E3.optional(),Name:M3.optional(),SecurityProfile:Y.optional(),ItemNumber:Y.optional(),Version:M3,Type:X4.optional().register(J,{id:`CryptographicKey17.Type`,innerSchema:`CryptographicKeyType3Code`}),Function:F(H,M(i3)).optional().register(J,{id:`CryptographicKey17.Function`,innerSchema:`KeyUsage1Code`}),ActivationDate:X3.optional(),DeactivationDate:X3.optional(),KeyValue:d6.optional(),KeyCheckValue:E3.optional(),AdditionalManagementInformation:F(H,M(c6)).optional().register(J,{id:`CryptographicKey17.AdditionalManagementInformation`,innerSchema:`GenericInformation1`})}).register(J,{id:`CryptographicKey17`}),PTe=N({Memory:F(H,M(pTe)).optional().register(J,{id:`PointOfInteractionComponentCharacteristics9.Memory`,innerSchema:`MemoryCharacteristics1`}),Communication:F(H,M(hTe)).optional().register(J,{id:`PointOfInteractionComponentCharacteristics9.Communication`,innerSchema:`CommunicationCharacteristics5`}),SecurityAccessModules:H3.optional(),SubscriberIdentityModules:H3.optional(),SecurityElement:F(H,M(f6)).optional().register(J,{id:`PointOfInteractionComponentCharacteristics9.SecurityElement`,innerSchema:`CryptographicKey17`})}).refine(V.check,V.params).register(J,{id:`PointOfInteractionComponentCharacteristics9`}),FTe=N({Type:wwe.register(J,{id:`PointOfInteractionComponentAssessment1.Type`,innerSchema:`POIComponentAssessment1Code`}),Assigner:F(H,M(Y).nonempty()).register(J,{id:`PointOfInteractionComponentAssessment1.Assigner`,innerSchema:`Max35Text`}),DeliveryDate:X3.optional(),ExpirationDate:X3.optional(),Number:Y}).register(J,{id:`PointOfInteractionComponentAssessment1`}),p6=N({Identification:Y,Type:s3.optional().register(J,{id:`GenericIdentification176.Type`,innerSchema:`PartyType33Code`}),Issuer:s3.optional().register(J,{id:`GenericIdentification176.Issuer`,innerSchema:`PartyType33Code`}),Country:w3.optional(),ShortName:Y.optional()}).register(J,{id:`GenericIdentification176`}),m6=j().min(1).max(1025).register(J,{id:`Max1025Text`}),h6=N({Identification:m6,Value:r6.optional(),ProtectedValue:d6.optional(),Type:m6.optional()}).register(J,{id:`ExternallyDefinedData4`}),g6=N({PackageIdentification:p6.optional(),PackageLength:B3.optional(),OffsetStart:B3.optional(),OffsetEnd:B3.optional(),PackageBlock:F(H,M(h6)).optional().register(J,{id:`PackageType4.PackageBlock`,innerSchema:`ExternallyDefinedData4`})}).refine(V.check,V.params).register(J,{id:`PackageType4`}),_6=N({Type:Ewe.register(J,{id:`PointOfInteractionComponent14.Type`,innerSchema:`POIComponentType6Code`}),SubTypeInformation:F3.optional(),Identification:G3,Status:F(cV,dTe.optional()).optional().register(J,{id:`PointOfInteractionComponent14.Status`,innerSchema:`PointOfInteractionComponentStatus3`}),StandardCompliance:F(H,M(fTe).optional()).register(J,{id:`PointOfInteractionComponent14.StandardCompliance`,innerSchema:`GenericIdentification48`}),Characteristics:PTe.optional(),Assessment:F(H,M(FTe)).optional().register(J,{id:`PointOfInteractionComponent14.Assessment`,innerSchema:`PointOfInteractionComponentAssessment1`}),Package:F(H,M(g6)).optional().register(J,{id:`PointOfInteractionComponent14.Package`,innerSchema:`PackageType4`})}).register(J,{id:`PointOfInteractionComponent14`}),ITe=N({Identification:j3,SystemName:F3.optional(),GroupIdentification:Y.optional(),Capabilities:W3.optional(),TimeZone:F3.optional(),TerminalIntegration:cwe.optional().register(J,{id:`PointOfInteraction13.TerminalIntegration`,innerSchema:`LocationCategory3Code`}),Component:F(H,M(_6)).optional().register(J,{id:`PointOfInteraction13.Component`,innerSchema:`PointOfInteractionComponent14`})}).refine(V.check,V.params).register(J,{id:`PointOfInteraction13`}),v6=N({ContentType:Y4.register(J,{id:`ContentInformationType35.ContentType`,innerSchema:`ContentType2Code`}),EnvelopedData:i6}).register(J,{id:`ContentInformationType35`}),y6=j().regex(pV).min(8).max(28).register(J,{id:`Min8Max28NumericText`}),LTe=j().regex(pV).min(2).max(3).register(J,{id:`Min2Max3NumericText`}),b6=j().min(1).max(10).register(J,{id:`Max10Text`}),x6=j().regex(pV).length(3).register(J,{id:`Exact3NumericText`}),S6=j().min(1).max(76).register(J,{id:`Max76Text`}),C6=j().min(1).max(37).register(J,{id:`Max37Text`}),w6=j().min(1).max(104).register(J,{id:`Max104Text`}),T6=j().min(1).max(45).register(J,{id:`Max45Text`}),RTe=N({PAN:y6,CardSequenceNumber:LTe.optional(),EffectiveDate:b6.optional(),ExpiryDate:b6,ServiceCode:x6.optional(),Track1:S6.optional(),Track2:C6.optional(),Track3:w6.optional(),CardholderName:T6.optional()}).register(J,{id:`PlainCardData15`}),zTe=j().min(1).max(30).register(J,{id:`Max30Text`}),E6=j().regex(pV).min(1).max(15).register(J,{id:`Max15NumericText`}),D6=j().min(1).max(3).register(J,{id:`Max3Text`}),BTe=j().regex(mV).length(3).register(J,{id:`Exact3AlphaNumericText`}),VTe=N({ProtectedCardData:v6.optional(),PrivateCardData:r6.optional(),PlainCardData:RTe.optional(),PaymentAccountReference:F3.optional(),MaskedPAN:zTe.optional(),IssuerBIN:E6.optional(),CardCountryCode:D6.optional(),CardCurrencyCode:BTe.optional(),CardProductProfile:Y.optional(),CardBrand:Y.optional(),CardProductType:XCe.optional().register(J,{id:`PaymentCard33.CardProductType`,innerSchema:`CardProductType1Code`}),CardProductSubType:Y.optional(),InternationalCard:V3.optional(),AllowedProduct:F(H,M(F3)).optional().register(J,{id:`PaymentCard33.AllowedProduct`,innerSchema:`Max70Text`}),ServiceOption:Y.optional(),AdditionalCardData:F3.optional()}).refine(V.check,V.params).register(J,{id:`PaymentCard33`}),HTe=N({TrackNumber:H3.optional(),TrackFormat:eTe.optional().register(J,{id:`TrackData2.TrackFormat`,innerSchema:`TrackFormat1Code`}),TrackValue:z3}).register(J,{id:`TrackData2`}),UTe=N({BankIdentification:Y.optional(),AccountNumber:Y.optional(),CheckNumber:Y.optional(),CheckCardNumber:Y.optional(),CheckTrackData2:HTe.optional(),CheckType:QCe.optional(),Country:D6.optional()}).refine(V.check,V.params).register(J,{id:`Check1`}),WTe=N({AccountType:Jwe.optional().register(J,{id:`StoredValueAccount2.AccountType`,innerSchema:`StoredValueAccountType1Code`}),IdentificationType:G4.optional(),Identification:Y.optional(),Brand:Y.optional(),Provider:Y.optional(),OwnerName:T6.optional(),ExpiryDate:b6.optional(),EntryMode:W4.optional().register(J,{id:`StoredValueAccount2.EntryMode`,innerSchema:`CardDataReading8Code`}),Currency:x3.optional(),Balance:S3.optional()}).refine(V.check,V.params).transform(I4(`Currency`,[`Balance`])).register(J,{id:`StoredValueAccount2`}),GTe=N({LoyaltyIdentification:Y,EntryMode:W4.optional().register(J,{id:`LoyaltyAccount3.EntryMode`,innerSchema:`CardDataReading8Code`}),IdentificationType:G4.optional().register(J,{id:`LoyaltyAccount3.IdentificationType`,innerSchema:`CardIdentificationType1Code`}),Brand:Y.optional(),Provider:Y.optional(),OwnerName:T6.optional(),Unit:RCe.optional().register(J,{id:`LoyaltyAccount3.Unit`,innerSchema:`AmountUnit1Code`}),Currency:x3.optional(),Balance:S3.optional().register(J,{id:`LoyaltyAccount3.Balance`,innerSchema:`ImpliedCurrencyAndAmount`})}).transform(I4(`Currency`,[`Balance`])).register(J,{id:`LoyaltyAccount3`}),O6=N({Identification:Y.optional(),Type:F3.optional(),Provider:Y.optional()}).refine(V.check,V.params).register(J,{id:`CustomerDevice3`}),KTe=j().regex(pV).min(1).max(19).register(J,{id:`Max19NumericText`}),qTe=j().regex(pV).length(4).register(J,{id:`Exact4NumericText`}),JTe=j().regex(pV).min(1).max(11).register(J,{id:`Max11NumericText`}),k6=j().regex(pV).min(1).max(2).register(J,{id:`Max2NumericText`}),YTe=N({PaymentToken:KTe.optional(),TokenExpiryDate:qTe.optional(),TokenRequestorIdentification:JTe.optional(),TokenAssuranceData:z3.optional(),TokenAssuranceMethod:k6.optional(),TokenInitiatedIndicator:V3.optional()}).refine(V.check,V.params).register(J,{id:`Token1`}),XTe=N({ProviderIdentification:Y,RequestorIdentification:Y}).register(J,{id:`PaymentTokenIdentifiers1`}),ZTe=N({Token:Y.optional(),TokenExpiryDate:b6.optional(),TokenCharacteristic:F(H,M(Y)).optional().register(J,{id:`MerchantToken2.TokenCharacteristic`,innerSchema:`Max35Text`}),TokenRequestor:XTe.optional(),TokenAssuranceLevel:H3.optional(),TokenAssuranceData:Q3.optional(),TokenAssuranceMethod:k6.optional(),TokenInitiatedIndicator:V3.optional()}).refine(V.check,V.params).register(J,{id:`MerchantToken2`}),QTe=N({BirthDate:K3,ProvinceOfBirth:Y.optional(),CityOfBirth:Y,CountryOfBirth:Y}).register(J,{id:`DateAndPlaceOfBirth1`}),$Te=N({IdentificationType:Y,Identification:Y}).register(J,{id:`GenericIdentification4`}),A6=N({DriverLicenseNumber:Y.optional(),DriverLicenseLocation:Y.optional(),DriverLicenseName:Y.optional(),DriverIdentification:Y.optional(),CustomerNumber:Y.optional(),SocialSecurityNumber:Y.optional(),AlienRegistrationNumber:Y.optional(),PassportNumber:Y.optional(),TaxIdentificationNumber:Y.optional(),IdentityCardNumber:Y.optional(),EmployerIdentificationNumber:Y.optional(),EmployeeIdentificationNumber:Y.optional(),JobNumber:Y.optional(),Department:Y.optional(),EmailAddress:M3.optional(),DateAndPlaceOfBirth:QTe.optional(),Other:F(H,M($Te)).optional().register(J,{id:`PersonIdentification15.Other`,innerSchema:`GenericIdentification4`})}).refine(V.check,V.params).register(J,{id:`PersonIdentification15`}),j6=j().regex(pV).min(1).max(35).register(J,{id:`Max35NumericText`}),eEe=N({PAN:y6.optional(),Track1:S6.optional(),Track2:C6.optional(),Track3:w6.optional(),AdditionalCardData:F(H,M(Y)).optional().register(J,{id:`PlainCardData17.AdditionalCardData`,innerSchema:`Max35Text`}),EntryMode:U4.optional().register(J,{id:`PlainCardData17.EntryMode`,innerSchema:`CardDataReading5Code`})}).refine(V.check,V.params).register(J,{id:`PlainCardData17`}),tEe=N({Type:Y.optional(),EntryMode:U4.optional().register(J,{id:`Vehicle2.EntryMode`,innerSchema:`CardDataReading5Code`}),Data:Y}).register(J,{id:`Vehicle2`}),nEe=N({VehicleNumber:j6.optional(),TrailerNumber:j6.optional(),VehicleTag:Y.optional(),VehicleTagEntryMode:U4.optional().register(J,{id:`Vehicle1.VehicleTagEntryMode`,innerSchema:`CardDataReading5Code`}),UnitNumber:j6.optional(),ReplacementCar:V3.optional(),Odometer:q3.optional(),Hubometer:q3.optional(),TrailerHours:Y.optional(),ReferHours:Y.optional(),MaintenanceIdentification:Y.optional(),DriverOrVehicleCard:eEe.optional(),AdditionalVehicleData:F(H,M(tEe)).optional()}).refine(V.check,V.params).register(J,{id:`Vehicle1`}),M6=N({EncryptedPINBlock:v6,PINFormat:Swe.register(J,{id:`OnLinePIN10.PINFormat`,innerSchema:`PINFormat3Code`}),AdditionalInput:Y.optional()}).register(J,{id:`OnLinePIN10`}),N6=j().regex(pV).min(1).max(5).register(J,{id:`Max5NumericText`}),rEe=N({AddressDigits:N6.optional(),PostalCodeDigits:N6.optional()}).refine(V.check,V.params).register(J,{id:`AddressVerification1`}),iEe=N({AuthenticationMethod:UCe.register(J,{id:`CardholderAuthentication16.AuthenticationMethod`,innerSchema:`AuthenticationMethod8Code`}).optional(),AuthenticationExemption:ewe.register(J,{id:`CardholderAuthentication16.AuthenticationExemption`,innerSchema:`Exemption1Code`}).optional(),AuthenticationValue:Z3.optional(),ProtectedAuthenticationValue:v6.optional(),CardholderOnLinePIN:M6.optional(),CardholderIdentification:A6.optional(),AddressVerification:rEe.optional(),AuthenticationType:Y.optional(),AuthenticationLevel:Y.optional(),AuthenticationResult:WCe.register(J,{id:`CardholderAuthentication16.AuthenticationResult`,innerSchema:`AuthenticationResult1Code`}).optional(),AuthenticationAdditionalInformation:h6.optional()}).refine(V.check,V.params).register(J,{id:`CardholderAuthentication16`}),P6=N({Method:HCe.register(J,{id:`TransactionVerificationResult4.Method`,innerSchema:`AuthenticationMethod6Code`}),VerificationEntity:VCe.optional().register(J,{id:`TransactionVerificationResult4.VerificationEntity`,innerSchema:`AuthenticationEntity2Code`}),Result:rTe.optional().register(J,{id:`TransactionVerificationResult4.Result`,innerSchema:`Verification1Code`}),AdditionalResult:T3.optional()}).register(J,{id:`TransactionVerificationResult4`}),aEe=N({MSISDN:j6,IMSI:j6.optional(),IMEI:j6.optional()}).register(J,{id:`SensitiveMobileData1`}),oEe=N({MobileCountryCode:w3.optional(),MobileNetworkCode:w3.optional(),MobileMaskedMSISDN:Y.optional(),Geolocation:A3.optional(),SensitiveMobileData:aEe.optional(),ProtectedMobileData:v6.optional()}).refine(V.check,V.params).register(J,{id:`MobileData5`}),sEe=N({Identification:A6.optional(),Name:T6.optional(),Language:U3.optional(),BillingAddress:L3.optional(),ShippingAddress:L3.optional(),TripNumber:Y.optional(),Vehicle:nEe.optional(),Authentication:F(H,M(iEe)).optional().register(J,{id:`Cardholder20.Authentication`,innerSchema:`CardholderAuthentication16`}),TransactionVerificationResult:F(H,M(P6)).optional().register(J,{id:`Cardholder20.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),PersonalData:F3.optional(),MobileData:F(H,M(oEe)).optional().register(J,{id:`Cardholder20.MobileData`,innerSchema:`MobileData5`})}).refine(V.check,V.params).register(J,{id:`Cardholder20`}),cEe=N({SaleCapabilities:F(H,M(Gwe)).optional().register(J,{id:`RetailerSaleEnvironment2.SaleCapabilities`,innerSchema:`SaleCapabilities1Code`}),Currency:x3.optional(),MinimumAmountToDeliver:S3.optional().register(J,{id:`RetailerSaleEnvironment2.MinimumAmountToDeliver`,innerSchema:`ImpliedCurrencyAndAmount`}),MaximumCashBackAmount:S3.optional().register(J,{id:`RetailerSaleEnvironment2.MaximumCashBackAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),MinimumSplitAmount:S3.optional().register(J,{id:`RetailerSaleEnvironment2.MinimumSplitAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),DebitPreferredFlag:V3.optional(),LoyaltyHandling:uwe.optional().register(J,{id:`RetailerSaleEnvironment2.LoyaltyHandling`,innerSchema:`LoyaltyHandling1Code`})}).refine(V.check,V.params).transform(I4(`Currency`,[`MinimumAmountToDeliver`,`MaximumCashBackAmount`,`MinimumSplitAmount`])).register(J,{id:`RetailerSaleEnvironment2`}),F6=N({Acquirer:N3.optional(),ServiceProvider:N3.optional(),Merchant:lTe.optional(),POI:ITe.optional(),Card:VTe.optional(),Check:UTe.optional(),StoredValueAccount:F(H,M(WTe).min(0)).optional().register(J,{id:`CardPaymentEnvironment79.StoredValueAccount`,innerSchema:`StoredValueAccount2`}),LoyaltyAccount:F(H,M(GTe).min(0)).optional().register(J,{id:`CardPaymentEnvironment79.LoyaltyAccount`,innerSchema:`LoyaltyAccount3`}),CustomerDevice:O6.optional(),Wallet:O6.optional(),PaymentToken:YTe.optional(),MerchantToken:ZTe.optional(),Cardholder:sEe.optional(),ProtectedCardholderData:v6.optional(),SaleEnvironment:cEe.optional()}).register(J,{id:`CardPaymentEnvironment79`}),lEe=N({CardPresent:V3.optional(),CardholderPresent:V3.optional(),OnLineContext:V3.optional(),AttendanceContext:B4.optional().register(J,{id:`PaymentContext29.AttendanceContext`,innerSchema:`AttendanceContext1Code`}),TransactionEnvironment:nTe.optional().register(J,{id:`PaymentContext29.TransactionEnvironment`,innerSchema:`TransactionEnvironment1Code`}),TransactionChannel:tTe.optional().register(J,{id:`PaymentContext29.TransactionChannel`,innerSchema:`TransactionChannel5Code`}),BusinessArea:qCe.optional().register(J,{id:`PaymentContext29.BusinessArea`,innerSchema:`BusinessArea2Code`}),AttendantMessageCapable:V3.optional(),AttendantLanguage:U3.optional(),CardDataEntryMode:W4.optional().register(J,{id:`PaymentContext29.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),FallbackIndicator:YCe.optional().register(J,{id:`PaymentContext29.FallbackIndicator`,innerSchema:`CardFallback1Code`}),SupportedOption:F(H,M(Ywe)).optional().register(J,{id:`PaymentContext29.SupportedOption`,innerSchema:`SupportedPaymentOption2Code`})}).refine(V.check,V.params).register(J,{id:`PaymentContext29`}),uEe=P(`100.104.108.112.116.120.124.132.136.140.144.148.152.156.158.162.166.170.174.175.178.180.184.188.191.192.196.203.204.208.212.214.218.222.226.231.232.233.234.238.239.242.246.248.250.254.258.260.262.266.268.270.275.276.288.292.296.300.304.308.312.316.320.324.328.332.334.336.340.344.348.352.356.360.364.368.372.376.380.384.388.392.398.400.404.408.410.414.417.418.422.426.428.430.434.438.440.442.446.450.454.458.462.466.470.474.478.480.484.492.496.498.499.500.504.508.512.516.520.524.528.531.533.534.535.540.548.554.558.562.566.570.574.578.580.581.583.584.585.586.591.598.600.604.608.612.616.620.624.626.630.634.638.642.643.646.652.654.659.660.662.663.666.670.674.678.682.686.688.690.694.702.703.704.705.706.710.716.724.728.729.732.740.744.748.752.756.760.762.764.768.772.776.780.784.788.792.795.796.798.800.804.807.818.826.831.832.833.834.840.850.854.858.860.862.876.882.887.894.004.008.012.016.020.024.010.028.032.051.036.040.031.044.048.050.052.056.084.060.064.068.070.072.074.076.086.096.090.092`.split(`.`)).register(J,{id:`ISO3NumericCountryCode`}),I6=j().min(3).max(4).register(J,{id:`Min3Max4Text`}),L6=N({CommonName:F3,Address:F(H,M(z3)).optional().register(J,{id:`Organisation26.Address`,innerSchema:`Max140Text`}),CountryCode:uEe,MerchantCategoryCode:I6.optional(),RegisteredIdentifier:Y.optional()}).register(J,{id:`Organisation26`}),dEe=N({SaleIdentification:Y.optional(),SaleReferenceNumber:Y.optional(),SaleReconciliationIdentification:Y.optional(),CashierIdentification:Y.optional(),CashierLanguage:F(H,M(U3)).optional().register(J,{id:`SaleContext4.CashierLanguage`,innerSchema:`LanguageCode`}),ShiftNumber:k6.optional(),CustomerOrderRequestFlag:V3.optional(),PurchaseOrderNumber:Y.optional(),InvoiceNumber:Y.optional(),DeliveryNoteNumber:Y.optional(),SponsoredMerchant:F(H,M(L6)).optional().register(J,{id:`SaleContext4.SponsoredMerchant`,innerSchema:`Organisation26`}),SplitPayment:V3.optional(),RemainingAmount:S3.optional(),ForceOnlineFlag:V3.optional(),ReuseCardDataFlag:V3.optional(),AllowedEntryMode:F(H,M(W4)).optional().register(J,{id:`SaleContext4.AllowedEntryMode`,innerSchema:`CardDataReading8Code`}),SaleTokenScope:Kwe.optional().register(J,{id:`SaleContext4.SaleTokenScope`,innerSchema:`SaleTokenScope1Code`}),AdditionalSaleData:F3.optional()}).refine(V.check,V.params).register(J,{id:`SaleContext4`}),R6=j().regex(/^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$/).register(J,{id:`AnyBICDec2014Identifier`}),fEe=N({Identification:Y,Issuer:Y,SchemeName:Y.optional()}).register(J,{id:`GenericIdentification36`}),z6=P(`AF.AL.DZ.AS.AD.AO.AI.AQ.AG.AR.AM.AW.AU.AT.AZ.BS.BH.BD.BB.BY.BE.BZ.BJ.BM.BT.BO.BQ.BA.BW.BV.BR.IO.BN.BG.BF.BI.CV.KH.CM.CA.KY.CF.TD.CL.CN.CX.CC.CO.KM.CD.CG.CK.CR.HR.CU.CW.CY.CZ.CI.DK.DJ.DM.DO.EC.EG.SV.GQ.ER.EE.SZ.ET.FK.FO.FJ.FI.FR.GF.PF.TF.GA.GM.GE.DE.GH.GI.GR.GL.GD.GP.GU.GT.GG.GN.GW.GY.HT.HM.VA.HN.HK.HU.IS.IN.ID.IR.IQ.IE.IM.IL.IT.JM.JP.JE.JO.KZ.KE.KI.KP.KR.KW.KG.LA.LV.LB.LS.LR.LY.LI.LT.LU.MO.MG.MW.MY.MV.ML.MT.MH.MQ.MR.MU.YT.MX.FM.MD.MC.MN.ME.MS.MA.MZ.MM.NA.NR.NP.NL.NC.NZ.NI.NE.NG.NU.NF.MP.NO.OM.PK.PW.PS.PA.PG.PY.PE.PH.PN.PL.PT.PR.QA.MK.RO.RU.RW.RE.BL.SH.KN.LC.MF.PM.VC.WS.SM.ST.SA.SN.RS.SC.SL.SG.SX.SK.SI.SB.SO.ZA.GS.SS.ES.LK.SD.SR.SJ.SE.CH.SY.TW.TJ.TZ.TH.TL.TG.TK.TO.TT.TN.TR.TM.TC.TV.UG.UA.AE.GB.UM.US.UY.UZ.VU.VE.VN.VG.VI.WF.EH.YE.ZM.ZW.AX`.split(`.`)).register(J,{id:`CountryCode`}),pEe=N({Name:F3,Address:N({StreetName:F3.optional(),PostCodeIdentification:I3,TownName:Y,CountrySubDivision:Y.optional(),Country:z6}).register(J,{id:`PostalAddress2`})}).register(J,{id:`NameAndAddress6`}),B6=N({AnyBIC:R6.optional(),ProprietaryIdentification:fEe.optional(),NameAndAddress:pEe.optional()}).refine(aV.check,aV.params).register(J,{id:`PartyIdentification178Choice`}),V6=j().regex(/^[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}$/).register(J,{id:`IBAN2007Identifier`}),H6=j().regex(/^[a-zA-Z0-9]{1,30}$/).register(J,{id:`BBANIdentifier`}),U6=j().regex(/^[0-9]{8,17}$/).register(J,{id:`UPICIdentifier`}),mEe=N({Identification:Y}).register(J,{id:`SimpleIdentificationInformation4`}),hEe=N({IBAN:V6.optional(),BBAN:H6.optional(),UPIC:U6.optional(),DomesticAccount:mEe.optional()}).refine(aV.check,aV.params).register(J,{id:`CashAccountIdentification7Choice`}),gEe=N({Debtor:B6.optional(),AccountIdentification:hEe.optional()}).refine(V.check,V.params).register(J,{id:`Debtor4`}),_Ee=N({Creditor:B6,RegistrationIdentification:Y.optional()}).register(J,{id:`Creditor4`}),W6=F(sV,j().base64().max(fV(2097152))).register(J,{id:`Max2MBBinary`}),vEe=N({MandateIdentification:Y,DateOfSignature:K3.optional(),MandateImage:W6.optional()}).register(J,{id:`MandateRelatedInformation13`}),yEe=N({DebtorIdentification:gEe.optional(),CreditorIdentification:_Ee,MandateRelatedInformation:vEe}).register(J,{id:`CardDirectDebit2`}),G6=N({PaymentContext:lEe.optional(),SaleContext:dEe.optional(),DirectDebitContext:yEe.optional()}).refine(V.check,V.params).register(J,{id:`CardPaymentContext30`}),K6=N({TransactionDateTime:X3,TransactionReference:Y}).register(J,{id:`TransactionIdentifier1`}),q6=N({Identification:Y.optional(),Type:Dwe.register(J,{id:`GenericIdentification90.Type`,innerSchema:`PartyType14Code`}),Issuer:c3.optional().register(J,{id:`GenericIdentification90.Issuer`,innerSchema:`PartyType4Code`}),Country:w3.optional(),ShortName:Y.optional()}).register(J,{id:`GenericIdentification90`}),J6=N({Response:l3.register(J,{id:`ResponseType10.Response`,innerSchema:`Response9Code`}),ResponseReason:Y.optional(),AdditionalResponseInformation:z3.optional()}).register(J,{id:`ResponseType10`}),bEe=j().min(6).max(8).register(J,{id:`Min6Max8Text`}),xEe=N({AuthorisationEntity:q6.optional(),ResponseToAuthorisation:J6,AuthorisationCode:bEe.optional()}).register(J,{id:`CardPaymentTransactionResult4`}),Y6=N({SaleReferenceIdentification:Y.optional(),TransactionIdentification:K6,POIIdentification:P3.optional(),InitiatorTransactionIdentification:Y.optional(),RecipientTransactionIdentification:z3.optional(),TransactionType:K4.register(J,{id:`CardPaymentTransaction122.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(J4)).optional().register(J,{id:`CardPaymentTransaction122.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:q4.optional().register(J,{id:`CardPaymentTransaction122.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),CardDataEntryMode:W4.optional().register(J,{id:`CardPaymentTransaction122.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),TransactionResult:xEe.optional()}).register(J,{id:`CardPaymentTransaction122`}),X6=N({Amount:S3,Label:z3.optional()}).register(J,{id:`DetailedAmount4`}),SEe=N({AmountGoodsAndServices:S3.optional(),CashBack:S3.optional(),Gratuity:S3.optional(),Fees:F(H,M(X6)).optional().register(J,{id:`DetailedAmount15.Fees`,innerSchema:`DetailedAmount4`}),Rebate:F(H,M(X6)).optional().register(J,{id:`DetailedAmount15.Rebate`,innerSchema:`DetailedAmount4`}),ValueAddedTax:F(H,M(X6)).optional().register(J,{id:`DetailedAmount15.ValueAddedTax`,innerSchema:`DetailedAmount4`}),Surcharge:F(H,M(X6)).optional().register(J,{id:`DetailedAmount15.Surcharge`,innerSchema:`DetailedAmount4`})}).refine(V.check,V.params).register(J,{id:`DetailedAmount15`}),CEe=N({AlphaCode:x3,NumericCode:x6,Decimal:H3,Name:Y.optional()}).register(J,{id:`CurrencyDetails3`}),Z6=pO().min(0).max(100).refine(oV(11,10).check,oV(11,10).params).register(J,{id:`PercentageRate`}),wEe=N({AlphaCode:x3.optional(),NumericCode:x6.optional(),Decimal:H3.optional(),Name:Y.optional()}).refine(V.check,V.params).register(J,{id:`CurrencyDetails2`}),TEe=N({LowerBin:E6,HigherBin:E6}).register(J,{id:`BinRange1`}),EEe=N({ActualAmount:S3.optional(),MinimumAmount:S3.optional(),MaximumAmount:S3.optional()}).refine(V.check,V.params).register(J,{id:`OriginalAmountDetails1`}),DEe=N({Amount:S3,AdditionalInformation:Y3.optional()}).register(J,{id:`Commission19`}),OEe=N({Rate:Z6,AdditionalInformation:Y3.optional()}).register(J,{id:`Commission18`}),Q6=j().min(1).max(2e4).register(J,{id:`Max20000Text`}),$6=N({ContentType:Y4.register(J,{id:`ContentInformationType33.ContentType`,innerSchema:`ContentType2Code`}),AuthenticatedData:o6.optional(),SignedData:u6.optional()}).register(J,{id:`ContentInformationType33`}),kEe=j().min(1).max(8e3).register(J,{id:`Max8000Text`}),AEe=N({BarcodeType:GCe.register(J,{id:`OutputBarcode2.BarcodeType`,innerSchema:`BarcodeType1Code`}),BarcodeValue:kEe.optional(),QRCodeBinaryValue:l6.optional(),QRCodeVersion:I3.optional(),QRCodeEncodingMode:Pwe.optional().register(J,{id:`OutputBarcode2.QRCodeEncodingMode`,innerSchema:`QRCodeEncodingMode1Code`}),QRCodeErrorCorrection:Fwe.optional().register(J,{id:`OutputBarcode2.QRCodeErrorCorrection`,innerSchema:`QRCodeErrorCorrection1Code`})}).register(J,{id:`OutputBarcode2`}),e8=N({MessageDestination:b3.register(J,{id:`ActionMessage10.MessageDestination`,innerSchema:`UserInterface4Code`}),InformationQualifier:n3.optional().register(J,{id:`ActionMessage10.InformationQualifier`,innerSchema:`InformationQualify1Code`}),Format:xwe.optional().register(J,{id:`ActionMessage10.Format`,innerSchema:`OutputFormat3Code`}),MessageContent:Q6.optional(),MessageContentSignature:$6.optional(),OutputBarcode:AEe.optional(),ResponseRequiredFlag:V3.optional(),MinimumDisplayTime:H3.optional()}).register(J,{id:`ActionMessage10`}),t8=N({CurrencyConversionIdentification:Y.optional().describe(`Identification of the currency conversion operation for the service provider.`),TargetCurrency:CEe.describe(`Currency into which the amount is converted (ISO 4217, 3 alphanumeric characters).`),ResultingAmount:S3.optional().describe(`Amount converted in the target currency, including additional charges.`),ExchangeRate:Z6.describe(`Exchange rate, expressed as a percentage, applied to convert the original amount into the resulting amount.`),InvertedExchangeRate:Z6.optional().describe(`Exchange rate, expressed as a percentage, applied to convert the resulting amount into the original amount.`),QuotationDate:X3.optional().describe(`Date and time at which the exchange rate has been quoted.`),ValidFrom:X3.optional().describe(`Specifies when the currency conversion could start.`),ValidUntil:X3.optional().describe(`Validity limit of the exchange rate.`),SourceCurrency:wEe.describe(`Currency from which the amount is converted (ISO 4217, 3 alphanumeric characters).`),ApplicableBinRange:F(H,M(TEe)).optional().describe(`Range of Bin for which the conversion is possible.`).register(J,{id:`CurrencyConversion26.ApplicableBinRange`,innerSchema:`BinRange1`}),OriginalAmount:EEe.optional().describe(`Original amount in the source currency.`).register(J,{id:`CurrencyConversion26.OriginalAmount`,innerSchema:`OriginalAmountDetails1`}),CommissionDetails:F(H,M(DEe)).optional().describe(`Commission or additional charges made as part of a currency conversion.`).register(J,{id:`CurrencyConversion26.CommissionDetails`,innerSchema:`Commission19`}),MarkUpDetails:F(H,M(OEe)).optional().describe(`Markup made as part of a currency conversion.`).register(J,{id:`CurrencyConversion26.MarkUpDetails`,innerSchema:`Commission18`}),DeclarationDetails:F(H,M(e8)).optional().describe(`Card scheme declaration (disclaimer) to present to the cardholder.`).register(J,{id:`CurrencyConversion26.DeclarationDetails`,innerSchema:`ActionMessage10`})}).transform(I4(`TargetCurrency.AlphaCode`,[`ResultingAmount`,`CommissionDetails[].Amount`])).transform(I4(`SourceCurrency.AlphaCode`,[`OriginalAmount.ActualAmount`,`OriginalAmount.MinimumAmount`,`OriginalAmount.MaximumAmount`])).register(J,{id:`CurrencyConversion26`}),jEe=N({AcceptedByCardholder:V3.optional(),Conversion:t8.optional()}).refine(V.check,V.params).register(J,{id:`CurrencyConversion27`}),MEe=N({Amount:S3,Sign:C3.optional()}).register(J,{id:`Amount5`}),NEe=N({Type:iwe.optional().register(J,{id:`InstalmentAmountDetails1.Type`,innerSchema:`InstalmentAmountDetailsType1Code`}),OtherType:Y.optional(),SubType:Y.optional(),Amount:MEe.optional(),Percentage:Z6.optional()}).refine(V.check,V.params).register(J,{id:`InstalmentAmountDetails1`}),PEe=pO().min(0).max(1).refine(oV(11,10).check,oV(11,10).params).register(J,{id:`BaseOneRate`}),FEe=N({Type:swe.optional().register(J,{id:`InterestRateDetails1.Type`,innerSchema:`InterestRate1Code`}),OtherType:Y.optional(),Period:awe.register(J,{id:`InterestRateDetails1.Period`,innerSchema:`InstalmentPeriod1Code`}),Rate:PEe}).register(J,{id:`InterestRateDetails1`}),n8=j().regex(pV).min(1).max(3).register(J,{id:`Max3NumericText`}),IEe=N({Time:n8,UnitType:rwe.register(J,{id:`GracePeriod1.UnitType`,innerSchema:`GracePeriodUnitType1Code`}),OtherUnitType:Y.optional()}).register(J,{id:`GracePeriod1`}),LEe=N({InstalmentPlan:F(H,M(owe)).optional().register(J,{id:`RecurringTransaction5.InstalmentPlan`,innerSchema:`InstalmentPlan1Code`}),PlanIdentification:Y.optional(),PlanOwner:Mwe.optional().register(J,{id:`RecurringTransaction5.PlanOwner`,innerSchema:`PlanOwner1Code`}),SequenceNumber:H3.optional(),PeriodUnit:nwe.optional().register(J,{id:`RecurringTransaction5.PeriodUnit`,innerSchema:`Frequency3Code`}),InstalmentPeriod:H3.optional(),TotalNumberOfPayments:H3.optional(),FirstPaymentDate:K3.optional(),TotalAmount:iTe.optional(),FirstAmount:S3.optional(),SubsequentAmount:S3.optional(),LastAmount:S3.optional(),Charges:S3.optional(),DetailedCharges:F(H,M(NEe)).optional().register(J,{id:`RecurringTransaction5.DetailedCharges`,innerSchema:`InstalmentAmountDetails1`}),InterestRate:F(H,M(FEe)).optional().register(J,{id:`RecurringTransaction5.InterestRate`,innerSchema:`InterestRateDetails1`}),GracePeriod:F(H,M(IEe)).optional().register(J,{id:`RecurringTransaction5.GracePeriod`,innerSchema:`GracePeriod1`}),PlanNotice:F(H,M(e8)).optional().register(J,{id:`RecurringTransaction5.PlanNotice`,innerSchema:`ActionMessage10`})}).refine(V.check,V.params).register(J,{id:`RecurringTransaction5`}),r8=F(sV,j().base64().max(fV(102400))).register(J,{id:`Max10000Binary`}),REe=N({Amount:S3,DateTime:X3,CardDataEntryMode:W4.optional().register(J,{id:`DetailedAmount21.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),ICCRelatedData:r8.optional(),Label:z3.optional()}).register(J,{id:`DetailedAmount21`}),zEe=N({FirstPaymentDateTime:X3.optional(),LastPaymentDateTime:X3.optional(),NumberOfPayments:H3.optional(),IndividualPayment:F(H,M(REe)).optional().register(J,{id:`AggregationTransaction3.IndividualPayment`,innerSchema:`DetailedAmount21`})}).refine(V.check,V.params).register(J,{id:`AggregationTransaction3`}),BEe=N({ItemIdentification:Y.optional(),ProductCode:F3,AdditionalProductCode:F3.optional(),UnitOfMeasure:y3.optional().register(J,{id:`Product6.UnitOfMeasure`,innerSchema:`UnitOfMeasure6Code`}),ProductQuantity:q3.optional(),UnitPrice:S3.optional(),UnitPriceSign:C3.optional(),ProductAmount:S3,ProductAmountSign:C3.optional(),ValueAddedTax:S3.optional(),TaxType:Y.optional(),ProductDescription:z3.optional(),DeliveryLocation:b6.optional(),DeliveryService:zCe.optional().register(J,{id:`Product6.DeliveryService`,innerSchema:`AttendanceContext2Code`}),SaleChannel:F3.optional(),AdditionalProductDescription:M3.optional()}).register(J,{id:`Product6`}),i8=N({Currency:x3.optional(),TotalAmount:S3.register(J,{id:`CardPaymentTransactionDetails52.TotalAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),CumulativeAmount:S3.optional().register(J,{id:`CardPaymentTransactionDetails52.CumulativeAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),AmountQualifier:v3.optional().register(J,{id:`CardPaymentTransactionDetails52.AmountQualifier`,innerSchema:`TypeOfAmount8Code`}),DetailedAmount:SEe.optional().register(J,{id:`CardPaymentTransactionDetails52.DetailedAmount`,innerSchema:`DetailedAmount15`}),RequestedAmount:S3.optional().register(J,{id:`CardPaymentTransactionDetails52.RequestedAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),AuthorisedAmount:S3.optional().register(J,{id:`CardPaymentTransactionDetails52.AuthorisedAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),InvoiceAmount:S3.optional().register(J,{id:`CardPaymentTransactionDetails52.InvoiceAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),ValidityDate:K3.optional(),OnLineReason:F(H,M(bwe)).optional().register(J,{id:`CardPaymentTransactionDetails52.OnLineReason`,innerSchema:`OnLineReason2Code`}),UnattendedLevelCategory:j6.optional(),AccountType:H4.optional().register(J,{id:`CardPaymentTransactionDetails52.AccountType`,innerSchema:`CardAccountType3Code`}),CurrencyConversionResult:jEe.optional(),Instalment:F(H,M(LEe)).optional().register(J,{id:`CardPaymentTransactionDetails52.Instalment`,innerSchema:`RecurringTransaction5`}),AggregationTransaction:zEe.optional(),ProductCodeSetIdentification:b6.optional(),SaleItem:F(H,M(BEe)).optional().register(J,{id:`CardPaymentTransactionDetails52.SaleItem`,innerSchema:`Product6`}),DeliveryLocation:Y.optional(),ReSubmissionCounter:B3.optional(),AdditionalInformation:F(H,M(h6)).optional().register(J,{id:`CardPaymentTransactionDetails52.AdditionalInformation`,innerSchema:`ExternallyDefinedData4`}),ICCRelatedData:r8.optional()}).transform(I4(`Currency`,[`TotalAmount`,`CumulativeAmount`,`RequestedAmount`,`AuthorisedAmount`,`InvoiceAmount`,`DetailedAmount.AmountGoodsAndServices`,`DetailedAmount.CashBack`,`DetailedAmount.Gratuity`,`DetailedAmount.Fees[].Amount`,`DetailedAmount.Rebate[].Amount`,`DetailedAmount.ValueAddedTax[].Amount`,`DetailedAmount.Surcharge[].Amount`,`Instalment[].FirstAmount`,`Instalment[].SubsequentAmount`,`Instalment[].LastAmount`,`Instalment[].Charges`,`Instalment[].DetailedCharges[].Amount.Amount`])).register(J,{id:`CardPaymentTransactionDetails52`}),VEe=N({Name:F3,Address:N({AddressType:L4.optional().register(J,{id:`PostalAddress1.AddressType`,innerSchema:`AddressType2Code`}),AddressLine:F(H,M(F3).min(0).max(5)).optional().register(J,{id:`PostalAddress1.AddressLine`,innerSchema:`Max70Text`}),StreetName:F3.optional(),BuildingNumber:I3.optional(),PostCode:I3.optional(),TownName:Y.optional(),CountrySubDivision:Y.optional(),Country:z6}).register(J,{id:`PostalAddress1`})}).register(J,{id:`NameAndAddress3`}),HEe=N({Card:y6.optional(),MSISDN:I3.optional(),EMail:M3.optional(),IBAN:V6.optional(),BBAN:H6.optional(),UPIC:U6.optional(),Domestic:Y.optional(),Other:Y.optional()}).refine(aV.check,aV.params).register(J,{id:`AccountIdentification54Choice`}),UEe=N({Identification:Y,SchemeName:Y.optional(),Issuer:Y.optional()}).register(J,{id:`GenericIdentification1`}),WEe=N({AnyBIC:R6.optional(),ProprietaryIdentification:UEe.optional()}).refine(aV.check,aV.params).register(J,{id:`PartyIdentification177Choice`}),a8=N({SelectionMethod:jCe.optional().register(J,{id:`CardAccount16.SelectionMethod`,innerSchema:`AccountChoiceMethod1Code`}),SelectedAccountType:H4.optional().register(J,{id:`CardAccount16.SelectedAccountType`,innerSchema:`CardAccountType3Code`}),AccountName:F3.optional(),AccountOwner:VEe.optional(),Currency:x3.optional(),AccountIdentifier:HEe.optional(),Servicer:WEe.optional()}).refine(V.check,V.params).register(J,{id:`CardAccount16`}),GEe=N({TransactionCapture:V3,TransactionType:K4.optional().register(J,{id:`CardPaymentTransaction124.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(J4)).optional().register(J,{id:`CardPaymentTransaction124.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:q4.optional().register(J,{id:`CardPaymentTransaction124.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),LastTransactionFlag:V3.optional(),MerchantCategoryCode:I6.optional(),CustomerConsent:V3.optional(),CardProgrammeProposed:F(H,M(Y)).optional().register(J,{id:`CardPaymentTransaction124.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:Y.optional(),SaleReferenceIdentification:Y.optional(),TransactionIdentification:K6,OriginalTransaction:Y6.optional(),InitiatorTransactionIdentification:Y.optional(),ReconciliationIdentification:Y.optional(),IssuerCITIdentification:z3.optional(),MerchantCITIdentification:z3.optional(),TransactionDetails:i8,MerchantReferenceData:F3.optional(),AccountFrom:a8.optional(),AccountTo:a8.optional(),AdditionalTransactionData:F(H,M(F3)).optional().register(J,{id:`CardPaymentTransaction124.AdditionalTransactionData`,innerSchema:`Max70Text`})}).register(J,{id:`CardPaymentTransaction124`}),KEe=PO().register(J,{id:`SupplementaryDataEnvelope1`}),o8=N({PlaceAndName:Y3.optional(),Envelope:KEe}).register(J,{id:`SupplementaryData1`}),s8=N({Environment:F6,Context:G6,Transaction:GEe,SupplementaryData:F(H,M(o8)).optional().register(J,{id:`AcceptorAuthorisationRequest12.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(J,{id:`AcceptorAuthorisationRequest12`}),c8=j().min(1).max(6).register(J,{id:`Max6Text`}),l8=N({RelayIdentification:j3,ProtocolName:Y.optional(),ProtocolVersion:c8.optional(),TraceDateTimeIn:X3,TraceDateTimeOut:X3}).register(J,{id:`Traceability8`}),u8=N({MessageFunction:pwe.register(J,{id:`Header70.MessageFunction`,innerSchema:`MessageFunction46Code`}),ProtocolVersion:c8,ExchangeIdentification:H3,ReTransmissionCounter:n8.optional(),CreationDateTime:X3,InitiatingParty:p6,RecipientParty:j3.optional(),Traceability:F(H,M(l8)).optional().register(J,{id:`Header70.Traceability`,innerSchema:`Traceability8`})}).register(J,{id:`Header70`}),d8=N({ContentType:Y4.register(J,{id:`ContentInformationType36.ContentType`,innerSchema:`ContentType2Code`}),AuthenticatedData:o6}).register(J,{id:`ContentInformationType36`}),qEe=N({Header:u8,AuthorisationRequest:s8,SecurityTrailer:d8.optional()}).superRefine((e,t)=>{let n=e.Header.MessageFunction,r=e.AuthorisationRequest.Transaction?.TransactionCapture;n===`AUTQ`&&r===!0&&t.addIssue({code:lA.custom,path:[`AuthorisationRequest`,`Transaction`,`TransactionCapture`],message:`Invalid MessageFunction and TransactionCapture combination: Authorisation request (AUTQ) requires Transaction Capture to be false`}),n===`FAUQ`&&r!==!0&&t.addIssue({code:lA.custom,path:[`AuthorisationRequest`,`Transaction`,`TransactionCapture`],message:`Invalid MessageFunction and TransactionCapture combination: Financial authorisation request (FAUQ) requires Transaction Capture to be true`})}).register(J,{id:`AcceptorAuthorisationRequestV12`}),JEe=N({SaleReferenceIdentification:Y.optional(),TransactionIdentification:K6,InitiatorTransactionIdentification:Y.optional(),RecipientTransactionIdentification:z3.optional(),ReconciliationIdentification:Y.optional(),InterchangeData:z3.optional(),TransactionDetails:i8,MerchantReferenceData:F3.optional()}).register(J,{id:`CardPaymentTransaction129`}),f8=j().min(1).max(8).register(J,{id:`Max8Text`}),p8=N({TMSContactLevel:Xwe.register(J,{id:`TMSTrigger1.TMSContactLevel`,innerSchema:`TMSContactLevel1Code`}),TMSIdentification:Y.optional(),TMSContactDateTime:X3.optional()}).register(J,{id:`TMSTrigger1`}),YEe=N({AuthorisationEntity:q6.optional(),ResponseToAuthorisation:J6,AuthorisationCode:f8.optional(),CompletionRequired:V3.optional(),TMSTrigger:p8.optional()}).register(J,{id:`AuthorisationResult17`}),m8=N({ProductCode:F3,AdditionalProductCode:F3.optional()}).register(J,{id:`Product4`}),XEe=N({ProductCode:F3,AdditionalProductCode:F3.optional(),AmountLimit:S3.optional(),QuantityLimit:q3.optional(),UnitOfMeasure:y3.optional().register(J,{id:`Product5.UnitOfMeasure`,innerSchema:`UnitOfMeasure6Code`})}).register(J,{id:`Product5`}),ZEe=N({Amount:S3,Currency:x3,Sign:C3.optional()}).register(J,{id:`AmountAndDirection93`}),h8=j().regex(pV).min(1).max(9).register(J,{id:`Max9NumericText`}),g8=N({Delay:h8,MaximumNumber:H3.optional(),UnitOfTime:_3.optional().register(J,{id:`ProcessRetry3.UnitOfTime`,innerSchema:`TimeUnit1Code`})}).register(J,{id:`ProcessRetry3`}),_8=N({StartTime:X3.optional(),EndTime:X3.optional(),Period:h8.optional(),UnitOfTime:_3.optional().register(J,{id:`ProcessTiming6.UnitOfTime`,innerSchema:`TimeUnit1Code`})}).refine(V.check,V.params).register(J,{id:`ProcessTiming6`}),QEe=N({ActionType:MCe.register(J,{id:`Action14.ActionType`,innerSchema:`ActionType13Code`}),MessageToPresent:e8.optional(),RemoteAccess:k3.optional(),Retry:g8.optional(),TimeCondition:_8.optional()}).register(J,{id:`Action14`}),v8=N({Environment:F6,Transaction:JEe,TransactionResponse:N({AuthorisationResult:YEe.register(J,{id:`CardPaymentTransaction128.AuthorisationResult`,innerSchema:`AuthorisationResult17`}),TransactionVerificationResult:F(H,M(P6)).optional().register(J,{id:`CardPaymentTransaction128.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),AllowedProductCode:F(H,M(m8)).optional().register(J,{id:`CardPaymentTransaction128.AllowedProductCode`,innerSchema:`Product4`}),NotAllowedProductCode:F(H,M(m8)).optional().register(J,{id:`CardPaymentTransaction128.NotAllowedProductCode`,innerSchema:`Product4`}),AdditionalAvailableProduct:F(H,M(XEe)).optional().register(J,{id:`CardPaymentTransaction128.AdditionalAvailableProduct`,innerSchema:`Product5`}),Balance:ZEe.optional(),ProtectedBalance:v6.optional(),Action:F(H,M(QEe)).optional().register(J,{id:`CardPaymentTransaction128.Action`,innerSchema:`Action14`}),CurrencyConversionEligibility:t8.optional()}).register(J,{id:`CardPaymentTransaction128`}),SupplementaryData:o8.optional()}).register(J,{id:`AcceptorAuthorisationResponse12`}),$Ee=N({Header:u8,AuthorisationResponse:v8,SecurityTrailer:d8.optional()}).register(J,{id:`AcceptorAuthorisationResponseV12`}),eDe=N({Currency:x3.optional(),TotalAmount:S3.register(J,{id:`CardPaymentTransactionDetails50.TotalAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),ValidityDate:K3.optional(),ICCRelatedData:r8.optional(),KeepAuthorisationOpen:V3.optional()}).transform(I4(`Currency`,[`TotalAmount`])).register(J,{id:`CardPaymentTransactionDetails50`}),tDe=N({AuthorisationEntity:q6.optional(),ResponseToAuthorisation:J6,AuthorisationCode:f8.optional(),TMSTrigger:p8.optional()}).register(J,{id:`AuthorisationResult19`}),nDe=N({MerchantCategoryCode:I6,CustomerConsent:V3.optional(),CardProgrammeProposed:F(H,M(Y)).optional().register(J,{id:`CardPaymentTransaction116.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:Y.optional(),SaleReferenceIdentification:Y.optional(),TransactionIdentification:K6,OriginalTransaction:Y6.optional(),TransactionSuccess:V3,Reversal:V3.optional(),FailureReason:F(H,M(t3)).optional().register(J,{id:`CardPaymentTransaction116.FailureReason`,innerSchema:`FailureReason3Code`}),InitiatorTransactionIdentification:Y.optional(),RecipientTransactionIdentification:z3.optional(),ReconciliationIdentification:Y.optional(),InterchangeData:z3.optional(),TransactionDetails:eDe,AuthorisationResult:tDe.optional(),AdditionalTransactionData:F(H,M(F3)).optional().register(J,{id:`CardPaymentTransaction116.AdditionalTransactionData`,innerSchema:`Max70Text`})}).register(J,{id:`CardPaymentTransaction116`}),y8=N({Environment:F6,Context:G6.optional(),Transaction:nDe}).register(J,{id:`AcceptorCancellationAdvice12`}),b8=N({SaleReferenceIdentification:Y.optional(),TransactionIdentification:K6,InitiatorTransactionIdentification:Y.optional(),RecipientTransactionIdentification:z3.optional(),ReconciliationIdentification:Y.optional(),Response:l3.register(J,{id:`CardPaymentTransactionAdviceResponse8.Response`,innerSchema:`Response9Code`})}).register(J,{id:`CardPaymentTransactionAdviceResponse8`}),x8=N({Environment:F6,Transaction:b8,TMSTrigger:p8.optional()}).register(J,{id:`AcceptorCancellationAdviceResponse11`}),rDe=N({Header:u8,CancellationAdviceResponse:x8,SecurityTrailer:d8.optional()}).register(J,{id:`AcceptorCancellationAdviceResponseV11`}),iDe=N({Header:u8,CancellationAdvice:y8,SecurityTrailer:d8.optional()}).register(J,{id:`AcceptorCancellationAdviceV12`}),aDe=N({AuthorisationEntity:q6.optional(),ResponseToAuthorisation:J6,AuthorisationCode:f8.optional()}).register(J,{id:`AuthorisationResult18`}),oDe=N({TransactionCapture:V3.optional(),TransactionType:K4.optional().register(J,{id:`CardPaymentTransaction125.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(J4)).optional().register(J,{id:`CardPaymentTransaction125.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:q4.optional().register(J,{id:`CardPaymentTransaction125.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),LastTransactionFlag:V3.optional(),MerchantCategoryCode:I6.optional(),CustomerConsent:V3.optional(),CardProgrammeProposed:F(H,M(Y)).optional().register(J,{id:`CardPaymentTransaction125.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:Y.optional(),SaleReferenceIdentification:Y.optional(),TransactionIdentification:K6,OriginalTransaction:Y6.optional(),TransactionSuccess:V3,Reversal:V3.optional(),MerchantOverride:V3.optional(),FailureReason:F(H,M(t3)).optional().register(J,{id:`CardPaymentTransaction125.FailureReason`,innerSchema:`FailureReason3Code`}),InitiatorTransactionIdentification:Y.optional(),RecipientTransactionIdentification:z3.optional(),ReconciliationIdentification:Y.optional(),InterchangeData:z3.optional(),IssuerCITIdentification:z3.optional(),MerchantCITIdentification:z3.optional(),TransactionDetails:i8,AuthorisationResult:aDe.optional(),TransactionVerificationResult:F(H,M(P6)).optional().register(J,{id:`CardPaymentTransaction125.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),MerchantReferenceData:F3.optional(),AccountFrom:a8.optional(),AccountTo:a8.optional(),AdditionalTransactionData:F(H,M(F3)).optional().register(J,{id:`CardPaymentTransaction125.AdditionalTransactionData`,innerSchema:`Max70Text`})}).register(J,{id:`CardPaymentTransaction125`}),S8=N({Environment:F6,Context:G6.optional(),Transaction:oDe,SupplementaryData:F(H,M(o8)).optional().register(J,{id:`AcceptorCompletionAdvice12.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(J,{id:`AcceptorCompletionAdvice12`}),C8=N({Environment:F6,Transaction:b8,TMSTrigger:p8.optional(),SupplementaryData:F(H,M(o8)).optional().register(J,{id:`AcceptorCompletionAdviceResponse11.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(J,{id:`AcceptorCompletionAdviceResponse11`}),sDe=N({Header:u8,CompletionAdviceResponse:C8,SecurityTrailer:d8.optional()}).register(J,{id:`AcceptorCompletionAdviceResponseV11`}),cDe=N({Header:u8,CompletionAdvice:S8,SecurityTrailer:d8.optional()}).register(J,{id:`AcceptorCompletionAdviceV12`}),w8=N({Name:M3.optional(),Type:Z4.register(J,{id:`DataSetIdentification10.Type`,innerSchema:`DataSetCategory18Code`}),Version:M3.optional(),CreationDateTime:X3.optional()}).register(J,{id:`DataSetIdentification10`}),T8=N({ItemIdentification:z3,Condition:hwe.register(J,{id:`MessageItemCondition2.Condition`,innerSchema:`MessageItemCondition2Code`}),Value:F(H,M(z3)).optional().register(J,{id:`MessageItemCondition2.Value`,innerSchema:`Max140Text`})}).register(J,{id:`MessageItemCondition2`}),lDe=N({ActionType:m3.register(J,{id:`TMSProtocolParameters7.ActionType`,innerSchema:`TerminalManagementAction3Code`}),TerminalManagerIdentification:p6.register(J,{id:`TMSProtocolParameters7.TerminalManagerIdentification`,innerSchema:`GenericIdentification176`}),ProtocolVersion:f8.optional(),MaintenanceService:F(H,M($Ce).min(1)).register(J,{id:`TMSProtocolParameters7.MaintenanceService`,innerSchema:`DataSetCategory10Code`}),Version:M3,ApplicationIdentification:F(H,M(Y)).optional(),HostIdentification:Y,POIIdentification:Y.optional(),InitiatingPartyIdentification:Y.optional(),RecipientPartyIdentification:Y.optional(),FileTransfer:V3.optional(),MessageItem:F(H,M(T8)).optional(),ExternallyTypeSupported:F(H,M(m6)).optional()}).register(J,{id:`TMSProtocolParameters7`}),E8=N({HostIdentification:Y,MessageToSend:F(H,M(fwe)).optional().register(J,{id:`AcquirerHostConfiguration9.MessageToSend`,innerSchema:`MessageFunction43Code`}),ProtocolVersion:f8.optional(),ExternallyTypeSupported:F(H,M(m6)).optional().register(J,{id:`AcquirerHostConfiguration9.ExternallyTypeSupported`,innerSchema:`Max1025Text`})}).register(J,{id:`AcquirerHostConfiguration9`}),D8=N({ExchangePolicy:F(H,M(e3).min(1)).register(J,{id:`ExchangeConfiguration9.ExchangePolicy`,innerSchema:`ExchangePolicy2Code`}),MaximumNumber:H3.optional(),MaximumAmount:S3.optional(),ReTry:g8.optional(),TimeCondition:_8.optional()}).register(J,{id:`ExchangeConfiguration9`}),uDe=N({ExchangePolicy:F(H,M(e3).min(1)).register(J,{id:`ExchangeConfiguration10.ExchangePolicy`,innerSchema:`ExchangePolicy2Code`}),MaximumNumber:H3.optional(),MaximumAmount:S3.optional(),ReTry:g8.optional(),TimeCondition:_8.optional(),ExchangeFailed:V3.optional(),ExchangeDeclined:V3.optional()}).register(J,{id:`ExchangeConfiguration10`}),O8=N({FinancialCapture:twe.register(J,{id:`AcquirerProtocolExchangeBehavior2.FinancialCapture`,innerSchema:`FinancialCapture1Code`}),BatchTransfer:D8.optional(),CompletionExchange:uDe.optional(),CancellationExchange:JCe.optional().register(J,{id:`AcquirerProtocolExchangeBehavior2.CancellationExchange`,innerSchema:`CancellationProcess2Code`})}).register(J,{id:`AcquirerProtocolExchangeBehavior2`}),dDe=N({ActionType:m3.register(J,{id:`AcquirerProtocolParameters16.ActionType`,innerSchema:`TerminalManagementAction3Code`}),AcquirerIdentification:F(H,M(p6).min(1)).register(J,{id:`AcquirerProtocolParameters16.AcquirerIdentification`,innerSchema:`GenericIdentification176`}),Version:M3,ApplicationIdentification:F(H,M(Y)).optional().register(J,{id:`AcquirerProtocolParameters16.ApplicationIdentification`,innerSchema:`Max35Text`}),Host:F(H,M(E8)).optional().register(J,{id:`AcquirerProtocolParameters16.Host`,innerSchema:`AcquirerHostConfiguration9`}),OnLineTransaction:O8.optional(),OffLineTransaction:O8.optional(),ReconciliationExchange:D8.optional(),ReconciliationByAcquirer:V3.optional(),TotalsPerCurrency:V3.optional(),SplitTotals:V3.optional(),SplitTotalCriteria:F(H,M(Iwe)).optional().register(J,{id:`AcquirerProtocolParameters16.SplitTotalCriteria`,innerSchema:`ReconciliationCriteria1Code`}),CompletionAdviceMandated:V3.optional(),AmountQualifierForReservation:F(H,M(v3)).optional().register(J,{id:`AcquirerProtocolParameters16.AmountQualifierForReservation`,innerSchema:`TypeOfAmount8Code`}),ReconciliationError:V3.optional(),CardDataVerification:V3.optional(),NotifyOffLineCancellation:V3.optional(),BatchTransferContent:F(H,M(KCe)).optional().register(J,{id:`AcquirerProtocolParameters16.BatchTransferContent`,innerSchema:`BatchTransactionType1Code`}),FileTransferBatch:V3.optional(),BatchDigitalSignature:V3.optional(),MessageItem:F(H,M(T8)).optional().register(J,{id:`AcquirerProtocolParameters16.MessageItem`,innerSchema:`MessageItemCondition2`}),ProtectCardData:V3,PrivateCardData:V3.optional(),MandatorySecurityTrailer:V3.optional()}).register(J,{id:`AcquirerProtocolParameters16`}),fDe=N({ActionType:m3.register(J,{id:`ServiceProviderParameters3.ActionType`,innerSchema:`TerminalManagementAction3Code`}),ServiceProviderIdentification:F(H,M(p6).min(1)).register(J,{id:`ServiceProviderParameters3.ServiceProviderIdentification`,innerSchema:`GenericIdentification176`}),Version:M3,ApplicationIdentification:F(H,M(Y)).optional().register(J,{id:`ServiceProviderParameters3.ApplicationIdentification`,innerSchema:`Max35Text`}),Host:F(H,M(E8)).optional().register(J,{id:`ServiceProviderParameters3.Host`,innerSchema:`AcquirerHostConfiguration9`}),NonFinancialActionSupported:F(H,M(vwe)).optional().register(J,{id:`ServiceProviderParameters3.NonFinancialActionSupported`,innerSchema:`NonFinancialRequestType2Code`})}).register(J,{id:`ServiceProviderParameters3`}),pDe=N({Type:_we.register(J,{id:`NetworkParameters8.Type`,innerSchema:`NetworkType2Code`}),Access:k3}).register(J,{id:`NetworkParameters8`}),mDe=N({ActionType:m3.register(J,{id:`MerchantConfigurationParameters6.ActionType`,innerSchema:`TerminalManagementAction3Code`}),MerchantIdentification:Y.optional(),Version:M3.optional(),ParameterFormatIdentifier:f8.optional(),Proxy:pDe.optional(),OtherParametersLength:B3.optional(),OffsetStart:B3.optional(),OffsetEnd:B3.optional(),OtherParameters:r8.optional()}).register(J,{id:`MerchantConfigurationParameters6`}),hDe=j().time().register(J,{id:`ISOTime`}),gDe=N({POITimeZone:F3,SynchronisationServer:F(H,M(k3)).optional().register(J,{id:`ClockSynchronisation3.SynchronisationServer`,innerSchema:`NetworkParameters7`}),Delay:hDe.optional()}).register(J,{id:`ClockSynchronisation3`}),_De=N({FromDateTime:X3.optional(),ToDateTime:X3.optional(),UTCOffset:H3}).register(J,{id:`LocalDateTime1`}),vDe=N({ActionType:m3.register(J,{id:`PaymentTerminalParameters8.ActionType`,innerSchema:`TerminalManagementAction3Code`}),VendorIdentification:Y.optional(),Version:M3.optional(),ParameterFormatIdentifier:f8.optional(),ClockSynchronisation:gDe.optional(),TimeZoneLine:F(H,M(F3)).optional().register(J,{id:`PaymentTerminalParameters8.TimeZoneLine`,innerSchema:`Max70Text`}),LocalDateTime:F(H,M(_De)).optional().register(J,{id:`PaymentTerminalParameters8.LocalDateTime`,innerSchema:`LocalDateTime1`}),OtherParametersLength:B3.optional(),OffsetStart:B3.optional(),OffsetEnd:B3.optional(),OtherParameters:r8.optional()}).register(J,{id:`PaymentTerminalParameters8`}),yDe=N({ActionType:m3.register(J,{id:`ApplicationParameters12.ActionType`,innerSchema:`TerminalManagementAction3Code`}),ApplicationIdentification:Y,Version:M3.optional(),ParameterFormatIdentifier:f8.optional(),ParametersLength:B3.optional(),OffsetStart:B3.optional(),OffsetEnd:B3.optional(),Parameters:F(H,M(r6)).optional().register(J,{id:`ApplicationParameters12.Parameters`,innerSchema:`Max100KBinary`}),EncryptedParameters:v6.optional()}).register(J,{id:`ApplicationParameters12`}),bDe=F(sV,j().base64().min(fV(5)).max(fV(16))).register(J,{id:`Min5Max16Binary`}),k8=N({KeyIdentification:z3,KeyVersion:z3,SequenceNumber:H3.optional(),DerivationIdentification:bDe.optional(),Type:X4.optional().register(J,{id:`KEKIdentifier5.Type`,innerSchema:`CryptographicKeyType3Code`}),Function:F(H,M(i3)).optional().register(J,{id:`KEKIdentifier5.Function`,innerSchema:`KeyUsage1Code`})}).register(J,{id:`KEKIdentifier5`}),xDe=N({ActionType:m3.register(J,{id:`HostCommunicationParameter6.ActionType`,innerSchema:`TerminalManagementAction3Code`}),HostIdentification:Y,Address:k3.optional(),Key:F(H,M(k8)).optional().register(J,{id:`HostCommunicationParameter6.Key`,innerSchema:`KEKIdentifier5`}),NetworkServiceProvider:k3.optional(),PhysicalInterface:J3.optional()}).register(J,{id:`HostCommunicationParameter6`}),SDe=N({ActionType:m3.register(J,{id:`SecurityParameters15.ActionType`,innerSchema:`TerminalManagementAction3Code`}),Version:M3,POIChallenge:O3.optional(),TMChallenge:O3.optional(),SecurityElement:F(H,M(f6)).optional().register(J,{id:`SecurityParameters15.SecurityElement`,innerSchema:`CryptographicKey17`})}).register(J,{id:`SecurityParameters15`}),CDe=N({ActionType:m3.register(J,{id:`SaleToPOIProtocolParameter3.ActionType`,innerSchema:`TerminalManagementAction3Code`}),MerchantIdentification:L6.optional(),Version:M3,HostIdentification:Y,MerchantPOIIdentification:Y.optional(),SaleIdentification:Y.optional(),AllowedSaleMessage:F(H,M(d3)).optional().register(J,{id:`SaleToPOIProtocolParameter3.AllowedSaleMessage`,innerSchema:`RetailerMessage1Code`}),AllowedPOIMessage:F(H,M(d3)).optional().register(J,{id:`SaleToPOIProtocolParameter3.AllowedPOIMessage`,innerSchema:`RetailerMessage1Code`}),AllowedPOIService:F(H,M(Uwe)).optional().register(J,{id:`SaleToPOIProtocolParameter3.AllowedPOIService`,innerSchema:`RetailerService2Code`}),AllowedSaleDevice:F(H,M(f3)).optional().register(J,{id:`SaleToPOIProtocolParameter3.AllowedSaleDevice`,innerSchema:`RetailerService8Code`}),ExternallyTypeSupported:F(H,M(m6)).optional().register(J,{id:`SaleToPOIProtocolParameter3.ExternallyTypeSupported`,innerSchema:`Max1025Text`})}).register(J,{id:`SaleToPOIProtocolParameter3`}),wDe=N({POIComponentIdentification:F(H,M(G3)).optional().register(J,{id:`TerminalPackageType4.POIComponentIdentification`,innerSchema:`PointOfInteractionComponentIdentification2`}),Package:F(H,M(g6).min(1)).register(J,{id:`TerminalPackageType4.Package`,innerSchema:`PackageType4`})}).register(J,{id:`TerminalPackageType4`}),TDe=N({ReplaceConfiguration:V3.optional(),TMSProtocolParameters:F(H,M(lDe)).optional().register(J,{id:`AcceptorConfigurationContent12.TMSProtocolParameters`,innerSchema:`TMSProtocolParameters7`}),AcquirerProtocolParameters:F(H,M(dDe)).optional().register(J,{id:`AcceptorConfigurationContent12.AcquirerProtocolParameters`,innerSchema:`AcquirerProtocolParameters16`}),ServiceProviderParameters:F(H,M(fDe)).optional().register(J,{id:`AcceptorConfigurationContent12.ServiceProviderParameters`,innerSchema:`ServiceProviderParameters3`}),MerchantParameters:F(H,M(mDe)).optional().register(J,{id:`AcceptorConfigurationContent12.MerchantParameters`,innerSchema:`MerchantConfigurationParameters6`}),TerminalParameters:F(H,M(vDe)).optional().register(J,{id:`AcceptorConfigurationContent12.TerminalParameters`,innerSchema:`PaymentTerminalParameters8`}),ApplicationParameters:F(H,M(yDe)).optional().register(J,{id:`AcceptorConfigurationContent12.ApplicationParameters`,innerSchema:`ApplicationParameters12`}),HostCommunicationParameters:F(H,M(xDe)).optional().register(J,{id:`AcceptorConfigurationContent12.HostCommunicationParameters`,innerSchema:`HostCommunicationParameter6`}),SecurityParameters:F(H,M(SDe)).optional().register(J,{id:`AcceptorConfigurationContent12.SecurityParameters`,innerSchema:`SecurityParameters15`}),SaleToPOIParameters:F(H,M(CDe)).optional().register(J,{id:`AcceptorConfigurationContent12.SaleToPOIParameters`,innerSchema:`SaleToPOIProtocolParameter3`}),TerminalPackage:F(H,M(wDe)).optional().register(J,{id:`AcceptorConfigurationContent12.TerminalPackage`,innerSchema:`TerminalPackageType4`})}).register(J,{id:`AcceptorConfigurationContent12`}),EDe=N({Identification:w8,SequenceCounter:h8.optional(),LastSequence:V3.optional(),POIIdentification:F(H,M(p6)).optional().register(J,{id:`AcceptorConfigurationDataSet4.POIIdentification`,innerSchema:`GenericIdentification176`}),ConfigurationScope:Owe.optional().register(J,{id:`AcceptorConfigurationDataSet4.ConfigurationScope`,innerSchema:`PartyType15Code`}),Content:TDe}).register(J,{id:`AcceptorConfigurationDataSet4`}),A8=N({TerminalManagerIdentification:p6,POIGroupIdentification:F(H,M(Y)).optional().register(J,{id:`AcceptorConfiguration12.POIGroupIdentification`,innerSchema:`Max35Text`}),DataSet:F(H,M(EDe).min(1)).register(J,{id:`AcceptorConfiguration12.DataSet`,innerSchema:`AcceptorConfigurationDataSet4`})}).register(J,{id:`AcceptorConfiguration12`}),j8=N({DownloadTransfer:V3,FormatVersion:c8,ExchangeIdentification:H3,CreationDateTime:X3,InitiatingParty:p6,RecipientParty:j3.optional(),Traceability:F(H,M(l8)).optional().register(J,{id:`TMSHeader1.Traceability`,innerSchema:`Traceability8`})}).register(J,{id:`TMSHeader1`}),DDe=N({Header:j8,AcceptorConfiguration:A8,SecurityTrailer:$6.optional()}).register(J,{id:`AcceptorConfigurationUpdateV12`}),M8=N({Environment:F6,AcquirerAvailabilityRequested:V3.optional()}).register(J,{id:`AcceptorDiagnosticRequest11`}),ODe=N({Header:u8,DiagnosticRequest:M8,SecurityTrailer:d8.optional()}).register(J,{id:`AcceptorDiagnosticRequestV11`}),kDe=N({Header:u8,DiagnosticResponse:N({Environment:F6,TMSTrigger:p8.optional(),AcquirerAvailable:V3.optional()}).register(J,{id:`AcceptorDiagnosticResponse9`}),SecurityTrailer:d8.optional()}).register(J,{id:`AcceptorDiagnosticResponseV10`}),N8=N({RejectReason:Lwe.register(J,{id:`AcceptorRejection2.RejectReason`,innerSchema:`RejectReason1Code`}),AdditionalInformation:T3.optional(),MessageInError:r6.optional()}).register(J,{id:`AcceptorRejection2`}),P8=N({RejectReason:Rwe.register(J,{id:`AcceptorRejection3.RejectReason`,innerSchema:`RejectReason2Code`}),AdditionalInformation:T3.optional(),MessageInError:r6.optional()}).register(J,{id:`AcceptorRejection3`}),F8=N({MessageFunction:mwe.register(J,{id:`Header57.MessageFunction`,innerSchema:`MessageFunction9Code`}),ProtocolVersion:c8,ExchangeIdentification:H3.optional(),CreationDateTime:X3,InitiatingParty:p6.optional(),RecipientParty:j3.optional(),Traceability:F(H,M(l8)).optional().register(J,{id:`Header57.Traceability`,innerSchema:`Traceability8`})}).register(J,{id:`Header57`}),ADe=N({Header:F8,Reject:N8}).register(J,{id:`AcceptorRejectionV06`}),jDe=N({ImageFormat:Y,ImageData:W6.optional(),ImageReference:T3.optional(),AdditionalInformation:z3.optional()}).register(J,{id:`CapturedSignature1`}),MDe=N({Identification:w8,POIChallenge:O3.optional(),TMChallenge:O3.optional(),SessionKey:f6.optional(),DelegationProof:Z3.optional(),ProtectedDelegationProof:d6.optional()}).register(J,{id:`DataSetRequest4`}),NDe=N({DisplayOutput:F(H,M(a3).min(1)).register(J,{id:`DeviceDisplayRequest5.DisplayOutput`,innerSchema:`OutputFormat1Code`})}).register(J,{id:`DeviceDisplayRequest5`}),I8=N({Response:Vwe.register(J,{id:`ResponseType11.Response`,innerSchema:`Response11Code`}),ResponseReason:Hwe.optional().register(J,{id:`ResponseType11.ResponseReason`,innerSchema:`RetailerResultDetail1Code`}),AdditionalResponseInformation:z3.optional()}).register(J,{id:`ResponseType11`}),L8=N({DeviceType:b3.register(J,{id:`OutputResult2.DeviceType`,innerSchema:`UserInterface4Code`}),InformationQualifier:n3.register(J,{id:`OutputResult2.InformationQualifier`,innerSchema:`InformationQualify1Code`}),Response:I8}).register(J,{id:`OutputResult2`}),PDe=N({OutputResult:F(H,M(L8).min(1)).register(J,{id:`DeviceDisplayResponse2.OutputResult`,innerSchema:`OutputResult2`})}).register(J,{id:`DeviceDisplayResponse2`}),FDe=N({WarmResetFlag:V3.optional(),ForceEntryMode:F(H,M(W4)).optional().register(J,{id:`DeviceInitialisationCardReaderRequest5.ForceEntryMode`,innerSchema:`CardDataReading8Code`}),LeaveCardFlag:V3.optional(),MaximumWaitingTime:H3.optional(),DisplayOutput:e8.optional()}).register(J,{id:`DeviceInitialisationCardReaderRequest5`}),IDe=N({ATRValue:O3.optional(),CardStatus:E3.optional()}).register(J,{id:`ICCResetData1`}),LDe=N({CardEntryMode:W4.optional().register(J,{id:`DeviceInitialisationCardReaderResponse2.CardEntryMode`,innerSchema:`CardDataReading8Code`}),ICCResetData:IDe.optional(),AdditionalInformation:r8.optional()}).register(J,{id:`DeviceInitialisationCardReaderResponse2`}),RDe=N({ExchangeIdentification:Y,OutputContent:e8}).register(J,{id:`DeviceInputNotification5`}),zDe=N({DeviceType:p3.register(J,{id:`InputData5.DeviceType`,innerSchema:`SaleCapabilities2Code`}),InformationQualifier:n3.register(J,{id:`InputData5.InformationQualifier`,innerSchema:`InformationQualify1Code`}),InputCommand:r3.register(J,{id:`InputData5.InputCommand`,innerSchema:`InputCommand1Code`}),NotifyCardInputFlag:V3,MaximumInputTime:H3.optional(),InputText:e8.optional(),ImmediateResponseFlag:V3.optional(),WaitUserValidationFlag:V3.optional(),BeepKeyFlag:V3.optional(),GlobalCorrectionFlag:V3.optional(),DisableCancelFlag:V3.optional(),DisableCorrectFlag:V3.optional(),DisableValidFlag:V3.optional(),MenuBackFlag:V3.optional()}).register(J,{id:`InputData5`}),BDe=N({DisplayOutput:e8.optional(),InputData:zDe}).register(J,{id:`DeviceInputRequest5`}),VDe=N({InputCommand:r3.register(J,{id:`InputResultData5.InputCommand`,innerSchema:`InputCommand1Code`}),ConfirmedFlag:V3.optional(),FunctionKey:H3.optional(),InputMessage:Q6.optional(),Password:d6.optional(),ImageCapturedSignature:jDe.optional()}).register(J,{id:`InputResultData5`}),HDe=N({DeviceType:p3.register(J,{id:`InputResult5.DeviceType`,innerSchema:`SaleCapabilities2Code`}),InformationQualifier:n3.register(J,{id:`InputResult5.InformationQualifier`,innerSchema:`InformationQualify1Code`}),InputResultData:VDe}).register(J,{id:`InputResult5`}),UDe=N({OutputResult:L8.optional(),InputResult:HDe}).register(J,{id:`DeviceInputResponse5`}),WDe=N({ResourceType:Bwe.register(J,{id:`ResourceContent1.ResourceType`,innerSchema:`ResourceType1Code`}),ResourceFormat:qwe.optional().register(J,{id:`ResourceContent1.ResourceFormat`,innerSchema:`SoundFormat1Code`}),Language:U3.optional(),ResourceReference:m6.optional()}).register(J,{id:`ResourceContent1`}),GDe=N({ResponseMode:u3.optional().register(J,{id:`DevicePlayResourceRequest1.ResponseMode`,innerSchema:`ResponseMode2Code`}),ResourceAction:zwe.register(J,{id:`DevicePlayResourceRequest1.ResourceAction`,innerSchema:`ResourceAction1Code`}),SoundVolume:Z6.optional(),DisplayResolution:Y.optional(),Resource:WDe.optional(),TimingSlot:Nwe.optional().register(J,{id:`DevicePlayResourceRequest1.TimingSlot`,innerSchema:`ProcessingPosition2Code`})}).register(J,{id:`DevicePlayResourceRequest1`}),KDe=N({PowerOffMaximumWaitingTime:H3.optional(),DisplayOutput:e8.optional()}).register(J,{id:`DevicePoweroffCardReaderRequest5`}),qDe=N({DocumentQualifier:Q4.register(J,{id:`DevicePrintRequest5.DocumentQualifier`,innerSchema:`DocumentType7Code`}),ResponseMode:u3.register(J,{id:`DevicePrintRequest5.ResponseMode`,innerSchema:`ResponseMode2Code`}),IntegratedPrintFlag:V3.optional(),RequiredSignatureFlag:V3.optional(),OutputContent:e8}).register(J,{id:`DevicePrintRequest5`}),JDe=N({DocumentQualifier:Q4.register(J,{id:`DevicePrintResponse1.DocumentQualifier`,innerSchema:`DocumentType7Code`})}).register(J,{id:`DevicePrintResponse1`}),YDe=N({PINRequestType:Cwe.register(J,{id:`DeviceSecureInputRequest5.PINRequestType`,innerSchema:`PINRequestType1Code`}),PINVerificationMethod:Y.optional(),MaximumWaitingTime:H3.optional(),BeepKeyFlag:V3.optional(),CardholderPIN:M6.optional()}).register(J,{id:`DeviceSecureInputRequest5`}),R8=F(sV,j().base64().min(fV(1)).max(fV(256))).register(J,{id:`Min1Max256Binary`}),XDe=N({Class:R8,Instruction:R8,Parameter1:R8,Parameter2:R8,Data:R8.optional(),ExpectedLength:R8.optional()}).register(J,{id:`DeviceSendApplicationProtocolDataUnitCardReaderRequest1`}),ZDe=N({DestinationAddress:k3,MaximumTransmissionTime:H3,MaximumWaitingTime:H3.optional(),MessageToSend:r6}).register(J,{id:`DeviceTransmitMessageRequest2`}),QDe=N({Environment:F6.optional(),Context:G6.optional(),ServiceContent:f3.register(J,{id:`DeviceRequest6.ServiceContent`,innerSchema:`RetailerService8Code`}),DisplayRequest:NDe.optional(),InputRequest:BDe.optional(),PrintRequest:qDe.optional(),PlayResourceRequest:GDe.optional(),SecureInputRequest:YDe.optional(),InitialisationCardReaderRequest:FDe.optional(),CardReaderAPDURequest:XDe.optional(),PowerOffCardReaderRequest:KDe.optional(),TransmissionRequest:ZDe.optional(),InputNotification:RDe.optional(),SupplementaryData:F(H,M(o8)).optional().register(J,{id:`DeviceRequest6.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(J,{id:`DeviceRequest6`}),$De=N({CardholderPIN:M6.optional()}).register(J,{id:`DeviceSecureInputResponse5`}),eOe=N({Data:R8.optional(),CardStatus:R8}).register(J,{id:`DeviceSendApplicationProtocolDataUnitCardReaderResponse1`}),tOe=N({ReceivedMessage:r6.optional()}).register(J,{id:`DeviceTransmitMessageResponse1`}),nOe=N({Environment:F6.optional(),Context:G6.optional(),ServiceContent:Wwe.register(J,{id:`DeviceResponse6.ServiceContent`,innerSchema:`RetailerService9Code`}),DisplayResponse:PDe.optional(),InputResponse:UDe.optional(),PrintResponse:JDe.optional(),SecureInputResponse:$De.optional(),InitialisationCardReaderResponse:LDe.optional(),CardReaderApplicationProtocolDataUnitResponse:eOe.optional(),TransmissionResponse:tOe.optional(),Response:I8,SupplementaryData:F(H,M(o8)).optional().register(J,{id:`DeviceResponse6.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(J,{id:`DeviceResponse6`}),rOe=N({ActionResult:F(H,M(g3).min(1)).register(J,{id:`ErrorAction5.ActionResult`,innerSchema:`TerminalManagementActionResult5Code`}),ActionToProcess:$we.register(J,{id:`ErrorAction5.ActionToProcess`,innerSchema:`TerminalManagementErrorAction2Code`})}).register(J,{id:`ErrorAction5`}),iOe=N({WaitingTime:h8.optional(),StartTime:X3.optional(),EndTime:X3.optional(),Period:h8.optional(),MaximumNumber:H3.optional(),UnitOfTime:_3.optional().register(J,{id:`ProcessTiming5.UnitOfTime`,innerSchema:`TimeUnit1Code`})}).register(J,{id:`ProcessTiming5`}),aOe=N({Type:h3.register(J,{id:`TMSAction11.Type`,innerSchema:`TerminalManagementAction5Code`}),RemoteAccess:k3.optional(),Key:F(H,M(k8)).optional().register(J,{id:`TMSAction11.Key`,innerSchema:`KEKIdentifier5`}),TerminalManagerIdentification:p6.optional(),TMSProtocol:Y.optional(),TMSProtocolVersion:Y.optional(),DataSetIdentification:w8.optional(),ComponentType:F(H,M(Z4)).optional().register(J,{id:`TMSAction11.ComponentType`,innerSchema:`DataSetCategory18Code`}),DelegationScopeIdentification:Y.optional(),DelegationScopeDefinition:l6.optional(),DelegationProof:Z3.optional(),ProtectedDelegationProof:d6.optional(),Trigger:Zwe.optional().register(J,{id:`TMSAction11.Trigger`,innerSchema:`TerminalManagementActionTrigger1Code`}),AdditionalProcess:F(H,M(Qwe)).optional().register(J,{id:`TMSAction11.AdditionalProcess`,innerSchema:`TerminalManagementAdditionalProcess1Code`}),ReTry:g8.optional(),TimeCondition:iOe.optional(),TMChallenge:O3.optional(),KeyEnciphermentCertificate:F(H,M(D3)).optional().register(J,{id:`TMSAction11.KeyEnciphermentCertificate`,innerSchema:`Max10KBinary`}),ErrorAction:F(H,M(rOe)).optional().register(J,{id:`TMSAction11.ErrorAction`,innerSchema:`ErrorAction5`}),AdditionalInformation:F(H,M(l6)).optional().register(J,{id:`TMSAction11.AdditionalInformation`,innerSchema:`Max3000Binary`}),MessageItem:F(H,M(T8)).optional().register(J,{id:`TMSAction11.MessageItem`,innerSchema:`MessageItemCondition2`}),DeviceRequest:QDe.optional()}).register(J,{id:`TMSAction11`}),oOe=N({TMChallenge:O3.optional(),KeyEnciphermentCertificate:F(H,M(D3)).optional().register(J,{id:`ManagementPlanContent11.KeyEnciphermentCertificate`,innerSchema:`Max10KBinary`}),Action:F(H,M(aOe)).optional().register(J,{id:`ManagementPlanContent11.Action`,innerSchema:`TMSAction11`})}).register(J,{id:`ManagementPlanContent11`}),z8=N({POIIdentification:p6,TerminalManagerIdentification:p6,DataSet:N({Identification:w8,SequenceCounter:h8.optional(),LastSequence:V3.optional(),Content:oOe.optional()}).register(J,{id:`TerminalManagementDataSet32`})}).register(J,{id:`ManagementPlan11`}),sOe=N({Header:j8,ManagementPlan:z8,SecurityTrailer:$6.optional()}).register(J,{id:`ManagementPlanReplacementV11`}),cOe=N({TriggerSource:Awe.register(J,{id:`TriggerInformation2.TriggerSource`,innerSchema:`PartyType5Code`}),SourceIdentification:Y,TriggerType:e3.register(J,{id:`TriggerInformation2.TriggerType`,innerSchema:`ExchangePolicy2Code`}),AdditionalInformation:F3.optional()}).register(J,{id:`TriggerInformation2`}),lOe=N({ActionType:h3.register(J,{id:`TMSActionIdentification9.ActionType`,innerSchema:`TerminalManagementAction5Code`}),DataSetIdentification:w8.optional()}).register(J,{id:`TMSActionIdentification9`}),uOe=N({Timestamp:X3,Result:g3.register(J,{id:`TMSEvent10.Result`,innerSchema:`TerminalManagementActionResult5Code`}),ActionIdentification:lOe,AdditionalErrorInformation:F3.optional(),TerminalManagerIdentification:Y.optional(),DeviceResponse:nOe.optional()}).register(J,{id:`TMSEvent10`}),dOe=N({POICapabilities:W3.optional(),POIComponent:F(H,M(_6)).optional().register(J,{id:`StatusReportContent12.POIComponent`,innerSchema:`PointOfInteractionComponent14`}),POIGroupIdentification:F(H,M(Y)).optional().register(J,{id:`StatusReportContent12.POIGroupIdentification`,innerSchema:`Max35Text`}),AttendanceContext:B4.optional().register(J,{id:`StatusReportContent12.AttendanceContext`,innerSchema:`AttendanceContext1Code`}),POIDateTime:X3,DataSetRequired:F(H,M(MDe)).optional().register(J,{id:`StatusReportContent12.DataSetRequired`,innerSchema:`DataSetRequest4`}),Event:F(H,M(uOe)).optional().register(J,{id:`StatusReportContent12.Event`,innerSchema:`TMSEvent10`}),Errors:F(H,M(z3)).optional().register(J,{id:`StatusReportContent12.Errors`,innerSchema:`Max140Text`})}).register(J,{id:`StatusReportContent12`}),fOe=N({Identification:w8,SequenceCounter:h8.optional(),LastSequence:V3.optional(),Content:dOe}).register(J,{id:`StatusReportDataSetRequest4`}),B8=N({POIIdentification:p6,InitiatingTrigger:cOe.optional(),TerminalManagerIdentification:p6,DataSet:fOe}).register(J,{id:`StatusReport12`}),pOe=N({Header:j8,StatusReport:B8,SecurityTrailer:$6.optional()}).register(J,{id:`StatusReportV12`}),mOe=N({Header:j8,Reject:P8}).register(J,{id:`TerminalManagementRejectionV05`});YO([u8,j8,F8]).register(J,{id:`UnionOfHeaders`}),YO([s8,v8,S8,C8,y8,x8,M8,B8,N8,P8,z8,A8]).register(J,{id:`UnionOfMessageBodies`});var V8=N({AcceptorAuthorisationRequest:qEe}).register(J,{id:`caaa_001_001_12`});YO([V8,N({AcceptorAuthorisationResponse:$Ee}).register(J,{id:`caaa_002_001_12`}),N({AcceptorCompletionAdvice:cDe}).register(J,{id:`caaa_003_001_12`}),N({AcceptorCompletionAdviceResponse:sDe}).register(J,{id:`caaa_004_001_11`}),N({AcceptorCancellationAdvice:iDe}).register(J,{id:`caaa_007_001_12`}),N({AcceptorCancellationAdviceResponse:rDe}).register(J,{id:`caaa_008_001_11`}),N({AcceptorDiagnosticRequest:ODe}).register(J,{id:`caaa_013_001_11`}),N({AcceptorDiagnosticResponse:kDe}).register(J,{id:`caaa_014_001_10`}),N({AcceptorRejection:ADe}).register(J,{id:`caaa_015_001_06`}),N({StatusReport:pOe}).register(J,{id:`catm_001_001_12`}),N({ManagementPlanReplacement:sOe}).register(J,{id:`catm_002_001_11`}),N({AcceptorConfigurationUpdate:DDe}).register(J,{id:`catm_003_001_12`}),N({TerminalManagementRejection:mOe}).register(J,{id:`catm_004_001_05`})]).register(J,{id:`UnionOfMessages`}),YO([d8,$6]).register(J,{id:`UnionOfSecurityTrailers`});var X=`optionsNorm`,Z=`optionsByNormKey`,H8=lV,Q=fw(),hOe=P(gV[X]).register(Q,{id:`AccountChoiceMethod1Code`}).transform(U(bV[Z])),gOe=P(xV[X]).register(Q,{id:`ActionType13Code`}).transform(U(TV[Z])),U8=P(EV[X]).register(Q,{id:`AddressType2Code`}).transform(U(AV[Z])),_Oe=P(jV[X]).register(Q,{id:`Algorithm11Code`}).transform(U(FV[Z])),W8=P(IV[X]).register(Q,{id:`Algorithm16Code`}).transform(U(BV[Z])),vOe=P(VV[X]).register(Q,{id:`Algorithm17Code`}).transform(U(GV[Z])),yOe=P(KV[X]).register(Q,{id:`Algorithm24Code`}).transform(U(XV[Z])),bOe=P(ZV[X]).register(Q,{id:`Algorithm25Code`}).transform(U(tH[Z])),xOe=P(nH[X]).register(Q,{id:`Algorithm7Code`}).transform(U(oH[Z])),G8=P(sH[X]).register(Q,{id:`Algorithm8Code`}).transform(U(dH[Z])),SOe=P(fH[X]).register(Q,{id:`AmountUnit1Code`}).transform(U(gH[Z])),K8=P(_H[X]).register(Q,{id:`AttendanceContext1Code`}).transform(U(xH[Z])),COe=P(SH[X]).register(Q,{id:`AttendanceContext2Code`}).transform(U(EH[Z])),wOe=P(DH[X]).register(Q,{id:`AttributeType1Code`}).transform(U(jH[Z])),TOe=P(MH[X]).register(Q,{id:`AuthenticationEntity2Code`}).transform(U(IH[Z])),EOe=P(LH[X]).register(Q,{id:`AuthenticationMethod6Code`}).transform(U(VH[Z])),DOe=P(HH[X]).register(Q,{id:`AuthenticationMethod8Code`}).transform(U(KH[Z])),OOe=P(qH[X]).register(Q,{id:`AuthenticationResult1Code`}).transform(U(ZH[Z])),kOe=P(QH[X]).register(Q,{id:`BarcodeType1Code`}).transform(U(nU[Z])),AOe=P(rU[X]).register(Q,{id:`BatchTransactionType1Code`}).transform(U(sU[Z])),jOe=P(cU[X]).register(Q,{id:`BusinessArea2Code`}).transform(U(fU[Z])),q8=P(pU[X]).register(Q,{id:`BytePadding1Code`}).transform(U(_U[Z])),MOe=P(vU[X]).register(Q,{id:`CancellationProcess2Code`}).transform(U(SU[Z])),J8=P(CU[X]).register(Q,{id:`CardAccountType3Code`}).transform(U(DU[Z])),Y8=P(OU[X]).register(Q,{id:`CardDataReading5Code`}).transform(U(MU[Z])),X8=P(NU[X]).register(Q,{id:`CardDataReading8Code`}).transform(U(LU[Z])),NOe=P(RU[X]).register(Q,{id:`CardFallback1Code`}).transform(U(HU[Z])),Z8=P(JU[X]).register(Q,{id:`CardIdentificationType1Code`}).transform(U(QU[Z])),Q8=P($U[X]).register(Q,{id:`CardPaymentServiceType12Code`}).transform(U(rW[Z])),$8=P(iW[X]).register(Q,{id:`CardPaymentServiceType14Code`}).transform(U(cW[Z])),e5=P(lW[X]).register(Q,{id:`CardPaymentServiceType9Code`}).transform(U(pW[Z])),POe=P(mW[X]).register(Q,{id:`CardProductType1Code`}).transform(U(vW[Z])),FOe=P(UU[X]).register(Q,{id:`CardholderVerificationCapability4Code`}).transform(U(qU[Z])),IOe=P(yW[X]).register(Q,{id:`CheckType1Code`}).transform(U(CW[Z])),t5=P(wW[X]).register(Q,{id:`ContentType2Code`}).transform(U(OW[Z])),n5=P(kW[X]).register(Q,{id:`CryptographicKeyType3Code`}).transform(U(NW[Z])),LOe=P(PW[X]).register(Q,{id:`DataSetCategory10Code`}).transform(U(RW[Z])),r5=P(zW[X]).register(Q,{id:`DataSetCategory18Code`}).transform(U(UW[Z])),i5=P(WW[X]).register(Q,{id:`DocumentType7Code`}).transform(U(JW[Z])),a5=P(YW[X]).register(Q,{id:`EncryptionFormat2Code`}).transform(U($W[Z])),o5=P(eG[X]).register(Q,{id:`ExchangePolicy2Code`}).transform(U(iG[Z])),ROe=P(aG[X]).register(Q,{id:`Exemption1Code`}).transform(U(lG[Z])),s5=P(uG[X]).register(Q,{id:`FailureReason3Code`}).transform(U(mG[Z])),zOe=P(hG[X]).register(Q,{id:`FinancialCapture1Code`}).transform(U(yG[Z])),BOe=P(bG[X]).register(Q,{id:`Frequency3Code`}).transform(U(wG[Z])),VOe=P(TG[X]).register(Q,{id:`GracePeriodUnitType1Code`}).transform(U(kG[Z])),c5=P(AG[X]).register(Q,{id:`InformationQualify1Code`}).transform(U(PG[Z])),l5=P(FG[X]).register(Q,{id:`InputCommand1Code`}).transform(U(zG[Z])),HOe=P(BG[X]).register(Q,{id:`InstalmentAmountDetailsType1Code`}).transform(U(WG[Z])),UOe=P(GG[X]).register(Q,{id:`InstalmentPeriod1Code`}).transform(U(YG[Z])),WOe=P(XG[X]).register(Q,{id:`InstalmentPlan1Code`}).transform(U(eK[Z])),GOe=P(tK[X]).register(Q,{id:`InterestRate1Code`}).transform(U(aK[Z])),u5=P(oK[X]).register(Q,{id:`KeyUsage1Code`}).transform(U(uK[Z])),KOe=P(dK[X]).register(Q,{id:`LocationCategory3Code`}).transform(U(hK[Z])),qOe=P(gK[X]).register(Q,{id:`LocationCategory4Code`}).transform(U(bK[Z])),JOe=P(xK[X]).register(Q,{id:`LoyaltyHandling1Code`}).transform(U(TK[Z])),YOe=P(EK[X]).register(Q,{id:`MemoryUnit1Code`}).transform(U(AK[Z])),XOe=P(jK[X]).register(Q,{id:`MessageFunction43Code`}).transform(U(FK[Z])),ZOe=P(IK[X]).register(Q,{id:`MessageFunction46Code`}).transform(U(BK[Z])),QOe=P(VK[X]).register(Q,{id:`MessageFunction9Code`}).transform(U(GK[Z])),$Oe=P(KK[X]).register(Q,{id:`MessageItemCondition2Code`}).transform(U(XK[Z])),eke=P(ZK[X]).register(Q,{id:`NetworkType1Code`}).transform(U(tq[Z])),tke=P(nq[X]).register(Q,{id:`NetworkType2Code`}).transform(U(oq[Z])),nke=P(sq[X]).register(Q,{id:`NonFinancialRequestType2Code`}).transform(U(dq[Z])),rke=P(fq[X]).register(Q,{id:`OnLineCapability1Code`}).transform(U(gq[Z])),ike=P(_q[X]).register(Q,{id:`OnLineReason2Code`}).transform(U(xq[Z])),d5=P(Sq[X]).register(Q,{id:`OutputFormat1Code`}).transform(U(Eq[Z])),ake=P(Dq[X]).register(Q,{id:`OutputFormat3Code`}).transform(U(jq[Z])),oke=P(pJ[X]).register(Q,{id:`PINFormat3Code`}).transform(U(_J[Z])),ske=P(vJ[X]).register(Q,{id:`PINRequestType1Code`}).transform(U(SJ[Z])),f5=P(OJ[X]).register(Q,{id:`POICommunicationType2Code`}).transform(U(MJ[Z])),cke=P(NJ[X]).register(Q,{id:`POIComponentAssessment1Code`}).transform(U(LJ[Z])),lke=P(RJ[X]).register(Q,{id:`POIComponentStatus1Code`}).transform(U(HJ[Z])),uke=P(UJ[X]).register(Q,{id:`POIComponentType6Code`}).transform(U(qJ[Z])),dke=P(Mq[X]).register(Q,{id:`PartyType14Code`}).transform(U(Iq[Z])),fke=P(Lq[X]).register(Q,{id:`PartyType15Code`}).transform(U(Vq[Z])),p5=P(Hq[X]).register(Q,{id:`PartyType33Code`}).transform(U(Kq[Z])),pke=P(qq[X]).register(Q,{id:`PartyType3Code`}).transform(U(Zq[Z])),m5=P(Qq[X]).register(Q,{id:`PartyType4Code`}).transform(U(nJ[Z])),mke=P(rJ[X]).register(Q,{id:`PartyType5Code`}).transform(U(sJ[Z])),hke=P(cJ[X]).register(Q,{id:`PartyType7Code`}).transform(U(fJ[Z])),gke=P(CJ[X]).register(Q,{id:`PlanOwner1Code`}).transform(U(DJ[Z])),_ke=P(JJ[X]).register(Q,{id:`ProcessingPosition2Code`}).transform(U(QJ[Z])),vke=P($J[X]).register(Q,{id:`QRCodeEncodingMode1Code`}).transform(U(rY[Z])),yke=P(iY[X]).register(Q,{id:`QRCodeErrorCorrection1Code`}).transform(U(cY[Z])),bke=P(lY[X]).register(Q,{id:`ReconciliationCriteria1Code`}).transform(U(pY[Z])),xke=P(mY[X]).register(Q,{id:`RejectReason1Code`}).transform(U(vY[Z])),Ske=P(yY[X]).register(Q,{id:`RejectReason2Code`}).transform(U(CY[Z])),Cke=P(wY[X]).register(Q,{id:`ResourceAction1Code`}).transform(U(OY[Z])),wke=P(kY[X]).register(Q,{id:`ResourceType1Code`}).transform(U(NY[Z])),Tke=P(PY[X]).register(Q,{id:`Response11Code`}).transform(U(RY[Z])),h5=P(zY[X]).register(Q,{id:`Response9Code`}).transform(U(UY[Z])),g5=P(WY[X]).register(Q,{id:`ResponseMode2Code`}).transform(U(JY[Z])),_5=P(YY[X]).register(Q,{id:`RetailerMessage1Code`}).transform(U($Y[Z])),Eke=P(eX[X]).register(Q,{id:`RetailerResultDetail1Code`}).transform(U(iX[Z])),Dke=P(aX[X]).register(Q,{id:`RetailerService2Code`}).transform(U(lX[Z])),v5=P(uX[X]).register(Q,{id:`RetailerService8Code`}).transform(U(mX[Z])),Oke=P(hX[X]).register(Q,{id:`RetailerService9Code`}).transform(U(yX[Z])),kke=P(bX[X]).register(Q,{id:`SaleCapabilities1Code`}).transform(U(wX[Z])),y5=P(TX[X]).register(Q,{id:`SaleCapabilities2Code`}).transform(U(kX[Z])),Ake=P(AX[X]).register(Q,{id:`SaleTokenScope1Code`}).transform(U(PX[Z])),jke=P(FX[X]).register(Q,{id:`SoundFormat1Code`}).transform(U(zX[Z])),Mke=P(BX[X]).register(Q,{id:`StoredValueAccountType1Code`}).transform(U(WX[Z])),Nke=P(GX[X]).register(Q,{id:`SupportedPaymentOption2Code`}).transform(U(YX[Z])),Pke=P(jZ[X]).register(Q,{id:`TMSContactLevel1Code`}).transform(U(FZ[Z])),b5=P(XX[X]).register(Q,{id:`TerminalManagementAction3Code`}).transform(U(eZ[Z])),x5=P(tZ[X]).register(Q,{id:`TerminalManagementAction5Code`}).transform(U(aZ[Z])),S5=P(oZ[X]).register(Q,{id:`TerminalManagementActionResult5Code`}).transform(U(uZ[Z])),Fke=P(dZ[X]).register(Q,{id:`TerminalManagementActionTrigger1Code`}).transform(U(hZ[Z])),Ike=P(gZ[X]).register(Q,{id:`TerminalManagementAdditionalProcess1Code`}).transform(U(bZ[Z])),Lke=P(xZ[X]).register(Q,{id:`TerminalManagementErrorAction2Code`}).transform(U(TZ[Z])),C5=P(EZ[X]).register(Q,{id:`TimeUnit1Code`}).transform(U(AZ[Z])),Rke=P(IZ[X]).register(Q,{id:`TrackFormat1Code`}).transform(U(BZ[Z])),zke=P(VZ[X]).register(Q,{id:`TransactionChannel5Code`}).transform(U(GZ[Z])),Bke=P(KZ[X]).register(Q,{id:`TransactionEnvironment1Code`}).transform(U(XZ[Z])),w5=P(ZZ[X]).register(Q,{id:`TypeOfAmount8Code`}).transform(U(tQ[Z])),T5=P(nQ[X]).register(Q,{id:`UnitOfMeasure6Code`}).transform(U(oQ[Z])),E5=P(sQ[X]).register(Q,{id:`UserInterface4Code`}).transform(U(dQ[Z])),Vke=P(fQ[X]).register(Q,{id:`Verification1Code`}).transform(U(gQ[Z])),D5=P(`AED.AFN.ALL.AMD.ANG.AOA.ARS.AUD.AWG.AZN.BAM.BBD.BDT.BGN.BHD.BIF.BMD.BND.BOB.BRL.BSD.BTN.BWP.BYN.BZD.CAD.CDF.CHF.CKD.CLP.CNY.COP.CRC.CUC.CUP.CVE.CZK.DJF.DKK.DOP.DZD.EGP.EHP.ERN.ETB.EUR.FJD.FKP.FOK.GBP.GEL.GGP.GHS.GIP.GMD.GNF.GTQ.GYD.HKD.HNL.HRK.HTG.HUF.IDR.ILS.IMP.INR.IQD.IRR.ISK.JEP.JMD.JOD.JPY.KES.KGS.KHR.KID.KMF.KPW.KRW.KWD.KYD.KZT.LAK.LBP.LKR.LRD.LSL.LYD.MAD.MDL.MGA.MKD.MMK.MNT.MOP.MRU.MUR.MVR.MWK.MXN.MYR.MZN.NAD.NGN.NIO.NOK.NPR.NZD.OMR.PAB.PEN.PGK.PHP.PKR.PLN.PND.PRB.PYG.QAR.RON.RSD.RUB.RWF.SAR.SBD.SCR.SDG.SEK.SGD.SHP.SLL.SLS.SOS.SRD.SSP.STN.SVC.SYP.SZL.THB.TJS.TMT.TND.TOP.TRY.TTD.TVD.TWD.TZS.UAH.UGX.USD.UYU.UZS.VED.VES.VND.VUV.WST.XAF.XCD.XOF.XPF.YER.ZAR.ZMW.ZWB.ZWL`.split(`.`)).register(Q,{id:`ActiveCurrencyCode`}),Hke=N({Value:mA().int().lte(0xde0b6b3a7640000).nonnegative(),Currency:D5.register(Q,{id:`CurrencyAndAmount.Currency`,innerSchema:`ActiveCurrencyCode`})}).transform(H8(`Currency`,[`Value`])).register(Q,{id:`CurrencyAndAmount`}),O5=mA().int().lte(0xde0b6b3a7640000).nonnegative().register(Q,{id:`ImpliedCurrencyAndAmount`}),k5=P([`plus`,`minus`]).transform(e=>e===`plus`).register(Q,{id:`PlusOrMinusIndicator`}),$=j().min(1).max(35).register(Q,{id:`Max35Text`}),A5=j().regex(hV).min(2).max(3).register(Q,{id:`Min2Max3AlphaText`}),j5=j().min(1).max(500).register(Q,{id:`Max500Text`}),Uke=N({NetworkType:eke.register(Q,{id:`NetworkParameters9.NetworkType`,innerSchema:`NetworkType1Code`}),AddressValue:j5}).register(Q,{id:`NetworkParameters9`}),M5=F(sV,j().base64().max(fV(35))).register(Q,{id:`Max35Binary`}),N5=F(sV,j().base64().max(fV(102400))).register(Q,{id:`Max10KBinary`}),P5=F(sV,j().base64().max(fV(140))).register(Q,{id:`Max140Binary`}),F5=N({Address:F(H,M(Uke).nonempty()).register(Q,{id:`NetworkParameters7.Address`,innerSchema:`NetworkParameters9`}),UserName:$.optional(),AccessCode:M5.optional(),ServerCertificate:F(H,M(N5).min(0).optional()).register(Q,{id:`NetworkParameters7.ServerCertificate`,innerSchema:`Max10KBinary`}),ServerCertificateIdentifier:F(H,M(P5).min(0).optional()).register(Q,{id:`NetworkParameters7.ServerCertificateIdentifier`,innerSchema:`Max140Binary`}),ClientCertificate:F(H,M(N5).min(0).optional()).register(Q,{id:`NetworkParameters7.ClientCertificate`,innerSchema:`Max10KBinary`}),SecurityProfile:$.optional()}).register(Q,{id:`NetworkParameters7`}),Wke=N({Latitude:$,Longitude:$}).register(Q,{id:`GeolocationGeographicCoordinates1`}),Gke=N({UTMZone:$,UTMEastward:$,UTMNorthward:$}).register(Q,{id:`GeolocationUTMCoordinates1`}),I5=N({GeographicCoordinates:Wke.optional(),UTMCoordinates:Gke.optional()}).register(Q,{id:`Geolocation1`}),L5=N({Identification:$,Type:p5.optional().register(Q,{id:`GenericIdentification177.Type`,innerSchema:`PartyType33Code`}),Issuer:p5.optional().register(Q,{id:`GenericIdentification177.Issuer`,innerSchema:`PartyType33Code`}),Country:A5.optional(),ShortName:$.optional(),RemoteAccess:F5.optional(),Geolocation:I5.optional()}).register(Q,{id:`GenericIdentification177`}),R5=j().min(1).max(256).register(Q,{id:`Max256Text`}),z5=N({Identification:L5.optional(),ParametersVersion:R5.optional()}).register(Q,{id:`Acquirer10`}),B5=N({Identification:$,Type:pke.optional().register(Q,{id:`GenericIdentification32.Type`,innerSchema:`PartyType3Code`}),Issuer:m5.optional().register(Q,{id:`GenericIdentification32.Issuer`,innerSchema:`PartyType4Code`}),ShortName:$.optional()}).register(Q,{id:`GenericIdentification32`}),V5=j().min(1).max(70).register(Q,{id:`Max70Text`}),H5=j().min(1).max(16).register(Q,{id:`Max16Text`}),U5=N({AddressType:U8.optional().register(Q,{id:`PostalAddress22.AddressType`,innerSchema:`AddressType2Code`}),Department:V5.optional(),SubDepartment:V5.optional(),AddressLine:F(H,M(V5).max(2)).optional().register(Q,{id:`PostalAddress22.AddressLine`,innerSchema:`Max70Text`}),StreetName:V5.optional(),BuildingNumber:H5.optional(),PostCode:H5.optional(),TownName:V5.optional(),CountrySubDivision:F(H,M($).max(2)).optional().register(Q,{id:`PostalAddress22.CountrySubDivision`,innerSchema:`Max35Text`}),CountryCode:A5.optional()}).refine(V.check,V.params).register(Q,{id:`PostalAddress22`}),W5=j().min(4).max(35).regex(/^\+[0-9]{1,3}-[0-9()+\-]{1,30}$/,`Phone number must start with '+' followed by 1-3 digits for country code, a hyphen, then 1-30 characters of numbers/parentheses/plus/hyphens`).register(Q,{id:`PhoneNumber`}),Kke=N({PostalAddress:U5.optional(),Email:R5.optional(),URLAddress:R5.optional(),Phone:W5.optional(),CustomerService:W5.optional(),AdditionalContactInformation:R5.optional()}).refine(V.check,V.params).register(Q,{id:`CommunicationAddress9`}),G5=j().min(1).max(140).register(Q,{id:`Max140Text`}),qke=N({Identification:B5.optional(),CommonName:V5.optional(),LocationCategory:qOe.optional().register(Q,{id:`Organisation41.LocationCategory`,innerSchema:`LocationCategory4Code`}),LocationAndContact:Kke.optional(),SchemeData:G5.optional()}).refine(V.check,V.params).register(Q,{id:`Organisation41`}),K5=mA().int().positive().lte(0xde0b6b3a7640000).register(Q,{id:`PositiveNumber`}),q5=xO().register(Q,{id:`TrueFalseIndicator`}),J5=mA().int().gte(-0xde0b6b3a7640000).lte(0xde0b6b3a7640000).register(Q,{id:`WholeNumber`}),Y5=P(`aa.ab.ae.af.ak.am.an.ar.as.av.ay.az.ba.be.bg.bh.bi.bm.bn.bo.br.bs.ca.ce.ch.co.cr.cs.cu.cv.cy.da.de.dv.dz.ee.el.en.eo.es.et.eu.fa.ff.fi.fj.fo.fr.fy.ga.gd.gl.gn.gu.gv.ha.he.hi.ho.hr.ht.hu.hy.hz.ia.id.ie.ig.ii.ik.io.is.it.iu.ja.jv.ka.kg.ki.kj.kk.kl.km.kn.ko.kr.ks.ku.kv.kw.ky.la.lb.lg.li.ln.lo.lt.lu.lv.mg.mh.mi.mk.ml.mn.mr.ms.mt.my.na.nb.nd.ne.ng.nl.nn.no.nr.nv.ny.oc.oj.om.or.os.pa.pi.pl.ps.pt.qu.rm.rn.ro.ru.rw.sa.sc.sd.se.sg.si.sk.sl.sm.sn.so.sq.sr.ss.st.su.sv.sw.ta.te.tg.th.ti.tk.tl.tn.to.tr.ts.tt.tw.ty.ug.uk.ur.uz.ve.vi.vo.wa.wo.xh.yi.yo.za.zh.zu`.split(`.`)).register(Q,{id:`LanguageCode`}),Jke=N({Destination:F(H,M(E5).nonempty()).register(Q,{id:`DisplayCapabilities4.Destination`,innerSchema:`UserInterface4Code`}),AvailableFormat:F(H,M(d5)).optional().register(Q,{id:`DisplayCapabilities4.AvailableFormat`,innerSchema:`OutputFormat1Code`}),NumberOfLines:J5.optional(),LineWidth:J5.optional(),AvailableLanguage:F(H,M(Y5)).optional().register(Q,{id:`DisplayCapabilities4.AvailableLanguage`,innerSchema:`LanguageCode`})}).refine(V.check,V.params).register(Q,{id:`DisplayCapabilities4`}),X5=N({CardReadingCapabilities:F(H,M(X8)).optional().register(Q,{id:`PointOfInteractionCapabilities9.CardReadingCapabilities`,innerSchema:`CardDataReading8Code`}),CardholderVerificationCapabilities:F(H,M(FOe)).optional().register(Q,{id:`PointOfInteractionCapabilities9.CardholderVerificationCapabilities`,innerSchema:`CardholderVerificationCapability4Code`}),PINLengthCapabilities:K5.optional().register(Q,{id:`PointOfInteractionCapabilities9.PINLengthCapabilities`,innerSchema:`PositiveNumber`}),ApprovalCodeLength:K5.optional(),MaxScriptLength:K5.optional(),CardCaptureCapable:q5.optional(),OnLineCapabilities:rke.optional().register(Q,{id:`PointOfInteractionCapabilities9.OnLineCapabilities`,innerSchema:`OnLineCapability1Code`}),MessageCapabilities:F(H,M(Jke)).optional().register(Q,{id:`PointOfInteractionCapabilities9.MessageCapabilities`,innerSchema:`DisplayCapabilities4`})}).refine(V.check,V.params).register(Q,{id:`PointOfInteractionCapabilities9`}),Z5=N({ItemNumber:$.optional(),ProviderIdentification:$.optional(),Identification:R5.optional(),SerialNumber:R5.optional()}).refine(V.check,V.params).register(Q,{id:`PointOfInteractionComponentIdentification2`}),Q5=j().date().register(Q,{id:`ISODate`}),Yke=N({VersionNumber:R5.optional(),Status:lke.optional().register(Q,{id:`PointOfInteractionComponentStatus3.Status`,innerSchema:`POIComponentStatus1Code`}),ExpiryDate:Q5.optional()}).refine(V.check,V.params).register(Q,{id:`PointOfInteractionComponentStatus3`}),Xke=N({Identification:$,Version:$,Issuer:$}).register(Q,{id:`GenericIdentification48`}),$5=pO().gte(-0xde0b6b3a7640000).lte(0xde0b6b3a7640000).register(Q,{id:`DecimalNumber`}),Zke=N({Identification:$,TotalSize:$5,FreeSize:$5,Unit:YOe.register(Q,{id:`MemoryCharacteristics1.Unit`,innerSchema:`MemoryUnit1Code`})}).register(Q,{id:`MemoryCharacteristics1`}),Qke=F(sV,j().base64().max(fV(2048))).register(Q,{id:`Max2KBinary`}),e7=N({InterfaceName:$,InterfaceType:f5.optional().register(Q,{id:`PhysicalInterfaceParameter1.InterfaceType`,innerSchema:`POICommunicationType2Code`}),UserName:$.optional(),AccessCode:M5.optional(),SecurityProfile:$.optional(),AdditionalParameters:Qke.optional()}).register(Q,{id:`PhysicalInterfaceParameter1`}),$ke=N({CommunicationType:f5.register(Q,{id:`CommunicationCharacteristics5.CommunicationType`,innerSchema:`POICommunicationType2Code`}),RemoteParty:F(H,M(hke).nonempty()).register(Q,{id:`CommunicationCharacteristics5.RemoteParty`,innerSchema:`PartyType7Code`}),Active:q5,Parameters:F5.optional(),PhysicalInterface:e7.optional()}).register(Q,{id:`CommunicationCharacteristics5`}),t7=j().min(1).max(350).register(Q,{id:`Max350Text`}),n7=j().datetime({offset:!0,local:!0}).register(Q,{id:`ISODateTime`}),r7=F(sV,j().base64().max(fV(5e3))).register(Q,{id:`Max5000Binary`}),eAe=N({Certificate:F(H,M(r7)).optional().register(Q,{id:`OriginatorInformation1.Certificate`,innerSchema:`Max5000Binary`})}).refine(V.check,V.params).register(Q,{id:`OriginatorInformation1`}),tAe=N({RelativeDistinguishedName:F(H,M(N({AttributeType:wOe.register(Q,{id:`RelativeDistinguishedName1.AttributeType`,innerSchema:`AttributeType1Code`}),AttributeValue:G5}).register(Q,{id:`RelativeDistinguishedName1`})).nonempty()).register(Q,{id:`CertificateIssuer1.RelativeDistinguishedName`,innerSchema:`RelativeDistinguishedName1`})}).register(Q,{id:`CertificateIssuer1`}),i7=F(sV,j().base64().max(fV(500))).register(Q,{id:`Max500Binary`}),a7=N({IssuerAndSerialNumber:N({Issuer:tAe,SerialNumber:i7}).register(Q,{id:`IssuerAndSerialNumber2`}).optional(),SubjectKeyIdentifier:P5.optional()}).refine(aV.check,aV.params).register(Q,{id:`Recipient13Choice`}),nAe=N({DigestAlgorithm:W8.optional().register(Q,{id:`Parameter9.DigestAlgorithm`,innerSchema:`Algorithm16Code`})}).register(Q,{id:`Parameter9`}),rAe=N({Algorithm:G8.register(Q,{id:`AlgorithmIdentification18.Algorithm`,innerSchema:`Algorithm8Code`}),Parameter:nAe.optional()}).register(Q,{id:`AlgorithmIdentification18`}),iAe=N({EncryptionFormat:a5.optional().register(Q,{id:`Parameter10.EncryptionFormat`,innerSchema:`EncryptionFormat2Code`}),DigestAlgorithm:W8.optional().register(Q,{id:`Parameter10.DigestAlgorithm`,innerSchema:`Algorithm16Code`}),MaskGeneratorAlgorithm:rAe.optional()}).register(Q,{id:`Parameter10`}),aAe=N({Algorithm:xOe.register(Q,{id:`AlgorithmIdentification19.Algorithm`,innerSchema:`Algorithm7Code`}),Parameter:iAe.optional()}).register(Q,{id:`AlgorithmIdentification19`}),oAe=N({Version:J5.optional(),RecipientIdentification:a7,KeyEncryptionAlgorithm:aAe,EncryptedKey:r7}).register(Q,{id:`KeyTransport9`}),o7=N({KeyIdentification:G5,KeyVersion:G5,SequenceNumber:J5.optional(),DerivationIdentification:i7.optional()}).register(Q,{id:`KEKIdentifier7`}),sAe=N({EncryptionFormat:a5.optional().register(Q,{id:`Parameter12.EncryptionFormat`,innerSchema:`EncryptionFormat2Code`}),InitialisationVector:i7.optional(),BytePadding:q8.optional().register(Q,{id:`Parameter12.BytePadding`,innerSchema:`BytePadding1Code`})}).register(Q,{id:`Parameter12`}),s7=N({Algorithm:yOe.register(Q,{id:`AlgorithmIdentification29.Algorithm`,innerSchema:`Algorithm24Code`}),Parameter:sAe.optional()}).register(Q,{id:`AlgorithmIdentification29`}),cAe=N({Version:J5.optional(),KEKIdentification:o7,KeyEncryptionAlgorithm:s7,EncryptedKey:i7.optional()}).register(Q,{id:`KEK8`}),c7=N({KeyTransport:oAe.optional(),KEK:cAe.optional(),KeyIdentifier:o7.optional()}).refine(aV.check,aV.params).register(Q,{id:`Recipient14Choice`}),l7=F(sV,j().base64().max(fV(102400))).register(Q,{id:`Max100KBinary`}),lAe=N({ContentType:t5.register(Q,{id:`EncryptedContent6.ContentType`,innerSchema:`ContentType2Code`}),ContentEncryptionAlgorithm:s7.optional(),EncryptedData:l7}).register(Q,{id:`EncryptedContent6`}),u7=N({Version:J5.optional(),OriginatorInformation:eAe.optional(),Recipient:F(H,M(c7).nonempty()).register(Q,{id:`EnvelopedData10.Recipient`,innerSchema:`Recipient14Choice`}),EncryptedContent:lAe.optional()}).register(Q,{id:`EnvelopedData10`}),uAe=N({InitialisationVector:i7.optional(),BytePadding:q8.optional().register(Q,{id:`Parameter7.BytePadding`,innerSchema:`BytePadding1Code`})}).refine(V.check,V.params).register(Q,{id:`Parameter7`}),dAe=N({Algorithm:vOe.register(Q,{id:`AlgorithmIdentification22.Algorithm`,innerSchema:`Algorithm17Code`}),Parameter:uAe.optional()}).register(Q,{id:`AlgorithmIdentification22`}),d7=N({ContentType:t5.register(Q,{id:`EncapsulatedContent3.ContentType`,innerSchema:`ContentType2Code`}),Content:l7.optional()}).register(Q,{id:`EncapsulatedContent3`}),f7=N({Version:J5.optional(),Recipient:F(H,M(c7).nonempty()).register(Q,{id:`AuthenticatedData9.Recipient`,innerSchema:`Recipient14Choice`}),MACAlgorithm:dAe,EncapsulatedContent:d7,MAC:P5}).register(Q,{id:`AuthenticatedData9`}),p7=N({Algorithm:W8.register(Q,{id:`AlgorithmIdentification21.Algorithm`,innerSchema:`Algorithm16Code`})}).register(Q,{id:`AlgorithmIdentification21`}),m7=N({Name:V5,Value:G5.optional()}).register(Q,{id:`GenericInformation1`}),fAe=N({DigestAlgorithm:_Oe.optional().register(Q,{id:`Parameter5.DigestAlgorithm`,innerSchema:`Algorithm11Code`})}).refine(V.check,V.params).register(Q,{id:`Parameter5`}),pAe=N({Algorithm:G8.register(Q,{id:`AlgorithmIdentification12.Algorithm`,innerSchema:`Algorithm8Code`}),Parameter:fAe.optional()}).register(Q,{id:`AlgorithmIdentification12`}),mAe=N({DigestAlgorithm:W8.optional().register(Q,{id:`Parameter15.DigestAlgorithm`,innerSchema:`Algorithm16Code`}),MaskGeneratorAlgorithm:pAe.optional(),SaltLength:J5.optional(),TrailerField:J5.optional(),OIDCurveName:G5.optional()}).refine(V.check,V.params).register(Q,{id:`Parameter15`}),hAe=N({Algorithm:bOe.register(Q,{id:`AlgorithmIdentification30.Algorithm`,innerSchema:`Algorithm25Code`}),Parameter:mAe.optional()}).register(Q,{id:`AlgorithmIdentification30`}),h7=F(sV,j().base64().max(fV(3e3))).register(Q,{id:`Max3000Binary`}),gAe=N({Version:J5.optional(),SignerIdentification:a7.optional(),DigestAlgorithm:p7,SignedAttributes:F(H,M(m7)).optional().register(Q,{id:`Signer7.SignedAttributes`,innerSchema:`GenericInformation1`}),SignatureAlgorithm:hAe,Signature:h7}).register(Q,{id:`Signer7`}),g7=N({Version:J5.optional(),DigestAlgorithm:F(H,M(p7)).optional().register(Q,{id:`SignedData8.DigestAlgorithm`,innerSchema:`AlgorithmIdentification21`}),EncapsulatedContent:d7.optional(),Certificate:F(H,M(r7)).optional().register(Q,{id:`SignedData8.Certificate`,innerSchema:`Max5000Binary`}),Signer:F(H,M(gAe)).optional().register(Q,{id:`SignedData8.Signer`,innerSchema:`Signer7`})}).refine(V.check,V.params).register(Q,{id:`SignedData8`}),_Ae=N({Version:J5.optional(),DigestAlgorithm:p7,EncapsulatedContent:d7,Digest:P5}).register(Q,{id:`DigestedData5`}),_7=N({ContentType:t5.register(Q,{id:`ContentInformationType34.ContentType`,innerSchema:`ContentType2Code`}),EnvelopedData:u7.optional(),AuthenticatedData:f7.optional(),SignedData:g7.optional(),DigestedData:_Ae.optional()}).register(Q,{id:`ContentInformationType34`}),v7=N({Identification:t7,AdditionalIdentification:M5.optional(),Name:R5.optional(),SecurityProfile:$.optional(),ItemNumber:$.optional(),Version:R5,Type:n5.optional().register(Q,{id:`CryptographicKey17.Type`,innerSchema:`CryptographicKeyType3Code`}),Function:F(H,M(u5)).optional().register(Q,{id:`CryptographicKey17.Function`,innerSchema:`KeyUsage1Code`}),ActivationDate:n7.optional(),DeactivationDate:n7.optional(),KeyValue:_7.optional(),KeyCheckValue:M5.optional(),AdditionalManagementInformation:F(H,M(m7)).optional().register(Q,{id:`CryptographicKey17.AdditionalManagementInformation`,innerSchema:`GenericInformation1`})}).register(Q,{id:`CryptographicKey17`}),vAe=N({Memory:F(H,M(Zke)).optional().register(Q,{id:`PointOfInteractionComponentCharacteristics9.Memory`,innerSchema:`MemoryCharacteristics1`}),Communication:F(H,M($ke)).optional().register(Q,{id:`PointOfInteractionComponentCharacteristics9.Communication`,innerSchema:`CommunicationCharacteristics5`}),SecurityAccessModules:J5.optional(),SubscriberIdentityModules:J5.optional(),SecurityElement:F(H,M(v7)).optional().register(Q,{id:`PointOfInteractionComponentCharacteristics9.SecurityElement`,innerSchema:`CryptographicKey17`})}).refine(V.check,V.params).register(Q,{id:`PointOfInteractionComponentCharacteristics9`}),yAe=N({Type:cke.register(Q,{id:`PointOfInteractionComponentAssessment1.Type`,innerSchema:`POIComponentAssessment1Code`}),Assigner:F(H,M($).nonempty()).register(Q,{id:`PointOfInteractionComponentAssessment1.Assigner`,innerSchema:`Max35Text`}),DeliveryDate:n7.optional(),ExpirationDate:n7.optional(),Number:$}).register(Q,{id:`PointOfInteractionComponentAssessment1`}),y7=N({Identification:$,Type:p5.optional().register(Q,{id:`GenericIdentification176.Type`,innerSchema:`PartyType33Code`}),Issuer:p5.optional().register(Q,{id:`GenericIdentification176.Issuer`,innerSchema:`PartyType33Code`}),Country:A5.optional(),ShortName:$.optional()}).register(Q,{id:`GenericIdentification176`}),b7=j().min(1).max(1025).register(Q,{id:`Max1025Text`}),x7=N({Identification:b7,Value:l7.optional(),ProtectedValue:_7.optional(),Type:b7.optional()}).register(Q,{id:`ExternallyDefinedData4`}),S7=N({PackageIdentification:y7.optional(),PackageLength:K5.optional(),OffsetStart:K5.optional(),OffsetEnd:K5.optional(),PackageBlock:F(H,M(x7)).optional().register(Q,{id:`PackageType4.PackageBlock`,innerSchema:`ExternallyDefinedData4`})}).refine(V.check,V.params).register(Q,{id:`PackageType4`}),C7=N({Type:uke.register(Q,{id:`PointOfInteractionComponent14.Type`,innerSchema:`POIComponentType6Code`}),SubTypeInformation:V5.optional(),Identification:Z5,Status:F(cV,Yke.optional()).optional().register(Q,{id:`PointOfInteractionComponent14.Status`,innerSchema:`PointOfInteractionComponentStatus3`}),StandardCompliance:F(H,M(Xke).optional()).register(Q,{id:`PointOfInteractionComponent14.StandardCompliance`,innerSchema:`GenericIdentification48`}),Characteristics:vAe.optional(),Assessment:F(H,M(yAe)).optional().register(Q,{id:`PointOfInteractionComponent14.Assessment`,innerSchema:`PointOfInteractionComponentAssessment1`}),Package:F(H,M(S7)).optional().register(Q,{id:`PointOfInteractionComponent14.Package`,innerSchema:`PackageType4`})}).register(Q,{id:`PointOfInteractionComponent14`}),bAe=N({Identification:L5,SystemName:V5.optional(),GroupIdentification:$.optional(),Capabilities:X5.optional(),TimeZone:V5.optional(),TerminalIntegration:KOe.optional().register(Q,{id:`PointOfInteraction13.TerminalIntegration`,innerSchema:`LocationCategory3Code`}),Component:F(H,M(C7)).optional().register(Q,{id:`PointOfInteraction13.Component`,innerSchema:`PointOfInteractionComponent14`})}).refine(V.check,V.params).register(Q,{id:`PointOfInteraction13`}),w7=N({ContentType:t5.register(Q,{id:`ContentInformationType35.ContentType`,innerSchema:`ContentType2Code`}),EnvelopedData:u7}).register(Q,{id:`ContentInformationType35`}),T7=j().regex(pV).min(8).max(28).register(Q,{id:`Min8Max28NumericText`}),xAe=j().regex(pV).min(2).max(3).register(Q,{id:`Min2Max3NumericText`}),E7=j().min(1).max(10).register(Q,{id:`Max10Text`}),D7=j().regex(pV).length(3).register(Q,{id:`Exact3NumericText`}),O7=j().min(1).max(76).register(Q,{id:`Max76Text`}),k7=j().min(1).max(37).register(Q,{id:`Max37Text`}),A7=j().min(1).max(104).register(Q,{id:`Max104Text`}),j7=j().min(1).max(45).register(Q,{id:`Max45Text`}),SAe=N({PAN:T7,CardSequenceNumber:xAe.optional(),EffectiveDate:E7.optional(),ExpiryDate:E7,ServiceCode:D7.optional(),Track1:O7.optional(),Track2:k7.optional(),Track3:A7.optional(),CardholderName:j7.optional()}).register(Q,{id:`PlainCardData15`}),CAe=j().min(1).max(30).register(Q,{id:`Max30Text`}),M7=j().regex(pV).min(1).max(15).register(Q,{id:`Max15NumericText`}),N7=j().min(1).max(3).register(Q,{id:`Max3Text`}),wAe=j().regex(mV).length(3).register(Q,{id:`Exact3AlphaNumericText`}),TAe=N({ProtectedCardData:w7.optional(),PrivateCardData:l7.optional(),PlainCardData:SAe.optional(),PaymentAccountReference:V5.optional(),MaskedPAN:CAe.optional(),IssuerBIN:M7.optional(),CardCountryCode:N7.optional(),CardCurrencyCode:wAe.optional(),CardProductProfile:$.optional(),CardBrand:$.optional(),CardProductType:POe.optional().register(Q,{id:`PaymentCard33.CardProductType`,innerSchema:`CardProductType1Code`}),CardProductSubType:$.optional(),InternationalCard:q5.optional(),AllowedProduct:F(H,M(V5)).optional().register(Q,{id:`PaymentCard33.AllowedProduct`,innerSchema:`Max70Text`}),ServiceOption:$.optional(),AdditionalCardData:V5.optional()}).refine(V.check,V.params).register(Q,{id:`PaymentCard33`}),EAe=N({TrackNumber:J5.optional(),TrackFormat:Rke.optional().register(Q,{id:`TrackData2.TrackFormat`,innerSchema:`TrackFormat1Code`}),TrackValue:G5}).register(Q,{id:`TrackData2`}),DAe=N({BankIdentification:$.optional(),AccountNumber:$.optional(),CheckNumber:$.optional(),CheckCardNumber:$.optional(),CheckTrackData2:EAe.optional(),CheckType:IOe.optional(),Country:N7.optional()}).refine(V.check,V.params).register(Q,{id:`Check1`}),OAe=N({AccountType:Mke.optional().register(Q,{id:`StoredValueAccount2.AccountType`,innerSchema:`StoredValueAccountType1Code`}),IdentificationType:Z8.optional(),Identification:$.optional(),Brand:$.optional(),Provider:$.optional(),OwnerName:j7.optional(),ExpiryDate:E7.optional(),EntryMode:X8.optional().register(Q,{id:`StoredValueAccount2.EntryMode`,innerSchema:`CardDataReading8Code`}),Currency:D5.optional(),Balance:O5.optional()}).refine(V.check,V.params).transform(H8(`Currency`,[`Balance`])).register(Q,{id:`StoredValueAccount2`}),kAe=N({LoyaltyIdentification:$,EntryMode:X8.optional().register(Q,{id:`LoyaltyAccount3.EntryMode`,innerSchema:`CardDataReading8Code`}),IdentificationType:Z8.optional().register(Q,{id:`LoyaltyAccount3.IdentificationType`,innerSchema:`CardIdentificationType1Code`}),Brand:$.optional(),Provider:$.optional(),OwnerName:j7.optional(),Unit:SOe.optional().register(Q,{id:`LoyaltyAccount3.Unit`,innerSchema:`AmountUnit1Code`}),Currency:D5.optional(),Balance:O5.optional().register(Q,{id:`LoyaltyAccount3.Balance`,innerSchema:`ImpliedCurrencyAndAmount`})}).transform(H8(`Currency`,[`Balance`])).register(Q,{id:`LoyaltyAccount3`}),P7=N({Identification:$.optional(),Type:V5.optional(),Provider:$.optional()}).refine(V.check,V.params).register(Q,{id:`CustomerDevice3`}),AAe=j().regex(pV).min(1).max(19).register(Q,{id:`Max19NumericText`}),jAe=j().regex(pV).length(4).register(Q,{id:`Exact4NumericText`}),MAe=j().regex(pV).min(1).max(11).register(Q,{id:`Max11NumericText`}),F7=j().regex(pV).min(1).max(2).register(Q,{id:`Max2NumericText`}),NAe=N({PaymentToken:AAe.optional(),TokenExpiryDate:jAe.optional(),TokenRequestorIdentification:MAe.optional(),TokenAssuranceData:G5.optional(),TokenAssuranceMethod:F7.optional(),TokenInitiatedIndicator:q5.optional()}).refine(V.check,V.params).register(Q,{id:`Token1`}),PAe=N({ProviderIdentification:$,RequestorIdentification:$}).register(Q,{id:`PaymentTokenIdentifiers1`}),FAe=N({Token:$.optional(),TokenExpiryDate:E7.optional(),TokenCharacteristic:F(H,M($)).optional().register(Q,{id:`MerchantToken2.TokenCharacteristic`,innerSchema:`Max35Text`}),TokenRequestor:PAe.optional(),TokenAssuranceLevel:J5.optional(),TokenAssuranceData:i7.optional(),TokenAssuranceMethod:F7.optional(),TokenInitiatedIndicator:q5.optional()}).refine(V.check,V.params).register(Q,{id:`MerchantToken2`}),IAe=N({BirthDate:Q5,ProvinceOfBirth:$.optional(),CityOfBirth:$,CountryOfBirth:$}).register(Q,{id:`DateAndPlaceOfBirth1`}),LAe=N({IdentificationType:$,Identification:$}).register(Q,{id:`GenericIdentification4`}),I7=N({DriverLicenseNumber:$.optional(),DriverLicenseLocation:$.optional(),DriverLicenseName:$.optional(),DriverIdentification:$.optional(),CustomerNumber:$.optional(),SocialSecurityNumber:$.optional(),AlienRegistrationNumber:$.optional(),PassportNumber:$.optional(),TaxIdentificationNumber:$.optional(),IdentityCardNumber:$.optional(),EmployerIdentificationNumber:$.optional(),EmployeeIdentificationNumber:$.optional(),JobNumber:$.optional(),Department:$.optional(),EmailAddress:R5.optional(),DateAndPlaceOfBirth:IAe.optional(),Other:F(H,M(LAe)).optional().register(Q,{id:`PersonIdentification15.Other`,innerSchema:`GenericIdentification4`})}).refine(V.check,V.params).register(Q,{id:`PersonIdentification15`}),L7=j().regex(pV).min(1).max(35).register(Q,{id:`Max35NumericText`}),RAe=N({PAN:T7.optional(),Track1:O7.optional(),Track2:k7.optional(),Track3:A7.optional(),AdditionalCardData:F(H,M($)).optional().register(Q,{id:`PlainCardData17.AdditionalCardData`,innerSchema:`Max35Text`}),EntryMode:Y8.optional().register(Q,{id:`PlainCardData17.EntryMode`,innerSchema:`CardDataReading5Code`})}).refine(V.check,V.params).register(Q,{id:`PlainCardData17`}),zAe=N({Type:$.optional(),EntryMode:Y8.optional().register(Q,{id:`Vehicle2.EntryMode`,innerSchema:`CardDataReading5Code`}),Data:$}).register(Q,{id:`Vehicle2`}),BAe=N({VehicleNumber:L7.optional(),TrailerNumber:L7.optional(),VehicleTag:$.optional(),VehicleTagEntryMode:Y8.optional().register(Q,{id:`Vehicle1.VehicleTagEntryMode`,innerSchema:`CardDataReading5Code`}),UnitNumber:L7.optional(),ReplacementCar:q5.optional(),Odometer:$5.optional(),Hubometer:$5.optional(),TrailerHours:$.optional(),ReferHours:$.optional(),MaintenanceIdentification:$.optional(),DriverOrVehicleCard:RAe.optional(),AdditionalVehicleData:F(H,M(zAe)).optional()}).refine(V.check,V.params).register(Q,{id:`Vehicle1`}),R7=N({EncryptedPINBlock:w7,PINFormat:oke.register(Q,{id:`OnLinePIN10.PINFormat`,innerSchema:`PINFormat3Code`}),AdditionalInput:$.optional()}).register(Q,{id:`OnLinePIN10`}),z7=j().regex(pV).min(1).max(5).register(Q,{id:`Max5NumericText`}),VAe=N({AddressDigits:z7.optional(),PostalCodeDigits:z7.optional()}).refine(V.check,V.params).register(Q,{id:`AddressVerification1`}),HAe=N({AuthenticationMethod:DOe.register(Q,{id:`CardholderAuthentication16.AuthenticationMethod`,innerSchema:`AuthenticationMethod8Code`}).optional(),AuthenticationExemption:ROe.register(Q,{id:`CardholderAuthentication16.AuthenticationExemption`,innerSchema:`Exemption1Code`}).optional(),AuthenticationValue:r7.optional(),ProtectedAuthenticationValue:w7.optional(),CardholderOnLinePIN:R7.optional(),CardholderIdentification:I7.optional(),AddressVerification:VAe.optional(),AuthenticationType:$.optional(),AuthenticationLevel:$.optional(),AuthenticationResult:OOe.register(Q,{id:`CardholderAuthentication16.AuthenticationResult`,innerSchema:`AuthenticationResult1Code`}).optional(),AuthenticationAdditionalInformation:x7.optional()}).refine(V.check,V.params).register(Q,{id:`CardholderAuthentication16`}),B7=N({Method:EOe.register(Q,{id:`TransactionVerificationResult4.Method`,innerSchema:`AuthenticationMethod6Code`}),VerificationEntity:TOe.optional().register(Q,{id:`TransactionVerificationResult4.VerificationEntity`,innerSchema:`AuthenticationEntity2Code`}),Result:Vke.optional().register(Q,{id:`TransactionVerificationResult4.Result`,innerSchema:`Verification1Code`}),AdditionalResult:j5.optional()}).register(Q,{id:`TransactionVerificationResult4`}),UAe=N({MSISDN:L7,IMSI:L7.optional(),IMEI:L7.optional()}).register(Q,{id:`SensitiveMobileData1`}),WAe=N({MobileCountryCode:A5.optional(),MobileNetworkCode:A5.optional(),MobileMaskedMSISDN:$.optional(),Geolocation:I5.optional(),SensitiveMobileData:UAe.optional(),ProtectedMobileData:w7.optional()}).refine(V.check,V.params).register(Q,{id:`MobileData5`}),GAe=N({Identification:I7.optional(),Name:j7.optional(),Language:Y5.optional(),BillingAddress:U5.optional(),ShippingAddress:U5.optional(),TripNumber:$.optional(),Vehicle:BAe.optional(),Authentication:F(H,M(HAe)).optional().register(Q,{id:`Cardholder20.Authentication`,innerSchema:`CardholderAuthentication16`}),TransactionVerificationResult:F(H,M(B7)).optional().register(Q,{id:`Cardholder20.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),PersonalData:V5.optional(),MobileData:F(H,M(WAe)).optional().register(Q,{id:`Cardholder20.MobileData`,innerSchema:`MobileData5`})}).refine(V.check,V.params).register(Q,{id:`Cardholder20`}),KAe=N({SaleCapabilities:F(H,M(kke)).optional().register(Q,{id:`RetailerSaleEnvironment2.SaleCapabilities`,innerSchema:`SaleCapabilities1Code`}),Currency:D5.optional(),MinimumAmountToDeliver:O5.optional().register(Q,{id:`RetailerSaleEnvironment2.MinimumAmountToDeliver`,innerSchema:`ImpliedCurrencyAndAmount`}),MaximumCashBackAmount:O5.optional().register(Q,{id:`RetailerSaleEnvironment2.MaximumCashBackAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),MinimumSplitAmount:O5.optional().register(Q,{id:`RetailerSaleEnvironment2.MinimumSplitAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),DebitPreferredFlag:q5.optional(),LoyaltyHandling:JOe.optional().register(Q,{id:`RetailerSaleEnvironment2.LoyaltyHandling`,innerSchema:`LoyaltyHandling1Code`})}).refine(V.check,V.params).transform(H8(`Currency`,[`MinimumAmountToDeliver`,`MaximumCashBackAmount`,`MinimumSplitAmount`])).register(Q,{id:`RetailerSaleEnvironment2`}),V7=N({Acquirer:z5.optional(),ServiceProvider:z5.optional(),Merchant:qke.optional(),POI:bAe.optional(),Card:TAe.optional(),Check:DAe.optional(),StoredValueAccount:F(H,M(OAe).min(0)).optional().register(Q,{id:`CardPaymentEnvironment79.StoredValueAccount`,innerSchema:`StoredValueAccount2`}),LoyaltyAccount:F(H,M(kAe).min(0)).optional().register(Q,{id:`CardPaymentEnvironment79.LoyaltyAccount`,innerSchema:`LoyaltyAccount3`}),CustomerDevice:P7.optional(),Wallet:P7.optional(),PaymentToken:NAe.optional(),MerchantToken:FAe.optional(),Cardholder:GAe.optional(),ProtectedCardholderData:w7.optional(),SaleEnvironment:KAe.optional()}).register(Q,{id:`CardPaymentEnvironment79`}),qAe=N({CardPresent:q5.optional(),CardholderPresent:q5.optional(),OnLineContext:q5.optional(),AttendanceContext:K8.optional().register(Q,{id:`PaymentContext29.AttendanceContext`,innerSchema:`AttendanceContext1Code`}),TransactionEnvironment:Bke.optional().register(Q,{id:`PaymentContext29.TransactionEnvironment`,innerSchema:`TransactionEnvironment1Code`}),TransactionChannel:zke.optional().register(Q,{id:`PaymentContext29.TransactionChannel`,innerSchema:`TransactionChannel5Code`}),BusinessArea:jOe.optional().register(Q,{id:`PaymentContext29.BusinessArea`,innerSchema:`BusinessArea2Code`}),AttendantMessageCapable:q5.optional(),AttendantLanguage:Y5.optional(),CardDataEntryMode:X8.optional().register(Q,{id:`PaymentContext29.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),FallbackIndicator:NOe.optional().register(Q,{id:`PaymentContext29.FallbackIndicator`,innerSchema:`CardFallback1Code`}),SupportedOption:F(H,M(Nke)).optional().register(Q,{id:`PaymentContext29.SupportedOption`,innerSchema:`SupportedPaymentOption2Code`})}).refine(V.check,V.params).register(Q,{id:`PaymentContext29`}),JAe=P(`100.104.108.112.116.120.124.132.136.140.144.148.152.156.158.162.166.170.174.175.178.180.184.188.191.192.196.203.204.208.212.214.218.222.226.231.232.233.234.238.239.242.246.248.250.254.258.260.262.266.268.270.275.276.288.292.296.300.304.308.312.316.320.324.328.332.334.336.340.344.348.352.356.360.364.368.372.376.380.384.388.392.398.400.404.408.410.414.417.418.422.426.428.430.434.438.440.442.446.450.454.458.462.466.470.474.478.480.484.492.496.498.499.500.504.508.512.516.520.524.528.531.533.534.535.540.548.554.558.562.566.570.574.578.580.581.583.584.585.586.591.598.600.604.608.612.616.620.624.626.630.634.638.642.643.646.652.654.659.660.662.663.666.670.674.678.682.686.688.690.694.702.703.704.705.706.710.716.724.728.729.732.740.744.748.752.756.760.762.764.768.772.776.780.784.788.792.795.796.798.800.804.807.818.826.831.832.833.834.840.850.854.858.860.862.876.882.887.894.004.008.012.016.020.024.010.028.032.051.036.040.031.044.048.050.052.056.084.060.064.068.070.072.074.076.086.096.090.092`.split(`.`)).register(Q,{id:`ISO3NumericCountryCode`}),H7=j().min(3).max(4).register(Q,{id:`Min3Max4Text`}),U7=N({CommonName:V5,Address:F(H,M(G5)).optional().register(Q,{id:`Organisation26.Address`,innerSchema:`Max140Text`}),CountryCode:JAe,MerchantCategoryCode:H7.optional(),RegisteredIdentifier:$.optional()}).register(Q,{id:`Organisation26`}),YAe=N({SaleIdentification:$.optional(),SaleReferenceNumber:$.optional(),SaleReconciliationIdentification:$.optional(),CashierIdentification:$.optional(),CashierLanguage:F(H,M(Y5)).optional().register(Q,{id:`SaleContext4.CashierLanguage`,innerSchema:`LanguageCode`}),ShiftNumber:F7.optional(),CustomerOrderRequestFlag:q5.optional(),PurchaseOrderNumber:$.optional(),InvoiceNumber:$.optional(),DeliveryNoteNumber:$.optional(),SponsoredMerchant:F(H,M(U7)).optional().register(Q,{id:`SaleContext4.SponsoredMerchant`,innerSchema:`Organisation26`}),SplitPayment:q5.optional(),RemainingAmount:O5.optional(),ForceOnlineFlag:q5.optional(),ReuseCardDataFlag:q5.optional(),AllowedEntryMode:F(H,M(X8)).optional().register(Q,{id:`SaleContext4.AllowedEntryMode`,innerSchema:`CardDataReading8Code`}),SaleTokenScope:Ake.optional().register(Q,{id:`SaleContext4.SaleTokenScope`,innerSchema:`SaleTokenScope1Code`}),AdditionalSaleData:V5.optional()}).refine(V.check,V.params).register(Q,{id:`SaleContext4`}),W7=j().regex(/^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$/).register(Q,{id:`AnyBICDec2014Identifier`}),XAe=N({Identification:$,Issuer:$,SchemeName:$.optional()}).register(Q,{id:`GenericIdentification36`}),G7=P(`AF.AL.DZ.AS.AD.AO.AI.AQ.AG.AR.AM.AW.AU.AT.AZ.BS.BH.BD.BB.BY.BE.BZ.BJ.BM.BT.BO.BQ.BA.BW.BV.BR.IO.BN.BG.BF.BI.CV.KH.CM.CA.KY.CF.TD.CL.CN.CX.CC.CO.KM.CD.CG.CK.CR.HR.CU.CW.CY.CZ.CI.DK.DJ.DM.DO.EC.EG.SV.GQ.ER.EE.SZ.ET.FK.FO.FJ.FI.FR.GF.PF.TF.GA.GM.GE.DE.GH.GI.GR.GL.GD.GP.GU.GT.GG.GN.GW.GY.HT.HM.VA.HN.HK.HU.IS.IN.ID.IR.IQ.IE.IM.IL.IT.JM.JP.JE.JO.KZ.KE.KI.KP.KR.KW.KG.LA.LV.LB.LS.LR.LY.LI.LT.LU.MO.MG.MW.MY.MV.ML.MT.MH.MQ.MR.MU.YT.MX.FM.MD.MC.MN.ME.MS.MA.MZ.MM.NA.NR.NP.NL.NC.NZ.NI.NE.NG.NU.NF.MP.NO.OM.PK.PW.PS.PA.PG.PY.PE.PH.PN.PL.PT.PR.QA.MK.RO.RU.RW.RE.BL.SH.KN.LC.MF.PM.VC.WS.SM.ST.SA.SN.RS.SC.SL.SG.SX.SK.SI.SB.SO.ZA.GS.SS.ES.LK.SD.SR.SJ.SE.CH.SY.TW.TJ.TZ.TH.TL.TG.TK.TO.TT.TN.TR.TM.TC.TV.UG.UA.AE.GB.UM.US.UY.UZ.VU.VE.VN.VG.VI.WF.EH.YE.ZM.ZW.AX`.split(`.`)).register(Q,{id:`CountryCode`}),ZAe=N({Name:V5,Address:N({StreetName:V5.optional(),PostCodeIdentification:H5,TownName:$,CountrySubDivision:$.optional(),Country:G7}).register(Q,{id:`PostalAddress2`})}).register(Q,{id:`NameAndAddress6`}),K7=N({AnyBIC:W7.optional(),ProprietaryIdentification:XAe.optional(),NameAndAddress:ZAe.optional()}).refine(aV.check,aV.params).register(Q,{id:`PartyIdentification178Choice`}),q7=j().regex(/^[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}$/).register(Q,{id:`IBAN2007Identifier`}),J7=j().regex(/^[a-zA-Z0-9]{1,30}$/).register(Q,{id:`BBANIdentifier`}),Y7=j().regex(/^[0-9]{8,17}$/).register(Q,{id:`UPICIdentifier`}),QAe=N({Identification:$}).register(Q,{id:`SimpleIdentificationInformation4`}),$Ae=N({IBAN:q7.optional(),BBAN:J7.optional(),UPIC:Y7.optional(),DomesticAccount:QAe.optional()}).refine(aV.check,aV.params).register(Q,{id:`CashAccountIdentification7Choice`}),eje=N({Debtor:K7.optional(),AccountIdentification:$Ae.optional()}).refine(V.check,V.params).register(Q,{id:`Debtor4`}),tje=N({Creditor:K7,RegistrationIdentification:$.optional()}).register(Q,{id:`Creditor4`}),X7=F(sV,j().base64().max(fV(2097152))).register(Q,{id:`Max2MBBinary`}),nje=N({MandateIdentification:$,DateOfSignature:Q5.optional(),MandateImage:X7.optional()}).register(Q,{id:`MandateRelatedInformation13`}),rje=N({DebtorIdentification:eje.optional(),CreditorIdentification:tje,MandateRelatedInformation:nje}).register(Q,{id:`CardDirectDebit2`}),Z7=N({PaymentContext:qAe.optional(),SaleContext:YAe.optional(),DirectDebitContext:rje.optional()}).refine(V.check,V.params).register(Q,{id:`CardPaymentContext30`}),Q7=N({TransactionDateTime:n7,TransactionReference:$}).register(Q,{id:`TransactionIdentifier1`}),$7=N({Identification:$.optional(),Type:dke.register(Q,{id:`GenericIdentification90.Type`,innerSchema:`PartyType14Code`}),Issuer:m5.optional().register(Q,{id:`GenericIdentification90.Issuer`,innerSchema:`PartyType4Code`}),Country:A5.optional(),ShortName:$.optional()}).register(Q,{id:`GenericIdentification90`}),e9=N({Response:h5.register(Q,{id:`ResponseType10.Response`,innerSchema:`Response9Code`}),ResponseReason:$.optional(),AdditionalResponseInformation:G5.optional()}).register(Q,{id:`ResponseType10`}),ije=j().min(6).max(8).register(Q,{id:`Min6Max8Text`}),aje=N({AuthorisationEntity:$7.optional(),ResponseToAuthorisation:e9,AuthorisationCode:ije.optional()}).register(Q,{id:`CardPaymentTransactionResult4`}),t9=N({SaleReferenceIdentification:$.optional(),TransactionIdentification:Q7,POIIdentification:B5.optional(),InitiatorTransactionIdentification:$.optional(),RecipientTransactionIdentification:G5.optional(),TransactionType:Q8.register(Q,{id:`CardPaymentTransaction122.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(e5)).optional().register(Q,{id:`CardPaymentTransaction122.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:$8.optional().register(Q,{id:`CardPaymentTransaction122.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),CardDataEntryMode:X8.optional().register(Q,{id:`CardPaymentTransaction122.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),TransactionResult:aje.optional()}).register(Q,{id:`CardPaymentTransaction122`}),n9=N({Amount:O5,Label:G5.optional()}).register(Q,{id:`DetailedAmount4`}),oje=N({AmountGoodsAndServices:O5.optional(),CashBack:O5.optional(),Gratuity:O5.optional(),Fees:F(H,M(n9)).optional().register(Q,{id:`DetailedAmount15.Fees`,innerSchema:`DetailedAmount4`}),Rebate:F(H,M(n9)).optional().register(Q,{id:`DetailedAmount15.Rebate`,innerSchema:`DetailedAmount4`}),ValueAddedTax:F(H,M(n9)).optional().register(Q,{id:`DetailedAmount15.ValueAddedTax`,innerSchema:`DetailedAmount4`}),Surcharge:F(H,M(n9)).optional().register(Q,{id:`DetailedAmount15.Surcharge`,innerSchema:`DetailedAmount4`})}).refine(V.check,V.params).register(Q,{id:`DetailedAmount15`}),sje=N({AlphaCode:D5,NumericCode:D7,Decimal:J5,Name:$.optional()}).register(Q,{id:`CurrencyDetails3`}),r9=pO().min(0).max(100).refine(oV(11,10).check,oV(11,10).params).register(Q,{id:`PercentageRate`}),cje=N({AlphaCode:D5.optional(),NumericCode:D7.optional(),Decimal:J5.optional(),Name:$.optional()}).refine(V.check,V.params).register(Q,{id:`CurrencyDetails2`}),lje=N({LowerBin:M7,HigherBin:M7}).register(Q,{id:`BinRange1`}),uje=N({ActualAmount:O5.optional(),MinimumAmount:O5.optional(),MaximumAmount:O5.optional()}).refine(V.check,V.params).register(Q,{id:`OriginalAmountDetails1`}),dje=N({Amount:O5,AdditionalInformation:t7.optional()}).register(Q,{id:`Commission19`}),fje=N({Rate:r9,AdditionalInformation:t7.optional()}).register(Q,{id:`Commission18`}),i9=j().min(1).max(2e4).register(Q,{id:`Max20000Text`}),a9=N({ContentType:t5.register(Q,{id:`ContentInformationType33.ContentType`,innerSchema:`ContentType2Code`}),AuthenticatedData:f7.optional(),SignedData:g7.optional()}).register(Q,{id:`ContentInformationType33`}),pje=j().min(1).max(8e3).register(Q,{id:`Max8000Text`}),mje=N({BarcodeType:kOe.register(Q,{id:`OutputBarcode2.BarcodeType`,innerSchema:`BarcodeType1Code`}),BarcodeValue:pje.optional(),QRCodeBinaryValue:h7.optional(),QRCodeVersion:H5.optional(),QRCodeEncodingMode:vke.optional().register(Q,{id:`OutputBarcode2.QRCodeEncodingMode`,innerSchema:`QRCodeEncodingMode1Code`}),QRCodeErrorCorrection:yke.optional().register(Q,{id:`OutputBarcode2.QRCodeErrorCorrection`,innerSchema:`QRCodeErrorCorrection1Code`})}).register(Q,{id:`OutputBarcode2`}),o9=N({MessageDestination:E5.register(Q,{id:`ActionMessage10.MessageDestination`,innerSchema:`UserInterface4Code`}),InformationQualifier:c5.optional().register(Q,{id:`ActionMessage10.InformationQualifier`,innerSchema:`InformationQualify1Code`}),Format:ake.optional().register(Q,{id:`ActionMessage10.Format`,innerSchema:`OutputFormat3Code`}),MessageContent:i9.optional(),MessageContentSignature:a9.optional(),OutputBarcode:mje.optional(),ResponseRequiredFlag:q5.optional(),MinimumDisplayTime:J5.optional()}).register(Q,{id:`ActionMessage10`}),s9=N({CurrencyConversionIdentification:$.optional().describe(`Identification of the currency conversion operation for the service provider.`),TargetCurrency:sje.describe(`Currency into which the amount is converted (ISO 4217, 3 alphanumeric characters).`),ResultingAmount:O5.optional().describe(`Amount converted in the target currency, including additional charges.`),ExchangeRate:r9.describe(`Exchange rate, expressed as a percentage, applied to convert the original amount into the resulting amount.`),InvertedExchangeRate:r9.optional().describe(`Exchange rate, expressed as a percentage, applied to convert the resulting amount into the original amount.`),QuotationDate:n7.optional().describe(`Date and time at which the exchange rate has been quoted.`),ValidFrom:n7.optional().describe(`Specifies when the currency conversion could start.`),ValidUntil:n7.optional().describe(`Validity limit of the exchange rate.`),SourceCurrency:cje.describe(`Currency from which the amount is converted (ISO 4217, 3 alphanumeric characters).`),ApplicableBinRange:F(H,M(lje)).optional().describe(`Range of Bin for which the conversion is possible.`).register(Q,{id:`CurrencyConversion26.ApplicableBinRange`,innerSchema:`BinRange1`}),OriginalAmount:uje.optional().describe(`Original amount in the source currency.`).register(Q,{id:`CurrencyConversion26.OriginalAmount`,innerSchema:`OriginalAmountDetails1`}),CommissionDetails:F(H,M(dje)).optional().describe(`Commission or additional charges made as part of a currency conversion.`).register(Q,{id:`CurrencyConversion26.CommissionDetails`,innerSchema:`Commission19`}),MarkUpDetails:F(H,M(fje)).optional().describe(`Markup made as part of a currency conversion.`).register(Q,{id:`CurrencyConversion26.MarkUpDetails`,innerSchema:`Commission18`}),DeclarationDetails:F(H,M(o9)).optional().describe(`Card scheme declaration (disclaimer) to present to the cardholder.`).register(Q,{id:`CurrencyConversion26.DeclarationDetails`,innerSchema:`ActionMessage10`})}).transform(H8(`TargetCurrency.AlphaCode`,[`ResultingAmount`,`CommissionDetails[].Amount`])).transform(H8(`SourceCurrency.AlphaCode`,[`OriginalAmount.ActualAmount`,`OriginalAmount.MinimumAmount`,`OriginalAmount.MaximumAmount`])).register(Q,{id:`CurrencyConversion26`}),hje=N({AcceptedByCardholder:q5.optional(),Conversion:s9.optional()}).refine(V.check,V.params).register(Q,{id:`CurrencyConversion27`}),gje=N({Amount:O5,Sign:k5.optional()}).register(Q,{id:`Amount5`}),_je=N({Type:HOe.optional().register(Q,{id:`InstalmentAmountDetails1.Type`,innerSchema:`InstalmentAmountDetailsType1Code`}),OtherType:$.optional(),SubType:$.optional(),Amount:gje.optional(),Percentage:r9.optional()}).refine(V.check,V.params).register(Q,{id:`InstalmentAmountDetails1`}),vje=pO().min(0).max(1).refine(oV(11,10).check,oV(11,10).params).register(Q,{id:`BaseOneRate`}),yje=N({Type:GOe.optional().register(Q,{id:`InterestRateDetails1.Type`,innerSchema:`InterestRate1Code`}),OtherType:$.optional(),Period:UOe.register(Q,{id:`InterestRateDetails1.Period`,innerSchema:`InstalmentPeriod1Code`}),Rate:vje}).register(Q,{id:`InterestRateDetails1`}),c9=j().regex(pV).min(1).max(3).register(Q,{id:`Max3NumericText`}),bje=N({Time:c9,UnitType:VOe.register(Q,{id:`GracePeriod1.UnitType`,innerSchema:`GracePeriodUnitType1Code`}),OtherUnitType:$.optional()}).register(Q,{id:`GracePeriod1`}),xje=N({InstalmentPlan:F(H,M(WOe)).optional().register(Q,{id:`RecurringTransaction5.InstalmentPlan`,innerSchema:`InstalmentPlan1Code`}),PlanIdentification:$.optional(),PlanOwner:gke.optional().register(Q,{id:`RecurringTransaction5.PlanOwner`,innerSchema:`PlanOwner1Code`}),SequenceNumber:J5.optional(),PeriodUnit:BOe.optional().register(Q,{id:`RecurringTransaction5.PeriodUnit`,innerSchema:`Frequency3Code`}),InstalmentPeriod:J5.optional(),TotalNumberOfPayments:J5.optional(),FirstPaymentDate:Q5.optional(),TotalAmount:Hke.optional(),FirstAmount:O5.optional(),SubsequentAmount:O5.optional(),LastAmount:O5.optional(),Charges:O5.optional(),DetailedCharges:F(H,M(_je)).optional().register(Q,{id:`RecurringTransaction5.DetailedCharges`,innerSchema:`InstalmentAmountDetails1`}),InterestRate:F(H,M(yje)).optional().register(Q,{id:`RecurringTransaction5.InterestRate`,innerSchema:`InterestRateDetails1`}),GracePeriod:F(H,M(bje)).optional().register(Q,{id:`RecurringTransaction5.GracePeriod`,innerSchema:`GracePeriod1`}),PlanNotice:F(H,M(o9)).optional().register(Q,{id:`RecurringTransaction5.PlanNotice`,innerSchema:`ActionMessage10`})}).refine(V.check,V.params).register(Q,{id:`RecurringTransaction5`}),l9=F(sV,j().base64().max(fV(102400))).register(Q,{id:`Max10000Binary`}),Sje=N({Amount:O5,DateTime:n7,CardDataEntryMode:X8.optional().register(Q,{id:`DetailedAmount21.CardDataEntryMode`,innerSchema:`CardDataReading8Code`}),ICCRelatedData:l9.optional(),Label:G5.optional()}).register(Q,{id:`DetailedAmount21`}),Cje=N({FirstPaymentDateTime:n7.optional(),LastPaymentDateTime:n7.optional(),NumberOfPayments:J5.optional(),IndividualPayment:F(H,M(Sje)).optional().register(Q,{id:`AggregationTransaction3.IndividualPayment`,innerSchema:`DetailedAmount21`})}).refine(V.check,V.params).register(Q,{id:`AggregationTransaction3`}),wje=N({ItemIdentification:$.optional(),ProductCode:V5,AdditionalProductCode:V5.optional(),UnitOfMeasure:T5.optional().register(Q,{id:`Product6.UnitOfMeasure`,innerSchema:`UnitOfMeasure6Code`}),ProductQuantity:$5.optional(),UnitPrice:O5.optional(),UnitPriceSign:k5.optional(),ProductAmount:O5,ProductAmountSign:k5.optional(),ValueAddedTax:O5.optional(),TaxType:$.optional(),ProductDescription:G5.optional(),DeliveryLocation:E7.optional(),DeliveryService:COe.optional().register(Q,{id:`Product6.DeliveryService`,innerSchema:`AttendanceContext2Code`}),SaleChannel:V5.optional(),AdditionalProductDescription:R5.optional()}).register(Q,{id:`Product6`}),u9=N({Currency:D5.optional(),TotalAmount:O5.register(Q,{id:`CardPaymentTransactionDetails52.TotalAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),CumulativeAmount:O5.optional().register(Q,{id:`CardPaymentTransactionDetails52.CumulativeAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),AmountQualifier:w5.optional().register(Q,{id:`CardPaymentTransactionDetails52.AmountQualifier`,innerSchema:`TypeOfAmount8Code`}),DetailedAmount:oje.optional().register(Q,{id:`CardPaymentTransactionDetails52.DetailedAmount`,innerSchema:`DetailedAmount15`}),RequestedAmount:O5.optional().register(Q,{id:`CardPaymentTransactionDetails52.RequestedAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),AuthorisedAmount:O5.optional().register(Q,{id:`CardPaymentTransactionDetails52.AuthorisedAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),InvoiceAmount:O5.optional().register(Q,{id:`CardPaymentTransactionDetails52.InvoiceAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),ValidityDate:Q5.optional(),OnLineReason:F(H,M(ike)).optional().register(Q,{id:`CardPaymentTransactionDetails52.OnLineReason`,innerSchema:`OnLineReason2Code`}),UnattendedLevelCategory:L7.optional(),AccountType:J8.optional().register(Q,{id:`CardPaymentTransactionDetails52.AccountType`,innerSchema:`CardAccountType3Code`}),CurrencyConversionResult:hje.optional(),Instalment:F(H,M(xje)).optional().register(Q,{id:`CardPaymentTransactionDetails52.Instalment`,innerSchema:`RecurringTransaction5`}),AggregationTransaction:Cje.optional(),ProductCodeSetIdentification:E7.optional(),SaleItem:F(H,M(wje)).optional().register(Q,{id:`CardPaymentTransactionDetails52.SaleItem`,innerSchema:`Product6`}),DeliveryLocation:$.optional(),ReSubmissionCounter:K5.optional(),AdditionalInformation:F(H,M(x7)).optional().register(Q,{id:`CardPaymentTransactionDetails52.AdditionalInformation`,innerSchema:`ExternallyDefinedData4`}),ICCRelatedData:l9.optional()}).transform(H8(`Currency`,[`TotalAmount`,`CumulativeAmount`,`RequestedAmount`,`AuthorisedAmount`,`InvoiceAmount`,`DetailedAmount.AmountGoodsAndServices`,`DetailedAmount.CashBack`,`DetailedAmount.Gratuity`,`DetailedAmount.Fees[].Amount`,`DetailedAmount.Rebate[].Amount`,`DetailedAmount.ValueAddedTax[].Amount`,`DetailedAmount.Surcharge[].Amount`,`Instalment[].FirstAmount`,`Instalment[].SubsequentAmount`,`Instalment[].LastAmount`,`Instalment[].Charges`,`Instalment[].DetailedCharges[].Amount.Amount`])).register(Q,{id:`CardPaymentTransactionDetails52`}),Tje=N({Name:V5,Address:N({AddressType:U8.optional().register(Q,{id:`PostalAddress1.AddressType`,innerSchema:`AddressType2Code`}),AddressLine:F(H,M(V5).min(0).max(5)).optional().register(Q,{id:`PostalAddress1.AddressLine`,innerSchema:`Max70Text`}),StreetName:V5.optional(),BuildingNumber:H5.optional(),PostCode:H5.optional(),TownName:$.optional(),CountrySubDivision:$.optional(),Country:G7}).register(Q,{id:`PostalAddress1`})}).register(Q,{id:`NameAndAddress3`}),Eje=N({Card:T7.optional(),MSISDN:H5.optional(),EMail:R5.optional(),IBAN:q7.optional(),BBAN:J7.optional(),UPIC:Y7.optional(),Domestic:$.optional(),Other:$.optional()}).refine(aV.check,aV.params).register(Q,{id:`AccountIdentification54Choice`}),Dje=N({Identification:$,SchemeName:$.optional(),Issuer:$.optional()}).register(Q,{id:`GenericIdentification1`}),Oje=N({AnyBIC:W7.optional(),ProprietaryIdentification:Dje.optional()}).refine(aV.check,aV.params).register(Q,{id:`PartyIdentification177Choice`}),d9=N({SelectionMethod:hOe.optional().register(Q,{id:`CardAccount16.SelectionMethod`,innerSchema:`AccountChoiceMethod1Code`}),SelectedAccountType:J8.optional().register(Q,{id:`CardAccount16.SelectedAccountType`,innerSchema:`CardAccountType3Code`}),AccountName:V5.optional(),AccountOwner:Tje.optional(),Currency:D5.optional(),AccountIdentifier:Eje.optional(),Servicer:Oje.optional()}).refine(V.check,V.params).register(Q,{id:`CardAccount16`}),kje=N({TransactionCapture:q5,TransactionType:Q8.optional().register(Q,{id:`CardPaymentTransaction124.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(e5)).optional().register(Q,{id:`CardPaymentTransaction124.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:$8.optional().register(Q,{id:`CardPaymentTransaction124.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),LastTransactionFlag:q5.optional(),MerchantCategoryCode:H7.optional(),CustomerConsent:q5.optional(),CardProgrammeProposed:F(H,M($)).optional().register(Q,{id:`CardPaymentTransaction124.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:$.optional(),SaleReferenceIdentification:$.optional(),TransactionIdentification:Q7,OriginalTransaction:t9.optional(),InitiatorTransactionIdentification:$.optional(),ReconciliationIdentification:$.optional(),IssuerCITIdentification:G5.optional(),MerchantCITIdentification:G5.optional(),TransactionDetails:u9,MerchantReferenceData:V5.optional(),AccountFrom:d9.optional(),AccountTo:d9.optional(),AdditionalTransactionData:F(H,M(V5)).optional().register(Q,{id:`CardPaymentTransaction124.AdditionalTransactionData`,innerSchema:`Max70Text`})}).register(Q,{id:`CardPaymentTransaction124`}),Aje=PO().register(Q,{id:`SupplementaryDataEnvelope1`}),f9=N({PlaceAndName:t7.optional(),Envelope:Aje}).register(Q,{id:`SupplementaryData1`}),p9=N({Environment:V7,Context:Z7,Transaction:kje,SupplementaryData:F(H,M(f9)).optional().register(Q,{id:`AcceptorAuthorisationRequest12.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(Q,{id:`AcceptorAuthorisationRequest12`}),m9=j().min(1).max(6).register(Q,{id:`Max6Text`}),h9=N({RelayIdentification:L5,ProtocolName:$.optional(),ProtocolVersion:m9.optional(),TraceDateTimeIn:n7,TraceDateTimeOut:n7}).register(Q,{id:`Traceability8`}),g9=N({MessageFunction:ZOe.register(Q,{id:`Header70.MessageFunction`,innerSchema:`MessageFunction46Code`}),ProtocolVersion:m9,ExchangeIdentification:J5,ReTransmissionCounter:c9.optional(),CreationDateTime:n7,InitiatingParty:y7,RecipientParty:L5.optional(),Traceability:F(H,M(h9)).optional().register(Q,{id:`Header70.Traceability`,innerSchema:`Traceability8`})}).register(Q,{id:`Header70`}),_9=N({ContentType:t5.register(Q,{id:`ContentInformationType36.ContentType`,innerSchema:`ContentType2Code`}),AuthenticatedData:f7}).register(Q,{id:`ContentInformationType36`}),jje=N({Header:g9,AuthorisationRequest:p9,SecurityTrailer:_9.optional()}).superRefine((e,t)=>{let n=e.Header.MessageFunction,r=e.AuthorisationRequest.Transaction?.TransactionCapture;n===`AUTQ`&&r===!0&&t.addIssue({code:lA.custom,path:[`AuthorisationRequest`,`Transaction`,`TransactionCapture`],message:`Invalid MessageFunction and TransactionCapture combination: Authorisation request (AUTQ) requires Transaction Capture to be false`}),n===`FAUQ`&&r!==!0&&t.addIssue({code:lA.custom,path:[`AuthorisationRequest`,`Transaction`,`TransactionCapture`],message:`Invalid MessageFunction and TransactionCapture combination: Financial authorisation request (FAUQ) requires Transaction Capture to be true`})}).register(Q,{id:`AcceptorAuthorisationRequestV12`}),Mje=N({SaleReferenceIdentification:$.optional(),TransactionIdentification:Q7,InitiatorTransactionIdentification:$.optional(),RecipientTransactionIdentification:G5.optional(),ReconciliationIdentification:$.optional(),InterchangeData:G5.optional(),TransactionDetails:u9,MerchantReferenceData:V5.optional()}).register(Q,{id:`CardPaymentTransaction129`}),v9=j().min(1).max(8).register(Q,{id:`Max8Text`}),y9=N({TMSContactLevel:Pke.register(Q,{id:`TMSTrigger1.TMSContactLevel`,innerSchema:`TMSContactLevel1Code`}),TMSIdentification:$.optional(),TMSContactDateTime:n7.optional()}).register(Q,{id:`TMSTrigger1`}),Nje=N({AuthorisationEntity:$7.optional(),ResponseToAuthorisation:e9,AuthorisationCode:v9.optional(),CompletionRequired:q5.optional(),TMSTrigger:y9.optional()}).register(Q,{id:`AuthorisationResult17`}),b9=N({ProductCode:V5,AdditionalProductCode:V5.optional()}).register(Q,{id:`Product4`}),Pje=N({ProductCode:V5,AdditionalProductCode:V5.optional(),AmountLimit:O5.optional(),QuantityLimit:$5.optional(),UnitOfMeasure:T5.optional().register(Q,{id:`Product5.UnitOfMeasure`,innerSchema:`UnitOfMeasure6Code`})}).register(Q,{id:`Product5`}),Fje=N({Amount:O5,Currency:D5,Sign:k5.optional()}).register(Q,{id:`AmountAndDirection93`}),x9=j().regex(pV).min(1).max(9).register(Q,{id:`Max9NumericText`}),S9=N({Delay:x9,MaximumNumber:J5.optional(),UnitOfTime:C5.optional().register(Q,{id:`ProcessRetry3.UnitOfTime`,innerSchema:`TimeUnit1Code`})}).register(Q,{id:`ProcessRetry3`}),C9=N({StartTime:n7.optional(),EndTime:n7.optional(),Period:x9.optional(),UnitOfTime:C5.optional().register(Q,{id:`ProcessTiming6.UnitOfTime`,innerSchema:`TimeUnit1Code`})}).refine(V.check,V.params).register(Q,{id:`ProcessTiming6`}),Ije=N({ActionType:gOe.register(Q,{id:`Action14.ActionType`,innerSchema:`ActionType13Code`}),MessageToPresent:o9.optional(),RemoteAccess:F5.optional(),Retry:S9.optional(),TimeCondition:C9.optional()}).register(Q,{id:`Action14`}),w9=N({Environment:V7,Transaction:Mje,TransactionResponse:N({AuthorisationResult:Nje.register(Q,{id:`CardPaymentTransaction128.AuthorisationResult`,innerSchema:`AuthorisationResult17`}),TransactionVerificationResult:F(H,M(B7)).optional().register(Q,{id:`CardPaymentTransaction128.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),AllowedProductCode:F(H,M(b9)).optional().register(Q,{id:`CardPaymentTransaction128.AllowedProductCode`,innerSchema:`Product4`}),NotAllowedProductCode:F(H,M(b9)).optional().register(Q,{id:`CardPaymentTransaction128.NotAllowedProductCode`,innerSchema:`Product4`}),AdditionalAvailableProduct:F(H,M(Pje)).optional().register(Q,{id:`CardPaymentTransaction128.AdditionalAvailableProduct`,innerSchema:`Product5`}),Balance:Fje.optional(),ProtectedBalance:w7.optional(),Action:F(H,M(Ije)).optional().register(Q,{id:`CardPaymentTransaction128.Action`,innerSchema:`Action14`}),CurrencyConversionEligibility:s9.optional()}).register(Q,{id:`CardPaymentTransaction128`}),SupplementaryData:f9.optional()}).register(Q,{id:`AcceptorAuthorisationResponse12`}),Lje=N({Header:g9,AuthorisationResponse:w9,SecurityTrailer:_9.optional()}).register(Q,{id:`AcceptorAuthorisationResponseV12`}),Rje=N({Currency:D5.optional(),TotalAmount:O5.register(Q,{id:`CardPaymentTransactionDetails50.TotalAmount`,innerSchema:`ImpliedCurrencyAndAmount`}),ValidityDate:Q5.optional(),ICCRelatedData:l9.optional(),KeepAuthorisationOpen:q5.optional()}).transform(H8(`Currency`,[`TotalAmount`])).register(Q,{id:`CardPaymentTransactionDetails50`}),zje=N({AuthorisationEntity:$7.optional(),ResponseToAuthorisation:e9,AuthorisationCode:v9.optional(),TMSTrigger:y9.optional()}).register(Q,{id:`AuthorisationResult19`}),Bje=N({MerchantCategoryCode:H7,CustomerConsent:q5.optional(),CardProgrammeProposed:F(H,M($)).optional().register(Q,{id:`CardPaymentTransaction116.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:$.optional(),SaleReferenceIdentification:$.optional(),TransactionIdentification:Q7,OriginalTransaction:t9.optional(),TransactionSuccess:q5,Reversal:q5.optional(),FailureReason:F(H,M(s5)).optional().register(Q,{id:`CardPaymentTransaction116.FailureReason`,innerSchema:`FailureReason3Code`}),InitiatorTransactionIdentification:$.optional(),RecipientTransactionIdentification:G5.optional(),ReconciliationIdentification:$.optional(),InterchangeData:G5.optional(),TransactionDetails:Rje,AuthorisationResult:zje.optional(),AdditionalTransactionData:F(H,M(V5)).optional().register(Q,{id:`CardPaymentTransaction116.AdditionalTransactionData`,innerSchema:`Max70Text`})}).register(Q,{id:`CardPaymentTransaction116`}),T9=N({Environment:V7,Context:Z7.optional(),Transaction:Bje}).register(Q,{id:`AcceptorCancellationAdvice12`}),E9=N({SaleReferenceIdentification:$.optional(),TransactionIdentification:Q7,InitiatorTransactionIdentification:$.optional(),RecipientTransactionIdentification:G5.optional(),ReconciliationIdentification:$.optional(),Response:h5.register(Q,{id:`CardPaymentTransactionAdviceResponse8.Response`,innerSchema:`Response9Code`})}).register(Q,{id:`CardPaymentTransactionAdviceResponse8`}),D9=N({Environment:V7,Transaction:E9,TMSTrigger:y9.optional()}).register(Q,{id:`AcceptorCancellationAdviceResponse11`}),Vje=N({Header:g9,CancellationAdviceResponse:D9,SecurityTrailer:_9.optional()}).register(Q,{id:`AcceptorCancellationAdviceResponseV11`}),Hje=N({Header:g9,CancellationAdvice:T9,SecurityTrailer:_9.optional()}).register(Q,{id:`AcceptorCancellationAdviceV12`}),Uje=N({AuthorisationEntity:$7.optional(),ResponseToAuthorisation:e9,AuthorisationCode:v9.optional()}).register(Q,{id:`AuthorisationResult18`}),Wje=N({TransactionCapture:q5.optional(),TransactionType:Q8.optional().register(Q,{id:`CardPaymentTransaction125.TransactionType`,innerSchema:`CardPaymentServiceType12Code`}),AdditionalService:F(H,M(e5)).optional().register(Q,{id:`CardPaymentTransaction125.AdditionalService`,innerSchema:`CardPaymentServiceType9Code`}),ServiceAttribute:$8.optional().register(Q,{id:`CardPaymentTransaction125.ServiceAttribute`,innerSchema:`CardPaymentServiceType14Code`}),LastTransactionFlag:q5.optional(),MerchantCategoryCode:H7.optional(),CustomerConsent:q5.optional(),CardProgrammeProposed:F(H,M($)).optional().register(Q,{id:`CardPaymentTransaction125.CardProgrammeProposed`,innerSchema:`Max35Text`}),CardProgrammeApplied:$.optional(),SaleReferenceIdentification:$.optional(),TransactionIdentification:Q7,OriginalTransaction:t9.optional(),TransactionSuccess:q5,Reversal:q5.optional(),MerchantOverride:q5.optional(),FailureReason:F(H,M(s5)).optional().register(Q,{id:`CardPaymentTransaction125.FailureReason`,innerSchema:`FailureReason3Code`}),InitiatorTransactionIdentification:$.optional(),RecipientTransactionIdentification:G5.optional(),ReconciliationIdentification:$.optional(),InterchangeData:G5.optional(),IssuerCITIdentification:G5.optional(),MerchantCITIdentification:G5.optional(),TransactionDetails:u9,AuthorisationResult:Uje.optional(),TransactionVerificationResult:F(H,M(B7)).optional().register(Q,{id:`CardPaymentTransaction125.TransactionVerificationResult`,innerSchema:`TransactionVerificationResult4`}),MerchantReferenceData:V5.optional(),AccountFrom:d9.optional(),AccountTo:d9.optional(),AdditionalTransactionData:F(H,M(V5)).optional().register(Q,{id:`CardPaymentTransaction125.AdditionalTransactionData`,innerSchema:`Max70Text`})}).register(Q,{id:`CardPaymentTransaction125`}),O9=N({Environment:V7,Context:Z7.optional(),Transaction:Wje,SupplementaryData:F(H,M(f9)).optional().register(Q,{id:`AcceptorCompletionAdvice12.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(Q,{id:`AcceptorCompletionAdvice12`}),k9=N({Environment:V7,Transaction:E9,TMSTrigger:y9.optional(),SupplementaryData:F(H,M(f9)).optional().register(Q,{id:`AcceptorCompletionAdviceResponse11.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(Q,{id:`AcceptorCompletionAdviceResponse11`}),Gje=N({Header:g9,CompletionAdviceResponse:k9,SecurityTrailer:_9.optional()}).register(Q,{id:`AcceptorCompletionAdviceResponseV11`}),Kje=N({Header:g9,CompletionAdvice:O9,SecurityTrailer:_9.optional()}).register(Q,{id:`AcceptorCompletionAdviceV12`}),A9=N({Name:R5.optional(),Type:r5.register(Q,{id:`DataSetIdentification10.Type`,innerSchema:`DataSetCategory18Code`}),Version:R5.optional(),CreationDateTime:n7.optional()}).register(Q,{id:`DataSetIdentification10`}),j9=N({ItemIdentification:G5,Condition:$Oe.register(Q,{id:`MessageItemCondition2.Condition`,innerSchema:`MessageItemCondition2Code`}),Value:F(H,M(G5)).optional().register(Q,{id:`MessageItemCondition2.Value`,innerSchema:`Max140Text`})}).register(Q,{id:`MessageItemCondition2`}),qje=N({ActionType:b5.register(Q,{id:`TMSProtocolParameters7.ActionType`,innerSchema:`TerminalManagementAction3Code`}),TerminalManagerIdentification:y7.register(Q,{id:`TMSProtocolParameters7.TerminalManagerIdentification`,innerSchema:`GenericIdentification176`}),ProtocolVersion:v9.optional(),MaintenanceService:F(H,M(LOe).min(1)).register(Q,{id:`TMSProtocolParameters7.MaintenanceService`,innerSchema:`DataSetCategory10Code`}),Version:R5,ApplicationIdentification:F(H,M($)).optional(),HostIdentification:$,POIIdentification:$.optional(),InitiatingPartyIdentification:$.optional(),RecipientPartyIdentification:$.optional(),FileTransfer:q5.optional(),MessageItem:F(H,M(j9)).optional(),ExternallyTypeSupported:F(H,M(b7)).optional()}).register(Q,{id:`TMSProtocolParameters7`}),M9=N({HostIdentification:$,MessageToSend:F(H,M(XOe)).optional().register(Q,{id:`AcquirerHostConfiguration9.MessageToSend`,innerSchema:`MessageFunction43Code`}),ProtocolVersion:v9.optional(),ExternallyTypeSupported:F(H,M(b7)).optional().register(Q,{id:`AcquirerHostConfiguration9.ExternallyTypeSupported`,innerSchema:`Max1025Text`})}).register(Q,{id:`AcquirerHostConfiguration9`}),N9=N({ExchangePolicy:F(H,M(o5).min(1)).register(Q,{id:`ExchangeConfiguration9.ExchangePolicy`,innerSchema:`ExchangePolicy2Code`}),MaximumNumber:J5.optional(),MaximumAmount:O5.optional(),ReTry:S9.optional(),TimeCondition:C9.optional()}).register(Q,{id:`ExchangeConfiguration9`}),Jje=N({ExchangePolicy:F(H,M(o5).min(1)).register(Q,{id:`ExchangeConfiguration10.ExchangePolicy`,innerSchema:`ExchangePolicy2Code`}),MaximumNumber:J5.optional(),MaximumAmount:O5.optional(),ReTry:S9.optional(),TimeCondition:C9.optional(),ExchangeFailed:q5.optional(),ExchangeDeclined:q5.optional()}).register(Q,{id:`ExchangeConfiguration10`}),P9=N({FinancialCapture:zOe.register(Q,{id:`AcquirerProtocolExchangeBehavior2.FinancialCapture`,innerSchema:`FinancialCapture1Code`}),BatchTransfer:N9.optional(),CompletionExchange:Jje.optional(),CancellationExchange:MOe.optional().register(Q,{id:`AcquirerProtocolExchangeBehavior2.CancellationExchange`,innerSchema:`CancellationProcess2Code`})}).register(Q,{id:`AcquirerProtocolExchangeBehavior2`}),Yje=N({ActionType:b5.register(Q,{id:`AcquirerProtocolParameters16.ActionType`,innerSchema:`TerminalManagementAction3Code`}),AcquirerIdentification:F(H,M(y7).min(1)).register(Q,{id:`AcquirerProtocolParameters16.AcquirerIdentification`,innerSchema:`GenericIdentification176`}),Version:R5,ApplicationIdentification:F(H,M($)).optional().register(Q,{id:`AcquirerProtocolParameters16.ApplicationIdentification`,innerSchema:`Max35Text`}),Host:F(H,M(M9)).optional().register(Q,{id:`AcquirerProtocolParameters16.Host`,innerSchema:`AcquirerHostConfiguration9`}),OnLineTransaction:P9.optional(),OffLineTransaction:P9.optional(),ReconciliationExchange:N9.optional(),ReconciliationByAcquirer:q5.optional(),TotalsPerCurrency:q5.optional(),SplitTotals:q5.optional(),SplitTotalCriteria:F(H,M(bke)).optional().register(Q,{id:`AcquirerProtocolParameters16.SplitTotalCriteria`,innerSchema:`ReconciliationCriteria1Code`}),CompletionAdviceMandated:q5.optional(),AmountQualifierForReservation:F(H,M(w5)).optional().register(Q,{id:`AcquirerProtocolParameters16.AmountQualifierForReservation`,innerSchema:`TypeOfAmount8Code`}),ReconciliationError:q5.optional(),CardDataVerification:q5.optional(),NotifyOffLineCancellation:q5.optional(),BatchTransferContent:F(H,M(AOe)).optional().register(Q,{id:`AcquirerProtocolParameters16.BatchTransferContent`,innerSchema:`BatchTransactionType1Code`}),FileTransferBatch:q5.optional(),BatchDigitalSignature:q5.optional(),MessageItem:F(H,M(j9)).optional().register(Q,{id:`AcquirerProtocolParameters16.MessageItem`,innerSchema:`MessageItemCondition2`}),ProtectCardData:q5,PrivateCardData:q5.optional(),MandatorySecurityTrailer:q5.optional()}).register(Q,{id:`AcquirerProtocolParameters16`}),Xje=N({ActionType:b5.register(Q,{id:`ServiceProviderParameters3.ActionType`,innerSchema:`TerminalManagementAction3Code`}),ServiceProviderIdentification:F(H,M(y7).min(1)).register(Q,{id:`ServiceProviderParameters3.ServiceProviderIdentification`,innerSchema:`GenericIdentification176`}),Version:R5,ApplicationIdentification:F(H,M($)).optional().register(Q,{id:`ServiceProviderParameters3.ApplicationIdentification`,innerSchema:`Max35Text`}),Host:F(H,M(M9)).optional().register(Q,{id:`ServiceProviderParameters3.Host`,innerSchema:`AcquirerHostConfiguration9`}),NonFinancialActionSupported:F(H,M(nke)).optional().register(Q,{id:`ServiceProviderParameters3.NonFinancialActionSupported`,innerSchema:`NonFinancialRequestType2Code`})}).register(Q,{id:`ServiceProviderParameters3`}),Zje=N({Type:tke.register(Q,{id:`NetworkParameters8.Type`,innerSchema:`NetworkType2Code`}),Access:F5}).register(Q,{id:`NetworkParameters8`}),Qje=N({ActionType:b5.register(Q,{id:`MerchantConfigurationParameters6.ActionType`,innerSchema:`TerminalManagementAction3Code`}),MerchantIdentification:$.optional(),Version:R5.optional(),ParameterFormatIdentifier:v9.optional(),Proxy:Zje.optional(),OtherParametersLength:K5.optional(),OffsetStart:K5.optional(),OffsetEnd:K5.optional(),OtherParameters:l9.optional()}).register(Q,{id:`MerchantConfigurationParameters6`}),$je=j().time().register(Q,{id:`ISOTime`}),eMe=N({POITimeZone:V5,SynchronisationServer:F(H,M(F5)).optional().register(Q,{id:`ClockSynchronisation3.SynchronisationServer`,innerSchema:`NetworkParameters7`}),Delay:$je.optional()}).register(Q,{id:`ClockSynchronisation3`}),tMe=N({FromDateTime:n7.optional(),ToDateTime:n7.optional(),UTCOffset:J5}).register(Q,{id:`LocalDateTime1`}),nMe=N({ActionType:b5.register(Q,{id:`PaymentTerminalParameters8.ActionType`,innerSchema:`TerminalManagementAction3Code`}),VendorIdentification:$.optional(),Version:R5.optional(),ParameterFormatIdentifier:v9.optional(),ClockSynchronisation:eMe.optional(),TimeZoneLine:F(H,M(V5)).optional().register(Q,{id:`PaymentTerminalParameters8.TimeZoneLine`,innerSchema:`Max70Text`}),LocalDateTime:F(H,M(tMe)).optional().register(Q,{id:`PaymentTerminalParameters8.LocalDateTime`,innerSchema:`LocalDateTime1`}),OtherParametersLength:K5.optional(),OffsetStart:K5.optional(),OffsetEnd:K5.optional(),OtherParameters:l9.optional()}).register(Q,{id:`PaymentTerminalParameters8`}),rMe=N({ActionType:b5.register(Q,{id:`ApplicationParameters12.ActionType`,innerSchema:`TerminalManagementAction3Code`}),ApplicationIdentification:$,Version:R5.optional(),ParameterFormatIdentifier:v9.optional(),ParametersLength:K5.optional(),OffsetStart:K5.optional(),OffsetEnd:K5.optional(),Parameters:F(H,M(l7)).optional().register(Q,{id:`ApplicationParameters12.Parameters`,innerSchema:`Max100KBinary`}),EncryptedParameters:w7.optional()}).register(Q,{id:`ApplicationParameters12`}),iMe=F(sV,j().base64().min(fV(5)).max(fV(16))).register(Q,{id:`Min5Max16Binary`}),F9=N({KeyIdentification:G5,KeyVersion:G5,SequenceNumber:J5.optional(),DerivationIdentification:iMe.optional(),Type:n5.optional().register(Q,{id:`KEKIdentifier5.Type`,innerSchema:`CryptographicKeyType3Code`}),Function:F(H,M(u5)).optional().register(Q,{id:`KEKIdentifier5.Function`,innerSchema:`KeyUsage1Code`})}).register(Q,{id:`KEKIdentifier5`}),aMe=N({ActionType:b5.register(Q,{id:`HostCommunicationParameter6.ActionType`,innerSchema:`TerminalManagementAction3Code`}),HostIdentification:$,Address:F5.optional(),Key:F(H,M(F9)).optional().register(Q,{id:`HostCommunicationParameter6.Key`,innerSchema:`KEKIdentifier5`}),NetworkServiceProvider:F5.optional(),PhysicalInterface:e7.optional()}).register(Q,{id:`HostCommunicationParameter6`}),oMe=N({ActionType:b5.register(Q,{id:`SecurityParameters15.ActionType`,innerSchema:`TerminalManagementAction3Code`}),Version:R5,POIChallenge:P5.optional(),TMChallenge:P5.optional(),SecurityElement:F(H,M(v7)).optional().register(Q,{id:`SecurityParameters15.SecurityElement`,innerSchema:`CryptographicKey17`})}).register(Q,{id:`SecurityParameters15`}),sMe=N({ActionType:b5.register(Q,{id:`SaleToPOIProtocolParameter3.ActionType`,innerSchema:`TerminalManagementAction3Code`}),MerchantIdentification:U7.optional(),Version:R5,HostIdentification:$,MerchantPOIIdentification:$.optional(),SaleIdentification:$.optional(),AllowedSaleMessage:F(H,M(_5)).optional().register(Q,{id:`SaleToPOIProtocolParameter3.AllowedSaleMessage`,innerSchema:`RetailerMessage1Code`}),AllowedPOIMessage:F(H,M(_5)).optional().register(Q,{id:`SaleToPOIProtocolParameter3.AllowedPOIMessage`,innerSchema:`RetailerMessage1Code`}),AllowedPOIService:F(H,M(Dke)).optional().register(Q,{id:`SaleToPOIProtocolParameter3.AllowedPOIService`,innerSchema:`RetailerService2Code`}),AllowedSaleDevice:F(H,M(v5)).optional().register(Q,{id:`SaleToPOIProtocolParameter3.AllowedSaleDevice`,innerSchema:`RetailerService8Code`}),ExternallyTypeSupported:F(H,M(b7)).optional().register(Q,{id:`SaleToPOIProtocolParameter3.ExternallyTypeSupported`,innerSchema:`Max1025Text`})}).register(Q,{id:`SaleToPOIProtocolParameter3`}),cMe=N({POIComponentIdentification:F(H,M(Z5)).optional().register(Q,{id:`TerminalPackageType4.POIComponentIdentification`,innerSchema:`PointOfInteractionComponentIdentification2`}),Package:F(H,M(S7).min(1)).register(Q,{id:`TerminalPackageType4.Package`,innerSchema:`PackageType4`})}).register(Q,{id:`TerminalPackageType4`}),lMe=N({ReplaceConfiguration:q5.optional(),TMSProtocolParameters:F(H,M(qje)).optional().register(Q,{id:`AcceptorConfigurationContent12.TMSProtocolParameters`,innerSchema:`TMSProtocolParameters7`}),AcquirerProtocolParameters:F(H,M(Yje)).optional().register(Q,{id:`AcceptorConfigurationContent12.AcquirerProtocolParameters`,innerSchema:`AcquirerProtocolParameters16`}),ServiceProviderParameters:F(H,M(Xje)).optional().register(Q,{id:`AcceptorConfigurationContent12.ServiceProviderParameters`,innerSchema:`ServiceProviderParameters3`}),MerchantParameters:F(H,M(Qje)).optional().register(Q,{id:`AcceptorConfigurationContent12.MerchantParameters`,innerSchema:`MerchantConfigurationParameters6`}),TerminalParameters:F(H,M(nMe)).optional().register(Q,{id:`AcceptorConfigurationContent12.TerminalParameters`,innerSchema:`PaymentTerminalParameters8`}),ApplicationParameters:F(H,M(rMe)).optional().register(Q,{id:`AcceptorConfigurationContent12.ApplicationParameters`,innerSchema:`ApplicationParameters12`}),HostCommunicationParameters:F(H,M(aMe)).optional().register(Q,{id:`AcceptorConfigurationContent12.HostCommunicationParameters`,innerSchema:`HostCommunicationParameter6`}),SecurityParameters:F(H,M(oMe)).optional().register(Q,{id:`AcceptorConfigurationContent12.SecurityParameters`,innerSchema:`SecurityParameters15`}),SaleToPOIParameters:F(H,M(sMe)).optional().register(Q,{id:`AcceptorConfigurationContent12.SaleToPOIParameters`,innerSchema:`SaleToPOIProtocolParameter3`}),TerminalPackage:F(H,M(cMe)).optional().register(Q,{id:`AcceptorConfigurationContent12.TerminalPackage`,innerSchema:`TerminalPackageType4`})}).register(Q,{id:`AcceptorConfigurationContent12`}),uMe=N({Identification:A9,SequenceCounter:x9.optional(),LastSequence:q5.optional(),POIIdentification:F(H,M(y7)).optional().register(Q,{id:`AcceptorConfigurationDataSet4.POIIdentification`,innerSchema:`GenericIdentification176`}),ConfigurationScope:fke.optional().register(Q,{id:`AcceptorConfigurationDataSet4.ConfigurationScope`,innerSchema:`PartyType15Code`}),Content:lMe}).register(Q,{id:`AcceptorConfigurationDataSet4`}),I9=N({TerminalManagerIdentification:y7,POIGroupIdentification:F(H,M($)).optional().register(Q,{id:`AcceptorConfiguration12.POIGroupIdentification`,innerSchema:`Max35Text`}),DataSet:F(H,M(uMe).min(1)).register(Q,{id:`AcceptorConfiguration12.DataSet`,innerSchema:`AcceptorConfigurationDataSet4`})}).register(Q,{id:`AcceptorConfiguration12`}),L9=N({DownloadTransfer:q5,FormatVersion:m9,ExchangeIdentification:J5,CreationDateTime:n7,InitiatingParty:y7,RecipientParty:L5.optional(),Traceability:F(H,M(h9)).optional().register(Q,{id:`TMSHeader1.Traceability`,innerSchema:`Traceability8`})}).register(Q,{id:`TMSHeader1`}),dMe=N({Header:L9,AcceptorConfiguration:I9,SecurityTrailer:a9.optional()}).register(Q,{id:`AcceptorConfigurationUpdateV12`}),R9=N({Environment:V7,AcquirerAvailabilityRequested:q5.optional()}).register(Q,{id:`AcceptorDiagnosticRequest11`}),fMe=N({Header:g9,DiagnosticRequest:R9,SecurityTrailer:_9.optional()}).register(Q,{id:`AcceptorDiagnosticRequestV11`}),pMe=N({Header:g9,DiagnosticResponse:N({Environment:V7,TMSTrigger:y9.optional(),AcquirerAvailable:q5.optional()}).register(Q,{id:`AcceptorDiagnosticResponse9`}),SecurityTrailer:_9.optional()}).register(Q,{id:`AcceptorDiagnosticResponseV10`}),z9=N({RejectReason:xke.register(Q,{id:`AcceptorRejection2.RejectReason`,innerSchema:`RejectReason1Code`}),AdditionalInformation:j5.optional(),MessageInError:l7.optional()}).register(Q,{id:`AcceptorRejection2`}),B9=N({RejectReason:Ske.register(Q,{id:`AcceptorRejection3.RejectReason`,innerSchema:`RejectReason2Code`}),AdditionalInformation:j5.optional(),MessageInError:l7.optional()}).register(Q,{id:`AcceptorRejection3`}),V9=N({MessageFunction:QOe.register(Q,{id:`Header57.MessageFunction`,innerSchema:`MessageFunction9Code`}),ProtocolVersion:m9,ExchangeIdentification:J5.optional(),CreationDateTime:n7,InitiatingParty:y7.optional(),RecipientParty:L5.optional(),Traceability:F(H,M(h9)).optional().register(Q,{id:`Header57.Traceability`,innerSchema:`Traceability8`})}).register(Q,{id:`Header57`}),mMe=N({Header:V9,Reject:z9}).register(Q,{id:`AcceptorRejectionV06`}),hMe=N({ImageFormat:$,ImageData:X7.optional(),ImageReference:j5.optional(),AdditionalInformation:G5.optional()}).register(Q,{id:`CapturedSignature1`}),gMe=N({Identification:A9,POIChallenge:P5.optional(),TMChallenge:P5.optional(),SessionKey:v7.optional(),DelegationProof:r7.optional(),ProtectedDelegationProof:_7.optional()}).register(Q,{id:`DataSetRequest4`}),_Me=N({DisplayOutput:F(H,M(d5).min(1)).register(Q,{id:`DeviceDisplayRequest5.DisplayOutput`,innerSchema:`OutputFormat1Code`})}).register(Q,{id:`DeviceDisplayRequest5`}),H9=N({Response:Tke.register(Q,{id:`ResponseType11.Response`,innerSchema:`Response11Code`}),ResponseReason:Eke.optional().register(Q,{id:`ResponseType11.ResponseReason`,innerSchema:`RetailerResultDetail1Code`}),AdditionalResponseInformation:G5.optional()}).register(Q,{id:`ResponseType11`}),U9=N({DeviceType:E5.register(Q,{id:`OutputResult2.DeviceType`,innerSchema:`UserInterface4Code`}),InformationQualifier:c5.register(Q,{id:`OutputResult2.InformationQualifier`,innerSchema:`InformationQualify1Code`}),Response:H9}).register(Q,{id:`OutputResult2`}),vMe=N({OutputResult:F(H,M(U9).min(1)).register(Q,{id:`DeviceDisplayResponse2.OutputResult`,innerSchema:`OutputResult2`})}).register(Q,{id:`DeviceDisplayResponse2`}),yMe=N({WarmResetFlag:q5.optional(),ForceEntryMode:F(H,M(X8)).optional().register(Q,{id:`DeviceInitialisationCardReaderRequest5.ForceEntryMode`,innerSchema:`CardDataReading8Code`}),LeaveCardFlag:q5.optional(),MaximumWaitingTime:J5.optional(),DisplayOutput:o9.optional()}).register(Q,{id:`DeviceInitialisationCardReaderRequest5`}),bMe=N({ATRValue:P5.optional(),CardStatus:M5.optional()}).register(Q,{id:`ICCResetData1`}),xMe=N({CardEntryMode:X8.optional().register(Q,{id:`DeviceInitialisationCardReaderResponse2.CardEntryMode`,innerSchema:`CardDataReading8Code`}),ICCResetData:bMe.optional(),AdditionalInformation:l9.optional()}).register(Q,{id:`DeviceInitialisationCardReaderResponse2`}),SMe=N({ExchangeIdentification:$,OutputContent:o9}).register(Q,{id:`DeviceInputNotification5`}),CMe=N({DeviceType:y5.register(Q,{id:`InputData5.DeviceType`,innerSchema:`SaleCapabilities2Code`}),InformationQualifier:c5.register(Q,{id:`InputData5.InformationQualifier`,innerSchema:`InformationQualify1Code`}),InputCommand:l5.register(Q,{id:`InputData5.InputCommand`,innerSchema:`InputCommand1Code`}),NotifyCardInputFlag:q5,MaximumInputTime:J5.optional(),InputText:o9.optional(),ImmediateResponseFlag:q5.optional(),WaitUserValidationFlag:q5.optional(),BeepKeyFlag:q5.optional(),GlobalCorrectionFlag:q5.optional(),DisableCancelFlag:q5.optional(),DisableCorrectFlag:q5.optional(),DisableValidFlag:q5.optional(),MenuBackFlag:q5.optional()}).register(Q,{id:`InputData5`}),wMe=N({DisplayOutput:o9.optional(),InputData:CMe}).register(Q,{id:`DeviceInputRequest5`}),TMe=N({InputCommand:l5.register(Q,{id:`InputResultData5.InputCommand`,innerSchema:`InputCommand1Code`}),ConfirmedFlag:q5.optional(),FunctionKey:J5.optional(),InputMessage:i9.optional(),Password:_7.optional(),ImageCapturedSignature:hMe.optional()}).register(Q,{id:`InputResultData5`}),EMe=N({DeviceType:y5.register(Q,{id:`InputResult5.DeviceType`,innerSchema:`SaleCapabilities2Code`}),InformationQualifier:c5.register(Q,{id:`InputResult5.InformationQualifier`,innerSchema:`InformationQualify1Code`}),InputResultData:TMe}).register(Q,{id:`InputResult5`}),DMe=N({OutputResult:U9.optional(),InputResult:EMe}).register(Q,{id:`DeviceInputResponse5`}),OMe=N({ResourceType:wke.register(Q,{id:`ResourceContent1.ResourceType`,innerSchema:`ResourceType1Code`}),ResourceFormat:jke.optional().register(Q,{id:`ResourceContent1.ResourceFormat`,innerSchema:`SoundFormat1Code`}),Language:Y5.optional(),ResourceReference:b7.optional()}).register(Q,{id:`ResourceContent1`}),kMe=N({ResponseMode:g5.optional().register(Q,{id:`DevicePlayResourceRequest1.ResponseMode`,innerSchema:`ResponseMode2Code`}),ResourceAction:Cke.register(Q,{id:`DevicePlayResourceRequest1.ResourceAction`,innerSchema:`ResourceAction1Code`}),SoundVolume:r9.optional(),DisplayResolution:$.optional(),Resource:OMe.optional(),TimingSlot:_ke.optional().register(Q,{id:`DevicePlayResourceRequest1.TimingSlot`,innerSchema:`ProcessingPosition2Code`})}).register(Q,{id:`DevicePlayResourceRequest1`}),AMe=N({PowerOffMaximumWaitingTime:J5.optional(),DisplayOutput:o9.optional()}).register(Q,{id:`DevicePoweroffCardReaderRequest5`}),jMe=N({DocumentQualifier:i5.register(Q,{id:`DevicePrintRequest5.DocumentQualifier`,innerSchema:`DocumentType7Code`}),ResponseMode:g5.register(Q,{id:`DevicePrintRequest5.ResponseMode`,innerSchema:`ResponseMode2Code`}),IntegratedPrintFlag:q5.optional(),RequiredSignatureFlag:q5.optional(),OutputContent:o9}).register(Q,{id:`DevicePrintRequest5`}),MMe=N({DocumentQualifier:i5.register(Q,{id:`DevicePrintResponse1.DocumentQualifier`,innerSchema:`DocumentType7Code`})}).register(Q,{id:`DevicePrintResponse1`}),NMe=N({PINRequestType:ske.register(Q,{id:`DeviceSecureInputRequest5.PINRequestType`,innerSchema:`PINRequestType1Code`}),PINVerificationMethod:$.optional(),MaximumWaitingTime:J5.optional(),BeepKeyFlag:q5.optional(),CardholderPIN:R7.optional()}).register(Q,{id:`DeviceSecureInputRequest5`}),W9=F(sV,j().base64().min(fV(1)).max(fV(256))).register(Q,{id:`Min1Max256Binary`}),PMe=N({Class:W9,Instruction:W9,Parameter1:W9,Parameter2:W9,Data:W9.optional(),ExpectedLength:W9.optional()}).register(Q,{id:`DeviceSendApplicationProtocolDataUnitCardReaderRequest1`}),FMe=N({DestinationAddress:F5,MaximumTransmissionTime:J5,MaximumWaitingTime:J5.optional(),MessageToSend:l7}).register(Q,{id:`DeviceTransmitMessageRequest2`}),IMe=N({Environment:V7.optional(),Context:Z7.optional(),ServiceContent:v5.register(Q,{id:`DeviceRequest6.ServiceContent`,innerSchema:`RetailerService8Code`}),DisplayRequest:_Me.optional(),InputRequest:wMe.optional(),PrintRequest:jMe.optional(),PlayResourceRequest:kMe.optional(),SecureInputRequest:NMe.optional(),InitialisationCardReaderRequest:yMe.optional(),CardReaderAPDURequest:PMe.optional(),PowerOffCardReaderRequest:AMe.optional(),TransmissionRequest:FMe.optional(),InputNotification:SMe.optional(),SupplementaryData:F(H,M(f9)).optional().register(Q,{id:`DeviceRequest6.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(Q,{id:`DeviceRequest6`}),LMe=N({CardholderPIN:R7.optional()}).register(Q,{id:`DeviceSecureInputResponse5`}),RMe=N({Data:W9.optional(),CardStatus:W9}).register(Q,{id:`DeviceSendApplicationProtocolDataUnitCardReaderResponse1`}),zMe=N({ReceivedMessage:l7.optional()}).register(Q,{id:`DeviceTransmitMessageResponse1`}),BMe=N({Environment:V7.optional(),Context:Z7.optional(),ServiceContent:Oke.register(Q,{id:`DeviceResponse6.ServiceContent`,innerSchema:`RetailerService9Code`}),DisplayResponse:vMe.optional(),InputResponse:DMe.optional(),PrintResponse:MMe.optional(),SecureInputResponse:LMe.optional(),InitialisationCardReaderResponse:xMe.optional(),CardReaderApplicationProtocolDataUnitResponse:RMe.optional(),TransmissionResponse:zMe.optional(),Response:H9,SupplementaryData:F(H,M(f9)).optional().register(Q,{id:`DeviceResponse6.SupplementaryData`,innerSchema:`SupplementaryData1`})}).register(Q,{id:`DeviceResponse6`}),VMe=N({ActionResult:F(H,M(S5).min(1)).register(Q,{id:`ErrorAction5.ActionResult`,innerSchema:`TerminalManagementActionResult5Code`}),ActionToProcess:Lke.register(Q,{id:`ErrorAction5.ActionToProcess`,innerSchema:`TerminalManagementErrorAction2Code`})}).register(Q,{id:`ErrorAction5`}),HMe=N({WaitingTime:x9.optional(),StartTime:n7.optional(),EndTime:n7.optional(),Period:x9.optional(),MaximumNumber:J5.optional(),UnitOfTime:C5.optional().register(Q,{id:`ProcessTiming5.UnitOfTime`,innerSchema:`TimeUnit1Code`})}).register(Q,{id:`ProcessTiming5`}),UMe=N({Type:x5.register(Q,{id:`TMSAction11.Type`,innerSchema:`TerminalManagementAction5Code`}),RemoteAccess:F5.optional(),Key:F(H,M(F9)).optional().register(Q,{id:`TMSAction11.Key`,innerSchema:`KEKIdentifier5`}),TerminalManagerIdentification:y7.optional(),TMSProtocol:$.optional(),TMSProtocolVersion:$.optional(),DataSetIdentification:A9.optional(),ComponentType:F(H,M(r5)).optional().register(Q,{id:`TMSAction11.ComponentType`,innerSchema:`DataSetCategory18Code`}),DelegationScopeIdentification:$.optional(),DelegationScopeDefinition:h7.optional(),DelegationProof:r7.optional(),ProtectedDelegationProof:_7.optional(),Trigger:Fke.optional().register(Q,{id:`TMSAction11.Trigger`,innerSchema:`TerminalManagementActionTrigger1Code`}),AdditionalProcess:F(H,M(Ike)).optional().register(Q,{id:`TMSAction11.AdditionalProcess`,innerSchema:`TerminalManagementAdditionalProcess1Code`}),ReTry:S9.optional(),TimeCondition:HMe.optional(),TMChallenge:P5.optional(),KeyEnciphermentCertificate:F(H,M(N5)).optional().register(Q,{id:`TMSAction11.KeyEnciphermentCertificate`,innerSchema:`Max10KBinary`}),ErrorAction:F(H,M(VMe)).optional().register(Q,{id:`TMSAction11.ErrorAction`,innerSchema:`ErrorAction5`}),AdditionalInformation:F(H,M(h7)).optional().register(Q,{id:`TMSAction11.AdditionalInformation`,innerSchema:`Max3000Binary`}),MessageItem:F(H,M(j9)).optional().register(Q,{id:`TMSAction11.MessageItem`,innerSchema:`MessageItemCondition2`}),DeviceRequest:IMe.optional()}).register(Q,{id:`TMSAction11`}),WMe=N({TMChallenge:P5.optional(),KeyEnciphermentCertificate:F(H,M(N5)).optional().register(Q,{id:`ManagementPlanContent11.KeyEnciphermentCertificate`,innerSchema:`Max10KBinary`}),Action:F(H,M(UMe)).optional().register(Q,{id:`ManagementPlanContent11.Action`,innerSchema:`TMSAction11`})}).register(Q,{id:`ManagementPlanContent11`}),G9=N({POIIdentification:y7,TerminalManagerIdentification:y7,DataSet:N({Identification:A9,SequenceCounter:x9.optional(),LastSequence:q5.optional(),Content:WMe.optional()}).register(Q,{id:`TerminalManagementDataSet32`})}).register(Q,{id:`ManagementPlan11`}),GMe=N({Header:L9,ManagementPlan:G9,SecurityTrailer:a9.optional()}).register(Q,{id:`ManagementPlanReplacementV11`}),KMe=N({TriggerSource:mke.register(Q,{id:`TriggerInformation2.TriggerSource`,innerSchema:`PartyType5Code`}),SourceIdentification:$,TriggerType:o5.register(Q,{id:`TriggerInformation2.TriggerType`,innerSchema:`ExchangePolicy2Code`}),AdditionalInformation:V5.optional()}).register(Q,{id:`TriggerInformation2`}),qMe=N({ActionType:x5.register(Q,{id:`TMSActionIdentification9.ActionType`,innerSchema:`TerminalManagementAction5Code`}),DataSetIdentification:A9.optional()}).register(Q,{id:`TMSActionIdentification9`}),JMe=N({Timestamp:n7,Result:S5.register(Q,{id:`TMSEvent10.Result`,innerSchema:`TerminalManagementActionResult5Code`}),ActionIdentification:qMe,AdditionalErrorInformation:V5.optional(),TerminalManagerIdentification:$.optional(),DeviceResponse:BMe.optional()}).register(Q,{id:`TMSEvent10`}),YMe=N({POICapabilities:X5.optional(),POIComponent:F(H,M(C7)).optional().register(Q,{id:`StatusReportContent12.POIComponent`,innerSchema:`PointOfInteractionComponent14`}),POIGroupIdentification:F(H,M($)).optional().register(Q,{id:`StatusReportContent12.POIGroupIdentification`,innerSchema:`Max35Text`}),AttendanceContext:K8.optional().register(Q,{id:`StatusReportContent12.AttendanceContext`,innerSchema:`AttendanceContext1Code`}),POIDateTime:n7,DataSetRequired:F(H,M(gMe)).optional().register(Q,{id:`StatusReportContent12.DataSetRequired`,innerSchema:`DataSetRequest4`}),Event:F(H,M(JMe)).optional().register(Q,{id:`StatusReportContent12.Event`,innerSchema:`TMSEvent10`}),Errors:F(H,M(G5)).optional().register(Q,{id:`StatusReportContent12.Errors`,innerSchema:`Max140Text`})}).register(Q,{id:`StatusReportContent12`}),XMe=N({Identification:A9,SequenceCounter:x9.optional(),LastSequence:q5.optional(),Content:YMe}).register(Q,{id:`StatusReportDataSetRequest4`}),K9=N({POIIdentification:y7,InitiatingTrigger:KMe.optional(),TerminalManagerIdentification:y7,DataSet:XMe}).register(Q,{id:`StatusReport12`}),ZMe=N({Header:L9,StatusReport:K9,SecurityTrailer:a9.optional()}).register(Q,{id:`StatusReportV12`}),QMe=N({Header:L9,Reject:B9}).register(Q,{id:`TerminalManagementRejectionV05`});YO([g9,L9,V9]).register(Q,{id:`UnionOfHeaders`}),YO([p9,w9,O9,k9,T9,D9,R9,K9,z9,B9,G9,I9]).register(Q,{id:`UnionOfMessageBodies`});var q9=N({AcceptorAuthorisationRequest:jje}).register(Q,{id:`caaa_001_001_12`});YO([q9,N({AcceptorAuthorisationResponse:Lje}).register(Q,{id:`caaa_002_001_12`}),N({AcceptorCompletionAdvice:Kje}).register(Q,{id:`caaa_003_001_12`}),N({AcceptorCompletionAdviceResponse:Gje}).register(Q,{id:`caaa_004_001_11`}),N({AcceptorCancellationAdvice:Hje}).register(Q,{id:`caaa_007_001_12`}),N({AcceptorCancellationAdviceResponse:Vje}).register(Q,{id:`caaa_008_001_11`}),N({AcceptorDiagnosticRequest:fMe}).register(Q,{id:`caaa_013_001_11`}),N({AcceptorDiagnosticResponse:pMe}).register(Q,{id:`caaa_014_001_10`}),N({AcceptorRejection:mMe}).register(Q,{id:`caaa_015_001_06`}),N({StatusReport:ZMe}).register(Q,{id:`catm_001_001_12`}),N({ManagementPlanReplacement:GMe}).register(Q,{id:`catm_002_001_11`}),N({AcceptorConfigurationUpdate:dMe}).register(Q,{id:`catm_003_001_12`}),N({TerminalManagementRejection:QMe}).register(Q,{id:`catm_004_001_05`})]).register(Q,{id:`UnionOfMessages`}),YO([_9,a9]).register(Q,{id:`UnionOfSecurityTrailers`});var J9=class extends Bde{static nexoSchema=V8;static normalisedSchema=q9;static messageName=`AcceptorAuthorisationRequest`;static bodyKey=`AuthorisationRequest`;constructor(){super({})}},{omitBy:$Me,merge:eNe}=u(YN(),1).default,tNe=N({cardBrand:P([`Visa`,`Mastercard`,`Amex`,`Maestro`]).describe(`Card network brand`),cardCountryCode:j().length(2).describe(`ISO 3166-1 alpha-2 country code of the issuing bank`),cardCurrencyCode:j().length(3).optional().describe(`ISO 4217 currency code of the card`),cardProductType:P([`consumer`,`business`]).describe(`Whether the card is consumer or business`),cardProductSubType:j().optional().describe(`Sub-type of the card product`),issuerBin:j().describe(`Bank Identification Number of the issuer`),issuerName:j().optional().describe(`Name of the issuing bank`),cardCategory:j().optional().describe(`Card category (e.g. Classic, Gold, Platinum)`),fastFundsDomestic:xO().optional().describe(`Whether fast funds are available for domestic transactions`),fastFundsCrossBorder:xO().optional().describe(`Whether fast funds are available for cross-border transactions`)}),nNe=bP,rNe=J9.normalisedSchema.shape.AcceptorAuthorisationRequest.shape.Header,iNe=J9.normalisedSchema.shape.AcceptorAuthorisationRequest.shape.AuthorisationRequest,aNe=J9.normalisedSchema.shape.AcceptorAuthorisationRequest.shape.SecurityTrailer;function Y9(e,t,n){let r=e,i=e instanceof UO||e._zod.input instanceof UO||e._zod.output instanceof UO,a=!1,o=Q.get(e),s=Q._idmap.get(o?.innerSchema||``);return s&&s instanceof vk?([r,a]=Y9(s,t,n),i||=a):s&&(r=s,t.includes(`ServiceAttribute`)&&console.log(o)),(r instanceof bk||r instanceof wk||r instanceof Dk)&&([r,a]=Y9(r.def.innerType,t,n),i||=a),r instanceof zk&&([r,a]=Y9(r.out,t,n),i||=a),r instanceof UO&&(i=!0,[r,a]=Y9(r.element,t,n)),[r,i]}function X9(e,t,n,r=[]){t.includes(`ServiceAttribute`)&&(console.log(t,n),console.log(`ping`));let i=[],[a,o]=Y9(e,t,n);if(o&&(t+=`[0]`),a instanceof GO){o&&r.push(n);let e=a.shape;for(let[a,o]of Object.entries(e)){let e=t?`${t}.${a}`:a,s=n?`${n} › ${a}`:a;i.push(...X9(o,e,s,r))}}else{let e,s=a;s instanceof fk&&(e=s.options);let c=s._zod.def.type;i.push({path:t,label:n,schema:a,enumValues:e,isArray:o,arraysInPath:r,type:c})}return i}function oNe(){return[{inputName:`binLookupResult`,label:`BIN Lookup`,fields:X9(tNe,`binLookupResult`,``)},{inputName:`poiContext`,label:`POI Context`,fields:X9(nNe,`poiContext`,``)},{inputName:`messageHeader`,label:`Message Header`,fields:X9(rNe,`messageHeader`,``)},{inputName:`messageBody`,label:`Message Body`,fields:X9(iNe,`messageBody`,``)},{inputName:`messageTrailer`,label:`Security Trailer`,fields:X9(aNe,`messageTrailer`,``)}]}function Z9(e,t,n){let r={...n};return delete r.expressionComponents,{rule_id:e,description:t,definition:r}}function sNe(e,t,n){return{name:e,type:J_.TRANSACTION_ROUTING,description:t,current_version_id:n?.toString()}}function Q9(e){return{current_version_id:e.toString()}}function cNe(e,t){return{rule_id:e,transaction_routing_strategy:t}}function lNe(e){return{transaction_routing_rule_id:e}}var uNe={class:`editor-header`},dNe=[`value`],fNe={class:`toggle-row`},pNe={class:`editor-hint`},mNe={class:`editor-fields`},hNe=[`label`],gNe=[`value`],_Ne=[`value`],vNe=[`value`],yNe=[`placeholder`],bNe={key:2,class:`type-indicator`},xNe={key:0,class:`type-indicator`},SNe={class:`editor-children`},CNe=qI(mr({__name:`RuleEditor`,props:{rule:{},ruleCounter:{},allFields:{},groupedFields:{},depth:{}},emits:[`update`,`update:ruleCounter`,`remove`],setup(e,{emit:t}){let n=e,r=t,i=n.depth??0,a=$a(()=>n.allFields.find(e=>e.path===n.rule.expressionComponents?.expressionField)),o=$a(()=>{if(!n.rule.expressionComponents||n.rule.expressionComponents.expressionField===`custom`)return[];switch(a.value?.type){case`enum`:case`boolean`:return[`==`,`!=`];case`number`:return[`==`,`!=`,`>`,`>=`,`<`,`<=`];case`string`:return[`==`,`!=`];default:return[]}});function s(e){e.expressionComponents?.expressionField===`custom`&&n.rule.expressionComponents?.expressionField!==`custom`&&delete e.expressionComponents,r(`update`,{...n.rule,...e})}function c(e,t){let i=n.rule.rules?[...n.rule.rules]:[];i[t]=e,r(`update`,{...n.rule,rules:i})}function l(e){let t=(n.rule.rules||[]).filter((t,n)=>n!==e);r(`update`,{...n.rule,rules:t})}function u(){r(`update:ruleCounter`,n.ruleCounter+1)}function d(){let e=n.rule.rules?[...n.rule.rules]:[];u(),e.push({ruleName:`New Rule ${n.ruleCounter+1}`,operator:`And`,expression:`custom == 1`,expressionComponents:{expressionField:`custom`,expressionOperator:`==`,expressionComparator:`1`}}),r(`update`,{...n.rule,rules:e})}function f(e){r(`update`,{...n.rule,operator:e})}function p(){s({expression:`custom == 1`,expressionComponents:{expressionField:`custom`,expressionOperator:`==`,expressionComparator:`1`}})}function m(){s({expression:void 0,expressionComponents:void 0})}return(t,n)=>{let u=zr(`RuleEditor`,!0);return ca(),pa(`div`,{class:Me([`rule-editor`,{&#x22;rule-editor--nested&#x22;:yn(i)>0}]),style:De({&#x22;--accent-bar&#x22;:e.rule.operator===`And`?`var(--c-accent)`:`var(--c-warning)`})},[T(`div`,uNe,[T(`input`,{value:e.rule.ruleName,onInput:n[0]||=e=>s({ruleName:e.target.value}),placeholder:`Optional name`,class:`name-input`},null,40,dNe),T(`div`,fNe,[T(`button`,{class:Me([`toggle-btn`,{active:e.rule.operator===`And`}]),onClick:n[1]||=e=>f(`And`)},`AND`,2),T(`button`,{class:Me([`toggle-btn`,{active:e.rule.operator===`Or`}]),onClick:n[2]||=e=>f(`Or`)},`OR`,2)]),T(`span`,pNe,Be(e.rule.operator===`And`?`All conditions must match`:`Any condition can match`),1),yn(i)>0?(ca(),pa(`button`,{key:0,class:`icon-btn icon-btn--danger`,onClick:n[3]||=e=>r(`remove`),title:`Remove rule`},[...n[12]||=[T(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`2`},[T(`path`,{d:`M18 6L6 18M6 6l12 12`})],-1)]])):Ta(``,!0)]),T(`div`,mNe,[e.rule.expressionComponents?(ca(),pa(na,{key:0},[er(T(`select`,{&#x22;onUpdate:modelValue&#x22;:n[4]||=t=>e.rule.expressionComponents.expressionField=t,class:`field-select`},[(ca(!0),pa(na,null,Ur(e.groupedFields,e=>(ca(),pa(`optgroup`,{key:e.inputName,label:e.label},[(ca(!0),pa(na,null,Ur(e.fields,e=>(ca(),pa(`option`,{key:e.path,value:e.path},Be(e.label),9,gNe))),128))],8,hNe))),128)),n[13]||=T(`optgroup`,{label:`Advanced`},[T(`option`,{value:`custom`},`Custom Expression`)],-1)],512),[[Ko,e.rule.expressionComponents.expressionField]]),e.rule.expressionComponents&&e.rule.expressionComponents.expressionField!==`custom`?(ca(),pa(na,{key:0},[er(T(`select`,{&#x22;onUpdate:modelValue&#x22;:n[5]||=t=>e.rule.expressionComponents.expressionOperator=t,class:`op-select`},[(ca(!0),pa(na,null,Ur(o.value,e=>(ca(),pa(`option`,{key:e,value:e},Be(e),9,_Ne))),128))],512),[[Ko,e.rule.expressionComponents.expressionOperator,void 0,{lazy:!0}]]),a.value?.enumValues?er((ca(),pa(`select`,{key:0,&#x22;onUpdate:modelValue&#x22;:n[6]||=t=>e.rule.expressionComponents.expressionComparator=t,class:`value-select`},[n[14]||=T(`option`,{value:``,disabled:``},`Select…`,-1),(ca(!0),pa(na,null,Ur(a.value.enumValues,e=>(ca(),pa(`option`,{key:e,value:e},Be(e),9,vNe))),128))],512)),[[Ko,e.rule.expressionComponents.expressionComparator,void 0,{lazy:!0}]]):a.value?.type===`boolean`?er((ca(),pa(`select`,{key:1,&#x22;onUpdate:modelValue&#x22;:n[7]||=t=>e.rule.expressionComponents.expressionComparator=t,class:`value-select`},[...n[15]||=[T(`option`,{value:``,disabled:``},`Select…`,-1),T(`option`,{value:`true`},`True`,-1),T(`option`,{value:`false`},`False`,-1)]],512)),[[Ko,e.rule.expressionComponents.expressionComparator,void 0,{lazy:!0}]]):a.value?.type===`number`?er((ca(),pa(`input`,{key:2,type:`number`,&#x22;onUpdate:modelValue&#x22;:n[8]||=t=>e.rule.expressionComponents.expressionComparator=t,placeholder:`Value (number; NB transaction amounts are integer minor units)`,class:`value-input`},null,512)),[[Go,e.rule.expressionComponents.expressionComparator,void 0,{number:!0,lazy:!0}]]):er((ca(),pa(`input`,{key:3,&#x22;onUpdate:modelValue&#x22;:n[9]||=t=>e.rule.expressionComponents.expressionComparator=t,placeholder:`Value (${a.value?.type})`,class:`value-input`},null,8,yNe)),[[Go,e.rule.expressionComponents.expressionComparator,void 0,{lazy:!0}]])],64)):er((ca(),pa(`input`,{key:1,&#x22;onUpdate:modelValue&#x22;:n[10]||=t=>e.rule.expression=t,placeholder:`e.g. binLookupResult.cardBrand == 'Visa'`,class:`custom-expr`},null,512)),[[Go,e.rule.expression,void 0,{lazy:!0}]]),T(`button`,{class:`icon-btn icon-btn--danger expr-remove-btn`,onClick:m,title:`Remove expression`},[...n[16]||=[T(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`2`},[T(`path`,{d:`M18 6L6 18M6 6l12 12`})],-1)]])],64)):(ca(),pa(`button`,{key:1,class:`ghost-btn expr-add-btn`,onClick:p},[...n[17]||=[T(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`2.5`},[T(`path`,{d:`M12 5v14M5 12h14`})],-1),Ca(` Add Expression `,-1)]])),a.value?(ca(),pa(`span`,bNe,Be(a.value.type),1)):Ta(``,!0)]),a.value?.arraysInPath.length||a.value?.isArray?(ca(),pa(`div`,xNe,&#x22; Note: This field is an array or contains an array in its path. For clarity we have assumed the use of the first element (`[0]`) - to use array-specific functionality you can instead write a custom expression. &#x22;)):Ta(``,!0),T(`div`,SNe,[(ca(!0),pa(na,null,Ur(e.rule.rules,(t,a)=>(ca(),ma(u,{key:t.ruleName,rule:t,depth:yn(i)+1,&#x22;all-fields&#x22;:e.allFields,&#x22;grouped-fields&#x22;:e.groupedFields,ruleCounter:e.ruleCounter,onUpdate:e=>c(e,a),onRemove:e=>l(a),&#x22;onUpdate:ruleCounter&#x22;:n[11]||=e=>r(`update:ruleCounter`,e)},null,8,[`rule`,`depth`,`all-fields`,`grouped-fields`,`ruleCounter`,`onUpdate`,`onRemove`]))),128))]),T(`div`,{class:`editor-actions`},[T(`button`,{class:`ghost-btn`,onClick:d},[...n[18]||=[T(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`2.5`},[T(`path`,{d:`M12 5v14M5 12h14`})],-1),Ca(` Add Child Rule `,-1)]])])],6)}}}),[[`__scopeId`,`data-v-8639e0e6`]]),wNe={class:`acquirer-list`},TNe={class:`acquirer-info`},ENe={class:`acquirer-label`},DNe={class:`acquirer-desc`},ONe=[`value`,`onInput`],kNe={key:0,class:`weight-hint`},$9=qI(mr({__name:`AcquirerWeights`,props:{weights:{},strategy:{}},emits:[`update`],setup(e,{emit:t}){let n=e,r=t;function i(e,t){r(`update`,{...n.weights,[e]:t})}return(t,n)=>(ca(),pa(`div`,wNe,[(ca(!0),pa(na,null,Ur(yn(BI),t=>(ca(),pa(`div`,{key:t.key,class:Me([`acquirer-row`,{active:(e.weights[t.key]??0)>0}])},[T(`div`,TNe,[T(`div`,ENe,Be(t.label),1),T(`div`,DNe,Be(t.description),1)]),T(`input`,{type:`number`,min:`0`,max:`100`,step:`0.1`,class:`weight-input`,value:e.weights[t.key]??0,onInput:e=>i(t.key,parseFloat(e.target.value)||0)},null,40,ONe)],2))),128)),e.strategy===`weighted_random`?(ca(),pa(`div`,kNe,` Weights determine probability. e.g., 0.7 and 0.3 → 70% / 30% split. `)):Ta(``,!0)]))}}),[[`__scopeId`,`data-v-814e7493`]]),ANe={class:`json-preview`},jNe={class:`json-header`},MNe={key:0,class:`badge badge--success`},NNe={key:1,class:`mini-label`},PNe=[`innerHTML`],FNe=qI(mr({__name:`JsonPreview`,props:{rule:{},compact:{type:Boolean}},setup(e){let t=e,n=gn(!1),r=$a(()=>JSON.stringify(t.rule,null,2)),i=$a(()=>r.value.replace(/&/g,`&#x26;amp;`).replace(/</g,`&#x26;lt;`).replace(/(&#x22;(?:\\.|[^&#x22;\\])*&#x22;)\s*:/g,`<span class=&#x22;jk&#x22;>$1</span>:`).replace(/:\s*(&#x22;(?:\\.|[^&#x22;\\])*&#x22;)/g,`: <span class=&#x22;js&#x22;>$1</span>`).replace(/:\s*(\d+\.?\d*)/g,`: <span class=&#x22;jn&#x22;>$1</span>`).replace(/:\s*(true|false)/g,`: <span class=&#x22;jb&#x22;>$1</span>`));async function a(){await navigator.clipboard.writeText(r.value),n.value=!0,setTimeout(()=>n.value=!1,2e3)}return(t,r)=>(ca(),pa(`div`,ANe,[T(`div`,jNe,[e.compact?(ca(),pa(`span`,NNe,`Live JSON`)):(ca(),pa(`span`,MNe,`Live Preview`)),T(`button`,{class:Me([`copy-btn`,{copied:n.value}]),onClick:a},Be(n.value?`Copied!`:`Copy JSON`),3)]),T(`pre`,{class:Me([`json-code`,{&#x22;json-code--compact&#x22;:e.compact}]),innerHTML:i.value},null,10,PNe)]))}}),[[`__scopeId`,`data-v-403eed10`]]),INe={class:`app`},LNe={class:`header`},RNe={class:`header-inner`},zNe={class:`content`},BNe={class:`main-panel`},VNe={key:0,class:`card fade-in`},HNe={class:`field-stack`},UNe={class:`field`},WNe={class:`field`},GNe={class:`toggle-row-outer`},KNe={class:`field-desc`},qNe={class:`field`},JNe={key:1,class:`card fade-in`},YNe={class:`field-stack`},XNe={class:`field`},ZNe={class:`card fade-in`},QNe={class:`card fade-in`,style:{&#x22;margin-top&#x22;:`16px`}},$Ne={class:`card-header`},ePe={class:`field`},tPe={key:0,style:{color:`var(--c-danger)`,&#x22;font-size&#x22;:`12px`,&#x22;margin-top&#x22;:`4px`}},nPe={key:2,class:`card fade-in`},rPe={key:0,class:`card card--error fade-in`},iPe={class:`error-list`},aPe={class:`summary-grid`},oPe={class:`summary-cell`},sPe={class:`summary-value mono`},cPe={class:`summary-cell`},lPe={class:`summary-value`},uPe={class:`summary-cell`},dPe={class:`summary-value`},fPe={class:`card fade-in`,style:{&#x22;margin-top&#x22;:`16px`}},pPe={key:4,class:`card fade-in`},mPe={class:`card-body`},hPe={key:0},gPe={class:`curl-block`,style:{background:`#222`,color:`#fff`,padding:`12px`,&#x22;border-radius&#x22;:`6px`,&#x22;overflow-x&#x22;:`auto`,&#x22;font-size&#x22;:`13px`}},_Pe={class:`curl-block`,style:{background:`#222`,color:`#fff`,padding:`12px`,&#x22;border-radius&#x22;:`6px`,&#x22;overflow-x&#x22;:`auto`,&#x22;font-size&#x22;:`13px`}},vPe={key:1},yPe={style:{&#x22;margin-top&#x22;:`16px`}},bPe={class:`curl-block`,style:{background:`#222`,color:`#fff`,padding:`12px`,&#x22;border-radius&#x22;:`6px`,&#x22;overflow-x&#x22;:`auto`,&#x22;font-size&#x22;:`13px`}},xPe={class:`curl-block`,style:{background:`#222`,color:`#fff`,padding:`12px`,&#x22;border-radius&#x22;:`6px`,&#x22;overflow-x&#x22;:`auto`,&#x22;font-size&#x22;:`13px`}},SPe={class:`curl-block`,style:{background:`#222`,color:`#fff`,padding:`12px`,&#x22;border-radius&#x22;:`6px`,&#x22;overflow-x&#x22;:`auto`,&#x22;font-size&#x22;:`13px`}},CPe={class:`curl-block`,style:{background:`#222`,color:`#fff`,padding:`12px`,&#x22;border-radius&#x22;:`6px`,&#x22;overflow-x&#x22;:`auto`,&#x22;font-size&#x22;:`13px`}},wPe={class:`curl-block`,style:{background:`#222`,color:`#fff`,padding:`12px`,&#x22;border-radius&#x22;:`6px`,&#x22;overflow-x&#x22;:`auto`,&#x22;font-size&#x22;:`13px`}},TPe={key:0,class:`sidebar`},EPe={class:`sidebar-sticky`},DPe={class:`card card--compact`},OPe={class:`sidebar-header`},kPe={class:`sidebar-json`},APe={class:`bottom-bar`},jPe={class:`bottom-inner`},MPe=[`disabled`],NPe={class:`step-counter`},PPe=[`disabled`];Qo(qI(mr({__name:`App`,setup(e){let t=gn(`basics`),n=nn({rule_id:``,transaction_routing_strategy:X_.WEIGHTED_RANDOM}),r=nn({name:``,type:J_.TRANSACTION_ROUTING,description:``}),i=nn({rule_id:``,description:``,definition:{ruleName:`Untitled`,operator:`And`,expression:`custom == 1`,expressionComponents:{expressionField:`custom`,expressionOperator:`==`,expressionComparator:`1`},actions:{onSuccess:{name:`ReturnObject`,context:{[P_.SHIFT_4]:1,[P_.SHIFT_4_AMEX]:0}}}}}),a=nn({useFailure:!1,jsonInput:``,jsonInputError:``,ruleCounter:0,deployOption:`create`}),o=oNe(),s=an(o.flatMap(e=>e.fields)),c=an(o),l=$a(()=>[]);function u(e){if(e&&typeof e==`object`){delete e.expressionComponents;for(let t in e)u(e[t])}}let d=$a(()=>{let e=JSON.parse(JSON.stringify(i.definition));return u(e),e});or(()=>i.definition.expressionComponents,e=>{e&&(i.definition.expression=`${e.expressionField} ${e.expressionOperator} ${e.expressionComparator}`)},{deep:!0});function f(){if(a.jsonInputError=``,a.jsonInput.trim())try{let e=JSON.parse(a.jsonInput),t=$F.loose().strip().parse(e);Object.assign(i,t)}catch(e){a.jsonInputError=`Invalid JSON: `+(e.message||e)}}let p=$a(()=>HI.findIndex(e=>e.key===t.value)),m=$a(()=>p.value>0),h=$a(()=>p.value<HI.length-1);function g(){h.value&&(t.value=HI[p.value+1].key)}function _(){m.value&&(t.value=HI[p.value-1].key)}async function v(){await navigator.clipboard.writeText(JSON.stringify(i.definition,null,2))}return(e,o)=>(ca(),pa(`div`,INe,[T(`header`,LNe,[T(`div`,RNe,[o[13]||=wa(`<div class=&#x22;header-brand&#x22; data-v-faacb22c><div class=&#x22;brand-icon&#x22; data-v-faacb22c><svg width=&#x22;18&#x22; height=&#x22;18&#x22; viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22; stroke=&#x22;#fff&#x22; stroke-width=&#x22;2.5&#x22; data-v-faacb22c><path d=&#x22;M9 3H5a2 2 0 00-2 2v4m6-6h10a2 2 0 012 2v4M9 3v18m0 0h10a2 2 0 002-2v-4M9 21H5a2 2 0 01-2-2v-4m0-6v6&#x22; data-v-faacb22c></path></svg></div><div data-v-faacb22c><h1 class=&#x22;brand-title&#x22; data-v-faacb22c>Transaction Routing Rule Builder</h1><p class=&#x22;brand-sub&#x22; data-v-faacb22c>Define conditions and acquirer weights to route payments</p></div></div>`,1),ya(JI,{steps:yn(HI),current:t.value,onSelect:o[0]||=e=>t.value=e},null,8,[`steps`,`current`])])]),T(`main`,zNe,[T(`div`,{class:Me([`content-grid`,{&#x22;content-grid--full&#x22;:t.value===`review`}])},[T(`div`,BNe,[t.value===`basics`?(ca(),pa(`div`,VNe,[o[17]||=T(`h2`,{class:`card-title`},`Rule Basics`,-1),T(`div`,HNe,[T(`div`,UNe,[o[14]||=T(`label`,{class:`field-label`},[Ca(`Rule Name `),T(`span`,{class:`field-hint`},`A unique identifier`)],-1),er(T(`input`,{&#x22;onUpdate:modelValue&#x22;:o[1]||=e=>r.name=e,placeholder:`e.g. SchemeBasedRouting`,class:`mono`},null,512),[[Go,r.name]])]),T(`div`,WNe,[o[15]||=T(`label`,{class:`field-label`},[Ca(`Routing Strategy `),T(`span`,{class:`field-hint`},`How weights are interpreted`)],-1),T(`div`,GNe,[T(`button`,{class:Me([`strat-btn`,{active:n.transaction_routing_strategy===`sorted`}]),onClick:o[2]||=e=>n.transaction_routing_strategy=yn(X_).SORTED},`Sorted (Priority)`,2),T(`button`,{class:Me([`strat-btn`,{active:n.transaction_routing_strategy===`weighted_random`}]),onClick:o[3]||=e=>n.transaction_routing_strategy=yn(X_).WEIGHTED_RANDOM},`Weighted Random`,2)]),T(`p`,KNe,Be(n.transaction_routing_strategy===`sorted`?`The acquirer with the highest weight is always preferred. Lower-weighted acquirers are fallbacks.`:`Acquirers are selected randomly with probability proportional to their weight.`),1)]),T(`div`,qNe,[o[16]||=T(`label`,{class:`field-label`},[Ca(`Description `),T(`span`,{class:`field-hint`},`Optional description`)],-1),er(T(`textarea`,{&#x22;onUpdate:modelValue&#x22;:o[4]||=e=>r.description=e,placeholder:`Enter a description for your rule`,class:`mono`,rows:`3`},null,512),[[Go,r.description]])])])])):Ta(``,!0),t.value===`version`?(ca(),pa(`div`,JNe,[o[23]||=T(`div`,{class:`card-header`},[T(`div`,null,[T(`h2`,{class:`card-title`},`Version`),T(`p`,{class:`card-sub`},`Set the basic details for the new version of this rule`)])],-1),T(`div`,YNe,[T(`div`,XNe,[o[18]||=T(`label`,{class:`field-label`},[Ca(`Description `),T(`span`,{class:`field-hint`},`Optional description`)],-1),er(T(`textarea`,{&#x22;onUpdate:modelValue&#x22;:o[5]||=e=>i.description=e,placeholder:`Enter a description for this version of your rule`,class:`mono`,rows:`3`},null,512),[[Go,i.description]])]),T(`div`,ZNe,[o[19]||=T(`div`,{class:`card-header`},[T(`div`,null,[T(`h2`,{class:`card-title`},[T(`span`,{class:`dot dot--success`}),Ca(` On Match — Acquirer Weights `)]),T(`p`,{class:`card-sub`},`Weights assigned when all conditions are met`)])],-1),ya($9,{weights:i.definition.actions.onSuccess.context,strategy:n.transaction_routing_strategy,onUpdate:o[6]||=e=>i.definition.actions.onSuccess.context=e},null,8,[`weights`,`strategy`])]),T(`div`,QNe,[T(`div`,$Ne,[o[21]||=T(`div`,null,[T(`h2`,{class:`card-title`},[T(`span`,{class:`dot dot--danger`}),Ca(` On No Match — Fallback Weights `)]),T(`p`,{class:`card-sub`},`Optional fallback when conditions are not met`)],-1),T(`button`,{class:Me([`switch`,{on:a.useFailure}]),onClick:o[7]||=e=>a.useFailure=!a.useFailure},[...o[20]||=[T(`div`,{class:`switch-thumb`},null,-1)]],2)]),a.useFailure?(ca(),ma($9,{key:0,weights:i.definition.actions.onFailure.context,strategy:n.transaction_routing_strategy,onUpdate:o[8]||=e=>i.definition.actions.onFailure.context=e},null,8,[`weights`,`strategy`])):Ta(``,!0)]),T(`div`,ePe,[o[22]||=T(`label`,{class:`field-label`},[Ca(`JSON Input `),T(`span`,{class:`field-hint`},`Optional rule version details in JSON format`)],-1),er(T(`textarea`,{&#x22;onUpdate:modelValue&#x22;:o[9]||=e=>a.jsonInput=e,onChange:f,placeholder:&#x22;You can input an existing rule definition in JSON format - this is very useful when you want to create a new version of an existing rule.\nYou can simply paste in the output of GET /v1/rules/:ruleId/rule-versions/:id or the current version of the `transaction_routing_rule` from GET /v1/pois/:id/context&#x22;,class:`mono`,rows:`7`},null,544),[[Go,a.jsonInput,void 0,{lazy:!0}]]),a.jsonInputError?(ca(),pa(`div`,tPe,Be(a.jsonInputError),1)):Ta(``,!0)])])])):Ta(``,!0),t.value===`conditions`?(ca(),pa(`div`,nPe,[o[24]||=T(`div`,{class:`card-header`},[T(`div`,null,[T(`h2`,{class:`card-title`},`Definition`),T(`p`,{class:`card-sub`},`Define when this rule matches a transaction`)])],-1),ya(CNe,{rule:i.definition,&#x22;rule-counter&#x22;:a.ruleCounter,&#x22;all-fields&#x22;:yn(s),&#x22;grouped-fields&#x22;:yn(c),onUpdate:o[10]||=e=>Object.assign(i.definition,e),&#x22;onUpdate:ruleCounter&#x22;:o[11]||=e=>a.ruleCounter=e},null,8,[`rule`,`rule-counter`,`all-fields`,`grouped-fields`])])):Ta(``,!0),t.value===`review`?(ca(),pa(na,{key:3},[l.value.length?(ca(),pa(`div`,rPe,[o[26]||=T(`h3`,{class:`error-title`},`Validation Issues`,-1),T(`div`,iPe,[(ca(!0),pa(na,null,Ur(l.value,(e,t)=>(ca(),pa(`div`,{key:t,class:`error-item`},[o[25]||=T(`span`,{class:`error-bullet`},`•`,-1),Ca(` `+Be(e),1)]))),128))])])):Ta(``,!0),T(`div`,{class:`card fade-in`,style:De({marginTop:l.value.length?`16px`:0})},[o[30]||=T(`h2`,{class:`card-title`},`Summary`,-1),T(`div`,aPe,[T(`div`,oPe,[o[27]||=T(`div`,{class:`summary-label`},`Rule Name`,-1),T(`div`,sPe,Be(i.definition.ruleName||`—`),1)]),T(`div`,cPe,[o[28]||=T(`div`,{class:`summary-label`},`Strategy`,-1),T(`div`,lPe,Be(n.transaction_routing_strategy===`sorted`?`Sorted (Priority)`:`Weighted Random`),1)]),T(`div`,uPe,[o[29]||=T(`div`,{class:`summary-label`},`Fallback`,-1),T(`div`,dPe,Be(a.useFailure?`Enabled`:`None`),1)])])],4),T(`div`,fPe,[ya(FNe,{rule:d.value},null,8,[`rule`])])],64)):Ta(``,!0),t.value===`deploy`?(ca(),pa(`div`,pPe,[o[39]||=T(`div`,{class:`card-header`},[T(`div`,null,[T(`h2`,{class:`card-title`},`Deploy`),T(`p`,{class:`card-sub`},`Deploy your rule to the live environment`)])],-1),T(`div`,mPe,[er(T(`select`,{&#x22;onUpdate:modelValue&#x22;:o[12]||=e=>a.deployOption=e},[...o[31]||=[T(`option`,{value:`update`},`Update existing rule`,-1),T(`option`,{value:`create`},`Create new rule`,-1)]],512),[[Ko,a.deployOption]])]),a.deployOption===`update`?(ca(),pa(`div`,hPe,[o[32]||=T(`label`,{style:{&#x22;font-weight&#x22;:`bold`,&#x22;margin-bottom&#x22;:`8px`,display:`block`}},`1: Create New Version`,-1),T(`pre`,gPe,`curl -X POST \\&#xA;  https://mgmt-api.torogateway.dev/rule-versions \\&#xA;  -H 'Content-Type: application/json' \\&#xA;  -H 'API-Key: YOUR_API_KEY_HERE' \\&#xA;  -d '&#xA;`+Be(JSON.stringify(yn(Z9)(`INSERT RULE ID HERE`,i.description,i.definition||{}),null,2))+`&#xA;                `,1),o[33]||=T(`label`,{style:{&#x22;font-weight&#x22;:`bold`,&#x22;margin-bottom&#x22;:`8px`,display:`block`}},`2: Update Current Version`,-1),T(`pre`,_Pe,`curl -X PATCH \\&#xA;  https://mgmt-api.torogateway.dev/rules/INSERT_RULE_ID_HERE \\&#xA;  -H 'Content-Type: application/json' \\&#xA;  -H 'API-Key: YOUR_API_KEY_HERE' \\&#xA;  -d '&#xA;`+Be(JSON.stringify(yn(Q9)(`INSERT CURRENT VERSION ID HERE`),null,2))+`&#xA;                `,1)])):a.deployOption===`create`?(ca(),pa(`div`,vPe,[T(`div`,yPe,[o[34]||=T(`label`,{style:{&#x22;font-weight&#x22;:`bold`,&#x22;margin-bottom&#x22;:`8px`,display:`block`}},`1: Create Rule`,-1),T(`pre`,bPe,`curl -X POST \\&#xA;  https://mgmt-api.torogateway.dev/rules \\&#xA;  -H 'Content-Type: application/json' \\&#xA;  -H 'API-Key: YOUR_API_KEY_HERE' \\&#xA;  -d '&#xA;`+Be(JSON.stringify(yn(sNe)(r.name,r.description,null),null,2))+`&#xA;                `,1),o[35]||=T(`label`,{style:{&#x22;font-weight&#x22;:`bold`,&#x22;margin-bottom&#x22;:`8px`,display:`block`}},`2: Create Initial Version`,-1),T(`pre`,xPe,`curl -X POST \\&#xA;  https://mgmt-api.torogateway.dev/rule-versions \\&#xA;  -H 'Content-Type: application/json' \\&#xA;  -H 'API-Key: YOUR_API_KEY_HERE' \\&#xA;  -d '&#xA;`+Be(JSON.stringify(yn(Z9)(`INSERT RULE ID HERE`,i.description,i.definition||{}),null,2))+`&#xA;                `,1),o[36]||=T(`label`,{style:{&#x22;font-weight&#x22;:`bold`,&#x22;margin-bottom&#x22;:`8px`,display:`block`}},`3: Set Current Version`,-1),T(`pre`,SPe,`curl -X PATCH \\&#xA;  https://mgmt-api.torogateway.dev/rules/INSERT_RULE_ID_HERE \\&#xA;  -H 'Content-Type: application/json' \\&#xA;  -H 'API-Key: YOUR_API_KEY_HERE' \\&#xA;  -d '&#xA;`+Be(JSON.stringify(yn(Q9)(`INSERT CURRENT VERSION ID HERE`),null,2))+`&#xA;                `,1),o[37]||=T(`label`,{style:{&#x22;font-weight&#x22;:`bold`,&#x22;margin-bottom&#x22;:`8px`,display:`block`}},`4: Create Transaction Routing Rule`,-1),T(`pre`,CPe,`curl -X POST \\&#xA;  https://mgmt-api.torogateway.dev/transaction-routing-rules \\&#xA;  -H 'Content-Type: application/json' \\&#xA;  -H 'API-Key: YOUR_API_KEY_HERE' \\&#xA;  -d '&#xA;`+Be(JSON.stringify(yn(cNe)(`INSERT RULE ID HERE`,n.transaction_routing_strategy),null,2))+`&#xA;                `,1),o[38]||=T(`label`,{style:{&#x22;font-weight&#x22;:`bold`,&#x22;margin-bottom&#x22;:`8px`,display:`block`}},`5: Attach to Configuration`,-1),T(`pre`,wPe,`curl -X POST \\&#xA;  https://mgmt-api.torogateway.dev/configurations/INSERT_CONFIGURATION_ID_HERE \\&#xA;  -H 'Content-Type: application/json' \\&#xA;  -H 'API-Key: YOUR_API_KEY_HERE' \\&#xA;  -d '&#xA;`+Be(JSON.stringify(yn(lNe)(`INSERT TRANSACTION ROUTING RULE ID HERE`),null,2))+`&#xA;                `,1)])])):Ta(``,!0)])):Ta(``,!0)]),t.value===`review`?Ta(``,!0):(ca(),pa(`aside`,TPe,[T(`div`,EPe,[T(`div`,DPe,[T(`div`,OPe,[o[40]||=T(`span`,{class:`mini-label`},`Live JSON`,-1),T(`div`,{class:Me([`pulse-dot`,l.value.length?`pulse-dot--err`:`pulse-dot--ok`])},null,2)]),T(`pre`,kPe,Be(JSON.stringify(d.value,null,2)),1)])])]))],2)]),T(`footer`,APe,[T(`div`,jPe,[T(`button`,{class:`nav-btn`,disabled:!m.value,onClick:_},[...o[41]||=[T(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`2`},[T(`path`,{d:`M19 12H5M12 5l-7 7 7 7`})],-1),Ca(` Back `,-1)]],8,MPe),T(`span`,NPe,`Step `+Be(p.value+1)+` of `+Be(yn(HI).length),1),h.value?(ca(),pa(`button`,{key:0,class:`nav-btn nav-btn--primary`,onClick:g},[...o[42]||=[Ca(` Next `,-1),T(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`2`},[T(`path`,{d:`M5 12h14M12 5l7 7-7 7`})],-1)]])):(ca(),pa(`button`,{key:1,class:`nav-btn nav-btn--primary`,disabled:l.value.length>0,onClick:v},[...o[43]||=[T(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,&#x22;stroke-width&#x22;:`2`},[T(`path`,{d:`M5 13l4 4L19 7`})],-1),Ca(` Copy rule definition to clipboard `,-1)]],8,PPe))])])]))}}),[[`__scopeId`,`data-v-faacb22c`]])).mount(`#app`);</script>&#xA;    <style rel=&#x22;stylesheet&#x22; crossorigin>@import &#x22;https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&display=swap&#x22;;.step-row[data-v-9e7d5b75]{align-items:center;display:flex}.step-btn[data-v-9e7d5b75]{cursor:pointer;font-family:var(--font-body);background:0 0;border:none;border-radius:20px;align-items:center;gap:8px;padding:6px 14px;transition:background .2s;display:flex}.step-btn.active[data-v-9e7d5b75]{background:var(--c-accent-soft)}.step-dot[data-v-9e7d5b75]{background:var(--c-bg);width:24px;height:24px;color:var(--c-text-dim);border:1px solid var(--c-border);border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:700;transition:all .2s;display:flex}.step-dot--active[data-v-9e7d5b75]{background:var(--c-accent);color:#fff;border:none}.step-dot--done[data-v-9e7d5b75]{background:var(--c-success);color:#fff;border:none}.step-title[data-v-9e7d5b75]{color:var(--c-text-muted);font-size:13px;font-weight:400}.step-title--active[data-v-9e7d5b75]{color:var(--c-text);font-weight:600}.step-line[data-v-9e7d5b75]{background:var(--c-border);width:32px;height:1px;transition:background .3s}.step-line--done[data-v-9e7d5b75]{background:var(--c-success)}.rule-editor[data-v-8639e0e6]{border-left:2px solid var(--accent-bar,var(--c-accent));padding-left:16px;position:relative}.rule-editor--nested[data-v-8639e0e6]{margin-top:6px;margin-left:4px}.editor-header[data-v-8639e0e6]{align-items:center;gap:10px;margin-bottom:10px;display:flex}.toggle-row[data-v-8639e0e6]{background:var(--c-bg);border-radius:var(--radius-sm);gap:2px;padding:3px;display:flex}.toggle-btn[data-v-8639e0e6]{color:var(--c-text-muted);cursor:pointer;font-size:11px;font-weight:600;font-family:var(--font-body);letter-spacing:.04em;background:0 0;border:none;border-radius:4px;padding:5px 14px;transition:all .2s}.toggle-btn.active[data-v-8639e0e6]{background:var(--c-surface);color:var(--c-text);box-shadow:0 1px 4px #0000004d}.editor-hint[data-v-8639e0e6]{color:var(--c-text-dim);font-size:11px}.editor-fields[data-v-8639e0e6]{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.field-select[data-v-8639e0e6]{width:220px}.op-select[data-v-8639e0e6]{width:72px}.value-select[data-v-8639e0e6],.value-input[data-v-8639e0e6]{width:150px}.custom-expr[data-v-8639e0e6]{min-width:220px;font-family:var(--font-mono);flex:1;font-size:12px}.editor-children[data-v-8639e0e6]{flex-direction:column;gap:6px;display:flex}.editor-actions[data-v-8639e0e6]{gap:6px;margin-top:10px;display:flex}.ghost-btn[data-v-8639e0e6]{font-size:12px;font-weight:500;font-family:var(--font-body);border-radius:var(--radius-sm);color:var(--c-accent);cursor:pointer;background:0 0;border:none;align-items:center;gap:5px;padding:5px 10px;transition:background .15s;display:inline-flex}.ghost-btn[data-v-8639e0e6]:hover{background:var(--c-accent-soft)}.expr-remove-btn[data-v-8639e0e6]:hover{background:var(--c-danger-soft,#fbeaea)}.expr-add-btn[data-v-8639e0e6]{color:var(--c-accent)}.type-indicator[data-v-8639e0e6]{color:var(--c-text-dim);font-size:11px}.acquirer-list[data-v-814e7493]{flex-direction:column;gap:10px;display:flex}.acquirer-row[data-v-814e7493]{border-radius:var(--radius-sm);background:var(--c-bg);border:1px solid var(--c-border);align-items:center;gap:12px;padding:12px 14px;transition:all .2s;display:flex}.acquirer-row.active[data-v-814e7493]{background:var(--c-accent-soft);border-color:#4f6bff40}.acquirer-info[data-v-814e7493]{flex:1}.acquirer-label[data-v-814e7493]{color:var(--c-text);font-size:13px;font-weight:500}.acquirer-row:not(.active) .acquirer-label[data-v-814e7493]{color:var(--c-text-muted)}.acquirer-desc[data-v-814e7493]{color:var(--c-text-dim);font-size:11px}.weight-input[data-v-814e7493]{text-align:center;width:72px;font-family:var(--font-mono);font-size:13px;font-weight:500}.weight-hint[data-v-814e7493]{color:var(--c-text-dim);padding:2px 4px;font-size:11px}.json-preview[data-v-403eed10]{position:relative}.json-header[data-v-403eed10]{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.badge[data-v-403eed10]{letter-spacing:.04em;text-transform:uppercase;border-radius:4px;align-items:center;padding:3px 8px;font-size:10px;font-weight:700;display:inline-flex}.badge--success[data-v-403eed10]{color:var(--c-success);background:var(--c-success-soft)}.mini-label[data-v-403eed10]{color:var(--c-text-dim);text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:600}.copy-btn[data-v-403eed10]{font-size:11px;font-weight:500;font-family:var(--font-body);border-radius:var(--radius-sm);border:1px solid var(--c-border);color:var(--c-text-muted);cursor:pointer;background:0 0;padding:4px 10px;transition:all .2s}.copy-btn[data-v-403eed10]:hover{background:var(--c-surface-hover)}.copy-btn.copied[data-v-403eed10]{background:var(--c-accent);border-color:var(--c-accent);color:#fff}.json-code[data-v-403eed10]{background:var(--c-bg);border:1px solid var(--c-border);border-radius:var(--radius-sm);font-size:12px;line-height:1.6;font-family:var(--font-mono);white-space:pre-wrap;word-break:break-word;max-height:480px;padding:16px;overflow:auto}.json-code--compact[data-v-403eed10]{max-height:400px;padding:10px;font-size:10px;line-height:1.5}.json-code[data-v-403eed10] .jk{color:#7aafff}.json-code[data-v-403eed10] .js{color:#2dd4a0}.json-code[data-v-403eed10] .jn{color:#ffb84f}.json-code[data-v-403eed10] .jb{color:#c084fc}:root{--c-bg:#0d0f12;--c-surface:#151820;--c-surface-hover:#1a1f2a;--c-border:#242a38;--c-border-focus:#4f6bff;--c-text:#e4e7ed;--c-text-muted:#7a8299;--c-text-dim:#505872;--c-accent:#4f6bff;--c-accent-soft:#4f6bff1a;--c-accent-glow:#4f6bff40;--c-danger:#ff4f6b;--c-danger-soft:#ff4f6b1a;--c-success:#2dd4a0;--c-success-soft:#2dd4a01a;--c-warning:#ffb84f;--radius:10px;--radius-sm:6px;--font-body:&#x22;DM Sans&#x22;, &#x22;Segoe UI&#x22;, sans-serif;--font-mono:&#x22;JetBrains Mono&#x22;, &#x22;Fira Code&#x22;, monospace}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--c-bg);color:var(--c-text);font-family:var(--font-body);-webkit-font-smoothing:antialiased}::selection{background:var(--c-accent-glow);color:#fff}input,select,textarea{color:var(--c-text);background:var(--c-bg);border:1px solid var(--c-border);border-radius:var(--radius-sm);outline:none;width:100%;padding:8px 12px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}input:focus,select:focus{border-color:var(--c-border-focus);box-shadow:0 0 0 3px var(--c-accent-soft)}select{cursor:pointer;appearance:none;background-image:url(&#x22;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A8299' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E&#x22;);background-position:right 10px center;background-repeat:no-repeat;padding-right:30px}button{cursor:pointer;border:none;outline:none;font-family:inherit}.mono{font-family:var(--font-mono)}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:.25s fadeIn}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}pre::-webkit-scrollbar{width:6px;height:6px}pre::-webkit-scrollbar-track{background:0 0}pre::-webkit-scrollbar-thumb{background:var(--c-border);border-radius:3px}.icon-btn{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--c-text-dim);background:0 0;justify-content:center;align-items:center;transition:all .15s;display:inline-flex}.icon-btn:hover{background:var(--c-surface-hover);color:var(--c-text-muted)}.icon-btn--danger:hover{background:var(--c-danger-soft);color:var(--c-danger)}.app[data-v-faacb22c]{background:var(--c-bg);min-height:100vh}.header[data-v-faacb22c]{border-bottom:1px solid var(--c-border);background:linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg) 100%);padding:20px 0 16px}.header-inner[data-v-faacb22c]{max-width:920px;margin:0 auto;padding:0 24px}.header-brand[data-v-faacb22c]{align-items:center;gap:12px;margin-bottom:16px;display:flex}.brand-icon[data-v-faacb22c]{background:linear-gradient(135deg, var(--c-accent), #7b4fff);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.brand-title[data-v-faacb22c]{letter-spacing:-.02em;font-size:18px;font-weight:700}.brand-sub[data-v-faacb22c]{color:var(--c-text-muted);margin-top:1px;font-size:12px}.content[data-v-faacb22c]{max-width:920px;margin:0 auto;padding:24px 24px 88px}.content-grid[data-v-faacb22c]{gap:24px;display:flex}.content-grid--full[data-v-faacb22c]{display:block}.main-panel[data-v-faacb22c]{flex:1;min-width:0}.card[data-v-faacb22c]{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);padding:20px}.card--compact[data-v-faacb22c]{padding:14px}.card--error[data-v-faacb22c]{background:var(--c-danger-soft);border-color:#ff4f6b40}.card-title[data-v-faacb22c]{align-items:center;gap:6px;margin-bottom:18px;font-size:15px;font-weight:600;display:flex}.card-header[data-v-faacb22c]{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.card-header .card-title[data-v-faacb22c]{margin-bottom:0}.card-sub[data-v-faacb22c]{color:var(--c-text-dim);margin-top:2px;font-size:12px}.dot[data-v-faacb22c]{border-radius:50%;width:8px;height:8px;display:inline-block}.dot--success[data-v-faacb22c]{background:var(--c-success)}.dot--danger[data-v-faacb22c]{background:var(--c-danger)}.field-stack[data-v-faacb22c]{flex-direction:column;gap:18px;display:flex}.field[data-v-faacb22c]{flex-direction:column;gap:5px;display:flex}.field-label[data-v-faacb22c]{color:var(--c-text-muted);letter-spacing:.02em;font-size:12px;font-weight:500}.field-hint[data-v-faacb22c]{color:var(--c-text-dim);margin-left:6px;font-weight:400}.field-desc[data-v-faacb22c]{color:var(--c-text-dim);margin-top:6px;font-size:12px;line-height:1.5}.toggle-row-outer[data-v-faacb22c]{background:var(--c-bg);border-radius:var(--radius-sm);gap:2px;padding:3px;display:flex}.strat-btn[data-v-faacb22c]{color:var(--c-text-muted);background:0 0;border-radius:4px;flex:1;padding:7px 14px;font-size:12px;font-weight:500;transition:all .2s}.strat-btn.active[data-v-faacb22c]{background:var(--c-surface);color:var(--c-text);box-shadow:0 1px 4px #0000004d}.switch[data-v-faacb22c]{background:var(--c-border);border-radius:12px;flex-shrink:0;width:42px;height:24px;transition:background .2s;position:relative}.switch.on[data-v-faacb22c]{background:var(--c-accent)}.switch-thumb[data-v-faacb22c]{background:#fff;border-radius:50%;width:18px;height:18px;transition:left .2s;position:absolute;top:3px;left:3px}.switch.on .switch-thumb[data-v-faacb22c]{left:21px}.error-title[data-v-faacb22c]{color:var(--c-danger);margin-bottom:8px;font-size:13px;font-weight:600}.error-list[data-v-faacb22c]{flex-direction:column;gap:4px;display:flex}.error-item[data-v-faacb22c]{color:var(--c-text);align-items:flex-start;gap:6px;font-size:12px;display:flex}.error-bullet[data-v-faacb22c]{color:var(--c-danger);flex-shrink:0}.summary-grid[data-v-faacb22c]{grid-template-columns:1fr 1fr;gap:14px;display:grid}.summary-cell[data-v-faacb22c]{background:var(--c-bg);border-radius:var(--radius-sm);padding:12px}.summary-label[data-v-faacb22c]{color:var(--c-text-dim);margin-bottom:4px;font-size:11px}.summary-value[data-v-faacb22c]{font-size:13px;font-weight:500}.sidebar[data-v-faacb22c]{flex-shrink:0;width:280px}.sidebar-sticky[data-v-faacb22c]{position:sticky;top:20px}.sidebar-header[data-v-faacb22c]{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.mini-label[data-v-faacb22c]{color:var(--c-text-dim);text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:600}.pulse-dot[data-v-faacb22c]{border-radius:50%;width:6px;height:6px;animation:2s infinite pulse}.pulse-dot--ok[data-v-faacb22c]{background:var(--c-success)}.pulse-dot--err[data-v-faacb22c]{background:var(--c-danger)}.sidebar-json[data-v-faacb22c]{font-size:10px;line-height:1.5;font-family:var(--font-mono);color:var(--c-text-muted);white-space:pre-wrap;word-break:break-word;max-height:400px;overflow:auto}.bottom-bar[data-v-faacb22c]{border-top:1px solid var(--c-border);backdrop-filter:blur(12px);z-index:100;background:#151820eb;padding:12px 24px;position:fixed;bottom:0;left:0;right:0}.bottom-inner[data-v-faacb22c]{justify-content:space-between;align-items:center;max-width:920px;margin:0 auto;display:flex}.step-counter[data-v-faacb22c]{color:var(--c-text-dim);font-size:12px}.nav-btn[data-v-faacb22c]{border-radius:var(--radius-sm);color:var(--c-text-muted);border:1px solid var(--c-border);background:0 0;align-items:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:500;transition:all .2s;display:inline-flex}.nav-btn[data-v-faacb22c]:disabled{opacity:.35;cursor:default}.nav-btn[data-v-faacb22c]:not(:disabled):hover{background:var(--c-surface-hover)}.nav-btn--primary[data-v-faacb22c]{background:var(--c-accent);color:#fff;border:none}.nav-btn--primary[data-v-faacb22c]:not(:disabled):hover{box-shadow:0 2px 12px var(--c-accent-glow);background:#6380ff}&#xA;/*$vite$:1*/</style>&#xA;  </head>&#xA;  <body>&#xA;    <div id=&#x22;app&#x22;></div>&#xA;  </body>&#xA;</html>&#xA;"}

:::

