Lines 1-24javascript
1var ty=Object.create;var xs=Object.defineProperty;var ry=Object.getOwnPropertyDescriptor;var oy=Object.getOwnPropertyNames;var ny=Object.getPrototypeOf,iy=Object.prototype.hasOwnProperty;var k=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ts=(t,e)=>{for(var r in e)xs(t,r,{get:e[r],enumerable:!0})},sy=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of oy(e))!iy.call(t,n)&&n!==r&&xs(t,n,{get:()=>e[n],enumerable:!(o=ry(e,n))||o.enumerable});return t};var ad=(t,e,r)=>(r=t!=null?ty(ny(t)):{},sy(e||!t||!t.__esModule?xs(r,"default",{value:t,enumerable:!0}):r,t));var sn= ...
2`:""},this._extScope=e,this._scope=new mt.Scope({parent:e}),this._nodes=[new _l]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,r){let o=this._extScope.value(e,r);return(this._values[o.prefix]||(this._values[o.prefix]=new Set)).add(o),o}getScopeValue(e,r){return this._extScope.getValue(e,r)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,r,o,n){let i=this._scope.toName(r);return o!==void 0&&n&&(this._constants[i.str]=o),this._l ...
3 || (${s} == "string" && ${n} && ${n} == +${n})`).assign(a,(0,B._)`+${n}`);return;case"integer":o.elseIf((0,B._)`${s} === "boolean" || ${n} === null
4 || (${s} === "string" && ${n} && ${n} == +${n} && !(${n} % 1))`).assign(a,(0,B._)`+${n}`);return;case"boolean":o.elseIf((0,B._)`${n} === "false" || ${n} === 0 || ${n} === null`).assign(a,!1).elseIf((0,B
5 || ${s} === "boolean" || ${n} === null`).assign(a,(0,B._)`[${n}]`)}}}function oS({gen:t,parentData:e,parentDataProperty:r},o){t.if((0,B._)`${e} !== undefined`,()=>t.assign((0,B
6 missingProperty: ${o},
LowEval
Package source references a known benign dynamic code generation pattern.
dist/worker.jsView on unpkg · L4 8 deps: ${r}}`};var xE={keyword:"dependencies",type:"object",schemaType:"object",error:It.error,code(t){let[e,r]=TE(t);Yh(t,e),Kh(t,r)}};function TE({schema:t}){let e={},r={};for(let o in
9`).filter(s=>s),n=Math.min(...o.map(s=>s.length-s.trimStart().length)),i=o.map(s=>s.slice(n)).map(s=>" ".repeat(this.indent*2)+s);for(let s of i)this.content.push(s)}compile(){let e=Function,r=this?.args,n=[...(this?.content??[""]).map(i=>` ${i}`)];return new e(...r,n.join(`
10`))}};var pp={major:4,minor:0,patch:0};var ae=b("$ZodType",(t,e)=>{var r;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=pp;let o=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&o.unshift(t);for(let n of o)for(let i of n._zod.onattach)i(t);if(o.length===0)(r=t._zod).deferred??(r.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{let n=(i,s,a)=>{let c=Er(i),l;for(let u of s){if(u._zod.def.when){if(!u._zod.def.when(i))continue}else if(c)continue;let d=i.issues.length,f=u._zod.check(i);if(f instanceof Promise&&a?.async===!1)throw new Ct;if(l||f insta ...
11 if (${w}.issues.length) {
12 if (input[${E}] === undefined) {
14 newResult[${E}] = undefined;
17 payload.issues = payload.issues.concat(
18 ${w}.issues.map((iss) => ({
20 path: iss.path ? [${E}, ...iss.path] : [${E}],
24 } else if (${w}.value === undefined) {
Long lines were clipped for display.