@milaboratories/milaboratories.monetization-test.ui 1.1.118 → 1.1.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +25 -0
- package/dist/assets/{index-B0ZO1W8O.js → index-BlndULX8.js} +3 -3
- package/dist/assets/{index-B0ZO1W8O.js.map → index-BlndULX8.js.map} +1 -1
- package/dist/index.html +1 -1
- package/package.json +6 -6
|
@@ -14,7 +14,7 @@ var p3=Object.defineProperty;var sw=A=>{throw TypeError(A)};var C3=(A,e,t)=>e in
|
|
|
14
14
|
* @vue/runtime-dom v3.5.13
|
|
15
15
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
16
|
* @license MIT
|
|
17
|
-
**/let dC;const xw=typeof window<"u"&&window.trustedTypes;if(xw)try{dC=xw.createPolicy("vue",{createHTML:A=>A})}catch{}const dQ=dC?A=>dC.createHTML(A):A=>A,hS="http://www.w3.org/2000/svg",uS="http://www.w3.org/1998/Math/MathML",gr=typeof document<"u"?document:null,Mw=gr&&gr.createElement("template"),pS={insert:(A,e,t)=>{e.insertBefore(A,t||null)},remove:A=>{const e=A.parentNode;e&&e.removeChild(A)},createElement:(A,e,t,i)=>{const o=e==="svg"?gr.createElementNS(hS,A):e==="mathml"?gr.createElementNS(uS,A):t?gr.createElement(A,{is:t}):gr.createElement(A);return A==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:A=>gr.createTextNode(A),createComment:A=>gr.createComment(A),setText:(A,e)=>{A.nodeValue=e},setElementText:(A,e)=>{A.textContent=e},parentNode:A=>A.parentNode,nextSibling:A=>A.nextSibling,querySelector:A=>gr.querySelector(A),setScopeId(A,e){A.setAttribute(e,"")},insertStaticContent(A,e,t,i,o,r){const s=t?t.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),t),!(o===r||!(o=o.nextSibling)););else{Mw.innerHTML=dQ(i==="svg"?`<svg>${A}</svg>`:i==="mathml"?`<math>${A}</math>`:A);const n=Mw.content;if(i==="svg"||i==="mathml"){const a=n.firstChild;for(;a.firstChild;)n.appendChild(a.firstChild);n.removeChild(a)}e.insertBefore(n,t)}return[s?s.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},Lr="transition",Za="animation",ig=Symbol("_vtc"),hQ={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},CS=Ze({},DI,hQ),fS=A=>(A.displayName="Transition",A.props=CS,A),$f=fS((A,{slots:e})=>cS(uy,BS(A),e)),ks=(A,e=[])=>{SA(A)?A.forEach(t=>t(...e)):A&&A(...e)},Fw=A=>A?SA(A)?A.some(e=>e.length>1):A.length>1:!1;function BS(A){const e={};for(const F in A)F in hQ||(e[F]=A[F]);if(A.css===!1)return e;const{name:t="v",type:i,duration:o,enterFromClass:r=`${t}-enter-from`,enterActiveClass:s=`${t}-enter-active`,enterToClass:n=`${t}-enter-to`,appearFromClass:a=r,appearActiveClass:l=s,appearToClass:g=n,leaveFromClass:c=`${t}-leave-from`,leaveActiveClass:d=`${t}-leave-active`,leaveToClass:h=`${t}-leave-to`}=A,u=wS(o),p=u&&u[0],C=u&&u[1],{onBeforeEnter:f,onEnter:w,onEnterCancelled:B,onLeave:m,onLeaveCancelled:E,onBeforeAppear:v=f,onAppear:M=w,onAppearCancelled:D=B}=e,Q=(F,_,T,y)=>{F._enterCancelled=y,Gs(F,_?g:n),Gs(F,_?l:s),T&&T()},H=(F,_)=>{F._isLeaving=!1,Gs(F,c),Gs(F,h),Gs(F,d),_&&_()},G=F=>(_,T)=>{const y=F?M:w,U=()=>Q(_,F,T);ks(y,[_,U]),yw(()=>{Gs(_,F?a:r),sr(_,F?g:n),Fw(y)||Sw(_,i,p,U)})};return Ze(e,{onBeforeEnter(F){ks(f,[F]),sr(F,r),sr(F,s)},onBeforeAppear(F){ks(v,[F]),sr(F,a),sr(F,l)},onEnter:G(!1),onAppear:G(!0),onLeave(F,_){F._isLeaving=!0;const T=()=>H(F,_);sr(F,c),F._enterCancelled?(sr(F,d),Yw()):(Yw(),sr(F,d)),yw(()=>{F._isLeaving&&(Gs(F,c),sr(F,h),Fw(m)||Sw(F,i,C,T))}),ks(m,[F,T])},onEnterCancelled(F){Q(F,!1,void 0,!0),ks(B,[F])},onAppearCancelled(F){Q(F,!0,void 0,!0),ks(D,[F])},onLeaveCancelled(F){H(F),ks(E,[F])}})}function wS(A){if(A==null)return null;if(Ce(A))return[_u(A.enter),_u(A.leave)];{const e=_u(A);return[e,e]}}function _u(A){return v3(A)}function sr(A,e){e.split(/\s+/).forEach(t=>t&&A.classList.add(t)),(A[ig]||(A[ig]=new Set)).add(e)}function Gs(A,e){e.split(/\s+/).forEach(i=>i&&A.classList.remove(i));const t=A[ig];t&&(t.delete(e),t.size||(A[ig]=void 0))}function yw(A){requestAnimationFrame(()=>{requestAnimationFrame(A)})}let mS=0;function Sw(A,e,t,i){const o=A._endId=++mS,r=()=>{o===A._endId&&i()};if(t!=null)return setTimeout(r,t);const{type:s,timeout:n,propCount:a}=ES(A,e);if(!s)return i();const l=s+"end";let g=0;const c=()=>{A.removeEventListener(l,d),r()},d=h=>{h.target===A&&++g>=a&&c()};setTimeout(()=>{g<a&&c()},n+1),A.addEventListener(l,d)}function ES(A,e){const t=window.getComputedStyle(A),i=u=>(t[u]||"").split(", "),o=i(`${Lr}Delay`),r=i(`${Lr}Duration`),s=Pw(o,r),n=i(`${Za}Delay`),a=i(`${Za}Duration`),l=Pw(n,a);let g=null,c=0,d=0;e===Lr?s>0&&(g=Lr,c=s,d=r.length):e===Za?l>0&&(g=Za,c=l,d=a.length):(c=Math.max(s,l),g=c>0?s>l?Lr:Za:null,d=g?g===Lr?r.length:a.length:0);const h=g===Lr&&/\b(transform|all)(,|$)/.test(i(`${Lr}Property`).toString());return{type:g,timeout:c,propCount:d,hasTransform:h}}function Pw(A,e){for(;A.length<e.length;)A=A.concat(A);return Math.max(...e.map((t,i)=>Rw(t)+Rw(A[i])))}function Rw(A){return A==="auto"?0:Number(A.slice(0,-1).replace(",","."))*1e3}function Yw(){return document.body.offsetHeight}function vS(A,e,t){const i=A[ig];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?A.removeAttribute("class"):t?A.setAttribute("class",e):A.className=e}const kw=Symbol("_vod"),IS=Symbol("_vsh"),uQ=Symbol("");function QS(A){const e=Xg();if(!e)return;const t=e.ut=(o=A(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>kd(r,o))},i=()=>{const o=A(e.proxy);e.ce?kd(e.ce,o):hC(e.subTree,o),t(o)};PI(()=>{fI(i)}),_o(()=>{ae(i,ro,{flush:"post"});const o=new MutationObserver(i);o.observe(e.subTree.el.parentNode,{childList:!0}),Wg(()=>o.disconnect())})}function hC(A,e){if(A.shapeFlag&128){const t=A.suspense;A=t.activeBranch,t.pendingBranch&&!t.isHydrating&&t.effects.push(()=>{hC(t.activeBranch,e)})}for(;A.component;)A=A.component.subTree;if(A.shapeFlag&1&&A.el)kd(A.el,e);else if(A.type===re)A.children.forEach(t=>hC(t,e));else if(A.type===id){let{el:t,anchor:i}=A;for(;t&&(kd(t,e),t!==i);)t=t.nextSibling}}function kd(A,e){if(A.nodeType===1){const t=A.style;let i="";for(const o in e)t.setProperty(`--${o}`,e[o]),i+=`--${o}: ${e[o]};`;t[uQ]=i}}const DS=/(^|;)\s*display\s*:/;function bS(A,e,t){const i=A.style,o=Pe(t);let r=!1;if(t&&!o){if(e)if(Pe(e))for(const s of e.split(";")){const n=s.slice(0,s.indexOf(":")).trim();t[n]==null&&rd(i,n,"")}else for(const s in e)t[s]==null&&rd(i,s,"");for(const s in t)s==="display"&&(r=!0),rd(i,s,t[s])}else if(o){if(e!==t){const s=i[uQ];s&&(t+=";"+s),i.cssText=t,r=DS.test(t)}}else e&&A.removeAttribute("style");kw in A&&(A[kw]=r?i.display:"",A[IS]&&(i.display="none"))}const Gw=/\s*!important$/;function rd(A,e,t){if(SA(t))t.forEach(i=>rd(A,e,i));else if(t==null&&(t=""),e.startsWith("--"))A.setProperty(e,t);else{const i=xS(A,e);Gw.test(t)?A.setProperty(Pr(i),t.replace(Gw,""),"important"):A[i]=t}}const Tw=["Webkit","Moz","ms"],$u={};function xS(A,e){const t=$u[e];if(t)return t;let i=Di(e);if(i!=="filter"&&i in A)return $u[e]=i;i=Ph(i);for(let o=0;o<Tw.length;o++){const r=Tw[o]+i;if(r in A)return $u[e]=r}return e}const Lw="http://www.w3.org/1999/xlink";function Uw(A,e,t,i,o,r=F3(e)){i&&e.startsWith("xlink:")?t==null?A.removeAttributeNS(Lw,e.slice(6,e.length)):A.setAttributeNS(Lw,e,t):t==null||r&&!Vv(t)?A.removeAttribute(e):A.setAttribute(e,r?"":ho(t)?String(t):t)}function Hw(A,e,t,i,o){if(e==="innerHTML"||e==="textContent"){t!=null&&(A[e]=e==="innerHTML"?dQ(t):t);return}const r=A.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const n=r==="OPTION"?A.getAttribute("value")||"":A.value,a=t==null?A.type==="checkbox"?"on":"":String(t);(n!==a||!("_value"in A))&&(A.value=a),t==null&&A.removeAttribute(e),A._value=t;return}let s=!1;if(t===""||t==null){const n=typeof A[e];n==="boolean"?t=Vv(t):t==null&&n==="string"?(t="",s=!0):n==="number"&&(t=0,s=!0)}try{A[e]=t}catch{}s&&A.removeAttribute(o||e)}function fr(A,e,t,i){A.addEventListener(e,t,i)}function MS(A,e,t,i){A.removeEventListener(e,t,i)}const Nw=Symbol("_vei");function FS(A,e,t,i,o=null){const r=A[Nw]||(A[Nw]={}),s=r[e];if(i&&s)s.value=i;else{const[n,a]=yS(e);if(i){const l=r[e]=RS(i,o);fr(A,n,l,a)}else s&&(MS(A,n,s,a),r[e]=void 0)}}const zw=/(?:Once|Passive|Capture)$/;function yS(A){let e;if(zw.test(A)){e={};let i;for(;i=A.match(zw);)A=A.slice(0,A.length-i[0].length),e[i[0].toLowerCase()]=!0}return[A[2]===":"?A.slice(3):Pr(A.slice(2)),e]}let Ap=0;const SS=Promise.resolve(),PS=()=>Ap||(SS.then(()=>Ap=0),Ap=Date.now());function RS(A,e){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;uo(YS(i,t.value),e,5,[i])};return t.value=A,t.attached=PS(),t}function YS(A,e){if(SA(e)){const t=A.stopImmediatePropagation;return A.stopImmediatePropagation=()=>{t.call(A),A._stopped=!0},e.map(i=>o=>!o._stopped&&i&&i(o))}else return e}const Ow=A=>A.charCodeAt(0)===111&&A.charCodeAt(1)===110&&A.charCodeAt(2)>96&&A.charCodeAt(2)<123,kS=(A,e,t,i,o,r)=>{const s=o==="svg";e==="class"?vS(A,i,s):e==="style"?bS(A,t,i):yh(e)?Lf(e)||FS(A,e,t,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):GS(A,e,i,s))?(Hw(A,e,i),!A.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Uw(A,e,i,s,r,e!=="value")):A._isVueCE&&(/[A-Z]/.test(e)||!Pe(i))?Hw(A,Di(e),i,r,e):(e==="true-value"?A._trueValue=i:e==="false-value"&&(A._falseValue=i),Uw(A,e,i,s))};function GS(A,e,t,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in A&&Ow(e)&&jA(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&A.tagName==="INPUT"||e==="type"&&A.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=A.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ow(e)&&Pe(t)?!1:e in A}const Bs=A=>{const e=A.props["onUpdate:modelValue"]||!1;return SA(e)?t=>ed(e,t):e};function TS(A){A.target.composing=!0}function Vw(A){const e=A.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Li=Symbol("_assign"),og={created(A,{modifiers:{lazy:e,trim:t,number:i}},o){A[Li]=Bs(o);const r=i||o.props&&o.props.type==="number";fr(A,e?"change":"input",s=>{if(s.target.composing)return;let n=A.value;t&&(n=n.trim()),r&&(n=bd(n)),A[Li](n)}),t&&fr(A,"change",()=>{A.value=A.value.trim()}),e||(fr(A,"compositionstart",TS),fr(A,"compositionend",Vw),fr(A,"change",Vw))},mounted(A,{value:e}){A.value=e??""},beforeUpdate(A,{value:e,oldValue:t,modifiers:{lazy:i,trim:o,number:r}},s){if(A[Li]=Bs(s),A.composing)return;const n=(r||A.type==="number")&&!/^0\d/.test(A.value)?bd(A.value):A.value,a=e??"";n!==a&&(document.activeElement===A&&A.type!=="range"&&(i&&e===t||o&&A.value.trim()===a)||(A.value=a))}},LS={deep:!0,created(A,e,t){A[Li]=Bs(t),fr(A,"change",()=>{const i=A._modelValue,o=Ia(A),r=A.checked,s=A[Li];if(SA(i)){const n=Nf(i,o),a=n!==-1;if(r&&!a)s(i.concat(o));else if(!r&&a){const l=[...i];l.splice(n,1),s(l)}}else if(Ga(i)){const n=new Set(i);r?n.add(o):n.delete(o),s(n)}else s(pQ(A,r))})},mounted:jw,beforeUpdate(A,e,t){A[Li]=Bs(t),jw(A,e,t)}};function jw(A,{value:e,oldValue:t},i){A._modelValue=e;let o;if(SA(e))o=Nf(e,i.props.value)>-1;else if(Ga(e))o=e.has(i.props.value);else{if(e===t)return;o=cn(e,pQ(A,!0))}A.checked!==o&&(A.checked=o)}const US={created(A,{value:e},t){A.checked=cn(e,t.props.value),A[Li]=Bs(t),fr(A,"change",()=>{A[Li](Ia(A))})},beforeUpdate(A,{value:e,oldValue:t},i){A[Li]=Bs(i),e!==t&&(A.checked=cn(e,i.props.value))}},HS={deep:!0,created(A,{value:e,modifiers:{number:t}},i){const o=Ga(e);fr(A,"change",()=>{const r=Array.prototype.filter.call(A.options,s=>s.selected).map(s=>t?bd(Ia(s)):Ia(s));A[Li](A.multiple?o?new Set(r):r:r[0]),A._assigning=!0,Uh(()=>{A._assigning=!1})}),A[Li]=Bs(i)},mounted(A,{value:e}){Jw(A,e)},beforeUpdate(A,e,t){A[Li]=Bs(t)},updated(A,{value:e}){A._assigning||Jw(A,e)}};function Jw(A,e){const t=A.multiple,i=SA(e);if(!(t&&!i&&!Ga(e))){for(let o=0,r=A.options.length;o<r;o++){const s=A.options[o],n=Ia(s);if(t)if(i){const a=typeof n;a==="string"||a==="number"?s.selected=e.some(l=>String(l)===String(n)):s.selected=Nf(e,n)>-1}else s.selected=e.has(n);else if(cn(Ia(s),e)){A.selectedIndex!==o&&(A.selectedIndex=o);return}}!t&&A.selectedIndex!==-1&&(A.selectedIndex=-1)}}function Ia(A){return"_value"in A?A._value:A.value}function pQ(A,e){const t=e?"_trueValue":"_falseValue";return t in A?A[t]:e}const NS={created(A,e,t){bc(A,e,t,null,"created")},mounted(A,e,t){bc(A,e,t,null,"mounted")},beforeUpdate(A,e,t,i){bc(A,e,t,i,"beforeUpdate")},updated(A,e,t,i){bc(A,e,t,i,"updated")}};function zS(A,e){switch(A){case"SELECT":return HS;case"TEXTAREA":return og;default:switch(e){case"checkbox":return LS;case"radio":return US;default:return og}}}function bc(A,e,t,i,o){const s=zS(A.tagName,t.props&&t.props.type)[o];s&&s(A,e,t,i)}const OS=["ctrl","shift","alt","meta"],VS={stop:A=>A.stopPropagation(),prevent:A=>A.preventDefault(),self:A=>A.target!==A.currentTarget,ctrl:A=>!A.ctrlKey,shift:A=>!A.shiftKey,alt:A=>!A.altKey,meta:A=>!A.metaKey,left:A=>"button"in A&&A.button!==0,middle:A=>"button"in A&&A.button!==1,right:A=>"button"in A&&A.button!==2,exact:(A,e)=>OS.some(t=>A[`${t}Key`]&&!e.includes(t))},we=(A,e)=>{const t=A._withMods||(A._withMods={}),i=e.join(".");return t[i]||(t[i]=(o,...r)=>{for(let s=0;s<e.length;s++){const n=VS[e[s]];if(n&&n(o,e))return}return A(o,...r)})},jS={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Qa=(A,e)=>{const t=A._withKeys||(A._withKeys={}),i=e.join(".");return t[i]||(t[i]=o=>{if(!("key"in o))return;const r=Pr(o.key);if(e.some(s=>s===r||jS[s]===r))return A(o)})},JS=Ze({patchProp:kS},pS);let Ww;function WS(){return Ww||(Ww=Hy(JS))}const KS=(...A)=>{const e=WS().createApp(...A),{mount:t}=e;return e.mount=i=>{const o=qS(i);if(!o)return;const r=e._component;!jA(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=t(o,!1,XS(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e};function XS(A){if(A instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&A instanceof MathMLElement)return"mathml"}function qS(A){return Pe(A)?document.querySelector(A):A}var ZS=Object.defineProperty,_S=(A,e,t)=>e in A?ZS(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,$S=(A,e,t)=>_S(A,e+"",t);function A5(A,e){if(A==null)throw Error(e);return A}function fl(A){return new Promise(e=>setTimeout(e,A))}function e5(A,e){return e(A)}let t5=class{constructor(){$S(this,"promises",new Map)}fetch(e,t){if(this.promises.has(e))return this.promises.get(e);const i=t().finally(()=>{this.promises.delete(e)});return this.promises.set(e,i),i}};function ep(A){return{type:"Immediate",value:A}}function i5(){return typeof globalThis.getPlatforma<"u"||typeof globalThis.platforma<"u"}function CQ(A){if(A&&typeof globalThis.getPlatforma=="function")return globalThis.getPlatforma(A);if(typeof globalThis.platforma<"u")return globalThis.platforma;throw new Error("Can't get platforma instance.")}function o5(){if(typeof globalThis.cfgRenderCtx<"u")return globalThis.cfgRenderCtx}function ce(){if(typeof globalThis.cfgRenderCtx<"u")return globalThis.cfgRenderCtx;throw new Error("Not in config rendering context")}function _a(A,e){const t=o5();if(t===void 0)return!1;if(A in t.callbackRegistry)throw new Error(`Callback with key ${A} already registered.`);return t.callbackRegistry[A]=e,!0}const tp=new Map;function r5(A,e){A in ce().callbackRegistry||(ce().callbackRegistry[A]=t=>{for(const i of tp.get(A))i(t)},tp.set(A,[])),tp.get(A).push(e)}var ie;(function(A){A.assertEqual=o=>o;function e(o){}A.assertIs=e;function t(o){throw new Error}A.assertNever=t,A.arrayToEnum=o=>{const r={};for(const s of o)r[s]=s;return r},A.getValidEnumValues=o=>{const r=A.objectKeys(o).filter(n=>typeof o[o[n]]!="number"),s={};for(const n of r)s[n]=o[n];return A.objectValues(s)},A.objectValues=o=>A.objectKeys(o).map(function(r){return o[r]}),A.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const r=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&r.push(s);return r},A.find=(o,r)=>{for(const s of o)if(r(s))return s},A.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function i(o,r=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(r)}A.joinValues=i,A.jsonStringifyReplacer=(o,r)=>typeof r=="bigint"?r.toString():r})(ie||(ie={}));var uC;(function(A){A.mergeShapes=(e,t)=>({...e,...t})})(uC||(uC={}));const EA=ie.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),is=A=>{switch(typeof A){case"undefined":return EA.undefined;case"string":return EA.string;case"number":return isNaN(A)?EA.nan:EA.number;case"boolean":return EA.boolean;case"function":return EA.function;case"bigint":return EA.bigint;case"symbol":return EA.symbol;case"object":return Array.isArray(A)?EA.array:A===null?EA.null:A.then&&typeof A.then=="function"&&A.catch&&typeof A.catch=="function"?EA.promise:typeof Map<"u"&&A instanceof Map?EA.map:typeof Set<"u"&&A instanceof Set?EA.set:typeof Date<"u"&&A instanceof Date?EA.date:EA.object;default:return EA.unknown}},oA=ie.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),s5=A=>JSON.stringify(A,null,2).replace(/"([^"]+)":/g,"$1:");class vi extends Error{constructor(e){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(r){return r.message},i={_errors:[]},o=r=>{for(const s of r.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)i._errors.push(t(s));else{let n=i,a=0;for(;a<s.path.length;){const l=s.path[a];a===s.path.length-1?(n[l]=n[l]||{_errors:[]},n[l]._errors.push(t(s))):n[l]=n[l]||{_errors:[]},n=n[l],a++}}};return o(this),i}static assert(e){if(!(e instanceof vi))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ie.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},i=[];for(const o of this.issues)o.path.length>0?(t[o.path[0]]=t[o.path[0]]||[],t[o.path[0]].push(e(o))):i.push(e(o));return{formErrors:i,fieldErrors:t}}get formErrors(){return this.flatten()}}vi.create=A=>new vi(A);const Da=(A,e)=>{let t;switch(A.code){case oA.invalid_type:A.received===EA.undefined?t="Required":t=`Expected ${A.expected}, received ${A.received}`;break;case oA.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(A.expected,ie.jsonStringifyReplacer)}`;break;case oA.unrecognized_keys:t=`Unrecognized key(s) in object: ${ie.joinValues(A.keys,", ")}`;break;case oA.invalid_union:t="Invalid input";break;case oA.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${ie.joinValues(A.options)}`;break;case oA.invalid_enum_value:t=`Invalid enum value. Expected ${ie.joinValues(A.options)}, received '${A.received}'`;break;case oA.invalid_arguments:t="Invalid function arguments";break;case oA.invalid_return_type:t="Invalid function return type";break;case oA.invalid_date:t="Invalid date";break;case oA.invalid_string:typeof A.validation=="object"?"includes"in A.validation?(t=`Invalid input: must include "${A.validation.includes}"`,typeof A.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${A.validation.position}`)):"startsWith"in A.validation?t=`Invalid input: must start with "${A.validation.startsWith}"`:"endsWith"in A.validation?t=`Invalid input: must end with "${A.validation.endsWith}"`:ie.assertNever(A.validation):A.validation!=="regex"?t=`Invalid ${A.validation}`:t="Invalid";break;case oA.too_small:A.type==="array"?t=`Array must contain ${A.exact?"exactly":A.inclusive?"at least":"more than"} ${A.minimum} element(s)`:A.type==="string"?t=`String must contain ${A.exact?"exactly":A.inclusive?"at least":"over"} ${A.minimum} character(s)`:A.type==="number"?t=`Number must be ${A.exact?"exactly equal to ":A.inclusive?"greater than or equal to ":"greater than "}${A.minimum}`:A.type==="date"?t=`Date must be ${A.exact?"exactly equal to ":A.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(A.minimum))}`:t="Invalid input";break;case oA.too_big:A.type==="array"?t=`Array must contain ${A.exact?"exactly":A.inclusive?"at most":"less than"} ${A.maximum} element(s)`:A.type==="string"?t=`String must contain ${A.exact?"exactly":A.inclusive?"at most":"under"} ${A.maximum} character(s)`:A.type==="number"?t=`Number must be ${A.exact?"exactly":A.inclusive?"less than or equal to":"less than"} ${A.maximum}`:A.type==="bigint"?t=`BigInt must be ${A.exact?"exactly":A.inclusive?"less than or equal to":"less than"} ${A.maximum}`:A.type==="date"?t=`Date must be ${A.exact?"exactly":A.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(A.maximum))}`:t="Invalid input";break;case oA.custom:t="Invalid input";break;case oA.invalid_intersection_types:t="Intersection results could not be merged";break;case oA.not_multiple_of:t=`Number must be a multiple of ${A.multipleOf}`;break;case oA.not_finite:t="Number must be finite";break;default:t=e.defaultError,ie.assertNever(A)}return{message:t}};let fQ=Da;function n5(A){fQ=A}function Gd(){return fQ}const Td=A=>{const{data:e,path:t,errorMaps:i,issueData:o}=A,r=[...t,...o.path||[]],s={...o,path:r};if(o.message!==void 0)return{...o,path:r,message:o.message};let n="";const a=i.filter(l=>!!l).slice().reverse();for(const l of a)n=l(s,{data:e,defaultError:n}).message;return{...o,path:r,message:n}},a5=[];function wA(A,e){const t=Gd(),i=Td({issueData:e,data:A.data,path:A.path,errorMaps:[A.common.contextualErrorMap,A.schemaErrorMap,t,t===Da?void 0:Da].filter(o=>!!o)});A.common.issues.push(i)}class It{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const i=[];for(const o of t){if(o.status==="aborted")return zA;o.status==="dirty"&&e.dirty(),i.push(o.value)}return{status:e.value,value:i}}static async mergeObjectAsync(e,t){const i=[];for(const o of t){const r=await o.key,s=await o.value;i.push({key:r,value:s})}return It.mergeObjectSync(e,i)}static mergeObjectSync(e,t){const i={};for(const o of t){const{key:r,value:s}=o;if(r.status==="aborted"||s.status==="aborted")return zA;r.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),r.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(i[r.value]=s.value)}return{status:e.value,value:i}}}const zA=Object.freeze({status:"aborted"}),Wn=A=>({status:"dirty",value:A}),Ot=A=>({status:"valid",value:A}),pC=A=>A.status==="aborted",CC=A=>A.status==="dirty",rg=A=>A.status==="valid",sg=A=>typeof Promise<"u"&&A instanceof Promise;function Ld(A,e,t,i){if(typeof e=="function"?A!==e||!0:!e.has(A))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e.get(A)}function BQ(A,e,t,i,o){if(typeof e=="function"?A!==e||!0:!e.has(A))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(A,t),t}var yA;(function(A){A.errToObj=e=>typeof e=="string"?{message:e}:e||{},A.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(yA||(yA={}));var Bl,wl;class Oo{constructor(e,t,i,o){this._cachedPath=[],this.parent=e,this.data=t,this._path=i,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Kw=(A,e)=>{if(rg(e))return{success:!0,data:e.value};if(!A.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new vi(A.common.issues);return this._error=t,this._error}}};function ZA(A){if(!A)return{};const{errorMap:e,invalid_type_error:t,required_error:i,description:o}=A;if(e&&(t||i))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(s,n)=>{var a,l;const{message:g}=A;return s.code==="invalid_enum_value"?{message:g??n.defaultError}:typeof n.data>"u"?{message:(a=g??i)!==null&&a!==void 0?a:n.defaultError}:s.code!=="invalid_type"?{message:n.defaultError}:{message:(l=g??t)!==null&&l!==void 0?l:n.defaultError}},description:o}}class _A{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return is(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:is(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new It,ctx:{common:e.parent.common,data:e.data,parsedType:is(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(sg(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const i=this.safeParse(e,t);if(i.success)return i.data;throw i.error}safeParse(e,t){var i;const o={common:{issues:[],async:(i=t==null?void 0:t.async)!==null&&i!==void 0?i:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:is(e)},r=this._parseSync({data:e,path:o.path,parent:o});return Kw(o,r)}async parseAsync(e,t){const i=await this.safeParseAsync(e,t);if(i.success)return i.data;throw i.error}async safeParseAsync(e,t){const i={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:is(e)},o=this._parse({data:e,path:i.path,parent:i}),r=await(sg(o)?o:Promise.resolve(o));return Kw(i,r)}refine(e,t){const i=o=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(o):t;return this._refinement((o,r)=>{const s=e(o),n=()=>r.addIssue({code:oA.custom,...i(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(a=>a?!0:(n(),!1)):s?!0:(n(),!1)})}refinement(e,t){return this._refinement((i,o)=>e(i)?!0:(o.addIssue(typeof t=="function"?t(i,o):t),!1))}_refinement(e){return new po({schema:this,typeName:NA.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return To.create(this,this._def)}nullable(){return vs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return no.create(this,this._def)}promise(){return xa.create(this,this._def)}or(e){return gg.create([this,e],this._def)}and(e){return cg.create(this,e,this._def)}transform(e){return new po({...ZA(this._def),schema:this,typeName:NA.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new Cg({...ZA(this._def),innerType:this,defaultValue:t,typeName:NA.ZodDefault})}brand(){return new AB({typeName:NA.ZodBranded,type:this,...ZA(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new fg({...ZA(this._def),innerType:this,catchValue:t,typeName:NA.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Zg.create(this,e)}readonly(){return Bg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const l5=/^c[^\s-]{8,}$/i,g5=/^[0-9a-z]+$/,c5=/^[0-9A-HJKMNP-TV-Z]{26}$/,d5=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,h5=/^[a-z0-9_-]{21}$/i,u5=/^[-+]?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)?)??$/,p5=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,C5="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ip;const f5=/^(?:(?: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])$/,B5=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,w5=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,wQ="((\\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])))",m5=new RegExp(`^${wQ}$`);function mQ(A){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return A.precision?e=`${e}\\.\\d{${A.precision}}`:A.precision==null&&(e=`${e}(\\.\\d+)?`),e}function E5(A){return new RegExp(`^${mQ(A)}$`)}function EQ(A){let e=`${wQ}T${mQ(A)}`;const t=[];return t.push(A.local?"Z?":"Z"),A.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function v5(A,e){return!!((e==="v4"||!e)&&f5.test(A)||(e==="v6"||!e)&&B5.test(A))}class oo extends _A{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==EA.string){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.string,received:r.parsedType}),zA}const i=new It;let o;for(const r of this._def.checks)if(r.kind==="min")e.data.length<r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),i.dirty());else if(r.kind==="max")e.data.length>r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),i.dirty());else if(r.kind==="length"){const s=e.data.length>r.value,n=e.data.length<r.value;(s||n)&&(o=this._getOrReturnCtx(e,o),s?wA(o,{code:oA.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):n&&wA(o,{code:oA.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),i.dirty())}else if(r.kind==="email")p5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"email",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="emoji")ip||(ip=new RegExp(C5,"u")),ip.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"emoji",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="uuid")d5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"uuid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="nanoid")h5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"nanoid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="cuid")l5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"cuid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="cuid2")g5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"cuid2",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="ulid")c5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"ulid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),wA(o,{validation:"url",code:oA.invalid_string,message:r.message}),i.dirty()}else r.kind==="regex"?(r.regex.lastIndex=0,r.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"regex",code:oA.invalid_string,message:r.message}),i.dirty())):r.kind==="trim"?e.data=e.data.trim():r.kind==="includes"?e.data.includes(r.value,r.position)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),i.dirty()):r.kind==="toLowerCase"?e.data=e.data.toLowerCase():r.kind==="toUpperCase"?e.data=e.data.toUpperCase():r.kind==="startsWith"?e.data.startsWith(r.value)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:{startsWith:r.value},message:r.message}),i.dirty()):r.kind==="endsWith"?e.data.endsWith(r.value)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:{endsWith:r.value},message:r.message}),i.dirty()):r.kind==="datetime"?EQ(r).test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:"datetime",message:r.message}),i.dirty()):r.kind==="date"?m5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:"date",message:r.message}),i.dirty()):r.kind==="time"?E5(r).test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:"time",message:r.message}),i.dirty()):r.kind==="duration"?u5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"duration",code:oA.invalid_string,message:r.message}),i.dirty()):r.kind==="ip"?v5(e.data,r.version)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"ip",code:oA.invalid_string,message:r.message}),i.dirty()):r.kind==="base64"?w5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"base64",code:oA.invalid_string,message:r.message}),i.dirty()):ie.assertNever(r);return{status:i.value,value:e.data}}_regex(e,t,i){return this.refinement(o=>e.test(o),{validation:t,code:oA.invalid_string,...yA.errToObj(i)})}_addCheck(e){return new oo({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...yA.errToObj(e)})}url(e){return this._addCheck({kind:"url",...yA.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...yA.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...yA.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...yA.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...yA.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...yA.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...yA.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...yA.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...yA.errToObj(e)})}datetime(e){var t,i;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(t=e==null?void 0:e.offset)!==null&&t!==void 0?t:!1,local:(i=e==null?void 0:e.local)!==null&&i!==void 0?i:!1,...yA.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...yA.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...yA.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...yA.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...yA.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...yA.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...yA.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...yA.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...yA.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...yA.errToObj(t)})}nonempty(e){return this.min(1,yA.errToObj(e))}trim(){return new oo({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new oo({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new oo({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}oo.create=A=>{var e;return new oo({checks:[],typeName:NA.ZodString,coerce:(e=A==null?void 0:A.coerce)!==null&&e!==void 0?e:!1,...ZA(A)})};function I5(A,e){const t=(A.toString().split(".")[1]||"").length,i=(e.toString().split(".")[1]||"").length,o=t>i?t:i,r=parseInt(A.toFixed(o).replace(".","")),s=parseInt(e.toFixed(o).replace(".",""));return r%s/Math.pow(10,o)}class ws extends _A{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==EA.number){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.number,received:r.parsedType}),zA}let i;const o=new It;for(const r of this._def.checks)r.kind==="int"?ie.isInteger(e.data)||(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.invalid_type,expected:"integer",received:"float",message:r.message}),o.dirty()):r.kind==="min"?(r.inclusive?e.data<r.value:e.data<=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),o.dirty()):r.kind==="max"?(r.inclusive?e.data>r.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),o.dirty()):r.kind==="multipleOf"?I5(e.data,r.value)!==0&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.not_multiple_of,multipleOf:r.value,message:r.message}),o.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.not_finite,message:r.message}),o.dirty()):ie.assertNever(r);return{status:o.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,yA.toString(t))}gt(e,t){return this.setLimit("min",e,!1,yA.toString(t))}lte(e,t){return this.setLimit("max",e,!0,yA.toString(t))}lt(e,t){return this.setLimit("max",e,!1,yA.toString(t))}setLimit(e,t,i,o){return new ws({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:i,message:yA.toString(o)}]})}_addCheck(e){return new ws({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:yA.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:yA.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:yA.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:yA.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:yA.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:yA.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:yA.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:yA.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:yA.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&ie.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(t===null||i.value>t)&&(t=i.value):i.kind==="max"&&(e===null||i.value<e)&&(e=i.value)}return Number.isFinite(t)&&Number.isFinite(e)}}ws.create=A=>new ws({checks:[],typeName:NA.ZodNumber,coerce:(A==null?void 0:A.coerce)||!1,...ZA(A)});class ms extends _A{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==EA.bigint){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.bigint,received:r.parsedType}),zA}let i;const o=new It;for(const r of this._def.checks)r.kind==="min"?(r.inclusive?e.data<r.value:e.data<=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),o.dirty()):r.kind==="max"?(r.inclusive?e.data>r.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),o.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.not_multiple_of,multipleOf:r.value,message:r.message}),o.dirty()):ie.assertNever(r);return{status:o.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,yA.toString(t))}gt(e,t){return this.setLimit("min",e,!1,yA.toString(t))}lte(e,t){return this.setLimit("max",e,!0,yA.toString(t))}lt(e,t){return this.setLimit("max",e,!1,yA.toString(t))}setLimit(e,t,i,o){return new ms({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:i,message:yA.toString(o)}]})}_addCheck(e){return new ms({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:yA.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:yA.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:yA.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:yA.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:yA.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}ms.create=A=>{var e;return new ms({checks:[],typeName:NA.ZodBigInt,coerce:(e=A==null?void 0:A.coerce)!==null&&e!==void 0?e:!1,...ZA(A)})};class ng extends _A{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==EA.boolean){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.boolean,received:i.parsedType}),zA}return Ot(e.data)}}ng.create=A=>new ng({typeName:NA.ZodBoolean,coerce:(A==null?void 0:A.coerce)||!1,...ZA(A)});class un extends _A{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==EA.date){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.date,received:r.parsedType}),zA}if(isNaN(e.data.getTime())){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_date}),zA}const i=new It;let o;for(const r of this._def.checks)r.kind==="min"?e.data.getTime()<r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),i.dirty()):r.kind==="max"?e.data.getTime()>r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),i.dirty()):ie.assertNever(r);return{status:i.value,value:new Date(e.data.getTime())}}_addCheck(e){return new un({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:yA.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:yA.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}}un.create=A=>new un({checks:[],coerce:(A==null?void 0:A.coerce)||!1,typeName:NA.ZodDate,...ZA(A)});class Ud extends _A{_parse(e){if(this._getType(e)!==EA.symbol){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.symbol,received:i.parsedType}),zA}return Ot(e.data)}}Ud.create=A=>new Ud({typeName:NA.ZodSymbol,...ZA(A)});class ag extends _A{_parse(e){if(this._getType(e)!==EA.undefined){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.undefined,received:i.parsedType}),zA}return Ot(e.data)}}ag.create=A=>new ag({typeName:NA.ZodUndefined,...ZA(A)});class lg extends _A{_parse(e){if(this._getType(e)!==EA.null){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.null,received:i.parsedType}),zA}return Ot(e.data)}}lg.create=A=>new lg({typeName:NA.ZodNull,...ZA(A)});class ba extends _A{constructor(){super(...arguments),this._any=!0}_parse(e){return Ot(e.data)}}ba.create=A=>new ba({typeName:NA.ZodAny,...ZA(A)});class en extends _A{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Ot(e.data)}}en.create=A=>new en({typeName:NA.ZodUnknown,...ZA(A)});class br extends _A{_parse(e){const t=this._getOrReturnCtx(e);return wA(t,{code:oA.invalid_type,expected:EA.never,received:t.parsedType}),zA}}br.create=A=>new br({typeName:NA.ZodNever,...ZA(A)});class Hd extends _A{_parse(e){if(this._getType(e)!==EA.undefined){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.void,received:i.parsedType}),zA}return Ot(e.data)}}Hd.create=A=>new Hd({typeName:NA.ZodVoid,...ZA(A)});class no extends _A{_parse(e){const{ctx:t,status:i}=this._processInputParams(e),o=this._def;if(t.parsedType!==EA.array)return wA(t,{code:oA.invalid_type,expected:EA.array,received:t.parsedType}),zA;if(o.exactLength!==null){const s=t.data.length>o.exactLength.value,n=t.data.length<o.exactLength.value;(s||n)&&(wA(t,{code:s?oA.too_big:oA.too_small,minimum:n?o.exactLength.value:void 0,maximum:s?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),i.dirty())}if(o.minLength!==null&&t.data.length<o.minLength.value&&(wA(t,{code:oA.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),i.dirty()),o.maxLength!==null&&t.data.length>o.maxLength.value&&(wA(t,{code:oA.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),i.dirty()),t.common.async)return Promise.all([...t.data].map((s,n)=>o.type._parseAsync(new Oo(t,s,t.path,n)))).then(s=>It.mergeArray(i,s));const r=[...t.data].map((s,n)=>o.type._parseSync(new Oo(t,s,t.path,n)));return It.mergeArray(i,r)}get element(){return this._def.type}min(e,t){return new no({...this._def,minLength:{value:e,message:yA.toString(t)}})}max(e,t){return new no({...this._def,maxLength:{value:e,message:yA.toString(t)}})}length(e,t){return new no({...this._def,exactLength:{value:e,message:yA.toString(t)}})}nonempty(e){return this.min(1,e)}}no.create=(A,e)=>new no({type:A,minLength:null,maxLength:null,exactLength:null,typeName:NA.ZodArray,...ZA(e)});function Vn(A){if(A instanceof Re){const e={};for(const t in A.shape){const i=A.shape[t];e[t]=To.create(Vn(i))}return new Re({...A._def,shape:()=>e})}else return A instanceof no?new no({...A._def,type:Vn(A.element)}):A instanceof To?To.create(Vn(A.unwrap())):A instanceof vs?vs.create(Vn(A.unwrap())):A instanceof Vo?Vo.create(A.items.map(e=>Vn(e))):A}class Re extends _A{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),t=ie.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==EA.object){const l=this._getOrReturnCtx(e);return wA(l,{code:oA.invalid_type,expected:EA.object,received:l.parsedType}),zA}const{status:i,ctx:o}=this._processInputParams(e),{shape:r,keys:s}=this._getCached(),n=[];if(!(this._def.catchall instanceof br&&this._def.unknownKeys==="strip"))for(const l in o.data)s.includes(l)||n.push(l);const a=[];for(const l of s){const g=r[l],c=o.data[l];a.push({key:{status:"valid",value:l},value:g._parse(new Oo(o,c,o.path,l)),alwaysSet:l in o.data})}if(this._def.catchall instanceof br){const l=this._def.unknownKeys;if(l==="passthrough")for(const g of n)a.push({key:{status:"valid",value:g},value:{status:"valid",value:o.data[g]}});else if(l==="strict")n.length>0&&(wA(o,{code:oA.unrecognized_keys,keys:n}),i.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const g of n){const c=o.data[g];a.push({key:{status:"valid",value:g},value:l._parse(new Oo(o,c,o.path,g)),alwaysSet:g in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const l=[];for(const g of a){const c=await g.key,d=await g.value;l.push({key:c,value:d,alwaysSet:g.alwaysSet})}return l}).then(l=>It.mergeObjectSync(i,l)):It.mergeObjectSync(i,a)}get shape(){return this._def.shape()}strict(e){return yA.errToObj,new Re({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,i)=>{var o,r,s,n;const a=(s=(r=(o=this._def).errorMap)===null||r===void 0?void 0:r.call(o,t,i).message)!==null&&s!==void 0?s:i.defaultError;return t.code==="unrecognized_keys"?{message:(n=yA.errToObj(e).message)!==null&&n!==void 0?n:a}:{message:a}}}:{}})}strip(){return new Re({...this._def,unknownKeys:"strip"})}passthrough(){return new Re({...this._def,unknownKeys:"passthrough"})}extend(e){return new Re({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Re({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:NA.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Re({...this._def,catchall:e})}pick(e){const t={};return ie.objectKeys(e).forEach(i=>{e[i]&&this.shape[i]&&(t[i]=this.shape[i])}),new Re({...this._def,shape:()=>t})}omit(e){const t={};return ie.objectKeys(this.shape).forEach(i=>{e[i]||(t[i]=this.shape[i])}),new Re({...this._def,shape:()=>t})}deepPartial(){return Vn(this)}partial(e){const t={};return ie.objectKeys(this.shape).forEach(i=>{const o=this.shape[i];e&&!e[i]?t[i]=o:t[i]=o.optional()}),new Re({...this._def,shape:()=>t})}required(e){const t={};return ie.objectKeys(this.shape).forEach(i=>{if(e&&!e[i])t[i]=this.shape[i];else{let r=this.shape[i];for(;r instanceof To;)r=r._def.innerType;t[i]=r}}),new Re({...this._def,shape:()=>t})}keyof(){return vQ(ie.objectKeys(this.shape))}}Re.create=(A,e)=>new Re({shape:()=>A,unknownKeys:"strip",catchall:br.create(),typeName:NA.ZodObject,...ZA(e)});Re.strictCreate=(A,e)=>new Re({shape:()=>A,unknownKeys:"strict",catchall:br.create(),typeName:NA.ZodObject,...ZA(e)});Re.lazycreate=(A,e)=>new Re({shape:A,unknownKeys:"strip",catchall:br.create(),typeName:NA.ZodObject,...ZA(e)});class gg extends _A{_parse(e){const{ctx:t}=this._processInputParams(e),i=this._def.options;function o(r){for(const n of r)if(n.result.status==="valid")return n.result;for(const n of r)if(n.result.status==="dirty")return t.common.issues.push(...n.ctx.common.issues),n.result;const s=r.map(n=>new vi(n.ctx.common.issues));return wA(t,{code:oA.invalid_union,unionErrors:s}),zA}if(t.common.async)return Promise.all(i.map(async r=>{const s={...t,common:{...t.common,issues:[]},parent:null};return{result:await r._parseAsync({data:t.data,path:t.path,parent:s}),ctx:s}})).then(o);{let r;const s=[];for(const a of i){const l={...t,common:{...t.common,issues:[]},parent:null},g=a._parseSync({data:t.data,path:t.path,parent:l});if(g.status==="valid")return g;g.status==="dirty"&&!r&&(r={result:g,ctx:l}),l.common.issues.length&&s.push(l.common.issues)}if(r)return t.common.issues.push(...r.ctx.common.issues),r.result;const n=s.map(a=>new vi(a));return wA(t,{code:oA.invalid_union,unionErrors:n}),zA}}get options(){return this._def.options}}gg.create=(A,e)=>new gg({options:A,typeName:NA.ZodUnion,...ZA(e)});const ar=A=>A instanceof hg?ar(A.schema):A instanceof po?ar(A.innerType()):A instanceof ug?[A.value]:A instanceof Es?A.options:A instanceof pg?ie.objectValues(A.enum):A instanceof Cg?ar(A._def.innerType):A instanceof ag?[void 0]:A instanceof lg?[null]:A instanceof To?[void 0,...ar(A.unwrap())]:A instanceof vs?[null,...ar(A.unwrap())]:A instanceof AB||A instanceof Bg?ar(A.unwrap()):A instanceof fg?ar(A._def.innerType):[];class Jh extends _A{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==EA.object)return wA(t,{code:oA.invalid_type,expected:EA.object,received:t.parsedType}),zA;const i=this.discriminator,o=t.data[i],r=this.optionsMap.get(o);return r?t.common.async?r._parseAsync({data:t.data,path:t.path,parent:t}):r._parseSync({data:t.data,path:t.path,parent:t}):(wA(t,{code:oA.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),zA)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,i){const o=new Map;for(const r of t){const s=ar(r.shape[e]);if(!s.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const n of s){if(o.has(n))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`);o.set(n,r)}}return new Jh({typeName:NA.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:o,...ZA(i)})}}function fC(A,e){const t=is(A),i=is(e);if(A===e)return{valid:!0,data:A};if(t===EA.object&&i===EA.object){const o=ie.objectKeys(e),r=ie.objectKeys(A).filter(n=>o.indexOf(n)!==-1),s={...A,...e};for(const n of r){const a=fC(A[n],e[n]);if(!a.valid)return{valid:!1};s[n]=a.data}return{valid:!0,data:s}}else if(t===EA.array&&i===EA.array){if(A.length!==e.length)return{valid:!1};const o=[];for(let r=0;r<A.length;r++){const s=A[r],n=e[r],a=fC(s,n);if(!a.valid)return{valid:!1};o.push(a.data)}return{valid:!0,data:o}}else return t===EA.date&&i===EA.date&&+A==+e?{valid:!0,data:A}:{valid:!1}}class cg extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e),o=(r,s)=>{if(pC(r)||pC(s))return zA;const n=fC(r.value,s.value);return n.valid?((CC(r)||CC(s))&&t.dirty(),{status:t.value,value:n.data}):(wA(i,{code:oA.invalid_intersection_types}),zA)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([r,s])=>o(r,s)):o(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}}cg.create=(A,e,t)=>new cg({left:A,right:e,typeName:NA.ZodIntersection,...ZA(t)});class Vo extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.array)return wA(i,{code:oA.invalid_type,expected:EA.array,received:i.parsedType}),zA;if(i.data.length<this._def.items.length)return wA(i,{code:oA.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),zA;!this._def.rest&&i.data.length>this._def.items.length&&(wA(i,{code:oA.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...i.data].map((s,n)=>{const a=this._def.items[n]||this._def.rest;return a?a._parse(new Oo(i,s,i.path,n)):null}).filter(s=>!!s);return i.common.async?Promise.all(r).then(s=>It.mergeArray(t,s)):It.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new Vo({...this._def,rest:e})}}Vo.create=(A,e)=>{if(!Array.isArray(A))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Vo({items:A,typeName:NA.ZodTuple,rest:null,...ZA(e)})};class dg extends _A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.object)return wA(i,{code:oA.invalid_type,expected:EA.object,received:i.parsedType}),zA;const o=[],r=this._def.keyType,s=this._def.valueType;for(const n in i.data)o.push({key:r._parse(new Oo(i,n,i.path,n)),value:s._parse(new Oo(i,i.data[n],i.path,n)),alwaysSet:n in i.data});return i.common.async?It.mergeObjectAsync(t,o):It.mergeObjectSync(t,o)}get element(){return this._def.valueType}static create(e,t,i){return t instanceof _A?new dg({keyType:e,valueType:t,typeName:NA.ZodRecord,...ZA(i)}):new dg({keyType:oo.create(),valueType:e,typeName:NA.ZodRecord,...ZA(t)})}}class Nd extends _A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.map)return wA(i,{code:oA.invalid_type,expected:EA.map,received:i.parsedType}),zA;const o=this._def.keyType,r=this._def.valueType,s=[...i.data.entries()].map(([n,a],l)=>({key:o._parse(new Oo(i,n,i.path,[l,"key"])),value:r._parse(new Oo(i,a,i.path,[l,"value"]))}));if(i.common.async){const n=new Map;return Promise.resolve().then(async()=>{for(const a of s){const l=await a.key,g=await a.value;if(l.status==="aborted"||g.status==="aborted")return zA;(l.status==="dirty"||g.status==="dirty")&&t.dirty(),n.set(l.value,g.value)}return{status:t.value,value:n}})}else{const n=new Map;for(const a of s){const l=a.key,g=a.value;if(l.status==="aborted"||g.status==="aborted")return zA;(l.status==="dirty"||g.status==="dirty")&&t.dirty(),n.set(l.value,g.value)}return{status:t.value,value:n}}}}Nd.create=(A,e,t)=>new Nd({valueType:e,keyType:A,typeName:NA.ZodMap,...ZA(t)});class pn extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.set)return wA(i,{code:oA.invalid_type,expected:EA.set,received:i.parsedType}),zA;const o=this._def;o.minSize!==null&&i.data.size<o.minSize.value&&(wA(i,{code:oA.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),t.dirty()),o.maxSize!==null&&i.data.size>o.maxSize.value&&(wA(i,{code:oA.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),t.dirty());const r=this._def.valueType;function s(a){const l=new Set;for(const g of a){if(g.status==="aborted")return zA;g.status==="dirty"&&t.dirty(),l.add(g.value)}return{status:t.value,value:l}}const n=[...i.data.values()].map((a,l)=>r._parse(new Oo(i,a,i.path,l)));return i.common.async?Promise.all(n).then(a=>s(a)):s(n)}min(e,t){return new pn({...this._def,minSize:{value:e,message:yA.toString(t)}})}max(e,t){return new pn({...this._def,maxSize:{value:e,message:yA.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}pn.create=(A,e)=>new pn({valueType:A,minSize:null,maxSize:null,typeName:NA.ZodSet,...ZA(e)});class oa extends _A{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==EA.function)return wA(t,{code:oA.invalid_type,expected:EA.function,received:t.parsedType}),zA;function i(n,a){return Td({data:n,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Gd(),Da].filter(l=>!!l),issueData:{code:oA.invalid_arguments,argumentsError:a}})}function o(n,a){return Td({data:n,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Gd(),Da].filter(l=>!!l),issueData:{code:oA.invalid_return_type,returnTypeError:a}})}const r={errorMap:t.common.contextualErrorMap},s=t.data;if(this._def.returns instanceof xa){const n=this;return Ot(async function(...a){const l=new vi([]),g=await n._def.args.parseAsync(a,r).catch(h=>{throw l.addIssue(i(a,h)),l}),c=await Reflect.apply(s,this,g);return await n._def.returns._def.type.parseAsync(c,r).catch(h=>{throw l.addIssue(o(c,h)),l})})}else{const n=this;return Ot(function(...a){const l=n._def.args.safeParse(a,r);if(!l.success)throw new vi([i(a,l.error)]);const g=Reflect.apply(s,this,l.data),c=n._def.returns.safeParse(g,r);if(!c.success)throw new vi([o(g,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new oa({...this._def,args:Vo.create(e).rest(en.create())})}returns(e){return new oa({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,i){return new oa({args:e||Vo.create([]).rest(en.create()),returns:t||en.create(),typeName:NA.ZodFunction,...ZA(i)})}}class hg extends _A{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}hg.create=(A,e)=>new hg({getter:A,typeName:NA.ZodLazy,...ZA(e)});class ug extends _A{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return wA(t,{received:t.data,code:oA.invalid_literal,expected:this._def.value}),zA}return{status:"valid",value:e.data}}get value(){return this._def.value}}ug.create=(A,e)=>new ug({value:A,typeName:NA.ZodLiteral,...ZA(e)});function vQ(A,e){return new Es({values:A,typeName:NA.ZodEnum,...ZA(e)})}class Es extends _A{constructor(){super(...arguments),Bl.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),i=this._def.values;return wA(t,{expected:ie.joinValues(i),received:t.parsedType,code:oA.invalid_type}),zA}if(Ld(this,Bl)||BQ(this,Bl,new Set(this._def.values)),!Ld(this,Bl).has(e.data)){const t=this._getOrReturnCtx(e),i=this._def.values;return wA(t,{received:t.data,code:oA.invalid_enum_value,options:i}),zA}return Ot(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Es.create(e,{...this._def,...t})}exclude(e,t=this._def){return Es.create(this.options.filter(i=>!e.includes(i)),{...this._def,...t})}}Bl=new WeakMap;Es.create=vQ;class pg extends _A{constructor(){super(...arguments),wl.set(this,void 0)}_parse(e){const t=ie.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==EA.string&&i.parsedType!==EA.number){const o=ie.objectValues(t);return wA(i,{expected:ie.joinValues(o),received:i.parsedType,code:oA.invalid_type}),zA}if(Ld(this,wl)||BQ(this,wl,new Set(ie.getValidEnumValues(this._def.values))),!Ld(this,wl).has(e.data)){const o=ie.objectValues(t);return wA(i,{received:i.data,code:oA.invalid_enum_value,options:o}),zA}return Ot(e.data)}get enum(){return this._def.values}}wl=new WeakMap;pg.create=(A,e)=>new pg({values:A,typeName:NA.ZodNativeEnum,...ZA(e)});class xa extends _A{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==EA.promise&&t.common.async===!1)return wA(t,{code:oA.invalid_type,expected:EA.promise,received:t.parsedType}),zA;const i=t.parsedType===EA.promise?t.data:Promise.resolve(t.data);return Ot(i.then(o=>this._def.type.parseAsync(o,{path:t.path,errorMap:t.common.contextualErrorMap})))}}xa.create=(A,e)=>new xa({type:A,typeName:NA.ZodPromise,...ZA(e)});class po extends _A{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===NA.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:i}=this._processInputParams(e),o=this._def.effect||null,r={addIssue:s=>{wA(i,s),s.fatal?t.abort():t.dirty()},get path(){return i.path}};if(r.addIssue=r.addIssue.bind(r),o.type==="preprocess"){const s=o.transform(i.data,r);if(i.common.async)return Promise.resolve(s).then(async n=>{if(t.value==="aborted")return zA;const a=await this._def.schema._parseAsync({data:n,path:i.path,parent:i});return a.status==="aborted"?zA:a.status==="dirty"||t.value==="dirty"?Wn(a.value):a});{if(t.value==="aborted")return zA;const n=this._def.schema._parseSync({data:s,path:i.path,parent:i});return n.status==="aborted"?zA:n.status==="dirty"||t.value==="dirty"?Wn(n.value):n}}if(o.type==="refinement"){const s=n=>{const a=o.refinement(n,r);if(i.common.async)return Promise.resolve(a);if(a instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return n};if(i.common.async===!1){const n=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return n.status==="aborted"?zA:(n.status==="dirty"&&t.dirty(),s(n.value),{status:t.value,value:n.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(n=>n.status==="aborted"?zA:(n.status==="dirty"&&t.dirty(),s(n.value).then(()=>({status:t.value,value:n.value}))))}if(o.type==="transform")if(i.common.async===!1){const s=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!rg(s))return s;const n=o.transform(s.value,r);if(n instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:n}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(s=>rg(s)?Promise.resolve(o.transform(s.value,r)).then(n=>({status:t.value,value:n})):s);ie.assertNever(o)}}po.create=(A,e,t)=>new po({schema:A,typeName:NA.ZodEffects,effect:e,...ZA(t)});po.createWithPreprocess=(A,e,t)=>new po({schema:e,effect:{type:"preprocess",transform:A},typeName:NA.ZodEffects,...ZA(t)});class To extends _A{_parse(e){return this._getType(e)===EA.undefined?Ot(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}To.create=(A,e)=>new To({innerType:A,typeName:NA.ZodOptional,...ZA(e)});class vs extends _A{_parse(e){return this._getType(e)===EA.null?Ot(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}vs.create=(A,e)=>new vs({innerType:A,typeName:NA.ZodNullable,...ZA(e)});class Cg extends _A{_parse(e){const{ctx:t}=this._processInputParams(e);let i=t.data;return t.parsedType===EA.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Cg.create=(A,e)=>new Cg({innerType:A,typeName:NA.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ZA(e)});class fg extends _A{_parse(e){const{ctx:t}=this._processInputParams(e),i={...t,common:{...t.common,issues:[]}},o=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return sg(o)?o.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new vi(i.common.issues)},input:i.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new vi(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}}fg.create=(A,e)=>new fg({innerType:A,typeName:NA.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ZA(e)});class zd extends _A{_parse(e){if(this._getType(e)!==EA.nan){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.nan,received:i.parsedType}),zA}return{status:"valid",value:e.data}}}zd.create=A=>new zd({typeName:NA.ZodNaN,...ZA(A)});const Q5=Symbol("zod_brand");class AB extends _A{_parse(e){const{ctx:t}=this._processInputParams(e),i=t.data;return this._def.type._parse({data:i,path:t.path,parent:t})}unwrap(){return this._def.type}}class Zg extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.common.async)return(async()=>{const r=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return r.status==="aborted"?zA:r.status==="dirty"?(t.dirty(),Wn(r.value)):this._def.out._parseAsync({data:r.value,path:i.path,parent:i})})();{const o=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return o.status==="aborted"?zA:o.status==="dirty"?(t.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:i.path,parent:i})}}static create(e,t){return new Zg({in:e,out:t,typeName:NA.ZodPipeline})}}class Bg extends _A{_parse(e){const t=this._def.innerType._parse(e),i=o=>(rg(o)&&(o.value=Object.freeze(o.value)),o);return sg(t)?t.then(o=>i(o)):i(t)}unwrap(){return this._def.innerType}}Bg.create=(A,e)=>new Bg({innerType:A,typeName:NA.ZodReadonly,...ZA(e)});function IQ(A,e={},t){return A?ba.create().superRefine((i,o)=>{var r,s;if(!A(i)){const n=typeof e=="function"?e(i):typeof e=="string"?{message:e}:e,a=(s=(r=n.fatal)!==null&&r!==void 0?r:t)!==null&&s!==void 0?s:!0,l=typeof n=="string"?{message:n}:n;o.addIssue({code:"custom",...l,fatal:a})}}):ba.create()}const D5={object:Re.lazycreate};var NA;(function(A){A.ZodString="ZodString",A.ZodNumber="ZodNumber",A.ZodNaN="ZodNaN",A.ZodBigInt="ZodBigInt",A.ZodBoolean="ZodBoolean",A.ZodDate="ZodDate",A.ZodSymbol="ZodSymbol",A.ZodUndefined="ZodUndefined",A.ZodNull="ZodNull",A.ZodAny="ZodAny",A.ZodUnknown="ZodUnknown",A.ZodNever="ZodNever",A.ZodVoid="ZodVoid",A.ZodArray="ZodArray",A.ZodObject="ZodObject",A.ZodUnion="ZodUnion",A.ZodDiscriminatedUnion="ZodDiscriminatedUnion",A.ZodIntersection="ZodIntersection",A.ZodTuple="ZodTuple",A.ZodRecord="ZodRecord",A.ZodMap="ZodMap",A.ZodSet="ZodSet",A.ZodFunction="ZodFunction",A.ZodLazy="ZodLazy",A.ZodLiteral="ZodLiteral",A.ZodEnum="ZodEnum",A.ZodEffects="ZodEffects",A.ZodNativeEnum="ZodNativeEnum",A.ZodOptional="ZodOptional",A.ZodNullable="ZodNullable",A.ZodDefault="ZodDefault",A.ZodCatch="ZodCatch",A.ZodPromise="ZodPromise",A.ZodBranded="ZodBranded",A.ZodPipeline="ZodPipeline",A.ZodReadonly="ZodReadonly"})(NA||(NA={}));const b5=(A,e={message:`Input not instance of ${A.name}`})=>IQ(t=>t instanceof A,e),QQ=oo.create,DQ=ws.create,x5=zd.create,M5=ms.create,bQ=ng.create,F5=un.create,y5=Ud.create,S5=ag.create,P5=lg.create,R5=ba.create,Y5=en.create,k5=br.create,G5=Hd.create,T5=no.create,L5=Re.create,U5=Re.strictCreate,H5=gg.create,N5=Jh.create,z5=cg.create,O5=Vo.create,V5=dg.create,j5=Nd.create,J5=pn.create,W5=oa.create,K5=hg.create,X5=ug.create,q5=Es.create,Z5=pg.create,_5=xa.create,Xw=po.create,$5=To.create,AP=vs.create,eP=po.createWithPreprocess,tP=Zg.create,iP=()=>QQ().optional(),oP=()=>DQ().optional(),rP=()=>bQ().optional(),sP={string:A=>oo.create({...A,coerce:!0}),number:A=>ws.create({...A,coerce:!0}),boolean:A=>ng.create({...A,coerce:!0}),bigint:A=>ms.create({...A,coerce:!0}),date:A=>un.create({...A,coerce:!0})},nP=zA;var q=Object.freeze({__proto__:null,defaultErrorMap:Da,setErrorMap:n5,getErrorMap:Gd,makeIssue:Td,EMPTY_PATH:a5,addIssueToContext:wA,ParseStatus:It,INVALID:zA,DIRTY:Wn,OK:Ot,isAborted:pC,isDirty:CC,isValid:rg,isAsync:sg,get util(){return ie},get objectUtil(){return uC},ZodParsedType:EA,getParsedType:is,ZodType:_A,datetimeRegex:EQ,ZodString:oo,ZodNumber:ws,ZodBigInt:ms,ZodBoolean:ng,ZodDate:un,ZodSymbol:Ud,ZodUndefined:ag,ZodNull:lg,ZodAny:ba,ZodUnknown:en,ZodNever:br,ZodVoid:Hd,ZodArray:no,ZodObject:Re,ZodUnion:gg,ZodDiscriminatedUnion:Jh,ZodIntersection:cg,ZodTuple:Vo,ZodRecord:dg,ZodMap:Nd,ZodSet:pn,ZodFunction:oa,ZodLazy:hg,ZodLiteral:ug,ZodEnum:Es,ZodNativeEnum:pg,ZodPromise:xa,ZodEffects:po,ZodTransformer:po,ZodOptional:To,ZodNullable:vs,ZodDefault:Cg,ZodCatch:fg,ZodNaN:zd,BRAND:Q5,ZodBranded:AB,ZodPipeline:Zg,ZodReadonly:Bg,custom:IQ,Schema:_A,ZodSchema:_A,late:D5,get ZodFirstPartyTypeKind(){return NA},coerce:sP,any:R5,array:T5,bigint:M5,boolean:bQ,date:F5,discriminatedUnion:N5,effect:Xw,enum:q5,function:W5,instanceof:b5,intersection:z5,lazy:K5,literal:X5,map:j5,nan:x5,nativeEnum:Z5,never:k5,null:P5,nullable:AP,number:DQ,object:L5,oboolean:rP,onumber:oP,optional:$5,ostring:iP,pipeline:tP,preprocess:eP,promise:_5,record:V5,set:J5,strictObject:U5,string:QQ,symbol:y5,transformer:Xw,tuple:O5,undefined:S5,union:H5,unknown:Y5,void:G5,NEVER:nP,ZodIssueCode:oA,quotelessJson:s5,ZodError:vi});q.object({type:q.literal("plain"),content:q.string()});q.object({from:q.number().min(0),to:q.number().min(1)});function _g(A){throw new Error("Unexpected object: "+A)}const xQ="upload://upload/",MQ="index://index/";function aP(A){return A.startsWith(xQ)}function lP(A){return A.startsWith(MQ)}function FQ(A){if(lP(A)){const e=A.slice(MQ.length);return JSON.parse(decodeURIComponent(e)).path}else if(aP(A)){const e=A.slice(xQ.length);return JSON.parse(decodeURIComponent(e)).localPath}_g(A)}function gP(A){return A.replace(/^.*[\\/]/,"")}function yQ(A){return gP(FQ(A))}function Wh(A){if(!A||typeof A!="object")return!1;const e=A;if(!("type"in e))return!1;switch(e.type){case"Json":return typeof e.keyLength=="number"&&e.data!==void 0&&typeof e.data=="object";case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":return typeof e.partitionKeyLength=="number"&&e.parts!==void 0&&typeof e.parts=="object";default:return!1}}function cP(A,e){if(A!==void 0)switch(A.type){case"Json":return A;case"JsonPartitioned":{const t={};for(const[i,o]of Object.entries(A.parts))t[i]=e(o);return{...A,parts:t}}case"BinaryPartitioned":{const t={};for(const[i,o]of Object.entries(A.parts))t[i]={index:e(o.index),values:e(o.values)};return{...A,parts:t}}case"ParquetPartitioned":{const t={};for(const[i,o]of Object.entries(A.parts))t[i]=e(o);return{...A,parts:t}}}}function dP(A,e){switch(A.type){case"Json":break;case"JsonPartitioned":{Object.values(A.parts).forEach(e);break}case"BinaryPartitioned":{Object.values(A.parts).forEach(t=>{e(t.index),e(t.values)});break}case"ParquetPartitioned":{Object.values(A.parts).forEach(e);break}}}function eB(A){if(!A||typeof A!="object")return!1;const e=A;if(!("type"in e))return!1;switch(e.type){case"Json":return typeof e.keyLength=="number"&&Array.isArray(e.data);case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":return typeof e.partitionKeyLength=="number"&&Array.isArray(e.parts);default:return!1}}function hP(A){if(!eB(A))return!1;switch(A.type){case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":return!0;default:return!1}}function uP(A){switch(A.type){case"Json":return{type:"Json",keyLength:A.keyLength,data:Object.entries(A.data).map(([e,t])=>({key:JSON.parse(e),value:t}))};case"JsonPartitioned":return{type:"JsonPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.entries(A.parts).map(([e,t])=>({key:JSON.parse(e),value:t}))};case"BinaryPartitioned":return{type:"BinaryPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.entries(A.parts).map(([e,t])=>({key:JSON.parse(e),value:t}))};case"ParquetPartitioned":return{type:"ParquetPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.entries(A.parts).map(([e,t])=>({key:JSON.parse(e),value:t}))};default:_g(A)}}function pP(A){switch(A.type){case"Json":return{type:"Json",keyLength:A.keyLength,data:Object.fromEntries(A.data.map(({key:e,value:t})=>[JSON.stringify(e),t]))};case"JsonPartitioned":return{type:"JsonPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.fromEntries(A.parts.map(({key:e,value:t})=>[JSON.stringify(e),t]))};case"BinaryPartitioned":return{type:"BinaryPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.fromEntries(A.parts.map(({key:e,value:t})=>[JSON.stringify(e),t]))};case"ParquetPartitioned":return{type:"ParquetPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.fromEntries(A.parts.map(({key:e,value:t})=>[JSON.stringify(e),t]))};default:_g(A)}}function tB(A){return A instanceof Error?A.name==="AbortError"||tB(A.cause):!1}function CP(A){if(typeof A=="string")return`String value was thrown: ${A}`;if(A&&typeof A=="object")try{return`Plain object was thrown: ${JSON.stringify(A)}`}catch(e){return`Non-serializable object was thrown (JSON.stringify failed: ${e instanceof Error?e.message:String(e)}): ${String(A)}`}return`Non-Error value (${typeof A}) was thrown: ${A}`}function SQ(A){return A instanceof Error?A:new Error(CP(A))}function PQ(A){const e=A.cause?PQ(A.cause):void 0,t=new Error(A.message,e!==void 0?{cause:e}:void 0);return t.name=A.name||"Error",t.stack=A.stack,t}function lr(A){if(A.error)throw A.error instanceof Error?A.error:PQ(A.error);return A.value}function fP(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var op,qw;function BP(){return qw||(qw=1,op=function A(e){if(typeof e=="number"&&isNaN(e))throw new Error("NaN is not allowed");if(typeof e=="number"&&!isFinite(e))throw new Error("Infinity is not allowed");return e===null||typeof e!="object"?JSON.stringify(e):e.toJSON instanceof Function?A(e.toJSON()):Array.isArray(e)?`[${e.reduce((o,r,s)=>`${o}${s===0?"":","}${A(r===void 0||typeof r=="symbol"?null:r)}`,"")}]`:`{${Object.keys(e).sort().reduce((i,o)=>{if(e[o]===void 0||typeof e[o]=="symbol")return i;const r=i.length===0?"":",";return`${i}${r}${A(o)}:${A(e[o])}`},"")}}`}),op}var wP=BP();const Pn=fP(wP);function mP(A){return JSON.stringify(A)}function Js(A){return Pn(A)}function ra(A){return JSON.parse(A)}const Ci={Int:"Int",Long:"Long",Float:"Float",Double:"Double",String:"String",Bytes:"Bytes"};function RQ(A,e){return A==null?void 0:A[e]}function EP(A,e,t,i="readMetadataJsonOrThrow"){const o=RQ(A,t);if(o===void 0)return;const r=e[t];try{const s=JSON.parse(o);return r.parse(s)}catch(s){throw new Error(`${i} failed, key: ${String(t)}, value: ${o}, error: ${SQ(s)}`)}}function vP(A,e,t){try{return EP(A,e,t)}catch{return}}const ee={DiscreteValues:"pl7.app/discreteValues",Graph:{Axis:{HighCardinality:"pl7.app/graph/axis/highCardinality",LowerLimit:"pl7.app/graph/axis/lowerLimit",SymmetricRange:"pl7.app/graph/axis/symmetricRange",UpperLimit:"pl7.app/graph/axis/upperLimit"},IsDenseAxis:"pl7.app/graph/isDenseAxis",IsVirtual:"pl7.app/graph/isVirtual",Palette:"pl7.app/graph/palette",Thresholds:"pl7.app/graph/thresholds",TreatAbsentValuesAs:"pl7.app/graph/treatAbsentValuesAs"},HideDataFromUi:"pl7.app/hideDataFromUi",HideDataFromGraphs:"pl7.app/hideDataFromGraphs",IsDiscreteFilter:"pl7.app/isDiscreteFilter",IsLinkerColumn:"pl7.app/isLinkerColumn",IsSubset:"pl7.app/isSubset",Label:"pl7.app/label",Max:"pl7.app/max",Min:"pl7.app/min",MultipliesBy:"pl7.app/multipliesBy",Parents:"pl7.app/parents",Sequence:{Annotation:{Mapping:"pl7.app/sequence/annotation/mapping"},IsAnnotation:"pl7.app/sequence/isAnnotation"},Table:{OrderPriority:"pl7.app/table/orderPriority"},Trace:"pl7.app/trace"},IP=q.enum(["Int","Long","Float","Double","String"]),QP={[ee.DiscreteValues]:q.array(q.string()).or(q.array(q.number())),[ee.Graph.Axis.HighCardinality]:q.boolean(),[ee.Graph.Axis.LowerLimit]:q.number(),[ee.Graph.Axis.UpperLimit]:q.number(),[ee.Graph.Axis.SymmetricRange]:q.boolean(),[ee.Graph.IsDenseAxis]:q.boolean(),[ee.Graph.Palette]:q.object({mapping:q.record(q.number()),name:q.string()}),[ee.Graph.Thresholds]:q.array(q.object({columnId:q.object({valueType:IP,name:q.string()}),value:q.number()})),[ee.Graph.TreatAbsentValuesAs]:q.number(),[ee.Graph.IsVirtual]:q.boolean(),[ee.HideDataFromUi]:q.boolean(),[ee.HideDataFromGraphs]:q.boolean(),[ee.IsDiscreteFilter]:q.boolean(),[ee.IsLinkerColumn]:q.boolean(),[ee.IsSubset]:q.boolean(),[ee.Max]:q.number(),[ee.Min]:q.number(),[ee.MultipliesBy]:q.array(q.string()),[ee.Parents]:q.array(q.string()),[ee.Sequence.Annotation.Mapping]:q.record(q.string(),q.string()),[ee.Sequence.IsAnnotation]:q.boolean(),[ee.Table.OrderPriority]:q.number(),[ee.Trace]:q.record(q.string(),q.unknown())};function as(A,e){return RQ(A==null?void 0:A.annotations,e)}function iB(A,e){return vP(A==null?void 0:A.annotations,QP,e)}const oB={Label:"pl7.app/label",Table:{RowSelection:"pl7.app/table/row-selection"}};function Co(A){const{type:e,name:t,domain:i}=A,o={type:e,name:t};return i&&Object.entries(i).length>0&&Object.assign(o,{domain:i}),o}function DP(A){return A.map(Co)}function bP(A){return Js(Co(A))}function xP(A,e){if(A===void 0)return e===void 0;if(e===void 0)return!0;for(const t in e)if(A[t]!==e[t])return!1;return!0}function YQ(A,e){return A.name===e.name&&xP(A.domain,e.domain)}function kQ(A,e){const t=Math.floor(e/8),i=1<<7-e%8;return(A[t]&i)>0}function MP(A,e){return kQ(A.absent,e)}function FP(A,e){if(A.isNA)return kQ(A.isNA,e);const t=A.type,i=A.data[e];switch(t){case Ci.Int:return i===-2147483648;case Ci.Long:return i===-9007199254740991n;case Ci.Float:return Number.isNaN(i);case Ci.Double:return Number.isNaN(i);case Ci.String:return i===null;case Ci.Bytes:return i===null;default:throw Error(`unsupported data type: ${t}`)}}const yP={type:"absent"};function SP(A){return typeof A=="object"&&A!==null&&"type"in A&&A.type==="absent"}const PP=null;function RP(A,e,t){const i=A.type;if(i===Ci.Bytes)throw Error("Bytes not yet supported");if(t&&"dataType"in t&&t.dataType!==void 0&&t.dataType!==i)throw Error(`expected column of type ${t.dataType}, got ${i}`);if(MP(A,e))return(t==null?void 0:t.absent)!==void 0?t.absent:yP;if(FP(A,e))return(t==null?void 0:t.na)!==void 0?t.na:PP;const o=A.data[e];switch(i){case Ci.Int:return o;case Ci.Long:return Number(o);case Ci.Float:return o;case Ci.Double:return o;case Ci.String:return o}}function rB(A,e,t){return RP(A,e,t)}function YP(A,e){return{...A,src:sd(A.src,e)}}function sd(A,e){switch(A.type){case"column":return{type:"column",column:e(A.column)};case"slicedColumn":return{type:"slicedColumn",column:e(A.column),newId:A.newId,axisFilters:A.axisFilters};case"artificialColumn":return{type:"artificialColumn",column:e(A.column),newId:A.newId,axesIndices:A.axesIndices};case"inlineColumn":return A;case"inner":case"full":return{type:A.type,entries:A.entries.map(t=>sd(t,e))};case"outer":return{type:"outer",primary:sd(A.primary,e),secondary:A.secondary.map(t=>sd(t,e))};default:_g(A)}}function kP(A){return Pn(A)}function Zw(A){return Pn(Co(A))}function _w(A,e){return JSON.stringify([A,e])}class $w{constructor(e){PA(this,"anchors");PA(this,"domains",new Map);PA(this,"axes",new Map);PA(this,"domainPacks",[]);PA(this,"domainPackToAnchor",new Map);this.anchors=e;const t=Object.entries(e);t.sort((i,o)=>i[0].localeCompare(o[0]));for(const[i,o]of t){for(let r=0;r<o.axesSpec.length;r++){const s=o.axesSpec[r],n=Zw(s);this.axes.set(n,{anchor:i,idx:r})}if(o.domain!==void 0){const r=Object.entries(o.domain);r.sort((s,n)=>s[0].localeCompare(n[0])),this.domainPackToAnchor.set(JSON.stringify(r),i),this.domainPacks.push(r.map(([s])=>s));for(const[s,n]of r){const a=_w(s,n);this.domains.set(a,i)}}}}derive(e,t){const i={name:e.name,axes:[]};let o;if(e.domain!==void 0)A:for(const s of this.domainPacks){const n=[];for(const l of s){const g=e.domain[l];if(g!==void 0)n.push([l,g]);else break A}const a=this.domainPackToAnchor.get(JSON.stringify(n));if(a!==void 0){i.domainAnchor=a,o=new Set(s);break}}for(const[s,n]of Object.entries(e.domain??{})){if(o!==void 0&&o.has(s))continue;const a=_w(s,n),l=this.domains.get(a);i.domain??(i.domain={}),i.domain[s]=l?{anchor:l}:n}if(i.axes=e.axesSpec.map(s=>{const n=Zw(s),a=this.axes.get(n);return a===void 0?Co(s):a}),!t||t.length===0)return i;const r=[];for(const s of t){const[n,a]=s;if(typeof n=="number"){if(n<0||n>=e.axesSpec.length)throw new Error(`Axis index ${n} is out of bounds (0-${e.axesSpec.length-1})`);r.push([n,a])}else{const l=e.axesSpec.findIndex(g=>g.name===n);if(l===-1)throw new Error(`Axis with name "${n}" not found in the column specification`);r.push([l,a])}}return r.sort((s,n)=>s[0]-n[0]),{source:i,axisFilters:r}}deriveS(e,t){return kP(this.derive(e,t))}}function Am(A,e,t){const i={...e},o=(t==null?void 0:t.ignoreMissingDomains)??!1;if(i.domainAnchor!==void 0){const r=A[i.domainAnchor];if(!r)throw new Error(`Anchor "${i.domainAnchor}" not found`);const s=r.domain||{};i.domain={...s,...i.domain},delete i.domainAnchor}if(i.domain){const r={};for(const[s,n]of Object.entries(i.domain))if(typeof n=="string")r[s]=n;else{const a=A[n.anchor];if(!a)throw new Error(`Anchor "${n.anchor}" not found for domain key "${s}"`);if(!a.domain||a.domain[s]===void 0){if(!o)throw new Error(`Domain key "${s}" not found in anchor "${n.anchor}"`);continue}r[s]=a.domain[s]}i.domain=r}return i.axes&&(i.axes=i.axes.map(r=>GP(A,r))),i}function GP(A,e){if(!TP(e))return e;const t=e.anchor,i=A[t];if(!i)throw new Error(`Anchor "${t}" not found for axis reference`);if("idx"in e){if(e.idx<0||e.idx>=i.axesSpec.length)throw new Error(`Axis index ${e.idx} out of bounds for anchor "${t}"`);return i.axesSpec[e.idx]}else if("name"in e){const o=i.axesSpec.filter(r=>r.name===e.name);if(o.length>1)throw new Error(`Multiple axes with name "${e.name}" found in anchor "${t}"`);if(o.length===0)throw new Error(`Axis with name "${e.name}" not found in anchor "${t}"`);return o[0]}else if("id"in e){const o=i.axesSpec.filter(r=>YQ(e.id,Co(r)));if(o.length>1)throw new Error(`Multiple matching axes found for matcher in anchor "${t}"`);if(o.length===0)throw new Error(`No matching axis found for matcher in anchor "${t}"`);return o[0]}throw new Error("Unsupported axis reference type")}function TP(A){return typeof A=="object"&&"anchor"in A}function ls(A){return A.kind==="PColumn"}function sB(A){return ls(A.spec)}function LP(A){if(!sB(A))throw new Error(`not a PColumn (kind = ${A.spec.kind})`);return A}function nB(A,e){return A===void 0?void 0:{...A,data:e(A.data)}}function UP(A){const e=new Map,t=i=>{switch(i.type){case"column":e.set(i.column.id,i.column);return;case"slicedColumn":e.set(i.column.id,i.column);return;case"artificialColumn":e.set(i.column.id,i.column);return;case"inlineColumn":return;case"full":case"inner":for(const o of i.entries)t(o);return;case"outer":t(i.primary);for(const o of i.secondary)t(o);return;default:_g(i)}};return t(A),[...e.values()]}function em(A,e){if(A.name!==void 0&&A.name!==e.name)return!1;if(A.type!==void 0){if(Array.isArray(A.type)){if(!A.type.includes(e.type))return!1}else if(A.type!==e.type)return!1}if(A.domain!==void 0){const t=e.domain||{};for(const[i,o]of Object.entries(A.domain))if(t[i]!==o)return!1}return!0}function tm(A,e){if(e.name!==void 0&&A.name!==e.name||e.namePattern!==void 0&&!new RegExp(e.namePattern).test(A.name))return!1;if(e.type!==void 0){if(Array.isArray(e.type)){if(!e.type.includes(A.valueType))return!1}else if(e.type!==A.valueType)return!1}if(e.domain!==void 0){const t=A.domain||{};for(const[i,o]of Object.entries(e.domain))if(t[i]!==o)return!1}if(e.axes!==void 0){const t=A.axesSpec.map(Co);if(e.partialAxesMatch){for(const i of e.axes)if(!t.some(o=>em(i,o)))return!1}else{if(t.length!==e.axes.length)return!1;for(let i=0;i<e.axes.length;i++)if(!em(e.axes[i],t[i]))return!1}}if(e.annotations!==void 0){const t=A.annotations||{};for(const[i,o]of Object.entries(e.annotations))if(t[i]!==o)return!1}if(e.annotationPatterns!==void 0){const t=A.annotations||{};for(const[i,o]of Object.entries(e.annotationPatterns)){const r=t[i];if(r===void 0||!new RegExp(o).test(r))return!1}}return!0}function wg(A){return Array.isArray(A)?e=>A.some(t=>ls(e)&&tm(e,t)):e=>ls(e)&&tm(e,A)}function HP(A){const e={kind:A.kind,name:A.name};return A.domain!==void 0&&(e.domain=A.domain),ls(A)&&(e.axesSpec=DP(A.axesSpec)),Pn(e)}function NP(A){if(A instanceof Int8Array||A instanceof Uint8Array||A instanceof Uint8ClampedArray)return new DataView(A.buffer,A.byteOffset,A.byteLength);if(A instanceof ArrayBuffer)return new DataView(A);throw new TypeError("Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray")}const zP="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",OP="0123456789ABCDEFGHIJKLMNOPQRSTUV",VP="0123456789ABCDEFGHJKMNPQRSTVWXYZ";function jP(A,e,t){t=t||{};let i,o;switch(e){case"RFC3548":case"RFC4648":i=zP,o=!0;break;case"RFC4648-HEX":i=OP,o=!0;break;case"Crockford":i=VP,o=!1;break;default:throw new Error("Unknown base32 variant: "+String(e))}const r=t.padding!==void 0?t.padding:o,s=NP(A);let n=0,a=0,l="";for(let g=0;g<s.byteLength;g++)for(a=a<<8|s.getUint8(g),n+=8;n>=5;)l+=i[a>>>n-5&31],n-=5;if(n>0&&(l+=i[a<<5-n&31]),r)for(;l.length%8!==0;)l+="=";return l}const JP=15,WP=24,KP=q.string().length(WP).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");function XP(){const A=new Uint8Array(JP);return crypto.getRandomValues(A),KP.parse(jP(A,"RFC4648"))}q.object({__isRef:q.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),blockId:q.string().describe("Upstream block id"),name:q.string().describe("Name of the output provided to the upstream block's output context"),requireEnrichments:q.literal(!0).optional().describe("True if current block that stores this reference in its args, may need enrichments for the references value originating from the blocks in between current and referenced block")}).describe("Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees.").readonly();function qP(A){return typeof A=="object"&&A!==null&&"__isRef"in A&&A.__isRef===!0&&"blockId"in A&&"name"in A}function im(A,e=!0){if(e)return{...A,requireEnrichments:!0};{const{requireEnrichments:t,...i}=A;return i}}function ZP(A,e){return A.ok?{ok:!0,value:e(A.value)}:A}class $t{constructor(e,t=i=>i){PA(this,"handle");PA(this,"postProcess");PA(this,"isResolved",!1);PA(this,"resolvedValue");this.handle=e,this.postProcess=t,r5(e,i=>{this.resolvedValue=t(i),this.isResolved=!0})}map(e){return new $t(this.handle,t=>e(this.postProcess(t)))}mapDefined(e){return new $t(this.handle,t=>{const i=this.postProcess(t);return i?e(i):void 0})}toJSON(){return this.isResolved?this.resolvedValue:{__awaited_futures__:[this.handle]}}}function BC(A,e){return A===void 0?void 0:e(A)}class Ui{constructor(e,t){PA(this,"handle");PA(this,"resolvePath");this.handle=e,this.resolvePath=t}resolve(...e){const t=e.map(i=>({assertFieldType:"Input",...typeof i=="string"?{field:i}:i}));return this.resolveWithCommon({},...t)}resolveOutput(...e){const t=e.map(i=>({assertFieldType:"Output",...typeof i=="string"?{field:i}:i}));return this.resolveWithCommon({},...t)}resolveInput(...e){const t=e.map(i=>({assertFieldType:"Input",...typeof i=="string"?{field:i}:i}));return this.resolveWithCommon({},...t)}resolveAny(...e){return this.resolveWithCommon({},...e)}resolveWithCommon(e,...t){const i=[...this.resolvePath,...t.map(o=>typeof o=="string"?o:o.field)];return BC(ce().resolveWithCommon(this.handle,e,...t),o=>new Ui(o,i))}get resourceType(){return ce().getResourceType(this.handle)}getInputsLocked(){return ce().getInputsLocked(this.handle)}getOutputsLocked(){return ce().getOutputsLocked(this.handle)}getIsReadyOrError(){return ce().getIsReadyOrError(this.handle)}getIsFinal(){return ce().getIsFinal(this.handle)}getError(){const e=[...this.resolvePath,"error"];return BC(ce().getError(this.handle),t=>new Ui(t,e))}listInputFields(){return ce().listInputFields(this.handle)}listOutputFields(){return ce().listOutputFields(this.handle)}listDynamicFields(){return ce().listDynamicFields(this.handle)}getKeyValueBase64(e){return ce().getKeyValueBase64(this.handle,e)}getKeyValueAsString(e){return ce().getKeyValueAsString(this.handle,e)}getKeyValueAsJson(e){const t=this.getKeyValueAsString(e);if(t==null)throw new Error("Resource has no content.");return JSON.parse(t)}getDataBase64(){return ce().getDataBase64(this.handle)}getDataAsString(){return ce().getDataAsString(this.handle)}getDataAsJson(){const e=this.getDataAsString();if(e==null)throw new Error("Resource has no content.");return JSON.parse(e)}getPColumns(e=!1,t=""){const i=this.parsePObjectCollection(e,t);return i===void 0?void 0:Object.entries(i).map(([,r])=>{if(!sB(r))throw new Error(`not a PColumn (kind = ${r.spec.kind})`);return r})}parsePObjectCollection(e=!1,t=""){const i=ce().parsePObjectCollection(this.handle,e,t,...this.resolvePath);if(i===void 0)return;const o={};for(const[r,s]of Object.entries(i)){const n=[...this.resolvePath,r];o[r]=nB(s,a=>new Ui(a,n))}return o}getFileContentAsBase64(e){return new $t(ce().getBlobContentAsBase64(this.handle,e))}getFileContentAsString(e){return new $t(ce().getBlobContentAsString(this.handle,e))}getFileContentAsJson(e){return new $t(ce().getBlobContentAsString(this.handle,e)).mapDefined(t=>JSON.parse(t))}getBlobContentAsBase64(){return this.getFileContentAsBase64()}getBlobContentAsString(){return this.getFileContentAsString()}getFileHandle(){return new $t(ce().getDownloadedBlobContentHandle(this.handle))}getDownloadedBlobHandle(){return this.getFileHandle()}getRemoteFileHandle(){return new $t(ce().getOnDemandBlobContentHandle(this.handle))}getOnDemandBlobHandle(){return this.getRemoteFileHandle()}extractArchiveAndGetURL(e){return new $t(ce().extractArchiveAndGetURL(this.handle,e))}getImportProgress(){return new $t(ce().getImportProgress(this.handle))}getLastLogs(e){return new $t(ce().getLastLogs(this.handle,e))}getProgressLog(e){return new $t(ce().getProgressLog(this.handle,e))}getProgressLogWithInfo(e){return new $t(ce().getProgressLogWithInfo(this.handle,e))}getLogHandle(){return new $t(ce().getLogHandle(this.handle))}allFieldsResolved(e="Input"){switch(e){case"Input":return this.getInputsLocked()&&this.listInputFields().every(t=>this.resolve({field:t,assertFieldType:"Input"})!==void 0);case"Output":return this.getOutputsLocked()&&this.listOutputFields().every(t=>this.resolve({field:t,assertFieldType:"Output"})!==void 0)}}mapFields(e,t){const{fieldType:i,requireLocked:o,skipUnresolved:r}={fieldType:"Input",requireLocked:!0,skipUnresolved:!1,...t},s=e;if(o&&(i==="Input"&&!this.getInputsLocked()||i==="Output"&&!this.getOutputsLocked()))return;let a=(i==="Input"?this.listInputFields():i==="Output"?this.listOutputFields():this.listDynamicFields()).map(l=>[l,this.resolve({field:l,assertFieldType:i})]);return r&&(a=a.filter(l=>l[1]!==void 0)),a.map(([l,g])=>s(l,g))}}const _P="staging",$P="main";function AR(A,e){const t=[...e].sort((s,n)=>n[0]-s[0]),{type:i}=A;switch(i){case"Json":{const{keyLength:s}=A;for(const[n]of e)if(n>=s)throw new Error(`Can't filter on non-data axis ${n}. Must be >= ${s}`);break}case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":{const{partitionKeyLength:s}=A;for(const[n]of e)if(n>=s)throw new Error(`Can't filter on non-partitioned axis ${n}. Must be >= ${s}`);break}default:throw new Error(`Unsupported data info type: ${i}`)}const o=s=>{for(const[n,a]of t)if(s[n]!==a)return!1;return!0},r=s=>{const n=[...s];for(const[a]of t)n.splice(a,1);return n};switch(A.type){case"Json":return{type:"Json",keyLength:A.keyLength-e.length,data:A.data.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))};case"JsonPartitioned":return{type:"JsonPartitioned",partitionKeyLength:A.partitionKeyLength-e.length,parts:A.parts.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))};case"BinaryPartitioned":return{type:"BinaryPartitioned",partitionKeyLength:A.partitionKeyLength-e.length,parts:A.parts.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))};case"ParquetPartitioned":return{type:"ParquetPartitioned",partitionKeyLength:A.partitionKeyLength-e.length,parts:A.parts.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))}}}const eR=q.object({type:q.string(),importance:q.number().optional(),id:q.string().optional(),label:q.string()}),tR=q.array(eR),iR=.001,oR="__LABEL__",om="__LABEL__@1";function GQ(A,e,t={}){const i=new Map,o=t.forceTraceElements!==void 0&&t.forceTraceElements.length>0?new Set(t.forceTraceElements):void 0,r=new Map,s=A.map(h=>{const u=e(h);let p,C,f;"spec"in u&&typeof u.spec=="object"?(p=u.spec,C=u.prefixTrace,f=u.suffixTrace):p=u;const w=as(p,ee.Label),B=as(p,ee.Trace),m=(B?tR.safeParse(ra(B)).data:void 0)??[],E=[...C??[],...m,...f??[]];if(w!==void 0){const D={label:w,type:oR,importance:-2};t.addLabelAsSuffix?E.push(D):E.splice(0,0,D)}const v=[],M=new Map;for(let D=E.length-1;D>=0;--D){const{type:Q}=E[D],H=E[D].importance??0,G=(M.get(Q)??0)+1;M.set(Q,G);const F=`${Q}@${G}`;r.set(F,(r.get(F)??0)+1),i.set(F,Math.max(i.get(F)??Number.NEGATIVE_INFINITY,H-(E.length-D)*iR)),v.push({...E[D],fullType:F,occurrenceIndex:G})}return v.reverse(),{value:h,spec:p,label:w,fullTrace:v}}),n=[],a=[],l=[...i];l.sort(([,h],[,u])=>u-h);for(const[h]of l)h.endsWith("@1")||r.get(h)===A.length?n.push(h):a.push(h);const g=(h,u=!1)=>{const p=[];for(let C=0;C<s.length;C++){const f=s[C],w=f.fullTrace.filter(E=>h.has(E.fullType)||o&&o.has(E.type));if(w.length===0)if(u)p.push({label:"Unlabeled",value:f.value});else return;const B=w.map(E=>E.label),m=t.separator??" / ";p.push({label:B.join(m),value:f.value})}return p};if(n.length===0){if(a.length!==0)throw new Error("Non-empty secondary types list while main types list is empty.");return g(new Set(om),!0)}let c=0,d=-1;for(;c<n.length;){const h=new Set;t.includeNativeLabel&&h.add(om);for(let p=0;p<c;++p)h.add(n[p]);d>=0&&h.add(n[d]);const u=g(h);if(u!==void 0&&new Set(u.map(p=>p.label)).size===A.length)return u;d++,d>=n.length&&(c++,d=c)}return g(new Set([...n,...a]),!0)}const Ta="PColumnData/",wC=Ta+"ResourceMap",mC=Ta+"Partitioned/ResourceMap",Yl=Ta+"JsonPartitioned",sa=Ta+"BinaryPartitioned",kl=Ta+"ParquetPartitioned",aB=Ta+"Partitioned/",Od=aB+"JsonPartitioned",Gl=aB+"BinaryPartitioned",Vd=aB+"ParquetPartitioned",EC=A=>{if(A.endsWith(".index"))return{baseKey:A.substring(0,A.length-6),type:"index"};if(A.endsWith(".values"))return{baseKey:A.substring(0,A.length-7),type:"values"};throw new Error(`key must ends on .index/.values for binary p-column, got: ${A}`)};function rR(A){if(!A)return;const e=A.resourceType.name,t=A.getDataAsJson(),i=[];let o=0;switch(e){case wC:o=t.keyLength;break;case mC:o=t.partitionKeyLength+t.keyLength;break;case Yl:case sa:case kl:o=t.partitionKeyLength;break;case Gl:case Od:case Vd:o=t.superPartitionKeyLength+t.partitionKeyLength;break}switch(e){case wC:case Yl:case sa:case kl:for(let r of A.listInputFields()){e===sa&&(r=EC(r).baseKey);const s=[...JSON.parse(r)];i.push(s)}break;case mC:case Gl:case Od:case Vd:for(const r of A.listInputFields()){const s=[...JSON.parse(r)],n=A.resolve({field:r,assertFieldType:"Input"});if(n!==void 0)for(let a of n.listInputFields()){e===Gl&&(a=EC(a).baseKey);const l=[...s,...JSON.parse(a)];i.push(l)}}break}return{data:i,keyLength:o}}function sR(A){if(A.type!=="JsonPartitioned"&&A.type!=="BinaryPartitioned"&&A.type!=="ParquetPartitioned")throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${A.type}`);const{parts:e,partitionKeyLength:t}=A,i=[];for(let o=0;o<t;++o)i.push(new Set);for(const o of e){const r=o.key;if(r.length!==t)throw new Error(`Key length (${r.length}) does not match partition length (${t}) for key: ${JSON.stringify(r)}`);for(let s=0;s<t;++s)i[s].add(r[s])}return i.map(o=>Array.from(o.values()))}function nR(A){if(A===void 0)return;if(eB(A))return sR(A);const e=rR(A);if(!e)return;const{data:t,keyLength:i}=e,o=[];for(let r=0;r<i;++r)o.push(new Set);for(const r of t){if(r.length!==i)throw new Error("key length does not match partition length");for(let s=0;s<i;++s)o[s].add(r[s])}return o.map(r=>Array.from(r.values()))}function nd(A,e=[]){if(A===void 0||!A.getIsReadyOrError())return;const t=A.resourceType.name,i=A.getDataAsJson();if(e.length>0&&(t===Od||t===Gl||t===Vd))throw new Error(`Unexpected nested super-partitioned resource: ${t}`);switch(t){case wC:case mC:throw new Error(`Only data columns are supported, got: ${t}`);case Yl:{if(typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing partitionKeyLength in metadata for ${t}`);const o=[];for(const r of A.listInputFields()){const s=A.resolve({field:r,assertFieldType:"Input"});if(s===void 0)return;const n=[...e,...JSON.parse(r)];o.push({key:n,value:s})}return{type:"JsonPartitioned",partitionKeyLength:i.partitionKeyLength,parts:o}}case sa:{if(typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing partitionKeyLength in metadata for ${t}`);const o=[],r=new Map;for(const s of A.listInputFields()){const n=EC(s),a=A.resolve({field:s,assertFieldType:"Input"});if(a===void 0)return;let l=r.get(n.baseKey);l||(l={},r.set(n.baseKey,l)),n.type==="index"?l.index=a:l.values=a}for(const[s,n]of r.entries()){if(!n.index||!n.values)return;const a=[...e,...JSON.parse(s)];o.push({key:a,value:{index:n.index,values:n.values}})}return{type:"BinaryPartitioned",partitionKeyLength:i.partitionKeyLength,parts:o}}case kl:{if(typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing partitionKeyLength in metadata for ${t}`);const o=[];for(const r of A.listInputFields()){const s=A.resolve({field:r,assertFieldType:"Input"});if(s===void 0)return;const n=[...e,...JSON.parse(r)];o.push({key:n,value:s})}return{type:"ParquetPartitioned",partitionKeyLength:i.partitionKeyLength,parts:o}}case Od:{if(typeof(i==null?void 0:i.superPartitionKeyLength)!="number"||typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${t}`);const o=i.superPartitionKeyLength+i.partitionKeyLength,r=[];for(const s of A.listInputFields()){const n=A.resolve({field:s,assertFieldType:"Input"});if(n===void 0)return;if(n.resourceType.name!==Yl)throw new Error(`Expected ${Yl} inside ${t}, but got ${n.resourceType.name}`);const a=nd(n,JSON.parse(s));if(a===void 0)return;if(a.type!=="JsonPartitioned")throw new Error(`Unexpected inner result type for ${t}: ${a.type}`);r.push(...a.parts)}return{type:"JsonPartitioned",partitionKeyLength:o,parts:r}}case Gl:{if(typeof(i==null?void 0:i.superPartitionKeyLength)!="number"||typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${t}`);const o=i.superPartitionKeyLength+i.partitionKeyLength,r=[];for(const s of A.listInputFields()){const n=A.resolve({field:s,assertFieldType:"Input"});if(n===void 0)return;if(n.resourceType.name!==sa)throw new Error(`Expected ${sa} inside ${t}, but got ${n.resourceType.name}`);const a=nd(n,JSON.parse(s));if(a===void 0)return;if(a.type!=="BinaryPartitioned")throw new Error(`Unexpected inner result type for ${t}: ${a.type}`);r.push(...a.parts)}return{type:"BinaryPartitioned",partitionKeyLength:o,parts:r}}case Vd:{if(typeof(i==null?void 0:i.superPartitionKeyLength)!="number"||typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${t}`);const o=i.superPartitionKeyLength+i.partitionKeyLength,r=[];for(const s of A.listInputFields()){const n=A.resolve({field:s,assertFieldType:"Input"});if(n===void 0)return;if(n.resourceType.name!==kl)throw new Error(`Expected ${kl} inside ${t}, but got ${n.resourceType.name}`);const a=nd(n,JSON.parse(s));if(a===void 0)return;if(a.type!=="ParquetPartitioned")throw new Error(`Unexpected inner result type for ${t}: ${a.type}`);r.push(...a.parts)}return{type:"ParquetPartitioned",partitionKeyLength:o,parts:r}}default:throw new Error(`Unknown resource type: ${t}`)}}function aR(A){if(A!==void 0){if(eB(A))return A;if(Wh(A))return uP(A);if(A instanceof Ui)return nd(A);throw new Error(`Unexpected input type: ${typeof A}`)}}function lR(A){const e=o=>Array.isArray(o),t=o=>o instanceof Ui;let i=!0;if(t(A.data))i&&(i=A.data.getIsReadyOrError());else if(Wh(A.data))dP(A.data,o=>i&&(i=o.getIsReadyOrError()));else if(!e(A.data))throw Error(`unsupported column data type: ${A.data}`);return i}function rm(A){return A.every(lR)}function gR(A){if(!Array.isArray(A))return!1;if(A.length===0)return!0;const e=A[0];return typeof e=="object"&&e!==null&&"key"in e&&"val"in e}class cR{constructor(e){PA(this,"columns");this.columns=e}selectColumns(e){const t=typeof e=="function"?e:wg(e);return this.columns.filter(i=>t(i.spec))}}function dR(A){if(A)return A.map(e=>({type:`split:${bP(e.axisId)}`,label:e.label,importance:1e6}))}function hR(A){if(A)return A.map(e=>[e.axisIdx,e.value])}function uR(A,e){if(!e||e.length===0)return A;const t=[...e].sort((i,o)=>i[0]-o[0]);return Pn({id:A,axisFilters:t})}function sm(A){if(!A||typeof A!="object")return!1;const e=A,t=e.domain&&typeof e.domain=="object"&&Object.values(e.domain).some(o=>typeof o=="object"&&o!==null&&"anchor"in o),i=e.axes&&Array.isArray(e.axes)&&e.axes.some(o=>typeof o=="object"&&o!==null&&"anchor"in o);return!!e.domainAnchor||t||i}function pR(A){if(typeof A!="object"||!("axes"in A)||A.axes===void 0)return[];const e=A.axes.map((t,i)=>typeof t=="object"&&"split"in t&&t.split===!0?i:-1).filter(t=>t!==-1);if(e.length>0&&A.partialAxesMatch!==void 0)throw new Error("Axis splitting is not supported when `partialAxesMatch` is defined.");return e.sort((t,i)=>t-i),e}class nm{constructor(){PA(this,"defaultProviderStore",[]);PA(this,"providers",[new cR(this.defaultProviderStore)]);PA(this,"axisLabelProviders",[])}addColumnProvider(e){return this.providers.push(e),this}addAxisLabelProvider(e){return this.axisLabelProviders.push(e),this}addColumns(e){return this.defaultProviderStore.push(...e),this}addColumn(e){return this.defaultProviderStore.push(e),this}findLabels(e){for(const t of this.axisLabelProviders){const i=t.findLabels(e);if(i)return i}}getUniversalEntries(e,t){const{anchorCtx:i,labelOps:o,dontWaitAllData:r=!1,overrideLabelAnnotation:s=!1,exclude:n}=t??{},a={...s&&(o==null?void 0:o.includeNativeLabel)!==!1?{includeNativeLabel:!0}:{},...o??{}};let l=()=>!1;if(n){const p=(Array.isArray(n)?n:[n]).map(C=>{if(sm(C)){if(!i)throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");return wg(Am(i.anchors,C,t))}else return wg(C)});l=C=>p.some(f=>f(C))}const g=typeof e=="function"?[e]:Array.isArray(e)?e:[e],c=[],d=new Set;for(const p of g){const C=sm(p);let f;if(C){if(!i)throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");f=Am(i.anchors,p,t)}else f=p;const w=new Set,B=[];for(const v of this.providers){const M=v.selectColumns(f);for(const D of M){if(l(D.spec))continue;if(w.has(D.id))throw new Error(`Duplicate column id ${D.id} in provider ${v.constructor.name}`);const Q=HP(D.spec);d.has(Q)||(w.add(D.id),d.add(Q),B.push(D))}}if(B.length===0)continue;const m=pR(p),E=m.length>0;for(const v of B){if(!ls(v.spec))continue;const M=v.spec;if(E){if(gR(v.data))throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${v.id}`);const D=aR(v.data);if(!D){if(r)continue;return}if(!hP(D))throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${D.type} for column ${v.id}`);const Q=nR(D),H=m[m.length-1];if(H>=D.partitionKeyLength)throw new Error(`Not enough partition keys (${D.partitionKeyLength}) for requested split axes (max index ${H}) in column ${M.name}`);const G=m.map(z=>this.findLabels(Co(M.axesSpec[z]))),F=[],_=(z,X)=>{if(X>=m.length){if(F.push([...z]),F.length>1e4)throw new Error("Too many key combinations, aborting.");return}const eA=m[X];if(eA>=Q.length)throw new Error(`Axis index ${eA} out of bounds for unique keys array (length ${Q.length}) during split key generation for column ${v.id}`);const lA=Q[eA];if(!lA||lA.length===0){F.length=0;return}for(const bA of lA)z.push(bA),_(z,X+1),z.pop()};if(_([],0),F.length===0)continue;const T=[...M.axesSpec],y=m.map(z=>z);for(let z=m.length-1;z>=0;z--)T.splice(m[z],1);const U={...M,axesSpec:T};for(const z of F){const X=z.map((eA,lA)=>{const bA=y[lA],vA=Co(M.axesSpec[bA]),YA=G[lA],uA=(YA==null?void 0:YA[eA])??String(eA);return{axisIdx:bA,axisId:vA,value:eA,label:uA}});c.push({type:"split",originalColumn:v,spec:M,adjustedSpec:U,dataEntries:D,axisFilters:X})}}else c.push({type:"direct",originalColumn:v,spec:M,adjustedSpec:M})}}if(c.length===0)return[];const h=GQ(c,p=>({spec:p.spec,suffixTrace:p.type==="split"?dR(p.axisFilters):void 0}),a),u=[];for(const{value:p,label:C}of h){const{originalColumn:f,spec:w}=p,B=p.type==="split"?p.axisFilters:void 0,m=hR(B);let E;i?E=i.deriveS(w,m):E=uR(f.id,m);let v={...p.adjustedSpec};s&&(v={...v,annotations:{...v.annotations??{},[ee.Label]:C}}),u.push({id:E,spec:v,data:()=>p.type==="split"?pP(AR(p.dataEntries,m)):p.originalColumn.data,label:C})}return u}getColumns(e,t){const i=this.getUniversalEntries(e,{overrideLabelAnnotation:!0,...t??{}});if(!i)return;const o=[];for(const r of i){const s=r.data();if(!s){if(t!=null&&t.dontWaitAllData)continue;return}o.push({id:r.id,spec:r.spec,data:s})}return o}}function am(A){const e=o=>o.operator!=="InSet"?o:{operator:"Or",operands:o.references.map(r=>({operator:"Equal",reference:r}))},t=(o,r)=>{switch(o.operator){case"And":return{...o,operands:o.operands.map(n=>t(n,r))};case"Or":return{...o,operands:o.operands.map(n=>t(n,r))};case"Not":return{...o,operand:t(o.operand,r)};default:return r(o)}},i=(o,r)=>({...o,predicate:t(o.predicate,r)});return A.map(o=>i(o,e))}function rp(A,e){if(A===void 0)return e===void 0;if(e===void 0)return!0;for(const t in e)if(A[t]!==e[t])return!1;return!0}function lm(A){return nB(A,e=>e instanceof Ui?e.handle:Wh(e)?cP(e,t=>t.handle):e)}class CR{constructor(){PA(this,"ctx",ce())}calculateOptions(e){return this.ctx.calculateOptions(e)}getOptions(e,t){const i=typeof e=="function"?e:wg(e),o=this.getSpecs().entries.filter(n=>i(n.obj));let r={},s=!1;return typeof t<"u"&&(typeof t=="function"?r=t:typeof t=="object"&&("includeNativeLabel"in t||"separator"in t||"addLabelAsSuffix"in t?r=t:(t=t,r=t.label??{},s=t.refsWithEnrichments??!1))),typeof r=="object"?GQ(o,n=>n.obj,r??{}).map(({value:{ref:n},label:a})=>({ref:im(n,s),label:a})):o.map(({ref:n,obj:a})=>({ref:im(n,s),label:r(a,n)}))}resolveAnchorCtx(e){if(e instanceof $w)return e;const t={};for(const[i,o]of Object.entries(e))if(qP(o)){const r=this.getPColumnSpecByRef(o);if(!r)return;t[i]=r}else t[i]=o;return new $w(t)}getAnchoredPColumns(e,t,i){const o=this.resolveAnchorCtx(e);if(o)return new nm().addColumnProvider(this).addAxisLabelProvider(this).getColumns(t,{...i,anchorCtx:o})}getCanonicalOptions(e,t,i){const o=this.resolveAnchorCtx(e);if(!o)return;const r=new nm().addColumnProvider(this).addAxisLabelProvider(this).getUniversalEntries(t,{...i,anchorCtx:o});if(r)return r.map(s=>({value:s.id,label:s.label}))}getDataFromResultPool(){return this.getData()}getData(){const e=this.ctx.getDataFromResultPool();return{isComplete:e.isComplete,entries:e.entries.map(t=>({ref:t.ref,obj:{...t.obj,data:new Ui(t.obj.data,[t.ref.blockId,t.ref.name])}}))}}getDataWithErrorsFromResultPool(){return this.getDataWithErrors()}getDataWithErrors(){const e=this.ctx.getDataWithErrorsFromResultPool();return{isComplete:e.isComplete,entries:e.entries.map(t=>({ref:t.ref,obj:{...t.obj,data:ZP(t.obj.data,i=>new Ui(i,[t.ref.blockId,t.ref.name]))}}))}}getSpecsFromResultPool(){return this.getSpecs()}getSpecs(){return this.ctx.getSpecsFromResultPool()}getDataByRef(e){var i;if(typeof this.ctx.getDataFromResultPoolByRef>"u")return(i=this.getData().entries.find(o=>o.ref.blockId===e.blockId&&o.ref.name===e.name))==null?void 0:i.obj;const t=this.ctx.getDataFromResultPoolByRef(e.blockId,e.name);if(t)return nB(t,o=>new Ui(o,[e.blockId,e.name]))}getPColumnByRef(e){const t=this.getDataByRef(e);if(t)return LP(t)}getPColumnSpecByRef(e){const t=this.getSpecByRef(e);if(t){if(!ls(t))throw new Error(`not a PColumn spec (kind = ${t.kind})`);return t}}getSpecByRef(e){return this.ctx.getSpecFromResultPoolByRef(e.blockId,e.name)}findDataWithCompatibleSpec(e){const t=[];A:for(const i of this.getData().entries){if(!ls(i.obj.spec))continue;const o=i.obj.spec;if(e.name===o.name&&e.valueType===o.valueType&&e.axesSpec.length===o.axesSpec.length&&rp(e.domain,o.domain)){for(let r=0;r<e.axesSpec.length;++r){const s=e.axesSpec[r],n=o.axesSpec[r];if(s.name!==n.name||s.type!==n.type||!rp(s.domain,n.domain))continue A}t.push(i.obj)}}return t}findLabels(e){const t=this.getData();for(const i of t.entries){if(!sB(i.obj))continue;const o=i.obj.spec;if(o.name===oB.Label&&o.axesSpec.length===1&&o.axesSpec[0].name===e.name&&o.axesSpec[0].type===e.type&&rp(e.domain,o.axesSpec[0].domain)){if(i.obj.data.resourceType.name!=="PColumnData/Json")throw Error(`Expected JSON column for labels, got: ${i.obj.data.resourceType.name}`);return Object.fromEntries(Object.entries(i.obj.data.getDataAsJson().data).map(s=>[JSON.parse(s[0])[0],s[1]]))}}}selectColumns(e){const t=typeof e=="function"?e:wg(e);return this.getSpecs().entries.filter(({obj:o})=>ls(o)?t(o):!1).map(({ref:o,obj:r})=>{const s=r;let n=null;const a=this;return{id:Pn(o),spec:s,get data(){var l;return n!==null||(n=(l=a.getPColumnByRef(o))==null?void 0:l.data),n}}})}findLabelsForColumnAxis(e,t){const i=this.findLabels(e.axesSpec[t]);if(!i)return;const o=as(e,`pl7.app/axisKeys/${t}`);if(o!==void 0){const r=JSON.parse(o);return Object.fromEntries(r.map(s=>[s,i[s]??"Unlabelled"]))}else return i}}class xc{constructor(){PA(this,"ctx");PA(this,"_argsCache");PA(this,"_uiStateCache");PA(this,"_activeArgsCache");PA(this,"resultPool",new CR);this.ctx=ce()}get args(){if(this._argsCache===void 0){const e=this.ctx.args,t=typeof e=="function"?e():e;this._argsCache={v:JSON.parse(t)}}return this._argsCache.v}get uiState(){if(this._uiStateCache===void 0){const e=this.ctx.uiState,t=typeof e=="function"?e():e;this._uiStateCache={v:t?JSON.parse(t):{}}}return this._uiStateCache.v}get activeArgs(){if(this._activeArgsCache===void 0){const e=this.ctx.activeArgs,t=typeof e=="function"?e():e;this._activeArgsCache={v:t?JSON.parse(t):void 0}}return this._activeArgsCache.v}getNamedAccessor(e){return BC(this.ctx.getAccessorHandleByName(e),t=>new Ui(t,[e]))}get prerun(){return this.getNamedAccessor(_P)}get outputs(){return this.getNamedAccessor($P)}findLabels(e){return this.resultPool.findLabels(e)}verifyInlineAndExplicitColumnsSupport(e){var o;const t=e.some(r=>!(r.data instanceof Ui)||Wh(r.data)),i=((o=this.ctx.featureFlags)==null?void 0:o.inlineColumnsSupport)===!0;if(t&&!i)throw Error("Inline or explicit columns not supported")}patchPTableDef(e){var t,i;return(t=this.ctx.featureFlags)!=null&&t.pTablePartitionFiltersSupport||(e={...e,partitionFilters:[],filters:[...e.partitionFilters,...e.filters]}),(i=this.ctx.featureFlags)!=null&&i.pFrameInSetFilterSupport||(e={...e,partitionFilters:am(e.partitionFilters),filters:am(e.filters)}),e}createPFrame(e){if(this.verifyInlineAndExplicitColumnsSupport(e),!!rm(e))return this.ctx.createPFrame(e.map(t=>lm(t)))}createPTable(e){let t;"columns"in e?t=this.patchPTableDef({src:{type:"full",entries:e.columns.map(o=>({type:"column",column:o}))},partitionFilters:e.filters??[],filters:[],sorting:e.sorting??[]}):t=this.patchPTableDef(e);const i=UP(t.src);if(this.verifyInlineAndExplicitColumnsSupport(i),!!rm(i))return this.ctx.createPTable(YP(t,o=>lm(o)))}getBlockLabel(e){return this.ctx.getBlockLabel(e)}getCurrentUnstableMarker(){return this.ctx.getCurrentUnstableMarker()}logInfo(e){this.ctx.logInfo(e)}logWarn(e){this.ctx.logWarn(e)}logError(e){this.ctx.logError(e)}}var fR="1.45.23";const ad=fR;function BR(A){return A.__renderLambda===!0}function sp(A){if(A!==void 0)return BR(A)?A.handle:A}const st=class st{constructor(e,t,i,o,r,s,n,a,l){PA(this,"_renderingMode");PA(this,"_initialArgs");PA(this,"_initialUiState");PA(this,"_outputs");PA(this,"_inputsValid");PA(this,"_sections");PA(this,"_title");PA(this,"_enrichmentTargets");PA(this,"_featureFlags");this._renderingMode=e,this._initialArgs=t,this._initialUiState=i,this._outputs=o,this._inputsValid=r,this._sections=s,this._title=n,this._enrichmentTargets=a,this._featureFlags=l}static create(e="Heavy"){return new st(e,void 0,{},{},ep(!0),ep([]),void 0,void 0,{...st.INITIAL_BLOCK_FEATURE_FLAGS})}output(e,t,i={}){if(typeof t=="function"){const o=`output#${e}`;return _a(o,()=>t(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,{...this._outputs,[e]:{__renderLambda:!0,handle:o,...i}},this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}else return new st(this._renderingMode,this._initialArgs,this._initialUiState,{...this._outputs,[e]:t},this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}retentiveOutput(e,t){return this.output(e,t,{retentive:!0})}argsValid(e){return typeof e=="function"?(_a("inputsValid",()=>e(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,{__renderLambda:!0,handle:"inputsValid"},this._sections,this._title,this._enrichmentTargets,this._featureFlags)):new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,e,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}sections(e){return Array.isArray(e)?this.sections(ep(e)):typeof e=="function"?(_a("sections",()=>e(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,{__renderLambda:!0,handle:"sections"},this._title,this._enrichmentTargets,this._featureFlags)):new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,e,this._title,this._enrichmentTargets,this._featureFlags)}title(e){return _a("title",()=>e(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,this._sections,{__renderLambda:!0,handle:"title"},this._enrichmentTargets,this._featureFlags)}initialArgs(e){return new st(this._renderingMode,e,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}withArgs(e){return new st(this._renderingMode,e,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}withUiState(e){return new st(this._renderingMode,this._initialArgs,e,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}withFeatureFlags(e){return new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,{...this._featureFlags,...e})}enriches(e){return _a("enrichmentTargets",e),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,{__renderLambda:!0,handle:"enrichmentTargets"},this._featureFlags)}done(e){const t=e??1;return this.withFeatureFlags({...this._featureFlags,requiresUIAPIVersion:t})._done(t)}_done(e){if(this._initialArgs===void 0)throw new Error("Initial arguments not set.");const t={v3:{sdkVersion:ad,renderingMode:this._renderingMode,initialArgs:this._initialArgs,initialUiState:this._initialUiState,inputsValid:this._inputsValid,sections:this._sections,title:this._title,outputs:this._outputs,enrichmentTargets:this._enrichmentTargets,featureFlags:this._featureFlags},sdkVersion:ad,renderingMode:this._renderingMode,initialArgs:this._initialArgs,inputsValid:sp(this._inputsValid),sections:sp(this._sections),outputs:Object.fromEntries(Object.entries(this._outputs).map(([i,o])=>[i,sp(o)]))};return globalThis.platformaApiVersion=e,i5()?CQ({sdkVersion:ad,apiVersion:platformaApiVersion}):{config:t}}};PA(st,"INITIAL_BLOCK_FEATURE_FLAGS",{supportsLazyState:!0,requiresUIAPIVersion:1,requiresModelAPIVersion:1});let vC=st;function gm(A){return A.axesSpec.length===1&&A.name===oB.Label}function wR(A){return!!iB(A,ee.IsLinkerColumn)}function mR({selection:A,columnId:e=XP(),label:t="Selection marker",domain:i}){if(!(A!=null&&A.axesSpec.length))return;const o=A.selectedKeys.filter(r=>r.every(s=>!SP(s))).map(r=>({key:r,val:1}));if(o.length)return{id:e,spec:{kind:"PColumn",valueType:Ci.Int,name:oB.Table.RowSelection,axesSpec:A.axesSpec,...i&&Object.keys(i).length&&{domain:i},annotations:{[ee.Label]:t,[ee.DiscreteValues]:mP([1])}},data:o}}function ER(){return platformaApiVersion??1}function Er(){return CQ({sdkVersion:ad,apiVersion:platformaApiVersion})}var Mc={exports:{}},cm;function vR(){return cm||(cm=1,function(A,e){e=A.exports=t,e.getSerialize=i;function t(o,r,s,n){return JSON.stringify(o,i(r,n),s)}function i(o,r){var s=[],n=[];return r==null&&(r=function(a,l){return s[0]===l?"[Circular ~]":"[Circular ~."+n.slice(0,s.indexOf(l)).join(".")+"]"}),function(a,l){if(s.length>0){var g=s.indexOf(this);~g?s.splice(g+1):s.push(this),~g?n.splice(g,1/0,a):n.push(a),~s.indexOf(l)&&(l=r.call(this,a,l))}else s.push(l);return o==null?l:o.call(this,a,l)}}}(Mc,Mc.exports)),Mc.exports}vR();const IR=q.object({type:q.literal("PlError"),name:q.string(),message:q.string(),fullMessage:q.string().optional(),stack:q.string().optional()}),QR=IR.extend({cause:q.lazy(()=>jd).optional(),errors:q.lazy(()=>jd.array()).optional()}),DR=q.object({type:q.literal("StandardError"),name:q.string(),message:q.string(),stack:q.string().optional()}),bR=DR.extend({cause:q.lazy(()=>jd).optional(),errors:q.lazy(()=>jd.array()).optional()}),jd=q.union([bR,QR]),xR=q.object({name:q.string(),message:q.string(),fullMessage:q.string().optional(),stack:q.string().optional()}),dm=xR.extend({cause:q.lazy(()=>dm).optional(),errors:q.lazy(()=>dm.array()).optional()});function MR(A){if(typeof globalThis.getEnvironmentValue=="function")return globalThis.getEnvironmentValue(A)}const hm=Array.isArray;function um(A){return A!==null&&typeof A=="object"}function FR(A){return typeof A=="object"&&A!==null}function IC(A){if(!FR(A))return!1;const e=Object.getPrototypeOf(A);return e===null||e===Object.prototype||Object.getPrototypeOf(e)===null}function pm(A){return Object.values(A).reduce((e,t)=>t!==void 0?e+1:e,0)}function kt(A,e){if(!(um(A)&&um(e)))return A===e;if(hm(A)&&hm(e))return A.length!==e.length?!1:[...A.keys()].every(t=>kt(A[t],e[t]));if(IC(A)&&IC(e))return pm(A)!==pm(e)?!1:Object.keys(A).every(t=>kt(A[t],e[t]));throw Error(`Cannot compare a ${String(A)} and b ${String(e)}`)}function nt(A){if(Array.isArray(A)){const e=[];for(let t=0;t<A.length;t++)e[t]=nt(A[t]);return e}else if(IC(A)){const e={};return Object.keys(A).forEach(t=>{e[t]=nt(A[t])}),e}else return A}var yR=Object.defineProperty,SR=(A,e,t)=>e in A?yR(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,QC=(A,e,t)=>SR(A,typeof e!="symbol"?e+"":e,t);let PR=class extends Error{constructor(){super(...arguments),QC(this,"name","UnresolvedError")}};const RR=A=>Array.isArray(A)?A:A?[A]:[];let lB=class extends Error{constructor(e){e=RR(e),super(e.map(t=>typeof t=="string"?t:t.message).join(`
|
|
17
|
+
**/let dC;const xw=typeof window<"u"&&window.trustedTypes;if(xw)try{dC=xw.createPolicy("vue",{createHTML:A=>A})}catch{}const dQ=dC?A=>dC.createHTML(A):A=>A,hS="http://www.w3.org/2000/svg",uS="http://www.w3.org/1998/Math/MathML",gr=typeof document<"u"?document:null,Mw=gr&&gr.createElement("template"),pS={insert:(A,e,t)=>{e.insertBefore(A,t||null)},remove:A=>{const e=A.parentNode;e&&e.removeChild(A)},createElement:(A,e,t,i)=>{const o=e==="svg"?gr.createElementNS(hS,A):e==="mathml"?gr.createElementNS(uS,A):t?gr.createElement(A,{is:t}):gr.createElement(A);return A==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:A=>gr.createTextNode(A),createComment:A=>gr.createComment(A),setText:(A,e)=>{A.nodeValue=e},setElementText:(A,e)=>{A.textContent=e},parentNode:A=>A.parentNode,nextSibling:A=>A.nextSibling,querySelector:A=>gr.querySelector(A),setScopeId(A,e){A.setAttribute(e,"")},insertStaticContent(A,e,t,i,o,r){const s=t?t.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),t),!(o===r||!(o=o.nextSibling)););else{Mw.innerHTML=dQ(i==="svg"?`<svg>${A}</svg>`:i==="mathml"?`<math>${A}</math>`:A);const n=Mw.content;if(i==="svg"||i==="mathml"){const a=n.firstChild;for(;a.firstChild;)n.appendChild(a.firstChild);n.removeChild(a)}e.insertBefore(n,t)}return[s?s.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},Lr="transition",Za="animation",ig=Symbol("_vtc"),hQ={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},CS=Ze({},DI,hQ),fS=A=>(A.displayName="Transition",A.props=CS,A),$f=fS((A,{slots:e})=>cS(uy,BS(A),e)),ks=(A,e=[])=>{SA(A)?A.forEach(t=>t(...e)):A&&A(...e)},Fw=A=>A?SA(A)?A.some(e=>e.length>1):A.length>1:!1;function BS(A){const e={};for(const F in A)F in hQ||(e[F]=A[F]);if(A.css===!1)return e;const{name:t="v",type:i,duration:o,enterFromClass:r=`${t}-enter-from`,enterActiveClass:s=`${t}-enter-active`,enterToClass:n=`${t}-enter-to`,appearFromClass:a=r,appearActiveClass:l=s,appearToClass:g=n,leaveFromClass:c=`${t}-leave-from`,leaveActiveClass:d=`${t}-leave-active`,leaveToClass:h=`${t}-leave-to`}=A,u=wS(o),p=u&&u[0],C=u&&u[1],{onBeforeEnter:f,onEnter:w,onEnterCancelled:B,onLeave:m,onLeaveCancelled:E,onBeforeAppear:v=f,onAppear:M=w,onAppearCancelled:D=B}=e,Q=(F,_,T,y)=>{F._enterCancelled=y,Gs(F,_?g:n),Gs(F,_?l:s),T&&T()},H=(F,_)=>{F._isLeaving=!1,Gs(F,c),Gs(F,h),Gs(F,d),_&&_()},G=F=>(_,T)=>{const y=F?M:w,U=()=>Q(_,F,T);ks(y,[_,U]),yw(()=>{Gs(_,F?a:r),sr(_,F?g:n),Fw(y)||Sw(_,i,p,U)})};return Ze(e,{onBeforeEnter(F){ks(f,[F]),sr(F,r),sr(F,s)},onBeforeAppear(F){ks(v,[F]),sr(F,a),sr(F,l)},onEnter:G(!1),onAppear:G(!0),onLeave(F,_){F._isLeaving=!0;const T=()=>H(F,_);sr(F,c),F._enterCancelled?(sr(F,d),Yw()):(Yw(),sr(F,d)),yw(()=>{F._isLeaving&&(Gs(F,c),sr(F,h),Fw(m)||Sw(F,i,C,T))}),ks(m,[F,T])},onEnterCancelled(F){Q(F,!1,void 0,!0),ks(B,[F])},onAppearCancelled(F){Q(F,!0,void 0,!0),ks(D,[F])},onLeaveCancelled(F){H(F),ks(E,[F])}})}function wS(A){if(A==null)return null;if(Ce(A))return[_u(A.enter),_u(A.leave)];{const e=_u(A);return[e,e]}}function _u(A){return v3(A)}function sr(A,e){e.split(/\s+/).forEach(t=>t&&A.classList.add(t)),(A[ig]||(A[ig]=new Set)).add(e)}function Gs(A,e){e.split(/\s+/).forEach(i=>i&&A.classList.remove(i));const t=A[ig];t&&(t.delete(e),t.size||(A[ig]=void 0))}function yw(A){requestAnimationFrame(()=>{requestAnimationFrame(A)})}let mS=0;function Sw(A,e,t,i){const o=A._endId=++mS,r=()=>{o===A._endId&&i()};if(t!=null)return setTimeout(r,t);const{type:s,timeout:n,propCount:a}=ES(A,e);if(!s)return i();const l=s+"end";let g=0;const c=()=>{A.removeEventListener(l,d),r()},d=h=>{h.target===A&&++g>=a&&c()};setTimeout(()=>{g<a&&c()},n+1),A.addEventListener(l,d)}function ES(A,e){const t=window.getComputedStyle(A),i=u=>(t[u]||"").split(", "),o=i(`${Lr}Delay`),r=i(`${Lr}Duration`),s=Pw(o,r),n=i(`${Za}Delay`),a=i(`${Za}Duration`),l=Pw(n,a);let g=null,c=0,d=0;e===Lr?s>0&&(g=Lr,c=s,d=r.length):e===Za?l>0&&(g=Za,c=l,d=a.length):(c=Math.max(s,l),g=c>0?s>l?Lr:Za:null,d=g?g===Lr?r.length:a.length:0);const h=g===Lr&&/\b(transform|all)(,|$)/.test(i(`${Lr}Property`).toString());return{type:g,timeout:c,propCount:d,hasTransform:h}}function Pw(A,e){for(;A.length<e.length;)A=A.concat(A);return Math.max(...e.map((t,i)=>Rw(t)+Rw(A[i])))}function Rw(A){return A==="auto"?0:Number(A.slice(0,-1).replace(",","."))*1e3}function Yw(){return document.body.offsetHeight}function vS(A,e,t){const i=A[ig];i&&(e=(e?[e,...i]:[...i]).join(" ")),e==null?A.removeAttribute("class"):t?A.setAttribute("class",e):A.className=e}const kw=Symbol("_vod"),IS=Symbol("_vsh"),uQ=Symbol("");function QS(A){const e=Xg();if(!e)return;const t=e.ut=(o=A(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>kd(r,o))},i=()=>{const o=A(e.proxy);e.ce?kd(e.ce,o):hC(e.subTree,o),t(o)};PI(()=>{fI(i)}),_o(()=>{ae(i,ro,{flush:"post"});const o=new MutationObserver(i);o.observe(e.subTree.el.parentNode,{childList:!0}),Wg(()=>o.disconnect())})}function hC(A,e){if(A.shapeFlag&128){const t=A.suspense;A=t.activeBranch,t.pendingBranch&&!t.isHydrating&&t.effects.push(()=>{hC(t.activeBranch,e)})}for(;A.component;)A=A.component.subTree;if(A.shapeFlag&1&&A.el)kd(A.el,e);else if(A.type===re)A.children.forEach(t=>hC(t,e));else if(A.type===id){let{el:t,anchor:i}=A;for(;t&&(kd(t,e),t!==i);)t=t.nextSibling}}function kd(A,e){if(A.nodeType===1){const t=A.style;let i="";for(const o in e)t.setProperty(`--${o}`,e[o]),i+=`--${o}: ${e[o]};`;t[uQ]=i}}const DS=/(^|;)\s*display\s*:/;function bS(A,e,t){const i=A.style,o=Pe(t);let r=!1;if(t&&!o){if(e)if(Pe(e))for(const s of e.split(";")){const n=s.slice(0,s.indexOf(":")).trim();t[n]==null&&rd(i,n,"")}else for(const s in e)t[s]==null&&rd(i,s,"");for(const s in t)s==="display"&&(r=!0),rd(i,s,t[s])}else if(o){if(e!==t){const s=i[uQ];s&&(t+=";"+s),i.cssText=t,r=DS.test(t)}}else e&&A.removeAttribute("style");kw in A&&(A[kw]=r?i.display:"",A[IS]&&(i.display="none"))}const Gw=/\s*!important$/;function rd(A,e,t){if(SA(t))t.forEach(i=>rd(A,e,i));else if(t==null&&(t=""),e.startsWith("--"))A.setProperty(e,t);else{const i=xS(A,e);Gw.test(t)?A.setProperty(Pr(i),t.replace(Gw,""),"important"):A[i]=t}}const Tw=["Webkit","Moz","ms"],$u={};function xS(A,e){const t=$u[e];if(t)return t;let i=Di(e);if(i!=="filter"&&i in A)return $u[e]=i;i=Ph(i);for(let o=0;o<Tw.length;o++){const r=Tw[o]+i;if(r in A)return $u[e]=r}return e}const Lw="http://www.w3.org/1999/xlink";function Uw(A,e,t,i,o,r=F3(e)){i&&e.startsWith("xlink:")?t==null?A.removeAttributeNS(Lw,e.slice(6,e.length)):A.setAttributeNS(Lw,e,t):t==null||r&&!Vv(t)?A.removeAttribute(e):A.setAttribute(e,r?"":ho(t)?String(t):t)}function Hw(A,e,t,i,o){if(e==="innerHTML"||e==="textContent"){t!=null&&(A[e]=e==="innerHTML"?dQ(t):t);return}const r=A.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const n=r==="OPTION"?A.getAttribute("value")||"":A.value,a=t==null?A.type==="checkbox"?"on":"":String(t);(n!==a||!("_value"in A))&&(A.value=a),t==null&&A.removeAttribute(e),A._value=t;return}let s=!1;if(t===""||t==null){const n=typeof A[e];n==="boolean"?t=Vv(t):t==null&&n==="string"?(t="",s=!0):n==="number"&&(t=0,s=!0)}try{A[e]=t}catch{}s&&A.removeAttribute(o||e)}function fr(A,e,t,i){A.addEventListener(e,t,i)}function MS(A,e,t,i){A.removeEventListener(e,t,i)}const Nw=Symbol("_vei");function FS(A,e,t,i,o=null){const r=A[Nw]||(A[Nw]={}),s=r[e];if(i&&s)s.value=i;else{const[n,a]=yS(e);if(i){const l=r[e]=RS(i,o);fr(A,n,l,a)}else s&&(MS(A,n,s,a),r[e]=void 0)}}const zw=/(?:Once|Passive|Capture)$/;function yS(A){let e;if(zw.test(A)){e={};let i;for(;i=A.match(zw);)A=A.slice(0,A.length-i[0].length),e[i[0].toLowerCase()]=!0}return[A[2]===":"?A.slice(3):Pr(A.slice(2)),e]}let Ap=0;const SS=Promise.resolve(),PS=()=>Ap||(SS.then(()=>Ap=0),Ap=Date.now());function RS(A,e){const t=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=t.attached)return;uo(YS(i,t.value),e,5,[i])};return t.value=A,t.attached=PS(),t}function YS(A,e){if(SA(e)){const t=A.stopImmediatePropagation;return A.stopImmediatePropagation=()=>{t.call(A),A._stopped=!0},e.map(i=>o=>!o._stopped&&i&&i(o))}else return e}const Ow=A=>A.charCodeAt(0)===111&&A.charCodeAt(1)===110&&A.charCodeAt(2)>96&&A.charCodeAt(2)<123,kS=(A,e,t,i,o,r)=>{const s=o==="svg";e==="class"?vS(A,i,s):e==="style"?bS(A,t,i):yh(e)?Lf(e)||FS(A,e,t,i,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):GS(A,e,i,s))?(Hw(A,e,i),!A.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Uw(A,e,i,s,r,e!=="value")):A._isVueCE&&(/[A-Z]/.test(e)||!Pe(i))?Hw(A,Di(e),i,r,e):(e==="true-value"?A._trueValue=i:e==="false-value"&&(A._falseValue=i),Uw(A,e,i,s))};function GS(A,e,t,i){if(i)return!!(e==="innerHTML"||e==="textContent"||e in A&&Ow(e)&&jA(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&A.tagName==="INPUT"||e==="type"&&A.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=A.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ow(e)&&Pe(t)?!1:e in A}const Bs=A=>{const e=A.props["onUpdate:modelValue"]||!1;return SA(e)?t=>ed(e,t):e};function TS(A){A.target.composing=!0}function Vw(A){const e=A.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Li=Symbol("_assign"),og={created(A,{modifiers:{lazy:e,trim:t,number:i}},o){A[Li]=Bs(o);const r=i||o.props&&o.props.type==="number";fr(A,e?"change":"input",s=>{if(s.target.composing)return;let n=A.value;t&&(n=n.trim()),r&&(n=bd(n)),A[Li](n)}),t&&fr(A,"change",()=>{A.value=A.value.trim()}),e||(fr(A,"compositionstart",TS),fr(A,"compositionend",Vw),fr(A,"change",Vw))},mounted(A,{value:e}){A.value=e??""},beforeUpdate(A,{value:e,oldValue:t,modifiers:{lazy:i,trim:o,number:r}},s){if(A[Li]=Bs(s),A.composing)return;const n=(r||A.type==="number")&&!/^0\d/.test(A.value)?bd(A.value):A.value,a=e??"";n!==a&&(document.activeElement===A&&A.type!=="range"&&(i&&e===t||o&&A.value.trim()===a)||(A.value=a))}},LS={deep:!0,created(A,e,t){A[Li]=Bs(t),fr(A,"change",()=>{const i=A._modelValue,o=Ia(A),r=A.checked,s=A[Li];if(SA(i)){const n=Nf(i,o),a=n!==-1;if(r&&!a)s(i.concat(o));else if(!r&&a){const l=[...i];l.splice(n,1),s(l)}}else if(Ga(i)){const n=new Set(i);r?n.add(o):n.delete(o),s(n)}else s(pQ(A,r))})},mounted:jw,beforeUpdate(A,e,t){A[Li]=Bs(t),jw(A,e,t)}};function jw(A,{value:e,oldValue:t},i){A._modelValue=e;let o;if(SA(e))o=Nf(e,i.props.value)>-1;else if(Ga(e))o=e.has(i.props.value);else{if(e===t)return;o=cn(e,pQ(A,!0))}A.checked!==o&&(A.checked=o)}const US={created(A,{value:e},t){A.checked=cn(e,t.props.value),A[Li]=Bs(t),fr(A,"change",()=>{A[Li](Ia(A))})},beforeUpdate(A,{value:e,oldValue:t},i){A[Li]=Bs(i),e!==t&&(A.checked=cn(e,i.props.value))}},HS={deep:!0,created(A,{value:e,modifiers:{number:t}},i){const o=Ga(e);fr(A,"change",()=>{const r=Array.prototype.filter.call(A.options,s=>s.selected).map(s=>t?bd(Ia(s)):Ia(s));A[Li](A.multiple?o?new Set(r):r:r[0]),A._assigning=!0,Uh(()=>{A._assigning=!1})}),A[Li]=Bs(i)},mounted(A,{value:e}){Jw(A,e)},beforeUpdate(A,e,t){A[Li]=Bs(t)},updated(A,{value:e}){A._assigning||Jw(A,e)}};function Jw(A,e){const t=A.multiple,i=SA(e);if(!(t&&!i&&!Ga(e))){for(let o=0,r=A.options.length;o<r;o++){const s=A.options[o],n=Ia(s);if(t)if(i){const a=typeof n;a==="string"||a==="number"?s.selected=e.some(l=>String(l)===String(n)):s.selected=Nf(e,n)>-1}else s.selected=e.has(n);else if(cn(Ia(s),e)){A.selectedIndex!==o&&(A.selectedIndex=o);return}}!t&&A.selectedIndex!==-1&&(A.selectedIndex=-1)}}function Ia(A){return"_value"in A?A._value:A.value}function pQ(A,e){const t=e?"_trueValue":"_falseValue";return t in A?A[t]:e}const NS={created(A,e,t){bc(A,e,t,null,"created")},mounted(A,e,t){bc(A,e,t,null,"mounted")},beforeUpdate(A,e,t,i){bc(A,e,t,i,"beforeUpdate")},updated(A,e,t,i){bc(A,e,t,i,"updated")}};function zS(A,e){switch(A){case"SELECT":return HS;case"TEXTAREA":return og;default:switch(e){case"checkbox":return LS;case"radio":return US;default:return og}}}function bc(A,e,t,i,o){const s=zS(A.tagName,t.props&&t.props.type)[o];s&&s(A,e,t,i)}const OS=["ctrl","shift","alt","meta"],VS={stop:A=>A.stopPropagation(),prevent:A=>A.preventDefault(),self:A=>A.target!==A.currentTarget,ctrl:A=>!A.ctrlKey,shift:A=>!A.shiftKey,alt:A=>!A.altKey,meta:A=>!A.metaKey,left:A=>"button"in A&&A.button!==0,middle:A=>"button"in A&&A.button!==1,right:A=>"button"in A&&A.button!==2,exact:(A,e)=>OS.some(t=>A[`${t}Key`]&&!e.includes(t))},we=(A,e)=>{const t=A._withMods||(A._withMods={}),i=e.join(".");return t[i]||(t[i]=(o,...r)=>{for(let s=0;s<e.length;s++){const n=VS[e[s]];if(n&&n(o,e))return}return A(o,...r)})},jS={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Qa=(A,e)=>{const t=A._withKeys||(A._withKeys={}),i=e.join(".");return t[i]||(t[i]=o=>{if(!("key"in o))return;const r=Pr(o.key);if(e.some(s=>s===r||jS[s]===r))return A(o)})},JS=Ze({patchProp:kS},pS);let Ww;function WS(){return Ww||(Ww=Hy(JS))}const KS=(...A)=>{const e=WS().createApp(...A),{mount:t}=e;return e.mount=i=>{const o=qS(i);if(!o)return;const r=e._component;!jA(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=t(o,!1,XS(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e};function XS(A){if(A instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&A instanceof MathMLElement)return"mathml"}function qS(A){return Pe(A)?document.querySelector(A):A}var ZS=Object.defineProperty,_S=(A,e,t)=>e in A?ZS(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,$S=(A,e,t)=>_S(A,e+"",t);function A5(A,e){if(A==null)throw Error(e);return A}function fl(A){return new Promise(e=>setTimeout(e,A))}function e5(A,e){return e(A)}let t5=class{constructor(){$S(this,"promises",new Map)}fetch(e,t){if(this.promises.has(e))return this.promises.get(e);const i=t().finally(()=>{this.promises.delete(e)});return this.promises.set(e,i),i}};function ep(A){return{type:"Immediate",value:A}}function i5(){return typeof globalThis.getPlatforma<"u"||typeof globalThis.platforma<"u"}function CQ(A){if(A&&typeof globalThis.getPlatforma=="function")return globalThis.getPlatforma(A);if(typeof globalThis.platforma<"u")return globalThis.platforma;throw new Error("Can't get platforma instance.")}function o5(){if(typeof globalThis.cfgRenderCtx<"u")return globalThis.cfgRenderCtx}function ce(){if(typeof globalThis.cfgRenderCtx<"u")return globalThis.cfgRenderCtx;throw new Error("Not in config rendering context")}function _a(A,e){const t=o5();if(t===void 0)return!1;if(A in t.callbackRegistry)throw new Error(`Callback with key ${A} already registered.`);return t.callbackRegistry[A]=e,!0}const tp=new Map;function r5(A,e){A in ce().callbackRegistry||(ce().callbackRegistry[A]=t=>{for(const i of tp.get(A))i(t)},tp.set(A,[])),tp.get(A).push(e)}var ie;(function(A){A.assertEqual=o=>o;function e(o){}A.assertIs=e;function t(o){throw new Error}A.assertNever=t,A.arrayToEnum=o=>{const r={};for(const s of o)r[s]=s;return r},A.getValidEnumValues=o=>{const r=A.objectKeys(o).filter(n=>typeof o[o[n]]!="number"),s={};for(const n of r)s[n]=o[n];return A.objectValues(s)},A.objectValues=o=>A.objectKeys(o).map(function(r){return o[r]}),A.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const r=[];for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&r.push(s);return r},A.find=(o,r)=>{for(const s of o)if(r(s))return s},A.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function i(o,r=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(r)}A.joinValues=i,A.jsonStringifyReplacer=(o,r)=>typeof r=="bigint"?r.toString():r})(ie||(ie={}));var uC;(function(A){A.mergeShapes=(e,t)=>({...e,...t})})(uC||(uC={}));const EA=ie.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),is=A=>{switch(typeof A){case"undefined":return EA.undefined;case"string":return EA.string;case"number":return isNaN(A)?EA.nan:EA.number;case"boolean":return EA.boolean;case"function":return EA.function;case"bigint":return EA.bigint;case"symbol":return EA.symbol;case"object":return Array.isArray(A)?EA.array:A===null?EA.null:A.then&&typeof A.then=="function"&&A.catch&&typeof A.catch=="function"?EA.promise:typeof Map<"u"&&A instanceof Map?EA.map:typeof Set<"u"&&A instanceof Set?EA.set:typeof Date<"u"&&A instanceof Date?EA.date:EA.object;default:return EA.unknown}},oA=ie.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),s5=A=>JSON.stringify(A,null,2).replace(/"([^"]+)":/g,"$1:");class vi extends Error{constructor(e){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(r){return r.message},i={_errors:[]},o=r=>{for(const s of r.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)i._errors.push(t(s));else{let n=i,a=0;for(;a<s.path.length;){const l=s.path[a];a===s.path.length-1?(n[l]=n[l]||{_errors:[]},n[l]._errors.push(t(s))):n[l]=n[l]||{_errors:[]},n=n[l],a++}}};return o(this),i}static assert(e){if(!(e instanceof vi))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,ie.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},i=[];for(const o of this.issues)o.path.length>0?(t[o.path[0]]=t[o.path[0]]||[],t[o.path[0]].push(e(o))):i.push(e(o));return{formErrors:i,fieldErrors:t}}get formErrors(){return this.flatten()}}vi.create=A=>new vi(A);const Da=(A,e)=>{let t;switch(A.code){case oA.invalid_type:A.received===EA.undefined?t="Required":t=`Expected ${A.expected}, received ${A.received}`;break;case oA.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(A.expected,ie.jsonStringifyReplacer)}`;break;case oA.unrecognized_keys:t=`Unrecognized key(s) in object: ${ie.joinValues(A.keys,", ")}`;break;case oA.invalid_union:t="Invalid input";break;case oA.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${ie.joinValues(A.options)}`;break;case oA.invalid_enum_value:t=`Invalid enum value. Expected ${ie.joinValues(A.options)}, received '${A.received}'`;break;case oA.invalid_arguments:t="Invalid function arguments";break;case oA.invalid_return_type:t="Invalid function return type";break;case oA.invalid_date:t="Invalid date";break;case oA.invalid_string:typeof A.validation=="object"?"includes"in A.validation?(t=`Invalid input: must include "${A.validation.includes}"`,typeof A.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${A.validation.position}`)):"startsWith"in A.validation?t=`Invalid input: must start with "${A.validation.startsWith}"`:"endsWith"in A.validation?t=`Invalid input: must end with "${A.validation.endsWith}"`:ie.assertNever(A.validation):A.validation!=="regex"?t=`Invalid ${A.validation}`:t="Invalid";break;case oA.too_small:A.type==="array"?t=`Array must contain ${A.exact?"exactly":A.inclusive?"at least":"more than"} ${A.minimum} element(s)`:A.type==="string"?t=`String must contain ${A.exact?"exactly":A.inclusive?"at least":"over"} ${A.minimum} character(s)`:A.type==="number"?t=`Number must be ${A.exact?"exactly equal to ":A.inclusive?"greater than or equal to ":"greater than "}${A.minimum}`:A.type==="date"?t=`Date must be ${A.exact?"exactly equal to ":A.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(A.minimum))}`:t="Invalid input";break;case oA.too_big:A.type==="array"?t=`Array must contain ${A.exact?"exactly":A.inclusive?"at most":"less than"} ${A.maximum} element(s)`:A.type==="string"?t=`String must contain ${A.exact?"exactly":A.inclusive?"at most":"under"} ${A.maximum} character(s)`:A.type==="number"?t=`Number must be ${A.exact?"exactly":A.inclusive?"less than or equal to":"less than"} ${A.maximum}`:A.type==="bigint"?t=`BigInt must be ${A.exact?"exactly":A.inclusive?"less than or equal to":"less than"} ${A.maximum}`:A.type==="date"?t=`Date must be ${A.exact?"exactly":A.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(A.maximum))}`:t="Invalid input";break;case oA.custom:t="Invalid input";break;case oA.invalid_intersection_types:t="Intersection results could not be merged";break;case oA.not_multiple_of:t=`Number must be a multiple of ${A.multipleOf}`;break;case oA.not_finite:t="Number must be finite";break;default:t=e.defaultError,ie.assertNever(A)}return{message:t}};let fQ=Da;function n5(A){fQ=A}function Gd(){return fQ}const Td=A=>{const{data:e,path:t,errorMaps:i,issueData:o}=A,r=[...t,...o.path||[]],s={...o,path:r};if(o.message!==void 0)return{...o,path:r,message:o.message};let n="";const a=i.filter(l=>!!l).slice().reverse();for(const l of a)n=l(s,{data:e,defaultError:n}).message;return{...o,path:r,message:n}},a5=[];function wA(A,e){const t=Gd(),i=Td({issueData:e,data:A.data,path:A.path,errorMaps:[A.common.contextualErrorMap,A.schemaErrorMap,t,t===Da?void 0:Da].filter(o=>!!o)});A.common.issues.push(i)}class It{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const i=[];for(const o of t){if(o.status==="aborted")return zA;o.status==="dirty"&&e.dirty(),i.push(o.value)}return{status:e.value,value:i}}static async mergeObjectAsync(e,t){const i=[];for(const o of t){const r=await o.key,s=await o.value;i.push({key:r,value:s})}return It.mergeObjectSync(e,i)}static mergeObjectSync(e,t){const i={};for(const o of t){const{key:r,value:s}=o;if(r.status==="aborted"||s.status==="aborted")return zA;r.status==="dirty"&&e.dirty(),s.status==="dirty"&&e.dirty(),r.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(i[r.value]=s.value)}return{status:e.value,value:i}}}const zA=Object.freeze({status:"aborted"}),Wn=A=>({status:"dirty",value:A}),Ot=A=>({status:"valid",value:A}),pC=A=>A.status==="aborted",CC=A=>A.status==="dirty",rg=A=>A.status==="valid",sg=A=>typeof Promise<"u"&&A instanceof Promise;function Ld(A,e,t,i){if(typeof e=="function"?A!==e||!0:!e.has(A))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e.get(A)}function BQ(A,e,t,i,o){if(typeof e=="function"?A!==e||!0:!e.has(A))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(A,t),t}var yA;(function(A){A.errToObj=e=>typeof e=="string"?{message:e}:e||{},A.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(yA||(yA={}));var Bl,wl;class Oo{constructor(e,t,i,o){this._cachedPath=[],this.parent=e,this.data=t,this._path=i,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Kw=(A,e)=>{if(rg(e))return{success:!0,data:e.value};if(!A.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new vi(A.common.issues);return this._error=t,this._error}}};function ZA(A){if(!A)return{};const{errorMap:e,invalid_type_error:t,required_error:i,description:o}=A;if(e&&(t||i))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(s,n)=>{var a,l;const{message:g}=A;return s.code==="invalid_enum_value"?{message:g??n.defaultError}:typeof n.data>"u"?{message:(a=g??i)!==null&&a!==void 0?a:n.defaultError}:s.code!=="invalid_type"?{message:n.defaultError}:{message:(l=g??t)!==null&&l!==void 0?l:n.defaultError}},description:o}}class _A{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return is(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:is(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new It,ctx:{common:e.parent.common,data:e.data,parsedType:is(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(sg(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const i=this.safeParse(e,t);if(i.success)return i.data;throw i.error}safeParse(e,t){var i;const o={common:{issues:[],async:(i=t==null?void 0:t.async)!==null&&i!==void 0?i:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:is(e)},r=this._parseSync({data:e,path:o.path,parent:o});return Kw(o,r)}async parseAsync(e,t){const i=await this.safeParseAsync(e,t);if(i.success)return i.data;throw i.error}async safeParseAsync(e,t){const i={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:is(e)},o=this._parse({data:e,path:i.path,parent:i}),r=await(sg(o)?o:Promise.resolve(o));return Kw(i,r)}refine(e,t){const i=o=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(o):t;return this._refinement((o,r)=>{const s=e(o),n=()=>r.addIssue({code:oA.custom,...i(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(a=>a?!0:(n(),!1)):s?!0:(n(),!1)})}refinement(e,t){return this._refinement((i,o)=>e(i)?!0:(o.addIssue(typeof t=="function"?t(i,o):t),!1))}_refinement(e){return new po({schema:this,typeName:NA.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return To.create(this,this._def)}nullable(){return vs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return no.create(this,this._def)}promise(){return xa.create(this,this._def)}or(e){return gg.create([this,e],this._def)}and(e){return cg.create(this,e,this._def)}transform(e){return new po({...ZA(this._def),schema:this,typeName:NA.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new Cg({...ZA(this._def),innerType:this,defaultValue:t,typeName:NA.ZodDefault})}brand(){return new AB({typeName:NA.ZodBranded,type:this,...ZA(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new fg({...ZA(this._def),innerType:this,catchValue:t,typeName:NA.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Zg.create(this,e)}readonly(){return Bg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const l5=/^c[^\s-]{8,}$/i,g5=/^[0-9a-z]+$/,c5=/^[0-9A-HJKMNP-TV-Z]{26}$/,d5=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,h5=/^[a-z0-9_-]{21}$/i,u5=/^[-+]?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)?)??$/,p5=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,C5="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ip;const f5=/^(?:(?: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])$/,B5=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,w5=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,wQ="((\\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])))",m5=new RegExp(`^${wQ}$`);function mQ(A){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return A.precision?e=`${e}\\.\\d{${A.precision}}`:A.precision==null&&(e=`${e}(\\.\\d+)?`),e}function E5(A){return new RegExp(`^${mQ(A)}$`)}function EQ(A){let e=`${wQ}T${mQ(A)}`;const t=[];return t.push(A.local?"Z?":"Z"),A.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function v5(A,e){return!!((e==="v4"||!e)&&f5.test(A)||(e==="v6"||!e)&&B5.test(A))}class oo extends _A{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==EA.string){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.string,received:r.parsedType}),zA}const i=new It;let o;for(const r of this._def.checks)if(r.kind==="min")e.data.length<r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),i.dirty());else if(r.kind==="max")e.data.length>r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),i.dirty());else if(r.kind==="length"){const s=e.data.length>r.value,n=e.data.length<r.value;(s||n)&&(o=this._getOrReturnCtx(e,o),s?wA(o,{code:oA.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):n&&wA(o,{code:oA.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),i.dirty())}else if(r.kind==="email")p5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"email",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="emoji")ip||(ip=new RegExp(C5,"u")),ip.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"emoji",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="uuid")d5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"uuid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="nanoid")h5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"nanoid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="cuid")l5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"cuid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="cuid2")g5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"cuid2",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="ulid")c5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"ulid",code:oA.invalid_string,message:r.message}),i.dirty());else if(r.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),wA(o,{validation:"url",code:oA.invalid_string,message:r.message}),i.dirty()}else r.kind==="regex"?(r.regex.lastIndex=0,r.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"regex",code:oA.invalid_string,message:r.message}),i.dirty())):r.kind==="trim"?e.data=e.data.trim():r.kind==="includes"?e.data.includes(r.value,r.position)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),i.dirty()):r.kind==="toLowerCase"?e.data=e.data.toLowerCase():r.kind==="toUpperCase"?e.data=e.data.toUpperCase():r.kind==="startsWith"?e.data.startsWith(r.value)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:{startsWith:r.value},message:r.message}),i.dirty()):r.kind==="endsWith"?e.data.endsWith(r.value)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:{endsWith:r.value},message:r.message}),i.dirty()):r.kind==="datetime"?EQ(r).test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:"datetime",message:r.message}),i.dirty()):r.kind==="date"?m5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:"date",message:r.message}),i.dirty()):r.kind==="time"?E5(r).test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.invalid_string,validation:"time",message:r.message}),i.dirty()):r.kind==="duration"?u5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"duration",code:oA.invalid_string,message:r.message}),i.dirty()):r.kind==="ip"?v5(e.data,r.version)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"ip",code:oA.invalid_string,message:r.message}),i.dirty()):r.kind==="base64"?w5.test(e.data)||(o=this._getOrReturnCtx(e,o),wA(o,{validation:"base64",code:oA.invalid_string,message:r.message}),i.dirty()):ie.assertNever(r);return{status:i.value,value:e.data}}_regex(e,t,i){return this.refinement(o=>e.test(o),{validation:t,code:oA.invalid_string,...yA.errToObj(i)})}_addCheck(e){return new oo({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...yA.errToObj(e)})}url(e){return this._addCheck({kind:"url",...yA.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...yA.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...yA.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...yA.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...yA.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...yA.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...yA.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...yA.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...yA.errToObj(e)})}datetime(e){var t,i;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(t=e==null?void 0:e.offset)!==null&&t!==void 0?t:!1,local:(i=e==null?void 0:e.local)!==null&&i!==void 0?i:!1,...yA.errToObj(e==null?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,...yA.errToObj(e==null?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...yA.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...yA.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...yA.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...yA.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...yA.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...yA.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...yA.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...yA.errToObj(t)})}nonempty(e){return this.min(1,yA.errToObj(e))}trim(){return new oo({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new oo({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new oo({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get minLength(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}oo.create=A=>{var e;return new oo({checks:[],typeName:NA.ZodString,coerce:(e=A==null?void 0:A.coerce)!==null&&e!==void 0?e:!1,...ZA(A)})};function I5(A,e){const t=(A.toString().split(".")[1]||"").length,i=(e.toString().split(".")[1]||"").length,o=t>i?t:i,r=parseInt(A.toFixed(o).replace(".","")),s=parseInt(e.toFixed(o).replace(".",""));return r%s/Math.pow(10,o)}class ws extends _A{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==EA.number){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.number,received:r.parsedType}),zA}let i;const o=new It;for(const r of this._def.checks)r.kind==="int"?ie.isInteger(e.data)||(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.invalid_type,expected:"integer",received:"float",message:r.message}),o.dirty()):r.kind==="min"?(r.inclusive?e.data<r.value:e.data<=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),o.dirty()):r.kind==="max"?(r.inclusive?e.data>r.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),o.dirty()):r.kind==="multipleOf"?I5(e.data,r.value)!==0&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.not_multiple_of,multipleOf:r.value,message:r.message}),o.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.not_finite,message:r.message}),o.dirty()):ie.assertNever(r);return{status:o.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,yA.toString(t))}gt(e,t){return this.setLimit("min",e,!1,yA.toString(t))}lte(e,t){return this.setLimit("max",e,!0,yA.toString(t))}lt(e,t){return this.setLimit("max",e,!1,yA.toString(t))}setLimit(e,t,i,o){return new ws({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:i,message:yA.toString(o)}]})}_addCheck(e){return new ws({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:yA.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:yA.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:yA.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:yA.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:yA.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:yA.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:yA.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:yA.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:yA.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&ie.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(t===null||i.value>t)&&(t=i.value):i.kind==="max"&&(e===null||i.value<e)&&(e=i.value)}return Number.isFinite(t)&&Number.isFinite(e)}}ws.create=A=>new ws({checks:[],typeName:NA.ZodNumber,coerce:(A==null?void 0:A.coerce)||!1,...ZA(A)});class ms extends _A{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==EA.bigint){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.bigint,received:r.parsedType}),zA}let i;const o=new It;for(const r of this._def.checks)r.kind==="min"?(r.inclusive?e.data<r.value:e.data<=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),o.dirty()):r.kind==="max"?(r.inclusive?e.data>r.value:e.data>=r.value)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),o.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(i=this._getOrReturnCtx(e,i),wA(i,{code:oA.not_multiple_of,multipleOf:r.value,message:r.message}),o.dirty()):ie.assertNever(r);return{status:o.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,yA.toString(t))}gt(e,t){return this.setLimit("min",e,!1,yA.toString(t))}lte(e,t){return this.setLimit("max",e,!0,yA.toString(t))}lt(e,t){return this.setLimit("max",e,!1,yA.toString(t))}setLimit(e,t,i,o){return new ms({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:i,message:yA.toString(o)}]})}_addCheck(e){return new ms({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:yA.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:yA.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:yA.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:yA.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:yA.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}ms.create=A=>{var e;return new ms({checks:[],typeName:NA.ZodBigInt,coerce:(e=A==null?void 0:A.coerce)!==null&&e!==void 0?e:!1,...ZA(A)})};class ng extends _A{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==EA.boolean){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.boolean,received:i.parsedType}),zA}return Ot(e.data)}}ng.create=A=>new ng({typeName:NA.ZodBoolean,coerce:(A==null?void 0:A.coerce)||!1,...ZA(A)});class un extends _A{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==EA.date){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_type,expected:EA.date,received:r.parsedType}),zA}if(isNaN(e.data.getTime())){const r=this._getOrReturnCtx(e);return wA(r,{code:oA.invalid_date}),zA}const i=new It;let o;for(const r of this._def.checks)r.kind==="min"?e.data.getTime()<r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),i.dirty()):r.kind==="max"?e.data.getTime()>r.value&&(o=this._getOrReturnCtx(e,o),wA(o,{code:oA.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),i.dirty()):ie.assertNever(r);return{status:i.value,value:new Date(e.data.getTime())}}_addCheck(e){return new un({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:yA.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:yA.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}}un.create=A=>new un({checks:[],coerce:(A==null?void 0:A.coerce)||!1,typeName:NA.ZodDate,...ZA(A)});class Ud extends _A{_parse(e){if(this._getType(e)!==EA.symbol){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.symbol,received:i.parsedType}),zA}return Ot(e.data)}}Ud.create=A=>new Ud({typeName:NA.ZodSymbol,...ZA(A)});class ag extends _A{_parse(e){if(this._getType(e)!==EA.undefined){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.undefined,received:i.parsedType}),zA}return Ot(e.data)}}ag.create=A=>new ag({typeName:NA.ZodUndefined,...ZA(A)});class lg extends _A{_parse(e){if(this._getType(e)!==EA.null){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.null,received:i.parsedType}),zA}return Ot(e.data)}}lg.create=A=>new lg({typeName:NA.ZodNull,...ZA(A)});class ba extends _A{constructor(){super(...arguments),this._any=!0}_parse(e){return Ot(e.data)}}ba.create=A=>new ba({typeName:NA.ZodAny,...ZA(A)});class en extends _A{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Ot(e.data)}}en.create=A=>new en({typeName:NA.ZodUnknown,...ZA(A)});class br extends _A{_parse(e){const t=this._getOrReturnCtx(e);return wA(t,{code:oA.invalid_type,expected:EA.never,received:t.parsedType}),zA}}br.create=A=>new br({typeName:NA.ZodNever,...ZA(A)});class Hd extends _A{_parse(e){if(this._getType(e)!==EA.undefined){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.void,received:i.parsedType}),zA}return Ot(e.data)}}Hd.create=A=>new Hd({typeName:NA.ZodVoid,...ZA(A)});class no extends _A{_parse(e){const{ctx:t,status:i}=this._processInputParams(e),o=this._def;if(t.parsedType!==EA.array)return wA(t,{code:oA.invalid_type,expected:EA.array,received:t.parsedType}),zA;if(o.exactLength!==null){const s=t.data.length>o.exactLength.value,n=t.data.length<o.exactLength.value;(s||n)&&(wA(t,{code:s?oA.too_big:oA.too_small,minimum:n?o.exactLength.value:void 0,maximum:s?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),i.dirty())}if(o.minLength!==null&&t.data.length<o.minLength.value&&(wA(t,{code:oA.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),i.dirty()),o.maxLength!==null&&t.data.length>o.maxLength.value&&(wA(t,{code:oA.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),i.dirty()),t.common.async)return Promise.all([...t.data].map((s,n)=>o.type._parseAsync(new Oo(t,s,t.path,n)))).then(s=>It.mergeArray(i,s));const r=[...t.data].map((s,n)=>o.type._parseSync(new Oo(t,s,t.path,n)));return It.mergeArray(i,r)}get element(){return this._def.type}min(e,t){return new no({...this._def,minLength:{value:e,message:yA.toString(t)}})}max(e,t){return new no({...this._def,maxLength:{value:e,message:yA.toString(t)}})}length(e,t){return new no({...this._def,exactLength:{value:e,message:yA.toString(t)}})}nonempty(e){return this.min(1,e)}}no.create=(A,e)=>new no({type:A,minLength:null,maxLength:null,exactLength:null,typeName:NA.ZodArray,...ZA(e)});function Vn(A){if(A instanceof Re){const e={};for(const t in A.shape){const i=A.shape[t];e[t]=To.create(Vn(i))}return new Re({...A._def,shape:()=>e})}else return A instanceof no?new no({...A._def,type:Vn(A.element)}):A instanceof To?To.create(Vn(A.unwrap())):A instanceof vs?vs.create(Vn(A.unwrap())):A instanceof Vo?Vo.create(A.items.map(e=>Vn(e))):A}class Re extends _A{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),t=ie.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==EA.object){const l=this._getOrReturnCtx(e);return wA(l,{code:oA.invalid_type,expected:EA.object,received:l.parsedType}),zA}const{status:i,ctx:o}=this._processInputParams(e),{shape:r,keys:s}=this._getCached(),n=[];if(!(this._def.catchall instanceof br&&this._def.unknownKeys==="strip"))for(const l in o.data)s.includes(l)||n.push(l);const a=[];for(const l of s){const g=r[l],c=o.data[l];a.push({key:{status:"valid",value:l},value:g._parse(new Oo(o,c,o.path,l)),alwaysSet:l in o.data})}if(this._def.catchall instanceof br){const l=this._def.unknownKeys;if(l==="passthrough")for(const g of n)a.push({key:{status:"valid",value:g},value:{status:"valid",value:o.data[g]}});else if(l==="strict")n.length>0&&(wA(o,{code:oA.unrecognized_keys,keys:n}),i.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const g of n){const c=o.data[g];a.push({key:{status:"valid",value:g},value:l._parse(new Oo(o,c,o.path,g)),alwaysSet:g in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const l=[];for(const g of a){const c=await g.key,d=await g.value;l.push({key:c,value:d,alwaysSet:g.alwaysSet})}return l}).then(l=>It.mergeObjectSync(i,l)):It.mergeObjectSync(i,a)}get shape(){return this._def.shape()}strict(e){return yA.errToObj,new Re({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,i)=>{var o,r,s,n;const a=(s=(r=(o=this._def).errorMap)===null||r===void 0?void 0:r.call(o,t,i).message)!==null&&s!==void 0?s:i.defaultError;return t.code==="unrecognized_keys"?{message:(n=yA.errToObj(e).message)!==null&&n!==void 0?n:a}:{message:a}}}:{}})}strip(){return new Re({...this._def,unknownKeys:"strip"})}passthrough(){return new Re({...this._def,unknownKeys:"passthrough"})}extend(e){return new Re({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Re({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:NA.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Re({...this._def,catchall:e})}pick(e){const t={};return ie.objectKeys(e).forEach(i=>{e[i]&&this.shape[i]&&(t[i]=this.shape[i])}),new Re({...this._def,shape:()=>t})}omit(e){const t={};return ie.objectKeys(this.shape).forEach(i=>{e[i]||(t[i]=this.shape[i])}),new Re({...this._def,shape:()=>t})}deepPartial(){return Vn(this)}partial(e){const t={};return ie.objectKeys(this.shape).forEach(i=>{const o=this.shape[i];e&&!e[i]?t[i]=o:t[i]=o.optional()}),new Re({...this._def,shape:()=>t})}required(e){const t={};return ie.objectKeys(this.shape).forEach(i=>{if(e&&!e[i])t[i]=this.shape[i];else{let r=this.shape[i];for(;r instanceof To;)r=r._def.innerType;t[i]=r}}),new Re({...this._def,shape:()=>t})}keyof(){return vQ(ie.objectKeys(this.shape))}}Re.create=(A,e)=>new Re({shape:()=>A,unknownKeys:"strip",catchall:br.create(),typeName:NA.ZodObject,...ZA(e)});Re.strictCreate=(A,e)=>new Re({shape:()=>A,unknownKeys:"strict",catchall:br.create(),typeName:NA.ZodObject,...ZA(e)});Re.lazycreate=(A,e)=>new Re({shape:A,unknownKeys:"strip",catchall:br.create(),typeName:NA.ZodObject,...ZA(e)});class gg extends _A{_parse(e){const{ctx:t}=this._processInputParams(e),i=this._def.options;function o(r){for(const n of r)if(n.result.status==="valid")return n.result;for(const n of r)if(n.result.status==="dirty")return t.common.issues.push(...n.ctx.common.issues),n.result;const s=r.map(n=>new vi(n.ctx.common.issues));return wA(t,{code:oA.invalid_union,unionErrors:s}),zA}if(t.common.async)return Promise.all(i.map(async r=>{const s={...t,common:{...t.common,issues:[]},parent:null};return{result:await r._parseAsync({data:t.data,path:t.path,parent:s}),ctx:s}})).then(o);{let r;const s=[];for(const a of i){const l={...t,common:{...t.common,issues:[]},parent:null},g=a._parseSync({data:t.data,path:t.path,parent:l});if(g.status==="valid")return g;g.status==="dirty"&&!r&&(r={result:g,ctx:l}),l.common.issues.length&&s.push(l.common.issues)}if(r)return t.common.issues.push(...r.ctx.common.issues),r.result;const n=s.map(a=>new vi(a));return wA(t,{code:oA.invalid_union,unionErrors:n}),zA}}get options(){return this._def.options}}gg.create=(A,e)=>new gg({options:A,typeName:NA.ZodUnion,...ZA(e)});const ar=A=>A instanceof hg?ar(A.schema):A instanceof po?ar(A.innerType()):A instanceof ug?[A.value]:A instanceof Es?A.options:A instanceof pg?ie.objectValues(A.enum):A instanceof Cg?ar(A._def.innerType):A instanceof ag?[void 0]:A instanceof lg?[null]:A instanceof To?[void 0,...ar(A.unwrap())]:A instanceof vs?[null,...ar(A.unwrap())]:A instanceof AB||A instanceof Bg?ar(A.unwrap()):A instanceof fg?ar(A._def.innerType):[];class Jh extends _A{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==EA.object)return wA(t,{code:oA.invalid_type,expected:EA.object,received:t.parsedType}),zA;const i=this.discriminator,o=t.data[i],r=this.optionsMap.get(o);return r?t.common.async?r._parseAsync({data:t.data,path:t.path,parent:t}):r._parseSync({data:t.data,path:t.path,parent:t}):(wA(t,{code:oA.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),zA)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,i){const o=new Map;for(const r of t){const s=ar(r.shape[e]);if(!s.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const n of s){if(o.has(n))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`);o.set(n,r)}}return new Jh({typeName:NA.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:o,...ZA(i)})}}function fC(A,e){const t=is(A),i=is(e);if(A===e)return{valid:!0,data:A};if(t===EA.object&&i===EA.object){const o=ie.objectKeys(e),r=ie.objectKeys(A).filter(n=>o.indexOf(n)!==-1),s={...A,...e};for(const n of r){const a=fC(A[n],e[n]);if(!a.valid)return{valid:!1};s[n]=a.data}return{valid:!0,data:s}}else if(t===EA.array&&i===EA.array){if(A.length!==e.length)return{valid:!1};const o=[];for(let r=0;r<A.length;r++){const s=A[r],n=e[r],a=fC(s,n);if(!a.valid)return{valid:!1};o.push(a.data)}return{valid:!0,data:o}}else return t===EA.date&&i===EA.date&&+A==+e?{valid:!0,data:A}:{valid:!1}}class cg extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e),o=(r,s)=>{if(pC(r)||pC(s))return zA;const n=fC(r.value,s.value);return n.valid?((CC(r)||CC(s))&&t.dirty(),{status:t.value,value:n.data}):(wA(i,{code:oA.invalid_intersection_types}),zA)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([r,s])=>o(r,s)):o(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}}cg.create=(A,e,t)=>new cg({left:A,right:e,typeName:NA.ZodIntersection,...ZA(t)});class Vo extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.array)return wA(i,{code:oA.invalid_type,expected:EA.array,received:i.parsedType}),zA;if(i.data.length<this._def.items.length)return wA(i,{code:oA.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),zA;!this._def.rest&&i.data.length>this._def.items.length&&(wA(i,{code:oA.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...i.data].map((s,n)=>{const a=this._def.items[n]||this._def.rest;return a?a._parse(new Oo(i,s,i.path,n)):null}).filter(s=>!!s);return i.common.async?Promise.all(r).then(s=>It.mergeArray(t,s)):It.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new Vo({...this._def,rest:e})}}Vo.create=(A,e)=>{if(!Array.isArray(A))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Vo({items:A,typeName:NA.ZodTuple,rest:null,...ZA(e)})};class dg extends _A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.object)return wA(i,{code:oA.invalid_type,expected:EA.object,received:i.parsedType}),zA;const o=[],r=this._def.keyType,s=this._def.valueType;for(const n in i.data)o.push({key:r._parse(new Oo(i,n,i.path,n)),value:s._parse(new Oo(i,i.data[n],i.path,n)),alwaysSet:n in i.data});return i.common.async?It.mergeObjectAsync(t,o):It.mergeObjectSync(t,o)}get element(){return this._def.valueType}static create(e,t,i){return t instanceof _A?new dg({keyType:e,valueType:t,typeName:NA.ZodRecord,...ZA(i)}):new dg({keyType:oo.create(),valueType:e,typeName:NA.ZodRecord,...ZA(t)})}}class Nd extends _A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.map)return wA(i,{code:oA.invalid_type,expected:EA.map,received:i.parsedType}),zA;const o=this._def.keyType,r=this._def.valueType,s=[...i.data.entries()].map(([n,a],l)=>({key:o._parse(new Oo(i,n,i.path,[l,"key"])),value:r._parse(new Oo(i,a,i.path,[l,"value"]))}));if(i.common.async){const n=new Map;return Promise.resolve().then(async()=>{for(const a of s){const l=await a.key,g=await a.value;if(l.status==="aborted"||g.status==="aborted")return zA;(l.status==="dirty"||g.status==="dirty")&&t.dirty(),n.set(l.value,g.value)}return{status:t.value,value:n}})}else{const n=new Map;for(const a of s){const l=a.key,g=a.value;if(l.status==="aborted"||g.status==="aborted")return zA;(l.status==="dirty"||g.status==="dirty")&&t.dirty(),n.set(l.value,g.value)}return{status:t.value,value:n}}}}Nd.create=(A,e,t)=>new Nd({valueType:e,keyType:A,typeName:NA.ZodMap,...ZA(t)});class pn extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.parsedType!==EA.set)return wA(i,{code:oA.invalid_type,expected:EA.set,received:i.parsedType}),zA;const o=this._def;o.minSize!==null&&i.data.size<o.minSize.value&&(wA(i,{code:oA.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),t.dirty()),o.maxSize!==null&&i.data.size>o.maxSize.value&&(wA(i,{code:oA.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),t.dirty());const r=this._def.valueType;function s(a){const l=new Set;for(const g of a){if(g.status==="aborted")return zA;g.status==="dirty"&&t.dirty(),l.add(g.value)}return{status:t.value,value:l}}const n=[...i.data.values()].map((a,l)=>r._parse(new Oo(i,a,i.path,l)));return i.common.async?Promise.all(n).then(a=>s(a)):s(n)}min(e,t){return new pn({...this._def,minSize:{value:e,message:yA.toString(t)}})}max(e,t){return new pn({...this._def,maxSize:{value:e,message:yA.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}pn.create=(A,e)=>new pn({valueType:A,minSize:null,maxSize:null,typeName:NA.ZodSet,...ZA(e)});class oa extends _A{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==EA.function)return wA(t,{code:oA.invalid_type,expected:EA.function,received:t.parsedType}),zA;function i(n,a){return Td({data:n,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Gd(),Da].filter(l=>!!l),issueData:{code:oA.invalid_arguments,argumentsError:a}})}function o(n,a){return Td({data:n,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Gd(),Da].filter(l=>!!l),issueData:{code:oA.invalid_return_type,returnTypeError:a}})}const r={errorMap:t.common.contextualErrorMap},s=t.data;if(this._def.returns instanceof xa){const n=this;return Ot(async function(...a){const l=new vi([]),g=await n._def.args.parseAsync(a,r).catch(h=>{throw l.addIssue(i(a,h)),l}),c=await Reflect.apply(s,this,g);return await n._def.returns._def.type.parseAsync(c,r).catch(h=>{throw l.addIssue(o(c,h)),l})})}else{const n=this;return Ot(function(...a){const l=n._def.args.safeParse(a,r);if(!l.success)throw new vi([i(a,l.error)]);const g=Reflect.apply(s,this,l.data),c=n._def.returns.safeParse(g,r);if(!c.success)throw new vi([o(g,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new oa({...this._def,args:Vo.create(e).rest(en.create())})}returns(e){return new oa({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,i){return new oa({args:e||Vo.create([]).rest(en.create()),returns:t||en.create(),typeName:NA.ZodFunction,...ZA(i)})}}class hg extends _A{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}hg.create=(A,e)=>new hg({getter:A,typeName:NA.ZodLazy,...ZA(e)});class ug extends _A{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return wA(t,{received:t.data,code:oA.invalid_literal,expected:this._def.value}),zA}return{status:"valid",value:e.data}}get value(){return this._def.value}}ug.create=(A,e)=>new ug({value:A,typeName:NA.ZodLiteral,...ZA(e)});function vQ(A,e){return new Es({values:A,typeName:NA.ZodEnum,...ZA(e)})}class Es extends _A{constructor(){super(...arguments),Bl.set(this,void 0)}_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),i=this._def.values;return wA(t,{expected:ie.joinValues(i),received:t.parsedType,code:oA.invalid_type}),zA}if(Ld(this,Bl)||BQ(this,Bl,new Set(this._def.values)),!Ld(this,Bl).has(e.data)){const t=this._getOrReturnCtx(e),i=this._def.values;return wA(t,{received:t.data,code:oA.invalid_enum_value,options:i}),zA}return Ot(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return Es.create(e,{...this._def,...t})}exclude(e,t=this._def){return Es.create(this.options.filter(i=>!e.includes(i)),{...this._def,...t})}}Bl=new WeakMap;Es.create=vQ;class pg extends _A{constructor(){super(...arguments),wl.set(this,void 0)}_parse(e){const t=ie.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(e);if(i.parsedType!==EA.string&&i.parsedType!==EA.number){const o=ie.objectValues(t);return wA(i,{expected:ie.joinValues(o),received:i.parsedType,code:oA.invalid_type}),zA}if(Ld(this,wl)||BQ(this,wl,new Set(ie.getValidEnumValues(this._def.values))),!Ld(this,wl).has(e.data)){const o=ie.objectValues(t);return wA(i,{received:i.data,code:oA.invalid_enum_value,options:o}),zA}return Ot(e.data)}get enum(){return this._def.values}}wl=new WeakMap;pg.create=(A,e)=>new pg({values:A,typeName:NA.ZodNativeEnum,...ZA(e)});class xa extends _A{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==EA.promise&&t.common.async===!1)return wA(t,{code:oA.invalid_type,expected:EA.promise,received:t.parsedType}),zA;const i=t.parsedType===EA.promise?t.data:Promise.resolve(t.data);return Ot(i.then(o=>this._def.type.parseAsync(o,{path:t.path,errorMap:t.common.contextualErrorMap})))}}xa.create=(A,e)=>new xa({type:A,typeName:NA.ZodPromise,...ZA(e)});class po extends _A{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===NA.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:i}=this._processInputParams(e),o=this._def.effect||null,r={addIssue:s=>{wA(i,s),s.fatal?t.abort():t.dirty()},get path(){return i.path}};if(r.addIssue=r.addIssue.bind(r),o.type==="preprocess"){const s=o.transform(i.data,r);if(i.common.async)return Promise.resolve(s).then(async n=>{if(t.value==="aborted")return zA;const a=await this._def.schema._parseAsync({data:n,path:i.path,parent:i});return a.status==="aborted"?zA:a.status==="dirty"||t.value==="dirty"?Wn(a.value):a});{if(t.value==="aborted")return zA;const n=this._def.schema._parseSync({data:s,path:i.path,parent:i});return n.status==="aborted"?zA:n.status==="dirty"||t.value==="dirty"?Wn(n.value):n}}if(o.type==="refinement"){const s=n=>{const a=o.refinement(n,r);if(i.common.async)return Promise.resolve(a);if(a instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return n};if(i.common.async===!1){const n=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return n.status==="aborted"?zA:(n.status==="dirty"&&t.dirty(),s(n.value),{status:t.value,value:n.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(n=>n.status==="aborted"?zA:(n.status==="dirty"&&t.dirty(),s(n.value).then(()=>({status:t.value,value:n.value}))))}if(o.type==="transform")if(i.common.async===!1){const s=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!rg(s))return s;const n=o.transform(s.value,r);if(n instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:n}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(s=>rg(s)?Promise.resolve(o.transform(s.value,r)).then(n=>({status:t.value,value:n})):s);ie.assertNever(o)}}po.create=(A,e,t)=>new po({schema:A,typeName:NA.ZodEffects,effect:e,...ZA(t)});po.createWithPreprocess=(A,e,t)=>new po({schema:e,effect:{type:"preprocess",transform:A},typeName:NA.ZodEffects,...ZA(t)});class To extends _A{_parse(e){return this._getType(e)===EA.undefined?Ot(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}To.create=(A,e)=>new To({innerType:A,typeName:NA.ZodOptional,...ZA(e)});class vs extends _A{_parse(e){return this._getType(e)===EA.null?Ot(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}vs.create=(A,e)=>new vs({innerType:A,typeName:NA.ZodNullable,...ZA(e)});class Cg extends _A{_parse(e){const{ctx:t}=this._processInputParams(e);let i=t.data;return t.parsedType===EA.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Cg.create=(A,e)=>new Cg({innerType:A,typeName:NA.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...ZA(e)});class fg extends _A{_parse(e){const{ctx:t}=this._processInputParams(e),i={...t,common:{...t.common,issues:[]}},o=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return sg(o)?o.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new vi(i.common.issues)},input:i.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new vi(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}}fg.create=(A,e)=>new fg({innerType:A,typeName:NA.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...ZA(e)});class zd extends _A{_parse(e){if(this._getType(e)!==EA.nan){const i=this._getOrReturnCtx(e);return wA(i,{code:oA.invalid_type,expected:EA.nan,received:i.parsedType}),zA}return{status:"valid",value:e.data}}}zd.create=A=>new zd({typeName:NA.ZodNaN,...ZA(A)});const Q5=Symbol("zod_brand");class AB extends _A{_parse(e){const{ctx:t}=this._processInputParams(e),i=t.data;return this._def.type._parse({data:i,path:t.path,parent:t})}unwrap(){return this._def.type}}class Zg extends _A{_parse(e){const{status:t,ctx:i}=this._processInputParams(e);if(i.common.async)return(async()=>{const r=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return r.status==="aborted"?zA:r.status==="dirty"?(t.dirty(),Wn(r.value)):this._def.out._parseAsync({data:r.value,path:i.path,parent:i})})();{const o=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return o.status==="aborted"?zA:o.status==="dirty"?(t.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:i.path,parent:i})}}static create(e,t){return new Zg({in:e,out:t,typeName:NA.ZodPipeline})}}class Bg extends _A{_parse(e){const t=this._def.innerType._parse(e),i=o=>(rg(o)&&(o.value=Object.freeze(o.value)),o);return sg(t)?t.then(o=>i(o)):i(t)}unwrap(){return this._def.innerType}}Bg.create=(A,e)=>new Bg({innerType:A,typeName:NA.ZodReadonly,...ZA(e)});function IQ(A,e={},t){return A?ba.create().superRefine((i,o)=>{var r,s;if(!A(i)){const n=typeof e=="function"?e(i):typeof e=="string"?{message:e}:e,a=(s=(r=n.fatal)!==null&&r!==void 0?r:t)!==null&&s!==void 0?s:!0,l=typeof n=="string"?{message:n}:n;o.addIssue({code:"custom",...l,fatal:a})}}):ba.create()}const D5={object:Re.lazycreate};var NA;(function(A){A.ZodString="ZodString",A.ZodNumber="ZodNumber",A.ZodNaN="ZodNaN",A.ZodBigInt="ZodBigInt",A.ZodBoolean="ZodBoolean",A.ZodDate="ZodDate",A.ZodSymbol="ZodSymbol",A.ZodUndefined="ZodUndefined",A.ZodNull="ZodNull",A.ZodAny="ZodAny",A.ZodUnknown="ZodUnknown",A.ZodNever="ZodNever",A.ZodVoid="ZodVoid",A.ZodArray="ZodArray",A.ZodObject="ZodObject",A.ZodUnion="ZodUnion",A.ZodDiscriminatedUnion="ZodDiscriminatedUnion",A.ZodIntersection="ZodIntersection",A.ZodTuple="ZodTuple",A.ZodRecord="ZodRecord",A.ZodMap="ZodMap",A.ZodSet="ZodSet",A.ZodFunction="ZodFunction",A.ZodLazy="ZodLazy",A.ZodLiteral="ZodLiteral",A.ZodEnum="ZodEnum",A.ZodEffects="ZodEffects",A.ZodNativeEnum="ZodNativeEnum",A.ZodOptional="ZodOptional",A.ZodNullable="ZodNullable",A.ZodDefault="ZodDefault",A.ZodCatch="ZodCatch",A.ZodPromise="ZodPromise",A.ZodBranded="ZodBranded",A.ZodPipeline="ZodPipeline",A.ZodReadonly="ZodReadonly"})(NA||(NA={}));const b5=(A,e={message:`Input not instance of ${A.name}`})=>IQ(t=>t instanceof A,e),QQ=oo.create,DQ=ws.create,x5=zd.create,M5=ms.create,bQ=ng.create,F5=un.create,y5=Ud.create,S5=ag.create,P5=lg.create,R5=ba.create,Y5=en.create,k5=br.create,G5=Hd.create,T5=no.create,L5=Re.create,U5=Re.strictCreate,H5=gg.create,N5=Jh.create,z5=cg.create,O5=Vo.create,V5=dg.create,j5=Nd.create,J5=pn.create,W5=oa.create,K5=hg.create,X5=ug.create,q5=Es.create,Z5=pg.create,_5=xa.create,Xw=po.create,$5=To.create,AP=vs.create,eP=po.createWithPreprocess,tP=Zg.create,iP=()=>QQ().optional(),oP=()=>DQ().optional(),rP=()=>bQ().optional(),sP={string:A=>oo.create({...A,coerce:!0}),number:A=>ws.create({...A,coerce:!0}),boolean:A=>ng.create({...A,coerce:!0}),bigint:A=>ms.create({...A,coerce:!0}),date:A=>un.create({...A,coerce:!0})},nP=zA;var q=Object.freeze({__proto__:null,defaultErrorMap:Da,setErrorMap:n5,getErrorMap:Gd,makeIssue:Td,EMPTY_PATH:a5,addIssueToContext:wA,ParseStatus:It,INVALID:zA,DIRTY:Wn,OK:Ot,isAborted:pC,isDirty:CC,isValid:rg,isAsync:sg,get util(){return ie},get objectUtil(){return uC},ZodParsedType:EA,getParsedType:is,ZodType:_A,datetimeRegex:EQ,ZodString:oo,ZodNumber:ws,ZodBigInt:ms,ZodBoolean:ng,ZodDate:un,ZodSymbol:Ud,ZodUndefined:ag,ZodNull:lg,ZodAny:ba,ZodUnknown:en,ZodNever:br,ZodVoid:Hd,ZodArray:no,ZodObject:Re,ZodUnion:gg,ZodDiscriminatedUnion:Jh,ZodIntersection:cg,ZodTuple:Vo,ZodRecord:dg,ZodMap:Nd,ZodSet:pn,ZodFunction:oa,ZodLazy:hg,ZodLiteral:ug,ZodEnum:Es,ZodNativeEnum:pg,ZodPromise:xa,ZodEffects:po,ZodTransformer:po,ZodOptional:To,ZodNullable:vs,ZodDefault:Cg,ZodCatch:fg,ZodNaN:zd,BRAND:Q5,ZodBranded:AB,ZodPipeline:Zg,ZodReadonly:Bg,custom:IQ,Schema:_A,ZodSchema:_A,late:D5,get ZodFirstPartyTypeKind(){return NA},coerce:sP,any:R5,array:T5,bigint:M5,boolean:bQ,date:F5,discriminatedUnion:N5,effect:Xw,enum:q5,function:W5,instanceof:b5,intersection:z5,lazy:K5,literal:X5,map:j5,nan:x5,nativeEnum:Z5,never:k5,null:P5,nullable:AP,number:DQ,object:L5,oboolean:rP,onumber:oP,optional:$5,ostring:iP,pipeline:tP,preprocess:eP,promise:_5,record:V5,set:J5,strictObject:U5,string:QQ,symbol:y5,transformer:Xw,tuple:O5,undefined:S5,union:H5,unknown:Y5,void:G5,NEVER:nP,ZodIssueCode:oA,quotelessJson:s5,ZodError:vi});q.object({type:q.literal("plain"),content:q.string()});q.object({from:q.number().min(0),to:q.number().min(1)});function _g(A){throw new Error("Unexpected object: "+A)}const xQ="upload://upload/",MQ="index://index/";function aP(A){return A.startsWith(xQ)}function lP(A){return A.startsWith(MQ)}function FQ(A){if(lP(A)){const e=A.slice(MQ.length);return JSON.parse(decodeURIComponent(e)).path}else if(aP(A)){const e=A.slice(xQ.length);return JSON.parse(decodeURIComponent(e)).localPath}_g(A)}function gP(A){return A.replace(/^.*[\\/]/,"")}function yQ(A){return gP(FQ(A))}function Wh(A){if(!A||typeof A!="object")return!1;const e=A;if(!("type"in e))return!1;switch(e.type){case"Json":return typeof e.keyLength=="number"&&e.data!==void 0&&typeof e.data=="object";case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":return typeof e.partitionKeyLength=="number"&&e.parts!==void 0&&typeof e.parts=="object";default:return!1}}function cP(A,e){if(A!==void 0)switch(A.type){case"Json":return A;case"JsonPartitioned":{const t={};for(const[i,o]of Object.entries(A.parts))t[i]=e(o);return{...A,parts:t}}case"BinaryPartitioned":{const t={};for(const[i,o]of Object.entries(A.parts))t[i]={index:e(o.index),values:e(o.values)};return{...A,parts:t}}case"ParquetPartitioned":{const t={};for(const[i,o]of Object.entries(A.parts))t[i]=e(o);return{...A,parts:t}}}}function dP(A,e){switch(A.type){case"Json":break;case"JsonPartitioned":{Object.values(A.parts).forEach(e);break}case"BinaryPartitioned":{Object.values(A.parts).forEach(t=>{e(t.index),e(t.values)});break}case"ParquetPartitioned":{Object.values(A.parts).forEach(e);break}}}function eB(A){if(!A||typeof A!="object")return!1;const e=A;if(!("type"in e))return!1;switch(e.type){case"Json":return typeof e.keyLength=="number"&&Array.isArray(e.data);case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":return typeof e.partitionKeyLength=="number"&&Array.isArray(e.parts);default:return!1}}function hP(A){if(!eB(A))return!1;switch(A.type){case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":return!0;default:return!1}}function uP(A){switch(A.type){case"Json":return{type:"Json",keyLength:A.keyLength,data:Object.entries(A.data).map(([e,t])=>({key:JSON.parse(e),value:t}))};case"JsonPartitioned":return{type:"JsonPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.entries(A.parts).map(([e,t])=>({key:JSON.parse(e),value:t}))};case"BinaryPartitioned":return{type:"BinaryPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.entries(A.parts).map(([e,t])=>({key:JSON.parse(e),value:t}))};case"ParquetPartitioned":return{type:"ParquetPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.entries(A.parts).map(([e,t])=>({key:JSON.parse(e),value:t}))};default:_g(A)}}function pP(A){switch(A.type){case"Json":return{type:"Json",keyLength:A.keyLength,data:Object.fromEntries(A.data.map(({key:e,value:t})=>[JSON.stringify(e),t]))};case"JsonPartitioned":return{type:"JsonPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.fromEntries(A.parts.map(({key:e,value:t})=>[JSON.stringify(e),t]))};case"BinaryPartitioned":return{type:"BinaryPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.fromEntries(A.parts.map(({key:e,value:t})=>[JSON.stringify(e),t]))};case"ParquetPartitioned":return{type:"ParquetPartitioned",partitionKeyLength:A.partitionKeyLength,parts:Object.fromEntries(A.parts.map(({key:e,value:t})=>[JSON.stringify(e),t]))};default:_g(A)}}function tB(A){return A instanceof Error?A.name==="AbortError"||tB(A.cause):!1}function CP(A){if(typeof A=="string")return`String value was thrown: ${A}`;if(A&&typeof A=="object")try{return`Plain object was thrown: ${JSON.stringify(A)}`}catch(e){return`Non-serializable object was thrown (JSON.stringify failed: ${e instanceof Error?e.message:String(e)}): ${String(A)}`}return`Non-Error value (${typeof A}) was thrown: ${A}`}function SQ(A){return A instanceof Error?A:new Error(CP(A))}function PQ(A){const e=A.cause?PQ(A.cause):void 0,t=new Error(A.message,e!==void 0?{cause:e}:void 0);return t.name=A.name||"Error",t.stack=A.stack,t}function lr(A){if(A.error)throw A.error instanceof Error?A.error:PQ(A.error);return A.value}function fP(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var op,qw;function BP(){return qw||(qw=1,op=function A(e){if(typeof e=="number"&&isNaN(e))throw new Error("NaN is not allowed");if(typeof e=="number"&&!isFinite(e))throw new Error("Infinity is not allowed");return e===null||typeof e!="object"?JSON.stringify(e):e.toJSON instanceof Function?A(e.toJSON()):Array.isArray(e)?`[${e.reduce((o,r,s)=>`${o}${s===0?"":","}${A(r===void 0||typeof r=="symbol"?null:r)}`,"")}]`:`{${Object.keys(e).sort().reduce((i,o)=>{if(e[o]===void 0||typeof e[o]=="symbol")return i;const r=i.length===0?"":",";return`${i}${r}${A(o)}:${A(e[o])}`},"")}}`}),op}var wP=BP();const Pn=fP(wP);function mP(A){return JSON.stringify(A)}function Js(A){return Pn(A)}function ra(A){return JSON.parse(A)}const Ci={Int:"Int",Long:"Long",Float:"Float",Double:"Double",String:"String",Bytes:"Bytes"};function RQ(A,e){return A==null?void 0:A[e]}function EP(A,e,t,i="readMetadataJsonOrThrow"){const o=RQ(A,t);if(o===void 0)return;const r=e[t];try{const s=JSON.parse(o);return r.parse(s)}catch(s){throw new Error(`${i} failed, key: ${String(t)}, value: ${o}, error: ${SQ(s)}`)}}function vP(A,e,t){try{return EP(A,e,t)}catch{return}}const ee={DiscreteValues:"pl7.app/discreteValues",Graph:{Axis:{HighCardinality:"pl7.app/graph/axis/highCardinality",LowerLimit:"pl7.app/graph/axis/lowerLimit",SymmetricRange:"pl7.app/graph/axis/symmetricRange",UpperLimit:"pl7.app/graph/axis/upperLimit"},IsDenseAxis:"pl7.app/graph/isDenseAxis",IsVirtual:"pl7.app/graph/isVirtual",Palette:"pl7.app/graph/palette",Thresholds:"pl7.app/graph/thresholds",TreatAbsentValuesAs:"pl7.app/graph/treatAbsentValuesAs"},HideDataFromUi:"pl7.app/hideDataFromUi",HideDataFromGraphs:"pl7.app/hideDataFromGraphs",IsDiscreteFilter:"pl7.app/isDiscreteFilter",IsLinkerColumn:"pl7.app/isLinkerColumn",IsSubset:"pl7.app/isSubset",Label:"pl7.app/label",Max:"pl7.app/max",Min:"pl7.app/min",MultipliesBy:"pl7.app/multipliesBy",Parents:"pl7.app/parents",Sequence:{Annotation:{Mapping:"pl7.app/sequence/annotation/mapping"},IsAnnotation:"pl7.app/sequence/isAnnotation"},Table:{OrderPriority:"pl7.app/table/orderPriority"},Trace:"pl7.app/trace"},IP=q.enum(["Int","Long","Float","Double","String"]),QP={[ee.DiscreteValues]:q.array(q.string()).or(q.array(q.number())),[ee.Graph.Axis.HighCardinality]:q.boolean(),[ee.Graph.Axis.LowerLimit]:q.number(),[ee.Graph.Axis.UpperLimit]:q.number(),[ee.Graph.Axis.SymmetricRange]:q.boolean(),[ee.Graph.IsDenseAxis]:q.boolean(),[ee.Graph.Palette]:q.object({mapping:q.record(q.number()),name:q.string()}),[ee.Graph.Thresholds]:q.array(q.object({columnId:q.object({valueType:IP,name:q.string()}),value:q.number()})),[ee.Graph.TreatAbsentValuesAs]:q.number(),[ee.Graph.IsVirtual]:q.boolean(),[ee.HideDataFromUi]:q.boolean(),[ee.HideDataFromGraphs]:q.boolean(),[ee.IsDiscreteFilter]:q.boolean(),[ee.IsLinkerColumn]:q.boolean(),[ee.IsSubset]:q.boolean(),[ee.Max]:q.number(),[ee.Min]:q.number(),[ee.MultipliesBy]:q.array(q.string()),[ee.Parents]:q.array(q.string()),[ee.Sequence.Annotation.Mapping]:q.record(q.string(),q.string()),[ee.Sequence.IsAnnotation]:q.boolean(),[ee.Table.OrderPriority]:q.number(),[ee.Trace]:q.record(q.string(),q.unknown())};function as(A,e){return RQ(A==null?void 0:A.annotations,e)}function iB(A,e){return vP(A==null?void 0:A.annotations,QP,e)}const oB={Label:"pl7.app/label",Table:{RowSelection:"pl7.app/table/row-selection"}};function Co(A){const{type:e,name:t,domain:i}=A,o={type:e,name:t};return i&&Object.entries(i).length>0&&Object.assign(o,{domain:i}),o}function DP(A){return A.map(Co)}function bP(A){return Js(Co(A))}function xP(A,e){if(A===void 0)return e===void 0;if(e===void 0)return!0;for(const t in e)if(A[t]!==e[t])return!1;return!0}function YQ(A,e){return A.name===e.name&&xP(A.domain,e.domain)}function kQ(A,e){const t=Math.floor(e/8),i=1<<7-e%8;return(A[t]&i)>0}function MP(A,e){return kQ(A.absent,e)}function FP(A,e){if(A.isNA)return kQ(A.isNA,e);const t=A.type,i=A.data[e];switch(t){case Ci.Int:return i===-2147483648;case Ci.Long:return i===-9007199254740991n;case Ci.Float:return Number.isNaN(i);case Ci.Double:return Number.isNaN(i);case Ci.String:return i===null;case Ci.Bytes:return i===null;default:throw Error(`unsupported data type: ${t}`)}}const yP={type:"absent"};function SP(A){return typeof A=="object"&&A!==null&&"type"in A&&A.type==="absent"}const PP=null;function RP(A,e,t){const i=A.type;if(i===Ci.Bytes)throw Error("Bytes not yet supported");if(t&&"dataType"in t&&t.dataType!==void 0&&t.dataType!==i)throw Error(`expected column of type ${t.dataType}, got ${i}`);if(MP(A,e))return(t==null?void 0:t.absent)!==void 0?t.absent:yP;if(FP(A,e))return(t==null?void 0:t.na)!==void 0?t.na:PP;const o=A.data[e];switch(i){case Ci.Int:return o;case Ci.Long:return Number(o);case Ci.Float:return o;case Ci.Double:return o;case Ci.String:return o}}function rB(A,e,t){return RP(A,e,t)}function YP(A,e){return{...A,src:sd(A.src,e)}}function sd(A,e){switch(A.type){case"column":return{type:"column",column:e(A.column)};case"slicedColumn":return{type:"slicedColumn",column:e(A.column),newId:A.newId,axisFilters:A.axisFilters};case"artificialColumn":return{type:"artificialColumn",column:e(A.column),newId:A.newId,axesIndices:A.axesIndices};case"inlineColumn":return A;case"inner":case"full":return{type:A.type,entries:A.entries.map(t=>sd(t,e))};case"outer":return{type:"outer",primary:sd(A.primary,e),secondary:A.secondary.map(t=>sd(t,e))};default:_g(A)}}function kP(A){return Pn(A)}function Zw(A){return Pn(Co(A))}function _w(A,e){return JSON.stringify([A,e])}class $w{constructor(e){PA(this,"anchors");PA(this,"domains",new Map);PA(this,"axes",new Map);PA(this,"domainPacks",[]);PA(this,"domainPackToAnchor",new Map);this.anchors=e;const t=Object.entries(e);t.sort((i,o)=>i[0].localeCompare(o[0]));for(const[i,o]of t){for(let r=0;r<o.axesSpec.length;r++){const s=o.axesSpec[r],n=Zw(s);this.axes.set(n,{anchor:i,idx:r})}if(o.domain!==void 0){const r=Object.entries(o.domain);r.sort((s,n)=>s[0].localeCompare(n[0])),this.domainPackToAnchor.set(JSON.stringify(r),i),this.domainPacks.push(r.map(([s])=>s));for(const[s,n]of r){const a=_w(s,n);this.domains.set(a,i)}}}}derive(e,t){const i={name:e.name,axes:[]};let o;if(e.domain!==void 0)A:for(const s of this.domainPacks){const n=[];for(const l of s){const g=e.domain[l];if(g!==void 0)n.push([l,g]);else break A}const a=this.domainPackToAnchor.get(JSON.stringify(n));if(a!==void 0){i.domainAnchor=a,o=new Set(s);break}}for(const[s,n]of Object.entries(e.domain??{})){if(o!==void 0&&o.has(s))continue;const a=_w(s,n),l=this.domains.get(a);i.domain??(i.domain={}),i.domain[s]=l?{anchor:l}:n}if(i.axes=e.axesSpec.map(s=>{const n=Zw(s),a=this.axes.get(n);return a===void 0?Co(s):a}),!t||t.length===0)return i;const r=[];for(const s of t){const[n,a]=s;if(typeof n=="number"){if(n<0||n>=e.axesSpec.length)throw new Error(`Axis index ${n} is out of bounds (0-${e.axesSpec.length-1})`);r.push([n,a])}else{const l=e.axesSpec.findIndex(g=>g.name===n);if(l===-1)throw new Error(`Axis with name "${n}" not found in the column specification`);r.push([l,a])}}return r.sort((s,n)=>s[0]-n[0]),{source:i,axisFilters:r}}deriveS(e,t){return kP(this.derive(e,t))}}function Am(A,e,t){const i={...e},o=(t==null?void 0:t.ignoreMissingDomains)??!1;if(i.domainAnchor!==void 0){const r=A[i.domainAnchor];if(!r)throw new Error(`Anchor "${i.domainAnchor}" not found`);const s=r.domain||{};i.domain={...s,...i.domain},delete i.domainAnchor}if(i.domain){const r={};for(const[s,n]of Object.entries(i.domain))if(typeof n=="string")r[s]=n;else{const a=A[n.anchor];if(!a)throw new Error(`Anchor "${n.anchor}" not found for domain key "${s}"`);if(!a.domain||a.domain[s]===void 0){if(!o)throw new Error(`Domain key "${s}" not found in anchor "${n.anchor}"`);continue}r[s]=a.domain[s]}i.domain=r}return i.axes&&(i.axes=i.axes.map(r=>GP(A,r))),i}function GP(A,e){if(!TP(e))return e;const t=e.anchor,i=A[t];if(!i)throw new Error(`Anchor "${t}" not found for axis reference`);if("idx"in e){if(e.idx<0||e.idx>=i.axesSpec.length)throw new Error(`Axis index ${e.idx} out of bounds for anchor "${t}"`);return i.axesSpec[e.idx]}else if("name"in e){const o=i.axesSpec.filter(r=>r.name===e.name);if(o.length>1)throw new Error(`Multiple axes with name "${e.name}" found in anchor "${t}"`);if(o.length===0)throw new Error(`Axis with name "${e.name}" not found in anchor "${t}"`);return o[0]}else if("id"in e){const o=i.axesSpec.filter(r=>YQ(e.id,Co(r)));if(o.length>1)throw new Error(`Multiple matching axes found for matcher in anchor "${t}"`);if(o.length===0)throw new Error(`No matching axis found for matcher in anchor "${t}"`);return o[0]}throw new Error("Unsupported axis reference type")}function TP(A){return typeof A=="object"&&"anchor"in A}function ls(A){return A.kind==="PColumn"}function sB(A){return ls(A.spec)}function LP(A){if(!sB(A))throw new Error(`not a PColumn (kind = ${A.spec.kind})`);return A}function nB(A,e){return A===void 0?void 0:{...A,data:e(A.data)}}function UP(A){const e=new Map,t=i=>{switch(i.type){case"column":e.set(i.column.id,i.column);return;case"slicedColumn":e.set(i.column.id,i.column);return;case"artificialColumn":e.set(i.column.id,i.column);return;case"inlineColumn":return;case"full":case"inner":for(const o of i.entries)t(o);return;case"outer":t(i.primary);for(const o of i.secondary)t(o);return;default:_g(i)}};return t(A),[...e.values()]}function em(A,e){if(A.name!==void 0&&A.name!==e.name)return!1;if(A.type!==void 0){if(Array.isArray(A.type)){if(!A.type.includes(e.type))return!1}else if(A.type!==e.type)return!1}if(A.domain!==void 0){const t=e.domain||{};for(const[i,o]of Object.entries(A.domain))if(t[i]!==o)return!1}return!0}function tm(A,e){if(e.name!==void 0&&A.name!==e.name||e.namePattern!==void 0&&!new RegExp(e.namePattern).test(A.name))return!1;if(e.type!==void 0){if(Array.isArray(e.type)){if(!e.type.includes(A.valueType))return!1}else if(e.type!==A.valueType)return!1}if(e.domain!==void 0){const t=A.domain||{};for(const[i,o]of Object.entries(e.domain))if(t[i]!==o)return!1}if(e.axes!==void 0){const t=A.axesSpec.map(Co);if(e.partialAxesMatch){for(const i of e.axes)if(!t.some(o=>em(i,o)))return!1}else{if(t.length!==e.axes.length)return!1;for(let i=0;i<e.axes.length;i++)if(!em(e.axes[i],t[i]))return!1}}if(e.annotations!==void 0){const t=A.annotations||{};for(const[i,o]of Object.entries(e.annotations))if(t[i]!==o)return!1}if(e.annotationPatterns!==void 0){const t=A.annotations||{};for(const[i,o]of Object.entries(e.annotationPatterns)){const r=t[i];if(r===void 0||!new RegExp(o).test(r))return!1}}return!0}function wg(A){return Array.isArray(A)?e=>A.some(t=>ls(e)&&tm(e,t)):e=>ls(e)&&tm(e,A)}function HP(A){const e={kind:A.kind,name:A.name};return A.domain!==void 0&&(e.domain=A.domain),ls(A)&&(e.axesSpec=DP(A.axesSpec)),Pn(e)}function NP(A){if(A instanceof Int8Array||A instanceof Uint8Array||A instanceof Uint8ClampedArray)return new DataView(A.buffer,A.byteOffset,A.byteLength);if(A instanceof ArrayBuffer)return new DataView(A);throw new TypeError("Expected `data` to be an ArrayBuffer, Buffer, Int8Array, Uint8Array or Uint8ClampedArray")}const zP="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",OP="0123456789ABCDEFGHIJKLMNOPQRSTUV",VP="0123456789ABCDEFGHJKMNPQRSTVWXYZ";function jP(A,e,t){t=t||{};let i,o;switch(e){case"RFC3548":case"RFC4648":i=zP,o=!0;break;case"RFC4648-HEX":i=OP,o=!0;break;case"Crockford":i=VP,o=!1;break;default:throw new Error("Unknown base32 variant: "+String(e))}const r=t.padding!==void 0?t.padding:o,s=NP(A);let n=0,a=0,l="";for(let g=0;g<s.byteLength;g++)for(a=a<<8|s.getUint8(g),n+=8;n>=5;)l+=i[a>>>n-5&31],n-=5;if(n>0&&(l+=i[a<<5-n&31]),r)for(;l.length%8!==0;)l+="=";return l}const JP=15,WP=24,KP=q.string().length(WP).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");function XP(){const A=new Uint8Array(JP);return crypto.getRandomValues(A),KP.parse(jP(A,"RFC4648"))}q.object({__isRef:q.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),blockId:q.string().describe("Upstream block id"),name:q.string().describe("Name of the output provided to the upstream block's output context"),requireEnrichments:q.literal(!0).optional().describe("True if current block that stores this reference in its args, may need enrichments for the references value originating from the blocks in between current and referenced block")}).describe("Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees.").readonly();function qP(A){return typeof A=="object"&&A!==null&&"__isRef"in A&&A.__isRef===!0&&"blockId"in A&&"name"in A}function im(A,e=!0){if(e)return{...A,requireEnrichments:!0};{const{requireEnrichments:t,...i}=A;return i}}function ZP(A,e){return A.ok?{ok:!0,value:e(A.value)}:A}class $t{constructor(e,t=i=>i){PA(this,"handle");PA(this,"postProcess");PA(this,"isResolved",!1);PA(this,"resolvedValue");this.handle=e,this.postProcess=t,r5(e,i=>{this.resolvedValue=t(i),this.isResolved=!0})}map(e){return new $t(this.handle,t=>e(this.postProcess(t)))}mapDefined(e){return new $t(this.handle,t=>{const i=this.postProcess(t);return i?e(i):void 0})}toJSON(){return this.isResolved?this.resolvedValue:{__awaited_futures__:[this.handle]}}}function BC(A,e){return A===void 0?void 0:e(A)}class Ui{constructor(e,t){PA(this,"handle");PA(this,"resolvePath");this.handle=e,this.resolvePath=t}resolve(...e){const t=e.map(i=>({assertFieldType:"Input",...typeof i=="string"?{field:i}:i}));return this.resolveWithCommon({},...t)}resolveOutput(...e){const t=e.map(i=>({assertFieldType:"Output",...typeof i=="string"?{field:i}:i}));return this.resolveWithCommon({},...t)}resolveInput(...e){const t=e.map(i=>({assertFieldType:"Input",...typeof i=="string"?{field:i}:i}));return this.resolveWithCommon({},...t)}resolveAny(...e){return this.resolveWithCommon({},...e)}resolveWithCommon(e,...t){const i=[...this.resolvePath,...t.map(o=>typeof o=="string"?o:o.field)];return BC(ce().resolveWithCommon(this.handle,e,...t),o=>new Ui(o,i))}get resourceType(){return ce().getResourceType(this.handle)}getInputsLocked(){return ce().getInputsLocked(this.handle)}getOutputsLocked(){return ce().getOutputsLocked(this.handle)}getIsReadyOrError(){return ce().getIsReadyOrError(this.handle)}getIsFinal(){return ce().getIsFinal(this.handle)}getError(){const e=[...this.resolvePath,"error"];return BC(ce().getError(this.handle),t=>new Ui(t,e))}listInputFields(){return ce().listInputFields(this.handle)}listOutputFields(){return ce().listOutputFields(this.handle)}listDynamicFields(){return ce().listDynamicFields(this.handle)}getKeyValueBase64(e){return ce().getKeyValueBase64(this.handle,e)}getKeyValueAsString(e){return ce().getKeyValueAsString(this.handle,e)}getKeyValueAsJson(e){const t=this.getKeyValueAsString(e);if(t==null)throw new Error("Resource has no content.");return JSON.parse(t)}getDataBase64(){return ce().getDataBase64(this.handle)}getDataAsString(){return ce().getDataAsString(this.handle)}getDataAsJson(){const e=this.getDataAsString();if(e==null)throw new Error("Resource has no content.");return JSON.parse(e)}getPColumns(e=!1,t=""){const i=this.parsePObjectCollection(e,t);return i===void 0?void 0:Object.entries(i).map(([,r])=>{if(!sB(r))throw new Error(`not a PColumn (kind = ${r.spec.kind})`);return r})}parsePObjectCollection(e=!1,t=""){const i=ce().parsePObjectCollection(this.handle,e,t,...this.resolvePath);if(i===void 0)return;const o={};for(const[r,s]of Object.entries(i)){const n=[...this.resolvePath,r];o[r]=nB(s,a=>new Ui(a,n))}return o}getFileContentAsBase64(e){return new $t(ce().getBlobContentAsBase64(this.handle,e))}getFileContentAsString(e){return new $t(ce().getBlobContentAsString(this.handle,e))}getFileContentAsJson(e){return new $t(ce().getBlobContentAsString(this.handle,e)).mapDefined(t=>JSON.parse(t))}getBlobContentAsBase64(){return this.getFileContentAsBase64()}getBlobContentAsString(){return this.getFileContentAsString()}getFileHandle(){return new $t(ce().getDownloadedBlobContentHandle(this.handle))}getDownloadedBlobHandle(){return this.getFileHandle()}getRemoteFileHandle(){return new $t(ce().getOnDemandBlobContentHandle(this.handle))}getOnDemandBlobHandle(){return this.getRemoteFileHandle()}extractArchiveAndGetURL(e){return new $t(ce().extractArchiveAndGetURL(this.handle,e))}getImportProgress(){return new $t(ce().getImportProgress(this.handle))}getLastLogs(e){return new $t(ce().getLastLogs(this.handle,e))}getProgressLog(e){return new $t(ce().getProgressLog(this.handle,e))}getProgressLogWithInfo(e){return new $t(ce().getProgressLogWithInfo(this.handle,e))}getLogHandle(){return new $t(ce().getLogHandle(this.handle))}allFieldsResolved(e="Input"){switch(e){case"Input":return this.getInputsLocked()&&this.listInputFields().every(t=>this.resolve({field:t,assertFieldType:"Input"})!==void 0);case"Output":return this.getOutputsLocked()&&this.listOutputFields().every(t=>this.resolve({field:t,assertFieldType:"Output"})!==void 0)}}mapFields(e,t){const{fieldType:i,requireLocked:o,skipUnresolved:r}={fieldType:"Input",requireLocked:!0,skipUnresolved:!1,...t},s=e;if(o&&(i==="Input"&&!this.getInputsLocked()||i==="Output"&&!this.getOutputsLocked()))return;let a=(i==="Input"?this.listInputFields():i==="Output"?this.listOutputFields():this.listDynamicFields()).map(l=>[l,this.resolve({field:l,assertFieldType:i})]);return r&&(a=a.filter(l=>l[1]!==void 0)),a.map(([l,g])=>s(l,g))}}const _P="staging",$P="main";function AR(A,e){const t=[...e].sort((s,n)=>n[0]-s[0]),{type:i}=A;switch(i){case"Json":{const{keyLength:s}=A;for(const[n]of e)if(n>=s)throw new Error(`Can't filter on non-data axis ${n}. Must be >= ${s}`);break}case"JsonPartitioned":case"BinaryPartitioned":case"ParquetPartitioned":{const{partitionKeyLength:s}=A;for(const[n]of e)if(n>=s)throw new Error(`Can't filter on non-partitioned axis ${n}. Must be >= ${s}`);break}default:throw new Error(`Unsupported data info type: ${i}`)}const o=s=>{for(const[n,a]of t)if(s[n]!==a)return!1;return!0},r=s=>{const n=[...s];for(const[a]of t)n.splice(a,1);return n};switch(A.type){case"Json":return{type:"Json",keyLength:A.keyLength-e.length,data:A.data.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))};case"JsonPartitioned":return{type:"JsonPartitioned",partitionKeyLength:A.partitionKeyLength-e.length,parts:A.parts.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))};case"BinaryPartitioned":return{type:"BinaryPartitioned",partitionKeyLength:A.partitionKeyLength-e.length,parts:A.parts.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))};case"ParquetPartitioned":return{type:"ParquetPartitioned",partitionKeyLength:A.partitionKeyLength-e.length,parts:A.parts.filter(s=>o(s.key)).map(s=>({key:r(s.key),value:s.value}))}}}const eR=q.object({type:q.string(),importance:q.number().optional(),id:q.string().optional(),label:q.string()}),tR=q.array(eR),iR=.001,oR="__LABEL__",om="__LABEL__@1";function GQ(A,e,t={}){const i=new Map,o=t.forceTraceElements!==void 0&&t.forceTraceElements.length>0?new Set(t.forceTraceElements):void 0,r=new Map,s=A.map(h=>{const u=e(h);let p,C,f;"spec"in u&&typeof u.spec=="object"?(p=u.spec,C=u.prefixTrace,f=u.suffixTrace):p=u;const w=as(p,ee.Label),B=as(p,ee.Trace),m=(B?tR.safeParse(ra(B)).data:void 0)??[],E=[...C??[],...m,...f??[]];if(w!==void 0){const D={label:w,type:oR,importance:-2};t.addLabelAsSuffix?E.push(D):E.splice(0,0,D)}const v=[],M=new Map;for(let D=E.length-1;D>=0;--D){const{type:Q}=E[D],H=E[D].importance??0,G=(M.get(Q)??0)+1;M.set(Q,G);const F=`${Q}@${G}`;r.set(F,(r.get(F)??0)+1),i.set(F,Math.max(i.get(F)??Number.NEGATIVE_INFINITY,H-(E.length-D)*iR)),v.push({...E[D],fullType:F,occurrenceIndex:G})}return v.reverse(),{value:h,spec:p,label:w,fullTrace:v}}),n=[],a=[],l=[...i];l.sort(([,h],[,u])=>u-h);for(const[h]of l)h.endsWith("@1")||r.get(h)===A.length?n.push(h):a.push(h);const g=(h,u=!1)=>{const p=[];for(let C=0;C<s.length;C++){const f=s[C],w=f.fullTrace.filter(E=>h.has(E.fullType)||o&&o.has(E.type));if(w.length===0)if(u)p.push({label:"Unlabeled",value:f.value});else return;const B=w.map(E=>E.label),m=t.separator??" / ";p.push({label:B.join(m),value:f.value})}return p};if(n.length===0){if(a.length!==0)throw new Error("Non-empty secondary types list while main types list is empty.");return g(new Set(om),!0)}let c=0,d=-1;for(;c<n.length;){const h=new Set;t.includeNativeLabel&&h.add(om);for(let p=0;p<c;++p)h.add(n[p]);d>=0&&h.add(n[d]);const u=g(h);if(u!==void 0&&new Set(u.map(p=>p.label)).size===A.length)return u;d++,d>=n.length&&(c++,d=c)}return g(new Set([...n,...a]),!0)}const Ta="PColumnData/",wC=Ta+"ResourceMap",mC=Ta+"Partitioned/ResourceMap",Yl=Ta+"JsonPartitioned",sa=Ta+"BinaryPartitioned",kl=Ta+"ParquetPartitioned",aB=Ta+"Partitioned/",Od=aB+"JsonPartitioned",Gl=aB+"BinaryPartitioned",Vd=aB+"ParquetPartitioned",EC=A=>{if(A.endsWith(".index"))return{baseKey:A.substring(0,A.length-6),type:"index"};if(A.endsWith(".values"))return{baseKey:A.substring(0,A.length-7),type:"values"};throw new Error(`key must ends on .index/.values for binary p-column, got: ${A}`)};function rR(A){if(!A)return;const e=A.resourceType.name,t=A.getDataAsJson(),i=[];let o=0;switch(e){case wC:o=t.keyLength;break;case mC:o=t.partitionKeyLength+t.keyLength;break;case Yl:case sa:case kl:o=t.partitionKeyLength;break;case Gl:case Od:case Vd:o=t.superPartitionKeyLength+t.partitionKeyLength;break}switch(e){case wC:case Yl:case sa:case kl:for(let r of A.listInputFields()){e===sa&&(r=EC(r).baseKey);const s=[...JSON.parse(r)];i.push(s)}break;case mC:case Gl:case Od:case Vd:for(const r of A.listInputFields()){const s=[...JSON.parse(r)],n=A.resolve({field:r,assertFieldType:"Input"});if(n!==void 0)for(let a of n.listInputFields()){e===Gl&&(a=EC(a).baseKey);const l=[...s,...JSON.parse(a)];i.push(l)}}break}return{data:i,keyLength:o}}function sR(A){if(A.type!=="JsonPartitioned"&&A.type!=="BinaryPartitioned"&&A.type!=="ParquetPartitioned")throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${A.type}`);const{parts:e,partitionKeyLength:t}=A,i=[];for(let o=0;o<t;++o)i.push(new Set);for(const o of e){const r=o.key;if(r.length!==t)throw new Error(`Key length (${r.length}) does not match partition length (${t}) for key: ${JSON.stringify(r)}`);for(let s=0;s<t;++s)i[s].add(r[s])}return i.map(o=>Array.from(o.values()))}function nR(A){if(A===void 0)return;if(eB(A))return sR(A);const e=rR(A);if(!e)return;const{data:t,keyLength:i}=e,o=[];for(let r=0;r<i;++r)o.push(new Set);for(const r of t){if(r.length!==i)throw new Error("key length does not match partition length");for(let s=0;s<i;++s)o[s].add(r[s])}return o.map(r=>Array.from(r.values()))}function nd(A,e=[]){if(A===void 0||!A.getIsReadyOrError())return;const t=A.resourceType.name,i=A.getDataAsJson();if(e.length>0&&(t===Od||t===Gl||t===Vd))throw new Error(`Unexpected nested super-partitioned resource: ${t}`);switch(t){case wC:case mC:throw new Error(`Only data columns are supported, got: ${t}`);case Yl:{if(typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing partitionKeyLength in metadata for ${t}`);const o=[];for(const r of A.listInputFields()){const s=A.resolve({field:r,assertFieldType:"Input"});if(s===void 0)return;const n=[...e,...JSON.parse(r)];o.push({key:n,value:s})}return{type:"JsonPartitioned",partitionKeyLength:i.partitionKeyLength,parts:o}}case sa:{if(typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing partitionKeyLength in metadata for ${t}`);const o=[],r=new Map;for(const s of A.listInputFields()){const n=EC(s),a=A.resolve({field:s,assertFieldType:"Input"});if(a===void 0)return;let l=r.get(n.baseKey);l||(l={},r.set(n.baseKey,l)),n.type==="index"?l.index=a:l.values=a}for(const[s,n]of r.entries()){if(!n.index||!n.values)return;const a=[...e,...JSON.parse(s)];o.push({key:a,value:{index:n.index,values:n.values}})}return{type:"BinaryPartitioned",partitionKeyLength:i.partitionKeyLength,parts:o}}case kl:{if(typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing partitionKeyLength in metadata for ${t}`);const o=[];for(const r of A.listInputFields()){const s=A.resolve({field:r,assertFieldType:"Input"});if(s===void 0)return;const n=[...e,...JSON.parse(r)];o.push({key:n,value:s})}return{type:"ParquetPartitioned",partitionKeyLength:i.partitionKeyLength,parts:o}}case Od:{if(typeof(i==null?void 0:i.superPartitionKeyLength)!="number"||typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${t}`);const o=i.superPartitionKeyLength+i.partitionKeyLength,r=[];for(const s of A.listInputFields()){const n=A.resolve({field:s,assertFieldType:"Input"});if(n===void 0)return;if(n.resourceType.name!==Yl)throw new Error(`Expected ${Yl} inside ${t}, but got ${n.resourceType.name}`);const a=nd(n,JSON.parse(s));if(a===void 0)return;if(a.type!=="JsonPartitioned")throw new Error(`Unexpected inner result type for ${t}: ${a.type}`);r.push(...a.parts)}return{type:"JsonPartitioned",partitionKeyLength:o,parts:r}}case Gl:{if(typeof(i==null?void 0:i.superPartitionKeyLength)!="number"||typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${t}`);const o=i.superPartitionKeyLength+i.partitionKeyLength,r=[];for(const s of A.listInputFields()){const n=A.resolve({field:s,assertFieldType:"Input"});if(n===void 0)return;if(n.resourceType.name!==sa)throw new Error(`Expected ${sa} inside ${t}, but got ${n.resourceType.name}`);const a=nd(n,JSON.parse(s));if(a===void 0)return;if(a.type!=="BinaryPartitioned")throw new Error(`Unexpected inner result type for ${t}: ${a.type}`);r.push(...a.parts)}return{type:"BinaryPartitioned",partitionKeyLength:o,parts:r}}case Vd:{if(typeof(i==null?void 0:i.superPartitionKeyLength)!="number"||typeof(i==null?void 0:i.partitionKeyLength)!="number")throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${t}`);const o=i.superPartitionKeyLength+i.partitionKeyLength,r=[];for(const s of A.listInputFields()){const n=A.resolve({field:s,assertFieldType:"Input"});if(n===void 0)return;if(n.resourceType.name!==kl)throw new Error(`Expected ${kl} inside ${t}, but got ${n.resourceType.name}`);const a=nd(n,JSON.parse(s));if(a===void 0)return;if(a.type!=="ParquetPartitioned")throw new Error(`Unexpected inner result type for ${t}: ${a.type}`);r.push(...a.parts)}return{type:"ParquetPartitioned",partitionKeyLength:o,parts:r}}default:throw new Error(`Unknown resource type: ${t}`)}}function aR(A){if(A!==void 0){if(eB(A))return A;if(Wh(A))return uP(A);if(A instanceof Ui)return nd(A);throw new Error(`Unexpected input type: ${typeof A}`)}}function lR(A){const e=o=>Array.isArray(o),t=o=>o instanceof Ui;let i=!0;if(t(A.data))i&&(i=A.data.getIsReadyOrError());else if(Wh(A.data))dP(A.data,o=>i&&(i=o.getIsReadyOrError()));else if(!e(A.data))throw Error(`unsupported column data type: ${A.data}`);return i}function rm(A){return A.every(lR)}function gR(A){if(!Array.isArray(A))return!1;if(A.length===0)return!0;const e=A[0];return typeof e=="object"&&e!==null&&"key"in e&&"val"in e}class cR{constructor(e){PA(this,"columns");this.columns=e}selectColumns(e){const t=typeof e=="function"?e:wg(e);return this.columns.filter(i=>t(i.spec))}}function dR(A){if(A)return A.map(e=>({type:`split:${bP(e.axisId)}`,label:e.label,importance:1e6}))}function hR(A){if(A)return A.map(e=>[e.axisIdx,e.value])}function uR(A,e){if(!e||e.length===0)return A;const t=[...e].sort((i,o)=>i[0]-o[0]);return Pn({id:A,axisFilters:t})}function sm(A){if(!A||typeof A!="object")return!1;const e=A,t=e.domain&&typeof e.domain=="object"&&Object.values(e.domain).some(o=>typeof o=="object"&&o!==null&&"anchor"in o),i=e.axes&&Array.isArray(e.axes)&&e.axes.some(o=>typeof o=="object"&&o!==null&&"anchor"in o);return!!e.domainAnchor||t||i}function pR(A){if(typeof A!="object"||!("axes"in A)||A.axes===void 0)return[];const e=A.axes.map((t,i)=>typeof t=="object"&&"split"in t&&t.split===!0?i:-1).filter(t=>t!==-1);if(e.length>0&&A.partialAxesMatch!==void 0)throw new Error("Axis splitting is not supported when `partialAxesMatch` is defined.");return e.sort((t,i)=>t-i),e}class nm{constructor(){PA(this,"defaultProviderStore",[]);PA(this,"providers",[new cR(this.defaultProviderStore)]);PA(this,"axisLabelProviders",[])}addColumnProvider(e){return this.providers.push(e),this}addAxisLabelProvider(e){return this.axisLabelProviders.push(e),this}addColumns(e){return this.defaultProviderStore.push(...e),this}addColumn(e){return this.defaultProviderStore.push(e),this}findLabels(e){for(const t of this.axisLabelProviders){const i=t.findLabels(e);if(i)return i}}getUniversalEntries(e,t){const{anchorCtx:i,labelOps:o,dontWaitAllData:r=!1,overrideLabelAnnotation:s=!1,exclude:n}=t??{},a={...s&&(o==null?void 0:o.includeNativeLabel)!==!1?{includeNativeLabel:!0}:{},...o??{}};let l=()=>!1;if(n){const p=(Array.isArray(n)?n:[n]).map(C=>{if(sm(C)){if(!i)throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");return wg(Am(i.anchors,C,t))}else return wg(C)});l=C=>p.some(f=>f(C))}const g=typeof e=="function"?[e]:Array.isArray(e)?e:[e],c=[],d=new Set;for(const p of g){const C=sm(p);let f;if(C){if(!i)throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");f=Am(i.anchors,p,t)}else f=p;const w=new Set,B=[];for(const v of this.providers){const M=v.selectColumns(f);for(const D of M){if(l(D.spec))continue;if(w.has(D.id))throw new Error(`Duplicate column id ${D.id} in provider ${v.constructor.name}`);const Q=HP(D.spec);d.has(Q)||(w.add(D.id),d.add(Q),B.push(D))}}if(B.length===0)continue;const m=pR(p),E=m.length>0;for(const v of B){if(!ls(v.spec))continue;const M=v.spec;if(E){if(gR(v.data))throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${v.id}`);const D=aR(v.data);if(!D){if(r)continue;return}if(!hP(D))throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${D.type} for column ${v.id}`);const Q=nR(D),H=m[m.length-1];if(H>=D.partitionKeyLength)throw new Error(`Not enough partition keys (${D.partitionKeyLength}) for requested split axes (max index ${H}) in column ${M.name}`);const G=m.map(z=>this.findLabels(Co(M.axesSpec[z]))),F=[],_=(z,X)=>{if(X>=m.length){if(F.push([...z]),F.length>1e4)throw new Error("Too many key combinations, aborting.");return}const eA=m[X];if(eA>=Q.length)throw new Error(`Axis index ${eA} out of bounds for unique keys array (length ${Q.length}) during split key generation for column ${v.id}`);const lA=Q[eA];if(!lA||lA.length===0){F.length=0;return}for(const bA of lA)z.push(bA),_(z,X+1),z.pop()};if(_([],0),F.length===0)continue;const T=[...M.axesSpec],y=m.map(z=>z);for(let z=m.length-1;z>=0;z--)T.splice(m[z],1);const U={...M,axesSpec:T};for(const z of F){const X=z.map((eA,lA)=>{const bA=y[lA],vA=Co(M.axesSpec[bA]),YA=G[lA],uA=(YA==null?void 0:YA[eA])??String(eA);return{axisIdx:bA,axisId:vA,value:eA,label:uA}});c.push({type:"split",originalColumn:v,spec:M,adjustedSpec:U,dataEntries:D,axisFilters:X})}}else c.push({type:"direct",originalColumn:v,spec:M,adjustedSpec:M})}}if(c.length===0)return[];const h=GQ(c,p=>({spec:p.spec,suffixTrace:p.type==="split"?dR(p.axisFilters):void 0}),a),u=[];for(const{value:p,label:C}of h){const{originalColumn:f,spec:w}=p,B=p.type==="split"?p.axisFilters:void 0,m=hR(B);let E;i?E=i.deriveS(w,m):E=uR(f.id,m);let v={...p.adjustedSpec};s&&(v={...v,annotations:{...v.annotations??{},[ee.Label]:C}}),u.push({id:E,spec:v,data:()=>p.type==="split"?pP(AR(p.dataEntries,m)):p.originalColumn.data,label:C})}return u}getColumns(e,t){const i=this.getUniversalEntries(e,{overrideLabelAnnotation:!0,...t??{}});if(!i)return;const o=[];for(const r of i){const s=r.data();if(!s){if(t!=null&&t.dontWaitAllData)continue;return}o.push({id:r.id,spec:r.spec,data:s})}return o}}function am(A){const e=o=>o.operator!=="InSet"?o:{operator:"Or",operands:o.references.map(r=>({operator:"Equal",reference:r}))},t=(o,r)=>{switch(o.operator){case"And":return{...o,operands:o.operands.map(n=>t(n,r))};case"Or":return{...o,operands:o.operands.map(n=>t(n,r))};case"Not":return{...o,operand:t(o.operand,r)};default:return r(o)}},i=(o,r)=>({...o,predicate:t(o.predicate,r)});return A.map(o=>i(o,e))}function rp(A,e){if(A===void 0)return e===void 0;if(e===void 0)return!0;for(const t in e)if(A[t]!==e[t])return!1;return!0}function lm(A){return nB(A,e=>e instanceof Ui?e.handle:Wh(e)?cP(e,t=>t.handle):e)}class CR{constructor(){PA(this,"ctx",ce())}calculateOptions(e){return this.ctx.calculateOptions(e)}getOptions(e,t){const i=typeof e=="function"?e:wg(e),o=this.getSpecs().entries.filter(n=>i(n.obj));let r={},s=!1;return typeof t<"u"&&(typeof t=="function"?r=t:typeof t=="object"&&("includeNativeLabel"in t||"separator"in t||"addLabelAsSuffix"in t?r=t:(t=t,r=t.label??{},s=t.refsWithEnrichments??!1))),typeof r=="object"?GQ(o,n=>n.obj,r??{}).map(({value:{ref:n},label:a})=>({ref:im(n,s),label:a})):o.map(({ref:n,obj:a})=>({ref:im(n,s),label:r(a,n)}))}resolveAnchorCtx(e){if(e instanceof $w)return e;const t={};for(const[i,o]of Object.entries(e))if(qP(o)){const r=this.getPColumnSpecByRef(o);if(!r)return;t[i]=r}else t[i]=o;return new $w(t)}getAnchoredPColumns(e,t,i){const o=this.resolveAnchorCtx(e);if(o)return new nm().addColumnProvider(this).addAxisLabelProvider(this).getColumns(t,{...i,anchorCtx:o})}getCanonicalOptions(e,t,i){const o=this.resolveAnchorCtx(e);if(!o)return;const r=new nm().addColumnProvider(this).addAxisLabelProvider(this).getUniversalEntries(t,{...i,anchorCtx:o});if(r)return r.map(s=>({value:s.id,label:s.label}))}getDataFromResultPool(){return this.getData()}getData(){const e=this.ctx.getDataFromResultPool();return{isComplete:e.isComplete,entries:e.entries.map(t=>({ref:t.ref,obj:{...t.obj,data:new Ui(t.obj.data,[t.ref.blockId,t.ref.name])}}))}}getDataWithErrorsFromResultPool(){return this.getDataWithErrors()}getDataWithErrors(){const e=this.ctx.getDataWithErrorsFromResultPool();return{isComplete:e.isComplete,entries:e.entries.map(t=>({ref:t.ref,obj:{...t.obj,data:ZP(t.obj.data,i=>new Ui(i,[t.ref.blockId,t.ref.name]))}}))}}getSpecsFromResultPool(){return this.getSpecs()}getSpecs(){return this.ctx.getSpecsFromResultPool()}getDataByRef(e){var i;if(typeof this.ctx.getDataFromResultPoolByRef>"u")return(i=this.getData().entries.find(o=>o.ref.blockId===e.blockId&&o.ref.name===e.name))==null?void 0:i.obj;const t=this.ctx.getDataFromResultPoolByRef(e.blockId,e.name);if(t)return nB(t,o=>new Ui(o,[e.blockId,e.name]))}getPColumnByRef(e){const t=this.getDataByRef(e);if(t)return LP(t)}getPColumnSpecByRef(e){const t=this.getSpecByRef(e);if(t){if(!ls(t))throw new Error(`not a PColumn spec (kind = ${t.kind})`);return t}}getSpecByRef(e){return this.ctx.getSpecFromResultPoolByRef(e.blockId,e.name)}findDataWithCompatibleSpec(e){const t=[];A:for(const i of this.getData().entries){if(!ls(i.obj.spec))continue;const o=i.obj.spec;if(e.name===o.name&&e.valueType===o.valueType&&e.axesSpec.length===o.axesSpec.length&&rp(e.domain,o.domain)){for(let r=0;r<e.axesSpec.length;++r){const s=e.axesSpec[r],n=o.axesSpec[r];if(s.name!==n.name||s.type!==n.type||!rp(s.domain,n.domain))continue A}t.push(i.obj)}}return t}findLabels(e){const t=this.getData();for(const i of t.entries){if(!sB(i.obj))continue;const o=i.obj.spec;if(o.name===oB.Label&&o.axesSpec.length===1&&o.axesSpec[0].name===e.name&&o.axesSpec[0].type===e.type&&rp(e.domain,o.axesSpec[0].domain)){if(i.obj.data.resourceType.name!=="PColumnData/Json")throw Error(`Expected JSON column for labels, got: ${i.obj.data.resourceType.name}`);return Object.fromEntries(Object.entries(i.obj.data.getDataAsJson().data).map(s=>[JSON.parse(s[0])[0],s[1]]))}}}selectColumns(e){const t=typeof e=="function"?e:wg(e);return this.getSpecs().entries.filter(({obj:o})=>ls(o)?t(o):!1).map(({ref:o,obj:r})=>{const s=r;let n=null;const a=this;return{id:Pn(o),spec:s,get data(){var l;return n!==null||(n=(l=a.getPColumnByRef(o))==null?void 0:l.data),n}}})}findLabelsForColumnAxis(e,t){const i=this.findLabels(e.axesSpec[t]);if(!i)return;const o=as(e,`pl7.app/axisKeys/${t}`);if(o!==void 0){const r=JSON.parse(o);return Object.fromEntries(r.map(s=>[s,i[s]??"Unlabelled"]))}else return i}}class xc{constructor(){PA(this,"ctx");PA(this,"_argsCache");PA(this,"_uiStateCache");PA(this,"_activeArgsCache");PA(this,"resultPool",new CR);this.ctx=ce()}get args(){if(this._argsCache===void 0){const e=this.ctx.args,t=typeof e=="function"?e():e;this._argsCache={v:JSON.parse(t)}}return this._argsCache.v}get uiState(){if(this._uiStateCache===void 0){const e=this.ctx.uiState,t=typeof e=="function"?e():e;this._uiStateCache={v:t?JSON.parse(t):{}}}return this._uiStateCache.v}get activeArgs(){if(this._activeArgsCache===void 0){const e=this.ctx.activeArgs,t=typeof e=="function"?e():e;this._activeArgsCache={v:t?JSON.parse(t):void 0}}return this._activeArgsCache.v}getNamedAccessor(e){return BC(this.ctx.getAccessorHandleByName(e),t=>new Ui(t,[e]))}get prerun(){return this.getNamedAccessor(_P)}get outputs(){return this.getNamedAccessor($P)}findLabels(e){return this.resultPool.findLabels(e)}verifyInlineAndExplicitColumnsSupport(e){var o;const t=e.some(r=>!(r.data instanceof Ui)||Wh(r.data)),i=((o=this.ctx.featureFlags)==null?void 0:o.inlineColumnsSupport)===!0;if(t&&!i)throw Error("Inline or explicit columns not supported")}patchPTableDef(e){var t,i;return(t=this.ctx.featureFlags)!=null&&t.pTablePartitionFiltersSupport||(e={...e,partitionFilters:[],filters:[...e.partitionFilters,...e.filters]}),(i=this.ctx.featureFlags)!=null&&i.pFrameInSetFilterSupport||(e={...e,partitionFilters:am(e.partitionFilters),filters:am(e.filters)}),e}createPFrame(e){if(this.verifyInlineAndExplicitColumnsSupport(e),!!rm(e))return this.ctx.createPFrame(e.map(t=>lm(t)))}createPTable(e){let t;"columns"in e?t=this.patchPTableDef({src:{type:"full",entries:e.columns.map(o=>({type:"column",column:o}))},partitionFilters:e.filters??[],filters:[],sorting:e.sorting??[]}):t=this.patchPTableDef(e);const i=UP(t.src);if(this.verifyInlineAndExplicitColumnsSupport(i),!!rm(i))return this.ctx.createPTable(YP(t,o=>lm(o)))}getBlockLabel(e){return this.ctx.getBlockLabel(e)}getCurrentUnstableMarker(){return this.ctx.getCurrentUnstableMarker()}logInfo(e){this.ctx.logInfo(e)}logWarn(e){this.ctx.logWarn(e)}logError(e){this.ctx.logError(e)}}var fR="1.45.26";const ad=fR;function BR(A){return A.__renderLambda===!0}function sp(A){if(A!==void 0)return BR(A)?A.handle:A}const st=class st{constructor(e,t,i,o,r,s,n,a,l){PA(this,"_renderingMode");PA(this,"_initialArgs");PA(this,"_initialUiState");PA(this,"_outputs");PA(this,"_inputsValid");PA(this,"_sections");PA(this,"_title");PA(this,"_enrichmentTargets");PA(this,"_featureFlags");this._renderingMode=e,this._initialArgs=t,this._initialUiState=i,this._outputs=o,this._inputsValid=r,this._sections=s,this._title=n,this._enrichmentTargets=a,this._featureFlags=l}static create(e="Heavy"){return new st(e,void 0,{},{},ep(!0),ep([]),void 0,void 0,{...st.INITIAL_BLOCK_FEATURE_FLAGS})}output(e,t,i={}){if(typeof t=="function"){const o=`output#${e}`;return _a(o,()=>t(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,{...this._outputs,[e]:{__renderLambda:!0,handle:o,...i}},this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}else return new st(this._renderingMode,this._initialArgs,this._initialUiState,{...this._outputs,[e]:t},this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}retentiveOutput(e,t){return this.output(e,t,{retentive:!0})}argsValid(e){return typeof e=="function"?(_a("inputsValid",()=>e(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,{__renderLambda:!0,handle:"inputsValid"},this._sections,this._title,this._enrichmentTargets,this._featureFlags)):new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,e,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}sections(e){return Array.isArray(e)?this.sections(ep(e)):typeof e=="function"?(_a("sections",()=>e(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,{__renderLambda:!0,handle:"sections"},this._title,this._enrichmentTargets,this._featureFlags)):new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,e,this._title,this._enrichmentTargets,this._featureFlags)}title(e){return _a("title",()=>e(new xc)),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,this._sections,{__renderLambda:!0,handle:"title"},this._enrichmentTargets,this._featureFlags)}initialArgs(e){return new st(this._renderingMode,e,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}withArgs(e){return new st(this._renderingMode,e,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}withUiState(e){return new st(this._renderingMode,this._initialArgs,e,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,this._featureFlags)}withFeatureFlags(e){return new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,this._enrichmentTargets,{...this._featureFlags,...e})}enriches(e){return _a("enrichmentTargets",e),new st(this._renderingMode,this._initialArgs,this._initialUiState,this._outputs,this._inputsValid,this._sections,this._title,{__renderLambda:!0,handle:"enrichmentTargets"},this._featureFlags)}done(e){const t=e??1;return this.withFeatureFlags({...this._featureFlags,requiresUIAPIVersion:t})._done(t)}_done(e){if(this._initialArgs===void 0)throw new Error("Initial arguments not set.");const t={v3:{sdkVersion:ad,renderingMode:this._renderingMode,initialArgs:this._initialArgs,initialUiState:this._initialUiState,inputsValid:this._inputsValid,sections:this._sections,title:this._title,outputs:this._outputs,enrichmentTargets:this._enrichmentTargets,featureFlags:this._featureFlags},sdkVersion:ad,renderingMode:this._renderingMode,initialArgs:this._initialArgs,inputsValid:sp(this._inputsValid),sections:sp(this._sections),outputs:Object.fromEntries(Object.entries(this._outputs).map(([i,o])=>[i,sp(o)]))};return globalThis.platformaApiVersion=e,i5()?CQ({sdkVersion:ad,apiVersion:platformaApiVersion}):{config:t}}};PA(st,"INITIAL_BLOCK_FEATURE_FLAGS",{supportsLazyState:!0,requiresUIAPIVersion:1,requiresModelAPIVersion:1});let vC=st;function gm(A){return A.axesSpec.length===1&&A.name===oB.Label}function wR(A){return!!iB(A,ee.IsLinkerColumn)}function mR({selection:A,columnId:e=XP(),label:t="Selection marker",domain:i}){if(!(A!=null&&A.axesSpec.length))return;const o=A.selectedKeys.filter(r=>r.every(s=>!SP(s))).map(r=>({key:r,val:1}));if(o.length)return{id:e,spec:{kind:"PColumn",valueType:Ci.Int,name:oB.Table.RowSelection,axesSpec:A.axesSpec,...i&&Object.keys(i).length&&{domain:i},annotations:{[ee.Label]:t,[ee.DiscreteValues]:mP([1])}},data:o}}function ER(){return platformaApiVersion??1}function Er(){return CQ({sdkVersion:ad,apiVersion:platformaApiVersion})}var Mc={exports:{}},cm;function vR(){return cm||(cm=1,function(A,e){e=A.exports=t,e.getSerialize=i;function t(o,r,s,n){return JSON.stringify(o,i(r,n),s)}function i(o,r){var s=[],n=[];return r==null&&(r=function(a,l){return s[0]===l?"[Circular ~]":"[Circular ~."+n.slice(0,s.indexOf(l)).join(".")+"]"}),function(a,l){if(s.length>0){var g=s.indexOf(this);~g?s.splice(g+1):s.push(this),~g?n.splice(g,1/0,a):n.push(a),~s.indexOf(l)&&(l=r.call(this,a,l))}else s.push(l);return o==null?l:o.call(this,a,l)}}}(Mc,Mc.exports)),Mc.exports}vR();const IR=q.object({type:q.literal("PlError"),name:q.string(),message:q.string(),fullMessage:q.string().optional(),stack:q.string().optional()}),QR=IR.extend({cause:q.lazy(()=>jd).optional(),errors:q.lazy(()=>jd.array()).optional()}),DR=q.object({type:q.literal("StandardError"),name:q.string(),message:q.string(),stack:q.string().optional()}),bR=DR.extend({cause:q.lazy(()=>jd).optional(),errors:q.lazy(()=>jd.array()).optional()}),jd=q.union([bR,QR]),xR=q.object({name:q.string(),message:q.string(),fullMessage:q.string().optional(),stack:q.string().optional()}),dm=xR.extend({cause:q.lazy(()=>dm).optional(),errors:q.lazy(()=>dm.array()).optional()});function MR(A){if(typeof globalThis.getEnvironmentValue=="function")return globalThis.getEnvironmentValue(A)}const hm=Array.isArray;function um(A){return A!==null&&typeof A=="object"}function FR(A){return typeof A=="object"&&A!==null}function IC(A){if(!FR(A))return!1;const e=Object.getPrototypeOf(A);return e===null||e===Object.prototype||Object.getPrototypeOf(e)===null}function pm(A){return Object.values(A).reduce((e,t)=>t!==void 0?e+1:e,0)}function kt(A,e){if(!(um(A)&&um(e)))return A===e;if(hm(A)&&hm(e))return A.length!==e.length?!1:[...A.keys()].every(t=>kt(A[t],e[t]));if(IC(A)&&IC(e))return pm(A)!==pm(e)?!1:Object.keys(A).every(t=>kt(A[t],e[t]));throw Error(`Cannot compare a ${String(A)} and b ${String(e)}`)}function nt(A){if(Array.isArray(A)){const e=[];for(let t=0;t<A.length;t++)e[t]=nt(A[t]);return e}else if(IC(A)){const e={};return Object.keys(A).forEach(t=>{e[t]=nt(A[t])}),e}else return A}var yR=Object.defineProperty,SR=(A,e,t)=>e in A?yR(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t,QC=(A,e,t)=>SR(A,typeof e!="symbol"?e+"":e,t);let PR=class extends Error{constructor(){super(...arguments),QC(this,"name","UnresolvedError")}};const RR=A=>Array.isArray(A)?A:A?[A]:[];let lB=class extends Error{constructor(e){e=RR(e),super(e.map(t=>typeof t=="string"?t:t.message).join(`
|
|
18
18
|
`)),QC(this,"name","MultiError"),QC(this,"fullMessage"),this.errors=e,this.fullMessage=e.map(t=>typeof t=="string"?t:t.type=="PlError"&&"fullMessage"in t?t.fullMessage:t.message).join(`
|
|
19
19
|
`)}};function TQ(A){if(!A)throw new PR;if(!A.ok)throw new lB(A.errors);return A.value}const LQ=A=>A,UQ=A=>A instanceof Error?A:Error(String(A)),HQ=A=>A.name==="ZodError",NQ=A=>{const{formErrors:e,fieldErrors:t}=A.flatten(),i=Object.entries(t).map(([o,r])=>o+":"+(r==null?void 0:r.join(",")));return e.concat(i).join("; ")};function Jd(A){const e=A.validate??LQ,{autoSave:t}=A,i=RA(),o=RA(),r=u=>{o.value={model:nt(u)}};ae(()=>A.get(),u=>r(u),{immediate:!0});const s=()=>{var u;A.onSave(e(nt((u=o.value)==null?void 0:u.model)))},n=()=>{r(A.get()),i.value=void 0},a=u=>{const p=UQ(u);HQ(p)?i.value=Error(NQ(p)):i.value=p},l=u=>{i.value=void 0;try{e(u),t&&s()}catch(p){a(p)}},g=K({get:()=>{var u;return(u=o.value)==null?void 0:u.model},set(u){r(u),l(u)}});ae(o,(u,p)=>{u&&u===p&&l(u.model)},{deep:!0});const c=K(()=>!i.value),d=K(()=>!kt(A.get(),N(o))),h=K(()=>i.value?i.value.message:"");return ke({model:g,valid:c,isChanged:d,error:i,errorString:h,save:s,revert:n,setError:a})}function YR(A,e,t){const i=A.validate??LQ,{autoSave:o}=A,r=RA(),s=RA(),n=C=>{s.value={model:Object.assign(nt(C),e??{}),stage:Symbol()}};ae(()=>A.get(),C=>n(C),{immediate:!0});const a=()=>{var C;return A.onSave(i(nt((C=s.value)==null?void 0:C.model)))},l=()=>{n(A.get()),r.value=void 0},g=C=>{const f=UQ(C);HQ(f)?r.value=Error(NQ(f)):r.value=f},c=C=>{r.value=void 0;try{i(C),o&&a()}catch(f){g(f)}},d=K({get:()=>{var C;return(C=s.value)==null?void 0:C.model},set(){throw Error("Cannot replace base model")}});ae([()=>({args:d.value.args,ui:d.value.ui}),()=>{var C;return(C=s.value)==null?void 0:C.stage}],([C,f],[w,B])=>{f===B&&c(C)},{deep:!0});const h=K(()=>!r.value),u=K(()=>{var C;const{args:f,ui:w}=((C=N(s))==null?void 0:C.model)??{};return!kt(A.get(),{args:f,ui:w})}),p=K(()=>r.value?r.value.message:"");return ke({model:d,valid:h,isChanged:u,error:r,errorString:p,save:a,revert:l,setError:g})}const zQ=A=>Object.fromEntries(new URL(A,"http://dummy").searchParams);function Wd(A){return Wv()?(P3(A),!0):!1}const Kd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const DC=()=>{};function OQ(A,e){function t(...i){return new Promise((o,r)=>{Promise.resolve(A(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(o).catch(r)})}return t}const kR=A=>A();function GR(A,e={}){let t,i,o=DC;const r=a=>{clearTimeout(a),o(),o=DC};let s;return a=>{const l=Md(A),g=Md(e.maxWait);return t&&r(t),l<=0||g!==void 0&&g<=0?(i&&(r(i),i=null),Promise.resolve(a())):new Promise((c,d)=>{o=e.rejectOnCancel?d:c,s=a,g&&!i&&(i=setTimeout(()=>{t&&r(t),i=null,c(s())},g)),t=setTimeout(()=>{i&&r(i),i=null,c(a())},l)})}}function np(A,e=200,t={}){return OQ(GR(e,t),A)}function TR(A,e=1e3,t={}){const{immediate:i=!0,immediateCallback:o=!1}=t;let r=null;const s=Qr(!1);function n(){r&&(clearInterval(r),r=null)}function a(){s.value=!1,n()}function l(){const g=Md(e);g<=0||(s.value=!0,o&&A(),n(),s.value&&(r=setInterval(A,g)))}if(i&&Kd&&l(),Ve(e)||typeof e=="function"){const g=ae(e,()=>{s.value&&Kd&&l()});Wd(g)}return Wd(a),{isActive:cI(s),pause:a,resume:l}}function LR(A,e,t={}){const{immediate:i=!0,immediateCallback:o=!1}=t,r=Qr(!1);let s=null;function n(){s&&(clearTimeout(s),s=null)}function a(){r.value=!1,n()}function l(...g){o&&A(),n(),r.value=!0,s=setTimeout(()=>{r.value=!1,s=null,A(...g)},Md(e))}return i&&(r.value=!0,Kd&&l()),Wd(a),{isPending:cI(r),start:l,stop:a}}function UR(A,e,t={}){const{eventFilter:i=kR,...o}=t,r=OQ(i,e);let s,n,a;if(o.flush==="sync"){const l=Qr(!1);n=()=>{},s=g=>{l.value=!0,g(),l.value=!1},a=ae(A,(...g)=>{l.value||r(...g)},o)}else{const l=[],g=Qr(0),c=Qr(0);n=()=>{g.value=c.value},l.push(ae(A,()=>{c.value++},{...o,flush:"sync"})),s=d=>{const h=c.value;d(),g.value+=c.value-h},l.push(ae(A,(...d)=>{const h=g.value>0&&g.value===c.value;g.value=0,c.value=0,!h&&r(...d)},o)),a=()=>{l.forEach(d=>d())}}return{stop:a,ignoreUpdates:s,ignorePrevAsyncUpdates:n}}function HR(A,e,t){return ae(A,(o,r,s)=>{o&&e(o,r,s)},{...t,once:!1})}function NR(A,e,t){let i;Ve(t)?i={evaluating:t}:i={};const{lazy:o=!1,flush:r="pre",evaluating:s=void 0,shallow:n=!0,onError:a=DC}=i,l=Qr(!o),g=n?Qr(e):RA(e);let c=0;return Jy(async d=>{if(!l.value)return;c++;const h=c;let u=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const p=await A(C=>{d(()=>{s&&(s.value=!1),u||C()})});h===c&&(g.value=p)}catch(p){a(p)}finally{s&&h===c&&(s.value=!1),u=!0}},{flush:r}),o?K(()=>(l.value=!0,g.value)):g}function zR(A,e,t={}){const{immediate:i=!0,immediateCallback:o=!1}=t,{start:r}=LR(n,e,{immediate:i}),s=Qr(!1);async function n(){s.value&&(await A(),r())}function a(){s.value||(s.value=!0,o&&A(),r())}function l(){s.value=!1}return i&&Kd&&a(),Wd(l),{isActive:s,pause:l,resume:a}}function OR(A,e,t){const i=(w,...B)=>{t.debug&&console.log(`%c>>> %c${w}`,"color: orange; font-weight: bold","color: orange",...B)},o=ke({args:Object.freeze(A.args),outputs:Object.freeze(A.outputs),ui:Object.freeze(A.ui),navigationState:Object.freeze(A.navigationState)}),r=t.debounceSpan??200,s=e5(t.debounceMaxWait??0,w=>w<2e4?2e4:w<r?r*100:w),n=np(w=>{kt(w,o.args)||e.setBlockArgs(w)},r,{maxWait:s}),a=np(w=>{kt(w,o.ui)||e.setBlockUiState(w)},r,{maxWait:s}),l=np((w,B)=>{(!kt(w,o.args)||!kt(B,o.ui))&&e.setBlockArgsAndUiState(w,B)},r,{maxWait:s});e.onStateUpdates(async w=>{w.forEach(B=>{B.key==="args"&&!kt(o.args,B.value)&&(o.args=Object.freeze(B.value),i("args patch",o.args)),B.key==="ui"&&!kt(o.ui,B.value)&&(o.ui=Object.freeze(B.value),i("ui patch",o.ui)),B.key==="outputs"&&!kt(o.outputs,B.value)&&(o.outputs=Object.freeze(B.value),i("outputs patch",o.outputs)),B.key==="navigationState"&&!kt(o.navigationState,B.value)&&(o.navigationState=Object.freeze(B.value),i("navigationState patch",o.navigationState))}),await Uh()});const g=()=>nt(o.args),c=()=>nt(o.ui),d=()=>nt(o.navigationState),h={createArgsModel(w={}){return Jd({get(){return w.transform?w.transform(o.args):o.args},validate:w.validate,autoSave:!0,onSave(B){n(B)}})},createUiModel(w={},B){return Jd({get(){return w.transform?w.transform(o.ui):o.ui??B()},validate:w.validate,autoSave:!0,onSave(m){a(m)}})},useOutputs(...w){const B=ke({errors:void 0,value:void 0});return ae(()=>o.outputs,()=>{try{Object.assign(B,{value:this.unwrapOutputs(...w),errors:void 0})}catch(m){Object.assign(B,{value:void 0,errors:[String(m)]})}},{immediate:!0,deep:!0}),B},unwrapOutputs(...w){const B=o.outputs,m=w.map(E=>[E,TQ(B[E])]);return Object.fromEntries(m)},updateArgs(w){const B=g();return w(B),e.setBlockArgs(B)},updateUiState(w){const B=c();return e.setBlockUiState(w(B))},updateNavigationState(w){const B=d();return w(B),e.setNavigationState(B)},navigateTo(w){const B=d();return B.href=w,e.setNavigationState(B)}},u=K(()=>{const w=Object.entries(o.outputs).map(([B,m])=>[B,m.ok&&m.value!==void 0?m.value:void 0]);return Object.fromEntries(w)}),p=K(()=>{const w=Object.entries(o.outputs).map(([B,m])=>[B,m&&m.ok===!1?new lB(m.errors):void 0]);return Object.fromEntries(w)}),C={snapshot:o,queryParams:K(()=>zQ(o.navigationState.href)),href:K(()=>o.navigationState.href),hasErrors:K(()=>Object.values(o.outputs).some(w=>!(w!=null&&w.ok)))},f=YR({get(){return{args:o.args,ui:o.ui}},autoSave:!0,onSave(w){l(w.args,w.ui)}},{outputs:u,outputErrors:p});return ke(Object.assign(f,h,C))}function VR(A,e){return A=Math.ceil(A),e=Math.floor(e),Math.floor(Math.random()*(e-A))+A}function jR(A){let e="";for(let t=0;t<A;t++)e+=String.fromCharCode(VR(65,91));return e}function VQ(A=42){return jR(A)}/*!
|
|
20
20
|
* https://github.com/Starcounter-Jack/JSON-Patch
|
|
@@ -443,7 +443,7 @@ ${mnA(()=>JSON.stringify(A,null,4),()=>String(A))}`}const saA=VA({__name:"LongTe
|
|
|
443
443
|
.pl-ag-chart-histogram-cell{height:100%;display:flex;flex-direction:row;align-items:center}.pl-ag-chart-histogram-cell__not-ready{color:var(--txt-03)!important}
|
|
444
444
|
.pl-ag-cell-status-tag{height:100%;padding:0 12px}
|
|
445
445
|
.pl-ag-column-header{cursor:pointer;width:100%;overflow:hidden}.pl-ag-column-header .mask-16{min-width:16px}.pl-ag-column-header span{word-break:break-word;overflow:hidden;text-overflow:ellipsis}.pl-ag-column-header__title{overflow:hidden}.pl-ag-column-header__type-icon{--icon-color: var(--txt-03)}.pl-ag-column-header__menu-icon{transform:rotate(90deg);position:relative;line-height:0}
|
|
446
|
-
.pl-ag-grid-open-cell{align-items:center}.pl-ag-grid-open-cell__activator{position:absolute;right:8px;border-radius:4px;border:1px solid var(--border-color-div-grey);padding:4px 6px 4px 4px;gap:3px;cursor:pointer;display:none;background-color:var(--ic-00);opacity:1}.pl-ag-grid-open-cell__activator:hover{background-color:#eff2f7}.pl-ag-grid-open-cell__activator:active{background-color:#e7ebf3}.pl-ag-grid-open-cell__value{text-overflow:ellipsis;overflow:hidden}.ag-row-hover .pl-ag-grid-open-cell__activator{display:flex}`)),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_1vnon_2{display:flex;flex-direction:column;gap:4px}._container_1vnon_2 svg{display:block}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_5klj5_2{display:flex;flex-wrap:wrap;gap:12px;max-inline-size:fit-content}._item_5klj5_9{display:flex;gap:4px}._colorSample_5klj5_14{display:inline-block;block-size:18px;inline-size:18px;border-radius:3px}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_1uo2b_2 svg{display:block}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_1uo2b_2 svg{display:block}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._root_34869_2{display:flex;flex-direction:column;gap:12px;min-block-size:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;container-type:inline-size}._root_34869_2[data-pre-print]{container-type:unset}._root_34869_2[data-pre-print] ._sidebar_34869_14{max-inline-size:unset}._referenceCell_34869_20{position:fixed;visibility:hidden;font-family:Spline Sans Mono;font-weight:600;line-height:var(--e405b06c)}._table_34869_28{display:grid;grid-template-columns:[sidebar-start] auto [sidebar-end] repeat(var(--0c44921e),[column-start] auto [column-end]);grid-template-rows:[header-start] auto [header-end] repeat(var(--6aab37c6),[row-start] auto [row-end]);justify-content:start;position:relative}@media print{._table_34869_28{overflow:visible}}._sidebar_34869_14{grid-column:sidebar;grid-row:1 row-start / -1 row-end;display:grid;grid-template-rows:subgrid;position:sticky;inset-inline-start:0;background-color:#fff;inline-size:min-content;max-inline-size:30cqi;overflow:scroll;overscroll-behavior-inline:none;scrollbar-width:none}._phylogeneticTree_34869_60{grid-row:1 row-start / -1 row-end}._labels_34869_64{grid-row:1 row-start / -1 row-end;display:grid;grid-template-columns:repeat(var(--2e72cab4),auto);grid-template-rows:subgrid;grid-auto-flow:column;column-gap:12px;padding-inline-end:12px;font-family:Spline Sans Mono;line-height:var(--e405b06c);white-space:nowrap}._sequenceColumn_34869_77{grid-row:header-start / -1 row-end;display:grid;grid-template-rows:subgrid}._sequenceColumn_34869_77+._sequenceColumn_34869_77{margin-inline-start:24px}._sequenceHeader_34869_86{grid-row:header;display:flex;flex-direction:column;justify-content:end;min-inline-size:0;position:sticky;inset-block-start:0;background-color:#fff}._sequenceName_34869_97{margin-block-end:4px;font-weight:700;line-height:20px;inline-size:fit-content;position:sticky;inset-inline-start:var(--1ad5abe9)}._sequenceRowsContainer_34869_106{grid-row:1 row-start / -1 row-end;display:grid;grid-template-rows:subgrid}._sequenceRow_34869_106{font-family:Spline Sans Mono;font-weight:600;line-height:var(--e405b06c);letter-spacing:var(--3c16a76c);text-indent:calc(var(--3c16a76c) / 2);inline-size:calc-size(min-content,round(down,size,var(--1406981e)));white-space:nowrap}._corner_34869_125{grid-column:sidebar;grid-row:header;position:sticky;inset-inline-start:0;inset-block-start:0;background-color:#fff}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_ypn45_2{display:flex;flex-direction:column;gap:24px}._line_ypn45_8{display:flex;justify-content:space-between}._section_ypn45_13{display:flex;flex-wrap:wrap;gap:24px}._buttons_ypn45_19,._pendingChanges_ypn45_23{display:flex}._pendingChanges_ypn45_23 button{min-width:160px}._resetButton_ypn45_30{margin-block-start:auto}._resetButton_ypn45_30 span{text-transform:none}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._splash_dk8xp_2{flex:1;display:flex;flex-direction:column;gap:12px;overflow:hidden}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode(":root{--txt-00: #ffffff;--txt-01: light-dark(#110529, #ffffff);--txt-02: #231842;--txt-03: #9d9eae;--txt-mask: #cfd1db;--txt-focus: #07ad3e;--txt-error: #f1222f;--txt-link: #5f31cc;--ic-00: #ffffff;--ic-01: #110529;--ic-02: #cfd1db;--ic-accent: #07ad3e;--border-color-default: #110529;--border-color-hover: #231842;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #e1e3eb;--border-color-div-bw: #ffffff;--btn-accent-default: #845cff;--btn-accent-hover: #9470ff;--btn-accent-press: #6f4dd6;--btn-primary-default: #110529;--btn-primary-hover: #231842;--btn-primary-press: #080214;--btn-sec-hover-white: rgba(255, 255, 255, .5);--btn-sec-hover-grey: light-dark(rgba(155, 171, 204, .16), rgba(131, 131, 163, .16));--btn-sec-press-grey: rgba(155, 171, 204, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--btn-accent-positive-500: #ECFBE5;--dis-00: #ffffff;--dis-01: light-dark(#cfd1db, #3d3d42);--bg-base-dark: #110529;--bg-base-light: #f7f8fa;--bg-elevated-01: #ffffff;--bg-elevated-02: #e1e3eb;--bg-error: #FFF5F5;--filled-V-BG: #d0f0c0;--filled-D-BG: #ffcecc;--filled-N-BG: #faf5aa;--filled-J-BG: #dedbff;--notification-neutral: linear-gradient(90deg, #d6d9ff 0%, #fff 100%);--notification-success: linear-gradient(90deg, #c9f0b6 0%, #fff 100%);--notification-warning: linear-gradient(90deg, #fee0a3 0%, #fff 100%);--notification-error: linear-gradient(90deg, #ffb8b8 0%, #fff 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--gradient-blue-violet: linear-gradient(180deg, #adb8ff 0%, #d6e9ff 100%);--gradient-blue-clear: linear-gradient(180deg, #85beff 0%, #cef 100%);--gradient-orange: linear-gradient(180deg, #ffb766 0%, #ffeaa3 100%);--gradient-mint: linear-gradient(180deg, #7dd1d1 0%, #c8fae9 100%);--gradient-lime: linear-gradient(180deg, #bfe062 0%, #e4ffad 100%);--gradient-rose: linear-gradient(0deg, #ffddd6 0%, #ff99c9 100%);--gradient-red: linear-gradient(0deg, #ffd5cc 0%, #ff9494 100%);--gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--TT-gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--gradient-light-lime: linear-gradient(180deg, #EBFFEB 0%, transparent 100%);--shadow-l: 0px 8px 16px -4px rgba(15, 36, 77, .16), 0px 12px 32px -4px rgba(15, 36, 77, .16);--main-spacing: 24px;--gap-v: 24px;--gap-h: 12px;--border-radius: 6px;--z-splash: 50;--z-slide-shadow: 80;--z-slide-dialog: 81;--z-dialog: 100;--z-dropdown-options: 110;--z-tooltip: 120;--z-context-menu: 1001;--scrollbar-width: 6px}[data-theme=dark]{--txt-00: #ffffff;--txt-01: #FFFFFF;--txt-02: #adaeb8;--txt-03: #60616b;--txt-mask: #3D3D42;--txt-focus: #87e087;--txt-error: #ff5c5c;--txt-link: #9470ff;--ic-00: #ffffff;--ic-01: #FFFFFF;--ic-02: #60616b;--ic-accent: #87e087;--border-color-default: #60616b;--border-color-hover: #adaeb8;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #232329;--border-color-div-bw: #000000;--btn-accent-default: #5f31cc;--btn-accent-hover: #5f31cc;--btn-accent-press: #5f31cc;--btn-primary-default: #5f31cc;--btn-primary-hover: #6d3ddb;--btn-primary-press: #5328b8;--btn-sec-hover-white: rgba(131, 131, 163, .16);--btn-sec-hover-grey: rgba(131, 131, 163, .16);--btn-sec-press-grey: rgba(131, 131, 163, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: #5e5e70;--dis-00: #65656b;--dis-01: #3D3D42;--bg-base-dark: #0d0d0f;--bg-base-light: #0d0d0f;--bg-elevated-01: #1b1b1f;--bg-elevated-02: #2d2d33;--bg-error: #FFF5F5;--filled-V-BG: rgba(66, 184, 66, .4);--filled-D-BG: rgba(229, 83, 229, .4);--filled-N-BG: rgba(83, 82, 102, .4);--filled-J-BG: rgba(132, 92, 255, .4);--notification-neutral: linear-gradient(90deg, #4d4d8f 0%, #292933 100%);--notification-success: linear-gradient(90deg, #305c3e 0%, #292933 100%);--notification-warning: linear-gradient(90deg, #754f2d 0%, #292933 100%);--notification-error: linear-gradient(90deg, #8f3343 0%, #292933 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-clear: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-orange: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-mint: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-rose: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-red: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%)}._root_1i4x0_131{display:flex;flex-direction:column;gap:12px}._tip_1i4x0_137{margin-top:12px;color:var(--txt-03)}._steps_1i4x0_142{display:flex;flex-direction:column;gap:6px}._stepItem_1i4x0_148{cursor:pointer}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._form_15mna_2{display:flex;flex-direction:column;gap:12px}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode(":root{--txt-00: #ffffff;--txt-01: light-dark(#110529, #ffffff);--txt-02: #231842;--txt-03: #9d9eae;--txt-mask: #cfd1db;--txt-focus: #07ad3e;--txt-error: #f1222f;--txt-link: #5f31cc;--ic-00: #ffffff;--ic-01: #110529;--ic-02: #cfd1db;--ic-accent: #07ad3e;--border-color-default: #110529;--border-color-hover: #231842;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #e1e3eb;--border-color-div-bw: #ffffff;--btn-accent-default: #845cff;--btn-accent-hover: #9470ff;--btn-accent-press: #6f4dd6;--btn-primary-default: #110529;--btn-primary-hover: #231842;--btn-primary-press: #080214;--btn-sec-hover-white: rgba(255, 255, 255, .5);--btn-sec-hover-grey: light-dark(rgba(155, 171, 204, .16), rgba(131, 131, 163, .16));--btn-sec-press-grey: rgba(155, 171, 204, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--btn-accent-positive-500: #ECFBE5;--dis-00: #ffffff;--dis-01: light-dark(#cfd1db, #3d3d42);--bg-base-dark: #110529;--bg-base-light: #f7f8fa;--bg-elevated-01: #ffffff;--bg-elevated-02: #e1e3eb;--bg-error: #FFF5F5;--filled-V-BG: #d0f0c0;--filled-D-BG: #ffcecc;--filled-N-BG: #faf5aa;--filled-J-BG: #dedbff;--notification-neutral: linear-gradient(90deg, #d6d9ff 0%, #fff 100%);--notification-success: linear-gradient(90deg, #c9f0b6 0%, #fff 100%);--notification-warning: linear-gradient(90deg, #fee0a3 0%, #fff 100%);--notification-error: linear-gradient(90deg, #ffb8b8 0%, #fff 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--gradient-blue-violet: linear-gradient(180deg, #adb8ff 0%, #d6e9ff 100%);--gradient-blue-clear: linear-gradient(180deg, #85beff 0%, #cef 100%);--gradient-orange: linear-gradient(180deg, #ffb766 0%, #ffeaa3 100%);--gradient-mint: linear-gradient(180deg, #7dd1d1 0%, #c8fae9 100%);--gradient-lime: linear-gradient(180deg, #bfe062 0%, #e4ffad 100%);--gradient-rose: linear-gradient(0deg, #ffddd6 0%, #ff99c9 100%);--gradient-red: linear-gradient(0deg, #ffd5cc 0%, #ff9494 100%);--gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--TT-gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--gradient-light-lime: linear-gradient(180deg, #EBFFEB 0%, transparent 100%);--shadow-l: 0px 8px 16px -4px rgba(15, 36, 77, .16), 0px 12px 32px -4px rgba(15, 36, 77, .16);--main-spacing: 24px;--gap-v: 24px;--gap-h: 12px;--border-radius: 6px;--z-splash: 50;--z-slide-shadow: 80;--z-slide-dialog: 81;--z-dialog: 100;--z-dropdown-options: 110;--z-tooltip: 120;--z-context-menu: 1001;--scrollbar-width: 6px}[data-theme=dark]{--txt-00: #ffffff;--txt-01: #FFFFFF;--txt-02: #adaeb8;--txt-03: #60616b;--txt-mask: #3D3D42;--txt-focus: #87e087;--txt-error: #ff5c5c;--txt-link: #9470ff;--ic-00: #ffffff;--ic-01: #FFFFFF;--ic-02: #60616b;--ic-accent: #87e087;--border-color-default: #60616b;--border-color-hover: #adaeb8;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #232329;--border-color-div-bw: #000000;--btn-accent-default: #5f31cc;--btn-accent-hover: #5f31cc;--btn-accent-press: #5f31cc;--btn-primary-default: #5f31cc;--btn-primary-hover: #6d3ddb;--btn-primary-press: #5328b8;--btn-sec-hover-white: rgba(131, 131, 163, .16);--btn-sec-hover-grey: rgba(131, 131, 163, .16);--btn-sec-press-grey: rgba(131, 131, 163, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: #5e5e70;--dis-00: #65656b;--dis-01: #3D3D42;--bg-base-dark: #0d0d0f;--bg-base-light: #0d0d0f;--bg-elevated-01: #1b1b1f;--bg-elevated-02: #2d2d33;--bg-error: #FFF5F5;--filled-V-BG: rgba(66, 184, 66, .4);--filled-D-BG: rgba(229, 83, 229, .4);--filled-N-BG: rgba(83, 82, 102, .4);--filled-J-BG: rgba(132, 92, 255, .4);--notification-neutral: linear-gradient(90deg, #4d4d8f 0%, #292933 100%);--notification-success: linear-gradient(90deg, #305c3e 0%, #292933 100%);--notification-warning: linear-gradient(90deg, #754f2d 0%, #292933 100%);--notification-error: linear-gradient(90deg, #8f3343 0%, #292933 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-clear: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-orange: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-mint: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-rose: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-red: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%)}._root_aq5ub_131{display:flex;flex-direction:column;gap:12px}._actions_aq5ub_137{display:flex;flex-direction:row;gap:12px}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._modal_1634u_1{display:flex}._sidebarGroup_1634u_5,._sidebarItem_1634u_10{width:100%;height:100%}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._modal_1634u_1{display:flex}._sidebarGroup_1634u_5,._sidebarItem_1634u_10{width:100%;height:100%}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._item_1m4gx_2{display:flex;flex-direction:column;margin-bottom:8px;overflow:hidden;--name-font-size: 12px;--details-font-size: 10px}._name_1m4gx_10{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--name-font-size);font-weight:600}._details_1m4gx_18{font-size:var(--details-font-size);font-weight:400;color:#fff9}._error_1m4gx_24{font-size:var(--details-font-size);font-weight:400;color:var(--txt-error)}._error_1m4gx_24 span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._summary_s5gm9_2{display:flex;flex-direction:column;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:8px;--name-font-size: 14px;--details-font-size: 12px}._name_s5gm9_12{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--name-font-size);font-weight:600}._details_s5gm9_19{font-size:var(--details-font-size);font-weight:400;color:#fff9}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._progresses_h5njb_2{position:fixed;top:8px;right:8px;width:350px;height:auto;max-height:400px;overflow:auto;background:#000000d9;border-radius:8px;padding:20px 8px 8px 20px;color:#fff;font-size:12px;font-weight:600;z-index:1000}._progresses_h5njb_2 ._itemsContainer_h5njb_18{max-height:300px}._progresses_h5njb_2 ._close_h5njb_22{position:absolute;top:8px;right:8px;cursor:pointer;--icon-color: white}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode(`*{cursor:inherit;box-sizing:border-box;-webkit-font-smoothing:antialiased}.invisible-scrollbar::-webkit-scrollbar{display:none}.block{flex:1;background-color:#fff;max-height:100%;max-width:100%;width:100%;height:100%;position:relative;display:flex;flex-direction:column;--thumb-color: var(--ic-02);overflow-y:auto;overflow-x:auto}.block::-webkit-scrollbar{width:var(--scrollbar-width, 6px);height:5px;background-color:transparent;display:block}.block::-webkit-scrollbar-thumb{background:var(--thumb-color);border-radius:5px}.block::-webkit-scrollbar-thumb:hover{--thumb-color: var(--border-color-focus)}.block__not-found,.block__loader-page{display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center}.block__loader-page .loader-container{display:flex;transform:scale(8)}.block__loader-page .loader-icon{animation:spin 4s linear infinite;background-color:#ccc;margin:auto}.block__layout{padding:0}.block__loader{height:4px;background-color:transparent;position:absolute;z-index:1;top:0;right:0;left:0;overflow:hidden}.block__loader:before{content:"";position:absolute;left:-50%;height:4px;width:33%;background-color:var(--border-color-focus);animation:loader-animation 1.3s linear infinite}.block__progress{--progress-width: 0%;height:4px;background-color:transparent;position:absolute;top:0;right:0;left:0;overflow:hidden}.block__progress:before{content:"";position:absolute;left:0;height:4px;width:var(--progress-width);background-color:var(--border-color-focus);will-change:width;background-image:linear-gradient(90deg,#0000,#fffc,#0000);background-position:0 0;background-size:80px 100%;background-repeat:repeat-y;animation:shine-animation 1.2s linear infinite}@keyframes shine-animation{0%{background-position:-160px 0}to{background-position:calc(100% + 80px) 0}}.block__error{background:var(--txt-error);color:#fff;max-height:50vh;padding:16px 24px;-webkit-user-select:auto;user-select:auto;width:100%;overflow:auto;display:flex;flex-direction:column;--thumb-color: var(--ic-02);overflow-y:auto;overflow-x:auto}.block__error::-webkit-scrollbar{width:var(--scrollbar-width, 6px);height:5px;background-color:transparent;display:block}.block__error::-webkit-scrollbar-thumb{background:var(--thumb-color);border-radius:5px}.block__error::-webkit-scrollbar-thumb:hover{--thumb-color: var(--border-color-focus)}.block__error pre{white-space:pre-wrap;margin:0}.block .scroll-content{height:100%;display:flex;flex-direction:column}.block .scroll-content>div:last-child{flex:1;overflow:auto}@keyframes loader-animation{0%{left:-40%}50%{left:20%;width:38%}to{left:100%;width:50%}}.alert-error{background-color:var(--txt-error);color:#fff;padding:24px}.pl-ag-header-align-center .ag-header-cell-label{justify-content:center}
|
|
446
|
+
.pl-ag-grid-open-cell{align-items:center}.pl-ag-grid-open-cell__activator{position:absolute;right:8px;border-radius:4px;border:1px solid var(--border-color-div-grey);padding:4px 6px 4px 4px;gap:3px;cursor:pointer;display:none;background-color:var(--ic-00);opacity:1}.pl-ag-grid-open-cell__activator:hover{background-color:#eff2f7}.pl-ag-grid-open-cell__activator:active{background-color:#e7ebf3}.pl-ag-grid-open-cell__value{text-overflow:ellipsis;overflow:hidden}.ag-row-hover .pl-ag-grid-open-cell__activator{display:flex}`)),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_1vnon_2{display:flex;flex-direction:column;gap:4px}._container_1vnon_2 svg{display:block}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_5klj5_2{display:flex;flex-wrap:wrap;gap:12px;max-inline-size:fit-content}._item_5klj5_9{display:flex;gap:4px}._colorSample_5klj5_14{display:inline-block;block-size:18px;inline-size:18px;border-radius:3px}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_1uo2b_2 svg{display:block}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_1uo2b_2 svg{display:block}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._root_34869_2{display:flex;flex-direction:column;gap:12px;min-block-size:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;container-type:inline-size}._root_34869_2[data-pre-print]{container-type:unset}._root_34869_2[data-pre-print] ._sidebar_34869_14{max-inline-size:unset}._referenceCell_34869_20{position:fixed;visibility:hidden;font-family:Spline Sans Mono;font-weight:600;line-height:var(--e405b06c)}._table_34869_28{display:grid;grid-template-columns:[sidebar-start] auto [sidebar-end] repeat(var(--0c44921e),[column-start] auto [column-end]);grid-template-rows:[header-start] auto [header-end] repeat(var(--6aab37c6),[row-start] auto [row-end]);justify-content:start;position:relative}@media print{._table_34869_28{overflow:visible}}._sidebar_34869_14{grid-column:sidebar;grid-row:1 row-start / -1 row-end;display:grid;grid-template-rows:subgrid;position:sticky;inset-inline-start:0;background-color:#fff;inline-size:min-content;max-inline-size:30cqi;overflow:scroll;overscroll-behavior-inline:none;scrollbar-width:none}._phylogeneticTree_34869_60{grid-row:1 row-start / -1 row-end}._labels_34869_64{grid-row:1 row-start / -1 row-end;display:grid;grid-template-columns:repeat(var(--2e72cab4),auto);grid-template-rows:subgrid;grid-auto-flow:column;column-gap:12px;padding-inline-end:12px;font-family:Spline Sans Mono;line-height:var(--e405b06c);white-space:nowrap}._sequenceColumn_34869_77{grid-row:header-start / -1 row-end;display:grid;grid-template-rows:subgrid}._sequenceColumn_34869_77+._sequenceColumn_34869_77{margin-inline-start:24px}._sequenceHeader_34869_86{grid-row:header;display:flex;flex-direction:column;justify-content:end;min-inline-size:0;position:sticky;inset-block-start:0;background-color:#fff}._sequenceName_34869_97{margin-block-end:4px;font-weight:700;line-height:20px;inline-size:fit-content;position:sticky;inset-inline-start:var(--1ad5abe9)}._sequenceRowsContainer_34869_106{grid-row:1 row-start / -1 row-end;display:grid;grid-template-rows:subgrid}._sequenceRow_34869_106{font-family:Spline Sans Mono;font-weight:600;line-height:var(--e405b06c);letter-spacing:var(--3c16a76c);text-indent:calc(var(--3c16a76c) / 2);inline-size:calc-size(min-content,round(down,size,var(--1406981e)));white-space:nowrap}._corner_34869_125{grid-column:sidebar;grid-row:header;position:sticky;inset-inline-start:0;inset-block-start:0;background-color:#fff}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._container_ypn45_2{display:flex;flex-direction:column;gap:24px}._line_ypn45_8{display:flex;justify-content:space-between}._section_ypn45_13{display:flex;flex-wrap:wrap;gap:24px}._buttons_ypn45_19,._pendingChanges_ypn45_23{display:flex}._pendingChanges_ypn45_23 button{min-width:160px}._resetButton_ypn45_30{margin-block-start:auto}._resetButton_ypn45_30 span{text-transform:none}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._splash_dk8xp_2{flex:1;display:flex;flex-direction:column;gap:12px;overflow:hidden}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode(":root{--txt-00: #ffffff;--txt-01: light-dark(#110529, #ffffff);--txt-02: #231842;--txt-03: #9d9eae;--txt-mask: #cfd1db;--txt-focus: #07ad3e;--txt-error: #f1222f;--txt-link: #5f31cc;--ic-00: #ffffff;--ic-01: #110529;--ic-02: #cfd1db;--ic-accent: #07ad3e;--border-color-default: #110529;--border-color-hover: #231842;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #e1e3eb;--border-color-div-bw: #ffffff;--btn-accent-default: #845cff;--btn-accent-hover: #9470ff;--btn-accent-press: #6f4dd6;--btn-primary-default: #110529;--btn-primary-hover: #231842;--btn-primary-press: #080214;--btn-sec-hover-white: rgba(255, 255, 255, .5);--btn-sec-hover-grey: light-dark(rgba(155, 171, 204, .16), rgba(131, 131, 163, .16));--btn-sec-press-grey: rgba(155, 171, 204, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--btn-accent-positive-500: #ECFBE5;--dis-00: #ffffff;--dis-01: light-dark(#cfd1db, #3d3d42);--bg-base-dark: #110529;--bg-base-light: #f7f8fa;--bg-elevated-01: #ffffff;--bg-elevated-02: #e1e3eb;--bg-error: #FFF5F5;--filled-V-BG: #d0f0c0;--filled-D-BG: #ffcecc;--filled-N-BG: #faf5aa;--filled-J-BG: #dedbff;--notification-neutral: linear-gradient(90deg, #d6d9ff 0%, #fff 100%);--notification-success: linear-gradient(90deg, #c9f0b6 0%, #fff 100%);--notification-warning: linear-gradient(90deg, #fee0a3 0%, #fff 100%);--notification-error: linear-gradient(90deg, #ffb8b8 0%, #fff 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--gradient-blue-violet: linear-gradient(180deg, #adb8ff 0%, #d6e9ff 100%);--gradient-blue-clear: linear-gradient(180deg, #85beff 0%, #cef 100%);--gradient-orange: linear-gradient(180deg, #ffb766 0%, #ffeaa3 100%);--gradient-mint: linear-gradient(180deg, #7dd1d1 0%, #c8fae9 100%);--gradient-lime: linear-gradient(180deg, #bfe062 0%, #e4ffad 100%);--gradient-rose: linear-gradient(0deg, #ffddd6 0%, #ff99c9 100%);--gradient-red: linear-gradient(0deg, #ffd5cc 0%, #ff9494 100%);--gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--TT-gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--gradient-light-lime: linear-gradient(180deg, #EBFFEB 0%, transparent 100%);--shadow-l: 0px 8px 16px -4px rgba(15, 36, 77, .16), 0px 12px 32px -4px rgba(15, 36, 77, .16);--main-spacing: 24px;--gap-v: 24px;--gap-h: 12px;--border-radius: 6px;--z-splash: 50;--z-slide-shadow: 80;--z-slide-dialog: 81;--z-dialog: 100;--z-dropdown-options: 110;--z-tooltip: 120;--z-context-menu: 1001;--scrollbar-width: 6px}[data-theme=dark]{--txt-00: #ffffff;--txt-01: #FFFFFF;--txt-02: #adaeb8;--txt-03: #60616b;--txt-mask: #3D3D42;--txt-focus: #87e087;--txt-error: #ff5c5c;--txt-link: #9470ff;--ic-00: #ffffff;--ic-01: #FFFFFF;--ic-02: #60616b;--ic-accent: #87e087;--border-color-default: #60616b;--border-color-hover: #adaeb8;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #232329;--border-color-div-bw: #000000;--btn-accent-default: #5f31cc;--btn-accent-hover: #5f31cc;--btn-accent-press: #5f31cc;--btn-primary-default: #5f31cc;--btn-primary-hover: #6d3ddb;--btn-primary-press: #5328b8;--btn-sec-hover-white: rgba(131, 131, 163, .16);--btn-sec-hover-grey: rgba(131, 131, 163, .16);--btn-sec-press-grey: rgba(131, 131, 163, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: #5e5e70;--dis-00: #65656b;--dis-01: #3D3D42;--bg-base-dark: #0d0d0f;--bg-base-light: #0d0d0f;--bg-elevated-01: #1b1b1f;--bg-elevated-02: #2d2d33;--bg-error: #FFF5F5;--filled-V-BG: rgba(66, 184, 66, .4);--filled-D-BG: rgba(229, 83, 229, .4);--filled-N-BG: rgba(83, 82, 102, .4);--filled-J-BG: rgba(132, 92, 255, .4);--notification-neutral: linear-gradient(90deg, #4d4d8f 0%, #292933 100%);--notification-success: linear-gradient(90deg, #305c3e 0%, #292933 100%);--notification-warning: linear-gradient(90deg, #754f2d 0%, #292933 100%);--notification-error: linear-gradient(90deg, #8f3343 0%, #292933 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-clear: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-orange: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-mint: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-rose: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-red: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%)}._root_1i4x0_131{display:flex;flex-direction:column;gap:12px}._tip_1i4x0_137{margin-top:12px;color:var(--txt-03)}._steps_1i4x0_142{display:flex;flex-direction:column;gap:6px}._stepItem_1i4x0_148{cursor:pointer}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._form_15mna_2{display:flex;flex-direction:column;gap:12px}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode(":root{--txt-00: #ffffff;--txt-01: light-dark(#110529, #ffffff);--txt-02: #231842;--txt-03: #9d9eae;--txt-mask: #cfd1db;--txt-focus: #07ad3e;--txt-error: #f1222f;--txt-link: #5f31cc;--ic-00: #ffffff;--ic-01: #110529;--ic-02: #cfd1db;--ic-accent: #07ad3e;--border-color-default: #110529;--border-color-hover: #231842;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #e1e3eb;--border-color-div-bw: #ffffff;--btn-accent-default: #845cff;--btn-accent-hover: #9470ff;--btn-accent-press: #6f4dd6;--btn-primary-default: #110529;--btn-primary-hover: #231842;--btn-primary-press: #080214;--btn-sec-hover-white: rgba(255, 255, 255, .5);--btn-sec-hover-grey: light-dark(rgba(155, 171, 204, .16), rgba(131, 131, 163, .16));--btn-sec-press-grey: rgba(155, 171, 204, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--btn-accent-positive-500: #ECFBE5;--dis-00: #ffffff;--dis-01: light-dark(#cfd1db, #3d3d42);--bg-base-dark: #110529;--bg-base-light: #f7f8fa;--bg-elevated-01: #ffffff;--bg-elevated-02: #e1e3eb;--bg-error: #FFF5F5;--filled-V-BG: #d0f0c0;--filled-D-BG: #ffcecc;--filled-N-BG: #faf5aa;--filled-J-BG: #dedbff;--notification-neutral: linear-gradient(90deg, #d6d9ff 0%, #fff 100%);--notification-success: linear-gradient(90deg, #c9f0b6 0%, #fff 100%);--notification-warning: linear-gradient(90deg, #fee0a3 0%, #fff 100%);--notification-error: linear-gradient(90deg, #ffb8b8 0%, #fff 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(180deg, #a1e59c 0%, #d0f5b0 100%);--gradient-blue-violet: linear-gradient(180deg, #adb8ff 0%, #d6e9ff 100%);--gradient-blue-clear: linear-gradient(180deg, #85beff 0%, #cef 100%);--gradient-orange: linear-gradient(180deg, #ffb766 0%, #ffeaa3 100%);--gradient-mint: linear-gradient(180deg, #7dd1d1 0%, #c8fae9 100%);--gradient-lime: linear-gradient(180deg, #bfe062 0%, #e4ffad 100%);--gradient-rose: linear-gradient(0deg, #ffddd6 0%, #ff99c9 100%);--gradient-red: linear-gradient(0deg, #ffd5cc 0%, #ff9494 100%);--gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--TT-gradient-violet: linear-gradient(180deg, #bca3ff 0%, #e5e5ff 100%);--gradient-light-lime: linear-gradient(180deg, #EBFFEB 0%, transparent 100%);--shadow-l: 0px 8px 16px -4px rgba(15, 36, 77, .16), 0px 12px 32px -4px rgba(15, 36, 77, .16);--main-spacing: 24px;--gap-v: 24px;--gap-h: 12px;--border-radius: 6px;--z-splash: 50;--z-slide-shadow: 80;--z-slide-dialog: 81;--z-dialog: 100;--z-dropdown-options: 110;--z-tooltip: 120;--z-context-menu: 1001;--scrollbar-width: 6px}[data-theme=dark]{--txt-00: #ffffff;--txt-01: #FFFFFF;--txt-02: #adaeb8;--txt-03: #60616b;--txt-mask: #3D3D42;--txt-focus: #87e087;--txt-error: #ff5c5c;--txt-link: #9470ff;--ic-00: #ffffff;--ic-01: #FFFFFF;--ic-02: #60616b;--ic-accent: #87e087;--border-color-default: #60616b;--border-color-hover: #adaeb8;--border-color-focus: #49cc49;--border-color-error: #ff5c5c;--border-color-div-grey: #232329;--border-color-div-bw: #000000;--btn-accent-default: #5f31cc;--btn-accent-hover: #5f31cc;--btn-accent-press: #5f31cc;--btn-primary-default: #5f31cc;--btn-primary-hover: #6d3ddb;--btn-primary-press: #5328b8;--btn-sec-hover-white: rgba(131, 131, 163, .16);--btn-sec-hover-grey: rgba(131, 131, 163, .16);--btn-sec-press-grey: rgba(131, 131, 163, .24);--btn-active-select: rgba(99, 224, 36, .24);--btn-switcher: #5e5e70;--dis-00: #65656b;--dis-01: #3D3D42;--bg-base-dark: #0d0d0f;--bg-base-light: #0d0d0f;--bg-elevated-01: #1b1b1f;--bg-elevated-02: #2d2d33;--bg-error: #FFF5F5;--filled-V-BG: rgba(66, 184, 66, .4);--filled-D-BG: rgba(229, 83, 229, .4);--filled-N-BG: rgba(83, 82, 102, .4);--filled-J-BG: rgba(132, 92, 255, .4);--notification-neutral: linear-gradient(90deg, #4d4d8f 0%, #292933 100%);--notification-success: linear-gradient(90deg, #305c3e 0%, #292933 100%);--notification-warning: linear-gradient(90deg, #754f2d 0%, #292933 100%);--notification-error: linear-gradient(90deg, #8f3343 0%, #292933 100%);--gradient-blue-green: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-green-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-blue-clear: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-orange: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-mint: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-lime: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-rose: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-red: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%);--gradient-violet: linear-gradient(0deg, #478063 0%, #2e4652 45.93%, #24223d 91.63%)}._root_aq5ub_131{display:flex;flex-direction:column;gap:12px}._actions_aq5ub_137{display:flex;flex-direction:row;gap:12px}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._sidebarGroup_1imam_1,._sidebarItem_1imam_6{width:100%;height:100%}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._modal_1634u_1{display:flex}._sidebarGroup_1634u_5,._sidebarItem_1634u_10{width:100%;height:100%}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._item_1m4gx_2{display:flex;flex-direction:column;margin-bottom:8px;overflow:hidden;--name-font-size: 12px;--details-font-size: 10px}._name_1m4gx_10{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--name-font-size);font-weight:600}._details_1m4gx_18{font-size:var(--details-font-size);font-weight:400;color:#fff9}._error_1m4gx_24{font-size:var(--details-font-size);font-weight:400;color:var(--txt-error)}._error_1m4gx_24 span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._summary_s5gm9_2{display:flex;flex-direction:column;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:8px;--name-font-size: 14px;--details-font-size: 12px}._name_s5gm9_12{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--name-font-size);font-weight:600}._details_s5gm9_19{font-size:var(--details-font-size);font-weight:400;color:#fff9}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode("._progresses_h5njb_2{position:fixed;top:8px;right:8px;width:350px;height:auto;max-height:400px;overflow:auto;background:#000000d9;border-radius:8px;padding:20px 8px 8px 20px;color:#fff;font-size:12px;font-weight:600;z-index:1000}._progresses_h5njb_2 ._itemsContainer_h5njb_18{max-height:300px}._progresses_h5njb_2 ._close_h5njb_22{position:absolute;top:8px;right:8px;cursor:pointer;--icon-color: white}")),document.head.appendChild(A)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();(function(){try{if(typeof document<"u"){var A=document.createElement("style");A.appendChild(document.createTextNode(`*{cursor:inherit;box-sizing:border-box;-webkit-font-smoothing:antialiased}.invisible-scrollbar::-webkit-scrollbar{display:none}.block{flex:1;background-color:#fff;max-height:100%;max-width:100%;width:100%;height:100%;position:relative;display:flex;flex-direction:column;--thumb-color: var(--ic-02);overflow-y:auto;overflow-x:auto}.block::-webkit-scrollbar{width:var(--scrollbar-width, 6px);height:5px;background-color:transparent;display:block}.block::-webkit-scrollbar-thumb{background:var(--thumb-color);border-radius:5px}.block::-webkit-scrollbar-thumb:hover{--thumb-color: var(--border-color-focus)}.block__not-found,.block__loader-page{display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center}.block__loader-page .loader-container{display:flex;transform:scale(8)}.block__loader-page .loader-icon{animation:spin 4s linear infinite;background-color:#ccc;margin:auto}.block__layout{padding:0}.block__loader{height:4px;background-color:transparent;position:absolute;z-index:1;top:0;right:0;left:0;overflow:hidden}.block__loader:before{content:"";position:absolute;left:-50%;height:4px;width:33%;background-color:var(--border-color-focus);animation:loader-animation 1.3s linear infinite}.block__progress{--progress-width: 0%;height:4px;background-color:transparent;position:absolute;top:0;right:0;left:0;overflow:hidden}.block__progress:before{content:"";position:absolute;left:0;height:4px;width:var(--progress-width);background-color:var(--border-color-focus);will-change:width;background-image:linear-gradient(90deg,#0000,#fffc,#0000);background-position:0 0;background-size:80px 100%;background-repeat:repeat-y;animation:shine-animation 1.2s linear infinite}@keyframes shine-animation{0%{background-position:-160px 0}to{background-position:calc(100% + 80px) 0}}.block__error{background:var(--txt-error);color:#fff;max-height:50vh;padding:16px 24px;-webkit-user-select:auto;user-select:auto;width:100%;overflow:auto;display:flex;flex-direction:column;--thumb-color: var(--ic-02);overflow-y:auto;overflow-x:auto}.block__error::-webkit-scrollbar{width:var(--scrollbar-width, 6px);height:5px;background-color:transparent;display:block}.block__error::-webkit-scrollbar-thumb{background:var(--thumb-color);border-radius:5px}.block__error::-webkit-scrollbar-thumb:hover{--thumb-color: var(--border-color-focus)}.block__error pre{white-space:pre-wrap;margin:0}.block .scroll-content{height:100%;display:flex;flex-direction:column}.block .scroll-content>div:last-child{flex:1;overflow:auto}@keyframes loader-animation{0%{left:-40%}50%{left:20%;width:38%}to{left:100%;width:50%}}.alert-error{background-color:var(--txt-error);color:#fff;padding:24px}.pl-ag-header-align-center .ag-header-cell-label{justify-content:center}
|
|
447
447
|
.grid-overlay-container{height:calc(100% - 1px);margin-top:1px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--bg-base-light)}.grid-icon-sad-cat{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAGQCAYAAAB29rNUAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGU7SURBVHgB7b1ZkGTZfd537pJL7VXdXdVbdU8lAGKhLU8PFpqUZaJnKOtRGFAOPihMTgNhCxFkCDPgi+mQg9ODMBXWC7GESQWC1GBGVMgKRYgz47BfRGmmQSlsCRgADUgiBgKIrN57qrprX3K5i893M0/myeysqlxuZt7l+03k5L1ZWUtn3jzf+e9CEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEDIODEGGTrG4ftXOmU/7nnvF940r8mVfEcKfb3vaqnwzVl3P+5bwzBuFwuINQQghJLFQgIcERNe0/eeFMF/oILbdsGoK8Zpj268Xzi+sCkIIIYmCAhwyxdtr1yzDeMEX4qoIh1XPc79WeOrcVwUhhJDEQAEOCVi8li1eDlF4W5Bv1A3Xtj9Ha5gQQpIBBTgEbt9e/4pviJeOecqWFOab8vYt4Rs3RaZ6Ew8Wzp9fxX3xwYMV4dgrtiXjxK73/DEivurZ9rMUYUIIiT8U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z0rH7GdMwXqg/1PH6QAJXLp8JLONsxhKWbQ1kJUNwy5WKqFQccViqBOcd2JSPfl04e18tFApbghBCYg4FmDxBsVicF9bM1ZoYNyxjcOz1YtumNKatYESiaZgCw/XMtgl7niedxx7it56oVh3huf5xAyTwhS0KLyEkiVCAyYkgXizdzk/7rvcZqYhX5EPz9S8N4/oJRFf+76bve18X7sENCi8hJIlQgEnPoLZYeOaKMLxPW8J4Wlqo80ZNmDvRfo11MndX5ZNuukL8UB7fkNbuTYouISTpUIBJaBQfPFgRjr0ifENayN68bVtzTtVZ0J9jZ+xNx3G3pXN6S5jeqqjur1JsCSGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCos7/D/kYlSB9BO7nAAAAAElFTkSuQmCC);background-repeat:no-repeat}.grid-overlay-container>div{height:300px;width:300px;background-size:contain;background-position:center}.grid-overlay-container>span{color:var(--txt-mask)}
|
|
448
448
|
.pl-ag-cell-status-tag{height:100%;padding:0 12px}
|
|
449
449
|
.pl-ag-chart-histogram-cell{height:100%;display:flex;flex-direction:row;align-items:center}.pl-ag-chart-histogram-cell__not-ready{color:var(--txt-03)!important}
|
|
@@ -453,4 +453,4 @@ ${JSON.stringify(UuA(h.value),null,2)}
|
|
|
453
453
|
|
|
454
454
|
`}))??[])).join(`
|
|
455
455
|
`)??""});const c=[{label:"Rabbit (no limits)",value:"PRODUCT:YAGRKKGRBYLCGDLCDVYINUSHYWGYWXWHGIINXYBQBZKMSIRC"},{label:"Crow (limit 10GB monthly)",value:"PRODUCT:JLVOZAOIOBZMLCIWQKUYZWLBAEPDHUJPHRHYAOBPDGWPVTJC"},{label:"Behemoth (1000 runs, 100GB monthly)",value:"PRODUCT:ZHJBTZESZONNVEFPGWWPDYESVYGXQOOSHYVUBWDXUHSILLDH"},{label:"Kolibri (100 runs)",value:"PRODUCT:EBVGZXPBYZLGKQHLFDVCCVFRLKTZZTJSWMNJGXNHVTMKNSPA"}];return(d,h)=>(L(),W(re,null,[pA(N(baA),null,{title:IA(()=>h[9]||(h[9]=[oe(" Monetization test ")])),default:IA(()=>[pA(N($c),null,{default:IA(()=>[pA(N(MaA),{width:"400px"},{default:IA(()=>[pA(N(J2),{modelValue:N(e).model.args.productKey,"onUpdate:modelValue":h[0]||(h[0]=u=>N(e).model.args.productKey=u),label:"Select product",options:c},null,8,["modelValue"]),pA(N(s0),{modelValue:N(e).model.args.productKey,"onUpdate:modelValue":h[1]||(h[1]=u=>N(e).model.args.productKey=u),label:"or enter product key",clearable:"",parse:t},null,8,["modelValue"])]),_:1})]),_:1}),pA(N(vlA),{modelValue:N(e).model.args.shouldAddRunPerFile,"onUpdate:modelValue":h[2]||(h[2]=u=>N(e).model.args.shouldAddRunPerFile=u)},{default:IA(()=>h[10]||(h[10]=[oe(" Add run per file ")])),_:1},8,["modelValue"]),pA(N($c),{width:"400px"},{default:IA(()=>[pA(N(Wl),{onClick:h[3]||(h[3]=u=>o.isMultiDialogFileOpen=!0)},{default:IA(()=>h[11]||(h[11]=[oe(" Open multiple files to monetize ")])),_:1}),pA(N(Wl),{disabled:!N(e).model.outputs.__mnzInfo,onClick:h[4]||(h[4]=u=>a.value=!0)},{default:IA(()=>h[12]||(h[12]=[oe(" Show mnz info ")])),_:1},8,["disabled"])]),_:1}),(L(!0),W(re,null,Ti(N(e).model.args.inputHandles,({handle:u},p)=>(L(),BA(N($c),{key:p},{default:IA(()=>[pA(N(s0),{modelValue:N(e).model.args.inputHandles[p].fileName,"onUpdate:modelValue":C=>N(e).model.args.inputHandles[p].fileName=C,label:"Type file name"},null,8,["modelValue","onUpdate:modelValue"]),pA(N(s0),{modelValue:N(e).model.args.inputHandles[p].argName,"onUpdate:modelValue":C=>N(e).model.args.inputHandles[p].argName=C,label:"Type argument name"},null,8,["modelValue","onUpdate:modelValue"]),pA(N(RcA),{"model-value":u,"onUpdate:modelValue":C=>r(C,p)},null,8,["model-value","onUpdate:modelValue"]),pA(N(cgA),{modelValue:N(e).model.args.inputHandles[p].options,"onUpdate:modelValue":C=>N(e).model.args.inputHandles[p].options=C,label:"Metrics to monetize",options:i},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024))),128)),pA(N($c),null,{default:IA(()=>[pA(N(Wl),{onClick:h[5]||(h[5]=u=>l.value=!0)},{default:IA(()=>h[13]||(h[13]=[oe(" Show tokens ")])),_:1})]),_:1}),n.value?(L(),BA(N(MF),{key:0,label:"token verification"},{default:IA(()=>[oe(FA(n.value),1)]),_:1})):aA("",!0)]),_:1}),pA(N(kF),{modelValue:o.isMultiDialogFileOpen,"onUpdate:modelValue":h[6]||(h[6]=u=>o.isMultiDialogFileOpen=u),multi:"","onImport:files":s},null,8,["modelValue"]),pA(N(xh),{modelValue:a.value,"onUpdate:modelValue":h[7]||(h[7]=u=>a.value=u),size:"medium"},{title:IA(()=>h[14]||(h[14]=[oe(" Monetization info ")])),default:IA(()=>[pA(N(xf),{value:JSON.stringify(N(e).model.outputs.__mnzInfo,null,2)},null,8,["value"])]),_:1},8,["modelValue"]),pA(N(xh),{modelValue:l.value,"onUpdate:modelValue":h[8]||(h[8]=u=>l.value=u),size:"medium"},{title:IA(()=>h[15]||(h[15]=[oe(" Tokens ")])),default:IA(()=>[pA(N(xf),{value:g.value},null,8,["value"])]),_:1},8,["modelValue"])],64))}}),u3=cnA(TuA,()=>({routes:{"/":()=>zuA}})),OuA=u3.useApp;KS(nhA).use(u3).mount("#app");
|
|
456
|
-
//# sourceMappingURL=index-
|
|
456
|
+
//# sourceMappingURL=index-BlndULX8.js.map
|