spacewave 0.57.21 → 0.57.22
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/dist/engine-worker.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import{n as e}from"./chunks/rolldown-runtime-Csi-cuKc.mjs";import{$ as t,$i as n
|
|
|
2
2
|
`)){t.call(globalThis.console,e.slice(0,-1));return}t.call(globalThis.console,e)}}}function kte(){let e=globalThis,t=e.Deno??null,n=e.process??null,r=Ste(n),i=Cte(n),a=e=>{if(!t)return null;switch(e){case 0:return t.stdin??null;case 1:return t.stdout??null;case 2:return t.stderr??null;default:return null}};return{deno:t,getEnv:e=>{if(t?.env?.get)try{return t.env.get(e)??``}catch{return``}return n?.env?.[e]??``},getStdioHandle:a,nodeCrypto:i,nodeFS:r,platform:t?.build?.os??n?.platform??`unknown`,processObj:n,readFD:(e,t)=>{let n=a(e);if(n&&typeof n.readSync==`function`)return n.readSync(t);if(r)return r.readSync(e,t,0,t.length,null);throw new Ha},writeFD:(e,t)=>{let n=a(e);if(n&&typeof n.writeSync==`function`)return Ua(e=>n.writeSync(e),t);if(r)return Ua(t=>r.writeSync(e,t,0,t.length,null),t);if(e===1||e===2)return Ka()(bte.decode(t)),t.length;throw new Ha},writeStderrText:e=>{let t=a(2);if(t&&typeof t.writeSync==`function`){Wa(e=>t.writeSync(e),e);return}if(r){Wa(e=>r.writeSync(2,e,0,e.length,null),e);return}Ka()(e)},writeStdoutText:e=>{let t=a(1);if(t&&typeof t.writeSync==`function`){Wa(e=>t.writeSync(e),e);return}if(r){Wa(e=>r.writeSync(1,e,0,e.length,null),e);return}Ka()(e)}}}var Ate=class{detector;runtime;constructor(e=kte){this.detector=e,this.runtime=e()}current(){return this.runtime}reset(){this.runtime=this.detector()}};const qa=new Ate;function Ja(){return qa.current()}function jte(){qa.reset()}function Ya(e){Ja().writeStdoutText(e)}function Mte(e){Ja().writeStderrText(e)}function Nte(e){if(e.main===!0)return!0;let t=Ja().processObj?.argv?.[1];if(typeof t!=`string`||t===``)return!1;let n=Ote(t);if(!n)return!1;try{return new URL(e.url).href===n}catch{return e.url===n}}var Xa=class extends String{bytes;constructor(e){super(Go(e)),this.bytes=e.slice()}toString(){return Go(this.bytes)}valueOf(){return this.toString()}[Symbol.toPrimitive](){return this.toString()}};const Pte=`goscript-bytes:`,Fte=/^[\x00-\x7f]*$/;function Za(e){return typeof e==`string`||e instanceof Xa}const Ite=new TextEncoder,Lte=new TextDecoder(`utf-8`,{fatal:!0});function Qa(e){return e instanceof Xa?e.bytes.slice():e.startsWith(Pte)?ine(e.slice(16)):Ite.encode(e)}function $a(e){return typeof e==`string`?e:to(e.bytes)}function eo(e){return Za(e)?Qa(e):e instanceof Uint8Array?e:e==null?new Uint8Array:Uint8Array.from(so(e))}function to(e){try{return Lte.decode(e)}catch{return Pte+Go(e)}}const no=4294967296;let ro=1;const Rte=new WeakMap,zte=new WeakMap,Bte=new globalThis.Map;function io(e){if(typeof e!=`string`||e.length===0)return-1;let t=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n)-48;if(r<0||r>9)return-1;t=t*10+r}return t}function ao(e,t){e<0&&Ui(`runtime error: index out of range [${e}]`),Ui(`runtime error: index out of range [${e}] with length ${t}`)}function Vte(e){let t=e.__meta__;return t.target=e,new Proxy(e,{get(e,n,r){let i=io(n);if(i>=0){if(i<t.length)return t.backing[t.offset+i];ao(i,t.length)}return n===`length`?t.length:n===`__meta__`?t:n===`sort`?Ute(t,r):n===`slice`||n===`map`||n===`filter`||n===`reduce`||n===`forEach`||n===Symbol.iterator?Hte(t,n):Reflect.get(e,n)},set(e,n,r){let i=io(n);if(i>=0){if(i<t.length)return t.backing[t.offset+i]=r,e[i]=r,!0;ao(i,t.length)}return n===`length`||n===`__meta__`?!1:Reflect.set(e,n,r)}})}function Hte(e,t){let n=e.backing.slice(e.offset,e.offset+e.length),r=Reflect.get(n,t);return typeof r==`function`?r.bind(n):r}function Ute(e,t){return n=>{let r=e.backing.slice(e.offset,e.offset+e.length);r.sort(n);for(let t=0;t<r.length;t++)e.backing[e.offset+t]=r[t];return t}}function oo(e,t,n,r,i){let a=i??Array(n);return a.length=n,a.__meta__={backing:e,offset:t,length:n,capacity:r},Vte(a)}function so(e){if(e==null)return[];if(e instanceof Uint8Array)return Array.from(e);if(uo(e)){let t=[];for(let n=0;n<e.__meta__.length;n++)t.push(e.__meta__.backing[e.__meta__.offset+n]);return t}return Array.isArray(e)?e:[]}function co(e,t,n){return I(e)<t&&Ui(`runtime error: cannot convert slice with length ${I(e)} to array or pointer to array with length ${t}`),Ea(n===`byte`?new Uint8Array(so(e).slice(0,t)):so(e).slice(0,t))}function lo(e,t,n){I(e)<t&&Ui(`runtime error: cannot convert slice with length ${I(e)} to array or pointer to array with length ${t}`);let r=P(e,0,t),i=m(r);return Object.defineProperty(i,"value",{get:()=>r,set:e=>{R(r,e)}}),i}function uo(e){return typeof e==`object`&&!!e&&`__meta__`in e&&e.__meta__!==void 0}function fo(e){if(e!==void 0)return Number(e)}function po(e){return e.__meta__}function mo(e,t,n){(e<0||t<e||e>n||t>n)&&Ui(`runtime error: slice bounds out of range [${e}:${t}] with capacity ${n}`)}function ho(e,t,n,r){let i=e.subarray(t,t+n);return r!==n&&(i.__meta__={backing:e,offset:t,length:n,capacity:r}),i}function go(e){return uo(e)}const N=(e,t,n,r)=>{if(n===`byte`){let n=t===void 0?e:t;return(e<0||n<0||e>n)&&Ui(n<0?`runtime error: makeslice: cap out of range`:`runtime error: makeslice: len out of range`),n===e?new Uint8Array(e):ho(new Uint8Array(n),0,e,n)}let i=t===void 0?e:t;(e<0||i<0||e>i)&&Ui(i<0?`runtime error: makeslice: cap out of range`:`runtime error: makeslice: len out of range`);let a=()=>{if(r!==void 0)return r();switch(n){case`number`:return 0;case`boolean`:return!1;case`string`:return``;default:return null}},o=Array(i);for(let e=0;e<i;e++)o[e]=a();if(e===i)return o;let s=Array(e);for(let t=0;t<e;t++)s[t]=o[t];let c=s;return c.__meta__={backing:o,offset:0,length:e,capacity:i},new Proxy(c,{get(e,t){let n=io(t);if(n>=0){if(n<e.__meta__.length)return e.__meta__.backing[e.__meta__.offset+n];Ui(`Slice index out of range: ${n} >= ${e.__meta__.length}`)}return t===`length`?e.__meta__.length:t===`__meta__`?e.__meta__:Reflect.get(e,t)},set(e,t,n){let r=io(t);if(r>=0){if(r<e.__meta__.length)return e.__meta__.backing[e.__meta__.offset+r]=n,e[r]=n,!0;Ui(`Slice index out of range: ${r} >= ${e.__meta__.length}`)}return t===`length`||t===`__meta__`?!1:Reflect.set(e,t,n)}})};function P(e,t,n,r){e=Wo(e),t=fo(t),n=fo(n),r=fo(r);let i={get(e,t,n){let r=io(t);if(r>=0){if(r<e.__meta__.length)return e.__meta__.backing[e.__meta__.offset+r];Ui(`Slice index out of range: ${r} >= ${e.__meta__.length}`)}return t===`length`?e.__meta__.length:t===`__meta__`?e.__meta__:t===`sort`?Ute(e.__meta__,n):t===`slice`||t===`map`||t===`filter`||t===`reduce`||t===`forEach`||t===Symbol.iterator?Hte(e.__meta__,t):Reflect.get(e,t)},set(e,t,n){let r=io(t);if(r>=0){if(r<e.__meta__.length)return e.__meta__.backing[e.__meta__.offset+r]=n,e[r]=n,!0;if(r===e.__meta__.length&&e.__meta__.length<e.__meta__.capacity)return e.__meta__.backing[e.__meta__.offset+r]=n,e[r]=n,e.__meta__.length++,!0;Ui(`Slice index out of range: ${r} >= ${e.__meta__.length}`)}return t===`length`||t===`__meta__`?!1:Reflect.set(e,t,n)}};if(e instanceof Uint8Array){let i=po(e),a=i?.backing,o=a instanceof Uint8Array?a:e,s=i?.offset??0,c=i?.capacity??e.length,l=t??0,u=n??e.length;mo(l,u,c);let d=u-l;if(r!==void 0){(r<u||r>c)&&Ui(`runtime error: slice bounds out of range [:${u}:${r}] with capacity ${c}`);let e=r-l;return ho(o,s+l,d,e)}return ho(o,s+l,d,c-l)}if(e==null)return t??=0,n??=0,(t<0||n<t)&&Ui(`runtime error: slice bounds out of range [${t}:${n}]`),(t!==0||n!==0)&&Ui(`runtime error: slice bounds out of range [:${n}] with capacity 0`),r!==void 0&&r!==0&&Ui(`runtime error: slice bounds out of range [::${r}] with capacity 0`),null;let a=I(e);t??=0,n??=a,(t<0||n<t)&&Ui(`runtime error: slice bounds out of range [${t}:${n}]`);let o=_o(e);if(n>o&&Ui(`Slice index out of range: ${n} > ${o}`),Array.isArray(e)&&!uo(e)&&!Da(e)&&t===0&&n===e.length&&r===void 0)return e;let s,c=0,l=o;uo(e)?(s=e.__meta__.backing,c=e.__meta__.offset,l=e.__meta__.capacity):s=e;let u;r===void 0?u=uo(e)?l-t:e.length-t:(r<n&&Ui(`runtime error: slice bounds out of range [:${n}:${r}]`),uo(e)&&r>c+l&&Ui(`Slice index out of range: ${r} > ${c+l}`),!uo(e)&&r>e.length&&Ui(`Slice index out of range: ${r} > ${e.length}`),u=r-t);let d=n-t,f=c+t;if(!Da(s)&&f===0&&d===u&&s.length===d)return s;let p=Array(d);return p.__meta__={backing:s,offset:f,length:d,capacity:u},new Proxy(p,i)}const F=(e,t=1)=>{if(e==null)return[];if(e.length===0||t===1)return e;let n={__meta__:{backing:e,offset:0,length:e.length,capacity:e.length}},r={get(e,t){let n=io(t);if(n>=0){if(n<e.__meta__.length)return e.__meta__.backing[e.__meta__.offset+n];Ui(`Slice index out of range: ${n} >= ${e.__meta__.length}`)}if(t===`length`)return e.__meta__.length;if(t===`__meta__`)return e.__meta__;if(t===`slice`||t===`map`||t===`filter`||t===`reduce`||t===`forEach`||t===Symbol.iterator){let n=e.__meta__.backing.slice(e.__meta__.offset,e.__meta__.offset+e.__meta__.length);return n[t].bind(n)}return Reflect.get(e,t)},set(e,t,n){let r=io(t);if(r>=0){if(r<e.__meta__.length)return e.__meta__.backing[e.__meta__.offset+r]=n,!0;if(r===e.__meta__.length&&e.__meta__.length<e.__meta__.capacity)return e.__meta__.backing[e.__meta__.offset+r]=n,e.__meta__.length++,!0;Ui(`Slice index out of range: ${r} >= ${e.__meta__.length}`)}return t===`length`||t===`__meta__`?!1:Reflect.set(e,t,n)}};if(t>1&&e.length>0)for(let n=0;n<e.length;n++){let r=e[n];!uo(r)&&Array.isArray(r)&&(e[n]=F(r,t-1))}return new Proxy(n,r)},I=e=>{if(e=Wo(e),e==null)return 0;if(typeof e==`string`)return Vo(e);if(e instanceof Uint8Array)return e.length;if(Array.isArray(e)){let t=e.__meta__;return t===void 0?e.length:t.length}if(e instanceof Map||e instanceof Set)return e.size;if(e instanceof Xa)return Vo(e);if(uo(e))return e.__meta__.length;if(typeof e.len==`function`)return e.len();throw Error(`cannot determine len of this type`)},_o=e=>(e=Wo(e),e==null?0:uo(e)?e.__meta__.capacity:e instanceof Uint8Array||Array.isArray(e)?e.length:typeof e.cap==`function`?e.cap():0),vo=Symbol(`goscript.byteSliceHint`),yo=Symbol(`goscript.appendZeroValue`);function bo(e){return{[yo]:e}}const xo=Object.freeze({complex:bo(()=>({real:0,imag:0})),nil:bo(()=>null)});function Wte(e){if(typeof e!=`object`||!e||!(yo in e))return;let t=e[yo];return typeof t==`function`?t:void 0}function So(e,t,n){return t===0?n:Math.max(e<1024?t*2:t+Math.floor(t/4),n)}function Gte(e){return e==null?new Uint8Array:e instanceof Uint8Array?e:Uint8Array.from(so(e))}function Co(e){switch(typeof e){case`bigint`:return 0n;case`boolean`:return!1;case`number`:return 0;case`string`:return``}if(e instanceof Xa)return``;if(e instanceof Uint8Array)return new Uint8Array(e.length);if(Array.isArray(e))return e.map(Co);if(typeof e==`object`&&e&&ka(e)){let t=e.constructor;if(typeof t==`function`)return C(Reflect.construct(t,[]))}return null}function L(e,...t){let n=Wte(t[t.length-1]);n!==void 0&&t.pop();let r=!1;t.length>0&&t[t.length-1]===vo&&(r=!0,t.pop());let i=t.length;if(i===0)return e;if(e instanceof Uint8Array||r)return Kte(Gte(e),t);let a=0,o,s=!1,c,l,u=0;if(e==null)o=0;else if(uo(e)){let t=e.__meta__;a=t.length,o=t.capacity,s=!0,c=t.backing,l=t.target,u=t.offset}else a=e.length,o=a;let d=a+i;if(s&&d<=o&&c){for(let e=0;e<i;e++){let n=Aa(t[e]);c[u+a+e]=n,l!==void 0&&(l[a+e]=n)}return oo(c,u,d,o,l)}let f=So(a,o,d),p=Array(f);a>0&&Eo(p,0,e,0,a);for(let e=0;e<i;e++)p[a+e]=Aa(t[e]);let ee=t[0];n??=()=>Co(ee);for(let e=d;e<f;e++)p[e]=n();return oo(p,0,d,f)}function wo(e,t,n){if(t==null)return e;let r=typeof t==`string`?Ko(t):t,i=n===vo&&uo(e)&&I(e)+I(r)<=_o(e);if(e instanceof Uint8Array||n===vo&&!i)return Kte(Gte(e),[r]);let a=I(r);if(a===0)return e;let o=L(e);if(uo(o)){let e=o.__meta__,t=e.length,n=t+a;if(n<=e.capacity){if(Eo(e.backing,e.offset+t,r,0,a),e.target!==void 0)for(let n=0;n<a;n++)e.target[t+n]=e.backing[e.offset+t+n];return oo(e.backing,e.offset,n,e.capacity,e.target)}}let s=I(o),c=s+a,l=So(s,_o(o),c),u=Array(l);Eo(u,0,o,0,s),Eo(u,s,r,0,a);let d=r[0],f=Wte(n)??(()=>Co(d));for(let e=c;e<l;e++)u[e]=f();return oo(u,0,c,l)}function Kte(e,t){let n=po(e),r=n?.backing,i=r instanceof Uint8Array?r:e,a=n?.offset??0,o=e.length,s=n?.capacity??o,c=0;for(let e of t)c+=qte(e);let l=o+c;if(l<=s){let e=ho(i,a,l,s);return Jte(e,o,t),e}let u=So(o,s,l),d=new Uint8Array(u);return d.set(e),Jte(d,o,t),ho(d,0,l,u)}function qte(e){if(e instanceof Uint8Array)return e.length;if(uo(e)||Array.isArray(e))return I(e);if(typeof e!=`number`)throw Error(`Cannot produce Uint8Array: appended elements contain non-numbers.`);return 1}function Jte(e,t,n){let r=t;for(let t of n){if(t instanceof Uint8Array){e.set(t,r),r+=t.length;continue}if(uo(t)||Array.isArray(t)){let n=I(t);for(let i=0;i<n;i++){let n=t[i];if(typeof n!=`number`)throw Error(`Cannot produce Uint8Array: appended elements contain non-numbers.`);e[r]=n,r++}continue}if(typeof t!=`number`)throw Error(`Cannot produce Uint8Array: appended elements contain non-numbers.`);e[r]=t,r++}}function R(e,t){if(e===null)return 0;if(Za(t))return Yte(e,t);if(t===null)return 0;let n=e instanceof Uint8Array?e.length:I(e),r=t instanceof Uint8Array?t.length:I(t),i=Math.min(n,r);return i===0?0:e instanceof Uint8Array&&t instanceof Uint8Array?(e.set(t.subarray(0,i)),i):(Eo(e,0,t,0,i),i)}function To(e,t,n,r,i,a){if(!(e instanceof Uint8Array)||!(r instanceof Uint8Array))return R(P(e,t,n),P(r,i,a));let o=po(e),s=o?.backing??e,c=fo(t)??0,l=fo(n)??e.length;mo(c,l,o?.capacity??e.length);let u=po(r),d=u?.backing??r,f=fo(i)??0,p=fo(a)??r.length;mo(f,p,u?.capacity??r.length);let ee=Math.min(l-c,p-f);if(ee===0)return 0;let te=(o?.offset??0)+c,ne=(u?.offset??0)+f;return s===d?s.copyWithin(te,ne,ne+ee):s.set(d.subarray(ne,ne+ee),te),ee}function Yte(e,t){let n=e instanceof Uint8Array?e.length:I(e),r=Qa(t),i=Math.min(n,r.length);if(i===0)return 0;if(e instanceof Uint8Array)for(let t=0;t<i;t++)e[t]=r[t];else if(uo(e)){let t=e.__meta__;for(let n=0;n<i;n++){let i=r[n];t.backing[t.offset+n]=i,e[n]=i}}else if(Array.isArray(e))for(let t=0;t<i;t++)e[t]=r[t];return i}function Eo(e,t,n,r,i){if(e==null||n==null||i<=0)return;if(e instanceof Uint8Array&&n instanceof Uint8Array){e.set(n.subarray(r,r+i),t);return}let a=uo(n)?n.__meta__:void 0,o=uo(e)?e.__meta__:void 0,s=a?.backing??n,c=o?.backing??e,l=(a?.offset??0)+r,u=(o?.offset??0)+t,d=s===c&&u>l&&u<l+i;for(let e=0;e<i;e++){let n=d?i-1-e:e,r=Aa(s[l+n]);c[u+n]=r,o?.target!==void 0&&(o.target[t+n]=r)}}function Do(e,t){if(e??Ui(`runtime error: index on nil or undefined collection`),e instanceof Uint8Array)return(t<0||t>=e.length)&&ao(t,e.length),e[t];if(uo(e))return(t<0||t>=e.__meta__.length)&&ao(t,e.__meta__.length),e.__meta__.backing[e.__meta__.offset+t];if(Array.isArray(e))return(t<0||t>=e.length)&&ao(t,e.length),e[t];if(Za(e))return Bo(e,t);Ui(`runtime error: index on unsupported type`)}function z(e,t){if(e??ao(t,0),e instanceof Uint8Array)return(t<0||t>=e.length)&&ao(t,e.length),e[t];if(uo(e)){let n=e.__meta__.length;return(t<0||t>=n)&&ao(t,n),e.__meta__.backing[e.__meta__.offset+t]}if(Array.isArray(e))return(t<0||t>=e.length)&&ao(t,e.length),e[t];Ui(`runtime error: index on unsupported type`)}function Oo(e,t){if(e??Ui(`runtime error: index on nil or undefined collection`),e instanceof Uint8Array){(t<0||t>=e.length)&&ao(t,e.length);let n={get value(){return e[t]},set value(n){e[t]=n},__isVarRef:!0,__goAddress:()=>jo(e,t),__goCollection:e,__goIndex:t};return n.__goPointer=ko(n,e,t),n}if(uo(e)){(t<0||t>=e.__meta__.length)&&ao(t,e.__meta__.length);let n=e.__meta__.offset+t,r={get value(){return e.__meta__.backing[n]},set value(n){e[t]=n},__isVarRef:!0,__goAddress:()=>jo(e,t),__goCollection:e,__goIndex:t};return r.__goPointer=ko(r,e,t),r}if(Array.isArray(e)){(t<0||t>=e.length)&&ao(t,e.length);let n={get value(){return e[t]},set value(n){e[t]=n},__isVarRef:!0,__goAddress:()=>jo(e,t),__goCollection:e,__goIndex:t};return n.__goPointer=ko(n,e,t),n}Ui(`runtime error: index on unsupported type`)}function ko(e,t,n){return{__goOwnedPointer:!0,__goAddress:()=>jo(t,n),__goRef:()=>e,__goSlice:e=>(e<0&&Ui(`runtime error: unsafe slice length out of range`),P(t,n,n+e,n+e))}}function Xte(e,t){if(!Ji(e)||e.__goSlice===void 0)throw Error(`reflect.SliceAt requires a GoScript-owned pointer`);return e.__goSlice(t)}function Ao(e,t,n=1,r=n){let i=e.__goCollection;if(i===void 0)throw Error(`unsafe array pointer requires an indexed collection reference`);let a=e.__goIndex??0,o=r===1&&n>1?ene(No(i,a,n),t):P(i,a,a+t);return{get value(){return o},set value(e){R(o,e)},__isVarRef:!0}}function jo(e,t){e??Ui(`runtime error: index on nil or undefined collection`);let n,r,i;e instanceof Uint8Array?(n=e.buffer,r=e.byteOffset+t,i=e.length):uo(e)?(n=e.__meta__.backing,r=e.__meta__.offset+t,i=e.__meta__.length):Array.isArray(e)?(n=e,r=t,i=e.length):Ui(`runtime error: index on unsupported type`),(t<0||t>=i)&&ao(t,i);let a=Rte.get(n);return a===void 0&&(a=ro*no,ro++,Rte.set(n,a)),a+r}function Zte(e,t){let n=BigInt(t*8);return typeof e==`bigint`?BigInt.asUintN(Number(n),e):typeof e==`number`&&Number.isFinite(e)?BigInt.asUintN(Number(n),BigInt(Math.trunc(e))):0n}function Qte(e,t){let n=BigInt.asUintN(t*8,e);return n<=BigInt(2**53-1)?Number(n):n}function Mo(e,t){let n=zte.get(e);return n===void 0&&(n=ro*no,ro++,zte.set(e,n)),Bte.set(n,t),n}function $te(e,t){let n=Math.max(1,Math.trunc(t));return{byteLength:e.length*n,getByte(t){let r=Math.trunc(t/n),i=t%n,a=Zte(e[r],n);return Number(a>>BigInt(i*8)&255n)},setByte(t,r){let i=Math.trunc(t/n),a=t%n,o=BigInt(a*8),s=255n<<o;e[i]=Qte(Zte(e[i],n)&~s|(BigInt(r)&255n)<<o,n)}}}function No(e,t,n){if(e??Ui(`runtime error: index on nil or undefined collection`),e instanceof Uint8Array){(t<0||t>=e.length)&&ao(t,e.length);let n=new Uint8Array(e.buffer);return Mo(e.buffer,{byteLength:n.length,getByte(e){return n[e]},setByte(e,t){n[e]=t}})+e.byteOffset+t}if(uo(e)){(t<0||t>=e.__meta__.length)&&ao(t,e.__meta__.length);let r=e.__meta__.backing,i=Math.max(1,Math.trunc(n));return Mo(r,$te(r,i))+(e.__meta__.offset+t)*i}if(Array.isArray(e)){(t<0||t>=e.length)&&ao(t,e.length);let r=Math.max(1,Math.trunc(n));return Mo(e,$te(e,r))+t*r}Ui(`runtime error: index on unsupported type`)}function Po(e){let t=Number(e),n=Math.floor(t/no)*no,r=Bte.get(n);if(r===void 0)throw Error(`unsafe pointer dereference is not supported in JavaScript/TypeScript`);let i=t-n;return(i<0||i>=r.byteLength)&&Ui(`runtime error: unsafe pointer address out of range`),{get value(){return r.getByte(i)},set value(e){r.setByte(i,e)},__isVarRef:!0}}function ene(e,t){let n=Number(e),r=Array(t);return new Proxy(r,{get(e,r,i){let a=io(r);return a>=0?(a>=t&&Ui(`Slice index out of range: ${a} >= ${t}`),Po(n+a).value):Reflect.get(e,r,i)},set(e,r,i,a){let o=io(r);return o>=0?(o>=t&&Ui(`Slice index out of range: ${o} >= ${t}`),Po(n+o).value=i,!0):Reflect.set(e,r,i,a)}})}const tne=e=>Array.from(e).map(e=>e.codePointAt(0)||0),Fo=e=>{let t=[],n=0;for(let r of e)t.push([n,r.codePointAt(0)||0]),n+=Ite.encode(r).length;return t},Io=e=>e.length===0?0:e.codePointAt(0)||0,Lo=e=>{if(!e?.length)return``;let t=``;for(let n of e)t+=Ro(n);return t};function Ro(e){return e<0||e>1114111||e>=55296&&e<=57343?`�`:String.fromCodePoint(e)}const zo=e=>e&255,Bo=(e,t)=>{if(typeof e==`string`&&Number.isInteger(t)&&Fte.test(e))return(t<0||t>=e.length)&&ao(t,e.length),e.charCodeAt(t);if(!Za(e))return e instanceof Uint8Array?((t<0||t>=e.length)&&ao(t,e.length),e[t]):(e??ao(t,0),(t<0||t>=e.length)&&ao(t,e.length),e[t]);let n=Qa(e);return(t<0||t>=n.length)&&ao(t,n.length),n[t]},Vo=e=>typeof e==`string`&&Fte.test(e)?e.length:Qa(e).length,Ho=(e,t,n)=>{let r=Qa(e),i=t===void 0?0:t,a=n===void 0?r.length:n;if(i<0||a<i||a>r.length){if(i===a&&i>=0&&i<=r.length)return``;Ui(`runtime error: slice bounds out of range [${i}:${a}] with length ${r.length}`)}return to(r.subarray(i,a))};function nne(e){let t=new Uint8Array(e.length/2);for(let n=0;n<t.length;n++)t[n]=Number.parseInt(e.slice(n*2,n*2+2),16);return t}const B=e=>{if(e===null)return``;if(typeof e==`string`)return e;if(e instanceof Uint8Array)return to(e);let t;return t=uo(e)?e.__meta__.backing.slice(e.__meta__.offset,e.__meta__.offset+e.__meta__.length):e,to(Uint8Array.from(t))};function V(e,t){if(typeof e==`string`&&typeof t==`string`)return e===t;let n=eo(e),r=eo(t);if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==r[e])return!1;return!0}function Uo(e,t){if(!Za(e)&&!Za(t)){let n=rne(e),r=rne(t),i=n.length,a=r.length,o=Math.min(i,a);for(let e=0;e<o;e++){let t=(n.backing[n.offset+e]??0)-(r.backing[r.offset+e]??0);if(t!==0)return t}return i-a}let n=eo(e),r=eo(t),i=Math.min(n.length,r.length);for(let e=0;e<i;e++){let t=n[e]-r[e];if(t!==0)return t}return n.length-r.length}function rne(e){if(e=Wo(e),e==null)return{backing:[],offset:0,length:0};if(e instanceof Uint8Array)return{backing:e,offset:0,length:e.length};if(Array.isArray(e)){let t=e.__meta__;return t===void 0?{backing:e,offset:0,length:e.length}:{backing:t.backing,offset:t.offset,length:t.length}}if(Za(e)){let t=Qa(e);return{backing:t,offset:0,length:t.length}}return{backing:[],offset:0,length:0}}function Wo(e){return g(e)?Wo(e.value):Fa(e)?null:typeof e==`object`&&e&&typeof e.__goType==`string`&&`__goValue`in e?Wo(e.__goValue):e}function Go(e){let t=32768,n=``;for(let r=0;r<e.length;r+=t)n+=String.fromCharCode(...e.subarray(r,r+t));return n}function ine(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n)&255;return t}function Ko(e){return Za(e)?Qa(e):e instanceof Uint8Array?e:e==null?new Uint8Array:new Uint8Array(Array.isArray(e)?e:[])}function ane(e){return m({get Data(){return{kind:`string`,value:e.value}},set Data(e){},get Len(){return Ko(e.value).length},set Len(e){}})}function one(e){let t=null,n=0,r=0,i=()=>{if(t===null)return;let i=Ko(t.value),a=N(n,Math.max(r,n),`byte`);a!==null&&R(a,P(i,0,Math.min(n,i.length))),e.value=a};return m({get Data(){return t},set Data(e){t=e,i()},get Len(){return n},set Len(e){n=e,i()},get Cap(){return r},set Cap(e){r=e,i()}})}function sne(e){return e==null?``:Za(e)?e:B(e)}function qo(e,t){return(t<0||t>=e.length)&&ao(t,e.length),e.charCodeAt(t)}function Jo(e,t){if(Za(e))return Bo(e,t);if(e instanceof Uint8Array)return(t<0||t>=e.length)&&ao(t,e.length),e[t];if(e===null)ao(t,0);else{let n=I(e);return(t<0||t>=n)&&ao(t,n),e[t]}}function Yo(e,t,n,r){return Za(e)?Ho(e,t,n):P(e,t,n,r)}function cne(e){return typeof e==`object`&&!!e&&typeof e.then==`function`}function Xo(e,t){return e.some(cne)?Promise.all(e.map(e=>Promise.resolve(e))).then(e=>e.join(t)):e.join(t)}function Zo(e,t,n,r){let i=Xo(e,t);return cne(i)?Promise.resolve(i).then(e=>`${n}${e}${r}`):`${n}${i}${r}`}function lne(e){return Zo(e.map(une),` `,``,``)}function une(e){return Qo(e,0,!1,new WeakSet)}function Qo(e,t,n,r){if(e===null)return`null`;if(e===void 0)return`<nil>`;if(typeof e==`string`)return n?JSON.stringify(e):e;if(typeof e==`boolean`)return String(e);if(typeof e==`number`)return e===1/0?`+Inf`:e===-1/0?`-Inf`:String(e);if(typeof e==`bigint`)return e.toString();if(e instanceof Uint8Array)return dne(e);if(Array.isArray(e))return $o(e,t,r);if(go(e))return $o(so(e),t,r);if(typeof e==`function`)return e.name?`[Function: ${e.name}]`:`[Function]`;if(typeof e!=`object`)return String(e);if(r.has(e))return`[Circular]`;r.add(e);try{if(g(e))return Qo(e.value,t,n,r);if(e instanceof Map)return $o(Array.from(e.entries()).map(([e,n])=>Xo([Qo(e,t+1,!0,r),Qo(n,t+1,!0,r)],` => `)),t,r);if(e instanceof Set)return $o(Array.from(e.values()),t,r);if(e instanceof Error)return e.message||e.toString();if(typeof e.GoString==`function`)return e.GoString();if(typeof e.Error==`function`)return e.Error();if(typeof e.String==`function`)return e.String();let i=pne(e);return i.length===0?`{}`:fne(i,t,r)}finally{r.delete(e)}}function dne(e){return e.length===0?`Uint8Array(0) []`:`Uint8Array(${e.length}) [ ${Array.from(e).join(`, `)} ]`}function $o(e,t,n){return e.length===0?`[]`:Zo(e.map(e=>Qo(e,t+1,!0,n)),`, `,`[ `,` ]`)}function fne(e,t,n){let r=` `.repeat(t+1),i=` `.repeat(t);return Zo(e.map(([e,i])=>Xo([`${r}${e}: `,Qo(i,t+1,!0,n),`,`],``)),`
|
|
3
3
|
`,`{
|
|
4
4
|
`,`\n${i}}`)}function pne(e){let t=e._fields;return t&&typeof t==`object`&&!Array.isArray(t)?Object.entries(t):Object.entries(e).filter(([,e])=>typeof e!=`function`)}async function es(...e){Ya(e.length===0?``:await lne(e))}async function ts(...e){Ya((e.length===0?``:await lne(e))+`
|
|
5
|
-
`)}function ns(e){if(e!=null){if(e instanceof Map){e.clear();return}if(e instanceof Uint8Array){e.fill(0);return}if(go(e)){let t=mne(e);for(let n=0;n<e.length;n++)e[n]=t;return}if(Array.isArray(e)){e.fill(mne(e));return}}}function mne(e){for(let t of e)if(t!=null){switch(typeof t){case`number`:return 0;case`string`:return``;case`boolean`:return!1}break}return null}function rs(e,t,n){if(e==null||t==null)return;let r=e._fields,i=t._fields,a=tte(t)??n,o=typeof a==`string`?ca(a):a;if(o?.kind===`struct`){let n=r??e,a=i??t;for(let e of o.fields){let t=ga(e);n[t]=hne(n[t],a[t],e.type)}return}if(!r||!i){let n=t,r=n.__goscriptClone?.()??n.clone?.()??t;Object.assign(e,r);return}for(let e of Object.keys(i))r[e]=i[e]}function hne(e,t,n){let r=typeof n==`string`?ca(n):n;if(r?.kind===`struct`)return rs(e,t,r),e;if(r?.kind===`array`){for(let n=0;n<r.length;n++)e[n]=hne(e[n],t[n],r.elemType);return e}return t}function H(e){if(e??Ui(`runtime error: invalid memory address or nil pointer dereference`),g(e))return e.value;let t=typeof e==`object`&&e&&`__goValue`in e?e:null;return t!==null&&typeof t.__goType==`string`&&t.__goType.startsWith(`*`)&&!vne(e)?H(t.__goValue):e}function U(e){if(e==null)return null;if(g(e))return e.value;let t=typeof e==`object`&&e&&`__goValue`in e?e:null;return t!==null&&typeof t.__goType==`string`&&t.__goType.startsWith(`*`)&&!vne(e)?U(t.__goValue):e}const is=new WeakMap;function as(e,t){is.set(e,t)}function gne(e,t){return os(e,t)}function os(e,t){if(ss(e)&&ss(t)&&e.__isTypedNil===!0&&t.__isTypedNil===!0&&e.__goType===t.__goType){let n=e.__goTypeInfo??t.__goTypeInfo;n!==void 0&&!ua(n)&&Ui(`runtime error: comparing uncomparable type ${e.__goType}`)}if(e===t)return!0;if(e==null||t==null)return!1;if(typeof e==`object`&&typeof t==`object`&&ste(e,t))return!0;if(typeof e==`object`&&typeof t==`object`){let n=is.get(e),r=is.get(t);if(n!==void 0||r!==void 0)return n!==void 0&&n===r}if(_ne(e)&&_ne(t)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!os(e[n],t[n]))return!1;return!0}if(ls(e)||ls(t))return ls(e)&&ls(t)&&e.real===t.real&&e.imag===t.imag;if(ss(e)||ss(t)){if(!ss(e)||!ss(t)||e.__goType!==t.__goType)return!1;if(e.__isTypedNil||t.__isTypedNil)return e.__isTypedNil===!0&&t.__isTypedNil===!0;if(e.__goType.startsWith(`*`))return!1;if(cs(e)||cs(t))return cs(e)&&cs(t)&&os(e.__goValue,t.__goValue)}return yne(e)&&yne(t)?bne(e._fields,t._fields):!1}function _ne(e){return Array.isArray(e)||e instanceof Uint8Array}function ss(e){return typeof e==`object`&&!!e&&typeof e.__goType==`string`}function cs(e){return typeof e==`object`&&!!e&&`__goValue`in e}function vne(e){return typeof e!=`object`||!e?!1:Object.keys(e).some(t=>t!==`__goType`&&t!==`__goValue`&&t!==`valueOf`&&t!==`toString`&&typeof e[t]==`function`)}function yne(e){let t=typeof e==`object`&&e?e._fields:void 0;return typeof t==`object`&&!!t&&!Array.isArray(t)}function bne(e,t){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!(r in t)||!os(e[r],t[r]))return!1;return!0}function ls(e){return typeof e==`object`&&!!e&&typeof e.real==`number`&&typeof e.imag==`number`}function us(e,t){return{real:e,imag:t}}function ds(e){return Math.fround(Number(e))}function xne(e,t=0){return typeof e==`object`?{real:ds(e.real),imag:ds(e.imag)}:{real:ds(e),imag:ds(t)}}function Sne(e){return e=wne(e),typeof e==`number`?e:e?.real??0}function Cne(e){return e=wne(e),typeof e==`number`?0:e?.imag??0}function wne(e){return typeof e==`object`&&e&&`__goValue`in e?e.__goValue:e}const Tne=18446744073709551615n,Ene=BigInt(2**53-1);function W(e,t=0){if(typeof e==`string`&&(e=BigInt(e)),typeof e==`bigint`)return Number(t>0&&t<=64?BigInt.asIntN(t,e):e);if(t>0&&t<64){let n=2**t,r=2**(t-1),i=Math.trunc(e);return Number.isFinite(i)?(i%=n,i<0&&(i+=n),i>=r&&(i-=n),i):i}return Math.trunc(e)}function G(e,t=64){if(typeof e==`number`&&Number.isFinite(e)){if(t===8)return e&255;if(t===16)return e&65535;if(t===32)return e>>>0}return Dne(e,t)}function Dne(e,t){if(typeof e==`object`)return e;if(typeof e==`string`&&(e=BigInt(e)),typeof e==`bigint`){let n=BigInt.asUintN(Math.min(t,64),e);return t>=64&&n>Ene?n:Number(n)}if(!Number.isFinite(e))return e;if(t>=64){let t=Math.trunc(e);return t>=0&&t<=2**53-1?t:G(BigInt(t),64)}let n=2**t,r=Math.trunc(e);return r%=n,r<0&&(r+=n),r}function fs(e){return typeof e==`string`&&(e=BigInt(e)),Is(Fs(e))}function K(e){return typeof e==`string`&&(e=BigInt(e)),Rs(Ls(e))}function ps(e){return BigInt(Math.trunc(Number(e)))}function ms(e,t){return Rs(Ls(e)<<ps(t))}function hs(e,t){return Ls(e)>>ps(t)}function gs(e,t){return Is(Fs(e)<<ps(t))}function _s(e,t){return Is(Fs(e)>>ps(t))}function vs(e,t,n=32){let r=Math.min(n,32),i=Math.trunc(Number(t));return i<0&&Ui(`runtime error: negative shift amount`),i>=r?0:Number(G(e,r))>>>i}function ys(e,t){return Rs(Ls(e)*Ls(t))}function bs(e,t){return Is(Fs(e)*Fs(t))}function xs(e,t){let n=Ls(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Rs(Ls(e)/n)}function Ss(e,t){let n=Fs(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Is(Fs(e)/n)}function Cs(e,t){let n=Ls(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Rs(Ls(e)%n)}function ws(e,t){let n=Fs(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Is(Fs(e)%n)}function q(e,t){return Rs(Ls(e)+Ls(t))}function Ts(e,t){return Is(Fs(e)+Fs(t))}function Es(e,t){return Rs(Ls(e)-Ls(t))}function Ds(e,t){return Is(Fs(e)-Fs(t))}function Os(e,t){return Rs(Ls(e)&Ls(t))}function ks(e,t){return Is(Fs(e)&Fs(t))}function As(e,t){return Rs(Ls(e)&~Ls(t))}function One(e,t){return Is(Fs(e)&~Fs(t))}function js(e,t){return Rs(Ls(e)|Ls(t))}function Ms(e,t){return Is(Fs(e)|Fs(t))}function Ns(e,t){return Rs(Ls(e)^Ls(t))}function Ps(e,t){return Is(Fs(e)^Fs(t))}function Fs(e){if(typeof e==`bigint`)return e>=-9223372036854775808n&&e<=9223372036854775807n?e:BigInt.asIntN(64,e);if(Number.isFinite(e)){let t=Math.trunc(e);if(t>=-(2**53-1)&&t<=2**53-1)return BigInt(t)}return BigInt.asIntN(64,BigInt(Math.trunc(e)))}function Is(e){return e>=-9223372036854775808n&&e<=9223372036854775807n?e:BigInt.asIntN(64,e)}function Ls(e){if(typeof e==`bigint`)return e>=0n&&e<=Tne?e:BigInt.asUintN(64,e);if(Number.isFinite(e)){let t=Math.trunc(e);if(t>=0&&t<=2**53-1)return BigInt(t)}return BigInt.asUintN(64,BigInt(Math.trunc(e)))}function Rs(e){return e>=0n&&e<=Tne?e:BigInt.asUintN(64,e)}function zs(e){if(e==null)return new Uint8Array;if(e instanceof Uint8Array)return e;if(e&&typeof e==`object`&&`data`in e&&Array.isArray(e.data))return new Uint8Array(e.data);if(Array.isArray(e))return new Uint8Array(e);throw Error(`Cannot normalize bytes of type ${typeof e}: ${e}`)}function kne(e){if(e!=null){if(go(e)){let t=e.__meta__,n=t.backing.slice(t.offset,t.offset+t.length);n.sort(Ane);for(let e=0;e<n.length;e++)t.backing[t.offset+e]=n[e];return}if(Array.isArray(e)){e.sort(Ane);return}if(e instanceof Uint8Array){e.sort();return}}}function Ane(e,t){return e<t?-1:+(e>t)}function jne(e,t){if(e===t)return!0;let n=e===null?0:Bs(e);if(n!==(t===null?0:Bs(t)))return!1;if(n===0)return!0;for(let r=0;r<n;r++)if(Vs(e,r)!==Vs(t,r))return!1;return!0}function Mne(e,t){if(e===null&&t===null)return 0;if(e===null)return-1;if(t===null)return 1;let n=Bs(e),r=Bs(t),i=Math.min(n,r);for(let n=0;n<i;n++){let r=Vs(e,n),i=Vs(t,n);if(r<i)return-1;if(r>i)return 1}return n<r?-1:+(n>r)}function Bs(e){return e instanceof Uint8Array?e.length:go(e)?e.__meta__.length:e.length}function Vs(e,t){if(e instanceof Uint8Array||Array.isArray(e))return e[t]??0;let n=e.__meta__;return n.backing[n.offset+t]??0}function Hs(e){if(e=Ws(e),e===null)return[];if(e instanceof Uint8Array)return Array.from(e);if(go(e)){let t=e.__meta__;return t.backing.slice(t.offset,t.offset+t.length)}if(Array.isArray(e))return e;throw Error(`Cannot convert bytes of type ${typeof e} to array`)}function Us(e){return e=Ws(e),e===null?new Uint8Array:e instanceof Uint8Array?e.__meta__===void 0?e:e.subarray(0):new Uint8Array(Hs(e))}function Ws(e){return g(e)?Ws(e.value):typeof e==`object`&&e&&typeof e.__goType==`string`&&`__goValue`in e?Ws(e.__goValue):e}function Nne(e,t){if(e===null||t===null)return-1;let n=Hs(e),r=Hs(t);if(r.length===0)return 0;if(r.length>n.length)return-1;for(let e=0;e<=n.length-r.length;e++){let t=!0;for(let i=0;i<r.length;i++)if(n[e+i]!==r[i]){t=!1;break}if(t)return e}return-1}function Pne(e,t){if(e===null||t===null)return-1;let n=Hs(e),r=Hs(t);if(r.length===0)return n.length;if(r.length>n.length)return-1;for(let e=n.length-r.length;e>=0;e--){let t=!0;for(let i=0;i<r.length;i++)if(n[e+i]!==r[i]){t=!1;break}if(t)return e}return-1}function Fne(e,t){return e===null?-1:Hs(e).indexOf(t)}function Gs(e,t){return e===null?-1:Hs(e).lastIndexOf(t)}function Ine(e,t){if(e===null||t===null)return 0;let n=Hs(e),r=Hs(t);if(r.length===0)return n.length+1;let i=0,a=0;for(;a<=n.length-r.length;){let e=!0;for(let t=0;t<r.length;t++)if(n[a+t]!==r[t]){e=!1;break}e?(i++,a+=r.length):a++}return i}function Ks(e,t){return typeof e==`bigint`||typeof t==`bigint`?e<t?e:t:Math.min(e,t)}function qs(e,t){return typeof e==`bigint`||typeof t==`bigint`?e>t?e:t:Math.max(e,t)}function Lne(e){return typeof e==`string`?e:Ro(e)}function Rne(){let e=globalThis.scheduler;if(e&&typeof e.postTask==`function`)return t=>{e.postTask(t,{priority:`user-blocking`})}}function zne(){if(typeof MessageChannel>`u`)return;let e=new MessageChannel,t=e.port1,n=e.port2,r=[],i=e=>{e?(t.ref?.(),n.ref?.()):(t.unref?.(),n.unref?.())};return t.onmessage=()=>{let e=r.shift();r.length===0&&i(!1),e?.()},i(!1),e=>{r.length===0&&i(!0),r.push(e),n.postMessage(void 0)}}let Js;function Bne(){return Js===void 0&&(Js=Rne()??zne()??(e=>{setTimeout(e,0)})),Js}function Vne(e){Bne()(e)}function Ys(e){Vne(e)}function Xs(e,t){return new Promise(n=>{e(t),queueMicrotask(n)})}function Zs(e,t){return new Promise(n=>{e(t),queueMicrotask(n)})}const Hne=`__goscriptSelectVoidReturn`;function Qs(){return{[Hne]:!0}}function $s(e){return e&&typeof e==`object`&&e[Hne]===!0?[!0,void 0]:[e!==void 0,e]}async function ec(e,t=!1){if(e.length===0&&!t)return new Promise(()=>{});let n=[];for(let t of e)t.id!==-1&&t.channel!==null&&t.channel&&(t.isSend&&t.channel.canSendNonBlocking()||!t.isSend&&t.channel.canReceiveNonBlocking())&&n.push(t);if(n.length>0){let e=n[Math.floor(Math.random()*n.length)];if(e.channel){if(e.isSend){let t=e.channel.trySelectSend(e.value,e.id)??await e.channel.selectSend(e.value,e.id);if(e.onSelected)return $s(await e.onSelected(t))}else{let t=e.channel.trySelectReceive(e.id)??await e.channel.selectReceive(e.id);if(t.ok||await new Promise(Ys),e.onSelected)return $s(await e.onSelected(t))}}else console.error(`Selected case without a channel:`,e);return[!1,void 0]}if(t){let t=e.find(e=>e.id===-1);return t&&t.onSelected?$s(await t.onSelected({value:void 0,ok:!1,id:-1})):[!1,void 0]}let r=new AbortController,i=e.filter(e=>e.id!==-1).filter(e=>e.channel!==null).map(e=>e.isSend?e.channel.selectSend(e.value,e.id,r.signal,()=>r.abort()):e.channel.selectReceive(e.id,r.signal,()=>r.abort()));if(i.length===0)return new Promise(()=>{});let a=await Promise.race(i);r.abort();let o=e.find(e=>e.id===a.id);return o&&o.onSelected?$s(await o.onSelected(a)):[!1,void 0]}async function tc(e,t){return e===null?new Promise(()=>{}):e.send(t)}async function nc(e){return e===null?new Promise(()=>{}):e.receive()}async function rc(e){return e===null?new Promise(()=>{}):e.receiveWithOk()}function ic(e,t,n=`both`){let r=new Une(e,t);return n===`send`?new ac(r):n===`receive`?new oc(r):r}var Une=class{buffer=[];closed=!1;capacity;zeroValue;senders=[];receivers=[];receiversWithOk=[];constructor(e,t){if(e<0)throw Error(`Channel capacity cannot be negative`);this.capacity=e,this.zeroValue=t}async send(e){if(this.closed)throw Error(`send on closed channel`);if(this.receivers.length>0)return Xs(this.receivers.shift().resolveReceive,e);if(this.receiversWithOk.length>0)return Zs(this.receiversWithOk.shift().resolveReceive,{value:e,ok:!0});if(this.buffer.length<this.capacity){this.buffer.push(e);return}return new Promise((t,n)=>{this.senders.push({value:e,resolveSend:t,rejectSend:n})})}async receive(){if(this.buffer.length>0){let e=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return e}if(this.closed)return await new Promise(Ys),this.zeroValue;if(this.senders.length>0){let e=this.senders.shift();return e.resolveSend(),e.value}return new Promise((e,t)=>{this.receivers.push({resolveReceive:e,rejectReceive:t})})}async receiveWithOk(){if(this.buffer.length>0){let e=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return{value:e,ok:!0}}if(this.senders.length>0){let e=this.senders.shift();return e.resolveSend(),{value:e.value,ok:!0}}return this.closed?(await new Promise(Ys),{value:this.zeroValue,ok:!1}):new Promise(e=>{this.receiversWithOk.push({resolveReceive:e})})}trySelectReceive(e){if(this.buffer.length>0){let t=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return{value:t,ok:!0,id:e}}if(this.senders.length>0){let t=this.senders.shift();return t.resolveSend(),{value:t.value,ok:!0,id:e}}if(this.closed)return{value:this.zeroValue,ok:!1,id:e}}async selectReceive(e,t,n){if(t?.aborted)return new Promise(()=>{});if(this.buffer.length>0){n?.();let t=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return{value:t,ok:!0,id:e}}let r=this.senders.findIndex(e=>!t||e.signal!==t);if(r>=0){let t=this.senders.splice(r,1)[0];return n?.(),t.resolveSend(),{value:t.value,ok:!0,id:e}}return this.closed?(n?.(),await new Promise(Ys),{value:this.zeroValue,ok:!1,id:e}):new Promise(r=>{let i={done:!1},a=this.receiversWithOk,o={signal:t,resolveReceive:t=>{i.done||(i.done=!0,s(),n?.(),r({...t,id:e}))}};function s(){t?.removeEventListener(`abort`,c);let e=a.indexOf(o);e>=0&&a.splice(e,1)}function c(){i.done||(i.done=!0,s())}t?.aborted||(t?.addEventListener(`abort`,c,{once:!0}),this.receiversWithOk.push(o))})}trySelectSend(e,t){if(this.closed)throw Error(`send on closed channel`);if(this.receivers.length>0)return Xs(this.receivers.shift().resolveReceive,e),{value:!0,ok:!0,id:t};if(this.receiversWithOk.length>0)return Zs(this.receiversWithOk.shift().resolveReceive,{value:e,ok:!0}),{value:!0,ok:!0,id:t};if(this.buffer.length<this.capacity)return this.buffer.push(e),{value:!0,ok:!0,id:t}}async selectSend(e,t,n,r){if(n?.aborted)return new Promise(()=>{});if(this.closed)throw r?.(),Error(`send on closed channel`);if(this.receivers.length>0){let n=this.receivers.shift();return r?.(),await Xs(n.resolveReceive,e),{value:!0,ok:!0,id:t}}let i=this.receiversWithOk.findIndex(e=>!n||e.signal!==n);if(i>=0){let n=this.receiversWithOk.splice(i,1)[0];return r?.(),await Zs(n.resolveReceive,{value:e,ok:!0}),{value:!0,ok:!0,id:t}}return this.buffer.length<this.capacity?(r?.(),this.buffer.push(e),{value:!0,ok:!0,id:t}):new Promise((i,a)=>{let o={done:!1},s=this.senders,c={signal:n,value:e,resolveSend:()=>{o.done||(o.done=!0,l(),r?.(),i({value:!0,ok:!0,id:t}))},rejectSend:e=>{o.done||(o.done=!0,l(),r?.(),a(e))}};function l(){n?.removeEventListener(`abort`,u);let e=s.indexOf(c);e>=0&&s.splice(e,1)}function u(){o.done||(o.done=!0,l())}n?.aborted||(n?.addEventListener(`abort`,u,{once:!0}),this.senders.push(c))})}close(){if(this.closed)throw Error(`close of closed channel`);this.closed=!0;let e=[...this.senders];this.senders=[];for(let t of e)Ys(()=>t.rejectSend(Error(`send on closed channel`)));let t=[...this.receivers];this.receivers=[];for(let e of t)Ys(()=>e.resolveReceive(this.zeroValue));let n=[...this.receiversWithOk];this.receiversWithOk=[];for(let e of n)Ys(()=>e.resolveReceive({value:this.zeroValue,ok:!1}))}canReceiveNonBlocking(){return this.buffer.length>0||this.senders.length>0||this.closed}canSendNonBlocking(){return this.closed?!0:this.buffer.length<this.capacity||this.receivers.length>0||this.receiversWithOk.length>0}len(){return this.buffer.length}cap(){return this.capacity}},Wne=class{channel;direction=`both`;constructor(e){this.channel=e}send(e){return this.channel.send(e)}receive(){return this.channel.receive()}receiveWithOk(){return this.channel.receiveWithOk()}close(){this.channel.close()}canSendNonBlocking(){return this.channel.canSendNonBlocking()}canReceiveNonBlocking(){return this.channel.canReceiveNonBlocking()}selectSend(e,t,n,r){return this.channel.selectSend(e,t,n,r)}selectReceive(e,t,n){return this.channel.selectReceive(e,t,n)}trySelectReceive(e){return this.channel.trySelectReceive(e)}trySelectSend(e,t){return this.channel.trySelectSend(e,t)}len(){return this.channel.len()}cap(){return this.channel.cap()}},ac=class{channel;direction=`send`;constructor(e){this.channel=e}send(e){return this.channel.send(e)}close(){this.channel.close()}canSendNonBlocking(){return this.channel.canSendNonBlocking()}selectSend(e,t,n,r){return this.channel.selectSend(e,t,n,r)}trySelectReceive(e){throw Error(`Cannot receive from send-only channel`)}trySelectSend(e,t){return this.channel.trySelectSend(e,t)}receive(){throw Error(`Cannot receive from send-only channel`)}receiveWithOk(){throw Error(`Cannot receive from send-only channel`)}canReceiveNonBlocking(){return!1}selectReceive(e,t,n){throw Error(`Cannot receive from send-only channel`)}len(){return this.channel.len()}cap(){return this.channel.cap()}},oc=class{channel;direction=`receive`;constructor(e){this.channel=e}receive(){return this.channel.receive()}receiveWithOk(){return this.channel.receiveWithOk()}canReceiveNonBlocking(){return this.channel.canReceiveNonBlocking()}selectReceive(e,t,n){return this.channel.selectReceive(e,t,n)}trySelectReceive(e){return this.channel.trySelectReceive(e)}trySelectSend(e,t){throw Error(`Cannot send to receive-only channel`)}send(e){throw Error(`Cannot send to receive-only channel`)}close(){throw Error(`Cannot close receive-only channel`)}canSendNonBlocking(){return!1}selectSend(e,t,n){throw Error(`Cannot send to receive-only channel`)}len(){return this.channel.len()}cap(){return this.channel.cap()}};function sc(e,t){switch(t){case`send`:return new ac(e);case`receive`:return new oc(e);default:return new Wne(e)}}var cc=class extends Map{pointerKeys;pointerIndex;stringKeys;structKeys;constructor(e){super();let t=typeof e==`string`?ca(e):e;this.pointerKeys=t?.kind===`pointer`}set(e,t){if(this.pointerKeys)e=this.storedKey(e),typeof e==`object`&&e&&(this.pointerIndex??=new Map,this.pointerIndex.set(Sa(e),e));else if(mc(e)){let t=$a(e);this.stringKeys??=new Map,e=this.stringKeys.get(t)??e,this.stringKeys.set(t,e)}else{let t=this.structEntry(e);t===void 0?this.addStructKey(e):e=t}return super.set(e,t)}get(e){return super.get(this.storedKey(e))}has(e){return super.has(this.storedKey(e))}delete(e){let t=this.storedKey(e);return this.pointerKeys?typeof e==`object`&&e&&this.pointerIndex?.delete(Sa(e)):mc(e)?this.stringKeys?.delete($a(e)):this.removeStructKey(t),super.delete(t)}clear(){this.pointerIndex?.clear(),this.stringKeys?.clear(),this.structKeys?.clear(),super.clear()}structEntry(e){let t=hc(e);if(t===void 0)return;let n=this.structKeys?.get(t);if(n!==void 0){for(let t of n)if(os(t,e))return t}}storedKey(e){return this.pointerKeys?typeof e==`object`&&e?this.pointerIndex?.get(Sa(e))??e:e:mc(e)?this.stringKeys?.get($a(e))??e:this.structEntry(e)??e}addStructKey(e){let t=hc(e);if(t===void 0)return;this.structKeys??=new Map;let n=this.structKeys.get(t);n===void 0?this.structKeys.set(t,[e]):n.push(e)}removeStructKey(e){let t=hc(e);if(t===void 0)return;let n=this.structKeys?.get(t);if(n===void 0)return;let r=n.filter(t=>t!==e);r.length===0?this.structKeys.delete(t):this.structKeys.set(t,r)}};function lc(e,t){let n=new cc(t);if(e)for(let[t,r]of e)dc(n,t,r);return n}function uc(e,t,n){let r=pc(e,t);return r.found?[r.value,!0]:[n,!1]}const dc=(e,t,n)=>{if(!e)throw Error(`assign to nil map`);let r=pc(e,t);e.set(r.found?r.key:t,n)},fc=(e,t)=>{let n=pc(e,t);n.found&&e.delete(n.key)},Gne=(e,t)=>pc(e,t).found;function pc(e,t){if(!e)return{found:!1};if(e.has(t))return{found:!0,key:t,value:e.get(t)};if(e instanceof cc&&e.pointerKeys)return{found:!1};if(mc(t)){if(e instanceof cc)return{found:!1};for(let[n,r]of e.entries())if(mc(n)&&V(n,t))return{found:!0,key:n,value:r};return{found:!1}}if(t===null||typeof t!=`object`&&typeof t!=`function`||e instanceof cc&&hc(t)!==void 0)return{found:!1};for(let[n,r]of e.entries())if(n!==t&&os(n,t))return{found:!0,key:n,value:r};return{found:!1}}function mc(e){return typeof e==`string`||e instanceof Xa}function hc(e){if(typeof e!=`object`||!e)return;let t=e._fields;if(typeof t!=`object`||!t||Array.isArray(t))return;let n=Object.keys(t),r=[];for(let e of n.sort()){let n=t[e];if(!mc(n))return;let i=$a(n);r.push(`${e.length}:${e}${i.length}:${i}`)}return r.join(``)}const Kne=Symbol.dispose??Symbol.for(`Symbol.dispose`),qne=Symbol.asyncDispose??Symbol.for(`Symbol.asyncDispose`);var gc=class{stack=[];defer(e){this.stack.push(e)}dispose(){for(;this.stack.length;)this.stack.pop()()}disposePanic(e){Vi(e,()=>this.dispose())}[Kne](){this.dispose()}},_c=class{stack=[];defer(e){this.stack.push(e)}async dispose(){for(;this.stack.length;)await this.stack.pop()()}async disposePanic(e){for(;this.stack.length;){let t=this.stack.pop(),n=Vi(e,()=>t());n&&typeof n.then==`function`&&await n}}async[qne](){await this.dispose()}[Kne](){for(;this.stack.length;){let e=this.stack.pop()();if(e&&typeof e.then==`function`)throw Error(`async deferred function disposed synchronously`)}}};function vc(e){return{Error:()=>e}}function yc(e){return`Error`in e?e:{JsError:e,Error:()=>e.message}}var Jne=e({AsyncDisposableStack:()=>_c,BidirectionalChannelRef:()=>Wne,DisposableStack:()=>gc,GoBinaryString:()=>Xa,GoPanic:()=>Ri,HostRuntimeOwner:()=>Ate,HostUnsupportedError:()=>Ha,ReceiveOnlyChannelRef:()=>oc,RuntimeError:()=>hee,SendOnlyChannelRef:()=>ac,TypeKind:()=>Aee,anonymousStructValue:()=>ya,append:()=>L,appendSlice:()=>wo,appendZero:()=>bo,appendZeros:()=>xo,areTypeInfosIdentical:()=>ma,arrayEqual:()=>gne,arrayIndex:()=>z,arrayPointerFromIndexRef:()=>Ao,arrayToSlice:()=>F,arrayType:()=>Yi,arrayValue:()=>Ea,asArray:()=>so,assignStruct:()=>rs,basicInterfaceValue:()=>O,basicType:()=>y,bindStructFields:()=>h,byte:()=>zo,byteSliceHint:()=>vo,bytesCompare:()=>Mne,bytesCount:()=>Ine,bytesEqual:()=>jne,bytesFromHex:()=>nne,bytesIndexByte:()=>Fne,bytesIndexOf:()=>Nne,bytesLastIndexByte:()=>Gs,bytesLastIndexOf:()=>Pne,bytesToArray:()=>Hs,bytesToString:()=>B,bytesToUint8Array:()=>Us,callGenericMethod:()=>Va,callInterfaceMethod:()=>Ia,canonicalPointerIdentity:()=>Sa,cap:()=>_o,chanRecv:()=>nc,chanRecvWithOk:()=>rc,chanSend:()=>tc,channelType:()=>Zi,clear:()=>ns,cloneArrayValue:()=>Oa,cloneStructValue:()=>w,comparableEqual:()=>os,complex:()=>us,complex64:()=>xne,copy:()=>R,copyByteRanges:()=>To,copyElement:()=>Aa,copySliceElements:()=>Eo,deleteMapEntry:()=>fc,fieldRef:()=>qi,float32:()=>ds,functionValue:()=>k,genericBytesOrStringToString:()=>sne,genericTypeArgsBrand:()=>j,genericTypeArgsMarker:()=>A,genericZero:()=>Ba,getCurrentWorkingDirectory:()=>Ga,getHostRuntime:()=>Ja,getTypeByName:()=>ca,goSlice:()=>P,hostRuntimeOwner:()=>qa,imag:()=>Cne,index:()=>Do,indexAddress:()=>jo,indexByteAddress:()=>No,indexByteString:()=>qo,indexRef:()=>Oo,indexString:()=>Bo,indexStringOrBytes:()=>Jo,int:()=>W,int64:()=>fs,int64Add:()=>Ts,int64And:()=>ks,int64AndNot:()=>One,int64Div:()=>Ss,int64Mod:()=>ws,int64Mul:()=>bs,int64Or:()=>Ms,int64Shl:()=>gs,int64Shr:()=>_s,int64Sub:()=>Ds,int64Xor:()=>Ps,interfaceValue:()=>D,is:()=>Pa,isArrayTypeInfo:()=>ra,isArrayValue:()=>Da,isBasicTypeInfo:()=>ea,isChannelTypeInfo:()=>Nee,isFunctionTypeInfo:()=>Mee,isInterfaceTypeInfo:()=>$i,isMainScript:()=>Nte,isMapTypeInfo:()=>ta,isMarkedAsStructValue:()=>ka,isNamedValueBox:()=>Ra,isOwnedPointerHandle:()=>Ji,isPointerTypeInfo:()=>ia,isSliceProxy:()=>go,isSliceTypeInfo:()=>na,isStructFieldInfo:()=>Pee,isStructTypeInfo:()=>Qi,isTypeInfoComparable:()=>ua,isTypedNilValue:()=>Fa,isVarRef:()=>g,len:()=>I,makeChannel:()=>ic,makeChannelRef:()=>sc,makeMap:()=>lc,makeSlice:()=>N,mapGet:()=>uc,mapHas:()=>Gne,mapSet:()=>dc,mapType:()=>Xi,markAsStructValue:()=>C,markReflectTypeIdentity:()=>as,max:()=>qs,methodSignature:()=>_,min:()=>Ks,mustTypeAssert:()=>E,namedFunction:()=>za,namedStructConversion:()=>ba,namedValueInterfaceValue:()=>La,newError:()=>vc,normalizeBytes:()=>zs,ownedPointerAddress:()=>Eee,ownedPointerFromRef:()=>Tee,ownedPointerRef:()=>Dee,panic:()=>Hi,panicValue:()=>Wi,pointerEqual:()=>Ca,pointerIdentityEqual:()=>ste,pointerType:()=>b,pointerValue:()=>H,pointerValueOrNil:()=>U,print:()=>es,println:()=>ts,queueTask:()=>Vne,rangeString:()=>Fo,real:()=>Sne,recover:()=>Gi,recovered:()=>Ki,registerInterfaceType:()=>sa,registerStructType:()=>S,resetHostRuntimeForTests:()=>jte,runeOrStringToString:()=>Lne,runeToString:()=>Ro,runesToString:()=>Lo,runtimePanic:()=>Ui,selectStatement:()=>ec,selectVoidReturn:()=>Qs,sliceFromOwnedPointer:()=>Xte,sliceHeaderRef:()=>one,sliceString:()=>Ho,sliceStringOrBytes:()=>Yo,sliceToArray:()=>co,sliceToArrayPointer:()=>lo,sliceType:()=>x,sortSlice:()=>kne,stringCompare:()=>Uo,stringEqual:()=>V,stringHeaderRef:()=>ane,stringLen:()=>Vo,stringMapKey:()=>$a,stringToBytes:()=>Ko,stringToRune:()=>Io,stringToRunes:()=>tne,stripGenericTypeArgs:()=>M,structField:()=>v,structFieldRuntimeKey:()=>ga,structValueTypeInfo:()=>tte,toGoError:()=>yc,typeAssert:()=>T,typeAssertTuple:()=>Na,typeSwitch:()=>hte,typedNil:()=>gte,uint:()=>G,uint64:()=>K,uint64Add:()=>q,uint64And:()=>Os,uint64AndNot:()=>As,uint64Div:()=>xs,uint64Mod:()=>Cs,uint64Mul:()=>ys,uint64Or:()=>js,uint64Shl:()=>ms,uint64Shr:()=>hs,uint64Sub:()=>Es,uint64Xor:()=>Ns,uintShr:()=>vs,unref:()=>Oee,unsafePointerCast:()=>wa,unsafePointerRef:()=>Po,unsupportedPointerRef:()=>kee,varRef:()=>m,withRecoveringPanic:()=>Vi,writeHostStderrText:()=>Mte,writeHostStdoutText:()=>Ya}),bc=class e{_raw;constructor(e){if(ire(e)){this._raw=e.raw;return}this._raw=e}clone(){return new e({raw:this._raw})}Equal(e){return this._raw===e._raw&&!Number.isNaN(this._raw)}IsUndefined(){return this._raw===void 0}IsNull(){return this._raw===null}IsNaN(){return typeof this._raw==`number`&&Number.isNaN(this._raw)}Type(){if(this._raw===void 0)return 0;if(this._raw===null)return 1;switch(typeof this._raw){case`boolean`:return 2;case`number`:return 3;case`string`:return 4;case`symbol`:return 5;case`function`:return 7;case`object`:return 6;default:Hi(`bad type`)}}Get(t){return this.requireObject(`Value.Get`),new e({raw:Reflect.get(this._raw,t)})}Set(e,t){this.requireObject(`Value.Set`),Reflect.set(this._raw,e,Dc(t)._raw)}Delete(e){this.requireObject(`Value.Delete`),Reflect.deleteProperty(this._raw,e)}Index(t){return this.requireObject(`Value.Index`),new e({raw:Reflect.get(this._raw,t)})}SetIndex(e,t){this.requireObject(`Value.SetIndex`),Reflect.set(this._raw,e,Dc(t)._raw)}Length(){return this.requireObject(`Value.SetIndex`),Number(Reflect.get(this._raw,`length`)??0)}Call(e,...t){this.requireObject(`Value.Call`);let n=Reflect.get(this._raw,e);return typeof n!=`function`&&Hi(`syscall/js: Value.Call: property ${e} is not a function, got ${Oc(Dc(n).Type())}`),Sc(()=>n.apply(this._raw,t.map(e=>Dc(e)._raw)))}Invoke(...e){typeof this._raw!=`function`&&Hi(new Cc({Method:`Value.Invoke`,Type:this.Type()}));let t=this._raw;return Sc(()=>t(...e.map(e=>Dc(e)._raw)))}New(...e){typeof this._raw!=`function`&&Hi(new Cc({Method:`Value.New`,Type:this.Type()}));let t=this._raw;return Sc(()=>Reflect.construct(t,e.map(e=>Dc(e)._raw)))}InstanceOf(e){return typeof e._raw==`function`&&this._raw instanceof e._raw}Float(){return this.number(`Value.Float`)}Int(){return Math.trunc(this.number(`Value.Int`))}Bool(){return typeof this._raw!=`boolean`&&Hi(new Cc({Method:`Value.Bool`,Type:this.Type()})),this._raw}Truthy(){return!!this._raw}String(){switch(this.Type()){case 4:return this._raw;case 0:return`<undefined>`;case 1:return`<null>`;case 2:case 3:return`<${Oc(this.Type())}: ${String(this._raw)}>`;case 5:return`<symbol>`;case 6:return`<object>`;case 7:return`<function>`;default:Hi(`bad type`)}}requireObject(e){$ne(this.Type())||Hi(new Cc({Method:e,Type:this.Type()}))}number(e){return typeof this._raw!=`number`&&Hi(new Cc({Method:e,Type:this.Type()})),this._raw}},Yne=class{Equal(e){return this.Value.Equal(e)}IsUndefined(){return this.Value.IsUndefined()}IsNull(){return this.Value.IsNull()}IsNaN(){return this.Value.IsNaN()}Type(){return this.Value.Type()}Get(e){return this.Value.Get(e)}Set(e,t){this.Value.Set(e,t)}Delete(e){this.Value.Delete(e)}Index(e){return this.Value.Index(e)}SetIndex(e,t){this.Value.SetIndex(e,t)}Length(){return this.Value.Length()}Call(e,...t){return this.Value.Call(e,...t)}Invoke(...e){return this.Value.Invoke(...e)}New(...e){return this.Value.New(...e)}InstanceOf(e){return this.Value.InstanceOf(e)}Float(){return this.Value.Float()}Int(){return this.Value.Int()}Bool(){return this.Value.Bool()}Truthy(){return this.Value.Truthy()}String(){return this.Value.String()}},xc=class e extends Yne{Value;constructor(e){super(),this.Value=e?.Value?.clone()??Xne()}clone(){return new e({Value:this.Value})}Error(){return`JavaScript error: ${this.Value.Get(`message`).String()}`}};function Sc(e){let t;try{t=e()}catch(e){if(e instanceof Ri)throw e;Hi(D(C(new xc({Value:new bc({raw:e})})),`js.Error`,`js.Error`))}return new bc({raw:t})}var Cc=class e{Method;Type;constructor(e){this.Method=e?.Method??``,this.Type=e?.Type??0}clone(){return new e({Method:this.Method,Type:this.Type})}Error(){return`syscall/js: call of ${this.Method} on ${Oc(this.Type)}`}},wc=class e extends Yne{Value;_released=!1;constructor(e){super();let t=e?.fn;this.Value=e?.Value?.clone()??new bc({raw:function(...e){if(t!==void 0)return Dc(t(new bc({raw:this}),e.map(e=>new bc({raw:e}))))._raw}})}clone(){return new e({Value:this.Value})}Release(){this._released=!0}};function Xne(){return new bc({raw:void 0})}function Tc(){return new bc({raw:null})}function Ec(){return new bc({raw:globalThis})}function Dc(e){if(e instanceof bc)return e.clone();if(e instanceof wc)return e.Value.clone();if(Zne(e))return Dc(e.__goValue);if(e==null)return Tc();if(typeof e==`boolean`||typeof e==`number`||typeof e==`string`)return new bc({raw:e});if(typeof e==`bigint`)return new bc({raw:Number(e)});if(e instanceof Uint8Array)return new bc({raw:e});if(Array.isArray(e))return new bc({raw:e.map(e=>Dc(e)._raw)});if(e instanceof Map){let t={};for(let[n,r]of e.entries())t[String(n)]=Dc(r)._raw;return new bc({raw:t})}return new bc({raw:e})}function Zne(e){return typeof e==`object`&&!!e&&`__goValue`in e&&typeof e.__goType==`string`}function Qne(e){return new wc({fn:e})}function Oc(e){switch(e){case 0:return`undefined`;case 1:return`null`;case 2:return`boolean`;case 3:return`number`;case 4:return`string`;case 5:return`symbol`;case 6:return`object`;case 7:return`function`;default:Hi(`bad type`)}}function $ne(e){return e===6||e===7}function ere(e,t){let n=tre(t),r=Math.min(I(e),n.length);if(e instanceof Uint8Array)return e.set(n.subarray(0,r),0),r;let i=so(e);for(let e=0;e<r;e++)i[e]=n[e];return r}function kc(e,t){let n=nre(e),r=t instanceof Uint8Array?t:Uint8Array.from(so(t)),i=Math.min(n.length,r.length);return n.set(r.subarray(0,i),0),i}function tre(e){let t=rre(e);if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)return t instanceof Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength);Hi(`syscall/js: CopyBytesToGo: expected src to be a Uint8Array or Uint8ClampedArray`)}function nre(e){let t=rre(e);if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)return t;Hi(`syscall/js: CopyBytesToJS: expected dst to be a Uint8Array or Uint8ClampedArray`)}function rre(e){return e._raw}function ire(e){return typeof e==`object`&&!!e&&Object.prototype.hasOwnProperty.call(e,`raw`)}var Ac=class e{_date;_nsec;_monotonic;_location;constructor(e){this._date=new globalThis.Date(0),this._nsec=0,this._monotonic=void 0,this._location=Hc}static create(t,n=0,r,i){let a=new e,o=Math.floor(n/1e6);return a._date=new globalThis.Date(t.getTime()+o),a._nsec=n-o*1e6,a._monotonic=r,a._location=i||Hc,a}clone(){return e.create(this._date,this._nsec,this._monotonic,this._location)}Unix(){return BigInt(Math.floor(this._date.getTime()/1e3))}UnixMilli(){return BigInt(this._date.getTime())}UnixMicro(){return BigInt(this._date.getTime())*1000n+BigInt(Math.floor(this._nsec/1e3))}UnixNano(){return BigInt(this._date.getTime())*1000000n+BigInt(this._nsec)}Weekday(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCDay()}return this._date.getDay()}Day(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCDate()}return this._date.getDate()}Month(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCMonth()+1}return this._date.getMonth()+1}Year(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCFullYear()}return this._date.getFullYear()}Hour(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCHours()}return this._date.getHours()}Minute(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCMinutes()}return this._date.getMinutes()}Second(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCSeconds()}return this._date.getSeconds()}Nanosecond(){return this._date.getUTCMilliseconds()*1e6+this._nsec}Date(){return[this.Year(),this.Month(),this.Day()]}Clock(){return[this.Hour(),this.Minute(),this.Second()]}Zone(){if(this._location.offsetSeconds!==void 0)return[this._location.name,this._location.offsetSeconds];let e=-this._date.getTimezoneOffset()*60;return[this._location.name,e]}Location(){return this._location}UTC(){return e.create(this._date,this._nsec,void 0,Hc)}In(t){if(t===null)throw Error(`time: missing Location in call to Time.In`);return e.create(this._date,this._nsec,void 0,H(t))}AppendFormat(e,t){return wo(e,Ko(this.Format(t)))}Format(e){let t,n,r,i,a,o,s;if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3,c=new globalThis.Date(this._date.getTime()+e);t=c.getUTCFullYear(),n=c.getUTCMonth(),r=c.getUTCDate(),i=c.getUTCDay(),a=c.getUTCHours(),o=c.getUTCMinutes(),s=c.getUTCSeconds()}else t=this._date.getFullYear(),n=this._date.getMonth(),r=this._date.getDate(),i=this._date.getDay(),a=this._date.getHours(),o=this._date.getMinutes(),s=this._date.getSeconds();let c=this.Nanosecond(),l=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],u=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],d=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],f=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],p=a%12||12,ee=a<12?`AM`:`PM`,te=ee.toLowerCase(),ne,re=this._location.name,ie;this._location.offsetSeconds===void 0?(ne=-this._date.getTimezoneOffset()*60,ie=ne===0):(ne=this._location.offsetSeconds,ie=ne===0&&this._location.name===`UTC`);let ae=`+`;ne<0&&(ae=`-`);let oe=Math.abs(ne),se=Math.floor(oe/3600),ce=Math.floor(oe%3600/60),le=(e,t)=>{if(e===0&&t)return``;let n=e.toString().padStart(9,`0`);return t&&(n=n.replace(/0+$/,``)),n.length>0?`.`+n:``},ue=``,de=0;for(;de<e.length;){let ne=!1,oe=e.slice(de);if(oe.match(/^[.,]999999999/))ue+=le(c,!0).replace(`.`,oe[0]),de+=10,ne=!0;else if(oe.match(/^[.,]999999/)){let e=Math.floor(c/1e3).toString().padStart(6,`0`);e=e.replace(/0+$/,``),ue+=e.length>0?oe[0]+e:``,de+=7,ne=!0}else if(oe.match(/^[.,]999/)){let e=Math.floor(c/1e6).toString().padStart(3,`0`);e=e.replace(/0+$/,``),ue+=e.length>0?oe[0]+e:``,de+=4,ne=!0}else oe.match(/^[.,]000000000/)?(ue+=oe[0]+c.toString().padStart(9,`0`),de+=10,ne=!0):oe.match(/^[.,]000000/)?(ue+=oe[0]+Math.floor(c/1e3).toString().padStart(6,`0`),de+=7,ne=!0):oe.match(/^[.,]000/)?(ue+=oe[0]+Math.floor(c/1e6).toString().padStart(3,`0`),de+=4,ne=!0):oe.startsWith(`January`)?(ue+=u[n],de+=7,ne=!0):oe.startsWith(`Monday`)?(ue+=f[i],de+=6,ne=!0):oe.startsWith(`2006`)?(ue+=t.toString(),de+=4,ne=!0):oe.startsWith(`Z070000`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}00`,de+=7,ne=!0):oe.startsWith(`Z07:00:00`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}:00`,de+=9,ne=!0):oe.startsWith(`Z0700`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}`,de+=5,ne=!0):oe.startsWith(`Z07:00`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}`,de+=6,ne=!0):oe.startsWith(`Z07`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}`,de+=3,ne=!0):oe.startsWith(`-070000`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}00`,de+=7,ne=!0):oe.startsWith(`-07:00:00`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}:00`,de+=9,ne=!0):oe.startsWith(`-0700`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}`,de+=5,ne=!0):oe.startsWith(`-07:00`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}`,de+=6,ne=!0):oe.startsWith(`-07`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}`,de+=3,ne=!0):oe.startsWith(`15`)?(ue+=a.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`Jan`)?(ue+=l[n],de+=3,ne=!0):oe.startsWith(`Mon`)?(ue+=d[i],de+=3,ne=!0):oe.startsWith(`MST`)?(ue+=re,de+=3,ne=!0):oe.startsWith(`PM`)?(ue+=ee,de+=2,ne=!0):oe.startsWith(`pm`)?(ue+=te,de+=2,ne=!0):oe.startsWith(`06`)?(ue+=(t%100).toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`_2`)?(ue+=r<10?` `+r.toString():r.toString(),de+=2,ne=!0):oe.startsWith(`03`)?(ue+=p.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`01`)?(ue+=(n+1).toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`02`)?(ue+=r.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`04`)?(ue+=o.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`05`)?(ue+=s.toString().padStart(2,`0`),de+=2,ne=!0):e[de]===`3`&&(de===0||!`0123456789`.includes(e[de-1]))?(ue+=p.toString(),de+=1,ne=!0):e[de]===`2`&&(de===0||!`0123456789`.includes(e[de-1]))?(ue+=r.toString(),de+=1,ne=!0):e[de]===`1`&&(de===0||!`0123456789`.includes(e[de-1]))?(ue+=(n+1).toString(),de+=1,ne=!0):e[de]===`Z`&&!oe.startsWith(`Z0`)&&(ue+=`Z`,de+=1,ne=!0);ne||(ue+=e[de],de+=1)}return ue}YearDay(){let[e,t,n]=this.wallDateParts(),r=globalThis.Date.UTC(e,0,1),i=globalThis.Date.UTC(e,t,n);return Math.floor((i-r)/cre)+1}ISOWeek(){let[e,t,n]=this.wallDateParts(),r=new globalThis.Date(globalThis.Date.UTC(e,t,n)),i=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-i);let a=r.getUTCFullYear(),o=new globalThis.Date(globalThis.Date.UTC(a,0,1));return[a,Math.ceil(((r.getTime()-o.getTime())/cre+1)/7)]}AppendBinary(e){let[t,n]=this.Zone(),r=-1,i=0,a=ure;if((t!==`UTC`||n!==0)&&(i=n%60,i!==0&&(a=jc),r=Math.trunc(n/60),r<-32768||r===-1||r>32767))return[e,vc(`Time.MarshalBinary: unexpected zone offset`)];let o=this.Unix()+lre,s=this.Nanosecond(),c=new Uint8Array(a===jc?16:15);return c[0]=a,dre(c,1,o),fre(c,9,s),pre(c,13,r),a===jc&&(c[15]=i&255),e==null?[c,null]:[wo(e,c),null]}MarshalBinary(){return this.AppendBinary(null)}Sub(e){if(this._monotonic!==void 0&&e._monotonic!==void 0){let t=this._monotonic-e._monotonic;return BigInt(Math.trunc(t))}let t=this._date.getTime()-e._date.getTime(),n=this._nsec-e._nsec;return BigInt(t)*1000000n+BigInt(n)}Add(t){let n=BigInt(t),r=Number(n),i=new globalThis.Date(this._date.getTime()+Number(n/1000000n)),a=this._nsec+Number(n%1000000n),o=this._monotonic===void 0?void 0:this._monotonic+r;return e.create(i,a,o,this._location)}AddDate(t,n,r){if(this._location.offsetSeconds!==void 0){let i=this._location.offsetSeconds*1e3,a=new globalThis.Date(this._date.getTime()+i),o=globalThis.Date.UTC(a.getUTCFullYear()+t,a.getUTCMonth()+n,a.getUTCDate()+r,a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds());return e.create(new globalThis.Date(o-i),this._nsec,void 0,this._location)}let i=new globalThis.Date(this._date.getTime());return i.setFullYear(i.getFullYear()+t),i.setMonth(i.getMonth()+n),i.setDate(i.getDate()+r),e.create(i,this._nsec,void 0,this._location)}Equal(e){return this._monotonic!==void 0&&e._monotonic!==void 0?this._monotonic===e._monotonic:this._date.getTime()===e._date.getTime()&&this._nsec===e._nsec}IsZero(){return this.Equal(new e)}Before(e){if(this._monotonic!==void 0&&e._monotonic!==void 0)return this._monotonic<e._monotonic;let t=this._date.getTime(),n=e._date.getTime();return t<n||t===n&&this._nsec<e._nsec}After(e){if(this._monotonic!==void 0&&e._monotonic!==void 0)return this._monotonic>e._monotonic;let t=this._date.getTime(),n=e._date.getTime();return t>n||t===n&&this._nsec>e._nsec}Compare(e){return this.Before(e)?-1:+!!this.After(e)}Round(t){return e.create(this._date,this._nsec,void 0,this._location)}Truncate(t){return e.create(this._date,this._nsec,void 0,this._location)}String(){let e=`${this._date.getUTCFullYear()}-${String(this._date.getUTCMonth()+1).padStart(2,`0`)}-${String(this._date.getUTCDate()).padStart(2,`0`)} ${String(this._date.getUTCHours()).padStart(2,`0`)}:${String(this._date.getUTCMinutes()).padStart(2,`0`)}:${String(this._date.getUTCSeconds()).padStart(2,`0`)} +0000 UTC`;return this._monotonic!==void 0&&(e+=` m=${this._monotonic}`),e}wallDateParts(){if(this._location.offsetSeconds!==void 0){let e=new globalThis.Date(this._date.getTime()+this._location.offsetSeconds*1e3);return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]}return[this._date.getFullYear(),this._date.getMonth(),this._date.getDate()]}};const are=Number(9223372036854775807n),ore=Number(-9223372036854775808n),sre=2147483647,cre=864e5,lre=62135596800n,ure=1,jc=2;function dre(e,t,n){let r=BigInt.asUintN(64,n);for(let n=7;n>=0;n--)e[t+n]=Number(r&255n),r>>=8n}function fre(e,t,n){let r=n>>>0;e[t]=r>>>24&255,e[t+1]=r>>>16&255,e[t+2]=r>>>8&255,e[t+3]=r&255}function pre(e,t,n){let r=n&65535;e[t]=r>>>8&255,e[t+1]=r&255}function Mc(e){return Number(e)}function Nc(e){let t=Mc(e)/1e6;return!Number.isFinite(t)||t>sre?sre:t<=0?0:t}function mre(e){return e>=0n?e:e===-9223372036854775808n?9223372036854775807n:-e}function hre(e){return Mc(e)/36e11}function gre(e){return e/1000n}function _re(e){return e/1000000n}function vre(e){return Mc(e)/6e10}function Pc(e){return e}function yre(e,t){let n=Mc(e),r=Mc(t);if(r<=0)return e;let i=n>=0?Math.floor(n/r+.5)*r:Math.ceil(n/r-.5)*r;return BigInt(Math.max(ore,Math.min(are,i)))}function bre(e){return Mc(e)/1e9}function xre(e,t){return t<=0n?e:e-e%t}function Fc(e){let t=Mc(e);if(t===0)return`0s`;let n=t<0?`-`:``,r=Math.abs(t);if(r<1e9)return n+wre(r);let i=Math.floor(r/36e11);r-=i*36e11;let a=Math.floor(r/6e10);r-=a*6e10;let o=Math.floor(r/1e9);r-=o*1e9;let s=n;return i!==0&&(s+=`${i}h`),a!==0&&(s+=`${a}m`),(o!==0||r!==0)&&(s+=Cre(o,r)),s}function Sre(e,t){let n=Fc(e),r=Array.from(new TextEncoder().encode(n)),i=Math.max(0,t.value.length-r.length);for(let e=0;e<r.length&&i+e<t.value.length;e++)t.value[i+e]=r[e];return i}function Cre(e,t){return t===0?`${e}s`:`${e}.${String(t).padStart(9,`0`).replace(/0+$/,``)}s`}function wre(e){return e>=1e6?Tre(e,1e6,`ms`):e>=1e3?Tre(e,1e3,`µs`):`${e}ns`}function Tre(e,t,n){let r=Math.floor(e/t),i=e%t;if(i===0)return`${r}${n}`;let a=Math.log10(t);return`${r}.${String(i).padStart(a,`0`).replace(/0+$/,``)}${n}`}var Ic=class{_name;_offsetSeconds;constructor(e,t){this._name=e,this._offsetSeconds=t}get name(){return this._name}get offsetSeconds(){return this._offsetSeconds}String(){return this._name}},Lc=class extends Error{layout;value;layoutElem;valueElem;message;constructor(e,t,n,r,i){super(i),this.layout=e,this.value=t,this.layoutElem=n,this.valueElem=r,this.message=i,this.name=`ParseError`}},Rc=class{_timeout;_duration;_callback;_channel=ic(1,new Ac,`both`);C=sc(this._channel,`receive`);constructor(e,t){this._duration=e,this._callback=t,this._timeout=this.start(e)}Stop(){return this._timeout,clearTimeout(this._timeout),!0}Reset(e){return this.Stop(),this._duration=e,this._timeout=this.start(e),!0}start(e){let t=Nc(e);return this._callback?setTimeout(this._callback,t):setTimeout(()=>{this._channel.send(Bc()).catch(()=>{})},t)}},zc=class{_interval;_duration;_stopped=!1;_channel=ic(1,new Ac,`both`);C=sc(this._channel,`receive`);constructor(e){this._duration=e,this._interval=this.start(e)}Stop(){this._stopped=!0,this._interval,clearInterval(this._interval)}Reset(e){this.Stop(),this._stopped=!1,this._duration=e,this._interval=this.start(e)}async*Channel(){for(;!this._stopped;)yield await this.C.receive()}start(e){let t=Nc(e);return setInterval(()=>{this._channel.send(Bc()).catch(()=>{})},t)}};function Bc(){let e=new globalThis.Date,t;return typeof performance<`u`&&performance.now&&(t=Math.floor(performance.now()*1e6)),Ac.create(e,0,t)}function Vc(e,t,n,r,i,a,o,s){if(s===null)throw Error(`time: missing Location in call to Date`);s=H(s);let c;if(s.offsetSeconds!==void 0){let l=globalThis.Date.UTC(e,t-1,n,r,i,a,Math.floor(o/1e6));c=new globalThis.Date(l-s.offsetSeconds*1e3)}else c=new globalThis.Date(e,t-1,n,r,i,a,Math.floor(o/1e6));return Ac.create(c,o-Math.floor(o/1e6)*1e6,void 0,s)}const Hc=new Ic(`UTC`,0);new Ic(`Local`);function Uc(e,t){return new Ic(e,t)}function Wc(e){return Bc().Sub(e)}function Gc(e){return e.Sub(Bc())}const Kc=`2006-01-02T15:04:05Z07:00`,qc=`2006-01-02T15:04:05.999999999Z07:00`;function Jc(e,t=0n){let n=Number(e*1000n+t/1000000n),r=Number(t%1000000n);return Ac.create(new globalThis.Date(n),r,void 0,Hc)}function Ere(e){return Ac.create(new globalThis.Date(Number(e)),0,void 0,Hc)}function Dre(e){let t=e.match(/^([+-]?)(\d+(?:\.\d+)?)(ns|us|µs|ms|s|m|h)$/);if(!t)return[0n,vc(`time: invalid duration "${e}"`)];let[,n,r,i]=t,a=parseFloat(r);n===`-`&&(a=-a);let o;switch(i){case`ns`:o=a;break;case`us`:case`µs`:o=a*1e3;break;case`ms`:o=a*1e6;break;case`s`:o=a*1e9;break;case`m`:o=a*6e10;break;case`h`:o=a*36e11;break;default:return[0n,vc(`time: unknown unit "${i}" in duration "${e}"`)]}return[BigInt(Math.trunc(o)),null]}function Ore(e,t){return kre(e,t,Hc)}function kre(e,t,n){if(e===`20060102150405Z0700`||e===`20060102150405.999999999Z0700`){let n=t.match(/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(?:\.(\d{1,9}))?(Z|[+-]\d{4})$/);if(n===null)return[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))];let r=Number(n[1]),i=Number(n[2]),a=Number(n[3]),o=Number(n[4]),s=Number(n[5]),c=Number(n[6]),l=Number((n[7]??``).padEnd(9,`0`)),u=n[8],d=0;u!==`Z`&&(d=(u[0]===`-`?-1:1)*(Number(u.slice(1,3))*60+Number(u.slice(3,5)))*60);let f=globalThis.Date.UTC(r,i-1,a,o,s,c),p=new globalThis.Date(f);return r>=0&&r<100&&p.setUTCFullYear(r),i<1||i>12||a<1||p.getUTCFullYear()!==r||p.getUTCMonth()!==i-1||p.getUTCDate()!==a||p.getUTCHours()!==o||p.getUTCMinutes()!==s||p.getUTCSeconds()!==c?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(new globalThis.Date(p.getTime()-d*1e3),l,void 0,u===`Z`?Hc:Uc(``,d)),null]}if(e===`0601021504Z0700`||e===`060102150405Z0700`){let n=e===`060102150405Z0700`,r=t.match(n?/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(Z|[+-]\d{4})$/:/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(Z|[+-]\d{4})$/);if(r===null)return[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))];let i=Number(r[1]),a=i>=69?1900+i:2e3+i,o=Number(r[2]),s=Number(r[3]),c=Number(r[4]),l=Number(r[5]),u=n?Number(r[6]):0,d=r[n?7:6],f=0;d!==`Z`&&(f=(d[0]===`-`?-1:1)*(Number(d.slice(1,3))*60+Number(d.slice(3,5)))*60);let p=globalThis.Date.UTC(a,o-1,s,c,l,u)-f*1e3,ee=new globalThis.Date(p+f*1e3);return o<1||o>12||s<1||ee.getUTCFullYear()!==a||ee.getUTCMonth()!==o-1||ee.getUTCDate()!==s||ee.getUTCHours()!==c||ee.getUTCMinutes()!==l||ee.getUTCSeconds()!==u?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(new globalThis.Date(p),0,void 0,d===`Z`?Hc:Uc(``,f)),null]}if(e===`2006-01-02T15:04:05Z07:00`||e===`2006-01-02T15:04:05.999999999Z07:00`){let r=new globalThis.Date(t);if(isNaN(r.getTime()))return[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))];let i=t.match(/[.,](\d+)(?:Z|[+-]\d{2}:\d{2})$/)?.[1]??``,a=Number(i.slice(0,9).padEnd(9,`0`));return[Ac.create(r,a%1e6,void 0,n),null]}if(e===`2006-01-02 15:04:05`||e===`2006-01-02 15:04:05`){let r=new globalThis.Date(t);return isNaN(r.getTime())?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(r,0,void 0,n),null]}let r=new globalThis.Date(t);return isNaN(r.getTime())?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(r,0,void 0,n),null]}function Yc(e){let t=Nc(e),n=ic(1,new Ac,`both`);return setTimeout(async()=>{n.send(Bc()).catch(()=>{})},t),sc(n,`receive`)}function Xc(e,t){return new Rc(e,t)}function Zc(e){return new Rc(e)}function Qc(e){return new zc(e)}const $c=vc(`context canceled`),el=vc(`context deadline exceeded`);var tl=class{},nl=class e extends tl{static neverClosedChannel=ic(0,{},`both`);static getNeverClosedChannel(){return e.neverClosedChannel}Deadline(){return[new Ac,!1]}Done(){return e.neverClosedChannel}Err(){return null}Value(e){return null}},rl=class extends tl{parent;key;val;constructor(e,t,n){super(),this.parent=e,this.key=t,this.val=n}getParent(){return this.parent}Deadline(){return this.parent.Deadline()}Done(){return this.parent.Done()}Err(){return this.parent.Err()}Value(e){return this.key===e||os(this.key,e)?this.val:this.parent.Value(e)}},il=class e extends tl{doneChannel;err=null;cause=null;children=new Set;parent;parentCancelCtx=null;removeFromParent=null;constructor(e){super(),this.parent=e,this.doneChannel=ic(0,{},`both`)}Deadline(){return this.parent.Deadline()}Done(){return this.doneChannel}Err(){return this.err}Value(e){return this.parent.Value(e)}getCause(){return this.cause??this.err}cancel(e,t,n){if(this.err===null){this.err=t,this.cause=n,this.doneChannel.close();for(let e of this.children)e.cancel(!1,t,n);this.children.clear(),e&&this.removeFromParent&&(this.removeFromParent(),this.removeFromParent=null)}}propagateCancel(){let t=this.parent;for(;t instanceof rl;)t=t.getParent();t instanceof e?(this.parentCancelCtx=t,t.err===null?(t.children.add(this),this.removeFromParent=()=>{t.children.delete(this)}):this.cancel(!1,t.err,t.cause)):this.watchParentDone()}watchParentDone(){let e=this.parent.Done();(async()=>{try{await e.receive()}catch{}let t=this.parent.Err();t&&this.err===null&&this.cancel(!1,t,null)})()}},Are=class extends il{deadline;timer;constructor(e,t){super(e),this.deadline=t.clone()}Deadline(){return[this.deadline.clone(),!0]}startTimer(){let e=Number(this.deadline.Sub(Bc()))/1e6;if(e<=0){this.cancel(!0,el,null);return}this.timer=setTimeout(()=>{this.cancel(!0,el,null)},e)}cancel(e,t,n){super.cancel(e,t,n),this.timer&&=(clearTimeout(this.timer),null)}},jre=class extends tl{parent;constructor(e){super(),this.parent=e}Deadline(){return[new Ac,!1]}Done(){return nl.getNeverClosedChannel()}Err(){return null}Value(e){return this.parent.Value(e)}};const Mre=new nl,Nre=new nl;function al(){return Mre}function ol(){return Nre}function sl(e){if(e===null)throw Error(`cannot create context from nil parent`);let t=new il(e);return t.propagateCancel(),[t,()=>{t.cancel(!0,$c,null)}]}function cl(e,t){return Pre(e,t,null)}function Pre(e,t,n){if(e===null)throw Error(`cannot create context from nil parent`);let[r,i]=e.Deadline();if(i&&(r.Before(t)||r.Equal(t)))return sl(e);let a=new Are(e,t);return a.propagateCancel(),a.startTimer(),[a,()=>{a.cancel(!0,$c,n)}]}function ll(e,t){return cl(e,Bc().Add(t))}function ul(e,t,n){if(e===null)throw Error(`cannot create context from nil parent`);return new rl(e,t,n)}function dl(e){if(e===null)throw Error(`cannot create context from nil parent`);return new jre(e)}function fl(e){if(!e)return null;let t=e;for(;t instanceof rl;)t=t.getParent();return t instanceof il?t.getCause():t.Err()}function pl(e,t){if(e===null)throw Error(`cannot create context from nil parent`);let n=!1,r=!1;return(async()=>{try{await e.Done().receive()}catch{}n||(r=!0,queueMicrotask(()=>{if(t===null)throw Error(`context: nil AfterFunc callback`);t()}))})(),()=>!r&&(n=!0,!0)}function ml(e){return vc(e)}ml(`unsupported operation`);function Fre(e){if(e===null)return null;if(typeof e.Unwrap==`function`){let t=e.Unwrap();if(t&&typeof t.Error==`function`)return t;if(Array.isArray(t)&&t.length>0&&t[0]&&typeof t[0].Error==`function`)return t[0]}return null}function hl(e,t){return t===null?e===null:e!==null&&gl(e,t,Ire(t))}function Ire(e){let t=typeof e==`object`&&e&&`__goTypeInfo`in e&&(typeof e.__goTypeInfo==`string`||Lre(e.__goTypeInfo))?e.__goTypeInfo:void 0;return t===void 0?!Ra(e)&&!Fa(e):typeof t==`string`&&ca(t)===void 0?!1:ua(t)}function Lre(e){if(typeof e!=`object`||!e||!(`kind`in e))return!1;switch(e.kind){case`basic`:case`map`:case`slice`:case`pointer`:case`function`:case`channel`:return!0;case`struct`:return`fields`in e&&Array.isArray(e.fields);case`interface`:return`methods`in e&&Array.isArray(e.methods);default:return!1}}function gl(e,t,n){if(n&&os(e,t)||typeof e.Is==`function`&&e.Is(t))return!0;if(typeof e.Unwrap==`function`){let r=e.Unwrap();if(Array.isArray(r)){for(let e of r)if(e!==null&&gl(e,t,n))return!0}else if(r!==null&&typeof r?.Error==`function`)return gl(r,t,n)}return!1}function _l(e,t){if(e===null)return!1;if(typeof t!=`object`||!t)throw Error(`errors: target cannot be nil`);if(Rre(e,t)||typeof e.As==`function`&&e.As(t))return!0;if(typeof e.Unwrap==`function`){let n=e.Unwrap();if(Array.isArray(n)){for(let e of n)if(e!==null&&_l(e,t))return!0}else if(n!==null&&typeof n?.Error==`function`)return _l(n,t)}return!1}function Rre(e,t){let n=zre(t);if(n!==void 0){let[r,i]=Na(e,n);if(!i)return!1;let a=Ra(t)?t.__goValue:t;return g(a)?(a.value=r,!0):(Object.assign(a,r),!0)}return e.constructor===t.constructor&&(Object.assign(t,e),!0)}function zre(e){let t=e?.__goTypeInfo;if(t!==void 0&&typeof t!=`string`&&ia(t))return t.elemType;let n=e?.__goType;if(typeof n==`string`&&n.startsWith(`*`))return n.slice(1)}function Bre(e,t){let n=e?.E,r=()=>n?.zero?.()??null;return t===null||n?.type===void 0?[r(),!1]:vl(t,n.type,r)}function vl(e,t,n){if(e===null)return[n(),!1];let[r,i]=Na(e,t);if(i)return[r,!0];if(typeof e.Unwrap==`function`){let r=e.Unwrap();if(Array.isArray(r)){for(let e of r)if(e&&typeof e.Error==`function`){let[r,i]=vl(e,t,n);if(i)return[r,!0]}return[n(),!1]}if(r&&typeof r.Error==`function`)return vl(r,t,n)}return[n(),!1]}function yl(...e){let t=e.filter(e=>e!==null);if(t.length===0)return null;if(t.length===1)return t[0];let n={Error:()=>{let e=t.map(e=>e.Error());return e.every(e=>typeof e==`string`)?e.join(`
|
|
5
|
+
`)}function ns(e){if(e!=null){if(e instanceof Map){e.clear();return}if(e instanceof Uint8Array){e.fill(0);return}if(go(e)){let t=mne(e);for(let n=0;n<e.length;n++)e[n]=t;return}if(Array.isArray(e)){e.fill(mne(e));return}}}function mne(e){for(let t of e)if(t!=null){switch(typeof t){case`number`:return 0;case`string`:return``;case`boolean`:return!1}break}return null}function rs(e,t,n){if(e==null||t==null)return;let r=e._fields,i=t._fields,a=tte(t)??n,o=typeof a==`string`?ca(a):a;if(o?.kind===`struct`){let n=r??e,a=i??t;for(let e of o.fields){let t=ga(e);n[t]=hne(n[t],a[t],e.type)}return}if(!r||!i){let n=t,r=n.__goscriptClone?.()??n.clone?.()??t;Object.assign(e,r);return}for(let e of Object.keys(i))r[e]=i[e]}function hne(e,t,n){let r=typeof n==`string`?ca(n):n;if(r?.kind===`struct`)return rs(e,t,r),e;if(r?.kind===`array`){for(let n=0;n<r.length;n++)e[n]=hne(e[n],t[n],r.elemType);return e}return t}function H(e){if(e??Ui(`runtime error: invalid memory address or nil pointer dereference`),g(e))return e.value;let t=typeof e==`object`&&e&&`__goValue`in e?e:null;return t!==null&&typeof t.__goType==`string`&&t.__goType.startsWith(`*`)&&!vne(e)?H(t.__goValue):e}function U(e){if(e==null)return null;if(g(e))return e.value;let t=typeof e==`object`&&e&&`__goValue`in e?e:null;return t!==null&&typeof t.__goType==`string`&&t.__goType.startsWith(`*`)&&!vne(e)?U(t.__goValue):e}const is=new WeakMap;function as(e,t){is.set(e,t)}function gne(e,t){return os(e,t)}function os(e,t){if(ss(e)&&ss(t)&&e.__isTypedNil===!0&&t.__isTypedNil===!0&&e.__goType===t.__goType){let n=e.__goTypeInfo??t.__goTypeInfo;n!==void 0&&!ua(n)&&Ui(`runtime error: comparing uncomparable type ${e.__goType}`)}if(e===t)return!0;if(e==null||t==null)return!1;if(typeof e==`object`&&typeof t==`object`&&ste(e,t))return!0;if(typeof e==`object`&&typeof t==`object`){let n=is.get(e),r=is.get(t);if(n!==void 0||r!==void 0)return n!==void 0&&n===r}if(_ne(e)&&_ne(t)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!os(e[n],t[n]))return!1;return!0}if(ls(e)||ls(t))return ls(e)&&ls(t)&&e.real===t.real&&e.imag===t.imag;if(ss(e)||ss(t)){if(!ss(e)||!ss(t)||e.__goType!==t.__goType)return!1;if(e.__isTypedNil||t.__isTypedNil)return e.__isTypedNil===!0&&t.__isTypedNil===!0;if(e.__goType.startsWith(`*`))return!1;if(cs(e)||cs(t))return cs(e)&&cs(t)&&os(e.__goValue,t.__goValue)}return yne(e)&&yne(t)?bne(e._fields,t._fields):!1}function _ne(e){return Array.isArray(e)||e instanceof Uint8Array}function ss(e){return typeof e==`object`&&!!e&&typeof e.__goType==`string`}function cs(e){return typeof e==`object`&&!!e&&`__goValue`in e}function vne(e){return typeof e!=`object`||!e?!1:Object.keys(e).some(t=>t!==`__goType`&&t!==`__goValue`&&t!==`valueOf`&&t!==`toString`&&typeof e[t]==`function`)}function yne(e){let t=typeof e==`object`&&e?e._fields:void 0;return typeof t==`object`&&!!t&&!Array.isArray(t)}function bne(e,t){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!(r in t)||!os(e[r],t[r]))return!1;return!0}function ls(e){return typeof e==`object`&&!!e&&typeof e.real==`number`&&typeof e.imag==`number`}function us(e,t){return{real:e,imag:t}}function ds(e){return Math.fround(Number(e))}function xne(e,t=0){return typeof e==`object`?{real:ds(e.real),imag:ds(e.imag)}:{real:ds(e),imag:ds(t)}}function Sne(e){return e=wne(e),typeof e==`number`?e:e?.real??0}function Cne(e){return e=wne(e),typeof e==`number`?0:e?.imag??0}function wne(e){return typeof e==`object`&&e&&`__goValue`in e?e.__goValue:e}const Tne=18446744073709551615n,Ene=BigInt(2**53-1);function W(e,t=0){if(typeof e==`string`&&(e=BigInt(e)),typeof e==`bigint`)return Number(t>0&&t<=64?BigInt.asIntN(t,e):e);if(t>0&&t<64){let n=2**t,r=2**(t-1),i=Math.trunc(e);return Number.isFinite(i)?(i%=n,i<0&&(i+=n),i>=r&&(i-=n),i):i}return Math.trunc(e)}function G(e,t=64){if(typeof e==`number`&&Number.isFinite(e)){if(t===8)return e&255;if(t===16)return e&65535;if(t===32)return e>>>0}return Dne(e,t)}function Dne(e,t){if(typeof e==`object`)return e;if(typeof e==`string`&&(e=BigInt(e)),typeof e==`bigint`){let n=BigInt.asUintN(Math.min(t,64),e);return t>=64&&n>Ene?n:Number(n)}if(!Number.isFinite(e))return e;if(t>=64){let t=Math.trunc(e);return t>=0&&t<=2**53-1?t:G(BigInt(t),64)}let n=2**t,r=Math.trunc(e);return r%=n,r<0&&(r+=n),r}function fs(e){return typeof e==`string`&&(e=BigInt(e)),Is(Fs(e))}function K(e){return typeof e==`string`&&(e=BigInt(e)),Rs(Ls(e))}function ps(e){return BigInt(Math.trunc(Number(e)))}function ms(e,t){return Rs(Ls(e)<<ps(t))}function hs(e,t){return Ls(e)>>ps(t)}function gs(e,t){return Is(Fs(e)<<ps(t))}function _s(e,t){return Is(Fs(e)>>ps(t))}function vs(e,t,n=32){let r=Math.min(n,32),i=Math.trunc(Number(t));return i<0&&Ui(`runtime error: negative shift amount`),i>=r?0:Number(G(e,r))>>>i}function ys(e,t){return Rs(Ls(e)*Ls(t))}function bs(e,t){return Is(Fs(e)*Fs(t))}function xs(e,t){let n=Ls(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Rs(Ls(e)/n)}function Ss(e,t){let n=Fs(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Is(Fs(e)/n)}function Cs(e,t){let n=Ls(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Rs(Ls(e)%n)}function ws(e,t){let n=Fs(t);return n===0n&&Ui(`runtime error: integer divide by zero`),Is(Fs(e)%n)}function q(e,t){return Rs(Ls(e)+Ls(t))}function Ts(e,t){return Is(Fs(e)+Fs(t))}function Es(e,t){return Rs(Ls(e)-Ls(t))}function Ds(e,t){return Is(Fs(e)-Fs(t))}function Os(e,t){return Rs(Ls(e)&Ls(t))}function ks(e,t){return Is(Fs(e)&Fs(t))}function As(e,t){return Rs(Ls(e)&~Ls(t))}function One(e,t){return Is(Fs(e)&~Fs(t))}function js(e,t){return Rs(Ls(e)|Ls(t))}function Ms(e,t){return Is(Fs(e)|Fs(t))}function Ns(e,t){return Rs(Ls(e)^Ls(t))}function Ps(e,t){return Is(Fs(e)^Fs(t))}function Fs(e){if(typeof e==`bigint`)return e>=-9223372036854775808n&&e<=9223372036854775807n?e:BigInt.asIntN(64,e);if(Number.isFinite(e)){let t=Math.trunc(e);if(t>=-(2**53-1)&&t<=2**53-1)return BigInt(t)}return BigInt.asIntN(64,BigInt(Math.trunc(e)))}function Is(e){return e>=-9223372036854775808n&&e<=9223372036854775807n?e:BigInt.asIntN(64,e)}function Ls(e){if(typeof e==`bigint`)return e>=0n&&e<=Tne?e:BigInt.asUintN(64,e);if(Number.isFinite(e)){let t=Math.trunc(e);if(t>=0&&t<=2**53-1)return BigInt(t)}return BigInt.asUintN(64,BigInt(Math.trunc(e)))}function Rs(e){return e>=0n&&e<=Tne?e:BigInt.asUintN(64,e)}function zs(e){if(e==null)return new Uint8Array;if(e instanceof Uint8Array)return e;if(e&&typeof e==`object`&&`data`in e&&Array.isArray(e.data))return new Uint8Array(e.data);if(Array.isArray(e))return new Uint8Array(e);throw Error(`Cannot normalize bytes of type ${typeof e}: ${e}`)}function kne(e){if(e!=null){if(go(e)){let t=e.__meta__,n=t.backing.slice(t.offset,t.offset+t.length);n.sort(Ane);for(let e=0;e<n.length;e++)t.backing[t.offset+e]=n[e];return}if(Array.isArray(e)){e.sort(Ane);return}if(e instanceof Uint8Array){e.sort();return}}}function Ane(e,t){return e<t?-1:+(e>t)}function jne(e,t){if(e===t)return!0;let n=e===null?0:Bs(e);if(n!==(t===null?0:Bs(t)))return!1;if(n===0)return!0;for(let r=0;r<n;r++)if(Vs(e,r)!==Vs(t,r))return!1;return!0}function Mne(e,t){if(e===null&&t===null)return 0;if(e===null)return-1;if(t===null)return 1;let n=Bs(e),r=Bs(t),i=Math.min(n,r);for(let n=0;n<i;n++){let r=Vs(e,n),i=Vs(t,n);if(r<i)return-1;if(r>i)return 1}return n<r?-1:+(n>r)}function Bs(e){return e instanceof Uint8Array?e.length:go(e)?e.__meta__.length:e.length}function Vs(e,t){if(e instanceof Uint8Array||Array.isArray(e))return e[t]??0;let n=e.__meta__;return n.backing[n.offset+t]??0}function Hs(e){if(e=Ws(e),e===null)return[];if(e instanceof Uint8Array)return Array.from(e);if(go(e)){let t=e.__meta__;return t.backing.slice(t.offset,t.offset+t.length)}if(Array.isArray(e))return e;throw Error(`Cannot convert bytes of type ${typeof e} to array`)}function Us(e){return e=Ws(e),e===null?new Uint8Array:e instanceof Uint8Array?e.__meta__===void 0?e:e.subarray(0):new Uint8Array(Hs(e))}function Ws(e){return g(e)?Ws(e.value):typeof e==`object`&&e&&typeof e.__goType==`string`&&`__goValue`in e?Ws(e.__goValue):e}function Nne(e,t){if(e===null||t===null)return-1;let n=Hs(e),r=Hs(t);if(r.length===0)return 0;if(r.length>n.length)return-1;for(let e=0;e<=n.length-r.length;e++){let t=!0;for(let i=0;i<r.length;i++)if(n[e+i]!==r[i]){t=!1;break}if(t)return e}return-1}function Pne(e,t){if(e===null||t===null)return-1;let n=Hs(e),r=Hs(t);if(r.length===0)return n.length;if(r.length>n.length)return-1;for(let e=n.length-r.length;e>=0;e--){let t=!0;for(let i=0;i<r.length;i++)if(n[e+i]!==r[i]){t=!1;break}if(t)return e}return-1}function Fne(e,t){return e===null?-1:Hs(e).indexOf(t)}function Gs(e,t){return e===null?-1:Hs(e).lastIndexOf(t)}function Ine(e,t){if(e===null||t===null)return 0;let n=Hs(e),r=Hs(t);if(r.length===0)return n.length+1;let i=0,a=0;for(;a<=n.length-r.length;){let e=!0;for(let t=0;t<r.length;t++)if(n[a+t]!==r[t]){e=!1;break}e?(i++,a+=r.length):a++}return i}function Ks(e,t){return typeof e==`bigint`||typeof t==`bigint`?e<t?e:t:Math.min(e,t)}function qs(e,t){return typeof e==`bigint`||typeof t==`bigint`?e>t?e:t:Math.max(e,t)}function Lne(e){return typeof e==`string`?e:Ro(e)}function Rne(){let e=globalThis.scheduler;if(e&&typeof e.postTask==`function`)return t=>{e.postTask(t,{priority:`user-blocking`})}}function zne(){if(typeof MessageChannel>`u`)return;let e=new MessageChannel,t=e.port1,n=e.port2,r=[],i=e=>{e?(t.ref?.(),n.ref?.()):(t.unref?.(),n.unref?.())};return t.onmessage=()=>{let e=r.shift();r.length===0&&i(!1),e?.()},i(!1),e=>{r.length===0&&i(!0),r.push(e),n.postMessage(void 0)}}let Js;function Bne(){return Js===void 0&&(Js=Rne()??zne()??(e=>{setTimeout(e,0)})),Js}function Vne(e){Bne()(e)}function Ys(e){Vne(e)}function Xs(e,t){return new Promise(n=>{e(t),queueMicrotask(n)})}function Zs(e,t){return new Promise(n=>{e(t),queueMicrotask(n)})}const Hne=`__goscriptSelectVoidReturn`;function Qs(){return{[Hne]:!0}}function $s(e){return e&&typeof e==`object`&&e[Hne]===!0?[!0,void 0]:[e!==void 0,e]}async function ec(e,t=!1){if(e.length===0&&!t)return new Promise(()=>{});let n=[];for(let t of e)t.id!==-1&&t.channel!==null&&t.channel&&(t.isSend&&t.channel.canSendNonBlocking()||!t.isSend&&t.channel.canReceiveNonBlocking())&&n.push(t);if(n.length>0){let e=n[Math.floor(Math.random()*n.length)];if(e.channel){if(e.isSend){let t=e.channel.trySelectSend(e.value,e.id)??await e.channel.selectSend(e.value,e.id);if(e.onSelected)return $s(await e.onSelected(t))}else{let t=e.channel.trySelectReceive(e.id)??await e.channel.selectReceive(e.id);if(t.ok||await new Promise(Ys),e.onSelected)return $s(await e.onSelected(t))}}else console.error(`Selected case without a channel:`,e);return[!1,void 0]}if(t){let t=e.find(e=>e.id===-1);return t&&t.onSelected?$s(await t.onSelected({value:void 0,ok:!1,id:-1})):[!1,void 0]}let r=new AbortController,i=e.filter(e=>e.id!==-1).filter(e=>e.channel!==null).map(e=>e.isSend?e.channel.selectSend(e.value,e.id,r.signal,()=>r.abort()):e.channel.selectReceive(e.id,r.signal,()=>r.abort()));if(i.length===0)return new Promise(()=>{});let a=await Promise.race(i);r.abort();let o=e.find(e=>e.id===a.id);return o&&o.onSelected?$s(await o.onSelected(a)):[!1,void 0]}async function tc(e,t){return e===null?new Promise(()=>{}):e.send(t)}async function nc(e){return e===null?new Promise(()=>{}):e.receive()}async function rc(e){return e===null?new Promise(()=>{}):e.receiveWithOk()}function ic(e,t,n=`both`){let r=new Une(e,t);return n===`send`?new ac(r):n===`receive`?new oc(r):r}var Une=class{buffer=[];closed=!1;capacity;zeroValue;senders=[];receivers=[];receiversWithOk=[];constructor(e,t){if(e<0)throw Error(`Channel capacity cannot be negative`);this.capacity=e,this.zeroValue=t}async send(e){if(this.closed)throw Error(`send on closed channel`);if(this.receivers.length>0)return Xs(this.receivers.shift().resolveReceive,e);if(this.receiversWithOk.length>0)return Zs(this.receiversWithOk.shift().resolveReceive,{value:e,ok:!0});if(this.buffer.length<this.capacity){this.buffer.push(e);return}return new Promise((t,n)=>{this.senders.push({value:e,resolveSend:t,rejectSend:n})})}async receive(){if(this.buffer.length>0){let e=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return e}if(this.closed)return await new Promise(Ys),this.zeroValue;if(this.senders.length>0){let e=this.senders.shift();return e.resolveSend(),e.value}return new Promise((e,t)=>{this.receivers.push({resolveReceive:e,rejectReceive:t})})}async receiveWithOk(){if(this.buffer.length>0){let e=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return{value:e,ok:!0}}if(this.senders.length>0){let e=this.senders.shift();return e.resolveSend(),{value:e.value,ok:!0}}return this.closed?(await new Promise(Ys),{value:this.zeroValue,ok:!1}):new Promise(e=>{this.receiversWithOk.push({resolveReceive:e})})}trySelectReceive(e){if(this.buffer.length>0){let t=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return{value:t,ok:!0,id:e}}if(this.senders.length>0){let t=this.senders.shift();return t.resolveSend(),{value:t.value,ok:!0,id:e}}if(this.closed)return{value:this.zeroValue,ok:!1,id:e}}async selectReceive(e,t,n){if(t?.aborted)return new Promise(()=>{});if(this.buffer.length>0){n?.();let t=this.buffer.shift();if(this.senders.length>0){let e=this.senders.shift();this.buffer.push(e.value),e.resolveSend()}return{value:t,ok:!0,id:e}}let r=this.senders.findIndex(e=>!t||e.signal!==t);if(r>=0){let t=this.senders.splice(r,1)[0];return n?.(),t.resolveSend(),{value:t.value,ok:!0,id:e}}return this.closed?(n?.(),await new Promise(Ys),{value:this.zeroValue,ok:!1,id:e}):new Promise(r=>{let i={done:!1},a=this.receiversWithOk,o={signal:t,resolveReceive:t=>{i.done||(i.done=!0,s(),n?.(),r({...t,id:e}))}};function s(){t?.removeEventListener(`abort`,c);let e=a.indexOf(o);e>=0&&a.splice(e,1)}function c(){i.done||(i.done=!0,s())}t?.aborted||(t?.addEventListener(`abort`,c,{once:!0}),this.receiversWithOk.push(o))})}trySelectSend(e,t){if(this.closed)throw Error(`send on closed channel`);if(this.receivers.length>0)return Xs(this.receivers.shift().resolveReceive,e),{value:!0,ok:!0,id:t};if(this.receiversWithOk.length>0)return Zs(this.receiversWithOk.shift().resolveReceive,{value:e,ok:!0}),{value:!0,ok:!0,id:t};if(this.buffer.length<this.capacity)return this.buffer.push(e),{value:!0,ok:!0,id:t}}async selectSend(e,t,n,r){if(n?.aborted)return new Promise(()=>{});if(this.closed)throw r?.(),Error(`send on closed channel`);if(this.receivers.length>0){let n=this.receivers.shift();return r?.(),await Xs(n.resolveReceive,e),{value:!0,ok:!0,id:t}}let i=this.receiversWithOk.findIndex(e=>!n||e.signal!==n);if(i>=0){let n=this.receiversWithOk.splice(i,1)[0];return r?.(),await Zs(n.resolveReceive,{value:e,ok:!0}),{value:!0,ok:!0,id:t}}return this.buffer.length<this.capacity?(r?.(),this.buffer.push(e),{value:!0,ok:!0,id:t}):new Promise((i,a)=>{let o={done:!1},s=this.senders,c={signal:n,value:e,resolveSend:()=>{o.done||(o.done=!0,l(),r?.(),i({value:!0,ok:!0,id:t}))},rejectSend:e=>{o.done||(o.done=!0,l(),r?.(),a(e))}};function l(){n?.removeEventListener(`abort`,u);let e=s.indexOf(c);e>=0&&s.splice(e,1)}function u(){o.done||(o.done=!0,l())}n?.aborted||(n?.addEventListener(`abort`,u,{once:!0}),this.senders.push(c))})}close(){if(this.closed)throw Error(`close of closed channel`);this.closed=!0;let e=[...this.senders];this.senders=[];for(let t of e)Ys(()=>t.rejectSend(Error(`send on closed channel`)));let t=[...this.receivers];this.receivers=[];for(let e of t)Ys(()=>e.resolveReceive(this.zeroValue));let n=[...this.receiversWithOk];this.receiversWithOk=[];for(let e of n)Ys(()=>e.resolveReceive({value:this.zeroValue,ok:!1}))}canReceiveNonBlocking(){return this.buffer.length>0||this.senders.length>0||this.closed}canSendNonBlocking(){return this.closed?!0:this.buffer.length<this.capacity||this.receivers.length>0||this.receiversWithOk.length>0}len(){return this.buffer.length}cap(){return this.capacity}},Wne=class{channel;direction=`both`;constructor(e){this.channel=e}send(e){return this.channel.send(e)}receive(){return this.channel.receive()}receiveWithOk(){return this.channel.receiveWithOk()}close(){this.channel.close()}canSendNonBlocking(){return this.channel.canSendNonBlocking()}canReceiveNonBlocking(){return this.channel.canReceiveNonBlocking()}selectSend(e,t,n,r){return this.channel.selectSend(e,t,n,r)}selectReceive(e,t,n){return this.channel.selectReceive(e,t,n)}trySelectReceive(e){return this.channel.trySelectReceive(e)}trySelectSend(e,t){return this.channel.trySelectSend(e,t)}len(){return this.channel.len()}cap(){return this.channel.cap()}},ac=class{channel;direction=`send`;constructor(e){this.channel=e}send(e){return this.channel.send(e)}close(){this.channel.close()}canSendNonBlocking(){return this.channel.canSendNonBlocking()}selectSend(e,t,n,r){return this.channel.selectSend(e,t,n,r)}trySelectReceive(e){throw Error(`Cannot receive from send-only channel`)}trySelectSend(e,t){return this.channel.trySelectSend(e,t)}receive(){throw Error(`Cannot receive from send-only channel`)}receiveWithOk(){throw Error(`Cannot receive from send-only channel`)}canReceiveNonBlocking(){return!1}selectReceive(e,t,n){throw Error(`Cannot receive from send-only channel`)}len(){return this.channel.len()}cap(){return this.channel.cap()}},oc=class{channel;direction=`receive`;constructor(e){this.channel=e}receive(){return this.channel.receive()}receiveWithOk(){return this.channel.receiveWithOk()}canReceiveNonBlocking(){return this.channel.canReceiveNonBlocking()}selectReceive(e,t,n){return this.channel.selectReceive(e,t,n)}trySelectReceive(e){return this.channel.trySelectReceive(e)}trySelectSend(e,t){throw Error(`Cannot send to receive-only channel`)}send(e){throw Error(`Cannot send to receive-only channel`)}close(){throw Error(`Cannot close receive-only channel`)}canSendNonBlocking(){return!1}selectSend(e,t,n){throw Error(`Cannot send to receive-only channel`)}len(){return this.channel.len()}cap(){return this.channel.cap()}};function sc(e,t){switch(t){case`send`:return new ac(e);case`receive`:return new oc(e);default:return new Wne(e)}}var cc=class extends Map{pointerKeys;pointerIndex;stringKeys;structKeys;constructor(e){super();let t=typeof e==`string`?ca(e):e;this.pointerKeys=t?.kind===`pointer`}set(e,t){if(this.pointerKeys)e=this.storedKey(e),typeof e==`object`&&e&&(this.pointerIndex??=new Map,this.pointerIndex.set(Sa(e),e));else if(mc(e)){let t=$a(e);this.stringKeys??=new Map,e=this.stringKeys.get(t)??e,this.stringKeys.set(t,e)}else{let t=this.structEntry(e);t===void 0?this.addStructKey(e):e=t}return super.set(e,t)}get(e){return super.get(this.storedKey(e))}has(e){return super.has(this.storedKey(e))}delete(e){let t=this.storedKey(e);return this.pointerKeys?typeof e==`object`&&e&&this.pointerIndex?.delete(Sa(e)):mc(e)?this.stringKeys?.delete($a(e)):this.removeStructKey(t),super.delete(t)}clear(){this.pointerIndex?.clear(),this.stringKeys?.clear(),this.structKeys?.clear(),super.clear()}structEntry(e){let t=hc(e);if(t===void 0)return;let n=this.structKeys?.get(t);if(n!==void 0){for(let t of n)if(os(t,e))return t}}storedKey(e){return this.pointerKeys?typeof e==`object`&&e?this.pointerIndex?.get(Sa(e))??e:e:mc(e)?this.stringKeys?.get($a(e))??e:this.structEntry(e)??e}addStructKey(e){let t=hc(e);if(t===void 0)return;this.structKeys??=new Map;let n=this.structKeys.get(t);n===void 0?this.structKeys.set(t,[e]):n.push(e)}removeStructKey(e){let t=hc(e);if(t===void 0)return;let n=this.structKeys?.get(t);if(n===void 0)return;let r=n.filter(t=>t!==e);r.length===0?this.structKeys.delete(t):this.structKeys.set(t,r)}};function lc(e,t){let n=new cc(t);if(e)for(let[t,r]of e)dc(n,t,r);return n}function uc(e,t,n){let r=pc(e,t);return r.found?[r.value,!0]:[n,!1]}const dc=(e,t,n)=>{if(!e)throw Error(`assign to nil map`);let r=pc(e,t);e.set(r.found?r.key:t,n)},fc=(e,t)=>{let n=pc(e,t);n.found&&e.delete(n.key)},Gne=(e,t)=>pc(e,t).found;function pc(e,t){if(!e)return{found:!1};if(e.has(t))return{found:!0,key:t,value:e.get(t)};if(e instanceof cc&&e.pointerKeys)return{found:!1};if(mc(t)){if(e instanceof cc)return{found:!1};for(let[n,r]of e.entries())if(mc(n)&&V(n,t))return{found:!0,key:n,value:r};return{found:!1}}if(t===null||typeof t!=`object`&&typeof t!=`function`||e instanceof cc&&hc(t)!==void 0)return{found:!1};for(let[n,r]of e.entries())if(n!==t&&os(n,t))return{found:!0,key:n,value:r};return{found:!1}}function mc(e){return typeof e==`string`||e instanceof Xa}function hc(e){if(typeof e!=`object`||!e)return;let t=e._fields;if(typeof t!=`object`||!t||Array.isArray(t))return;let n=Object.keys(t),r=[];for(let e of n.sort()){let n=t[e];if(!mc(n))return;let i=$a(n);r.push(`${e.length}:${e}${i.length}:${i}`)}return r.join(``)}const Kne=Symbol.dispose??Symbol.for(`Symbol.dispose`),qne=Symbol.asyncDispose??Symbol.for(`Symbol.asyncDispose`);var gc=class{stack=[];defer(e){this.stack.push(e)}dispose(){for(;this.stack.length;)this.stack.pop()()}disposePanic(e){Vi(e,()=>this.dispose())}[Kne](){this.dispose()}},_c=class{stack=[];defer(e){this.stack.push(e)}async dispose(){for(;this.stack.length;)await this.stack.pop()()}async disposePanic(e){for(;this.stack.length;){let t=this.stack.pop(),n=Vi(e,()=>t());n&&typeof n.then==`function`&&await n}}async[qne](){await this.dispose()}[Kne](){for(;this.stack.length;){let e=this.stack.pop()();if(e&&typeof e.then==`function`)throw Error(`async deferred function disposed synchronously`)}}};function vc(e){return{Error:()=>e}}function yc(e){return`Error`in e?e:{JsError:e,Error:()=>e.message}}var Jne=e({AsyncDisposableStack:()=>_c,BidirectionalChannelRef:()=>Wne,DisposableStack:()=>gc,GoBinaryString:()=>Xa,GoPanic:()=>Ri,HostRuntimeOwner:()=>Ate,HostUnsupportedError:()=>Ha,ReceiveOnlyChannelRef:()=>oc,RuntimeError:()=>hee,SendOnlyChannelRef:()=>ac,TypeKind:()=>Aee,anonymousStructValue:()=>ya,append:()=>L,appendSlice:()=>wo,appendZero:()=>bo,appendZeros:()=>xo,areTypeInfosIdentical:()=>ma,arrayEqual:()=>gne,arrayIndex:()=>z,arrayPointerFromIndexRef:()=>Ao,arrayToSlice:()=>F,arrayType:()=>Yi,arrayValue:()=>Ea,asArray:()=>so,assignStruct:()=>rs,basicInterfaceValue:()=>O,basicType:()=>y,bindStructFields:()=>h,byte:()=>zo,byteSliceHint:()=>vo,bytesCompare:()=>Mne,bytesCount:()=>Ine,bytesEqual:()=>jne,bytesFromHex:()=>nne,bytesIndexByte:()=>Fne,bytesIndexOf:()=>Nne,bytesLastIndexByte:()=>Gs,bytesLastIndexOf:()=>Pne,bytesToArray:()=>Hs,bytesToString:()=>B,bytesToUint8Array:()=>Us,callGenericMethod:()=>Va,callInterfaceMethod:()=>Ia,canonicalPointerIdentity:()=>Sa,cap:()=>_o,chanRecv:()=>nc,chanRecvWithOk:()=>rc,chanSend:()=>tc,channelType:()=>Zi,clear:()=>ns,cloneArrayValue:()=>Oa,cloneStructValue:()=>w,comparableEqual:()=>os,complex:()=>us,complex64:()=>xne,copy:()=>R,copyByteRanges:()=>To,copyElement:()=>Aa,copySliceElements:()=>Eo,deleteMapEntry:()=>fc,fieldRef:()=>qi,float32:()=>ds,functionValue:()=>k,genericBytesOrStringToString:()=>sne,genericTypeArgsBrand:()=>j,genericTypeArgsMarker:()=>A,genericZero:()=>Ba,getCurrentWorkingDirectory:()=>Ga,getHostRuntime:()=>Ja,getTypeByName:()=>ca,goSlice:()=>P,hostRuntimeOwner:()=>qa,imag:()=>Cne,index:()=>Do,indexAddress:()=>jo,indexByteAddress:()=>No,indexByteString:()=>qo,indexRef:()=>Oo,indexString:()=>Bo,indexStringOrBytes:()=>Jo,int:()=>W,int64:()=>fs,int64Add:()=>Ts,int64And:()=>ks,int64AndNot:()=>One,int64Div:()=>Ss,int64Mod:()=>ws,int64Mul:()=>bs,int64Or:()=>Ms,int64Shl:()=>gs,int64Shr:()=>_s,int64Sub:()=>Ds,int64Xor:()=>Ps,interfaceValue:()=>D,is:()=>Pa,isArrayTypeInfo:()=>ra,isArrayValue:()=>Da,isBasicTypeInfo:()=>ea,isChannelTypeInfo:()=>Nee,isFunctionTypeInfo:()=>Mee,isInterfaceTypeInfo:()=>$i,isMainScript:()=>Nte,isMapTypeInfo:()=>ta,isMarkedAsStructValue:()=>ka,isNamedValueBox:()=>Ra,isOwnedPointerHandle:()=>Ji,isPointerTypeInfo:()=>ia,isSliceProxy:()=>go,isSliceTypeInfo:()=>na,isStructFieldInfo:()=>Pee,isStructTypeInfo:()=>Qi,isTypeInfoComparable:()=>ua,isTypedNilValue:()=>Fa,isVarRef:()=>g,len:()=>I,makeChannel:()=>ic,makeChannelRef:()=>sc,makeMap:()=>lc,makeSlice:()=>N,mapGet:()=>uc,mapHas:()=>Gne,mapSet:()=>dc,mapType:()=>Xi,markAsStructValue:()=>C,markReflectTypeIdentity:()=>as,max:()=>qs,methodSignature:()=>_,min:()=>Ks,mustTypeAssert:()=>E,namedFunction:()=>za,namedStructConversion:()=>ba,namedValueInterfaceValue:()=>La,newError:()=>vc,normalizeBytes:()=>zs,ownedPointerAddress:()=>Eee,ownedPointerFromRef:()=>Tee,ownedPointerRef:()=>Dee,panic:()=>Hi,panicValue:()=>Wi,pointerEqual:()=>Ca,pointerIdentityEqual:()=>ste,pointerType:()=>b,pointerValue:()=>H,pointerValueOrNil:()=>U,print:()=>es,println:()=>ts,queueTask:()=>Vne,rangeString:()=>Fo,real:()=>Sne,recover:()=>Gi,recovered:()=>Ki,registerInterfaceType:()=>sa,registerStructType:()=>S,resetHostRuntimeForTests:()=>jte,runeOrStringToString:()=>Lne,runeToString:()=>Ro,runesToString:()=>Lo,runtimePanic:()=>Ui,selectStatement:()=>ec,selectVoidReturn:()=>Qs,sliceFromOwnedPointer:()=>Xte,sliceHeaderRef:()=>one,sliceString:()=>Ho,sliceStringOrBytes:()=>Yo,sliceToArray:()=>co,sliceToArrayPointer:()=>lo,sliceType:()=>x,sortSlice:()=>kne,stringCompare:()=>Uo,stringEqual:()=>V,stringHeaderRef:()=>ane,stringLen:()=>Vo,stringMapKey:()=>$a,stringToBytes:()=>Ko,stringToRune:()=>Io,stringToRunes:()=>tne,stripGenericTypeArgs:()=>M,structField:()=>v,structFieldRuntimeKey:()=>ga,structValueTypeInfo:()=>tte,toGoError:()=>yc,typeAssert:()=>T,typeAssertTuple:()=>Na,typeSwitch:()=>hte,typedNil:()=>gte,uint:()=>G,uint64:()=>K,uint64Add:()=>q,uint64And:()=>Os,uint64AndNot:()=>As,uint64Div:()=>xs,uint64Mod:()=>Cs,uint64Mul:()=>ys,uint64Or:()=>js,uint64Shl:()=>ms,uint64Shr:()=>hs,uint64Sub:()=>Es,uint64Xor:()=>Ns,uintShr:()=>vs,unref:()=>Oee,unsafePointerCast:()=>wa,unsafePointerRef:()=>Po,unsupportedPointerRef:()=>kee,varRef:()=>m,withRecoveringPanic:()=>Vi,writeHostStderrText:()=>Mte,writeHostStdoutText:()=>Ya}),bc=class e{_raw;constructor(e){if(ire(e)){this._raw=e.raw;return}this._raw=e}clone(){return new e({raw:this._raw})}Equal(e){return this._raw===e._raw&&!Number.isNaN(this._raw)}IsUndefined(){return this._raw===void 0}IsNull(){return this._raw===null}IsNaN(){return typeof this._raw==`number`&&Number.isNaN(this._raw)}Type(){if(this._raw===void 0)return 0;if(this._raw===null)return 1;switch(typeof this._raw){case`boolean`:return 2;case`number`:return 3;case`string`:return 4;case`symbol`:return 5;case`function`:return 7;case`object`:return 6;default:Hi(`bad type`)}}Get(t){return this.requireObject(`Value.Get`),new e({raw:Reflect.get(this._raw,t)})}Set(e,t){this.requireObject(`Value.Set`),Reflect.set(this._raw,e,Dc(t)._raw)}Delete(e){this.requireObject(`Value.Delete`),Reflect.deleteProperty(this._raw,e)}Index(t){return this.requireObject(`Value.Index`),new e({raw:Reflect.get(this._raw,t)})}SetIndex(e,t){this.requireObject(`Value.SetIndex`),Reflect.set(this._raw,e,Dc(t)._raw)}Length(){return this.requireObject(`Value.SetIndex`),Number(Reflect.get(this._raw,`length`)??0)}Call(e,...t){this.requireObject(`Value.Call`);let n=Reflect.get(this._raw,e);return typeof n!=`function`&&Hi(`syscall/js: Value.Call: property ${e} is not a function, got ${Oc(Dc(n).Type())}`),Sc(()=>n.apply(this._raw,t.map(e=>Dc(e)._raw)))}Invoke(...e){typeof this._raw!=`function`&&Hi(new Cc({Method:`Value.Invoke`,Type:this.Type()}));let t=this._raw;return Sc(()=>t(...e.map(e=>Dc(e)._raw)))}New(...e){typeof this._raw!=`function`&&Hi(new Cc({Method:`Value.New`,Type:this.Type()}));let t=this._raw;return Sc(()=>Reflect.construct(t,e.map(e=>Dc(e)._raw)))}InstanceOf(e){return typeof e._raw==`function`&&this._raw instanceof e._raw}Float(){return this.number(`Value.Float`)}Int(){return Math.trunc(this.number(`Value.Int`))}Bool(){return typeof this._raw!=`boolean`&&Hi(new Cc({Method:`Value.Bool`,Type:this.Type()})),this._raw}Truthy(){return!!this._raw}String(){switch(this.Type()){case 4:return this._raw;case 0:return`<undefined>`;case 1:return`<null>`;case 2:case 3:return`<${Oc(this.Type())}: ${String(this._raw)}>`;case 5:return`<symbol>`;case 6:return`<object>`;case 7:return`<function>`;default:Hi(`bad type`)}}requireObject(e){$ne(this.Type())||Hi(new Cc({Method:e,Type:this.Type()}))}number(e){return typeof this._raw!=`number`&&Hi(new Cc({Method:e,Type:this.Type()})),this._raw}},Yne=class{Equal(e){return this.Value.Equal(e)}IsUndefined(){return this.Value.IsUndefined()}IsNull(){return this.Value.IsNull()}IsNaN(){return this.Value.IsNaN()}Type(){return this.Value.Type()}Get(e){return this.Value.Get(e)}Set(e,t){this.Value.Set(e,t)}Delete(e){this.Value.Delete(e)}Index(e){return this.Value.Index(e)}SetIndex(e,t){this.Value.SetIndex(e,t)}Length(){return this.Value.Length()}Call(e,...t){return this.Value.Call(e,...t)}Invoke(...e){return this.Value.Invoke(...e)}New(...e){return this.Value.New(...e)}InstanceOf(e){return this.Value.InstanceOf(e)}Float(){return this.Value.Float()}Int(){return this.Value.Int()}Bool(){return this.Value.Bool()}Truthy(){return this.Value.Truthy()}String(){return this.Value.String()}},xc=class e extends Yne{Value;constructor(e){super(),this.Value=e?.Value?.clone()??Xne()}clone(){return new e({Value:this.Value})}Error(){return`JavaScript error: ${this.Value.Get(`message`).String()}`}};function Sc(e){let t;try{t=e()}catch(e){if(e instanceof Ri)throw e;Hi(D(C(new xc({Value:new bc({raw:e})})),`js.Error`,`js.Error`))}return new bc({raw:t})}var Cc=class e{Method;Type;constructor(e){this.Method=e?.Method??``,this.Type=e?.Type??0}clone(){return new e({Method:this.Method,Type:this.Type})}Error(){return`syscall/js: call of ${this.Method} on ${Oc(this.Type)}`}},wc=class e extends Yne{Value;_released=!1;constructor(e){super();let t=e?.fn;this.Value=e?.Value?.clone()??new bc({raw:function(...e){if(t!==void 0)return Dc(t(new bc({raw:this}),e.map(e=>new bc({raw:e}))))._raw}})}clone(){return new e({Value:this.Value})}Release(){this._released=!0}};function Xne(){return new bc({raw:void 0})}function Tc(){return new bc({raw:null})}function Ec(){return new bc({raw:globalThis})}function Dc(e){if(e instanceof bc)return e.clone();if(e instanceof wc)return e.Value.clone();if(Zne(e))return Dc(e.__goValue);if(e==null)return Tc();if(typeof e==`boolean`||typeof e==`number`||typeof e==`string`)return new bc({raw:e});if(typeof e==`bigint`)return new bc({raw:Number(e)});if(e instanceof Uint8Array)return new bc({raw:e});if(Array.isArray(e))return new bc({raw:e.map(e=>Dc(e)._raw)});if(e instanceof Map){let t={};for(let[n,r]of e.entries())t[String(n)]=Dc(r)._raw;return new bc({raw:t})}return new bc({raw:e})}function Zne(e){return typeof e==`object`&&!!e&&`__goValue`in e&&typeof e.__goType==`string`}function Qne(e){return new wc({fn:e})}function Oc(e){switch(e){case 0:return`undefined`;case 1:return`null`;case 2:return`boolean`;case 3:return`number`;case 4:return`string`;case 5:return`symbol`;case 6:return`object`;case 7:return`function`;default:Hi(`bad type`)}}function $ne(e){return e===6||e===7}function ere(e,t){let n=tre(t),r=Math.min(I(e),n.length);if(e instanceof Uint8Array)return e.set(n.subarray(0,r),0),r;let i=so(e);for(let e=0;e<r;e++)i[e]=n[e];return r}function kc(e,t){let n=nre(e),r=t instanceof Uint8Array?t:Uint8Array.from(so(t)),i=Math.min(n.length,r.length);return n.set(r.subarray(0,i),0),i}function tre(e){let t=rre(e);if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)return t instanceof Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength);Hi(`syscall/js: CopyBytesToGo: expected src to be a Uint8Array or Uint8ClampedArray`)}function nre(e){let t=rre(e);if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)return t;Hi(`syscall/js: CopyBytesToJS: expected dst to be a Uint8Array or Uint8ClampedArray`)}function rre(e){return e._raw}function ire(e){return typeof e==`object`&&!!e&&Object.prototype.hasOwnProperty.call(e,`raw`)}var Ac=class e{_date;_nsec;_monotonic;_location;constructor(e){this._date=new globalThis.Date(0),this._nsec=0,this._monotonic=void 0,this._location=Hc}static create(t,n=0,r,i){let a=new e,o=Math.floor(n/1e6);return a._date=new globalThis.Date(t.getTime()+o),a._nsec=n-o*1e6,a._monotonic=r,a._location=i||Hc,a}clone(){return e.create(this._date,this._nsec,this._monotonic,this._location)}Unix(){return BigInt(Math.floor(this._date.getTime()/1e3))}UnixMilli(){return BigInt(this._date.getTime())}UnixMicro(){return BigInt(this._date.getTime())*1000n+BigInt(Math.floor(this._nsec/1e3))}UnixNano(){return BigInt(this._date.getTime())*1000000n+BigInt(this._nsec)}Weekday(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCDay()}return this._date.getDay()}Day(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCDate()}return this._date.getDate()}Month(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCMonth()+1}return this._date.getMonth()+1}Year(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCFullYear()}return this._date.getFullYear()}Hour(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCHours()}return this._date.getHours()}Minute(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCMinutes()}return this._date.getMinutes()}Second(){if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3;return new globalThis.Date(this._date.getTime()+e).getUTCSeconds()}return this._date.getSeconds()}Nanosecond(){return this._date.getUTCMilliseconds()*1e6+this._nsec}Date(){return[this.Year(),this.Month(),this.Day()]}Clock(){return[this.Hour(),this.Minute(),this.Second()]}Zone(){if(this._location.offsetSeconds!==void 0)return[this._location.name,this._location.offsetSeconds];let e=-this._date.getTimezoneOffset()*60;return[this._location.name,e]}Location(){return this._location}UTC(){return e.create(this._date,this._nsec,void 0,Hc)}In(t){if(t===null)throw Error(`time: missing Location in call to Time.In`);return e.create(this._date,this._nsec,void 0,H(t))}AppendFormat(e,t){return wo(e,Ko(this.Format(t)))}Format(e){let t,n,r,i,a,o,s;if(this._location.offsetSeconds!==void 0){let e=this._location.offsetSeconds*1e3,c=new globalThis.Date(this._date.getTime()+e);t=c.getUTCFullYear(),n=c.getUTCMonth(),r=c.getUTCDate(),i=c.getUTCDay(),a=c.getUTCHours(),o=c.getUTCMinutes(),s=c.getUTCSeconds()}else t=this._date.getFullYear(),n=this._date.getMonth(),r=this._date.getDate(),i=this._date.getDay(),a=this._date.getHours(),o=this._date.getMinutes(),s=this._date.getSeconds();let c=this.Nanosecond(),l=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],u=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],d=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],f=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],p=a%12||12,ee=a<12?`AM`:`PM`,te=ee.toLowerCase(),ne,re=this._location.name,ie;this._location.offsetSeconds===void 0?(ne=-this._date.getTimezoneOffset()*60,ie=ne===0):(ne=this._location.offsetSeconds,ie=ne===0&&this._location.name===`UTC`);let ae=`+`;ne<0&&(ae=`-`);let oe=Math.abs(ne),se=Math.floor(oe/3600),ce=Math.floor(oe%3600/60),le=(e,t)=>{if(e===0&&t)return``;let n=e.toString().padStart(9,`0`);return t&&(n=n.replace(/0+$/,``)),n.length>0?`.`+n:``},ue=``,de=0;for(;de<e.length;){let ne=!1,oe=e.slice(de);if(oe.match(/^[.,]999999999/))ue+=le(c,!0).replace(`.`,oe[0]),de+=10,ne=!0;else if(oe.match(/^[.,]999999/)){let e=Math.floor(c/1e3).toString().padStart(6,`0`);e=e.replace(/0+$/,``),ue+=e.length>0?oe[0]+e:``,de+=7,ne=!0}else if(oe.match(/^[.,]999/)){let e=Math.floor(c/1e6).toString().padStart(3,`0`);e=e.replace(/0+$/,``),ue+=e.length>0?oe[0]+e:``,de+=4,ne=!0}else oe.match(/^[.,]000000000/)?(ue+=oe[0]+c.toString().padStart(9,`0`),de+=10,ne=!0):oe.match(/^[.,]000000/)?(ue+=oe[0]+Math.floor(c/1e3).toString().padStart(6,`0`),de+=7,ne=!0):oe.match(/^[.,]000/)?(ue+=oe[0]+Math.floor(c/1e6).toString().padStart(3,`0`),de+=4,ne=!0):oe.startsWith(`January`)?(ue+=u[n],de+=7,ne=!0):oe.startsWith(`Monday`)?(ue+=f[i],de+=6,ne=!0):oe.startsWith(`2006`)?(ue+=t.toString(),de+=4,ne=!0):oe.startsWith(`Z070000`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}00`,de+=7,ne=!0):oe.startsWith(`Z07:00:00`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}:00`,de+=9,ne=!0):oe.startsWith(`Z0700`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}`,de+=5,ne=!0):oe.startsWith(`Z07:00`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}`,de+=6,ne=!0):oe.startsWith(`Z07`)?(ue+=ie?`Z`:`${ae}${se.toString().padStart(2,`0`)}`,de+=3,ne=!0):oe.startsWith(`-070000`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}00`,de+=7,ne=!0):oe.startsWith(`-07:00:00`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}:00`,de+=9,ne=!0):oe.startsWith(`-0700`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}${ce.toString().padStart(2,`0`)}`,de+=5,ne=!0):oe.startsWith(`-07:00`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}:${ce.toString().padStart(2,`0`)}`,de+=6,ne=!0):oe.startsWith(`-07`)?(ue+=`${ae}${se.toString().padStart(2,`0`)}`,de+=3,ne=!0):oe.startsWith(`15`)?(ue+=a.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`Jan`)?(ue+=l[n],de+=3,ne=!0):oe.startsWith(`Mon`)?(ue+=d[i],de+=3,ne=!0):oe.startsWith(`MST`)?(ue+=re,de+=3,ne=!0):oe.startsWith(`PM`)?(ue+=ee,de+=2,ne=!0):oe.startsWith(`pm`)?(ue+=te,de+=2,ne=!0):oe.startsWith(`06`)?(ue+=(t%100).toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`_2`)?(ue+=r<10?` `+r.toString():r.toString(),de+=2,ne=!0):oe.startsWith(`03`)?(ue+=p.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`01`)?(ue+=(n+1).toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`02`)?(ue+=r.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`04`)?(ue+=o.toString().padStart(2,`0`),de+=2,ne=!0):oe.startsWith(`05`)?(ue+=s.toString().padStart(2,`0`),de+=2,ne=!0):e[de]===`3`&&(de===0||!`0123456789`.includes(e[de-1]))?(ue+=p.toString(),de+=1,ne=!0):e[de]===`2`&&(de===0||!`0123456789`.includes(e[de-1]))?(ue+=r.toString(),de+=1,ne=!0):e[de]===`1`&&(de===0||!`0123456789`.includes(e[de-1]))?(ue+=(n+1).toString(),de+=1,ne=!0):e[de]===`Z`&&!oe.startsWith(`Z0`)&&(ue+=`Z`,de+=1,ne=!0);ne||(ue+=e[de],de+=1)}return ue}YearDay(){let[e,t,n]=this.wallDateParts(),r=globalThis.Date.UTC(e,0,1),i=globalThis.Date.UTC(e,t,n);return Math.floor((i-r)/cre)+1}ISOWeek(){let[e,t,n]=this.wallDateParts(),r=new globalThis.Date(globalThis.Date.UTC(e,t,n)),i=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-i);let a=r.getUTCFullYear(),o=new globalThis.Date(globalThis.Date.UTC(a,0,1));return[a,Math.ceil(((r.getTime()-o.getTime())/cre+1)/7)]}AppendBinary(e){let[t,n]=this.Zone(),r=-1,i=0,a=ure;if((t!==`UTC`||n!==0)&&(i=n%60,i!==0&&(a=jc),r=Math.trunc(n/60),r<-32768||r===-1||r>32767))return[e,vc(`Time.MarshalBinary: unexpected zone offset`)];let o=this.Unix()+lre,s=this.Nanosecond(),c=new Uint8Array(a===jc?16:15);return c[0]=a,dre(c,1,o),fre(c,9,s),pre(c,13,r),a===jc&&(c[15]=i&255),e==null?[c,null]:[wo(e,c),null]}MarshalBinary(){return this.AppendBinary(null)}Sub(e){if(this._monotonic!==void 0&&e._monotonic!==void 0){let t=this._monotonic-e._monotonic;return BigInt(Math.trunc(t))}let t=this._date.getTime()-e._date.getTime(),n=this._nsec-e._nsec;return BigInt(t)*1000000n+BigInt(n)}Add(t){let n=BigInt(t),r=Number(n),i=new globalThis.Date(this._date.getTime()+Number(n/1000000n)),a=this._nsec+Number(n%1000000n),o=this._monotonic===void 0?void 0:this._monotonic+r;return e.create(i,a,o,this._location)}AddDate(t,n,r){if(this._location.offsetSeconds!==void 0){let i=this._location.offsetSeconds*1e3,a=new globalThis.Date(this._date.getTime()+i),o=globalThis.Date.UTC(a.getUTCFullYear()+t,a.getUTCMonth()+n,a.getUTCDate()+r,a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds());return e.create(new globalThis.Date(o-i),this._nsec,void 0,this._location)}let i=new globalThis.Date(this._date.getTime());return i.setFullYear(i.getFullYear()+t),i.setMonth(i.getMonth()+n),i.setDate(i.getDate()+r),e.create(i,this._nsec,void 0,this._location)}Equal(e){return this._monotonic!==void 0&&e._monotonic!==void 0?this._monotonic===e._monotonic:this._date.getTime()===e._date.getTime()&&this._nsec===e._nsec}IsZero(){return this.Equal(new e)}Before(e){if(this._monotonic!==void 0&&e._monotonic!==void 0)return this._monotonic<e._monotonic;let t=this._date.getTime(),n=e._date.getTime();return t<n||t===n&&this._nsec<e._nsec}After(e){if(this._monotonic!==void 0&&e._monotonic!==void 0)return this._monotonic>e._monotonic;let t=this._date.getTime(),n=e._date.getTime();return t>n||t===n&&this._nsec>e._nsec}Compare(e){return this.Before(e)?-1:+!!this.After(e)}Round(t){return e.create(this._date,this._nsec,void 0,this._location)}Truncate(t){return e.create(this._date,this._nsec,void 0,this._location)}String(){let e=`${this._date.getUTCFullYear()}-${String(this._date.getUTCMonth()+1).padStart(2,`0`)}-${String(this._date.getUTCDate()).padStart(2,`0`)} ${String(this._date.getUTCHours()).padStart(2,`0`)}:${String(this._date.getUTCMinutes()).padStart(2,`0`)}:${String(this._date.getUTCSeconds()).padStart(2,`0`)} +0000 UTC`;return this._monotonic!==void 0&&(e+=` m=${this._monotonic}`),e}wallDateParts(){if(this._location.offsetSeconds!==void 0){let e=new globalThis.Date(this._date.getTime()+this._location.offsetSeconds*1e3);return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]}return[this._date.getFullYear(),this._date.getMonth(),this._date.getDate()]}};const are=Number(9223372036854775807n),ore=Number(-9223372036854775808n),sre=2147483647,cre=864e5,lre=62135596800n,ure=1,jc=2;function dre(e,t,n){let r=BigInt.asUintN(64,n);for(let n=7;n>=0;n--)e[t+n]=Number(r&255n),r>>=8n}function fre(e,t,n){let r=n>>>0;e[t]=r>>>24&255,e[t+1]=r>>>16&255,e[t+2]=r>>>8&255,e[t+3]=r&255}function pre(e,t,n){let r=n&65535;e[t]=r>>>8&255,e[t+1]=r&255}function Mc(e){return Number(e)}function Nc(e){let t=Mc(e)/1e6;return!Number.isFinite(t)||t>sre?sre:t<=0?0:t}function mre(e){return e>=0n?e:e===-9223372036854775808n?9223372036854775807n:-e}function hre(e){return Mc(e)/36e11}function gre(e){return e/1000n}function _re(e){return e/1000000n}function vre(e){return Mc(e)/6e10}function Pc(e){return e}function yre(e,t){let n=Mc(e),r=Mc(t);if(r<=0)return e;let i=n>=0?Math.floor(n/r+.5)*r:Math.ceil(n/r-.5)*r;return BigInt(Math.max(ore,Math.min(are,i)))}function bre(e){return Mc(e)/1e9}function xre(e,t){return t<=0n?e:e-e%t}function Fc(e){let t=Mc(e);if(t===0)return`0s`;let n=t<0?`-`:``,r=Math.abs(t);if(r<1e9)return n+wre(r);let i=Math.floor(r/36e11);r-=i*36e11;let a=Math.floor(r/6e10);r-=a*6e10;let o=Math.floor(r/1e9);r-=o*1e9;let s=n;return i!==0&&(s+=`${i}h`),a!==0&&(s+=`${a}m`),(o!==0||r!==0)&&(s+=Cre(o,r)),s}function Sre(e,t){let n=Fc(e),r=Array.from(new TextEncoder().encode(n)),i=Math.max(0,t.value.length-r.length);for(let e=0;e<r.length&&i+e<t.value.length;e++)t.value[i+e]=r[e];return i}function Cre(e,t){return t===0?`${e}s`:`${e}.${String(t).padStart(9,`0`).replace(/0+$/,``)}s`}function wre(e){return e>=1e6?Tre(e,1e6,`ms`):e>=1e3?Tre(e,1e3,`µs`):`${e}ns`}function Tre(e,t,n){let r=Math.floor(e/t),i=e%t;if(i===0)return`${r}${n}`;let a=Math.log10(t);return`${r}.${String(i).padStart(a,`0`).replace(/0+$/,``)}${n}`}var Ic=class{_name;_offsetSeconds;constructor(e,t){this._name=e,this._offsetSeconds=t}get name(){return this._name}get offsetSeconds(){return this._offsetSeconds}String(){return this._name}},Lc=class extends Error{layout;value;layoutElem;valueElem;message;constructor(e,t,n,r,i){super(i),this.layout=e,this.value=t,this.layoutElem=n,this.valueElem=r,this.message=i,this.name=`ParseError`}},Rc=class{_timeout;_duration;_callback;_channel=ic(1,new Ac,`both`);C=sc(this._channel,`receive`);constructor(e,t){this._duration=e,this._callback=t,this._timeout=this.start(e)}Stop(){return this._timeout,clearTimeout(this._timeout),!0}Reset(e){return this.Stop(),this._duration=e,this._timeout=this.start(e),!0}start(e){let t=Nc(e);return this._callback?setTimeout(this._callback,t):setTimeout(()=>{this._channel.send(Bc()).catch(()=>{})},t)}},zc=class{_interval;_duration;_stopped=!1;_channel=ic(1,new Ac,`both`);C=sc(this._channel,`receive`);constructor(e){this._duration=e,this._interval=this.start(e)}Stop(){this._stopped=!0,this._interval,clearInterval(this._interval)}Reset(e){this.Stop(),this._stopped=!1,this._duration=e,this._interval=this.start(e)}async*Channel(){for(;!this._stopped;)yield await this.C.receive()}start(e){let t=Nc(e);return setInterval(()=>{this._channel.send(Bc()).catch(()=>{})},t)}};function Bc(){let e=new globalThis.Date,t;return typeof performance<`u`&&performance.now&&(t=Math.floor(performance.now()*1e6)),Ac.create(e,0,t)}function Vc(e,t,n,r,i,a,o,s){if(s===null)throw Error(`time: missing Location in call to Date`);s=H(s);let c;if(s.offsetSeconds!==void 0){let l=globalThis.Date.UTC(e,t-1,n,r,i,a,Math.floor(o/1e6));c=new globalThis.Date(l-s.offsetSeconds*1e3)}else c=new globalThis.Date(e,t-1,n,r,i,a,Math.floor(o/1e6));return Ac.create(c,o-Math.floor(o/1e6)*1e6,void 0,s)}const Hc=new Ic(`UTC`,0);new Ic(`Local`);function Uc(e,t){return new Ic(e,t)}function Wc(e){return Bc().Sub(e)}function Gc(e){return e.Sub(Bc())}const Kc=`2006-01-02T15:04:05Z07:00`,qc=`2006-01-02T15:04:05.999999999Z07:00`;function Jc(e,t=0n){let n=Number(e*1000n+t/1000000n),r=Number(t%1000000n);return Ac.create(new globalThis.Date(n),r,void 0,Hc)}function Ere(e){return Ac.create(new globalThis.Date(Number(e)),0,void 0,Hc)}function Dre(e){let t=e.match(/^([+-]?)(\d+(?:\.\d+)?)(ns|us|µs|ms|s|m|h)$/);if(!t)return[0n,vc(`time: invalid duration "${e}"`)];let[,n,r,i]=t,a=parseFloat(r);n===`-`&&(a=-a);let o;switch(i){case`ns`:o=a;break;case`us`:case`µs`:o=a*1e3;break;case`ms`:o=a*1e6;break;case`s`:o=a*1e9;break;case`m`:o=a*6e10;break;case`h`:o=a*36e11;break;default:return[0n,vc(`time: unknown unit "${i}" in duration "${e}"`)]}return[BigInt(Math.trunc(o)),null]}function Ore(e,t){return kre(e,t,Hc)}function kre(e,t,n){if(e===`20060102150405Z0700`||e===`20060102150405.999999999Z0700`){let n=t.match(/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(?:\.(\d{1,9}))?(Z|[+-]\d{4})$/);if(n===null)return[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))];let r=Number(n[1]),i=Number(n[2]),a=Number(n[3]),o=Number(n[4]),s=Number(n[5]),c=Number(n[6]),l=Number((n[7]??``).padEnd(9,`0`)),u=n[8],d=0;u!==`Z`&&(d=(u[0]===`-`?-1:1)*(Number(u.slice(1,3))*60+Number(u.slice(3,5)))*60);let f=globalThis.Date.UTC(r,i-1,a,o,s,c),p=new globalThis.Date(f);return r>=0&&r<100&&p.setUTCFullYear(r),i<1||i>12||a<1||p.getUTCFullYear()!==r||p.getUTCMonth()!==i-1||p.getUTCDate()!==a||p.getUTCHours()!==o||p.getUTCMinutes()!==s||p.getUTCSeconds()!==c?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(new globalThis.Date(p.getTime()-d*1e3),l,void 0,u===`Z`?Hc:Uc(``,d)),null]}if(e===`0601021504Z0700`||e===`060102150405Z0700`){let n=e===`060102150405Z0700`,r=t.match(n?/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(Z|[+-]\d{4})$/:/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(Z|[+-]\d{4})$/);if(r===null)return[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))];let i=Number(r[1]),a=i>=69?1900+i:2e3+i,o=Number(r[2]),s=Number(r[3]),c=Number(r[4]),l=Number(r[5]),u=n?Number(r[6]):0,d=r[n?7:6],f=0;d!==`Z`&&(f=(d[0]===`-`?-1:1)*(Number(d.slice(1,3))*60+Number(d.slice(3,5)))*60);let p=globalThis.Date.UTC(a,o-1,s,c,l,u)-f*1e3,ee=new globalThis.Date(p+f*1e3);return o<1||o>12||s<1||ee.getUTCFullYear()!==a||ee.getUTCMonth()!==o-1||ee.getUTCDate()!==s||ee.getUTCHours()!==c||ee.getUTCMinutes()!==l||ee.getUTCSeconds()!==u?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(new globalThis.Date(p),0,void 0,d===`Z`?Hc:Uc(``,f)),null]}if(e===`2006-01-02T15:04:05Z07:00`||e===`2006-01-02T15:04:05.999999999Z07:00`){let r=new globalThis.Date(t);if(isNaN(r.getTime()))return[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))];let i=t.match(/[.,](\d+)(?:Z|[+-]\d{2}:\d{2})$/)?.[1]??``,a=Number(i.slice(0,9).padEnd(9,`0`));return[Ac.create(r,a%1e6,void 0,n),null]}if(e===`2006-01-02 15:04:05`||e===`2006-01-02 15:04:05`){let r=new globalThis.Date(t);return isNaN(r.getTime())?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(r,0,void 0,n),null]}let r=new globalThis.Date(t);return isNaN(r.getTime())?[new Ac,yc(new Lc(e,t,``,``,`parsing time "${t}" as "${e}": cannot parse`))]:[Ac.create(r,0,void 0,n),null]}function Yc(e){let t=Nc(e),n=ic(1,new Ac,`both`);return setTimeout(async()=>{n.send(Bc()).catch(()=>{})},t),sc(n,`receive`)}function Xc(e,t){return new Rc(e,t)}function Zc(e){return new Rc(e)}function Qc(e){return new zc(e)}const $c=vc(`context canceled`),el=vc(`context deadline exceeded`);var tl=class{},nl=class e extends tl{static neverClosedChannel=ic(0,{},`both`);static getNeverClosedChannel(){return e.neverClosedChannel}Deadline(){return[new Ac,!1]}Done(){return e.neverClosedChannel}Err(){return null}Value(e){return null}},rl=class extends tl{parent;key;val;constructor(e,t,n){super(),this.parent=e,this.key=t,this.val=n}getParent(){return this.parent}Deadline(){return this.parent.Deadline()}Done(){return this.parent.Done()}Err(){return this.parent.Err()}Value(e){return this.key===e||os(this.key,e)?this.val:this.parent.Value(e)}},il=class e extends tl{doneChannel;err=null;cause=null;children=new Set;parent;parentCancelCtx=null;removeFromParent=null;constructor(e){super(),this.parent=e,this.doneChannel=ic(0,{},`both`)}Deadline(){return this.parent.Deadline()}Done(){return this.doneChannel}Err(){return this.err}Value(e){return this.parent.Value(e)}getCause(){return this.cause??this.err}cancel(e,t,n){if(this.err===null){this.err=t,this.cause=n,this.doneChannel.close();for(let e of this.children)e.cancel(!1,t,n);this.children.clear(),e&&this.removeFromParent&&(this.removeFromParent(),this.removeFromParent=null)}}propagateCancel(){let t=this.parent;for(;t instanceof rl;)t=t.getParent();t instanceof e?(this.parentCancelCtx=t,t.err===null?(t.children.add(this),this.removeFromParent=()=>{t.children.delete(this)}):this.cancel(!1,t.err,t.cause)):this.watchParentDone()}watchParentDone(){let e=this.parent.Done();(async()=>{try{await e.receive()}catch{}let t=this.parent.Err();t&&this.err===null&&this.cancel(!1,t,null)})()}},Are=class extends il{deadline;timer;constructor(e,t){super(e),this.deadline=t.clone()}Deadline(){return[this.deadline.clone(),!0]}startTimer(){let e=Number(this.deadline.Sub(Bc()))/1e6;if(e<=0){this.cancel(!0,el,null);return}this.timer=setTimeout(()=>{this.cancel(!0,el,null)},e)}cancel(e,t,n){super.cancel(e,t,n),this.timer&&=(clearTimeout(this.timer),null)}},jre=class extends tl{parent;constructor(e){super(),this.parent=e}Deadline(){return[new Ac,!1]}Done(){return nl.getNeverClosedChannel()}Err(){return null}Value(e){return this.parent.Value(e)}};const Mre=new nl,Nre=new nl;function al(){return Mre}function ol(){return Nre}function sl(e){if(e===null)throw Error(`cannot create context from nil parent`);let t=new il(e);return t.propagateCancel(),[t,()=>{t.cancel(!0,$c,null)}]}function cl(e,t){return Pre(e,t,null)}function Pre(e,t,n){if(e===null)throw Error(`cannot create context from nil parent`);let[r,i]=e.Deadline();if(i&&(r.Before(t)||r.Equal(t)))return sl(e);let a=new Are(e,t);return a.propagateCancel(),a.startTimer(),[a,()=>{a.cancel(!0,$c,n)}]}function ll(e,t){return cl(e,Bc().Add(t))}function ul(e,t,n){if(e===null)throw Error(`cannot create context from nil parent`);return new rl(e,t,n)}function dl(e){if(e===null)throw Error(`cannot create context from nil parent`);return new jre(e)}function fl(e){if(!e)return null;let t=e;for(;t instanceof rl;)t=t.getParent();return t instanceof il?t.getCause():t.Err()}function pl(e,t){if(e===null)throw Error(`cannot create context from nil parent`);let n=!1,r=new AbortController;return e.Done().selectReceive(0,r.signal,()=>{n=!0}).then(()=>{queueMicrotask(()=>{if(t===null)throw Error(`context: nil AfterFunc callback`);t()})}),()=>!n&&(n=!0,r.abort(),!0)}function ml(e){return vc(e)}ml(`unsupported operation`);function Fre(e){if(e===null)return null;if(typeof e.Unwrap==`function`){let t=e.Unwrap();if(t&&typeof t.Error==`function`)return t;if(Array.isArray(t)&&t.length>0&&t[0]&&typeof t[0].Error==`function`)return t[0]}return null}function hl(e,t){return t===null?e===null:e!==null&&gl(e,t,Ire(t))}function Ire(e){let t=typeof e==`object`&&e&&`__goTypeInfo`in e&&(typeof e.__goTypeInfo==`string`||Lre(e.__goTypeInfo))?e.__goTypeInfo:void 0;return t===void 0?!Ra(e)&&!Fa(e):typeof t==`string`&&ca(t)===void 0?!1:ua(t)}function Lre(e){if(typeof e!=`object`||!e||!(`kind`in e))return!1;switch(e.kind){case`basic`:case`map`:case`slice`:case`pointer`:case`function`:case`channel`:return!0;case`struct`:return`fields`in e&&Array.isArray(e.fields);case`interface`:return`methods`in e&&Array.isArray(e.methods);default:return!1}}function gl(e,t,n){if(n&&os(e,t)||typeof e.Is==`function`&&e.Is(t))return!0;if(typeof e.Unwrap==`function`){let r=e.Unwrap();if(Array.isArray(r)){for(let e of r)if(e!==null&&gl(e,t,n))return!0}else if(r!==null&&typeof r?.Error==`function`)return gl(r,t,n)}return!1}function _l(e,t){if(e===null)return!1;if(typeof t!=`object`||!t)throw Error(`errors: target cannot be nil`);if(Rre(e,t)||typeof e.As==`function`&&e.As(t))return!0;if(typeof e.Unwrap==`function`){let n=e.Unwrap();if(Array.isArray(n)){for(let e of n)if(e!==null&&_l(e,t))return!0}else if(n!==null&&typeof n?.Error==`function`)return _l(n,t)}return!1}function Rre(e,t){let n=zre(t);if(n!==void 0){let[r,i]=Na(e,n);if(!i)return!1;let a=Ra(t)?t.__goValue:t;return g(a)?(a.value=r,!0):(Object.assign(a,r),!0)}return e.constructor===t.constructor&&(Object.assign(t,e),!0)}function zre(e){let t=e?.__goTypeInfo;if(t!==void 0&&typeof t!=`string`&&ia(t))return t.elemType;let n=e?.__goType;if(typeof n==`string`&&n.startsWith(`*`))return n.slice(1)}function Bre(e,t){let n=e?.E,r=()=>n?.zero?.()??null;return t===null||n?.type===void 0?[r(),!1]:vl(t,n.type,r)}function vl(e,t,n){if(e===null)return[n(),!1];let[r,i]=Na(e,t);if(i)return[r,!0];if(typeof e.Unwrap==`function`){let r=e.Unwrap();if(Array.isArray(r)){for(let e of r)if(e&&typeof e.Error==`function`){let[r,i]=vl(e,t,n);if(i)return[r,!0]}return[n(),!1]}if(r&&typeof r.Error==`function`)return vl(r,t,n)}return[n(),!1]}function yl(...e){let t=e.filter(e=>e!==null);if(t.length===0)return null;if(t.length===1)return t[0];let n={Error:()=>{let e=t.map(e=>e.Error());return e.every(e=>typeof e==`string`)?e.join(`
|
|
6
6
|
`):Promise.all(e.map(e=>Promise.resolve(e))).then(e=>e.join(`
|
|
7
7
|
`))}};return n.Unwrap=function(){return t},n}var bl=class e{_locked=!1;_waitQueue=[];constructor(e){}async Lock(){if(!this._locked){this._locked=!0;return}return new Promise(e=>{this._waitQueue.push(e)})}TryLock(){return!this._locked&&(this._locked=!0,!0)}Unlock(){if(!this._locked)throw Error(`sync: unlock of unlocked mutex`);if(this._locked=!1,this._waitQueue.length>0){let e=this._waitQueue.shift();this._locked=!0,queueMicrotask(()=>e())}}clone(){return new e}},xl=class e{_readers=0;_writer=!1;_readerWaitQueue=[];_writerWaitQueue=[];constructor(e){}async Lock(){if(!this._writer&&this._readers===0){this._writer=!0;return}return new Promise(e=>{this._writerWaitQueue.push(e)})}TryLock(){return!this._writer&&this._readers===0&&(this._writer=!0,!0)}Unlock(){if(!this._writer)throw Error(`sync: unlock of unlocked RWMutex`);this._writer=!1,this._wakeUpWaiters()}async RLock(){if(!this._writer&&this._writerWaitQueue.length===0){this._readers++;return}return new Promise(e=>{this._readerWaitQueue.push(()=>{this._readers++,e()})})}TryRLock(){return!this._writer&&this._writerWaitQueue.length===0&&(this._readers++,!0)}RUnlock(){if(this._readers===0)throw Error(`sync: RUnlock of unlocked RWMutex`);this._readers--,this._readers===0&&this._wakeUpWaiters()}RLocker(){return{Lock:()=>this.RLock(),Unlock:()=>this.RUnlock()}}_wakeUpWaiters(){if(this._writerWaitQueue.length>0&&this._readers===0){let e=this._writerWaitQueue.shift();this._writer=!0,queueMicrotask(()=>e())}else if(this._readerWaitQueue.length>0&&!this._writer){let e=this._readerWaitQueue.splice(0);queueMicrotask(()=>{e.forEach(e=>e())})}}clone(){return new e}},Sl=class e{_counter=0;_waiters=[];constructor(e){}Add(e){if(this._counter+=e,this._counter<0)throw Error(`sync: negative WaitGroup counter`);if(this._counter===0){let e=this._waiters.splice(0);queueMicrotask(()=>{e.forEach(e=>e())})}}Done(){this.Add(-1)}Go(e){this.Add(1),queueMicrotask(async()=>{try{await e()}finally{this.Done()}})}async Wait(){if(this._counter!==0)return new Promise(e=>{this._waiters.push(e)})}clone(){return new e}},Cl=class e{_done=!1;_m=new bl;constructor(e){}async Do(e){if(e==null)throw Error(`sync: nil function in Once.Do`);if(!this._done){await this._m.Lock();try{this._done||(this._done=!0,await e())}finally{this._m.Unlock()}}}clone(){return new e}},wl=class e{L;_waiters=[];constructor(e){this.L=e}Broadcast(){let e=this._waiters.splice(0);queueMicrotask(()=>{e.forEach(e=>e())})}Signal(){if(this._waiters.length>0){let e=this._waiters.shift();queueMicrotask(()=>e())}}async Wait(){return this.L.Unlock(),new Promise(e=>{this._waiters.push(async()=>{await this.L.Lock(),e()})})}clone(){return new e(this.L)}};function Tl(e){return new wl(e)}function Vre(e){return typeof e==`string`||e instanceof Xa}var El=class e{_m=new xl;_data=new globalThis.Map;constructor(e){}async Clear(){await this._m.Lock();try{this._data.clear()}finally{this._m.Unlock()}}async Delete(e){await this._m.Lock();try{let t=this.findEntry(e);t.found&&this._data.delete(t.key)}finally{this._m.Unlock()}}async CompareAndDelete(e,t){await this._m.Lock();try{let n=this.findEntry(e);return!n.found||!os(n.value,t)?!1:(this._data.delete(n.key),!0)}finally{this._m.Unlock()}}CompareAndSwap(e,t,n){let r=this.findEntry(e);return!r.found||!os(r.value,t)?!1:(this._data.set(r.key,n),!0)}async Load(e){await this._m.RLock();try{let t=this.findEntry(e);return t.found?[t.value,!0]:[void 0,!1]}finally{this._m.RUnlock()}}async LoadAndDelete(e){await this._m.Lock();try{let t=this.findEntry(e);return t.found?(this._data.delete(t.key),[t.value,!0]):[void 0,!1]}finally{this._m.Unlock()}}async LoadOrStore(e,t){await this._m.Lock();try{let n=this.findEntry(e);return n.found?[n.value,!0]:(this._data.set(e,t),[t,!1])}finally{this._m.Unlock()}}async Range(e){await this._m.RLock();let t;try{t=Array.from(this._data)}finally{this._m.RUnlock()}for(let[n,r]of t)if(!await e(n,r))break}async Store(e,t){await this._m.Lock();try{let n=this.findEntry(e);this._data.set(n.found?n.key:e,t)}finally{this._m.Unlock()}}findEntry(e){if(this._data.has(e))return{found:!0,key:e,value:this._data.get(e)};for(let[t,n]of this._data.entries()){if(t!==e&&Vre(t)&&Vre(e)){if(V(t,e))return{found:!0,key:t,value:n};continue}if(t!==e&&os(t,e))return{found:!0,key:t,value:n}}return{found:!1}}async Swap(e,t){await this._m.Lock();try{let n=this.findEntry(e);return this._data.set(n.found?n.key:e,t),[n.found?n.value:void 0,n.found]}finally{this._m.Unlock()}}clone(){return new e}},Dl=class e{New;_pool=[];constructor(e){this.New=e?.New}async Get(){return this._pool.length>0?this._pool.pop():this.New?await this.New():null}Put(e){e!=null&&this._pool.push(e)}clone(){return new e({New:this.New})}};function Ol(e){let t=!1,n=!1,r;return()=>{if(t){if(n)throw r;return}t=!0;try{e()}catch(e){throw n=!0,r=e,e}}}function kl(e){let t,n=!1,r=!1,i;return()=>{if(n){if(r)throw i;return t}n=!0;try{t=e()}catch(e){throw r=!0,i=e,e}return t}}function Hre(e){let t,n,r=!1,i=!1,a;return()=>{if(r){if(i)throw a;return[t,n]}r=!0;try{[t,n]=e()}catch(e){throw i=!0,a=e,e}return[t,n]}}var Ure=class{message;constructor(e){this.message=e}Error(){return this.message}toString(){return this.message}};function Al(e){return new Ure(e)}const jl=Al(`EOF`),Ml=Al(`io: read/write on closed pipe`),Nl=Al(`multiple Read calls return no data or error`),Pl=Al(`short buffer`),Fl=Al(`short write`),J=Al(`unexpected EOF`),Wre=Al(`invalid Write result`);function Il(e){return e!=null&&(typeof e==`object`||typeof e==`function`)&&`then`in e&&typeof e.then==`function`}function Ll(e,t){return Il(e)?Promise.resolve(e).then(t):t(e)}function Rl(e){let t=e.next(),n=()=>{for(;!t.done;){let r=t.value;if(Il(r))return Promise.resolve(r).then(r=>(t=e.next(r),n()),r=>(t=e.throw(r),n()));t=e.next(r)}return t.value};return n()}var Gre=class{readerClosed=!1;writerClosed=!1;readerErr=null;writerErr=null;pendingReads=[];pendingWrites=[];Read(e){return this.readerClosed||this.writerClosed?Promise.resolve([0,this.readCloseError()]):new Promise(t=>{this.pendingReads.push({data:e,resolve:t}),this.drain()})}Write(e){if(this.writerClosed||this.readerClosed)return Promise.resolve([0,this.writeCloseError()]);let t=new Uint8Array(Us(e));return new Promise(e=>{this.pendingWrites.push({data:t,offset:0,resolve:e}),this.drain()})}CloseReader(e){return this.readerClosed||(this.readerClosed=!0,this.readerErr=e??Ml),this.release(),null}CloseWriter(e){return this.writerClosed||(this.writerClosed=!0,this.writerErr=e??jl),this.release(),null}readCloseError(){return!this.readerClosed&&this.writerClosed?this.writerErr:Ml}writeCloseError(){return!this.writerClosed&&this.readerClosed?this.readerErr:Ml}drain(){for(;this.pendingWrites.length>0&&this.pendingReads.length>0;){let e=this.pendingReads.shift(),t=this.pendingWrites[0],n=Math.min(I(e.data),t.data.length-t.offset);R(e.data,t.data.subarray(t.offset,t.offset+n)),t.offset+=n,e.resolve([n,null]),t.offset===t.data.length&&(this.pendingWrites.shift(),t.resolve([t.offset,null]))}}release(){let e=this.readCloseError(),t=this.writeCloseError();for(let t of this.pendingReads.splice(0))t.resolve([0,e]);for(let e of this.pendingWrites.splice(0))e.resolve([e.offset,t])}},zl=class{pipe;constructor(e){this.pipe=e}Read(e){return this.pipe.Read(e)}Close(){return this.CloseWithError(null)}CloseWithError(e){return this.pipe.CloseReader(e??Ml)}},Bl=class{pipe;constructor(e){this.pipe=e}Write(e){return this.pipe.Write(e)}Close(){return this.CloseWithError(null)}CloseWithError(e){return this.pipe.CloseWriter(e??jl)}};function Vl(){let e=new Gre;return[new zl(e),new Bl(e)]}const Hl=new class{Write(e){return[I(e),null]}};async function Ul(e,t){if(`WriteString`in e&&typeof e.WriteString==`function`)return await e.WriteString(t);let n=new TextEncoder().encode(t);return await e.Write(n)}var Kre=class{R;N;constructor(e,t){if(e!=null&&typeof e.Read!=`function`){let t=e;this.R=t.R??null,this.N=t.N??0n;return}this.R=e??null,this.N=t??0n}Read(e){if(this.N<=0n)return[0,jl];if(this.R==null)throw Error(`io.LimitedReader: nil reader`);let t=BigInt(I(e))>this.N?P(e,0,Number(this.N)):e;return Ll(this.R.Read(t),([e,t])=>(this.N-=BigInt(e),[e,t]))}};function Wl(e,t){return new Kre(e,t)}const qre=(1n<<63n)-1n;var Jre=class{r;base;n;off;limit;constructor(e,t,n){this.r=e,this.base=t,this.n=n,this.off=t,this.limit=t<=BigInt.asIntN(64,qre-n)?BigInt.asIntN(64,t+n):qre}Read(e){if(this.off>=this.limit)return[0,jl];let t=this.limit-this.off;return BigInt(I(e))>t&&(e=P(e,0,Number(t))),Ll(this.r.ReadAt(e,this.off),([e,t])=>(this.off=BigInt.asIntN(64,this.off+BigInt(e)),[e,t]))}Seek(e,t){let n;switch(t){case 0:n=BigInt.asIntN(64,this.base+e);break;case 1:n=BigInt.asIntN(64,this.off+e);break;case 2:n=BigInt.asIntN(64,this.limit+e);break;default:return[0n,Al(`io.SectionReader.Seek: invalid whence`)]}return n<this.base?[0n,Al(`io.SectionReader.Seek: negative position`)]:(this.off=n,[BigInt.asIntN(64,n-this.base),null])}ReadAt(e,t){if(t<0n||t>=this.Size())return[0,jl];let n=BigInt.asIntN(64,this.base+t),r=this.limit-n;return BigInt(I(e))>r?(e=P(e,0,Number(r)),Ll(this.r.ReadAt(e,n),([e,t])=>[e,t??jl])):this.r.ReadAt(e,n)}Size(){return BigInt.asIntN(64,this.limit-this.base)}Outer(){return[this.r,this.base,this.n]}};function Gl(e,t,n){return new Jre(e,t,n)}async function Kl(e,t){return await Yre(e,t,null)}async function Yre(e,t,n){if(n!==null&&I(n)===0&&Hi(`empty buffer in CopyBuffer`),e=Zre(e),t=Xre(t),e===null||t===null)return[0n,Al(`io: copy with nil reader or writer`)];if(`WriteTo`in t&&typeof t.WriteTo==`function`)return await t.WriteTo(e);if(`ReadFrom`in e&&typeof e.ReadFrom==`function`)return await e.ReadFrom(t);let r=n===null;n===null&&(n=N(32768,void 0,`byte`));let i=0n;for(;;){let[a,o]=await t.Read(n);if(a>0){let[t,r]=await e.Write(P(n,0,a));if(t<0||a<t)return r===null?[i,Wre]:[i,r];if(i+=BigInt(t),r!==null)return[i,r];if(a!==t)return[i,Fl]}if(o!==null){if(o===jl)break;return[i,o]}r&&a===I(n)&&I(n)<262144&&(n=N(I(n)*2,void 0,`byte`))}return[i,null]}function Xre(e){return e==null?null:`Read`in e&&typeof e.Read==`function`?e:e.Reader}function Zre(e){return e==null?null:`Write`in e&&typeof e.Write==`function`?e:e.Writer}async function Qre(e,t,n){let[r,i]=await Kl(e,Wl(t,n));return r===n?[r,null]:r<n&&i===null?[r,jl]:[r,i]}async function ql(e,t,n){if(I(t)<n)return[0,Pl];let r=0;for(;r<n;){let[i,a]=await e.Read(P(t,r));if(r+=i,r>=n)return[r,null];if(a!==null)return a===jl&&r===0?[r,jl]:a===jl&&r<n?[r,J]:[r,a]}return[r,null]}async function Jl(e,t){return await ql(e,t,I(t))}function $re(e){return e==null?{Read:()=>{throw Error(`nil Reader`)},Close:()=>null}:{Read:e.Read.bind(e),Close:()=>null}}function eie(...e){return new tie(e.slice())}var tie=class e{readers;constructor(e){this.readers=e}Read(t){let n=([e,t])=>(t===jl&&this.readers.shift(),e>0||t!==jl?[e,t===jl&&this.readers.length>0?null:t]:null);for(;this.readers.length>0;){if(this.readers.length===1&&this.readers[0]instanceof e){this.readers=this.readers[0].readers;continue}let r=this.readers[0];if(r==null)throw Error(`nil Reader`);let i=r.Read(t);if(Il(i))return Promise.resolve(i).then(e=>n(e)??this.Read(t));let a=n(i);if(a!=null)return a}return[0,jl]}},Yl=class e{Name=``;PkgPath=``;Type;Tag=new Xl(``);Offset=0;Index=[];Anonymous=!1;constructor(e){if(e){let{Tag:t,...n}=e;Object.assign(this,n),t!==void 0&&(this.Tag=typeof t==`string`?new Xl(t):t)}}clone(){return new e({Name:this.Name,PkgPath:this.PkgPath,Type:this.Type,Tag:this.Tag,Offset:this.Offset,Index:[...this.Index],Anonymous:this.Anonymous})}IsExported(){return this.PkgPath===``}},Xl=class{_value;constructor(e){this._value=e}toString(){return this._value}Get(e){let t=this._value.split(` `);for(let n of t)if(n.startsWith(e+`:`)){let t=n.substring(e.length+1);return t.startsWith(`"`)&&t.endsWith(`"`)?t.slice(1,-1):t}return``}},Zl=class extends Error{Kind;Method;constructor(e){super(`reflect: call of reflect.Value.${e.Method} on ${nu(e.Kind)} Value`),this.Kind=e.Kind,this.Method=e.Method,this.name=`ValueError`}},nie=class{map;iterator;current=null;constructor(e){this.map=e,this.iterator=e.entries(),this.Next()}Next(){return this.current=this.iterator.next(),!this.current.done}Key(){let e=this.current?.value?.[0]??null;return new lu(e,Bu(e))}Value(){let e=this.current?.value?.[1]??null;return new lu(e,Bu(e))}Reset(e){this.map=e,this.iterator=e.entries(),this.current=null,this.Next()}};function rie(e){return e===null?new lu:new lu(Ql(e),e)}function Ql(e){switch(e.Kind()){case 1:return!1;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:return 0;case 24:return``;case 23:case 17:return[];case 25:{let t=ca(e.String());return t&&Qi(t)&&t.ctor?C(new t.ctor):iie(e)}default:return null}}function iie(e){let t=t=>{for(let n=0;n<e.NumField();n++){let r=e.Field(n),i=Au(e,n);t._fields[i]=Ql(r.Type),Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>t._fields[i],set:e=>{t._fields[i]=e}})}},n=class{_fields={};clone(){let e=new n;t(e);for(let t of Object.keys(this._fields))e._fields[t]=this._fields[t];return e}};Object.defineProperty(n,"__reflectType",{value:e}),Object.defineProperty(n,"__typeInfo",{value:Ku(e)});let r=new n;return t(r),r}function aie(e){return e.Kind()===22?e.IsNil()?new lu:e.Elem():e}function oie(e){if(e===null)return new lu;let t=Hu(e);return new lu(m(Ql(e)),t)}function $l(e){if(!(`_fields`in e))return!1;let t=e._fields;return typeof t==`object`&&!!t&&!globalThis.Array.isArray(t)}function eu(e,t){if(e===t)return!0;if(e===null||t===null||e===void 0||t===void 0)return e===t;if(Ra(e)&&Ra(t))return e.__goType===t.__goType&&eu(e.__goValue,t.__goValue);if(Ra(e))return eu(e.__goValue,t);if(Ra(t))return eu(e,t.__goValue);if(e===t)return!0;if(typeof e!=typeof t)return!1;if(globalThis.Array.isArray(e)&&globalThis.Array.isArray(t)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!eu(e[n],t[n]))return!1;return!0}if(e&&t&&typeof e==`object`&&typeof t==`object`&&`__meta__`in e&&`__meta__`in t){let n=e.__meta__,r=t.__meta__;if(n&&r&&`backing`in n&&`backing`in r&&`length`in n&&`length`in r&&globalThis.Array.isArray(n.backing)&&globalThis.Array.isArray(r.backing)&&typeof n.length==`number`&&typeof r.length==`number`){if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++)if(!eu(n.backing[e],r.backing[e]))return!1;return!0}}if(e instanceof globalThis.Map&&t instanceof globalThis.Map){if(e.size!==t.size)return!1;for(let[n,r]of e)if(!t.has(n)||!eu(r,t.get(n)))return!1;return!0}if(typeof e==`object`&&typeof t==`object`){if($l(e)||$l(t)){if(!$l(e)||!$l(t))return!1;let n=Object.keys(e._fields),r=Object.keys(t._fields);return n.length===r.length&&n.every(n=>n in t._fields&&eu(e._fields[n],t._fields[n]))}let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n){let n=e,a=t;if(!r.includes(i)||!eu(n[i],a[i]))return!1}return!0}return e===t}var tu=class{kind;constructor(e){this.kind=e}Kind(){return this.kind}String(){return nu(this.kind)}Pointers(){let e=this.kind;return e===22||e===21||e===23||e===20}};function nu(e){let t=`invalid,bool,int,int8,int16,int32,int64,uint,uint8,uint16,uint32,uint64,uintptr,float32,float64,complex64,complex128,array,chan,func,interface,map,ptr,slice,string,struct,unsafe.Pointer`.split(`,`);return e>=0&&e<t.length?t[e]:`invalid`}const sie=new WeakMap;let cie=1;const lie=new globalThis.Map,ru=new globalThis.Map;function uie(e){let t=sie.get(e);return t===void 0&&(t=cie*4294967296,cie++,sie.set(e,t)),t}function iu(e){let t=au(e);as(e,t);let n=lie.get(t);return n?(as(n,t),die(n,e),n):(lie.set(t,e),e)}function die(e,t){if(e instanceof uu&&t instanceof uu){e.mergeMethodSignatures(t.methodSignatures());return}if(e instanceof fu&&t instanceof fu){e.mergeMethodSignatures(t.methodSignatures());return}e instanceof pu&&t instanceof pu&&(e.mergeSignature(t),e.mergeMethodSignatures(t.methodSignatures()))}function au(e,t=new Set){if(t.has(e))return`${e.Kind()}:${e.PkgPath()}:${e.Name()}:${e.String()}`;if(t.add(e),e instanceof Mu)return e.identityKey(t);switch(e.Kind()){case 17:return`${e.Kind()}:${e.Len()}:${au(e.Elem(),t)}`;case 18:case 22:case 23:return`${e.Kind()}:${e.String()}:${au(e.Elem(),t)}`;case 21:return`${e.Kind()}:${au(e.Key(),t)}:${au(e.Elem(),t)}`;case 19:{if(e.Name()!==``)return`${e.Kind()}:named:${e.PkgPath()}:${e.Name()}`;let n=globalThis.Array.from({length:e.NumIn()},(n,r)=>au(e.In(r),t)),r=globalThis.Array.from({length:e.NumOut()},(n,r)=>au(e.Out(r),t));return`${e.Kind()}:${e.PkgPath()}:${e.Name()}:${e.String()}:${e.IsVariadic()}:${n.join(`,`)}:${r.join(`,`)}`}default:return`${e.Kind()}:${e.PkgPath()}:${e.Name()}:${e.String()}`}}function fie(e,t=new Set){if(t.has(e))return`${e.Kind()}:${e.PkgPath()}:${e.Name()}:${e.String()}`;if(t.add(e),e instanceof uu)return`basic:${e.underlyingName()}`;if(e instanceof Mu)return e.underlyingIdentityKey(t);switch(e.Kind()){case 17:return`array:${e.Len()}:${au(e.Elem(),t)}`;case 18:return`chan:${e.String()}:${au(e.Elem(),t)}`;case 22:return`ptr:${au(e.Elem(),t)}`;case 23:return`slice:${au(e.Elem(),t)}`;case 21:return`map:${au(e.Key(),t)}:${au(e.Elem(),t)}`;case 19:{let n=globalThis.Array.from({length:e.NumIn()},(n,r)=>au(e.In(r),t)),r=globalThis.Array.from({length:e.NumOut()},(n,r)=>au(e.Out(r),t));return`func:${e.IsVariadic()}:${n.join(`,`)}:${r.join(`,`)}`}case 20:return`interface:${wu(e).map(vu).join(`|`)}`;default:return`${e.Kind()}:${e.PkgPath()}:${e.Name()}:${e.String()}`}}function ou(e){return e.Kind()===20?e.String()!==`interface{}`&&!e.String().startsWith(`interface {`):e.Kind()===25||e.Kind()===19?e.Name()!==``:e instanceof uu?e.Kind()!==0&&e.Name()!==``:e.Name()!==``}function su(e,t){throw Error(`reflect: ${e} of non-func type ${t.String()}`)}const cu=new class{Kind(){return 0}Comparable(){return!1}String(){return`<invalid reflect.Value>`}Name(){return``}PkgPath(){return``}Size(){return 0}Elem(){throw Error(`reflect: Elem of invalid type`)}Key(){throw Error(`reflect: Key of invalid type`)}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}Field(e){throw Error(`reflect: Field of invalid type`)}FieldByName(e){return[new Yl,!1]}FieldByNameFunc(e){return[new Yl,!1]}Implements(e){return!1}ConvertibleTo(e){return Du(this,e)}AssignableTo(e){return!1}OverflowInt(e){throw Error(`reflect: OverflowInt of invalid type`)}OverflowUint(e){throw Error(`reflect: OverflowUint of invalid type`)}OverflowFloat(e){throw Error(`reflect: OverflowFloat of invalid type`)}NumMethod(){return 0}MethodByName(e){return[Cu(),!1]}Len(){throw Error(`reflect: Len of invalid type`)}Bits(){throw Error(`reflect: Bits of invalid type`)}};var lu=class e{_value;_type;_parentVarRef;_parentStruct;_fieldName;_interfaceValue;constructor(e,t,n,r,i,a){t==null||typeof e==`object`&&e&&Object.keys(e).length===0&&!(e instanceof globalThis.Array)&&!(e instanceof globalThis.Map)?(this._value=null,this._type=cu):(this._value=e,this._type=t),this._parentVarRef=n,this._parentStruct=r,this._fieldName=i,this._interfaceValue=a}clone(){return new e(this._value,this._type,this._parentVarRef,this._parentStruct,this._fieldName,this._interfaceValue)}currentValue(){if(this._parentVarRef)return this._parentVarRef.value;if(this._parentStruct&&this._fieldName!==void 0){let e=this._parentStruct[this._fieldName];return e===void 0?null:e}return this._value}storeValue(e){if(this.Kind()===25){let t=this.currentValue();rs(t,e,Ku(this._type)),this._value=t;return}this._value=e,this._parentVarRef&&(this._parentVarRef.value=e),this._parentStruct&&this._fieldName!==void 0&&(this._parentStruct[this._fieldName]=e)}integerValue(){if(typeof this._value==`bigint`)return this._value;let e=this.numericValue();return e!==null&&Number.isInteger(e)?BigInt(e):null}Int(){let e=this.integerValue();if(e!==null)return e;throw Error(`reflect: call of reflect.Value.Int on `+nu(this._type.Kind())+` Value`)}Uint(){let e=this.integerValue();if(e!==null&&e>=0n)return e;throw Error(`reflect: call of reflect.Value.Uint on `+nu(this._type.Kind())+` Value`)}Float(){let e=this.numericValue();if(e!==null)return e;throw Error(`reflect: call of reflect.Value.Float on `+nu(this._type.Kind())+` Value`)}Bool(){if(typeof this._value==`boolean`)return this._value;throw Error(`reflect: call of reflect.Value.Bool on `+nu(this._type.Kind())+` Value`)}numericValue(){if(typeof this._value==`number`)return this._value;if(this._value!==null&&typeof this._value==`object`&&typeof this._value.valueOf==`function`){let e=this._value.valueOf();if(typeof e==`number`)return e}return null}String(){return typeof this._value==`string`?this._value:this._type.Kind()===1?`<bool Value>`:this._type.String()}Len(){if(this.Kind()===23||this.Kind()===17)return I(this._value);if(this.Kind()===21){let e=this.currentValue();if(e instanceof globalThis.Map)return e.size;if(e!=null)throw new Zl({Kind:this.Kind(),Method:`Len`});return 0}if(this._value&&typeof this._value==`object`&&`__meta__`in this._value){let e=this._value.__meta__;if(e&&typeof e.length==`number`)return e.length}if(this._value instanceof Uint8Array||this._value instanceof Int8Array||this._value instanceof Uint16Array||this._value instanceof Int16Array||this._value instanceof Uint32Array||this._value instanceof Int32Array||this._value instanceof Float32Array||this._value instanceof Float64Array||globalThis.Array.isArray(this._value)||typeof this._value==`string`)return this._value.length;throw Error(`reflect: call of reflect.Value.Len on `+nu(this._type.Kind())+` Value`)}Kind(){return this._type.Kind()}Type(){return this._type}IsValid(){return this._type!==cu}IsNil(){let e=this.currentValue();return e==null||Fa(e)}Index(t){if(this.Kind()===23||this.Kind()===17){let n=Oo(this._value,t);return new e(n.value,this._type.Elem(),n)}throw Error(`reflect: call of reflect.Value.Index on `+nu(this._type.Kind())+` Value`)}Slice(t,n){let r=this.Len();if(t<0||n<t||n>r)throw Error(`reflect.Value.Slice: slice index out of bounds [${t}:${n}] with length ${r}`);if(this._value&&typeof this._value==`object`&&`__meta__`in this._value)return new e(P(this._value,t,n),this._type);if(globalThis.Array.isArray(this._value)||this._value instanceof Uint8Array||typeof this._value==`string`)return new e(this._value.slice(t,n),this._type);throw new Zl({Kind:this.Kind(),Method:`Slice`})}Bytes(){let e=this.currentValue();if(this.Kind()===23&&this._type.Elem()?.Kind()===8&&(e===null||e instanceof Uint8Array||globalThis.Array.isArray(e)||typeof e==`object`&&`__meta__`in e))return e;if(this.Kind()===24&&typeof e==`string`)return Ko(e);throw Error(`reflect: call of reflect.Value.Bytes on `+nu(this._type.Kind())+` Value`)}Elem(){if(this._type.Kind()===22&&g(this._value)){let t=this._value,n=this._type.Elem();return new e(t.value,n,t)}if(this._type.Kind()===22&&this._value&&typeof this._value==`object`&&`__goValue`in this._value&&g(this._value.__goValue)){let t=this._value.__goValue;return new e(t.value,this._type.Elem(),t)}return this._type.Kind()===20?Vu(this._value):new e(this._value,this._type,this._parentVarRef)}NumField(){return this._type.NumField()}Field(t){if(this.Kind()!==25)throw new Zl({Kind:this.Kind(),Method:`Field`});let n=this.Type().Field(t),r=Au(this.Type(),t);if(!n)throw Error(`reflect: struct field index out of range`);let i=this.currentValue(),a=i._fields??i,o=a[r];return o===void 0&&(o=null),new e(o,n.Type,void 0,a,r)}FieldByIndex(e){let t=this;for(let n of so(e))t=t.Field(n);return t}FieldByName(t){let[n,r]=this.Type().FieldByName(t);return r?this.FieldByIndex(n.Index):new e(null,cu)}UnsafePointer(){return this._value}Pointer(){let e=this.Kind();if(e!==18&&e!==19&&e!==21&&e!==22&&e!==23&&e!==26)throw new Zl({Kind:e,Method:`Pointer`});if(this._value===null||this._value===void 0)return 0;if(Ji(this._value))return Eee(this._value);if(g(this._value)){let e=this._value.__goAddress?.();return e===void 0?uie(this._value):e}if(e===23){let e=this._value;try{return I(e)===0?0:jo(e,0)}catch{return 0}}return typeof this._value==`object`||typeof this._value==`function`?uie(this._value):0}UnsafeAddr(){if(!this.CanAddr())throw new Zl({Kind:this.Kind(),Method:`UnsafeAddr`});if(this._parentStruct&&this._fieldName){let e=this._parentStruct,t=this._fieldName;return Tee(qi(e,t))}return this._parentVarRef?.__goPointer?this._parentVarRef.__goPointer:this.Pointer()}pointer(){return this._value}get ptr(){return this._value}get value(){return this.currentValue()}Convert(t){return new e(this._value,t)}CanConvert(e){return e===null||!this.IsValid()?!1:this.Type().ConvertibleTo(e)}CanAddr(){return this.Kind()!==22&&(this._parentVarRef!==void 0||this._parentStruct!==void 0&&this._fieldName!==void 0||this._value!==null)}Addr(){if(!this.CanAddr())throw Error(`reflect: call of reflect.Value.Addr on invalid Value`);let t=Hu(this.Type());return this._parentStruct&&this._fieldName?new e(qi(this._parentStruct,this._fieldName),t):this._parentVarRef?new e(this._parentVarRef,t):new e(m(this._value),t)}CanSet(){return this.IsValid()}Set(e){if(!this.CanSet())throw Error(`reflect: assign to invalid value`);let t=this.Type();if(!e.Type().AssignableTo(t))throw Error(`reflect: assign to wrong type`);this.storeValue(e.value)}Interface(){if(this._interfaceValue!==void 0)return this._interfaceValue;let e=Ku(this._type),t=this._type.Name()!==``&&(this._type.PkgPath()!==``||this._type.String().includes(`.`)),n=this._type.Kind()===22?this._type.Elem():null,r=n!==null&&n.Name()!==``&&(n.PkgPath()!==``||n.String().includes(`.`));return this._type.Kind()===25&&t?D(this._value,this._type.String(),e):t&&this._type.Kind()!==25||this._type.Kind()===22&&r?La(this._value,this._type.String(),{},e):this._value}MethodByName(t){if(!this.IsValid())return new e;let n=g(this._value)?this._value.value:this._value;if(n==null||typeof n!=`object`&&typeof n!=`function`)return new e;let r=n[t];if(typeof r!=`function`)return new e;let[i]=Eie(this.Type(),t),a=i?wie(i,this.Type(),!1):new pu(`func`);return new e(r.bind(n),a)}async Call(e){if(this.Kind()!==19||typeof this._value!=`function`)throw new Zl({Kind:this.Kind(),Method:`Call`});return await hie(this._value,this._type,e,`Call`)}async CallSlice(e){if(this.Kind()!==19||typeof this._value!=`function`)throw new Zl({Kind:this.Kind(),Method:`CallSlice`});return await hie(this._value,this._type,e,`CallSlice`)}IsZero(){let e=rie(this.Type()).value;return eu(this._value,e)}typ(){return new tu(this._type.Kind())}get flag(){return 0}MapRange(){if(this.Kind()!==21)throw new Zl({Kind:this.Kind(),Method:`MapRange`});let e=this.currentValue();if(e==null)return new nie(new globalThis.Map);if(!(e instanceof globalThis.Map))throw new Zl({Kind:this.Kind(),Method:`MapRange`});return new nie(e)}MapIndex(t){if(this.Kind()!==21)throw new Zl({Kind:this.Kind(),Method:`MapIndex`});let n=this.currentValue();if(!(n instanceof globalThis.Map))return new e(null,new uu(0,`invalid`));let r=t.Interface();return n.has(r)?new e(n.get(r),this.Type().Elem()):new e(null,new uu(0,`invalid`))}MapKeys(){if(this.Kind()!==21)throw new Zl({Kind:this.Kind(),Method:`MapKeys`});let t=this.currentValue();if(t==null)return N(0);if(!(t instanceof globalThis.Map))throw new Zl({Kind:this.Kind(),Method:`MapKeys`});let n=this.Type().Key(),r=[];for(let i of t.keys())r.push(new e(i,n));return F(r)}Complex(){let e=this.Kind();if(e!==15&&e!==16)throw Error(`reflect: call of reflect.Value.Complex on `+nu(e)+` Value`);let t=this._parentVarRef?this._parentVarRef.value:this._value;return t==null?us(0,0):typeof t==`number`?us(t,0):t}Send(e){if(this._type.Kind()!==18)throw Error(`reflect: send on non-chan type`);let t=this._value;if(!t||typeof t!=`object`)throw Error(`reflect: send on invalid channel`);let n=e.value,r=t;typeof r.send==`function`&&(r._sendQueue||=[],r._sendQueue.push(n))}SetString(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetString on unaddressable value`);if(this.Kind()!==24)throw Error(`reflect: call of reflect.Value.SetString on `+this.Kind()+` Value`);this._value=e,this._parentVarRef&&(this._parentVarRef.value=e),this._parentStruct&&this._fieldName&&(this._parentStruct[this._fieldName]=e)}SetInt(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetInt on unaddressable value`);let t=this.Kind();if(t!==2&&t!==3&&t!==4&&t!==5&&t!==6)throw Error(`reflect: call of reflect.Value.SetInt on `+t+` Value`);let n=t===6?e:Number(e);this._value=n,this._parentVarRef&&(this._parentVarRef.value=n),this._parentStruct&&this._fieldName&&(this._parentStruct[this._fieldName]=n)}SetUint(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetUint on unaddressable value`);let t=this.Kind();if(t!==7&&t!==8&&t!==9&&t!==10&&t!==11&&t!==12)throw Error(`reflect: call of reflect.Value.SetUint on `+t+` Value`);let n=t===11?e:Number(e);this._value=n,this._parentVarRef&&(this._parentVarRef.value=n),this._parentStruct&&this._fieldName&&(this._parentStruct[this._fieldName]=n)}SetBool(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetBool on unaddressable value`);if(this.Kind()!==1)throw Error(`reflect: call of reflect.Value.SetBool on `+this.Kind()+` Value`);this._value=e,this._parentVarRef&&(this._parentVarRef.value=e),this._parentStruct&&this._fieldName&&(this._parentStruct[this._fieldName]=e)}SetFloat(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetFloat on unaddressable value`);let t=this.Kind();if(t!==13&&t!==14)throw Error(`reflect: call of reflect.Value.SetFloat on `+t+` Value`);this._value=e,this._parentVarRef&&(this._parentVarRef.value=e),this._parentStruct&&this._fieldName&&(this._parentStruct[this._fieldName]=e)}SetComplex(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetComplex on unaddressable value`);let t=this.Kind();if(t!==15&&t!==16)throw Error(`reflect: call of reflect.Value.SetComplex on `+t+` Value`);this._value=e,this._parentVarRef&&(this._parentVarRef.value=e),this._parentStruct&&this._fieldName&&(this._parentStruct[this._fieldName]=e)}SetBytes(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetBytes on unaddressable value`);if(this.Kind()!==23)throw Error(`reflect: call of reflect.Value.SetBytes on `+this.Kind()+` Value`);this._value=e instanceof Uint8Array?globalThis.Array.from(e):(globalThis.Array.isArray(e),e)}SetZero(){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetZero on unaddressable value`);let e=rie(this.Type());this.storeValue(e.value)}SetLen(e){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetLen on unaddressable value`);if(this.Kind()!==23)throw Error(`reflect: call of reflect.Value.SetLen on `+this.Kind()+` Value`);globalThis.Array.isArray(this._value)&&(this._value.length=e)}SetMapIndex(e,t){if(!this.CanSet())throw Error(`reflect: call of reflect.Value.SetMapIndex on unaddressable value`);if(this.Kind()!==21)throw Error(`reflect: call of reflect.Value.SetMapIndex on `+this.Kind()+` Value`);let n=this.currentValue();if(!(n instanceof globalThis.Map))throw Error(`reflect: assignment to entry in nil map`);let r=e.value,i=t.value;if(!t.IsValid()){n.delete(r);return}n.set(r,i)}Grow(e){if(this.Kind()!==23)throw Error(`reflect: call of reflect.Value.Grow on `+this.Kind()+` Value`);if(!globalThis.Array.isArray(this._value))return;let t=this._value.length,n=t+e;this._value.length<n&&(this._value.length=n,this._value.length=t)}Cap(){let e=this.Kind();if(e===23||e===17)return _o(this._value);if(e===18)return 0;throw Error(`reflect: call of reflect.Value.Cap on `+e+` Value`)}NumMethod(){return 0}Equal(e){return eu(this._value,e.value)}CanInterface(){return this.IsValid()}OverflowInt(e){let t=this.Kind();switch(t){case 3:return e<-128n||e>127n;case 4:return e<-32768n||e>32767n;case 5:return e<-2147483648n||e>2147483647n;case 2:case 6:return!1;default:throw Error(`reflect: call of reflect.Value.OverflowInt on `+t+` Value`)}}OverflowUint(e){let t=this.Kind();switch(t){case 8:return e<0n||e>255n;case 9:return e<0n||e>65535n;case 10:return e<0n||e>4294967295n;case 7:case 11:case 12:return!1;default:throw Error(`reflect: call of reflect.Value.OverflowUint on `+t+` Value`)}}OverflowFloat(e){let t=this.Kind();if(t===13)return Math.abs(e)>34028234663852886e22&&!isNaN(e)&&!!isFinite(e);if(t===14)return!1;throw Error(`reflect: call of reflect.Value.OverflowFloat on `+t+` Value`)}},uu=class{_kind;_name;_size;_typeName;_methods;constructor(e,t,n=8,r=``,i=[]){this._kind=e,this._name=t,this._size=n,this._typeName=r,this._methods=i}String(){return this._typeName||this._name}Kind(){return this._kind}underlyingName(){return nu(this._kind)}Comparable(){return this._kind!==19&&this._kind!==21&&this._kind!==23}Size(){return this._size}Elem(){throw Error(`reflect: Elem of invalid type ${this._name}`)}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}PkgPath(){if(this._typeName){let e=this._typeName.lastIndexOf(`.`);if(e>0)return this._typeName.substring(0,e)}return``}Name(){if(this._typeName){let e=this._typeName.lastIndexOf(`.`);return e>=0?this._typeName.substring(e+1):this._typeName}return this._name}Field(e){throw Error(`reflect: Field of non-struct type ${this._name}`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type ${this._name}`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this._kind)}OverflowInt(e){let t=this._kind;switch(t){case 3:return e<-128n||e>127n;case 4:return e<-32768n||e>32767n;case 5:return e<-2147483648n||e>2147483647n;case 2:case 6:return!1;default:throw Error(`reflect: call of reflect.Type.OverflowInt on `+nu(t)+` Type`)}}OverflowUint(e){let t=this._kind;switch(t){case 8:return e<0n||e>255n;case 9:return e<0n||e>65535n;case 10:return e<0n||e>4294967295n;case 7:case 11:case 12:return!1;default:throw Error(`reflect: call of reflect.Type.OverflowUint on `+nu(t)+` Type`)}}OverflowFloat(e){let t=this._kind;if(t===13)return Math.abs(e)>34028234663852886e22&&!isNaN(e)&&!!isFinite(e);if(t===14)return!1;throw Error(`reflect: call of reflect.Type.OverflowFloat on `+nu(t)+` Type`)}NumMethod(){return wu(this).length}MethodByName(e){return Tu(this,e)}methodSignatures(){return this._methods}mergeMethodSignatures(e){this._methods=yu(this._methods,e)}Len(){throw Error(`reflect: call of reflect.Type.Len on `+nu(this._kind)+` Type`)}Bits(){let e=this._kind;switch(e){case 1:return 1;case 3:case 8:return 8;case 4:case 9:return 16;case 5:case 10:case 13:return 32;case 6:case 11:case 14:return 64;case 15:return 64;case 16:return 128;case 2:case 7:case 12:return 64;default:throw Error(`reflect: call of reflect.Type.Bits on `+nu(e)+` Type`)}}},du=class{_elemType;_typeName;constructor(e,t=``){this._elemType=e,this._typeName=t}String(){return this._typeName||`[]`+this._elemType.String()}Kind(){return 23}Comparable(){return!1}Size(){return 24}Elem(){return this._elemType}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}PkgPath(){if(!this._typeName)return``;let e=this._typeName.lastIndexOf(`.`);return e>0?this._typeName.substring(0,e):``}Name(){if(!this._typeName)return``;let e=this._typeName.lastIndexOf(`.`);return e>=0?this._typeName.substring(e+1):this._typeName}Field(e){throw Error(`reflect: Field of non-struct type`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on slice Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on slice Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on slice Type`)}NumMethod(){return 0}MethodByName(e){return[Cu(),!1]}Len(){throw Error(`reflect: call of reflect.Type.Len on slice Type`)}Bits(){throw Error(`reflect: call of reflect.Type.Bits on slice Type`)}},pie=class{_elemType;_len;constructor(e,t){this._elemType=e,this._len=t}String(){return`[${this._len}]${this._elemType.String()}`}Kind(){return 17}Comparable(){return this._elemType.Comparable()}Size(){return this._elemType.Size()*this._len}Elem(){return this._elemType}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}Len(){return this._len}PkgPath(){return``}Name(){return``}Field(e){throw Error(`reflect: Field of non-struct type`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this.Kind())}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on array Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on array Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on array Type`)}NumMethod(){return 0}MethodByName(e){return[Cu(),!1]}Bits(){throw Error(`reflect: call of reflect.Type.Bits on array Type`)}},fu=class{_elemType;_methods;constructor(e,t=[]){this._elemType=e,this._methods=t}String(){return`*`+this._elemType.String()}Kind(){return 22}Comparable(){return!0}Size(){return 8}Elem(){return this._elemType}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}PkgPath(){return``}Name(){return``}Field(e){throw Error(`reflect: Field of non-struct type`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this.Kind())}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on pointer Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on pointer Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on pointer Type`)}NumMethod(){return wu(this).length}MethodByName(e){return Tu(this,e)}methodSignatures(){return this._methods}mergeMethodSignatures(e){this._methods=yu(this._methods,e)}Len(){throw Error(`reflect: call of reflect.Type.Len on pointer Type`)}Bits(){throw Error(`reflect: call of reflect.Type.Bits on pointer Type`)}},pu=class{_name;_signature;_params;_results;_variadic;_hasSignature;_methods;constructor(e){if(typeof e==`string`){this._name=``,this._signature=e,this._params=[],this._results=[],this._variadic=!1,this._hasSignature=!1,this._methods=[];return}this._name=e.name??``,this._params=e.params??[],this._results=e.results??[],this._variadic=e.variadic??!1,this._hasSignature=e.signature!==void 0||e.params!==void 0||e.results!==void 0,this._methods=e.methods??[],this._signature=e.signature??mie(this._params,this._results,this._variadic)}String(){return this._name===``?this._signature:this._name}Kind(){return 19}Comparable(){return!1}Size(){return 8}Elem(){throw Error(`reflect: Elem of invalid type`)}NumField(){return 0}NumIn(){return this._params.length}In(e){if(e<0||e>=this._params.length)throw Error(`reflect: In index out of range [${e}] with length ${this._params.length}`);return this._params[e]}NumOut(){return this._results.length}Out(e){if(e<0||e>=this._results.length)throw Error(`reflect: Out index out of range [${e}] with length ${this._results.length}`);return this._results[e]}IsVariadic(){return this._variadic}PkgPath(){if(this._name!==``){let e=this._name.lastIndexOf(`.`);if(e>0)return this._name.substring(0,e)}return``}Name(){if(this._name!==``){let e=this._name.lastIndexOf(`.`);return e>=0?this._name.substring(e+1):this._name}return``}Field(e){throw Error(`reflect: Field of non-struct type`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this.Kind())}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on func Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on func Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on func Type`)}NumMethod(){return wu(this).length}MethodByName(e){return Tu(this,e)}methodSignatures(){return this._methods}mergeMethodSignatures(e){this._methods=yu(this._methods,e)}mergeSignature(e){e._hasSignature&&!this._hasSignature&&(this._params=e._params,this._results=e._results,this._variadic=e._variadic,this._signature=e._signature,this._hasSignature=!0)}Len(){throw Error(`reflect: call of reflect.Type.Len on func Type`)}Bits(){throw Error(`reflect: call of reflect.Type.Bits on func Type`)}};function mie(e,t,n){let r=`func(${e.map((t,r)=>{let i=t.String();return!n||r!==e.length-1?i:i.startsWith(`[]`)?`...`+i.slice(2):`...`+i}).join(`, `)})`;return t.length===1?r+=` ${t[0].String()}`:t.length>1&&(r+=` (${t.map(e=>e.String()).join(`, `)})`),r}async function hie(e,t,n,r){return yie(t,await e(...gie(t,so(n),r)))}function gie(e,t,n){if(n===`CallSlice`)return _ie(e,t);if(!e.IsVariadic())return vie(e,t.length),t.map((t,r)=>mu(n,t,e.In(r),r));let r=e.NumIn()-1;if(t.length<r)throw Error(`reflect: Call with too few input arguments`);let i=[];for(let a=0;a<r;a++)i.push(mu(n,t[a],e.In(a),a));let a=e.In(r).Elem(),o=t.slice(r);for(let e=0;e<o.length;e++){let t=o[e];if(!t.IsValid())throw Error(`reflect: ${n} using zero Value argument`);if(!t.Type().AssignableTo(a))throw Error(`reflect: cannot use ${t.Type().String()} as type ${a.String()} in ${n}`)}return i.push(F(o.map(e=>e.Interface()))),i}function _ie(e,t){if(!e.IsVariadic())throw Error(`reflect: CallSlice of non-variadic function`);let n=e.NumIn();if(t.length<n)throw Error(`reflect: CallSlice with too few input arguments`);if(t.length>n)throw Error(`reflect: CallSlice with too many input arguments`);return t.map((t,n)=>mu(`CallSlice`,t,e.In(n),n))}function mu(e,t,n,r){if(!t.IsValid())throw Error(`reflect: ${e} using zero Value argument`);if(!t.Type().AssignableTo(n))throw Error(`reflect: ${e} using ${t.Type().String()} as type ${n.String()}`);return t.Interface()}function vie(e,t){let n=e.NumIn();if(t!==n)throw Error(`reflect: Call with ${t} input arguments for function with ${n} inputs`)}function yie(e,t){let n=e.NumOut();if(n===0){if(t!==void 0)throw Error(`reflect: Call returned 1 results for function with 0 outputs`);return N(0)}if(n===1)return F([new lu(t,e.Out(0))]);if(!globalThis.Array.isArray(t))throw Error(`reflect: Call returned 1 results for function with ${n} outputs`);if(t.length!==n)throw Error(`reflect: Call returned ${t.length} results for function with ${n} outputs`);return F(t.map((t,n)=>new lu(t,e.Out(n))))}var hu=class{_keyType;_elemType;constructor(e,t){this._keyType=e,this._elemType=t}String(){return`map[${this._keyType.String()}]${this._elemType.String()}`}Kind(){return 21}Comparable(){return!1}Size(){return 8}Elem(){return this._elemType}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}Key(){return this._keyType}PkgPath(){return``}Name(){return``}Field(e){throw Error(`reflect: Field of non-struct type`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this.Kind())}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on map Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on map Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on map Type`)}NumMethod(){return 0}MethodByName(e){return[Cu(),!1]}Len(){throw Error(`reflect: call of reflect.Type.Len on map Type`)}Bits(){throw Error(`reflect: call of reflect.Type.Bits on map Type`)}};function gu(e,t){if(t.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);let n=wu(t);if(n.length===0)return!0;let r=wu(e);return n.every(e=>{let t=r.find(t=>t.name===e.name);return t!==void 0&&bie(t,e)})}function bie(e,t){return xie(e.args,t.args)&&xie(e.returns,t.returns)}function xie(e,t){return e.length===t.length&&e.every((e,n)=>_u(e)===_u(t[n]))}function _u(e){return bu(e.type,new Set)}function vu(e){let t=e.args.map(_u).join(`,`),n=e.returns.map(_u).join(`,`);return`${e.name}(${t})(${n})`}function yu(e,t){if(t.length===0)return e;let n=[...e];for(let e of t){let t=n.findIndex(t=>t.name===e.name);if(t===-1){n.push(e);continue}vu(n[t])!==vu(e)&&(n[t]=e)}return n.sort((e,t)=>e.name.localeCompare(t.name))}function bu(e,t){if(typeof e==`string`){let n=ca(e);if(!n)return`named:${e}`;let r=n.name??e;if(r!==``)return`named:${r}`;if(t.has(e))return`named:${e}`;t.add(e);let i=bu(n,t);return t.delete(e),i}switch(e.kind){case`basic`:return e.typeName?`named:${e.typeName}`:`basic:${e.name??`unknown`}`;case`interface`:return e.name?`named:${e.name}`:`interface:${(e.methods??[]).map(vu).join(`|`)}`;case`struct`:return e.name?`named:${e.name}`:`struct:${(e.fields??[]).map(e=>[e.name,e.pkgPath??``,e.tag??``,e.anonymous===!0?`anonymous`:`named`,bu(e.type,t)].join(`\0`)).join(``)}`;case`pointer`:return`ptr:${bu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`slice`:return`slice:${bu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`array`:return`array:${e.length}:${bu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`map`:return`map:${bu(e.keyType??{kind:`basic`,name:`unknown`},t)}:${bu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`function`:return e.name?`named:${e.name}`:`func:${e.isVariadic===!0}:${(e.params??[]).map(e=>bu(e,t)).join(`,`)}:${(e.results??[]).map(e=>bu(e,t)).join(`,`)}`;case`channel`:return`chan:${e.direction??`both`}:${bu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;default:return`unknown`}}function xu(e,t){return Su(e,e=>e===t)}function Su(e,t){if(e.Kind()!==25)throw Error(`reflect: FieldByName of non-struct type`);for(let n of Sie(e))if(t(n.Name))return[n,!0];return[new Yl,!1]}function Sie(e){let t=[],n=new globalThis.Map,r=new Set,i=[],a=e=>{if(!r.has(e)){r.add(e);for(let r=0;r<e.NumField();r++){let o=e.Field(r).clone();i.push(r);let s=!0,c=n.get(o.Name);if(c!==void 0){let e=t[c];i.length===e.Index.length?(e.Name=``,s=!1):i.length<e.Index.length?e.Name=``:s=!1}if(s&&(o.Index=[...i],n.set(o.Name,t.length),t.push(o)),o.Anonymous){let e=o.Type;e.Kind()===22&&(e=e.Elem()),e.Kind()===25&&a(e)}i.pop()}r.delete(e)}};return a(e),t.filter(e=>e.Name!==``)}function Cu(){return{Name:``,Type:new uu(0,`<invalid>`),Func:()=>void 0,Index:0}}function Cie(e,t,n){return{Name:e.name,Type:wie(e,n,n.Kind()!==20),Func:()=>void 0,Index:t}}function wie(e,t,n){let r=e.args.map(Tie);return n&&r.unshift(t),new pu({params:r,results:e.returns.map(Tie)})}function Tie(e){return Wu(e.type,new Set)}function wu(e){let t=ca(e.String());if(!t&&e.Kind()===22&&(t=ca(e.Elem().String())),!t&&e instanceof Ru){let n=e.registeredName();n&&(t=ca(n))}return!t&&e instanceof Ru?e.methodSignatures():!t&&e instanceof fu?yu(wu(e.Elem()),e.methodSignatures()):!t&&e instanceof uu||!t&&e instanceof pu?e.methodSignatures():t&&(Qi(t)||$i(t))&&t.methods||[]}function Eie(e,t){let n=wu(e),r=n.findIndex(e=>e.name===t);return r===-1?[void 0,-1]:[n[r],r]}function Tu(e,t){let[n,r]=Eie(e,t);return n?[Cie(n,r,e),!0]:[Cu(),!1]}function Eu(e,t){return t===null?!1:au(e)===au(t)||(!ou(e)||!ou(t))&&fie(e)===fie(t)||t.Kind()===20&&e.Implements(t)}function Du(e,t){if(t===null)throw Error(`reflect: nil type passed to Type.ConvertibleTo`);let n=e.Kind(),r=t.Kind();if(n>=2&&n<=14&&r>=2&&r<=14||n>=2&&n<=12&&r===24||(n===15||n===16)&&(r===15||r===16)||n===24&&r===23&&(t.Elem().Kind()===8||t.Elem().Kind()===5))return!0;if(n===23){let n=e.Elem();if(r===24&&(n.Kind()===8||n.Kind()===5))return!0;let i=r===22?t.Elem():t;if(i.Kind()===17&&au(n)===au(i.Elem()))return!0}return n===18&&r===18&&qu(e.String())===`both`&&(!ou(e)||!ou(t))&&au(e.Elem())===au(t.Elem())||ku(e,t,new globalThis.Map)||n===22&&r===22&&!ou(e)&&!ou(t)&&ku(e.Elem(),t.Elem(),new globalThis.Map)?!0:r===20&&e.Implements(t)}function Ou(e,t,n){return e.Name()===t.Name()&&e.PkgPath()===t.PkgPath()&&ku(e,t,n)}function ku(e,t,n){if(e===t)return!0;let r=e.Kind();if(r!==t.Kind())return!1;if(r>=1&&r<=16||r===24||r===26||n.get(e)?.has(t))return!0;let i=n.get(e)??new Set;switch(i.add(t),n.set(e,i),r){case 17:return e.Len()===t.Len()&&Ou(e.Elem(),t.Elem(),n);case 18:return qu(e.String())===qu(t.String())&&Ou(e.Elem(),t.Elem(),n);case 22:case 23:return Ou(e.Elem(),t.Elem(),n);case 21:return Ou(e.Key(),t.Key(),n)&&Ou(e.Elem(),t.Elem(),n);case 19:if(e.NumIn()!==t.NumIn()||e.NumOut()!==t.NumOut()||e.IsVariadic()!==t.IsVariadic())return!1;for(let r=0;r<e.NumIn();r++)if(!Ou(e.In(r),t.In(r),n))return!1;for(let r=0;r<e.NumOut();r++)if(!Ou(e.Out(r),t.Out(r),n))return!1;return!0;case 20:return e.NumMethod()===0&&t.NumMethod()===0;case 25:if(e.NumField()!==t.NumField())return!1;for(let r=0;r<e.NumField();r++){let i=e.Field(r),a=t.Field(r);if(i.Name!==a.Name||i.PkgPath!==a.PkgPath||i.Anonymous!==a.Anonymous||!Ou(i.Type,a.Type,n))return!1}return!0;default:return!1}}function Au(e,t){return e instanceof Mu?e.fieldKey(t):e.Field(t).Name}function ju(e){switch(e.Kind()){case 1:case 3:case 8:return 1;case 4:case 9:return 2;case 5:case 10:case 13:case 15:return 4;case 17:return ju(e.Elem());case 25:{let t=1;for(let n=0;n<e.NumField();n++)t=Math.max(t,ju(e.Field(n).Type));return t}default:return 8}}function Die(e,t){return t<=1?e:Math.ceil(e/t)*t}function Oie(e){let t=0,n=1;for(let r of e)n=Math.max(n,ju(r.type)),t=Math.max(t,r.offset+r.type.Size());return Die(t,n)}var Mu=class e{_name;_fields;_pkgPath;_string;constructor(e,t=[],n=``,r=e){this._name=e,this._fields=t,this._pkgPath=n,this._string=r}String(){return this._string}Kind(){return 25}Comparable(){return this._fields.every(e=>e.type.Comparable())}Size(){return Oie(this._fields)}Elem(){throw Error(`reflect: Elem of invalid type`)}NumField(){return this._fields.length}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}PkgPath(){if(this._pkgPath!==``)return this._pkgPath;if(this._name===``)return``;let e=this._name.lastIndexOf(`.`);return e>0?this._name.substring(0,e):``}Name(){if(this._name===``)return``;let e=this._name.lastIndexOf(`.`);return e>=0?this._name.substring(e+1):this._name}Field(e){if(e<0||e>=this.NumField())throw Error(`reflect: Field index out of range [${e}] with length ${this.NumField()}`);let t=this._fields[e];return new Yl({Name:t.name,PkgPath:t.pkgPath,Type:t.type,Tag:t.tag?new Xl(t.tag):void 0,Offset:t.offset,Index:[...t.index],Anonymous:t.anonymous})}fieldKey(e){if(e<0||e>=this.NumField())throw Error(`reflect: Field index out of range [${e}] with length ${this.NumField()}`);return this._fields[e].key}descriptors(){return this._fields.map(e=>({...e,index:[...e.index]}))}replaceDescriptors(e){this._fields=e}identityKey(e){if(this._name!==``)return`struct:${this._name}`;let t=this._fields.map(t=>[t.name,t.pkgPath,t.tag??``,t.anonymous?`anonymous`:`named`,au(t.type,e)].join(`\0`)).join(``);return`struct:${this._pkgPath}:${this._name}:${t}`}underlyingIdentityKey(e){return`struct:${this._fields.map(t=>[t.name,t.pkgPath,t.tag??``,t.anonymous?`anonymous`:`named`,au(t.type,e)].join(`\0`)).join(``)}`}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this.Kind())}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on struct Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on struct Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on struct Type`)}NumMethod(){return wu(this).length}MethodByName(e){return Tu(this,e)}Len(){throw Error(`reflect: call of reflect.Type.Len on struct Type`)}Bits(){throw Error(`reflect: call of reflect.Type.Bits on struct Type`)}static createTypeFromFieldInfo(t,n=new Set){if(typeof t==`string`)return Nu(t===`number`?`int`:t);if(t&&t.kind){let r=t.name||`unknown`,i=t.typeName||``;switch(t.kind){case`basic`:return Nu(r===`number`?`int`:r,i);case`slice`:return t.elemType?new du(e.createTypeFromFieldInfo(t.elemType,n)):new du(new uu(0,`unknown`,8));case`pointer`:return t.elemType?new fu(e.createTypeFromFieldInfo(t.elemType,n)):new fu(new uu(0,`unknown`,8));case`interface`:return zie(t,n);case`struct`:{let r=t.name??``,i=Iu(t,n);return new e(r,i,``,r===``?Aie(i):r)}default:return new uu(0,r,8)}}return new uu(0,`unknown`,8)}};function Nu(e,t=``){switch(e){case`string`:return new uu(24,`string`,16,t);case`bool`:case`boolean`:return new uu(1,`bool`,1,t);case`int`:return new uu(2,`int`,8,t);case`int8`:return new uu(3,`int8`,1,t);case`int16`:return new uu(4,`int16`,2,t);case`int32`:return new uu(5,`int32`,4,t);case`int64`:return new uu(6,`int64`,8,t);case`uint`:return new uu(7,`uint`,8,t);case`uint8`:case`byte`:return new uu(8,e,1,t);case`uint16`:return new uu(9,`uint16`,2,t);case`uint32`:return new uu(10,`uint32`,4,t);case`uint64`:return new uu(11,`uint64`,8,t);case`uintptr`:return new uu(12,`uintptr`,8,t);case`float32`:return new uu(13,`float32`,4,t);case`float64`:return new uu(14,`float64`,8,t);case`complex64`:return new uu(15,`complex64`,8,t);case`complex128`:return new uu(16,`complex128`,16,t);default:return new uu(0,e,8,t)}}function Pu(e){let t=e.trim();if(t===``)return null;if(t.startsWith(`<-chan `))return new Lu(Pu(t.slice(7))??Fu(),1);if(t.startsWith(`chan<- `))return new Lu(Pu(t.slice(7))??Fu(),2);if(t.startsWith(`chan `))return new Lu(Pu(t.slice(5))??Fu(),3);if(t.startsWith(`[]`))return new du(Pu(t.slice(2))??Fu());if(t.startsWith(`*`))return new fu(Pu(t.slice(1))??Fu());if(t===`struct{}`||t===`struct {}`)return new Mu(``,[],``,`struct {}`);if(t===`interface{}`||t===`any`)return Fu();if(t===`error`)return new Ru(`error`,`error`);let n=ca(t);if(n)return Uu(n);let r=Nu(t);return r.Kind()===0?null:r}function kie(e){let t=Pu(e);return t?.Kind()===18?t:null}function Fu(){return new uu(20,`interface{}`,16)}function Iu(e,t=new Set){return(e.fields||[]).map((e,n)=>({name:e.name,key:ga(e),type:Wu(e.type,t),tag:e.tag,pkgPath:e.pkgPath??``,anonymous:e.anonymous??!1,index:e.index?[...e.index]:[n],offset:e.offset??n*8,exported:e.exported??(e.pkgPath??``)===``}))}var Lu=class{_elemType;_dir;constructor(e,t){this._elemType=e,this._dir=t}String(){let e=this._elemType.String();switch(this._dir){case 1:return`<-chan ${e}`;case 2:return`chan<- ${e}`;default:return`chan ${e}`}}Kind(){return 18}Comparable(){return!0}Size(){return 8}Elem(){return this._elemType}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}PkgPath(){return``}Name(){return``}Field(e){throw Error(`reflect: Field of non-struct type`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this.Kind())}ChanDir(){return this._dir}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on chan Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on chan Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on chan Type`)}NumMethod(){return 0}MethodByName(e){return[Cu(),!1]}Len(){throw Error(`reflect: call of reflect.Type.Len on chan Type`)}Bits(){throw Error(`reflect: call of reflect.Type.Bits on chan Type`)}},Ru=class{_name;_registeredName;_methods;constructor(e=`interface{}`,t,n=[]){this._name=e,this._registeredName=t,this._methods=n}String(){return this._name}Kind(){return 20}Comparable(){return!0}Size(){return 16}Elem(){throw Error(`reflect: Elem of invalid type`)}NumField(){return 0}NumIn(){return su(`NumIn`,this)}In(e){return su(`In`,this)}NumOut(){return su(`NumOut`,this)}Out(e){return su(`Out`,this)}IsVariadic(){return su(`IsVariadic`,this)}PkgPath(){if(this._name===`interface{}`||this._name.startsWith(`interface {`))return``;let e=this._name.lastIndexOf(`.`);return e>0?this._name.substring(0,e):``}Name(){if(this._name===`interface{}`||this._name.startsWith(`interface {`))return this._name;let e=this._name.lastIndexOf(`.`);return e>=0?this._name.substring(e+1):this._name}Field(e){throw Error(`reflect: Field of non-struct type`)}FieldByName(e){return xu(this,e)}FieldByNameFunc(e){return Su(this,e)}Key(){throw Error(`reflect: Key of non-map type`)}Implements(e){if(!e)return!1;if(e.Kind()!==20)throw Error(`reflect: non-interface type passed to Type.Implements`);return gu(this,e)}AssignableTo(e){return Eu(this,e)}ConvertibleTo(e){return Du(this,e)}common(){return new tu(this.Kind())}OverflowInt(e){throw Error(`reflect: call of reflect.Type.OverflowInt on interface Type`)}OverflowUint(e){throw Error(`reflect: call of reflect.Type.OverflowUint on interface Type`)}OverflowFloat(e){throw Error(`reflect: call of reflect.Type.OverflowFloat on interface Type`)}NumMethod(){return wu(this).length}MethodByName(e){return Tu(this,e)}Len(){throw Error(`reflect: call of reflect.Type.Len on interface Type`)}Bits(){throw Error(`reflect: call of reflect.Type.Bits on interface Type`)}registeredName(){return this._registeredName}methodSignatures(){return this._methods}};function zu(e){if(Fa(e)){let t=e;if(t.__goTypeInfo!==void 0)return Uu(t.__goTypeInfo);if(t.__goType.startsWith(`*`))return new fu(new Ru(t.__goType.slice(1)))}if(e==null)return new uu(20,`interface{}`,16);switch(typeof e){case`boolean`:return new uu(1,`bool`,1);case`number`:return Number.isInteger(e)?new uu(2,`int`,8):new uu(14,`float64`,8);case`bigint`:return new uu(6,`int64`,8);case`string`:return new uu(24,`string`,16);case`function`:{let t=e;if(t.__typeInfo){let e=t.__typeInfo;if((e.kind===`function`||e.kind===`Function`)&&e.params&&e.results)return t.__goTypeName&&!e.name?Gu({...e,name:t.__goTypeName}):Gu(e)}if(t.__goTypeName){let e=t.__goTypeName;return new pu({name:e})}let n=e.toString(),r=`func`,i=n.match(/function\s*\([^)]*\)/);if(i){let e=i[0].replace(`function`,``).trim();if(e===`()`)r=`func()`;else if(e.includes(`,`)){let t=e.split(`,`).length;r=`func(${globalThis.Array(t).fill(`any`).join(`, `)})`}else e!==`()`&&(r=`func(any)`)}return n.includes(`return `)&&(r+=` any`),new pu(r)}case`object`:{if(e===null)return new uu(20,`interface{}`,16);if(g(e))return new fu(zu(e.value));if(`__goTypeInfo`in e&&e.__goTypeInfo)return Uu(e.__goTypeInfo);if(`__goType`in e){let t=e.__goType;if(typeof t==`string`){let e=kie(t);if(e)return e}}if(`real`in e&&`imag`in e&&typeof e.real==`number`&&typeof e.imag==`number`)return new uu(16,`complex128`,16);if(globalThis.Array.isArray(e))return e.length===0?new du(new uu(20,`interface{}`,16)):new du(zu(e[0]));if(e instanceof Uint8Array)return new du(new uu(8,`uint8`,1));if(e instanceof Int8Array)return new du(new uu(3,`int8`,1));if(e instanceof Uint16Array)return new du(new uu(9,`uint16`,2));if(e instanceof Int16Array)return new du(new uu(4,`int16`,2));if(e instanceof Uint32Array)return new du(new uu(10,`uint32`,4));if(e instanceof Int32Array)return new du(new uu(5,`int32`,4));if(e instanceof Float32Array)return new du(new uu(13,`float32`,4));if(e instanceof Float64Array)return new du(new uu(14,`float64`,8));if(e instanceof globalThis.Map){if(e.size===0){let e=new uu(20,`interface{}`,16);return new hu(e,e)}let t=e.entries().next().value;if(t)return new hu(zu(t[0]),zu(t[1]))}if(e&&typeof e==`object`&&`__meta__`in e){let t=e.__meta__;if(t&&typeof t==`object`&&`backing`in t&&`length`in t&&globalThis.Array.isArray(t.backing))return t.backing.length===0?new du(new uu(20,`interface{}`,16)):new du(zu(t.backing[0]))}if(e&&typeof e==`object`&&e.constructor&&`__reflectType`in e.constructor){let t=e.constructor.__reflectType;if(t)return t}if(e&&typeof e==`object`&&e.constructor&&`__typeInfo`in e.constructor){let t=e.constructor.__typeInfo;if(t&&Qi(t)){let e=t.name??``;if(e===``)return new Mu(``,Iu(t));let n=e.includes(`.`)?e:`main.${e}`,r=ca(n);return new Mu(n,r&&Qi(r)?Iu(r):Iu(t))}}let t=e.constructor?.name;return t&&t!==`Object`?new Mu(t,[]):new Mu(`struct`,[])}default:return new uu(20,`interface{}`,16)}}function Bu(e){return iu(zu(e))}function Vu(e){let t=iu(zu(e));return Ra(e)?new lu(e.__goValue,t,void 0,void 0,void 0,e):new lu(e,t)}function Hu(e){return e===null?null:iu(new fu(e))}function Aie(e){return e.length===0?`struct {}`:`struct { ${e.map(jie).join(`; `)} }`}function jie(e){let t=e.tag?` ${JSON.stringify(e.tag)}`:``;return`${e.anonymous?``:`${e.name} `}${e.type.String()}${t}`}function Mie(e){let t=e?.T,n=Nie(t);return t?.type?iu(Pie(Uu(t.type),n)):n.length===0?t?.zero?iu(zu(t.zero())):iu(new Ru(`interface{}`)):iu(new Ru(Ju(n),void 0,n))}function Nie(e){return e?e.methodSignatures&&e.methodSignatures.length!==0?e.methodSignatures:e.methods?Object.keys(e.methods).map(e=>({name:e,args:[],returns:[]})):[]:[]}function Pie(e,t){return t.length===0||(e instanceof uu||e instanceof fu||e instanceof pu)&&e.mergeMethodSignatures(t),e}function Uu(e){return Wu(e,new Set)}function Wu(e,t){if(typeof e==`string`){let n=ca(e);return iu(n?Wu(n,t):Mu.createTypeFromFieldInfo(e,t))}let n=Fie(e);if(n!==``){let r=ru.get(n);if(r)return r;if(t.has(n))return iu(Lie(n,e));if(e.kind===`struct`){let r=new Mu(n,[]);ru.set(n,r),t.add(n);try{return r.replaceDescriptors(Iu(e,t)),iu(r)}finally{t.delete(n),ru.delete(n)}}t.add(n);let i=Iie(e,t);return t.delete(n),iu(i)}return iu(Iie(e,t))}function Fie(e){return e.kind===`basic`?e.typeName??``:e.name??``}function Iie(e,t){switch(e.kind){case`array`:return new pie(Wu(e.elemType??{kind:`basic`,name:`unknown`},t),e.length);case`basic`:return Mu.createTypeFromFieldInfo(e,t);case`channel`:return new Lu(Wu(e.elemType??{kind:`basic`,name:`unknown`},t),Wie(e.direction));case`function`:return Gu(e,t);case`interface`:return zie(e,t);case`map`:return new hu(Wu(e.keyType??{kind:`basic`,name:`unknown`},t),Wu(e.elemType??{kind:`basic`,name:`unknown`},t));case`slice`:return new du(Wu(e.elemType??{kind:`basic`,name:`unknown`},t),e.typeName);case`struct`:return Mu.createTypeFromFieldInfo(e,t);case`pointer`:return new fu(Wu(e.elemType??{kind:`basic`,name:`unknown`},t));default:return Mu.createTypeFromFieldInfo(e,t)}}function Lie(e,t){switch(t.kind){case`interface`:return new Ru(e,e,t.methods??[]);case`struct`:return new Mu(e,[]);case`function`:return new pu({name:e});case`basic`:return Mu.createTypeFromFieldInfo({kind:`basic`,name:t.name??`unknown`,typeName:t.typeName??e});default:return Mu.createTypeFromFieldInfo(e)}}function Gu(e,t=new Set){let n=(e.params??[]).map(e=>Wu(e,t)),r=(e.results??[]).map(e=>Wu(e,t));return new pu({name:e.name,params:n,results:r,variadic:e.isVariadic??!1})}function Rie(e){let t=[];for(let n=0;n<e.NumIn();n++)t.push(Ku(e.In(n)));let n=[];for(let t=0;t<e.NumOut();t++)n.push(Ku(e.Out(t)));let r={kind:`function`,params:t,results:n};return e.Name()!==``&&(r.name=e.String()),e.IsVariadic()&&(r.isVariadic=!0),r}function Ku(e){let t=e.PkgPath()!==``&&e.Name()!==``?e.String():``;if(t!==``&&e.Kind()===25)return t;switch(e.Kind()){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 24:case 26:return{kind:`basic`,name:nu(e.Kind()),...t===``?{}:{typeName:t}};case 20:return{kind:`interface`,methods:wu(e).map(e=>({name:e.name,args:e.args,returns:e.returns}))};case 23:return{kind:`slice`,...t===``?{}:{typeName:t},elemType:Ku(e.Elem())};case 17:return{kind:`array`,elemType:Ku(e.Elem()),length:e.Len()};case 22:return{kind:`pointer`,elemType:Ku(e.Elem())};case 21:return{kind:`map`,keyType:Ku(e.Key()),elemType:Ku(e.Elem())};case 18:return{kind:`channel`,elemType:Ku(e.Elem()),direction:qu(e.String())};case 19:return Rie(e);case 25:{let t=e instanceof Mu?e.descriptors():globalThis.Array.from({length:e.NumField()},(t,n)=>{let r=e.Field(n);return{name:r.Name,key:Au(e,n),type:r.Type,tag:r.Tag?.toString(),pkgPath:r.PkgPath,anonymous:r.Anonymous,index:[...r.Index],offset:r.Offset,exported:r.IsExported()}});return{kind:`struct`,name:e.Name()===``?``:e.String(),methods:[],fields:t.map(e=>({name:e.name,key:e.key,type:Ku(e.type),...e.tag?{tag:e.tag}:{},...e.pkgPath?{pkgPath:e.pkgPath}:{},...e.anonymous?{anonymous:!0}:{},index:[...e.index],offset:e.offset,exported:e.exported}))}}default:return e.String()}}function qu(e){return e.startsWith(`<-chan `)?`receive`:e.startsWith(`chan<- `)?`send`:`both`}function zie(e,t=new Set){let n=e.methods??[];return n.length===0?new Ru(`interface{}`,e.name,n):new Ru(Ju(n,t),e.name,n)}function Ju(e,t=new Set){return`interface { ${e.map(e=>Bie(e,t)).join(`; `)} }`}function Bie(e,t){let n=e.args.map(e=>Uie(e,t)).join(`, `),r=e.returns.map(e=>Uie(e,t));return r.length===0?`${e.name}(${n})`:r.length===1?`${e.name}(${n}) ${r[0]}`:`${e.name}(${n}) (${r.join(`, `)})`}function Vie(e,t){if(e.name)return e.name;let n=e.fields??[];return n.length===0?`struct {}`:`struct { ${n.map(e=>Hie(e,t)).join(`; `)} }`}function Hie(e,t){let n=e.tag?` ${JSON.stringify(e.tag)}`:``;return`${e.anonymous?``:`${e.name} `}${Yu(e.type,t)}${n}`}function Uie(e,t){return Yu(e.type,t)}function Yu(e,t){if(typeof e==`string`)return e;switch(e.kind){case`basic`:return e.typeName??e.name??`unknown`;case`interface`:{let n=e.name??``;if(n!==``&&t.has(n))return n;if(e.methods.length===0)return`interface{}`;n!==``&&t.add(n);let r=Ju(e.methods,t);return n!==``&&t.delete(n),r}case`struct`:return Vie(e,t);case`pointer`:return`*${Yu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`slice`:return`[]${Yu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`array`:return`[${e.length}]${Yu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`map`:return`map[${Yu(e.keyType??{kind:`basic`,name:`unknown`},t)}]${Yu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;case`function`:{let n=(e.params??[]).map(e=>Yu(e,t)).join(`, `),r=(e.results??[]).map(e=>Yu(e,t));return r.length===0?`func(${n})`:r.length===1?`func(${n}) ${r[0]}`:`func(${n}) (${r.join(`, `)})`}case`channel`:return`chan ${Yu(e.elemType??{kind:`basic`,name:`unknown`},t)}`;default:return`unknown`}}function Wie(e){switch(e){case`send`:return 2;case`receive`:return 1;default:return 3}}function Xu(e,t,n,r){let i=e;typeof e==`object`&&e&&`__goValue`in e&&(i=e.__goValue);let a=typeof i==`bigint`?i<0n:Number(i)<0,o=typeof i==`bigint`?(a?-i:i).toString(t):Math.abs(Math.trunc(Number(i))).toString(t);r&&(o=o.toUpperCase());let s=``;n.includes(`#`)&&(t===16?s=r?`0X`:`0x`:t===8&&!o.startsWith(`0`)&&(s=`0`));let c=``;return a?c=`-`:n.includes(`+`)?c=`+`:n.includes(` `)&&(c=` `),c+s+o}function Gie(e,t,n=``){if(e==null)return`<nil>`;switch(t){case`d`:return Xu(e,10,n,!1);case`f`:return Number(e).toString();case`s`:return typeof e==`string`?e:e instanceof Uint8Array?B(e):String(ed(e));case`t`:return e?`true`:`false`;case`T`:return Kie(e)?e.__goType:typeof e==`number`?Number.isInteger(e)?`int`:`float64`:typeof e==`boolean`?`bool`:typeof e==`string`?`string`:typeof e;case`c`:return Ro(Number(e));case`x`:return Xu(e,16,n,!1);case`X`:return Xu(e,16,n,!0);case`o`:return Xu(e,8,n,!1);case`b`:return Xu(e,2,n,!1);case`e`:return Number(e).toExponential();case`E`:return Number(e).toExponential().toUpperCase();case`g`:return Number(e).toPrecision();case`G`:return Number(e).toPrecision().toUpperCase();case`q`:return JSON.stringify(typeof e==`number`&&Number.isInteger(e)?Ro(e):String(e));case`p`:return Jie(e);default:return String(e)}}function Kie(e){return typeof e==`object`&&!!e&&typeof e.__goType==`string`}function qie(e){return typeof e==`object`&&!!e&&typeof e.GoString==`function`}function Zu(e){return e!==null&&(typeof e==`object`||typeof e==`function`)&&typeof e.then==`function`}function Qu(e){return Zu(e)?e.then(e=>String(e)):String(e)}function $u(e,t,n=``,r=``){return e.some(Zu)?Promise.all(e.map(e=>Promise.resolve(e))).then(e=>`${n}${e.join(t)}${r}`):`${n}${e.join(t)}${r}`}function Jie(e){return`0x`+new lu(e,Hu(Bu(e))).Pointer().toString(16)}function ed(e,t=``,n=0,r,i=!0){if(e==null||Fa(e))return`<nil>`;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`string`)return t.includes(`#`)?JSON.stringify(e):e;if(typeof e==`number`||typeof e==`bigint`)return e.toString();if(Array.isArray(e))return $u(e.map(e=>ed(e,t,n+1)),` `,`[`,`]`);if(typeof e==`object`){let a=g(e)?e.value:e;if(i&&t.includes(`#`)&&qie(a))return Qu(a.GoString());if(i&&!t.includes(`#`)&&typeof a?.Error==`function`)try{return Qu(a.Error())}catch{}if(i&&!t.includes(`#`)&&typeof a?.String==`function`)try{return Qu(a.String())}catch{}let o=typeof r==`string`?ca(r):r,s=(o?.kind===`interface`?void 0:o)??e.__goTypeInfo??e.constructor?.__typeInfo,c=typeof s==`string`?ca(s):s;if(g(e)||c?.kind===`pointer`){let r=g(e)?e.value:e.__goValue??e,a=c?.kind===`pointer`?c.elemType:void 0,o=typeof a==`string`?ca(a):a;return n===0&&typeof r==`object`&&r&&(o?.kind===`struct`||o?.kind===`array`||o?.kind===`slice`||o===void 0&&[25,17,23].includes(Bu(r).Kind()))?$u([ed(r,t,n+1,o??r.constructor?.__typeInfo,i)],``,`&`):Jie(e)}if(`__goValue`in e)return ed(e.__goValue,t,n,r,i);if(c?.kind===`struct`||e._fields&&typeof e._fields==`object`&&!Array.isArray(e._fields)||e.constructor===Object){let r=c?.kind===`struct`?c.fields:Object.keys(e._fields??e).map(e=>({name:e,key:e,type:y(`unknown`)})),a=e._fields??e,o=r.map(e=>{let r=ed(a[ga(e)],t,n+1,e.type,i&&(e.exported??/^\p{Lu}/u.test(e.name))),o=t.includes(`+`)||t.includes(`#`)?e.name+`:`:``;return $u([r],``,o)}),s=t.includes(`#`)?c?.name??``:``;return $u(o,t.includes(`#`)?`, `:` `,s+`{`,`}`)}if(e instanceof Map){let r=[];for(let[i,a]of e.entries()){let e=ed(i,t,n+1),o=ed(a,t,n+1);Zu(e)||Zu(o)?r.push(Promise.all([Promise.resolve(e),Promise.resolve(o)]).then(([e,t])=>`${e}:${t}`)):r.push(`${e}:${o}`)}return $u(r,` `,`{`,`}`)}if(e instanceof Set){let r=[];for(let i of e.values())r.push(ed(i,t,n+1));return $u(r,` `,`[`,`]`)}if(e.constructor?.name&&e.constructor.name!==`Object`)return $u(Object.entries(e).map(([e,r])=>{let i=ed(r,t,n+1);return Zu(i)?i.then(t=>`${e}:${t}`):`${e}:${i}`}),` `,`{`,`}`);try{return JSON.stringify(e)}catch{return String(e)}}return String(e)}function Yie(e,t,n=``){switch(t){case`v`:return n.includes(`#`)&&qie(e)?Qu(e.GoString()):ed(e,n);case`w`:return ed(e);case`s`:return typeof e==`string`?e:e instanceof Uint8Array?B(e):ed(e);default:return Gie(e,t,n)}}function Xie(e,t,n,r,i,a){let o=e=>{let o=e;if(i&&!a){let e=parseInt(i);o=r.includes(`-`)?o.padEnd(e):o.padStart(e,r.includes(`0`)?`0`:` `)}else if(a&&(n===`f`||n===`e`||n===`g`)){let e=parseInt(a),s=Number(t);if(n===`f`?o=s.toFixed(e):n===`e`?o=s.toExponential(e):n===`g`&&(o=s.toPrecision(e)),i){let e=parseInt(i);o=r.includes(`-`)?o.padEnd(e):o.padStart(e)}}return o};return Zu(e)?e.then(o):o(e)}function td(e,t){let n=[],r=0;for(let i=0;i<e.length;i++)if(e[i]===`%`){if(i+1<e.length){if(e[i+1]===`%`){n.push(`%`),i++;continue}let a=i+1,o=``,s=``,c=``;for(;a<e.length&&`+-# 0`.includes(e[a]);)c+=e[a],a++;for(;a<e.length&&e[a]>=`0`&&e[a]<=`9`;)o+=e[a],a++;if(a<e.length&&e[a]===`.`)for(a++;a<e.length&&e[a]>=`0`&&e[a]<=`9`;)s+=e[a],a++;if(a<e.length){let l=e[a];if(r<t.length){let e=t[r],i=Zie(e,l,c,o,s);i===null&&(i=Yie(e,l,c)),n.push(Xie(i,e,l,c,o,s)),r++}else n.push(`%!${l}(MISSING)`);i=a}else n.push(e[i])}else n.push(e[i])}else n.push(e[i]);return $u(n,``)}function Zie(e,t,n,r,i){if(!e||typeof e.Format!=`function`||e.Format.length<2)return null;let a=``,o=e.Format({Flag(e){return n.includes(String.fromCharCode(e))},Precision(){return i===``?[0,!1]:[parseInt(i),!0]},Width(){return r===``?[0,!1]:[parseInt(r),!0]},Write(e){let t=B(e);return a+=t,[t.length,null]}},t.codePointAt(0)??0);return Zu(o)?o.then(()=>a):a}let Qie={write:e=>{Ya(e)}};async function nd(e){let t=``;for(let n=0;n<e.length;n++){if(n>0){let r=typeof e[n-1]==`string`,i=typeof e[n]==`string`;!r&&!i&&(t+=` `)}t+=await ed(e[n])}return t}async function rd(e){return(await Promise.all(e.map(e=>Promise.resolve(ed(e))))).join(` `)+`
|
|
8
8
|
`}async function id(e,...t){let n=await td(e,t);return Qie.write(n),[n.length,null]}async function ad(...e){return nd(e)}async function od(e,...t){return td(e,t)}async function $ie(...e){return rd(e)}async function sd(e,t){return e&&e.Write?await e.Write(new TextEncoder().encode(t)):[0,vc(`Writer does not implement Write method`)]}async function cd(e,...t){return await sd(e,await nd(t))}async function ld(e,t,...n){return await sd(e,await td(t,n))}async function ud(e,...t){return await sd(e,await rd(t))}async function dd(e,...t){return pd(e,await nd(t))}async function fd(e,t,...n){return pd(e,await td(t,n))}async function eae(e,...t){return pd(e,await rd(t))}function pd(e,t){let n=new TextEncoder().encode(t),r=Us(e),i=new Uint8Array(r.length+n.length);return i.set(r),i.set(n,r.length),i}function Y(e,...t){let n={Error:()=>td(e,t)},r=tae(e,t);return r.length===1?n.Unwrap=()=>r[0]:r.length>1&&(n.Unwrap=()=>r),n}function tae(e,t){let n=[],r=0;for(let i=0;i<e.length;i++){if(e[i]!==`%`||i+1>=e.length)continue;if(e[i+1]===`%`){i++;continue}let a=i+1;for(;a<e.length&&`+-# 0`.includes(e[a]);)a++;for(;a<e.length&&e[a]>=`0`&&e[a]<=`9`;)a++;if(a<e.length&&e[a]===`.`)for(a++;a<e.length&&e[a]>=`0`&&e[a]<=`9`;)a++;a<e.length&&(r<t.length&&(e[a]===`w`&&n.push(t[r]),r++),i=a)}return n}const md=65533;function nae(e,t){let n=zs(e),r=new Uint8Array(4),i=_d(r,t),a=new Uint8Array(n.length+i);return a.set(n),a.set(r.slice(0,i),n.length),a}function rae(e){let t=Us(e);if(t.length===0)return[md,0];let n=t.length-1;for(;n>0&&!sae(t[n]);)n--;let[r,i]=hd(t.slice(n));return n+i===t.length?[r,i]:[md,1]}function iae(e){if(e.length===0)return[md,0];let t=[...e];if(t.length===0)return[md,0];let n=t[t.length-1];return[n.codePointAt(0)||65533,new TextEncoder().encode(n).length]}function hd(e){if(!e?.length)return[md,0];if(e[0]<128)return[e[0],1];let t=zs(e),n=new TextDecoder(`utf-8`,{fatal:!1}).decode(t.slice(0,Math.min(4,t.length)));if(n.length===0||n===`�`)return[md,1];let r=n.codePointAt(0)||65533,i=String.fromCodePoint(r);return[r,new TextEncoder().encode(i).length]}function gd(e){let t=typeof e==`string`?e:B(e);if(t.length===0)return[md,0];let n=t.charCodeAt(0);if(n<128)return[n,1];let r=t.codePointAt(0)||65533,i=String.fromCodePoint(r);return[r,new TextEncoder().encode(i).length]}function _d(e,t){if(e===null)return 0;vd(t)||(t=md);let n=String.fromCodePoint(t),r=new TextEncoder().encode(n);if(e instanceof Uint8Array){for(let t=0;t<Math.min(r.length,e.length);t++)e[t]=r[t];return Math.min(r.length,e.length)}{let t=I(e);for(let n=0;n<Math.min(r.length,t);n++)e[n]=r[n];return Math.min(r.length,t)}}function aae(e){if(I(e)===0)return!1;let t=Jo(e,0);return t<128||t<192?!0:t<224?I(e)>=2:t<240?I(e)>=3:t<248?I(e)>=4:!0}function oae(e){if(!vd(e))return-1;if(e<128)return 1;let t=String.fromCodePoint(e);return new TextEncoder().encode(t).length}function sae(e){return(e&192)!=128}function vd(e){return e>=0&&e<=1114111&&!(e>=55296&&e<=57343)}function cae(e){for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=55296&&n<=57343){if(t+1>=e.length)return!1;let r=e.charCodeAt(t+1);if(n>=56320||r<56320||r>57343)return!1;t++}}return!0}let lae=ml(`invalid argument`),uae=ml(`permission denied`),dae=ml(`file already exists`),fae=ml(`file does not exist`),pae=ml(`file already closed`);sa(`FS`,null,[{name:`Open`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:`File`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]);function yd(e){if(!cae(e))return!1;if(e==`.`)return!0;for(;;){let t=0;for(;t<I(e)&&Bo(e,t)!=47;)t++;let n=Ho(e,void 0,t);if(n==``||n==`.`||n==`..`)return!1;if(t==I(e))return!0;e=Ho(e,t+1,void 0)}}sa(`File`,null,[{name:`Close`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Read`,args:[{name:``,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Stat`,args:[],returns:[{type:`FileInfo`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]),sa(`DirEntry`,null,[{name:`Info`,args:[],returns:[{type:`FileInfo`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`IsDir`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Name`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`Type`,args:[],returns:[{type:`FileMode`}]}]),sa(`ReadDirFile`,null,[{name:`ReadDir`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`slice`,elemType:`DirEntry`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]);let bd=gae(),xd=_ae(),mae=vae(),Sd=yae(),hae=bae();function gae(){return lae}function _ae(){return uae}function vae(){return dae}function yae(){return fae}function bae(){return pae}sa(`FileInfo`,null,[{name:`IsDir`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`ModTime`,args:[],returns:[{type:`Time`}]},{name:`Mode`,args:[],returns:[{type:`FileMode`}]},{name:`Name`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`Size`,args:[],returns:[{type:{kind:`basic`,name:`int64`}}]},{name:`Sys`,args:[],returns:[{type:{kind:`interface`,methods:[]}}]}]);function Cd(e){return(e&Ed)!=0}function xae(e){return(e&Dd)==0}function wd(e){return e&511}function Td(e){return(e&Dd)>>>0}let Ed=2147483648,Sae=1<<27,Dd=2401763328;function Cae(e){let t=[],n=e;n&2147483648?t.push(`d`):n&134217728?t.push(`L`):n&33554432?t.push(`p`):n&16777216?t.push(`S`):n&67108864?n&2097152?t.push(`c`):t.push(`D`):n&524288?t.push(`?`):t.push(`-`);let r=n&511;return t.push(r&256?`r`:`-`),t.push(r&128?`w`:`-`),r&64?n&8388608?t.push(`s`):t.push(`x`):n&8388608?t.push(`S`):t.push(`-`),t.push(r&32?`r`:`-`),t.push(r&16?`w`:`-`),r&8?n&4194304?t.push(`s`):t.push(`x`):n&4194304?t.push(`S`):t.push(`-`),t.push(r&4?`r`:`-`),t.push(r&2?`w`:`-`),r&1?n&1048576?t.push(`t`):t.push(`x`):n&1048576?t.push(`T`):t.push(`-`),t.join(``)}function wae(e){return(e&Dd)>>>0}var Od=class e{get Op(){return this._fields.Op}set Op(e){this._fields.Op=e}get Path(){return this._fields.Path}set Path(e){this._fields.Path=e}get Err(){return this._fields.Err}set Err(e){this._fields.Err=e}_fields;constructor(e){this._fields={Op:e?.Op??``,Path:e?.Path??``,Err:e?.Err??null}}clone(){let t=new e;return t._fields={Op:this._fields.Op,Path:this._fields.Path,Err:this._fields.Err},t}Error(){let e=this,t=e._fields.Err.Error();return typeof t==`string`?e.Op+` `+e.Path+`: `+t:Promise.resolve(t).then(t=>e.Op+` `+e.Path+`: `+t)}Unwrap(){return this.Err}Timeout(){let{value:e,ok:t}=T(this.Err,{kind:`interface`,methods:[{name:`Timeout`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]}]});return t&&e.Timeout()}static __typeInfo=S(`PathError`,new e,[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`Unwrap`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Timeout`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]}],e,[{name:`Op`,key:`Op`,type:{kind:`basic`,name:`string`}},{name:`Path`,key:`Path`,type:{kind:`basic`,name:`string`}},{name:`Err`,key:`Err`,type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}])};function Tae(e){let t=e.Name(),n=[];n.push(Cae(e.Mode())),n.push(` `);let r=e.Size(),i=r>=0n?r:-r;return r<0n&&n.push(`-`),n.push(i.toString()),n.push(` `),n.push(e.ModTime().Format(`2006-01-02 15:04:05`)),n.push(` `),n.push(t),e.IsDir()&&n.push(`/`),n.join(``)}function Eae(e){let t=e.Name(),n=[],r=Cae(e.Type());return r=Ho(r,void 0,I(r)-9),n.push(r),n.push(` `),n.push(t),e.IsDir()&&n.push(`/`),n.join(``)}sa(`StatFS`,null,[{name:`Stat`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:`FileInfo`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]);async function Dae(e,t){{let{value:n,ok:r}=T(e,`StatFS`);if(r)return await n.Stat(t)}let[n,r]=await e.Open(t);if(r!=null)return[null,r];try{return await n.Stat()}finally{await n.Close()}}sa(`ReadDirFS`,null,[{name:`ReadDir`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`slice`,elemType:`DirEntry`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]);async function kd(e,t){{let{value:n,ok:r}=T(e,`ReadDirFS`);if(r)return await n.ReadDir(t)}let[n,r]=await e.Open(t);if(r!=null)return[null,r];try{let{value:e,ok:i}=T(n,`ReadDirFile`);if(!i)return[null,new Od({Err:ml(`not implemented`),Op:`readdir`,Path:t})];let a;return[a,r]=await e.ReadDir(-1),a&&a.sort((e,t)=>H(e).Name().localeCompare(H(t).Name())),[a,r]}finally{await n.Close()}}var Oae=class e{get fileInfo(){return this._fields.fileInfo}set fileInfo(e){this._fields.fileInfo=e}_fields;constructor(e){this._fields={fileInfo:e?.fileInfo??null}}clone(){let t=new e;return t._fields={fileInfo:this._fields.fileInfo},t}IsDir(){return this.fileInfo.IsDir()}Type(){return wae(this.fileInfo.Mode())}Info(){return[this.fileInfo,null]}Name(){return this.fileInfo.Name()}String(){return Eae(this)}static __typeInfo=S(`dirInfo`,new e,[{name:`IsDir`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Type`,args:[],returns:[{type:`FileMode`}]},{name:`Info`,args:[],returns:[{type:`FileInfo`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Name`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`String`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}],e,[{name:`fileInfo`,key:`fileInfo`,type:`FileInfo`}])};function kae(e){return e==null?null:new Oae({fileInfo:e})}let Ad=ml(`syntax error in pattern`);function jd(e,t){Pattern:for(;I(e)>0;){let[n,r,i]=Aae(e);if(e=i,n&&r==``)return[t.indexOf(`/`)<0,null];let[a,o,s]=Md(r,t);if(o&&(I(a)==0||I(e)>0)){t=a;continue}if(s!=null)return[!1,s];if(n)for(let n=0;n<I(t)&&Bo(t,n)!=47;n++){let[i,a,o]=Md(r,Ho(t,n+1,void 0));if(a){if(I(e)==0&&I(i)>0)continue;t=i;continue Pattern}if(o!=null)return[!1,o]}for(;I(e)>0;){let[,t,n]=Aae(e);e=n;{let[,,e]=Md(t,``);if(e!=null)return[!1,e]}}return[!1,null]}return[I(t)==0,null]}function Aae(e){let t=!1;{for(;I(e)>0&&Bo(e,0)==42;)e=Ho(e,1,void 0),t=!0;let n=!1,r;Scan:for(r=0;r<I(e);r++)switch(Bo(e,r)){case 92:r+1<I(e)&&r++;break;case 91:n=!0;break;case 93:n=!1;break;case 42:if(!n)break Scan}return[t,Ho(e,0,r),Ho(e,r,void 0)]}}function Md(e,t){let n;{let r=!1;for(;I(e)>0;)switch(!r&&I(t)==0&&(r=!0),Bo(e,0)){case 91:{let i=0;if(!r){let e=gd(t);i=e[0];let n=e[1];t=Ho(t,n,void 0)}e=Ho(e,1,void 0);let a=!1;I(e)>0&&Bo(e,0)==94&&(a=!0,e=Ho(e,1,void 0));let o=!1,s=0;for(;;){if(I(e)>0&&Bo(e,0)==93&&s>0){e=Ho(e,1,void 0);break}let t,r;{let r=jae(e);if(t=r[0],e=r[1],n=r[2],n!=null)return[``,!1,n]}if(r=t,Bo(e,0)==45){let t=jae(Ho(e,1,void 0));if(r=t[0],e=t[1],n=t[2],n!=null)return[``,!1,n]}t<=i&&i<=r&&(o=!0),s++}o==a&&(r=!0);break}case 63:if(!r){Bo(t,0)==47&&(r=!0);let[,e]=gd(t);t=Ho(t,e,void 0)}e=Ho(e,1,void 0);break;case 92:if(e=Ho(e,1,void 0),I(e)==0)return[``,!1,Ad];break;default:r||(Bo(e,0)!=Bo(t,0)&&(r=!0),t=Ho(t,1,void 0)),e=Ho(e,1,void 0)}return r?[``,!1,null]:[t,!0,null]}}function jae(e){if(I(e)==0||Bo(e,0)==45||Bo(e,0)==93||Bo(e,0)==92&&(e=Ho(e,1,void 0),I(e)==0))return[0,``,Ad];let[t,n]=gd(e);return t==65533&&n==1?[0,``,Ad]:(e=Ho(e,n,void 0),I(e)==0?[t,e,Ad]:[t,e,null])}function Mae(e){if(e.length===1&&typeof e[0]!=`string`){let t=e[0],n=[];for(let e=0;e<I(t);e++)n.push(t[e]);return n}return e}var Nae=class e{get s(){return this._fields.s}set s(e){this._fields.s=e}get buf(){return this._fields.buf}set buf(e){this._fields.buf=e}get w(){return this._fields.w}set w(e){this._fields.w=e}_fields;constructor(e){this._fields={s:e?.s??``,buf:e?.buf??null,w:e?.w??0}}clone(){let t=new e;return t._fields={s:this._fields.s,buf:this._fields.buf,w:this._fields.w},t}index(e){let t=this;return t.buf==null?Bo(t.s,e):t.buf[e]}append(e){let t=this;if(t.buf==null){if(t.w<I(t.s)&&Bo(t.s,t.w)==e){t.w++;return}t.buf=new Uint8Array(I(t.s)),R(t.buf,Ko(Ho(t.s,void 0,t.w)))}t.buf[t.w]=e,t.w++}_string(){let e=this;return e.buf==null?Ho(e.s,void 0,e.w):B(e.buf.subarray(0,e.w))}static __typeInfo=S(`lazybuf`,new e,[{name:`index`,args:[{name:`i`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`append`,args:[{name:`c`,type:{kind:`basic`,name:`number`}}],returns:[]},{name:`string`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}],e,[{name:`s`,key:`s`,type:{kind:`basic`,name:`string`}},{name:`buf`,key:`buf`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{name:`w`,key:`w`,type:{kind:`basic`,name:`number`}}])};function Nd(e){if(e==``)return`.`;let t=Bo(e,0)==47,n=I(e),r=new Nae({s:e}),i=0,a=0;for(t&&(r.append(47),i=1,a=1);i<n;)switch(!0){case Bo(e,i)==47:i++;break;case Bo(e,i)==46&&(i+1==n||Bo(e,i+1)==47):i++;break;case Bo(e,i)==46&&Bo(e,i+1)==46&&(i+2==n||Bo(e,i+2)==47):switch(i+=2,!0){case r.w>a:for(r.w--;r.w>a&&r.index(r.w)!=47;)r.w--;break;case!t:r.w>0&&r.append(47),r.append(46),r.append(46),a=r.w}break;default:for((t&&r.w!=1||!t&&r.w!=0)&&r.append(47);i<n&&Bo(e,i)!=47;i++)r.append(Bo(e,i))}return r.w==0?`.`:r._string()}function Pae(e){let t=e.lastIndexOf(`/`);return[Ho(e,void 0,t+1),Ho(e,t+1,void 0)]}function Pd(...e){let t=Mae(e),n=0;for(let e=0;e<I(t);e++){let r=t[e];n+=I(r)}if(n==0)return``;let r=[];for(let e=0;e<I(t);e++){let n=t[e];(I(r)>0||n!=``)&&(I(r)>0&&r.push(`/`),r.push(n))}return Nd(r.join(``))}function Fae(e){if(e==``)return`.`;for(;I(e)>0&&Bo(e,I(e)-1)==47;)e=Ho(e,0,I(e)-1);{let t=e.lastIndexOf(`/`);t>=0&&(e=Ho(e,t+1,void 0))}return e==``?`/`:e}sa(`GlobFS`,null,[{name:`Glob`,args:[{name:`pattern`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`string`}}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]);async function Iae(e,t){return await Lae(e,t,0)}async function Lae(e,t,n){let r=null;{if(n>1e4)return[null,Ad];{let{value:n,ok:r}=T(e,`GlobFS`);if(r)return n.Glob(t)}{let[,e]=jd(t,``);if(e!=null)return[null,e]}if(!Bae(t)){{let[,n]=await Dae(e,t);if(n!=null)return[null,null]}return[F([t]),null]}let[i,a]=Pae(t);if(i=Rae(i),!Bae(i))return await zae(e,i,a,null);if(i==t)return[null,Ad];let[o,s]=await Lae(e,i,n+1);if(s!=null)return[null,s];for(let t=0;t<I(o);t++){let n=o[t];{let[t,i]=await zae(e,n,a,r);if(r=t,i!=null)return[r,i]}}return[r,null]}}function Rae(e){switch(e){case``:return`.`;default:return Ho(e,0,I(e)-1)}}async function zae(e,t,n,r){let i=r;{let[r,a]=await kd(e,t);if(a!=null)return[i,null];for(let e=0;e<I(r);e++){let a=r[e];{let e=a.Name(),[r,o]=jd(n,e);if(o!=null)return[i,o];r&&(i=L(i,Pd(t,e)))}}return[i,null]}}function Bae(e){for(let t=0;t<I(e);t++)switch(Bo(e,t)){case 42:case 63:case 91:case 92:return!0}return!1}sa(`ReadFileFS`,null,[{name:`ReadFile`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]);function Vae(e,t){try{var n=Ni();let r=n.u(new gc);{let{value:n,ok:r}=T(e,`ReadFileFS`);if(r)return n.ReadFile(t)}let[i,a]=e.Open(t);if(a!=null)return[new Uint8Array,a];r.defer(()=>{i.Close()});let o=new Uint8Array;for(;;){if(I(o)>=_o(o)){let e=new Uint8Array(I(o)*2+1);e.set(o),o=e}let[e,t]=i.Read(o.subarray(I(o),_o(o)));if(o=o.subarray(0,I(o)+e),t!=null)return t==jl&&(t=null),[o,t]}}catch(e){n.e=e}finally{n.d()}}sa(`ReadLinkFS`,null,[{name:`ReadLink`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`string`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Lstat`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:`FileInfo`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]),sa(`SubFS`,null,[{name:`Sub`,args:[{name:`dir`,type:{kind:`basic`,name:`string`}}],returns:[{type:`FS`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]),class e{get fsys(){return this._fields.fsys}set fsys(e){this._fields.fsys=e}get dir(){return this._fields.dir}set dir(e){this._fields.dir=e}_fields;constructor(e){this._fields={fsys:e?.fsys??null,dir:e?.dir??``}}clone(){let t=new e;return t._fields={fsys:this._fields.fsys,dir:this._fields.dir},t}fullName(e,t){let n=this;return yd(t)?[Pd(n.dir,t),null]:[``,new Od({Err:bd,Op:e,Path:t})]}shorten(e){let t=this;return e==t.dir?[`.`,!0]:I(e)>=I(t.dir)+2&&Bo(e,I(t.dir))==47&&Ho(e,void 0,I(t.dir))==t.dir?[Ho(e,I(t.dir)+1,void 0),!0]:[``,!1]}fixErr(e){let t=this;{let{value:n,ok:r}=T(e,{kind:`pointer`,elemType:`PathError`});if(r){let[e,r]=t.shorten(n.Path);r&&(n.Path=e)}}return e}Open(e){let t=this,[n,r]=t.fullName(`open`,e);if(r!=null)return[null,r];let i=t.fsys.Open(n);if(i instanceof Promise)return i.then(([e,n])=>[e,t.fixErr(n)]);let[a,o]=i;return[a,t.fixErr(o)]}async ReadDir(e){let t=this,[n,r]=t.fullName(`read`,e);if(r!=null)return[null,r];let i;return[i,r]=await kd(t.fsys,n),[i,t.fixErr(r)]}ReadFile(e){let t=this,[n,r]=t.fullName(`read`,e);if(r!=null)return[new Uint8Array,r];let i;return[i,r]=Vae(t.fsys,n),[i,t.fixErr(r)]}async Glob(e){let t=this;{let[,t]=jd(e,``);if(t!=null)return[null,t]}if(e==`.`)return[F([`.`]),null];let n=t.dir+`/`+e,[r,i]=await Iae(t.fsys,n);for(let e=0;e<I(r);e++){let n=r[e];{let[i,a]=t.shorten(n);if(!a)return[null,ml(`invalid result from inner fsys Glob: `+i+` not in `+t.dir)];r[e]=i}}return[r,t.fixErr(i)]}Sub(t){let n=this;if(t==`.`)return[n,null];let[r,i]=n.fullName(`sub`,t);return i==null?[new e({fsys:n.fsys,dir:r}),null]:[null,i]}static __typeInfo=S(`subFS`,new e,[{name:`fullName`,args:[{name:`op`,type:{kind:`basic`,name:`string`}},{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`string`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`shorten`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`string`}},{type:{kind:`basic`,name:`boolean`}}]},{name:`fixErr`,args:[{name:`err`,type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Open`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:`File`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadDir`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`slice`,elemType:`DirEntry`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadFile`,args:[{name:`name`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Glob`,args:[{name:`pattern`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`string`}}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Sub`,args:[{name:`dir`,type:{kind:`basic`,name:`string`}}],returns:[{type:`FS`},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}],e,[{name:`fsys`,key:`fsys`,type:`FS`},{name:`dir`,key:`dir`,type:{kind:`basic`,name:`string`}}])};let Fd=ml(`skip this directory`),Hae=ml(`skip everything and stop the walk`);async function Uae(e,t,n,r){{let e=await r(t,n,null);if(e!=null||!n.IsDir())return e==Fd&&n.IsDir()&&(e=null),e}let[i,a]=await kd(e,t);if(a!=null&&(a=await r(t,n,a),a!=null))return a==Fd&&n.IsDir()&&(a=null),a;for(let n=0;n<I(i);n++){let a=i[n];{let n=Pd(t,a.Name());{let t=await Uae(e,n,a,r);if(t!=null){if(t==Fd)break;return t}}}}return null}async function Wae(e,t,n){let[r,i]=await Dae(e,t);return i=i==null?await Uae(e,t,kae(r),n):await n(t,null,i),i==Fd||i==Hae?null:i}let Id=bd,Ld=hae,Rd=Gae(),zd={Error:()=>`operation not implemented in JavaScript environment`};function Gae(){return{Error:()=>`i/o timeout`}}sa(`timeout`,null,[{name:`Timeout`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]}]);var Kae=class e{get Syscall(){return this._fields.Syscall}set Syscall(e){this._fields.Syscall=e}get Err(){return this._fields.Err}set Err(e){this._fields.Err=e}_fields;constructor(e){this._fields={Syscall:e?.Syscall??``,Err:e?.Err??null}}clone(){let t=new e;return t._fields={Syscall:this._fields.Syscall,Err:this._fields.Err},t}Error(){let e=this,t=e.Err.Error();return typeof t==`string`?e.Syscall+`: `+t:Promise.resolve(t).then(t=>e.Syscall+`: `+t)}Unwrap(){return this.Err}Timeout(){let{value:e,ok:t}=T(this.Err,`timeout`);return t&&e.Timeout()}static __typeInfo=S(`SyscallError`,new e,[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`Unwrap`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Timeout`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]}],e,[{name:`Syscall`,key:`Syscall`,type:{kind:`basic`,name:`string`}},{name:`Err`,key:`Err`,type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}])};function Bd(e,t){return t==null?null:new Kae({})}function qae(e){let{value:t,ok:n}=T(Jae(e),`timeout`);return n&&t.Timeout()}function Jae(e){if(e!==null&&typeof e.Unwrap==`function`){let t=e.Unwrap();if(t!==null&&typeof t?.Error==`function`)return t}return e}var Yae=class{file;constructor(e){this.file=e}Control(e){return!this.file||this.file.fd<0?Id:(e?.(this.file.fd),null)}Read(e){return!this.file||this.file.fd<0?Id:(e?.(this.file.fd),null)}Write(e){return!this.file||this.file.fd<0?Id:(e?.(this.file.fd),null)}};function Xae(e){return new Yae(e)}function Vd(e){let t=e instanceof Error?e.message:typeof e==`string`?e:String(e),n=Zae(e),r={Error:()=>t};return Object.defineProperty(r,"Is",{value:e=>n!==null&&e===n}),r}function Zae(e){let t=typeof e==`object`&&e&&`code`in e?Reflect.get(e,`code`):``;switch(t===void 0?``:String(t)){case`ENOENT`:case`ENOTDIR`:return Sd;case`EEXIST`:return mae;case`EACCES`:case`EPERM`:return xd;case`EBADF`:return Ld;case`EINVAL`:return Id;default:return null}}function Hd(){return Ja().nodeFS}function Ud(){return Ja().deno}function Wd(){return Ja().platform}function Qae(e){return Ja().getEnv(e)}function $ae(e,t){if(t.length===0)return[0,null];try{let n=Ja().readFD(e,t);return n===null||n===0?[0,jl]:[n,null]}catch(e){return e instanceof Ha?[0,zd]:[0,Vd(e)]}}function eoe(e,t){if(t.length===0)return[0,null];try{return[Ja().writeFD(e,t),null]}catch(e){return e instanceof Ha?[0,zd]:[0,Vd(e)]}}function toe(e,t){if(typeof e.readSync!=`function`)return[0,zd];try{let n=e.readSync(t);return n===null||n===0?[0,jl]:[n,null]}catch(e){return[0,Vd(e)]}}function noe(e,t){if(typeof e.writeSync!=`function`)return[0,zd];try{let n=0;for(;n<t.length;){let r=e.writeSync(t.subarray(n));if(!Number.isFinite(r)||r<0)throw Error(`invalid write result: ${r}`);if(r===0)throw Error(`short write`);n+=r}return[t.length,null]}catch(e){return[0,Vd(e)]}}var roe=class{name;modTime;mode;size;sys;constructor(e){this.name=e?.name??``,this.modTime=e?.modTime??Jc(0n,0n),this.mode=e?.mode??0,this.size=e?.size??0,this.sys=e?.sys??null}IsDir(){return Cd(this.mode)}ModTime(){return this.modTime}Mode(){return this.mode}Name(){return this.name}Size(){return BigInt(this.size)}Sys(){return this.sys}};function Gd(e,t){let n=e.replace(/\\/g,`/`).split(`/`).filter(e=>e!==``).slice(-1)[0]??e,r=(t.mode??0)&511;t.isDirectory()&&(r|=Ed),t.isSymbolicLink?.()&&(r|=Sae);let i=0;return typeof t.mtimeMs==`number`?i=t.mtimeMs:t.mtime instanceof Date&&(i=t.mtime.getTime()),new roe({modTime:Ere(BigInt(Math.trunc(i))),mode:r,name:n,size:Math.trunc(t.size??0),sys:t})}function ioe(e,t){return e===``||e===`.`?t:e.replace(/\/+$/,``)+`/`+t}function aoe(e){let t=Ud();if(t?.readDirSync)try{let n=[];for(let r of t.readDirSync(e))n.push(Gd(r.name,{isDirectory:()=>r.isDirectory,isSymbolicLink:()=>r.isSymlink,mode:0,size:0}));return[n,null]}catch(e){return[null,Vd(e)]}let n=Hd();if(n?.readdirSync)try{return[n.readdirSync(e,{withFileTypes:!0}).map(t=>{let r=String(t.name),i=ioe(e,r);if(n.lstatSync)try{return Gd(r,n.lstatSync(i))}catch{}return Gd(r,{isDirectory:()=>typeof t.isDirectory==`function`&&t.isDirectory(),isSymbolicLink:()=>typeof t.isSymbolicLink==`function`&&t.isSymbolicLink(),mode:0,size:0})}),null]}catch(e){return[null,Vd(e)]}return[null,zd]}function ooe(e,t,n){if(n<=0)return[F(e.slice(t)),e.length,null];if(t>=e.length)return[null,t,jl];let r=Math.min(e.length,t+n);return[F(e.slice(t,r)),r,null]}function Kd(e,t=-1,n=null){return new qd({fd:t,file:new coe({handle:n??Ja().getStdioHandle(t),path:e}),name:e})}function soe(){return 4096}var qd=class e{get file(){return this._fields.file}set file(e){this._fields.file=e}name;closed;fd;dirEntryOffset;dirInfoOffset;cachedDirEntries;cachedDirInfos;_fields;constructor(e){this.name=e?.name??``,this.closed=e?.closed??!1,this.fd=e?.fd??-1,this.dirEntryOffset=0,this.dirInfoOffset=0,this.cachedDirEntries=null,this.cachedDirInfos=null,this._fields={file:e?.file??null}}clone(){return new e({closed:this.closed,fd:this.fd,file:this.file,name:this.name})}Readdir(e){if(this.closed)return[null,Ld];if(this.cachedDirInfos===null){let[e,t]=aoe(this.name);if(t!==null)return[null,t];this.cachedDirInfos=e??[],this.dirInfoOffset=0}let[t,n,r]=ooe(this.cachedDirInfos,this.dirInfoOffset,e);return this.dirInfoOffset=n,[t,r]}Readdirnames(e){let[t,n]=this.Readdir(e);return n===null?[F((t??[]).map(e=>e.Name())),null]:[null,n]}ReadDir(e){if(this.closed)return[null,Ld];if(this.cachedDirEntries===null){let[e,t]=aoe(this.name);if(t!==null)return[null,t];this.cachedDirEntries=(e??[]).map(e=>kae(e)).filter(e=>e!==null),this.dirEntryOffset=0}let[t,n,r]=ooe(this.cachedDirEntries,this.dirEntryOffset,e);return this.dirEntryOffset=n,[t,r]}readdir(e,t){if(t===loe){let[t,n]=this.Readdirnames(e);return[t,null,null,n]}if(t===uoe){let[t,n]=this.ReadDir(e);return[null,t,null,n]}let[n,r]=this.Readdir(e);return[null,null,n,r]}Name(){return this.name}Read(e){if(this.closed)return[0,Ld];if(this.fd<0)return[0,Id];if(e===null)return[0,null];let t=Us(e),n=this.file?.handle,[r,i]=n&&typeof n.readSync==`function`?toe(n,t):$ae(this.fd,t);return!(e instanceof Uint8Array)&&r>0&&R(e,t.subarray(0,r)),[r,i]}ReadAt(e,t){if(this.closed)return[0,Ld];if(t<0n)return[0,Id];if(e===null)return[0,null];let n=Us(e),r=Number(t),i=this.file?.handle;if(i&&typeof i.seekSync==`function`)try{return i.seekSync(r,0),this.Read(e)}catch(e){return[0,Vd(e)]}if(this.fd<0)return[0,Id];let a=Hd();if(a?.readSync&&this.fd>=0)try{let t=a.readSync(this.fd,n,0,n.length,r);return!(e instanceof Uint8Array)&&t>0&&R(e,n.subarray(0,t)),t===0?[0,jl]:[t,null]}catch(e){return[0,Vd(e)]}return[0,zd]}async ReadFrom(e){if(this.closed)return[0n,Ld];let t=N(32768,void 0,`byte`),n=0;for(;;){let[r,i]=await e.Read(t);if(r>0){let[e,i]=this.Write(P(t,0,r));if(e<0||r<e)return[BigInt(n),i??Fl];if(n+=e,i!==null)return[BigInt(n),i];if(r!==e)return[BigInt(n),Fl]}if(i!==null)return i===jl?[BigInt(n),null]:[BigInt(n),i]}}Write(e){if(this.closed)return[0,Ld];if(this.fd<0)return[0,Id];if(e===null)return[0,null];let t=Us(e),n=this.file?.handle;return n&&typeof n.writeSync==`function`?noe(n,t):eoe(this.fd,t)}WriteAt(e,t){if(this.closed)return[0,Ld];if(t<0n)return[0,Id];if(e===null)return[0,null];let n=Us(e),r=Number(t),i=this.file?.handle;if(i&&typeof i.seekSync==`function`)try{return i.seekSync(r,0),this.Write(e)}catch(e){return[0,Vd(e)]}if(this.fd<0)return[0,Id];let a=Hd();if(a?.writeSync&&this.fd>=0)try{return[a.writeSync(this.fd,n,0,n.length,r),null]}catch(e){return[0,Vd(e)]}return[0,zd]}async WriteTo(e){if(this.closed)return[0n,Ld];let t=N(32768,void 0,`byte`),n=0;for(;;){let[r,i]=this.Read(t);if(r>0){let[i,a]=await e.Write(P(t,0,r));if(i<0||r<i)return[BigInt(n),a??Fl];if(n+=i,a!==null)return[BigInt(n),a];if(r!==i)return[BigInt(n),Fl]}if(i!==null)return i===jl?[BigInt(n),null]:[BigInt(n),i]}}Seek(e,t){let n=this.file?.handle;if(!n||typeof n.seekSync!=`function`)return[0n,zd];try{return[BigInt(n.seekSync(Number(e),t)),null]}catch(e){return[0n,Vd(e)]}}WriteString(e){return this.Write(Ko(e))}Chmod(e){if(this.closed)return Ld;if(this.name===``)return zd;let t=Ud();if(t?.chmodSync)try{return t.chmodSync(this.name,e),null}catch(e){return Vd(e)}let n=Hd();if(n?.chmodSync)try{return n.chmodSync(this.name,e),null}catch(e){return Vd(e)}return zd}SetDeadline(e){return zd}SetReadDeadline(e){return zd}SetWriteDeadline(e){return zd}SyscallConn(){return this.closed?[null,Ld]:this.fd<0?[null,Id]:[Xae(this),null]}Close(){if(this.closed)return Ld;let e=this.file?.handle;if(e&&typeof e.close==`function`)try{e.close()}catch(e){return Vd(e)}else if(this.fd>2){let e=Hd();if(e?.closeSync)try{e.closeSync(this.fd)}catch(e){return Vd(e)}}return this.closed=!0,null}Chown(e,t){if(this.closed)return Ld;if(this.name===``)return zd;let n=Ud();if(n?.chownSync)try{return n.chownSync(this.name,e,t),null}catch(e){return Vd(e)}let r=Hd();if(r?.chownSync)try{return r.chownSync(this.name,e,t),null}catch(e){return Vd(e)}return zd}Truncate(e){let t=this.file?.handle;if(t&&typeof t.truncateSync==`function`)try{return t.truncateSync(Number(e)),null}catch(e){return Vd(e)}let n=Hd();if(n?.ftruncateSync&&this.fd>=0)try{return n.ftruncateSync(this.fd,Number(e)),null}catch(e){return Vd(e)}return zd}Sync(){let e=this.file?.handle;if(e&&typeof e.syncSync==`function`)try{return e.syncSync(),null}catch(e){return Vd(e)}let t=Hd();if(t?.fsyncSync&&this.fd>=0)try{return t.fsyncSync(this.fd),null}catch(e){return Vd(e)}return zd}Chdir(){let e=globalThis.process;if(e?.chdir&&this.name!==``)try{return e.chdir(this.name),null}catch(e){return Vd(e)}let t=Ud();if(t?.chdir&&this.name!==``)try{return t.chdir(this.name),null}catch(e){return Vd(e)}return zd}Fd(){return this.fd}Stat(){let e=this.file?.handle;if(e&&typeof e.statSync==`function`)try{return[Gd(this.name,e.statSync()),null]}catch(e){return[null,Vd(e)]}let t=Hd();if(t?.fstatSync&&this.fd>=0)try{return[Gd(this.name,t.fstatSync(this.fd)),null]}catch(e){return[null,Vd(e)]}return[null,zd]}checkValid(e){return this.closed?Ld:this.fd<0?Id:null}wrapErr(e,t){return t}static __typeInfo=S(`File`,new e,[{name:`Readdir`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`slice`,elemType:`FileInfo`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Read`,args:[{name:`b`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Close`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}],e,[{name:`file`,key:`file`,type:{kind:`pointer`,elemType:`file`}},{name:`name`,key:`name`,type:{kind:`basic`,name:`string`}},{name:`closed`,key:`closed`,type:{kind:`basic`,name:`boolean`}},{name:`fd`,key:`fd`,type:{kind:`basic`,name:`number`}}])},coe=class{handle;path;constructor(e){this.handle=e?.handle??null,this.path=e?.path??``}};const loe=0,uoe=1;var Jd=class e{Port=0;Addr=new Uint8Array(4);constructor(e){e&&Object.assign(this,e)}clone(){return new e({Port:this.Port,Addr:new Uint8Array(this.Addr)})}},Yd=class e{Port=0;ZoneId=0;Addr=new Uint8Array(16);constructor(e){e&&Object.assign(this,e)}clone(){return new e({Port:this.Port,ZoneId:this.ZoneId,Addr:new Uint8Array(this.Addr)})}},Xd=class e{Name=``;constructor(e){e&&Object.assign(this,e)}clone(){return new e({Name:this.Name})}};function doe(){return globalThis.process?.env}function foe(e){let t=doe();if(t!==void 0){let n=t[e];return n===void 0?[``,!1]:[n,!0]}return[``,!1]}function Zd(e){return typeof e==`number`?`errno ${e}`:e.Error()}const poe={Error:()=>`operation not permitted`,Is:e=>e===poe,Errno:()=>1},Qd={Error:()=>`interrupted system call`,Is:e=>e===Qd,Errno:()=>4},$d={Error:()=>`try again`,Is:e=>e===$d,Errno:()=>11},moe={Error:()=>`permission denied`,Is:e=>e===moe,Errno:()=>13},ef={Error:()=>`invalid argument`,Is:e=>e===ef,Errno:()=>22},tf={Error:()=>`function not implemented`,Is:e=>e===tf,Errno:()=>38},nf={Error:()=>`operation not supported`,Is:e=>e===nf,Errno:()=>95},hoe={Error:()=>`message too long`,Is:e=>e===hoe,Errno:()=>90},goe={Error:()=>`protocol wrong type for socket`,Is:e=>e===goe,Errno:()=>91},rf={Error:()=>`protocol not available`,Is:e=>e===rf,Errno:()=>92},_oe={Error:()=>`unknown protocol`,Is:e=>e===_oe,Errno:()=>93},af={Error:()=>`address family not supported by protocol family`,Is:e=>e===af,Errno:()=>97},of={Error:()=>`address already in use`,Is:e=>e===of,Errno:()=>98},voe={Error:()=>`address not available`,Is:e=>e===voe,Errno:()=>99},yoe={Error:()=>`connection aborted`,Is:e=>e===yoe,Errno:()=>103},sf={Error:()=>`connection reset by peer`,Is:e=>e===sf,Errno:()=>104},boe={Error:()=>`no buffer space available`,Is:e=>e===boe,Errno:()=>105},cf={Error:()=>`socket is already connected`,Is:e=>e===cf,Errno:()=>106},lf={Error:()=>`socket is not connected`,Is:e=>e===lf,Errno:()=>107},uf={Error:()=>`connection timed out`,Is:e=>e===uf,Errno:()=>110},df={Error:()=>`connection refused`,Is:e=>e===df,Errno:()=>111},xoe=new xl;function Soe(e){return null}function Coe(e,t){return null}function woe(e){return tf}function Toe(e,t){return tf}function Eoe(e,t,n){return tf}function Doe(e,t){return tf}function Ooe(e){return tf}function koe(e,t){return tf}function Aoe(e,t){return[0,tf]}function joe(e,t){return[0,tf]}function Moe(e,t,n){return[0,tf]}function Noe(e,t,n){return[0,tf]}function Poe(e,t,n){return[0n,tf]}function Foe(e,t){return[0,tf]}function Ioe(e){return[0,tf]}function Loe(e){return[0,null,tf]}function Roe(e,t,n){return[0,null,tf]}function zoe(e,t,n,r){return tf}function Boe(e,t,n,r){return[0,0,0,null,tf]}function Voe(e,t,n,r,i){return[0,tf]}function Hoe(e,t){return tf}function ff(e){let[t]=foe(e);return t}function Uoe(e){return foe(e)}ml(`os: process already finished`),ml(`os: process handle unavailable`),class e{get Pid(){return this._fields.Pid}set Pid(e){this._fields.Pid=e}_fields;constructor(e){this._fields={Pid:e?.Pid??-1}}clone(){let t=new e;return t._fields={Pid:this._fields.Pid},t}Release(){return zd}Kill(){return zd}Wait(){return[null,zd]}Signal(e){return zd}static __typeInfo=S(`Process`,new e,[{name:`Release`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Kill`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Wait`,args:[],returns:[{type:{kind:`pointer`,elemType:`ProcessState`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Signal`,args:[{name:`sig`,type:`Signal`}],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}],e,[{name:`Pid`,key:`Pid`,type:{kind:`basic`,name:`number`}}])},class e{get Dir(){return this._fields.Dir}set Dir(e){this._fields.Dir=e}get Env(){return this._fields.Env}set Env(e){this._fields.Env=e}get Files(){return this._fields.Files}set Files(e){this._fields.Files=e}get Sys(){return this._fields.Sys}set Sys(e){this._fields.Sys=e}_fields;constructor(e){this._fields={Dir:e?.Dir??``,Env:e?.Env??null,Files:e?.Files??null,Sys:e?.Sys??null}}clone(){let t=new e;return t._fields={Dir:this._fields.Dir,Env:this._fields.Env,Files:this._fields.Files,Sys:this._fields.Sys},t}static __typeInfo=S(`ProcAttr`,new e,[],e,[{name:`Dir`,key:`Dir`,type:{kind:`basic`,name:`string`}},{name:`Env`,key:`Env`,type:{kind:`slice`,elemType:{kind:`basic`,name:`string`}}},{name:`Files`,key:`Files`,type:{kind:`slice`,elemType:{kind:`basic`,name:`any`}}},{name:`Sys`,key:`Sys`,type:{kind:`basic`,name:`any`}}])},class e{_fields;constructor(){this._fields={}}clone(){return new e}static __typeInfo=S(`ProcessState`,new e,[],e,[])},class e{get pid(){return this._fields.pid}set pid(e){this._fields.pid=e}_fields;constructor(e){this._fields={pid:e?.pid??-1}}clone(){let t=new e;return t._fields={pid:this._fields.pid},t}UserTime(){return 0}SystemTime(){return 0}Exited(){return!1}Success(){return!1}Sys(){return null}SysUsage(){return null}Pid(){return this.pid}String(){return`exit status ${this.pid}`}ExitCode(){return-1}static __typeInfo=S(`ProcessState`,new e,[{name:`UserTime`,args:[],returns:[{type:{kind:`basic`,name:`any`}}]},{name:`SystemTime`,args:[],returns:[{type:{kind:`basic`,name:`any`}}]},{name:`Exited`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Success`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Sys`,args:[],returns:[{type:{kind:`basic`,name:`any`}}]},{name:`SysUsage`,args:[],returns:[{type:{kind:`basic`,name:`any`}}]},{name:`Pid`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`String`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`ExitCode`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]}],e,[{name:`pid`,key:`pid`,type:{kind:`basic`,name:`number`}}])};function Woe(e){for(let t of e){let e=Qae(t);if(e!==``)return e}return``}function Goe(){let e=Woe([`TMPDIR`,`TEMP`,`TMP`]);return e===``?Wd()===`win32`?`.`:`/tmp`:e}function Koe(){let e=Woe(Wd()===`win32`?[`USERPROFILE`,`HOMEDRIVE`,`HOME`]:[`HOME`]);return e===``?[``,zd]:[e,null]}function qoe(){return Wd()===`win32`?`NUL`:`/dev/null`}function Joe(e){let t=!!(e&2),n=!t&&!!(e&1),r=t||n,i=t||!n;return{append:!!(e&1024),create:!!(e&64),createNew:!!(e&64)&&!!(e&128),read:i,truncate:!!(e&512),write:r}}qoe(),mf(0,`/dev/stdin`),mf(1,`/dev/stdout`);const pf=mf(2,`/dev/stderr`);function mf(e,t){return!Number.isInteger(e)||e<0?null:Kd(t,e)}function hf(e){let t=Ud();if(t?.removeSync)try{return t.removeSync(e),null}catch(e){return Vd(e)}let n=Hd();if(n?.rmSync)try{return n.rmSync(e),null}catch(e){return Vd(e)}if(n?.unlinkSync)try{return n.unlinkSync(e),null}catch(e){return Vd(e)}return zd}function Yoe(e,t,n){let r=Ud();if(r?.openSync)try{let i=r.openSync(e,{...Joe(t),mode:n});return[Kd(e,i?.rid??-1,i),null]}catch(e){return[null,Vd(e)]}let i=Hd();if(i?.openSync)try{return[Kd(e,i.openSync(e,t,n)),null]}catch(e){return[null,Vd(e)]}return[null,zd]}function gf(e){let t=Ud();if(t?.statSync)try{return[Gd(e,t.statSync(e)),null]}catch(e){return[null,Vd(e)]}let n=Hd();if(n?.statSync)try{return[Gd(e,n.statSync(e)),null]}catch(e){return[null,Vd(e)]}return[null,zd]}function Xoe(e){let t=Ud();if(t?.lstatSync)try{return[Gd(e,t.lstatSync(e)),null]}catch(e){return[null,Vd(e)]}let n=Hd();if(n?.lstatSync)try{return[Gd(e,n.lstatSync(e)),null]}catch(e){return[null,Vd(e)]}return gf(e)}function _f(e){return vf(e,0,0)}function Zoe(e){return vf(e,578,438)}function vf(e,t,n){return Yoe(e,t,n)}function Qoe(e,t){let n=Ud();if(n?.mkdirSync)try{return n.mkdirSync(e,{mode:t}),null}catch(e){return Vd(e)}let r=Hd();if(r?.mkdirSync)try{return r.mkdirSync(e,{mode:t}),null}catch(e){return Vd(e)}return zd}function $oe(e,t){let n=Ud();if(n?.mkdirSync)try{return n.mkdirSync(e,{mode:t,recursive:!0}),null}catch(e){return Vd(e)}let r=Hd();if(r?.mkdirSync)try{return r.mkdirSync(e,{mode:t,recursive:!0}),null}catch(e){return Vd(e)}return zd}function ese(e){return hf(e)}function yf(e){return e==47}var tse=class extends Error{__goscriptExitCode;constructor(e){super(`process exited with status `+String(e)),this.name=`ProcessExitError`,this.__goscriptExitCode=e}};function nse(){return-1}function rse(){return-1}function bf(e){let t=globalThis.process;throw t?.exit!==void 0&&t.exit(e),new tse(e)}function ise(e){return e===`.`||yd(e)}function xf(e,t){return ise(t)?t===`.`?[e,null]:[e.replace(/\/+$/,``)+`/`+t,null]:[``,Id]}function ase(e,t){let[n,r]=xf(e,t);return r===null?_f(n):[null,r]}var ose=class e{name;constructor(e){this.name=e?.name??`.`}Name(){return this.name}Close(){return null}Open(e){return ase(this.name,e)}Create(e){let[t,n]=xf(this.name,e);return n===null?Zoe(t):[null,n]}OpenFile(e,t,n){let[r,i]=xf(this.name,e);return i===null?vf(r,t,n):[null,i]}OpenRoot(e){let[t,n]=xf(this.name,e);return n===null?sse(t):[null,n]}Mkdir(e,t){let[n,r]=xf(this.name,e);return r===null?Qoe(n,t):r}Remove(e){let[t,n]=xf(this.name,e);return n===null?ese(t):n}Stat(e){let[t,n]=xf(this.name,e);return n===null?gf(t):[null,n]}Lstat(e){let[t,n]=xf(this.name,e);return n===null?Xoe(t):[null,n]}FS(){return new cse({root:this})}static __typeInfo=S(`Root`,new e,[{name:`Name`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`Close`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}],e,[{name:`name`,key:`name`,type:{kind:`basic`,name:`string`}}])};function sse(e){let[t,n]=gf(e);return n===null?t?.IsDir()?[new ose({name:e}),null]:[null,Id]:[null,n]}var cse=class{root;constructor(e){this.root=e?.root??new ose}Open(e){return this.root.Open(e)}};function lse(){return[`goscript`,null]}function use(){return lse()}function dse(e,t){return e===``||e===`.`?t:t===``?e:(e.endsWith(`/`)&&(e=e.slice(0,-1)),t.startsWith(`/`)&&(t=t.slice(1)),e+`/`+t)}function fse(e,t){let n=e===``?Goe():e,[r,i]=pse();if(i!==null)return[``,i];let a=t.lastIndexOf(`*`);return[dse(n,a>=0?t.slice(0,a)+r+t.slice(a+1):t+r),null]}function pse(){let e=globalThis.crypto;if(!e||typeof e.getRandomValues!=`function`)return[``,zd];let t=new Uint8Array(4);return e.getRandomValues(t),[((t[0]|t[1]<<8|t[2]<<16|t[3]<<24)>>>0).toString(10),null]}function mse(e){let t=Ud();if(t?.openSync)try{let n=t.openSync(e,{createNew:!0,mode:384,read:!0,write:!0});return[Kd(e,n?.rid??-1,n),null]}catch(e){return[null,Vd(e)]}let n=Hd();if(n?.openSync)try{return[Kd(e,n.openSync(e,`wx+`,384)),null]}catch(e){return[null,Vd(e)]}return[null,zd]}function hse(e,t){let n=t===``?`tmp-*`:t,r=zd;for(let t=0;t<16;t++){let[t,i]=fse(e,n);if(i!==null)return[null,i];let[a,o]=mse(t);if(o===null)return[a,null];r=o}return[null,r]}const gse={C:[[[0,31,1],[127,159,1],[173,888,715],[889,896,7],[897,899,1],[907,909,2],[930,1328,398],[1367,1368,1],[1419,1420,1],[1424,1480,56],[1481,1487,1],[1515,1518,1],[1525,1541,1],[1564,1757,193],[1806,1807,1],[1867,1868,1],[1970,1983,1],[2043,2044,1],[2094,2095,1],[2111,2140,29],[2141,2143,2],[2155,2159,1],[2191,2199,1],[2274,2436,162],[2445,2446,1],[2449,2450,1],[2473,2481,8],[2483,2485,1],[2490,2491,1],[2501,2502,1],[2505,2506,1],[2511,2518,1],[2520,2523,1],[2526,2532,6],[2533,2559,26],[2560,2564,4],[2571,2574,1],[2577,2578,1],[2601,2609,8],[2612,2618,3],[2619,2621,2],[2627,2630,1],[2633,2634,1],[2638,2640,1],[2642,2648,1],[2653,2655,2],[2656,2661,1],[2679,2688,1],[2692,2702,10],[2706,2729,23],[2737,2740,3],[2746,2747,1],[2758,2766,4],[2767,2769,2],[2770,2783,1],[2788,2789,1],[2802,2808,1],[2816,2820,4],[2829,2830,1],[2833,2834,1],[2857,2865,8],[2868,2874,6],[2875,2885,10],[2886,2889,3],[2890,2894,4],[2895,2900,1],[2904,2907,1],[2910,2916,6],[2917,2936,19],[2937,2945,1],[2948,2955,7],[2956,2957,1],[2961,2966,5],[2967,2968,1],[2971,2973,2],[2976,2978,1],[2981,2983,1],[2987,2989,1],[3002,3005,1],[3011,3013,1],[3017,3022,5],[3023,3025,2],[3026,3030,1],[3032,3045,1],[3067,3071,1],[3085,3089,4],[3113,3130,17],[3131,3141,10],[3145,3150,5],[3151,3156,1],[3159,3163,4],[3164,3166,2],[3167,3172,5],[3173,3184,11],[3185,3190,1],[3213,3217,4],[3241,3252,11],[3258,3259,1],[3269,3273,4],[3278,3284,1],[3287,3292,1],[3295,3300,5],[3301,3312,11],[3316,3327,1],[3341,3345,4],[3397,3401,4],[3408,3411,1],[3428,3429,1],[3456,3460,4],[3479,3481,1],[3506,3516,10],[3518,3519,1],[3527,3529,1],[3531,3534,1],[3541,3543,2],[3552,3557,1],[3568,3569,1],[3573,3584,1],[3643,3646,1],[3676,3712,1],[3715,3717,2],[3723,3748,25],[3750,3774,24],[3775,3781,6],[3783,3791,8],[3802,3803,1],[3808,3839,1],[3912,3949,37],[3950,3952,1],[3992,4029,37],[4045,4059,14],[4060,4095,1],[4294,4296,2],[4297,4300,1],[4302,4303,1],[4681,4686,5],[4687,4695,8],[4697,4702,5],[4703,4745,42],[4750,4751,1],[4785,4790,5],[4791,4799,8],[4801,4806,5],[4807,4823,16],[4881,4886,5],[4887,4955,68],[4956,4989,33],[4990,4991,1],[5018,5023,1],[5110,5111,1],[5118,5119,1],[5789,5791,1],[5881,5887,1],[5910,5918,1],[5943,5951,1],[5972,5983,1],[5997,6001,4],[6004,6015,1],[6110,6111,1],[6122,6127,1],[6138,6143,1],[6158,6170,12],[6171,6175,1],[6265,6271,1],[6315,6319,1],[6390,6399,1],[6431,6444,13],[6445,6447,1],[6460,6463,1],[6465,6467,1],[6510,6511,1],[6517,6527,1],[6572,6575,1],[6602,6607,1],[6619,6621,1],[6684,6685,1],[6751,6781,30],[6782,6794,12],[6795,6799,1],[6810,6815,1],[6830,6831,1],[6863,6911,1],[6989,6991,1],[7039,7156,117],[7157,7163,1],[7224,7226,1],[7242,7244,1],[7305,7311,1],[7355,7356,1],[7368,7375,1],[7419,7423,1],[7958,7959,1],[7966,7967,1],[8006,8007,1],[8014,8015,1],[8024,8030,2],[8062,8063,1],[8117,8133,16],[8148,8149,1],[8156,8176,20],[8177,8181,4],[8191,8203,12],[8204,8207,1],[8234,8238,1],[8288,8303,1],[8306,8307,1],[8335,8349,14],[8350,8351,1],[8385,8399,1],[8433,8447,1],[8588,8591,1],[9255,9279,1],[9291,9311,1],[11124,11125,1],[11158,11508,350],[11509,11512,1],[11558,11560,2],[11561,11564,1],[11566,11567,1],[11624,11630,1],[11633,11646,1],[11671,11679,1],[11687,11743,8],[11870,11903,1],[11930,12020,90],[12021,12031,1],[12246,12271,1],[12284,12287,1],[12352,12439,87],[12440,12544,104],[12545,12548,1],[12592,12687,95],[12772,12783,1],[12831,42125,29294],[42126,42127,1],[42183,42191,1],[42540,42559,1],[42744,42751,1],[42955,42959,1],[42962,42964,2],[42970,42993,1],[43053,43055,1],[43066,43071,1],[43128,43135,1],[43206,43213,1],[43226,43231,1],[43348,43358,1],[43389,43391,1],[43470,43482,12],[43483,43485,1],[43519,43575,56],[43576,43583,1],[43598,43599,1],[43610,43611,1],[43715,43738,1],[43767,43776,1],[43783,43784,1],[43791,43792,1],[43799,43807,1],[43815,43823,8],[43884,43887,1],[44014,44015,1],[44026,44031,1],[55204,55215,1],[55239,55242,1],[55292,63743,1],[64110,64111,1],[64218,64255,1],[64263,64274,1],[64280,64284,1],[64311,64317,6],[64319,64325,3],[64451,64466,1],[64912,64913,1],[64968,64974,1],[64976,65007,1],[65050,65055,1],[65107,65127,20],[65132,65135,1],[65141,65277,136],[65278,65280,1],[65471,65473,1],[65480,65481,1],[65488,65489,1],[65496,65497,1],[65501,65503,1],[65511,65519,8],[65520,65531,1],[65534,65535,1]],[[65548,65575,27],[65595,65598,3],[65614,65615,1],[65630,65663,1],[65787,65791,1],[65795,65798,1],[65844,65846,1],[65935,65949,14],[65950,65951,1],[65953,65999,1],[66046,66175,1],[66205,66207,1],[66257,66271,1],[66300,66303,1],[66340,66348,1],[66379,66383,1],[66427,66431,1],[66462,66500,38],[66501,66503,1],[66518,66559,1],[66718,66719,1],[66730,66735,1],[66772,66775,1],[66812,66815,1],[66856,66863,1],[66916,66926,1],[66939,66955,16],[66963,66966,3],[66978,66994,16],[67002,67005,3],[67006,67071,1],[67383,67391,1],[67414,67423,1],[67432,67455,1],[67462,67505,43],[67515,67583,1],[67590,67591,1],[67593,67638,45],[67641,67643,1],[67645,67646,1],[67670,67743,73],[67744,67750,1],[67760,67807,1],[67827,67830,3],[67831,67834,1],[67868,67870,1],[67898,67902,1],[67904,67967,1],[68024,68027,1],[68048,68049,1],[68100,68103,3],[68104,68107,1],[68116,68120,4],[68150,68151,1],[68155,68158,1],[68169,68175,1],[68185,68191,1],[68256,68287,1],[68327,68330,1],[68343,68351,1],[68406,68408,1],[68438,68439,1],[68467,68471,1],[68498,68504,1],[68509,68520,1],[68528,68607,1],[68681,68735,1],[68787,68799,1],[68851,68857,1],[68904,68911,1],[68922,69215,1],[69247,69290,43],[69294,69295,1],[69298,69372,1],[69416,69423,1],[69466,69487,1],[69514,69551,1],[69580,69599,1],[69623,69631,1],[69710,69713,1],[69750,69758,1],[69821,69827,6],[69828,69839,1],[69865,69871,1],[69882,69887,1],[69941,69960,19],[69961,69967,1],[70007,70015,1],[70112,70133,21],[70134,70143,1],[70162,70210,48],[70211,70271,1],[70279,70281,2],[70286,70302,16],[70314,70319,1],[70379,70383,1],[70394,70399,1],[70404,70413,9],[70414,70417,3],[70418,70441,23],[70449,70452,3],[70458,70469,11],[70470,70473,3],[70474,70478,4],[70479,70481,2],[70482,70486,1],[70488,70492,1],[70500,70501,1],[70509,70511,1],[70517,70655,1],[70748,70754,6],[70755,70783,1],[70856,70863,1],[70874,71039,1],[71094,71095,1],[71134,71167,1],[71237,71247,1],[71258,71263,1],[71277,71295,1],[71354,71359,1],[71370,71423,1],[71451,71452,1],[71468,71471,1],[71495,71679,1],[71740,71839,1],[71923,71934,1],[71943,71944,1],[71946,71947,1],[71956,71959,3],[71990,71993,3],[71994,72007,13],[72008,72015,1],[72026,72095,1],[72104,72105,1],[72152,72153,1],[72165,72191,1],[72264,72271,1],[72355,72367,1],[72441,72447,1],[72458,72703,1],[72713,72759,46],[72774,72783,1],[72813,72815,1],[72848,72849,1],[72872,72887,15],[72888,72959,1],[72967,72970,3],[73015,73017,1],[73019,73022,3],[73032,73039,1],[73050,73055,1],[73062,73065,3],[73103,73106,3],[73113,73119,1],[73130,73439,1],[73465,73471,1],[73489,73531,42],[73532,73533,1],[73562,73647,1],[73649,73663,1],[73714,73726,1],[74650,74751,1],[74863,74869,6],[74870,74879,1],[75076,77711,1],[77811,77823,1],[78896,78911,1],[78934,82943,1],[83527,92159,1],[92729,92735,1],[92767,92778,11],[92779,92781,1],[92863,92874,11],[92875,92879,1],[92910,92911,1],[92918,92927,1],[92998,93007,1],[93018,93026,8],[93048,93052,1],[93072,93759,1],[93851,93951,1],[94027,94030,1],[94088,94094,1],[94112,94175,1],[94181,94191,1],[94194,94207,1],[100344,100351,1],[101590,101631,1],[101641,110575,1],[110580,110588,8],[110591,110883,292],[110884,110897,1],[110899,110927,1],[110931,110932,1],[110934,110947,1],[110952,110959,1],[111356,113663,1],[113771,113775,1],[113789,113791,1],[113801,113807,1],[113818,113819,1],[113824,118527,1],[118574,118575,1],[118599,118607,1],[118724,118783,1],[119030,119039,1],[119079,119080,1],[119155,119162,1],[119275,119295,1],[119366,119487,1],[119508,119519,1],[119540,119551,1],[119639,119647,1],[119673,119807,1],[119893,119965,72],[119968,119969,1],[119971,119972,1],[119975,119976,1],[119981,119994,13],[119996,120004,8],[120070,120075,5],[120076,120085,9],[120093,120122,29],[120127,120133,6],[120135,120137,1],[120145,120486,341],[120487,120780,293],[120781,121484,703],[121485,121498,1],[121504,121520,16],[121521,122623,1],[122655,122660,1],[122667,122879,1],[122887,122905,18],[122906,122914,8],[122917,122923,6],[122924,122927,1],[122990,123022,1],[123024,123135,1],[123181,123183,1],[123198,123199,1],[123210,123213,1],[123216,123535,1],[123567,123583,1],[123642,123646,1],[123648,124111,1],[124154,124895,1],[124903,124908,5],[124911,124927,16],[125125,125126,1],[125143,125183,1],[125260,125263,1],[125274,125277,1],[125280,126064,1],[126133,126208,1],[126270,126463,1],[126468,126496,28],[126499,126501,2],[126502,126504,2],[126515,126520,5],[126522,126524,2],[126525,126529,1],[126531,126534,1],[126536,126540,2],[126544,126547,3],[126549,126550,1],[126552,126560,2],[126563,126565,2],[126566,126571,5],[126579,126589,5],[126591,126602,11],[126620,126624,1],[126628,126634,6],[126652,126703,1],[126706,126975,1],[127020,127023,1],[127124,127135,1],[127151,127152,1],[127168,127184,16],[127222,127231,1],[127406,127461,1],[127491,127503,1],[127548,127551,1],[127561,127567,1],[127570,127583,1],[127590,127743,1],[128728,128731,1],[128749,128751,1],[128765,128767,1],[128887,128890,1],[128986,128991,1],[129004,129007,1],[129009,129023,1],[129036,129039,1],[129096,129103,1],[129114,129119,1],[129160,129167,1],[129198,129199,1],[129202,129279,1],[129620,129631,1],[129646,129647,1],[129661,129663,1],[129673,129679,1],[129726,129734,8],[129735,129741,1],[129756,129759,1],[129769,129775,1],[129785,129791,1],[129939,129995,56],[129996,130031,1],[130042,131071,1],[173792,173823,1],[177978,177983,1],[178206,178207,1],[183970,183983,1],[191457,194559,1],[195102,196607,1],[201547,201551,1],[205744,917759,1],[918e3,1114111,1]],2],Cc:[[[0,31,1],[127,159,1]],[],2],Cf:[[[173,1536,1363],[1537,1541,1],[1564,1757,193],[1807,2192,385],[2193,2274,81],[6158,8203,2045],[8204,8207,1],[8234,8238,1],[8288,8292,1],[8294,8303,1],[65279,65529,250],[65530,65531,1]],[[69821,69837,16],[78896,78911,1],[113824,113827,1],[119155,119162,1],[917505,917536,31],[917537,917631,1]],0],Cn:[[[888,889,1],[896,899,1],[907,909,2],[930,1328,398],[1367,1368,1],[1419,1420,1],[1424,1480,56],[1481,1487,1],[1515,1518,1],[1525,1535,1],[1806,1867,61],[1868,1970,102],[1971,1983,1],[2043,2044,1],[2094,2095,1],[2111,2140,29],[2141,2143,2],[2155,2159,1],[2191,2194,3],[2195,2199,1],[2436,2445,9],[2446,2449,3],[2450,2473,23],[2481,2483,2],[2484,2485,1],[2490,2491,1],[2501,2502,1],[2505,2506,1],[2511,2518,1],[2520,2523,1],[2526,2532,6],[2533,2559,26],[2560,2564,4],[2571,2574,1],[2577,2578,1],[2601,2609,8],[2612,2618,3],[2619,2621,2],[2627,2630,1],[2633,2634,1],[2638,2640,1],[2642,2648,1],[2653,2655,2],[2656,2661,1],[2679,2688,1],[2692,2702,10],[2706,2729,23],[2737,2740,3],[2746,2747,1],[2758,2766,4],[2767,2769,2],[2770,2783,1],[2788,2789,1],[2802,2808,1],[2816,2820,4],[2829,2830,1],[2833,2834,1],[2857,2865,8],[2868,2874,6],[2875,2885,10],[2886,2889,3],[2890,2894,4],[2895,2900,1],[2904,2907,1],[2910,2916,6],[2917,2936,19],[2937,2945,1],[2948,2955,7],[2956,2957,1],[2961,2966,5],[2967,2968,1],[2971,2973,2],[2976,2978,1],[2981,2983,1],[2987,2989,1],[3002,3005,1],[3011,3013,1],[3017,3022,5],[3023,3025,2],[3026,3030,1],[3032,3045,1],[3067,3071,1],[3085,3089,4],[3113,3130,17],[3131,3141,10],[3145,3150,5],[3151,3156,1],[3159,3163,4],[3164,3166,2],[3167,3172,5],[3173,3184,11],[3185,3190,1],[3213,3217,4],[3241,3252,11],[3258,3259,1],[3269,3273,4],[3278,3284,1],[3287,3292,1],[3295,3300,5],[3301,3312,11],[3316,3327,1],[3341,3345,4],[3397,3401,4],[3408,3411,1],[3428,3429,1],[3456,3460,4],[3479,3481,1],[3506,3516,10],[3518,3519,1],[3527,3529,1],[3531,3534,1],[3541,3543,2],[3552,3557,1],[3568,3569,1],[3573,3584,1],[3643,3646,1],[3676,3712,1],[3715,3717,2],[3723,3748,25],[3750,3774,24],[3775,3781,6],[3783,3791,8],[3802,3803,1],[3808,3839,1],[3912,3949,37],[3950,3952,1],[3992,4029,37],[4045,4059,14],[4060,4095,1],[4294,4296,2],[4297,4300,1],[4302,4303,1],[4681,4686,5],[4687,4695,8],[4697,4702,5],[4703,4745,42],[4750,4751,1],[4785,4790,5],[4791,4799,8],[4801,4806,5],[4807,4823,16],[4881,4886,5],[4887,4955,68],[4956,4989,33],[4990,4991,1],[5018,5023,1],[5110,5111,1],[5118,5119,1],[5789,5791,1],[5881,5887,1],[5910,5918,1],[5943,5951,1],[5972,5983,1],[5997,6001,4],[6004,6015,1],[6110,6111,1],[6122,6127,1],[6138,6143,1],[6170,6175,1],[6265,6271,1],[6315,6319,1],[6390,6399,1],[6431,6444,13],[6445,6447,1],[6460,6463,1],[6465,6467,1],[6510,6511,1],[6517,6527,1],[6572,6575,1],[6602,6607,1],[6619,6621,1],[6684,6685,1],[6751,6781,30],[6782,6794,12],[6795,6799,1],[6810,6815,1],[6830,6831,1],[6863,6911,1],[6989,6991,1],[7039,7156,117],[7157,7163,1],[7224,7226,1],[7242,7244,1],[7305,7311,1],[7355,7356,1],[7368,7375,1],[7419,7423,1],[7958,7959,1],[7966,7967,1],[8006,8007,1],[8014,8015,1],[8024,8030,2],[8062,8063,1],[8117,8133,16],[8148,8149,1],[8156,8176,20],[8177,8181,4],[8191,8293,102],[8306,8307,1],[8335,8349,14],[8350,8351,1],[8385,8399,1],[8433,8447,1],[8588,8591,1],[9255,9279,1],[9291,9311,1],[11124,11125,1],[11158,11508,350],[11509,11512,1],[11558,11560,2],[11561,11564,1],[11566,11567,1],[11624,11630,1],[11633,11646,1],[11671,11679,1],[11687,11743,8],[11870,11903,1],[11930,12020,90],[12021,12031,1],[12246,12271,1],[12284,12287,1],[12352,12439,87],[12440,12544,104],[12545,12548,1],[12592,12687,95],[12772,12783,1],[12831,42125,29294],[42126,42127,1],[42183,42191,1],[42540,42559,1],[42744,42751,1],[42955,42959,1],[42962,42964,2],[42970,42993,1],[43053,43055,1],[43066,43071,1],[43128,43135,1],[43206,43213,1],[43226,43231,1],[43348,43358,1],[43389,43391,1],[43470,43482,12],[43483,43485,1],[43519,43575,56],[43576,43583,1],[43598,43599,1],[43610,43611,1],[43715,43738,1],[43767,43776,1],[43783,43784,1],[43791,43792,1],[43799,43807,1],[43815,43823,8],[43884,43887,1],[44014,44015,1],[44026,44031,1],[55204,55215,1],[55239,55242,1],[55292,55295,1],[64110,64111,1],[64218,64255,1],[64263,64274,1],[64280,64284,1],[64311,64317,6],[64319,64325,3],[64451,64466,1],[64912,64913,1],[64968,64974,1],[64976,65007,1],[65050,65055,1],[65107,65127,20],[65132,65135,1],[65141,65277,136],[65278,65280,2],[65471,65473,1],[65480,65481,1],[65488,65489,1],[65496,65497,1],[65501,65503,1],[65511,65519,8],[65520,65528,1],[65534,65535,1]],[[65548,65575,27],[65595,65598,3],[65614,65615,1],[65630,65663,1],[65787,65791,1],[65795,65798,1],[65844,65846,1],[65935,65949,14],[65950,65951,1],[65953,65999,1],[66046,66175,1],[66205,66207,1],[66257,66271,1],[66300,66303,1],[66340,66348,1],[66379,66383,1],[66427,66431,1],[66462,66500,38],[66501,66503,1],[66518,66559,1],[66718,66719,1],[66730,66735,1],[66772,66775,1],[66812,66815,1],[66856,66863,1],[66916,66926,1],[66939,66955,16],[66963,66966,3],[66978,66994,16],[67002,67005,3],[67006,67071,1],[67383,67391,1],[67414,67423,1],[67432,67455,1],[67462,67505,43],[67515,67583,1],[67590,67591,1],[67593,67638,45],[67641,67643,1],[67645,67646,1],[67670,67743,73],[67744,67750,1],[67760,67807,1],[67827,67830,3],[67831,67834,1],[67868,67870,1],[67898,67902,1],[67904,67967,1],[68024,68027,1],[68048,68049,1],[68100,68103,3],[68104,68107,1],[68116,68120,4],[68150,68151,1],[68155,68158,1],[68169,68175,1],[68185,68191,1],[68256,68287,1],[68327,68330,1],[68343,68351,1],[68406,68408,1],[68438,68439,1],[68467,68471,1],[68498,68504,1],[68509,68520,1],[68528,68607,1],[68681,68735,1],[68787,68799,1],[68851,68857,1],[68904,68911,1],[68922,69215,1],[69247,69290,43],[69294,69295,1],[69298,69372,1],[69416,69423,1],[69466,69487,1],[69514,69551,1],[69580,69599,1],[69623,69631,1],[69710,69713,1],[69750,69758,1],[69827,69836,1],[69838,69839,1],[69865,69871,1],[69882,69887,1],[69941,69960,19],[69961,69967,1],[70007,70015,1],[70112,70133,21],[70134,70143,1],[70162,70210,48],[70211,70271,1],[70279,70281,2],[70286,70302,16],[70314,70319,1],[70379,70383,1],[70394,70399,1],[70404,70413,9],[70414,70417,3],[70418,70441,23],[70449,70452,3],[70458,70469,11],[70470,70473,3],[70474,70478,4],[70479,70481,2],[70482,70486,1],[70488,70492,1],[70500,70501,1],[70509,70511,1],[70517,70655,1],[70748,70754,6],[70755,70783,1],[70856,70863,1],[70874,71039,1],[71094,71095,1],[71134,71167,1],[71237,71247,1],[71258,71263,1],[71277,71295,1],[71354,71359,1],[71370,71423,1],[71451,71452,1],[71468,71471,1],[71495,71679,1],[71740,71839,1],[71923,71934,1],[71943,71944,1],[71946,71947,1],[71956,71959,3],[71990,71993,3],[71994,72007,13],[72008,72015,1],[72026,72095,1],[72104,72105,1],[72152,72153,1],[72165,72191,1],[72264,72271,1],[72355,72367,1],[72441,72447,1],[72458,72703,1],[72713,72759,46],[72774,72783,1],[72813,72815,1],[72848,72849,1],[72872,72887,15],[72888,72959,1],[72967,72970,3],[73015,73017,1],[73019,73022,3],[73032,73039,1],[73050,73055,1],[73062,73065,3],[73103,73106,3],[73113,73119,1],[73130,73439,1],[73465,73471,1],[73489,73531,42],[73532,73533,1],[73562,73647,1],[73649,73663,1],[73714,73726,1],[74650,74751,1],[74863,74869,6],[74870,74879,1],[75076,77711,1],[77811,77823,1],[78934,82943,1],[83527,92159,1],[92729,92735,1],[92767,92778,11],[92779,92781,1],[92863,92874,11],[92875,92879,1],[92910,92911,1],[92918,92927,1],[92998,93007,1],[93018,93026,8],[93048,93052,1],[93072,93759,1],[93851,93951,1],[94027,94030,1],[94088,94094,1],[94112,94175,1],[94181,94191,1],[94194,94207,1],[100344,100351,1],[101590,101631,1],[101641,110575,1],[110580,110588,8],[110591,110883,292],[110884,110897,1],[110899,110927,1],[110931,110932,1],[110934,110947,1],[110952,110959,1],[111356,113663,1],[113771,113775,1],[113789,113791,1],[113801,113807,1],[113818,113819,1],[113828,118527,1],[118574,118575,1],[118599,118607,1],[118724,118783,1],[119030,119039,1],[119079,119080,1],[119275,119295,1],[119366,119487,1],[119508,119519,1],[119540,119551,1],[119639,119647,1],[119673,119807,1],[119893,119965,72],[119968,119969,1],[119971,119972,1],[119975,119976,1],[119981,119994,13],[119996,120004,8],[120070,120075,5],[120076,120085,9],[120093,120122,29],[120127,120133,6],[120135,120137,1],[120145,120486,341],[120487,120780,293],[120781,121484,703],[121485,121498,1],[121504,121520,16],[121521,122623,1],[122655,122660,1],[122667,122879,1],[122887,122905,18],[122906,122914,8],[122917,122923,6],[122924,122927,1],[122990,123022,1],[123024,123135,1],[123181,123183,1],[123198,123199,1],[123210,123213,1],[123216,123535,1],[123567,123583,1],[123642,123646,1],[123648,124111,1],[124154,124895,1],[124903,124908,5],[124911,124927,16],[125125,125126,1],[125143,125183,1],[125260,125263,1],[125274,125277,1],[125280,126064,1],[126133,126208,1],[126270,126463,1],[126468,126496,28],[126499,126501,2],[126502,126504,2],[126515,126520,5],[126522,126524,2],[126525,126529,1],[126531,126534,1],[126536,126540,2],[126544,126547,3],[126549,126550,1],[126552,126560,2],[126563,126565,2],[126566,126571,5],[126579,126589,5],[126591,126602,11],[126620,126624,1],[126628,126634,6],[126652,126703,1],[126706,126975,1],[127020,127023,1],[127124,127135,1],[127151,127152,1],[127168,127184,16],[127222,127231,1],[127406,127461,1],[127491,127503,1],[127548,127551,1],[127561,127567,1],[127570,127583,1],[127590,127743,1],[128728,128731,1],[128749,128751,1],[128765,128767,1],[128887,128890,1],[128986,128991,1],[129004,129007,1],[129009,129023,1],[129036,129039,1],[129096,129103,1],[129114,129119,1],[129160,129167,1],[129198,129199,1],[129202,129279,1],[129620,129631,1],[129646,129647,1],[129661,129663,1],[129673,129679,1],[129726,129734,8],[129735,129741,1],[129756,129759,1],[129769,129775,1],[129785,129791,1],[129939,129995,56],[129996,130031,1],[130042,131071,1],[173792,173823,1],[177978,177983,1],[178206,178207,1],[183970,183983,1],[191457,194559,1],[195102,196607,1],[201547,201551,1],[205744,917504,1],[917506,917535,1],[917632,917759,1],[918e3,983039,1],[1048574,1048575,1],[1114110,1114111,1]],0],Co:[[[57344,63743,1]],[[983040,1048573,1],[1048576,1114109,1]],0],Cs:[[[55296,57343,1]],[],0],L:[[[65,90,1],[97,122,1],[170,181,11],[186,192,6],[193,214,1],[216,246,1],[248,705,1],[710,721,1],[736,740,1],[748,750,2],[880,884,1],[886,887,1],[890,893,1],[895,902,7],[904,906,1],[908,910,2],[911,929,1],[931,1013,1],[1015,1153,1],[1162,1327,1],[1329,1366,1],[1369,1376,7],[1377,1416,1],[1488,1514,1],[1519,1522,1],[1568,1610,1],[1646,1647,1],[1649,1747,1],[1749,1765,16],[1766,1774,8],[1775,1786,11],[1787,1788,1],[1791,1808,17],[1810,1839,1],[1869,1957,1],[1969,1994,25],[1995,2026,1],[2036,2037,1],[2042,2048,6],[2049,2069,1],[2074,2084,10],[2088,2112,24],[2113,2136,1],[2144,2154,1],[2160,2183,1],[2185,2190,1],[2208,2249,1],[2308,2361,1],[2365,2384,19],[2392,2401,1],[2417,2432,1],[2437,2444,1],[2447,2448,1],[2451,2472,1],[2474,2480,1],[2482,2486,4],[2487,2489,1],[2493,2510,17],[2524,2525,1],[2527,2529,1],[2544,2545,1],[2556,2565,9],[2566,2570,1],[2575,2576,1],[2579,2600,1],[2602,2608,1],[2610,2611,1],[2613,2614,1],[2616,2617,1],[2649,2652,1],[2654,2674,20],[2675,2676,1],[2693,2701,1],[2703,2705,1],[2707,2728,1],[2730,2736,1],[2738,2739,1],[2741,2745,1],[2749,2768,19],[2784,2785,1],[2809,2821,12],[2822,2828,1],[2831,2832,1],[2835,2856,1],[2858,2864,1],[2866,2867,1],[2869,2873,1],[2877,2908,31],[2909,2911,2],[2912,2913,1],[2929,2947,18],[2949,2954,1],[2958,2960,1],[2962,2965,1],[2969,2970,1],[2972,2974,2],[2975,2979,4],[2980,2984,4],[2985,2986,1],[2990,3001,1],[3024,3077,53],[3078,3084,1],[3086,3088,1],[3090,3112,1],[3114,3129,1],[3133,3160,27],[3161,3162,1],[3165,3168,3],[3169,3200,31],[3205,3212,1],[3214,3216,1],[3218,3240,1],[3242,3251,1],[3253,3257,1],[3261,3293,32],[3294,3296,2],[3297,3313,16],[3314,3332,18],[3333,3340,1],[3342,3344,1],[3346,3386,1],[3389,3406,17],[3412,3414,1],[3423,3425,1],[3450,3455,1],[3461,3478,1],[3482,3505,1],[3507,3515,1],[3517,3520,3],[3521,3526,1],[3585,3632,1],[3634,3635,1],[3648,3654,1],[3713,3714,1],[3716,3718,2],[3719,3722,1],[3724,3747,1],[3749,3751,2],[3752,3760,1],[3762,3763,1],[3773,3776,3],[3777,3780,1],[3782,3804,22],[3805,3807,1],[3840,3904,64],[3905,3911,1],[3913,3948,1],[3976,3980,1],[4096,4138,1],[4159,4176,17],[4177,4181,1],[4186,4189,1],[4193,4197,4],[4198,4206,8],[4207,4208,1],[4213,4225,1],[4238,4256,18],[4257,4293,1],[4295,4301,6],[4304,4346,1],[4348,4680,1],[4682,4685,1],[4688,4694,1],[4696,4698,2],[4699,4701,1],[4704,4744,1],[4746,4749,1],[4752,4784,1],[4786,4789,1],[4792,4798,1],[4800,4802,2],[4803,4805,1],[4808,4822,1],[4824,4880,1],[4882,4885,1],[4888,4954,1],[4992,5007,1],[5024,5109,1],[5112,5117,1],[5121,5740,1],[5743,5759,1],[5761,5786,1],[5792,5866,1],[5873,5880,1],[5888,5905,1],[5919,5937,1],[5952,5969,1],[5984,5996,1],[5998,6e3,1],[6016,6067,1],[6103,6108,5],[6176,6264,1],[6272,6276,1],[6279,6312,1],[6314,6320,6],[6321,6389,1],[6400,6430,1],[6480,6509,1],[6512,6516,1],[6528,6571,1],[6576,6601,1],[6656,6678,1],[6688,6740,1],[6823,6917,94],[6918,6963,1],[6981,6988,1],[7043,7072,1],[7086,7087,1],[7098,7141,1],[7168,7203,1],[7245,7247,1],[7258,7293,1],[7296,7304,1],[7312,7354,1],[7357,7359,1],[7401,7404,1],[7406,7411,1],[7413,7414,1],[7418,7424,6],[7425,7615,1],[7680,7957,1],[7960,7965,1],[7968,8005,1],[8008,8013,1],[8016,8023,1],[8025,8031,2],[8032,8061,1],[8064,8116,1],[8118,8124,1],[8126,8130,4],[8131,8132,1],[8134,8140,1],[8144,8147,1],[8150,8155,1],[8160,8172,1],[8178,8180,1],[8182,8188,1],[8305,8319,14],[8336,8348,1],[8450,8455,5],[8458,8467,1],[8469,8473,4],[8474,8477,1],[8484,8490,2],[8491,8493,1],[8495,8505,1],[8508,8511,1],[8517,8521,1],[8526,8579,53],[8580,11264,2684],[11265,11492,1],[11499,11502,1],[11506,11507,1],[11520,11557,1],[11559,11565,6],[11568,11623,1],[11631,11648,17],[11649,11670,1],[11680,11686,1],[11688,11694,1],[11696,11702,1],[11704,11710,1],[11712,11718,1],[11720,11726,1],[11728,11734,1],[11736,11742,1],[11823,12293,470],[12294,12337,43],[12338,12341,1],[12347,12348,1],[12353,12438,1],[12445,12447,1],[12449,12538,1],[12540,12543,1],[12549,12591,1],[12593,12686,1],[12704,12735,1],[12784,12799,1],[13312,19903,1],[19968,42124,1],[42192,42237,1],[42240,42508,1],[42512,42527,1],[42538,42539,1],[42560,42606,1],[42623,42653,1],[42656,42725,1],[42775,42783,1],[42786,42888,1],[42891,42954,1],[42960,42961,1],[42963,42965,2],[42966,42969,1],[42994,43009,1],[43011,43013,1],[43015,43018,1],[43020,43042,1],[43072,43123,1],[43138,43187,1],[43250,43255,1],[43259,43261,2],[43262,43274,12],[43275,43301,1],[43312,43334,1],[43360,43388,1],[43396,43442,1],[43471,43488,17],[43489,43492,1],[43494,43503,1],[43514,43518,1],[43520,43560,1],[43584,43586,1],[43588,43595,1],[43616,43638,1],[43642,43646,4],[43647,43695,1],[43697,43701,4],[43702,43705,3],[43706,43709,1],[43712,43714,2],[43739,43741,1],[43744,43754,1],[43762,43764,1],[43777,43782,1],[43785,43790,1],[43793,43798,1],[43808,43814,1],[43816,43822,1],[43824,43866,1],[43868,43881,1],[43888,44002,1],[44032,55203,1],[55216,55238,1],[55243,55291,1],[63744,64109,1],[64112,64217,1],[64256,64262,1],[64275,64279,1],[64285,64287,2],[64288,64296,1],[64298,64310,1],[64312,64316,1],[64318,64320,2],[64321,64323,2],[64324,64326,2],[64327,64433,1],[64467,64829,1],[64848,64911,1],[64914,64967,1],[65008,65019,1],[65136,65140,1],[65142,65276,1],[65313,65338,1],[65345,65370,1],[65382,65470,1],[65474,65479,1],[65482,65487,1],[65490,65495,1],[65498,65500,1]],[[65536,65547,1],[65549,65574,1],[65576,65594,1],[65596,65597,1],[65599,65613,1],[65616,65629,1],[65664,65786,1],[66176,66204,1],[66208,66256,1],[66304,66335,1],[66349,66368,1],[66370,66377,1],[66384,66421,1],[66432,66461,1],[66464,66499,1],[66504,66511,1],[66560,66717,1],[66736,66771,1],[66776,66811,1],[66816,66855,1],[66864,66915,1],[66928,66938,1],[66940,66954,1],[66956,66962,1],[66964,66965,1],[66967,66977,1],[66979,66993,1],[66995,67001,1],[67003,67004,1],[67072,67382,1],[67392,67413,1],[67424,67431,1],[67456,67461,1],[67463,67504,1],[67506,67514,1],[67584,67589,1],[67592,67594,2],[67595,67637,1],[67639,67640,1],[67644,67647,3],[67648,67669,1],[67680,67702,1],[67712,67742,1],[67808,67826,1],[67828,67829,1],[67840,67861,1],[67872,67897,1],[67968,68023,1],[68030,68031,1],[68096,68112,16],[68113,68115,1],[68117,68119,1],[68121,68149,1],[68192,68220,1],[68224,68252,1],[68288,68295,1],[68297,68324,1],[68352,68405,1],[68416,68437,1],[68448,68466,1],[68480,68497,1],[68608,68680,1],[68736,68786,1],[68800,68850,1],[68864,68899,1],[69248,69289,1],[69296,69297,1],[69376,69404,1],[69415,69424,9],[69425,69445,1],[69488,69505,1],[69552,69572,1],[69600,69622,1],[69635,69687,1],[69745,69746,1],[69749,69763,14],[69764,69807,1],[69840,69864,1],[69891,69926,1],[69956,69959,3],[69968,70002,1],[70006,70019,13],[70020,70066,1],[70081,70084,1],[70106,70108,2],[70144,70161,1],[70163,70187,1],[70207,70208,1],[70272,70278,1],[70280,70282,2],[70283,70285,1],[70287,70301,1],[70303,70312,1],[70320,70366,1],[70405,70412,1],[70415,70416,1],[70419,70440,1],[70442,70448,1],[70450,70451,1],[70453,70457,1],[70461,70480,19],[70493,70497,1],[70656,70708,1],[70727,70730,1],[70751,70753,1],[70784,70831,1],[70852,70853,1],[70855,71040,185],[71041,71086,1],[71128,71131,1],[71168,71215,1],[71236,71296,60],[71297,71338,1],[71352,71424,72],[71425,71450,1],[71488,71494,1],[71680,71723,1],[71840,71903,1],[71935,71942,1],[71945,71948,3],[71949,71955,1],[71957,71958,1],[71960,71983,1],[71999,72001,2],[72096,72103,1],[72106,72144,1],[72161,72163,2],[72192,72203,11],[72204,72242,1],[72250,72272,22],[72284,72329,1],[72349,72368,19],[72369,72440,1],[72704,72712,1],[72714,72750,1],[72768,72818,50],[72819,72847,1],[72960,72966,1],[72968,72969,1],[72971,73008,1],[73030,73056,26],[73057,73061,1],[73063,73064,1],[73066,73097,1],[73112,73440,328],[73441,73458,1],[73474,73476,2],[73477,73488,1],[73490,73523,1],[73648,73728,80],[73729,74649,1],[74880,75075,1],[77712,77808,1],[77824,78895,1],[78913,78918,1],[82944,83526,1],[92160,92728,1],[92736,92766,1],[92784,92862,1],[92880,92909,1],[92928,92975,1],[92992,92995,1],[93027,93047,1],[93053,93071,1],[93760,93823,1],[93952,94026,1],[94032,94099,67],[94100,94111,1],[94176,94177,1],[94179,94208,29],[94209,100343,1],[100352,101589,1],[101632,101640,1],[110576,110579,1],[110581,110587,1],[110589,110590,1],[110592,110882,1],[110898,110928,30],[110929,110930,1],[110933,110948,15],[110949,110951,1],[110960,111355,1],[113664,113770,1],[113776,113788,1],[113792,113800,1],[113808,113817,1],[119808,119892,1],[119894,119964,1],[119966,119967,1],[119970,119973,3],[119974,119977,3],[119978,119980,1],[119982,119993,1],[119995,119997,2],[119998,120003,1],[120005,120069,1],[120071,120074,1],[120077,120084,1],[120086,120092,1],[120094,120121,1],[120123,120126,1],[120128,120132,1],[120134,120138,4],[120139,120144,1],[120146,120485,1],[120488,120512,1],[120514,120538,1],[120540,120570,1],[120572,120596,1],[120598,120628,1],[120630,120654,1],[120656,120686,1],[120688,120712,1],[120714,120744,1],[120746,120770,1],[120772,120779,1],[122624,122654,1],[122661,122666,1],[122928,122989,1],[123136,123180,1],[123191,123197,1],[123214,123536,322],[123537,123565,1],[123584,123627,1],[124112,124139,1],[124896,124902,1],[124904,124907,1],[124909,124910,1],[124912,124926,1],[124928,125124,1],[125184,125251,1],[125259,126464,1205],[126465,126467,1],[126469,126495,1],[126497,126498,1],[126500,126503,3],[126505,126514,1],[126516,126519,1],[126521,126523,2],[126530,126535,5],[126537,126541,2],[126542,126543,1],[126545,126546,1],[126548,126551,3],[126553,126561,2],[126562,126564,2],[126567,126570,1],[126572,126578,1],[126580,126583,1],[126585,126588,1],[126590,126592,2],[126593,126601,1],[126603,126619,1],[126625,126627,1],[126629,126633,1],[126635,126651,1],[131072,173791,1],[173824,177977,1],[177984,178205,1],[178208,183969,1],[183984,191456,1],[194560,195101,1],[196608,201546,1],[201552,205743,1]],6],LC:[[[65,90,1],[97,122,1],[181,192,11],[193,214,1],[216,246,1],[248,442,1],[444,447,1],[452,659,1],[661,687,1],[880,883,1],[886,887,1],[891,893,1],[895,902,7],[904,906,1],[908,910,2],[911,929,1],[931,1013,1],[1015,1153,1],[1162,1327,1],[1329,1366,1],[1376,1416,1],[4256,4293,1],[4295,4301,6],[4304,4346,1],[4349,4351,1],[5024,5109,1],[5112,5117,1],[7296,7304,1],[7312,7354,1],[7357,7359,1],[7424,7467,1],[7531,7543,1],[7545,7578,1],[7680,7957,1],[7960,7965,1],[7968,8005,1],[8008,8013,1],[8016,8023,1],[8025,8031,2],[8032,8061,1],[8064,8116,1],[8118,8124,1],[8126,8130,4],[8131,8132,1],[8134,8140,1],[8144,8147,1],[8150,8155,1],[8160,8172,1],[8178,8180,1],[8182,8188,1],[8450,8455,5],[8458,8467,1],[8469,8473,4],[8474,8477,1],[8484,8490,2],[8491,8493,1],[8495,8500,1],[8505,8508,3],[8509,8511,1],[8517,8521,1],[8526,8579,53],[8580,11264,2684],[11265,11387,1],[11390,11492,1],[11499,11502,1],[11506,11507,1],[11520,11557,1],[11559,11565,6],[42560,42605,1],[42624,42651,1],[42786,42863,1],[42865,42887,1],[42891,42894,1],[42896,42954,1],[42960,42961,1],[42963,42965,2],[42966,42969,1],[42997,42998,1],[43002,43824,822],[43825,43866,1],[43872,43880,1],[43888,43967,1],[64256,64262,1],[64275,64279,1],[65313,65338,1],[65345,65370,1]],[[66560,66639,1],[66736,66771,1],[66776,66811,1],[66928,66938,1],[66940,66954,1],[66956,66962,1],[66964,66965,1],[66967,66977,1],[66979,66993,1],[66995,67001,1],[67003,67004,1],[68736,68786,1],[68800,68850,1],[71840,71903,1],[93760,93823,1],[119808,119892,1],[119894,119964,1],[119966,119967,1],[119970,119973,3],[119974,119977,3],[119978,119980,1],[119982,119993,1],[119995,119997,2],[119998,120003,1],[120005,120069,1],[120071,120074,1],[120077,120084,1],[120086,120092,1],[120094,120121,1],[120123,120126,1],[120128,120132,1],[120134,120138,4],[120139,120144,1],[120146,120485,1],[120488,120512,1],[120514,120538,1],[120540,120570,1],[120572,120596,1],[120598,120628,1],[120630,120654,1],[120656,120686,1],[120688,120712,1],[120714,120744,1],[120746,120770,1],[120772,120779,1],[122624,122633,1],[122635,122654,1],[122661,122666,1],[125184,125251,1]],5],Ll:[[[97,122,1],[181,223,42],[224,246,1],[248,255,1],[257,311,2],[312,328,2],[329,375,2],[378,382,2],[383,384,1],[387,389,2],[392,396,4],[397,402,5],[405,409,4],[410,411,1],[414,417,3],[419,421,2],[424,426,2],[427,429,2],[432,436,4],[438,441,3],[442,445,3],[446,447,1],[454,460,3],[462,476,2],[477,495,2],[496,499,3],[501,505,4],[507,563,2],[564,569,1],[572,575,3],[576,578,2],[583,591,2],[592,659,1],[661,687,1],[881,883,2],[887,891,4],[892,893,1],[912,940,28],[941,974,1],[976,977,1],[981,983,1],[985,1007,2],[1008,1011,1],[1013,1019,3],[1020,1072,52],[1073,1119,1],[1121,1153,2],[1163,1215,2],[1218,1230,2],[1231,1327,2],[1376,1416,1],[4304,4346,1],[4349,4351,1],[5112,5117,1],[7296,7304,1],[7424,7467,1],[7531,7543,1],[7545,7578,1],[7681,7829,2],[7830,7837,1],[7839,7935,2],[7936,7943,1],[7952,7957,1],[7968,7975,1],[7984,7991,1],[8e3,8005,1],[8016,8023,1],[8032,8039,1],[8048,8061,1],[8064,8071,1],[8080,8087,1],[8096,8103,1],[8112,8116,1],[8118,8119,1],[8126,8130,4],[8131,8132,1],[8134,8135,1],[8144,8147,1],[8150,8151,1],[8160,8167,1],[8178,8180,1],[8182,8183,1],[8458,8462,4],[8463,8467,4],[8495,8505,5],[8508,8509,1],[8518,8521,1],[8526,8580,54],[11312,11359,1],[11361,11365,4],[11366,11372,2],[11377,11379,2],[11380,11382,2],[11383,11387,1],[11393,11491,2],[11492,11500,8],[11502,11507,5],[11520,11557,1],[11559,11565,6],[42561,42605,2],[42625,42651,2],[42787,42799,2],[42800,42801,1],[42803,42865,2],[42866,42872,1],[42874,42876,2],[42879,42887,2],[42892,42894,2],[42897,42899,2],[42900,42901,1],[42903,42921,2],[42927,42933,6],[42935,42947,2],[42952,42954,2],[42961,42969,2],[42998,43002,4],[43824,43866,1],[43872,43880,1],[43888,43967,1],[64256,64262,1],[64275,64279,1],[65345,65370,1]],[[66600,66639,1],[66776,66811,1],[66967,66977,1],[66979,66993,1],[66995,67001,1],[67003,67004,1],[68800,68850,1],[71872,71903,1],[93792,93823,1],[119834,119859,1],[119886,119892,1],[119894,119911,1],[119938,119963,1],[119990,119993,1],[119995,119997,2],[119998,120003,1],[120005,120015,1],[120042,120067,1],[120094,120119,1],[120146,120171,1],[120198,120223,1],[120250,120275,1],[120302,120327,1],[120354,120379,1],[120406,120431,1],[120458,120485,1],[120514,120538,1],[120540,120545,1],[120572,120596,1],[120598,120603,1],[120630,120654,1],[120656,120661,1],[120688,120712,1],[120714,120719,1],[120746,120770,1],[120772,120777,1],[120779,122624,1845],[122625,122633,1],[122635,122654,1],[122661,122666,1],[125218,125251,1]],4],Lm:[[[688,705,1],[710,721,1],[736,740,1],[748,750,2],[884,890,6],[1369,1600,231],[1765,1766,1],[2036,2037,1],[2042,2074,32],[2084,2088,4],[2249,2417,168],[3654,3782,128],[4348,6103,1755],[6211,6823,612],[7288,7293,1],[7468,7530,1],[7544,7579,35],[7580,7615,1],[8305,8319,14],[8336,8348,1],[11388,11389,1],[11631,11823,192],[12293,12337,44],[12338,12341,1],[12347,12445,98],[12446,12540,94],[12541,12542,1],[40981,42232,1251],[42233,42237,1],[42508,42623,115],[42652,42653,1],[42775,42783,1],[42864,42888,24],[42994,42996,1],[43e3,43001,1],[43471,43494,23],[43632,43741,109],[43763,43764,1],[43868,43871,1],[43881,65392,21511],[65438,65439,1]],[[67456,67461,1],[67463,67504,1],[67506,67514,1],[92992,92995,1],[94099,94111,1],[94176,94177,1],[94179,110576,16397],[110577,110579,1],[110581,110587,1],[110589,110590,1],[122928,122989,1],[123191,123197,1],[124139,125259,1120]],0],Lo:[[[170,186,16],[443,448,5],[449,451,1],[660,1488,828],[1489,1514,1],[1519,1522,1],[1568,1599,1],[1601,1610,1],[1646,1647,1],[1649,1747,1],[1749,1774,25],[1775,1786,11],[1787,1788,1],[1791,1808,17],[1810,1839,1],[1869,1957,1],[1969,1994,25],[1995,2026,1],[2048,2069,1],[2112,2136,1],[2144,2154,1],[2160,2183,1],[2185,2190,1],[2208,2248,1],[2308,2361,1],[2365,2384,19],[2392,2401,1],[2418,2432,1],[2437,2444,1],[2447,2448,1],[2451,2472,1],[2474,2480,1],[2482,2486,4],[2487,2489,1],[2493,2510,17],[2524,2525,1],[2527,2529,1],[2544,2545,1],[2556,2565,9],[2566,2570,1],[2575,2576,1],[2579,2600,1],[2602,2608,1],[2610,2611,1],[2613,2614,1],[2616,2617,1],[2649,2652,1],[2654,2674,20],[2675,2676,1],[2693,2701,1],[2703,2705,1],[2707,2728,1],[2730,2736,1],[2738,2739,1],[2741,2745,1],[2749,2768,19],[2784,2785,1],[2809,2821,12],[2822,2828,1],[2831,2832,1],[2835,2856,1],[2858,2864,1],[2866,2867,1],[2869,2873,1],[2877,2908,31],[2909,2911,2],[2912,2913,1],[2929,2947,18],[2949,2954,1],[2958,2960,1],[2962,2965,1],[2969,2970,1],[2972,2974,2],[2975,2979,4],[2980,2984,4],[2985,2986,1],[2990,3001,1],[3024,3077,53],[3078,3084,1],[3086,3088,1],[3090,3112,1],[3114,3129,1],[3133,3160,27],[3161,3162,1],[3165,3168,3],[3169,3200,31],[3205,3212,1],[3214,3216,1],[3218,3240,1],[3242,3251,1],[3253,3257,1],[3261,3293,32],[3294,3296,2],[3297,3313,16],[3314,3332,18],[3333,3340,1],[3342,3344,1],[3346,3386,1],[3389,3406,17],[3412,3414,1],[3423,3425,1],[3450,3455,1],[3461,3478,1],[3482,3505,1],[3507,3515,1],[3517,3520,3],[3521,3526,1],[3585,3632,1],[3634,3635,1],[3648,3653,1],[3713,3714,1],[3716,3718,2],[3719,3722,1],[3724,3747,1],[3749,3751,2],[3752,3760,1],[3762,3763,1],[3773,3776,3],[3777,3780,1],[3804,3807,1],[3840,3904,64],[3905,3911,1],[3913,3948,1],[3976,3980,1],[4096,4138,1],[4159,4176,17],[4177,4181,1],[4186,4189,1],[4193,4197,4],[4198,4206,8],[4207,4208,1],[4213,4225,1],[4238,4352,114],[4353,4680,1],[4682,4685,1],[4688,4694,1],[4696,4698,2],[4699,4701,1],[4704,4744,1],[4746,4749,1],[4752,4784,1],[4786,4789,1],[4792,4798,1],[4800,4802,2],[4803,4805,1],[4808,4822,1],[4824,4880,1],[4882,4885,1],[4888,4954,1],[4992,5007,1],[5121,5740,1],[5743,5759,1],[5761,5786,1],[5792,5866,1],[5873,5880,1],[5888,5905,1],[5919,5937,1],[5952,5969,1],[5984,5996,1],[5998,6e3,1],[6016,6067,1],[6108,6176,68],[6177,6210,1],[6212,6264,1],[6272,6276,1],[6279,6312,1],[6314,6320,6],[6321,6389,1],[6400,6430,1],[6480,6509,1],[6512,6516,1],[6528,6571,1],[6576,6601,1],[6656,6678,1],[6688,6740,1],[6917,6963,1],[6981,6988,1],[7043,7072,1],[7086,7087,1],[7098,7141,1],[7168,7203,1],[7245,7247,1],[7258,7287,1],[7401,7404,1],[7406,7411,1],[7413,7414,1],[7418,8501,1083],[8502,8504,1],[11568,11623,1],[11648,11670,1],[11680,11686,1],[11688,11694,1],[11696,11702,1],[11704,11710,1],[11712,11718,1],[11720,11726,1],[11728,11734,1],[11736,11742,1],[12294,12348,54],[12353,12438,1],[12447,12449,2],[12450,12538,1],[12543,12549,6],[12550,12591,1],[12593,12686,1],[12704,12735,1],[12784,12799,1],[13312,19903,1],[19968,40980,1],[40982,42124,1],[42192,42231,1],[42240,42507,1],[42512,42527,1],[42538,42539,1],[42606,42656,50],[42657,42725,1],[42895,42999,104],[43003,43009,1],[43011,43013,1],[43015,43018,1],[43020,43042,1],[43072,43123,1],[43138,43187,1],[43250,43255,1],[43259,43261,2],[43262,43274,12],[43275,43301,1],[43312,43334,1],[43360,43388,1],[43396,43442,1],[43488,43492,1],[43495,43503,1],[43514,43518,1],[43520,43560,1],[43584,43586,1],[43588,43595,1],[43616,43631,1],[43633,43638,1],[43642,43646,4],[43647,43695,1],[43697,43701,4],[43702,43705,3],[43706,43709,1],[43712,43714,2],[43739,43740,1],[43744,43754,1],[43762,43777,15],[43778,43782,1],[43785,43790,1],[43793,43798,1],[43808,43814,1],[43816,43822,1],[43968,44002,1],[44032,55203,1],[55216,55238,1],[55243,55291,1],[63744,64109,1],[64112,64217,1],[64285,64287,2],[64288,64296,1],[64298,64310,1],[64312,64316,1],[64318,64320,2],[64321,64323,2],[64324,64326,2],[64327,64433,1],[64467,64829,1],[64848,64911,1],[64914,64967,1],[65008,65019,1],[65136,65140,1],[65142,65276,1],[65382,65391,1],[65393,65437,1],[65440,65470,1],[65474,65479,1],[65482,65487,1],[65490,65495,1],[65498,65500,1]],[[65536,65547,1],[65549,65574,1],[65576,65594,1],[65596,65597,1],[65599,65613,1],[65616,65629,1],[65664,65786,1],[66176,66204,1],[66208,66256,1],[66304,66335,1],[66349,66368,1],[66370,66377,1],[66384,66421,1],[66432,66461,1],[66464,66499,1],[66504,66511,1],[66640,66717,1],[66816,66855,1],[66864,66915,1],[67072,67382,1],[67392,67413,1],[67424,67431,1],[67584,67589,1],[67592,67594,2],[67595,67637,1],[67639,67640,1],[67644,67647,3],[67648,67669,1],[67680,67702,1],[67712,67742,1],[67808,67826,1],[67828,67829,1],[67840,67861,1],[67872,67897,1],[67968,68023,1],[68030,68031,1],[68096,68112,16],[68113,68115,1],[68117,68119,1],[68121,68149,1],[68192,68220,1],[68224,68252,1],[68288,68295,1],[68297,68324,1],[68352,68405,1],[68416,68437,1],[68448,68466,1],[68480,68497,1],[68608,68680,1],[68864,68899,1],[69248,69289,1],[69296,69297,1],[69376,69404,1],[69415,69424,9],[69425,69445,1],[69488,69505,1],[69552,69572,1],[69600,69622,1],[69635,69687,1],[69745,69746,1],[69749,69763,14],[69764,69807,1],[69840,69864,1],[69891,69926,1],[69956,69959,3],[69968,70002,1],[70006,70019,13],[70020,70066,1],[70081,70084,1],[70106,70108,2],[70144,70161,1],[70163,70187,1],[70207,70208,1],[70272,70278,1],[70280,70282,2],[70283,70285,1],[70287,70301,1],[70303,70312,1],[70320,70366,1],[70405,70412,1],[70415,70416,1],[70419,70440,1],[70442,70448,1],[70450,70451,1],[70453,70457,1],[70461,70480,19],[70493,70497,1],[70656,70708,1],[70727,70730,1],[70751,70753,1],[70784,70831,1],[70852,70853,1],[70855,71040,185],[71041,71086,1],[71128,71131,1],[71168,71215,1],[71236,71296,60],[71297,71338,1],[71352,71424,72],[71425,71450,1],[71488,71494,1],[71680,71723,1],[71935,71942,1],[71945,71948,3],[71949,71955,1],[71957,71958,1],[71960,71983,1],[71999,72001,2],[72096,72103,1],[72106,72144,1],[72161,72163,2],[72192,72203,11],[72204,72242,1],[72250,72272,22],[72284,72329,1],[72349,72368,19],[72369,72440,1],[72704,72712,1],[72714,72750,1],[72768,72818,50],[72819,72847,1],[72960,72966,1],[72968,72969,1],[72971,73008,1],[73030,73056,26],[73057,73061,1],[73063,73064,1],[73066,73097,1],[73112,73440,328],[73441,73458,1],[73474,73476,2],[73477,73488,1],[73490,73523,1],[73648,73728,80],[73729,74649,1],[74880,75075,1],[77712,77808,1],[77824,78895,1],[78913,78918,1],[82944,83526,1],[92160,92728,1],[92736,92766,1],[92784,92862,1],[92880,92909,1],[92928,92975,1],[93027,93047,1],[93053,93071,1],[93952,94026,1],[94032,94208,176],[94209,100343,1],[100352,101589,1],[101632,101640,1],[110592,110882,1],[110898,110928,30],[110929,110930,1],[110933,110948,15],[110949,110951,1],[110960,111355,1],[113664,113770,1],[113776,113788,1],[113792,113800,1],[113808,113817,1],[122634,123136,502],[123137,123180,1],[123214,123536,322],[123537,123565,1],[123584,123627,1],[124112,124138,1],[124896,124902,1],[124904,124907,1],[124909,124910,1],[124912,124926,1],[124928,125124,1],[126464,126467,1],[126469,126495,1],[126497,126498,1],[126500,126503,3],[126505,126514,1],[126516,126519,1],[126521,126523,2],[126530,126535,5],[126537,126541,2],[126542,126543,1],[126545,126546,1],[126548,126551,3],[126553,126561,2],[126562,126564,2],[126567,126570,1],[126572,126578,1],[126580,126583,1],[126585,126588,1],[126590,126592,2],[126593,126601,1],[126603,126619,1],[126625,126627,1],[126629,126633,1],[126635,126651,1],[131072,173791,1],[173824,177977,1],[177984,178205,1],[178208,183969,1],[183984,191456,1],[194560,195101,1],[196608,201546,1],[201552,205743,1]],1],Lt:[[[453,459,3],[498,8072,7574],[8073,8079,1],[8088,8095,1],[8104,8111,1],[8124,8140,16],[8188,8188,1]],[],0],Lu:[[[65,90,1],[192,214,1],[216,222,1],[256,310,2],[313,327,2],[330,376,2],[377,381,2],[385,386,1],[388,390,2],[391,393,2],[394,395,1],[398,401,1],[403,404,1],[406,408,1],[412,413,1],[415,416,1],[418,422,2],[423,425,2],[428,430,2],[431,433,2],[434,435,1],[437,439,2],[440,444,4],[452,461,3],[463,475,2],[478,494,2],[497,500,3],[502,504,1],[506,562,2],[570,571,1],[573,574,1],[577,579,2],[580,582,1],[584,590,2],[880,882,2],[886,895,9],[902,904,2],[905,906,1],[908,910,2],[911,913,2],[914,929,1],[931,939,1],[975,978,3],[979,980,1],[984,1006,2],[1012,1015,3],[1017,1018,1],[1021,1071,1],[1120,1152,2],[1162,1216,2],[1217,1229,2],[1232,1326,2],[1329,1366,1],[4256,4293,1],[4295,4301,6],[5024,5109,1],[7312,7354,1],[7357,7359,1],[7680,7828,2],[7838,7934,2],[7944,7951,1],[7960,7965,1],[7976,7983,1],[7992,7999,1],[8008,8013,1],[8025,8031,2],[8040,8047,1],[8120,8123,1],[8136,8139,1],[8152,8155,1],[8168,8172,1],[8184,8187,1],[8450,8455,5],[8459,8461,1],[8464,8466,1],[8469,8473,4],[8474,8477,1],[8484,8490,2],[8491,8493,1],[8496,8499,1],[8510,8511,1],[8517,8579,62],[11264,11311,1],[11360,11362,2],[11363,11364,1],[11367,11373,2],[11374,11376,1],[11378,11381,3],[11390,11392,1],[11394,11490,2],[11499,11501,2],[11506,42560,31054],[42562,42604,2],[42624,42650,2],[42786,42798,2],[42802,42862,2],[42873,42877,2],[42878,42886,2],[42891,42893,2],[42896,42898,2],[42902,42922,2],[42923,42926,1],[42928,42932,1],[42934,42948,2],[42949,42951,1],[42953,42960,7],[42966,42968,2],[42997,65313,22316],[65314,65338,1]],[[66560,66599,1],[66736,66771,1],[66928,66938,1],[66940,66954,1],[66956,66962,1],[66964,66965,1],[68736,68786,1],[71840,71871,1],[93760,93791,1],[119808,119833,1],[119860,119885,1],[119912,119937,1],[119964,119966,2],[119967,119973,3],[119974,119977,3],[119978,119980,1],[119982,119989,1],[120016,120041,1],[120068,120069,1],[120071,120074,1],[120077,120084,1],[120086,120092,1],[120120,120121,1],[120123,120126,1],[120128,120132,1],[120134,120138,4],[120139,120144,1],[120172,120197,1],[120224,120249,1],[120276,120301,1],[120328,120353,1],[120380,120405,1],[120432,120457,1],[120488,120512,1],[120546,120570,1],[120604,120628,1],[120662,120686,1],[120720,120744,1],[120778,125184,4406],[125185,125217,1]],3],M:[[[768,879,1],[1155,1161,1],[1425,1469,1],[1471,1473,2],[1474,1476,2],[1477,1479,2],[1552,1562,1],[1611,1631,1],[1648,1750,102],[1751,1756,1],[1759,1764,1],[1767,1768,1],[1770,1773,1],[1809,1840,31],[1841,1866,1],[1958,1968,1],[2027,2035,1],[2045,2070,25],[2071,2073,1],[2075,2083,1],[2085,2087,1],[2089,2093,1],[2137,2139,1],[2200,2207,1],[2250,2273,1],[2275,2307,1],[2362,2364,1],[2366,2383,1],[2385,2391,1],[2402,2403,1],[2433,2435,1],[2492,2494,2],[2495,2500,1],[2503,2504,1],[2507,2509,1],[2519,2530,11],[2531,2558,27],[2561,2563,1],[2620,2622,2],[2623,2626,1],[2631,2632,1],[2635,2637,1],[2641,2672,31],[2673,2677,4],[2689,2691,1],[2748,2750,2],[2751,2757,1],[2759,2761,1],[2763,2765,1],[2786,2787,1],[2810,2815,1],[2817,2819,1],[2876,2878,2],[2879,2884,1],[2887,2888,1],[2891,2893,1],[2901,2903,1],[2914,2915,1],[2946,3006,60],[3007,3010,1],[3014,3016,1],[3018,3021,1],[3031,3072,41],[3073,3076,1],[3132,3134,2],[3135,3140,1],[3142,3144,1],[3146,3149,1],[3157,3158,1],[3170,3171,1],[3201,3203,1],[3260,3262,2],[3263,3268,1],[3270,3272,1],[3274,3277,1],[3285,3286,1],[3298,3299,1],[3315,3328,13],[3329,3331,1],[3387,3388,1],[3390,3396,1],[3398,3400,1],[3402,3405,1],[3415,3426,11],[3427,3457,30],[3458,3459,1],[3530,3535,5],[3536,3540,1],[3542,3544,2],[3545,3551,1],[3570,3571,1],[3633,3636,3],[3637,3642,1],[3655,3662,1],[3761,3764,3],[3765,3772,1],[3784,3790,1],[3864,3865,1],[3893,3897,2],[3902,3903,1],[3953,3972,1],[3974,3975,1],[3981,3991,1],[3993,4028,1],[4038,4139,101],[4140,4158,1],[4182,4185,1],[4190,4192,1],[4194,4196,1],[4199,4205,1],[4209,4212,1],[4226,4237,1],[4239,4250,11],[4251,4253,1],[4957,4959,1],[5906,5909,1],[5938,5940,1],[5970,5971,1],[6002,6003,1],[6068,6099,1],[6109,6155,46],[6156,6157,1],[6159,6277,118],[6278,6313,35],[6432,6443,1],[6448,6459,1],[6679,6683,1],[6741,6750,1],[6752,6780,1],[6783,6832,49],[6833,6862,1],[6912,6916,1],[6964,6980,1],[7019,7027,1],[7040,7042,1],[7073,7085,1],[7142,7155,1],[7204,7223,1],[7376,7378,1],[7380,7400,1],[7405,7412,7],[7415,7417,1],[7616,7679,1],[8400,8432,1],[11503,11505,1],[11647,11744,97],[11745,11775,1],[12330,12335,1],[12441,12442,1],[42607,42610,1],[42612,42621,1],[42654,42655,1],[42736,42737,1],[43010,43014,4],[43019,43043,24],[43044,43047,1],[43052,43136,84],[43137,43188,51],[43189,43205,1],[43232,43249,1],[43263,43302,39],[43303,43309,1],[43335,43347,1],[43392,43395,1],[43443,43456,1],[43493,43561,68],[43562,43574,1],[43587,43596,9],[43597,43643,46],[43644,43645,1],[43696,43698,2],[43699,43700,1],[43703,43704,1],[43710,43711,1],[43713,43755,42],[43756,43759,1],[43765,43766,1],[44003,44010,1],[44012,44013,1],[64286,65024,738],[65025,65039,1],[65056,65071,1]],[[66045,66272,227],[66422,66426,1],[68097,68099,1],[68101,68102,1],[68108,68111,1],[68152,68154,1],[68159,68325,166],[68326,68900,574],[68901,68903,1],[69291,69292,1],[69373,69375,1],[69446,69456,1],[69506,69509,1],[69632,69634,1],[69688,69702,1],[69744,69747,3],[69748,69759,11],[69760,69762,1],[69808,69818,1],[69826,69888,62],[69889,69890,1],[69927,69940,1],[69957,69958,1],[70003,70016,13],[70017,70018,1],[70067,70080,1],[70089,70092,1],[70094,70095,1],[70188,70199,1],[70206,70209,3],[70367,70378,1],[70400,70403,1],[70459,70460,1],[70462,70468,1],[70471,70472,1],[70475,70477,1],[70487,70498,11],[70499,70502,3],[70503,70508,1],[70512,70516,1],[70709,70726,1],[70750,70832,82],[70833,70851,1],[71087,71093,1],[71096,71104,1],[71132,71133,1],[71216,71232,1],[71339,71351,1],[71453,71467,1],[71724,71738,1],[71984,71989,1],[71991,71992,1],[71995,71998,1],[72e3,72002,2],[72003,72145,142],[72146,72151,1],[72154,72160,1],[72164,72193,29],[72194,72202,1],[72243,72249,1],[72251,72254,1],[72263,72273,10],[72274,72283,1],[72330,72345,1],[72751,72758,1],[72760,72767,1],[72850,72871,1],[72873,72886,1],[73009,73014,1],[73018,73020,2],[73021,73023,2],[73024,73029,1],[73031,73098,67],[73099,73102,1],[73104,73105,1],[73107,73111,1],[73459,73462,1],[73472,73473,1],[73475,73524,49],[73525,73530,1],[73534,73538,1],[78912,78919,7],[78920,78933,1],[92912,92916,1],[92976,92982,1],[94031,94033,2],[94034,94087,1],[94095,94098,1],[94180,94192,12],[94193,113821,19628],[113822,118528,4706],[118529,118573,1],[118576,118598,1],[119141,119145,1],[119149,119154,1],[119163,119170,1],[119173,119179,1],[119210,119213,1],[119362,119364,1],[121344,121398,1],[121403,121452,1],[121461,121476,15],[121499,121503,1],[121505,121519,1],[122880,122886,1],[122888,122904,1],[122907,122913,1],[122915,122916,1],[122918,122922,1],[123023,123184,161],[123185,123190,1],[123566,123628,62],[123629,123631,1],[124140,124143,1],[125136,125142,1],[125252,125258,1],[917760,917999,1]],0],Mc:[[[2307,2363,56],[2366,2368,1],[2377,2380,1],[2382,2383,1],[2434,2435,1],[2494,2496,1],[2503,2504,1],[2507,2508,1],[2519,2563,44],[2622,2624,1],[2691,2750,59],[2751,2752,1],[2761,2763,2],[2764,2818,54],[2819,2878,59],[2880,2887,7],[2888,2891,3],[2892,2903,11],[3006,3007,1],[3009,3010,1],[3014,3016,1],[3018,3020,1],[3031,3073,42],[3074,3075,1],[3137,3140,1],[3202,3203,1],[3262,3264,2],[3265,3268,1],[3271,3272,1],[3274,3275,1],[3285,3286,1],[3315,3330,15],[3331,3390,59],[3391,3392,1],[3398,3400,1],[3402,3404,1],[3415,3458,43],[3459,3535,76],[3536,3537,1],[3544,3551,1],[3570,3571,1],[3902,3903,1],[3967,4139,172],[4140,4145,5],[4152,4155,3],[4156,4182,26],[4183,4194,11],[4195,4196,1],[4199,4205,1],[4227,4228,1],[4231,4236,1],[4239,4250,11],[4251,4252,1],[5909,5940,31],[6070,6078,8],[6079,6085,1],[6087,6088,1],[6435,6438,1],[6441,6443,1],[6448,6449,1],[6451,6456,1],[6681,6682,1],[6741,6743,2],[6753,6755,2],[6756,6765,9],[6766,6770,1],[6916,6965,49],[6971,6973,2],[6974,6977,1],[6979,6980,1],[7042,7073,31],[7078,7079,1],[7082,7143,61],[7146,7148,1],[7150,7154,4],[7155,7204,49],[7205,7211,1],[7220,7221,1],[7393,7415,22],[12334,12335,1],[43043,43044,1],[43047,43136,89],[43137,43188,51],[43189,43203,1],[43346,43347,1],[43395,43444,49],[43445,43450,5],[43451,43454,3],[43455,43456,1],[43567,43568,1],[43571,43572,1],[43597,43643,46],[43645,43755,110],[43758,43759,1],[43765,44003,238],[44004,44006,2],[44007,44009,2],[44010,44012,2]],[[69632,69634,2],[69762,69808,46],[69809,69810,1],[69815,69816,1],[69932,69957,25],[69958,70018,60],[70067,70069,1],[70079,70080,1],[70094,70188,94],[70189,70190,1],[70194,70195,1],[70197,70368,171],[70369,70370,1],[70402,70403,1],[70462,70463,1],[70465,70468,1],[70471,70472,1],[70475,70477,1],[70487,70498,11],[70499,70709,210],[70710,70711,1],[70720,70721,1],[70725,70832,107],[70833,70834,1],[70841,70843,2],[70844,70846,1],[70849,71087,238],[71088,71089,1],[71096,71099,1],[71102,71216,114],[71217,71218,1],[71227,71228,1],[71230,71340,110],[71342,71343,1],[71350,71456,106],[71457,71462,5],[71724,71726,1],[71736,71984,248],[71985,71989,1],[71991,71992,1],[71997,72e3,3],[72002,72145,143],[72146,72147,1],[72156,72159,1],[72164,72249,85],[72279,72280,1],[72343,72751,408],[72766,72873,107],[72881,72884,3],[73098,73102,1],[73107,73108,1],[73110,73461,351],[73462,73475,13],[73524,73525,1],[73534,73535,1],[73537,94033,20496],[94034,94087,1],[94192,94193,1],[119141,119142,1],[119149,119154,1]],0],Me:[[[1160,1161,1],[6846,8413,1567],[8414,8416,1],[8418,8420,1],[42608,42610,1]],[],0],Mn:[[[768,879,1],[1155,1159,1],[1425,1469,1],[1471,1473,2],[1474,1476,2],[1477,1479,2],[1552,1562,1],[1611,1631,1],[1648,1750,102],[1751,1756,1],[1759,1764,1],[1767,1768,1],[1770,1773,1],[1809,1840,31],[1841,1866,1],[1958,1968,1],[2027,2035,1],[2045,2070,25],[2071,2073,1],[2075,2083,1],[2085,2087,1],[2089,2093,1],[2137,2139,1],[2200,2207,1],[2250,2273,1],[2275,2306,1],[2362,2364,2],[2369,2376,1],[2381,2385,4],[2386,2391,1],[2402,2403,1],[2433,2492,59],[2497,2500,1],[2509,2530,21],[2531,2558,27],[2561,2562,1],[2620,2625,5],[2626,2631,5],[2632,2635,3],[2636,2637,1],[2641,2672,31],[2673,2677,4],[2689,2690,1],[2748,2753,5],[2754,2757,1],[2759,2760,1],[2765,2786,21],[2787,2810,23],[2811,2815,1],[2817,2876,59],[2879,2881,2],[2882,2884,1],[2893,2901,8],[2902,2914,12],[2915,2946,31],[3008,3021,13],[3072,3076,4],[3132,3134,2],[3135,3136,1],[3142,3144,1],[3146,3149,1],[3157,3158,1],[3170,3171,1],[3201,3260,59],[3263,3270,7],[3276,3277,1],[3298,3299,1],[3328,3329,1],[3387,3388,1],[3393,3396,1],[3405,3426,21],[3427,3457,30],[3530,3538,8],[3539,3540,1],[3542,3633,91],[3636,3642,1],[3655,3662,1],[3761,3764,3],[3765,3772,1],[3784,3790,1],[3864,3865,1],[3893,3897,2],[3953,3966,1],[3968,3972,1],[3974,3975,1],[3981,3991,1],[3993,4028,1],[4038,4141,103],[4142,4144,1],[4146,4151,1],[4153,4154,1],[4157,4158,1],[4184,4185,1],[4190,4192,1],[4209,4212,1],[4226,4229,3],[4230,4237,7],[4253,4957,704],[4958,4959,1],[5906,5908,1],[5938,5939,1],[5970,5971,1],[6002,6003,1],[6068,6069,1],[6071,6077,1],[6086,6089,3],[6090,6099,1],[6109,6155,46],[6156,6157,1],[6159,6277,118],[6278,6313,35],[6432,6434,1],[6439,6440,1],[6450,6457,7],[6458,6459,1],[6679,6680,1],[6683,6742,59],[6744,6750,1],[6752,6754,2],[6757,6764,1],[6771,6780,1],[6783,6832,49],[6833,6845,1],[6847,6862,1],[6912,6915,1],[6964,6966,2],[6967,6970,1],[6972,6978,6],[7019,7027,1],[7040,7041,1],[7074,7077,1],[7080,7081,1],[7083,7085,1],[7142,7144,2],[7145,7149,4],[7151,7153,1],[7212,7219,1],[7222,7223,1],[7376,7378,1],[7380,7392,1],[7394,7400,1],[7405,7412,7],[7416,7417,1],[7616,7679,1],[8400,8412,1],[8417,8421,4],[8422,8432,1],[11503,11505,1],[11647,11744,97],[11745,11775,1],[12330,12333,1],[12441,12442,1],[42607,42612,5],[42613,42621,1],[42654,42655,1],[42736,42737,1],[43010,43014,4],[43019,43045,26],[43046,43052,6],[43204,43205,1],[43232,43249,1],[43263,43302,39],[43303,43309,1],[43335,43345,1],[43392,43394,1],[43443,43446,3],[43447,43449,1],[43452,43453,1],[43493,43561,68],[43562,43566,1],[43569,43570,1],[43573,43574,1],[43587,43596,9],[43644,43696,52],[43698,43700,1],[43703,43704,1],[43710,43711,1],[43713,43756,43],[43757,43766,9],[44005,44008,3],[44013,64286,20273],[65024,65039,1],[65056,65071,1]],[[66045,66272,227],[66422,66426,1],[68097,68099,1],[68101,68102,1],[68108,68111,1],[68152,68154,1],[68159,68325,166],[68326,68900,574],[68901,68903,1],[69291,69292,1],[69373,69375,1],[69446,69456,1],[69506,69509,1],[69633,69688,55],[69689,69702,1],[69744,69747,3],[69748,69759,11],[69760,69761,1],[69811,69814,1],[69817,69818,1],[69826,69888,62],[69889,69890,1],[69927,69931,1],[69933,69940,1],[70003,70016,13],[70017,70070,53],[70071,70078,1],[70089,70092,1],[70095,70191,96],[70192,70193,1],[70196,70198,2],[70199,70206,7],[70209,70367,158],[70371,70378,1],[70400,70401,1],[70459,70460,1],[70464,70502,38],[70503,70508,1],[70512,70516,1],[70712,70719,1],[70722,70724,1],[70726,70750,24],[70835,70840,1],[70842,70847,5],[70848,70850,2],[70851,71090,239],[71091,71093,1],[71100,71101,1],[71103,71104,1],[71132,71133,1],[71219,71226,1],[71229,71231,2],[71232,71339,107],[71341,71344,3],[71345,71349,1],[71351,71453,102],[71454,71455,1],[71458,71461,1],[71463,71467,1],[71727,71735,1],[71737,71738,1],[71995,71996,1],[71998,72003,5],[72148,72151,1],[72154,72155,1],[72160,72193,33],[72194,72202,1],[72243,72248,1],[72251,72254,1],[72263,72273,10],[72274,72278,1],[72281,72283,1],[72330,72342,1],[72344,72345,1],[72752,72758,1],[72760,72765,1],[72767,72850,83],[72851,72871,1],[72874,72880,1],[72882,72883,1],[72885,72886,1],[73009,73014,1],[73018,73020,2],[73021,73023,2],[73024,73029,1],[73031,73104,73],[73105,73109,4],[73111,73459,348],[73460,73472,12],[73473,73526,53],[73527,73530,1],[73536,73538,2],[78912,78919,7],[78920,78933,1],[92912,92916,1],[92976,92982,1],[94031,94095,64],[94096,94098,1],[94180,113821,19641],[113822,118528,4706],[118529,118573,1],[118576,118598,1],[119143,119145,1],[119163,119170,1],[119173,119179,1],[119210,119213,1],[119362,119364,1],[121344,121398,1],[121403,121452,1],[121461,121476,15],[121499,121503,1],[121505,121519,1],[122880,122886,1],[122888,122904,1],[122907,122913,1],[122915,122916,1],[122918,122922,1],[123023,123184,161],[123185,123190,1],[123566,123628,62],[123629,123631,1],[124140,124143,1],[125136,125142,1],[125252,125258,1],[917760,917999,1]],0],N:[[[48,57,1],[178,179,1],[185,188,3],[189,190,1],[1632,1641,1],[1776,1785,1],[1984,1993,1],[2406,2415,1],[2534,2543,1],[2548,2553,1],[2662,2671,1],[2790,2799,1],[2918,2927,1],[2930,2935,1],[3046,3058,1],[3174,3183,1],[3192,3198,1],[3302,3311,1],[3416,3422,1],[3430,3448,1],[3558,3567,1],[3664,3673,1],[3792,3801,1],[3872,3891,1],[4160,4169,1],[4240,4249,1],[4969,4988,1],[5870,5872,1],[6112,6121,1],[6128,6137,1],[6160,6169,1],[6470,6479,1],[6608,6618,1],[6784,6793,1],[6800,6809,1],[6992,7001,1],[7088,7097,1],[7232,7241,1],[7248,7257,1],[8304,8308,4],[8309,8313,1],[8320,8329,1],[8528,8578,1],[8581,8585,1],[9312,9371,1],[9450,9471,1],[10102,10131,1],[11517,12295,778],[12321,12329,1],[12344,12346,1],[12690,12693,1],[12832,12841,1],[12872,12879,1],[12881,12895,1],[12928,12937,1],[12977,12991,1],[42528,42537,1],[42726,42735,1],[43056,43061,1],[43216,43225,1],[43264,43273,1],[43472,43481,1],[43504,43513,1],[43600,43609,1],[44016,44025,1],[65296,65305,1]],[[65799,65843,1],[65856,65912,1],[65930,65931,1],[66273,66299,1],[66336,66339,1],[66369,66378,9],[66513,66517,1],[66720,66729,1],[67672,67679,1],[67705,67711,1],[67751,67759,1],[67835,67839,1],[67862,67867,1],[68028,68029,1],[68032,68047,1],[68050,68095,1],[68160,68168,1],[68221,68222,1],[68253,68255,1],[68331,68335,1],[68440,68447,1],[68472,68479,1],[68521,68527,1],[68858,68863,1],[68912,68921,1],[69216,69246,1],[69405,69414,1],[69457,69460,1],[69573,69579,1],[69714,69743,1],[69872,69881,1],[69942,69951,1],[70096,70105,1],[70113,70132,1],[70384,70393,1],[70736,70745,1],[70864,70873,1],[71248,71257,1],[71360,71369,1],[71472,71483,1],[71904,71922,1],[72016,72025,1],[72784,72812,1],[73040,73049,1],[73120,73129,1],[73552,73561,1],[73664,73684,1],[74752,74862,1],[92768,92777,1],[92864,92873,1],[93008,93017,1],[93019,93025,1],[93824,93846,1],[119488,119507,1],[119520,119539,1],[119648,119672,1],[120782,120831,1],[123200,123209,1],[123632,123641,1],[124144,124153,1],[125127,125135,1],[125264,125273,1],[126065,126123,1],[126125,126127,1],[126129,126132,1],[126209,126253,1],[126255,126269,1],[127232,127244,1],[130032,130041,1]],4],Nd:[[[48,57,1],[1632,1641,1],[1776,1785,1],[1984,1993,1],[2406,2415,1],[2534,2543,1],[2662,2671,1],[2790,2799,1],[2918,2927,1],[3046,3055,1],[3174,3183,1],[3302,3311,1],[3430,3439,1],[3558,3567,1],[3664,3673,1],[3792,3801,1],[3872,3881,1],[4160,4169,1],[4240,4249,1],[6112,6121,1],[6160,6169,1],[6470,6479,1],[6608,6617,1],[6784,6793,1],[6800,6809,1],[6992,7001,1],[7088,7097,1],[7232,7241,1],[7248,7257,1],[42528,42537,1],[43216,43225,1],[43264,43273,1],[43472,43481,1],[43504,43513,1],[43600,43609,1],[44016,44025,1],[65296,65305,1]],[[66720,66729,1],[68912,68921,1],[69734,69743,1],[69872,69881,1],[69942,69951,1],[70096,70105,1],[70384,70393,1],[70736,70745,1],[70864,70873,1],[71248,71257,1],[71360,71369,1],[71472,71481,1],[71904,71913,1],[72016,72025,1],[72784,72793,1],[73040,73049,1],[73120,73129,1],[73552,73561,1],[92768,92777,1],[92864,92873,1],[93008,93017,1],[120782,120831,1],[123200,123209,1],[123632,123641,1],[124144,124153,1],[125264,125273,1],[130032,130041,1]],1],Nl:[[[5870,5872,1],[8544,8578,1],[8581,8584,1],[12295,12321,26],[12322,12329,1],[12344,12346,1],[42726,42735,1]],[[65856,65908,1],[66369,66378,9],[66513,66517,1],[74752,74862,1]],0],No:[[[178,179,1],[185,188,3],[189,190,1],[2548,2553,1],[2930,2935,1],[3056,3058,1],[3192,3198,1],[3416,3422,1],[3440,3448,1],[3882,3891,1],[4969,4988,1],[6128,6137,1],[6618,8304,1686],[8308,8313,1],[8320,8329,1],[8528,8543,1],[8585,9312,727],[9313,9371,1],[9450,9471,1],[10102,10131,1],[11517,12690,1173],[12691,12693,1],[12832,12841,1],[12872,12879,1],[12881,12895,1],[12928,12937,1],[12977,12991,1],[43056,43061,1]],[[65799,65843,1],[65909,65912,1],[65930,65931,1],[66273,66299,1],[66336,66339,1],[67672,67679,1],[67705,67711,1],[67751,67759,1],[67835,67839,1],[67862,67867,1],[68028,68029,1],[68032,68047,1],[68050,68095,1],[68160,68168,1],[68221,68222,1],[68253,68255,1],[68331,68335,1],[68440,68447,1],[68472,68479,1],[68521,68527,1],[68858,68863,1],[69216,69246,1],[69405,69414,1],[69457,69460,1],[69573,69579,1],[69714,69733,1],[70113,70132,1],[71482,71483,1],[71914,71922,1],[72794,72812,1],[73664,73684,1],[93019,93025,1],[93824,93846,1],[119488,119507,1],[119520,119539,1],[119648,119672,1],[125127,125135,1],[126065,126123,1],[126125,126127,1],[126129,126132,1],[126209,126253,1],[126255,126269,1],[127232,127244,1]],3],P:[[[33,35,1],[37,42,1],[44,47,1],[58,59,1],[63,64,1],[91,93,1],[95,123,28],[125,161,36],[167,171,4],[182,183,1],[187,191,4],[894,903,9],[1370,1375,1],[1417,1418,1],[1470,1472,2],[1475,1478,3],[1523,1524,1],[1545,1546,1],[1548,1549,1],[1563,1565,2],[1566,1567,1],[1642,1645,1],[1748,1792,44],[1793,1805,1],[2039,2041,1],[2096,2110,1],[2142,2404,262],[2405,2416,11],[2557,2678,121],[2800,3191,391],[3204,3572,368],[3663,3674,11],[3675,3844,169],[3845,3858,1],[3860,3898,38],[3899,3901,1],[3973,4048,75],[4049,4052,1],[4057,4058,1],[4170,4175,1],[4347,4960,613],[4961,4968,1],[5120,5742,622],[5787,5788,1],[5867,5869,1],[5941,5942,1],[6100,6102,1],[6104,6106,1],[6144,6154,1],[6468,6469,1],[6686,6687,1],[6816,6822,1],[6824,6829,1],[7002,7008,1],[7037,7038,1],[7164,7167,1],[7227,7231,1],[7294,7295,1],[7360,7367,1],[7379,8208,829],[8209,8231,1],[8240,8259,1],[8261,8273,1],[8275,8286,1],[8317,8318,1],[8333,8334,1],[8968,8971,1],[9001,9002,1],[10088,10101,1],[10181,10182,1],[10214,10223,1],[10627,10648,1],[10712,10715,1],[10748,10749,1],[11513,11516,1],[11518,11519,1],[11632,11776,144],[11777,11822,1],[11824,11855,1],[11858,11869,1],[12289,12291,1],[12296,12305,1],[12308,12319,1],[12336,12349,13],[12448,12539,91],[42238,42239,1],[42509,42511,1],[42611,42622,11],[42738,42743,1],[43124,43127,1],[43214,43215,1],[43256,43258,1],[43260,43310,50],[43311,43359,48],[43457,43469,1],[43486,43487,1],[43612,43615,1],[43742,43743,1],[43760,43761,1],[44011,64830,20819],[64831,65040,209],[65041,65049,1],[65072,65106,1],[65108,65121,1],[65123,65128,5],[65130,65131,1],[65281,65283,1],[65285,65290,1],[65292,65295,1],[65306,65307,1],[65311,65312,1],[65339,65341,1],[65343,65371,28],[65373,65375,2],[65376,65381,1]],[[65792,65794,1],[66463,66512,49],[66927,67671,744],[67871,67903,32],[68176,68184,1],[68223,68336,113],[68337,68342,1],[68409,68415,1],[68505,68508,1],[69293,69461,168],[69462,69465,1],[69510,69513,1],[69703,69709,1],[69819,69820,1],[69822,69825,1],[69952,69955,1],[70004,70005,1],[70085,70088,1],[70093,70107,14],[70109,70111,1],[70200,70205,1],[70313,70731,418],[70732,70735,1],[70746,70747,1],[70749,70854,105],[71105,71127,1],[71233,71235,1],[71264,71276,1],[71353,71484,131],[71485,71486,1],[71739,72004,265],[72005,72006,1],[72162,72255,93],[72256,72262,1],[72346,72348,1],[72350,72354,1],[72448,72457,1],[72769,72773,1],[72816,72817,1],[73463,73464,1],[73539,73551,1],[73727,74864,1137],[74865,74868,1],[77809,77810,1],[92782,92783,1],[92917,92983,66],[92984,92987,1],[92996,93847,851],[93848,93850,1],[94178,113823,19645],[121479,121483,1],[125278,125279,1]],11],Pc:[[[95,8255,8160],[8256,8276,20],[65075,65076,1],[65101,65103,1],[65343,65343,1]],[],0],Pd:[[[45,1418,1373],[1470,5120,3650],[6150,8208,2058],[8209,8213,1],[11799,11802,3],[11834,11835,1],[11840,11869,29],[12316,12336,20],[12448,65073,52625],[65074,65112,38],[65123,65293,170]],[[69293,69293,1]],0],Pe:[[[41,93,52],[125,3899,3774],[3901,5788,1887],[8262,8318,56],[8334,8969,635],[8971,9002,31],[10089,10101,2],[10182,10215,33],[10217,10223,2],[10628,10648,2],[10713,10715,2],[10749,11811,1062],[11813,11817,2],[11862,11868,2],[12297,12305,2],[12309,12315,2],[12318,12319,1],[64830,65048,218],[65078,65092,2],[65096,65114,18],[65116,65118,2],[65289,65341,52],[65373,65379,3]],[],1],Pf:[[[187,8217,8030],[8221,8250,29],[11779,11781,2],[11786,11789,3],[11805,11809,4]],[],0],Pi:[[[171,8216,8045],[8219,8220,1],[8223,8249,26],[11778,11780,2],[11785,11788,3],[11804,11808,4]],[],0],Po:[[[33,35,1],[37,39,1],[42,46,2],[47,58,11],[59,63,4],[64,92,28],[161,167,6],[182,183,1],[191,894,703],[903,1370,467],[1371,1375,1],[1417,1472,55],[1475,1478,3],[1523,1524,1],[1545,1546,1],[1548,1549,1],[1563,1565,2],[1566,1567,1],[1642,1645,1],[1748,1792,44],[1793,1805,1],[2039,2041,1],[2096,2110,1],[2142,2404,262],[2405,2416,11],[2557,2678,121],[2800,3191,391],[3204,3572,368],[3663,3674,11],[3675,3844,169],[3845,3858,1],[3860,3973,113],[4048,4052,1],[4057,4058,1],[4170,4175,1],[4347,4960,613],[4961,4968,1],[5742,5867,125],[5868,5869,1],[5941,5942,1],[6100,6102,1],[6104,6106,1],[6144,6149,1],[6151,6154,1],[6468,6469,1],[6686,6687,1],[6816,6822,1],[6824,6829,1],[7002,7008,1],[7037,7038,1],[7164,7167,1],[7227,7231,1],[7294,7295,1],[7360,7367,1],[7379,8214,835],[8215,8224,9],[8225,8231,1],[8240,8248,1],[8251,8254,1],[8257,8259,1],[8263,8273,1],[8275,8277,2],[8278,8286,1],[11513,11516,1],[11518,11519,1],[11632,11776,144],[11777,11782,5],[11783,11784,1],[11787,11790,3],[11791,11798,1],[11800,11801,1],[11803,11806,3],[11807,11818,11],[11819,11822,1],[11824,11833,1],[11836,11839,1],[11841,11843,2],[11844,11855,1],[11858,11860,1],[12289,12291,1],[12349,12539,190],[42238,42239,1],[42509,42511,1],[42611,42622,11],[42738,42743,1],[43124,43127,1],[43214,43215,1],[43256,43258,1],[43260,43310,50],[43311,43359,48],[43457,43469,1],[43486,43487,1],[43612,43615,1],[43742,43743,1],[43760,43761,1],[44011,65040,21029],[65041,65046,1],[65049,65072,23],[65093,65094,1],[65097,65100,1],[65104,65106,1],[65108,65111,1],[65119,65121,1],[65128,65130,2],[65131,65281,150],[65282,65283,1],[65285,65287,1],[65290,65294,2],[65295,65306,11],[65307,65311,4],[65312,65340,28],[65377,65380,3],[65381,65381,1]],[[65792,65794,1],[66463,66512,49],[66927,67671,744],[67871,67903,32],[68176,68184,1],[68223,68336,113],[68337,68342,1],[68409,68415,1],[68505,68508,1],[69461,69465,1],[69510,69513,1],[69703,69709,1],[69819,69820,1],[69822,69825,1],[69952,69955,1],[70004,70005,1],[70085,70088,1],[70093,70107,14],[70109,70111,1],[70200,70205,1],[70313,70731,418],[70732,70735,1],[70746,70747,1],[70749,70854,105],[71105,71127,1],[71233,71235,1],[71264,71276,1],[71353,71484,131],[71485,71486,1],[71739,72004,265],[72005,72006,1],[72162,72255,93],[72256,72262,1],[72346,72348,1],[72350,72354,1],[72448,72457,1],[72769,72773,1],[72816,72817,1],[73463,73464,1],[73539,73551,1],[73727,74864,1137],[74865,74868,1],[77809,77810,1],[92782,92783,1],[92917,92983,66],[92984,92987,1],[92996,93847,851],[93848,93850,1],[94178,113823,19645],[121479,121483,1],[125278,125279,1]],8],Ps:[[[40,91,51],[123,3898,3775],[3900,5787,1887],[8218,8222,4],[8261,8317,56],[8333,8968,635],[8970,9001,31],[10088,10100,2],[10181,10214,33],[10216,10222,2],[10627,10647,2],[10712,10714,2],[10748,11810,1062],[11812,11816,2],[11842,11861,19],[11863,11867,2],[12296,12304,2],[12308,12314,2],[12317,64831,52514],[65047,65077,30],[65079,65091,2],[65095,65113,18],[65115,65117,2],[65288,65339,51],[65371,65375,4],[65378,65378,1]],[],1],S:[[[36,43,7],[60,62,1],[94,96,2],[124,126,2],[162,166,1],[168,169,1],[172,174,2],[175,177,1],[180,184,4],[215,247,32],[706,709,1],[722,735,1],[741,747,1],[749,751,2],[752,767,1],[885,900,15],[901,1014,113],[1154,1421,267],[1422,1423,1],[1542,1544,1],[1547,1550,3],[1551,1758,207],[1769,1789,20],[1790,2038,248],[2046,2047,1],[2184,2546,362],[2547,2554,7],[2555,2801,246],[2928,3059,131],[3060,3066,1],[3199,3407,208],[3449,3647,198],[3841,3843,1],[3859,3861,2],[3862,3863,1],[3866,3871,1],[3892,3896,2],[4030,4037,1],[4039,4044,1],[4046,4047,1],[4053,4056,1],[4254,4255,1],[5008,5017,1],[5741,6107,366],[6464,6622,158],[6623,6655,1],[7009,7018,1],[7028,7036,1],[8125,8127,2],[8128,8129,1],[8141,8143,1],[8157,8159,1],[8173,8175,1],[8189,8190,1],[8260,8274,14],[8314,8316,1],[8330,8332,1],[8352,8384,1],[8448,8449,1],[8451,8454,1],[8456,8457,1],[8468,8470,2],[8471,8472,1],[8478,8483,1],[8485,8489,2],[8494,8506,12],[8507,8512,5],[8513,8516,1],[8522,8525,1],[8527,8586,59],[8587,8592,5],[8593,8967,1],[8972,9e3,1],[9003,9254,1],[9280,9290,1],[9372,9449,1],[9472,10087,1],[10132,10180,1],[10183,10213,1],[10224,10626,1],[10649,10711,1],[10716,10747,1],[10750,11123,1],[11126,11157,1],[11159,11263,1],[11493,11498,1],[11856,11857,1],[11904,11929,1],[11931,12019,1],[12032,12245,1],[12272,12283,1],[12292,12306,14],[12307,12320,13],[12342,12343,1],[12350,12351,1],[12443,12444,1],[12688,12689,1],[12694,12703,1],[12736,12771,1],[12800,12830,1],[12842,12871,1],[12880,12896,16],[12897,12927,1],[12938,12976,1],[12992,13311,1],[19904,19967,1],[42128,42182,1],[42752,42774,1],[42784,42785,1],[42889,42890,1],[43048,43051,1],[43062,43065,1],[43639,43641,1],[43867,43882,15],[43883,64297,20414],[64434,64450,1],[64832,64847,1],[64975,65020,45],[65021,65023,1],[65122,65124,2],[65125,65126,1],[65129,65284,155],[65291,65308,17],[65309,65310,1],[65342,65344,2],[65372,65374,2],[65504,65510,1],[65512,65518,1],[65532,65533,1]],[[65847,65855,1],[65913,65929,1],[65932,65934,1],[65936,65948,1],[65952,66e3,48],[66001,66044,1],[67703,67704,1],[68296,71487,3191],[73685,73713,1],[92988,92991,1],[92997,113820,20823],[118608,118723,1],[118784,119029,1],[119040,119078,1],[119081,119140,1],[119146,119148,1],[119171,119172,1],[119180,119209,1],[119214,119274,1],[119296,119361,1],[119365,119552,187],[119553,119638,1],[120513,120539,26],[120571,120597,26],[120629,120655,26],[120687,120713,26],[120745,120771,26],[120832,121343,1],[121399,121402,1],[121453,121460,1],[121462,121475,1],[121477,121478,1],[123215,123647,432],[126124,126128,4],[126254,126704,450],[126705,126976,271],[126977,127019,1],[127024,127123,1],[127136,127150,1],[127153,127167,1],[127169,127183,1],[127185,127221,1],[127245,127405,1],[127462,127490,1],[127504,127547,1],[127552,127560,1],[127568,127569,1],[127584,127589,1],[127744,128727,1],[128732,128748,1],[128752,128764,1],[128768,128886,1],[128891,128985,1],[128992,129003,1],[129008,129024,16],[129025,129035,1],[129040,129095,1],[129104,129113,1],[129120,129159,1],[129168,129197,1],[129200,129201,1],[129280,129619,1],[129632,129645,1],[129648,129660,1],[129664,129672,1],[129680,129725,1],[129727,129733,1],[129742,129755,1],[129760,129768,1],[129776,129784,1],[129792,129938,1],[129940,129994,1]],10],Sc:[[[36,162,126],[163,165,1],[1423,1547,124],[2046,2047,1],[2546,2547,1],[2555,2801,246],[3065,3647,582],[6107,8352,2245],[8353,8384,1],[43064,65020,21956],[65129,65284,155],[65504,65505,1],[65509,65510,1]],[[73693,73696,1],[123647,126128,2481]],2],Sk:[[[94,96,2],[168,175,7],[180,184,4],[706,709,1],[722,735,1],[741,747,1],[749,751,2],[752,767,1],[885,900,15],[901,2184,1283],[8125,8127,2],[8128,8129,1],[8141,8143,1],[8157,8159,1],[8173,8175,1],[8189,8190,1],[12443,12444,1],[42752,42774,1],[42784,42785,1],[42889,42890,1],[43867,43882,15],[43883,64434,20551],[64435,64450,1],[65342,65344,2],[65507,65507,1]],[[127995,127999,1]],3],Sm:[[[43,60,17],[61,62,1],[124,126,2],[172,177,5],[215,247,32],[1014,1542,528],[1543,1544,1],[8260,8274,14],[8314,8316,1],[8330,8332,1],[8472,8512,40],[8513,8516,1],[8523,8592,69],[8593,8596,1],[8602,8603,1],[8608,8614,3],[8622,8654,32],[8655,8658,3],[8660,8692,32],[8693,8959,1],[8992,8993,1],[9084,9115,31],[9116,9139,1],[9180,9185,1],[9655,9665,10],[9720,9727,1],[9839,10176,337],[10177,10180,1],[10183,10213,1],[10224,10239,1],[10496,10626,1],[10649,10711,1],[10716,10747,1],[10750,11007,1],[11056,11076,1],[11079,11084,1],[64297,65122,825],[65124,65126,1],[65291,65308,17],[65309,65310,1],[65372,65374,2],[65506,65513,7],[65514,65516,1]],[[120513,120539,26],[120571,120597,26],[120629,120655,26],[120687,120713,26],[120745,120771,26],[126704,126705,1]],5],So:[[[166,169,3],[174,176,2],[1154,1421,267],[1422,1550,128],[1551,1758,207],[1769,1789,20],[1790,2038,248],[2554,2928,374],[3059,3064,1],[3066,3199,133],[3407,3449,42],[3841,3843,1],[3859,3861,2],[3862,3863,1],[3866,3871,1],[3892,3896,2],[4030,4037,1],[4039,4044,1],[4046,4047,1],[4053,4056,1],[4254,4255,1],[5008,5017,1],[5741,6464,723],[6622,6655,1],[7009,7018,1],[7028,7036,1],[8448,8449,1],[8451,8454,1],[8456,8457,1],[8468,8470,2],[8471,8478,7],[8479,8483,1],[8485,8489,2],[8494,8506,12],[8507,8522,15],[8524,8525,1],[8527,8586,59],[8587,8597,10],[8598,8601,1],[8604,8607,1],[8609,8610,1],[8612,8613,1],[8615,8621,1],[8623,8653,1],[8656,8657,1],[8659,8661,2],[8662,8691,1],[8960,8967,1],[8972,8991,1],[8994,9e3,1],[9003,9083,1],[9085,9114,1],[9140,9179,1],[9186,9254,1],[9280,9290,1],[9372,9449,1],[9472,9654,1],[9656,9664,1],[9666,9719,1],[9728,9838,1],[9840,10087,1],[10132,10175,1],[10240,10495,1],[11008,11055,1],[11077,11078,1],[11085,11123,1],[11126,11157,1],[11159,11263,1],[11493,11498,1],[11856,11857,1],[11904,11929,1],[11931,12019,1],[12032,12245,1],[12272,12283,1],[12292,12306,14],[12307,12320,13],[12342,12343,1],[12350,12351,1],[12688,12689,1],[12694,12703,1],[12736,12771,1],[12800,12830,1],[12842,12871,1],[12880,12896,16],[12897,12927,1],[12938,12976,1],[12992,13311,1],[19904,19967,1],[42128,42182,1],[43048,43051,1],[43062,43063,1],[43065,43639,574],[43640,43641,1],[64832,64847,1],[64975,65021,46],[65022,65023,1],[65508,65512,4],[65517,65518,1],[65532,65533,1]],[[65847,65855,1],[65913,65929,1],[65932,65934,1],[65936,65948,1],[65952,66e3,48],[66001,66044,1],[67703,67704,1],[68296,71487,3191],[73685,73692,1],[73697,73713,1],[92988,92991,1],[92997,113820,20823],[118608,118723,1],[118784,119029,1],[119040,119078,1],[119081,119140,1],[119146,119148,1],[119171,119172,1],[119180,119209,1],[119214,119274,1],[119296,119361,1],[119365,119552,187],[119553,119638,1],[120832,121343,1],[121399,121402,1],[121453,121460,1],[121462,121475,1],[121477,121478,1],[123215,126124,2909],[126254,126976,722],[126977,127019,1],[127024,127123,1],[127136,127150,1],[127153,127167,1],[127169,127183,1],[127185,127221,1],[127245,127405,1],[127462,127490,1],[127504,127547,1],[127552,127560,1],[127568,127569,1],[127584,127589,1],[127744,127994,1],[128e3,128727,1],[128732,128748,1],[128752,128764,1],[128768,128886,1],[128891,128985,1],[128992,129003,1],[129008,129024,16],[129025,129035,1],[129040,129095,1],[129104,129113,1],[129120,129159,1],[129168,129197,1],[129200,129201,1],[129280,129619,1],[129632,129645,1],[129648,129660,1],[129664,129672,1],[129680,129725,1],[129727,129733,1],[129742,129755,1],[129760,129768,1],[129776,129784,1],[129792,129938,1],[129940,129994,1]],2],Z:[[[32,160,128],[5760,8192,2432],[8193,8202,1],[8232,8233,1],[8239,8287,48],[12288,12288,1]],[],1],Zl:[[[8232,8232,1]],[],0],Zp:[[[8233,8233,1]],[],0],Zs:[[[32,160,128],[5760,8192,2432],[8193,8202,1],[8239,8287,48],[12288,12288,1]],[],1]},_se={Adlam:[[],[[125184,125259,1],[125264,125273,1],[125278,125279,1]],0],Ahom:[[],[[71424,71450,1],[71453,71467,1],[71472,71494,1]],0],Anatolian_Hieroglyphs:[[],[[82944,83526,1]],0],Arabic:[[[1536,1540,1],[1542,1547,1],[1549,1562,1],[1564,1566,1],[1568,1599,1],[1601,1610,1],[1622,1647,1],[1649,1756,1],[1758,1791,1],[1872,1919,1],[2160,2190,1],[2192,2193,1],[2200,2273,1],[2275,2303,1],[64336,64450,1],[64467,64829,1],[64832,64911,1],[64914,64967,1],[64975,65008,33],[65009,65023,1],[65136,65140,1],[65142,65276,1]],[[69216,69246,1],[69373,69375,1],[126464,126467,1],[126469,126495,1],[126497,126498,1],[126500,126503,3],[126505,126514,1],[126516,126519,1],[126521,126523,2],[126530,126535,5],[126537,126541,2],[126542,126543,1],[126545,126546,1],[126548,126551,3],[126553,126561,2],[126562,126564,2],[126567,126570,1],[126572,126578,1],[126580,126583,1],[126585,126588,1],[126590,126592,2],[126593,126601,1],[126603,126619,1],[126625,126627,1],[126629,126633,1],[126635,126651,1],[126704,126705,1]],0],Armenian:[[[1329,1366,1],[1369,1418,1],[1421,1423,1],[64275,64279,1]],[],0],Avestan:[[],[[68352,68405,1],[68409,68415,1]],0],Balinese:[[[6912,6988,1],[6992,7038,1]],[],0],Bamum:[[[42656,42743,1]],[[92160,92728,1]],0],Bassa_Vah:[[],[[92880,92909,1],[92912,92917,1]],0],Batak:[[[7104,7155,1],[7164,7167,1]],[],0],Bengali:[[[2432,2435,1],[2437,2444,1],[2447,2448,1],[2451,2472,1],[2474,2480,1],[2482,2486,4],[2487,2489,1],[2492,2500,1],[2503,2504,1],[2507,2510,1],[2519,2524,5],[2525,2527,2],[2528,2531,1],[2534,2558,1]],[],0],Bhaiksuki:[[],[[72704,72712,1],[72714,72758,1],[72760,72773,1],[72784,72812,1]],0],Bopomofo:[[[746,747,1],[12549,12591,1],[12704,12735,1]],[],0],Brahmi:[[],[[69632,69709,1],[69714,69749,1],[69759,69759,1]],0],Braille:[[[10240,10495,1]],[],0],Buginese:[[[6656,6683,1],[6686,6687,1]],[],0],Buhid:[[[5952,5971,1]],[],0],Canadian_Aboriginal:[[[5120,5759,1],[6320,6389,1]],[[72368,72383,1]],0],Carian:[[],[[66208,66256,1]],0],Caucasian_Albanian:[[],[[66864,66915,1],[66927,66927,1]],0],Chakma:[[],[[69888,69940,1],[69942,69959,1]],0],Cham:[[[43520,43574,1],[43584,43597,1],[43600,43609,1],[43612,43615,1]],[],0],Cherokee:[[[5024,5109,1],[5112,5117,1],[43888,43967,1]],[],0],Chorasmian:[[],[[69552,69579,1]],0],Common:[[[0,64,1],[91,96,1],[123,169,1],[171,185,1],[187,191,1],[215,247,32],[697,735,1],[741,745,1],[748,767,1],[884,894,10],[901,903,2],[1541,1548,7],[1563,1567,4],[1600,1757,157],[2274,2404,130],[2405,3647,1242],[4053,4056,1],[4347,5867,1520],[5868,5869,1],[5941,5942,1],[6146,6147,1],[6149,7379,1230],[7393,7401,8],[7402,7404,1],[7406,7411,1],[7413,7415,1],[7418,8192,774],[8193,8203,1],[8206,8292,1],[8294,8304,1],[8308,8318,1],[8320,8334,1],[8352,8384,1],[8448,8485,1],[8487,8489,1],[8492,8497,1],[8499,8525,1],[8527,8543,1],[8585,8587,1],[8592,9254,1],[9280,9290,1],[9312,10239,1],[10496,11123,1],[11126,11157,1],[11159,11263,1],[11776,11869,1],[12272,12283,1],[12288,12292,1],[12294,12296,2],[12297,12320,1],[12336,12343,1],[12348,12351,1],[12443,12444,1],[12448,12539,91],[12540,12688,148],[12689,12703,1],[12736,12771,1],[12832,12895,1],[12927,13007,1],[13055,13144,89],[13145,13311,1],[19904,19967,1],[42752,42785,1],[42888,42890,1],[43056,43065,1],[43310,43471,161],[43867,43882,15],[43883,64830,20947],[64831,65040,209],[65041,65049,1],[65072,65106,1],[65108,65126,1],[65128,65131,1],[65279,65281,2],[65282,65312,1],[65339,65344,1],[65371,65381,1],[65392,65438,46],[65439,65504,65],[65505,65510,1],[65512,65518,1],[65529,65533,1]],[[65792,65794,1],[65799,65843,1],[65847,65855,1],[65936,65948,1],[66e3,66044,1],[66273,66299,1],[113824,113827,1],[118608,118723,1],[118784,119029,1],[119040,119078,1],[119081,119142,1],[119146,119162,1],[119171,119172,1],[119180,119209,1],[119214,119274,1],[119488,119507,1],[119520,119539,1],[119552,119638,1],[119648,119672,1],[119808,119892,1],[119894,119964,1],[119966,119967,1],[119970,119973,3],[119974,119977,3],[119978,119980,1],[119982,119993,1],[119995,119997,2],[119998,120003,1],[120005,120069,1],[120071,120074,1],[120077,120084,1],[120086,120092,1],[120094,120121,1],[120123,120126,1],[120128,120132,1],[120134,120138,4],[120139,120144,1],[120146,120485,1],[120488,120779,1],[120782,120831,1],[126065,126132,1],[126209,126269,1],[126976,127019,1],[127024,127123,1],[127136,127150,1],[127153,127167,1],[127169,127183,1],[127185,127221,1],[127232,127405,1],[127462,127487,1],[127489,127490,1],[127504,127547,1],[127552,127560,1],[127568,127569,1],[127584,127589,1],[127744,128727,1],[128732,128748,1],[128752,128764,1],[128768,128886,1],[128891,128985,1],[128992,129003,1],[129008,129024,16],[129025,129035,1],[129040,129095,1],[129104,129113,1],[129120,129159,1],[129168,129197,1],[129200,129201,1],[129280,129619,1],[129632,129645,1],[129648,129660,1],[129664,129672,1],[129680,129725,1],[129727,129733,1],[129742,129755,1],[129760,129768,1],[129776,129784,1],[129792,129938,1],[129940,129994,1],[130032,130041,1],[917505,917536,31],[917537,917631,1]],6],Coptic:[[[994,1007,1],[11392,11507,1],[11513,11519,1]],[],0],Cuneiform:[[],[[73728,74649,1],[74752,74862,1],[74864,74868,1],[74880,75075,1]],0],Cypriot:[[],[[67584,67589,1],[67592,67594,2],[67595,67637,1],[67639,67640,1],[67644,67647,3]],0],Cypro_Minoan:[[],[[77712,77810,1]],0],Cyrillic:[[[1024,1156,1],[1159,1327,1],[7296,7304,1],[7467,7544,77],[11744,11775,1],[42560,42655,1],[65070,65071,1]],[[122928,122989,1],[123023,123023,1]],0],Deseret:[[],[[66560,66639,1]],0],Devanagari:[[[2304,2384,1],[2389,2403,1],[2406,2431,1],[43232,43263,1]],[[72448,72457,1]],0],Dives_Akuru:[[],[[71936,71942,1],[71945,71948,3],[71949,71955,1],[71957,71958,1],[71960,71989,1],[71991,71992,1],[71995,72006,1],[72016,72025,1]],0],Dogra:[[],[[71680,71739,1]],0],Duployan:[[],[[113664,113770,1],[113776,113788,1],[113792,113800,1],[113808,113817,1],[113820,113823,1]],0],Egyptian_Hieroglyphs:[[],[[77824,78933,1]],0],Elbasan:[[],[[66816,66855,1]],0],Elymaic:[[],[[69600,69622,1]],0],Ethiopic:[[[4608,4680,1],[4682,4685,1],[4688,4694,1],[4696,4698,2],[4699,4701,1],[4704,4744,1],[4746,4749,1],[4752,4784,1],[4786,4789,1],[4792,4798,1],[4800,4802,2],[4803,4805,1],[4808,4822,1],[4824,4880,1],[4882,4885,1],[4888,4954,1],[4957,4988,1],[4992,5017,1],[11648,11670,1],[11680,11686,1],[11688,11694,1],[11696,11702,1],[11704,11710,1],[11712,11718,1],[11720,11726,1],[11728,11734,1],[11736,11742,1],[43777,43782,1],[43785,43790,1],[43793,43798,1],[43808,43814,1],[43816,43822,1]],[[124896,124902,1],[124904,124907,1],[124909,124910,1],[124912,124926,1]],0],Georgian:[[[4256,4293,1],[4295,4301,6],[4304,4346,1],[4348,4351,1],[7312,7354,1],[7357,7359,1],[11520,11557,1],[11559,11565,6]],[],0],Glagolitic:[[[11264,11359,1]],[[122880,122886,1],[122888,122904,1],[122907,122913,1],[122915,122916,1],[122918,122922,1]],0],Gothic:[[],[[66352,66378,1]],0],Grantha:[[],[[70400,70403,1],[70405,70412,1],[70415,70416,1],[70419,70440,1],[70442,70448,1],[70450,70451,1],[70453,70457,1],[70460,70468,1],[70471,70472,1],[70475,70477,1],[70480,70487,7],[70493,70499,1],[70502,70508,1],[70512,70516,1]],0],Greek:[[[880,883,1],[885,887,1],[890,893,1],[895,900,5],[902,904,2],[905,906,1],[908,910,2],[911,929,1],[931,993,1],[1008,1023,1],[7462,7466,1],[7517,7521,1],[7526,7530,1],[7615,7936,321],[7937,7957,1],[7960,7965,1],[7968,8005,1],[8008,8013,1],[8016,8023,1],[8025,8031,2],[8032,8061,1],[8064,8116,1],[8118,8132,1],[8134,8147,1],[8150,8155,1],[8157,8175,1],[8178,8180,1],[8182,8190,1],[8486,43877,35391]],[[65856,65934,1],[65952,119296,53344],[119297,119365,1]],0],Gujarati:[[[2689,2691,1],[2693,2701,1],[2703,2705,1],[2707,2728,1],[2730,2736,1],[2738,2739,1],[2741,2745,1],[2748,2757,1],[2759,2761,1],[2763,2765,1],[2768,2784,16],[2785,2787,1],[2790,2801,1],[2809,2815,1]],[],0],Gunjala_Gondi:[[],[[73056,73061,1],[73063,73064,1],[73066,73102,1],[73104,73105,1],[73107,73112,1],[73120,73129,1]],0],Gurmukhi:[[[2561,2563,1],[2565,2570,1],[2575,2576,1],[2579,2600,1],[2602,2608,1],[2610,2611,1],[2613,2614,1],[2616,2617,1],[2620,2622,2],[2623,2626,1],[2631,2632,1],[2635,2637,1],[2641,2649,8],[2650,2652,1],[2654,2662,8],[2663,2678,1]],[],0],Han:[[[11904,11929,1],[11931,12019,1],[12032,12245,1],[12293,12295,2],[12321,12329,1],[12344,12347,1],[13312,19903,1],[19968,40959,1],[63744,64109,1],[64112,64217,1]],[[94178,94179,1],[94192,94193,1],[131072,173791,1],[173824,177977,1],[177984,178205,1],[178208,183969,1],[183984,191456,1],[194560,195101,1],[196608,201546,1],[201552,205743,1]],0],Hangul:[[[4352,4607,1],[12334,12335,1],[12593,12686,1],[12800,12830,1],[12896,12926,1],[43360,43388,1],[44032,55203,1],[55216,55238,1],[55243,55291,1],[65440,65470,1],[65474,65479,1],[65482,65487,1],[65490,65495,1],[65498,65500,1]],[],0],Hanifi_Rohingya:[[],[[68864,68903,1],[68912,68921,1]],0],Hanunoo:[[[5920,5940,1]],[],0],Hatran:[[],[[67808,67826,1],[67828,67829,1],[67835,67839,1]],0],Hebrew:[[[1425,1479,1],[1488,1514,1],[1519,1524,1],[64285,64310,1],[64312,64316,1],[64318,64320,2],[64321,64323,2],[64324,64326,2],[64327,64335,1]],[],0],Hiragana:[[[12353,12438,1],[12445,12447,1]],[[110593,110879,1],[110898,110928,30],[110929,110930,1],[127488,127488,1]],0],Imperial_Aramaic:[[],[[67648,67669,1],[67671,67679,1]],0],Inherited:[[[768,879,1],[1157,1158,1],[1611,1621,1],[1648,2385,737],[2386,2388,1],[6832,6862,1],[7376,7378,1],[7380,7392,1],[7394,7400,1],[7405,7412,7],[7416,7417,1],[7616,7679,1],[8204,8205,1],[8400,8432,1],[12330,12333,1],[12441,12442,1],[65024,65039,1],[65056,65069,1]],[[66045,66272,227],[70459,118528,48069],[118529,118573,1],[118576,118598,1],[119143,119145,1],[119163,119170,1],[119173,119179,1],[119210,119213,1],[917760,917999,1]],0],Inscriptional_Pahlavi:[[],[[68448,68466,1],[68472,68479,1]],0],Inscriptional_Parthian:[[],[[68416,68437,1],[68440,68447,1]],0],Javanese:[[[43392,43469,1],[43472,43481,1],[43486,43487,1]],[],0],Kaithi:[[],[[69760,69826,1],[69837,69837,1]],0],Kannada:[[[3200,3212,1],[3214,3216,1],[3218,3240,1],[3242,3251,1],[3253,3257,1],[3260,3268,1],[3270,3272,1],[3274,3277,1],[3285,3286,1],[3293,3294,1],[3296,3299,1],[3302,3311,1],[3313,3315,1]],[],0],Katakana:[[[12449,12538,1],[12541,12543,1],[12784,12799,1],[13008,13054,1],[13056,13143,1],[65382,65391,1],[65393,65437,1]],[[110576,110579,1],[110581,110587,1],[110589,110590,1],[110592,110880,288],[110881,110882,1],[110933,110948,15],[110949,110951,1]],0],Kawi:[[],[[73472,73488,1],[73490,73530,1],[73534,73561,1]],0],Kayah_Li:[[[43264,43309,1],[43311,43311,1]],[],0],Kharoshthi:[[],[[68096,68099,1],[68101,68102,1],[68108,68115,1],[68117,68119,1],[68121,68149,1],[68152,68154,1],[68159,68168,1],[68176,68184,1]],0],Khitan_Small_Script:[[],[[94180,101120,6940],[101121,101589,1]],0],Khmer:[[[6016,6109,1],[6112,6121,1],[6128,6137,1],[6624,6655,1]],[],0],Khojki:[[],[[70144,70161,1],[70163,70209,1]],0],Khudawadi:[[],[[70320,70378,1],[70384,70393,1]],0],Lao:[[[3713,3714,1],[3716,3718,2],[3719,3722,1],[3724,3747,1],[3749,3751,2],[3752,3773,1],[3776,3780,1],[3782,3784,2],[3785,3790,1],[3792,3801,1],[3804,3807,1]],[],0],Latin:[[[65,90,1],[97,122,1],[170,186,16],[192,214,1],[216,246,1],[248,696,1],[736,740,1],[7424,7461,1],[7468,7516,1],[7522,7525,1],[7531,7543,1],[7545,7614,1],[7680,7935,1],[8305,8319,14],[8336,8348,1],[8490,8491,1],[8498,8526,28],[8544,8584,1],[11360,11391,1],[42786,42887,1],[42891,42954,1],[42960,42961,1],[42963,42965,2],[42966,42969,1],[42994,43007,1],[43824,43866,1],[43868,43876,1],[43878,43881,1],[64256,64262,1],[65313,65338,1],[65345,65370,1]],[[67456,67461,1],[67463,67504,1],[67506,67514,1],[122624,122654,1],[122661,122666,1]],5],Lepcha:[[[7168,7223,1],[7227,7241,1],[7245,7247,1]],[],0],Limbu:[[[6400,6430,1],[6432,6443,1],[6448,6459,1],[6464,6468,4],[6469,6479,1]],[],0],Linear_A:[[],[[67072,67382,1],[67392,67413,1],[67424,67431,1]],0],Linear_B:[[],[[65536,65547,1],[65549,65574,1],[65576,65594,1],[65596,65597,1],[65599,65613,1],[65616,65629,1],[65664,65786,1]],0],Lisu:[[[42192,42239,1]],[[73648,73648,1]],0],Lycian:[[],[[66176,66204,1]],0],Lydian:[[],[[67872,67897,1],[67903,67903,1]],0],Mahajani:[[],[[69968,70006,1]],0],Makasar:[[],[[73440,73464,1]],0],Malayalam:[[[3328,3340,1],[3342,3344,1],[3346,3396,1],[3398,3400,1],[3402,3407,1],[3412,3427,1],[3430,3455,1]],[],0],Mandaic:[[[2112,2139,1],[2142,2142,1]],[],0],Manichaean:[[],[[68288,68326,1],[68331,68342,1]],0],Marchen:[[],[[72816,72847,1],[72850,72871,1],[72873,72886,1]],0],Masaram_Gondi:[[],[[72960,72966,1],[72968,72969,1],[72971,73014,1],[73018,73020,2],[73021,73023,2],[73024,73031,1],[73040,73049,1]],0],Medefaidrin:[[],[[93760,93850,1]],0],Meetei_Mayek:[[[43744,43766,1],[43968,44013,1],[44016,44025,1]],[],0],Mende_Kikakui:[[],[[124928,125124,1],[125127,125142,1]],0],Meroitic_Cursive:[[],[[68e3,68023,1],[68028,68047,1],[68050,68095,1]],0],Meroitic_Hieroglyphs:[[],[[67968,67999,1]],0],Miao:[[],[[93952,94026,1],[94031,94087,1],[94095,94111,1]],0],Modi:[[],[[71168,71236,1],[71248,71257,1]],0],Mongolian:[[[6144,6145,1],[6148,6150,2],[6151,6169,1],[6176,6264,1],[6272,6314,1]],[[71264,71276,1]],0],Mro:[[],[[92736,92766,1],[92768,92777,1],[92782,92783,1]],0],Multani:[[],[[70272,70278,1],[70280,70282,2],[70283,70285,1],[70287,70301,1],[70303,70313,1]],0],Myanmar:[[[4096,4255,1],[43488,43518,1],[43616,43647,1]],[],0],Nabataean:[[],[[67712,67742,1],[67751,67759,1]],0],Nag_Mundari:[[],[[124112,124153,1]],0],Nandinagari:[[],[[72096,72103,1],[72106,72151,1],[72154,72164,1]],0],New_Tai_Lue:[[[6528,6571,1],[6576,6601,1],[6608,6618,1],[6622,6623,1]],[],0],Newa:[[],[[70656,70747,1],[70749,70753,1]],0],Nko:[[[1984,2042,1],[2045,2047,1]],[],0],Nushu:[[],[[94177,110960,16783],[110961,111355,1]],0],Nyiakeng_Puachue_Hmong:[[],[[123136,123180,1],[123184,123197,1],[123200,123209,1],[123214,123215,1]],0],Ogham:[[[5760,5788,1]],[],0],Ol_Chiki:[[[7248,7295,1]],[],0],Old_Hungarian:[[],[[68736,68786,1],[68800,68850,1],[68858,68863,1]],0],Old_Italic:[[],[[66304,66339,1],[66349,66351,1]],0],Old_North_Arabian:[[],[[68224,68255,1]],0],Old_Permic:[[],[[66384,66426,1]],0],Old_Persian:[[],[[66464,66499,1],[66504,66517,1]],0],Old_Sogdian:[[],[[69376,69415,1]],0],Old_South_Arabian:[[],[[68192,68223,1]],0],Old_Turkic:[[],[[68608,68680,1]],0],Old_Uyghur:[[],[[69488,69513,1]],0],Oriya:[[[2817,2819,1],[2821,2828,1],[2831,2832,1],[2835,2856,1],[2858,2864,1],[2866,2867,1],[2869,2873,1],[2876,2884,1],[2887,2888,1],[2891,2893,1],[2901,2903,1],[2908,2909,1],[2911,2915,1],[2918,2935,1]],[],0],Osage:[[],[[66736,66771,1],[66776,66811,1]],0],Osmanya:[[],[[66688,66717,1],[66720,66729,1]],0],Pahawh_Hmong:[[],[[92928,92997,1],[93008,93017,1],[93019,93025,1],[93027,93047,1],[93053,93071,1]],0],Palmyrene:[[],[[67680,67711,1]],0],Pau_Cin_Hau:[[],[[72384,72440,1]],0],Phags_Pa:[[[43072,43127,1]],[],0],Phoenician:[[],[[67840,67867,1],[67871,67871,1]],0],Psalter_Pahlavi:[[],[[68480,68497,1],[68505,68508,1],[68521,68527,1]],0],Rejang:[[[43312,43347,1],[43359,43359,1]],[],0],Runic:[[[5792,5866,1],[5870,5880,1]],[],0],Samaritan:[[[2048,2093,1],[2096,2110,1]],[],0],Saurashtra:[[[43136,43205,1],[43214,43225,1]],[],0],Sharada:[[],[[70016,70111,1]],0],Shavian:[[],[[66640,66687,1]],0],Siddham:[[],[[71040,71093,1],[71096,71133,1]],0],SignWriting:[[],[[120832,121483,1],[121499,121503,1],[121505,121519,1]],0],Sinhala:[[[3457,3459,1],[3461,3478,1],[3482,3505,1],[3507,3515,1],[3517,3520,3],[3521,3526,1],[3530,3535,5],[3536,3540,1],[3542,3544,2],[3545,3551,1],[3558,3567,1],[3570,3572,1]],[[70113,70132,1]],0],Sogdian:[[],[[69424,69465,1]],0],Sora_Sompeng:[[],[[69840,69864,1],[69872,69881,1]],0],Soyombo:[[],[[72272,72354,1]],0],Sundanese:[[[7040,7103,1],[7360,7367,1]],[],0],Syloti_Nagri:[[[43008,43052,1]],[],0],Syriac:[[[1792,1805,1],[1807,1866,1],[1869,1871,1],[2144,2154,1]],[],0],Tagalog:[[[5888,5909,1],[5919,5919,1]],[],0],Tagbanwa:[[[5984,5996,1],[5998,6e3,1],[6002,6003,1]],[],0],Tai_Le:[[[6480,6509,1],[6512,6516,1]],[],0],Tai_Tham:[[[6688,6750,1],[6752,6780,1],[6783,6793,1],[6800,6809,1],[6816,6829,1]],[],0],Tai_Viet:[[[43648,43714,1],[43739,43743,1]],[],0],Takri:[[],[[71296,71353,1],[71360,71369,1]],0],Tamil:[[[2946,2947,1],[2949,2954,1],[2958,2960,1],[2962,2965,1],[2969,2970,1],[2972,2974,2],[2975,2979,4],[2980,2984,4],[2985,2986,1],[2990,3001,1],[3006,3010,1],[3014,3016,1],[3018,3021,1],[3024,3031,7],[3046,3066,1]],[[73664,73713,1],[73727,73727,1]],0],Tangsa:[[],[[92784,92862,1],[92864,92873,1]],0],Tangut:[[],[[94176,94208,32],[94209,100343,1],[100352,101119,1],[101632,101640,1]],0],Telugu:[[[3072,3084,1],[3086,3088,1],[3090,3112,1],[3114,3129,1],[3132,3140,1],[3142,3144,1],[3146,3149,1],[3157,3158,1],[3160,3162,1],[3165,3168,3],[3169,3171,1],[3174,3183,1],[3191,3199,1]],[],0],Thaana:[[[1920,1969,1]],[],0],Thai:[[[3585,3642,1],[3648,3675,1]],[],0],Tibetan:[[[3840,3911,1],[3913,3948,1],[3953,3991,1],[3993,4028,1],[4030,4044,1],[4046,4052,1],[4057,4058,1]],[],0],Tifinagh:[[[11568,11623,1],[11631,11632,1],[11647,11647,1]],[],0],Tirhuta:[[],[[70784,70855,1],[70864,70873,1]],0],Toto:[[],[[123536,123566,1]],0],Ugaritic:[[],[[66432,66461,1],[66463,66463,1]],0],Vai:[[[42240,42539,1]],[],0],Vithkuqi:[[],[[66928,66938,1],[66940,66954,1],[66956,66962,1],[66964,66965,1],[66967,66977,1],[66979,66993,1],[66995,67001,1],[67003,67004,1]],0],Wancho:[[],[[123584,123641,1],[123647,123647,1]],0],Warang_Citi:[[],[[71840,71922,1],[71935,71935,1]],0],Yezidi:[[],[[69248,69289,1],[69291,69293,1],[69296,69297,1]],0],Yi:[[[40960,42124,1],[42128,42182,1]],[],0],Zanabazar_Square:[[],[[72192,72263,1]],0]},vse={ASCII_Hex_Digit:[[[48,57,1],[65,70,1],[97,102,1]],[],3],Bidi_Control:[[[1564,8206,6642],[8207,8234,27],[8235,8238,1],[8294,8297,1]],[],0],Dash:[[[45,1418,1373],[1470,5120,3650],[6150,8208,2058],[8209,8213,1],[8275,8315,40],[8331,8722,391],[11799,11802,3],[11834,11835,1],[11840,11869,29],[12316,12336,20],[12448,65073,52625],[65074,65112,38],[65123,65293,170]],[[69293,69293,1]],0],Deprecated:[[[329,1651,1322],[3959,3961,2],[6051,6052,1],[8298,8303,1],[9001,9002,1]],[[917505,917505,1]],0],Diacritic:[[[94,96,2],[168,175,7],[180,183,3],[184,688,504],[689,846,1],[848,855,1],[861,866,1],[884,885,1],[890,900,10],[901,1155,254],[1156,1159,1],[1369,1425,56],[1426,1441,1],[1443,1469,1],[1471,1473,2],[1474,1476,2],[1611,1618,1],[1623,1624,1],[1759,1760,1],[1765,1766,1],[1770,1772,1],[1840,1866,1],[1958,1968,1],[2027,2037,1],[2072,2073,1],[2200,2207,1],[2249,2258,1],[2275,2302,1],[2364,2381,17],[2385,2388,1],[2417,2492,75],[2509,2620,111],[2637,2748,111],[2765,2813,48],[2814,2815,1],[2876,2893,17],[2901,3021,120],[3132,3149,17],[3260,3277,17],[3387,3388,1],[3405,3655,125],[3656,3660,1],[3662,3770,108],[3784,3788,1],[3864,3865,1],[3893,3897,2],[3902,3903,1],[3970,3972,1],[3974,3975,1],[4038,4151,113],[4153,4154,1],[4195,4196,1],[4201,4205,1],[4231,4237,1],[4239,4250,11],[4251,4957,706],[4958,4959,1],[5908,5909,1],[6089,6099,1],[6109,6457,348],[6458,6459,1],[6773,6780,1],[6783,6832,49],[6833,6846,1],[6849,6859,1],[6964,6980,16],[7019,7027,1],[7082,7083,1],[7222,7223,1],[7288,7293,1],[7376,7400,1],[7405,7412,7],[7415,7417,1],[7468,7530,1],[7620,7631,1],[7669,7679,1],[8125,8127,2],[8128,8129,1],[8141,8143,1],[8157,8159,1],[8173,8175,1],[8189,8190,1],[11503,11505,1],[11823,12330,507],[12331,12335,1],[12441,12444,1],[12540,42607,30067],[42620,42621,1],[42623,42652,29],[42653,42736,83],[42737,42752,15],[42753,42785,1],[42888,42890,1],[43e3,43001,1],[43204,43232,28],[43233,43249,1],[43307,43310,1],[43347,43443,96],[43456,43493,37],[43643,43645,1],[43711,43714,1],[43766,43867,101],[43868,43871,1],[43881,43883,1],[44012,44013,1],[64286,65056,770],[65057,65071,1],[65342,65344,2],[65392,65438,46],[65439,65507,68]],[[66272,67456,1184],[67457,67461,1],[67463,67504,1],[67506,67514,1],[68325,68326,1],[68898,68903,1],[69373,69375,1],[69446,69456,1],[69506,69509,1],[69702,69744,42],[69817,69818,1],[69939,69940,1],[70003,70080,77],[70090,70092,1],[70197,70198,1],[70377,70378,1],[70460,70477,17],[70502,70508,1],[70512,70516,1],[70722,70726,4],[70850,70851,1],[71103,71104,1],[71231,71350,119],[71351,71467,116],[71737,71738,1],[71997,71998,1],[72003,72160,157],[72244,72263,19],[72345,72767,422],[73026,73028,2],[73029,73111,82],[78919,78933,1],[92912,92916,1],[92976,92982,1],[94095,94111,1],[94192,94193,1],[110576,110579,1],[110581,110587,1],[110589,110590,1],[118528,118573,1],[118576,118598,1],[119143,119145,1],[119149,119154,1],[119163,119170,1],[119173,119179,1],[119210,119213,1],[122928,122989,1],[123184,123190,1],[123566,123628,62],[123629,123631,1],[125136,125142,1],[125252,125254,1],[125256,125258,1]],3],Extender:[[[183,720,537],[721,1600,879],[2042,2901,859],[3654,3782,128],[6154,6211,57],[6823,7222,399],[7291,12293,5002],[12337,12341,1],[12445,12446,1],[12540,12542,1],[40981,42508,1527],[43471,43494,23],[43632,43741,109],[43763,43764,1],[65392,65392,1]],[[67457,67458,1],[70493,71110,617],[71111,71112,1],[72344,92994,20650],[92995,94176,1181],[94177,94179,2],[123196,123197,1],[125252,125254,1]],0],Hex_Digit:[[[48,57,1],[65,70,1],[97,102,1],[65296,65305,1],[65313,65318,1],[65345,65350,1]],[],3],Hyphen:[[[45,173,128],[1418,6150,4732],[8208,8209,1],[11799,12539,740],[65123,65293,170],[65381,65381,1]],[],1],IDS_Binary_Operator:[[[12272,12273,1],[12276,12283,1]],[],0],IDS_Trinary_Operator:[[[12274,12275,1]],[],0],Ideographic:[[[12294,12295,1],[12321,12329,1],[12344,12346,1],[13312,19903,1],[19968,40959,1],[63744,64109,1],[64112,64217,1]],[[94180,94208,28],[94209,100343,1],[100352,101589,1],[101632,101640,1],[110960,111355,1],[131072,173791,1],[173824,177977,1],[177984,178205,1],[178208,183969,1],[183984,191456,1],[194560,195101,1],[196608,201546,1],[201552,205743,1]],0],Join_Control:[[[8204,8205,1]],[],0],Logical_Order_Exception:[[[3648,3652,1],[3776,3780,1],[6581,6583,1],[6586,43701,37115],[43702,43705,3],[43707,43708,1]],[],0],Noncharacter_Code_Point:[[[64976,65007,1],[65534,65535,1]],[[131070,131071,1],[196606,196607,1],[262142,262143,1],[327678,327679,1],[393214,393215,1],[458750,458751,1],[524286,524287,1],[589822,589823,1],[655358,655359,1],[720894,720895,1],[786430,786431,1],[851966,851967,1],[917502,917503,1],[983038,983039,1],[1048574,1048575,1],[1114110,1114111,1]],0],Other_Alphabetic:[[[837,1456,619],[1457,1469,1],[1471,1473,2],[1474,1476,2],[1477,1479,2],[1552,1562,1],[1611,1623,1],[1625,1631,1],[1648,1750,102],[1751,1756,1],[1761,1764,1],[1767,1768,1],[1773,1809,36],[1840,1855,1],[1958,1968,1],[2070,2071,1],[2075,2083,1],[2085,2087,1],[2089,2092,1],[2260,2271,1],[2275,2281,1],[2288,2307,1],[2362,2363,1],[2366,2380,1],[2382,2383,1],[2389,2391,1],[2402,2403,1],[2433,2435,1],[2494,2500,1],[2503,2504,1],[2507,2508,1],[2519,2530,11],[2531,2561,30],[2562,2563,1],[2622,2626,1],[2631,2632,1],[2635,2636,1],[2641,2672,31],[2673,2677,4],[2689,2691,1],[2750,2757,1],[2759,2761,1],[2763,2764,1],[2786,2787,1],[2810,2812,1],[2817,2819,1],[2878,2884,1],[2887,2888,1],[2891,2892,1],[2902,2903,1],[2914,2915,1],[2946,3006,60],[3007,3010,1],[3014,3016,1],[3018,3020,1],[3031,3072,41],[3073,3076,1],[3134,3140,1],[3142,3144,1],[3146,3148,1],[3157,3158,1],[3170,3171,1],[3201,3203,1],[3262,3268,1],[3270,3272,1],[3274,3276,1],[3285,3286,1],[3298,3299,1],[3315,3328,13],[3329,3331,1],[3390,3396,1],[3398,3400,1],[3402,3404,1],[3415,3426,11],[3427,3457,30],[3458,3459,1],[3535,3540,1],[3542,3544,2],[3545,3551,1],[3570,3571,1],[3633,3636,3],[3637,3642,1],[3661,3761,100],[3764,3769,1],[3771,3772,1],[3789,3953,164],[3954,3971,1],[3981,3991,1],[3993,4028,1],[4139,4150,1],[4152,4155,3],[4156,4158,1],[4182,4185,1],[4190,4192,1],[4194,4196,1],[4199,4205,1],[4209,4212,1],[4226,4237,1],[4239,4250,11],[4251,4253,1],[5906,5907,1],[5938,5939,1],[5970,5971,1],[6002,6003,1],[6070,6088,1],[6277,6278,1],[6313,6432,119],[6433,6443,1],[6448,6456,1],[6679,6683,1],[6741,6750,1],[6753,6772,1],[6847,6848,1],[6860,6862,1],[6912,6916,1],[6965,6979,1],[7040,7042,1],[7073,7081,1],[7084,7085,1],[7143,7153,1],[7204,7222,1],[7655,7668,1],[9398,9449,1],[11744,11775,1],[42612,42619,1],[42654,42655,1],[43010,43019,9],[43043,43047,1],[43136,43137,1],[43188,43203,1],[43205,43263,58],[43302,43306,1],[43335,43346,1],[43392,43395,1],[43444,43455,1],[43493,43561,68],[43562,43574,1],[43587,43596,9],[43597,43643,46],[43644,43645,1],[43696,43698,2],[43699,43700,1],[43703,43704,1],[43710,43755,45],[43756,43759,1],[43765,44003,238],[44004,44010,1],[64286,64286,1]],[[66422,66426,1],[68097,68099,1],[68101,68102,1],[68108,68111,1],[68900,68903,1],[69291,69292,1],[69632,69634,1],[69688,69701,1],[69747,69748,1],[69760,69762,1],[69808,69816,1],[69826,69888,62],[69889,69890,1],[69927,69938,1],[69957,69958,1],[70016,70018,1],[70067,70079,1],[70094,70095,1],[70188,70196,1],[70199,70206,7],[70209,70367,158],[70368,70376,1],[70400,70403,1],[70462,70468,1],[70471,70472,1],[70475,70476,1],[70487,70498,11],[70499,70709,210],[70710,70721,1],[70723,70725,1],[70832,70849,1],[71087,71093,1],[71096,71102,1],[71132,71133,1],[71216,71230,1],[71232,71339,107],[71340,71349,1],[71453,71466,1],[71724,71736,1],[71984,71989,1],[71991,71992,1],[71995,71996,1],[72e3,72002,2],[72145,72151,1],[72154,72159,1],[72164,72193,29],[72194,72202,1],[72245,72249,1],[72251,72254,1],[72273,72283,1],[72330,72343,1],[72751,72758,1],[72760,72766,1],[72850,72871,1],[72873,72886,1],[73009,73014,1],[73018,73020,2],[73021,73023,2],[73024,73025,1],[73027,73031,4],[73098,73102,1],[73104,73105,1],[73107,73110,1],[73459,73462,1],[73472,73473,1],[73475,73524,49],[73525,73530,1],[73534,73536,1],[94031,94033,2],[94034,94087,1],[94095,94098,1],[94192,94193,1],[113822,122880,9058],[122881,122886,1],[122888,122904,1],[122907,122913,1],[122915,122916,1],[122918,122922,1],[123023,125255,2232],[127280,127305,1],[127312,127337,1],[127344,127369,1]],0],Other_Default_Ignorable_Code_Point:[[[847,4447,3600],[4448,6068,1620],[6069,8293,2224],[12644,65440,52796],[65520,65528,1]],[[917504,917506,2],[917507,917535,1],[917632,917759,1],[918e3,921599,1]],0],Other_Grapheme_Extend:[[[2494,2519,25],[2878,2903,25],[3006,3031,25],[3266,3285,19],[3286,3390,104],[3415,3535,120],[3551,6965,3414],[8204,12334,4130],[12335,65438,53103],[65439,65439,1]],[[70462,70487,25],[70832,70845,13],[71087,71984,897],[119141,119150,9],[119151,119154,1],[917536,917631,1]],0],Other_ID_Continue:[[[183,903,720],[4969,4977,1],[6618,6618,1]],[],0],Other_ID_Start:[[[6277,6278,1],[8472,8494,22],[12443,12444,1]],[],0],Other_Lowercase:[[[170,186,16],[688,696,1],[704,705,1],[736,740,1],[837,890,53],[4348,7468,3120],[7469,7530,1],[7544,7579,35],[7580,7615,1],[8305,8319,14],[8336,8348,1],[8560,8575,1],[9424,9449,1],[11388,11389,1],[42652,42653,1],[42864,42994,130],[42995,42996,1],[43e3,43001,1],[43868,43871,1],[43881,43881,1]],[[67456,67459,3],[67460,67461,1],[67463,67504,1],[67506,67514,1],[122928,122989,1]],1],Other_Math:[[[94,976,882],[977,978,1],[981,1008,27],[1009,1012,3],[1013,8214,7201],[8242,8244,1],[8256,8289,33],[8290,8292,1],[8317,8318,1],[8333,8334,1],[8400,8412,1],[8417,8421,4],[8422,8427,5],[8428,8431,1],[8450,8455,5],[8458,8467,1],[8469,8473,4],[8474,8477,1],[8484,8488,4],[8489,8492,3],[8493,8495,2],[8496,8497,1],[8499,8504,1],[8508,8511,1],[8517,8521,1],[8597,8601,1],[8604,8607,1],[8609,8610,1],[8612,8613,1],[8615,8617,2],[8618,8621,1],[8624,8625,1],[8630,8631,1],[8636,8653,1],[8656,8657,1],[8659,8661,2],[8662,8667,1],[8669,8676,7],[8677,8968,291],[8969,8971,1],[9140,9141,1],[9143,9168,25],[9186,9632,446],[9633,9646,13],[9647,9654,1],[9660,9664,1],[9670,9671,1],[9674,9675,1],[9679,9683,1],[9698,9700,2],[9703,9708,1],[9733,9734,1],[9792,9794,2],[9824,9827,1],[9837,9838,1],[10181,10182,1],[10214,10223,1],[10627,10648,1],[10712,10715,1],[10748,10749,1],[65121,65123,2],[65128,65340,212],[65342,65342,1]],[[119808,119892,1],[119894,119964,1],[119966,119967,1],[119970,119973,3],[119974,119977,3],[119978,119980,1],[119982,119993,1],[119995,119997,2],[119998,120003,1],[120005,120069,1],[120071,120074,1],[120077,120084,1],[120086,120092,1],[120094,120121,1],[120123,120126,1],[120128,120132,1],[120134,120138,4],[120139,120144,1],[120146,120485,1],[120488,120512,1],[120514,120538,1],[120540,120570,1],[120572,120596,1],[120598,120628,1],[120630,120654,1],[120656,120686,1],[120688,120712,1],[120714,120744,1],[120746,120770,1],[120772,120779,1],[120782,120831,1],[126464,126467,1],[126469,126495,1],[126497,126498,1],[126500,126503,3],[126505,126514,1],[126516,126519,1],[126521,126523,2],[126530,126535,5],[126537,126541,2],[126542,126543,1],[126545,126546,1],[126548,126551,3],[126553,126561,2],[126562,126564,2],[126567,126570,1],[126572,126578,1],[126580,126583,1],[126585,126588,1],[126590,126592,2],[126593,126601,1],[126603,126619,1],[126625,126627,1],[126629,126633,1],[126635,126651,1]],0],Other_Uppercase:[[[8544,8559,1],[9398,9423,1]],[[127280,127305,1],[127312,127337,1],[127344,127369,1]],0],Pattern_Syntax:[[[33,47,1],[58,64,1],[91,94,1],[96,123,27],[124,126,1],[161,167,1],[169,171,2],[172,176,2],[177,187,5],[191,215,24],[247,8208,7961],[8209,8231,1],[8240,8254,1],[8257,8275,1],[8277,8286,1],[8592,9311,1],[9472,10101,1],[10132,11263,1],[11776,11903,1],[12289,12291,1],[12296,12320,1],[12336,64830,52494],[64831,65093,262],[65094,65094,1]],[],10],Pattern_White_Space:[[[9,13,1],[32,133,101],[8206,8207,1],[8232,8233,1]],[],2],Prepended_Concatenation_Mark:[[[1536,1541,1],[1757,1807,50],[2192,2193,1],[2274,2274,1]],[[69821,69837,16]],0],Quotation_Mark:[[[34,39,5],[171,187,16],[8216,8223,1],[8249,8250,1],[11842,12300,458],[12301,12303,1],[12317,12319,1],[65089,65092,1],[65282,65287,5],[65378,65379,1]],[],2],Radical:[[[11904,11929,1],[11931,12019,1],[12032,12245,1]],[],0],Regional_Indicator:[[],[[127462,127487,1]],0],STerm:[[[33,46,13],[63,1417,1354],[1565,1567,1],[1748,1792,44],[1793,1794,1],[2041,2103,62],[2105,2109,4],[2110,2404,294],[2405,4170,1765],[4171,4962,791],[4967,4968,1],[5742,5941,199],[5942,6147,205],[6153,6468,315],[6469,6824,355],[6825,6827,1],[7002,7003,1],[7006,7007,1],[7037,7038,1],[7227,7228,1],[7294,7295,1],[8252,8253,1],[8263,8265,1],[11822,11836,14],[11859,11860,1],[12290,42239,29949],[42510,42511,1],[42739,42743,4],[43126,43127,1],[43214,43215,1],[43311,43464,153],[43465,43613,148],[43614,43615,1],[43760,43761,1],[44011,65106,21095],[65110,65111,1],[65281,65294,13],[65311,65377,66]],[[68182,68183,1],[69461,69465,1],[69510,69513,1],[69703,69704,1],[69822,69825,1],[69953,69955,1],[70085,70086,1],[70093,70110,17],[70111,70200,89],[70201,70203,2],[70204,70313,109],[70731,70732,1],[71106,71107,1],[71113,71127,1],[71233,71234,1],[71484,71486,1],[72004,72006,2],[72258,72259,1],[72347,72348,1],[72769,72770,1],[73463,73464,1],[73539,73540,1],[92782,92783,1],[92917,92983,66],[92984,92996,12],[93848,113823,19975],[121480,121480,1]],1],Sentence_Terminal:[[[33,46,13],[63,1417,1354],[1565,1567,1],[1748,1792,44],[1793,1794,1],[2041,2103,62],[2105,2109,4],[2110,2404,294],[2405,4170,1765],[4171,4962,791],[4967,4968,1],[5742,5941,199],[5942,6147,205],[6153,6468,315],[6469,6824,355],[6825,6827,1],[7002,7003,1],[7006,7007,1],[7037,7038,1],[7227,7228,1],[7294,7295,1],[8252,8253,1],[8263,8265,1],[11822,11836,14],[11859,11860,1],[12290,42239,29949],[42510,42511,1],[42739,42743,4],[43126,43127,1],[43214,43215,1],[43311,43464,153],[43465,43613,148],[43614,43615,1],[43760,43761,1],[44011,65106,21095],[65110,65111,1],[65281,65294,13],[65311,65377,66]],[[68182,68183,1],[69461,69465,1],[69510,69513,1],[69703,69704,1],[69822,69825,1],[69953,69955,1],[70085,70086,1],[70093,70110,17],[70111,70200,89],[70201,70203,2],[70204,70313,109],[70731,70732,1],[71106,71107,1],[71113,71127,1],[71233,71234,1],[71484,71486,1],[72004,72006,2],[72258,72259,1],[72347,72348,1],[72769,72770,1],[73463,73464,1],[73539,73540,1],[92782,92783,1],[92917,92983,66],[92984,92996,12],[93848,113823,19975],[121480,121480,1]],1],Soft_Dotted:[[[105,106,1],[303,585,282],[616,669,53],[690,1011,321],[1110,1112,2],[7522,7574,52],[7588,7592,4],[7725,7883,158],[8305,8520,215],[8521,11388,2867]],[[119842,119843,1],[119894,119895,1],[119946,119947,1],[119998,119999,1],[120050,120051,1],[120102,120103,1],[120154,120155,1],[120206,120207,1],[120258,120259,1],[120310,120311,1],[120362,120363,1],[120414,120415,1],[120466,120467,1],[122650,122956,306],[122957,122984,27]],1],Terminal_Punctuation:[[[33,44,11],[46,58,12],[59,63,4],[894,903,9],[1417,1475,58],[1548,1563,15],[1565,1567,1],[1748,1792,44],[1793,1802,1],[1804,2040,236],[2041,2096,55],[2097,2110,1],[2142,2404,262],[2405,3674,1269],[3675,3848,173],[3853,3858,1],[4170,4171,1],[4961,4968,1],[5742,5867,125],[5868,5869,1],[5941,5942,1],[6100,6102,1],[6106,6146,40],[6147,6149,1],[6152,6153,1],[6468,6469,1],[6824,6827,1],[7002,7003,1],[7005,7007,1],[7037,7038,1],[7227,7231,1],[7294,7295,1],[8252,8253,1],[8263,8265,1],[11822,11836,14],[11841,11852,11],[11854,11855,1],[11859,11860,1],[12289,12290,1],[42238,42239,1],[42509,42511,1],[42739,42743,1],[43126,43127,1],[43214,43215,1],[43311,43463,152],[43464,43465,1],[43613,43615,1],[43743,43760,17],[43761,44011,250],[65104,65106,1],[65108,65111,1],[65281,65292,11],[65294,65306,12],[65307,65311,4],[65377,65380,3]],[[66463,66512,49],[67671,67871,200],[68182,68183,1],[68336,68341,1],[68410,68415,1],[68505,68508,1],[69461,69465,1],[69510,69513,1],[69703,69709,1],[69822,69825,1],[69953,69955,1],[70085,70086,1],[70093,70110,17],[70111,70200,89],[70201,70204,1],[70313,70731,418],[70732,70733,1],[70746,70747,1],[71106,71109,1],[71113,71127,1],[71233,71234,1],[71484,71486,1],[72004,72006,2],[72258,72259,1],[72347,72348,1],[72353,72354,1],[72769,72771,1],[72817,73463,646],[73464,73539,75],[73540,74864,1324],[74865,74868,1],[92782,92783,1],[92917,92983,66],[92984,92985,1],[92996,93847,851],[93848,113823,19975],[121479,121482,1]],3],Unified_Ideograph:[[[13312,19903,1],[19968,40959,1],[64014,64015,1],[64017,64019,2],[64020,64031,11],[64033,64035,2],[64036,64039,3],[64040,64041,1]],[[131072,173791,1],[173824,177977,1],[177984,178205,1],[178208,183969,1],[183984,191456,1],[196608,201546,1],[201552,205743,1]],0],Variation_Selector:[[[6155,6157,1],[6159,65024,58865],[65025,65039,1]],[[917760,917999,1]],0],White_Space:[[[9,13,1],[32,133,101],[160,5760,5600],[8192,8202,1],[8232,8233,1],[8239,8287,48],[12288,12288,1]],[],2]},yse={L:[[[837,837,1]],[],0],Ll:[[[65,90,1],[192,214,1],[216,222,1],[256,302,2],[306,310,2],[313,327,2],[330,376,2],[377,381,2],[385,386,1],[388,390,2],[391,393,2],[394,395,1],[398,401,1],[403,404,1],[406,408,1],[412,413,1],[415,416,1],[418,422,2],[423,425,2],[428,430,2],[431,433,2],[434,435,1],[437,439,2],[440,444,4],[452,453,1],[455,456,1],[458,459,1],[461,475,2],[478,494,2],[497,498,1],[500,502,2],[503,504,1],[506,562,2],[570,571,1],[573,574,1],[577,579,2],[580,582,1],[584,590,2],[837,880,43],[882,886,4],[895,902,7],[904,906,1],[908,910,2],[911,913,2],[914,929,1],[931,939,1],[975,984,9],[986,1006,2],[1012,1015,3],[1017,1018,1],[1021,1071,1],[1120,1152,2],[1162,1216,2],[1217,1229,2],[1232,1326,2],[1329,1366,1],[4256,4293,1],[4295,4301,6],[5024,5109,1],[7312,7354,1],[7357,7359,1],[7680,7828,2],[7838,7934,2],[7944,7951,1],[7960,7965,1],[7976,7983,1],[7992,7999,1],[8008,8013,1],[8025,8031,2],[8040,8047,1],[8072,8079,1],[8088,8095,1],[8104,8111,1],[8120,8124,1],[8136,8140,1],[8152,8155,1],[8168,8172,1],[8184,8188,1],[8486,8490,4],[8491,8498,7],[8579,11264,2685],[11265,11311,1],[11360,11362,2],[11363,11364,1],[11367,11373,2],[11374,11376,1],[11378,11381,3],[11390,11392,1],[11394,11490,2],[11499,11501,2],[11506,42560,31054],[42562,42604,2],[42624,42650,2],[42786,42798,2],[42802,42862,2],[42873,42877,2],[42878,42886,2],[42891,42893,2],[42896,42898,2],[42902,42922,2],[42923,42926,1],[42928,42932,1],[42934,42948,2],[42949,42951,1],[42953,42960,7],[42966,42968,2],[42997,65313,22316],[65314,65338,1]],[[66560,66599,1],[66736,66771,1],[66928,66938,1],[66940,66954,1],[66956,66962,1],[66964,66965,1],[68736,68786,1],[71840,71871,1],[93760,93791,1],[125184,125217,1]],3],Lt:[[[452,454,2],[455,457,2],[458,460,2],[497,499,2],[8064,8071,1],[8080,8087,1],[8096,8103,1],[8115,8131,16],[8179,8179,1]],[],0],Lu:[[[97,122,1],[181,223,42],[224,246,1],[248,255,1],[257,303,2],[307,311,2],[314,328,2],[331,375,2],[378,382,2],[383,384,1],[387,389,2],[392,396,4],[402,405,3],[409,410,1],[414,417,3],[419,421,2],[424,429,5],[432,436,4],[438,441,3],[445,447,2],[453,454,1],[456,457,1],[459,460,1],[462,476,2],[477,495,2],[498,499,1],[501,505,4],[507,543,2],[547,563,2],[572,575,3],[576,578,2],[583,591,2],[592,596,1],[598,599,1],[601,603,2],[604,608,4],[609,613,2],[614,616,2],[617,620,1],[623,625,2],[626,629,3],[637,640,3],[642,643,1],[647,652,1],[658,669,11],[670,837,167],[881,883,2],[887,891,4],[892,893,1],[940,943,1],[945,974,1],[976,977,1],[981,983,1],[985,1007,2],[1008,1011,1],[1013,1019,3],[1072,1119,1],[1121,1153,2],[1163,1215,2],[1218,1230,2],[1231,1327,2],[1377,1414,1],[4304,4346,1],[4349,4351,1],[5112,5117,1],[7296,7304,1],[7545,7549,4],[7566,7681,115],[7683,7829,2],[7835,7841,6],[7843,7935,2],[7936,7943,1],[7952,7957,1],[7968,7975,1],[7984,7991,1],[8e3,8005,1],[8017,8023,2],[8032,8039,1],[8048,8061,1],[8112,8113,1],[8126,8144,18],[8145,8160,15],[8161,8165,4],[8526,8580,54],[11312,11359,1],[11361,11365,4],[11366,11372,2],[11379,11382,3],[11393,11491,2],[11500,11502,2],[11507,11520,13],[11521,11557,1],[11559,11565,6],[42561,42605,2],[42625,42651,2],[42787,42799,2],[42803,42863,2],[42874,42876,2],[42879,42887,2],[42892,42897,5],[42899,42900,1],[42903,42921,2],[42933,42947,2],[42952,42954,2],[42961,42967,6],[42969,42998,29],[43859,43888,29],[43889,43967,1],[65345,65370,1]],[[66600,66639,1],[66776,66811,1],[66967,66977,1],[66979,66993,1],[66995,67001,1],[67003,67004,1],[68800,68850,1],[71872,71903,1],[93792,93823,1],[125218,125251,1]],4],M:[[[921,953,32],[8126,8126,1]],[],0],Mn:[[[921,953,32],[8126,8126,1]],[],0]},bse={Common:[[[924,956,32]],[],0],Greek:[[[181,837,656]],[],0],Inherited:[[[921,953,32],[8126,8126,1]],[],0]},xse=[[65,90,0,32,0],[97,122,-32,0,-32],[181,181,743,0,743],[192,214,0,32,0],[216,222,0,32,0],[224,246,-32,0,-32],[248,254,-32,0,-32],[255,255,121,0,121],[256,303,1114112,1114112,1114112],[304,304,0,-199,0],[305,305,-232,0,-232],[306,311,1114112,1114112,1114112],[313,328,1114112,1114112,1114112],[330,375,1114112,1114112,1114112],[376,376,0,-121,0],[377,382,1114112,1114112,1114112],[383,383,-300,0,-300],[384,384,195,0,195],[385,385,0,210,0],[386,389,1114112,1114112,1114112],[390,390,0,206,0],[391,392,1114112,1114112,1114112],[393,394,0,205,0],[395,396,1114112,1114112,1114112],[398,398,0,79,0],[399,399,0,202,0],[400,400,0,203,0],[401,402,1114112,1114112,1114112],[403,403,0,205,0],[404,404,0,207,0],[405,405,97,0,97],[406,406,0,211,0],[407,407,0,209,0],[408,409,1114112,1114112,1114112],[410,410,163,0,163],[412,412,0,211,0],[413,413,0,213,0],[414,414,130,0,130],[415,415,0,214,0],[416,421,1114112,1114112,1114112],[422,422,0,218,0],[423,424,1114112,1114112,1114112],[425,425,0,218,0],[428,429,1114112,1114112,1114112],[430,430,0,218,0],[431,432,1114112,1114112,1114112],[433,434,0,217,0],[435,438,1114112,1114112,1114112],[439,439,0,219,0],[440,441,1114112,1114112,1114112],[444,445,1114112,1114112,1114112],[447,447,56,0,56],[452,452,0,2,1],[453,453,-1,1,0],[454,454,-2,0,-1],[455,455,0,2,1],[456,456,-1,1,0],[457,457,-2,0,-1],[458,458,0,2,1],[459,459,-1,1,0],[460,460,-2,0,-1],[461,476,1114112,1114112,1114112],[477,477,-79,0,-79],[478,495,1114112,1114112,1114112],[497,497,0,2,1],[498,498,-1,1,0],[499,499,-2,0,-1],[500,501,1114112,1114112,1114112],[502,502,0,-97,0],[503,503,0,-56,0],[504,543,1114112,1114112,1114112],[544,544,0,-130,0],[546,563,1114112,1114112,1114112],[570,570,0,10795,0],[571,572,1114112,1114112,1114112],[573,573,0,-163,0],[574,574,0,10792,0],[575,576,10815,0,10815],[577,578,1114112,1114112,1114112],[579,579,0,-195,0],[580,580,0,69,0],[581,581,0,71,0],[582,591,1114112,1114112,1114112],[592,592,10783,0,10783],[593,593,10780,0,10780],[594,594,10782,0,10782],[595,595,-210,0,-210],[596,596,-206,0,-206],[598,599,-205,0,-205],[601,601,-202,0,-202],[603,603,-203,0,-203],[604,604,42319,0,42319],[608,608,-205,0,-205],[609,609,42315,0,42315],[611,611,-207,0,-207],[613,613,42280,0,42280],[614,614,42308,0,42308],[616,616,-209,0,-209],[617,617,-211,0,-211],[618,618,42308,0,42308],[619,619,10743,0,10743],[620,620,42305,0,42305],[623,623,-211,0,-211],[625,625,10749,0,10749],[626,626,-213,0,-213],[629,629,-214,0,-214],[637,637,10727,0,10727],[640,640,-218,0,-218],[642,642,42307,0,42307],[643,643,-218,0,-218],[647,647,42282,0,42282],[648,648,-218,0,-218],[649,649,-69,0,-69],[650,651,-217,0,-217],[652,652,-71,0,-71],[658,658,-219,0,-219],[669,669,42261,0,42261],[670,670,42258,0,42258],[837,837,84,0,84],[880,883,1114112,1114112,1114112],[886,887,1114112,1114112,1114112],[891,893,130,0,130],[895,895,0,116,0],[902,902,0,38,0],[904,906,0,37,0],[908,908,0,64,0],[910,911,0,63,0],[913,929,0,32,0],[931,939,0,32,0],[940,940,-38,0,-38],[941,943,-37,0,-37],[945,961,-32,0,-32],[962,962,-31,0,-31],[963,971,-32,0,-32],[972,972,-64,0,-64],[973,974,-63,0,-63],[975,975,0,8,0],[976,976,-62,0,-62],[977,977,-57,0,-57],[981,981,-47,0,-47],[982,982,-54,0,-54],[983,983,-8,0,-8],[984,1007,1114112,1114112,1114112],[1008,1008,-86,0,-86],[1009,1009,-80,0,-80],[1010,1010,7,0,7],[1011,1011,-116,0,-116],[1012,1012,0,-60,0],[1013,1013,-96,0,-96],[1015,1016,1114112,1114112,1114112],[1017,1017,0,-7,0],[1018,1019,1114112,1114112,1114112],[1021,1023,0,-130,0],[1024,1039,0,80,0],[1040,1071,0,32,0],[1072,1103,-32,0,-32],[1104,1119,-80,0,-80],[1120,1153,1114112,1114112,1114112],[1162,1215,1114112,1114112,1114112],[1216,1216,0,15,0],[1217,1230,1114112,1114112,1114112],[1231,1231,-15,0,-15],[1232,1327,1114112,1114112,1114112],[1329,1366,0,48,0],[1377,1414,-48,0,-48],[4256,4293,0,7264,0],[4295,4295,0,7264,0],[4301,4301,0,7264,0],[4304,4346,3008,0,0],[4349,4351,3008,0,0],[5024,5103,0,38864,0],[5104,5109,0,8,0],[5112,5117,-8,0,-8],[7296,7296,-6254,0,-6254],[7297,7297,-6253,0,-6253],[7298,7298,-6244,0,-6244],[7299,7300,-6242,0,-6242],[7301,7301,-6243,0,-6243],[7302,7302,-6236,0,-6236],[7303,7303,-6181,0,-6181],[7304,7304,35266,0,35266],[7312,7354,0,-3008,0],[7357,7359,0,-3008,0],[7545,7545,35332,0,35332],[7549,7549,3814,0,3814],[7566,7566,35384,0,35384],[7680,7829,1114112,1114112,1114112],[7835,7835,-59,0,-59],[7838,7838,0,-7615,0],[7840,7935,1114112,1114112,1114112],[7936,7943,8,0,8],[7944,7951,0,-8,0],[7952,7957,8,0,8],[7960,7965,0,-8,0],[7968,7975,8,0,8],[7976,7983,0,-8,0],[7984,7991,8,0,8],[7992,7999,0,-8,0],[8e3,8005,8,0,8],[8008,8013,0,-8,0],[8017,8017,8,0,8],[8019,8019,8,0,8],[8021,8021,8,0,8],[8023,8023,8,0,8],[8025,8025,0,-8,0],[8027,8027,0,-8,0],[8029,8029,0,-8,0],[8031,8031,0,-8,0],[8032,8039,8,0,8],[8040,8047,0,-8,0],[8048,8049,74,0,74],[8050,8053,86,0,86],[8054,8055,100,0,100],[8056,8057,128,0,128],[8058,8059,112,0,112],[8060,8061,126,0,126],[8064,8071,8,0,8],[8072,8079,0,-8,0],[8080,8087,8,0,8],[8088,8095,0,-8,0],[8096,8103,8,0,8],[8104,8111,0,-8,0],[8112,8113,8,0,8],[8115,8115,9,0,9],[8120,8121,0,-8,0],[8122,8123,0,-74,0],[8124,8124,0,-9,0],[8126,8126,-7205,0,-7205],[8131,8131,9,0,9],[8136,8139,0,-86,0],[8140,8140,0,-9,0],[8144,8145,8,0,8],[8152,8153,0,-8,0],[8154,8155,0,-100,0],[8160,8161,8,0,8],[8165,8165,7,0,7],[8168,8169,0,-8,0],[8170,8171,0,-112,0],[8172,8172,0,-7,0],[8179,8179,9,0,9],[8184,8185,0,-128,0],[8186,8187,0,-126,0],[8188,8188,0,-9,0],[8486,8486,0,-7517,0],[8490,8490,0,-8383,0],[8491,8491,0,-8262,0],[8498,8498,0,28,0],[8526,8526,-28,0,-28],[8544,8559,0,16,0],[8560,8575,-16,0,-16],[8579,8580,1114112,1114112,1114112],[9398,9423,0,26,0],[9424,9449,-26,0,-26],[11264,11311,0,48,0],[11312,11359,-48,0,-48],[11360,11361,1114112,1114112,1114112],[11362,11362,0,-10743,0],[11363,11363,0,-3814,0],[11364,11364,0,-10727,0],[11365,11365,-10795,0,-10795],[11366,11366,-10792,0,-10792],[11367,11372,1114112,1114112,1114112],[11373,11373,0,-10780,0],[11374,11374,0,-10749,0],[11375,11375,0,-10783,0],[11376,11376,0,-10782,0],[11378,11379,1114112,1114112,1114112],[11381,11382,1114112,1114112,1114112],[11390,11391,0,-10815,0],[11392,11491,1114112,1114112,1114112],[11499,11502,1114112,1114112,1114112],[11506,11507,1114112,1114112,1114112],[11520,11557,-7264,0,-7264],[11559,11559,-7264,0,-7264],[11565,11565,-7264,0,-7264],[42560,42605,1114112,1114112,1114112],[42624,42651,1114112,1114112,1114112],[42786,42799,1114112,1114112,1114112],[42802,42863,1114112,1114112,1114112],[42873,42876,1114112,1114112,1114112],[42877,42877,0,-35332,0],[42878,42887,1114112,1114112,1114112],[42891,42892,1114112,1114112,1114112],[42893,42893,0,-42280,0],[42896,42899,1114112,1114112,1114112],[42900,42900,48,0,48],[42902,42921,1114112,1114112,1114112],[42922,42922,0,-42308,0],[42923,42923,0,-42319,0],[42924,42924,0,-42315,0],[42925,42925,0,-42305,0],[42926,42926,0,-42308,0],[42928,42928,0,-42258,0],[42929,42929,0,-42282,0],[42930,42930,0,-42261,0],[42931,42931,0,928,0],[42932,42947,1114112,1114112,1114112],[42948,42948,0,-48,0],[42949,42949,0,-42307,0],[42950,42950,0,-35384,0],[42951,42954,1114112,1114112,1114112],[42960,42961,1114112,1114112,1114112],[42966,42969,1114112,1114112,1114112],[42997,42998,1114112,1114112,1114112],[43859,43859,-928,0,-928],[43888,43967,-38864,0,-38864],[65313,65338,0,32,0],[65345,65370,-32,0,-32],[66560,66599,0,40,0],[66600,66639,-40,0,-40],[66736,66771,0,40,0],[66776,66811,-40,0,-40],[66928,66938,0,39,0],[66940,66954,0,39,0],[66956,66962,0,39,0],[66964,66965,0,39,0],[66967,66977,-39,0,-39],[66979,66993,-39,0,-39],[66995,67001,-39,0,-39],[67003,67004,-39,0,-39],[68736,68786,0,64,0],[68800,68850,-64,0,-64],[71840,71871,0,32,0],[71872,71903,-32,0,-32],[93760,93791,0,32,0],[93792,93823,-32,0,-32],[125184,125217,0,34,0],[125218,125251,-34,0,-34]],Sse=[[73,73,0,232,0],[105,105,199,0,199],[304,304,0,-199,0],[305,305,-232,0,-232]],Cse=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,91,92,93,94,95,96,65,66,67,68,69,70,71,72,73,74,8490,76,77,78,79,80,81,82,383,84,85,86,87,88,89,90,123,124,125,126,127],wse=[[223,7838],[229,8491],[304,304],[305,305],[452,453],[455,456],[458,459],[497,498],[931,962],[946,976],[949,1013],[952,977],[953,8126],[954,1008],[956,181],[960,982],[961,1009],[962,963],[966,981],[969,8486],[977,1012],[1012,920],[1074,7296],[1076,7297],[1086,7298],[1089,7299],[1090,7300],[1098,7302],[1123,7303],[7300,7301],[7777,7835],[8126,837],[8486,937],[8490,75],[8491,197],[42571,7304]],Sf=[1,1,1,1,1,1,1,1,1,1025,1025,1025,1025,1025,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,7168,6400,6400,6400,6656,6400,6400,6400,6400,6400,6400,6656,6400,6400,6400,6400,6240,6240,6240,6240,6240,6240,6240,6240,6240,6240,6400,6400,6656,6656,6656,6400,6400,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6400,6400,6400,6656,6400,6656,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6400,6656,6400,6656,1,1,1,1,1,1,1025,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3072,6400,6656,6656,6656,6656,6656,6400,6656,6656,6146,6400,6656,0,6656,6656,6656,6656,6176,6176,6656,6154,6400,6400,6656,6176,6146,6400,6176,6176,6176,6400,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6150,6656,6150,6150,6150,6150,6150,6150,6150,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6154,6656,6154,6154,6154,6154,6154,6154,6154,6154];var Cf=class e{Lo;Hi;Stride;constructor(e=0,t=0,n=0){if(typeof e==`object`){this.Lo=e.Lo??0,this.Hi=e.Hi??0,this.Stride=e.Stride??0;return}this.Lo=e,this.Hi=t,this.Stride=n}clone(){return new e(this.Lo,this.Hi,this.Stride)}},Tse=class e{Lo;Hi;Stride;constructor(e=0,t=0,n=0){if(typeof e==`object`){this.Lo=e.Lo??0,this.Hi=e.Hi??0,this.Stride=e.Stride??0;return}this.Lo=e,this.Hi=t,this.Stride=n}clone(){return new e(this.Lo,this.Hi,this.Stride)}},wf=class e{R16;R32;LatinOffset;constructor(e=[],t=[],n=0){if(Ese(e)){this.R16=Tf(e.R16),this.R32=Tf(e.R32),this.LatinOffset=e.LatinOffset??0;return}this.R16=Tf(e),this.R32=Tf(t),this.LatinOffset=n}clone(){return new e(this.R16.map(e=>e.clone()),this.R32.map(e=>e.clone()),this.LatinOffset)}};function Ese(e){return typeof e==`object`&&!!e&&(`R16`in e||`R32`in e||`LatinOffset`in e)}function Tf(e){return e==null?[]:Array.from(e)}var Dse=class e{Lo;Hi;Delta;constructor(e,t,n){this.Lo=e,this.Hi=t,this.Delta=n}clone(){return new e(this.Lo,this.Hi,[...this.Delta])}},Ose=class{ranges;constructor(e=[]){this.ranges=e}ToUpper(e){let[t,n]=Mf(0,e,this.ranges);return t===e&&!n&&(t=Pf(e)),t}ToTitle(e){let[t,n]=Mf(2,e,this.ranges);return t===e&&!n&&(t=Xse(e)),t}ToLower(e){let[t,n]=Mf(1,e,this.ranges);return t===e&&!n&&(t=Ff(e)),t}};function kse(e){return new wf(e[0].map(e=>new Cf(e[0],e[1],e[2])),e[1].map(e=>new Tse(e[0],e[1],e[2])),e[2])}function Ef(e){let t=new Map;for(let n of Object.keys(e))t.set(n,kse(e[n]));return t}function Ase(e){return e.map(e=>new Dse(e[0],e[1],[e[2],e[3],e[4]]))}const Df=Ef(gse),Of=Ef(_se),jse=Ef(vse),kf=Ef(yse),Mse=Ef(bse),Nse=new Map([[`Other`,`C`],[`cntrl`,`Cc`],[`Letter`,`L`],[`Mark`,`M`],[`Number`,`N`],[`Punctuation`,`P`],[`Symbol`,`S`],[`Separator`,`Z`],[`digit`,`Nd`]]);Df.get(`C`),Df.get(`Cc`),Df.get(`Cf`);const Pse=Df.get(`Cn`);Df.get(`Co`),Df.get(`Cs`);const Af=Df.get(`L`);Df.get(`LC`),Df.get(`Ll`),Df.get(`Lm`),Df.get(`Lo`),Df.get(`Lt`),Df.get(`Lu`);const Fse=Df.get(`M`);Df.get(`Mc`),Df.get(`Me`),Df.get(`Mn`);const Ise=Df.get(`N`),Lse=Df.get(`Nd`);Df.get(`Nl`),Df.get(`No`);const Rse=Df.get(`P`);Df.get(`Pc`),Df.get(`Pd`),Df.get(`Pe`),Df.get(`Pf`),Df.get(`Pi`),Df.get(`Po`),Df.get(`Ps`);const zse=Df.get(`S`);Df.get(`Sc`),Df.get(`Sk`),Df.get(`Sm`),Df.get(`So`),Df.get(`Z`),Df.get(`Zl`),Df.get(`Zp`);const Bse=Df.get(`Zs`),Vse=Af,Hse=Lse,Use=jse.get(`White_Space`),Wse=[Af,Fse,Ise,Rse,zse,Bse],Gse=[Af,Fse,Ise,Rse,zse],Kse=Ase(xse);new Ose(Ase(Sse));const qse=new Map(wse);function Jse(e,t){if(e.length<=18||t<=255){for(let n of e){if(t<n.Lo)return!1;if(t<=n.Hi)return n.Stride===1||(t-n.Lo)%n.Stride===0}return!1}let n=0,r=e.length;for(;n<r;){let i=n+(r-n>>1),a=e[i];if(a.Lo<=t&&t<=a.Hi)return a.Stride===1||(t-a.Lo)%a.Stride===0;t<a.Lo?r=i:n=i+1}return!1}function jf(e,t){let n=e.R16;if(n.length>0&&t>>>0<=n[n.length-1].Hi>>>0)return Jse(n,t&65535);let r=e.R32;return r.length>0&&t>=r[0].Lo&&Jse(r,t)}function Yse(e,...t){for(let n of t)if(jf(n,e))return!0;return!1}function Mf(e,t,n){if(e<0||e>=3)return[65533,!1];let r=0,i=n.length;for(;r<i;){let a=r+(i-r>>1),o=n[a];if(o.Lo<=t&&t<=o.Hi){let n=o.Delta[e];return n>1114111?[o.Lo+(t-o.Lo&-2|e&1),!0]:[t+n,!0]}t<o.Lo?i=a:r=a+1}return[t,!1]}function Nf(e,t){return Mf(e,t,Kse)[0]}function Pf(e){return e<=127?(e>=97&&e<=122&&(e-=32),e):Nf(0,e)}function Ff(e){return e<=127?(e>=65&&e<=90&&(e+=32),e):Nf(1,e)}function Xse(e){return e<=127?(e>=97&&e<=122&&(e-=32),e):Nf(2,e)}function If(e){if(e<0||e>1114111)return e;if(e<Cse.length)return Cse[e];let t=qse.get(e);if(t!==void 0)return t;let n=Ff(e);return n===e?Pf(e):n}function Lf(e){return e>=0&&e<=255}function Zse(e){return Lf(e)?!!(Sf[e]&64):jf(Hse,e)}function Qse(e){return Lf(e)?!!(Sf[e]&2):jf(Vse,e)}function Rf(e){return Lf(e)?!!(Sf[e]&1024):jf(Use,e)}function $se(e){return Lf(e)?!!(Sf[e]&2048):Yse(e,...Wse)}function zf(e){return Lf(e)?!!(Sf[e]&4096):Yse(e,...Gse)}function Bf(e,t){return jne(e,t)}function Vf(e,t){return Mne(e,t)}function ece(e,t){if(t===0||e===null||I(e)===0)return null;let n=[],r=0;for(;r<I(e)&&(t<0||n.length<t);){let[,t]=hd(P(e,r,void 0));t<=0?(n.push(P(e,r,r+1)),r++):(n.push(P(e,r,r+t)),r+=t)}return r<I(e)&&(t<0||n.length<t)&&n.push(P(e,r,void 0)),F(n)}function Hf(e,t){return t===null||I(t)===0?e===null?1:I(e)+1:(I(t),Ine(e,t))}function tce(e,t){return Xf(e,t)!==-1}function nce(e,t){return ace(e,t)>=0}function Uf(e,t){return Fne(e,t)}function rce(e,t){return t===null||I(t)===0?e===null?0:I(e):I(t)===1?Gs(e,t[0]):Pne(e,t)}function ice(e,t){return Gs(e,t)}function ace(e,t){if(e===null||t.length===0)return-1;let n=!0;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>=128){n=!1;break}if(n){for(let n=0;n<I(e);n++){let r=e[n];if(r<128&&t.indexOf(String.fromCharCode(r))>=0)return n}return-1}for(let n=0;n<I(e);){let[r,i]=hd(P(e,n,void 0));if(i<=0){n++;continue}if(vce(t,r))return n;n+=i}return-1}function oce(e,t,n,r){if(r===0)return null;if(t===null||I(t)===0)return ece(e,r);r<0&&(r=Hf(e,t)+1),r>Hf(e,t)+1&&(r=Hf(e,t)+1);let i=[],a=0;for(let o=0;o<r-1;o++){let r=Xf(P(e,a,void 0),t);if(r<0)break;let o=a+r+n;i.push(P(e,a,o)),a+=r+I(t)}return i.push(P(e,a,void 0)),F(i)}function sce(e,t){return oce(e,t,0,-1)}new Uint8Array([0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function Wf(e,t){if(e===null||I(e)===0)return new Uint8Array;if(I(e)===1)return e[0]===null?new Uint8Array:Us(e[0]).slice();let n=0,r=t===null?0:I(t);for(let t=0;t<I(e);t++){let r=e[t];r!==null&&(n+=I(r))}r>0&&(n+=r*(I(e)-1));let i=new Uint8Array(n),a=0,o=r===0?null:Us(t);for(let t=0;t<I(e);t++){t>0&&o!==null&&(i.set(o,a),a+=r);let n=e[t];if(n!==null){let e=Us(n);i.set(e,a),a+=e.length}}return i}function Gf(e,t){if(e===null&&(e=new Uint8Array),t===null&&(t=new Uint8Array),I(e)<I(t))return!1;let n=Hs(e),r=Hs(t);for(let e=0;e<r.length;e++)if(n[e]!==r[e])return!1;return!0}function Kf(e,t){if(e===null&&(e=new Uint8Array),t===null&&(t=new Uint8Array),I(e)<I(t))return!1;let n=Hs(e),r=Hs(t),i=n.length-r.length;for(let e=0;e<r.length;e++)if(n[i+e]!==r[e])return!1;return!0}function cce(e){if(e===null||I(e)===0)return new Uint8Array;let t=[];for(let n=0;n<I(e);){let[r,i]=hd(P(e,n,void 0));if(i<=0)t.push(e[n]),n++;else{let e=Ff(r),a=new Uint8Array(4),o=_d(a,e);for(let e=0;e<o;e++)t.push(a[e]);n+=i}}return new Uint8Array(t)}function lce(e,t){let n=mce(e,t,!1);return n===-1?null:P(e,n,void 0)}function uce(e,t){let n=hce(e,t,!1);if(n>=0&&I(e)>n){let[,t]=hd(P(e,n,void 0));return P(e,void 0,n+t)}return null}function dce(e,t){return uce(lce(e,t),t)}function fce(e,t){return Gf(e,t)?P(e,I(t),void 0):e}function pce(e,t){return Kf(e,t)?P(e,void 0,I(e)-I(t)):e}function mce(e,t,n){if(e===null||t===null)return-1;for(let r=0;r<I(e);){let[i,a]=hd(P(e,r,void 0));if(a<=0){if(qf(t(65533))===n)return r;r++}else{if(qf(t(i))===n)return r;r+=a}}return-1}function hce(e,t,n){if(e===null||t===null)return-1;let r=-1;for(let i=0;i<I(e);){let[a,o]=hd(P(e,i,void 0));o<=0?(qf(t(65533))===n&&(r=i),i++):(qf(t(a))===n&&(r=i),i+=o)}return r}function qf(e){if(e instanceof Promise)throw Error(`bytes: asynchronous callback result is not supported`);return e}var gce=class e{_value;constructor(e){this._value=e}valueOf(){return this._value}toString(){return String(this._value)}static from(t){return new e(t)}contains(e){return!!(this._value[e>>5]&1<<(e&31))}};function _ce(e){let t=new gce([0,0,0,0,0,0,0,0]);for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=128)return[t,!1];t._value[r>>5]|=1<<(r&31)}return[t,!0]}function vce(e,t){for(let n=0;n<e.length;){let r=e.codePointAt(n);if(r===t)return!0;n+=r>65535?2:1}return!1}function yce(e,t){if(e===null||t.length===0)return e;if(t.length===1&&t.charCodeAt(0)<128)return bce(e,t.charCodeAt(0));let[n,r]=_ce(t);return r?xce(e,n):Sce(e,t)}function bce(e,t){if(e===null)return null;for(let n=I(e)-1;n>=0;n--)if(e[n]!==t)return P(e,void 0,n+1);return null}function xce(e,t){if(e===null)return null;for(let n=I(e)-1;n>=0;n--){let r=e[n];if(r>=128||!t.contains(r))return P(e,void 0,n+1)}return null}function Sce(e,t){if(e===null)return null;let n=-1;for(let r=0;r<I(e);){let[i,a]=hd(P(e,r,void 0));if(a<=0)return P(e,void 0,r+1);vce(t,i)||(n=r+a),r+=a}return n<0?null:P(e,void 0,n)}function Jf(e){return dce(e,Rf)}function Cce(e,t,n,r){if(e===null)return new Uint8Array;if(r===0)return new Uint8Array(Hs(e));if(t===null||I(t)===0){let t=[],i=n===null?[]:Hs(n),a=0;for(let t=0;t<I(e);){let[,n]=hd(P(e,t,void 0));t+=n>0?n:1,a++}let o=r<0?a+1:Math.min(r,a+1),s=0;for(let n=0;n<o;n++){if(n>0){let[,n]=hd(P(e,s,void 0)),r=n>0?n:1;for(let n=0;n<r;n++)t.push(e[s+n]);s+=r}t.push(...i)}for(let n=s;n<I(e);n++)t.push(e[n]);return new Uint8Array(t)}let i=[],a=Hs(e),o=Hs(t),s=n===null?[]:Hs(n),c=0,l=0;for(;c<=a.length-o.length&&(r<0||l<r);){let e=!0;for(let t=0;t<o.length;t++)if(a[c+t]!==o[t]){e=!1;break}e?(i.push(...s),c+=o.length,l++):(i.push(a[c]),c++)}for(;c<a.length;)i.push(a[c]),c++;return new Uint8Array(i)}function wce(e,t,n){return Cce(e,t,n,-1)}function Yf(e,t){if(e===null&&t===null)return!0;if(e===null||t===null)return!1;let n=0,r=0;for(;n<I(e)&&r<I(t);){let[i,a]=hd(P(e,n,void 0)),[o,s]=hd(P(t,r,void 0));if(a<=0||s<=0){if(e[n]!==t[r])return!1;n++,r++;continue}n+=a,r+=s;let c=i,l=o;if(c===l)continue;if(l<c){let e=c;c=l,l=e}if(l<128){if(c>=65&&c<=90&&l===c+32)continue;return!1}let u=If(c);for(;u!==c&&u<l;)u=If(u);if(u!==l)return!1}return n===I(e)&&r===I(t)}function Xf(e,t){return Nne(e,t)}function Tce(e,t){let n=Xf(e,t);return n>=0?[P(e,void 0,n),P(e,n+I(t),void 0),!0]:[e,null,!1]}function Zf(e){return e===null?null:Us(e).slice()}function Ece(e,t){return Gf(e,t)?[P(e,I(t),void 0),!0]:[e,!1]}const{copy:Dce,recover:Oce}=Jne;var Qf=class e{get buf(){return this._fields.buf}set buf(e){this._fields.buf=e}get off(){return this._fields.off}set off(e){this._fields.off=e}get lastRead(){return this._fields.lastRead}set lastRead(e){this._fields.lastRead=e}_fields;constructor(e){this._fields={buf:e?.buf??null,off:e?.off??0,lastRead:e?.lastRead??0}}clone(){let t=new e;return t._fields={buf:this._fields.buf,off:this._fields.off,lastRead:this._fields.lastRead},t}Bytes(){let e=H(this);return P(e.buf,e.off,void 0)}AvailableBuffer(){let e=H(this);return P(e.buf,I(e.buf),void 0)}String(){let e=U(this);return e==null?`<nil>`:e.buf===null?``:B(P(e.buf,e.off,void 0))}empty(){let e=H(this);return I(e.buf)<=e.off}Len(){let e=H(this);return I(e.buf)-e.off}Cap(){let e=H(this);return _o(e.buf)}Available(){let e=H(this);return _o(e.buf)-I(e.buf)}Truncate(e){let t=H(this);if(e==0){t.Reset();return}t.lastRead=0,(e<0||e>t.Len())&&Hi(`bytes.Buffer: truncation out of range`),t.buf=P(t.buf,void 0,t.off+e)}Reset(){let e=H(this);e.buf=P(e.buf,void 0,0),e.off=0,e.lastRead=0}tryGrowByReslice(e){let t=H(this);if(t.buf===null)return[0,!1];{let n=I(t.buf);if(e<=_o(t.buf)-n)return t.buf=P(t.buf,void 0,n+e),[n,!0]}return[0,!1]}grow(e){let t=H(this),n=t.Len();n==0&&t.off!=0&&t.Reset();{let[n,r]=t.tryGrowByReslice(e);if(r)return n}if(t.buf==null)return t.buf=N(e,e<=64?64:e,`byte`),0;let r=_o(t.buf);return e<=r/2-n?R(Us(t.buf),Us(P(t.buf,t.off,void 0))):r>0x8000000000000000-r-e?Hi(kce):t.buf=jce(P(t.buf,t.off,void 0),t.off+e),t.off=0,t.buf=P(t.buf,void 0,n+e),n}Grow(e){let t=H(this);e<0&&Hi(`bytes.Buffer.Grow: negative count`);let n=t.grow(e);t.buf=P(t.buf,void 0,n)}Write(e){let t=H(this);t.lastRead=0;let[n,r]=t.tryGrowByReslice(I(e));return r||(n=t.grow(I(e))),R(P(t.buf,n,n+I(e)),e),[I(e),null]}WriteString(e){let t=H(this);t.lastRead=0;let[n,r]=t.tryGrowByReslice(I(e));return r||(n=t.grow(I(e))),R(P(t.buf,n,n+I(e)),e),[I(e),null]}ReadFrom(e){return(async()=>{let t=H(this);t.lastRead=0;let n=0n;for(;;){let r=t.grow(512);t.buf=P(t.buf,void 0,r);let[i,a]=await e.Read(Us(P(t.buf,r,_o(t.buf))));if(i<0&&Hi(Ace),t.buf=P(t.buf,void 0,r+i),n+=BigInt(i),a==jl)return[n,null];if(a!=null)return[n,a]}})()}WriteTo(e){return(async()=>{let t=H(this);t.lastRead=0;let n=0n;{let r=t.Len();if(r>0){let[i,a]=await e.Write(Us(P(t.buf,t.off,void 0)));if(i>r&&Hi(`bytes.Buffer.WriteTo: invalid Write count`),t.off+=i,n=BigInt(i),a!=null)return[n,a];if(i!=r)return[n,Fl]}}return t.Reset(),[n,null]})()}WriteByte(e){let t=H(this);t.lastRead=0;let[n,r]=t.tryGrowByReslice(1);return r||(n=t.grow(1)),t.buf[n]=e,null}WriteRune(e){let t=H(this);if(e<128)return t.WriteByte(zo(e)),[1,null];t.lastRead=0;let[n,r]=t.tryGrowByReslice(4);return r||(n=t.grow(4)),t.buf=nae(Us(P(t.buf,void 0,n)),e),[I(t.buf)-n,null]}Read(e){let t=H(this);if(t.lastRead=0,t.empty())return t.Reset(),I(e)==0?[0,null]:[0,jl];let n=R(e,P(t.buf,t.off,void 0));return t.off+=n,n>0&&(t.lastRead=-1),[n,null]}Next(e){let t=H(this);t.lastRead=0;let n=t.Len();e>n&&(e=n);let r=P(t.buf,t.off,t.off+e);return t.off+=e,e>0&&(t.lastRead=-1),r}Peek(e){let t=H(this);if(e<0)return[null,ml(`bytes.Buffer.Peek: negative count`)];if(t.empty())return t.Reset(),e==0?[new Uint8Array,null]:[new Uint8Array,jl];let n=P(t.buf,t.off,void 0);return e>I(n)?[n,jl]:[P(t.buf,t.off,t.off+e),null]}ReadByte(){let e=H(this);if(e.empty())return e.Reset(),[0,jl];let t=e.buf[e.off];return e.off++,e.lastRead=-1,[t,null]}ReadRune(){let e=H(this);if(e.empty())return e.Reset(),[0,0,jl];let t=e.buf[e.off];if(t<128)return e.off++,e.lastRead=1,[t,1,null];let n,r;return[n,r]=hd(P(e.buf,e.off,void 0)),e.off+=r,e.lastRead=r,[n,r,null]}UnreadRune(){let e=H(this);return e.lastRead<=0?ml(`bytes.Buffer: UnreadRune: previous operation was not a successful ReadRune`):(e.off>=W(e.lastRead)&&(e.off-=W(e.lastRead)),e.lastRead=0,null)}UnreadByte(){let e=H(this);return e.lastRead==0?Mce:(e.lastRead=0,e.off>0&&e.off--,null)}ReadBytes(e){let[t,n]=H(this).readSlice(e);return[L(null,t),n]}readSlice(e){let t=H(this),n=Uf(P(t.buf,t.off,void 0),e),r=t.off+n+1,i=null,a;return n<0&&(r=I(t.buf),i=jl),a=P(t.buf,t.off,r),t.off=r,t.lastRead=-1,[a,i]}ReadString(e){let t=H(this),n,r;return[n,r]=t.readSlice(e),[B(n),r]}static __typeInfo=S(`Buffer`,new e,[{name:`Bytes`,args:[],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}]},{name:`AvailableBuffer`,args:[],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}]},{name:`String`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`empty`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Len`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Cap`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Available`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Truncate`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[]},{name:`Reset`,args:[],returns:[]},{name:`tryGrowByReslice`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`basic`,name:`boolean`}}]},{name:`grow`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Grow`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[]},{name:`Write`,args:[{name:`p`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteString`,args:[{name:`s`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadFrom`,args:[{name:`r`,type:`Reader`}],returns:[{type:{kind:`basic`,name:`int64`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteTo`,args:[{name:`w`,type:`Writer`}],returns:[{type:{kind:`basic`,name:`int64`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteByte`,args:[{name:`c`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteRune`,args:[{name:`r`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Read`,args:[{name:`p`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Next`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}]},{name:`ReadByte`,args:[],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadRune`,args:[],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`UnreadRune`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`UnreadByte`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadBytes`,args:[{name:`delim`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`readSlice`,args:[{name:`delim`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadString`,args:[{name:`delim`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`string`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}],e,[{name:`buf`,key:`buf`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{name:`off`,key:`off`,type:{kind:`basic`,name:`number`}},{name:`lastRead`,key:`lastRead`,type:`readOp`}])};let kce=ml(`bytes.Buffer: too large`),Ace=ml(`bytes.Buffer: reader returned negative count from Read`);W(-1);function jce(e,t){try{var n=Ni();n.u(new gc).defer(()=>{Oce()!=null&&Hi(kce)});let r=I(e)+t;r<2*_o(e)&&(r=2*_o(e));let i=N(r,r,`byte`);return P(i,void 0,R(i,e))}catch(e){n.e=e}finally{n.d()}}let Mce=ml(`bytes.Buffer: UnreadByte: previous operation was not a successful read`);const{copy:Nce}=Jne;var Pce=class e{get s(){return this._fields.s}set s(e){this._fields.s=e}get i(){return this._fields.i}set i(e){this._fields.i=e}get prevRune(){return this._fields.prevRune}set prevRune(e){this._fields.prevRune=e}_fields;constructor(e){this._fields={s:e?.s??new Uint8Array,i:e?.i??0,prevRune:e?.prevRune??0}}clone(){let t=new e;return t._fields={s:this._fields.s,i:this._fields.i,prevRune:this._fields.prevRune},t}Len(){let e=this;return e.i>=I(e.s)?0:W(I(e.s)-e.i)}Size(){let e=this;return BigInt(I(e.s))}Read(e){let t=this;if(t.i>=I(t.s))return[0,jl];t.prevRune=-1;let n=R(e,P(t.s,t.i,void 0));return t.i+=n,[n,null]}ReadAt(e,t){let n=this,r=Number(t);if(r<0)return[0,ml(`bytes.Reader.ReadAt: negative offset`)];if(r>=I(n.s))return[0,jl];let i=R(e,P(n.s,r,void 0)),a=null;return i<I(e)&&(a=jl),[i,a]}ReadByte(){let e=this;if(e.prevRune=-1,e.i>=I(e.s))return[0,jl];let t=e.s[e.i];return e.i++,[t,null]}UnreadByte(){let e=this;return e.i<=0?ml(`bytes.Reader.UnreadByte: at beginning of slice`):(e.prevRune=-1,e.i--,null)}ReadRune(){let e=this;if(e.i>=I(e.s))return e.prevRune=-1,[0,0,jl];e.prevRune=W(e.i);{let t=e.s[e.i];if(t<128)return e.i++,[t,1,null]}let[t,n]=hd(P(e.s,e.i,void 0));return e.i+=n,[t,n,null]}UnreadRune(){let e=this;return e.i<=0?ml(`bytes.Reader.UnreadRune: at beginning of slice`):e.prevRune<0?ml(`bytes.Reader.UnreadRune: previous operation was not ReadRune`):(e.i=e.prevRune,e.prevRune=-1,null)}Seek(e,t){let n=this;n.prevRune=-1;let r=0;switch(t){case 0:r=Number(e);break;case 1:r=n.i+Number(e);break;case 2:r=I(n.s)+Number(e);break;default:return[0n,ml(`bytes.Reader.Seek: invalid whence`)]}return r<0?[0n,ml(`bytes.Reader.Seek: negative position`)]:(n.i=r,[BigInt(r),null])}WriteTo(e){return(async()=>{let t=this;if(t.prevRune=-1,t.i>=I(t.s))return[0n,null];let n=P(t.s,t.i,void 0),[r,i]=await e.Write(Us(n));r>I(n)&&Hi(`bytes.Reader.WriteTo: invalid Write count`),t.i+=r;let a=BigInt(r);return r!=I(n)&&i==null?[a,Fl]:[a,i]})()}Reset(e){let t=this;t.s=e,t.i=0,t.prevRune=-1}static __typeInfo=S(`Reader`,new e,[{name:`Len`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Size`,args:[],returns:[{type:{kind:`basic`,name:`int64`}}]},{name:`Read`,args:[{name:`b`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadAt`,args:[{name:`b`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{name:`off`,type:{kind:`basic`,name:`int64`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadByte`,args:[],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`UnreadByte`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadRune`,args:[],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`UnreadRune`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Seek`,args:[{name:`offset`,type:{kind:`basic`,name:`int64`}},{name:`whence`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`int64`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteTo`,args:[{name:`w`,type:`Writer`}],returns:[{type:{kind:`basic`,name:`int64`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Reset`,args:[{name:`b`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[]}],e,[{name:`s`,key:`s`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{name:`i`,key:`i`,type:{kind:`basic`,name:`number`}},{name:`prevRune`,key:`prevRune`,type:{kind:`basic`,name:`number`}}])};function $f(e){return new Pce({s:zs(e),i:0,prevRune:-1})}function ep(e){return H(e)}var tp=class e{_content=``;_addr=null;constructor(e){}clone(){let t=new e;return t._content=this._content,t._addr=this._addr,t}copyCheck(){let e=ep(this);e._addr==null?e._addr=e:e._addr!==e&&Hi(`strings: illegal use of non-zero Builder copied by value`)}String(){return ep(this)._content}Len(){return ep(this)._content.length}Cap(){return ep(this)._content.length}Reset(){let e=ep(this);e._addr=null,e._content=``}Grow(e){ep(this).copyCheck(),e<0&&Hi(`strings.Builder.Grow: negative count`)}Write(e){ep(this).copyCheck();let t=ep(this),n=Us(e),r=new TextDecoder(`utf-8`).decode(n);return t._content+=r,[I(e),null]}WriteByte(e){ep(this).copyCheck();let t=ep(this);return t._content+=String.fromCharCode(e),null}WriteRune(e){ep(this).copyCheck();let t=ep(this),n=String.fromCodePoint(e);return t._content+=n,[new TextEncoder().encode(n).length,null]}WriteString(e){ep(this).copyCheck();let t=ep(this);return t._content+=e,[e.length,null]}static __typeInfo=S(`Builder`,new e,[{name:`String`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`Len`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Cap`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Reset`,args:[],returns:[]},{name:`Grow`,args:[{name:`n`,type:{kind:`basic`,name:`number`}}],returns:[]},{name:`Write`,args:[{name:`p`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteByte`,args:[{name:`c`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteRune`,args:[{name:`r`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteString`,args:[{name:`s`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}],e,[])};function np(e,t){if(t===``)return[...e].length+1;let n=0,r=0;for(;;){let i=e.indexOf(t,r);if(i===-1)break;n++,r=i+t.length}return n}function rp(e,t){return e.includes(t)}function Fce(e,t){for(let n of t)if(e.includes(n))return!0;return!1}function ip(e,t){let n=String.fromCodePoint(t);return e.includes(n)}function ap(e,t){return t===``?0:zce(Ko(e),Ko(t))}function op(e,t){let n=Ko(e),r=Ko(t);return r.length===0?n.length:Bce(n,r)}function sp(e,t){let n=Ko(e);for(let e=0;e<n.length;e++)if(n[e]===(t&255))return e;return-1}function Ice(e,t){let n=String.fromCodePoint(t);return e.indexOf(n)}function Lce(e,t){for(let n=0;n<e.length;n++)if(t.includes(e[n]))return n;return-1}function Rce(e,t){let n=Ko(e);for(let e=n.length-1;e>=0;e--)if(n[e]===(t&255))return e;return-1}function zce(e,t){if(t.length===0)return 0;outer:for(let n=0;n<=e.length-t.length;n++){for(let r=0;r<t.length;r++)if(e[n+r]!==t[r])continue outer;return n}return-1}function Bce(e,t){if(t.length===0)return e.length;outer:for(let n=e.length-t.length;n>=0;n--){for(let r=0;r<t.length;r++)if(e[n+r]!==t[r])continue outer;return n}return-1}function Vce(e,t){if(!t)return-1;let n=0;for(let r of e){let e=r.codePointAt(0);if(e!==void 0&&t(e))return n;n+=r.length}return-1}function Hce(e,t){if(!t)return-1;let n=[...e];for(let e=n.length-1;e>=0;e--){let r=n[e].codePointAt(0);if(r!==void 0&&t(r))return n.slice(0,e).join(``).length}return-1}function cp(e,t){return F(t===``?[...e]:e.split(t))}function Uce(e,t,n){if(n==0)return F([]);if(n===1)return F([e]);if(t===``){let t=[...e];return F(n<0?t:t.slice(0,n))}let r=e.split(t);if(n<0||r.length<=n)return F(r);let i=r.slice(0,n-1);return i.push(r.slice(n-1).join(t)),F(i)}function lp(e,t){let n=so(e);return Array.isArray(n)?n.join(t):``}function up(e,t){return e.startsWith(t)}function dp(e,t){return e.endsWith(t)}function Wce(e,t){if(!e)return t;let n=``;for(let r of t){let t=r.codePointAt(0);if(t!==void 0){let r=e(t);n+=String.fromCodePoint(r)}}return n}function Gce(e,t){return t<0&&Hi(`strings: negative Repeat count`),e.repeat(t)}function Kce(e){return Wce(Pf,e)}function fp(e){return Wce(Ff,e)}function pp(e){return e.trim()}function qce(e,t){return Yce(e,e=>t.includes(String.fromCodePoint(e)))}function Jce(e,t){return mp(e,e=>t.includes(String.fromCodePoint(e)))}function Yce(e,t){return t?mp(Xce(e,t),t):e}function Xce(e,t){if(!t)return e;let n=0;for(let r of e){let e=r.codePointAt(0);if(e===void 0||!t(e))break;n+=r.length}return e.slice(n)}function mp(e,t){if(!t)return e;let n=[...e],r=n.length;for(let e=n.length-1;e>=0;e--){let i=n[e].codePointAt(0);if(i===void 0||!t(i))break;r=e}return n.slice(0,r).join(``)}function hp(e,t){return e.startsWith(t)?e.slice(t.length):e}function gp(e,t){return e.endsWith(t)?e.slice(0,e.length-t.length):e}function Zce(e,t,n,r){if(r===0||t===n)return e;if(t===``){let t=globalThis.Array.from(e),i=r<0?t.length+1:Math.min(r,t.length+1),a=n,o=0;for(;o<i-1;o++)a+=t[o]+n;return a+t.slice(o).join(``)}let i=``,a=0,o=0;for(;r<0||o<r;){let r=e.indexOf(t,a);if(r===-1)break;i+=e.slice(a,r)+n,a=r+t.length,o++}return i+e.slice(a)}function _p(e,t,n){return t===``?e:e.split(t).join(n)}function vp(e,t){let n=Array.from(e,e=>e.codePointAt(0)),r=Array.from(t,e=>e.codePointAt(0)),i=0,a=0;for(;i<n.length&&a<r.length;){let e=n[i++],t=r[a++];if(e===t)continue;if(t<e){let n=e;e=t,t=n}if(t<128){if(e>=65&&e<=90&&t===e+32)continue;return!1}let o=If(e);for(;o!==e&&o<t;)o=If(o);if(o!==t)return!1}return i===n.length&&a===r.length}function yp(e,t){return e<t?-1:+(e>t)}function bp(e,t){let n=e.indexOf(t);return n===-1?[e,``,!1]:[e.slice(0,n),e.slice(n+t.length),!0]}function xp(e,t){return e.startsWith(t)?[e.slice(t.length),!0]:[e,!1]}function Qce(e,t){return e.endsWith(t)?[e.slice(0,e.length-t.length),!0]:[e,!1]}var Sp=class e{get s(){return this._fields.s}set s(e){this._fields.s=e}get i(){return this._fields.i}set i(e){this._fields.i=e}get prevRune(){return this._fields.prevRune}set prevRune(e){this._fields.prevRune=e}_fields;constructor(e){this._fields={s:e?.s??``,i:e?.i??0,prevRune:e?.prevRune??0}}clone(){let t=new e;return t._fields={s:this._fields.s,i:this._fields.i,prevRune:this._fields.prevRune},t}Len(){let e=this;return e.i>=I(e.s)?0:I(e.s)-e.i}Size(){let e=this;return BigInt(I(e.s))}Read(e){let t=this;if(t.i>=I(t.s))return[0,jl];t.prevRune=-1;let n=R(e,Ho(t.s,t.i,void 0));return t.i+=n,[n,null]}ReadAt(e,t){let n=this,r=Number(t);if(r<0)return[0,vc(`strings.Reader.ReadAt: negative offset`)];if(r>=I(n.s))return[0,jl];let i=R(e,Ho(n.s,r,void 0)),a=null;return i<I(e)&&(a=jl),[i,a]}ReadByte(){let e=this;if(e.prevRune=-1,e.i>=I(e.s))return[0,jl];let t=Bo(e.s,e.i);return e.i++,[t,null]}UnreadByte(){let e=this;return e.i<=0?vc(`strings.Reader.UnreadByte: at beginning of string`):(e.prevRune=-1,e.i--,null)}ReadRune(){let e=this;if(e.i>=I(e.s))return e.prevRune=-1,[0,0,jl];e.prevRune=e.i;{let t=Bo(e.s,e.i);if(t<128)return e.i++,[t,1,null]}let t,n;return[t,n]=gd(Ho(e.s,e.i,void 0)),e.i+=n,[t,n,null]}UnreadRune(){let e=this;return e.i<=0?vc(`strings.Reader.UnreadRune: at beginning of string`):e.prevRune<0?vc(`strings.Reader.UnreadRune: previous operation was not ReadRune`):(e.i=e.prevRune,e.prevRune=-1,null)}Seek(e,t){let n=this;n.prevRune=-1;let r;switch(t){case 0:r=Number(e);break;case 1:r=n.i+Number(e);break;case 2:r=I(n.s)+Number(e);break;default:return[0n,vc(`strings.Reader.Seek: invalid whence`)]}return r<0?[0n,vc(`strings.Reader.Seek: negative position`)]:(n.i=r,[BigInt(r),null])}async WriteTo(e){let t=this;if(t.prevRune=-1,t.i>=I(t.s))return[0n,null];let n=Ho(t.s,t.i,void 0),r,i;[r,i]=await Ul(e,n),r>I(n)&&Hi(`strings.Reader.WriteTo: invalid WriteString count`),t.i+=r;let a=BigInt(r);return r!=I(n)&&i==null&&(i=Fl),[a,i]}Reset(e){let t=this;t.s=e,t.i=0,t.prevRune=-1}static __typeInfo=S(`Reader`,new e,[{name:`Len`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Size`,args:[],returns:[{type:{kind:`basic`,name:`int64`}}]},{name:`Read`,args:[{name:`b`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadAt`,args:[{name:`b`,type:{kind:`slice`,elemType:{kind:`basic`,name:`number`}}},{name:`off`,type:{kind:`basic`,name:`int64`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadByte`,args:[],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`UnreadByte`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`ReadRune`,args:[],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`UnreadRune`,args:[],returns:[{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Seek`,args:[{name:`offset`,type:{kind:`basic`,name:`int64`}},{name:`whence`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`int64`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`WriteTo`,args:[{name:`w`,type:`Writer`}],returns:[{type:{kind:`basic`,name:`int64`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]},{name:`Reset`,args:[{name:`s`,type:{kind:`basic`,name:`string`}}],returns:[]}],e,[{name:`s`,key:`s`,type:{kind:`basic`,name:`string`}},{name:`i`,key:`i`,type:{kind:`basic`,name:`number`}},{name:`prevRune`,key:`prevRune`,type:{kind:`basic`,name:`number`}}])};function Cp(e){return new Sp({s:e})}function $ce(e,t){return e>t?e:t}var ele=class e{get pattern(){return this._fields.pattern}set pattern(e){this._fields.pattern=e}get badCharSkip(){return this._fields.badCharSkip}set badCharSkip(e){this._fields.badCharSkip=e}get goodSuffixSkip(){return this._fields.goodSuffixSkip}set goodSuffixSkip(e){this._fields.goodSuffixSkip=e}_fields;constructor(e){this._fields={pattern:e?.pattern??``,badCharSkip:e?.badCharSkip??Array(256).fill(0),goodSuffixSkip:e?.goodSuffixSkip??null}}clone(){let t=new e;return t._fields={pattern:this._fields.pattern,badCharSkip:this._fields.badCharSkip,goodSuffixSkip:this._fields.goodSuffixSkip},t}next(e){let t=this,n=I(t.pattern)-1;for(;n<I(e);){let r=I(t.pattern)-1;for(;r>=0&&Bo(e,n)==Bo(t.pattern,r);)n--,r--;if(r<0)return n+1;n+=$ce(t.badCharSkip[Bo(e,n)],t.goodSuffixSkip[r])}return-1}};function tle(e){let t=new ele({goodSuffixSkip:N(I(e)),pattern:e}),n=I(e)-1;for(let n=0;n<I(t.badCharSkip);n++)t.badCharSkip[n]=I(e);for(let r=0;r<n;r++)t.badCharSkip[Bo(e,r)]=n-r;let r=n;for(let i=n;i>=0;i--)up(e,Ho(e,i+1,void 0))&&(r=i+1),t.goodSuffixSkip[i]=r+n-i;for(let r=0;r<n;r++){let i=nle(e,Ho(e,1,r+1));Bo(e,r-i)!=Bo(e,n-i)&&(t.goodSuffixSkip[n-i]=i+n-r)}return t}function nle(e,t){let n=0;for(;n<I(e)&&n<I(t)&&Bo(e,I(e)-1-n)==Bo(t,I(t)-1-n);n++);return n}var wp=class e{get built(){return this._fields.built}set built(e){this._fields.built=e}get r(){return this._fields.r}set r(e){this._fields.r=e}get oldnew(){return this._fields.oldnew}set oldnew(e){this._fields.oldnew=e}_fields;constructor(e){this._fields={built:e?.built??!1,r:e?.r??null,oldnew:e?.oldnew??null}}clone(){let t=new e;return t._fields={built:this._fields.built,r:this._fields.r,oldnew:this._fields.oldnew},t}buildOnce(){if(this.built)return;let e=this;e.r=e.build(),e.oldnew=null,e.built=!0}build(){let e=this.oldnew;if(I(e)==0)return{Replace:e=>e,WriteString:(e,t)=>{let n=Ko(t);return e.Write(n)}};if(I(e)==2&&I(e[0])>1)return lle(e[0],e[1]);let t=!0;for(let n=0;n<I(e);n+=2){if(I(e[n])!=1)return ole(e);I(e[n+1])!=1&&(t=!1)}if(t){let t=Array(256);for(let e=0;e<t.length;e++)t[e]=e;for(let n=I(e)-2;n>=0;n-=2){let r=Bo(e[n],0);t[r]=Bo(e[n+1],0)}return{Replace:e=>{let n=``;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);n+=i<256?String.fromCharCode(t[i]):e[r]}return n},WriteString:(e,t)=>{let n=Ko(this.Replace(t));return e.Write(n)}}}let n=new ule({toReplace:N(0,I(e)/2)});for(let t=I(e)-2;t>=0;t-=2){let r=Bo(e[t],0),i=e[t+1];n.replacements[r]??(n.toReplace=L(n.toReplace,B(new Uint8Array([r])))),n.replacements[r]=Ko(i)}return n}Replace(e){let t=this;return t.buildOnce(),t.r.Replace(e)}WriteString(e,t){let n=this;return n.buildOnce(),n.r.WriteString(e,t)}static __typeInfo=S(`Replacer`,new e,[{name:`buildOnce`,args:[],returns:[]},{name:`build`,args:[],returns:[{type:`replacer`}]},{name:`Replace`,args:[{name:`s`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`WriteString`,args:[{name:`w`,type:`Writer`},{name:`s`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}],e,[{name:`built`,key:`built`,type:{kind:`basic`,name:`boolean`}},{name:`r`,key:`r`,type:`replacer`},{name:`oldnew`,key:`oldnew`,type:{kind:`slice`,elemType:{kind:`basic`,name:`string`}}}])};sa(`replacer`,null,[{name:`Replace`,args:[{name:`s`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`string`}}]},{name:`WriteString`,args:[{name:`w`,type:`Writer`},{name:`s`,type:{kind:`basic`,name:`string`}}],returns:[{type:{kind:`basic`,name:`number`}},{type:{kind:`interface`,name:`GoError`,methods:[{name:`Error`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]}}]}]);function rle(...e){return I(e)%2==1&&Hi(`strings.NewReplacer: odd argument count`),new wp({oldnew:L(null,...e)})}var ile=class e{get value(){return this._fields.value}set value(e){this._fields.value=e}get priority(){return this._fields.priority}set priority(e){this._fields.priority=e}get prefix(){return this._fields.prefix}set prefix(e){this._fields.prefix=e}get next(){return this._fields.next}set next(e){this._fields.next=e}get table(){return this._fields.table}set table(e){this._fields.table=e}_fields;constructor(e){this._fields={value:e?.value??``,priority:e?.priority??0,prefix:e?.prefix??``,next:e?.next??null,table:e?.table??null}}clone(){let t=new e;return t._fields={value:this._fields.value,priority:this._fields.priority,prefix:this._fields.prefix,next:this._fields.next,table:this._fields.table},t}add(t,n,r,i){let a=this;if(t==``){a.priority==0&&(a.value=n,a.priority=r);return}if(a.prefix!=``){let o=0;for(;o<I(a.prefix)&&o<I(t)&&Bo(a.prefix,o)==Bo(t,o);o++);if(o==I(a.prefix))a.next.add(Ho(t,o,void 0),n,r,i);else if(o==0){let o=I(a.prefix)==1?a.next:new e({next:a.next,prefix:Ho(a.prefix,1,void 0)}),s=new e;a.table=N(i.tableSize),a.table[i.mapping[Bo(a.prefix,0)]]=o,a.table[i.mapping[Bo(t,0)]]=s,a.prefix=``,a.next=null,s.add(Ho(t,1,void 0),n,r,i)}else{let s=new e({next:a.next,prefix:Ho(a.prefix,o,void 0)});a.prefix=Ho(a.prefix,void 0,o),a.next=s,s.add(Ho(t,o,void 0),n,r,i)}}else if(a.table!=null){let o=i.mapping[Bo(t,0)];a.table[o]??(a.table[o]=new e),a.table[o].add(Ho(t,1,void 0),n,r,i)}else a.prefix=t,a.next=new e,a.next.add(``,n,r,i)}},ale=class e{get root(){return this._fields.root}set root(e){this._fields.root=e}get tableSize(){return this._fields.tableSize}set tableSize(e){this._fields.tableSize=e}get mapping(){return this._fields.mapping}set mapping(e){this._fields.mapping=e}_fields;constructor(e){this._fields={root:e?.root?.clone()??new ile,tableSize:e?.tableSize??0,mapping:e?.mapping??[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}}clone(){let t=new e;return t._fields={root:this._fields.root?.clone()??null,tableSize:this._fields.tableSize,mapping:this._fields.mapping},t}lookup(e,t){let n=this,r=0,i=n.root,a=0,o=``,s=0,c=!1;for(;i!=null&&(i.priority>r&&!(t&&i===n.root)&&(r=i.priority,o=i.value,s=a,c=!0),e!=``);)if(i.table!=null){let t=n.mapping[Bo(e,0)];if(t==n.tableSize)break;i=i.table[t],e=Ho(e,1,void 0),a++}else if(i.prefix!=``&&up(e,i.prefix))a+=I(i.prefix),e=Ho(e,I(i.prefix),void 0),i=i.next;else break;return[o,s,c]}Replace(e){let t=this,n=``,r=0;for(let i=0;i<=I(e);){if(i!=I(e)&&t.root.priority==0){let n=t.mapping[Bo(e,i)];if(n==t.tableSize||t.root.table[n]==null){i++;continue}}let[a,o,s]=t.lookup(Ho(e,i,void 0),!1);if(s){n+=Ho(e,r,i),n+=a,i+=o,r=i;continue}i++}return r!=I(e)&&(n+=Ho(e,r,void 0)),n}WriteString(e,t){let n=this;return Rl((function*(){let r=n,i=Tp(e),a=0,o=0,s=!1;for(let e=0;e<=I(t);){if(e!=I(t)&&r.root.priority==0){let n=r.mapping[Bo(t,e)];if(n==r.tableSize||r.root.table[n]==null){e++;continue}}let[n,c,l]=r.lookup(Ho(t,e,void 0),s);if(s=l&&c==0,l){let[r,s]=yield i.WriteString(Ho(t,a,e));if(o+=r,s!=null||([r,s]=yield i.WriteString(n),o+=r,s!=null))return[o,s];e+=c,a=e;continue}e++}if(a!=I(t)){let[e,n]=yield i.WriteString(Ho(t,a,void 0));return o+=e,[o,n]}return[o,null]})())}};function ole(e){let t=new ale;for(let n=0;n<I(e);n+=2){let r=e[n];for(let e=0;e<I(r);e++)t.mapping[Bo(r,e)]=1}for(let e=0;e<I(t.mapping);e++){let n=t.mapping[e];t.tableSize+=n}let n=0;for(let e=0;e<I(t.mapping);e++)t.mapping[e]==0?t.mapping[e]=zo(t.tableSize):(t.mapping[e]=n,n++);t.root.table=N(t.tableSize);for(let n=0;n<I(e);n+=2)t.root.add(e[n],e[n+1],I(e)-n,t);return t}var sle=class{get w(){return this._fields.w}set w(e){this._fields.w=e}_fields;constructor(e){this._fields={w:e}}WriteString(e){return this.w.Write(Ko(e))}};function Tp(e){let{value:t,ok:n}=T(e,`io.StringWriter`);return n||(t=new sle(e)),t}var cle=class e{get finder(){return this._fields.finder}set finder(e){this._fields.finder=e}get value(){return this._fields.value}set value(e){this._fields.value=e}_fields;constructor(e){this._fields={finder:e?.finder??null,value:e?.value??``}}clone(){let t=new e;return t._fields={finder:this._fields.finder,value:this._fields.value},t}Replace(e){let t=this,n=new tp,[r,i]=[0,!1];for(;;){let a=t.finder.next(Ho(e,r,void 0));if(a==-1)break;i=!0,n.Grow(a+I(t.value)),n.WriteString(Ho(e,r,r+a)),n.WriteString(t.value),r+=a+I(t.finder.pattern)}return i?(n.WriteString(Ho(e,r,void 0)),n.String()):e}WriteString(e,t){let n=this;return Rl((function*(){let r=n,i=Tp(e),a=0,o=0;for(;;){let e=r.finder.next(Ho(t,a,void 0));if(e==-1)break;let[n,s]=yield i.WriteString(Ho(t,a,a+e));if(o+=n,s!=null||([n,s]=yield i.WriteString(r.value),o+=n,s!=null))return[o,s];a+=e+I(r.finder.pattern)}let[s,c]=yield i.WriteString(Ho(t,a,void 0));return o+=s,[o,c]})())}};function lle(e,t){return new cle({finder:tle(e),value:t})}var ule=class e{get replacements(){return this._fields.replacements}set replacements(e){this._fields.replacements=e}get toReplace(){return this._fields.toReplace}set toReplace(e){this._fields.toReplace=e}_fields;constructor(e){this._fields={replacements:e?.replacements??[new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array,new Uint8Array],toReplace:e?.toReplace??null}}clone(){let t=new e;return t._fields={replacements:this._fields.replacements,toReplace:this._fields.toReplace},t}Replace(e){let t=this,n=I(e),r=!1;if(I(t.toReplace)*8<=I(e))for(let i=0;i<I(t.toReplace);i++){let a=t.toReplace[i];{let i=np(e,a);i!=0&&(n+=i*(I(t.replacements[Bo(a,0)])-1),r=!0)}}else for(let i=0;i<I(e);i++){let a=Bo(e,i);t.replacements[a]!=null&&(n+=I(t.replacements[a])-1,r=!0)}if(!r)return e;let i=new Uint8Array(n),a=0;for(let n=0;n<I(e);n++){let r=Bo(e,n);t.replacements[r]==null?(i[a]=r,a++):a+=dle(i.subarray(a),t.replacements[r])}return B(i)}WriteString(e,t){let n=this;return Rl((function*(){let r=n,i=Tp(e),a=0,o=0;for(let n=0;n<I(t);n++){let s=Bo(t,n);if(r.replacements[s]==null)continue;if(a!=n){let[e,r]=yield i.WriteString(Ho(t,a,n));if(o+=e,r!=null)return[o,r]}a=n+1;let[c,l]=yield e.Write(r.replacements[s]);if(o+=c,l!=null)return[o,l]}if(a!=I(t)){let[e,n]=yield i.WriteString(Ho(t,a,void 0));if(o+=e,n!=null)return[o,n]}return[o,null]})())}};function dle(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)e[r]=t[r];return n}var Ep=class e{_fields;constructor(e){this._fields={buf:e?.buf??null,rd:e?.rd??null,r:e?.r??0,w:e?.w??0,err:e?.err??null,lastByte:e?.lastByte??0,lastRuneSize:e?.lastRuneSize??0}}clone(){return C(new e(this))}Buffered(){let e=this;return H(e).w-H(e).r}async Discard(t){let n=this;if(t<0)return[0,mle];if(t==0)return[0,null];H(n).lastByte=-1,H(n).lastRuneSize=-1;let r=t;for(;;){let i=e.prototype.Buffered.call(n);if(i==0&&(await e.prototype.fill.call(n),i=e.prototype.Buffered.call(n)),i>r&&(i=r),H(n).r=H(n).r+i,r-=i,r==0)return[t,null];if(H(n).err!=null)return[t-r,e.prototype.readErr.call(n)]}throw new globalThis.Error(`goscript: unreachable return`)}async Peek(t){let n=this;if(t<0)return[null,mle];for(H(n).lastByte=-1,H(n).lastRuneSize=-1;H(n).w-H(n).r<t&&H(n).w-H(n).r<I(H(n).buf)&&H(n).err==null;)await e.prototype.fill.call(n);if(t>I(H(n).buf))return[P(H(n).buf,H(n).r,H(n).w),Op];let r=null;{let i=H(n).w-H(n).r;i<t&&(t=i,r=e.prototype.readErr.call(n),r??=Op)}return[P(H(n).buf,H(n).r,H(n).r+t),r]}async Read(t){let n=this,r=0;if(r=I(t),r==0)return e.prototype.Buffered.call(n)>0?[0,null]:[0,e.prototype.readErr.call(n)];if(H(n).r==H(n).w){if(H(n).err!=null)return[0,e.prototype.readErr.call(n)];if(I(t)>=I(H(n).buf)){let i=await H(H(n).rd).Read(t);return r=i[0],H(n).err=i[1],r<0&&Hi(Ap),r>0&&(H(n).lastByte=W(z(t,r-1)),H(n).lastRuneSize=-1),[r,e.prototype.readErr.call(n)]}H(n).r=0,H(n).w=0;let i=await H(H(n).rd).Read(H(n).buf);if(r=i[0],H(n).err=i[1],r<0&&Hi(Ap),r==0)return[0,e.prototype.readErr.call(n)];H(n).w=H(n).w+r}return r=R(t,P(H(n).buf,H(n).r,H(n).w)),H(n).r=H(n).r+r,H(n).lastByte=W(z(H(n).buf,H(n).r-1)),H(n).lastRuneSize=-1,[r,null]}async ReadByte(){let t=this;for(H(t).lastRuneSize=-1;H(t).r==H(t).w;){if(H(t).err!=null)return[0,e.prototype.readErr.call(t)];await e.prototype.fill.call(t)}let n=G(z(H(t).buf,H(t).r),8);return H(t).r++,H(t).lastByte=W(n),[G(n,8),null]}async ReadBytes(t){let n=this,r=await e.prototype.collectFragments.call(n,G(t,8)),i=r[0],a=r[1],o=r[2],s=r[3],c=N(o,void 0,`byte`);o=0;for(let e=i,t=0;t<I(e);t++)o+=R(P(c,o,void 0),z(i,t));return R(P(c,o,void 0),a),[c,s]}async ReadLine(){let t=this,n=null,r=null,i=await e.prototype.ReadSlice.call(t,10);if(n=i[0],r=i[1],os(r,Op))return I(n)>0&&G(z(n,I(n)-1),8)==13&&(H(t).r==0&&Hi(`bufio: tried to rewind past start of buffer`),H(t).r--,n=P(n,void 0,I(n)-1)),[n,!0,null];if(I(n)==0)return r!=null&&(n=null),[n,!1,r];if(r=null,G(z(n,I(n)-1),8)==10){let e=1;I(n)>1&&G(z(n,I(n)-2),8)==13&&(e=2),n=P(n,void 0,I(n)-e)}return[n,!1,r]}async ReadRune(){let t=this,n=0,r=0;for(;H(t).r+4>H(t).w&&!aae(P(H(t).buf,H(t).r,H(t).w))&&H(t).err==null&&H(t).w-H(t).r<I(H(t).buf);)await e.prototype.fill.call(t);if(H(t).lastRuneSize=-1,H(t).r==H(t).w)return[0,0,e.prototype.readErr.call(t)];let i=hd(P(H(t).buf,H(t).r,H(t).w));return n=W(i[0],32),r=i[1],H(t).r=H(t).r+r,H(t).lastByte=W(z(H(t).buf,H(t).r-1)),H(t).lastRuneSize=r,[W(n,32),r,null]}async ReadSlice(t){let n=this,r=null,i=null,a=0;for(;;){{let e=Uf(P(H(n).buf,H(n).r+a,H(n).w),G(t,8));if(e>=0){e+=a,r=P(H(n).buf,H(n).r,H(n).r+e+1),H(n).r=H(n).r+(e+1);break}}if(H(n).err!=null){r=P(H(n).buf,H(n).r,H(n).w),H(n).r=H(n).w,i=e.prototype.readErr.call(n);break}if(e.prototype.Buffered.call(n)>=I(H(n).buf)){H(n).r=H(n).w,r=H(n).buf,i=Op;break}a=H(n).w-H(n).r,await e.prototype.fill.call(n)}{let e=I(r)-1;e>=0&&(H(n).lastByte=W(z(r,e)),H(n).lastRuneSize=-1)}return[r,i]}async ReadString(t){let n=this,r=await e.prototype.collectFragments.call(n,G(t,8)),i=r[0],a=r[1],o=r[2],s=r[3],c=m(C(new tp));c.value.Grow(o);for(let e=i,t=0;t<I(e);t++){let n=e[t];c.value.Write(n)}return c.value.Write(a),[c.value.String(),s]}Reset(t){let n=this;os(n,t)||(H(n).buf??(H(n).buf=N(4096,void 0,`byte`)),e.prototype.reset.call(n,H(n).buf,t))}Size(){let e=this;return I(H(e).buf)}UnreadByte(){let e=this;return H(e).lastByte<0||H(e).r==0&&H(e).w>0?fle:(H(e).r>0?H(e).r--:H(e).w=1,H(e).buf[H(e).r]=G(G(H(e).lastByte,8),8),H(e).lastByte=-1,H(e).lastRuneSize=-1,null)}UnreadRune(){let e=this;return H(e).lastRuneSize<0||H(e).r<H(e).lastRuneSize?ple:(H(e).r=H(e).r-H(e).lastRuneSize,H(e).lastByte=-1,H(e).lastRuneSize=-1,null)}async WriteTo(t){let n=this,r=0n,i=null;if(H(n).lastByte=-1,H(n).lastRuneSize=-1,H(n).r<H(n).w){let a=await e.prototype.writeBuf.call(n,t);if(r=a[0],i=a[1],i!=null)return[r,i]}{let[e,i]=Na(H(n).rd,`io.WriterTo`);if(i){let[n,i]=await H(e).WriteTo(U(t));return r=Ts(r,n),[r,i]}}let a=t;{let e=Na(a,`io.ReaderFrom`),t=e[0];if(e[1]){let[e,i]=await H(t).ReadFrom(U(H(n).rd));return r=Ts(r,e),[r,i]}}for(H(n).w-H(n).r<I(H(n).buf)&&await e.prototype.fill.call(n);H(n).r<H(n).w;){let[i,a]=await e.prototype.writeBuf.call(n,t);if(r=Ts(r,i),a!=null)return[r,a];await e.prototype.fill.call(n)}return os(H(n).err,jl)&&(H(n).err=null),[r,e.prototype.readErr.call(n)]}async collectFragments(t){let n=this,r=null,i=0,a=null,o=null;for(;;){let s=null,c=await e.prototype.ReadSlice.call(n,G(t,8));if(o=c[0],s=c[1],s==null)break;if(!os(s,Op)){a=s;break}let l=Zf(o);r=L(r,l,xo.nil),i+=I(l)}return i+=I(o),[r,o,i,a]}async fill(){let e=this;H(e).r>0&&(R(H(e).buf,P(H(e).buf,H(e).r,H(e).w)),H(e).w=H(e).w-H(e).r,H(e).r=0),H(e).w>=I(H(e).buf)&&Hi(`bufio: tried to fill full buffer`);for(let t=100;t>0;t--){let[t,n]=await H(H(e).rd).Read(P(H(e).buf,H(e).w,void 0));if(t<0&&Hi(Ap),H(e).w=H(e).w+t,n!=null){H(e).err=n;return}if(t>0)return}H(e).err=Nl}readErr(){let e=this,t=H(e).err;return H(e).err=null,t}reset(t,n){rs(H(this),C(new e({buf:t,rd:n,lastByte:-1,lastRuneSize:-1})))}async writeBuf(e){let t=this,[n,r]=await H(e).Write(P(H(t).buf,H(t).r,H(t).w));return n<0&&Hi(gle),H(t).r=H(t).r+n,[fs(n),r]}static{h(this.prototype,[`buf`,`rd`,`r`,`w`,`err`,`lastByte`,`lastRuneSize`])}static __typeInfo=S(`bufio.Reader`,()=>new e,()=>[_(`Buffered`,[],[y(`int`)]),_(`Discard`,[[`n`,y(`int`)]],[[`discarded`,y(`int`)],[`err`,`error`]]),_(`Peek`,[[`n`,y(`int`)]],[x(y(`uint8`)),`error`]),_(`Read`,[[`p`,x(y(`uint8`))]],[[`n`,y(`int`)],[`err`,`error`]]),_(`ReadByte`,[],[y(`uint8`),`error`]),_(`ReadBytes`,[[`delim`,y(`uint8`)]],[x(y(`uint8`)),`error`]),_(`ReadLine`,[],[[`line`,x(y(`uint8`))],[`isPrefix`,y(`bool`)],[`err`,`error`]]),_(`ReadRune`,[],[[`r`,y(`int32`)],[`size`,y(`int`)],[`err`,`error`]]),_(`ReadSlice`,[[`delim`,y(`uint8`)]],[[`line`,x(y(`uint8`))],[`err`,`error`]]),_(`ReadString`,[[`delim`,y(`uint8`)]],[y(`string`),`error`]),_(`Reset`,[[`r`,`io.Reader`]]),_(`Size`,[],[y(`int`)]),_(`UnreadByte`,[],[`error`]),_(`UnreadRune`,[],[`error`]),_(`WriteTo`,[[`w`,`io.Writer`]],[[`n`,y(`int64`)],[`err`,`error`]]),_(`collectFragments`,[[`delim`,y(`uint8`)]],[[`fullBuffers`,x(x(y(`uint8`)))],[`finalFragment`,x(y(`uint8`))],[`totalLen`,y(`int`)],[`err`,`error`]]),_(`fill`),_(`readErr`,[],[`error`]),_(`reset`,[[`buf`,x(y(`uint8`))],[`r`,`io.Reader`]]),_(`writeBuf`,[[`w`,`io.Writer`]],[y(`int64`),`error`])],e,()=>[v(`buf`,x(y(`uint8`)),[0],0,!1,{pkgPath:`bufio`}),v(`rd`,`io.Reader`,[1],24,!1,{pkgPath:`bufio`}),v(`r`,y(`int`),[2],40,!1,{pkgPath:`bufio`}),v(`w`,y(`int`),[3],48,!1,{pkgPath:`bufio`}),v(`err`,`error`,[4],56,!1,{pkgPath:`bufio`}),v(`lastByte`,y(`int`),[5],72,!1,{pkgPath:`bufio`}),v(`lastRuneSize`,y(`int`),[6],80,!1,{pkgPath:`bufio`})])},Dp=class e{_fields;constructor(e){this._fields={err:e?.err??null,buf:e?.buf??null,n:e?.n??0,wr:e?.wr??null}}clone(){return C(new e(this))}Available(){let e=this;return I(H(e).buf)-H(e).n}AvailableBuffer(){let e=this;return P(P(H(e).buf,H(e).n,void 0),void 0,0)}Buffered(){return H(this).n}async Flush(){let e=this;if(H(e).err!=null)return H(e).err;if(H(e).n==0)return null;let t=await H(H(e).wr).Write(P(H(e).buf,0,H(e).n)),n=t[0],r=t[1];return n<H(e).n&&r==null&&(r=Fl),r==null?(H(e).n=0,null):(n>0&&n<H(e).n&&R(P(H(e).buf,0,H(e).n-n),P(H(e).buf,n,H(e).n)),H(e).n=H(e).n-n,H(e).err=r,r)}async ReadFrom(t){let n=this,r=0n,i=null;if(H(n).err!=null)return[0n,H(n).err];let[a,o]=Na(H(n).wr,`io.ReaderFrom`),s=0;for(;;){if(e.prototype.Available.call(n)==0){let t=await e.prototype.Flush.call(n);if(t!=null)return[r,t]}if(o&&e.prototype.Buffered.call(n)==0){let[e,i]=await H(a).ReadFrom(U(t));return H(n).err=i,r=Ts(r,e),[r,i]}let c=0;for(;c<100;){let e=await H(t).Read(P(H(n).buf,H(n).n,void 0));if(s=e[0],i=e[1],s!=0||i!=null)break;c++}if(c==100)return[r,Nl];if(H(n).n=H(n).n+s,r=Ts(r,fs(s)),i!=null)break}return os(i,jl)&&(i=e.prototype.Available.call(n)==0?await e.prototype.Flush.call(n):null),[r,i]}Reset(e){let t=this;os(t,e)||(H(t).buf??(H(t).buf=N(4096,void 0,`byte`)),H(t).err=null,H(t).n=0,H(t).wr=e)}Size(){let e=this;return I(H(e).buf)}async Write(t){let n=this,r=0;for(;I(t)>e.prototype.Available.call(n)&&H(n).err==null;){let i=0;if(e.prototype.Buffered.call(n)==0){let e=await H(H(n).wr).Write(t);i=e[0],H(n).err=e[1]}else i=R(P(H(n).buf,H(n).n,void 0),t),H(n).n=H(n).n+i,await e.prototype.Flush.call(n);r+=i,t=P(t,i,void 0)}if(H(n).err!=null)return[r,H(n).err];let i=R(P(H(n).buf,H(n).n,void 0),t);return H(n).n=H(n).n+i,r+=i,[r,null]}async WriteByte(t){let n=this;return H(n).err!=null||e.prototype.Available.call(n)<=0&&await e.prototype.Flush.call(n)!=null?H(n).err:(H(n).buf[H(n).n]=G(t,8),H(n).n++,null)}async WriteRune(t){let n=this,r=0,i=null;if(G(G(t,32),32)<128)return i=await e.prototype.WriteByte.call(n,G(G(t,8),8)),i==null?[1,null]:[0,i];if(H(n).err!=null)return[0,H(n).err];let a=e.prototype.Available.call(n);if(a<4){if(await e.prototype.Flush.call(n),H(n).err!=null)return[0,H(n).err];if(a=e.prototype.Available.call(n),a<4)return e.prototype.WriteString.call(n,String.fromCodePoint(t))}return r=_d(P(H(n).buf,H(n).n,void 0),W(t,32)),H(n).n=H(n).n+r,[r,null]}async WriteString(t){let n=this,r=null,i=!0,a=0;for(;I(t)>e.prototype.Available.call(n)&&H(n).err==null;){let o=0;if(e.prototype.Buffered.call(n)==0&&r==null&&i){let e=Na(H(n).wr,`io.StringWriter`);r=e[0],i=e[1]}if(e.prototype.Buffered.call(n)==0&&i){let e=await H(r).WriteString(t);o=e[0],H(n).err=e[1]}else o=R(P(H(n).buf,H(n).n,void 0),t),H(n).n=H(n).n+o,await e.prototype.Flush.call(n);a+=o,t=Yo(t,o,void 0)}if(H(n).err!=null)return[a,H(n).err];let o=R(P(H(n).buf,H(n).n,void 0),t);return H(n).n=H(n).n+o,a+=o,[a,null]}static{h(this.prototype,[`err`,`buf`,`n`,`wr`])}static __typeInfo=S(`bufio.Writer`,()=>new e,()=>[_(`Available`,[],[y(`int`)]),_(`AvailableBuffer`,[],[x(y(`uint8`))]),_(`Buffered`,[],[y(`int`)]),_(`Flush`,[],[`error`]),_(`ReadFrom`,[[`r`,`io.Reader`]],[[`n`,y(`int64`)],[`err`,`error`]]),_(`Reset`,[[`w`,`io.Writer`]]),_(`Size`,[],[y(`int`)]),_(`Write`,[[`p`,x(y(`uint8`))]],[[`nn`,y(`int`)],[`err`,`error`]]),_(`WriteByte`,[[`c`,y(`uint8`)]],[`error`]),_(`WriteRune`,[[`r`,y(`int32`)]],[[`size`,y(`int`)],[`err`,`error`]]),_(`WriteString`,[[`s`,y(`string`)]],[y(`int`),`error`])],e,()=>[v(`err`,`error`,[0],0,!1,{pkgPath:`bufio`}),v(`buf`,x(y(`uint8`)),[1],16,!1,{pkgPath:`bufio`}),v(`n`,y(`int`),[2],40,!1,{pkgPath:`bufio`}),v(`wr`,`io.Writer`,[3],48,!1,{pkgPath:`bufio`})])};(class e{_fields;constructor(e){this._fields={Reader:e?.Reader??null,Writer:e?.Writer??null}}clone(){return C(new e(this))}Buffered(){return H(this.Reader).Buffered()}async Discard(e){return await H(this.Reader).Discard(e)}async Peek(e){return await H(this.Reader).Peek(e)}async Read(e){return await H(this.Reader).Read(e)}async ReadByte(){return await H(this.Reader).ReadByte()}async ReadBytes(e){return await H(this.Reader).ReadBytes(e)}async ReadLine(){return await H(this.Reader).ReadLine()}async ReadRune(){return await H(this.Reader).ReadRune()}async ReadSlice(e){return await H(this.Reader).ReadSlice(e)}async ReadString(e){return await H(this.Reader).ReadString(e)}Reset(e){return H(this.Reader).Reset(e)}Size(){return H(this.Reader).Size()}UnreadByte(){return H(this.Reader).UnreadByte()}UnreadRune(){return H(this.Reader).UnreadRune()}async WriteTo(e){return await H(this.Reader).WriteTo(e)}async collectFragments(e){return await H(this.Reader).collectFragments(e)}async fill(){return await H(this.Reader).fill()}readErr(){return H(this.Reader).readErr()}reset(e,t){return H(this.Reader).reset(e,t)}async writeBuf(e){return await H(this.Reader).writeBuf(e)}Available(){return H(this.Writer).Available()}AvailableBuffer(){return H(this.Writer).AvailableBuffer()}async Flush(){return await H(this.Writer).Flush()}async ReadFrom(e){return await H(this.Writer).ReadFrom(e)}async Write(e){return await H(this.Writer).Write(e)}async WriteByte(e){return await H(this.Writer).WriteByte(e)}async WriteRune(e){return await H(this.Writer).WriteRune(e)}async WriteString(e){return await H(this.Writer).WriteString(e)}static{h(this.prototype,[`Reader`,`Writer`])}static __typeInfo=S(`bufio.ReadWriter`,()=>new e,()=>[_(`Buffered`,[],[y(`int`)]),_(`Discard`,[[`n`,y(`int`)]],[[`discarded`,y(`int`)],[`err`,`error`]]),_(`Peek`,[[`n`,y(`int`)]],[x(y(`uint8`)),`error`]),_(`Read`,[[`p`,x(y(`uint8`))]],[[`n`,y(`int`)],[`err`,`error`]]),_(`ReadByte`,[],[y(`uint8`),`error`]),_(`ReadBytes`,[[`delim`,y(`uint8`)]],[x(y(`uint8`)),`error`]),_(`ReadLine`,[],[[`line`,x(y(`uint8`))],[`isPrefix`,y(`bool`)],[`err`,`error`]]),_(`ReadRune`,[],[[`r`,y(`int32`)],[`size`,y(`int`)],[`err`,`error`]]),_(`ReadSlice`,[[`delim`,y(`uint8`)]],[[`line`,x(y(`uint8`))],[`err`,`error`]]),_(`ReadString`,[[`delim`,y(`uint8`)]],[y(`string`),`error`]),_(`Reset`,[[`r`,`io.Reader`]]),_(`Size`,[],[y(`int`)]),_(`UnreadByte`,[],[`error`]),_(`UnreadRune`,[],[`error`]),_(`WriteTo`,[[`w`,`io.Writer`]],[[`n`,y(`int64`)],[`err`,`error`]]),_(`collectFragments`,[[`delim`,y(`uint8`)]],[[`fullBuffers`,x(x(y(`uint8`)))],[`finalFragment`,x(y(`uint8`))],[`totalLen`,y(`int`)],[`err`,`error`]]),_(`fill`),_(`readErr`,[],[`error`]),_(`reset`,[[`buf`,x(y(`uint8`))],[`r`,`io.Reader`]]),_(`writeBuf`,[[`w`,`io.Writer`]],[y(`int64`),`error`]),_(`Available`,[],[y(`int`)]),_(`AvailableBuffer`,[],[x(y(`uint8`))]),_(`Flush`,[],[`error`]),_(`ReadFrom`,[[`r`,`io.Reader`]],[[`n`,y(`int64`)],[`err`,`error`]]),_(`Write`,[[`p`,x(y(`uint8`))]],[[`nn`,y(`int`)],[`err`,`error`]]),_(`WriteByte`,[[`c`,y(`uint8`)]],[`error`]),_(`WriteRune`,[[`r`,y(`int32`)]],[[`size`,y(`int`)],[`err`,`error`]]),_(`WriteString`,[[`s`,y(`string`)]],[y(`int`),`error`])],e,()=>[v(`Reader`,b(`bufio.Reader`),[0],0,!0,{anonymous:!0}),v(`Writer`,b(`bufio.Writer`),[1],8,!0,{anonymous:!0})])});let fle=ml(`bufio: invalid use of UnreadByte`),ple=ml(`bufio: invalid use of UnreadRune`),Op=ml(`bufio: buffer full`),mle=ml(`bufio: negative count`);function hle(e,t){let n=Na(e,b(`bufio.Reader`)),r=n[0];if(n[1]&&I(H(r).buf)>=t)return r;let i=new Ep;return Ep.prototype.reset.call(i,N(qs(t,16),void 0,`byte`),e),i}function kp(e){return hle(e,4096)}let Ap=ml(`bufio: reader returned negative count from Read`),gle=ml(`bufio: writer returned negative count from Write`);function _le(e,t){let n=Na(e,b(`bufio.Writer`)),r=n[0];return n[1]&&I(H(r).buf)>=t?r:(t<=0&&(t=4096),new Dp({buf:N(t,void 0,`byte`),wr:e}))}var jp=class e{_fields;constructor(e){this._fields={r:e?.r??null,split:e?.split??null,maxTokenSize:e?.maxTokenSize??0,token:e?.token??null,buf:e?.buf??null,start:e?.start??0,end:e?.end??0,err:e?.err??null,empties:e?.empties??0,scanCalled:e?.scanCalled??!1,done:e?.done??!1}}clone(){return C(new e(this))}Buffer(e,t){let n=this;H(n).scanCalled&&Hi(`Buffer called after Scan`),H(n).buf=P(e,0,_o(e)),H(n).maxTokenSize=t}Bytes(){return H(this).token}Err(){let e=this;return os(H(e).err,jl)?null:H(e).err}async Scan(){let t=this;if(H(t).done)return!1;for(H(t).scanCalled=!0;;){if(H(t).end>H(t).start||H(t).err!=null){let n=await H(t).split(P(H(t).buf,H(t).start,H(t).end),H(t).err!=null),r=n[0],i=n[1],a=n[2];if(a!=null)return os(a,Cle)?(H(t).token=i,H(t).done=!0,i!=null):(e.prototype.setErr.call(t,a),!1);if(!e.prototype.advance.call(t,r))return!1;if(H(t).token=i,i!=null)return H(t).err==null||r>0?H(t).empties=0:(H(t).empties++,H(t).empties>100&&Hi(`bufio.Scan: too many empty tokens without progressing`)),!0}if(H(t).err!=null)return H(t).start=0,H(t).end=0,!1;if(H(t).start>0&&(H(t).end==I(H(t).buf)||H(t).start>Math.trunc(I(H(t).buf)/2))&&(R(H(t).buf,P(H(t).buf,H(t).start,H(t).end)),H(t).end=H(t).end-H(t).start,H(t).start=0),H(t).end==I(H(t).buf)){if(I(H(t).buf)>=H(t).maxTokenSize||I(H(t).buf)>W(`4611686018427387903`,64))return e.prototype.setErr.call(t,vle),!1;let n=I(H(t).buf)*2;n==0&&(n=4096),n=Ks(n,H(t).maxTokenSize);let r=N(n,void 0,`byte`);R(r,P(H(t).buf,H(t).start,H(t).end)),H(t).buf=r,H(t).end=H(t).end-H(t).start,H(t).start=0}for(let n=0;;){let[r,i]=await H(H(t).r).Read(P(H(t).buf,H(t).end,I(H(t).buf)));if(r<0||I(H(t).buf)-H(t).end<r){e.prototype.setErr.call(t,xle);break}if(H(t).end=H(t).end+r,i!=null){e.prototype.setErr.call(t,i);break}if(r>0){H(t).empties=0;break}if(n++,n>100){e.prototype.setErr.call(t,Nl);break}}}throw new globalThis.Error(`goscript: unreachable return`)}Split(e){let t=this;H(t).scanCalled&&Hi(`Split called after Scan`),H(t).split=e}Text(){let e=this;return B(H(e).token)}advance(t){let n=this;return t<0?(e.prototype.setErr.call(n,yle),!1):t>H(n).end-H(n).start?(e.prototype.setErr.call(n,ble),!1):(H(n).start=H(n).start+t,!0)}setErr(e){let t=this;(H(t).err==null||os(H(t).err,jl))&&(H(t).err=e)}static{h(this.prototype,[`r`,`split`,`maxTokenSize`,`token`,`buf`,`start`,`end`,`err`,`empties`,`scanCalled`,`done`])}static __typeInfo=S(`bufio.Scanner`,()=>new e,()=>[_(`Buffer`,[[`buf`,x(y(`uint8`))],[`max`,y(`int`)]]),_(`Bytes`,[],[x(y(`uint8`))]),_(`Err`,[],[`error`]),_(`Scan`,[],[y(`bool`)]),_(`Split`,[[`split`,{kind:`function`,name:`bufio.SplitFunc`,params:[x(y(`uint8`)),y(`bool`)],results:[y(`int`),x(y(`uint8`)),`error`]}]]),_(`Text`,[],[y(`string`)]),_(`advance`,[[`n`,y(`int`)]],[y(`bool`)]),_(`setErr`,[[`err`,`error`]])],e,()=>[v(`r`,`io.Reader`,[0],0,!1,{pkgPath:`bufio`}),v(`split`,{kind:`function`,name:`bufio.SplitFunc`,params:[x(y(`uint8`)),y(`bool`)],results:[y(`int`),x(y(`uint8`)),`error`]},[1],16,!1,{pkgPath:`bufio`}),v(`maxTokenSize`,y(`int`),[2],24,!1,{pkgPath:`bufio`}),v(`token`,x(y(`uint8`)),[3],32,!1,{pkgPath:`bufio`}),v(`buf`,x(y(`uint8`)),[4],56,!1,{pkgPath:`bufio`}),v(`start`,y(`int`),[5],80,!1,{pkgPath:`bufio`}),v(`end`,y(`int`),[6],88,!1,{pkgPath:`bufio`}),v(`err`,`error`,[7],96,!1,{pkgPath:`bufio`}),v(`empties`,y(`int`),[8],112,!1,{pkgPath:`bufio`}),v(`scanCalled`,y(`bool`),[9],120,!1,{pkgPath:`bufio`}),v(`done`,y(`bool`),[10],121,!1,{pkgPath:`bufio`})])};let vle=ml(`bufio.Scanner: token too long`),yle=ml(`bufio.Scanner: SplitFunc returns negative advance count`),ble=ml(`bufio.Scanner: SplitFunc returns advance count beyond input`),xle=ml(`bufio.Scanner: Read returned impossible count`);function Sle(e){return new jp({r:e,split:Tle,maxTokenSize:65536})}let Cle=ml(`final token`);new Uint8Array([239,191,189]);function wle(e){return I(e)>0&&G(z(e,I(e)-1),8)==13?P(e,0,I(e)-1):e}function Tle(e,t){if(t&&I(e)==0)return[0,null,null];{let t=Uf(e,10);if(t>=0)return[t+1,wle(P(e,0,t)),null]}return t?[I(e),wle(e),null]:[0,null,null]}function Ele(e){return 1}function Dle(){return typeof navigator<`u`&&navigator.hardwareConcurrency?navigator.hardwareConcurrency:1}function Ole(e){return[0,`unknown`,0,!1]}var Mp=class{Entry(){return 0}FileLine(e){return[``,0]}Name(){return``}};function Np(e){return null}var kle=class{PC=0;Func=null;Function=``;File=``;Line=0;Entry=0},Pp=class{frames;index=0;constructor(e=[]){this.frames=e}Next(){if(this.index>=this.frames.length)return[new kle,!1];let e=this.frames[this.index];return this.index++,[e,this.index<this.frames.length]}};function Ale(e,t){return 0}function jle(e){return new Pp}function Mle(e,t){if(!e)return 0;let n=e.value;return e.value=t,n}function Nle(e,t){if(!e)return 0;let n=e.value;return e.value=t,n}function Ple(e,t){if(!e)return 0;let n=e.value;return e.value=t,n}function Fle(e,t){if(!e)return null;let n=e.value;return e.value=t,n}function Ile(e,t,n){return e?e.value===t&&(e.value=n,!0):!1}function Fp(e,t,n){return e?e.value===t&&(e.value=n,!0):!1}function Lle(e,t,n){return e?e.value===t&&(e.value=n,!0):!1}function Rle(e,t,n){return e?e.value===t&&(e.value=n,!0):!1}function zle(e,t){return e?(e.value=e.value+t|0,e.value):0}function Ip(e,t){return e?(e.value=e.value+t>>>0,e.value):0}function Ble(e,t){return e?(e.value=e.value+t>>>0,e.value):0}function Vle(e,t){if(!e)return 0;let n=e.value;return e.value=e.value&t|0,n}function Hle(e,t){if(!e)return 0;let n=e.value;return e.value=(e.value&t)>>>0,n}function Ule(e,t){if(!e)return 0;let n=e.value;return e.value=(e.value&t)>>>0,n}function Wle(e,t){if(!e)return 0;let n=e.value;return e.value=e.value|t|0,n}function Gle(e,t){if(!e)return 0;let n=e.value;return e.value=(e.value|t)>>>0,n}function Kle(e,t){if(!e)return 0;let n=e.value;return e.value=(e.value|t)>>>0,n}function Lp(e){return e?e.value:0}function Rp(e){return e?e.value:0}function qle(e){return e?e.value:0}function Jle(e){return e?e.value:null}function Yle(e,t){e&&(e.value=t|0)}function zp(e,t){e&&(e.value=t>>>0)}function Xle(e,t){e&&(e.value=t>>>0)}function Zle(e,t){e&&(e.value=t)}function Qle(e,t){if(!e)return 0n;let n=e.value;return e.value=t,n}function $le(e,t){if(!e)return 0n;let n=e.value;return e.value=t,n}function eue(e,t,n){return e?e.value===t&&(e.value=n,!0):!1}function Bp(e,t,n){return e?e.value===t&&(e.value=n,!0):!1}function tue(e,t){return e?(e.value=Ts(e.value,t),e.value):0n}function Vp(e,t){return e?(e.value=q(e.value,t),e.value):0n}function nue(e,t){if(!e)return 0n;let n=e.value;return e.value=ks(e.value,t),n}function rue(e,t){if(!e)return 0n;let n=e.value;return e.value=Os(e.value,t),n}function iue(e,t){if(!e)return 0n;let n=e.value;return e.value=Ms(e.value,t),n}function aue(e,t){if(!e)return 0n;let n=e.value;return e.value=js(e.value,t),n}function Hp(e){return e?e.value:0n}function Up(e){return e?e.value:0n}function Wp(e,t){e&&(e.value=t)}function Gp(e,t){e&&(e.value=t)}const Kp=Symbol(`stringDataPointer`);function oue(e,t){if(typeof e==`object`&&e&&Kp in e&&e[Kp]===!0&&`value`in e&&typeof e.value==`string`)return P(Ko(e.value),0,t);throw Error(`unsafe.Slice is not supported in JavaScript/TypeScript: direct memory access is not available in JavaScript`)}function sue(e){throw Error(`unsafe.SliceData is not supported in JavaScript/TypeScript: direct memory access is not available in JavaScript`)}function cue(e){return{[Kp]:!0,value:e}}function qp(e){return e}var Jp=class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??0}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return Rp(qi(this._fields,`v`))!=0}Store(e){zp(qi(this._fields,`v`),Yp(e))}Swap(e){return Nle(qi(this._fields,`v`),Yp(e))!=0}CompareAndSwap(e,t){return Fp(qi(this._fields,`v`),Yp(e),Yp(t))}static __typeInfo=S(`Bool`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Store`,args:[{name:`val`,type:{kind:`basic`,name:`boolean`}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`basic`,name:`boolean`}}],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`basic`,name:`boolean`}},{name:`new`,type:{kind:`basic`,name:`boolean`}}],returns:[{type:{kind:`basic`,name:`boolean`}}]}],e,[{name:`v`,key:`v`,type:{kind:`basic`,name:`number`}}])};function Yp(e){return+!!e}var Xp=class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??null}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return Jle(qi(this._fields,`v`))}Store(e){let t=this;e===null?Zle(qi(t._fields,`v`),null):Zle(qi(t._fields,`v`),qp(e))}Swap(e){let t=this;return e===null?Fle(qi(t._fields,`v`),null):Fle(qi(t._fields,`v`),qp(e))}CompareAndSwap(e,t){return Rle(qi(this._fields,`v`),e?qp(e):null,t?qp(t):null)}static __typeInfo=S(`Pointer`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`pointer`,elemType:{kind:`interface`,methods:[]}}}]},{name:`Store`,args:[{name:`val`,type:{kind:`pointer`,elemType:{kind:`interface`,methods:[]}}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`pointer`,elemType:{kind:`interface`,methods:[]}}}],returns:[{type:{kind:`pointer`,elemType:{kind:`interface`,methods:[]}}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`pointer`,elemType:{kind:`interface`,methods:[]}}},{name:`new`,type:{kind:`pointer`,elemType:{kind:`interface`,methods:[]}}}],returns:[{type:{kind:`basic`,name:`boolean`}}]}],e,[{name:`v`,key:`v`,type:{kind:`basic`,name:`Pointer`}}])},Zp=class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??0}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return Lp(qi(this._fields,`v`))}Store(e){Yle(qi(this._fields,`v`),e)}Swap(e){return Mle(qi(this._fields,`v`),e)}CompareAndSwap(e,t){return Ile(qi(this._fields,`v`),e,t)}Add(e){return zle(qi(this._fields,`v`),e)}And(e){return Vle(qi(this._fields,`v`),e)}Or(e){return Wle(qi(this._fields,`v`),e)}static __typeInfo=S(`Int32`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Store`,args:[{name:`val`,type:{kind:`basic`,name:`number`}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`basic`,name:`number`}},{name:`new`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Add`,args:[{name:`delta`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`And`,args:[{name:`mask`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Or`,args:[{name:`mask`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]}],e,[{name:`v`,key:`v`,type:{kind:`basic`,name:`number`}}])},Qp=class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??0n}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return Hp(qi(this._fields,`v`))}Store(e){Wp(qi(this._fields,`v`),e)}Swap(e){return Qle(qi(this._fields,`v`),e)}CompareAndSwap(e,t){return eue(qi(this._fields,`v`),e,t)}Add(e){return tue(qi(this._fields,`v`),e)}And(e){return nue(qi(this._fields,`v`),e)}Or(e){return iue(qi(this._fields,`v`),e)}static __typeInfo=S(`Int64`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`basic`,name:`int64`}}]},{name:`Store`,args:[{name:`val`,type:{kind:`basic`,name:`int64`}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`basic`,name:`int64`}}],returns:[{type:{kind:`basic`,name:`int64`}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`basic`,name:`int64`}},{name:`new`,type:{kind:`basic`,name:`int64`}}],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Add`,args:[{name:`delta`,type:{kind:`basic`,name:`int64`}}],returns:[{type:{kind:`basic`,name:`int64`}}]},{name:`And`,args:[{name:`mask`,type:{kind:`basic`,name:`int64`}}],returns:[{type:{kind:`basic`,name:`int64`}}]},{name:`Or`,args:[{name:`mask`,type:{kind:`basic`,name:`int64`}}],returns:[{type:{kind:`basic`,name:`int64`}}]}],e,[{name:`v`,key:`v`,type:{kind:`basic`,name:`int64`}}])},$p=class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??0}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return Rp(qi(this._fields,`v`))}Store(e){zp(qi(this._fields,`v`),e)}Swap(e){return Nle(qi(this._fields,`v`),e)}CompareAndSwap(e,t){return Fp(qi(this._fields,`v`),e,t)}Add(e){return Ip(qi(this._fields,`v`),e)}And(e){return Hle(qi(this._fields,`v`),e)}Or(e){return Gle(qi(this._fields,`v`),e)}static __typeInfo=S(`Uint32`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Store`,args:[{name:`val`,type:{kind:`basic`,name:`number`}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`basic`,name:`number`}},{name:`new`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Add`,args:[{name:`delta`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`And`,args:[{name:`mask`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]},{name:`Or`,args:[{name:`mask`,type:{kind:`basic`,name:`number`}}],returns:[{type:{kind:`basic`,name:`number`}}]}],e,[{name:`v`,key:`v`,type:{kind:`basic`,name:`number`}}])},em=class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??0n}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return Up(qi(this._fields,`v`))}Store(e){Gp(qi(this._fields,`v`),e)}Swap(e){return $le(qi(this._fields,`v`),e)}CompareAndSwap(e,t){return Bp(qi(this._fields,`v`),e,t)}Add(e){return Vp(qi(this._fields,`v`),e)}And(e){return rue(qi(this._fields,`v`),e)}Or(e){return aue(qi(this._fields,`v`),e)}static __typeInfo=S(`Uint64`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`basic`,name:`uint64`}}]},{name:`Store`,args:[{name:`val`,type:{kind:`basic`,name:`uint64`}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`basic`,name:`uint64`}}],returns:[{type:{kind:`basic`,name:`uint64`}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`basic`,name:`uint64`}},{name:`new`,type:{kind:`basic`,name:`uint64`}}],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Add`,args:[{name:`delta`,type:{kind:`basic`,name:`uint64`}}],returns:[{type:{kind:`basic`,name:`uint64`}}]},{name:`And`,args:[{name:`mask`,type:{kind:`basic`,name:`uint64`}}],returns:[{type:{kind:`basic`,name:`uint64`}}]},{name:`Or`,args:[{name:`mask`,type:{kind:`basic`,name:`uint64`}}],returns:[{type:{kind:`basic`,name:`uint64`}}]}],e,[{name:`v`,key:`v`,type:{kind:`basic`,name:`uint64`}}])};(class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??0}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return qle(qi(this._fields,`v`))}Store(e){Xle(qi(this._fields,`v`),e)}Swap(e){return Ple(qi(this._fields,`v`),e)}CompareAndSwap(e,t){return Lle(qi(this._fields,`v`),e,t)}Add(e){return Ble(qi(this._fields,`v`),e)}And(e){return Ule(qi(this._fields,`v`),e)}Or(e){return Kle(qi(this._fields,`v`),e)}static __typeInfo=S(`Uintptr`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`basic`,name:`uintptr`}}]},{name:`Store`,args:[{name:`val`,type:{kind:`basic`,name:`uintptr`}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`basic`,name:`uintptr`}}],returns:[{type:{kind:`basic`,name:`uintptr`}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`basic`,name:`uintptr`}},{name:`new`,type:{kind:`basic`,name:`uintptr`}}],returns:[{type:{kind:`basic`,name:`boolean`}}]},{name:`Add`,args:[{name:`delta`,type:{kind:`basic`,name:`uintptr`}}],returns:[{type:{kind:`basic`,name:`uintptr`}}]},{name:`And`,args:[{name:`mask`,type:{kind:`basic`,name:`uintptr`}}],returns:[{type:{kind:`basic`,name:`uintptr`}}]},{name:`Or`,args:[{name:`mask`,type:{kind:`basic`,name:`uintptr`}}],returns:[{type:{kind:`basic`,name:`uintptr`}}]}],e,[{name:`v`,key:`v`,type:{kind:`basic`,name:`uintptr`}}])}),class e{_fields;constructor(e){this._fields={}}clone(){let t=new e;return t._fields={},t}Lock(){}Unlock(){}static __typeInfo=S(`noCopy`,new e,[{name:`Lock`,args:[],returns:[]},{name:`Unlock`,args:[],returns:[]}],e,[])},class e{_fields;constructor(e){this._fields={}}clone(){let t=new e;return t._fields={},t}static __typeInfo=S(`align64`,new e,[],e,[])},class e{get v(){return this._fields.v}set v(e){this._fields.v=e}_fields;constructor(e){this._fields={v:e?.v??null}}clone(){let t=new e;return t._fields={v:this._fields.v},t}Load(){return this._fields.v}Store(e){let t=this;e??Hi(`sync/atomic: store of nil value into Value`),t._fields.v=e}Swap(e){let t=this;e??Hi(`sync/atomic: swap of nil value into Value`);let n=t._fields.v;return t._fields.v=e,n}CompareAndSwap(e,t){let n=this;return t??Hi(`sync/atomic: compare and swap of nil value into Value`),n._fields.v===e&&(n._fields.v=t,!0)}static __typeInfo=S(`Value`,new e,[{name:`Load`,args:[],returns:[{type:{kind:`interface`,methods:[]}}]},{name:`Store`,args:[{name:`val`,type:{kind:`interface`,methods:[]}}],returns:[]},{name:`Swap`,args:[{name:`new`,type:{kind:`interface`,methods:[]}}],returns:[{type:{kind:`interface`,methods:[]}}]},{name:`CompareAndSwap`,args:[{name:`old`,type:{kind:`interface`,methods:[]}},{name:`new`,type:{kind:`interface`,methods:[]}}],returns:[{type:{kind:`basic`,name:`boolean`}}]}],e,[{name:`v`,key:`v`,type:{kind:`interface`,methods:[]}}])},class e{get typ(){return this._fields.typ}set typ(e){this._fields.typ=e}get data(){return this._fields.data}set data(e){this._fields.data=e}_fields;constructor(e){this._fields={typ:e?.typ??null,data:e?.data??null}}clone(){let t=new e;return t._fields={typ:this._fields.typ,data:this._fields.data},t}static __typeInfo=S(`efaceWords`,new e,[],e,[{name:`data`,key:`data`,type:{kind:`basic`,name:`Pointer`}},{name:`typ`,key:`typ`,type:{kind:`basic`,name:`Pointer`}}])};var tm=class e{_fields;constructor(e){this._fields={outMu:e?.outMu?C(w(e.outMu)):C(new bl),out:e?.out??null,prefix:e?.prefix?C(w(e.prefix)):C(new Xp),flag:e?.flag?C(w(e.flag)):C(new Zp),isDiscard:e?.isDiscard?C(w(e.isDiscard)):C(new Jp)}}clone(){return C(new e(this))}async Fatal(t){let n=this;await e.prototype.output.call(n,0,2,k(async e=>await dd(e,...t??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),bf(1)}async Fatalf(t,n){let r=this;await e.prototype.output.call(r,0,2,k(async e=>await fd(e,t,...n??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),bf(1)}async Fatalln(t){let n=this;await e.prototype.output.call(n,0,2,k(async e=>await eae(e,...t??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),bf(1)}Flags(){return W(H(this).flag.Load())}async Output(t,n){let r=this;return e.prototype.output.call(r,0,t+1,k(e=>wo(e,Ko(n),vo),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]}))}async Panic(t){let n=this,r=await ad(...t??[]);await e.prototype.output.call(n,0,2,k(e=>wo(e,Ko(r),vo),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),Hi(r)}async Panicf(t,n){let r=this,i=await od(t,...n??[]);await e.prototype.output.call(r,0,2,k(e=>wo(e,Ko(i),vo),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),Hi(i)}async Panicln(t){let n=this,r=await $ie(...t??[]);await e.prototype.output.call(n,0,2,k(e=>wo(e,Ko(r),vo),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),Hi(r)}Prefix(){let e=this;{let t=H(e).prefix.Load();if(t!=null)return H(t)}return``}async Print(t){let n=this;await e.prototype.output.call(n,0,2,k(async e=>await dd(e,...t??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]}))}async Printf(t,n){let r=this;await e.prototype.output.call(r,0,2,k(async e=>await fd(e,t,...n??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]}))}async Println(t){let n=this;await e.prototype.output.call(n,0,2,k(async e=>await eae(e,...t??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]}))}SetFlags(e){H(this).flag.Store(W(W(e,32),32))}async SetOutput(e){try{var t=Ni();let n=this,r=t.u(new gc);await H(n).outMu.Lock(),r.defer(()=>{H(n).outMu.Unlock()}),H(n).out=e,H(n).isDiscard.Store(os(e,Hl))}catch(e){t.e=e}finally{t.d()}}SetPrefix(e){let t=this,n=m(e);H(t).prefix.Store(n)}async Writer(){try{var e=Ni();let t=this,n=e.u(new gc);return await H(t).outMu.Lock(),n.defer(()=>{H(t).outMu.Unlock()}),H(t).out}catch(t){e.e=t}finally{e.d()}}async output(t,n,r){try{var i=Ni();let a=this,o=i.u(new gc);if(H(a).isDiscard.Load())return null;let s=C(w(Bc())),c=e.prototype.Prefix.call(a),l=e.prototype.Flags.call(a),u=``,d=0;if(l&24){if(G(t,64)==0){let e=!1,t=Ole(n);u=t[1],d=t[2],e=t[3],e||(u=`???`,d=0)}else{let e=jle(F([G(t,64)])),[n]=Pp.prototype.Next.call(H(e));u=n.File,V(u,``)&&(u=`???`),d=n.Line}}let f=await fue();o.defer(()=>{pue(f)}),uue(f,C(w(s)),c,l,u,d),f.value=await r(H(f)),(I(H(f))==0||G(z(H(f),I(H(f))-1),8)!=10)&&(f.value=L(H(f),G(10,8),vo)),await H(a).outMu.Lock(),o.defer(()=>{H(a).outMu.Unlock()});let[,p]=await H(H(a).out).Write(H(f));return p}catch(e){i.e=e}finally{i.d()}}static{h(this.prototype,[`outMu`,`out`,`prefix`,`flag`,`isDiscard`])}static __typeInfo=S(`log.Logger`,()=>new e,()=>[_(`Fatal`,[[`v`,x({kind:`interface`,methods:[]})]]),_(`Fatalf`,[[`format`,y(`string`)],[`v`,x({kind:`interface`,methods:[]})]]),_(`Fatalln`,[[`v`,x({kind:`interface`,methods:[]})]]),_(`Flags`,[],[y(`int`)]),_(`Output`,[[`calldepth`,y(`int`)],[`s`,y(`string`)]],[`error`]),_(`Panic`,[[`v`,x({kind:`interface`,methods:[]})]]),_(`Panicf`,[[`format`,y(`string`)],[`v`,x({kind:`interface`,methods:[]})]]),_(`Panicln`,[[`v`,x({kind:`interface`,methods:[]})]]),_(`Prefix`,[],[y(`string`)]),_(`Print`,[[`v`,x({kind:`interface`,methods:[]})]]),_(`Printf`,[[`format`,y(`string`)],[`v`,x({kind:`interface`,methods:[]})]]),_(`Println`,[[`v`,x({kind:`interface`,methods:[]})]]),_(`SetFlags`,[[`flag`,y(`int`)]]),_(`SetOutput`,[[`w`,`io.Writer`]]),_(`SetPrefix`,[[`prefix`,y(`string`)]]),_(`Writer`,[],[`io.Writer`]),_(`output`,[[`pc`,y(`uintptr`)],[`calldepth`,y(`int`)],[`appendOutput`,{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]}]],[`error`])],e,()=>[v(`outMu`,`sync.Mutex`,[0],0,!1,{pkgPath:`log`}),v(`out`,`io.Writer`,[1],8,!1,{pkgPath:`log`}),v(`prefix`,`atomic.Pointer`,[2],24,!1,{pkgPath:`log`}),v(`flag`,`atomic.Int32`,[3],32,!1,{pkgPath:`log`}),v(`isDiscard`,`atomic.Bool`,[4],36,!1,{pkgPath:`log`})])};async function lue(e,t,n){let r=new tm;return await tm.prototype.SetOutput.call(r,e),tm.prototype.SetPrefix.call(r,t),tm.prototype.SetFlags.call(r,n),r}let nm=await lue(D(pf,`*os.File`,b(`os.File`)),``,3);function rm(e,t,n){let r=Ea(new Uint8Array(20)),i=19;for(;t>=10||n>1;){n--;let e=Math.trunc(t/10);r[i]=G(G(48+t-e*10,8),8),i--,t=e}r[i]=G(G(48+t,8),8),e.value=wo(H(e),P(r,i,void 0),vo)}function uue(e,t,n,r,i,a){if(r&64||(e.value=wo(H(e),Ko(n),vo)),r&7){if(r&32&&rs(t,C(w(C(w(t)).UTC()))),r&1){let[n,r,i]=C(w(t)).Date();rm(e,n,4),e.value=L(H(e),G(47,8),vo),rm(e,W(r),2),e.value=L(H(e),G(47,8),vo),rm(e,i,2),e.value=L(H(e),G(32,8),vo)}if(r&6){let[n,i,a]=C(w(t)).Clock();rm(e,n,2),e.value=L(H(e),G(58,8),vo),rm(e,i,2),e.value=L(H(e),G(58,8),vo),rm(e,a,2),r&4&&(e.value=L(H(e),G(46,8),vo),rm(e,Math.trunc(C(w(t)).Nanosecond()/1e3),6)),e.value=L(H(e),G(32,8),vo)}}if(r&24){if(r&16){let e=i;for(let t=I(i)-1;t>0;t--)if(G(Jo(i,t),8)==47){e=Yo(i,t+1,void 0);break}i=e}e.value=wo(H(e),Ko(i),vo),e.value=L(H(e),G(58,8),vo),rm(e,a,-1),e.value=wo(H(e),Ko(`: `),vo)}r&64&&(e.value=wo(H(e),Ko(n),vo))}let due=m(C(new Dl({New:k(()=>D(m(null),`*[]byte`,b(x(y(`uint8`)))),{kind:`function`,params:[],results:[{kind:`interface`,methods:[]}]})})));async function fue(){let e=E(await due.value.Get(),b(x(y(`uint8`))));return e.value=P(H(e),void 0,0),e}function pue(e){_o(H(e))>65536&&(e.value=null),due.value.Put(D(e,`*[]byte`,b(x(y(`uint8`)))))}function mue(){k(async(e,t)=>await tm.prototype.output.call(nm,G(e,64),0,k(e=>wo(e,t,vo),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),{kind:`function`,params:[y(`uintptr`),x(y(`uint8`))],results:[`error`]})}async function im(e,t){await tm.prototype.output.call(nm,0,2,k(async n=>await fd(n,e,...t??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]}))}async function am(e){await tm.prototype.output.call(nm,0,2,k(async t=>await dd(t,...e??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),bf(1)}async function om(e,t){await tm.prototype.output.call(nm,0,2,k(async n=>await fd(n,e,...t??[]),{kind:`function`,params:[x(y(`uint8`))],results:[x(y(`uint8`))]})),bf(1)}mue();function sm(){let e=Error().stack??`stack trace unavailable`;return new TextEncoder().encode(e)}function hue(){Mte(new TextDecoder().decode(sm()))}const cm=(1n<<64n)-1n;function lm(e){if(typeof e==`bigint`){let t=e&cm;return[Number(t>>32n&4294967295n),Number(t&4294967295n)]}let t=Math.trunc(e);if(t>=0&&t<=2**53-1)return[Math.floor(t/4294967296)>>>0,t>>>0];let n=um(t);return[Number(n>>32n&4294967295n),Number(n&4294967295n)]}function gue(e){return 31-Math.clz32((e&-e)>>>0)}function um(e){return typeof e==`bigint`?e&cm:BigInt(Math.trunc(e))&cm}function dm(...e){return e.some(e=>typeof e==`bigint`)}function fm(e,t){return t||e>BigInt(2**53-1)?e:Number(e)}function _ue(e,t){return(e%t+t)%t}function vue(e){return pm(e)}function yue(e){return Math.clz32(e>>>0)}function pm(e){let[t,n]=lm(e);return t===0?32+Math.clz32(n):Math.clz32(t)}function mm(e){return hm(e)}function hm(e){let[t,n]=lm(e);return n===0?t===0?64:32+gue(t):gue(n)}function bue(e){return e>>>=0,e-=e>>>1&1431655765,e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}function xue(e){let[t,n]=lm(e);return bue(t)+bue(n)}function gm(e,t){return t=_ue(t,32),e>>>=0,(e<<t|e>>>32-t)>>>0}function _m(e,t){t=_ue(t,64);let n=dm(e),r=um(e);return fm((r<<BigInt(t)|r>>BigInt(64-t))&cm,n)}function Sue(e){return e&=255,e=(e&240)>>4|(e&15)<<4,e=(e&204)>>2|(e&51)<<2,e=(e&170)>>1|(e&85)<<1,e}function vm(e){return e&=65535,e=(e&65280)>>8|(e&255)<<8,e=(e&61680)>>4|(e&3855)<<4,e=(e&52428)>>2|(e&13107)<<2,e=(e&43690)>>1|(e&21845)<<1,e}function Cue(e){return ym(e)}function wue(e){return 32-yue(e)}function ym(e){return 64-pm(e)}function bm(e,t){return Sm(e,t)}function xm(e,t){e>>>=0,t>>>=0;let n=e&65535,r=e>>>16,i=t&65535,a=t>>>16,o=Math.imul(n,i)>>>0,s=Math.imul(r,i)>>>0,c=Math.imul(n,a)>>>0,l=Math.imul(r,a)>>>0,u=(o>>>16)+(s&65535)+(c&65535),d=(o&65535|u<<16)>>>0;return[l+(s>>>16)+(c>>>16)+(u>>>16)>>>0,d]}function Sm(e,t){let n=dm(e,t);e=um(e),t=um(t);let r=e*t,i=r&cm;return[fm(r>>64n&cm,n),fm(i,n)]}function Tue(e,t,n){return Eue(e,t,n)}function Eue(e,t,n){let r=dm(e,t,n);if(e=um(e),t=um(t),n=um(n),n===0n)throw Error(`division by zero`);let i=e<<64n|t,a=i/n,o=i%n;return[fm(a,r),fm(o,r)]}function Cm(e,t,n){return wm(e,t,n)}function Due(e,t,n){let r=(e>>>0)+(t>>>0)+(n>>>0);return[r>>>0,+(r>4294967295)]}function wm(e,t,n){let r=dm(e,t,n),i=um(e)+um(t)+um(n),a=i&cm,o=i>cm?1n:0n;return[fm(a,r),fm(o,r)]}function Tm(e,t,n){return Em(e,t,n)}function Em(e,t,n){let r=dm(e,t,n),i=um(e)-um(t)-um(n),a=i&cm,o=i<0n?1n:0n;return[fm(a,r),fm(o,r)]}function Oue(e){return Math.abs(e)}function Dm(e){return e>=0?1/0:-1/0}function kue(){return NaN}function Om(e){return Number.isNaN(e)}function km(e,t){return t>0?e===1/0:t<0?e===-1/0:!Number.isFinite(e)&&!Number.isNaN(e)}let Am=Math.LN2,Aue=Number.MIN_VALUE;function jm(e){return Math.exp(e)}function Mm(e){let t=new DataView(new ArrayBuffer(4));return t.setFloat32(0,e,!0),t.getUint32(0,!0)}function Nm(e){let t=new DataView(new ArrayBuffer(4));return t.setUint32(0,e,!0),t.getFloat32(0,!0)}function Pm(e){let t=new DataView(new ArrayBuffer(8));return t.setFloat64(0,e,!0),t.getBigUint64(0,!0)}function Fm(e){let t=new DataView(new ArrayBuffer(8));return t.setBigUint64(0,BigInt.asUintN(64,e),!0),t.getFloat64(0,!0)}function Im(e){return Math.log(e)}function jue(e){return Math.sqrt(e)}function Lm(e){return Math.floor(e)}function Rm(e){return Math.ceil(e)}function Mue(e){return Nue(e)}function Nue(e){if(e===0||!Number.isFinite(e)||Number.isNaN(e))return[e,0];let t=Math.floor(Math.log2(Math.abs(e)))+1;return[e/2**t,t]}function zm(e,t){return e===1?1:e**+t}function Pue(e){let t=new DataView(new ArrayBuffer(8));return t.setFloat64(0,e),!!(t.getUint8(0)&128)}F([15896230157654656e-26,-2.5050747762857807e-8,27557313621385722e-22,-.0001984126982958954,.008333333333322118,-.1666666666666663]),F([-11358536521387682e-27,2.087570084197473e-9,-2.755731417929674e-7,24801587288851704e-21,-.0013888888888873056,.041666666666666595]),F([.00016011952247675185,.0011913514700658638,.010421379756176158,.04763678004571372,.20744822764843598,.4942148268014971,1]),F([-23158187332412014e-21,.0005396055804933034,-.004456419138517973,.011813978522206043,.035823639860549865,-.23459179571824335,.0714304917030273,1]),F([.0007873113957930937,-.00022954996161337813,-.0026813261780578124,.0034722222160545866,.08333333333334822]),m(F([0,-.07031249999999004,-8.081670412753498,-257.06310567970485,-2485.216410094288,-5253.043804907295])),m(F([116.53436461966818,3833.7447536412183,40597.857264847255,116752.97256437592,47627.728414673096])),m(F([-1141254646918945e-26,-.07031249408735993,-4.159610644705878,-67.67476522651673,-331.23129964917297,-346.4333883656049])),m(F([60.753938269230034,1051.2523059570458,5978.970943338558,9625.445143577745,2406.058159229391])),m(F([-2.547046017719519e-9,-.07031196163814817,-2.409032215495296,-21.96597747348831,-58.07917047017376,-31.44794705948885])),m(F([35.85603380552097,361.51398305030386,1193.6078379211153,1127.9967985690741,173.58093081333575])),m(F([-8.875343330325264e-8,-.07030309954836247,-1.4507384678095299,-7.635696138235278,-11.193166886035675,-3.2336457935133534])),m(F([22.22029975320888,136.2067942182152,270.4702786580835,153.87539420832033,14.65761769482562])),m(F([0,.0732421874999935,11.76820646822527,557.6733802564019,8859.197207564686,37014.62677768878])),m(F([163.77602689568982,8098.344946564498,142538.29141912048,803309.2571195144,840501.5798190605,-343899.2935378666])),m(F([18408596359451553e-27,.07324217666126848,5.8356350896205695,135.11157728644983,1027.243765961641,1989.9778586460538])),m(F([82.77661022365378,2077.81416421393,18847.28877857181,56751.11228949473,35976.75384251145,-5354.342756019448])),m(F([4.377410140897386e-9,.07324111800429114,3.344231375161707,42.621844074541265,170.8080913405656,166.73394869665117])),m(F([48.75887297245872,709.689221056606,3704.1482262011136,6460.425167525689,2516.3336892036896,-149.2474518361564])),m(F([1.5044444488698327e-7,.07322342659630793,1.99819174093816,14.495602934788574,31.666231750478154,16.252707571092927])),m(F([30.36558483552192,269.34811860804984,844.7837575953201,882.9358451124886,212.66638851179883,-5.3109549388266695])),m(F([0,.11718749999998865,13.239480659307358,412.05185430737856,3874.7453891396053,7914.479540318917])),m(F([114.20737037567841,3650.9308342085346,36956.206026903346,97602.79359349508,30804.27206278888])),m(F([13199051955624352e-27,.1171874931906141,6.802751278684329,108.30818299018911,517.6361395331998,528.7152013633375])),m(F([59.28059872211313,991.4014187336144,5353.26695291488,7844.690317495512,1504.0468881036106])),m(F([3.025039161373736e-9,.11718686556725359,3.9329775003331564,35.11940355916369,91.05501107507813,48.55906851973649])),m(F([34.79130950012515,336.76245874782575,1046.8713997577513,890.8113463982564,103.78793243963928])),m(F([1.0771083010687374e-7,.11717621946268335,2.368514966676088,12.242610914826123,17.693971127168773,5.073523125888185])),m(F([21.43648593638214,125.29022716840275,232.2764690571628,117.6793732871471,8.364638933716183])),m(F([0,-.10253906249999271,-16.271753454459,-759.6017225139501,-11849.806670242959,-48438.512428575035])),m(F([161.3953697007229,7825.385999233485,133875.33628724958,719657.7236832409,666601.2326177764,-294490.26430383464])),m(F([-2089799311417641e-26,-.10253905024137543,-8.05644828123936,-183.66960747488838,-1373.1937606550816,-2612.4444045321566])),m(F([81.27655013843358,1991.7987346048596,17468.48519249089,49851.42709103523,27948.075163891812,-4719.183547951285])),m(F([-5.078312264617666e-9,-.10253782982083709,-4.610115811394734,-57.847221656278364,-228.2445407376317,-219.21012847890933])),m(F([47.66515503237295,673.8651126766997,3380.1528667952634,5547.729097207228,1903.119193388108,-135.20119144430734])),m(F([-1.7838172751095887e-7,-.10251704260798555,-2.7522056827818746,-19.663616264370372,-42.32531333728305,-21.371921170370406])),m(F([29.533362906052385,252.98154998219053,757.5028348686454,739.3932053204672,155.94900333666612,-4.959498988226282]));function Fue(e,t){return Iue(e,t)}function Iue(e,t){return e===0||!Number.isFinite(e)||Number.isNaN(e)?e:e*2**t}F([.07721566490153287,.3224670334241136,.06735230105312927,.020580808432516733,.007385550860814029,.0028905138367341563,.0011927076318336207,.0005100697921535113,.00022086279071390839,.00010801156724758394,25214456545125733e-21,44864094961891516e-21]),F([1,1.3920053346762105,.7219355475671381,.17193386563280308,.01864591917156529,.0007779424963818936,7326684307446256e-21]),F([-.07721566490153287,.21498241596060885,.325778796408931,.14635047265246445,.02664227030336386,.0018402845140733772,3194753265841009e-20]),F([.48383612272381005,-.1475877229945939,.06462494023913339,-.032788541075985965,.01797067508118204,-.010314224129834144,.006100538702462913,-.0036845201678113826,.0022596478090061247,-.0014034646998923284,.000881081882437654,-.0005385953053567405,.00031563207090362595,-.00031275416837512086,.0003355291926355191]),F([-.07721566490153287,.6328270640250934,1.4549225013723477,.9777175279633727,.22896372806469245,.013381091853678766]),F([1,2.4559779371304113,2.128489763798934,.7692851504566728,.10422264559336913,.003217092422824239]),F([.4189385332046727,.08333333333333297,-.0027777777772877554,.0007936505586430196,-.00059518755745034,.0008363399189962821,-.0016309293409657527]);function Bm(e){return Math.log2(e)}F([1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,0xe8d4a51000,0x9184e72a000,0x5af3107a4000,0x38d7ea4c68000,0x2386f26fc10000,0x16345785d8a0000,0xde0b6b3a7640000,0x8ac7230489e80000,0x56bc75e2d63100000,1e21,1e22,1e23,1e24,1e25,1e26,1e27,1e28,1e29,1e30,1e31]),F([1,1e32,1e64,1e96,1e128,1e160,1e192,1e224,1e256,1e288]),F([1,1e-32,1e-64,1e-96,1e-128,1e-160,1e-192,1e-224,1e-256,1e-288,1e-320]);function Vm(e){return 10**e}F([-13093.693918138379,1153516.6483858742,-17956525.197648488]),F([1,13681.296347069296,-1320892.3444021097,25008380.18233579,-53869575.592945464]),F([-.9643991794250523,-99.28772310019185,-1614.6876844170845]),F([112.81167849163293,2235.4883906010045,4844.063053251255]);var Hm=class e{_fields;constructor(e){this._fields={pools:e?.pools===void 0?Ea(Array.from({length:32},()=>C(new Dl)),Yi(`sync.Pool`,32)):Oa(e.pools,Yi(`sync.Pool`,32)),ptrs:e?.ptrs?C(w(e.ptrs)):C(new Dl)}}clone(){return C(new e(this))}async Get(e){let t=this;if(e==0)return null;if(e>2147483647||e<0)return N(e,void 0,`byte`);let n=G(Rue(G(G(e,32),32)),32);{let r=await z(H(t).pools,n).Get();if(r!=null){let n=E(r,b(`pool.bufp`)),i=P(H(n).buf,void 0,G(e,32));return H(n).buf=null,H(t).ptrs.Put(r),i}}return P(N(1<<n,void 0,`byte`),void 0,G(e,32))}async Put(e){let t=this,n=_o(e);if(n==0||n>2147483647)return;let r=G(zue(G(G(n,32),32)),32),i=null;{let e=await H(t).ptrs.Get();i=e==null?new Lue:E(e,b(`pool.bufp`))}H(i).buf=e,z(H(t).pools,r).Put(D(i,`*pool.bufp`,b(`pool.bufp`)))}static{h(this.prototype,[`pools`,`ptrs`])}static __typeInfo=S(`pool.BufferPool`,()=>new e,()=>[_(`Get`,[[`length`,y(`int`)]],[x(y(`uint8`))]),_(`Put`,[[`buf`,x(y(`uint8`))]])],e,()=>[v(`pools`,Yi(`sync.Pool`,32),[0],0,!1,{pkgPath:`github.com/libp2p/go-buffer-pool`}),v(`ptrs`,`sync.Pool`,[1],1280,!1,{pkgPath:`github.com/libp2p/go-buffer-pool`})])},Lue=class e{_fields;constructor(e){this._fields={buf:e?.buf??null}}clone(){return C(new e(this))}static{h(this.prototype,[`buf`])}static __typeInfo=S(`pool.bufp`,()=>new e,()=>[],e,()=>[v(`buf`,x(y(`uint8`)),[0],0,!1,{pkgPath:`github.com/libp2p/go-buffer-pool`})])};let Um=new Hm;async function Wm(e){return Hm.prototype.Get.call(Um,e)}async function Gm(e){await Hm.prototype.Put.call(Um,e)}function Rue(e){return G(G(wue(G(e-1,32)),32),32)}function zue(e){let t=G(Rue(G(e,32)),32);return G(e,32)==G(1<<G(t,32),32)?G(t,32):G(t-1,32)}(class e{_fields;constructor(e){this._fields={Pool:e?.Pool??null,buf:e?.buf??null,rOff:e?.rOff??0,bootstrap:e?.bootstrap===void 0?Ea(new Uint8Array(64)):Oa(e.bootstrap,Yi(y(`uint8`),64))}}clone(){return C(new e(this))}Bytes(){let e=this;return P(H(e).buf,H(e).rOff,void 0)}Cap(){let e=this;return _o(H(e).buf)}async Grow(t){let n=this,r=await e.prototype.grow.call(n,t);H(n).buf=P(H(n).buf,void 0,r)}Len(){let e=this;return I(H(e).buf)-H(e).rOff}Next(t){let n=this,r=e.prototype.Len.call(n);r<t&&(t=r);let i=P(H(n).buf,H(n).rOff,H(n).rOff+t);return H(n).rOff=H(n).rOff+t,i}async Read(t){let n=this;if(I(t)==0)return[0,null];if(H(n).rOff>=I(H(n).buf))return[0,jl];let r=R(t,P(H(n).buf,H(n).rOff,void 0));return H(n).rOff=H(n).rOff+r,await e.prototype.shrink.call(n),[r,null]}ReadByte(){let e=this;if(H(e).rOff>=I(H(e).buf))return[0,jl];let t=G(z(H(e).buf,H(e).rOff),8);return H(e).rOff++,[G(t,8),null]}async ReadFrom(t){let n=this,r=0n;for(;;){let i=await e.prototype.grow.call(n,512);H(n).buf=P(H(n).buf,void 0,_o(H(n).buf));let[a,o]=await H(t).Read(P(H(n).buf,i,void 0));H(n).buf=P(H(n).buf,void 0,i+a),r=Ts(r,fs(a));{let t=o;switch(!0){case os(t,null):break;case os(t,jl):o=null;default:return await e.prototype.shrink.call(n),[r,o]}}}throw new globalThis.Error(`goscript: unreachable return`)}async Reset(){let t=this;await e.prototype.returnBuf.call(t),H(t).rOff=0}String(){let e=this;return e==null?`<nil>`:B(P(H(e).buf,H(e).rOff,void 0))}async Truncate(t){let n=this;(t<0||t>e.prototype.Len.call(n))&&Hi(`truncation out of range`),H(n).buf=P(H(n).buf,void 0,H(n).rOff+t),await e.prototype.shrink.call(n)}async Write(t){let n=this,r=await e.prototype.grow.call(n,I(t));return[R(P(H(n).buf,r,void 0),t),null]}async WriteByte(t){let n=this,r=await e.prototype.grow.call(n,1);return H(n).buf[r]=G(t,8),null}async WriteString(t){let n=this,r=await e.prototype.grow.call(n,I(t));return[R(P(H(n).buf,r,void 0),t),null]}async WriteTo(t){let n=this;if(H(n).rOff<I(H(n).buf)){let[r,i]=await H(t).Write(P(H(n).buf,H(n).rOff,void 0));return H(n).rOff=H(n).rOff+r,H(n).rOff>I(H(n).buf)&&Hi(`invalid write count`),await e.prototype.shrink.call(n),[fs(r),i]}return[0n,null]}async getBuf(t){let n=this;return t<=64?P(H(n).bootstrap,void 0,t):Hm.prototype.Get.call(e.prototype.getPool.call(n),t)}getPool(){let e=this;return H(e).Pool==null?Um:H(e).Pool}async grow(t){let n=this,r=I(H(n).buf),i=_o(H(n).buf);if(i>=r+t)return H(n).buf=P(H(n).buf,void 0,r+t),r;let a=e.prototype.Len.call(n),o=2*a+t;if(i>=o)R(H(n).buf,P(H(n).buf,H(n).rOff,void 0));else{let t=await e.prototype.getBuf.call(n,o);R(t,P(H(n).buf,H(n).rOff,void 0)),await e.prototype.returnBuf.call(n),H(n).buf=t}return H(n).rOff=0,H(n).buf=P(H(n).buf,void 0,a+t),a}async returnBuf(){let t=this;_o(H(t).buf)>64&&await Hm.prototype.Put.call(e.prototype.getPool.call(t),H(t).buf),H(t).buf=null}async shrink(){let t=this,n=e.prototype.Cap.call(t);if(n<=64)return;let r=e.prototype.Len.call(t);if(r==0)await e.prototype.returnBuf.call(t),H(t).rOff=0;else if(r*8<n){let n=await e.prototype.getBuf.call(t,r);R(n,P(H(t).buf,H(t).rOff,void 0)),await e.prototype.returnBuf.call(t),H(t).rOff=0,H(t).buf=P(n,void 0,r)}}static{h(this.prototype,[`Pool`,`buf`,`rOff`,`bootstrap`])}static __typeInfo=S(`pool.Buffer`,()=>new e,()=>[_(`Bytes`,[],[x(y(`uint8`))]),_(`Cap`,[],[y(`int`)]),_(`Grow`,[[`n`,y(`int`)]]),_(`Len`,[],[y(`int`)]),_(`Next`,[[`n`,y(`int`)]],[x(y(`uint8`))]),_(`Read`,[[`buf`,x(y(`uint8`))]],[y(`int`),`error`]),_(`ReadByte`,[],[y(`uint8`),`error`]),_(`ReadFrom`,[[`r`,`io.Reader`]],[y(`int64`),`error`]),_(`Reset`),_(`String`,[],[y(`string`)]),_(`Truncate`,[[`n`,y(`int`)]]),_(`Write`,[[`buf`,x(y(`uint8`))]],[y(`int`),`error`]),_(`WriteByte`,[[`c`,y(`uint8`)]],[`error`]),_(`WriteString`,[[`buf`,y(`string`)]],[y(`int`),`error`]),_(`WriteTo`,[[`w`,`io.Writer`]],[y(`int64`),`error`]),_(`getBuf`,[[`n`,y(`int`)]],[x(y(`uint8`))]),_(`getPool`,[],[b(`pool.BufferPool`)]),_(`grow`,[[`n`,y(`int`)]],[y(`int`)]),_(`returnBuf`),_(`shrink`)],e,()=>[v(`Pool`,b(`pool.BufferPool`),[0],0,!0),v(`buf`,x(y(`uint8`)),[1],8,!1,{pkgPath:`github.com/libp2p/go-buffer-pool`}),v(`rOff`,y(`int`),[2],32,!1,{pkgPath:`github.com/libp2p/go-buffer-pool`}),v(`bootstrap`,Yi(y(`uint8`),64),[3],40,!1,{pkgPath:`github.com/libp2p/go-buffer-pool`})])}),class e{_fields;constructor(e){this._fields={W:e?.W??null,bufw:e?.bufw??null}}clone(){return C(new e(this))}Available(){let e=this;return H(e).bufw==null?4096:Dp.prototype.Available.call(H(e).bufw)}Buffered(){let e=this;return H(e).bufw==null?0:Dp.prototype.Buffered.call(H(e).bufw)}async Close(){let t=this,n=null,r=null;n=await e.prototype.Flush.call(t);{let[e,n]=Na(H(t).W,`io.Closer`);n&&(r=await H(e).Close())}return n??r}async Flush(){let e=this;if(H(e).bufw==null)return null;{let t=await Dp.prototype.Flush.call(H(e).bufw);if(t!=null)return t}return Dp.prototype.Reset.call(H(e).bufw,null),Km.value.Put(D(H(e).bufw,`*bufio.Writer`,b(`bufio.Writer`))),H(e).bufw=null,null}Size(){return 4096}async Write(e){let t=this;if(H(t).bufw==null){if(I(e)>=4096)return H(H(t).W).Write(e);H(t).bufw=E(await Km.value.Get(),b(`bufio.Writer`)),Dp.prototype.Reset.call(H(t).bufw,H(t).W)}return Dp.prototype.Write.call(H(t).bufw,e)}async WriteByte(t){let n=this;return await e.prototype.ensureBuffer.call(n),Dp.prototype.WriteByte.call(H(n).bufw,G(t,8))}async WriteRune(t){let n=this;return await e.prototype.ensureBuffer.call(n),Dp.prototype.WriteRune.call(H(n).bufw,W(t,32))}async WriteString(t){let n=this;return await e.prototype.ensureBuffer.call(n),Dp.prototype.WriteString.call(H(n).bufw,t)}async ensureBuffer(){let e=this;H(e).bufw??(H(e).bufw=E(await Km.value.Get(),b(`bufio.Writer`)),Dp.prototype.Reset.call(H(e).bufw,H(e).W))}static{h(this.prototype,[`W`,`bufw`])}static __typeInfo=S(`pool.Writer`,()=>new e,()=>[_(`Available`,[],[y(`int`)]),_(`Buffered`,[],[y(`int`)]),_(`Close`,[],[`error`]),_(`Flush`,[],[`error`]),_(`Size`,[],[y(`int`)]),_(`Write`,[[`b`,x(y(`uint8`))]],[y(`int`),`error`]),_(`WriteByte`,[[`b`,y(`uint8`)]],[`error`]),_(`WriteRune`,[[`r`,y(`int32`)]],[y(`int`),`error`]),_(`WriteString`,[[`s`,y(`string`)]],[y(`int`),`error`]),_(`ensureBuffer`)],e,()=>[v(`W`,`io.Writer`,[0],0,!0),v(`bufw`,b(`bufio.Writer`),[1],16,!1,{pkgPath:`github.com/libp2p/go-buffer-pool`})])};let Km=m(C(new Dl({New:k(()=>D(_le(null,4096),`*bufio.Writer`,b(`bufio.Writer`)),{kind:`function`,params:[],results:[{kind:`interface`,methods:[]}]})})));const Bue=vc(`binary: varint overflows a 64-bit integer`);var Vue=class e{Uint(e){return this.Uint64(e)}Uint16(e){return sh(e,2),ch(e,0)|ch(e,1)<<8}Uint32(e){return sh(e,4),(ch(e,0)|ch(e,1)<<8|ch(e,2)<<16|ch(e,3)<<24)>>>0}Uint64(e){sh(e,8);let t=0n;for(let n=0;n<8;n++)t|=BigInt(ch(e,n))<<BigInt(8*n);return dh(t)}PutUint16(e,t){sh(e,2),lh(e,0,t),lh(e,1,t>>8)}PutUint32(e,t){sh(e,4);let n=Number(G(t,32));lh(e,0,n),lh(e,1,n>>>8),lh(e,2,n>>>16),lh(e,3,n>>>24)}PutUint64(e,t){sh(e,8);let n=uh(t);for(let t=0;t<8;t++)lh(e,t,Number(n>>BigInt(8*t)&255n))}AppendUint16(e,t){return L(e,t&255,t>>>8&255)}AppendUint32(e,t){let n=Number(G(t,32));return L(e,n&255,n>>>8&255,n>>>16&255,n>>>24)}AppendUint64(e,t){let n=e,r=uh(t);for(let e=0;e<8;e++)n=L(n,Number(r>>BigInt(8*e)&255n));return n}String(){return`LittleEndian`}GoString(){return`binary.LittleEndian`}clone(){return C(new e)}},Hue=class e{Uint(e){return this.Uint64(e)}Uint16(e){return sh(e,2),ch(e,1)|ch(e,0)<<8}Uint32(e){return sh(e,4),(ch(e,3)|ch(e,2)<<8|ch(e,1)<<16|ch(e,0)<<24)>>>0}Uint64(e){sh(e,8);let t=0n;for(let n=0;n<8;n++)t=t<<8n|BigInt(ch(e,n));return dh(t)}PutUint16(e,t){sh(e,2),lh(e,0,t>>8),lh(e,1,t)}PutUint32(e,t){sh(e,4);let n=Number(G(t,32));lh(e,0,n>>>24),lh(e,1,n>>>16),lh(e,2,n>>>8),lh(e,3,n)}PutUint64(e,t){sh(e,8);let n=uh(t);for(let t=0;t<8;t++)lh(e,t,Number(n>>BigInt(56-8*t)&255n))}AppendUint16(e,t){return L(e,t>>>8&255,t&255)}AppendUint32(e,t){let n=Number(G(t,32));return L(e,n>>>24,n>>>16&255,n>>>8&255,n&255)}AppendUint64(e,t){let n=e,r=uh(t);for(let e=0;e<8;e++)n=L(n,Number(r>>BigInt(56-8*e)&255n));return n}String(){return`BigEndian`}GoString(){return`binary.BigEndian`}clone(){return C(new e)}};const qm=new Vue,Jm=new Hue;sa(`binary.ByteOrder`,null,[{name:`Uint16`,args:[hh(`b`)],returns:[mde()]},{name:`Uint32`,args:[hh(`b`)],returns:[mde()]},{name:`Uint64`,args:[hh(`b`)],returns:[{type:{kind:`basic`,name:`uint64`}}]},{name:`PutUint16`,args:[hh(`b`),gh(`v`)],returns:[]},{name:`PutUint32`,args:[hh(`b`),gh(`v`)],returns:[]},{name:`PutUint64`,args:[hh(`b`),{name:`v`,type:{kind:`basic`,name:`uint64`}}],returns:[]},{name:`String`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]),sa(`binary.AppendByteOrder`,null,[{name:`AppendUint16`,args:[hh(`b`),gh(`v`)],returns:[{type:_h()}]},{name:`AppendUint32`,args:[hh(`b`),gh(`v`)],returns:[{type:_h()}]},{name:`AppendUint64`,args:[hh(`b`),{name:`v`,type:{kind:`basic`,name:`uint64`}}],returns:[{type:_h()}]},{name:`String`,args:[],returns:[{type:{kind:`basic`,name:`string`}}]}]);function Ym(e,t){let n=uh(t),r=0;for(;n>=128n;)lh(e,r,Number(n&127n)|128),n>>=7n,r++;return lh(e,r,Number(n)),r+1}function Xm(e){let t=go(e)?e.__meta__:null,n=t===null?I(e):t.length,r=n=>t===null?ch(e,n):Number(t.backing[t.offset+n])&255,i=0,a=0,o=Math.min(n,7);for(let e=0;e<o;e++){let t=r(e);if(t<128)return[BigInt(i+t*2**a),e+1];i+=(t&127)*2**a,a+=7}if(n<7)return[dh(0n),0];let s=BigInt(i),c=49n;for(let e=7;e<Math.min(n,10);e++){let t=r(e);if(t<128)return e===9&&t>1?[dh(0n),-(e+1)]:[dh(s|BigInt(t)<<c),e+1];s|=BigInt(t&127)<<c,c+=7n}return n>10?[dh(0n),-11]:[dh(0n),0]}function Zm(e,t){return Ym(e,cde(t))}function Qm(e){let[t,n]=Xm(e);return[lde(t),n]}async function Uue(e){let t=0n,n=0n;for(let r=0;r<10;r++){let[i,a]=await e.ReadByte();if(a!==null)return[dh(t),r>0&&pde(a)?J:a];if(i<128)return r===9&&i>1?[dh(t),Bue]:[dh(t|BigInt(i)<<n),null];t|=BigInt(i&127)<<n,n+=7n}return[dh(t),Bue]}async function Wue(e,t,n){let r=Kue(t),i=Xue(n);if(i===null)return ade(`Read`,n);let a=Gue(i);if(a<0)return ade(`Read`,n);let o=N(a,void 0,`byte`),[,s]=await sde(e,o);return s===null?(que(o,r,i),null):s}function Gue(e){return e.shape===void 0?rh(e.kind,e.value):ah(e.shape)}function Kue(e){if(e===null)throw Error(`runtime error: invalid memory address or nil pointer dereference`);return e}function que(e,t,n){if(n.shape!==void 0){Jue(e,t,n);return}let r=n.kind;if(r.startsWith(`[]`)){Yue(e,t,r,n.value);return}n.settable!==null&&n.settable($m(e,t,r))}function Jue(e,t,n){let r=n.shape;if(r.tag===`struct`){ide(e,t,r,n.value);return}n.settable!==null&&n.settable(oh(e,t,r))}function Yue(e,t,n,r){let i=n.slice(2),a=rh(i,0),o=I(r);for(let n=0;n<o;n++)r[n]=$m(P(e,n*a,n*a+a),t,i)}function $m(e,t,n){switch(n){case`bool`:return ch(e,0)!==0;case`int8`:return fh(ch(e,0),8);case`uint8`:return ch(e,0);case`int16`:return fh(t.Uint16(e),16);case`uint16`:return t.Uint16(e);case`int32`:return fh(t.Uint32(e),32);case`uint32`:return t.Uint32(e);case`int64`:return fde(uh(t.Uint64(e)));case`uint64`:return t.Uint64(e);case`float32`:return ph(t.Uint32(e));case`float64`:return mh(t.Uint64(e));default:return 0}}function Xue(e){let t=$ue(e),n=tde(e);if(t!==``){let r=ede(e),i=th(t)??nh(r);if(i!==null)return{kind:i,value:Zue(t,n),settable:Que(t,n)};let a=ih(r??t);return a!==null&&a.tag!==`scalar`?{kind:null,shape:a,value:Zue(t,n),settable:Que(t,n)}:null}if(n instanceof Uint8Array)return{kind:`[]uint8`,value:n,settable:null};if(Array.isArray(n)){if(n.every(e=>typeof e==`boolean`))return{kind:`[]bool`,value:n,settable:null};if(n.every(e=>typeof e==`number`))return{kind:`[]uint8`,value:n,settable:null}}return null}function Zue(e,t){return e.startsWith(`*`)?H(t):t}function Que(e,t){if(!e.startsWith(`*`))return null;if(g(t))return e=>{t.value=e};if(eh(t)&&g(t.__goValue)){let e=t.__goValue;return t=>{e.value=t}}return null}function $ue(e){return eh(e)&&typeof e.__goType==`string`||typeof e==`object`&&e&&typeof e.__goType==`string`?e.__goType:``}function ede(e){if(eh(e)||typeof e==`object`&&e)return e.__goTypeInfo}function tde(e){return eh(e)&&`__goValue`in e?e.__goValue:e}function eh(e){return typeof e==`object`&&!!e&&`__goValue`in e}function th(e){let t=e;for(;t.startsWith(`*`);)t=t.slice(1);return t===`byte`?`uint8`:t===`[]byte`?`[]uint8`:hde.has(t)?t:null}function nh(e){if(e===void 0)return null;if(typeof e==`string`)return th(e);switch(e.kind){case`pointer`:return nh(e.elemType);case`basic`:return nde(e.name);case`slice`:{let t=nh(e.elemType);return t===null?null:rde(t)}case`array`:{let t=nh(e.elemType);return t===null?null:rde(t)}default:return null}}function nde(e){return e===void 0?null:e===`byte`?`uint8`:e===`rune`?`int32`:hde.has(e)&&!e.startsWith(`[]`)?e:null}function rde(e){return e.startsWith(`[]`)?null:`[]${e}`}function rh(e,t){if(e.startsWith(`[]`)){let n=rh(e.slice(2),0);return n<0?-1:n*I(t)}switch(e){case`bool`:case`int8`:case`uint8`:return 1;case`int16`:case`uint16`:return 2;case`int32`:case`uint32`:case`float32`:return 4;case`int64`:case`uint64`:case`float64`:return 8}return-1}function ih(e){if(e===void 0)return null;if(typeof e==`string`){if(e===`complex64`)return{tag:`complex`,elem:`float32`};if(e===`complex128`)return{tag:`complex`,elem:`float64`};let t=th(e);return t!==null&&!t.startsWith(`[]`)?{tag:`scalar`,kind:t}:null}switch(e.kind){case`pointer`:return ih(e.elemType);case`basic`:{if(e.name===`complex64`)return{tag:`complex`,elem:`float32`};if(e.name===`complex128`)return{tag:`complex`,elem:`float64`};let t=nde(e.name);return t===null?null:{tag:`scalar`,kind:t}}case`array`:{let t=ih(e.elemType);return t===null?null:{tag:`array`,elem:t,count:e.length}}case`struct`:{let t=[];for(let n of e.fields){let e=ih(n.type);if(e===null)return null;t.push({key:n.key??n.name,shape:e})}return{tag:`struct`,fields:t}}default:return null}}function ah(e){switch(e.tag){case`scalar`:return rh(e.kind,0);case`complex`:return e.elem===`float32`?8:16;case`array`:return ah(e.elem)*e.count;case`struct`:{let t=0;for(let n of e.fields)t+=ah(n.shape);return t}}}function oh(e,t,n){switch(n.tag){case`scalar`:return $m(e,t,n.kind);case`complex`:return n.elem===`float32`?{real:ph(t.Uint32(P(e,0,4))),imag:ph(t.Uint32(P(e,4,8)))}:{real:mh(t.Uint64(P(e,0,8))),imag:mh(t.Uint64(P(e,8,16)))};case`array`:{let r=ah(n.elem),i=[];for(let a=0;a<n.count;a++)i.push(oh(P(e,a*r,a*r+r),t,n.elem));return i}case`struct`:return null}}function ide(e,t,n,r){let i=r._fields,a=0;for(let r of n.fields){let n=ah(r.shape),o=P(e,a,a+n);r.shape.tag===`struct`?ide(o,t,r.shape,i[r.key]):i[r.key]=oh(o,t,r.shape),a+=n}}function ade(e,t){return vc(`encoding/binary: ${e} of ${ode(t)} is not supported in the GoScript browser build`)}function ode(e){let t=$ue(e);return t===``?g(e)?`untyped pointer`:Array.isArray(e)?`array`:e==null?`<nil>`:typeof e:t}async function sde(e,t){let n=0;for(;n<I(t);){let[r,i]=await e.Read(P(t,n));if(n+=r,i!==null)return[n,n>0&&pde(i)?J:i];if(r===0)return[n,J]}return[n,null]}function sh(e,t){let n=I(e);n<t&&Hi(`runtime error: index out of range [${t-1}] with length ${n}`)}function ch(e,t){return Number(e[t])&255}function lh(e,t,n){sh(e,t+1),e[t]=Number(n)&255}function cde(e){let t=BigInt.asUintN(64,BigInt.asIntN(64,ude(e))<<1n);return dde(e)&&(t=BigInt.asUintN(64,~t)),dh(t)}function lde(e){let t=uh(e),n=t>>1n;return(t&1n)!=0n&&(n=BigInt.asIntN(64,~n)),fde(n)}function uh(e){return typeof e==`bigint`?BigInt.asUintN(64,e):BigInt.asUintN(64,BigInt(Math.trunc(e)))}function ude(e){return typeof e==`bigint`?e:BigInt(Math.trunc(e))}function dde(e){return typeof e==`bigint`?e<0n:e<0}function dh(e){return BigInt.asUintN(64,e)}function fde(e){return BigInt.asIntN(64,e)}function fh(e,t){let n=1<<t-1,r=e&(t===32?4294967295:(1<<t)-1);return(r&n)===0?r:r-(1<<t)}function ph(e){let t=new DataView(new ArrayBuffer(4));return t.setUint32(0,Number(G(e,32)),!0),t.getFloat32(0,!0)}function mh(e){let t=new DataView(new ArrayBuffer(8));return t.setBigUint64(0,uh(e),!0),t.getFloat64(0,!0)}function pde(e){return e===jl||e?.Error?.()===`EOF`}function hh(e){return{name:e,type:_h()}}function gh(e){return{name:e,type:{kind:`basic`,name:`number`}}}function mde(){return{type:{kind:`basic`,name:`number`}}}function _h(){return{kind:`slice`,elemType:{kind:`basic`,name:`uint8`}}}const hde=new Set([`bool`,`int8`,`uint8`,`int16`,`uint16`,`int32`,`uint32`,`int64`,`uint64`,`float32`,`float64`,`[]bool`,`[]int8`,`[]uint8`,`[]int16`,`[]uint16`,`[]int32`,`[]uint32`,`[]int64`,`[]uint64`,`[]float32`,`[]float64`]);var vh=class e{_fields;constructor(e){this._fields={msg:e?.msg??``,timeout:e?.timeout??!1,temporary:e?.temporary??!1}}clone(){return C(new e(this))}Error(){return H(this).msg}Temporary(){return H(this).temporary}Timeout(){return H(this).timeout}static{h(this.prototype,[`msg`,`timeout`,`temporary`])}static __typeInfo=S(`yamux.Error`,()=>new e,()=>[_(`Error`,[],[y(`string`)]),_(`Temporary`,[],[y(`bool`)]),_(`Timeout`,[],[y(`bool`)])],e,()=>[v(`msg`,y(`string`),[0],0,!1,{pkgPath:`github.com/libp2p/go-yamux/v5`}),v(`timeout`,y(`bool`),[1],16,!1,{pkgPath:`github.com/libp2p/go-yamux/v5`}),v(`temporary`,y(`bool`),[2],17,!1,{pkgPath:`github.com/libp2p/go-yamux/v5`})])},yh=class e{_fields;constructor(e){this._fields={ErrorCode:e?.ErrorCode??0,Remote:e?.Remote??!1}}clone(){return C(new e(this))}async Error(){let e=this;return H(e).Remote?od(`remote sent go away, code: %d`,O(H(e).ErrorCode,`uint32`)):od(`sent go away, code: %d`,O(H(e).ErrorCode,`uint32`))}Is(e){let t=this;if(H(t).Remote&&os(e,Sde)||!H(t).Remote&&os(e,vde)||os(e,Sh))return!0;{let n=Na(e,b(`yamux.GoAwayError`)),r=n[0];if(n[1])return os(H(t),H(r))}return!1}Temporary(){return!1}Timeout(){return!1}static{h(this.prototype,[`ErrorCode`,`Remote`])}static __typeInfo=S(`yamux.GoAwayError`,()=>new e,()=>[_(`Error`,[],[y(`string`)]),_(`Is`,[[`target`,`error`]],[y(`bool`)]),_(`Temporary`,[],[y(`bool`)]),_(`Timeout`,[],[y(`bool`)])],e,()=>[v(`ErrorCode`,y(`uint32`),[0],0,!0),v(`Remote`,y(`bool`),[1],4,!0)])},bh=class e{_fields;constructor(e){this._fields={ErrorCode:e?.ErrorCode??0,Remote:e?.Remote??!1}}clone(){return C(new e(this))}async Error(){let e=this;return H(e).Remote?od(`stream reset by remote, error code: %d`,O(H(e).ErrorCode,`uint32`)):od(`stream reset, error code: %d`,O(H(e).ErrorCode,`uint32`))}Is(e){let t=this;if(os(e,Sh))return!0;let n=Na(e,b(`yamux.StreamError`)),r=n[0];return n[1]&&os(H(r),H(t))}static{h(this.prototype,[`ErrorCode`,`Remote`])}static __typeInfo=S(`yamux.StreamError`,()=>new e,()=>[_(`Error`,[],[y(`string`)]),_(`Is`,[[`target`,`error`]],[y(`bool`)])],e,()=>[v(`ErrorCode`,y(`uint32`),[0],0,!0),v(`Remote`,y(`bool`),[1],4,!0)])};let gde=new vh({msg:`invalid protocol version`}),_de=new vh({msg:`invalid msg type`}),vde=new yh({ErrorCode:0,Remote:!1}),yde=new vh({msg:`streams exhausted`}),bde=new vh({msg:`duplicate stream initiated`});new vh({msg:`recv window exceeded`});let xh=new vh({msg:`i/o deadline reached`,timeout:!0,temporary:!0}),xde=new vh({msg:`stream closed`});new vh({msg:`unexpected flag`});let Sde=new yh({Remote:!0,ErrorCode:0}),Sh=new vh({msg:`stream reset`}),Cde=new vh({msg:`connection write timeout`,timeout:!0}),wde=new vh({msg:`keepalive timeout`,timeout:!0}),Ch=ml(`send loop done`);function Tde(e){return G(z(e,0),8)}function wh(e){return G(z(e,1),8)}function Ede(e){return G(C(w(H(Jm))).Uint16(P(e,2,4)),16)}function Dde(e){return G(C(w(H(Jm))).Uint32(P(e,4,8)),32)}function Th(e){return G(C(w(H(Jm))).Uint32(P(e,8,12)),32)}function Eh(e,t,n,r){let i=Ea(new Uint8Array(12));return i[0]=0,i[1]=G(e,8),C(w(H(Jm))).PutUint16(P(i,2,4),G(t,16)),C(w(H(Jm))).PutUint32(P(i,4,8),G(n,32)),C(w(H(Jm))).PutUint32(P(i,8,12),G(r,32)),Oa(i,`yamux.header`)}let Ode=Soe,kde=Loe;var Ade=class e{_fields;constructor(e){this._fields={}}clone(){return C(new e(this))}Error(){return`use of closed network connection`}Temporary(){return!1}Timeout(){return!1}static __typeInfo=S(`poll.errNetClosing`,()=>new e,()=>[_(`Error`,[],[y(`string`)]),_(`Temporary`,[],[y(`bool`)]),_(`Timeout`,[],[y(`bool`)])],e,()=>[])},jde=class e{_fields;constructor(e){this._fields={}}clone(){return C(new e(this))}Error(){return`i/o timeout`}Temporary(){return!0}Timeout(){return!0}static __typeInfo=S(`poll.DeadlineExceededError`,()=>new e,()=>[_(`Error`,[],[y(`string`)]),_(`Temporary`,[],[y(`bool`)]),_(`Timeout`,[],[y(`bool`)])],e,()=>[])};let Mde=C(new Ade),Nde=ml(`use of closed file`);ml(`file type does not support deadline`);function Dh(e){return e?Nde:D(C(w(Mde)),`poll.errNetClosing`,`poll.errNetClosing`)}let Pde=D(new jde,`*poll.DeadlineExceededError`,b(`poll.DeadlineExceededError`));ml(`not pollable`),k(e=>{},{kind:`function`,params:[y(`int`)],results:[]});function Fde(e){return G(e|32,8)}(class e{_fields;constructor(e){this._fields={d:e?.d===void 0?Ea(new Uint8Array(800)):Oa(e.d,Yi(y(`uint8`),800)),nd:e?.nd??0,dp:e?.dp??0,neg:e?.neg??!1,trunc:e?.trunc??!1}}clone(){return C(new e(this))}Assign(e){let t=this,n=Ea(new Uint8Array(24)),r=0;for(;e>0n;){let t=xs(e,10n);e=Es(e,ys(10n,t)),n[r]=G(G(q(e,48n),8),8),r++,e=t}for(H(t).nd=0,r--;r>=0;r--)H(t).d[H(t).nd]=G(z(n,r),8),H(t).nd++;H(t).dp=H(t).nd,kh(t)}Round(t){let n=this;t<0||t>=H(n).nd||(Vde(n,t)?e.prototype.RoundUp.call(n,t):e.prototype.RoundDown.call(n,t))}RoundDown(e){let t=this;e<0||e>=H(t).nd||(H(t).nd=e,kh(t))}RoundUp(e){let t=this;if(!(e<0||e>=H(t).nd)){for(let n=e-1;n>=0;n--)if(G(G(z(H(t).d,n),8),8)<57){H(t).d[n]++,H(t).nd=n+1;return}H(t).d[0]=49,H(t).nd=1,H(t).dp++}}RoundedInteger(){let e=this;if(H(e).dp>20)return 18446744073709551615n;let t=0,n=0n;for(t=0;t<H(e).dp&&t<H(e).nd;t++)n=q(ys(n,10n),K(z(H(e).d,t)-48));for(;t<H(e).dp;t++)n=ys(n,10n);return Vde(e,H(e).dp)&&n++,n}Shift(e){let t=this;switch(!0){case H(t).nd==0:break;case e>0:for(;e>60;)Bde(t,60),e-=60;Bde(t,G(e,64));break;case e<0:for(;e<-60;)Lde(t,60),e+=60;Lde(t,G(-e,64))}}String(){let e=this,t=10+H(e).nd;H(e).dp>0&&(t+=H(e).dp),H(e).dp<0&&(t+=-H(e).dp);let n=N(t,void 0,`byte`),r=0;switch(!0){case H(e).nd==0:return`0`;case H(e).dp<=0:n[r]=48,r++,n[r]=46,r++,r+=Ide(P(n,r,r+-H(e).dp)),r+=R(P(n,r,void 0),P(H(e).d,0,H(e).nd));break;case H(e).dp<H(e).nd:r+=R(P(n,r,void 0),P(H(e).d,0,H(e).dp)),n[r]=46,r++,r+=R(P(n,r,void 0),P(H(e).d,H(e).dp,H(e).nd));break;default:r+=R(P(n,r,void 0),P(H(e).d,0,H(e).nd)),r+=Ide(P(n,r,r+H(e).dp-H(e).nd))}return B(P(n,0,r))}floatBits(t){let n=this,r=!1,i=0,a=0n;out:{overflow:{if(H(n).nd==0){a=0n,i=H(t).bias;break out}if(H(n).dp>310)break overflow;if(H(n).dp<-330){a=0n,i=H(t).bias;break out}for(i=0;H(n).dp>0;){let t=0;t=H(n).dp>=I(jh)?27:z(jh,H(n).dp),e.prototype.Shift.call(n,-t),i+=t}for(;H(n).dp<0||H(n).dp==0&&G(z(H(n).d,0),8)<53;){let t=0;t=-H(n).dp>=I(jh)?27:z(jh,-H(n).dp),e.prototype.Shift.call(n,t),i-=t}if(i--,i<H(t).bias+1){let r=H(t).bias+1-i;e.prototype.Shift.call(n,-r),i+=r}if(i-H(t).bias>=(1<<H(t).expbits)-1||(e.prototype.Shift.call(n,W(G(q(1n,H(t).mantbits),64))),a=e.prototype.RoundedInteger.call(n),a==ms(2n,H(t).mantbits)&&(a=hs(a,1n),i++,i-H(t).bias>=(1<<H(t).expbits)-1)))break overflow;Os(a,ms(1n,H(t).mantbits))==0n&&(i=H(t).bias);break out}a=0n,i=(1<<H(t).expbits)-1+H(t).bias,r=!0}let o=Os(a,Es(ms(1n,H(t).mantbits),1n));return o=js(o,ms(K(i-H(t).bias&(1<<H(t).expbits)-1),H(t).mantbits)),H(n).neg&&(o=js(o,ms(ms(1n,H(t).mantbits),H(t).expbits))),[o,r]}set(e){let t=this,n=!1,r=0;if(H(t).neg=!1,H(t).trunc=!1,r>=I(e))return n;switch(Jo(e,r)){case 43:r++;break;case 45:r++,H(t).neg=!0}let i=!1,a=!1;for(;r<I(e);r++){switch(!0){case G(Jo(e,r),8)==95:continue;case G(Jo(e,r),8)==46:if(i)return n;i=!0,H(t).dp=H(t).nd;continue;case 48<=G(Jo(e,r),8)&&G(Jo(e,r),8)<=57:if(a=!0,G(Jo(e,r),8)==48&&H(t).nd==0){H(t).dp--;continue}H(t).nd<800?(H(t).d[H(t).nd]=G(Jo(e,r),8),H(t).nd++):G(Jo(e,r),8)!=48&&(H(t).trunc=!0);continue}break}if(!a)return n;if(i||(H(t).dp=H(t).nd),r<I(e)&&G(Fde(G(Jo(e,r),8)),8)==101){if(r++,r>=I(e))return n;let i=1;switch(Jo(e,r)){case 43:r++;break;case 45:r++,i=-1}if(r>=I(e)||G(Jo(e,r),8)<48||G(Jo(e,r),8)>57)return n;let a=0;for(;r<I(e)&&(48<=G(Jo(e,r),8)&&G(Jo(e,r),8)<=57||G(Jo(e,r),8)==95);r++)G(Jo(e,r),8)!=95&&a<1e4&&(a=a*10+W(Jo(e,r))-48);H(t).dp=H(t).dp+a*i}return r==I(e)&&(n=!0),n}static{h(this.prototype,[`d`,`nd`,`dp`,`neg`,`trunc`])}static __typeInfo=S(`strconv.decimal`,()=>new e,()=>[_(`Assign`,[[`v`,y(`uint64`)]]),_(`Round`,[[`nd`,y(`int`)]]),_(`RoundDown`,[[`nd`,y(`int`)]]),_(`RoundUp`,[[`nd`,y(`int`)]]),_(`RoundedInteger`,[],[y(`uint64`)]),_(`Shift`,[[`k`,y(`int`)]]),_(`String`,[],[y(`string`)]),_(`floatBits`,[[`flt`,b(`strconv.floatInfo`)]],[[`b`,y(`uint64`)],[`overflow`,y(`bool`)]]),_(`set`,[[`s`,y(`string`)]],[[`ok`,y(`bool`)]])],e,()=>[v(`d`,Yi(y(`uint8`),800),[0],0,!1,{pkgPath:`internal/strconv`}),v(`nd`,y(`int`),[1],800,!1,{pkgPath:`internal/strconv`}),v(`dp`,y(`int`),[2],808,!1,{pkgPath:`internal/strconv`}),v(`neg`,y(`bool`),[3],816,!1,{pkgPath:`internal/strconv`}),v(`trunc`,y(`bool`),[4],817,!1,{pkgPath:`internal/strconv`})])});var Oh=class e{_fields;constructor(e){this._fields={delta:e?.delta??0,cutoff:e?.cutoff??``}}clone(){return C(new e(this))}static{h(this.prototype,[`delta`,`cutoff`])}static __typeInfo=S(`strconv.leftCheat`,()=>new e,()=>[],e,()=>[v(`delta`,y(`int`),[0],0,!1,{pkgPath:`internal/strconv`}),v(`cutoff`,y(`string`),[1],8,!1,{pkgPath:`internal/strconv`})])};function Ide(e){for(let t=e,n=0;n<I(t);n++)e[n]=48;return I(e)}function kh(e){for(;H(e).nd>0&&G(z(H(e).d,H(e).nd-1),8)==48;)H(e).nd--;H(e).nd==0&&(H(e).dp=0)}function Lde(e,t){let n=0,r=0,i=0;for(;G(hs(i,t),64)==0;n++){if(n>=H(e).nd){if(i==0){H(e).nd=0;return}for(;G(hs(i,t),64)==0;)i=G(ys(i,10n),64),n++;break}let r=G(z(H(e).d,n),64);i=G(Es(G(q(G(ys(i,10n),64),r),64),48n),64)}H(e).dp=H(e).dp-(n-1);let a=G(Es(G(ms(1n,t),64),1n),64);for(;n<H(e).nd;n++){let o=G(z(H(e).d,n),64),s=G(hs(i,t),64);i=G(Os(i,a),64),H(e).d[r]=G(G(G(q(s,48n),64),8),8),r++,i=G(Es(G(q(G(ys(i,10n),64),o),64),48n),64)}for(;i>0;){let n=G(hs(i,t),64);i=G(Os(i,a),64),r<800?(H(e).d[r]=G(G(G(q(n,48n),64),8),8),r++):n>0&&(H(e).trunc=!0),i=G(ys(i,10n),64)}H(e).nd=r,kh(e)}let Rde=F([C(new Oh({delta:0,cutoff:``})),C(new Oh({delta:1,cutoff:`5`})),C(new Oh({delta:1,cutoff:`25`})),C(new Oh({delta:1,cutoff:`125`})),C(new Oh({delta:2,cutoff:`625`})),C(new Oh({delta:2,cutoff:`3125`})),C(new Oh({delta:2,cutoff:`15625`})),C(new Oh({delta:3,cutoff:`78125`})),C(new Oh({delta:3,cutoff:`390625`})),C(new Oh({delta:3,cutoff:`1953125`})),C(new Oh({delta:4,cutoff:`9765625`})),C(new Oh({delta:4,cutoff:`48828125`})),C(new Oh({delta:4,cutoff:`244140625`})),C(new Oh({delta:4,cutoff:`1220703125`})),C(new Oh({delta:5,cutoff:`6103515625`})),C(new Oh({delta:5,cutoff:`30517578125`})),C(new Oh({delta:5,cutoff:`152587890625`})),C(new Oh({delta:6,cutoff:`762939453125`})),C(new Oh({delta:6,cutoff:`3814697265625`})),C(new Oh({delta:6,cutoff:`19073486328125`})),C(new Oh({delta:7,cutoff:`95367431640625`})),C(new Oh({delta:7,cutoff:`476837158203125`})),C(new Oh({delta:7,cutoff:`2384185791015625`})),C(new Oh({delta:7,cutoff:`11920928955078125`})),C(new Oh({delta:8,cutoff:`59604644775390625`})),C(new Oh({delta:8,cutoff:`298023223876953125`})),C(new Oh({delta:8,cutoff:`1490116119384765625`})),C(new Oh({delta:9,cutoff:`7450580596923828125`})),C(new Oh({delta:9,cutoff:`37252902984619140625`})),C(new Oh({delta:9,cutoff:`186264514923095703125`})),C(new Oh({delta:10,cutoff:`931322574615478515625`})),C(new Oh({delta:10,cutoff:`4656612873077392578125`})),C(new Oh({delta:10,cutoff:`23283064365386962890625`})),C(new Oh({delta:10,cutoff:`116415321826934814453125`})),C(new Oh({delta:11,cutoff:`582076609134674072265625`})),C(new Oh({delta:11,cutoff:`2910383045673370361328125`})),C(new Oh({delta:11,cutoff:`14551915228366851806640625`})),C(new Oh({delta:12,cutoff:`72759576141834259033203125`})),C(new Oh({delta:12,cutoff:`363797880709171295166015625`})),C(new Oh({delta:12,cutoff:`1818989403545856475830078125`})),C(new Oh({delta:13,cutoff:`9094947017729282379150390625`})),C(new Oh({delta:13,cutoff:`45474735088646411895751953125`})),C(new Oh({delta:13,cutoff:`227373675443232059478759765625`})),C(new Oh({delta:13,cutoff:`1136868377216160297393798828125`})),C(new Oh({delta:14,cutoff:`5684341886080801486968994140625`})),C(new Oh({delta:14,cutoff:`28421709430404007434844970703125`})),C(new Oh({delta:14,cutoff:`142108547152020037174224853515625`})),C(new Oh({delta:15,cutoff:`710542735760100185871124267578125`})),C(new Oh({delta:15,cutoff:`3552713678800500929355621337890625`})),C(new Oh({delta:15,cutoff:`17763568394002504646778106689453125`})),C(new Oh({delta:16,cutoff:`88817841970012523233890533447265625`})),C(new Oh({delta:16,cutoff:`444089209850062616169452667236328125`})),C(new Oh({delta:16,cutoff:`2220446049250313080847263336181640625`})),C(new Oh({delta:16,cutoff:`11102230246251565404236316680908203125`})),C(new Oh({delta:17,cutoff:`55511151231257827021181583404541015625`})),C(new Oh({delta:17,cutoff:`277555756156289135105907917022705078125`})),C(new Oh({delta:17,cutoff:`1387778780781445675529539585113525390625`})),C(new Oh({delta:18,cutoff:`6938893903907228377647697925567626953125`})),C(new Oh({delta:18,cutoff:`34694469519536141888238489627838134765625`})),C(new Oh({delta:18,cutoff:`173472347597680709441192448139190673828125`})),C(new Oh({delta:19,cutoff:`867361737988403547205962240695953369140625`}))]);function zde(e,t){for(let n=0;n<I(t);n++){if(n>=I(e))return!0;if(G(z(e,n),8)!=G(Jo(t,n),8))return G(z(e,n),8)<G(Jo(t,n),8)}return!1}function Bde(e,t){let n=z(Rde,t).delta;zde(P(H(e).d,0,H(e).nd),z(Rde,t).cutoff)&&n--;let r=H(e).nd,i=H(e).nd+n,a=0;for(r--;r>=0;r--){a=G(q(a,G(ms(G(Es(G(z(H(e).d,r),64),48n),64),t),64)),64);let n=G(xs(a,10n),64),o=G(Es(a,G(ys(10n,n),64)),64);i--,i<800?H(e).d[i]=G(G(G(q(o,48n),64),8),8):o!=0&&(H(e).trunc=!0),a=n}for(;a>0;){let t=G(xs(a,10n),64),n=G(Es(a,G(ys(10n,t),64)),64);i--,i<800?H(e).d[i]=G(G(G(q(n,48n),64),8),8):n!=0&&(H(e).trunc=!0),a=t}H(e).nd=H(e).nd+n,H(e).nd>=800&&(H(e).nd=800),H(e).dp=H(e).dp+n,kh(e)}function Vde(e,t){return t<0||t>=H(e).nd?!1:G(z(H(e).d,t),8)==53&&t+1==H(e).nd?H(e).trunc?!0:t>0&&G((z(H(e).d,t-1)-48)%2,8)!=0:G(z(H(e).d,t),8)>=53}function Hde(e,t){if(t==10){if(0n<=e&&e<100n)return Gde(W(e));let t=Ea(new Uint8Array(24)),n=K(e);e<0n&&(n=-n);let r=Xde(n);return Kde(P(t,1,1+r),n),e<0n?(t[0]=45,B(P(t,void 0,1+r))):B(P(t,1,1+r))}let[,n]=Ude(null,K(e),t,e<0n,!1);return n}function Ah(e){return Hde(fs(e),10)}function Ude(e,t,n,r,i){let a=null,o=``;(n<2||n==10||n>36)&&Hi(`strconv: illegal AppendInt/FormatInt base`);let s=Ea(new Uint8Array(65)),c=65;if(r&&(t=-t),Wde(n)){let e=G(mm(G(n,64)),64),r=K(n),i=G(Es(G(n,64),1n),64);for(;t>=r;)c--,s[c]=G(qo(`0123456789abcdefghijklmnopqrstuvwxyz`,G(Os(G(t,64),i),64)),8),t=hs(t,K(e));c--,s[c]=G(qo(`0123456789abcdefghijklmnopqrstuvwxyz`,G(t,64)),8)}else{let e=K(n);for(;t>=e;){c--;let n=xs(t,e);s[c]=G(qo(`0123456789abcdefghijklmnopqrstuvwxyz`,G(Es(t,ys(n,e)),64)),8),t=n}c--,s[c]=G(qo(`0123456789abcdefghijklmnopqrstuvwxyz`,G(t,64)),8)}return r&&(c--,s[c]=45),i?(a=wo(e,P(s,c,void 0),vo),[a,o]):(o=B(P(s,c,void 0)),[a,o])}function Wde(e){return!(e&e-1)}function Gde(e){return e<10?Yo(`0123456789abcdefghijklmnopqrstuvwxyz`,e,e+1):Yo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,e*2,e*2+2)}function Kde(e,t){let n=I(e);for(;n>=8;){let r=G(G(Cs(t,100000000n),32),32);t=xs(t,100000000n);let i=G(Math.trunc(r/1e4),32),a=G(r%1e4,32),o=G(Math.imul(Math.trunc(a/100),2)>>>0,32),s=G(Math.imul(a%100,2)>>>0,32),c=G(Math.imul(Math.trunc(i/100),2)>>>0,32),l=G(Math.imul(i%100,2)>>>0,32),u=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,s+1),8),d=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,s),8);e[n-1]=u,e[n-2]=d;let f=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,o+1),8),p=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,o),8);e[n-3]=f,e[n-4]=p;let ee=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,l+1),8),te=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,l),8);e[n-5]=ee,e[n-6]=te;let ne=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,c+1),8),re=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,c),8);e[n-7]=ne,e[n-8]=re,n-=8}let r=G(G(t,32),32);if(n>=4){let t=G(r%1e4,32);r=r/1e4>>>0;let i=G(Math.imul(Math.trunc(t/100),2)>>>0,32),a=G(Math.imul(t%100,2)>>>0,32),o=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,a+1),8),s=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,a),8);e[n-1]=o,e[n-2]=s;let c=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,i+1),8),l=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,i),8);e[n-3]=c,e[n-4]=l,n-=4}if(n>=2){let t=G(Math.imul(r%100,2)>>>0,32);r=r/100>>>0;let i=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,t+1),8),a=G(qo(`00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899`,t),8);e[n-1]=i,e[n-2]=a,n-=2}n>0&&(e[0]=G(G(48+r,8),8))}(class e{_fields;constructor(e){this._fields={hi:e?.hi??0n,lo:e?.lo??0n}}clone(){return C(new e(this))}static{h(this.prototype,[`hi`,`lo`])}static __typeInfo=S(`strconv.pmHiLo`,()=>new e,()=>[],e,()=>[v(`hi`,y(`uint64`),[0],0,!1,{pkgPath:`internal/strconv`}),v(`lo`,y(`uint64`),[1],8,!1,{pkgPath:`internal/strconv`})])}),class e{_fields;constructor(e){this._fields={pmHi:e?.pmHi??0n,pmLo:e?.pmLo??0n,s:e?.s??0}}clone(){return C(new e(this))}static{h(this.prototype,[`pmHi`,`pmLo`,`s`])}static __typeInfo=S(`strconv.scaler`,()=>new e,()=>[],e,()=>[v(`pmHi`,y(`uint64`),[0],0,!1,{pkgPath:`internal/strconv`}),v(`pmLo`,y(`uint64`),[1],8,!1,{pkgPath:`internal/strconv`}),v(`s`,y(`int`),[2],16,!1,{pkgPath:`internal/strconv`})])};function qde(e,t){return+!!t}function Jde(e){return e*78913>>18}let Yde=Ea([1n,10n,100n,1000n,10000n,100000n,1000000n,10000000n,100000000n,1000000000n,10000000000n,100000000000n,1000000000000n,10000000000000n,100000000000000n,1000000000000000n,10000000000000000n,100000000000000000n,1000000000000000000n,10000000000000000000n]);function Xde(e){let t=Jde(ym(e));return t+qde({[A]:j,T:{type:y(`int`),zero:()=>0}},e>=z(Yde,t))}(class e{_fields;constructor(e){this._fields={mantbits:e?.mantbits??0,expbits:e?.expbits??0,bias:e?.bias??0}}clone(){return C(new e(this))}static{h(this.prototype,[`mantbits`,`expbits`,`bias`])}static __typeInfo=S(`strconv.floatInfo`,()=>new e,()=>[],e,()=>[v(`mantbits`,y(`uint`),[0],0,!1,{pkgPath:`internal/strconv`}),v(`expbits`,y(`uint`),[1],8,!1,{pkgPath:`internal/strconv`}),v(`bias`,y(`int`),[2],16,!1,{pkgPath:`internal/strconv`})])});let jh=F([1,3,6,9,13,16,19,23,26]);F([1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,0xe8d4a51000,0x9184e72a000,0x5af3107a4000,0x38d7ea4c68000,0x2386f26fc10000,0x16345785d8a0000,0xde0b6b3a7640000,0x8ac7230489e80000,0x56bc75e2d63100000,1e21,1e22]),F([1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10]);function Zde(e,t,n){return[0,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))]}function Qde(e,t,n,r){return[0,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))]}function $de(e,t,n,r){return[0,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))]}function efe(e,t,n,r){return La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))}function tfe(e,t,n,r){return La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))}function nfe(e,t,n,r,i){return[0,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))]}function rfe(e,t,n,r,i){return[0,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))]}function ife(e,t,n,r,i){return[0,0,0,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))]}function afe(e,t,n,r,i){return[0,0,0,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))]}var ofe=class e{_fields;constructor(e){this._fields={iovecs:e?.iovecs??null}}clone(){return C(new e(this))}async destroy(e){return Ode(e)}init(){}static{h(this.prototype,[`iovecs`])}static __typeInfo=S(`poll.SysFile`,()=>new e,()=>[_(`destroy`,[[`fd`,y(`int`)]],[`error`]),_(`init`)],e,()=>[v(`iovecs`,b(x(`syscall.Iovec`)),[0],0,!1,{pkgPath:`internal/poll`})])};async function sfe(e){try{var t=Ni();let n=t.u(new gc);await H(H(xoe)).RLock(),n.defer(()=>{H(H(xoe)).RUnlock()});let[r,i]=Ioe(e);return i==null?[r,``,null]:[-1,`dup`,i]}catch(e){t.e=e}finally{t.d()}}async function Mh(e){for(;;){let t=await e();if(!os(t,Qd))return t}throw new globalThis.Error(`goscript: unreachable return`)}async function cfe(e,t){for(;;){let[e,n]=await t();if(!os(n,Qd))return[e,n]}throw new globalThis.Error(`goscript: unreachable return`)}var lfe=class e{_fields;constructor(e){this._fields={fd:e?.fd??null,closing:e?.closing??!1}}clone(){return C(new e(this))}close(){}evict(){let e=this;H(e).closing=!0,H(e).fd!=null&&H(H(e).fd).Sysfd}init(e){let t=this;return H(t).fd=e,null}pollable(){return!0}prepare(e,t){return H(this).closing?Dh(t):null}prepareRead(t){let n=this;return e.prototype.prepare.call(n,114,t)}prepareWrite(t){let n=this;return e.prototype.prepare.call(n,119,t)}wait(e,t){return H(this).closing?Dh(t):t?null:Pde}waitCanceled(e){}waitRead(t){let n=this;return e.prototype.wait.call(n,114,t)}waitWrite(t){let n=this;return e.prototype.wait.call(n,119,t)}static{h(this.prototype,[`fd`,`closing`])}static __typeInfo=S(`poll.pollDesc`,()=>new e,()=>[_(`close`),_(`evict`),_(`init`,[[`fd`,b(`poll.FD`)]],[`error`]),_(`pollable`,[],[y(`bool`)]),_(`prepare`,[[`mode`,y(`int`)],[`isFile`,y(`bool`)]],[`error`]),_(`prepareRead`,[[`isFile`,y(`bool`)]],[`error`]),_(`prepareWrite`,[[`isFile`,y(`bool`)]],[`error`]),_(`wait`,[[`mode`,y(`int`)],[`isFile`,y(`bool`)]],[`error`]),_(`waitCanceled`,[[`mode`,y(`int`)]]),_(`waitRead`,[[`isFile`,y(`bool`)]],[`error`]),_(`waitWrite`,[[`isFile`,y(`bool`)]],[`error`])],e,()=>[v(`fd`,b(`poll.FD`),[0],0,!1,{pkgPath:`internal/poll`}),v(`closing`,y(`bool`),[1],8,!1,{pkgPath:`internal/poll`})])};async function Nh(e,t,n){C(w(t)).UnixNano(),C(w(t)).IsZero();{let t=Ph.prototype.incref.call(e);if(t!=null)return t}switch(n){case 114:H(e).Sysfd;break;case 119:H(e).Sysfd;break;case 233:H(e).Sysfd,H(e).Sysfd}return await Ph.prototype.decref.call(e),null}var ufe=class e{_fields;constructor(e){this._fields={state:e?.state??0n,rsema:e?.rsema??0,wsema:e?.wsema??0}}clone(){return C(new e(this))}decref(){let e=this;for(;;){let t=Up(qi(H(e)._fields,`state`));Os(t,8388600n)==0n&&Hi(`inconsistent poll.fdMutex`);let n=Es(t,8n);if(Bp(qi(H(e)._fields,`state`),t,n))return Os(n,8388601n)==1n}throw new globalThis.Error(`goscript: unreachable return`)}incref(){let e=this;for(;;){let t=Up(qi(H(e)._fields,`state`));if(Os(t,1n)!=0n)return!1;let n=q(t,8n);if(Os(n,8388600n)==0n&&Hi(`too many concurrent operations on a single file or socket (max 1048575)`),Bp(qi(H(e)._fields,`state`),t,n))return!0}throw new globalThis.Error(`goscript: unreachable return`)}increfAndClose(){let e=this;for(;;){let t=Up(qi(H(e)._fields,`state`));if(Os(t,1n)!=0n)return!1;let n=q(js(t,1n),8n);if(Os(n,8388600n)==0n&&Hi(`too many concurrent operations on a single file or socket (max 1048575)`),n=As(n,9223372036846387200n),Bp(qi(H(e)._fields,`state`),t,n)){for(;Os(t,8796084633600n)!=0n;)t=Es(t,8388608n),qi(H(e)._fields,`rsema`);for(;Os(t,9223363240761753600n)!=0n;)t=Es(t,8796093022208n),qi(H(e)._fields,`wsema`);return!0}}throw new globalThis.Error(`goscript: unreachable return`)}rwlock(e,t){let n=this,r=0n,i=0n,a=0n;for(e?(r=2n,i=8388608n,a=8796084633600n,qi(H(n)._fields,`rsema`)):(r=4n,i=8796093022208n,a=9223363240761753600n,qi(H(n)._fields,`wsema`));;){let e=Up(qi(H(n)._fields,`state`));if(Os(e,1n)!=0n)return!1;let o=0n;if(Os(e,r)==0n)o=q(js(e,r),8n),Os(o,8388600n)==0n&&Hi(`too many concurrent operations on a single file or socket (max 1048575)`);else{if(!t)return!1;o=q(e,i),Os(o,a)==0n&&Hi(`too many concurrent operations on a single file or socket (max 1048575)`)}if(Bp(qi(H(n)._fields,`state`),e,o)&&Os(e,r)==0n)return!0}throw new globalThis.Error(`goscript: unreachable return`)}rwunlock(e){let t=this,n=0n,r=0n,i=0n;for(e?(n=2n,r=8388608n,i=8796084633600n,qi(H(t)._fields,`rsema`)):(n=4n,r=8796093022208n,i=9223363240761753600n,qi(H(t)._fields,`wsema`));;){let e=Up(qi(H(t)._fields,`state`));(Os(e,n)==0n||Os(e,8388600n)==0n)&&Hi(`inconsistent poll.fdMutex`);let a=Es(As(e,n),8n);if(Os(e,i)!=0n&&(a=Es(a,r)),Bp(qi(H(t)._fields,`state`),e,a))return Os(e,i),Os(a,8388601n)==1n}throw new globalThis.Error(`goscript: unreachable return`)}static{h(this.prototype,[`state`,`rsema`,`wsema`])}static __typeInfo=S(`poll.fdMutex`,()=>new e,()=>[_(`decref`,[],[y(`bool`)]),_(`incref`,[],[y(`bool`)]),_(`increfAndClose`,[],[y(`bool`)]),_(`rwlock`,[[`read`,y(`bool`)],[`wait`,y(`bool`)]],[y(`bool`)]),_(`rwunlock`,[[`read`,y(`bool`)]],[y(`bool`)])],e,()=>[v(`state`,y(`uint64`),[0],0,!1,{pkgPath:`internal/poll`}),v(`rsema`,y(`uint32`),[1],8,!1,{pkgPath:`internal/poll`}),v(`wsema`,y(`uint32`),[2],12,!1,{pkgPath:`internal/poll`})])};async function dfe(e){let[t,n,r]=await kde(e);return r==null?(r=Coe(t,!0),r==null?[t,n,``,null]:(await Ode(t),[-1,null,`setnonblock`,r])):[-1,null,`accept`,r]}var Ph=class e{_fields;constructor(e){this._fields={fdmu:e?.fdmu?C(w(e.fdmu)):C(new ufe),Sysfd:e?.Sysfd??0,SysFile:e?.SysFile?C(w(e.SysFile)):C(new ofe),pd:e?.pd?C(w(e.pd)):C(new lfe),csema:e?.csema??0,isBlocking:e?.isBlocking??0,IsStream:e?.IsStream??!1,ZeroReadIsEOF:e?.ZeroReadIsEOF??!1,isFile:e?.isFile??!1}}clone(){return C(new e(this))}async Accept(){try{var t=Ni();let n=this,r=t.a(new _c);{let t=e.prototype.readLock.call(n);if(t!=null)return[-1,null,``,t]}r.defer(async()=>{await e.prototype.readUnlock.call(n)});{let e=H(n).pd.prepareRead(H(n).isFile);if(e!=null)return[-1,null,``,e]}for(;;){let[e,t,r,i]=await dfe(H(n).Sysfd);if(i==null)return[e,t,``,i];{let e=i;switch(!0){case os(e,La(Qd,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))):continue;case os(e,La($d,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))):if(H(n).pd.pollable()&&(i=H(n).pd.waitRead(H(n).isFile),i==null))continue;break;case os(e,La(yoe,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))):continue}}return[-1,null,r,i]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){t.e=e}finally{await t.d()}}async Close(){let t=this;if(!H(t).fdmu.increfAndClose())return Dh(H(t).isFile);H(t).pd.evict();let n=await e.prototype.decref.call(t);return G(H(t).isBlocking,32)==0&&qi(H(t)._fields,`csema`),n}async Dup(){try{var t=Ni();let n=this,r=t.a(new _c);{let t=e.prototype.incref.call(n);if(t!=null)return[-1,``,t]}return r.defer(async()=>{await e.prototype.decref.call(n)}),await pfe(H(n).Sysfd)}catch(e){t.e=e}finally{await t.d()}}async Fchdir(){try{var t=Ni();let n=this,r=t.a(new _c);{let t=e.prototype.incref.call(n);if(t!=null)return t}return r.defer(async()=>{await e.prototype.decref.call(n)}),woe(H(n).Sysfd)}catch(e){t.e=e}finally{await t.d()}}async Fchmod(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.incref.call(r);if(t!=null)return t}return i.defer(async()=>{await e.prototype.decref.call(r)}),await Mh(k(()=>Toe(H(r).Sysfd,G(t,32)),{kind:`function`,params:[],results:[`error`]}))}catch(e){n.e=e}finally{await n.d()}}async Fchown(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.incref.call(i);if(t!=null)return t}return a.defer(async()=>{await e.prototype.decref.call(i)}),await Mh(k(()=>Eoe(H(i).Sysfd,t,n),{kind:`function`,params:[],results:[`error`]}))}catch(e){r.e=e}finally{await r.d()}}async Fstat(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.incref.call(r);if(t!=null)return t}return i.defer(async()=>{await e.prototype.decref.call(r)}),await Mh(k(()=>Doe(H(r).Sysfd,t),{kind:`function`,params:[],results:[`error`]}))}catch(e){n.e=e}finally{await n.d()}}async Fsync(){try{var t=Ni();let n=this,r=t.a(new _c);{let t=e.prototype.incref.call(n);if(t!=null)return t}return r.defer(async()=>{await e.prototype.decref.call(n)}),await Mh(k(()=>Ooe(H(n).Sysfd),{kind:`function`,params:[],results:[`error`]}))}catch(e){t.e=e}finally{await t.d()}}async Ftruncate(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.incref.call(r);if(t!=null)return t}return i.defer(async()=>{await e.prototype.decref.call(r)}),await Mh(k(()=>koe(H(r).Sysfd,t),{kind:`function`,params:[],results:[`error`]}))}catch(e){n.e=e}finally{await n.d()}}Init(e,t){let n=this;if(H(n).SysFile.init(),V(e,`file`)&&(H(n).isFile=!0),!t)return H(n).isBlocking=1,null;let r=H(n).pd.init(n);return r!=null&&(H(n).isBlocking=1),r}async Pread(t,n){let r=this;{let t=e.prototype.incref.call(r);if(t!=null)return[0,t]}H(r).IsStream&&I(t)>1073741824&&(t=P(t,void 0,1073741824));let i=await cfe({[A]:j,T:{type:y(`int`),zero:()=>0}},k(()=>Moe(H(r).Sysfd,t,n),{kind:`function`,params:[],results:[y(`int`),`error`]})),a=i[0],o=i[1];return o!=null&&(a=0),await e.prototype.decref.call(r),o=e.prototype.eofError.call(r,a,o),[a,o]}async Pwrite(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.incref.call(i);if(t!=null)return[0,t]}a.defer(async()=>{await e.prototype.decref.call(i)});let o=0;for(;;){let e=I(t);H(i).IsStream&&e-o>1073741824&&(e=o+1073741824);let[r,a]=Noe(H(i).Sysfd,P(t,o,e),Ts(n,fs(o)));if(!os(a,Qd)){if(r>0&&(o+=r),o==I(t)||a!=null)return[o,a];if(r==0)return[o,J]}}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){r.e=e}finally{await r.d()}}async RawControl(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.incref.call(r);if(t!=null)return t}return i.defer(async()=>{await e.prototype.decref.call(r)}),await t(G(G(H(r).Sysfd,64),64)),null}catch(e){n.e=e}finally{await n.d()}}async RawRead(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.readLock.call(r);if(t!=null)return t}i.defer(async()=>{await e.prototype.readUnlock.call(r)});{let e=H(r).pd.prepareRead(H(r).isFile);if(e!=null)return e}for(;;){if(await t(G(G(H(r).Sysfd,64),64)))return null;{let e=H(r).pd.waitRead(H(r).isFile);if(e!=null)return e}}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){n.e=e}finally{await n.d()}}async RawWrite(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.writeLock.call(r);if(t!=null)return t}i.defer(async()=>{await e.prototype.writeUnlock.call(r)});{let e=H(r).pd.prepareWrite(H(r).isFile);if(e!=null)return e}for(;;){if(await t(G(G(H(r).Sysfd,64),64)))return null;{let e=H(r).pd.waitWrite(H(r).isFile);if(e!=null)return e}}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){n.e=e}finally{await n.d()}}async Read(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.readLock.call(r);if(t!=null)return[0,t]}if(i.defer(async()=>{await e.prototype.readUnlock.call(r)}),I(t)==0)return[0,null];{let e=H(r).pd.prepareRead(H(r).isFile);if(e!=null)return[0,e]}for(H(r).IsStream&&I(t)>1073741824&&(t=P(t,void 0,1073741824));;){let[n,i]=await Fh(Aoe,H(r).Sysfd,t);if(!(i!=null&&(n=0,os(i,$d)&&H(r).pd.pollable()&&(i=H(r).pd.waitRead(H(r).isFile),i==null))))return i=e.prototype.eofError.call(r,n,i),[n,i]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){n.e=e}finally{await n.d()}}async ReadDirent(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.incref.call(r);if(t!=null)return[0,t]}for(i.defer(async()=>{await e.prototype.decref.call(r)});;){let[e,n]=await Fh(joe,H(r).Sysfd,t);if(!(n!=null&&(e=0,os(n,$d)&&H(r).pd.pollable()&&(n=H(r).pd.waitRead(H(r).isFile),n==null))))return[e,n]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){n.e=e}finally{await n.d()}}async ReadFrom(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.readLock.call(r);if(t!=null)return[0,null,t]}i.defer(async()=>{await e.prototype.readUnlock.call(r)});{let e=H(r).pd.prepareRead(H(r).isFile);if(e!=null)return[0,null,e]}for(;;){let[n,i,a]=Roe(H(r).Sysfd,t,0);if(!(a!=null&&(os(a,Qd)||(n=0,os(a,$d)&&H(r).pd.pollable()&&(a=H(r).pd.waitRead(H(r).isFile),a==null)))))return a=e.prototype.eofError.call(r,n,a),[n,i,a]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){n.e=e}finally{await n.d()}}async ReadFromInet4(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.readLock.call(i);if(t!=null)return[0,t]}a.defer(async()=>{await e.prototype.readUnlock.call(i)});{let e=H(i).pd.prepareRead(H(i).isFile);if(e!=null)return[0,e]}for(;;){let[r,a]=Qde(H(i).Sysfd,t,0,n);if(!(a!=null&&(os(a,Qd)||(r=0,os(a,$d)&&H(i).pd.pollable()&&(a=H(i).pd.waitRead(H(i).isFile),a==null)))))return a=e.prototype.eofError.call(i,r,a),[r,a]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){r.e=e}finally{await r.d()}}async ReadFromInet6(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.readLock.call(i);if(t!=null)return[0,t]}a.defer(async()=>{await e.prototype.readUnlock.call(i)});{let e=H(i).pd.prepareRead(H(i).isFile);if(e!=null)return[0,e]}for(;;){let[r,a]=$de(H(i).Sysfd,t,0,n);if(!(a!=null&&(os(a,Qd)||(r=0,os(a,$d)&&H(i).pd.pollable()&&(a=H(i).pd.waitRead(H(i).isFile),a==null)))))return a=e.prototype.eofError.call(i,r,a),[r,a]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){r.e=e}finally{await r.d()}}async ReadMsg(t,n,r){try{var i=Ni();let a=this,o=i.a(new _c);{let t=e.prototype.readLock.call(a);if(t!=null)return[0,0,0,null,t]}o.defer(async()=>{await e.prototype.readUnlock.call(a)});{let e=H(a).pd.prepareRead(H(a).isFile);if(e!=null)return[0,0,0,null,e]}for(;;){let[i,o,s,c,l]=Boe(H(a).Sysfd,t,n,r);if(!(l!=null&&(os(l,Qd)||os(l,$d)&&H(a).pd.pollable()&&(l=H(a).pd.waitRead(H(a).isFile),l==null))))return l=e.prototype.eofError.call(a,i,l),[i,o,s,c,l]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){i.e=e}finally{await i.d()}}async ReadMsgInet4(t,n,r,i){try{var a=Ni();let o=this,s=a.a(new _c);{let t=e.prototype.readLock.call(o);if(t!=null)return[0,0,0,t]}s.defer(async()=>{await e.prototype.readUnlock.call(o)});{let e=H(o).pd.prepareRead(H(o).isFile);if(e!=null)return[0,0,0,e]}for(;;){let[a,s,c,l]=ife(H(o).Sysfd,t,n,r,i);if(!(l!=null&&(os(l,Qd)||os(l,$d)&&H(o).pd.pollable()&&(l=H(o).pd.waitRead(H(o).isFile),l==null))))return l=e.prototype.eofError.call(o,a,l),[a,s,c,l]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){a.e=e}finally{await a.d()}}async ReadMsgInet6(t,n,r,i){try{var a=Ni();let o=this,s=a.a(new _c);{let t=e.prototype.readLock.call(o);if(t!=null)return[0,0,0,t]}s.defer(async()=>{await e.prototype.readUnlock.call(o)});{let e=H(o).pd.prepareRead(H(o).isFile);if(e!=null)return[0,0,0,e]}for(;;){let[a,s,c,l]=afe(H(o).Sysfd,t,n,r,i);if(!(l!=null&&(os(l,Qd)||os(l,$d)&&H(o).pd.pollable()&&(l=H(o).pd.waitRead(H(o).isFile),l==null))))return l=e.prototype.eofError.call(o,a,l),[a,s,c,l]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){a.e=e}finally{await a.d()}}async Seek(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.incref.call(i);if(t!=null)return[0n,t]}return a.defer(async()=>{await e.prototype.decref.call(i)}),Poe(H(i).Sysfd,t,n)}catch(e){r.e=e}finally{await r.d()}}async SetBlocking(){try{var t=Ni();let n=this,r=t.a(new _c);{let t=e.prototype.incref.call(n);if(t!=null)return t}return r.defer(async()=>{await e.prototype.decref.call(n)}),zp(qi(H(n)._fields,`isBlocking`),1),Coe(H(n).Sysfd,!1)}catch(e){t.e=e}finally{await t.d()}}async SetDeadline(e){return Nh(this,C(w(e)),233)}async SetReadDeadline(e){return Nh(this,C(w(e)),114)}async SetWriteDeadline(e){return Nh(this,C(w(e)),119)}async Shutdown(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.incref.call(r);if(t!=null)return t}return i.defer(async()=>{await e.prototype.decref.call(r)}),Hoe(H(r).Sysfd,t)}catch(e){n.e=e}finally{await n.d()}}WaitWrite(){let e=this;return H(e).pd.waitWrite(H(e).isFile)}async Write(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.writeLock.call(r);if(t!=null)return[0,t]}i.defer(async()=>{await e.prototype.writeUnlock.call(r)});{let e=H(r).pd.prepareWrite(H(r).isFile);if(e!=null)return[0,e]}let a=0;for(;;){let e=I(t);H(r).IsStream&&e-a>1073741824&&(e=a+1073741824);let[n,i]=await Fh(Foe,H(r).Sysfd,P(t,a,e));if(n>0&&(n>e-a&&Hi(`invalid return from write: got `+Ah(n)+` from a write of `+Ah(e-a)),a+=n),a==I(t))return[a,i];if(!(os(i,$d)&&H(r).pd.pollable()&&(i=H(r).pd.waitWrite(H(r).isFile),i==null))){if(i!=null)return[a,i];if(n==0)return[a,J]}}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){n.e=e}finally{await n.d()}}async WriteMsg(t,n,r){try{var i=Ni();let a=this,o=i.a(new _c);{let t=e.prototype.writeLock.call(a);if(t!=null)return[0,0,t]}o.defer(async()=>{await e.prototype.writeUnlock.call(a)});{let e=H(a).pd.prepareWrite(H(a).isFile);if(e!=null)return[0,0,e]}for(;;){let[e,i]=Voe(H(a).Sysfd,t,n,r,0);if(!os(i,Qd)&&!(os(i,$d)&&H(a).pd.pollable()&&(i=H(a).pd.waitWrite(H(a).isFile),i==null)))return i==null?[e,I(n),i]:[e,0,i]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){i.e=e}finally{await i.d()}}async WriteMsgInet4(t,n,r){try{var i=Ni();let a=this,o=i.a(new _c);{let t=e.prototype.writeLock.call(a);if(t!=null)return[0,0,t]}o.defer(async()=>{await e.prototype.writeUnlock.call(a)});{let e=H(a).pd.prepareWrite(H(a).isFile);if(e!=null)return[0,0,e]}for(;;){let[e,i]=nfe(H(a).Sysfd,t,n,r,0);if(!os(i,Qd)&&!(os(i,$d)&&H(a).pd.pollable()&&(i=H(a).pd.waitWrite(H(a).isFile),i==null)))return i==null?[e,I(n),i]:[e,0,i]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){i.e=e}finally{await i.d()}}async WriteMsgInet6(t,n,r){try{var i=Ni();let a=this,o=i.a(new _c);{let t=e.prototype.writeLock.call(a);if(t!=null)return[0,0,t]}o.defer(async()=>{await e.prototype.writeUnlock.call(a)});{let e=H(a).pd.prepareWrite(H(a).isFile);if(e!=null)return[0,0,e]}for(;;){let[e,i]=rfe(H(a).Sysfd,t,n,r,0);if(!os(i,Qd)&&!(os(i,$d)&&H(a).pd.pollable()&&(i=H(a).pd.waitWrite(H(a).isFile),i==null)))return i==null?[e,I(n),i]:[e,0,i]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){i.e=e}finally{await i.d()}}async WriteOnce(t){try{var n=Ni();let r=this,i=n.a(new _c);{let t=e.prototype.writeLock.call(r);if(t!=null)return[0,t]}return i.defer(async()=>{await e.prototype.writeUnlock.call(r)}),await Fh(Foe,H(r).Sysfd,t)}catch(e){n.e=e}finally{await n.d()}}async WriteTo(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.writeLock.call(i);if(t!=null)return[0,t]}a.defer(async()=>{await e.prototype.writeUnlock.call(i)});{let e=H(i).pd.prepareWrite(H(i).isFile);if(e!=null)return[0,e]}for(;;){let e=zoe(H(i).Sysfd,t,0,n);if(!os(e,Qd)&&!(os(e,$d)&&H(i).pd.pollable()&&(e=H(i).pd.waitWrite(H(i).isFile),e==null)))return e==null?[I(t),null]:[0,e]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){r.e=e}finally{await r.d()}}async WriteToInet4(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.writeLock.call(i);if(t!=null)return[0,t]}a.defer(async()=>{await e.prototype.writeUnlock.call(i)});{let e=H(i).pd.prepareWrite(H(i).isFile);if(e!=null)return[0,e]}for(;;){let e=efe(H(i).Sysfd,t,0,n);if(!os(e,Qd)&&!(os(e,$d)&&H(i).pd.pollable()&&(e=H(i).pd.waitWrite(H(i).isFile),e==null)))return e==null?[I(t),null]:[0,e]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){r.e=e}finally{await r.d()}}async WriteToInet6(t,n){try{var r=Ni();let i=this,a=r.a(new _c);{let t=e.prototype.writeLock.call(i);if(t!=null)return[0,t]}a.defer(async()=>{await e.prototype.writeUnlock.call(i)});{let e=H(i).pd.prepareWrite(H(i).isFile);if(e!=null)return[0,e]}for(;;){let e=tfe(H(i).Sysfd,t,0,n);if(!os(e,Qd)&&!(os(e,$d)&&H(i).pd.pollable()&&(e=H(i).pd.waitWrite(H(i).isFile),e==null)))return e==null?[I(t),null]:[0,e]}throw new globalThis.Error(`goscript: unreachable return`)}catch(e){r.e=e}finally{await r.d()}}closing(){return Os(Up(qi(H(this).fdmu._fields,`state`)),1n)!=0n}async decref(){let t=this;return H(t).fdmu.decref()?e.prototype.destroy.call(t):null}async destroy(){let e=this;H(e).pd.close();let t=await H(e).SysFile.destroy(H(e).Sysfd);return H(e).Sysfd=-1,qi(H(e)._fields,`csema`),t}eofError(e,t){let n=this;return e==0&&t==null&&H(n).ZeroReadIsEOF?jl:t}incref(){let e=this;return H(e).fdmu.incref()?null:Dh(H(e).isFile)}readLock(){let e=this;return H(e).fdmu.rwlock(!0,!0)?null:Dh(H(e).isFile)}async readUnlock(){let t=this;H(t).fdmu.rwunlock(!0)&&await e.prototype.destroy.call(t)}async readWriteLock(){let t=this;return H(t).fdmu.rwlock(!0,!0)?H(t).fdmu.rwlock(!1,!0)?null:(H(t).fdmu.rwunlock(!0)&&await e.prototype.destroy.call(t),Dh(H(t).isFile)):Dh(H(t).isFile)}async readWriteUnlock(){let t=this;H(t).fdmu.rwunlock(!0),H(t).fdmu.rwunlock(!1)&&await e.prototype.destroy.call(t)}async tryReadWriteLock(){let t=this;return H(t).fdmu.rwlock(!0,!1)?H(t).fdmu.rwlock(!1,!1)?[!0,null]:(H(t).fdmu.rwunlock(!0)&&await e.prototype.destroy.call(t),e.prototype.closing.call(t)?[!1,Dh(H(t).isFile)]:[!1,null]):e.prototype.closing.call(t)?[!1,Dh(H(t).isFile)]:[!1,null]}writeLock(){let e=this;return H(e).fdmu.rwlock(!1,!0)?null:Dh(H(e).isFile)}async writeUnlock(){let t=this;H(t).fdmu.rwunlock(!1)&&await e.prototype.destroy.call(t)}init(){return H(this.SysFile).init()}static{h(this.prototype,[`fdmu`,`Sysfd`,`SysFile`,`pd`,`csema`,`isBlocking`,`IsStream`,`ZeroReadIsEOF`,`isFile`])}static __typeInfo=S(`poll.FD`,()=>new e,()=>[_(`Accept`,[],[y(`int`),`syscall.Sockaddr`,y(`string`),`error`]),_(`Close`,[],[`error`]),_(`Dup`,[],[y(`int`),y(`string`),`error`]),_(`Fchdir`,[],[`error`]),_(`Fchmod`,[[`mode`,y(`uint32`)]],[`error`]),_(`Fchown`,[[`uid`,y(`int`)],[`gid`,y(`int`)]],[`error`]),_(`Fstat`,[[`s`,b(`syscall.Stat_t`)]],[`error`]),_(`Fsync`,[],[`error`]),_(`Ftruncate`,[[`size`,y(`int64`)]],[`error`]),_(`Init`,[[`net`,y(`string`)],[`pollable`,y(`bool`)]],[`error`]),_(`Pread`,[[`p`,x(y(`uint8`))],[`off`,y(`int64`)]],[y(`int`),`error`]),_(`Pwrite`,[[`p`,x(y(`uint8`))],[`off`,y(`int64`)]],[y(`int`),`error`]),_(`RawControl`,[[`f`,{kind:`function`,params:[y(`uintptr`)],results:[]}]],[`error`]),_(`RawRead`,[[`f`,{kind:`function`,params:[y(`uintptr`)],results:[y(`bool`)]}]],[`error`]),_(`RawWrite`,[[`f`,{kind:`function`,params:[y(`uintptr`)],results:[y(`bool`)]}]],[`error`]),_(`Read`,[[`p`,x(y(`uint8`))]],[y(`int`),`error`]),_(`ReadDirent`,[[`buf`,x(y(`uint8`))]],[y(`int`),`error`]),_(`ReadFrom`,[[`p`,x(y(`uint8`))]],[y(`int`),`syscall.Sockaddr`,`error`]),_(`ReadFromInet4`,[[`p`,x(y(`uint8`))],[`from`,b(`syscall.SockaddrInet4`)]],[y(`int`),`error`]),_(`ReadFromInet6`,[[`p`,x(y(`uint8`))],[`from`,b(`syscall.SockaddrInet6`)]],[y(`int`),`error`]),_(`ReadMsg`,[[`p`,x(y(`uint8`))],[`oob`,x(y(`uint8`))],[`flags`,y(`int`)]],[y(`int`),y(`int`),y(`int`),`syscall.Sockaddr`,`error`]),_(`ReadMsgInet4`,[[`p`,x(y(`uint8`))],[`oob`,x(y(`uint8`))],[`flags`,y(`int`)],[`sa4`,b(`syscall.SockaddrInet4`)]],[y(`int`),y(`int`),y(`int`),`error`]),_(`ReadMsgInet6`,[[`p`,x(y(`uint8`))],[`oob`,x(y(`uint8`))],[`flags`,y(`int`)],[`sa6`,b(`syscall.SockaddrInet6`)]],[y(`int`),y(`int`),y(`int`),`error`]),_(`Seek`,[[`offset`,y(`int64`)],[`whence`,y(`int`)]],[y(`int64`),`error`]),_(`SetBlocking`,[],[`error`]),_(`SetDeadline`,[[`t`,`time.Time`]],[`error`]),_(`SetReadDeadline`,[[`t`,`time.Time`]],[`error`]),_(`SetWriteDeadline`,[[`t`,`time.Time`]],[`error`]),_(`Shutdown`,[[`how`,y(`int`)]],[`error`]),_(`WaitWrite`,[],[`error`]),_(`Write`,[[`p`,x(y(`uint8`))]],[y(`int`),`error`]),_(`WriteMsg`,[[`p`,x(y(`uint8`))],[`oob`,x(y(`uint8`))],[`sa`,`syscall.Sockaddr`]],[y(`int`),y(`int`),`error`]),_(`WriteMsgInet4`,[[`p`,x(y(`uint8`))],[`oob`,x(y(`uint8`))],[`sa`,b(`syscall.SockaddrInet4`)]],[y(`int`),y(`int`),`error`]),_(`WriteMsgInet6`,[[`p`,x(y(`uint8`))],[`oob`,x(y(`uint8`))],[`sa`,b(`syscall.SockaddrInet6`)]],[y(`int`),y(`int`),`error`]),_(`WriteOnce`,[[`p`,x(y(`uint8`))]],[y(`int`),`error`]),_(`WriteTo`,[[`p`,x(y(`uint8`))],[`sa`,`syscall.Sockaddr`]],[y(`int`),`error`]),_(`WriteToInet4`,[[`p`,x(y(`uint8`))],[`sa`,b(`syscall.SockaddrInet4`)]],[y(`int`),`error`]),_(`WriteToInet6`,[[`p`,x(y(`uint8`))],[`sa`,b(`syscall.SockaddrInet6`)]],[y(`int`),`error`]),_(`closing`,[],[y(`bool`)]),_(`decref`,[],[`error`]),_(`destroy`,[],[`error`]),_(`eofError`,[[`n`,y(`int`)],[`err`,`error`]],[`error`]),_(`incref`,[],[`error`]),_(`readLock`,[],[`error`]),_(`readUnlock`),_(`readWriteLock`,[],[`error`]),_(`readWriteUnlock`),_(`tryReadWriteLock`,[],[y(`bool`),`error`]),_(`writeLock`,[],[`error`]),_(`writeUnlock`),_(`init`)],e,()=>[v(`fdmu`,`poll.fdMutex`,[0],0,!1,{pkgPath:`internal/poll`}),v(`Sysfd`,y(`int`),[1],16,!0),v(`SysFile`,`poll.SysFile`,[2],24,!0,{anonymous:!0}),v(`pd`,`poll.pollDesc`,[3],32,!1,{pkgPath:`internal/poll`}),v(`csema`,y(`uint32`),[4],48,!1,{pkgPath:`internal/poll`}),v(`isBlocking`,y(`uint32`),[5],52,!1,{pkgPath:`internal/poll`}),v(`IsStream`,y(`bool`),[6],56,!0),v(`ZeroReadIsEOF`,y(`bool`),[7],57,!0),v(`isFile`,y(`bool`),[8],58,!1,{pkgPath:`internal/poll`})])};let ffe=m(C(new Jp));async function pfe(e){if(!ffe.value.Load()){let[t,n]=Zde(e,1,0);if(n==null)return[t,``,null];{let e=n;switch(!0){case os(e,La(ef,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))):case os(e,La(tf,`syscall.Errno`,{Error:Zd},y(`uintptr`,`syscall.Errno`))):ffe.value.Store(!0);break;default:return[-1,`fcntl`,n]}}}return sfe(e)}async function Fh(e,t,n){for(;;){let[r,i]=await e(t,n);if(!os(i,Qd))return[r,i]}throw new globalThis.Error(`goscript: unreachable return`)}function mfe(e){{let[t,n]=Na(e,y(`uintptr`,`syscall.Errno`));if(n)return t==104||t==103}return!1}function Ih(e,t){{let[,n]=Na(t,y(`uintptr`,`syscall.Errno`));n&&(t=Bd(e,U(t)))}return t}function hfe(e){return e==null?[]:Array.isArray(e)?e:e instanceof Uint8Array?Array.from(e):e&&typeof e==`object`&&`data`in e&&Array.isArray(e.data)?e.data:[]}function Lh(e,t){let n=hfe(e),r=hfe(t);if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==r[e])return!1;return!0}function Rh(e,t){let n=Ko(e);for(let e=0;e<n.length;e++)if(n[e]===t)return e;return-1}function zh(e,t){let n=Ko(e);for(let e=n.length-1;e>=0;e--)if(n[e]===t)return e;return-1}function gfe(e,t){let n=Ko(e),r=0;for(let e=0;e<n.length;e++)n[e]===t&&r++;return r}var Bh=class e{_fields;constructor(e){this._fields={file:e?.file??null,data:e?.data??null,atEOF:e?.atEOF??!1}}clone(){return C(new e(this))}close(){let e=this;qd.prototype.Close.call(H(H(e).file))}getLineFromData(){let e=this,t=``,n=!1,r=H(e).data,i=0;for(i=0;i<I(r);i++)if(G(z(r,i),8)==10){t=B(P(r,0,i)),n=!0,i++;let a=I(r)-i;return To(r,0,void 0,r,i,void 0),H(e).data=P(r,0,a),[t,n]}return H(e).atEOF&&I(H(e).data)>0&&(t=B(r),H(e).data=P(H(e).data,0,0),n=!0),[t,n]}async readLine(){let t=this,n=``,r=!1;{let i=e.prototype.getLineFromData.call(t);if(n=i[0],r=i[1],r)return[n,r]}if(I(H(t).data)<_o(H(t).data)){let e=I(H(t).data),[n,r]=await Jl(U(D(H(t).file,`*os.File`,b(`os.File`))),P(H(t).data,e,_o(H(t).data)));n>=0&&(H(t).data=P(H(t).data,0,e+n)),(os(r,jl)||os(r,J))&&(H(t).atEOF=!0)}let i=e.prototype.getLineFromData.call(t);return n=i[0],r=i[1],[n,r]}async stat(){let e=this;C(new Ac);let t=null,n=qd.prototype.Stat.call(H(H(e).file)),r=n[0];return t=n[1],t==null?[C(w(await H(r).ModTime())),await H(r).Size(),null]:[C(new Ac),0n,t]}static{h(this.prototype,[`file`,`data`,`atEOF`])}static __typeInfo=S(`net.file`,()=>new e,()=>[_(`close`),_(`getLineFromData`,[],[[`s`,y(`string`)],[`ok`,y(`bool`)]]),_(`readLine`,[],[[`s`,y(`string`)],[`ok`,y(`bool`)]]),_(`stat`,[],[[`mtime`,`time.Time`],[`size`,y(`int64`)],[`err`,`error`]])],e,()=>[v(`file`,b(`os.File`),[0],0,!1,{pkgPath:`net`}),v(`data`,x(y(`uint8`)),[1],8,!1,{pkgPath:`net`}),v(`atEOF`,y(`bool`),[2],32,!1,{pkgPath:`net`})])};function Vh(e){let t=_f(e),n=t[0],r=t[1];return r==null?[new Bh({file:n,data:N(0,65536,`byte`),atEOF:!1}),null]:[null,r]}async function _fe(e){C(new Ac);let t=null,n=gf(e),r=n[0];return t=n[1],t==null?[C(w(await H(r).ModTime())),await H(r).Size(),null]:[C(new Ac),0n,t]}function vfe(e,t){let n=0;for(let r=0;r<I(e);r++)Rh(t,G(Jo(e,r),8))>=0&&n++;return n}function yfe(e,t){let n=N(1+vfe(e,t),void 0,`string`),r=0,i=0;for(let a=0;a<I(e);a++)Rh(t,G(Jo(e,a),8))>=0&&(i<a&&(n[r]=Yo(e,i,a),r++),i=a+1);return i<I(e)&&(n[r]=Yo(e,i,void 0),r++),P(n,0,r)}function Hh(e){return yfe(e,` \r
|